655 Commits

Author SHA1 Message Date
Ronald Oussoren
392cafba4f Port of universal binary support for Mac OSX from python 2.5. This takes away
the need for the out-of-tree universal binary support that was used to build
the 2.4.3 installer.

Missing here relative to that tree are some changes to IDLE, IMHO those patches
aren't appropriate for the 2.4 branch and users are better of using 2.5's IDLE.
2006-10-08 17:41:25 +00:00
Neal Norwitz
b9ab834830 Backport:
mwh pointed out _Filemodule.c is generated. So to fix the memory leak
this file (the source) must be fixed.
2006-01-25 05:43:53 +00:00
Neal Norwitz
c280d94034 Backport: This should fix a mem leak on the Mac. Brett tested it. 2006-01-23 07:37:28 +00:00
Raymond Hettinger
ec6eb369d5 SF patch #1035255: Remove CoreServices / CoreFoundation dependencies in core
(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
2004-11-05 07:02:59 +00:00
Tim Peters
182b5aca27 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
Jack Jansen
ce17cf6da7 The CF inheritance could cause double frees of the underlying objects.
Fixed.
2004-07-15 14:25:48 +00:00
Jack Jansen
d9e50f554f CFStringGetUnicode() returned an extra null character at the end of the string.
fixed.
2004-07-15 14:11:30 +00:00
Jack Jansen
3bfc28c12f Make CF module PEP253 based (finally). 2004-07-15 13:42:06 +00:00
Jack Jansen
75694501ca Get rid of incorrect use of OSAGetCurrentDialect. Fixes #884085. 2004-07-15 13:21:16 +00:00
Jack Jansen
43285d4d3d CGMainDisplayID() doesn't exist on 10.1, so don't try to call it when
building for that platform.
2004-06-02 13:44:05 +00:00
Jack Jansen
e7e9bf2727 kLsUnknownType and kLSUnknownCreator were ints in stead of OSTypes.
Reported by Bob Ippolito.
2004-02-24 21:49:10 +00:00
Jack Jansen
49be4cc861 Setup file to allow the QuickTime for 2.4 to be compiled
for MacPython 2.3 (and, hopefully, python 2.3 for windows too).
2004-02-24 21:25:31 +00:00
Jack Jansen
69387e19ef More cases of input parameters passed by reference without const. 2004-01-11 22:52:12 +00:00
Jack Jansen
ae57b7f843 Added support for APIs in QuickTimeMusic.h. This one is a bit dodgy:
the header file seems to be hand-written and missing the "const" keywords
for input parameters passed by reference.
2004-01-11 22:27:42 +00:00
Jack Jansen
2e5e6445e7 Added support for APIs in MediaHandlers.h. 2004-01-09 23:18:47 +00:00
Jack Jansen
cb2117a83c Allow passing NULL pointers by passing None. This also works for the
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.
2004-01-04 22:33:33 +00:00
Jack Jansen
007b8eb7c4 Added interfaces for most of the stuff in QuickTimeComponents.h. 2004-01-03 17:23:27 +00:00
Jack Jansen
067782438e Added support for ImageCompression.h APIs. 2004-01-02 23:51:22 +00:00
Jack Jansen
59f7dc9b40 Updated for QuickTime 6.0, Universal Header 3.4.2. 2004-01-02 23:27:42 +00:00
Jack Jansen
0b565a6e42 - Renamed OSA.ComponentInstance to OSA.OSAComponentInstance. It is not
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.
2003-12-10 15:18:18 +00:00
Jack Jansen
2e20a63bc9 Make this module Python 2.3 compatible, and add a setup script that allows
it to be built for that python.
2003-12-09 15:06:18 +00:00
Jack Jansen
2af4ce8f30 Made this module compatible with Python2.3, and added a temporary setup
script that allows it to be built for that Python.
2003-12-09 14:51:21 +00:00
Jack Jansen
67ff6d9930 Finished update to UH 3.4.2. 2003-12-06 00:00:17 +00:00
Jack Jansen
da6081fccb Ported to Universal Headers 3.4.2. Qd and Qt remain to be done.
Completely untested.
2003-12-03 23:20:13 +00:00
Jack Jansen
fe3fe4adb5 Adding an interface to the high-level Open Scripting Architecture,
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).
2003-12-03 22:34:19 +00:00