Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Shut up FutureWarnings about hex constants. | Jack Jansen | 2002-09-12 | 1 | -0/+4 |
| | |||||
* | Patch by Tony Lownds: add the Resources directory to sys.path. | Jack Jansen | 2002-09-12 | 1 | -0/+6 |
| | |||||
* | Reverted previous change, I was confused. | Jack Jansen | 2002-09-10 | 1 | -1/+1 |
| | |||||
* | Import Carbon.AH, not Carbon.Help | Jack Jansen | 2002-09-06 | 1 | -1/+1 |
| | |||||
* | Get rid of non-ascii characters. | Jack Jansen | 2002-09-06 | 1 | -4/+4 |
| | |||||
* | Initialize self._helpmenu earlier, so we can use gethelpmenu() while | Jack Jansen | 2002-08-30 | 1 | -1/+1 |
| | | | | building the user menus. | ||||
* | Added support for the help menu. Application.gethelpmenu() will return | Jack Jansen | 2002-08-29 | 1 | -0/+35 |
| | | | | | | | 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. | ||||
* | Revived the Carbon.Help module, but implementing the MacHelp API in stead | Jack Jansen | 2002-08-29 | 2 | -66/+58 |
| | | | | | of the defunct Balloons API. Help tags are TBD, but at least this gives us access to the help menu. | ||||
* | Don't copy the documentation when using Python.app as an applet template. | Jack Jansen | 2002-08-29 | 1 | -0/+1 |
| | |||||
* | This file never made it to the repository, somehow. | Jack Jansen | 2002-08-28 | 1 | -0/+28 |
| | |||||
* | These were regenerated some time ago (with ascii chars only and | Jack Jansen | 2002-08-28 | 6 | -59/+61 |
| | | | | fully qualified imports) but somehow not checked in yet. | ||||
* | Interface to Apple Help Viewer. | Jack Jansen | 2002-08-28 | 2 | -0/+7 |
| | |||||
* | Refuse to run if the last bit of the destination path contains a # character. | Jack Jansen | 2002-08-18 | 1 | -1/+4 |
| | | | | | | | | | | | 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. | ||||
* | - Check not only that cache file exists, but also that it is newer than | Jack Jansen | 2002-08-09 | 1 | -4/+7 |
| | | | | | the applesingle file. - Added optional verbose option for cachersrc tool. | ||||
* | Use hex escape for non-ascii chars, now that the parser wants that. | Jack Jansen | 2002-08-08 | 1 | -13/+13 |
| | | | | | Good thing, too: some of the characters had been mangled by OS9->CVS->OSX roundtrips. | ||||
* | Regenerated with OSA class inheritance and fix for non-ascii chars. | Jack Jansen | 2002-08-07 | 42 | -818/+2217 |
| | |||||
* | Donovan Preston's patch #538395, with some mods by me. | Jack Jansen | 2002-08-07 | 3 | -20/+97 |
| | | | | | | | | | | | | 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. | ||||
* | Wrapper around _IBCarbon. | Jack Jansen | 2002-08-06 | 1 | -0/+1 |
| | |||||
* | Patch by Ronald Oussoren: if there's a .lproj in the extras list also | Jack Jansen | 2002-08-05 | 1 | -1/+10 |
| | | | | | check whether it contains a .nib, and do the Cocoa song and dance if it does. | ||||
* | In copy() don't try to obtain an FSSpec until we know the destination | Jack Jansen | 2002-08-05 | 1 | -6/+12 |
| | | | | exists. Partial fix for #585923. | ||||
* | Moved bgenlocations to the Mac/Lib directory. Not perfect, but better than | Jack Jansen | 2002-08-05 | 1 | -0/+61 |
| | | | | | | | 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. | ||||
* | The definitions for IBCarbonRuntime.h | Jack Jansen | 2002-08-04 | 1 | -0/+5 |
| | |||||
* | Mkdirs() failed when provided with unix pathnames. Fixed. | Jack Jansen | 2002-08-03 | 1 | -1/+1 |
| | |||||
* | Hmm, in some cases we don't seem to get our scriptname in argv[0]. | Jack Jansen | 2002-08-02 | 1 | -2/+13 |
| | | | | Cater for that by working from sys.executable. | ||||
* | Final step in making applets first-class citizens: if the applet wants | Jack Jansen | 2002-08-02 | 2 | -0/+56 |
| | | | | | | | | | 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. | ||||
* | Oops, the -psn stuff is in argv[1], of course. | Jack Jansen | 2002-08-02 | 1 | -2/+2 |
| | |||||
* | Got rid of a couple of OS9-isms. | Jack Jansen | 2002-08-02 | 1 | -3/+8 |
| | |||||
* | - Slightly better error message in case of syntax errors in the script. | Jack Jansen | 2002-08-02 | 1 | -3/+5 |
| | | | | | - The applet .rsrc file should be called python.rsrc, it is not based on the applet name. | ||||
* | - Remove -psn-xxxx argument added by the Finder. | Jack Jansen | 2002-08-02 | 1 | -1/+4 |
| | | | | - "Open Document" appleevent is "odoc", not "open". | ||||
* | Construct a sys.argv from the initial AppleEvent sent by the finder | Jack Jansen | 2002-08-02 | 1 | -0/+111 |
| | | | | | | 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. | ||||
* | Slightly better error message in case of missing resources. | Jack Jansen | 2002-08-02 | 1 | -5/+5 |
| | |||||
* | Added a __contains__ method. | Jack Jansen | 2002-07-26 | 1 | -0/+3 |
| | |||||
* | staticforward bites the dust. | Jeremy Hylton | 2002-07-17 | 1 | -1/+1 |
| | | | | | | | | | | | | | | | 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. | ||||
* | In plugin projects use (by default) the new mwerks_shcarbon_pch | Jack Jansen | 2002-06-26 | 1 | -1/+1 |
| | | | | header file in stead of mwerks_carbonplugin_config.h. | ||||
* | Close the project after generating it, so we don't keep a gazillion project | Jack Jansen | 2002-06-26 | 1 | -0/+1 |
| | | | | files open when we're rebuilding them all. | ||||
* | Turns out GetArgv() options can be 4-tuples too, with the last value being ↵ | Jack Jansen | 2002-06-26 | 1 | -3/+9 |
| | | | | | | the default (or something like that). Cater for this. Also put in a safeguard against very long help strings. | ||||
* | Open the source file in universal newline mode. | Jack Jansen | 2002-06-20 | 1 | -1/+1 |
| | |||||
* | - Better commandline interface to BuildApplet, complete with options, | Jack Jansen | 2002-06-09 | 1 | -45/+96 |
| | | | | | | | verbose output to the console, etc. - Allow Cocoa applets to be built with BuildApplet. No full testing has been done yet to ensure OS9 operation hasn't suffered. | ||||
* | Allow the shared library initialization routine to be overridden with an ↵ | Jack Jansen | 2002-05-23 | 3 | -2/+4 |
| | | | | | | initialize=xxx argument. Should fix #492465. | ||||
* | Regenerated from new Universal Headers. | Jack Jansen | 2002-05-22 | 16 | -261/+717 |
| | |||||
* | Fixed a mistake on my part when regenerating: removed a bogus import of ↵ | Jack Jansen | 2002-05-07 | 1 | -2/+0 |
| | | | | | | Applscript_Suite. Bugfix candidate (I'll move it over myself). | ||||
* | Regenerated. | Jack Jansen | 2002-04-24 | 1 | -4/+4 |
| | | | | Bugfix candidate. | ||||
* | Second part of fix for #493826: regenerated suite modules so errn exists but ↵ | Jack Jansen | 2002-04-23 | 33 | -1012/+687 |
| | | | | | | == 0 doesn't signal an error. Bugfix candidate. | ||||
* | Regenerated to include Internet Config error strings. | Jack Jansen | 2002-04-22 | 1 | -9/+72 |
| | | | | Bugfix candidate. | ||||
* | Get rid of backward compatibility modules. Do this fairly early in the 2.3 ↵ | Jack Jansen | 2002-04-11 | 45 | -180/+0 |
| | | | | cycle so we don't shoot ourselves in the foot later. | ||||
* | Suite to talk to the OSX Terminal application. | Jack Jansen | 2002-03-30 | 2 | -0/+345 |
| | |||||
* | Got rid of obsolete way to get at various toolbox types. | Jack Jansen | 2002-03-30 | 1 | -5/+3 |
| | |||||
* | Handle .icns and .plist files for applets. | Jack Jansen | 2002-03-29 | 1 | -5/+23 |
| | | | | | Also, for now (until we learn to parse .plist files) we make a special case for the IDE, setting the creator to "Pide". | ||||
* | Implemented buildtools for MachoPython .app bundles. The API is compatible | Jack Jansen | 2002-03-29 | 1 | -2/+150 |
| | | | | enough that IDE and BuildApplet can create applets, yeah! | ||||
* | Don't attempt to create a dummy fsspec if the user cancelled out, just | Jack Jansen | 2002-03-29 | 1 | -3/+6 |
| | | | | | | | return None. For now, if the user asks for TEXT files files without type are also accepted. But it is time to phase out StandardGetFile and friends, really. |