cython.git
16 years agotest case for DEF int constant assignment
Stefan Behnel [Mon, 21 Apr 2008 06:02:45 +0000 (08:02 +0200)]
test case for DEF int constant assignment

16 years agofixed DEF constant integer parsing (bug 220108)
Stefan Behnel [Mon, 21 Apr 2008 05:59:02 +0000 (07:59 +0200)]
fixed DEF constant integer parsing (bug 220108)

16 years agotypo (bug 220109)
Stefan Behnel [Mon, 21 Apr 2008 05:52:43 +0000 (07:52 +0200)]
typo (bug 220109)

16 years agoextended docstring test
Stefan Behnel [Thu, 10 Apr 2008 12:09:20 +0000 (14:09 +0200)]
extended docstring test

16 years agofix doubled docstrings for Python classes
Stefan Behnel [Thu, 10 Apr 2008 11:55:36 +0000 (13:55 +0200)]
fix doubled docstrings for Python classes

16 years agomake the test test something
Stefan Behnel [Wed, 9 Apr 2008 18:16:48 +0000 (20:16 +0200)]
make the test test something

16 years agomore unicode tests
Stefan Behnel [Wed, 9 Apr 2008 18:15:20 +0000 (20:15 +0200)]
more unicode tests

16 years agofix for broken int-op test case
Stefan Behnel [Wed, 9 Apr 2008 16:03:09 +0000 (18:03 +0200)]
fix for broken int-op test case

16 years agouse Extension class of Cython's Distutils package in tests
Stefan Behnel [Wed, 9 Apr 2008 15:55:32 +0000 (17:55 +0200)]
use Extension class of Cython's Distutils package in tests

16 years agoremove warning about unknown Extension option
Stefan Behnel [Wed, 9 Apr 2008 15:48:46 +0000 (17:48 +0200)]
remove warning about unknown Extension option

16 years agotest case for 'cdef extern class' definitions in .pxd files
Stefan Behnel [Wed, 9 Apr 2008 15:08:50 +0000 (17:08 +0200)]
test case for 'cdef extern class' definitions in .pxd files

16 years agofix include dirs in test runner
Stefan Behnel [Wed, 9 Apr 2008 15:03:24 +0000 (17:03 +0200)]
fix include dirs in test runner

16 years agoreverted 'circular cdef' patch, leaving unrelated changes intact
Stefan Behnel [Wed, 9 Apr 2008 09:14:48 +0000 (11:14 +0200)]
reverted 'circular cdef' patch, leaving unrelated changes intact

16 years agoFix cdef extern classes
Robert Bradshaw [Tue, 8 Apr 2008 08:25:09 +0000 (01:25 -0700)]
Fix cdef extern classes

16 years agoMinor packaging changes
Robert Bradshaw [Tue, 8 Apr 2008 08:20:51 +0000 (01:20 -0700)]
Minor packaging changes

16 years agoAdd untracked files to repo.
Robert Bradshaw [Fri, 4 Apr 2008 07:15:22 +0000 (00:15 -0700)]
Add untracked files to repo.

16 years agoCleanup unsused functions/labels
Robert Bradshaw [Fri, 4 Apr 2008 07:14:59 +0000 (00:14 -0700)]
Cleanup unsused functions/labels

16 years agoMerge package and compiler repositories.
Robert Bradshaw [Fri, 4 Apr 2008 06:44:29 +0000 (23:44 -0700)]
Merge package and compiler repositories.

16 years agobump version number
Robert Bradshaw [Fri, 4 Apr 2008 05:28:40 +0000 (22:28 -0700)]
bump version number

16 years agoMisc little fixes. Sage now builds and passes all tests.
Robert Bradshaw [Fri, 4 Apr 2008 05:07:13 +0000 (22:07 -0700)]
Misc little fixes. Sage now builds and passes all tests.

16 years agominor fixes
Robert Bradshaw [Thu, 3 Apr 2008 07:47:04 +0000 (00:47 -0700)]
minor fixes

16 years agoTransformation fixes
Robert Bradshaw [Thu, 3 Apr 2008 07:23:51 +0000 (00:23 -0700)]
Transformation fixes

16 years agoAllow ctypedef my_struct_s my_struct_t[1] trick, can access members of my_struct_t...
Robert Bradshaw [Thu, 3 Apr 2008 03:55:29 +0000 (20:55 -0700)]
Allow ctypedef my_struct_s my_struct_t[1] trick, can access members of my_struct_t as if it were a pointer.

16 years agoC++ error handling
Robert Bradshaw [Thu, 3 Apr 2008 02:55:50 +0000 (19:55 -0700)]
C++ error handling

16 years agoCython and C++ exceptions
"Felix Wu" [Mon, 31 Mar 2008 17:57:40 +0000 (10:57 -0700)]
Cython and C++ exceptions

16 years agoc line numbers optional
Robert Bradshaw [Sun, 30 Mar 2008 11:04:13 +0000 (04:04 -0700)]
c line numbers optional

16 years agoCircular cdef's
Gary Furnish [Sun, 23 Mar 2008 16:02:06 +0000 (10:02 -0600)]
Circular cdef's

16 years agoFix enum bug (values weren't forced to ints)
Robert Bradshaw [Sun, 30 Mar 2008 10:26:32 +0000 (03:26 -0700)]
Fix enum bug (values weren't forced to ints)

16 years ago[Cython] Small patch for __stdcall
Jim Kleckner [Sun, 30 Mar 2008 09:25:39 +0000 (02:25 -0700)]
[Cython] Small patch for __stdcall
The following small patch gets rid of some warnings on the cygwin
platform (it it not WIN32 but does have definitions of __stdcall
resulting in warnings).

Please let me know if it will or won't get into the upstream release.

Thanks.

16 years agoFix cpdef functions with pointer return parameters, make cpdef functions coercable...
Robert Bradshaw [Sun, 30 Mar 2008 09:18:18 +0000 (02:18 -0700)]
Fix cpdef functions with pointer return parameters, make cpdef functions coercable into objects.

16 years agofix bug 206821 (incorrect ref count when single-arg converion failed)
Robert Bradshaw [Sun, 30 Mar 2008 08:31:03 +0000 (01:31 -0700)]
fix bug 206821 (incorrect ref count when single-arg converion failed)

16 years agoAdded optimize_simple_methods to make it possible to accept keywords in 1-arg functions
Robert Bradshaw [Sat, 29 Mar 2008 22:09:01 +0000 (15:09 -0700)]
Added optimize_simple_methods to make it possible to accept keywords in 1-arg functions

16 years agoFix bug 208262 for files with odd characters in them
ChrisPerkins [Sat, 29 Mar 2008 20:58:40 +0000 (13:58 -0700)]
Fix bug 208262 for files with odd characters in them

16 years ago...
Robert Bradshaw [Sat, 29 Mar 2008 20:05:00 +0000 (13:05 -0700)]
...

16 years agoFix comparison bug for longs and doubles #208053
Robert Bradshaw [Sat, 29 Mar 2008 20:03:23 +0000 (13:03 -0700)]
Fix comparison bug for longs and doubles #208053

16 years agomore comments on control flow
Robert Bradshaw [Sat, 29 Mar 2008 18:41:46 +0000 (11:41 -0700)]
more comments on control flow

16 years agoMore control flow work
Robert Bradshaw [Tue, 25 Mar 2008 23:26:22 +0000 (16:26 -0700)]
More control flow work

16 years agoBasic control flow state processing
Robert Bradshaw [Tue, 25 Mar 2008 09:19:38 +0000 (02:19 -0700)]
Basic control flow state processing

16 years agosupport adding pxd/pxi dependencies to Extension sources and force rebuild on depende...
Stefan Behnel [Fri, 14 Mar 2008 09:34:53 +0000 (10:34 +0100)]
support adding pxd/pxi dependencies to Extension sources and force rebuild on dependency updates

16 years agoSome fixes to get it to run on 2.3
Robert Bradshaw [Sun, 9 Mar 2008 08:40:34 +0000 (00:40 -0800)]
Some fixes to get it to run on 2.3

16 years agoSupport for parse tree transformations.
"Dag Sverre Seljebotn" [Sun, 9 Mar 2008 08:14:12 +0000 (00:14 -0800)]
Support for parse tree transformations.

16 years agomerge
Robert Bradshaw [Sun, 9 Mar 2008 08:12:06 +0000 (00:12 -0800)]
merge

16 years agofixes for escape sequences in unicode literals
Stefan Behnel [Thu, 6 Mar 2008 10:39:10 +0000 (11:39 +0100)]
fixes for escape sequences in unicode literals

16 years agoprevent unicode strings from being interned
Stefan Behnel [Wed, 5 Mar 2008 17:05:27 +0000 (18:05 +0100)]
prevent unicode strings from being interned

16 years agofix for unicode escapes (\u1234)
Stefan Behnel [Wed, 5 Mar 2008 15:12:53 +0000 (16:12 +0100)]
fix for unicode escapes (\u1234)

16 years agopre-Py3k fixes
Stefan Behnel [Sun, 2 Mar 2008 11:29:08 +0000 (12:29 +0100)]
pre-Py3k fixes

16 years agoAllow single-character ascii strings to be treated as c character literals.
Robert Bradshaw [Thu, 28 Feb 2008 20:43:28 +0000 (12:43 -0800)]
Allow single-character ascii strings to be treated as c character literals.

16 years agomerge
Stefan Behnel [Tue, 26 Feb 2008 20:59:27 +0000 (21:59 +0100)]
merge

16 years agoerror on local cimport (rather than traceback)
Robert Bradshaw [Mon, 25 Feb 2008 20:47:30 +0000 (12:47 -0800)]
error on local cimport (rather than traceback)

16 years agomerge
Stefan Behnel [Mon, 25 Feb 2008 05:54:57 +0000 (06:54 +0100)]
merge

16 years agonum -> int for int constants
Robert Bradshaw [Sat, 23 Feb 2008 07:11:38 +0000 (23:11 -0800)]
num -> int for int constants

16 years agofix exception string formatting for Py_ssize_t values: needs %zd instead of %d on...
Stefan Behnel [Sat, 16 Feb 2008 18:15:52 +0000 (19:15 +0100)]
fix exception string formatting for Py_ssize_t values: needs %zd instead of %d on Python >= 2.5

16 years agomake unpacking exception strings look like those generated by Python itself
Stefan Behnel [Sat, 16 Feb 2008 18:12:50 +0000 (19:12 +0100)]
make unpacking exception strings look like those generated by Python itself

16 years agofixes for True/False in compile time expressions; make sure True/False pass as object...
Stefan Behnel [Sat, 16 Feb 2008 17:37:23 +0000 (18:37 +0100)]
fixes for True/False in compile time expressions; make sure True/False pass as objects (not just ints) where possible

16 years agoremoved 'builtin_functions' dict: broke referring to 'unicode' function by name
Stefan Behnel [Sat, 16 Feb 2008 17:27:34 +0000 (18:27 +0100)]
removed 'builtin_functions' dict: broke referring to 'unicode' function by name

16 years agofix for 'raise' decref bug unter Python <= 2.4 in error case
Stefan Behnel [Sat, 16 Feb 2008 12:21:36 +0000 (13:21 +0100)]
fix for 'raise' decref bug unter Python <= 2.4 in error case

16 years agoBump version
Robert Bradshaw [Thu, 14 Feb 2008 01:27:31 +0000 (17:27 -0800)]
Bump version

16 years agoWarning when overriding cdef method with def method. (Perhaps this should be an error?)
Robert Bradshaw [Thu, 14 Feb 2008 01:09:26 +0000 (17:09 -0800)]
Warning when overriding cdef method with def method. (Perhaps this should be an error?)

16 years agoModule-level cpdef functions
Robert Bradshaw [Wed, 13 Feb 2008 12:13:44 +0000 (04:13 -0800)]
Module-level cpdef functions

16 years agoUndo botched api -> pxd
Robert Bradshaw [Wed, 13 Feb 2008 10:58:13 +0000 (02:58 -0800)]
Undo botched api -> pxd

16 years agoCleanup warnings
Robert Bradshaw [Wed, 13 Feb 2008 06:16:30 +0000 (22:16 -0800)]
Cleanup warnings

16 years agoReal fix for builtins caching + coercion bug (as reported by paul.metcalfe@gmail...
Robert Bradshaw [Wed, 13 Feb 2008 05:38:47 +0000 (21:38 -0800)]
Real fix for builtins caching + coercion bug (as reported by paul.metcalfe@gmail.com)

16 years agoCython disregards the c-name for "cdef public" class members
bluecreature@gmail.com [Wed, 13 Feb 2008 04:36:57 +0000 (20:36 -0800)]
Cython disregards the c-name for "cdef public" class members

16 years agoExport pxd functions by default
Robert Bradshaw [Wed, 13 Feb 2008 04:09:14 +0000 (20:09 -0800)]
Export pxd functions by default

16 years agoDon't flatten list comprehension nodes
Robert Bradshaw [Wed, 13 Feb 2008 03:42:28 +0000 (19:42 -0800)]
Don't flatten list comprehension nodes

16 years agoTemporary python object casts OK for numeric types.
Robert Bradshaw [Wed, 13 Feb 2008 03:05:47 +0000 (19:05 -0800)]
Temporary python object casts OK for numeric types.

16 years agoEnable narrowing return type when subclassing
Robert Bradshaw [Wed, 13 Feb 2008 02:08:20 +0000 (18:08 -0800)]
Enable narrowing return type when subclassing

16 years ago...
Robert Bradshaw [Wed, 13 Feb 2008 01:40:28 +0000 (17:40 -0800)]
...

16 years agoError condition compile error on error type
Robert Bradshaw [Wed, 13 Feb 2008 01:40:13 +0000 (17:40 -0800)]
Error condition compile error on error type

16 years agosupport True/False in compile-time statements
Stefan Behnel [Sun, 10 Feb 2008 07:32:43 +0000 (08:32 +0100)]
support True/False in compile-time statements

16 years agofixed NameError
Stefan Behnel [Sun, 10 Feb 2008 07:10:21 +0000 (08:10 +0100)]
fixed NameError

16 years agomerge
Stefan Behnel [Sat, 9 Feb 2008 16:25:17 +0000 (17:25 +0100)]
merge

16 years agoAlways need optional struct.
Robert Bradshaw [Sat, 9 Feb 2008 14:40:27 +0000 (06:40 -0800)]
Always need optional struct.

16 years agohuge cleanup of 'star-args only' unpacking code, incl. bug fixes for memory handling...
Stefan Behnel [Fri, 8 Feb 2008 12:08:27 +0000 (13:08 +0100)]
huge cleanup of 'star-args only' unpacking code, incl. bug fixes for memory handling and non-string keywords

16 years agoAllow a cpdef function to override a cdef function
Robert Bradshaw [Fri, 8 Feb 2008 08:03:24 +0000 (00:03 -0800)]
Allow a cpdef function to override a cdef function

(But not the other way around...)

16 years agoDefault argument literals, better True/False coercion
Robert Bradshaw [Fri, 8 Feb 2008 04:05:38 +0000 (20:05 -0800)]
Default argument literals, better True/False coercion

16 years agoAdd optional args to any cdef overridden function
Robert Bradshaw [Thu, 7 Feb 2008 23:59:58 +0000 (15:59 -0800)]
Add optional args to any cdef overridden function

16 years agoNumber of arguments can grow with overridden cdef functions.
Robert Bradshaw [Thu, 7 Feb 2008 12:00:51 +0000 (04:00 -0800)]
Number of arguments can grow with overridden cdef functions.

16 years agoDefault cdef args via struct
Robert Bradshaw [Thu, 7 Feb 2008 09:46:57 +0000 (01:46 -0800)]
Default cdef args via struct

16 years agocleanup
Stefan Behnel [Thu, 7 Feb 2008 06:17:14 +0000 (07:17 +0100)]
cleanup

16 years agopxd with optional arguments
Robert Bradshaw [Wed, 6 Feb 2008 23:49:48 +0000 (15:49 -0800)]
pxd with optional arguments

16 years agoOptional arguments in cpdef functions
Robert Bradshaw [Wed, 6 Feb 2008 23:11:28 +0000 (15:11 -0800)]
Optional arguments in cpdef functions

16 years agoavoid unpacking for functions that only have star args
Stefan Behnel [Wed, 6 Feb 2008 19:59:38 +0000 (20:59 +0100)]
avoid unpacking for functions that only have star args

16 years agodownstream merge
Stefan Behnel [Sun, 3 Feb 2008 19:55:58 +0000 (20:55 +0100)]
downstream merge

16 years agorefactoring to skip generating arg tuple unpacking code if we know there will be...
Stefan Behnel [Sat, 2 Feb 2008 12:23:00 +0000 (13:23 +0100)]
refactoring to skip generating arg tuple unpacking code if we know there will be keyword arguments

16 years agoCython could generate useless argument tuple parsing code for functions with required...
Stefan Behnel [Sat, 2 Feb 2008 11:35:05 +0000 (12:35 +0100)]
Cython could generate useless argument tuple parsing code for functions with required kw-only args

16 years ago<type?> does type check for extension types
Robert Bradshaw [Sat, 2 Feb 2008 09:18:43 +0000 (01:18 -0800)]
<type?> does type check for extension types

16 years agoPython object pointer cast warnings
Robert Bradshaw [Sat, 2 Feb 2008 09:10:01 +0000 (01:10 -0800)]
Python object pointer cast warnings

16 years agoActual conversion on <type> casts with one side Python
Robert Bradshaw [Sat, 2 Feb 2008 09:07:03 +0000 (01:07 -0800)]
Actual conversion on <type> casts with one side Python

16 years agoRemove function pointer casting restriction
Robert Bradshaw [Sat, 2 Feb 2008 08:33:42 +0000 (00:33 -0800)]
Remove function pointer casting restriction

16 years agoFix cython -v error when no source files given.
Robert Bradshaw [Fri, 1 Feb 2008 21:03:56 +0000 (13:03 -0800)]
Fix cython -v error when no source files given.

Reported by gpk@kochanski.org

16 years agoMangle naming for cleanup function.
Robert Bradshaw [Fri, 1 Feb 2008 19:43:33 +0000 (11:43 -0800)]
Mangle naming for cleanup function.

16 years agofix gcc 2.95 compile issue
Stefan Behnel [Fri, 1 Feb 2008 13:30:17 +0000 (14:30 +0100)]
fix gcc 2.95 compile issue

16 years agoDemos: pyrexc -> cython
Kirill Smelkov [Fri, 1 Feb 2008 10:46:15 +0000 (13:46 +0300)]
Demos: pyrexc -> cython

16 years agoPython/C API .pxi from Eric Huss
Robert Bradshaw [Sun, 30 Mar 2008 10:15:58 +0000 (03:15 -0700)]
Python/C API .pxi from Eric Huss

16 years agomerge
Robert Bradshaw [Sun, 30 Mar 2008 10:14:26 +0000 (03:14 -0700)]
merge

16 years agomore unicode testing, also for null bytes
Stefan Behnel [Thu, 6 Mar 2008 11:11:11 +0000 (12:11 +0100)]
more unicode testing, also for null bytes

16 years agotest fix
Stefan Behnel [Thu, 6 Mar 2008 10:36:52 +0000 (11:36 +0100)]
test fix

16 years agotest runner fixes
Stefan Behnel [Thu, 6 Mar 2008 10:33:07 +0000 (11:33 +0100)]
test runner fixes

16 years agoextensive test case for unicode literals
Stefan Behnel [Thu, 6 Mar 2008 10:16:08 +0000 (11:16 +0100)]
extensive test case for unicode literals