622 Commits

Author SHA1 Message Date
Jack Jansen
e9f35e8918 Backport of 1.26:
CFStringGetUnicode() returned an extra null character at the end of the string.
fixed.
2004-07-15 14:12:20 +00:00
Jack Jansen
6d5648613d Backport of 1.5:
Get rid of incorrect use of OSAGetCurrentDialect. Fixes #884085.
2004-07-15 13:22:02 +00:00
Jack Jansen
24dea56a4e CGMainDisplayID() doesn't exist on 10.1, so don't try to call it when
building for that platform.
2004-06-02 13:42:47 +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
Jack Jansen
d505cab5b3 Accept only the system default encoding when converting Python
strings to CF strings. Fixes 682215.
2003-03-03 13:12:59 +00:00
Jack Jansen
f92ec2d191 StdFilterProc() uses InOut parameters. 2003-02-27 22:50:50 +00:00
Jack Jansen
8cd9a4fded Added a linkmodel attribute, showing how Python was built. This is so
packages can check that extension modules are built for the right type
of python. Current values can be static, framework, shared and cfm (for
completeness, for MacPyton-OS9).

Closes bug #691889. The reporter suggests backporting this to 2.2.3
and I think I agree.
2003-02-23 23:23:47 +00:00
Jack Jansen
2bc4a47c86 WASTEconst.py goes one level above the toolbox directory. 2003-02-21 22:11:45 +00:00