aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py/source/py.cpp
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-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
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-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-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-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-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-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-11-10support for Python threads, at lastThomas Grill
svn path=/trunk/; revision=2251
2004-09-20 ""Thomas Grill
svn path=/trunk/; revision=2047
2004-08-21 ""Thomas Grill
svn path=/trunk/; revision=1965
2004-06-21 ""Thomas Grill
svn path=/trunk/; revision=1826
2004-03-20 ""Thomas Grill
svn path=/trunk/; revision=1443
2004-01-22 ""Thomas Grill
svn path=/trunk/; revision=1285
2004-01-20 ""Thomas Grill
svn path=/trunk/; revision=1270
2004-01-14 ""Thomas Grill
svn path=/trunk/; revision=1257
2003-10-21 ""Thomas Grill
svn path=/trunk/; revision=1121
2003-10-20 ""Thomas Grill
svn path=/trunk/; revision=1110
2003-01-04 ""Thomas Grill
svn path=/trunk/; revision=320
2002-12-28 ""Thomas Grill
svn path=/trunk/; revision=309
2002-12-05 ""Thomas Grill
svn path=/trunk/; revision=278
2002-11-26 ""Thomas Grill
svn path=/trunk/; revision=262
2002-10-22This commit was generated by cvs2svn to compensate for changes in r189,Thomas Grill
which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=190