Commit Graph

2766 Commits

Author SHA1 Message Date
Tim Peters 5a9fb3c415 Whitespace normalization. 2005-01-07 16:01:32 +00:00
Jack Jansen 5a3c7c39db Oops, there was a tab in there. 2005-01-07 12:56:21 +00:00
Jack Jansen 30620ac641 Workaround for the fact that urllib2 doesn't default to "file:" urls. 2005-01-07 12:50:12 +00:00
Jack Jansen 64585988af Create the wrapper scripts for gcc/g++ too. 2005-01-01 22:33:36 +00:00
Jack Jansen 935ca1018e Just passing -undefined dynamic_lookup isn't enough: we also need to set
the MACOSX_DEPLOYMENT_TARGET environment variable to 10.3 when calling the
loader. And we do this with "env" because distutils apparently doesn't
understand environment variable assignments before command names.
2004-12-28 21:30:35 +00:00
Jack Jansen 078824e4f6 Added quotes around the destroot arguments, so empty destroot works. 2004-12-27 16:13:39 +00:00
Jack Jansen de2ecb8466 Updated version numbers. 2004-12-27 15:53:20 +00:00
Jack Jansen c77f6dfd92 Fix for #1091468: DESTROOTed frameworkinstalls fail. Added a --destroot
option to various tools, and do the right thing when we're doing a destroot
install.

Will backport to 2.4 and 2.3.
2004-12-27 15:51:03 +00:00
Jack Jansen 6116f07fdc A script to fix Apple-installed Python 2.3 (and a test whether the user
needs to run it in the Makefile).

After installing a newer framework Python the apple-installed Python can
no longer build extension modules, because they will inadvertantly be linked
against the newer framework. This script modifies lib/config/Makefile so
it will link extensions with "-undefined dynamic_lookup", which forestalls
this problem.

Will backport to 2.4 and 2.3.
2004-12-26 23:02:05 +00:00
Brett Cannon 98809b76ae Very minor grammatical fix and removal of a tab. 2004-12-06 06:01:13 +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 122f87fa04 The interpreter popup was never filled with any data, fixed.
Fixes #775878.
2004-07-16 12:36:02 +00:00
Jack Jansen 6e3b425f3f Made preference window resizable (and do the most logical thing on resize) 2004-07-16 12:35:06 +00:00
Jack Jansen 31bca4ef12 Cleaned up list of interpreters. 2004-07-16 12:34:23 +00:00
Jack Jansen ad1654e03a After more than two years of puzzlement Jurjen Bos found the reason for
the double-scroll problem: when you pass a tracker function to TrackControl
you shouldn't call your hit function again afterwards. Fixes #711989.
2004-07-15 22:08:33 +00:00
Jack Jansen 4f9013759b - Added a note about fixversions.py
- Ran it.
2004-07-15 21:30:41 +00:00
Jack Jansen 7323f08422 A script to fix version strings in .plist files. 2004-07-15 16:03:55 +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 0701bd64aa Fix for #860242: use correct names in the "save preferences" dialog. 2004-06-03 21:55:46 +00:00
Jack Jansen 30184f3611 - Fix for #862941: "run with commandline python" crashed. Fixed.
- Prefer to use pythonw (if it exists) for "run with commandline python".
2004-06-03 21:27:15 +00:00
Jack Jansen 76375745d5 On startup, attempt to set the working directory to $HOME.
Fixes #913581.
2004-06-03 14:15:50 +00:00
Jack Jansen 8d562e6b4f Very large scripts folders could crash the IDE, because it runs out
of Menu IDs (of which there are only 255 in Carbon). Fixed by stopping
examining the scripts folder when we allocate menu ID 200.

Fixes #959291. Need to backport.
2004-06-03 13:31:51 +00:00
Jack Jansen 29eb8c315d Do an actual test for xcodebuild, in stead of relying on the user to
uncomment the relevant section.
2004-06-02 20:06:38 +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 fe99927630 - Allow easy opening of experimental database, if pimp >= 0.4
- Allow easy access to the PackMan homepage, for even more databases.
2004-02-28 23:19:42 +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
Walter Dörwald 70a6b49821 Replace backticks with repr() or "%r"
From SF patch #852334.
2004-02-12 17:35:32 +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
Just van Rossum 001734ca7f fixed long standing typo 2003-12-07 18:11:51 +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
Jack Jansen 07f1dfa91c Blacklisting LSInit and LSTerm, which are deprecated. Partial fix for 853558. 2003-12-03 20:52:07 +00:00
Jack Jansen 7d0a609e6f An interface to the LaunchServices API. 2003-12-02 23:01:43 +00:00
Jack Jansen ac5d667e9f Fix (workaround, actually) for bug #844676: deselecting "show hidden" can
cause an index error. We now select the first package if this threatens
to happen. Will backport.
2003-11-27 23:19:33 +00:00
Jack Jansen 9cc4fcd649 Package Mnager error dialogs could refer to hidden packages, which was
confusing. To be on the safe side we always show hidden packages before
showing error dialogs. Will backport.
2003-11-27 23:12:17 +00:00