Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - reworked the object unpacking code, now supports new-style objects more | Just van Rossum | 2002-12-01 | 1 | -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 Rossum | 2002-11-30 | 1 | -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 Qd | Jack Jansen | 2002-11-30 | 25 | -61/+60 |
| | | | | attributes are no longer supported. | ||||
* | Build _AE too. | Jack Jansen | 2002-11-29 | 1 | -0/+4 |
| | |||||
* | Converted the Carbon modules to use PEP252-style objects, with | Jack Jansen | 2002-11-29 | 48 | -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 Rossum | 2002-11-29 | 1 | -7/+6 |
| | | | | if the mainprogram wan't in the current directory. Fixed. | ||||
* | added Thomas H's LOADER code for importing extension (sub)modules; little tweaks | Just van Rossum | 2002-11-29 | 1 | -21/+27 |
| | |||||
* | fixed typo and wrapping | Just van Rossum | 2002-11-28 | 1 | -1/+2 |
| | |||||
* | - Rewrote bootstapping code in sh so we're really independent of an | Just van Rossum | 2002-11-28 | 1 | -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 applications | Just van Rossum | 2002-11-26 | 1 | -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. Main | Jack Jansen | 2002-11-25 | 6 | -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 default | Just van Rossum | 2002-11-24 | 1 | -1/+6 |
| | |||||
* | whoops, -p actually has an argument | Just van Rossum | 2002-11-24 | 1 | -1/+1 |
| | |||||
* | hardcode some resources, removing annoying Widgets.rsrc dependency | Just van Rossum | 2002-11-24 | 2 | -15/+100 |
| | |||||
* | cleaned up __init__ argument mess with a funky base class | Just van Rossum | 2002-11-23 | 1 | -74/+81 |
| | |||||
* | Allow access to the returned value(s) as FSRefs. Unfortunately for some | Jack Jansen | 2002-11-22 | 1 | -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 alias | Jack Jansen | 2002-11-22 | 5 | -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 folder | Jack Jansen | 2002-11-22 | 10 | -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 Rossum | 2002-11-22 | 1 | -15/+14 |
| | | | | Python 2.2 Jaguar addon install | ||||
* | changed to use Lib/bundlebuilder.py instead of scripts/buildappbundle.py | Just van Rossum | 2002-11-22 | 1 | -5/+8 |
| | |||||
* | make the --link option match the original: just symlink the executable | Just van Rossum | 2002-11-22 | 1 | -2/+2 |
| | |||||
* | Added --link-exec option: make a symlink for the executable only, copy all ↵ | Just van Rossum | 2002-11-22 | 1 | -4/+20 |
| | | | | other files. | ||||
* | Replaced the bundle building code with calls to the new bundlebuilder | Just van Rossum | 2002-11-22 | 1 | -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 more | Just van Rossum | 2002-11-22 | 1 | -2/+3 |
| | |||||
* | fixed stupid bug | Just van Rossum | 2002-11-22 | 1 | -1/+1 |
| | |||||
* | added command line interface; refactored a bit; little things. | Just van Rossum | 2002-11-21 | 1 | -82/+179 |
| | |||||
* | name kwargs kwargs | Just van Rossum | 2002-11-21 | 1 | -2/+2 |
| | |||||
* | Tools to create MacOS X (application) bundles. | Just van Rossum | 2002-11-21 | 1 | -0/+307 |
| | | | | | | | Todo: - command line parsing - main program - modulefinder(-like ;-) support to build standalone apps. | ||||
* | - cleaned up example/test code | Just van Rossum | 2002-11-20 | 1 | -29/+30 |
| | | | | | | - don't encode/escape elements - fixed typo in doc string - provide our own copy function for the Dict class | ||||
* | dded cvsignores. | Jack Jansen | 2002-11-20 | 4 | -2/+12 |
| | |||||
* | Minimal instructions on building a MacPython-OSX addon for Apple's | Jack Jansen | 2002-11-20 | 1 | -0/+62 |
| | | | | /usr/bin/python. | ||||
* | Build PythonLauncher for MacPython-OSX 2.2 as well. | Jack Jansen | 2002-11-20 | 2 | -5/+28 |
| | |||||
* | This file is now generated dynamically. | Jack Jansen | 2002-11-20 | 1 | -2/+0 |
| | |||||
* | removed a redundant .strip(); made a doc string more or less tell the truth | Just van Rossum | 2002-11-19 | 1 | -3/+5 |
| | |||||
* | No need to import __builtin__, spotted by Skip. | Just van Rossum | 2002-11-19 | 1 | -4/+4 |
| | |||||
* | Pure Python implementation of a plist generator/parser. | Just van Rossum | 2002-11-19 | 1 | -0/+433 |
| | |||||
* | Another workaround, to find the IDE directory when we're in MacPython-OSX | Jack Jansen | 2002-11-18 | 1 | -0/+10 |
| | | | | | | on Jaguar. Ceteram censeam W era packagendam esse. | ||||
* | Define PyDoc_STR if it isn't defined. This makes these modules compile | Jack Jansen | 2002-11-18 | 9 | -1/+25 |
| | | | | for Python 2.2. | ||||
* | Build waste, _Help and _Scrap too. | Jack Jansen | 2002-11-18 | 1 | -6/+78 |
| | |||||
* | First stab at a Makefile that will create a MacPython that uses the | Jack Jansen | 2002-11-15 | 2 | -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 module | Jack Jansen | 2002-11-15 | 1 | -1/+1 |
| | | | | in python 2.2. | ||||
* | Make the Resources directory if needed. | Jack Jansen | 2002-11-15 | 1 | -0/+2 |
| | |||||
* | Python 2.2 as installed by Apple has a version of _Res that is too old. We | Jack Jansen | 2002-11-15 | 1 | -1/+4 |
| | | | | attempt to load an override version in this case. | ||||
* | Added a hack so we can build applets with a MacPython that uses the | Jack Jansen | 2002-11-15 | 1 | -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 Jansen | 2002-11-15 | 1 | -0/+17 |
| | |||||
* | - Use imp to find appletrawmain.py in stead of hand-crafting the path | Jack Jansen | 2002-11-11 | 1 | -2/+5 |
| | | | | | to it. - Allow for symlinks in the applet template. | ||||
* | - Building IDE is optional on waste being available, similar to building | Jack Jansen | 2002-11-11 | 1 | -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 and | Jack Jansen | 2002-11-07 | 6 | -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 Jansen | 2002-11-06 | 1 | -0/+160 |
| | |||||
* | Forward port of 1.12.14.3 (which has an incorrect log message): | Jack Jansen | 2002-10-29 | 1 | -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. |