From 12d8576f4bab14b6da85957f156ee0360ab3446f Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Thu, 3 Jan 2008 16:21:04 +0000 Subject: cross-platform fixes 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 --- externals/grill/py/license.txt | 4 +- externals/grill/py/py.vcproj | 9 ++- externals/grill/py/readme.txt | 2 +- externals/grill/py/source/bound.cpp | 6 +- externals/grill/py/source/clmeth.cpp | 8 +- externals/grill/py/source/main.cpp | 6 +- externals/grill/py/source/main.h | 8 +- externals/grill/py/source/modmeth.cpp | 12 +-- externals/grill/py/source/py.cpp | 8 +- externals/grill/py/source/pyargs.cpp | 6 +- externals/grill/py/source/pyatom.cpp | 6 +- externals/grill/py/source/pyatom.h | 6 +- externals/grill/py/source/pybase.cpp | 10 ++- externals/grill/py/source/pybase.h | 134 +++++++++++++++++---------------- externals/grill/py/source/pybuffer.cpp | 6 +- externals/grill/py/source/pybuffer.h | 6 +- externals/grill/py/source/pybundle.cpp | 6 +- externals/grill/py/source/pybundle.h | 6 +- externals/grill/py/source/pydsp.cpp | 6 +- externals/grill/py/source/pyext.cpp | 8 +- externals/grill/py/source/pyext.h | 6 +- externals/grill/py/source/pymeth.cpp | 8 +- externals/grill/py/source/pyprefix.h | 6 +- externals/grill/py/source/pysymbol.cpp | 6 +- externals/grill/py/source/pysymbol.h | 6 +- externals/grill/py/source/register.cpp | 6 +- 26 files changed, 175 insertions(+), 126 deletions(-) (limited to 'externals/grill') diff --git a/externals/grill/py/license.txt b/externals/grill/py/license.txt index 66c01ee4..c4162b50 100644 --- a/externals/grill/py/license.txt +++ b/externals/grill/py/license.txt @@ -1,5 +1,5 @@ py/pyext - python script objects for PD and MaxMSP -Copyright (C) 2002-2006 Thomas Grill +Copyright (C) 2002-2008 Thomas Grill This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License @@ -28,7 +28,7 @@ This package uses the flext C++ layer - See its license text below: --- flext ---------------------------------------------- flext - C++ layer for Max/MSP and pd (pure data) externals -Copyright (C) 2001-2006 Thomas Grill +Copyright (C) 2001-2008 Thomas Grill This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License diff --git a/externals/grill/py/py.vcproj b/externals/grill/py/py.vcproj index 86f45387..76ee84a5 100644 --- a/externals/grill/py/py.vcproj +++ b/externals/grill/py/py.vcproj @@ -85,10 +85,13 @@