Commit Graph

519 Commits

Author SHA1 Message Date
Just van Rossum dd989e1ce7 Added ClipCGContextToRegion() from Quickdraw.h. 2002-03-04 10:31:32 +00:00
Just van Rossum 38b504e9e3 Added support for SyncCGContextOriginWithPort(). 2002-03-02 10:20:44 +00:00
Jack Jansen 5ae815af99 Some buffers needed to be unsigned char, not char. 2002-02-26 21:36:19 +00:00
Jack Jansen 6a60915843 Don't blacklist ModalFilterUPP but always pass it as NULL. This enables the record routines to be generated. 2002-02-05 22:35:36 +00:00
Jack Jansen e62ceac7d4 Added SndRecord and (classic only) SndRecordToFile. 2002-02-05 22:34:35 +00:00
Jack Jansen ba4fe77fba Added as_pathname() method to FSRef objects. 2002-01-18 16:13:15 +00:00
Jack Jansen d48b10621e In MachoPython expect Unix-style pathnames for both FSSpec and FSRef initializers. TBD: Do the reverse for MacPython, and also handle as_pathname(). 2002-01-13 23:16:32 +00:00
Jack Jansen 8f54f2a3f3 Internet Config is now part of official Apple interfaces, so use the new
headers and libraries.
2002-01-11 12:38:08 +00:00
Jack Jansen b99e521319 - Updated to Waste 2.0.
- Use waste included with CW in stead of separate package.
2002-01-11 12:37:15 +00:00
Just van Rossum 4b367359b5 Fixed TrackMouseRegion() argument: ioWasInRgn is an in/out parameter. 2002-01-09 18:54:16 +00:00
Just van Rossum ec0107f023 Today's Carbon Toolbox addition: CarbonEvt.TrackMouseLocation() and friends. 2002-01-08 11:49:31 +00:00
Just van Rossum ca3b2ffbb9 Today's Carbon Toolbox addition: QDTextBounds() 2002-01-07 14:15:02 +00:00
Just van Rossum 6253a114a7 Added support for DrawThemeButton() and friends. 2002-01-06 23:03:39 +00:00
Just van Rossum 8a107fbfed Whoops, it's late -- generated output now matches what's checked in... 2002-01-05 23:44:33 +00:00
Just van Rossum eae95044ae Q&D support for ThemeDrawingState objects. 2002-01-05 23:37:19 +00:00
Just van Rossum c4cf27e8e0 - added support for UserPaneKeyDownProc and UserPaneFocusProc
- clear error after failing PyArg_Parse()
2002-01-04 19:45:15 +00:00
Jack Jansen 3bac5ca11a Some of the new routines are carbon-only. 2002-01-04 16:00:27 +00:00
Just van Rossum 7d1d396134 Callback error handling improvements:
- print traceback
- don't use fprintf()
- clear exception (implied by PyErr_Print())
2002-01-04 14:39:29 +00:00
Just van Rossum 3e584aaa2a Ugh, by all means, _do_ report exceptions somehow ;-) 2002-01-04 13:49:36 +00:00
Just van Rossum 43c2de230d fixed SetEventParameter() signature: removed unneccesary length arg. 2002-01-03 20:45:47 +00:00
Just van Rossum 8edfc542f0 The output MenuRef of GetMenuItemHierarchicalMenu() may be NULL. 2002-01-03 12:16:18 +00:00
Just van Rossum 4f6fe52424 - Added DrawThemeTextBox()
- fixed GetThemeTextDimensions(): it has an in/out Point arg, not just out.
2002-01-02 15:11:44 +00:00
Just van Rossum 1ca65c0738 rectified copy/paste oversight in comment 2002-01-02 14:59:03 +00:00
Just van Rossum ca3cff30ec - 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-01-02 14:48:36 +00:00
Jack Jansen 69ac361cb5 Added some support for unicode arguments. 2002-01-01 22:43:13 +00:00
Jack Jansen 420ed40344 Added support for the Carbon scrap manager (finally). 2001-12-31 14:52:03 +00:00
Just van Rossum 7633593683 Oops, forgot to mark CreateScrollBarControl and CreateSliderControl
as Carbon-only
2001-12-31 09:50:32 +00:00
Just van Rossum cae6da632a - added support for ControlActionProcs, exposing the following calls:
- ctl.SetControlAction()
    - CreateScrollBarControl()
    - CreateSliderControl()
- print traceback when callbacks fail
2001-12-30 21:25:26 +00:00
Just van Rossum 7eb48e3283 Moved a bunch of routines from "blacklisted" to "graylisted", as they _are_
available in OSX (mach-o) but not in CarbonLib (neither on OSX or OS9).
2001-12-18 20:15:27 +00:00
Jack Jansen 620a7667eb Updated to Universal Headers 3.4 2001-12-18 15:39:38 +00:00
Just van Rossum f30c3ad0d9 Added missing docstring 2001-12-18 12:53:47 +00:00
Just van Rossum 66d78bf2a0 Added support for tab controls and initial (incomplete) support
for DataBrowser controls.
2001-12-18 12:47:47 +00:00
Just van Rossum 820867662b Patch #494553 by Donovan Preston: initial implementation
for GetEventParameter().
2001-12-18 12:35:57 +00:00
Jack Jansen 086f7c3890 There's a new include file AEInteraction.h which contains AESend and friends. 2001-12-17 11:47:27 +00:00
Jack Jansen ec982e2739 TickCount moved to a different header file. We manually added it back in here, for conveninece. 2001-12-17 11:46:50 +00:00
Jack Jansen 2168e9d602 Adapted for Universal Headers 3.4 2001-12-16 20:18:40 +00:00
Just van Rossum 2c39115240 Made event callbacks more rubust: keep an actual reference to the
python callback, and do RemoveEventHandler() upon deallocation.
2001-12-14 23:16:04 +00:00
Jack Jansen 9635f33e5b Quick patch to allow building with Universal Headers 3.4. 2001-12-14 23:03:07 +00:00
Jack Jansen 615e2505f0 Many of the new calls are Carbon-only. Flagged them as such. 2001-12-14 22:47:19 +00:00
Just van Rossum 7ec1c85d7a - "manage" controls created by CreateXxxXxxControl() functions.
- FindControlUnderMouse() returns an existing control, not a new one.
2001-12-13 21:24:37 +00:00
Just van Rossum 4f6c05857f include the proper header for Mach-O 2001-12-13 13:40:04 +00:00
Just van Rossum 79e71f73e7 second CoreGraphics batch 2001-12-13 13:17:20 +00:00
Jack Jansen 6c3145985f Shut up gcc warning. 2001-12-12 22:51:39 +00:00
Just van Rossum e0b9fdca0d Updated for Universal Headers 3.4. 2001-12-12 22:40:27 +00:00
Just van Rossum cddfc8736f Added proper error checking in event callback handler 2001-12-12 21:48:00 +00:00
Just van Rossum f8d6473782 Exposed quite a few more calls. 2001-12-12 20:48:53 +00:00
Just van Rossum c3baa0eff7 Fixed to the extend that it now builds in CW6, and actually works
a little.
2001-12-11 21:52:02 +00:00
Just van Rossum 14666cc04f Added __members__ to FInfo object. 2001-12-11 14:04:12 +00:00
Guido van Rossum 146483964e Patch supplied by Burton Radons for his own SF bug #487390: Modifying
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.
2001-12-08 18:02:58 +00:00
Jack Jansen 101de912d3 Replace sprintf() with PyOS_snprintf(). 2001-12-05 23:27:58 +00:00