Stefan Behnel [Sun, 8 Jul 2012 16:19:40 +0000 (18:19 +0200)]
fix tests by moving commonly used test helper file to a new test support directory
--HG--
rename : tests/memoryview/cythonarrayutil.pxi => tests/testsupport/cythonarrayutil.pxi
Stefan Behnel [Sun, 8 Jul 2012 14:56:19 +0000 (16:56 +0200)]
disable profiling overhead in Cython/Build/Dependencies.py
Stefan Behnel [Sun, 8 Jul 2012 14:54:38 +0000 (16:54 +0200)]
avoid monkey-patching into the stdlib
Stefan Behnel [Sun, 8 Jul 2012 14:03:04 +0000 (16:03 +0200)]
documentation on C++ STL container coercion
Stefan Behnel [Sun, 8 Jul 2012 13:57:29 +0000 (15:57 +0200)]
Py3 test fixes
Stefan Behnel [Sun, 8 Jul 2012 13:47:23 +0000 (15:47 +0200)]
extended test
Stefan Behnel [Sun, 8 Jul 2012 13:22:27 +0000 (15:22 +0200)]
allow coercion of temp values to C++ classes
Stefan Behnel [Sun, 8 Jul 2012 12:56:23 +0000 (14:56 +0200)]
extended test
Stefan Behnel [Sun, 8 Jul 2012 12:53:52 +0000 (14:53 +0200)]
extended test
Stefan Behnel [Sun, 8 Jul 2012 12:53:37 +0000 (14:53 +0200)]
test fixes
Stefan Behnel [Sat, 7 Jul 2012 17:02:44 +0000 (19:02 +0200)]
fix some C++ tests
Stefan Behnel [Fri, 6 Jul 2012 23:35:32 +0000 (01:35 +0200)]
std::string.c_str() actually returns a 'const char*', add declaration of std::string.data() method
Stefan Behnel [Thu, 5 Jul 2012 17:51:36 +0000 (19:51 +0200)]
generate annotated HTML from benchmark sources
Stefan Behnel [Thu, 5 Jul 2012 10:24:29 +0000 (12:24 +0200)]
added common entry point to richards benchmark
Stefan Behnel [Thu, 5 Jul 2012 09:47:06 +0000 (11:47 +0200)]
added common entry point to benchmarks
Stefan Behnel [Thu, 5 Jul 2012 08:12:56 +0000 (10:12 +0200)]
added setup.py script to compile benchmark modules
Stefan Behnel [Wed, 4 Jul 2012 06:41:07 +0000 (08:41 +0200)]
fix comment
Stefan Behnel [Tue, 3 Jul 2012 20:26:16 +0000 (22:26 +0200)]
reduce overhead in __pyx_PyFloat_AsDouble() when not compiling in CPython
Stefan Behnel [Tue, 3 Jul 2012 19:13:34 +0000 (21:13 +0200)]
fix decref before incref on buffer item assignments
Stefan Behnel [Tue, 3 Jul 2012 18:40:07 +0000 (20:40 +0200)]
fix comment
Robert Bradshaw [Tue, 3 Jul 2012 17:27:37 +0000 (10:27 -0700)]
Vile hack to get tests working.
Robert Bradshaw [Tue, 3 Jul 2012 17:18:42 +0000 (10:18 -0700)]
Another type inference fix.
Robert Bradshaw [Tue, 3 Jul 2012 16:15:13 +0000 (09:15 -0700)]
More loop type inference fixes.
Robert Bradshaw [Tue, 3 Jul 2012 09:26:05 +0000 (02:26 -0700)]
Fix slice iteration.
Robert Bradshaw [Tue, 3 Jul 2012 08:56:52 +0000 (01:56 -0700)]
Fix C++ iteration inference.
Robert Bradshaw [Tue, 3 Jul 2012 08:26:07 +0000 (01:26 -0700)]
Use exception values in C++ conversion, consolidate boilerplate.
Robert Bradshaw [Tue, 3 Jul 2012 06:37:06 +0000 (23:37 -0700)]
Don't forget std::list.
Stefan Behnel [Tue, 3 Jul 2012 07:23:27 +0000 (09:23 +0200)]
declare C++ default constructor 'except +', fix constructor declarations in test
Robert Bradshaw [Mon, 2 Jul 2012 21:06:23 +0000 (14:06 -0700)]
Better type checking for C++ iterators.
Robert Bradshaw [Mon, 2 Jul 2012 19:54:25 +0000 (12:54 -0700)]
C++ iterator type inference
Robert Bradshaw [Mon, 2 Jul 2012 20:00:55 +0000 (13:00 -0700)]
C++ iterator tests.
Robert Bradshaw [Mon, 2 Jul 2012 19:40:37 +0000 (12:40 -0700)]
Support C++ iterators in for..in loops.
Stefan Behnel [Sun, 1 Jul 2012 13:12:41 +0000 (15:12 +0200)]
extracted GetItemInt utility code into ObjectHandling.c utility file
Stefan Behnel [Sun, 1 Jul 2012 13:10:55 +0000 (15:10 +0200)]
fix TempitaUtilityCode() usage without context
Stefan Behnel [Sun, 1 Jul 2012 12:53:38 +0000 (14:53 +0200)]
extracted SetItemInt and DelItemInt utility code into ObjectHandling.c utility file
Stefan Behnel [Sun, 1 Jul 2012 12:46:41 +0000 (14:46 +0200)]
added missing bits from PySequence_Get/Set/DelItem() to __Pyx_*ItemInt_Fast() functions to inline them completely
scoder [Sat, 30 Jun 2012 19:38:31 +0000 (12:38 -0700)]
Merge pull request #136 from yarikoptic/master
minor typo
Jakub Wilk [Sat, 30 Jun 2012 16:21:43 +0000 (12:21 -0400)]
DOC: typo "stings"
Stefan Behnel [Sat, 30 Jun 2012 10:39:04 +0000 (12:39 +0200)]
fix __Pyx_SetItemInt() in PyPy: PySequence_Check(dict) is true there but PySequence_SetItem(dict) fails
Stefan Behnel [Sat, 30 Jun 2012 09:52:04 +0000 (11:52 +0200)]
speed up __Pyx_SetItemInt() and __Pyx_DelItemInt() in PyPy
Stefan Behnel [Sat, 30 Jun 2012 09:13:36 +0000 (11:13 +0200)]
speed up list/tuple unpacking in PyPy (~10x)
Stefan Behnel [Sat, 30 Jun 2012 08:06:50 +0000 (10:06 +0200)]
slightly better PyPy code in iterable unpacking
Stefan Behnel [Sat, 30 Jun 2012 08:06:16 +0000 (10:06 +0200)]
avoid borrowed references with PyPy in fast list/tuple iteration code
Stefan Behnel [Sat, 30 Jun 2012 07:21:11 +0000 (09:21 +0200)]
slightly better PyPy code in 2-tuple unpacking
Robert Bradshaw [Fri, 29 Jun 2012 22:26:56 +0000 (15:26 -0700)]
Ellipsis for overflow error.
Robert Bradshaw [Fri, 29 Jun 2012 22:21:47 +0000 (15:21 -0700)]
Don't need terminating null for Python conversion.
Stefan Behnel [Fri, 29 Jun 2012 22:26:12 +0000 (00:26 +0200)]
refactored tuple unpacking code once again, removed loop for trivial list/tuple unpacking case
Robert Bradshaw [Fri, 29 Jun 2012 17:27:30 +0000 (10:27 -0700)]
C++ stl conversion tests.
Robert Bradshaw [Fri, 29 Jun 2012 17:26:59 +0000 (10:26 -0700)]
Dissallow pyobjects in conversion.
Robert Bradshaw [Fri, 29 Jun 2012 17:24:38 +0000 (10:24 -0700)]
Nesting for all stl containers.
Robert Bradshaw [Fri, 29 Jun 2012 16:23:16 +0000 (09:23 -0700)]
Allow nesting.
Robert Bradshaw [Fri, 29 Jun 2012 15:43:49 +0000 (08:43 -0700)]
First pass at C++ stl conversion.
Stefan Behnel [Fri, 29 Jun 2012 13:16:35 +0000 (15:16 +0200)]
mention PEP393/Py3.3 in doc section on narrow Unicode builds
Stefan Behnel [Fri, 29 Jun 2012 11:41:53 +0000 (13:41 +0200)]
clarification in 'const char*' doc section
Stefan Behnel [Fri, 29 Jun 2012 11:28:00 +0000 (13:28 +0200)]
typo
Stefan Behnel [Fri, 29 Jun 2012 11:26:58 +0000 (13:26 +0200)]
added doc section on 'const char*' and friends, use sphinx annotations for C types in strings.rst
Stefan Behnel [Thu, 28 Jun 2012 21:39:46 +0000 (23:39 +0200)]
minor doc formatting fix
Stefan Behnel [Thu, 28 Jun 2012 21:38:35 +0000 (23:38 +0200)]
removed outdated doc section on missing C++ inheritance support
Stefan Behnel [Thu, 28 Jun 2012 21:36:41 +0000 (23:36 +0200)]
moved doctests from module docstring into test functions
Stefan Behnel [Thu, 28 Jun 2012 21:07:00 +0000 (23:07 +0200)]
doc paragraph on properly handling exceptions from C++ constructors
Stefan Behnel [Thu, 28 Jun 2012 17:15:21 +0000 (19:15 +0200)]
added test for stack allocated C++ object
scoder [Thu, 28 Jun 2012 12:16:33 +0000 (05:16 -0700)]
Merge pull request #135 from robertwb/bang
Cython bang operator overloading.
Robert Bradshaw [Thu, 28 Jun 2012 09:53:25 +0000 (02:53 -0700)]
Use existing Python not operator for !.
Stefan Behnel [Thu, 28 Jun 2012 09:29:20 +0000 (11:29 +0200)]
minor code cleanup in parser
Robert Bradshaw [Thu, 28 Jun 2012 09:05:17 +0000 (02:05 -0700)]
duplicate !
Robert Bradshaw [Thu, 28 Jun 2012 08:45:11 +0000 (01:45 -0700)]
Cython bang operator overloading.
Stefan Behnel [Thu, 28 Jun 2012 07:27:36 +0000 (09:27 +0200)]
minor doc clarification in C++ chapter
--HG--
extra : rebase_source :
410f9adcda3afa4a12bb25794f24c1fb96601608
Robert Bradshaw [Wed, 27 Jun 2012 23:26:54 +0000 (16:26 -0700)]
C++ class member test.
Robert Bradshaw [Wed, 27 Jun 2012 21:45:31 +0000 (14:45 -0700)]
Allow no-arg constructor C++ classes as extension class members.
Stefan Behnel [Wed, 27 Jun 2012 21:35:06 +0000 (23:35 +0200)]
more rst fixes
Stefan Behnel [Wed, 27 Jun 2012 21:28:22 +0000 (23:28 +0200)]
doc note: for-from loop syntax is discouraged
Stefan Behnel [Wed, 27 Jun 2012 21:27:41 +0000 (23:27 +0200)]
clean up doc section on bint
Stefan Behnel [Wed, 27 Jun 2012 21:14:17 +0000 (23:14 +0200)]
fix and clean up compressed source file caching
Robert Bradshaw [Wed, 27 Jun 2012 16:36:32 +0000 (09:36 -0700)]
Comment out alpha pypy environment from buildbot.
Robert Bradshaw [Sat, 23 Jun 2012 09:41:33 +0000 (02:41 -0700)]
better ordering of cache files
Robert Bradshaw [Sat, 23 Jun 2012 09:39:53 +0000 (02:39 -0700)]
Make cache dir if it doesn't yet exist.
Robert Bradshaw [Wed, 27 Jun 2012 16:35:41 +0000 (09:35 -0700)]
Merge pull request #131 from msabramo/testing
Add support for tox (http://tox.testrun.org/) and Travis CI (http://travis-ci.org/)
Robert Bradshaw [Wed, 27 Jun 2012 16:09:49 +0000 (09:09 -0700)]
Merge pull request #129 from dhirschfeld/master
Fixed a vcvarsall.bat error on win32/Py2.7 when trying to compile with mingw.
Stefan Behnel [Wed, 27 Jun 2012 14:05:21 +0000 (16:05 +0200)]
rst fixes in docs
Stefan Behnel [Wed, 27 Jun 2012 13:37:43 +0000 (15:37 +0200)]
rst fixes in docs
Stefan Behnel [Wed, 27 Jun 2012 13:04:28 +0000 (15:04 +0200)]
updated array.array section in memoryview docs
Stefan Behnel [Wed, 27 Jun 2012 12:55:42 +0000 (14:55 +0200)]
added array.array tests for buffer interface and memory views
Stefan Behnel [Wed, 27 Jun 2012 12:53:04 +0000 (14:53 +0200)]
make declarations of arrayarray.h functions 'static' as they are only used internally as utility code
Stefan Behnel [Wed, 27 Jun 2012 12:29:46 +0000 (14:29 +0200)]
fix C compiler warning about unused variable in test code
David Hirschfeld [Wed, 27 Jun 2012 12:18:43 +0000 (13:18 +0100)]
Added comment. Included setup.cfg in config file parsing.
Stefan Behnel [Sun, 24 Jun 2012 09:38:49 +0000 (11:38 +0200)]
fix the wrapper setup for inherited special methods by inheriting them only in PyPy (as a work-around for its broken PyType_Ready())
Stefan Behnel [Sun, 24 Jun 2012 07:04:58 +0000 (09:04 +0200)]
fix the Windows slots fix
scoder [Sun, 24 Jun 2012 06:52:42 +0000 (23:52 -0700)]
Merge pull request #134 from tito/fix-win32-constants
fixes for gcc error on "initializer element is not constant"
Stefan Behnel [Fri, 22 Jun 2012 10:19:25 +0000 (12:19 +0200)]
some cleanup and updating in C++ tutorial
Stefan Behnel [Fri, 22 Jun 2012 06:29:39 +0000 (08:29 +0200)]
allow passing additional sources into cythonize() through the 'distutils: sources' option in the source file
Stefan Behnel [Fri, 22 Jun 2012 06:27:26 +0000 (08:27 +0200)]
fix build
Stefan Behnel [Thu, 21 Jun 2012 14:04:38 +0000 (16:04 +0200)]
comment on 'not None' signature annotation for memoryview parameters
Stefan Behnel [Thu, 21 Jun 2012 13:48:01 +0000 (15:48 +0200)]
use strided mode in plain buffer example
Stefan Behnel [Thu, 21 Jun 2012 13:00:37 +0000 (15:00 +0200)]
section on array.array in memoryview docs
Stefan Behnel [Thu, 21 Jun 2012 11:55:20 +0000 (13:55 +0200)]
avoid unnecessary references to NumPy in memoryview docs
Stefan Behnel [Wed, 20 Jun 2012 12:39:53 +0000 (14:39 +0200)]
additional test case for union assignments
Mark Florisson [Tue, 19 Jun 2012 16:13:27 +0000 (17:13 +0100)]
Move memoryview and buffer tests
Mark Florisson [Tue, 19 Jun 2012 11:08:43 +0000 (12:08 +0100)]
Allow arbitrary strides for strides memoryview slices in verification
Mathieu Virbel [Mon, 18 Jun 2012 22:23:04 +0000 (00:23 +0200)]
fixes for gcc error on "initializer element is not constant"
Stefan Behnel [Mon, 18 Jun 2012 19:21:03 +0000 (21:21 +0200)]
statically inherit slot methods from parent types - PyType_Ready() would normally fix this but it's incomplete in PyPy