summaryrefslogtreecommitdiff
path: root/Mac/Python
AgeCommit message (Collapse)AuthorLines
2001-07-29If you double-click a file with creator Pyth but owner != TEXT exit with a ↵Jack Jansen-0/+5
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-18If Python doesn't have a Unicode codec for the current system encodingJack Jansen-1/+1
return "ascii", not "macroman".
2001-07-18This commit was manufactured by cvs2svn to create branchcvs2svn-0/+1257
'release21-maint'.
2001-07-11This commit was manufactured by cvs2svn to create branchcvs2svn-0/+1164
'release21-maint'.
2001-06-21This commit was manufactured by cvs2svn to create branchcvs2svn-0/+251
'release21-maint'.
2001-05-23This commit was manufactured by cvs2svn to create branchcvs2svn-0/+374
'release21-maint'.
2001-04-17This commit was manufactured by cvs2svn to create branchcvs2svn-2955/+0
'release21-maint'.
2001-02-28Reset the resource file chain before calling PyMac_OpenPrefFile. I'm not ↵Jack Jansen-0/+1
sure why this wasn't a problem before...
2001-02-21Release a PYC resource after reading it. No need to keep it incore.Jack Jansen-0/+2
2001-02-17More changes to attempt to get the menubar back on exit. Without success:-(Jack Jansen-2/+14
2001-02-17Made version string shorter for Carbon so it fits on one line.Jack Jansen-13/+5
2001-02-11Bit the bullet and added a private GUSISIOUX for Python. This makes the ↵Jack Jansen-12/+258
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-02On MacOSX StackSpace() may lie because it doesn't know about the stack ↵Jack Jansen-2/+19
rlimit. For now we set a hard limit of 256K (default rlimit is 512K).
2001-01-16Trigger keep-console-open on GUSISIOUX_STATE_UNKNOWN. Better than the ↵Jack Jansen-3/+3
previous complicated expression.
2001-01-12Fixed Carbon command-dot handling. There is still a problem, though, and you ↵Jack Jansen-2/+2
may have to hit it repeatedly.
2001-01-12Got rid of ifdefs to enable MacTCP GUSI support, Open Transport always works ↵Jack Jansen-4/+0
fine nowadays.
2001-01-11When compiling for GUSI and Carbon disable te "keep open on unseen output", ↵Jack Jansen-2/+2
for the time being.
2001-01-11Disabled a few other routines that are available in CarbonLib.Jack Jansen-2/+4
2001-01-09FSSpec names may be longer on carbon (1024 chars), cater for that in buffer ↵Jack Jansen-2/+2
sizes.
2001-01-09Don't need to define c2pstrcpy() on Carbon: it's in CarbonLib.Jack Jansen-0/+2
2001-01-09If we're not using GUSI the "keep open on unseen output" becomes the same as ↵Jack Jansen-0/+6
"always keep open".
2000-12-12Added a c2pstrcpy() function.Jack Jansen-0/+11
2000-10-19Added PyMac_OutputSeen(), which acknowledges all current output in the stdio ↵Jack Jansen-0/+9
window, i.e. it acts like input has been read insofar as the keep-console-open option is interested.
2000-10-12Made options global (as PyMac_options) so macosmodule can access it.Jack Jansen-16/+16
2000-09-22Keepconsole is now a 4-way option: never/errorexit/unseen output/always. ↵Jack Jansen-11/+44
Default is "unseen output". Upped the Popt version number.
2000-09-08PyOS_CheckStack now understands multiple threads. Other threads are not ↵Jack Jansen-2/+14
stack-checked, but at least they don't appear to always be out of stack.
2000-09-08Use same short banner message as unix/win Python.Jack Jansen-3/+7
2000-08-25Removed debug output.Jack Jansen-3/+0
2000-08-25Cheaper implementation of PyOS_CheckStack: only call StackSpace once and ↵Jack Jansen-3/+6
keep a sentinel in a static variable.
2000-08-17Removed temporary code to disable OT networking (this was a workaround for ↵Jack Jansen-1/+1
getpeername() not working in a previous release of GUSI, but it has been fixed).
2000-08-17Removed temporary code that always set creator to SimpleText.Jack Jansen-2/+7
2000-07-24Added more prototypes.Jack Jansen-5/+9
2000-07-24Added PyMac_getscript() which returns the pythonic name of the current ↵Jack Jansen-0/+34
script. Not ideal and not complete, but good enough for the time being. Idea and most of the code by Fredrik Lund.
2000-07-18MacPython on MacOSX DP4 gets started in the wrong directory. The workaround ↵Jack Jansen-1/+16
(ifdeffed by USE_ARGV0_CHDIR) is to do a chdir() to the folder part of our executable name.
2000-07-14Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.Jack Jansen-10/+10
2000-07-14include macdefs.h for declaration of getwd, if non-gusi python.Jack Jansen-0/+1
2000-07-14PyMac_PromptGetFile and PyMac_GetDirectory don't exist in carbonpython.Jack Jansen-5/+2
2000-07-11Got rid of __SC__ ifdefs.Jack Jansen-4/+0
2000-07-11Removed guesstabsize.c, which is obsolete.Jack Jansen-63/+0
2000-07-11ANSIfication step 2: make sure all needed prototypes are available, and all ↵Jack Jansen-28/+49
needed header files included.
2000-07-11ANSIfication step 1: get rid of Py_PROTO and Py_FPROTO.Jack Jansen-5/+5
2000-07-03PyMac_FindModuleExtension now uses a size_t as its size parameter for ↵Jack Jansen-1/+1
compatibility.
2000-06-20Made argc/argv processing work again under carbon.Jack Jansen-2/+2
2000-06-14Oops, default type and creator were reversed.Jack Jansen-1/+1
2000-06-04Removed assorted old ifdefs.Jack Jansen-17/+0
2000-06-04Removed THINK_C support.Jack Jansen-14/+0
2000-06-04Removed THINK_C support.Jack Jansen-7/+9
Added a CARBON indicator to the version string.
2000-06-02Replaced GetFInfo and SetFInfo calls with FspGetFInfo and FspSetFInfo calls, ↵Jack Jansen-3/+9
which are carbon-compatible.
2000-06-02Removed (within an #ifdef) Carbon-incompatabilities:Jack Jansen-0/+6
- Don't call all the toolbox init routines. - No balloon help, so removed help code from the initial dialog.
2000-06-02Removed (within an #ifdef) Carbon-incompatabilities:Jack Jansen-0/+25
- 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).