cython.git
15 years agoimported patch shrink-int-convert
Robert Bradshaw [Fri, 11 Sep 2009 04:22:34 +0000 (21:22 -0700)]
imported patch shrink-int-convert

15 years agoextern ctypedef integral <-> python object conversion (ticket #333)
Lisandro Dalcin [Thu, 10 Sep 2009 13:50:11 +0000 (10:50 -0300)]
extern ctypedef integral <-> python object conversion (ticket #333)

15 years agoEnable test for T135.
Robert Bradshaw [Fri, 11 Sep 2009 02:58:32 +0000 (19:58 -0700)]
Enable test for T135.

15 years agoFix 135 -- scope objects have return_type set to None by default
Kurt Smith [Tue, 17 Mar 2009 19:57:58 +0000 (14:57 -0500)]
Fix 135 -- scope objects have return_type set to None by default

15 years agoFix tests after #355
Robert Bradshaw [Fri, 11 Sep 2009 02:33:52 +0000 (19:33 -0700)]
Fix tests after #355

15 years agoTicket #355 - ctypedef class ordering
Robert Bradshaw [Fri, 11 Sep 2009 02:33:50 +0000 (19:33 -0700)]
Ticket #355 - ctypedef class ordering

15 years agofix aquire_gil tests
Robert Bradshaw [Fri, 11 Sep 2009 02:33:47 +0000 (19:33 -0700)]
fix aquire_gil tests

15 years agoTests for ticket #355, ctypedef public classes
Robert Bradshaw [Thu, 10 Sep 2009 23:03:16 +0000 (16:03 -0700)]
Tests for ticket #355, ctypedef public classes

15 years ago#344, stop pipeline before code generation in case of errors
Robert Bradshaw [Thu, 10 Sep 2009 09:20:16 +0000 (02:20 -0700)]
#344, stop pipeline before code generation in case of errors

15 years agotests for #286
Robert Bradshaw [Thu, 10 Sep 2009 08:35:53 +0000 (01:35 -0700)]
tests for #286

15 years ago#286, make sure cdef classes fully defined in pxd
Robert Bradshaw [Thu, 10 Sep 2009 08:30:06 +0000 (01:30 -0700)]
#286, make sure cdef classes fully defined in pxd

15 years agoTicket #216, Exceptions in __Pyx_InitGlobals() lead to a crash
Robert Bradshaw [Thu, 10 Sep 2009 07:06:45 +0000 (00:06 -0700)]
Ticket #216, Exceptions in __Pyx_InitGlobals() lead to a crash

15 years agouse PyObject* type for arguments to PyErr_Restore() in Cython/Includes/python_exc.pxd
Lisandro Dalcin [Wed, 9 Sep 2009 20:30:09 +0000 (17:30 -0300)]
use PyObject* type for arguments to PyErr_Restore() in Cython/Includes/python_exc.pxd

15 years agoremove is_longlong member from class PyrexType
Lisandro Dalcin [Wed, 9 Sep 2009 18:52:08 +0000 (15:52 -0300)]
remove is_longlong member from class PyrexType

15 years agoAttempt to fix public enum values not being exported.
Grant Baillie [Fri, 28 Aug 2009 01:57:13 +0000 (18:57 -0700)]
Attempt to fix public enum values not being exported.

15 years agofix error message
Stefan Behnel [Thu, 20 Aug 2009 19:56:44 +0000 (21:56 +0200)]
fix error message

15 years agomerge
Stefan Behnel [Wed, 19 Aug 2009 14:48:49 +0000 (16:48 +0200)]
merge

15 years agoextended exec() implementation, mostly copied from Py3.1
Stefan Behnel [Wed, 19 Aug 2009 14:48:34 +0000 (16:48 +0200)]
extended exec() implementation, mostly copied from Py3.1

15 years agocode object support in exec statement
Andrey Plotnikov [Wed, 19 Aug 2009 06:48:24 +0000 (14:48 +0800)]
code object support in exec statement

15 years agomerge
Stefan Behnel [Sat, 8 Aug 2009 18:58:14 +0000 (20:58 +0200)]
merge

15 years agofix switch transform for in-list tests
Stefan Behnel [Sat, 8 Aug 2009 18:57:44 +0000 (20:57 +0200)]
fix switch transform for in-list tests

15 years agocython_freeze for making stand-alone programs
Mark Lodato [Fri, 7 Aug 2009 04:20:43 +0000 (21:20 -0700)]
cython_freeze for making stand-alone programs

15 years agomerge main branch to devel
Robert Bradshaw [Thu, 6 Aug 2009 04:40:50 +0000 (21:40 -0700)]
merge main branch to devel

15 years ago#347 fix: Make numpy.complexX_t use Cython complex
Dag Sverre Seljebotn [Wed, 29 Jul 2009 20:10:31 +0000 (22:10 +0200)]
#347 fix: Make numpy.complexX_t use Cython complex

15 years agonumpy headers in demo setup.py
Robert Bradshaw [Thu, 23 Jul 2009 20:02:28 +0000 (13:02 -0700)]
numpy headers in demo setup.py

15 years agoBetter complex conversion.
Robert Bradshaw [Wed, 22 Jul 2009 15:48:34 +0000 (08:48 -0700)]
Better complex conversion.

15 years agoBetter CYTHON_TRACING macro.
Robert Bradshaw [Tue, 21 Jul 2009 07:34:09 +0000 (00:34 -0700)]
Better CYTHON_TRACING macro.

15 years agofix nogil profiling
Robert Bradshaw [Mon, 20 Jul 2009 23:29:54 +0000 (16:29 -0700)]
fix nogil profiling

15 years agoProfiling test
Robert Bradshaw [Mon, 20 Jul 2009 22:40:26 +0000 (15:40 -0700)]
Profiling test

15 years agoDisable tracing for now.
Robert Bradshaw [Mon, 20 Jul 2009 22:40:24 +0000 (15:40 -0700)]
Disable tracing for now.

15 years agoCython profiling
Robert Bradshaw [Mon, 20 Jul 2009 22:39:57 +0000 (15:39 -0700)]
Cython profiling

15 years agoempty bytes global
Robert Bradshaw [Thu, 16 Jul 2009 09:32:52 +0000 (02:32 -0700)]
empty bytes global

15 years agomore delete tests
Robert Bradshaw [Tue, 14 Jul 2009 07:17:26 +0000 (00:17 -0700)]
more delete tests

15 years agodel item test
Robert Bradshaw [Tue, 14 Jul 2009 07:09:58 +0000 (00:09 -0700)]
del item test

15 years agoFix cython.locals in pxd for pure Python mode.
Robert Bradshaw [Fri, 10 Jul 2009 07:42:48 +0000 (00:42 -0700)]
Fix cython.locals in pxd for pure Python mode.

15 years agoPartial fix for #307, see ticket
Dag Sverre Seljebotn [Tue, 7 Jul 2009 08:07:22 +0000 (10:07 +0200)]
Partial fix for #307, see ticket

15 years agoUpdated numpy.pxd
Dag Sverre Seljebotn [Mon, 6 Jul 2009 18:16:22 +0000 (20:16 +0200)]
Updated numpy.pxd

15 years agoName numpy type enum
Robert Bradshaw [Sun, 28 Jun 2009 08:55:31 +0000 (01:55 -0700)]
Name numpy type enum

15 years agoRemove file which should never have been uploaded
Dag Sverre Seljebotn [Thu, 25 Jun 2009 17:38:56 +0000 (19:38 +0200)]
Remove file which should never have been uploaded

15 years agoFix #191
Dag Sverre Seljebotn [Thu, 25 Jun 2009 17:37:01 +0000 (19:37 +0200)]
Fix #191

15 years agoget rid of string comparisons in classmethod utility code
Lisandro Dalcin [Fri, 19 Jun 2009 17:13:14 +0000 (14:13 -0300)]
get rid of string comparisons in classmethod utility code

15 years agoTicket #326, coerce -1 to -2 for __hash__
Robert Bradshaw [Wed, 3 Jun 2009 10:17:42 +0000 (03:17 -0700)]
Ticket #326, coerce -1 to -2 for __hash__

15 years agomerge
Dag Sverre Seljebotn [Tue, 26 May 2009 20:54:46 +0000 (22:54 +0200)]
merge

15 years agoNew fix for #303
Dag Sverre Seljebotn [Tue, 26 May 2009 20:46:16 +0000 (22:46 +0200)]
New fix for #303

15 years agoRevert previous fix of #303
Dag Sverre Seljebotn [Tue, 26 May 2009 20:42:03 +0000 (22:42 +0200)]
Revert previous fix of #303

15 years agoStop compilation when Python headers are not present
Dag Sverre Seljebotn [Wed, 20 May 2009 18:11:13 +0000 (20:11 +0200)]
Stop compilation when Python headers are not present

15 years agoVersion update
Dag Sverre Seljebotn [Wed, 20 May 2009 15:34:48 +0000 (17:34 +0200)]
Version update

15 years agoDo not use C99 compound literals (enables compilation on g++ 4.2.4) 0.11.2
Dag Sverre Seljebotn [Wed, 20 May 2009 12:44:08 +0000 (14:44 +0200)]
Do not use C99 compound literals (enables compilation on g++ 4.2.4)

15 years agoRedirect error output properly during unit testing
Dag Sverre Seljebotn [Tue, 19 May 2009 16:54:13 +0000 (18:54 +0200)]
Redirect error output properly during unit testing

15 years ago0.11.2.rc1
Dag Sverre Seljebotn [Sun, 17 May 2009 13:38:02 +0000 (15:38 +0200)]
0.11.2.rc1

15 years agoAdded tag 0.11.2.rc1 for changeset af6f1bed8cd4
Dag Sverre Seljebotn [Sun, 17 May 2009 13:37:54 +0000 (15:37 +0200)]
Added tag 0.11.2.rc1 for changeset af6f1bed8cd4

15 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

15 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

15 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

15 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.

15 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

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

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

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

15 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)

15 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

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

15 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.

15 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

15 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)

15 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

15 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)

15 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...

15 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

15 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

15 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

15 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...

15 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.

15 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

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

15 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

15 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

15 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.

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

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

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

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

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

15 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

15 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.

15 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

15 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

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

15 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

15 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++)

15 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

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

15 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

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

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

15 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

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

15 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

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

15 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