summaryrefslogtreecommitdiffstats
path: root/Mac/Python
Commit message (Collapse)AuthorAgeFilesLines
* 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).
* Bigger buffer size for C profiler (if profiling is enabled).Jack Jansen1999-09-301-1/+1
|
* Optimization: don't try to get a tabsize resource if we know the fileJack Jansen1999-09-301-0/+3
| | | | doesn't have one (stdin and such), OpenRF appears to be an expensive call.
* Put the applet code inside USE_MAC_APPLET_SUPPORT ifdefs, to make 68k ↵Jack Jansen1999-02-151-0/+6
| | | | standalone Python compile.
* (finally) unified the interpreter and the applet as Just suggested ages ago. TheJack Jansen1999-02-152-39/+12
| | | | resulting program is called PythonInterpreter.
* put the preferences file in a folder called "Python" inside the prefs ↵Just van Rossum1999-02-021-10/+37
| | | | folder, just like the IDE does -- jvr
* Replaced fprintf(stderr,...) with PySys_WriteStderr(...) where appropriate.Jack Jansen1998-10-121-4/+3
|
* Mods by Just to allow aliases in sys.path entriesJack Jansen1998-09-071-0/+20
|
* Support for freezing packages (Just).Jack Jansen1998-08-181-1/+32
|
* Initialize the program name before adding shared library resources (Just).Jack Jansen1998-07-311-0/+1
|
* Don't add the library file to the resource file chain if it is theJack Jansen1998-07-311-1/+18
| | | | same as the application file (Just).
* New about box, with the version mesage filled in in a text item, andJack Jansen1998-07-311-13/+14
| | | | PLstrcmp() fixed. (Just)
* The PYD resource should now contain 2 strings: one for the ppcJack Jansen1998-07-311-2/+10
| | | | | fragment name and one for the cfm68k fragment name (Just). Also, some unused variables removed.
* Re-indented properly (Just).Jack Jansen1998-07-311-173/+173
|
* If the preference filename resource is empty don't try to open orJack Jansen1998-07-131-4/+13
| | | | | | create the preferences file. This is so that frozen programs don't interfere with an existing Python installation, or leave turds in the Preferences folder.
* All import-related code has moved to macimport.c.Jack Jansen1998-07-132-224/+416
| | | | | | | | | There's also new support for importing code fragments: if a file on sys.path contains a PYD resource with resourcename equal to the name of the module to be imported this PYD resource should contain a (pascal) string with the name of a code fragment to load. This allows freezing Python programs without access to source or a development environment.
* Print message when we load a PYC resource, if verbose import flag is on.Jack Jansen1998-06-261-0/+3
|
* An applet with Popt and GUSI preferences but without alis resourceJack Jansen1998-05-071-2/+3
| | | | | didn't work, because the resource file chain was incomplete when we tried to open the preference file. Fixed.