Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Put the applet code inside USE_MAC_APPLET_SUPPORT ifdefs, to make 68k ↵ | Jack Jansen | 1999-02-15 | 1 | -0/+6 |
| | | | | standalone Python compile. | ||||
* | (finally) unified the interpreter and the applet as Just suggested ages ago. The | Jack Jansen | 1999-02-15 | 2 | -39/+12 |
| | | | | resulting program is called PythonInterpreter. | ||||
* | put the preferences file in a folder called "Python" inside the prefs ↵ | Just van Rossum | 1999-02-02 | 1 | -10/+37 |
| | | | | folder, just like the IDE does -- jvr | ||||
* | Replaced fprintf(stderr,...) with PySys_WriteStderr(...) where appropriate. | Jack Jansen | 1998-10-12 | 1 | -4/+3 |
| | |||||
* | Mods by Just to allow aliases in sys.path entries | Jack Jansen | 1998-09-07 | 1 | -0/+20 |
| | |||||
* | Support for freezing packages (Just). | Jack Jansen | 1998-08-18 | 1 | -1/+32 |
| | |||||
* | Initialize the program name before adding shared library resources (Just). | Jack Jansen | 1998-07-31 | 1 | -0/+1 |
| | |||||
* | Don't add the library file to the resource file chain if it is the | Jack Jansen | 1998-07-31 | 1 | -1/+18 |
| | | | | same as the application file (Just). | ||||
* | New about box, with the version mesage filled in in a text item, and | Jack Jansen | 1998-07-31 | 1 | -13/+14 |
| | | | | PLstrcmp() fixed. (Just) | ||||
* | The PYD resource should now contain 2 strings: one for the ppc | Jack Jansen | 1998-07-31 | 1 | -2/+10 |
| | | | | | fragment name and one for the cfm68k fragment name (Just). Also, some unused variables removed. | ||||
* | Re-indented properly (Just). | Jack Jansen | 1998-07-31 | 1 | -173/+173 |
| | |||||
* | If the preference filename resource is empty don't try to open or | Jack Jansen | 1998-07-13 | 1 | -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 Jansen | 1998-07-13 | 2 | -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 Jansen | 1998-06-26 | 1 | -0/+3 |
| | |||||
* | An applet with Popt and GUSI preferences but without alis resource | Jack Jansen | 1998-05-07 | 1 | -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 Jansen | 1998-04-23 | 1 | -5/+5 |
| | |||||
* | Added PyMac_{Get,Build}wide. These should support python longints at | Jack Jansen | 1998-04-21 | 1 | -0/+23 |
| | | | | some point in the future. | ||||
* | - Universal Headers 3 mods | Jack Jansen | 1998-02-20 | 1 | -2/+4 |
| | | | | - Started on menubar-restore code (but it still doesn't work 100%) | ||||
* | Bug fix for fast module location | Jack Jansen | 1997-10-08 | 1 | -1/+1 |
| | |||||
* | Implemented nositepython and oldexceptions flags | Jack Jansen | 1997-10-07 | 1 | -0/+2 |
| | |||||
* | Fixed for new "import dir.module" semantics. Needs accompanying fix in | Jack Jansen | 1997-10-07 | 1 | -0/+9 |
| | | | | import.c (yes Guido, I'll send it tomorrow) | ||||
* | Added old-exception and no-site-python options and balloon help | Jack Jansen | 1997-09-09 | 1 | -3/+12 |
| | |||||
* | The preference resource now has a version number | Jack Jansen | 1997-09-08 | 1 | -16/+21 |
| | |||||
* | sys.prefix and sys.exec_prefix are now set correctly. | Jack Jansen | 1997-09-08 | 1 | -2/+2 |
| | |||||
* | Handle systemclicks ourselves, in stead of passing them to Sioux. This | Jack Jansen | 1997-08-26 | 1 | -10/+15 |
| | | | | | fixes (or masks?) a bug with Python becoming unreactive during time.sleep() if you have already switched applications before. | ||||
* | Added (dummy) PyOS_FiniInterrupts | Jack Jansen | 1997-08-08 | 1 | -0/+5 |
| | |||||
* | Adapted for 1.5a3: Py_SupressPrintingFlag is gone, and | Jack Jansen | 1997-08-08 | 1 | -21/+9 |
| | | | | Py_SetProgramName replaces Py_GetProgramName | ||||
* | Added PyMac_SetEventHandler which allows you to replace complete event | Jack Jansen | 1997-06-20 | 1 | -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, by | Jack Jansen | 1997-06-12 | 1 | -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 kept | Jack Jansen | 1997-06-12 | 2 | -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 something | Jack Jansen | 1997-06-03 | 2 | -102/+125 |
| | | | | a bit easier to use and understand | ||||
* | - Added Py_GetProgramFullPath | Jack Jansen | 1997-05-23 | 2 | -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 the | Jack Jansen | 1997-05-07 | 1 | -0/+7 |
| | | | | "don't close window on exit" feature to work. | ||||
* | - Various names in CodeFragments.h have changed | Jack Jansen | 1997-05-07 | 1 | -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 ones | Jack Jansen | 1997-04-08 | 3 | -9/+14 |
| | | | | Started working on MSL support | ||||
* | - Changed GestaltEqu.h to Gestalt.h | Jack Jansen | 1997-02-24 | 4 | -4/+1 |
| | | | | | - Changed FragLoader.h to CodeFragments.h - Removed Desk.h | ||||
* | Only go into eventloop/interrupt check 10 times per second | Jack Jansen | 1997-02-20 | 1 | -0/+9 |
| | |||||
* | Added/updated copyright notices | Jack Jansen | 1997-01-31 | 14 | -6/+255 |
| | | | | (and the &*^$%@ resource files got binhexed again, sigh) | ||||
* | Added PyMac_Initialize() routine, to be used by embedding programs (in | Jack Jansen | 1997-01-15 | 1 | -8/+29 |
| | | | | stead of standard Py_Initialize(), which it calls). | ||||
* | Mac-specific version of getmtime (for non-GUSI Python, which needs | Jack Jansen | 1997-01-10 | 1 | -0/+50 |
| | | | | different include files) | ||||
* | Added profiler initialization/finalization code (if __profile__ is defined) | Jack Jansen | 1997-01-07 | 1 | -1/+12 |
| | |||||
* | Fixed FSSpec->pathname code to add colon if the fsspec points to a disk. | Jack Jansen | 1996-11-20 | 1 | -0/+6 |
| | |||||
* | Got rid of nfullpath in favor of PyMac_GetFullPath (which was pretty | Jack Jansen | 1996-11-09 | 2 | -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 the | Jack Jansen | 1996-11-09 | 1 | -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 resource | Jack Jansen | 1996-10-22 | 1 | -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 halfway | Jack Jansen | 1996-09-23 | 1 | -1/+1 |
| | |||||
* | Changed default background yield time to 1 tick | Jack Jansen | 1996-09-22 | 1 | -1/+14 |
| | |||||
* | Added macfs.FindApplication() to find application FSSpec given signature. | Jack Jansen | 1996-09-20 | 1 | -0/+128 |
| | |||||
* | Py_GetProgramName turns out not to be obsolete (used by _tkinter). | Jack Jansen | 1996-09-09 | 1 | -8/+0 |
| | |||||
* | - Put all options in a struct | Jack Jansen | 1996-09-07 | 4 | -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 |