Jack Jansen
3f49e4d064
Oops, repr didn't allocate the memory it used...
2001-02-11 01:12:53 +00:00
Jack Jansen
69e7f11aa8
Added DlgObj_WhichDialog, analoguous to WhichWindow, and use this to get at dialogs.
2001-02-06 16:14:54 +00:00
Jack Jansen
d6b2aeb10d
QDFlushPortBuffer() has an optional region argument.
2001-02-06 16:13:50 +00:00
Jack Jansen
ecdaadb7c6
Also recognize DragRef as a method-argument.
2001-02-05 13:47:13 +00:00
Jack Jansen
dc2ac8d39f
Accept Dialogs and Windows where Grafports are expected (such as in SetPort) and do a MacOSX compatible cast. Bit of a hack, but good enough for now.
2001-02-02 22:41:48 +00:00
Jack Jansen
87eb4f8bb3
New internal function BMObj_NewCopied() which copies the BitMap. Used to get the screenBits bitmap.
2001-01-30 09:57:13 +00:00
Jack Jansen
bf21bef254
Got ZeroScrap() and PutScrap() to work under Carbon.
2001-01-29 15:20:06 +00:00
Jack Jansen
5c3c58bde0
Accessor functions for regions and such expect an existing region as parameter. Fixed for grafport attribute access.
...
Got GetPortBitMapForCopyBits() and port.portBits to work.
2001-01-29 14:07:01 +00:00
Jack Jansen
54c0787909
Added generators for EnableMenuItem and CheckMenuItem (which have Mac in front of their name in the include files).
2001-01-29 13:32:10 +00:00
Jack Jansen
f424f24bbb
Re-enabled Scrap (even though it's mostly empty right now).
2001-01-29 13:31:10 +00:00
Jack Jansen
5a8115c94b
Ported the icglue module to carbon.
2001-01-29 13:27:46 +00:00
Jack Jansen
4ff2fe7ee1
ucnhash module has gone, xreadlines module added.
2001-01-25 16:28:00 +00:00
Jack Jansen
7b3cc1f9c3
Regenerated (and manually massaged for PutScrap) so it can be byuilt both for Carbon and Classic. The Carbon module is rather empty, though, for now.
2001-01-24 16:04:01 +00:00
Jack Jansen
5396feb3bb
Quick (manual) fix to make the module compile with Waste 2.0. TBD later.
2001-01-24 16:03:05 +00:00
Jack Jansen
f47075e86d
Blacklisted (for the time being) the functions that have a component argument. Don't want to drag the Cm module into the core set too.
2001-01-24 14:22:13 +00:00
Jack Jansen
bd58edaa01
Implemented direct attribute access for Carbon builds and accessor functions for non-carbon builds.
2001-01-24 14:05:11 +00:00
Jack Jansen
193509b320
Added an attribute runtimemodel, which is either "ppc" or "carbon" and is the runtime model of the current interpreter. Will have to ad another value later for real MacOSX MachO, I guess.
2001-01-23 22:38:23 +00:00
Jack Jansen
c33a423c53
Treat an empty kwdict argument the same as a missing one.
2001-01-19 23:46:28 +00:00
Jack Jansen
726d873887
Undefine and redefine PRAGMA_ALIGN_SUPPORTED under Carbon. Apple's "solution" of a funny define makes portable code impossible:-(
2001-01-19 23:45:57 +00:00
Jack Jansen
319c67b6e1
The interruptRoutine attribute is gone under Carbon. Luckily it appears that nothing used it.
2001-01-12 23:39:59 +00:00
Jack Jansen
736b51df7c
SetpopupData and GetPopupData are gone under Carbon, use {Get,Set}PopupMenu{Handle,ID} in stead.
...
The UserPane routines appear to be fixed in the current Universal Headers, so they're re-enabled.
2001-01-12 23:39:00 +00:00
Jack Jansen
d9d0b5fab1
xstat() will never be implemented under Carbon. Fortunately it also doesn't appear to be used anywhere.
2001-01-12 23:37:14 +00:00
Jack Jansen
a9e3db354d
Carbon defines {Get,Set}ControlDataHandle, so unfortunately our variants on {Get,Set}ControlData have gotten an underscore: GetControlData_Handle, etc. This is an incompatible change:-(
2001-01-09 22:10:16 +00:00
Jack Jansen
0d202b7403
Various tweaks to make it everything build and compile again under carbon. Mainly greylisted functions.
2001-01-09 22:09:31 +00:00
Jack Jansen
b55e5f1b62
Fixed a few declarations.
2001-01-03 16:44:27 +00:00
Jack Jansen
7ee67a1224
Remove (unused) regex imports.
2001-01-02 22:02:45 +00:00
Jack Jansen
7ff3133a7f
Regenerated so that NewGWorld is included.
2000-12-19 22:28:14 +00:00
Jack Jansen
32248655ee
Emulate a few more non-carbon calls in carbon and the other way around.
2000-12-19 22:23:06 +00:00
Jack Jansen
87a30924d0
Added hash() and compare() functions. Needed because multiple WinObj's can now refer to the same underlying WindowRef.
2000-12-19 21:34:55 +00:00
Jack Jansen
620e914266
Blacklisted a few constants with funny definitions (and they're not important anyway: backward compatible error numbers).
2000-12-19 21:33:51 +00:00
Jack Jansen
80716f0e61
Set autodispose only if RefCon isn't set yet on the window. This way we don't accidentally dispose of windows that are actually dialogs-in-disguise.
2000-12-14 22:29:00 +00:00
Jack Jansen
723ad8ae73
More toolbox modules adapted to Universal Headers 3.3.2.
2000-12-12 22:10:21 +00:00
Jack Jansen
8ed81303f6
Use new multi-input-file feature of bgen in stead of @-file hack to parse multiple header files. A side effect is that the ObjectSupportLib routines are now also available in Python.
2000-12-12 22:09:11 +00:00
Jack Jansen
b5e4248f71
Drag moved to core toolbox modules (Win uses it).
2000-12-12 21:53:14 +00:00
Jack Jansen
f7d5aa61d3
Adapted to Universal Headers 3.3.2. More to follow.
2000-12-10 23:43:49 +00:00
Jack Jansen
8413b47ba7
Added PyMac_OutputSeen(), which acknowledges all current output in the stdio window, i.e. it acts like input has been read insofar as the keep-console-open option is interested.
2000-10-19 22:02:16 +00:00
Jack Jansen
6433fdf1fe
Added sha module, it's needed by the unicode stuff, it seems.
2000-10-12 21:24:24 +00:00
Jack Jansen
b19c667d94
Added a method KeepConsole so programs can override the Keep console open option.
2000-10-12 21:24:05 +00:00
Jack Jansen
04b85498b8
Fixes that should make it possible to run Python on machines without NavServices installed.
2000-09-14 20:47:00 +00:00
Jack Jansen
2cecd4115c
Added Qdoffs and (optionally) icglue modules.
2000-09-14 13:34:20 +00:00
Jack Jansen
97ed907df6
Some of the types are signed 8 bit ints. Fixed.
2000-09-08 22:06:16 +00:00
Jack Jansen
fa1e27d8d2
Got rid of Py_FatalError calls.
2000-09-08 10:21:44 +00:00
Jack Jansen
b8c4c7b37e
Added routine DlgObj_ConvertToWindow().
...
GetDialogWindow() returns an existing window.
Added a comment that the methodchain Dialogs->Windows is suspect under Carbon/MacOSX, but we need it under Carbon. No solution yet:-(
2000-08-25 22:25:54 +00:00
Jack Jansen
8748a0b654
Added a prototype for mstats().
2000-08-25 22:18:20 +00:00
Jack Jansen
0aee0e61f8
Window objects now also have an AutoDispose funcpointer (set for our windows, cleared for foreign windows). Needed mainly for Carbon (where we don't know about the windows belonging to our dialogs).
...
Fixed a few calls that return an ExistingWindow.
2000-08-25 22:17:51 +00:00
Jack Jansen
d8b382dc47
HMGetBalloonWindow should try to return an existing window.
2000-08-25 22:04:24 +00:00
Jack Jansen
cdb3483744
- Added pyexpat.
...
- Renamed socket to _socket.
2000-08-25 22:03:34 +00:00
Jack Jansen
742ca0385a
Updated for new AppleScript structure and moved to Lib (it's far too useful to lurk in the source folder).
2000-08-20 20:06:51 +00:00
Jack Jansen
18b47a07b7
Fixed again to work with the old scripting interface (so we can test the new one actually still works).
2000-08-20 20:02:39 +00:00
Jack Jansen
b88b0bce2a
ANSIfied.
2000-07-31 22:07:49 +00:00