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
Jack Jansen
6fd4b173e2
Backport of 1.5:
...
Today's Carbon Toolbox addition: QDTextBounds()
2002-02-27 23:13:06 +00:00
Jack Jansen
14ffb30216
Backport of 1.7 (of _Dragmodule.c):
...
Callback error handling improvements:
- print traceback
- don't use fprintf()
- clear exception (implied by PyErr_Print())
2002-02-27 23:12:31 +00:00
Jack Jansen
348fff8844
Backport of 1.4 thru 1.16 (of _Ctlmodule.c):
...
- 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()
2002-02-27 23:11:42 +00:00
Jack Jansen
d597b8bd28
Backport of 1.8 (of _CFModule.c):
...
Added some support for unicode arguments.
2002-02-27 23:10:01 +00:00
Jack Jansen
45747152aa
Backport of 1.5 thru 1.7 (of _CarbonEvtmodule.c):
...
- 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.
2002-02-27 23:09:08 +00:00
Jack Jansen
0b6d0cb703
Backport of 1.6 thru 1.9 (of _Appmodule.c):
...
- 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.
2002-02-27 23:07:46 +00:00
Jack Jansen
a063f2569d
Backport of 1.25:
...
Ugh, by all means, _do_ report exceptions somehow ;-)
2002-02-27 22:48:37 +00:00
Jack Jansen
2e41bfbb84
Backport of 1.8:
...
Internet Config is now part of official Apple interfaces, so use the new
headers and libraries.
2002-02-26 21:19:42 +00:00
Jack Jansen
c8363d7e01
Backport of 1.9:
...
Ugh, by all means, _do_ report exceptions somehow ;-)
2002-02-24 22:57:48 +00:00
Jack Jansen
fe48a91596
backport of 1.52 and 1.53:
...
- Added as_pathname() method to FSRef objects.
- In MachoPython expect Unix-style pathnames for both FSSpec and FSRef
initializers.
2002-02-24 22:55:34 +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