Commit Graph

1415 Commits

Author SHA1 Message Date
Jack Jansen 5660639f9f Moved PyOS_StackCheck prototype to pythonrun.h 2000-08-07 21:03:33 +00:00
Jack Jansen 5bcb215e6e Project for pyexpat module. 2000-08-06 21:55:43 +00:00
Jack Jansen b88b0bce2a ANSIfied. 2000-07-31 22:07:49 +00:00
Jack Jansen cbfe3c8955 Two more cases of GUSI2 include access paths not being correct (reveiled by the new pyport.h). 2000-07-31 22:07:21 +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 5bdbabd203 Added more prototypes. 2000-07-24 19:52:52 +00:00
Jack Jansen 1f9f2f4c49 Added PyMac_getscript() which returns the pythonic name of the current script. Not ideal and not complete, but good enough for the time being. Idea and most of the code by Fredrik Lund. 2000-07-24 19:50:16 +00:00
Jack Jansen 12d86c8240 Declare fileno() with prototype if USE_GUSI2 defined. This isn't really the right place, but it will have to do for now. 2000-07-24 19:46:27 +00:00
Jack Jansen bc66f950e8 If any of the builds in a group fails offer to stop the fullbuild process and open the failing projects in codewarrior. 2000-07-24 19:45:07 +00:00
Jack Jansen 919d3267ff Added a "compile-time" flag PPC_ONLY, if set we make ppc-only applications without posting the dialog. This is the normal situation since 1.6alfa (no more 68k support). 2000-07-24 19:44:17 +00:00
Jack Jansen 5199c54e38 Put in an earlier include of sys/signal.h (within ifdef USE_GUSI) to forestal a multiple define. 2000-07-24 19:42:53 +00:00
Jack Jansen ab48e905b5 Don't call BringToFront() on the dialog object, but call GetDialogWindow() to get a window object. 2000-07-24 14:07:15 +00:00
Jack Jansen b1aac244d0 'carb' resource for carbon application. 2000-07-18 09:43:27 +00:00
Jack Jansen e82fad7b8c Some thanks weren't checked in yet. 2000-07-18 09:41:31 +00:00
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