| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
| |
Todo:
- command line parsing
- main program
- modulefinder(-like ;-) support to build standalone apps.
|
|
|
|
|
|
| |
- don't encode/escape elements
- fixed typo in doc string
- provide our own copy function for the Dict class
|
| |
|
| |
|
| |
|
|
|
|
| |
attempt to load an override version in this case.
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
| |
to it.
- Allow for symlinks in the applet template.
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
| |
(or don't always?) show up with missed(). I think this is a bug in
Jaguar, but as it is a potential dangerous problem (the OSA event has
failed, but the Python code isn't told about this and happily continues)
this is a quick workaround.
Bugfix candidate, I'll add it to 2.2.2 as a last second fix.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
building the user menus.
|
|
|
|
|
|
|
| |
it.
Also fixed menu IDs to be signed in do_menudispatch. this is an incompatible
change, but I don't think it'll hurt anyone.
|
|
|
|
|
| |
of the defunct Balloons API. Help tags are TBD, but at least this gives
us access to the help menu.
|
| |
|
| |
|
|
|
|
| |
fully qualified imports) but somehow not checked in yet.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
This is a silly workaround for a rather serious bug in MacOSX: if you take
a long filename and convert it to an FSSpec the fsspec gets a magic
cooky (containing a #, indeed). If you then massage the extension of this
fsspec and convert back to a pathname you may end up referring to the
same file. This could destroy your sourcefile. The problem only occcurs
in MacPython-OS9, not MacPython-OSX (I think).
Closes bug #505562.
|
|
|
|
|
| |
the applesingle file.
- Added optional verbose option for cachersrc tool.
|
|
|
|
|
| |
Good thing, too: some of the characters had been mangled by OS9->CVS->OSX
roundtrips.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch makes inheritance for OSA classes work. The implementation is a
bit convoluted, but I don't immedeately see a simpler way of doing it.
I added calls to ascii() everywhere we output strings that may contain
non-ascii characters (Python has gotten very picky since the encoding
patch:-).
I also removed Donovan's different way of opening resource files: I don't
seem to need it.
|
| |
|
|
|
|
|
| |
check whether it contains a .nib, and do the Cocoa song and dance if
it does.
|
|
|
|
| |
exists. Partial fix for #585923.
|
|
|
|
|
|
|
| |
where it was: it is really a configuration file, not a normal module.
By moving it into Mac/Lib we can now also store the location of bgen
itself in there, which is needed because bgen isn't installed.
|
| |
|
| |
|
|
|
|
| |
Cater for that by working from sys.executable.
|
|
|
|
|
|
|
|
|
| |
argv emulation (i.e. if the end user drops files and folders on the
applets these will show up in sys.argv) BuildApplet will add the required
code to the applet bundle, in __rawmain__.pyc.
This code is compiled from appletrawmain.py, it creates sys.argv, cleans
up most of the mess and executes either __main__.py or __main__.pyc.
|
| |
|
| |
|
|
|
|
|
| |
- The applet .rsrc file should be called python.rsrc, it is not based on the
applet name.
|
|
|
|
| |
- "Open Document" appleevent is "odoc", not "open".
|
|
|
|
|
|
| |
during startup of a program. This module will replace the C code in
macgetargv.c so we can get rid of the special macmain.c for OSX
Python.app.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
The staticforward define was needed to support certain broken C
compilers (notably SCO ODT 3.0, perhaps early AIX as well) botched the
static keyword when it was used with a forward declaration of a static
initialized structure. Standard C allows the forward declaration with
static, and we've decided to stop catering to broken C compilers. (In
fact, we expect that the compilers are all fixed eight years later.)
I'm leaving staticforward and statichere defined in object.h as
static. This is only for backwards compatibility with C extensions
that might still use it.
XXX I haven't updated the documentation.
|
|
|
|
| |
header file in stead of mwerks_carbonplugin_config.h.
|
|
|
|
| |
files open when we're rebuilding them all.
|
|
|
|
|
|
| |
the default (or something like that). Cater for this.
Also put in a safeguard against very long help strings.
|
| |
|