summaryrefslogtreecommitdiffstats
path: root/Mac
Commit message (Collapse)AuthorAgeFilesLines
* Mods by Donovan Preston (with changes by me to make them "go with the flow")Jack Jansen2001-09-111-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 Jansen2001-09-111-2/+12
| | | | - Allow any file to be dropped on the interpreter (for file args).
* removed debug print.Jack Jansen2001-09-111-1/+0
|
* Added a note about making sure the Lac/Lib directory is in sys.path.Jack Jansen2001-09-111-2/+8
|
* Failing to import macfsn is not a fatal error.Jack Jansen2001-09-111-1/+2
|
* Implemented PyMac_GetFullPathname for MacPython.Jack Jansen2001-09-111-3/+13
|
* Replaced PyMac_FullPath by PyMac_FullPathname, which has an extra 'length'Jack Jansen2001-09-105-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 Jansen2001-09-101-0/+0
|
* Install the dialog resources into the application bundle. The EasyDialogsJack Jansen2001-09-091-1/+7
| | | | selftest now works.
* Don't call MacOS.SchedParams() in MachO, it doesn't exist.Jack Jansen2001-09-091-4/+8
|
* Minimal module to decode AppleSingle files (the way resource files areJack Jansen2001-09-091-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 Jansen2001-09-0813-60/+104
|
* Oops, this file is very outdated. Removed.Jack Jansen2001-09-081-116/+0
|
* Patch by Mark Day to allow from __future__ imports. Looks harmlessJack Jansen2001-09-071-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 clearJack Jansen2001-09-061-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-additionsJack Jansen2001-09-061-1/+113
| | | | in Python.
* Rudimentary makefile for building the executable to go into aJack Jansen2001-09-051-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 aJack Jansen2001-09-052-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 Jansen2001-09-051-1/+1
|
* A few more gcc warnings bite the dust.Jack Jansen2001-09-055-11/+28
|
* Shut up many more gcc warnings.Jack Jansen2001-09-0531-110/+186
|
* Added prototypes to shut gcc -Wstrict-prototypes up.Jack Jansen2001-09-041-4/+2
|
* Shut up a few more gcc warnings.Jack Jansen2001-09-042-2/+2
|
* Added prototypes to silence gcc strict-prototype warnings.Jack Jansen2001-09-042-141/+48
| | | | Fixed a few missing return values.
* Regenerated without default int return types.Jack Jansen2001-09-0417-33/+35
|
* Added pythonpath.r to the developer distribution. It'sJack Jansen2001-09-041-4/+12
| | | | | useful to people extending Python. Suggested by Alexandre Parenteau.
* Template for an OSX PythonInterpreter application.Jack Jansen2001-09-046-0/+66
|
* Photoshop sources for icon files. Not pretty, but hey! I'm not anJack Jansen2001-09-043-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 Jansen2001-09-021-0/+0
| | | | Tested, too:-)
* Silly typos.Jack Jansen2001-09-021-2/+2
|
* Don't call PyMac_HandleEvent in unix-PythonJack Jansen2001-09-021-0/+2
|
* Regenerated, mainly for new GC routines.Jack Jansen2001-09-012-8/+38
|
* xx.prj has been replaced by xx.mcp.Jack Jansen2001-09-011-74/+183
|
* Added glue routine for PyMac_BuildFSSpec, PyMac_GetFSRef and PyMac_BuildFSRef.Jack Jansen2001-09-012-7/+9
| | | | Moved the declarations to pymactoolbox.h.
* Don't call PyMac_HandleEvent if we're in unix-Python.Jack Jansen2001-09-012-0/+4
|
* Include Carbon/Carbon.h if we're on OSX.Jack Jansen2001-09-012-2/+2
|
* Updated the Popt resources for the applets to the newest version.Jack Jansen2001-09-017-0/+0
|
* Added preferences/startup options for division warningJack Jansen2001-09-012-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 warningJack Jansen2001-09-016-13/+28
| | | | and accepting unix-style newlines on input.
* Added all the new files in the right packages and file groups (I think, ↵Jack Jansen2001-08-301-0/+0
| | | | untested).
* Superseded by the (generated) xx.mcp.Jack Jansen2001-08-301-0/+0
|
* Case mismatch in "import Types". Apparently nobody has looked at this for a ↵Jack Jansen2001-08-301-2/+2
| | | | looooong time. Reported by Chris Smith.
* We should look in the directory containing the module, not in the module ↵Jack Jansen2001-08-301-1/+1
| | | | itself, when we're looking for the resource file.
* Started on the 2.2a2 installerJack Jansen2001-08-301-0/+0
|
* Added xx and xxsubtype modules, for completeness and because xxsubtype is ↵Jack Jansen2001-08-292-0/+7
| | | | used by the test suite.
* Started on release notes and readme for 2.2a2.Jack Jansen2001-08-292-52/+113
|
* Experimental feature: allow \n as well as \r as newline for text files, by ↵Jack Jansen2001-08-271-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 Jansen2001-08-271-0/+1
|
* Use the new macresource module to open the accompanying resource file (if ↵Jack Jansen2001-08-2713-102/+37
| | | | needed).
* need() now returns the refno of the resource file opened, or None if theJack Jansen2001-08-271-4/+7
| | | | specified resource was already available and no file was opened.