Jack Jansen
3c05c1f01e
Got rid of outdated defines.
2002-12-14 00:05:00 +00:00
Jack Jansen
47ec141963
Added include guards and C++ extern "C" {} constructs. Partial fix for #607253 .
...
Bugfix candidate.
2002-09-10 12:32:47 +00:00
Jack Jansen
a5ffeb69ab
Added preferences/startup options for division warning
...
and accepting unix-style newlines on input.
2001-09-01 22:36:29 +00:00
Jack Jansen
cbed91b4db
Merging appropriate 2.1.1 fixes back into the main trunk.
2001-08-03 13:31:36 +00:00
Jack Jansen
8a38714ba0
Bit the bullet and added a private GUSISIOUX for Python. This makes the delayconsole and keepopen code neater. Also tells Sioux to behave better with events, and handles cmd-. during print better. The pythonpreferences have also changed due to this.
2001-02-11 01:08:04 +00:00
Jack Jansen
d5fd45ffa5
Made options global (as PyMac_options) so macosmodule can access it.
2000-10-13 19:44:40 +00:00
Jack Jansen
4a5eb967b8
Keepconsole is now a 4-way option: never/errorexit/unseen output/always. Default is "unseen output". Upped the Popt version number.
2000-09-22 21:50:11 +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
e4d7b5e626
Changed for the new preference resource version.
2000-05-07 22:07:26 +00:00
Jack Jansen
8f5725af60
First bits and pieces of appearance support: an init routine, a global flag PyMac_AppearanceCompliant (exported thru MacOS). If USE_APPEARANCE
...
is off the code is disabled (but the variables are still there, set to 0).
1999-12-07 23:08:10 +00:00
Jack Jansen
245d17930b
Added pascal-style string name of preference file resource, and bracketed
...
C struct declarations with #ifndef rez
1999-01-30 13:21:24 +00:00
Jack Jansen
6b02ac2321
I give in. Now Tk is also using resources just above 128, so Python
...
now uses only 228-256, leaving 128-228 free for others. This mod
affects prefs files, libraries and almost everything else, so I've
upped my local Python to 1.5b4 to remain sane.
1998-01-06 16:48:49 +00:00
Jack Jansen
c6bb281c50
Added old-exceptions and no-site-python options and upped preference
...
version to 4.
Added balloon-help item to options dialog.
1997-09-09 13:50:40 +00:00
Jack Jansen
447e01b04e
Preference resource now has a version number
1997-09-08 13:24:54 +00:00
Jack Jansen
001aa86d34
Added a range of resource numbers reserved for Bruce
1997-05-28 11:54:43 +00:00
Jack Jansen
42218ce33c
Added/updated copyright notices
...
(and the &*^$%@ resource files got binhexed again, sigh)
1997-01-31 16:15:11 +00:00
Jack Jansen
a83caa0331
Added range of resource-ids for twit.
1996-12-23 17:23:23 +00:00
Jack Jansen
d081b13c0d
Added resource for preference file name
1996-10-22 15:24:21 +00:00
Jack Jansen
a58d89eec4
'documented' resource-number useage of EditPythonPrefs
1996-10-11 13:19:52 +00:00
Jack Jansen
7d5f9e847a
- Put all options in a struct
...
- Unified initialization code for interpreter and applet
- Implemented new options to skip AE-processing for argc/argv and for
disabling interactive option setting
1996-09-07 17:09:31 +00:00
Jack Jansen
3d228879fe
macglue: added PyMac_AppRefNum
...
pythonresources: elaborated comment on preferences, added new options
1996-09-06 22:18:40 +00:00
Jack Jansen
3469e997b4
Python about box implemented. Slightly convoluted, since (a) we have
...
to override an internal sioux routine and (b) we have to override the
"about sioux" menuitem after sioux has created its menus.
1996-09-06 00:30:45 +00:00
Jack Jansen
ab69eb9673
Added resource-ids for override preferences.
1996-04-04 15:39:42 +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
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
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
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
c2e6dd8179
New file: list resource-ids in one place.
1995-08-14 12:34:42 +00:00