cython.git
14 years agoMerge gsoc-danilo C++ code into main branch.
Robert Bradshaw [Thu, 4 Feb 2010 22:49:57 +0000 (14:49 -0800)]
Merge gsoc-danilo C++ code into main branch.

14 years agoMore restrictions on stack allocated C++ objects.
Robert Bradshaw [Thu, 4 Feb 2010 22:44:21 +0000 (14:44 -0800)]
More restrictions on stack allocated C++ objects.

14 years agoNote about best_match function.
Robert Bradshaw [Thu, 4 Feb 2010 22:24:17 +0000 (14:24 -0800)]
Note about best_match function.

14 years agoFix assignable_from for cpp classes.
Robert Bradshaw [Thu, 4 Feb 2010 21:58:00 +0000 (13:58 -0800)]
Fix assignable_from for cpp classes.

14 years agoFix class in template specialization.
Robert Bradshaw [Thu, 4 Feb 2010 21:57:58 +0000 (13:57 -0800)]
Fix class in template specialization.

14 years agoUse cython.operator for operators.
Robert Bradshaw [Wed, 3 Feb 2010 22:45:28 +0000 (14:45 -0800)]
Use cython.operator for operators.

14 years agoHierarchical special cython module namespaces.
Robert Bradshaw [Wed, 3 Feb 2010 22:33:31 +0000 (14:33 -0800)]
Hierarchical special cython module namespaces.

14 years agoNew message(...) distinct from warn(...)
Robert Bradshaw [Tue, 2 Feb 2010 12:18:23 +0000 (04:18 -0800)]
New message(...) distinct from warn(...)

14 years agocython.directive(None) clears directive setting back to default value
Robert Bradshaw [Tue, 2 Feb 2010 12:12:52 +0000 (04:12 -0800)]
cython.directive(None) clears directive setting back to default value

14 years agoEnable safe type inferance by default.
Robert Bradshaw [Tue, 2 Feb 2010 12:06:14 +0000 (04:06 -0800)]
Enable safe type inferance by default.

14 years agoAdded tag 0.12.1 for changeset e90c522631ae
Robert Bradshaw [Tue, 2 Feb 2010 10:10:32 +0000 (02:10 -0800)]
Added tag 0.12.1 for changeset e90c522631ae

14 years agoCython 0.12.1 0.12.1
Robert Bradshaw [Tue, 2 Feb 2010 10:10:28 +0000 (02:10 -0800)]
Cython 0.12.1

14 years agoMake sure new can be used as a non-keyword.
Robert Bradshaw [Sun, 31 Jan 2010 11:44:15 +0000 (03:44 -0800)]
Make sure new can be used as a non-keyword.

14 years ago0.12.1.rc1
Robert Bradshaw [Sun, 31 Jan 2010 00:42:07 +0000 (16:42 -0800)]
0.12.1.rc1

14 years agoTests for ticket #445.
Robert Bradshaw [Sun, 31 Jan 2010 00:35:06 +0000 (16:35 -0800)]
Tests for ticket #445.

14 years agoTicket #445, explicit complex casting
Robert Bradshaw [Sat, 30 Jan 2010 22:26:33 +0000 (14:26 -0800)]
Ticket #445, explicit complex casting

14 years ago0.12.1.rc0
Robert Bradshaw [Sat, 30 Jan 2010 20:54:44 +0000 (12:54 -0800)]
0.12.1.rc0

14 years agoPackage cleanup.
Robert Bradshaw [Sat, 30 Jan 2010 20:49:09 +0000 (12:49 -0800)]
Package cleanup.

14 years agoFixed bug on subclass instanciation and using 'del' on templates compile test
daniloaf@daniloaf-PC [Sat, 30 Jan 2010 18:39:29 +0000 (15:39 -0300)]
Fixed bug on subclass instanciation and using 'del' on templates compile test

14 years agofix undefined name
Stefan Behnel [Thu, 28 Jan 2010 21:18:23 +0000 (22:18 +0100)]
fix undefined name

14 years agocatch ArithmeticError during constant folding => not constant
Stefan Behnel [Thu, 28 Jan 2010 20:42:59 +0000 (21:42 +0100)]
catch ArithmeticError during constant folding => not constant

14 years ago0.12.1.beta0
Robert Bradshaw [Tue, 26 Jan 2010 18:38:36 +0000 (10:38 -0800)]
0.12.1.beta0

14 years agoINLINE -> CYTHON_INLINE to avoid conflicts
Robert Bradshaw [Tue, 26 Jan 2010 06:47:09 +0000 (22:47 -0800)]
INLINE -> CYTHON_INLINE to avoid conflicts

14 years agotest case for #467
Stefan Behnel [Sun, 24 Jan 2010 15:47:16 +0000 (16:47 +0100)]
test case for #467

14 years agofix test after fixing #480
Stefan Behnel [Sun, 24 Jan 2010 15:35:14 +0000 (16:35 +0100)]
fix test after fixing #480

14 years agofix #480: float() as a type cast for function return values
Stefan Behnel [Sun, 24 Jan 2010 15:29:01 +0000 (16:29 +0100)]
fix #480: float() as a type cast for function return values

14 years agoTestcase for #480.
Robert Bradshaw [Sun, 24 Jan 2010 11:26:18 +0000 (03:26 -0800)]
Testcase for #480.

14 years ago0.12.1.alpha0
Robert Bradshaw [Fri, 22 Jan 2010 19:27:07 +0000 (11:27 -0800)]
0.12.1.alpha0

14 years agoLibrary linking demo.
Robert Bradshaw [Fri, 22 Jan 2010 06:31:20 +0000 (22:31 -0800)]
Library linking demo.

14 years agoFix too many open files bug in testrunner.
Robert Bradshaw [Fri, 22 Jan 2010 03:46:55 +0000 (19:46 -0800)]
Fix too many open files bug in testrunner.

It seems that temp file handles don't work well with fork.

14 years agoVerbose type inference directive.
Robert Bradshaw [Fri, 22 Jan 2010 00:41:28 +0000 (16:41 -0800)]
Verbose type inference directive.

14 years agoWarning for implicitly declared variables.
Robert Bradshaw [Fri, 22 Jan 2010 00:23:13 +0000 (16:23 -0800)]
Warning for implicitly declared variables.

14 years ago#479, sub-directives via keywords
Robert Bradshaw [Fri, 22 Jan 2010 00:17:53 +0000 (16:17 -0800)]
#479, sub-directives via keywords

14 years agoUniformize and cleanup operator overloading.
Robert Bradshaw [Thu, 21 Jan 2010 22:26:51 +0000 (14:26 -0800)]
Uniformize and cleanup operator overloading.

14 years agosolaris + gcc fix
Robert Bradshaw [Thu, 21 Jan 2010 21:16:24 +0000 (13:16 -0800)]
solaris + gcc fix

14 years agocpp () operator
Robert Bradshaw [Sat, 16 Jan 2010 02:14:56 +0000 (18:14 -0800)]
cpp () operator

14 years agoSupport for [] operator.
Robert Bradshaw [Sat, 16 Jan 2010 01:35:47 +0000 (17:35 -0800)]
Support for [] operator.

14 years agoRemove broken test from working one.
Robert Bradshaw [Fri, 15 Jan 2010 19:58:11 +0000 (11:58 -0800)]
Remove broken test from working one.

14 years agocpp template tests
Robert Bradshaw [Fri, 15 Jan 2010 19:56:19 +0000 (11:56 -0800)]
cpp template tests

14 years agostl vector test
Robert Bradshaw [Fri, 15 Jan 2010 07:33:36 +0000 (23:33 -0800)]
stl vector test

14 years agoAllow <include_file> as well as "include_file"
Robert Bradshaw [Fri, 15 Jan 2010 07:29:33 +0000 (23:29 -0800)]
Allow <include_file> as well as "include_file"

14 years agoC++ templating fixes.
Robert Bradshaw [Fri, 15 Jan 2010 07:24:58 +0000 (23:24 -0800)]
C++ templating fixes.

14 years agoComplex define cleanup.
Robert Bradshaw [Fri, 15 Jan 2010 05:06:13 +0000 (21:06 -0800)]
Complex define cleanup.

14 years agoC++ cmp operators.
Robert Bradshaw [Fri, 15 Jan 2010 02:24:31 +0000 (18:24 -0800)]
C++ cmp operators.

14 years agoMore operator overloading parsing/testing.
Robert Bradshaw [Fri, 15 Jan 2010 01:54:55 +0000 (17:54 -0800)]
More operator overloading parsing/testing.

14 years agoStricter operator overloading parsing.
Robert Bradshaw [Fri, 15 Jan 2010 01:35:22 +0000 (17:35 -0800)]
Stricter operator overloading parsing.

14 years agoRunning C++ operator tests.
Robert Bradshaw [Fri, 15 Jan 2010 01:22:18 +0000 (17:22 -0800)]
Running C++ operator tests.

14 years agoVarious C++ operator overloading fixes.
Robert Bradshaw [Fri, 15 Jan 2010 01:19:59 +0000 (17:19 -0800)]
Various C++ operator overloading fixes.

14 years agobugs.txt can select on test dir as well
Robert Bradshaw [Fri, 15 Jan 2010 00:33:10 +0000 (16:33 -0800)]
bugs.txt can select on test dir as well

14 years agotests for inc/dec and deref
Robert Bradshaw [Thu, 14 Jan 2010 23:41:41 +0000 (15:41 -0800)]
tests for inc/dec and deref

14 years agoSupport increment/decrement via Cython special methods. (May not be +/-1 for C++.)
Robert Bradshaw [Thu, 14 Jan 2010 23:40:39 +0000 (15:40 -0800)]
Support increment/decrement via Cython special methods. (May not be +/-1 for C++.)

14 years agoDereference node.
Robert Bradshaw [Thu, 14 Jan 2010 23:09:41 +0000 (15:09 -0800)]
Dereference node.

14 years agoGeneralize unop cython special methods.
Robert Bradshaw [Thu, 14 Jan 2010 23:05:11 +0000 (15:05 -0800)]
Generalize unop cython special methods.

14 years agoMore error message fixes.
Robert Bradshaw [Thu, 14 Jan 2010 22:52:54 +0000 (14:52 -0800)]
More error message fixes.

14 years agoTypo in error messages.
Robert Bradshaw [Thu, 14 Jan 2010 22:49:09 +0000 (14:49 -0800)]
Typo in error messages.

14 years agoSome reference type refinements.
Robert Bradshaw [Thu, 14 Jan 2010 22:30:29 +0000 (14:30 -0800)]
Some reference type refinements.

14 years agore-fix failing tests
Robert Bradshaw [Thu, 14 Jan 2010 22:00:26 +0000 (14:00 -0800)]
re-fix failing tests

14 years agolooks like CPython can handle dict subtypes in kwargs calls
Stefan Behnel [Thu, 14 Jan 2010 08:09:03 +0000 (09:09 +0100)]
looks like CPython can handle dict subtypes in kwargs calls

14 years agocode simplification: rewrite of #470 implementation using a utility function
Stefan Behnel [Thu, 14 Jan 2010 08:05:08 +0000 (09:05 +0100)]
code simplification: rewrite of #470 implementation using a utility function

14 years agoimplement #470: non-dicts as **kwargs
Stefan Behnel [Thu, 14 Jan 2010 07:36:13 +0000 (08:36 +0100)]
implement #470: non-dicts as **kwargs

14 years agoPy2/3 portability fixes in test runner
Stefan Behnel [Thu, 14 Jan 2010 07:03:17 +0000 (08:03 +0100)]
Py2/3 portability fixes in test runner

14 years agosupport xrange() in Py3 by mapping it to range()
Stefan Behnel [Wed, 13 Jan 2010 20:19:14 +0000 (21:19 +0100)]
support xrange() in Py3 by mapping it to range()

14 years agoBetter indentation for profiling macros.
Robert Bradshaw [Sat, 9 Jan 2010 08:27:19 +0000 (00:27 -0800)]
Better indentation for profiling macros.

14 years agoMaybe fix #473 -- MSVC strict about variable declaration placement.
Robert Bradshaw [Sat, 9 Jan 2010 08:23:13 +0000 (00:23 -0800)]
Maybe fix #473 -- MSVC strict about variable declaration placement.

14 years agoPy3 fixes for embedded example.
Robert Bradshaw [Fri, 8 Jan 2010 07:55:57 +0000 (23:55 -0800)]
Py3 fixes for embedded example.

14 years agominor fix
Robert Bradshaw [Wed, 6 Jan 2010 18:35:35 +0000 (10:35 -0800)]
minor fix

14 years agocleanup
Robert Bradshaw [Wed, 30 Dec 2009 09:57:12 +0000 (01:57 -0800)]
cleanup

15 years agocleanups after removing Lexicon.pickle
Stefan Behnel [Fri, 18 Dec 2009 07:45:19 +0000 (08:45 +0100)]
cleanups after removing Lexicon.pickle

15 years agoremove legacy pickling of Lexicon.py
Stefan Behnel [Fri, 18 Dec 2009 07:32:39 +0000 (08:32 +0100)]
remove legacy pickling of Lexicon.py

15 years agoFixing best match removing ambiguity with pointer and reference
daniloaf@daniloaf-PC [Fri, 18 Dec 2009 07:26:19 +0000 (04:26 -0300)]
Fixing best match removing ambiguity with pointer and reference

15 years agoprotect definition of INLINE and fix for MSVC (thanks to Julien Danjou)
Lisandro Dalcin [Fri, 18 Dec 2009 00:46:03 +0000 (21:46 -0300)]
protect definition of INLINE and fix for MSVC (thanks to Julien Danjou)

15 years agoremove old Pyrex code for calling a C compiler to build extension modules
Lisandro Dalcin [Thu, 17 Dec 2009 23:48:31 +0000 (20:48 -0300)]
remove old Pyrex code for calling a C compiler to build extension modules

15 years agoadded .pxd for legacy Python 2 buffer interface
Stefan Behnel [Thu, 17 Dec 2009 08:32:44 +0000 (09:32 +0100)]
added .pxd for legacy Python 2 buffer interface

15 years agocleanup relative to 0.12
Robert Bradshaw [Tue, 15 Dec 2009 13:03:44 +0000 (05:03 -0800)]
cleanup relative to 0.12

15 years agomerge fallout
Robert Bradshaw [Tue, 15 Dec 2009 12:27:40 +0000 (04:27 -0800)]
merge fallout

15 years agobig C++ mergeback
Robert Bradshaw [Tue, 15 Dec 2009 11:54:36 +0000 (03:54 -0800)]
big C++ mergeback

15 years agomerge
Robert Bradshaw [Tue, 15 Dec 2009 11:07:58 +0000 (03:07 -0800)]
merge

15 years agoWork on C++ operators
Robert Bradshaw [Tue, 15 Dec 2009 10:58:18 +0000 (02:58 -0800)]
Work on C++ operators

15 years agoUse C++ style constructor declarations rather than __init__.
Robert Bradshaw [Tue, 15 Dec 2009 10:36:32 +0000 (02:36 -0800)]
Use C++ style constructor declarations rather than __init__.

15 years agoFix cpp test running.
Robert Bradshaw [Tue, 15 Dec 2009 10:17:23 +0000 (02:17 -0800)]
Fix cpp test running.

15 years agoC++ parsing simplification, cleanup
Robert Bradshaw [Tue, 15 Dec 2009 10:13:38 +0000 (02:13 -0800)]
C++ parsing simplification, cleanup

15 years agoOverloaded functions with reference
daniloaf@daniloaf-PC [Tue, 15 Dec 2009 03:08:56 +0000 (00:08 -0300)]
Overloaded functions with reference

15 years agoC++ cleanup.
Robert Bradshaw [Tue, 15 Dec 2009 02:21:13 +0000 (18:21 -0800)]
C++ cleanup.

15 years agoC++ check code
Robert Bradshaw [Tue, 15 Dec 2009 01:59:49 +0000 (17:59 -0800)]
C++ check code

15 years agoMake tests fail gracefully on missing pstats module
Dag Sverre Seljebotn [Mon, 14 Dec 2009 10:56:57 +0000 (11:56 +0100)]
Make tests fail gracefully on missing pstats module

--HG--
rename : tests/run/profile_test.pyx => tests/run/pstats_profile_test.pyx

15 years agoStreamline writing module-level compatability macros.
Robert Bradshaw [Sat, 12 Dec 2009 06:11:44 +0000 (22:11 -0800)]
Streamline writing module-level compatability macros.

15 years agoWarning for extern type import size mismatch.
Robert Bradshaw [Sat, 12 Dec 2009 05:54:46 +0000 (21:54 -0800)]
Warning for extern type import size mismatch.

15 years agofix crash when calling non-trivial type constructors
Stefan Behnel [Fri, 11 Dec 2009 14:46:18 +0000 (15:46 +0100)]
fix crash when calling non-trivial type constructors

15 years agorenamed test case
Stefan Behnel [Fri, 11 Dec 2009 13:49:18 +0000 (14:49 +0100)]
renamed test case

--HG--
rename : tests/run/extended_unpacking_T466.pyx => tests/run/cascaded_typed_assignments_T466.pyx

15 years agocleanup
Stefan Behnel [Fri, 11 Dec 2009 13:26:21 +0000 (14:26 +0100)]
cleanup

15 years agofix #466: make sure ConstNode.coerce_to() always returns a new node (required to...
Stefan Behnel [Fri, 11 Dec 2009 13:15:35 +0000 (14:15 +0100)]
fix #466: make sure ConstNode.coerce_to() always returns a new node (required to support CloneNodes in cascading assignments to differently typed targets)

15 years agocomment
Stefan Behnel [Wed, 9 Dec 2009 15:59:37 +0000 (16:59 +0100)]
comment

15 years agocomment
Stefan Behnel [Wed, 9 Dec 2009 15:43:31 +0000 (16:43 +0100)]
comment

15 years agocall Py_TYPE(x) instead of type(x)
Stefan Behnel [Wed, 9 Dec 2009 15:43:17 +0000 (16:43 +0100)]
call Py_TYPE(x) instead of type(x)

15 years agotest case for ticket #466
Stefan Behnel [Wed, 9 Dec 2009 12:20:13 +0000 (13:20 +0100)]
test case for ticket #466

15 years agomerge
Stefan Behnel [Wed, 9 Dec 2009 09:34:31 +0000 (10:34 +0100)]
merge

15 years agocleanup
Stefan Behnel [Wed, 9 Dec 2009 09:32:39 +0000 (10:32 +0100)]
cleanup

15 years agocleanup
Stefan Behnel [Wed, 9 Dec 2009 08:58:14 +0000 (09:58 +0100)]
cleanup

15 years agospeed up tree visitor somewhat by moving code out of the critical methods
Stefan Behnel [Wed, 9 Dec 2009 08:31:18 +0000 (09:31 +0100)]
speed up tree visitor somewhat by moving code out of the critical methods

15 years agofix getattr() optimisation
Stefan Behnel [Wed, 9 Dec 2009 08:18:04 +0000 (09:18 +0100)]
fix getattr() optimisation