Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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. | ||||
* | - Removed the . in the extensions. | Jack Jansen | 2001-09-11 | 1 | -2/+12 |
| | | | | - Allow any file to be dropped on the interpreter (for file args). | ||||
* | removed debug print. | Jack Jansen | 2001-09-11 | 1 | -1/+0 |
| | |||||
* | Added a note about making sure the Lac/Lib directory is in sys.path. | Jack Jansen | 2001-09-11 | 1 | -2/+8 |
| | |||||
* | Failing to import macfsn is not a fatal error. | Jack Jansen | 2001-09-11 | 1 | -1/+2 |
| | |||||
* | Implemented PyMac_GetFullPathname for MacPython. | Jack Jansen | 2001-09-11 | 1 | -3/+13 |
| | |||||
* | Replaced PyMac_FullPath by PyMac_FullPathname, which has an extra 'length' | Jack Jansen | 2001-09-10 | 5 | -34/+33 |
| | | | | | | parameter for the return string (as unix pathnames are not limited by the 255 char pstring limit). Implemented the function for MachO-Python, where it returns unix pathnames. | ||||
* | Superseded by Python 2.2.vct. | Jack Jansen | 2001-09-10 | 1 | -0/+0 |
| | |||||
* | Install the dialog resources into the application bundle. The EasyDialogs | Jack Jansen | 2001-09-09 | 1 | -1/+7 |
| | | | | selftest now works. | ||||
* | Don't call MacOS.SchedParams() in MachO, it doesn't exist. | Jack Jansen | 2001-09-09 | 1 | -4/+8 |
| | |||||
* | Minimal module to decode AppleSingle files (the way resource files are | Jack Jansen | 2001-09-09 | 1 | -0/+101 |
| | | | | | | | stored in the CVS repository). It can either decode resource/data forks in the standard Mac way or decode only the resource fork but store the result in the data fork (the MacOSX preferred way). Finder info and all other stuff is ignored. | ||||
* | Final tweaks for 2.2a3 distribution. | Jack Jansen | 2001-09-08 | 13 | -60/+104 |
| | |||||
* | Oops, this file is very outdated. Removed. | Jack Jansen | 2001-09-08 | 1 | -116/+0 |
| | |||||
* | Patch by Mark Day to allow from __future__ imports. Looks harmless | Jack Jansen | 2001-09-07 | 1 | -3/+5 |
| | | | | | | | enough, but may have side-effects because it preallocates a single codeop.Compiler() to compile all statements the user enters. Just: please review and retract/modify if necessary. | ||||
* | Minimal instructions for using the Makefile here. Also a clear | Jack Jansen | 2001-09-06 | 1 | -0/+28 |
| | | | | | statement that this is a proof-of-concept meant for people to experiment with, nothing more. | ||||
* | Added targets to install the application, and to install mac-additions | Jack Jansen | 2001-09-06 | 1 | -1/+113 |
| | | | | in Python. | ||||
* | Rudimentary makefile for building the executable to go into a | Jack Jansen | 2001-09-05 | 1 | -0/+18 |
| | | | | | | fullblown OSX application. It is starting to work, but building the application bundle is still handwork, and we need a minimal readme file too. | ||||
* | Changes to make these work under OSX as the main program for a | Jack Jansen | 2001-09-05 | 2 | -53/+113 |
| | | | | | | | | | | 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 | ||||
* | Python is a Shell, not a Viewer. | Jack Jansen | 2001-09-05 | 1 | -1/+1 |
| | |||||
* | A few more gcc warnings bite the dust. | Jack Jansen | 2001-09-05 | 5 | -11/+28 |
| | |||||
* | Shut up many more gcc warnings. | Jack Jansen | 2001-09-05 | 31 | -110/+186 |
| | |||||
* | Added prototypes to shut gcc -Wstrict-prototypes up. | Jack Jansen | 2001-09-04 | 1 | -4/+2 |
| | |||||
* | Shut up a few more gcc warnings. | Jack Jansen | 2001-09-04 | 2 | -2/+2 |
| | |||||
* | Added prototypes to silence gcc strict-prototype warnings. | Jack Jansen | 2001-09-04 | 2 | -141/+48 |
| | | | | Fixed a few missing return values. | ||||
* | Regenerated without default int return types. | Jack Jansen | 2001-09-04 | 17 | -33/+35 |
| | |||||
* | Added pythonpath.r to the developer distribution. It's | Jack Jansen | 2001-09-04 | 1 | -4/+12 |
| | | | | | useful to people extending Python. Suggested by Alexandre Parenteau. | ||||
* | Template for an OSX PythonInterpreter application. | Jack Jansen | 2001-09-04 | 6 | -0/+66 |
| | |||||
* | Photoshop sources for icon files. Not pretty, but hey! I'm not an | Jack Jansen | 2001-09-04 | 3 | -0/+0 |
| | | | | artist (and a certain artist didn't jump in, yet). | ||||
* | Added the last few missing files, and put everything in the right packages. | Jack Jansen | 2001-09-02 | 1 | -0/+0 |
| | | | | Tested, too:-) | ||||
* | Silly typos. | Jack Jansen | 2001-09-02 | 1 | -2/+2 |
| | |||||
* | Don't call PyMac_HandleEvent in unix-Python | Jack Jansen | 2001-09-02 | 1 | -0/+2 |
| | |||||
* | Regenerated, mainly for new GC routines. | Jack Jansen | 2001-09-01 | 2 | -8/+38 |
| | |||||
* | xx.prj has been replaced by xx.mcp. | Jack Jansen | 2001-09-01 | 1 | -74/+183 |
| | |||||
* | Added glue routine for PyMac_BuildFSSpec, PyMac_GetFSRef and PyMac_BuildFSRef. | Jack Jansen | 2001-09-01 | 2 | -7/+9 |
| | | | | Moved the declarations to pymactoolbox.h. | ||||
* | Don't call PyMac_HandleEvent if we're in unix-Python. | Jack Jansen | 2001-09-01 | 2 | -0/+4 |
| | |||||
* | Include Carbon/Carbon.h if we're on OSX. | Jack Jansen | 2001-09-01 | 2 | -2/+2 |
| | |||||
* | Updated the Popt resources for the applets to the newest version. | Jack Jansen | 2001-09-01 | 7 | -0/+0 |
| | |||||
* | Added preferences/startup options for division warning | Jack Jansen | 2001-09-01 | 2 | -23/+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. | ||||
* | Added preferences/startup options for division warning | Jack Jansen | 2001-09-01 | 6 | -13/+28 |
| | | | | and accepting unix-style newlines on input. | ||||
* | Added all the new files in the right packages and file groups (I think, ↵ | Jack Jansen | 2001-08-30 | 1 | -0/+0 |
| | | | | untested). | ||||
* | Superseded by the (generated) xx.mcp. | Jack Jansen | 2001-08-30 | 1 | -0/+0 |
| | |||||
* | Case mismatch in "import Types". Apparently nobody has looked at this for a ↵ | Jack Jansen | 2001-08-30 | 1 | -2/+2 |
| | | | | looooong time. Reported by Chris Smith. | ||||
* | We should look in the directory containing the module, not in the module ↵ | Jack Jansen | 2001-08-30 | 1 | -1/+1 |
| | | | | itself, when we're looking for the resource file. | ||||
* | Started on the 2.2a2 installer | Jack Jansen | 2001-08-30 | 1 | -0/+0 |
| | |||||
* | Added xx and xxsubtype modules, for completeness and because xxsubtype is ↵ | Jack Jansen | 2001-08-29 | 2 | -0/+7 |
| | | | | used by the test suite. | ||||
* | Started on release notes and readme for 2.2a2. | Jack Jansen | 2001-08-29 | 2 | -52/+113 |
| | |||||
* | Experimental feature: allow \n as well as \r as newline for text files, by ↵ | Jack Jansen | 2001-08-27 | 1 | -0/+17 |
| | | | | breaking in to the lowlevel I/O system. Can be disabled by defining WITHOUT_UNIX_NEWLINES. | ||||
* | exceptions was missing from the module list. Added. | Jack Jansen | 2001-08-27 | 1 | -0/+1 |
| | |||||
* | Use the new macresource module to open the accompanying resource file (if ↵ | Jack Jansen | 2001-08-27 | 13 | -102/+37 |
| | | | | needed). | ||||
* | need() now returns the refno of the resource file opened, or None if the | Jack Jansen | 2001-08-27 | 1 | -4/+7 |
| | | | | specified resource was already available and no file was opened. |