summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/scrap
Commit message (Collapse)AuthorAgeFilesLines
* Untabify C files. Will watch buildbots.Antoine Pitrou2010-05-091-237/+237
|
* This reverts r63675 based on the discussion in this thread:Gregory P. Smith2008-06-091-2/+2
| | | | | | | http://mail.python.org/pipermail/python-dev/2008-June/079988.html Python 2.6 should stick with PyString_* in its codebase. The PyBytes_* names in the spirit of 3.0 are available via a #define only. See the email thread.
* MacOS X: Enable 4-way universal buildsRonald Oussoren2008-06-051-0/+8
| | | | | | | | | | | | | | | | | | This patch adds a new configure argument on OSX: --with-universal-archs=[32-bit|64-bit|all] When used with the --enable-universalsdk option this controls which CPU architectures are includes in the framework. The default is 32-bit, meaning i386 and ppc. The most useful alternative is 'all', which includes all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64). This includes limited support for the Carbon bindings in 64-bit mode as well, limited because (a) I haven't done extensive testing and (b) a large portion of the Carbon API's aren't available in 64-bit mode anyway. I've also duplicated a feature of Apple's build of python: setting the environment variable 'ARCHFLAGS' controls the '-arch' flags used for building extensions using distutils.
* Renamed PyString to PyBytesChristian Heimes2008-05-261-2/+2
|
* Patch #2167 from calvin: Remove unused importsChristian Heimes2008-02-231-1/+0
|
* Whitespace normalization, via reindent.py.Tim Peters2004-07-182-55/+54
|
* Got rid of macglue.h, replacing it by pymactoolbox.h where relevant.Jack Jansen2003-11-201-24/+16
| | | | Cleaned up various things in the toolbox modules.
* PyDoc_STR is always defined nowadays (and has been for quite some time:-)Jack Jansen2003-11-191-3/+0
|
* Getting rid of WITHOUT_FRAMEWORKS and ACCESSOR_CALLS_ARE_FUNCTIONS:Jack Jansen2003-11-192-8/+0
| | | | MacOS9isms.
* Converted manually written code to the new K format specifier.Jack Jansen2003-04-171-1/+1
| | | | Untested, but at least it still compiles.
* - Various tweaks to shut up compiler warnings.Jack Jansen2002-12-231-2/+0
| | | | | - Regenerated with the correct calls to PyType_Ready and the correct deallocator calls.
* Getting rid of pre-Carbon (MacOS8) support. All code depending onJack Jansen2002-12-122-121/+4
| | | | | | TARGET_API_MAC_OS8 (or !TARGET_API_MAC_CARBON) is gone. Also some TARGET_API_MAC_OSX conditional code is gone, because it is no longer used on OSX-only Python (only in MacPython-OS9).
* Added PEP253 support to most Carbon modules. This isn't complete yet:Jack Jansen2002-12-031-1/+1
| | | | | | some of the more compilcated cases (CF, Res) haven't been done yet. Also, various types should inherit from each other (anything with an as_Resource method should be a Resource subtype, the CF types should become one family).
* Converted the Carbon modules to use PEP252-style objects, withJack Jansen2002-11-291-1/+1
| | | | | | | | | | | | | | | | descriptors in stead of manual getattr hooks to get at attributes of the objects. For Qd I have in stead gotten rid of most of the attribute access in favor of the carbon-style accessor methods (with the exception of visRgn, to be done later), and of the Carbon.Qd.qd global object, for which accessor functions are also available. For List I have fixed the fact that various methods were incorrectly generated as functions. CF is untouched: PEP252 doesn't allow "poor-mans-inheritance" with basechain, so it will have to wait for PEP253 support.
* Define PyDoc_STR if it isn't defined. This makes these modules compileJack Jansen2002-11-182-0/+6
| | | | for Python 2.2.
* Fixed the bugs in the constant definitions, and in the code to testJack Jansen2002-08-151-2/+2
| | | | | | them. The FutureWarnings are still there, until a way has been found to say "I know what I'm doing here when I say 0xff000000".
* After generating the Python file with definitions try to run it, soJack Jansen2002-08-151-0/+2
| | | | we catch errors during the build process in stead of later during runtime.
* Enable building of Carbon toolbox modules with unix-Python.Jack Jansen2002-08-051-5/+1
|
* Replaced lots of PyMem_DEL() calls with PyObject_DEL().Jack Jansen2002-05-221-1/+1
|
* Added support for the Carbon scrap manager (finally).Jack Jansen2001-12-313-75/+314
|
* Renamed.Jack Jansen2001-08-231-260/+0
|
* Renamed the Mac toolbox modules to have an initial _ in their name.Jack Jansen2001-08-231-0/+260
|
* The MacOS toolbox modules have acquired an _ in front of their name. Normal ↵Jack Jansen2001-08-231-2/+2
| | | | usage is through a wrapper module (without underscore) which lives in the Carbon package.
* Removed some unused routines under Carbon. They caused compile errors with UH34.Jack Jansen2001-06-201-0/+3
|
* Lots more Carbon/Carbon.h includes, new UPP routine names, function ↵Jack Jansen2001-05-222-1/+9
| | | | prototypes. Most toolbox modules now compile, link and import in MacOSX-MachO python.
* Got ZeroScrap() and PutScrap() to work under Carbon.Jack Jansen2001-01-291-10/+21
|
* Regenerated (and manually massaged for PutScrap) so it can be byuilt both ↵Jack Jansen2001-01-243-57/+148
| | | | for Carbon and Classic. The Carbon module is rather empty, though, for now.
* Got rid of obsolete HAVE_UNIVERSAL_HEADERS test and SystemSevenOrLater define.Jack Jansen2000-07-141-5/+0
|
* pymactoolbox.h contains protoypes for all externally visible toolbox moduleJack Jansen2000-07-141-32/+3
| | | | | functions. Include it in stead of duplicating the declarations everywhere. Also cleaned up toolbox module exports, and got rid of resNotFound error.
* Regenerated with CW Pro 5.2, which has MacOS 8.6 and Appearance 1.1 support.Jack Jansen1999-12-121-1/+1
|
* Replaced addpack by handcrafted code to find the bgen stuff.Jack Jansen1998-04-171-2/+4
|
* Interface to the scrap managerJack Jansen1996-04-123-0/+308