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
Jack Jansen
4fb67f4659
Oops, WaitNextEvent was hand-coded, and it also needed the h->H conversion for PyArg_ParseTuple format strings.
2000-07-24 19:59:17 +00:00
Jack Jansen
a44923fbfe
Got rid of obsolete HAVE_UNIVERSAL_HEADERS test and SystemSevenOrLater define.
2000-07-14 22:52:50 +00:00
Jack Jansen
74a1e63a89
Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.
2000-07-14 22:37:27 +00:00
Jack Jansen
9d8b96c850
pymactoolbox.h contains protoypes for all externally visible toolbox module
...
functions. Include it in stead of duplicating the declarations everywhere. Also
cleaned up toolbox module exports, and got rid of resNotFound error.
2000-07-14 22:16:45 +00:00
Jack Jansen
e17fd2a5af
Got rid of __SC__ ifdefs.
2000-07-11 22:37:03 +00:00
Jack Jansen
9ae898b415
ANSIfication step 2: make sure all needed prototypes are available, and all needed
...
header files included.
2000-07-11 21:16:03 +00:00
Jack Jansen
85152b93cb
Fiddled declaration/implementation of setcallback() so that it is ansifyable.
2000-07-11 21:12:55 +00:00
Jack Jansen
d88296d25a
ANSIfication step 1: get rid of Py_PROTO and Py_FPROTO.
2000-07-11 19:51:05 +00:00
Jack Jansen
0b13e7c153
Changed all (hopefully) uses of unsigned 16 bit value to use H format specifier, now that h is signed-only.
2000-07-07 13:09:35 +00:00
Jack Jansen
0ed1148b75
added ucnhash (optional on USE_UCNHASH) and the mysteriously disappeared math.
2000-06-28 21:59:35 +00:00
Jack Jansen
8d929aee49
All relevant toolbox modules have now been carbonized.
2000-06-21 22:07:06 +00:00
Jack Jansen
abf17032a4
Made to work under carbon.
2000-06-20 07:42:23 +00:00
Jack Jansen
fd78de3a74
Under carbon use the GetQDGlobalxxx methods to implement Qd.qd.member access.
2000-06-20 07:42:00 +00:00
Jack Jansen
d1fb71121b
Moved AE module to the core toolbox set: it is needed by Nav and it isn't all _that_ huge.
2000-06-07 20:13:05 +00:00
Jack Jansen
fb1aafd06c
Removed SYMANTEC_CFM68K support.
2000-06-04 22:07:37 +00:00
Jack Jansen
d4d24cd96b
Removed USE_STDWIN support.
2000-06-04 22:02:02 +00:00
Jack Jansen
021da55579
Removed THINK_C support.
2000-06-04 21:56:05 +00:00
Jack Jansen
e79dc76f53
Made the core toolbox modules carbon-compatible using the new greylist feature of bgen: non-carbon methods are still included in non-carbon MacPython. The issue of backward compatibility of Python code is still open.
...
Macmodule and macosmodule have also been carbonified. Some functionality is still missing there.
2000-06-02 21:35:07 +00:00
Jack Jansen
d9c01a56a0
Manually added HRHTMLRenderingLibAvailable.
...
Blacklist HRDisposeReference and call it in the dispose routine.
2000-05-15 15:36:52 +00:00
Jack Jansen
ebd0106c77
Interface to macOS 9 HTMLRenderingLib. Not yet functional.
2000-05-14 22:05:36 +00:00
Jack Jansen
12e89e42d8
Fixed to work again without USE_GUSI
2000-05-12 21:36:29 +00:00
Jack Jansen
48b486b054
Added unicodedata and _codecs modules (which had apparently slipped through until now).
2000-05-12 21:36:06 +00:00
Jack Jansen
9d61d1bab1
Got rid of PyMem_XDEL.
2000-05-05 23:09:16 +00:00