Commit graph

99 commits

Author SHA1 Message Date
Jack Jansen
007fa82581 Include config.h 1996-08-19 11:36:59 +00:00
Jack Jansen
cfadbd40e1 Guido:
- new SpinCursor (replacing Jack's almost-identical one)
- use GetEventQueue in stead of GetEvQHdr
1996-08-19 11:36:25 +00:00
Jack Jansen
76ceece75a Guido: added some void's to declarations 1996-08-19 11:18:24 +00:00
Jack Jansen
9ff06cea7f Guido: changed __sinit to __initialize for CFM68K. 1996-08-19 11:17:33 +00:00
Jack Jansen
7ac70afed1 Dummy SpinCursor() if __CFM68K__ is defined 1996-08-19 11:01:05 +00:00
Jack Jansen
1d2f863e51 Guido's 1.4b2 fixes: Py_GetProgramName, Py_GetPrefix and Py_GetExecPrefix. 1996-08-02 15:16:16 +00:00
Jack Jansen
d1f06313f6 - Minimum stacksize is now 8K for PPC, 4K for 68K
- Added PyMac_BuildNumVersion
1996-08-01 15:23:54 +00:00
Jack Jansen
1ed9529a68 Added PyOS_CheckStack() function which returns -1 when we are running
low on stackspace.
1996-07-22 15:25:10 +00:00
Jack Jansen
a547dcaff0 Old names changed to Py_GetCopyright, etc. 1996-07-10 15:48:25 +00:00
Jack Jansen
31dd5c083b PyMac_GetFixed() didn't return 1 on success 1996-05-31 13:01:39 +00:00
Jack Jansen
a486a55f59 Added support for override preferences 1996-04-04 15:39:18 +00:00
Jack Jansen
975aa22bdd Don't change Standard File folder on chdir(). 1996-03-25 15:46:25 +00:00
Jack Jansen
415571cc9f Replaced non-ascii chars by backslash escapes 1996-03-25 15:46:03 +00:00
Jack Jansen
1a0dafb1ce Somehow the <<terminated>> got mangled. Fixed. 1996-03-20 16:19:00 +00:00
Jack Jansen
e355c4568f - Allow setting of argc/argv in <option>-start dialog
- Set "ok" to be default button
1996-03-12 13:29:04 +00:00
Jack Jansen
2429c722d7 Added missing include of Fonts.h 1996-03-07 15:17:11 +00:00
Jack Jansen
378815ca86 Replaced previous gusi-chdir() fix by a call to PyMac_FixGUSIcd()
after each chdir call.
1996-03-06 16:21:34 +00:00
Jack Jansen
911ad6b067 Added code to make fsspecs work for gusi-python 1996-03-05 16:56:24 +00:00
Jack Jansen
8ab1148762 Added __sinit() call, so C++ initializations in shared library work 1996-02-29 16:10:32 +00:00
Jack Jansen
01fbc68896 - Reorganized init code
- Fixed serious bug in code to get options from a resource
1996-02-28 15:42:47 +00:00
Jack Jansen
a4b7e14df8 Store default startup options in preference file or
app.
1996-02-21 16:46:57 +00:00
Jack Jansen
532e3c2bf6 Changed MacOS creator code from PYTH to Pyth 1996-02-21 15:36:26 +00:00
Jack Jansen
56ed26ed11 Ported to CW8 (added PRE_CW8 ifdef for CW7, for the time being) 1996-02-20 16:25:31 +00:00
Jack Jansen
c743c8d166 Modified for GUSI 1996-02-14 16:02:30 +00:00
Jack Jansen
fa4d5d0414 Added converters for Fixed 1995-11-15 15:19:29 +00:00
Jack Jansen
e2b5d046d6 Changed for the 1.3.2 compiler (CW7.5) 1995-11-14 10:26:00 +00:00
Jack Jansen
79559dcf47 Initialize GUSI for MacTkPython 1995-11-14 10:24:44 +00:00
Jack Jansen
dbe75ae1d3 Continue looking for "open doc" events even after "open app". This
allows you to debug the interpreter in non-interactive mode.
1995-11-10 14:54:16 +00:00
Jack Jansen
38e976665d Cosmetic change to event handling. 1995-11-10 14:53:00 +00:00
Jack Jansen
1e8557a9fe For MW Python, update titlebar of window when python exits. 1995-11-10 14:51:26 +00:00
Jack Jansen
0168f279cc Added options for keeping window open on normal/error termination
Moved whole exit-handling of console window here (from pythonrun.c)
1995-10-27 13:32:30 +00:00
Jack Jansen
85c9aea6e2 Added prototypes. 1995-10-23 13:57:03 +00:00
Jack Jansen
178652b06d Export strdup (parsermodule needs it) 1995-10-12 10:22:57 +00:00
Jack Jansen
83f45401e8 Removed unused variables 1995-10-09 23:25:32 +00:00
Jack Jansen
b39be2173b Fixed to work on 68K (could be yet another optimizer bug or something) 1995-09-01 11:48:10 +00:00
Jack Jansen
41fa7ea719 Python will now attempt (again) to create at least a minimal
preferences file if it is missing.
1995-08-31 13:59:36 +00:00
Jack Jansen
847e89ecfa Removed unused variables 1995-08-31 13:57:40 +00:00
Jack Jansen
57633c1a48 removed unused variables 1995-08-31 13:57:06 +00:00
Jack Jansen
819f1770f6 Lots of stuff moved to other files.
Include pythonresources.h.
1995-08-14 12:35:10 +00:00
Jack Jansen
696c95800e This is completely different from the old mainmain (which wasn't used
anymore) and is the new main program for MacPython. Built from bits
and pieces of config.c, macglue.c and pythonmain.c.
1995-08-14 12:33:20 +00:00
Jack Jansen
12fce3eda9 macgetpath - sys.path setting code factored out of config.c and
macglue.c
macgetplatform - factored out of config.c
1995-08-14 12:31:44 +00:00
Jack Jansen
f717ac29f0 Merged Jack's macgetcompiler.c and Guido's maccompiler.c and named the
result macgetcompiler.c (after all, *I* did the merging:-)
1995-08-14 12:30:15 +00:00
Guido van Rossum
6e39e53cde Initial revision 1995-08-08 14:11:07 +00:00
Jack Jansen
cf6369394e Better error messages wrt missing resources and preferences 1995-08-07 14:36:06 +00:00
Jack Jansen
292b0f96f3 Added code so you canset "command line options" if you
option-click/drag python. Needs a new dialog resource.
1995-07-29 13:52:37 +00:00
Jack Jansen
cc456fbe82 Un-installing of AE handlers fixed (AE is very picky that you specify
the same UPP)
1995-07-29 13:50:59 +00:00
Jack Jansen
f74f63a43f Initial port to CodeWarrior CFM68K support (mainly by disabling
unsupported features).
1995-06-27 13:18:14 +00:00
Jack Jansen
08305504f1 Added code to obtain sys.path from a resource
Removed code to update the preferences file, use EditPythonPrefs.py
in stead (actually, code is still there if you define USE_MAC_MODPREFS)
1995-06-18 20:03:40 +00:00
Jack Jansen
2a58638eae Ported to CW6 1995-06-14 14:44:17 +00:00
Jack Jansen
45ff77f43e - The prefs file wasn't updated correctly if it already existed.
- Guido's r1.23 fix wrt PyMac_DoYieldEnabled had somehow gotten lost.
1995-04-24 12:41:41 +00:00