summaryrefslogtreecommitdiffstats
path: root/Mac/Python
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* If there's an error in an fsspec argument raise MacOS.Error, not ValueError.Jack Jansen2000-01-241-1/+1
|
* Added initializer routine optionally to be used as PEF fragment ↵Jack Jansen2000-01-071-0/+34
| | | | initialization routine, which allows us to get at our own resource fork even if some shared library init routine opens other resource files.
* Added PyMac_BuildOptStr255, which returns None on a null pointer.Jack Jansen1999-12-171-0/+14
|
* Dummy functions which return unimpErr for lots of toolbox calls that are ↵Jack Jansen1999-12-121-0/+290
| | | | | | unavailable for 68K. This way we don't have to disable thm in bgen, so we can still use them on PPC.
* Oops, PLstring funcs should be "pascal". Funny this never caused problems ↵Jack Jansen1999-12-121-3/+9
| | | | before...
* First bits and pieces of appearance support: an init routine, a global flag ↵Jack Jansen1999-12-072-0/+25
| | | | | | PyMac_AppearanceCompliant (exported thru MacOS). If USE_APPEARANCE is off the code is disabled (but the variables are still there, set to 0).