cython.git
13 years agoMove parallel deletion flatten into PostParseTransform
Vitja Makarov [Fri, 1 Apr 2011 08:16:48 +0000 (10:16 +0200)]
Move parallel deletion flatten into PostParseTransform

13 years agoMerge remote branch 'upstream/master' into ticket_668
Vitja Makarov [Fri, 1 Apr 2011 08:03:47 +0000 (10:03 +0200)]
Merge remote branch 'upstream/master' into ticket_668

13 years agopublic/capi: fixes and cleanups, implement exporting cdef variables
Lisandro Dalcin [Thu, 31 Mar 2011 06:57:12 +0000 (03:57 -0300)]
public/capi: fixes and cleanups, implement exporting cdef variables

13 years agoguard C code from inclusion of gecompanion h api code
Lisandro Dalcin [Wed, 30 Mar 2011 23:09:36 +0000 (20:09 -0300)]
guard C code from inclusion of gecompanion h api code

13 years agomerge
Stefan Behnel [Tue, 29 Mar 2011 06:56:30 +0000 (08:56 +0200)]
merge

13 years agoreduce the chance of rounding errors on int->float coercion
Stefan Behnel [Tue, 29 Mar 2011 06:55:10 +0000 (08:55 +0200)]
reduce the chance of rounding errors on int->float coercion

13 years agoMerge branch 'master' of github.com:cython/cython
Robert Bradshaw [Sun, 27 Mar 2011 05:36:01 +0000 (22:36 -0700)]
Merge branch 'master' of github.com:cython/cython

13 years agoMore complete code writing.
Robert Bradshaw [Sun, 27 Mar 2011 05:35:46 +0000 (22:35 -0700)]
More complete code writing.

13 years agoDebugger: Support output for the 'display' command
Mark Florisson [Sat, 26 Mar 2011 15:07:23 +0000 (16:07 +0100)]
Debugger: Support output for the 'display' command

13 years agoDebugger: Better output when halting on watchpoints
Mark Florisson [Sat, 26 Mar 2011 14:36:26 +0000 (15:36 +0100)]
Debugger: Better output when halting on watchpoints

13 years agoDebugger: Fix little exception detection bug
Mark Florisson [Sat, 26 Mar 2011 11:31:18 +0000 (12:31 +0100)]
Debugger: Fix little exception detection bug

13 years agoDebugger: Update 'help' documentation
Mark Florisson [Sat, 26 Mar 2011 10:19:26 +0000 (11:19 +0100)]
Debugger: Update 'help' documentation

13 years agoDebugger: Added 'cy set' command
Mark Florisson [Fri, 25 Mar 2011 22:01:51 +0000 (23:01 +0100)]
Debugger: Added 'cy set' command

13 years agoDebugger: Added $cy_eval() GDB function
Mark Florisson [Fri, 25 Mar 2011 21:18:48 +0000 (22:18 +0100)]
Debugger: Added $cy_eval() GDB function

13 years agodisable call argument order alignment, issue warning instead
Stefan Behnel [Sat, 19 Mar 2011 10:07:48 +0000 (11:07 +0100)]
disable call argument order alignment, issue warning instead

13 years agoprovide BaseException in Python 2.3/2.4
Stefan Behnel [Fri, 18 Mar 2011 14:46:28 +0000 (15:46 +0100)]
provide BaseException in Python 2.3/2.4

13 years agoPy3 test fix
Stefan Behnel [Fri, 11 Mar 2011 12:03:15 +0000 (13:03 +0100)]
Py3 test fix

13 years agoFix using pointer type in templates.
Robert Bradshaw [Thu, 10 Mar 2011 09:20:10 +0000 (01:20 -0800)]
Fix using pointer type in templates.

13 years agoFix source list trimming in cythonize(...)
Robert Bradshaw [Wed, 9 Mar 2011 18:41:27 +0000 (10:41 -0800)]
Fix source list trimming in cythonize(...)

13 years agoHandle sequence in DelStatNode, see #668
Vitja Makarov [Wed, 9 Mar 2011 06:01:14 +0000 (09:01 +0300)]
Handle sequence in DelStatNode, see #668

13 years agofix name mangling in generator expressions
Stefan Behnel [Tue, 8 Mar 2011 05:57:49 +0000 (06:57 +0100)]
fix name mangling in generator expressions

13 years agoAdd setjmp.pxd and tests
Lisandro Dalcin [Fri, 4 Mar 2011 16:42:27 +0000 (13:42 -0300)]
Add setjmp.pxd and tests

13 years agoFix ticket #664
Vitja Makarov [Thu, 3 Mar 2011 19:41:35 +0000 (22:41 +0300)]
Fix ticket #664

13 years agoMerge branch 'master' of https://github.com/cython/cython into ticket_664
Vitja Makarov [Thu, 3 Mar 2011 19:39:31 +0000 (22:39 +0300)]
Merge branch 'master' of https://github.com/cython/cython into ticket_664

13 years agoAdd testcase for #664
Vitja Makarov [Thu, 3 Mar 2011 19:38:58 +0000 (22:38 +0300)]
Add testcase for #664

13 years agoFix compile time division.
Robert Bradshaw [Thu, 3 Mar 2011 19:07:23 +0000 (11:07 -0800)]
Fix compile time division.

13 years agoAllow pointer target in C array slice iteration to avoid expensive copying.
Robert Bradshaw [Thu, 3 Mar 2011 04:23:08 +0000 (20:23 -0800)]
Allow pointer target in C array slice iteration to avoid expensive copying.

13 years agoTest for struct pointer loop.
Robert Bradshaw [Thu, 3 Mar 2011 03:42:20 +0000 (19:42 -0800)]
Test for struct pointer loop.

13 years agoFix #663 - type inference for sliced complex pointers.
Robert Bradshaw [Thu, 3 Mar 2011 03:35:00 +0000 (19:35 -0800)]
Fix #663 - type inference for sliced complex pointers.

13 years agofix special methods testcase for previous changes to __ipow__
Lisandro Dalcin [Wed, 2 Mar 2011 20:08:40 +0000 (17:08 -0300)]
fix special methods testcase for previous changes to __ipow__

13 years agoDocumentation cleanup.
Robert Bradshaw [Tue, 1 Mar 2011 08:03:40 +0000 (00:03 -0800)]
Documentation cleanup.

13 years agoSimplify and enhance struct/union wrapping.
Robert Bradshaw [Sun, 27 Feb 2011 07:55:14 +0000 (23:55 -0800)]
Simplify and enhance struct/union wrapping.

13 years agoFirst pass at struct wrappers.
Robert Bradshaw [Sat, 26 Feb 2011 17:50:04 +0000 (09:50 -0800)]
First pass at struct wrappers.

13 years agoCLeanup Options.py
Robert Bradshaw [Sat, 26 Feb 2011 07:24:27 +0000 (23:24 -0800)]
CLeanup Options.py

13 years agobetter sdist, use command for generating gitrev
Lisandro Dalcin [Fri, 25 Feb 2011 20:51:32 +0000 (17:51 -0300)]
better sdist, use command for generating gitrev

13 years agomerge
Stefan Behnel [Fri, 25 Feb 2011 20:10:22 +0000 (21:10 +0100)]
merge

13 years agoenable test for ticket #562
Lisandro Dalcin [Fri, 25 Feb 2011 20:05:58 +0000 (17:05 -0300)]
enable test for ticket #562

13 years agofix ticket #562
Lisandro Dalcin [Fri, 25 Feb 2011 20:03:46 +0000 (17:03 -0300)]
fix ticket #562

13 years agofixes and cleanups in __Pyx_main()
Lisandro Dalcin [Fri, 25 Feb 2011 16:13:37 +0000 (13:13 -0300)]
fixes and cleanups in __Pyx_main()

13 years agofixes and cleanups in __Pyx_main()
Lisandro Dalcin [Fri, 25 Feb 2011 16:00:00 +0000 (13:00 -0300)]
fixes and cleanups in __Pyx_main()

13 years agoAnnotate by default if there is an existing annotation.
Robert Bradshaw [Fri, 25 Feb 2011 06:45:02 +0000 (22:45 -0800)]
Annotate by default if there is an existing annotation.

13 years agoMore temp arg assignment avoidance.
Robert Bradshaw [Fri, 25 Feb 2011 06:27:31 +0000 (22:27 -0800)]
More temp arg assignment avoidance.

13 years agoOne more side effect we want to avoid in argument ordering.
Robert Bradshaw [Fri, 25 Feb 2011 06:04:26 +0000 (22:04 -0800)]
One more side effect we want to avoid in argument ordering.

13 years agoFix make repo.
Robert Bradshaw [Fri, 25 Feb 2011 05:01:58 +0000 (21:01 -0800)]
Fix make repo.

13 years agoFix hg/git in readme.
Robert Bradshaw [Fri, 25 Feb 2011 01:54:25 +0000 (17:54 -0800)]
Fix hg/git in readme.

13 years agofix building sdist without git
Stefan Behnel [Thu, 24 Feb 2011 19:19:22 +0000 (20:19 +0100)]
fix building sdist without git

13 years agonogil for functions in locale.pxd and math.pxd
Lisandro Dalcin [Thu, 24 Feb 2011 16:49:52 +0000 (13:49 -0300)]
nogil for functions in locale.pxd and math.pxd

13 years agoeven better __Pyx_check_binary_version()
Lisandro Dalcin [Wed, 23 Feb 2011 15:14:01 +0000 (12:14 -0300)]
even better __Pyx_check_binary_version()

13 years agofix builtin hasattr() to suppress only AttributeError exceptions
Lisandro Dalcin [Wed, 23 Feb 2011 00:57:11 +0000 (21:57 -0300)]
fix builtin hasattr() to suppress only AttributeError exceptions

13 years agobetter __Pyx_check_binary_version()
Lisandro Dalcin [Sun, 20 Feb 2011 21:34:11 +0000 (18:34 -0300)]
better __Pyx_check_binary_version()

13 years agoquick fix previous commit (PySys_GetObject() returns borrowed ref)
Lisandro Dalcin [Sun, 20 Feb 2011 20:52:04 +0000 (17:52 -0300)]
quick fix previous commit (PySys_GetObject() returns borrowed ref)

13 years agoquick fix previous commit (declarations after code)
Lisandro Dalcin [Sun, 20 Feb 2011 20:43:33 +0000 (17:43 -0300)]
quick fix previous commit (declarations after code)

13 years agoComplile/runtime version mismatch warning.
Robert Bradshaw [Sat, 19 Feb 2011 23:12:51 +0000 (15:12 -0800)]
Complile/runtime version mismatch warning.

13 years agoMake cpp redeclaration an error (vs. a compiler crash). Fixes #523.
Robert Bradshaw [Sat, 19 Feb 2011 22:24:57 +0000 (14:24 -0800)]
Make cpp redeclaration an error (vs. a compiler crash). Fixes #523.

13 years agoMerge branch 'master' of git://github.com/cython/cython
Robert Bradshaw [Fri, 18 Feb 2011 21:40:41 +0000 (13:40 -0800)]
Merge branch 'master' of git://github.com/cython/cython

13 years agodel test and assignment fix
Robert Bradshaw [Fri, 18 Feb 2011 21:39:37 +0000 (13:39 -0800)]
del test and assignment fix

13 years agofix inline textcase to not use default $HOME/.cython/inline
Lisandro Dalcin [Fri, 18 Feb 2011 21:30:11 +0000 (18:30 -0300)]
fix inline textcase to not use default $HOME/.cython/inline

13 years agoEmulate del with set to None.
Robert Bradshaw [Fri, 18 Feb 2011 21:13:41 +0000 (13:13 -0800)]
Emulate del with set to None.

13 years agofix testcases assuming char is signed (thanks to Yaroslav Halchenko)
Lisandro Dalcin [Fri, 18 Feb 2011 19:11:11 +0000 (16:11 -0300)]
fix testcases assuming char is signed (thanks to Yaroslav Halchenko)

13 years agoPython 3: fix NumPy support
Lisandro Dalcin [Fri, 18 Feb 2011 16:00:03 +0000 (13:00 -0300)]
Python 3: fix NumPy support

13 years agomore declarations in math.pxd
Stefan Behnel [Fri, 18 Feb 2011 07:13:29 +0000 (08:13 +0100)]
more declarations in math.pxd

13 years agomodule_is_name should not be static so that cython freeze can access it
Robert Bradshaw [Fri, 18 Feb 2011 02:04:16 +0000 (18:04 -0800)]
module_is_name should not be static so that cython freeze can access it

13 years agoAllow embed option to take function name.
Robert Bradshaw [Thu, 17 Feb 2011 22:47:01 +0000 (14:47 -0800)]
Allow embed option to take function name.

13 years agoCreate .gitignore and update .hgignore (thanks to W. Trevor King)
Lisandro Dalcin [Thu, 17 Feb 2011 15:20:58 +0000 (12:20 -0300)]
Create .gitignore and update .hgignore (thanks to W. Trevor King)

13 years agocimport test
Robert Bradshaw [Thu, 17 Feb 2011 00:53:53 +0000 (16:53 -0800)]
cimport test

13 years agoenable embedded testcase in Python 3
Lisandro Dalcin [Wed, 16 Feb 2011 23:11:05 +0000 (20:11 -0300)]
enable embedded testcase in Python 3

13 years agofix makefile for embed testcase
Lisandro Dalcin [Wed, 16 Feb 2011 21:55:06 +0000 (18:55 -0300)]
fix makefile for embed testcase

13 years agoarg none check does not require arg type test utility code
Lisandro Dalcin [Tue, 15 Feb 2011 17:35:33 +0000 (14:35 -0300)]
arg none check does not require arg type test utility code

13 years agoRemove excessive refcounting.
Robert Bradshaw [Tue, 15 Feb 2011 10:15:55 +0000 (02:15 -0800)]
Remove excessive refcounting.

13 years agometa data update in setup.py
Stefan Behnel [Sun, 13 Feb 2011 06:58:23 +0000 (07:58 +0100)]
meta data update in setup.py

13 years agoPy2.7/3.1 add a new field to Py_buffer
Stefan Behnel [Sat, 12 Feb 2011 12:50:36 +0000 (13:50 +0100)]
Py2.7/3.1 add a new field to Py_buffer

13 years agoC-arrays of uchar/schar are also C strings
Stefan Behnel [Sat, 12 Feb 2011 12:48:43 +0000 (13:48 +0100)]
C-arrays of uchar/schar are also C strings

13 years agoWindows: fixes for previous commit
Lisandro Dalcin [Fri, 11 Feb 2011 14:14:19 +0000 (11:14 -0300)]
Windows: fixes for previous commit

13 years agoWindows: add -Wno-format to CFLAGS when using MinGW
Lisandro Dalcin [Fri, 11 Feb 2011 01:26:19 +0000 (22:26 -0300)]
Windows: add -Wno-format to CFLAGS when using MinGW

13 years agoadd --compiler option to runtests.py (mainly for MSVC/MinGW)
Lisandro Dalcin [Fri, 11 Feb 2011 00:59:01 +0000 (21:59 -0300)]
add --compiler option to runtests.py (mainly for MSVC/MinGW)

13 years agoPython 3.2 now uses new C integral type Py_hash_t
Lisandro Dalcin [Wed, 9 Feb 2011 16:49:22 +0000 (13:49 -0300)]
Python 3.2 now uses new C integral type Py_hash_t

13 years agoattempt to silent spurious MinGW warnigns
Lisandro Dalcin [Wed, 9 Feb 2011 15:16:08 +0000 (12:16 -0300)]
attempt to silent spurious MinGW warnigns

13 years agofix declaration in testcase helper header
Lisandro Dalcin [Wed, 9 Feb 2011 14:58:33 +0000 (11:58 -0300)]
fix declaration in testcase helper header

13 years agoWindows: fix testcase failing to link
Lisandro Dalcin [Wed, 9 Feb 2011 14:50:24 +0000 (11:50 -0300)]
Windows: fix testcase failing to link

13 years agoWindows: fix testcase to not link libm
Lisandro Dalcin [Mon, 7 Feb 2011 22:10:24 +0000 (19:10 -0300)]
Windows: fix testcase to not link libm

13 years agoattempt to fix rmtree Windows issues in test case
Lisandro Dalcin [Mon, 7 Feb 2011 20:14:07 +0000 (17:14 -0300)]
attempt to fix rmtree Windows issues in test case

13 years agoInline: -Wno-unused is a GCC flag, some but not all compilers out there support it
Lisandro Dalcin [Mon, 7 Feb 2011 19:27:51 +0000 (16:27 -0300)]
Inline: -Wno-unused is a GCC flag, some but not all compilers out there support it

13 years agoincrease version number
Stefan Behnel [Sun, 6 Feb 2011 15:21:37 +0000 (16:21 +0100)]
increase version number

13 years agowhen indexing/slicing 'str', it's safe to infer 'str' for the result
Stefan Behnel [Sun, 6 Feb 2011 15:14:48 +0000 (16:14 +0100)]
when indexing/slicing 'str', it's safe to infer 'str' for the result

13 years agowhen indexing 'str', it's safe to infer 'str' for the result
Stefan Behnel [Sun, 6 Feb 2011 15:07:39 +0000 (16:07 +0100)]
when indexing 'str', it's safe to infer 'str' for the result

13 years agofix test after changing type inference for unicode indexing
Stefan Behnel [Sun, 6 Feb 2011 09:14:01 +0000 (10:14 +0100)]
fix test after changing type inference for unicode indexing

13 years agofor indexing into / looping over unicode strings, infer Py_UCS4 instead of Py_UNICODE
Stefan Behnel [Sun, 6 Feb 2011 08:59:26 +0000 (09:59 +0100)]
for indexing into / looping over unicode strings, infer Py_UCS4 instead of Py_UNICODE

13 years agoerror handling fixes for argument unpacking when args/kwargs are in closures
Stefan Behnel [Sat, 5 Feb 2011 18:21:47 +0000 (19:21 +0100)]
error handling fixes for argument unpacking when args/kwargs are in closures

13 years agofix debugging test skipping for older Python versions
Stefan Behnel [Sat, 5 Feb 2011 17:19:48 +0000 (18:19 +0100)]
fix debugging test skipping for older Python versions

13 years agofix unused imports and Py2.4-isms in test code
Stefan Behnel [Sat, 5 Feb 2011 16:56:27 +0000 (17:56 +0100)]
fix unused imports and Py2.4-isms in test code

13 years agofix Py2.5-isms in test code
Stefan Behnel [Sat, 5 Feb 2011 16:46:22 +0000 (17:46 +0100)]
fix Py2.5-isms in test code

13 years agofix error test case
Stefan Behnel [Sat, 5 Feb 2011 16:41:31 +0000 (17:41 +0100)]
fix error test case

13 years agosupport 'Py_UCS4 in unicode_string' also in 16 Unicode builds
Stefan Behnel [Sat, 5 Feb 2011 16:24:44 +0000 (17:24 +0100)]
support 'Py_UCS4 in unicode_string' also in 16 Unicode builds

13 years agofix surrogate pair calculation
Stefan Behnel [Sat, 5 Feb 2011 16:16:06 +0000 (17:16 +0100)]
fix surrogate pair calculation

13 years agoin Py3.2, the unicode character testing/conversion functions accept Py_UCS4 instead...
Stefan Behnel [Sat, 5 Feb 2011 14:49:36 +0000 (15:49 +0100)]
in Py3.2, the unicode character testing/conversion functions accept Py_UCS4 instead of Py_UNICODE

13 years agoMerge branch 'release 0.14.1'
Robert Bradshaw [Fri, 4 Feb 2011 10:53:06 +0000 (02:53 -0800)]
Merge branch 'release 0.14.1'

Conflicts:
Cython/__init__.py

13 years agoBump version number. 0.14.1
Robert Bradshaw [Fri, 4 Feb 2011 10:30:48 +0000 (02:30 -0800)]
Bump version number.

13 years agoMake unit tests testable from any directory.
Robert Bradshaw [Fri, 4 Feb 2011 10:30:10 +0000 (02:30 -0800)]
Make unit tests testable from any directory.

13 years agoAllow exclusion of end-to-end tests.
Robert Bradshaw [Fri, 4 Feb 2011 10:12:04 +0000 (02:12 -0800)]
Allow exclusion of end-to-end tests.

13 years agoRuntest cleanup for different testing environments.
Robert Bradshaw [Fri, 4 Feb 2011 09:16:05 +0000 (01:16 -0800)]
Runtest cleanup for different testing environments.