Update of /cvsroot/pure-data/externals/grill/py In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18343
Modified Files: py.vcproj readme.txt Log Message: adapting to new flext lockfree structures 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
Index: py.vcproj =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/py.vcproj,v retrieving revision 1.32 retrieving revision 1.33 diff -C2 -d -r1.32 -r1.33 *** py.vcproj 7 Mar 2007 13:40:13 -0000 1.32 --- py.vcproj 6 Jul 2007 21:44:56 -0000 1.33 *************** *** 23,27 **** Optimization="0" AdditionalIncludeDirectories="c:\programme\audio\pd\src;..\flext\source;C:\Programme\prog\Python24\include" ! PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;PY_EXPORTS;FLEXT_SYS=2" BasicRuntimeChecks="3" RuntimeLibrary="5" --- 23,27 ---- Optimization="0" AdditionalIncludeDirectories="c:\programme\audio\pd\src;..\flext\source;C:\Programme\prog\Python24\include" ! PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;PY_EXPORTS;FLEXT_SYS=2;PY_USE_GIL;PY_USE_INOFFICIAL" BasicRuntimeChecks="3" RuntimeLibrary="5" *************** *** 86,91 **** Name="VCCLCompilerTool" Optimization="0" ! AdditionalIncludeDirectories="C:\data\prog\packs\pthreads\include;"c:\data\pd\pd-cvs\src";..\flext\source;C:\Programme\prog\Python24\include;"C:\Programme\prog\Python24\Lib\site-packages\numpy\core\include"" ! PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;PY_EXPORTS;FLEXT_SYS=2;FLEXT_THREADS;PY_NUMPY;FLEXT_USECMEM;PY_USE_GIL" BasicRuntimeChecks="3" RuntimeLibrary="1" --- 86,91 ---- Name="VCCLCompilerTool" Optimization="0" ! AdditionalIncludeDirectories="$(prereq)\pthreads\include;$(pdmax)\pd\src;..\flext\source;C:\Python24\include;"C:\Python24\Lib\site-packages\numpy\core\include"" ! PreprocessorDefinitions="WIN32;_DEBUG;_WINDOWS;_USRDLL;PY_EXPORTS;FLEXT_SYS=2;FLEXT_THREADS;PY_NUMPY;FLEXT_USECMEM;xPY_USE_GIL;PY_USE_INOFFICIAL" BasicRuntimeChecks="3" RuntimeLibrary="1" *************** *** 106,110 **** LinkIncremental="1" SuppressStartupBanner="TRUE" ! AdditionalLibraryDirectories=""C:\data\prog\packs\Python-2.4\PCbuild";C:\data\prog\packs\pthreads\lib;"c:\data\pd\pd-cvs\bin"" GenerateDebugInformation="TRUE" ProgramDatabaseFile="$(outdir)/py.pdb" --- 106,110 ---- LinkIncremental="1" SuppressStartupBanner="TRUE" ! AdditionalLibraryDirectories="$(prereq)\python-2.4.4\pcbuild;$(prereq)\pthreads\lib;$(pdmax)\pd\bin" GenerateDebugInformation="TRUE" ProgramDatabaseFile="$(outdir)/py.pdb" *************** *** 1250,1257 **** </FileConfiguration> </File> - </Filter> - <Filter - Name="meth" - Filter=""> <File RelativePath=".\source\pymeth.cpp"> --- 1250,1253 ----
Index: readme.txt =================================================================== RCS file: /cvsroot/pure-data/externals/grill/py/readme.txt,v retrieving revision 1.51 retrieving revision 1.52 diff -C2 -d -r1.51 -r1.52 *** readme.txt 7 Mar 2007 13:40:13 -0000 1.51 --- readme.txt 6 Jul 2007 21:44:56 -0000 1.52 *************** *** 123,126 **** --- 123,129 ---- - ADD: make use of the PyGILState_*() functions - ADD: always run the Python interpreter in the background (to keep alive Python threads) + - ADD: added PY_USE_INOFFICIAL to enable usage of s_stuff.h PD header, to have access to search and help paths + - ADD: pyext: _init method is now called after __init__ (after inlets/outlets have been created) + - FIX: buffer protocol adapted to Python 2.5
0.2.0: