summaryrefslogtreecommitdiffstats
path: root/Mac/Python
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Incorrect argument for PyMacBuildwide()Jack Jansen1998-04-231-5/+5
|
* Added PyMac_{Get,Build}wide. These should support python longints atJack Jansen1998-04-211-0/+23
| | | | some point in the future.
* - Universal Headers 3 modsJack Jansen1998-02-201-2/+4
| | | | - Started on menubar-restore code (but it still doesn't work 100%)
* Bug fix for fast module locationJack Jansen1997-10-081-1/+1
|
* Implemented nositepython and oldexceptions flagsJack Jansen1997-10-071-0/+2
|
* Fixed for new "import dir.module" semantics. Needs accompanying fix inJack Jansen1997-10-071-0/+9
| | | | import.c (yes Guido, I'll send it tomorrow)
* Added old-exception and no-site-python options and balloon helpJack Jansen1997-09-091-3/+12
|
* The preference resource now has a version numberJack Jansen1997-09-081-16/+21
|
* sys.prefix and sys.exec_prefix are now set correctly.Jack Jansen1997-09-081-2/+2
|
* Handle systemclicks ourselves, in stead of passing them to Sioux. ThisJack Jansen1997-08-261-10/+15
| | | | | fixes (or masks?) a bug with Python becoming unreactive during time.sleep() if you have already switched applications before.
* Added (dummy) PyOS_FiniInterruptsJack Jansen1997-08-081-0/+5
|
* Adapted for 1.5a3: Py_SupressPrintingFlag is gone, andJack Jansen1997-08-081-21/+9
| | | | Py_SetProgramName replaces Py_GetProgramName
* Added PyMac_SetEventHandler which allows you to replace complete eventJack Jansen1997-06-201-43/+71
| | | | | | handling in inner loop with python code. Also move (previously machine independent) PyErr_CheckSignals here, so we can propagate exceptions in event handling code.
* Make imports faster on the Mac, byJack Jansen1997-06-121-7/+104
| | | | | | | | - Remembering whether sys.path components refer to files or folders, - Using mac-specific code to check for file existence, in stead of trying to fopen() each possible file. These mods need an accompanying mod to import.c.
* - Restore SIOUX menubar just before exiting, if the console window is keptJack Jansen1997-06-122-21/+27
| | | | | open (so the user can quit with cmd-Q, print, etc) - Removed a few unused routines
* Removed old scheduler parameterizing calls and replaced with somethingJack Jansen1997-06-032-102/+125
| | | | a bit easier to use and understand
* - Added Py_GetProgramFullPathJack Jansen1997-05-232-8/+59
| | | | | | | - Added PyMac_StopGUSISpin and have it called at exit time (fixes crash when exiting with sockets open) - Added PLstr... funcs needed by gusi: those provided by StdCLib are broken under cfm68k
* Workaround for bug in MSL and CWGUSI interaction that stopped theJack Jansen1997-05-071-0/+7
| | | | "don't close window on exit" feature to work.
* - Various names in CodeFragments.h have changedJack Jansen1997-05-071-4/+17
| | | | | | - a dummy main program was added, so we can use the standard MW MSL runtime library for main programs (in stead of rolling our own, as we did previously).
* Changed the few old routine names still used to the new onesJack Jansen1997-04-083-9/+14
| | | | Started working on MSL support
* - Changed GestaltEqu.h to Gestalt.hJack Jansen1997-02-244-4/+1
| | | | | - Changed FragLoader.h to CodeFragments.h - Removed Desk.h
* Only go into eventloop/interrupt check 10 times per secondJack Jansen1997-02-201-0/+9
|
* Added/updated copyright noticesJack Jansen1997-01-3114-6/+255
| | | | (and the &*^$%@ resource files got binhexed again, sigh)
* Added PyMac_Initialize() routine, to be used by embedding programs (inJack Jansen1997-01-151-8/+29
| | | | stead of standard Py_Initialize(), which it calls).
* Mac-specific version of getmtime (for non-GUSI Python, which needsJack Jansen1997-01-101-0/+50
| | | | different include files)
* Added profiler initialization/finalization code (if __profile__ is defined)Jack Jansen1997-01-071-1/+12
|
* Fixed FSSpec->pathname code to add colon if the fsspec points to a disk.Jack Jansen1996-11-201-0/+6
|
* Got rid of nfullpath in favor of PyMac_GetFullPath (which was prettyJack Jansen1996-11-092-36/+31
| | | | | | much identical anyway). Initialize PyMac_ApplicationPath and PyMac_ApplicationFSSpec to point to the current application.
* When loading a PYC resource check whether the filename is theJack Jansen1996-11-091-21/+45
| | | | | application, and if so take a shortcut. This should speedup loading PYC resources when running off a CDROM quite a bit.
* - Get preference filename from a resourceJack Jansen1996-10-221-31/+53
| | | | - Create the file if it doesn't exist and don't be fussy about it
* About boxes should be at 20% of screen height, not halfwayJack Jansen1996-09-231-1/+1
|
* Changed default background yield time to 1 tickJack Jansen1996-09-221-1/+14
|
* Added macfs.FindApplication() to find application FSSpec given signature.Jack Jansen1996-09-201-0/+128
|
* Py_GetProgramName turns out not to be obsolete (used by _tkinter).Jack Jansen1996-09-091-8/+0
|
* - Put all options in a structJack Jansen1996-09-074-153/+183
| | | | | | - Unified initialization code for interpreter and applet - Implemented new options to skip AE-processing for argc/argv and for disabling interactive option setting