summaryrefslogtreecommitdiffstats
path: root/Mac/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Got rid of interpreter-internal dialogs.Jack Jansen2002-12-131-0/+0
| | | | Tweaked GetArgv() dialog to look better on OSX.
* More pre-carbon stuff bites the dust.Jack Jansen2002-12-138-764/+0
|
* - found a case where sys.path[0] isn't set to Contents/Resources,Just van Rossum2002-11-301-2/+8
| | | | | so search the entire path. - only add modules if we're building a standalone application.
* Lots of minor tweaks for the pep252 checkins, mainly because QdJack Jansen2002-11-304-10/+10
| | | | attributes are no longer supported.
* Forgot to do os.path.basename() on mainprogram: a nonworking app was built ↵Just van Rossum2002-11-291-7/+6
| | | | if the mainprogram wan't in the current directory. Fixed.
* added Thomas H's LOADER code for importing extension (sub)modules; little tweaksJust van Rossum2002-11-291-21/+27
|
* fixed typo and wrappingJust van Rossum2002-11-281-1/+2
|
* - Rewrote bootstapping code in sh so we're really independent of anJust van Rossum2002-11-281-40/+54
| | | | | | | | | | installed Python. So we don't use os.execve any longer, which means we need an actual executable in <myapp>.app/Contents/MacOS. For applets we make a symlink to the Python executable used to build the applet, for standalone apps we simply copy it. - Added support for the new any_missing_maybe() feature of modulefinder.py, which is pending as patch #643711. Its use is optional so it still works with the existing version of modulefinder.py
* added support for building standalone applicationsJust van Rossum2002-11-261-14/+259
| | | | | - requires modulefinder.py to be on sys.path - does *not* work for Python.framework (yet), only for static builds
* get creator code from plist if available, instead of overriding with defaultJust van Rossum2002-11-241-1/+6
|
* whoops, -p actually has an argumentJust van Rossum2002-11-241-1/+1
|
* cleaned up __init__ argument mess with a funky base classJust van Rossum2002-11-231-74/+81
|
* Added the alias manager too. The interface isn't perfect yet: the aliasJack Jansen2002-11-222-0/+19
| | | | | manager doesn't always have the alias as the first argument, so things become functions in stead of methods.
* Got angry and added support for pretty much the whole file and folderJack Jansen2002-11-224-0/+527
| | | | | manager. This should allow us the get rid of most of the FSSpecs, only navigation services remains to be done.
* Added --link-exec option: make a symlink for the executable only, copy all ↵Just van Rossum2002-11-221-4/+20
| | | | other files.
* fixed error in cmd line doc; moved funny self.name line once moreJust van Rossum2002-11-221-2/+3
|
* fixed stupid bugJust van Rossum2002-11-221-1/+1
|
* added command line interface; refactored a bit; little things.Just van Rossum2002-11-211-82/+179
|
* name kwargs kwargsJust van Rossum2002-11-211-2/+2
|
* Tools to create MacOS X (application) bundles.Just van Rossum2002-11-211-0/+307
| | | | | | | Todo: - command line parsing - main program - modulefinder(-like ;-) support to build standalone apps.
* - cleaned up example/test codeJust van Rossum2002-11-201-29/+30
| | | | | | - don't encode/escape elements - fixed typo in doc string - provide our own copy function for the Dict class
* removed a redundant .strip(); made a doc string more or less tell the truthJust van Rossum2002-11-191-3/+5
|
* No need to import __builtin__, spotted by Skip.Just van Rossum2002-11-191-4/+4
|
* Pure Python implementation of a plist generator/parser.Just van Rossum2002-11-191-0/+433
|
* Python 2.2 as installed by Apple has a version of _Res that is too old. WeJack Jansen2002-11-151-1/+4
| | | | attempt to load an override version in this case.
* Added a hack so we can build applets with a MacPython that uses theJack Jansen2002-11-151-0/+11
| | | | | OSX 10.2 apple-supplied Python as its base: if we've copied a symlink as the executable we remove it and install appletrunner in stead.
* A script to run applets. Originally by Just, slightly modified by me.Jack Jansen2002-11-151-0/+17
|
* - Use imp to find appletrawmain.py in stead of hand-crafting the pathJack Jansen2002-11-111-2/+5
| | | | | to it. - Allow for symlinks in the applet template.
* Got rid of the python.rsrc resource file. The error message strings andJack Jansen2002-11-075-43/+35
| | | | | | | | | | dialogs are now stored in Mac/Lib, and loaded on demand through macresource. Not only does this simplify a MacPython based on Apple's Python, but it also makes Mac error codes come out symbolically when running command line python (if you have Mac/Lib in your path). The resource files are copied from Mac/Resources. The old ones will disappear after the OS9 build procedure has been adjusted.
* Forward port of 1.12.14.3 (which has an incorrect log message):Jack Jansen2002-10-291-1/+4
| | | | | | | if SetDates() in touched() returns an error ignore it: the user may not have permission to change the parent folder. This is a non-serious problem, the only function of touched() is to speed up the finder seeing the change.
* Under Jaguar it seems that 'errn' return value keyword parameters don'tJack Jansen2002-10-251-0/+8
| | | | | | | | | (or don't always?) show up with missed(). I think this is a bug in Jaguar, but as it is a potential dangerous problem (the OSA event has failed, but the Python code isn't told about this and happily continues) this is a quick workaround. Bugfix candidate, I'll add it to 2.2.2 as a last second fix.
* Shut up FutureWarnings about hex constants.Jack Jansen2002-09-121-0/+4
|
* Patch by Tony Lownds: add the Resources directory to sys.path.Jack Jansen2002-09-121-0/+6
|
* Reverted previous change, I was confused.Jack Jansen2002-09-101-1/+1
|
* Import Carbon.AH, not Carbon.HelpJack Jansen2002-09-061-1/+1
|
* Get rid of non-ascii characters.Jack Jansen2002-09-061-4/+4
|
* Initialize self._helpmenu earlier, so we can use gethelpmenu() whileJack Jansen2002-08-301-1/+1
| | | | building the user menus.
* Added support for the help menu. Application.gethelpmenu() will returnJack Jansen2002-08-291-0/+35
| | | | | | | it. Also fixed menu IDs to be signed in do_menudispatch. this is an incompatible change, but I don't think it'll hurt anyone.
* Revived the Carbon.Help module, but implementing the MacHelp API in steadJack Jansen2002-08-292-66/+58
| | | | | of the defunct Balloons API. Help tags are TBD, but at least this gives us access to the help menu.
* Don't copy the documentation when using Python.app as an applet template.Jack Jansen2002-08-291-0/+1
|
* This file never made it to the repository, somehow.Jack Jansen2002-08-281-0/+28
|
* These were regenerated some time ago (with ascii chars only andJack Jansen2002-08-286-59/+61
| | | | fully qualified imports) but somehow not checked in yet.
* Interface to Apple Help Viewer.Jack Jansen2002-08-282-0/+7
|
* Refuse to run if the last bit of the destination path contains a # character.Jack Jansen2002-08-181-1/+4
| | | | | | | | | | | This is a silly workaround for a rather serious bug in MacOSX: if you take a long filename and convert it to an FSSpec the fsspec gets a magic cooky (containing a #, indeed). If you then massage the extension of this fsspec and convert back to a pathname you may end up referring to the same file. This could destroy your sourcefile. The problem only occcurs in MacPython-OS9, not MacPython-OSX (I think). Closes bug #505562.
* - Check not only that cache file exists, but also that it is newer thanJack Jansen2002-08-091-4/+7
| | | | | the applesingle file. - Added optional verbose option for cachersrc tool.
* Use hex escape for non-ascii chars, now that the parser wants that.Jack Jansen2002-08-081-13/+13
| | | | | Good thing, too: some of the characters had been mangled by OS9->CVS->OSX roundtrips.
* Regenerated with OSA class inheritance and fix for non-ascii chars.Jack Jansen2002-08-0742-818/+2217
|
* Donovan Preston's patch #538395, with some mods by me.Jack Jansen2002-08-073-20/+97
| | | | | | | | | | | | This patch makes inheritance for OSA classes work. The implementation is a bit convoluted, but I don't immedeately see a simpler way of doing it. I added calls to ascii() everywhere we output strings that may contain non-ascii characters (Python has gotten very picky since the encoding patch:-). I also removed Donovan's different way of opening resource files: I don't seem to need it.
* Wrapper around _IBCarbon.Jack Jansen2002-08-061-0/+1
|
* Patch by Ronald Oussoren: if there's a .lproj in the extras list alsoJack Jansen2002-08-051-1/+10
| | | | | check whether it contains a .nib, and do the Cocoa song and dance if it does.