cython.git
14 years agoPy3 testcase fixes 0.11.2.rc1
Dag Sverre Seljebotn [Sun, 17 May 2009 07:02:23 +0000 (00:02 -0700)]
Py3 testcase fixes

14 years agoFix bug in new buffmt code
Dag Sverre Seljebotn [Sun, 17 May 2009 06:01:24 +0000 (08:01 +0200)]
Fix bug in new buffmt code

14 years agofix some tests for Python 3
Lisandro Dalcin [Sun, 17 May 2009 02:07:14 +0000 (23:07 -0300)]
fix some tests for Python 3

14 years agorenaming in testcase, 'mutable' is a C++ keyword.
Lisandro Dalcin [Sat, 16 May 2009 23:28:44 +0000 (20:28 -0300)]
renaming in testcase, 'mutable' is a C++ keyword.

14 years agoadd compiler directive for user-defined function calling conventions
Lisandro Dalcin [Sat, 16 May 2009 23:10:35 +0000 (20:10 -0300)]
add compiler directive for user-defined function calling conventions

14 years agoBuiltin type method
Robert Bradshaw [Sat, 16 May 2009 04:42:57 +0000 (21:42 -0700)]
Builtin type method

14 years agobuffer testcase fix again
Dag Sverre Seljebotn [Fri, 15 May 2009 20:17:23 +0000 (22:17 +0200)]
buffer testcase fix again

14 years agobuffer testcase fix
Dag Sverre Seljebotn [Fri, 15 May 2009 20:13:52 +0000 (22:13 +0200)]
buffer testcase fix

14 years agoremove unused ComprehensionTransform class (which doesn't work anyway)
Stefan Behnel [Fri, 15 May 2009 18:24:43 +0000 (20:24 +0200)]
remove unused ComprehensionTransform class (which doesn't work anyway)

14 years agoUpdate numpy.pxd with complex types and approximate type sizes
Dag Sverre Seljebotn [Fri, 15 May 2009 11:43:23 +0000 (13:43 +0200)]
Update numpy.pxd with complex types and approximate type sizes

14 years agomerge
Lisandro Dalcin [Thu, 14 May 2009 20:47:21 +0000 (17:47 -0300)]
merge

14 years agoDon't assume complex.h by default.
Robert Bradshaw [Thu, 14 May 2009 19:36:52 +0000 (12:36 -0700)]
Don't assume complex.h by default.

14 years agoreal and imag attributes for complex
Robert Bradshaw [Thu, 14 May 2009 19:36:16 +0000 (12:36 -0700)]
real and imag attributes for complex

14 years agoFix obscure bug w/ complex (only present when compiling many files in one run)
Dag Sverre Seljebotn [Thu, 14 May 2009 17:42:54 +0000 (19:42 +0200)]
Fix obscure bug w/ complex (only present when compiling many files in one run)

14 years agoTestcase fix, update error message
Dag Sverre Seljebotn [Thu, 14 May 2009 16:02:32 +0000 (18:02 +0200)]
Testcase fix, update error message

14 years agoAttempt to fix disappearence of conversion errors (introduced by b8850487f853)
Dag Sverre Seljebotn [Thu, 14 May 2009 15:46:40 +0000 (17:46 +0200)]
Attempt to fix disappearence of conversion errors (introduced by b8850487f853)

14 years agoIf we were using git I could more easily erase my embarrasing commit history...
Dag Sverre Seljebotn [Thu, 14 May 2009 15:34:02 +0000 (17:34 +0200)]
If we were using git I could more easily erase my embarrasing commit history...

14 years agoFixing up flawed fix for #303
Dag Sverre Seljebotn [Thu, 14 May 2009 15:28:50 +0000 (17:28 +0200)]
Fixing up flawed fix for #303

14 years agoAllow <MyStruct*>obj as well; as there is no canonical PyObject
Dag Sverre Seljebotn [Thu, 14 May 2009 15:09:39 +0000 (17:09 +0200)]
Allow <MyStruct*>obj as well; as there is no canonical PyObject

14 years agoFix #303 as per Lisandro's idea
Dag Sverre Seljebotn [Thu, 14 May 2009 14:49:54 +0000 (16:49 +0200)]
Fix #303 as per Lisandro's idea

14 years agoActually remove warning mentioned in last commit...
Dag Sverre Seljebotn [Thu, 14 May 2009 13:28:13 +0000 (15:28 +0200)]
Actually remove warning mentioned in last commit...

14 years agoDisallow <double*>obj (#313). Also removes warning for <void*>obj.
Dag Sverre Seljebotn [Thu, 14 May 2009 13:25:49 +0000 (15:25 +0200)]
Disallow <double*>obj (#313). Also removes warning for <void*>obj.

14 years agoBuffer support for complex numbers
Dag Sverre Seljebotn [Thu, 14 May 2009 12:58:58 +0000 (14:58 +0200)]
Buffer support for complex numbers

14 years agoMinor testcase improvement
Dag Sverre Seljebotn [Thu, 14 May 2009 12:39:49 +0000 (14:39 +0200)]
Minor testcase improvement

14 years agoFix regression related to --embed support
Dag Sverre Seljebotn [Thu, 14 May 2009 12:27:24 +0000 (14:27 +0200)]
Fix regression related to --embed support

14 years agoOnly one source file allowed when using -embed
Robert Bradshaw [Thu, 14 May 2009 09:05:17 +0000 (02:05 -0700)]
Only one source file allowed when using -embed

14 years agoModule is main flag for embedded mode.
Robert Bradshaw [Thu, 14 May 2009 09:01:48 +0000 (02:01 -0700)]
Module is main flag for embedded mode.

14 years agoComplex negation
Robert Bradshaw [Thu, 14 May 2009 08:25:06 +0000 (01:25 -0700)]
Complex negation

14 years agoMinor complex number fixes
Robert Bradshaw [Thu, 14 May 2009 08:16:59 +0000 (01:16 -0700)]
Minor complex number fixes

14 years agoComplex numbers tests
Robert Bradshaw [Thu, 14 May 2009 07:58:14 +0000 (00:58 -0700)]
Complex numbers tests

14 years agoComplex numeber comparison, etc.
Robert Bradshaw [Thu, 14 May 2009 07:58:13 +0000 (00:58 -0700)]
Complex numeber comparison, etc.

14 years agoComplex number support without c99
Robert Bradshaw [Thu, 14 May 2009 07:58:12 +0000 (00:58 -0700)]
Complex number support without c99

14 years agoCompiler directive fixes, add c99 complex directive
Robert Bradshaw [Thu, 14 May 2009 07:58:11 +0000 (00:58 -0700)]
Compiler directive fixes, add c99 complex directive

14 years agoMore work on complex numbers, mostly works with c99 support.
Robert Bradshaw [Thu, 14 May 2009 07:58:10 +0000 (00:58 -0700)]
More work on complex numbers, mostly works with c99 support.

14 years agoComplex type parsing, very basic support if supported by C compiler
Robert Bradshaw [Thu, 14 May 2009 07:58:08 +0000 (00:58 -0700)]
Complex type parsing, very basic support if supported by C compiler

14 years agoCython 0.11.2.beta
Dag Sverre Seljebotn [Tue, 12 May 2009 20:44:40 +0000 (22:44 +0200)]
Cython 0.11.2.beta

14 years agoFixes for previous commit
Dag Sverre Seljebotn [Tue, 12 May 2009 07:49:54 +0000 (09:49 +0200)]
Fixes for previous commit

14 years agoUtility code code stream refactor
Dag Sverre Seljebotn [Tue, 12 May 2009 07:32:03 +0000 (09:32 +0200)]
Utility code code stream refactor

14 years agoMore fine-grained type declaration (makes new buffmt work in C++)
Dag Sverre Seljebotn [Mon, 11 May 2009 20:52:49 +0000 (22:52 +0200)]
More fine-grained type declaration (makes new buffmt work in C++)

14 years agoIntroduce pre-splitting of code-stream in Code.py
Dag Sverre Seljebotn [Mon, 11 May 2009 20:39:04 +0000 (22:39 +0200)]
Introduce pre-splitting of code-stream in Code.py

14 years agoMinor testcase fixes
Dag Sverre Seljebotn [Wed, 6 May 2009 19:03:59 +0000 (21:03 +0200)]
Minor testcase fixes

14 years agoI was not aware of the offsetof macro
Dag Sverre Seljebotn [Wed, 6 May 2009 18:49:39 +0000 (20:49 +0200)]
I was not aware of the offsetof macro

14 years agoTestcases for #303
Dag Sverre Seljebotn [Wed, 6 May 2009 18:46:36 +0000 (20:46 +0200)]
Testcases for #303

14 years agowraparound directive implemented
Dag Sverre Seljebotn [Wed, 6 May 2009 18:26:30 +0000 (20:26 +0200)]
wraparound directive implemented

14 years ago#115 appears to be fixed too
Dag Sverre Seljebotn [Wed, 6 May 2009 17:27:25 +0000 (19:27 +0200)]
#115 appears to be fixed too

14 years agoWhoops
Dag Sverre Seljebotn [Wed, 6 May 2009 17:22:14 +0000 (19:22 +0200)]
Whoops

14 years agoMore buffer typestring; fixes #285
Dag Sverre Seljebotn [Wed, 6 May 2009 17:20:00 +0000 (19:20 +0200)]
More buffer typestring; fixes #285

14 years agomerge
Dag Sverre Seljebotn [Tue, 5 May 2009 18:46:13 +0000 (20:46 +0200)]
merge

14 years agoBuffers: format string check rewrite up to standards of the old one
Dag Sverre Seljebotn [Tue, 5 May 2009 18:45:56 +0000 (20:45 +0200)]
Buffers: format string check rewrite up to standards of the old one

14 years agoBuffers: Checkpoint before making struct typeinfo flattened and removing need for...
Dag Sverre Seljebotn [Tue, 5 May 2009 16:46:08 +0000 (18:46 +0200)]
Buffers: Checkpoint before making struct typeinfo flattened and removing need for stack

14 years agowmain and wchar_t for windows main function
Robert Bradshaw [Mon, 4 May 2009 22:08:47 +0000 (15:08 -0700)]
wmain and wchar_t for windows main function

14 years agomove testcase ('pass' in a 'cdef extern' block) from 'test/broken' to 'test/compile'
Lisandro Dalcin [Mon, 4 May 2009 20:52:51 +0000 (17:52 -0300)]
move testcase ('pass' in a 'cdef extern' block) from 'test/broken' to 'test/compile'

--HG--
rename : tests/broken/cdefexternempty.pyx => tests/compile/cdefexternempty.pyx

14 years agore-allow 'pass' statement in cdef blocks
Stefan Behnel [Mon, 4 May 2009 20:19:40 +0000 (22:19 +0200)]
re-allow 'pass' statement in cdef blocks

14 years agoprevent redundant type checks when 'converting' between str and bytes type
Stefan Behnel [Mon, 4 May 2009 18:24:35 +0000 (20:24 +0200)]
prevent redundant type checks when 'converting' between str and bytes type

14 years agobe a little more conservative in the last change
Stefan Behnel [Mon, 4 May 2009 15:47:57 +0000 (17:47 +0200)]
be a little more conservative in the last change

14 years agoslicing a builtin type will return the same type
Stefan Behnel [Mon, 4 May 2009 11:58:06 +0000 (13:58 +0200)]
slicing a builtin type will return the same type

14 years agofix test case
Stefan Behnel [Sun, 3 May 2009 18:49:16 +0000 (20:49 +0200)]
fix test case

14 years agoremoved various invalid syntax combinations for the c(p)def statement (#280)
Stefan Behnel [Sun, 3 May 2009 18:38:21 +0000 (20:38 +0200)]
removed various invalid syntax combinations for the c(p)def statement (#280)

14 years agofix pyregr tests in test runner
Stefan Behnel [Sun, 3 May 2009 16:39:52 +0000 (18:39 +0200)]
fix pyregr tests in test runner

--HG--
extra : transplant_source : k%B8%5E%E3%E2%AF%8C%14%1D%CF%F7%CE%97%F1%8B%E2%D4%B0mT

14 years agoOutdated comment
Dag Sverre Seljebotn [Sat, 2 May 2009 20:34:07 +0000 (22:34 +0200)]
Outdated comment

14 years agoBuffers: Rewrite of buffer acquisition
Dag Sverre Seljebotn [Sat, 2 May 2009 16:06:38 +0000 (18:06 +0200)]
Buffers: Rewrite of buffer acquisition

14 years agoBuffer format string checking rewrite
Dag Sverre Seljebotn [Sat, 2 May 2009 12:11:58 +0000 (14:11 +0200)]
Buffer format string checking rewrite

15 years agocompiler directive to control METH_O and METH_NOARGS flags (ticket #295)
Lisandro Dalcin [Tue, 28 Apr 2009 13:25:43 +0000 (10:25 -0300)]
compiler directive to control METH_O and METH_NOARGS flags (ticket #295)

15 years agoWhoops, committed debug code. Undoing.
Dag Sverre Seljebotn [Tue, 28 Apr 2009 13:02:54 +0000 (15:02 +0200)]
Whoops, committed debug code. Undoing.

15 years agoSimple fix for #155
Dag Sverre Seljebotn [Tue, 28 Apr 2009 13:02:09 +0000 (15:02 +0200)]
Simple fix for #155

15 years agorenamed to correct ticket number
Stefan Behnel [Sun, 26 Apr 2009 06:09:47 +0000 (08:09 +0200)]
renamed to correct ticket number

--HG--
rename : tests/run/tupleunpack_Thmm.pyx => tests/run/tupleunpack_T298.pyx

15 years agoFix tuple unpacking bug (related to old temps)
Dag Sverre Seljebotn [Sat, 25 Apr 2009 18:58:37 +0000 (20:58 +0200)]
Fix tuple unpacking bug (related to old temps)

15 years agofixes int/long type slots in Py2/Py3 (ticket #287)
Lisandro Dalcin [Thu, 23 Apr 2009 21:09:53 +0000 (18:09 -0300)]
fixes int/long type slots in Py2/Py3 (ticket #287)

15 years agomerge
Dag Sverre Seljebotn [Thu, 23 Apr 2009 19:21:09 +0000 (21:21 +0200)]
merge

15 years ago#290: whoops
Dag Sverre Seljebotn [Thu, 23 Apr 2009 18:08:25 +0000 (20:08 +0200)]
#290: whoops

15 years agoPacked struct support (#290)
Dag Sverre Seljebotn [Thu, 23 Apr 2009 18:03:36 +0000 (20:03 +0200)]
Packed struct support (#290)

15 years agoInput from Mark Lodato on embedding
Robert Bradshaw [Thu, 23 Apr 2009 06:52:46 +0000 (23:52 -0700)]
Input from Mark Lodato on embedding

15 years agomore complete embedded mode (trac 291)
Robert Bradshaw [Wed, 22 Apr 2009 02:43:22 +0000 (19:43 -0700)]
more complete embedded mode (trac 291)

15 years ago__name__ == "__main__" for embedded modules
Robert Bradshaw [Tue, 21 Apr 2009 09:11:16 +0000 (02:11 -0700)]
__name__ == "__main__" for embedded modules

15 years agoembedding example
Robert Bradshaw [Tue, 21 Apr 2009 09:10:19 +0000 (02:10 -0700)]
embedding example

Windows fixing needs help

15 years agoEmbed flag for Cython modules
Robert Bradshaw [Tue, 21 Apr 2009 08:38:25 +0000 (01:38 -0700)]
Embed flag for Cython modules

15 years agoBuffer: Cleanup. There are no unsigned floats.
Dag Sverre Seljebotn [Sun, 19 Apr 2009 21:16:05 +0000 (23:16 +0200)]
Buffer: Cleanup. There are no unsigned floats.

15 years agoBuffer: Always do item size check
Dag Sverre Seljebotn [Sun, 19 Apr 2009 21:06:10 +0000 (23:06 +0200)]
Buffer: Always do item size check

15 years agoFormat strings from numpy.pxd: Added endian/packing information
Dag Sverre Seljebotn [Sun, 19 Apr 2009 21:03:09 +0000 (23:03 +0200)]
Format strings from numpy.pxd: Added endian/packing information

15 years agomerge
Stefan Behnel [Sat, 18 Apr 2009 19:49:28 +0000 (21:49 +0200)]
merge

15 years agoPyrex -> Cython
Stefan Behnel [Sat, 18 Apr 2009 07:21:13 +0000 (09:21 +0200)]
Pyrex -> Cython

15 years agochange usage of global variable '__pyx_modulename' in favor of a macro '__Pyx_MODULE_...
Lisandro Dalcin [Fri, 17 Apr 2009 16:46:07 +0000 (13:46 -0300)]
change usage of global variable '__pyx_modulename' in favor of a macro '__Pyx_MODULE_NAME'

15 years agomake '__pyx_modulename' have static storage in generated C code
Lisandro Dalcin [Fri, 17 Apr 2009 16:11:23 +0000 (13:11 -0300)]
make '__pyx_modulename' have static storage in generated C code

15 years agofix test case
Stefan Behnel [Fri, 17 Apr 2009 07:11:16 +0000 (09:11 +0200)]
fix test case

15 years agomark bug test for T284 as failing
Stefan Behnel [Fri, 17 Apr 2009 05:54:40 +0000 (07:54 +0200)]
mark bug test for T284 as failing

15 years agoadded test case for T284
Stefan Behnel [Fri, 17 Apr 2009 05:52:53 +0000 (07:52 +0200)]
added test case for T284

15 years agomove stuff out of tests/bugs directory
Robert Bradshaw [Fri, 17 Apr 2009 02:10:51 +0000 (19:10 -0700)]
move stuff out of tests/bugs directory

--HG--
rename : tests/bugs/bad_c_struct_T252.pyx => tests/compile/bad_c_struct_T252.pyx
rename : tests/bugs/pxd_override_T230.pxd => tests/compile/pxd_override_T230.pxd
rename : tests/bugs/pxd_override_T230.py => tests/compile/pxd_override_T230.py
rename : tests/bugs/missing_baseclass_in_predecl_T262.pyx => tests/errors/missing_baseclass_in_predecl_T262.pyx
rename : tests/bugs/return_outside_function_T135.pyx => tests/errors/return_outside_function_T135.pyx
rename : tests/bugs/builtin_types_none_T166.pyx => tests/run/builtin_types_none_T166.pyx
rename : tests/bugs/char_constants_T99.pyx => tests/run/char_constants_T99.pyx
rename : tests/bugs/class_attribute_init_values_T18.pyx => tests/run/class_attribute_init_values_T18.pyx
rename : tests/bugs/ext_instance_type_T232.pyx => tests/run/ext_instance_type_T232.pyx
rename : tests/bugs/funcexc_iter_T228.pyx => tests/run/funcexc_iter_T228.pyx
rename : tests/bugs/ifelseexpr_T267.pyx => tests/run/ifelseexpr_T267.pyx
rename : tests/bugs/large_consts_T237.pyx => tests/run/large_consts_T237.pyx
rename : tests/bugs/methodmangling_T5.pyx => tests/run/methodmangling_T5.pyx
rename : tests/bugs/numpy_ValueError_T172.pyx => tests/run/numpy_ValueError_T172.pyx
rename : tests/bugs/unsignedbehaviour_T184.pyx => tests/run/unsignedbehaviour_T184.pyx

15 years agoUse bugs list instead of bugs directory.
Robert Bradshaw [Fri, 17 Apr 2009 02:08:19 +0000 (19:08 -0700)]
Use bugs list instead of bugs directory.

15 years agoVersion 0.11.1
Robert Bradshaw [Thu, 16 Apr 2009 07:52:32 +0000 (00:52 -0700)]
Version 0.11.1

15 years agoAdded tag 0.11.1 for changeset 6454db601984
Robert Bradshaw [Thu, 16 Apr 2009 07:52:25 +0000 (00:52 -0700)]
Added tag 0.11.1 for changeset 6454db601984

15 years agoModify test for T158 as warnings, not errors, are raised. 0.11.1
Robert Bradshaw [Thu, 16 Apr 2009 07:51:59 +0000 (00:51 -0700)]
Modify test for T158 as warnings, not errors, are raised.

15 years agoMove fixed ticket tests to testing directories.
Robert Bradshaw [Thu, 16 Apr 2009 07:37:02 +0000 (00:37 -0700)]
Move fixed ticket tests to testing directories.

--HG--
rename : tests/bugs/weakref_T276.pyx => tests/compile/weakref_T276.pyx
rename : tests/bugs/c_int_types_T255.pyx => tests/run/c_int_types_T255.pyx

15 years agoMove T252 back to bugs until it is fixed.
Robert Bradshaw [Thu, 16 Apr 2009 07:33:25 +0000 (00:33 -0700)]
Move T252 back to bugs until it is fixed.

--HG--
rename : tests/compile/bad_c_struct_T252.pyx => tests/bugs/bad_c_struct_T252.pyx

15 years agoProper nogil checks for buffer access
Dag Sverre Seljebotn [Wed, 15 Apr 2009 19:44:01 +0000 (21:44 +0200)]
Proper nogil checks for buffer access

15 years agoFix T284, cdef list setitem
Robert Bradshaw [Sat, 18 Apr 2009 08:02:12 +0000 (01:02 -0700)]
Fix T284, cdef list setitem

15 years agoAdd warning in situations where command line directive behaviour will change in 0.12
Dag Sverre Seljebotn [Wed, 15 Apr 2009 14:15:37 +0000 (16:15 +0200)]
Add warning in situations where command line directive behaviour will change in 0.12

15 years agoDeprecation warning for -X switch
Dag Sverre Seljebotn [Wed, 15 Apr 2009 20:03:27 +0000 (22:03 +0200)]
Deprecation warning for -X switch

15 years agoRequire GIL for pythonic division, check for division overflow
Robert Bradshaw [Wed, 15 Apr 2009 07:27:57 +0000 (00:27 -0700)]
Require GIL for pythonic division, check for division overflow

15 years ago0.11.1 release candidate
Robert Bradshaw [Tue, 14 Apr 2009 23:17:22 +0000 (16:17 -0700)]
0.11.1 release candidate

15 years agocdivision - raise zero division errors
Robert Bradshaw [Tue, 14 Apr 2009 22:12:47 +0000 (15:12 -0700)]
cdivision - raise zero division errors