aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py/source
AgeCommit message (Collapse)Author
2007-07-06adapting to new flext lockfree structuresThomas Grill
much better detach method handling (one thread for all object instances) use PyGILState_\*() functionality (enabled with PY_USE_GIL) ooops, fixing typo fixing numpy initialization quirks pyext._init is now called after __init__ enabled use of inofficial PD functionality for search and help path access (#define PY_USE_INOFFICIAL) added sketch for new pye (Python expression) object buffer protocol adapted for Python 2.5 svn path=/trunk/; revision=7903
2007-03-27improved symbol comparisonThomas Grill
more meaningful comparison function for symbols svn path=/trunk/; revision=7518
2007-03-07multiply inlets for py (hot and cold inlets)Thomas Grill
small optimizations and fixes use PyGILState_\*() functionality (enabled with PY_USE_GIL) updates for DSP processing __str__ method for pyext, to enable print self calls added message bundle functionality (pyext.Bundle class) enable compiled-only scripts (without .py) enable optimization of Python code in reease build let _inlets and _outlets default to 0 fix for numpy some ASSERTs for explicitly created pyext classes (should be runtime checks i guess) open editor for script under OS X fixing numpy initialization quirks enable symbol binding for all callables (not only functions and methods) _isthreaded is now a data member instead of a method fix for gcc4 added pyext._list and pyext._tuple to convert input lists to Python sequence objects enable module packages (module/__init__.py[co]), now also for Max python-like dotted module.function syntax cleaned up float vs. int pyext tags compiler flag to exclude DSP objects some optimizations and py reload fix more safety for calls where association python-pd has already been removed always run Python interpreter in the background svn path=/trunk/; revision=7474
2007-02-10fixing numpy initialization quirksThomas Grill
svn path=/trunk/; revision=7416
2007-01-20fixed rich comparison method in Symbol classThomas Grill
fix for OSX small cosmetic fixes enable compiled-only scripts (without .py) small changes for numpy support fix for numpy headers on OS X fix for numpy added xcode 2.4 project added pyext._list and pyext._tuple to convert input lists to Python sequence objects fix numpy et al enable module packages (module/__init__.py[co]), now also for Max svn path=/trunk/; revision=7370
2006-08-03added message bundle functionality (pyext.Bundle class)Thomas Grill
enable compiled-only scripts (without .py) small optimizations and fixes small changes for numpy support enable module packages (module/__init__.py[co]), now also for Max compiler flag to exclude DSP objects some ASSERTs for explicitly created pyext classes (should be runtime checks i guess) added pyext._list and pyext._tuple to convert input lists to Python sequence objects let _inlets and _outlets default to 0 svn path=/trunk/; revision=5472
2006-04-19small fixes for Max/OSXThomas Grill
fix for gcc4 svn path=/trunk/; revision=4938
2006-03-23enable compiled-only scripts (without .py)Thomas Grill
small fixes for OSX small fix pyext: fix for missing __init__ attribute small fixes for Max/OSX enable module packages (module/__init__.py[co]), now also for Max svn path=/trunk/; revision=4755
2006-03-23corrected Python object propagation (attribute "py") and adjusted help filesThomas Grill
small fix enable module packages (module/__init__.py[co]), now also for Max enable compiled-only scripts (without .py) svn path=/trunk/; revision=4751
2006-03-23added message bundle functionality (pyext.Bundle class)Thomas Grill
enable compiled-only scripts (without .py) small optimizations and fixes some optimizations and py reload fix better error message for reload with invalid args enable module packages (module/__init__.py[co]), now also for Max svn path=/trunk/; revision=4750
2005-12-12display error messages if calling __init__ or _del caused an exceptionThomas Grill
better error message for reload with invalid args svn path=/trunk/; revision=4198
2005-12-12fixed rich comparison method in Symbol classThomas Grill
added message bundle functionality (pyext.Bundle class) small optimizations and fixes added forgotten files svn path=/trunk/; revision=4197
2005-12-12__str__ method for pyext, to enable print self callsThomas Grill
added message bundle functionality (pyext.Bundle class) enable symbol binding for all callables (not only functions and methods) small optimizations and fixes enable optimization of Python code in reease build _isthreaded is now a data member instead of a method more safety for calls where association python-pd has already been removed fixes for pthreads V2 svn path=/trunk/; revision=4190
2005-12-06fixes for pthreads version 2Thomas Grill
fixes for pthreads V2 svn path=/trunk/; revision=4156
2005-11-19added Buffer.resize exampleThomas Grill
add Buffer.resize method svn path=/trunk/; revision=3980
2005-11-03display error messages if calling __init__ or _del caused an exceptionThomas Grill
updated docs compiler flag to exclude DSP objects pyext: fix for missing __init__ attribute some ASSERTs for explicitly created pyext classes (should be runtime checks i guess) let _inlets and _outlets default to 0 svn path=/trunk/; revision=3829
2005-09-26__str__ method for pyext, to enable print self callsThomas Grill
enable symbol binding for all callables (not only functions and methods) enable optimization of Python code in reease build _isthreaded is now a data member instead of a method compiler flag to exclude DSP objects some cleanups pyext: fix for missing __init__ attribute some optimizations and py reload fix some ASSERTs for explicitly created pyext classes (should be runtime checks i guess) more safety for calls where association python-pd has already been removed fixed typos let _inlets and _outlets default to 0 svn path=/trunk/; revision=3637
2005-09-21__str__ method for pyext, to enable print self callsThomas Grill
python-like dotted module.function syntax multiply inlets for py (hot and cold inlets) enable symbol binding for all callables (not only functions and methods) enable optimization of Python code in reease build _isthreaded is now a data member instead of a method compiler flag to exclude DSP objects some ASSERTs for explicitly created pyext classes (should be runtime checks i guess) cleaned up float vs. int pyext tags more safety for calls where association python-pd has already been removed open editor for module file on "edit" message (or click) let _inlets and _outlets default to 0 svn path=/trunk/; revision=3610
2005-09-20*** empty log message ***Thomas Grill
svn path=/trunk/; revision=3607
2005-08-11oops, include libraries for editing the scriptsThomas Grill
some optimizations and py reload fix open editor for module file on "edit" message (or click) open editor for script under OS X added cygwin support svn path=/trunk/; revision=3417
2005-08-01path setting based on new flext functionalityThomas Grill
open editor for module file on "edit" message (or click) open editor for script under OS X svn path=/trunk/; revision=3399
2005-07-30corrected Python object propagation (attribute "py") and adjusted help filesThomas Grill
path setting based on new flext functionality much better detach method handling (one thread for all object instances) svn path=/trunk/; revision=3389
2005-07-20corrected Python object propagation (attribute "py") and adjusted help filesThomas Grill
better exception handling and error message much better detach method handling (one thread for all object instances) better definition of output values (atoms, lists, anythings) svn path=/trunk/; revision=3364
2005-07-19better exception handling and error messageThomas Grill
much better detach method handling (one thread for all object instances) oops, forgot to code one branch better definition of output values (atoms, lists, anythings) svn path=/trunk/; revision=3360
2005-07-18python-like dotted module.function syntaxThomas Grill
cleaned up float vs. int pyext tags better definition of output values (atoms, lists, anythings) multiply inlets for py (hot and cold inlets) better exception handling and error message fixes for atomic pyext._outlet messages svn path=/trunk/; revision=3358
2005-07-15None returned by script will bang the outputThomas Grill
fixes for atomic pyext._outlet messages svn path=/trunk/; revision=3346
2005-07-09python-like dotted module.function syntaxThomas Grill
reworked outbound message generation (now with symbols instead of one-element anythings) multiply inlets for py (hot and cold inlets) cleaned up float vs. int pyext tags pymeth object for object methods enable built-in functions sequence protocol for symbol type enabled built-in functions py: allow all callables svn path=/trunk/; revision=3310
2005-07-08better reload handling, but still far fom perfectThomas Grill
fixed minor other issues cleaned up float vs. int pyext tags simplifications in py and pyext bumped version number python-like dotted module.function syntax send and receive wrapped PyObjects through inlets/outlets multiply inlets for py (hot and cold inlets) svn path=/trunk/; revision=3308
2005-07-06added xcode projectThomas Grill
better reload handling, but still far fom perfect fixed minor other issues bumped version number made some methods static svn path=/trunk/; revision=3296
2005-04-18check for PD versionThomas Grill
better reload handling, but still far fom perfect fixed minor other issues fixed buglet fixing strange gcc behavior updates for DSP processing better argument checking svn path=/trunk/; revision=2781
2005-04-10added xcode projectThomas Grill
cleaner error reporting added generic numpy support (not working) use lock count instead of message queuing to avoid py->py messaging deadlock fixing strange gcc behavior fixes for maxmsp support for buffer objects (preliminary) fixed reference count bug use optimized version updates for DSP processing adjust pd and py files for correct argument passing more optimizations fixed numarray headers little restructuring svn path=/trunk/; revision=2708
2005-04-07cleaner error reportingThomas Grill
added generic numpy support (not working) use lock count instead of message queuing to avoid py->py messaging deadlock fixing strange gcc behavior fixes for maxmsp support for buffer objects (preliminary) fixed reference count bug use optimized version adjust pd and py files for correct argument passing more optimizations little restructuring svn path=/trunk/; revision=2687
2005-03-31fixed reference count bugThomas Grill
cleaner error reporting more optimizations added generic numpy support (not working) fixes for maxmsp svn path=/trunk/; revision=2655
2005-03-25fixes for maxmspThomas Grill
added generic numpy support (not working) svn path=/trunk/; revision=2645
2005-03-18*** empty log message ***Thomas Grill
svn path=/trunk/; revision=2633
2005-03-14fixes for OSXThomas Grill
docs optimizations and fixes use optimized version optimized function calls adjust pd and py files for correct argument passing more optimizations svn path=/trunk/; revision=2627
2005-03-13pydsp: share dsp buffer objects at inplace operationThomas Grill
DSP support for py/pyext: new objects pyext~,pyx~,pyext.~,pyx.~ new base class for py and pyext classes preset sys.argv for module loading support for buffer objects (preliminary) py: bang in left inlet now really triggers without arguments fixes for detached operation and single-threaded version little restructuring adjust pd and py files for correct argument passing more optimizations update for new flext callback naming use lock count instead of message queuing to avoid py->py messaging deadlock pyext: fix for inlet count svn path=/trunk/; revision=2624
2005-03-10more buffer functionality (support sequence and number protocols)Thomas Grill
more examples preset sys.argv for module loading support for buffer objects (preliminary) svn path=/trunk/; revision=2615
2005-03-09fixes for detached operation and single-threaded versionThomas Grill
use lock count instead of message queuing to avoid py->py messaging deadlock support for buffer objects (preliminary) updated build system little restructuring fixes for single-threaded compilation added support for numarray svn path=/trunk/; revision=2610
2005-03-08pass timeout argument to stop methodThomas Grill
fixes for detached mode fixes for detached operation and single-threaded version use lock count instead of message queuing to avoid py->py messaging deadlock use new flext fifo svn path=/trunk/; revision=2602
2005-03-06use new flext fifoThomas Grill
use lock count instead of message queuing to avoid py->py messaging deadlock svn path=/trunk/; revision=2599
2005-02-27better error reportingThomas Grill
use lock count instead of message queuing to avoid py->py messaging deadlock must clear Python error... svn path=/trunk/; revision=2585
2005-02-26- garbage collection at module scopeThomas Grill
- better handling of bang messages better error reporting svn path=/trunk/; revision=2583
2005-02-23better cleanup behavior (shutdown hook method _del and garbage collection)Thomas Grill
- garbage collection at module scope update for flext build system - better handling of bang messages fixes for single-threaded compilation little restructuring svn path=/trunk/; revision=2573
2005-02-01fixes for single-threaded compilationThomas Grill
little restructuring svn path=/trunk/; revision=2554
2005-01-19- a bit more functions for the symbol typeThomas Grill
- exporting symbol functions corrected argument passing to class methods updated for OSX adjust pd and py files for correct argument passing svn path=/trunk/; revision=2523
2005-01-11added symbol typeThomas Grill
fixed incorrect unbinding of instance methods fixes for symbol type little restructuring svn path=/trunk/; revision=2489
2005-01-10closed multi-interpreter branch (no chance to have several interpreters in ↵Thomas Grill
the same thread!) other thread-related cleanups py: added ability to choose function from message tag enabled int-tags for pyext class methods svn path=/trunk/; revision=2487
2005-01-09support for Python threads, at lastThomas Grill
small fixes merged in 20041229-newdetach branch. renamed locking functions svn path=/trunk/; revision=2483
2004-12-17support for Python threads, at lastThomas Grill
output single atoms instead of 1-element lists small changes for release using flext build system svn path=/trunk/; revision=2398