summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Backport of _Cmmodule.c 1.8 and cmsupport.py 1.6:Jack Jansen2002-03-252-2/+98
| | | | | | | | 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.
* Backport of _Qdmodule.c 1.8, qdsupport.py 1.38:Jack Jansen2002-03-252-2/+935
| | | | | | | | 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.
* Backport of _Dragmodule.c 1.8, dragsupport.py 1.10:Jack Jansen2002-03-252-2/+98
| | | | | | | | 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.
* Backport of _Evtmodule.c 1.6, evtsupport.py 1.15:Jack Jansen2002-03-252-2/+95
| | | | | | | | 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.
* Backport of _Fmmodule.c 1.6 and fmsupport.py 1.6:Jack Jansen2002-03-252-1/+55
| | | | | | | | 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.
* Backport of _Icnmodule.c 1.5, icnsupport.py 1.7:Jack Jansen2002-03-252-1/+184
| | | | | | | | 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.
* Backport of _Qdoffsmodule.c 1.7, qdoffssupport.py 1.8:Jack Jansen2002-03-252-2/+74
| | | | | | | | 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.
* Backport of _TEmodule.c 1.8, tesupport.py 1.10:Jack Jansen2002-03-252-2/+152
| | | | | | | | 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.
* Backport of _Qtmocule.c 1.7, qtsupport.py 1.19:Jack Jansen2002-03-252-2/+1217
| | | | | | | | 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.
* Backport of _Appmodule.c 1.10, appsupport.py 1.14:Jack Jansen2002-03-252-3/+204
| | | | | | | | 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.
* Backport of 1.20:Jack Jansen2002-03-251-0/+2
| | | | | | | | 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.
* Backport of 1.7:Jack Jansen2002-03-251-0/+1
| | | | 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.
* Backport of _AEmodule.c 1.10 and aesupport.py 1.26:Jack Jansen2002-03-252-2/+140
| | | | 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.
* Backport of _Resmodule.c 1.10 and ressupport.py 1.21:Jack Jansen2002-03-222-2/+188
| | | | | | | Generate with weaklink stubs, so missing routines (on MacOS 8.6 and earlier) don't cause import failure. Fixes 531398, 2.2.1 candidate.
* sync() has different return values depending on whether we build with GUSI ↵Jack Jansen2002-03-191-3/+5
| | | | or not.
* char/unsigned char mixup.Jack Jansen2002-03-191-2/+2
|
* Backport of _CFmodule.c 1.11 and _Winmodule 1.8:Jack Jansen2002-03-182-2/+2
| | | | | Lurking bug found by patch for 531291: FSSpecs should be passed to Py_BuildValue by address, not by value.
* Backport of _Resmodule.c 1.10 and ressupport.py 1.20:Jack Jansen2002-03-182-95/+67
| | | | | Some of the newer routines return an OSErr, like most toolbox calls, in stead of depending on ResError(). Second half of fix for #531291.
* Backport of 1.22:Jack Jansen2002-03-103-497/+936
| | | | | | | 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).
* Backport of 1.4 and 1.5:Jack Jansen2002-03-064-0/+55
| | | | | Added support for SyncCGContextOriginWithPort Added ClipCGContextToRegion
* Backport of 1.7:Jack Jansen2002-02-273-1/+55
| | | | Added SndRecord and (classic only) SndRecordToFile.
* Backport of 1.2:Jack Jansen2002-02-273-75/+314
| | | | Added support for the Carbon scrap manager (finally).
* Backport of 1.8 and 1.9:Jack Jansen2002-02-273-4/+125
| | | | Added some support for unicode arguments.
* Backport of 1.7:Jack Jansen2002-02-273-3/+29
| | | | Added some support for unicode arguments.
* Backport of 1.8-1.10 (of _Menumodule.c):Jack Jansen2002-02-274-1/+410
| | | | | | | | | | - 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?
* Backport of 1.5:Jack Jansen2002-02-273-1/+30
| | | | Today's Carbon Toolbox addition: QDTextBounds()
* Backport of 1.7 (of _Dragmodule.c):Jack Jansen2002-02-272-6/+12
| | | | | | | Callback error handling improvements: - print traceback - don't use fprintf() - clear exception (implied by PyErr_Print())
* Backport of 1.4 thru 1.16 (of _Ctlmodule.c):Jack Jansen2002-02-273-11/+297
| | | | | | | | | | | - added support for UserPaneKeyDownProc and UserPaneFocusProc - clear error after failing PyArg_Parse() - Oops, forgot to mark CreateScrollBarControl and CreateSliderControl as Carbon-only - added support for ControlActionProcs, exposing the following calls: - ctl.SetControlAction() - CreateScrollBarControl() - CreateSliderControl()
* Backport of 1.8 (of _CFModule.c):Jack Jansen2002-02-273-5/+75
| | | | Added some support for unicode arguments.
* Backport of 1.5 thru 1.7 (of _CarbonEvtmodule.c):Jack Jansen2002-02-273-13/+108
| | | | | | - Fixed TrackMouseRegion() argument: ioWasInRgn is an in/out parameter. - Today's Carbon Toolbox addition: CarbonEvt.TrackMouseLocation() and friends. - fixed SetEventParameter() signature: removed unneccesary length arg.
* Backport of 1.6 thru 1.9 (of _Appmodule.c):Jack Jansen2002-02-273-17/+379
| | | | | | | - Added support for DrawThemeButton() and friends. - Q&D support for ThemeDrawingState objects. - Added DrawThemeTextBox() - fixed GetThemeTextDimensions(): it has an in/out Point arg, not just out.
* Backport of 1.25:Jack Jansen2002-02-271-1/+4
| | | | Ugh, by all means, _do_ report exceptions somehow ;-)
* Backport of 1.8:Jack Jansen2002-02-261-78/+65
| | | | | Internet Config is now part of official Apple interfaces, so use the new headers and libraries.
* Backport of 1.9:Jack Jansen2002-02-241-1/+4
| | | | Ugh, by all means, _do_ report exceptions somehow ;-)
* backport of 1.52 and 1.53:Jack Jansen2002-02-241-1/+27
| | | | | | - Added as_pathname() method to FSRef objects. - In MachoPython expect Unix-style pathnames for both FSSpec and FSRef initializers.
* Moved a bunch of routines from "blacklisted" to "graylisted", as they _are_Just van Rossum2001-12-182-10/+263
| | | | available in OSX (mach-o) but not in CarbonLib (neither on OSX or OS9).
* Updated to Universal Headers 3.4Jack Jansen2001-12-1831-68/+1835
|
* Added missing docstringJust van Rossum2001-12-182-1/+2
|
* Added support for tab controls and initial (incomplete) supportJust van Rossum2001-12-183-12/+543
| | | | for DataBrowser controls.
* Patch #494553 by Donovan Preston: initial implementationJust van Rossum2001-12-182-4/+84
| | | | for GetEventParameter().
* There's a new include file AEInteraction.h which contains AESend and friends.Jack Jansen2001-12-172-1/+185
|
* TickCount moved to a different header file. We manually added it back in ↵Jack Jansen2001-12-172-0/+24
| | | | here, for conveninece.
* Adapted for Universal Headers 3.4Jack Jansen2001-12-1619-370/+1770
|
* Made event callbacks more rubust: keep an actual reference to theJust van Rossum2001-12-143-30/+113
| | | | python callback, and do RemoveEventHandler() upon deallocation.
* Quick patch to allow building with Universal Headers 3.4.Jack Jansen2001-12-142-23/+2
|
* Many of the new calls are Carbon-only. Flagged them as such.Jack Jansen2001-12-142-0/+658
|
* - "manage" controls created by CreateXxxXxxControl() functions.Just van Rossum2001-12-133-48/+67
| | | | - FindControlUnderMouse() returns an existing control, not a new one.
* include the proper header for Mach-OJust van Rossum2001-12-132-2/+2
|
* second CoreGraphics batchJust van Rossum2001-12-138-0/+3414
|
* Shut up gcc warning.Jack Jansen2001-12-122-4/+4
|