summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
Commit message (Collapse)AuthorAgeFilesLines
* This reverts r63675 based on the discussion in this thread:Gregory P. Smith2008-06-0912-49/+49
| | | | | | | 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.
* Fix build issue on OSX 10.4Ronald Oussoren2008-06-063-4/+11
|
* MacOS X: Enable 4-way universal buildsRonald Oussoren2008-06-0532-132/+617
| | | | | | | | | | | | | | | | | | 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-2612-54/+54
|
* Make gestaltmodule.c 64-bit safe.Ronald Oussoren2008-05-181-1/+1
|
* Add warnings to and deprecated all those Mac modulesBenjamin Peterson2008-05-126-0/+17
|
* Patch #2167 from calvin: Remove unused importsChristian Heimes2008-02-2330-34/+0
|
* Modified PyImport_Import and PyImport_ImportModule to always use absolute ↵Christian Heimes2008-01-031-1/+1
| | | | | | imports by calling __import__ with an explicit level of 0 Added a new API function PyImport_ImportModuleNoBlock. It solves the problem with dead locks when mixing threads and imports
* This "fixes" compilation issues for the Carbon._OSA module on OSX LeopardRonald Oussoren2007-12-051-336/+0
| | | | | | | | by purging bindings to OSA's debug API's. Those APIs we're completely unsupported on OSX 10.4 and are no longer available on OSX 10.5. Note that this patches a generated file. This is somewhat acceptable because regenerating the file is non-trivial and wouldn't use system headers anyway.
* bug #1154: release memory allocated by "es" PyArg_ParseTuple format specifier.Georg Brandl2007-09-123-0/+3
|
* Fix for bug #1525447 (renaming to MacOSmodule.c would also work, but notRonald Oussoren2006-07-251-0/+0
| | | | | | | | without causing problems for anyone that is on a case-insensitive filesystem). Setup.py tries to compile the MacOS extension from MacOSmodule.c, while the actual file is named macosmodule.c. This is no problem on the (default) case-insensitive filesystem, but doesn't work on case-sensitive filesystems.
* Add missing Py_DECREF.Thomas Heller2006-07-111-0/+1
|
* Fix whitespace, there are memory leaks in this module.Neal Norwitz2006-06-161-22/+17
|
* Drop Mac wrappers for the WASTE library.Ronald Oussoren2006-06-043-3192/+0
|
* Convert more modules to METH_VARARGS.Georg Brandl2006-05-291-2/+2
|
* Correct None refcount issue in Mac modules. (Are theyGeorg Brandl2006-05-284-4/+4
| | | | still used?)
* Fix bug #1000914 (again).Ronald Oussoren2006-05-201-9/+9
| | | | | | | | | This patches a file that is generated by bgen, however the code is now the same as a current copy of bgen would generate. Without this patch most types in the Carbon.CF module are unusable. I haven't managed to coax bgen into generating a complete copy of _CFmodule.c yet :-(, hence the manual patching.
* Fix some warnings on Mac OS X 10.4Neal Norwitz2006-04-282-21/+5
|
* This patches fixes a number of byteorder problems in MacOSX specific code.Ronald Oussoren2006-04-171-8/+1
|
* Get rid of some warnings on MacNeal Norwitz2006-04-122-6/+3
|
* Get rid of some warnings.Neal Norwitz2006-03-201-2/+2
|
* Fix a couple of warnings on Mac OS X.Neal Norwitz2006-02-242-2/+2
|
* mwh pointed out _Filemodule.c is generated. So to fix the memory leakNeal Norwitz2006-01-251-4/+3
| | | | | | | | | this file (the source) must be fixed. Why isn't there a comment at the top saying the file is generated and why are both the source and generated file checked in? Bootstrap problem? Will backport.
* This should fix a mem leak on the Mac. Brett tested it.Neal Norwitz2006-01-231-4/+3
|
* Whitespace normalization.Tim Peters2005-07-171-38/+38
|
* Fix for #1236090: FSSpec.as_pathname() crashes.Jack Jansen2005-07-122-2/+93
| | | | | | Turns out patch #1035255 was incomplete, it only patched _Filemodule.c and not filesupport.py. So regenerating caused as_pathname() to go into an infinite loop.
* Updated (and regenerated) for name change in tp_init method arguments:Jack Jansen2005-07-0329-1791/+1802
| | | | they are now _self, _args and _kwds.
* SF patch #1035255: Remove CoreServices / CoreFoundation dependencies in coreRaymond Hettinger2004-11-052-4/+100
| | | | | | | | | | | | | (Contributed by Bob Ippolito.) This patch trims down the Python core on Darwin by making it independent of CoreFoundation and CoreServices. It does this by: Changed linker flags in configure/configure.in Removed the unused PyMac_GetAppletScriptFile Moved the implementation of PyMac_StrError to the MacOS module Moved the implementation of PyMac_GetFullPathname to the Carbon.File module
* Whitespace normalization, via reindent.py.Tim Peters2004-07-1871-5849/+5823
|
* The CF inheritance could cause double frees of the underlying objects.Jack Jansen2004-07-152-0/+11
| | | | Fixed.
* CFStringGetUnicode() returned an extra null character at the end of the string.Jack Jansen2004-07-152-2/+2
| | | | fixed.
* Make CF module PEP253 based (finally).Jack Jansen2004-07-152-110/+669
|
* Get rid of incorrect use of OSAGetCurrentDialect. Fixes #884085.Jack Jansen2004-07-151-4/+0
|
* CGMainDisplayID() doesn't exist on 10.1, so don't try to call it whenJack Jansen2004-06-021-0/+7
| | | | building for that platform.
* kLsUnknownType and kLSUnknownCreator were ints in stead of OSTypes.Jack Jansen2004-02-242-1/+5
| | | | Reported by Bob Ippolito.
* Setup file to allow the QuickTime for 2.4 to be compiledJack Jansen2004-02-242-0/+17
| | | | for MacPython 2.3 (and, hopefully, python 2.3 for windows too).
* More cases of input parameters passed by reference without const.Jack Jansen2004-01-113-15/+19
|
* Added support for APIs in QuickTimeMusic.h. This one is a bit dodgy:Jack Jansen2004-01-113-1/+1636
| | | | | the header file seems to be hand-written and missing the "const" keywords for input parameters passed by reference.
* Added support for APIs in MediaHandlers.h.Jack Jansen2004-01-092-1/+1940
|
* Allow passing NULL pointers by passing None. This also works for theJack Jansen2004-01-042-69/+88
| | | | | | | | factory functions, so you can call quicktime functions that are implemented as methods on NULL too. Still don't allow quicktime functions to return NULL pointers, though: I think this always signals an error condition.
* Added interfaces for most of the stuff in QuickTimeComponents.h.Jack Jansen2004-01-033-3/+9804
|
* Added support for ImageCompression.h APIs.Jack Jansen2004-01-023-1/+4309
|
* Updated for QuickTime 6.0, Universal Header 3.4.2.Jack Jansen2004-01-023-5/+819
|
* - Renamed OSA.ComponentInstance to OSA.OSAComponentInstance. It is notJack Jansen2003-12-102-64/+77
| | | | | | | a real subtype of Cm.ComponentInstance right now, it turns out that is too difficult. - OSA.OSAComponentInstance initializer does accept a Cm.ComponentInstance instance, though, so at least things are becoming useable.
* Make this module Python 2.3 compatible, and add a setup script that allowsJack Jansen2003-12-093-0/+19
| | | | it to be built for that python.
* Made this module compatible with Python2.3, and added a temporary setupJack Jansen2003-12-093-0/+21
| | | | script that allows it to be built for that Python.
* Finished update to UH 3.4.2.Jack Jansen2003-12-065-14/+417
|
* Ported to Universal Headers 3.4.2. Qd and Qt remain to be done.Jack Jansen2003-12-0318-225/+425
| | | | Completely untested.
* Adding an interface to the high-level Open Scripting Architecture,Jack Jansen2003-12-033-0/+1381
| | | | | | by request of Donovan Preston. In return, he promised to use this to create a Python OSA component, which would turn Python into a first-class OSA scripting language (like AppleScript itself).
* Blacklisting LSInit and LSTerm, which are deprecated. Partial fix for 853558.Jack Jansen2003-12-032-32/+2
|