226 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
Jack Jansen
774a968a64 If Python doesn't have a Unicode codec for the current system encoding
return "ascii", not "macroman".
2001-07-18 22:37:56 +00:00
cvs2svn
4522cc9b8b This commit was manufactured by cvs2svn to create branch
'release21-maint'.
2001-07-18 22:37:56 +00:00
cvs2svn
1a2d894b13 This commit was manufactured by cvs2svn to create branch
'release21-maint'.
2001-07-11 12:15:15 +00:00
cvs2svn
7f29afbd15 This commit was manufactured by cvs2svn to create branch
'release21-maint'.
2001-06-21 18:51:11 +00:00
cvs2svn
36e23e056f This commit was manufactured by cvs2svn to create branch
'release21-maint'.
2001-05-23 14:52:45 +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
c6cecf55d1 Reset the resource file chain before calling PyMac_OpenPrefFile. I'm not sure why this wasn't a problem before... 2001-02-28 15:54:18 +00:00
Jack Jansen
add8b246f6 Release a PYC resource after reading it. No need to keep it incore. 2001-02-21 15:48:19 +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
fab7415831 Made version string shorter for Carbon so it fits on one line. 2001-02-17 22:00:43 +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
340eb88fa8 On MacOSX StackSpace() may lie because it doesn't know about the stack rlimit. For now we set a hard limit of 256K (default rlimit is 512K). 2001-02-02 22:40:28 +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
d7b68021ce Fixed Carbon command-dot handling. There is still a problem, though, and you may have to hit it repeatedly. 2001-01-12 23:42:28 +00:00
Jack Jansen
8e0ee7761d Got rid of ifdefs to enable MacTCP GUSI support, Open Transport always works fine nowadays. 2001-01-12 23:41:46 +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
6ba34aa07f Disabled a few other routines that are available in CarbonLib. 2001-01-11 23:03:56 +00:00
Jack Jansen
ebadcb1c1d FSSpec names may be longer on carbon (1024 chars), cater for that in buffer sizes. 2001-01-09 22:25:49 +00:00
Jack Jansen
91faef83ca Don't need to define c2pstrcpy() on Carbon: it's in CarbonLib. 2001-01-09 22:24:56 +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
5afad8315b Added a c2pstrcpy() function. 2000-12-12 22:12:14 +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