summaryrefslogtreecommitdiffstats
path: root/Lib/plat-mac
Commit message (Collapse)AuthorAgeFilesLines
* Backport from r23c1-branch:Jack Jansen2003-07-211-2/+2
| | | | | Pimp crashed if you tried to install a non-installable package, in stead of printing a decent error message. Fixes #773450..
* Fixed a bug that's been there from the beginning but wasn't noticedJust van Rossum2003-07-101-3/+3
| | | | | | | | until now: the inheritance of default values was the wrong way around. This caused app bundles to get a type of "BNDL" instead of "APPL". Apparently this is not a problem until you try to drag your app to the dock. ----------------------------------------------------------------------
* don't optimize empty stringsJust van Rossum2003-07-101-1/+1
|
* #765903:Just van Rossum2003-07-041-5/+22
| | | | | | | - added bundle_id/--bundle-id option, to specify the CFBundleIndentifier #765615: - in the appropriate situation, prepend $PATH with our path instead of setting it.
* If a --python option is used to specify the Python to use in the #!Jack Jansen2003-07-041-1/+4
| | | | line also use this as the executable in the bundle.
* - replaced a couple of asserts with proper exceptionsJust van Rossum2003-07-011-4/+5
| | | | - use isinstance instead of flaky file-detection code
* restore 2.2 compatibility:Just van Rossum2003-06-291-11/+11
| | | | | - don't use "abc" in aString - don't reorganize extension modules when not using zipimport
* - added --semi-standalone option that builds apps that depend on anJust van Rossum2003-06-291-26/+50
| | | | | | | installed Python, yet include any modules not in the std lib - reworked extension module inclusion code: put all .so files in a subdirectory of Contents/Resources/, but more importantly, correctly support extensions that are submodules.
* Use http://www.python.org/packman as the base URL. Also upped the versionJack Jansen2003-06-291-3/+3
| | | | number because of this.
* some old changes to this unused moduleJust van Rossum2003-06-211-13/+6
|
* changed 8-space indentation to 4Just van Rossum2003-06-214-1935/+1935
|
* - do the right thing with symlinks inside directories we're copyingJust van Rossum2003-06-201-6/+13
| | | | | - move the normpath stuff around a bit - added dubious special case to addPythonFramework()
* make sure paths to dirs don't end in a /Just van Rossum2003-06-201-2/+2
|
* Reworked --strip option: it will now look at _any_ file that's markedJust van Rossum2003-06-201-13/+24
| | | | executable in the bundle. Therefore got rid of the "binaries" attribute.
* register the library inside Python.framework as eligable for strippingJust van Rossum2003-06-201-2/+4
|
* Add initial standalone support for Python.frameworkJust van Rossum2003-06-201-2/+32
|
* Give default _elemdict and _propdict attributes to OSA classes, soJack Jansen2003-06-181-4/+6
| | | | | | | we don't get infinite recursion for suites that don't have an application class. Also got rid of some tabs.
* An indenting error in the code made it miss some suites that have an applicationJack Jansen2003-06-181-2/+2
| | | | class.
* Re-gegernated with the new gensuitemodule.Jack Jansen2003-06-1338-5315/+897
|
* - Allow access to poperties of the "application" OSA class directly fromJack Jansen2003-06-132-3/+25
| | | | | | | | | | the toplevel package. This already worked for elements, but now for properties too. Fixes #753925. - Even better, the toplevel class (such as Finder.Finder) now inherits the element and property dictionaries of its application class and has the necessary glue to allow you to say f = Finder.Finder() f.get(f.name)
* Added two keys to database format: User-install-skips is an array of pathnameJack Jansen2003-06-011-6/+34
| | | | | | prefixes, any file that is skipped during a per-user install that matches this set is *not* an error; Systemwide-only is a boolean that says the package cannot be installer per-user.
* Use splitlines() in stead of split() to split lines, and added a methodJack Jansen2003-06-011-3/+4
| | | | | shortdescription() so the code to split off the first line of the description isn't all over the place.
* - Get the database from a different place.Jack Jansen2003-05-291-4/+7
| | | | | - Added support for multi-line descriptions. Doesn't look nice yet in Package Manager.
* - Added a scheme whereby pimp can update itself, by importing a moduleJack Jansen2003-05-281-11/+49
| | | | | | | pimp_update if it exists. Upped the version number to indicate this. Fixes #731626. - Added -V (print version) and -u (specify database URL) options when run as a command line tool.
* Added a --python option, which sets the python to be used in the #! lineJack Jansen2003-05-251-1/+9
| | | | in the bootstrap script of the applet.
* 'Progress' doesn't exists, causing 'from EasyDialogs import *' to failJust van Rossum2003-05-201-1/+1
|
* Allow for Version, Flavor and Download-URL not being set.Jack Jansen2003-05-061-3/+3
|
* When doing a forced install of a package depending on a pseudo-packageJack Jansen2003-05-061-1/+6
| | | | you got a strange error message. Fixed.
* CWI moved websites around without me knowing it, and together withJack Jansen2003-05-021-1/+1
| | | | | a bug in urllib2 this caused pimp to stop working. Fixed the URL to make it work again.
* Rename funny long suite to Disk_File_Folder.Jack Jansen2003-05-017-102/+102
|
* If not icon file is specified use the default Python Applet icons.Jack Jansen2003-04-221-0/+4
| | | | Fixes 719303.
* Only return a warning message about not all files being unpacked if thereJack Jansen2003-04-221-1/+2
| | | | were indeed files that weren't unpacked.
* The identify() description didn't match the code. Fixed.Jack Jansen2003-04-161-1/+1
|
* Allow switching of install dir after creation of preferences.Jack Jansen2003-04-161-7/+10
| | | | Changed some message to be clearer when presented by Package Manager.
* - Use the tarfile module to unpack tarfiles.Jack Jansen2003-04-151-62/+187
| | | | | | | | | - Allow setting the destination install directory. If this is set then it is used for the modules, other items (header files, etc) are not installed, and warnings are printed if the package would have liked to. Unfortunaltey binary installs seem broken due to a tarfile bug (#721871) or my misunderstanding of how tarfile works.
* Oops, _propdeclarations and friends are needed: gensuitemodule uses themJack Jansen2003-04-1256-12422/+13583
| | | | | | | | | to lookup properties declared in base classes. Looking at it I'm not sure what the official scope if the property codes is, maybe it is only the (OSA) class in which they are used. But giving them global scope hasn't been a problem so far. Regenerated the standard suites, which are now also space-indented.
* Detabbed.Jack Jansen2003-04-0923-7956/+7970
|
* SF patch #701494: more apply removalsRaymond Hettinger2003-04-066-2101/+2101
|
* Sigh... The get() and set() commands are not declared in the aete forJack Jansen2003-04-011-9/+18
| | | | | | the Standard_Suite, but various other suites do expect it (the Finder implements get() without declaring it itself). It is probably another case of OSA magic. Adding them to the global base class.
* Regenerated with property names with _Prop_ prepended.Jack Jansen2003-04-0153-2860/+1697
|
* Properties (like enums) are not in the global namespace but only validJack Jansen2003-04-011-23/+23
| | | | | | | | | within a certain context. Give them an _Prop_ prefix, so they don't accidentally obscure an element from another suite (as happened with the Finder). Comparisons I'm not sure about, so I left them as global names. Also got rid of the lists if declarations, they serve no useful purpose.
* Turned the suite compiler into an object.Jack Jansen2003-04-011-254/+258
|
* - All messages are now dependent on the --verbose option.Jack Jansen2003-04-011-47/+85
| | | | | - Added a --dump option that doesn't generate the module but dumps the pretty-printed aete resource(s) on stdout.
* Subclasses of ObjectSpecifier can now be packed and unpacked. This allowsJack Jansen2003-03-311-3/+20
| | | | | | you to say something like "talker.count(want=Address_Book.people)" in stead of having to manually create the aetypes.Type(Address_Book.people.want) OSA type.
* In TalkTo.send(), check that we have access to the window manager,Jack Jansen2003-03-311-1/+13
| | | | | and initialize the event loop (if not done previously) to work around a bug (IMHO) in MacOSX 10.2.
* Regenerated again, now clases are sorted by code, and with synonyms afterJack Jansen2003-03-3029-2046/+8742
| | | | the primary name.
* Classes have to be sorted by code, not name, and synonyms have toJack Jansen2003-03-301-2/+19
| | | | | | | be sorted after the main name, otherwise filling of properties and elements messes up. Sorting is always more difficult than expected:-)
* Moved gensuitemodule from Mac/scripts to Lib/plat-mac. DocumentationJack Jansen2003-03-291-0/+1132
| | | | remains to be done.
* Regenerated with the new way to get terminology (through AppleEvents),Jack Jansen2003-03-2927-2692/+1571
| | | | | which sometimes seems to result in different terminology. It does seem to be mostly compatible, though.
* On OSX the finder will return from an open() event before the applicationJack Jansen2003-03-281-0/+12
| | | | | has actually entered its event loop. As a stopgap, allow for a 10 second grace period.