summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Updated for Universal Headers 3.4.Just van Rossum2001-12-123-3/+2371
|
* Added proper error checking in event callback handlerJust van Rossum2001-12-122-24/+50
|
* Exposed quite a few more calls.Just van Rossum2001-12-123-28/+191
|
* Fixed to the extend that it now builds in CW6, and actually worksJust van Rossum2001-12-112-48/+64
| | | | a little.
* Added __members__ to FInfo object.Just van Rossum2001-12-111-0/+2
|
* Patch supplied by Burton Radons for his own SF bug #487390: ModifyingGuido van Rossum2001-12-0828-64/+64
| | | | | | | | | | | | | type.__module__ behavior. This adds the module name and a dot in front of the type name in every type object initializer, except for built-in types (and those that already had this). Note that it touches lots of Mac modules -- I have no way to test these but the changes look right. Apologies if they're not. This also touches the weakref docs, which contains a sample type object initializer. It also touches the mmap test output, because the mmap type's repr is included in that output. It touches object.h to put the correct description in a comment.
* Replace sprintf() with PyOS_snprintf().Jack Jansen2001-12-052-5/+5
|
* Merged changes made on r22b2-branch between r22b2 and r22b2-mac (theJack Jansen2001-11-3028-137/+1644
| | | | changes from start of branch upto r22b2 were already merged, of course).
* Changed names, added bridge functions to macfs.fsref objects andJack Jansen2001-11-061-67/+48
| | | | generally did things to get it working.
* Added an error message when using FSRef objects on platforms that don'tJack Jansen2001-11-061-0/+1
| | | | support them.
* Added hfsplusapi module.Jack Jansen2001-11-061-0/+4
|
* Removed unused variable.Jack Jansen2001-11-061-1/+0
|
* First couple of fixes to make it compile with Universal 3.3.2.Jack Jansen2001-11-061-10/+21
|
* HFS+ API contributed by Nitin Ganatra. This checkin is identical to what he ↵Jack Jansen2001-11-061-0/+1547
| | | | sent me, except for the namechange (fmgr->hfsplus).
* Correctly builds the C module now.Jack Jansen2001-11-052-5/+1600
|
* First tweaks to allow MacPython to be compiled withJack Jansen2001-11-055-22/+9
| | | | Universal Headers 3.4