Commit Graph

314 Commits

Author SHA1 Message Date
Just van Rossum 3bd8d0fb9c patch #678211 from Robin Dunn 2003-02-01 10:07:28 +00:00
Jack Jansen 2373ff4e4f Fix an omission in the previous checkin. 2003-01-26 22:15:10 +00:00
Jack Jansen b340acf9fd Use new file dialogs. 2003-01-26 21:40:00 +00:00
Jack Jansen df976caa34 Use new file dialogs. 2003-01-26 20:35:47 +00:00
Jack Jansen d44a3ec63c Getting rid of StandardGetFile 2003-01-22 14:03:12 +00:00
Jack Jansen 3e82872eca Merging the various tweaks for MacPython-OS9 2.3a1 back into the trunk. 2003-01-08 16:27:44 +00:00
Jack Jansen 487197dd53 Updated for demise of macfs. 2002-12-24 13:07:58 +00:00
Jack Jansen 9ea729c624 Got rid of non-carbon stuff, and added new Alias, File and Folder modules. 2002-12-13 23:34:03 +00:00
Jack Jansen 805f1deb67 Tweaked button sizes and hid unused items. 2002-12-13 23:33:28 +00:00
Just van Rossum e6de56e81c make the --link option match the original: just symlink the executable 2002-11-22 11:45:42 +00:00
Just van Rossum 224405fcfd Replaced the bundle building code with calls to the new bundlebuilder
module.
Jack: I've compared the .app output of the orginal with the new and I
can't find any significant differences. However, bundlebuilder.py
contains its' own command line interface and I think we should use
that instead. I'll have a look to see whether I can patch
Mac/OSX/Makefile.jaguar to this effect.
2002-11-22 11:10:49 +00:00
Jack Jansen 4ea1f455d7 Go from filename to FSSpec via FSRefs, to work around outdated macfs module
in python 2.2.
2002-11-15 00:08:29 +00:00
Jack Jansen d892d4e1c0 Make the Resources directory if needed. 2002-11-15 00:07:31 +00:00
Jack Jansen 65fe8dda15 Script to create .app bundles. Largely untested. 2002-11-06 23:15:51 +00:00
Jack Jansen 25a8f0d5f8 Silly me, I enabled the old help module. Fixed. 2002-09-06 22:59:00 +00:00
Jack Jansen b34101162d Added carbon Help module. 2002-09-06 22:41:03 +00:00
Jack Jansen 997429a5f4 The script was very sloppy about which variables held source pathnames
and which held destination pathnames. Fixed.
2002-09-06 21:55:13 +00:00
Jack Jansen 3337ea731b Remove .pyo files too. 2002-09-06 20:23:09 +00:00
Jack Jansen a6db44f169 Script to generate .pkg packages, donated by Dinu Gherman. This is his
original code, it still needs fiddling to make it work in general
circumstances.
2002-09-06 19:47:49 +00:00
Jack Jansen fd372aa8e9 Don't build ConfigurePythonCarbon and ConfigurePythonClassic any longer,
classic Python is gone.
2002-08-22 23:37:00 +00:00
Jack Jansen 5fd945895e For MacPython-OS9 verbose is the default. 2002-08-22 23:36:11 +00:00
Jack Jansen b8da8d7761 Tool to pre-created cached .rsrc.df.rsrc files in the Lib directories,
similar to compileall.py.
2002-08-09 13:42:55 +00:00
Jack Jansen f1148f0bb3 Patch by Russel Owen: if we have command line arguments zap pyc files
in the directories given.
2002-08-09 10:17:28 +00:00
Jack Jansen 7ff034b65b Fixed incorrect logic in determining whether we should initialize
the classes' attribute list.
2002-08-07 15:52:44 +00:00
Jack Jansen 21f675826e - If an OSA identifier is a Python reserved word we now append an _
in stead of prepending it, which messes up "import * from".
- A few ascii()s added again.
- Changed the getbaseclasses a little, but it still isn't perfect.
2002-08-07 15:44:53 +00:00
Jack Jansen 2f7f8c4a64 Don't be over-enthusiastic with the ascii() calls: we don't need it if
the result passes through backticks.
2002-08-07 15:05:42 +00:00
Jack Jansen 8b77767094 Donovan Preston's patch #538395, with some mods by me.
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.
2002-08-07 14:49:00 +00:00
Jack Jansen 20417bcd18 Better output for errors, and some progress reports.
Handle the two modules with non-standard scanner module names.
2002-08-05 21:14:16 +00:00
Jack Jansen a4741ffe63 This can now run under unix-Python too. You have to pass the folder
to search on the command line in that case.
2002-08-05 15:33:44 +00:00
Jack Jansen 3bd3fedeca Added _IBCarbon module. 2002-08-05 14:12:24 +00:00
Jack Jansen 66e794d743 Finally found out why te cf project sometimes worked and someimes didn't. Fixed it. 2002-07-22 12:32:31 +00:00
Jack Jansen 1892cf0312 Started on support for using standard setup.py to build at least
the "standard" modules. Unfinished, but shouldn't harm anything.
2002-06-27 22:09:19 +00:00
Jack Jansen c70815ac0f Disabled non-carbon builds (for the moment still optional) and made
these scripts work with the new precompiled headers.
2002-06-26 22:06:08 +00:00
Jack Jansen 388fbf3d4a - Better commandline interface to BuildApplet, complete with options,
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.
2002-06-09 22:08:52 +00:00
Jack Jansen b66e1a3dd2 Allow the shared library initialization routine to be overridden with an initialize=xxx argument.
Should fix #492465.
2002-05-23 22:34:18 +00:00
Jack Jansen 18983536dc First part of fix for #493826: if 'errn' key exists in return value this doesn't necesarily signal an error, only if the value is non-zero it does. This
does not correspond with my reading of the documentation, but the OSX Finder can return 'errn'=0, and it knows better than me:-)

Bugfix candidate.
2002-04-23 21:03:21 +00:00
Jack Jansen 7aace7a2dc Regenerated to include Internet Config error strings.
Bugfix candidate.
2002-04-22 11:45:46 +00:00
Jack Jansen 117dbdf4b4 Added an optional file with MacErrors.h extensions: IC errors aren't in there.
Bugfix candidate.
2002-04-22 11:44:26 +00:00
Jack Jansen 4092606d6b Modified to allow it to run in MachoPython in a reasonable way. It still
needs a decent commandline interface, though.
2002-03-30 23:43:04 +00:00
Jack Jansen 5ee24ae98d Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.
Should finally fix 531398. 2.2.1 candidate.
2002-03-24 22:59:16 +00:00
Jack Jansen 9051e0e577 - Weaklink InterfaceLib in _Res module
- forgot to pass libraryflags and stdlibraryflags on to ppc/carbon
  project generation.

First half of fix to 531398.
2002-03-22 14:15:07 +00:00
Jack Jansen 86c4d64751 Modifed for new included expat. 2002-03-14 23:14:43 +00:00
Jack Jansen b2ecc2c6c8 Get rid of keyword list and use keyword.iskeyword() function (which I wasn't aware of previously). 2002-01-24 22:44:07 +00:00
Jack Jansen bdd6e705ae "yield" is also a keyword. Spotted by Neal Norwitz. 2002-01-24 12:36:51 +00:00
Jack Jansen 8b0ee24e22 (Much) better list of Python keywords, supplied by Michael J. Barber. 2002-01-23 22:49:48 +00:00
Jack Jansen 685d46fee1 Newer names for various error include files. 2002-01-22 23:25:12 +00:00
Jack Jansen a618c3fcfe Build _tkinter for Carbon too. 2002-01-22 23:24:41 +00:00
Jack Jansen 7ebcbf5cf9 Identify() enum values. This was changed in 1.14, but I don't think it is a good idea. 2002-01-22 23:24:03 +00:00
Jack Jansen 4a667c724a CodeWarrior includes Waste and Internet Config nowadays, obviating the need for separate downloads. 2002-01-11 12:39:03 +00:00
Jack Jansen 1b8bd94f73 The import of the scanner can also fail, cater for that. 2001-12-14 23:01:34 +00:00