summaryrefslogtreecommitdiffstats
path: root/Mac
Commit message (Collapse)AuthorAgeFilesLines
* - reworked the object unpacking code, now supports new-style objects moreJust van Rossum2002-12-011-34/+46
| | | | | or less decently/completely. - cleaned up a little.
* - 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-3025-61/+60
| | | | attributes are no longer supported.
* Build _AE too.Jack Jansen2002-11-291-0/+4
|
* Converted the Carbon modules to use PEP252-style objects, withJack Jansen2002-11-2948-2507/+2447
| | | | | | | | | | | | | | | | descriptors in stead of manual getattr hooks to get at attributes of the objects. For Qd I have in stead gotten rid of most of the attribute access in favor of the carbon-style accessor methods (with the exception of visRgn, to be done later), and of the Carbon.Qd.qd global object, for which accessor functions are also available. For List I have fixed the fact that various methods were incorrectly generated as functions. CF is untouched: PEP252 doesn't allow "poor-mans-inheritance" with basechain, so it will have to wait for PEP253 support.
* 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
* Lots of restructuring, mostly suggested by Bill Bumgarner. MainJack Jansen2002-11-256-57/+242
| | | | | | externally visible difference is that the factory defaults are now in a plist file in the bundle, in stead of being hard-coded in the application.
* 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
|
* hardcode some resources, removing annoying Widgets.rsrc dependencyJust van Rossum2002-11-242-15/+100
|
* cleaned up __init__ argument mess with a funky base classJust van Rossum2002-11-231-74/+81
|
* Allow access to the returned value(s) as FSRefs. Unfortunately for someJack Jansen2002-11-221-2/+38
| | | | | reason getting at saveFileName doesn't work, so it currently only really works for opening files for reading.
* Added the alias manager too. The interface isn't perfect yet: the aliasJack Jansen2002-11-225-0/+870
| | | | | 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-2210-0/+2757
| | | | | manager. This should allow us the get rid of most of the FSSpecs, only navigation services remains to be done.
* workaround so the (otherwise still broken) IDE can at least quit in the ↵Just van Rossum2002-11-221-15/+14
| | | | Python 2.2 Jaguar addon install
* changed to use Lib/bundlebuilder.py instead of scripts/buildappbundle.pyJust van Rossum2002-11-221-5/+8
|
* make the --link option match the original: just symlink the executableJust van Rossum2002-11-221-2/+2
|
* Added --link-exec option: make a symlink for the executable only, copy all ↵Just van Rossum2002-11-221-4/+20
| | | | other files.
* Replaced the bundle building code with calls to the new bundlebuilderJust van Rossum2002-11-221-133/+75
| | | | | | | | | module. Jack: I've compared the .app output of the orginal with the new and I can't find any significant differences. However, bundlebuilder.py contains its' own command line interface and I think we should use that instead. I'll have a look to see whether I can patch Mac/OSX/Makefile.jaguar to this effect.
* 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
* dded cvsignores.Jack Jansen2002-11-204-2/+12
|
* Minimal instructions on building a MacPython-OSX addon for Apple'sJack Jansen2002-11-201-0/+62
| | | | /usr/bin/python.
* Build PythonLauncher for MacPython-OSX 2.2 as well.Jack Jansen2002-11-202-5/+28
|
* This file is now generated dynamically.Jack Jansen2002-11-201-2/+0
|
* 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
|
* Another workaround, to find the IDE directory when we're in MacPython-OSXJack Jansen2002-11-181-0/+10
| | | | | | on Jaguar. Ceteram censeam W era packagendam esse.
* Define PyDoc_STR if it isn't defined. This makes these modules compileJack Jansen2002-11-189-1/+25
| | | | for Python 2.2.
* Build waste, _Help and _Scrap too.Jack Jansen2002-11-181-6/+78
|
* First stab at a Makefile that will create a MacPython that uses theJack Jansen2002-11-152-0/+90
| | | | | | | | Apple-installed Python 2.2 from /usr/bin as it's underlying engine. All the MacPython stuff is installed into /Applications/MacPython-OSX, and .pth files and other magic are used to tie everything together. So far only the raw windowing interpreter and BuildApplet work.
* Go from filename to FSSpec via FSRefs, to work around outdated macfs moduleJack Jansen2002-11-151-1/+1
| | | | in python 2.2.
* Make the Resources directory if needed.Jack Jansen2002-11-151-0/+2
|
* 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.
* - Building IDE is optional on waste being available, similar to buildingJack Jansen2002-11-111-21/+28
| | | | | | IDLE (it was a fatal error before) - Shuffled a few things around to facilitate the experimental building of MacPython for Jaguar's pre-installed python.
* Got rid of the python.rsrc resource file. The error message strings andJack Jansen2002-11-076-76/+40
| | | | | | | | | | 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.
* Script to create .app bundles. Largely untested.Jack Jansen2002-11-061-0/+160
|
* 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.