summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Ensure 'module removed' warning messages contain the word 'module' or 'package'.Mark Dickinson2010-04-035-5/+5
| | | | | This should fix the test_py3kwarn failure on OS X. test_support.import_module also requires this.
* remove svn:executable from scripts without a shebang lineBenjamin Peterson2010-03-083-0/+0
|
* The 'Navigation Toolbox' is not available at all for 64-bitRonald Oussoren2009-09-221-22/+13
| | | | | code, make this explicit in the C code to avoid confusing error messages during the build.
* Fix for issue 6851: urllib.urlopen crashes in a thread on OSX 10.6Ronald Oussoren2009-09-201-0/+226
|
* Fix nearly all compilation warnings under Apple gcc-4.0. Tested with OPT="-gJeffrey Yasskin2009-05-292-13/+1
| | | | | | -Wall -Wstrict-prototypes -Werror" in both --with-pydebug mode and --without. There's still a batch of non-prototype warnings in Xlib.h that I don't know how to fix.
* This patch fixes issue 1254695 (wrong argument type conversion in Carbon.Qt)Ronald Oussoren2009-03-302-365/+368
|
* Fix for issue #1113328.Ronald Oussoren2009-03-041-19/+23
|
* Fix issue776533.Ronald Oussoren2009-02-171-0/+2
|
* Fix for issue1594Ronald Oussoren2009-01-021-0/+9
|
* Another fix for 4-way universal builds, use the right #ifndef guardRonald Oussoren2008-08-122-2/+2
| | | | to detect the OSX 10.5 SDK.
* 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.