Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Getting rid of support for MacOS9 and earlier. This is the first step, | Jack Jansen | 2003-11-19 | 1 | -640/+0 |
| | | | | | and the biggest in size, but probably the easiest. Hunting through the source code comes next. | ||||
* | Merging the various tweaks for MacPython-OS9 2.3a1 back into the trunk. | Jack Jansen | 2003-01-08 | 1 | -0/+3 |
| | |||||
* | Get rid of 2.2 "poor mans universal newlines" now that the real thing | Jack Jansen | 2002-12-13 | 1 | -19/+0 |
| | | | | is implemented. | ||||
* | Getting rid of pre-Carbon (MacOS8) support. All code depending on | Jack Jansen | 2002-12-12 | 1 | -144/+0 |
| | | | | | | TARGET_API_MAC_OS8 (or !TARGET_API_MAC_CARBON) is gone. Also some TARGET_API_MAC_OSX conditional code is gone, because it is no longer used on OSX-only Python (only in MacPython-OS9). | ||||
* | Renamed Py_Main to PyMac_Main as it has a different signature than the ↵ | Jack Jansen | 2002-08-05 | 1 | -4/+4 |
| | | | | "normal" Py_Main, and that signature has appeared in a .h file. | ||||
* | Allow the script to have not only a TEXT filetype but also a null filetype ↵ | Jack Jansen | 2002-05-22 | 1 | -1/+3 |
| | | | | (to enable files to be created from the Unix side of OSX to be droppable on the MacPython interpreter). | ||||
* | Mass checkin of universal newline support. | Jack Jansen | 2002-04-14 | 1 | -2/+2 |
| | | | | | | | | Highlights: import and friends will understand any of \r, \n and \r\n as end of line. Python file input will do the same if you use mode 'U'. Everything can be disabled by configuring with --without-universal-newlines. See PEP278 for details. | ||||
* | Got rid of ifdefs for long-obsolete GUSI versions and other stuff that is ↵ | Jack Jansen | 2002-04-11 | 1 | -31/+0 |
| | | | | now standard (appearance, interned strings) | ||||
* | Allow .pyc files as applets as well as .py files. .py files have | Jack Jansen | 2002-03-29 | 1 | -4/+9 |
| | | | | priority, for safety reasons. | ||||
* | In MachoPython print "Pythonw" in banner to distinguish from command-line | Jack Jansen | 2002-03-29 | 1 | -7/+6 |
| | | | | | python. Removed debug output. | ||||
* | In MachoPython, don't simulate argc/argv unless we have argc=1 and argv[1] | Jack Jansen | 2002-01-02 | 1 | -2/+8 |
| | | | | | | | | starts with "-psn_". This means the drag-and-drop continues to work as expected, but we can now also do /Applications/Python.app/Contents/MacOS/python script.py from the command line, which is a lot easier with debugging. Pressing <option> at this point also has the expected effect of opening the options dialog! | ||||
* | Moved macfsn hackery from macmain.c to macfsmodule.c so it loads | Just van Rossum | 2001-10-31 | 1 | -29/+0 |
| | | | | on demand instead of at startup. | ||||
* | Mod by Donovan Preston to allow MacPython to live in a Python.app bundle and ↵ | Jack Jansen | 2001-10-30 | 1 | -34/+62 |
| | | | | | | understand the __main__.py convention used there for applets. This gives us applets that work on both OS9 and OSX! (Although "applet" may not be the correct word for something that is going to be multimegabyte:-). But: the code is currently disabled, as it requires CodeWarrior 7 and I'm still using 6. | ||||
* | Mods by Donovan Preston (with changes by me to make them "go with the flow") | Jack Jansen | 2001-09-11 | 1 | -14/+90 |
| | | | | | | | | | | | | | that will detect an __main__.py or __rawmain__.py in the application bundle. This file is then exectued as the main script. We now have applets in MachO Python!!! The difference between __main__ and __rawmain__ is that the former gets a complete simulated argv (so you can drop files on the applet and the script sees them in sys.argv) while the latter skips the argv simulation and the <option>key dialog. This keeps the AppleEvent that started the app intact, as well as the funny "-psn_xxxx" argv[1] argument, so the script can do with these what it wants. | ||||
* | Failing to import macfsn is not a fatal error. | Jack Jansen | 2001-09-11 | 1 | -1/+2 |
| | |||||
* | Changes to make these work under OSX as the main program for a | Jack Jansen | 2001-09-05 | 1 | -39/+74 |
| | | | | | | | | | | fullblown drag and drop application. To my surprise it is starting to work already: Python actually executes a script dropped on it. To be done: - Make sure this still works in MacPython - Don't lose argv[0] in the process - Applet support | ||||
* | Added preferences/startup options for division warning | Jack Jansen | 2001-09-01 | 1 | -6/+37 |
| | | | | | | | | and accepting unix-style newlines on input. Also (finally) added a startup option to get -vv behaviour. Moved __convert_to_newlines to main.c because that's easier with the newline option. | ||||
* | Merging appropriate 2.1.1 fixes back into the main trunk. | Jack Jansen | 2001-08-03 | 1 | -0/+5 |
| | |||||
* | Set the default 8-bit encoding based on the system script and language. | unknown | 2001-07-04 | 1 | -0/+2 |
| | |||||
* | - Raise console window on input. Fixes Carbon hang. | Jack Jansen | 2001-04-25 | 1 | -1/+11 |
| | | | | | - Better handling of menu bar save/restore. - Override abort() so it honours the "keep console window" flag. | ||||
* | More changes to attempt to get the menubar back on exit. Without success:-( | Jack Jansen | 2001-02-17 | 1 | -0/+4 |
| | |||||
* | Bit the bullet and added a private GUSISIOUX for Python. This makes the ↵ | Jack Jansen | 2001-02-11 | 1 | -12/+30 |
| | | | | 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. | ||||
* | Trigger keep-console-open on GUSISIOUX_STATE_UNKNOWN. Better than the ↵ | Jack Jansen | 2001-01-16 | 1 | -3/+3 |
| | | | | previous complicated expression. | ||||
* | When compiling for GUSI and Carbon disable te "keep open on unseen output", ↵ | Jack Jansen | 2001-01-11 | 1 | -2/+2 |
| | | | | for the time being. | ||||
* | If we're not using GUSI the "keep open on unseen output" becomes the same as ↵ | Jack Jansen | 2001-01-09 | 1 | -0/+6 |
| | | | | "always keep open". | ||||
* | Added PyMac_OutputSeen(), which acknowledges all current output in the stdio ↵ | Jack Jansen | 2000-10-19 | 1 | -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 Jansen | 2000-10-12 | 1 | -16/+16 |
| | |||||
* | Keepconsole is now a 4-way option: never/errorexit/unseen output/always. ↵ | Jack Jansen | 2000-09-22 | 1 | -11/+44 |
| | | | | Default is "unseen output". Upped the Popt version number. | ||||
* | Use same short banner message as unix/win Python. | Jack Jansen | 2000-09-08 | 1 | -3/+7 |
| | |||||
* | Removed debug output. | Jack Jansen | 2000-08-25 | 1 | -3/+0 |
| | |||||
* | Added more prototypes. | Jack Jansen | 2000-07-24 | 1 | -0/+3 |
| | |||||
* | MacPython on MacOSX DP4 gets started in the wrong directory. The workaround ↵ | Jack Jansen | 2000-07-18 | 1 | -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 Jansen | 2000-07-14 | 1 | -2/+2 |
| | |||||
* | ANSIfication step 2: make sure all needed prototypes are available, and all ↵ | Jack Jansen | 2000-07-11 | 1 | -3/+2 |
| | | | | | | needed header files included. | ||||
* | ANSIfication step 1: get rid of Py_PROTO and Py_FPROTO. | Jack Jansen | 2000-07-11 | 1 | -2/+2 |
| | |||||
* | Removed THINK_C support. | Jack Jansen | 2000-06-04 | 1 | -11/+0 |
| | |||||
* | Removed (within an #ifdef) Carbon-incompatabilities: | Jack Jansen | 2000-06-02 | 1 | -0/+6 |
| | | | | | - Don't call all the toolbox init routines. - No balloon help, so removed help code from the initial dialog. | ||||
* | Removed string-exception preference, added tabcheck and NavService ↵ | Jack Jansen | 2000-05-05 | 1 | -3/+33 |
| | | | | preference, upped version number. | ||||
* | Started on GUSI2 and threading support. | Jack Jansen | 2000-04-07 | 1 | -3/+5 |
| | |||||
* | First bits and pieces of appearance support: an init routine, a global flag ↵ | Jack Jansen | 1999-12-07 | 1 | -0/+20 |
| | | | | | | 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 Jansen | 1999-09-30 | 1 | -1/+1 |
| | |||||
* | Initialize the program name before adding shared library resources (Just). | Jack Jansen | 1998-07-31 | 1 | -0/+1 |
| | |||||
* | Implemented nositepython and oldexceptions flags | Jack Jansen | 1997-10-07 | 1 | -0/+2 |
| | |||||
* | Added old-exception and no-site-python options and balloon help | Jack Jansen | 1997-09-09 | 1 | -3/+12 |
| | |||||
* | sys.prefix and sys.exec_prefix are now set correctly. | Jack Jansen | 1997-09-08 | 1 | -2/+2 |
| | |||||
* | Adapted for 1.5a3: Py_SupressPrintingFlag is gone, and | Jack Jansen | 1997-08-08 | 1 | -21/+9 |
| | | | | Py_SetProgramName replaces Py_GetProgramName | ||||
* | - Restore SIOUX menubar just before exiting, if the console window is kept | Jack Jansen | 1997-06-12 | 1 | -0/+2 |
| | | | | | 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 | 1 | -2/+9 |
| | | | | a bit easier to use and understand | ||||
* | - Added Py_GetProgramFullPath | Jack Jansen | 1997-05-23 | 1 | -7/+8 |
| | | | | | | | - 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. |