summaryrefslogtreecommitdiffstats
path: root/Mac/Python
Commit message (Collapse)AuthorAgeFilesLines
* Release a PYC resource after reading it. No need to keep it incore.Jack Jansen2001-02-211-0/+2
|
* More changes to attempt to get the menubar back on exit. Without success:-(Jack Jansen2001-02-172-2/+14
|
* Made version string shorter for Carbon so it fits on one line.Jack Jansen2001-02-171-13/+5
|
* Bit the bullet and added a private GUSISIOUX for Python. This makes the ↵Jack Jansen2001-02-113-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.
* On MacOSX StackSpace() may lie because it doesn't know about the stack ↵Jack Jansen2001-02-021-2/+19
| | | | rlimit. For now we set a hard limit of 256K (default rlimit is 512K).
* Trigger keep-console-open on GUSISIOUX_STATE_UNKNOWN. Better than the ↵Jack Jansen2001-01-161-3/+3
| | | | previous complicated expression.
* Fixed Carbon command-dot handling. There is still a problem, though, and you ↵Jack Jansen2001-01-121-2/+2
| | | | may have to hit it repeatedly.
* Got rid of ifdefs to enable MacTCP GUSI support, Open Transport always works ↵Jack Jansen2001-01-121-4/+0
| | | | fine nowadays.
* When compiling for GUSI and Carbon disable te "keep open on unseen output", ↵Jack Jansen2001-01-111-2/+2
| | | | for the time being.
* Disabled a few other routines that are available in CarbonLib.Jack Jansen2001-01-111-2/+4
|
* FSSpec names may be longer on carbon (1024 chars), cater for that in buffer ↵Jack Jansen2001-01-091-2/+2
| | | | sizes.
* Don't need to define c2pstrcpy() on Carbon: it's in CarbonLib.Jack Jansen2001-01-091-0/+2
|
* If we're not using GUSI the "keep open on unseen output" becomes the same as ↵Jack Jansen2001-01-091-0/+6
| | | | "always keep open".
* Added a c2pstrcpy() function.Jack Jansen2000-12-121-0/+11
|
* Added PyMac_OutputSeen(), which acknowledges all current output in the stdio ↵Jack Jansen2000-10-191-0/+9
| | | | window, i.e. it acts like input has been read insofar as the keep-console-open option is interested.
* Made options global (as PyMac_options) so macosmodule can access it.Jack Jansen2000-10-121-16/+16
|
* Keepconsole is now a 4-way option: never/errorexit/unseen output/always. ↵Jack Jansen2000-09-221-11/+44
| | | | Default is "unseen output". Upped the Popt version number.
* PyOS_CheckStack now understands multiple threads. Other threads are not ↵Jack Jansen2000-09-081-2/+14
| | | | stack-checked, but at least they don't appear to always be out of stack.
* Use same short banner message as unix/win Python.Jack Jansen2000-09-081-3/+7
|
* Removed debug output.Jack Jansen2000-08-251-3/+0
|
* Cheaper implementation of PyOS_CheckStack: only call StackSpace once and ↵Jack Jansen2000-08-251-3/+6
| | | | keep a sentinel in a static variable.
* Removed temporary code to disable OT networking (this was a workaround for ↵Jack Jansen2000-08-171-1/+1
| | | | getpeername() not working in a previous release of GUSI, but it has been fixed).
* Removed temporary code that always set creator to SimpleText.Jack Jansen2000-08-171-2/+7
|
* Added more prototypes.Jack Jansen2000-07-242-5/+9
|
* Added PyMac_getscript() which returns the pythonic name of the current ↵Jack Jansen2000-07-241-0/+34
| | | | script. Not ideal and not complete, but good enough for the time being. Idea and most of the code by Fredrik Lund.
* MacPython on MacOSX DP4 gets started in the wrong directory. The workaround ↵Jack Jansen2000-07-181-1/+16
| | | | (ifdeffed by USE_ARGV0_CHDIR) is to do a chdir() to the folder part of our executable name.
* Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.Jack Jansen2000-07-144-10/+10
|
* include macdefs.h for declaration of getwd, if non-gusi python.Jack Jansen2000-07-141-0/+1
|
* PyMac_PromptGetFile and PyMac_GetDirectory don't exist in carbonpython.Jack Jansen2000-07-141-5/+2
|
* Got rid of __SC__ ifdefs.Jack Jansen2000-07-111-4/+0
|
* Removed guesstabsize.c, which is obsolete.Jack Jansen2000-07-111-63/+0
|
* ANSIfication step 2: make sure all needed prototypes are available, and all ↵Jack Jansen2000-07-1110-28/+49
| | | | | | needed header files included.
* ANSIfication step 1: get rid of Py_PROTO and Py_FPROTO.Jack Jansen2000-07-112-5/+5
|
* PyMac_FindModuleExtension now uses a size_t as its size parameter for ↵Jack Jansen2000-07-031-1/+1
| | | | compatibility.
* Made argc/argv processing work again under carbon.Jack Jansen2000-06-201-2/+2
|
* Oops, default type and creator were reversed.Jack Jansen2000-06-141-1/+1
|
* Removed assorted old ifdefs.Jack Jansen2000-06-041-17/+0
|
* Removed THINK_C support.Jack Jansen2000-06-042-14/+0
|
* Removed THINK_C support.Jack Jansen2000-06-041-7/+9
| | | | Added a CARBON indicator to the version string.
* Replaced GetFInfo and SetFInfo calls with FspGetFInfo and FspSetFInfo calls, ↵Jack Jansen2000-06-021-3/+9
| | | | which are carbon-compatible.
* Removed (within an #ifdef) Carbon-incompatabilities:Jack Jansen2000-06-021-0/+6
| | | | | - Don't call all the toolbox init routines. - No balloon help, so removed help code from the initial dialog.
* Removed (within an #ifdef) Carbon-incompatabilities:Jack Jansen2000-06-021-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).
* Fixed callback function arguments to be carbon-compatible.Jack Jansen2000-06-021-4/+6
| | | | (Temporarily?) removed call to ProcessHighLevelEvent until we find out how to do this (Carbon only).
* GUSI 2.0.5 has a non-functional getsockname() if you use Open Transport. For ↵Jack Jansen2000-05-101-1/+2
| | | | now the workaround is to only enable MacTCP sockets.
* Removed string-exception preference, added tabcheck and NavService ↵Jack Jansen2000-05-051-3/+33
| | | | preference, upped version number.
* Got rid of w/MSL in the version string.Jack Jansen2000-05-051-9/+3
|
* Moved to the Compat folder (in case anyone still wants to try MPW building), ↵Jack Jansen2000-05-031-45/+0
| | | | it hasn't been used for years.
* Removed, the core-python getmtime works fine with GUSI2.Jack Jansen2000-05-031-57/+0
|
* Made the GUSI options work again with GUSI 2.Jack Jansen2000-04-212-5/+38
|
* Started on GUSI2 and threading support.Jack Jansen2000-04-077-21/+143
|