aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/py/source/pybase.cpp
AgeCommit message (Collapse)Author
2009-04-01cleaned up grill externals - replaced with svn:externals to ↵Thomas Grill
svn.grrrr.org/ext/trunk/ svn path=/trunk/; revision=10951
2008-01-04compilation fixes for Python 2.5, OSXThomas Grill
cross-platform fixes more cross-platform and version fixes compilation fixes for Python 2.5 svn path=/trunk/; revision=9122
2008-01-03cross-platform fixesThomas Grill
enable compiled-only scripts (without .py) use PyGILState_\*() functionality (enabled with PY_USE_GIL) fixes for non-GIL usage improved symbol comparison buffer protocol adapted for Python 2.5 enable module packages (module/__init__.py[co]), now also for Max svn path=/trunk/; revision=9120
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-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-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-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-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