66 Commits

Author SHA1 Message Date
Jack Jansen
75975c70ab If you double-click a file with creator Pyth but owner != TEXT exit with a warning that this is not a script but an auxiliary document such as a preferrences file or an aplication template. This is a lot better than giving syntax errors on binary data:-) 2001-07-29 21:23:18 +00:00
cvs2svn
1a2d894b13 This commit was manufactured by cvs2svn to create branch
'release21-maint'.
2001-07-11 12:15:15 +00:00
cvs2svn
a839747eb3 This commit was manufactured by cvs2svn to create branch
'release21-maint'.
2001-04-17 15:19:29 +00:00
Jack Jansen
657ba27dde More changes to attempt to get the menubar back on exit. Without success:-( 2001-02-17 22:02:07 +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
c00df0bbba Trigger keep-console-open on GUSISIOUX_STATE_UNKNOWN. Better than the previous complicated expression. 2001-01-16 15:54:58 +00:00
Jack Jansen
264630e855 When compiling for GUSI and Carbon disable te "keep open on unseen output", for the time being. 2001-01-11 23:04:32 +00:00
Jack Jansen
6ff228c6d2 If we're not using GUSI the "keep open on unseen output" becomes the same as "always keep open". 2001-01-09 22:24:06 +00:00
Jack Jansen
8413b47ba7 Added PyMac_OutputSeen(), which acknowledges all current output in the stdio window, i.e. it acts like input has been read insofar as the keep-console-open option is interested. 2000-10-19 22:02:16 +00:00
Jack Jansen
dc86f9ebf9 Made options global (as PyMac_options) so macosmodule can access it. 2000-10-12 21:23:19 +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
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
5bdbabd203 Added more prototypes. 2000-07-24 19:52:52 +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
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
021da55579 Removed THINK_C support. 2000-06-04 21:56:05 +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
0c6d037cc5 Removed string-exception preference, added tabcheck and NavService preference, upped version number. 2000-05-05 23:11:14 +00:00
Jack Jansen
2d1306b7cf Started on GUSI2 and threading support. 2000-04-07 09:10:49 +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
e742487ca5 Bigger buffer size for C profiler (if profiling is enabled). 1999-09-30 11:20:11 +00:00
Jack Jansen
87c485c1ad Initialize the program name before adding shared library resources (Just). 1998-07-31 09:38:01 +00:00