summaryrefslogtreecommitdiffstats
path: root/Mac/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Getting rid of macfs.Jack Jansen2003-03-211-5/+5
|
* Moved most of Mac/Lib hierarchy to Lib/plat-mac: it can be used bothJack Jansen2002-12-30135-32096/+0
| | | | | | | in MacPython-OS9 and MacPython-OSX (or the equivalent unix Python on Mac OS X). The only items remaining in Mac/Lib are modules that are meaningful only for MacPython-OS9 (CFM stuff, MacPython preferences in resources, etc).
* This file hasn't been committed for a long time, because it erronuously endedJack Jansen2002-12-301-41/+153
| | | | up in the Carbon package.
* Long-obsolete, replaced by Carbon.Sound.Jack Jansen2002-12-301-64/+0
|
* Integrated macfsn into macfs, and made the Standard File calls return theJack Jansen2002-12-262-169/+140
| | | | correct FSSpec implementations.
* Return the macfs variation for FSSpec and Alias, not the underlyingJack Jansen2002-12-261-3/+5
| | | | Carbon.File version, so the old method names work.
* Fixed typo.Jack Jansen2002-12-241-1/+1
|
* A replacement for the macfs extension module, implemented with normalJack Jansen2002-12-191-20/+26
| | | | | | (generated) Carbon module functionality. Not 100% complete yet, but at least the IDE doesn't crash on startup.
* Gone: the constants have been moved to macfs.py (which, upon import, alsoJack Jansen2002-12-191-106/+0
| | | | poses as MACFS for backward compatibility).
* This module will shortly replace the builtin module macfs. It is notJack Jansen2002-12-171-0/+90
| | | | | complete yet, but it should work. It will be finished (and renamed) shortly.
* This now contains constants from Files.h, Aliases.h and Finder.h.Jack Jansen2002-12-171-0/+83
|
* 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.