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
Jack Jansen
b3be216b41
Merged changes made on r22b2-branch between r22b2 and r22b2-mac (the
...
changes from start of branch upto r22b2 were already merged, of course).
2001-11-30 14:16:36 +00:00
Jack Jansen
5cc6d6e58e
Changed names, added bridge functions to macfs.fsref objects and
...
generally did things to get it working.
2001-11-06 15:57:59 +00:00
Jack Jansen
2bf52daedd
Added an error message when using FSRef objects on platforms that don't
...
support them.
2001-11-06 15:57:26 +00:00
Jack Jansen
df222d2691
Added hfsplusapi module.
2001-11-06 15:56:56 +00:00
Jack Jansen
ae2df93814
Removed unused variable.
2001-11-06 12:10:05 +00:00
Jack Jansen
24aa3cea07
First couple of fixes to make it compile with Universal 3.3.2.
2001-11-06 12:06:39 +00:00
Jack Jansen
e9b2a0597e
HFS+ API contributed by Nitin Ganatra. This checkin is identical to what he sent me, except for the namechange (fmgr->hfsplus).
2001-11-06 11:10:13 +00:00
Jack Jansen
9c2b514014
Correctly builds the C module now.
2001-11-05 16:21:45 +00:00
Jack Jansen
bd00884415
First tweaks to allow MacPython to be compiled with
...
Universal Headers 3.4
2001-11-05 16:16:39 +00:00
Jack Jansen
34cbe718d4
Fixed broken newlines and changed module name. Still untested.
2001-11-05 16:15:45 +00:00
Jack Jansen
52e9045da6
Carbon Event Manager module donated by Donovan Preston. Checked in as I received them (except for namechange), these will not work as-is, that'll be fixed in a later checkin.
2001-11-05 14:44:23 +00:00
Jack Jansen
537a69fe66
Make the CoreFoundation object _New and _Convert routines available to other modules. Idea by Donovan Preston, implementaion by me.
2001-11-05 14:39:22 +00:00