526 Commits

Author SHA1 Message Date
Jack Jansen
8ae56530fd Backport of _Cmmodule.c 1.8 and cmsupport.py 1.6:
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.

Should finally fix 531398. 2.2.1 candidate.

Also blacklisted some constants with definitions that were not Python-compatible.
2002-03-25 12:24:50 +00:00
Jack Jansen
799699d82a Backport of _Qdmodule.c 1.8, qdsupport.py 1.38:
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.

Should finally fix 531398. 2.2.1 candidate.

Also blacklisted some constants with definitions that were not Python-compatible.
2002-03-25 12:20:43 +00:00
Jack Jansen
d612a818dc Backport of _Dragmodule.c 1.8, dragsupport.py 1.10:
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.

Should finally fix 531398. 2.2.1 candidate.

Also blacklisted some constants with definitions that were not Python-compatible.
2002-03-25 12:17:28 +00:00
Jack Jansen
9993a364f7 Backport of _Evtmodule.c 1.6, evtsupport.py 1.15:
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.

Should finally fix 531398. 2.2.1 candidate.

Also blacklisted some constants with definitions that were not Python-compatible.
2002-03-25 11:14:28 +00:00
Jack Jansen
6f2fd304d5 Backport of _Fmmodule.c 1.6 and fmsupport.py 1.6:
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.

Should finally fix 531398. 2.2.1 candidate.

Also blacklisted some constants with definitions that were not Python-compatible.
2002-03-25 10:56:59 +00:00
Jack Jansen
90c25aa2b6 Backport of _Icnmodule.c 1.5, icnsupport.py 1.7:
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.

Should finally fix 531398. 2.2.1 candidate.

Also blacklisted some constants with definitions that were not Python-compatible.
2002-03-25 10:45:21 +00:00
Jack Jansen
2bfd14e3c5 Backport of _Qdoffsmodule.c 1.7, qdoffssupport.py 1.8:
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.

Should finally fix 531398. 2.2.1 candidate.

Also blacklisted some constants with definitions that were not Python-compatible.
2002-03-25 10:43:35 +00:00
Jack Jansen
ae0c1cb0de Backport of _TEmodule.c 1.8, tesupport.py 1.10:
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.

Should finally fix 531398. 2.2.1 candidate.

Also blacklisted some constants with definitions that were not Python-compatible.
2002-03-25 10:41:18 +00:00
Jack Jansen
a0c5e54dba Backport of _Qtmocule.c 1.7, qtsupport.py 1.19:
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.

Should finally fix 531398. 2.2.1 candidate.

Also blacklisted some constants with definitions that were not Python-compatible.
2002-03-25 10:38:57 +00:00
Jack Jansen
ec158087ef Backport of _Appmodule.c 1.10, appsupport.py 1.14:
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.

Should finally fix 531398. 2.2.1 candidate.

Also blacklisted some constants with definitions that were not Python-compatible.
2002-03-25 10:30:36 +00:00
Jack Jansen
c629efaf91 Backport of 1.20:
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.

Should finally fix 531398. 2.2.1 candidate.

Also blacklisted some constants with definitions that were not Python-compatible.
2002-03-25 10:25:56 +00:00
Jack Jansen
c165e53066 Backport of 1.7:
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, inAlso blacklisted some constants with definitions that were not Python-compatible.
2002-03-25 10:23:56 +00:00
Jack Jansen
fb25d88534 Backport of _AEmodule.c 1.10 and aesupport.py 1.26:
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, inAlso blacklisted some constants with definitions that were not Python-compatible.
2002-03-25 10:21:42 +00:00
Jack Jansen
dba657f2d7 Backport of _Resmodule.c 1.10 and ressupport.py 1.21:
Generate with weaklink stubs, so missing routines (on MacOS 8.6 and earlier)
don't cause import failure.

Fixes 531398, 2.2.1 candidate.
2002-03-22 15:48:44 +00:00
Jack Jansen
3f855edbf1 sync() has different return values depending on whether we build with GUSI or not. 2002-03-19 11:01:20 +00:00
Jack Jansen
a583cf76f5 char/unsigned char mixup. 2002-03-19 10:59:26 +00:00
Jack Jansen
868c4f09ec Backport of _CFmodule.c 1.11 and _Winmodule 1.8:
Lurking bug found by patch for 531291: FSSpecs should be passed to
Py_BuildValue by address, not by value.
2002-03-18 15:54:29 +00:00
Jack Jansen
45465f2295 Backport of _Resmodule.c 1.10 and ressupport.py 1.20:
Some of the newer routines return an OSErr, like most toolbox calls,
in stead of depending on ResError(). Second half of fix for #531291.
2002-03-18 15:38:24 +00:00
Jack Jansen
63558c1834 Backport of 1.22:
Use waste included with CW in stead of separate package.

(But a truer log message would have been "updated to current version of waste",
as in MachoPython we use a normal standalone separate Waste distribution).
2002-03-10 21:33:19 +00:00
Jack Jansen
98863e9e59 Backport of 1.4 and 1.5:
Added support for SyncCGContextOriginWithPort
Added ClipCGContextToRegion
2002-03-06 21:59:54 +00:00
Jack Jansen
39247ac9b9 Backport of 1.7:
Added SndRecord and (classic only) SndRecordToFile.
2002-02-27 23:18:00 +00:00
Jack Jansen
a9ad6e4a92 Backport of 1.2:
Added support for the Carbon scrap manager (finally).
2002-02-27 23:17:21 +00:00
Jack Jansen
d51bd5fafe Backport of 1.8 and 1.9:
Added some support for unicode arguments.
2002-02-27 23:16:52 +00:00
Jack Jansen
0a87765f89 Backport of 1.7:
Added some support for unicode arguments.
2002-02-27 23:16:08 +00:00
Jack Jansen
caa994db59 Backport of 1.8-1.10 (of _Menumodule.c):
- The output MenuRef of GetMenuItemHierarchicalMenu() may be NULL.
- Added support for optional MenuObj arguments
- Added a bunch of calls as functions with an optional
  MenuObj first argument. The same calls already
  exist as methods, but then the first arg isn't
  optional... The method versions could go as far as I'm
  concerned. Jack?
2002-02-27 23:15:29 +00:00