summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac
Commit message (Collapse)AuthorAgeFilesLines
* Two ancient and obscure bugs found and fixed by Donovan Preston (theseJack Jansen2003-03-051-2/+2
| | | | | | | | | could be responsible for various unexplained problems with Python/OSA interaction over the years): - Enum values were passed as their string counterparts. Most applications don't seem to mind this, but some do (InDesign). - Attributes have never worked (!), as they were incorrectly passed as parameters. Apparently nobody uses them much:-)
* Actually *do* override the type in AppBuilder.Jack Jansen2003-03-051-1/+1
|
* Moved some application-bundle specific code from the BundleBuilder class toJack Jansen2003-03-051-5/+9
| | | | | | AppBuilder, and set the default type to BNDL (overridden in AppBuilder). This surfaced when trying to build help bundles.
* Call AEInteractWithUser() before bringing up any of the dialogs (with theJack Jansen2003-03-031-1/+13
| | | | | | exception of the ProgressBar, which I think is okay to show in the background). This is a prerequisitite for the fix of #684975.
* Added a deprecation warning.Jack Jansen2003-02-271-0/+3
|
* Changing the window type to movable modal isn't enough to make the dialogs ↵Jack Jansen2003-02-271-0/+0
| | | | movable: apprently you also need to set a bit in the dlgx resource. Did this.
* use bare raise so you get the original tbJust van Rossum2003-02-261-1/+1
|
* use the same Python for running the bootstrap script and the main programJust van Rossum2003-02-261-1/+9
|
* remove sitecustomize hack, will be solved elsewhereJust van Rossum2003-02-261-25/+0
|
* Let's try making the dialogs at least Movable Modal.Jack Jansen2003-02-251-0/+0
|
* If a resource file cannot be decoded because the directory is readonlyJack Jansen2003-02-252-44/+41
| | | | | | | | | | | create a temporary file. This fixes #688011. Got rid of the install() method in macresource, and replaced it with a resource_filename() method which will optionally decode a given resourcefile (which may be applesingle-encoded) and return the real resourcefile. Use this new method in buildtools to copy the correct resource file to the bundle. This fixes #688007.
* Reverted the rev. 1.8 change: the magic for decoding resourcefilesJack Jansen2003-02-251-4/+0
| | | | is now in buildtools.
* tweak error messageJust van Rossum2003-02-251-2/+2
|
* - renamed the --copyfile option to --file.Just van Rossum2003-02-251-4/+6
| | | | | - tweaked the help text a little. (Jack: up to you to change your client code.)
* added some comments, minor tweaksJust van Rossum2003-02-251-3/+34
|
* Resolving parts of #688907:Just van Rossum2003-02-251-9/+29
| | | | | | | | | | | | - Replaced bootstrap shell script with Python script. This means standalone apps built with bundlebuilder will not work on MacOS < 10.1, since we depend (again) on an installed Python. - Add a hack to set sys.executable; the bootstrap script does os.execve() with an argv[0] that's different from the actual Python executable (it has to match the CFBundleExecutable entry in the Info.plist to make the app work both from the Finder and the command line, and it has to be the bootstrap script), yet a proper sys.executable is needed to spawn auxiliary processes.
* Workaround for bug #644243 (which is actually an Apple bug, I think): URLsJack Jansen2003-02-251-0/+4
| | | | | of the form file:/path/to/file don't work whereas file:///path/to/file works fine. We convert the former to the latter.
* Added a -c (--copyfile) option with argument src:dst which copies file srcJack Jansen2003-02-242-3/+12
| | | | into dst in the bundle. The Python API already had this functionality
* Getting rid of macfs.Jack Jansen2003-02-213-8/+6
|
* Get rid of macfs.Jack Jansen2003-02-211-60/+59
|
* Enable argv emulation if required.Jack Jansen2003-02-181-2/+4
| | | | Fixed a bug for applets with their own plist files.
* Added an argv_emulation option (command line option: --argv or -a) whichJack Jansen2003-02-181-2/+36
| | | | | creates the sys.argv emulation wrapper for droplets. Also updates the plist, if needed, and the includedModules (but this last is untested).
* Argvemulator still used the old Alias API. Fixed.Jack Jansen2003-02-181-2/+2
|
* Use "$@" to pass arguments to Python in stead of "${1}". This passes allJack Jansen2003-02-181-1/+1
| | | | arguments, and also does the right thing for the no argument case.
* When installing resource files whose name ends in .rsrc use theJack Jansen2003-02-172-5/+45
| | | | | "copy anything to a data fork based resource file" trick of macresource. Fixes #688007.
* - Added support for zip archivesJack Jansen2003-02-171-3/+13
| | | | - Better messages in case of a crash of the install-test script
* Better error messages and warnings.Jack Jansen2003-02-161-7/+11
|
* Factored out classes for handling source and binary distributions. SourceJack Jansen2003-02-141-40/+126
| | | | | now means "distutils-based source", binary "bdist format archive". Also fixed various lurking bugs.
* - Use distutils to find site-python (suggested by Thomas Heller, thanks!)Jack Jansen2003-02-121-7/+3
| | | | - Fixed a bug for packages without MD5 checksum.
* Thank you sir, can I have another.Just van Rossum2003-02-121-3/+3
|
* When in MacPython-OSX use bundlebuilder to create .app bundles.Jack Jansen2003-02-124-181/+53
|
* - Better way to find site-packagesJack Jansen2003-02-121-3/+43
| | | | | | | - Catch stderr as well as stdout - Fixed a bug with non-installable packages - Parse .pth files after installing, so you don't have to restart Python (or the IDE) after installing.
* Changed database format to make fields adhere to PEP 241 whereJack Jansen2003-02-111-116/+113
| | | | | | applicable, and use a similar naming scheme for other fields. This has drastically changed the structure, as the PEP241 names aren't identifiers.
* Punctuation fixes in docstrings.Jack Jansen2003-02-101-3/+3
|
* Added docstrings.Jack Jansen2003-02-101-6/+130
|
* - Better exception when the database isn't found.Jack Jansen2003-02-101-1/+3
| | | | | - Allow for "manual:" pseudo-scheme in downloadURL to signal that the download should be done manually.
* Use MD5 checksums to check archive integrity and forestall downloads.Jack Jansen2003-02-101-11/+38
|
* Added preInstall and postInstall commands to packages. PIL needs thisJack Jansen2003-02-101-1/+17
| | | | (preInstall, at least).
* Strawman for a Package Install Manager for Python. It isn't CPAN yet, but atJack Jansen2003-02-091-0/+499
| | | | | less than 500 lines it already manages to test whether Numeric is installed, and can install it if it isn't, including any prerequisites.
* Made AskFile* dialogs movable-modal by default, by providing a dummyJack Jansen2003-02-071-10/+26
| | | | | | | eventProc (which simply drops all events on the floor). Also added a method SetDefaultEventProc through which frameworks can set a global event handler (which can still be overridden on a per-call basis with the eventProc argument).
* Got rid of macfs and FSSpecs.Jack Jansen2003-02-061-4/+3
|
* Getting rid of macfs and FSSpecs.Jack Jansen2003-02-051-7/+5
|
* Got rid of macfsJack Jansen2003-02-051-5/+3
|
* Fixed a few typos, and changed FSCreateResourceFile filename argument to ↵Jack Jansen2003-02-051-3/+3
| | | | unicode.
* - Handle the img and MediaFormat modules not being available (by notJack Jansen2003-02-041-24/+40
| | | | | | providing the format info, only the raw data). - Get rid of fsspecs. - Make the demo program at least do something if img not available.
* Getting rid of macfs usage and almost all FSSpecs. Untested on MacOS9.Jack Jansen2003-02-021-18/+22
|
* jeez, now I know why I shouldn't even _want_ to learn sh.Just van Rossum2003-02-021-4/+4
|
* icon support by Robin Dunn, closes patch #678218Just van Rossum2003-02-011-1/+14
|
* Moved aepack test code to the test suite.Jack Jansen2003-01-291-40/+0
|
* Some objects could have uninitialized attributes. Fixed.Jack Jansen2003-01-291-0/+2
|