Commit Graph

201 Commits

Author SHA1 Message Date
Jack Jansen
53bafd97d0 PyOS_CheckStack now understands multiple threads. Other threads are not stack-checked, but at least they don't appear to always be out of stack. 2000-09-08 22:05:48 +00:00
Jack Jansen
65c3ee0f66 Use same short banner message as unix/win Python. 2000-09-08 10:20:37 +00:00
Jack Jansen
6be3480083 Removed debug output. 2000-08-25 21:58:00 +00:00
Jack Jansen
14a9171cff Cheaper implementation of PyOS_CheckStack: only call StackSpace once and keep a sentinel in a static variable. 2000-08-25 21:57:23 +00:00
Jack Jansen
fb106c8c2f Removed temporary code to disable OT networking (this was a workaround for getpeername() not working in a previous release of GUSI, but it has been fixed). 2000-08-17 20:04:26 +00:00
Jack Jansen
d843a018e9 Removed temporary code that always set creator to SimpleText. 2000-08-17 20:01:24 +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
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
74a1e63a89 Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef. 2000-07-14 22:37:27 +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
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
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
d88296d25a ANSIfication step 1: get rid of Py_PROTO and Py_FPROTO. 2000-07-11 19:51:05 +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
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
490121355e Removed assorted old ifdefs. 2000-06-04 22:11:10 +00:00
Jack Jansen
021da55579 Removed THINK_C support. 2000-06-04 21:56:05 +00:00
Jack Jansen
d9f6e92fbf Removed THINK_C support.
Added a CARBON indicator to the version string.
2000-06-04 21:51:36 +00:00
Jack Jansen
33d1ad28cb Replaced GetFInfo and SetFInfo calls with FspGetFInfo and FspSetFInfo calls, which are carbon-compatible. 2000-06-02 21:29:59 +00:00
Jack Jansen
ee6eeb1876 Removed (within an #ifdef) Carbon-incompatabilities:
- Don't call all the toolbox init routines.
- No balloon help, so removed help code from the initial dialog.
2000-06-02 21:28:52 +00:00
Jack Jansen
bb6d83a8c4 Removed (within an #ifdef) Carbon-incompatabilities:
- Use TickCount() in stead of LMGetTicks()
- Don't use xxxGetFile event filter
- Don't call SystemTask or HandleSysWindowEvent (is this also automatically handled under os9??)
- Don't scan event queue for cmd-. (to be fixed at some point).
2000-06-02 21:27:11 +00:00