Just van Rossum
ac8657bb0e
some old changes to this unused module
2003-06-21 14:49:14 +00:00
Just van Rossum
35b50e2683
changed 8-space indentation to 4
2003-06-21 14:41:32 +00:00
Just van Rossum
dc31dc02f7
- do the right thing with symlinks inside directories we're copying
...
- move the normpath stuff around a bit
- added dubious special case to addPythonFramework()
2003-06-20 21:43:36 +00:00
Just van Rossum
6a55242685
make sure paths to dirs don't end in a /
2003-06-20 21:26:55 +00:00
Just van Rossum
00a0b97dc5
Reworked --strip option: it will now look at _any_ file that's marked
...
executable in the bundle. Therefore got rid of the "binaries" attribute.
2003-06-20 21:18:22 +00:00
Just van Rossum
9e50023898
register the library inside Python.framework as eligable for stripping
2003-06-20 20:05:40 +00:00
Just van Rossum
3166f59d2a
Add initial standalone support for Python.framework
2003-06-20 18:56:10 +00:00
Jack Jansen
39c5d666c9
Give default _elemdict and _propdict attributes to OSA classes, so
...
we don't get infinite recursion for suites that don't have an application
class.
Also got rid of some tabs.
2003-06-18 14:19:08 +00:00
Jack Jansen
2cf9b956f7
An indenting error in the code made it miss some suites that have an application
...
class.
2003-06-18 14:17:34 +00:00
Jack Jansen
8475d0256a
Re-gegernated with the new gensuitemodule.
2003-06-13 14:31:19 +00:00
Jack Jansen
c8882b10c4
- Allow access to poperties of the "application" OSA class directly from
...
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)
2003-06-13 14:27:35 +00:00
Jack Jansen
5da131b2df
Added two keys to database format: User-install-skips is an array of pathname
...
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.
2003-06-01 20:57:12 +00:00
Jack Jansen
2a97dcce09
Use splitlines() in stead of split() to split lines, and added a method
...
shortdescription() so the code to split off the first line of the
description isn't all over the place.
2003-06-01 20:03:43 +00:00
Jack Jansen
9f0c5754a6
- Get the database from a different place.
...
- Added support for multi-line descriptions. Doesn't look nice
yet in Package Manager.
2003-05-29 22:07:27 +00:00
Jack Jansen
b789a060ee
- Added a scheme whereby pimp can update itself, by importing a module
...
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.
2003-05-28 18:56:30 +00:00
Jack Jansen
8ba0e80117
Added a --python option, which sets the python to be used in the #! line
...
in the bootstrap script of the applet.
2003-05-25 22:00:17 +00:00
Just van Rossum
5d6ad75d50
'Progress' doesn't exists, causing 'from EasyDialogs import *' to fail
2003-05-20 12:07:19 +00:00
Jack Jansen
c7c78ae531
Allow for Version, Flavor and Download-URL not being set.
2003-05-06 13:07:32 +00:00
Jack Jansen
705553acab
When doing a forced install of a package depending on a pseudo-package
...
you got a strange error message. Fixed.
2003-05-06 12:44:00 +00:00
Jack Jansen
4f45011af2
CWI moved websites around without me knowing it, and together with
...
a bug in urllib2 this caused pimp to stop working. Fixed the URL to
make it work again.
2003-05-02 20:27:40 +00:00
Jack Jansen
40006e9f7a
Rename funny long suite to Disk_File_Folder.
2003-05-01 22:06:15 +00:00
Jack Jansen
d69b744531
If not icon file is specified use the default Python Applet icons.
...
Fixes 719303.
2003-04-22 14:33:48 +00:00
Jack Jansen
6432f78215
Only return a warning message about not all files being unpacked if there
...
were indeed files that weren't unpacked.
2003-04-22 13:56:19 +00:00
Jack Jansen
36d49a907f
The identify() description didn't match the code. Fixed.
2003-04-16 13:10:53 +00:00
Jack Jansen
20fa6754d1
Allow switching of install dir after creation of preferences.
...
Changed some message to be clearer when presented by Package Manager.
2003-04-16 12:15:34 +00:00
Jack Jansen
6fde1cef4a
- Use the tarfile module to unpack tarfiles.
...
- 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.
2003-04-15 14:43:05 +00:00
Jack Jansen
3576066cad
Oops, _propdeclarations and friends are needed: gensuitemodule uses them
...
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.
2003-04-12 22:27:11 +00:00
Jack Jansen
0ae3220736
Detabbed.
2003-04-09 13:25:43 +00:00
Raymond Hettinger
ff41c48a77
SF patch #701494 : more apply removals
2003-04-06 09:01:11 +00:00
Jack Jansen
9dd78101d7
Sigh... The get() and set() commands are not declared in the aete for
...
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.
2003-04-01 22:27:18 +00:00
Jack Jansen
842273bcd7
Regenerated with property names with _Prop_ prepended.
2003-04-01 22:05:14 +00:00
Jack Jansen
bc956056d4
Properties (like enums) are not in the global namespace but only valid
...
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.
2003-04-01 22:01:58 +00:00
Jack Jansen
3279cb0315
Turned the suite compiler into an object.
2003-04-01 14:25:49 +00:00
Jack Jansen
18c9b13959
- All messages are now dependent on the --verbose option.
...
- Added a --dump option that doesn't generate the module but dumps
the pretty-printed aete resource(s) on stdout.
2003-04-01 13:32:17 +00:00
Jack Jansen
fc71026c8a
Subclasses of ObjectSpecifier can now be packed and unpacked. This allows
...
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.
2003-03-31 13:32:59 +00:00
Jack Jansen
397e914209
In TalkTo.send(), check that we have access to the window manager,
...
and initialize the event loop (if not done previously) to work around
a bug (IMHO) in MacOSX 10.2.
2003-03-31 13:29:32 +00:00
Jack Jansen
068a1e208f
Regenerated again, now clases are sorted by code, and with synonyms after
...
the primary name.
2003-03-30 22:41:53 +00:00
Jack Jansen
2dc16f2a1e
Classes have to be sorted by code, not name, and synonyms have to
...
be sorted after the main name, otherwise filling of properties and
elements messes up.
Sorting is always more difficult than expected:-)
2003-03-30 22:39:39 +00:00
Jack Jansen
a942b9931c
Moved gensuitemodule from Mac/scripts to Lib/plat-mac. Documentation
...
remains to be done.
2003-03-29 23:04:01 +00:00
Jack Jansen
694570efcf
Regenerated with the new way to get terminology (through AppleEvents),
...
which sometimes seems to result in different terminology. It does
seem to be mostly compatible, though.
2003-03-29 00:13:17 +00:00
Jack Jansen
d6ab153e5a
On OSX the finder will return from an open() event before the application
...
has actually entered its event loop. As a stopgap, allow for a 10 second
grace period.
2003-03-28 23:42:37 +00:00
Jack Jansen
d4885f87fa
Sigh: didn't catch all lists that needed to be sorted. Regenerated again.
2003-03-28 23:38:00 +00:00
Jack Jansen
7377bec6ae
Regenerated (from resource files) with sorting version of gensuitemodule.
...
This is a first step towards regenerating the modules with newer, MacOSX,
versions of these programs, and using the programmatic interface to
get at the terminology in stead of poking in resource files.
2003-03-28 22:07:22 +00:00
Jack Jansen
52fbe5330b
Allow floating point values in ProgressBar.
2003-03-24 12:12:24 +00:00
Jack Jansen
b46bebf518
Regenerated with Donovan Prestons patch #702620 .
2003-03-23 22:07:28 +00:00
Just van Rossum
5c83bb0f4a
use os.path.realpath() instead of os.readlink()
2003-03-21 22:22:19 +00:00
Jack Jansen
7e0bc112b8
Patch 702620 by Donovan Preston: Fix AE inheritance.
2003-03-21 12:04:19 +00:00
Just van Rossum
82ad32ec39
only set $PYTHONHOME when building a standalone app.
2003-03-21 11:32:37 +00:00
Just van Rossum
15624d850b
Patch #681927 from Robin Dunn: add option to add shared libraries or
...
frameworks to the bundle.
2003-03-21 09:26:59 +00:00
Just van Rossum
a87e44792c
set $PYTHONHOME in the bootstrap script, for no good reason really,
...
except to avoid getpath.c giving unsollicited advice on stderr.
2003-03-20 21:37:05 +00:00