Commit Graph

1401 Commits

Author SHA1 Message Date
Jack Jansen 660bb1d1c7 MacPython on MacOSX DP4 gets started in the wrong directory. The workaround (ifdeffed by USE_ARGV0_CHDIR) is to do a chdir() to the folder part of our executable name. 2000-07-18 09:40:39 +00:00
Jack Jansen 574c0e22a5 Define USE_GUSI if USE_GUSI1 or USE_GUSI2 is defined. 2000-07-18 09:40:08 +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 2d391f2f39 include stdio.h for sprintf prototype. 2000-07-14 22:18:32 +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 41e25cc317 include macdefs.h for declaration of getwd, if non-gusi python. 2000-07-14 22:16:01 +00:00
Jack Jansen bb7e213a8b PyMac_PromptGetFile and PyMac_GetDirectory don't exist in carbonpython. 2000-07-14 22:15:24 +00:00
Jack Jansen c3f593e6ab Don't declare sync if we use gusi. 2000-07-14 22:14:46 +00:00
Jack Jansen e17fd2a5af Got rid of __SC__ ifdefs. 2000-07-11 22:37:03 +00:00
Jack Jansen 1af5b082ab Removed guesstabsize.c, which is obsolete. 2000-07-11 21:18:44 +00:00
Jack Jansen 4ceaa03a3e - Removed guesstabsize.c, which is obsolete.
- ANSIfication step 3: enable "require prototypes" flags. Still lots of warnings, mainly on init routines and bgen stuff.
2000-07-11 21:18:10 +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 5e80a75799 Added a declaration of fileno() if we use GUSI. Not sure whether it should go here or in pyport.h really... 2000-07-11 21:14:21 +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 3d476d73a9 So many things have changed over the last few weeks that it's probably a good idea to check the project files in again. 2000-07-07 13:15:36 +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 89d017d072 Added the unchash module. 2000-07-07 13:08:09 +00:00
Jack Jansen f93cb1875c Evt moved to the core toolbox modules. 2000-07-04 21:12:30 +00:00
Jack Jansen fe38d2998f PyMac_FindModuleExtension now uses a size_t as its size parameter for compatibility. 2000-07-03 23:53:40 +00:00
Just van Rossum edd9924474 a minimal test app to show how to build a standalone app with W 2000-07-01 14:31:24 +00:00
Just van Rossum 5069498884 added clearkey = '\033' 2000-07-01 14:30:30 +00:00
Just van Rossum ed2ed9483f fixed bug in comment matching 2000-07-01 14:30:08 +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 e641ba1e6a ucnhash and various other modules added. 2000-06-28 21:58:03 +00:00
Jack Jansen 2819146cc7 Added USE_UCNHASH (experimental, I hope it can go), USE_TOOLBOX and USE_QT. 2000-06-28 21:57:24 +00:00
Jack Jansen 2c9cb7aff3 Added USE_UCNHASH (experimental, I hope it can go) 2000-06-28 21:57:05 +00:00
Jack Jansen 8d929aee49 All relevant toolbox modules have now been carbonized. 2000-06-21 22:07:06 +00:00
Jack Jansen 8eff33b51f Added an optional debug handler that traps and prints all unknown appleevents. 2000-06-20 22:01:04 +00:00
Jack Jansen d13c385462 Replaced OpenResFile calls with FSpOpenResFile calls (which are carbon-compatible). 2000-06-20 21:59:25 +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 ca23d910f8 Made argc/argv processing work again under carbon. 2000-06-20 07:40:34 +00:00
Jack Jansen 868f0c7155 Oops, default type and creator were reversed. 2000-06-14 09:12:44 +00:00
Jack Jansen f6b5374ecf Also add a one-line description of the "optional" directive. 2000-06-13 13:39:17 +00:00
Jack Jansen 5108db6232 Added _localemodule and exceptions.c 2000-06-07 21:09:40 +00:00
Jack Jansen f23a2e9418 Added _localemodule. 2000-06-07 20:36:51 +00:00
Jack Jansen dafe4712dd Nav removed (it has moved to the core toolbox modules). 2000-06-07 20:35:38 +00:00
Jack Jansen ee68fc3c7f Nav and AE have been moved to core toolbox modules: fixup dependent modules, export symbol list, etc. 2000-06-07 20:34:46 +00:00
Jack Jansen ebececc9d8 Moved AE module to the core toolbox set: it is needed by Nav and it isn't all _that_ huge.
Modified for new builtin exceptions.c.
2000-06-07 20:14:29 +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 1c0fceeaa7 Minor bugfix: one uthread-dependent cleanup had "if not uthread" in stead of "if uthread". 2000-06-07 20:11:03 +00:00
Jack Jansen fd771a6a85 Upped default memory size to 16MB 2000-06-07 20:08:43 +00:00
Jack Jansen dab0554d5d Added lib-tk to the standard sys.path initializer. 2000-06-05 08:35:47 +00:00
Jack Jansen 490121355e Removed assorted old ifdefs. 2000-06-04 22:11:10 +00:00
Jack Jansen 80dc66e428 Removed support for very old CodeWarrior runtimes. 2000-06-04 22:10:25 +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