0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 03:01:36 +01:00
Commit Graph

651 Commits

Author SHA1 Message Date
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
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
7107c1aff3 Got rid of macglue.h, replacing it by pymactoolbox.h where relevant.
Cleaned up various things in the toolbox modules.
2003-11-20 13:31:00 +00:00
Jack Jansen
bc2fbc74ed Getting rid of one more TARGET_API_MAC_OSX. 2003-11-19 22:43:57 +00:00
Jack Jansen
a53f4eba19 Getting rid of code conditional on TARGET_API_MAC_*. 2003-11-19 16:34:04 +00:00
Jack Jansen
9588770e25 PyDoc_STR is always defined nowadays (and has been for quite some time:-) 2003-11-19 16:18:02 +00:00
Jack Jansen
e48cef7aba Getting rid of WITHOUT_FRAMEWORKS and ACCESSOR_CALLS_ARE_FUNCTIONS:
MacOS9isms.
2003-11-19 16:13:35 +00:00
Jack Jansen
37249c5524 WITHOUT_FRAMEWORKS conditional code bites the dust: this was for
pre-carbon MacOS9 support.
2003-11-19 15:32:46 +00:00
Jack Jansen
f387e2d12b Gone: all this functionality is now in the Carbon.File and Folder modules. 2003-11-19 15:30:41 +00:00
Jack Jansen
fb2765666f Getting rid of support for the ancient Apple MPW compiler. 2003-11-19 15:24:47 +00:00
Jack Jansen
28ecf70db5 Getting rid of support for MacOS9 and earlier. This is the first step,
and the biggest in size, but probably the easiest. Hunting through the
source code comes next.
2003-11-19 14:34:18 +00:00
Jack Jansen
d1f46c8970 Don't export the SPB type as "SPB", because it shadows the method SPB,
which is really important. This is a stopgap measure, as only the generated
C code is adapted. Fixes #776533.
2003-07-24 22:25:03 +00:00
Jack Jansen
e748f0358f This wasn't ansified. Fixed. 2003-06-16 13:56:05 +00:00
Jack Jansen
ac8bd9175b Forgot the code to initialize the glue for the new CFObj_ routines. 2003-05-31 22:09:33 +00:00
Jack Jansen
4eb45e7804 Added functions CFObj_New and CFObj_Convert, general functions to convert
between CF objects and their Python representation. Fixes 734695.
2003-05-27 21:39:58 +00:00
Just van Rossum
0ed39577dd modernized ColorPicker somewhat 2003-05-24 20:14:24 +00:00
Just van Rossum
d77bee1476 fixed typo 2003-05-03 00:38:26 +00:00
Just van Rossum
6767eed22a Short and sweet module doing something very useful: for event loop
based threads, release the GIL when the event loop goes to sleep,
and acquire it again when the event loop wakes up again. OSX-only.
2003-05-03 00:18:55 +00:00
Jack Jansen
8c46ce9add Allow setting the auto dispose flag on window objects. 2003-04-22 13:55:23 +00:00
Jack Jansen
84c2b1b9aa Oops, 'k' is the new format code for un unchecked 32 bit quantity,
not 'K'.
2003-04-17 20:44:21 +00:00
Jack Jansen
ecc6635ae4 Converted manually written code to the new K format specifier.
Untested, but at least it still compiles.
2003-04-17 20:40:07 +00:00
Jack Jansen
bc4ded9bc0 Give a better error message when a string of the wrong size is
passed to RawBitMap.
2003-03-21 16:42:36 +00:00
Jack Jansen
3e0196cc00 Adding unicode filename support to FSRefs broke things on MacOS9. "Fixed" by disabling unicode filenames on OS9. 2003-03-21 12:54:24 +00:00
Jack Jansen
fe94e97e48 GetCreatorAndType and SetCreatorAndType have been undeprecated. Spotted by
Just.
2003-03-19 22:51:42 +00:00
Jack Jansen
dded84802a Allow unicode pathnames where FSRefs are expected. Fixes 696253. 2003-03-11 21:48:57 +00:00
Jack Jansen
45f5c4ab3e Removed unused variable 2003-03-07 15:37:31 +00:00
Jack Jansen
ee1c85c8eb Various tweaks by Jack because of the different module name, adaptation
to the Python style, etc.
2003-03-06 23:02:59 +00:00
Jack Jansen
86f25fb1d2 Module to get OSA terminology description through the "official channels",
in stead of manually getting the AETE/AEUT resource. Donated by Donovan
Preston. This is his original code (but with the filename changed) checked
in for reference only.
2003-03-06 23:02:04 +00:00
Jack Jansen
885d4f6577 Mod to previous checkin: we must require ascii, not system defautl encoding,
because we have no easy way to convert the python encoding string to
a CF encoding parameter.
2003-03-03 13:19:44 +00:00