Jack Jansen
786681ac60
Got rid of obsolete appearance flag.
2002-04-11 20:56:13 +00:00
Jack Jansen
8ab04b4d65
Got rid of ifdefs for long-obsolete GUSI versions.
2002-04-11 20:46:23 +00:00
Jack Jansen
714d7268d5
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.
2002-03-25 00:32:17 +00:00
Jack Jansen
9d79990ac7
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-24 23:04:18 +00:00
Jack Jansen
150ed6113c
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 14:16:39 +00:00
Jack Jansen
0e5a733887
Solve sync() signature conflict differently: manually return 0 if
...
we have GUSI's void sync().
2002-03-21 21:09:36 +00:00
Jack Jansen
ca9a4a6e17
Lurking bug found by patch for 531291: FSSpecs should be passed to
...
Py_BuildValue by address, not by value.
2.2.1 candidate.
2002-03-18 15:41:32 +00:00
Jack Jansen
cb6cf13261
Some of the newer routines return an OSErr, like most toolbox calls, in stead of depending on ResError(). Second half of fix for #531291 .
...
2.2.1 candidate.
2002-03-18 15:31:08 +00:00
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