cython.git
14 years agoFix pop optimization for 2.3.
Robert Bradshaw [Wed, 17 Feb 2010 09:05:21 +0000 (01:05 -0800)]
Fix pop optimization for 2.3.

14 years agoPy2.3 compatibility fix
Lisandro Dalcin [Wed, 17 Feb 2010 00:54:12 +0000 (21:54 -0300)]
Py2.3 compatibility fix

14 years agosmarter type analysis in BinopNode: propagate known Python result types
Stefan Behnel [Fri, 12 Feb 2010 18:04:24 +0000 (19:04 +0100)]
smarter type analysis in BinopNode: propagate known Python result types

14 years agoDon't split long literals at backslash.
Robert Bradshaw [Fri, 12 Feb 2010 11:20:54 +0000 (03:20 -0800)]
Don't split long literals at backslash.

14 years agoTestcase for long string literals.
Christoph Gohlke [Fri, 12 Feb 2010 11:08:33 +0000 (03:08 -0800)]
Testcase for long string literals.

14 years agoInfer common basetype for extension types.
Robert Bradshaw [Fri, 12 Feb 2010 10:31:57 +0000 (02:31 -0800)]
Infer common basetype for extension types.

14 years agoFix type inference tests for int types.
Robert Bradshaw [Fri, 12 Feb 2010 10:11:55 +0000 (02:11 -0800)]
Fix type inference tests for int types.

14 years agoInfer integer types when entries not used in arithmatic expressions.
Robert Bradshaw [Fri, 12 Feb 2010 09:56:08 +0000 (01:56 -0800)]
Infer integer types when entries not used in arithmatic expressions.

14 years agoextended test case
Stefan Behnel [Thu, 11 Feb 2010 22:49:42 +0000 (23:49 +0100)]
extended test case

14 years agoextended test case
Stefan Behnel [Thu, 11 Feb 2010 22:46:59 +0000 (23:46 +0100)]
extended test case

14 years agominor fix and extension to type inference for builtin type operations
Stefan Behnel [Thu, 11 Feb 2010 22:42:14 +0000 (23:42 +0100)]
minor fix and extension to type inference for builtin type operations

14 years agotype inference for some common operations between builtin types
Stefan Behnel [Thu, 11 Feb 2010 22:31:20 +0000 (23:31 +0100)]
type inference for some common operations between builtin types

14 years agofix doctest
Stefan Behnel [Thu, 11 Feb 2010 22:10:05 +0000 (23:10 +0100)]
fix doctest

14 years agoextended test case
Stefan Behnel [Thu, 11 Feb 2010 21:21:27 +0000 (22:21 +0100)]
extended test case

14 years agoenable for-in iteration also for C arrays of known size
Stefan Behnel [Thu, 11 Feb 2010 19:42:35 +0000 (20:42 +0100)]
enable for-in iteration also for C arrays of known size

14 years agoMake tests cleaner.
Robert Bradshaw [Wed, 10 Feb 2010 23:59:36 +0000 (15:59 -0800)]
Make tests cleaner.

14 years agoGet rid of __Pyx_Name unused warning.
Robert Bradshaw [Wed, 10 Feb 2010 23:32:17 +0000 (15:32 -0800)]
Get rid of __Pyx_Name unused warning.

14 years agoMore safe types to infer.
Robert Bradshaw [Wed, 10 Feb 2010 23:31:55 +0000 (15:31 -0800)]
More safe types to infer.

14 years agoFixes for nested templates.
Robert Bradshaw [Wed, 10 Feb 2010 10:11:52 +0000 (02:11 -0800)]
Fixes for nested templates.

14 years agoMore buffer type analysis deferment.
Robert Bradshaw [Wed, 10 Feb 2010 09:27:24 +0000 (01:27 -0800)]
More buffer type analysis deferment.

14 years agoSimplify p_positional_and_keyword_args with s.peek()
Robert Bradshaw [Wed, 10 Feb 2010 07:47:24 +0000 (23:47 -0800)]
Simplify p_positional_and_keyword_args with s.peek()

14 years agoEnable non expression-like types for templates.
Robert Bradshaw [Wed, 10 Feb 2010 07:42:32 +0000 (23:42 -0800)]
Enable non expression-like types for templates.

14 years agoFix for #505 mistakenly treated things like "cimport cythontools" as a cython import.
Craig Citro [Wed, 10 Feb 2010 06:01:34 +0000 (22:01 -0800)]
Fix for #505 mistakenly treated things like "cimport cythontools" as a cython import.

14 years agoFix trac #505: problem with cimport cython
Craig Citro [Tue, 9 Feb 2010 23:56:33 +0000 (15:56 -0800)]
Fix trac #505: problem with cimport cython

14 years agoWhoops, forgot to test after previous patch.
Craig Citro [Tue, 9 Feb 2010 18:19:08 +0000 (10:19 -0800)]
Whoops, forgot to test after previous patch.

14 years agomerge
Craig Citro [Tue, 9 Feb 2010 18:04:11 +0000 (10:04 -0800)]
merge

14 years agoFix trac #506 -- error with overloading, pops up in cpp_classes
Craig Citro [Tue, 9 Feb 2010 18:03:52 +0000 (10:03 -0800)]
Fix trac #506 -- error with overloading, pops up in cpp_classes

14 years agorenaming, renaming ...
Stefan Behnel [Tue, 9 Feb 2010 10:39:39 +0000 (11:39 +0100)]
renaming, renaming ...

14 years agodisabled broken CPP wrapper tests
Stefan Behnel [Tue, 9 Feb 2010 09:15:01 +0000 (10:15 +0100)]
disabled broken CPP wrapper tests

14 years agoremoved cast from test case that should normally be redundant
Stefan Behnel [Tue, 9 Feb 2010 09:14:28 +0000 (10:14 +0100)]
removed cast from test case that should normally be redundant

14 years agonew test directory for test modules that wrap C/C++ source files
Stefan Behnel [Tue, 9 Feb 2010 09:06:03 +0000 (10:06 +0100)]
new test directory for test modules that wrap C/C++ source files
naming convention in test runner to search for related source files in the test directory
tests for wrapping C++ code

14 years agoFix overloaded functions for C++ classes.
Robert Bradshaw [Mon, 8 Feb 2010 19:18:52 +0000 (11:18 -0800)]
Fix overloaded functions for C++ classes.

14 years agonew test case for ticket #505 (cimport cython)
Stefan Behnel [Mon, 8 Feb 2010 10:08:37 +0000 (11:08 +0100)]
new test case for ticket #505 (cimport cython)

14 years agoSplit long string literals at 2000 chars.
Robert Bradshaw [Fri, 5 Feb 2010 19:28:37 +0000 (11:28 -0800)]
Split long string literals at 2000 chars.

(There may not be enough line breaks...)

14 years agoGenerate shorter string literals
Christoph Gohlke [Fri, 5 Feb 2010 19:19:08 +0000 (11:19 -0800)]
Generate shorter string literals

This is related to <http://trac.cython.org/cython_trac/ticket/50>.

Cython 0.12.1 still generates string literals that can be too long for MSVC*
compilers. Please consider the following patch.

14 years agofix outdated Parsing.pxd after merging gsoc-danilo
Lisandro Dalcin [Fri, 5 Feb 2010 19:00:31 +0000 (16:00 -0300)]
fix outdated Parsing.pxd after merging gsoc-danilo

14 years agoFix unop_extras test.
Robert Bradshaw [Thu, 4 Feb 2010 23:05:49 +0000 (15:05 -0800)]
Fix unop_extras test.

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.