Commit Graph

348 Commits

Author SHA1 Message Date
Jack Jansen d39c246a4c Dynamic modules are now put in :Lib:lib-dynload by default. For the toolbox modules this is overridden to put them in :Mac:Lib:Carbon. 2001-08-19 22:29:57 +00:00
Jack Jansen e791a6421f If genpluginprojects is called from fullbuild we set the Python source directory to be the same as fullbuild uses (in stead of using the default sys.prefix). This fixes an issue Mark Day raised that you can't use fullbuild with one Python installation to build another one. 2001-08-16 20:39:17 +00:00
Jack Jansen 67992b7732 Bit another bullet: all toolbox modules are now in dynamically loaded modules. Everything still seems to work, but the ConfigurePythonXXX on initial install may still need work. 2001-08-07 13:53:25 +00:00
Fred Drake 79e75e1916 Use string.ascii_letters instead of string.letters (SF bug #226706). 2001-07-20 19:05:50 +00:00
Jack Jansen 654c8db9a0 Typo in the classic mlte build line. 2001-07-16 22:04:08 +00:00
Jack Jansen 198641247b Added Mlte module (which, to my surprise, is available for classic ppc as well). 2001-07-13 20:57:47 +00:00
Jack Jansen f4b9fb719a Added CF module build and project generation (carbon only). 2001-06-26 21:52:08 +00:00
Jack Jansen 11493bc65f Simple script to regenerate all bgen-generated modules. 2001-05-22 22:18:21 +00:00
Jack Jansen e8f53bb779 Dynamically loaded toolbox modules don't need to link against each other anymore, due to the new glue code that ties them together. 2001-05-17 22:12:55 +00:00
Jack Jansen 5a4718e1ed Bah, somehow the macroman<->iso-latin-1 translation got lost during the merge. Checking in one fixed file to make sure MacCVS Pro isn't the problem. If it isn't a flurry of checkins will follow tomorrow. If it is... well... 2001-05-15 20:22:08 +00:00
Jack Jansen 2e2546c5fd On OSX always copy PythonCore. It turns out an orphaned alias in /Library/CFMSupport (happens when you remove python and aliased pythoncore) wreaks havoc with the system. 2001-03-29 13:53:19 +00:00
Jack Jansen 9bfae985ab Changed some of the dialogs to be a little clearer. 2001-03-29 13:52:16 +00:00
Jack Jansen 3f4c173d5c Oops, ISO translation was off. Fixed. 2001-03-27 21:32:34 +00:00
Jack Jansen 875b51dff9 Added dummy _tkinter module for Carbon, which explains that Tkinter isnt supported under Carbon. 2001-03-20 23:30:06 +00:00
Jack Jansen d11f93c475 Look for shared libraries first in kLocalDomain and then in kOnSystemDisk.
Don't do sys.prefix==os.getcwd() check unless we're an applet.
2001-03-15 14:28:40 +00:00
Jack Jansen 0a3939fc71 Finished implementation of removing incorrect preferences file. 2001-03-09 23:15:27 +00:00
Jack Jansen 54f3bdbfe1 Detect that the preference file may be incorrect, and offer to remove it. This isn't finished yet. 2001-03-08 23:07:57 +00:00
Jack Jansen c1463c9870 macostools.copy() now has an optional forcetype flag, which sets the filetype. This is used by various tools to set the type to APPL when copying interpreter template files (Atmp filetype). 2001-03-06 22:46:25 +00:00
Jack Jansen 36bcf9b94f Re-try the file copy once if it fails. This works around an obscure and non-reproducibe bug in GUSI. 2001-03-06 22:43:06 +00:00
Jack Jansen a647807e40 Also build Imaging for Carbon. 2001-03-01 23:15:01 +00:00
Jack Jansen f7fb3e6435 Oops, need to import Res. 2001-02-28 15:53:18 +00:00
Jack Jansen 72b97aed80 If we can't find our splash dialog (i.e. we're probably running from source) go into interactive mode: print what we're doing and ask about carbon/classic configure. 2001-02-28 11:23:04 +00:00
Jack Jansen 6223d48933 Added Popt resource for "dont show console"
Changed SIZE resource to be carbon-compatible.
2001-02-27 23:22:51 +00:00
Jack Jansen 64700c9603 Various tweaks to make it work on MacOSX. 2001-02-27 23:22:02 +00:00
Jack Jansen 0b1f1b5145 - Removed debug
- Make sure splash screens are visible
2001-02-17 23:39:35 +00:00
Jack Jansen cbb5d4972f ConfigurePython now comes in two flavors: ConfigurePythonClassic and ConfigurePythonCarbon, which copy the respective interpreters to PythonInterpreter and rebuild all the applets. This allows MacOS9 users to switch back and forth. 2001-02-17 23:31:48 +00:00
Jack Jansen f3eaf01c23 More modifications to bring the script output in line with the real thing. 2001-02-17 22:00:18 +00:00
Jack Jansen ed24cd2cf7 DialogWindows now have a self.dlg in addition to self.wid. 2001-02-14 17:07:04 +00:00
Jack Jansen 3112bc10ee Also create alias to PythonCoreCarbon.
Got rid of lots of 68k stuff.
2001-02-14 17:04:51 +00:00
Jack Jansen 0eea16633a Adapted unweave to Matthias' fixes. It's still off-by-one-space in some cases. 2001-02-13 22:58:56 +00:00
Jack Jansen 6e27118b72 Added modules _testcapi, _weakref, _symtable. 2001-02-12 14:50:52 +00:00
Jack Jansen 5288c47f6b Added buttons for building interpreter, carbon standalone.
Added modules _testcapi, _weakref, _symtable.
2001-02-12 14:46:53 +00:00
Jack Jansen 5c734e8165 Replaced by :Lib:cfmfile.py. 2001-02-08 13:17:23 +00:00
Jack Jansen 1bbf6ff00f Make balloon code dependent on existence of Help module 2001-01-29 14:59:33 +00:00
Jack Jansen a3e2dcadcc Removed device from the list of Qd incompatibilities. It should be there, but causes too many false positives. 2001-01-29 14:27:32 +00:00
Jack Jansen 5a8115c94b Ported the icglue module to carbon. 2001-01-29 13:27:46 +00:00
Jack Jansen 13735e3e3e Added Help, Scrap and icglue missing methods. 2001-01-29 13:22:29 +00:00
Jack Jansen 41eb3c7dc5 ucnhash module has gone. 2001-01-25 16:28:34 +00:00
Jack Jansen 8c98266a7d Waste and scrap now sort-of work for Carbon. Scrap is mostly empty, and waste uses a mixture between Waste 2.0 and Waste 1.3. 2001-01-24 16:02:07 +00:00
Jack Jansen 131c288484 Build directives for PythonStandalone were missing. 2001-01-24 14:06:35 +00:00
Jack Jansen bace5e9481 Added the GrafPort attributes that are unavailable under Carbon. 2001-01-24 14:06:04 +00:00
Jack Jansen 7b7e713c0d Also build the Carbon extension modules. 2001-01-23 23:19:41 +00:00
Jack Jansen dfebb2786a Ah well, why not check this in. A script to remove all .pyc files in a folder hierarchy. 2001-01-23 22:45:52 +00:00
Jack Jansen c3fc51f61b Added the actual builds of the carbon projects. 2001-01-23 22:36:52 +00:00
Jack Jansen 8c19b882e4 Generate Carbon as well as classic PPC plugin projects. This module is finally paying back the investment in it! 2001-01-23 22:36:26 +00:00
Jack Jansen 5bb3be2ffe A script to search for methods that are missing in Carbon in Python
sources. So far only runs under unix, but what gives:-)
2001-01-23 15:59:39 +00:00
Jack Jansen 7302340436 Sigh... First test before committing. InvalWindowRect and friends are window object methods. Fixed. 2001-01-23 14:58:20 +00:00
Jack Jansen d829e9e8e3 Replaced InvalRect and friends with the Carbon-compliant InvalWindowRect. 2001-01-23 14:34:49 +00:00
Jack Jansen 0e1c24ab89 Waste needs the ICProgKit API. 2001-01-22 14:50:05 +00:00
Jack Jansen 1f5cd700e9 Added support for forced project building.
Added carbon targets (mainly placeholders at the moment).
2001-01-21 22:25:11 +00:00
Jack Jansen 1eda203a02 Added a force option (to force project generation, the default is now to only generate if different).
Try to convert all search paths to relative.
2001-01-21 22:24:27 +00:00
Jack Jansen b55b7bb3ab Use relative path for outputdir. 2001-01-03 16:44:56 +00:00
Jack Jansen e56e87dcc8 Got rid of 68K support.
Added optional generation of project files.
Redesigned dialog.
2001-01-03 11:12:21 +00:00
Jack Jansen be614ee732 Use re in stead of regex. 2001-01-02 22:02:02 +00:00
Jack Jansen 5a95e42841 Updated for new universal headers (oops... this was loooong due). 2001-01-01 22:58:20 +00:00
Jack Jansen c158bb2293 Minor clarficiations in the dialogs about which errno file is wanted when (I had also forgotten:-). 2001-01-01 22:57:59 +00:00
Jack Jansen 07d69f60bd New .mcp names for tkinter and imgmodules projects. 2001-01-01 21:51:33 +00:00
Jack Jansen 52328165c5 Changed the search path for pyexpat to include all of the expat folder. 2000-12-29 16:07:30 +00:00
Jack Jansen 61c64c9de0 Various tweaks. It now returns the exact same files as Matthias' tool 95% of the time. 2000-12-14 23:35:01 +00:00
Jack Jansen f0d750803d Oops, interaction() returned a single value in stead of a tuple (I thought that bug was loooong fixed??!?). 2000-12-14 23:34:15 +00:00
Jack Jansen 581fa78362 First stab at a script that mimicks Matthias Neerachers tool used to build GUSI. 2000-12-14 22:29:58 +00:00
Jack Jansen 968c36d81b Qdoffs now exports GWorld new/convert, and Qt uses them.
Drag moved to core toolbox modules (Win uses it).
2000-12-12 21:53:48 +00:00
Jack Jansen a5d384dedf Updated for the new project names. 2000-12-03 22:36:42 +00:00
Jack Jansen 6c502d7a81 Got it working for all important plugins, and moved it from Build to scripts. 2000-12-03 22:31:50 +00:00
Jack Jansen 3e3eb3e822 Oops, all the options were off-by-one. Reported by Tom Bridgman. 2000-10-19 21:50:54 +00:00
Jack Jansen 635a044b87 Fixed balloon help for options. Sort-of reported by Russell Finn. 2000-10-19 21:22:46 +00:00
Jack Jansen 9ec8c0600a Different phrasing of keepconsole options, suggested by David Goodger. 2000-10-19 20:33:41 +00:00
Jack Jansen ab49e88116 Call SchedParams(1,0) so the dialog is correctly re-enabled after something has been on top of it. 2000-10-13 23:35:04 +00:00
Jack Jansen 8c94d5eb0e Added some of the new Numeric modules (which weren't rebuilt). 2000-10-13 23:34:06 +00:00
Jack Jansen 52b5b0221f If we're installing to another partition than the system partition offer to copy PythonCore in stead of aliasing it. This should fix the applet problems some people have. 2000-10-13 23:33:34 +00:00
Jack Jansen 6ab2cb6696 Better exit handling. 2000-10-12 21:22:26 +00:00
Jack Jansen 4a5eb967b8 Keepconsole is now a 4-way option: never/errorexit/unseen output/always. Default is "unseen output". Upped the Popt version number. 2000-09-22 21:50:11 +00:00
Jack Jansen 9c940ca143 Moved to Unsupported. 2000-09-12 20:24:50 +00:00
Jack Jansen eb43b30aee The logic for finding long matches before short ones was wrong (why did I never notice this??!?), fixed. 2000-09-10 12:03:06 +00:00
Jack Jansen 3500d85b07 Removed 68k support, added pyexpat, adapted for new NumPy. 2000-09-08 10:19:04 +00:00
Jack Jansen 9d6d2c0c97 Only output the code to alias properties if the names aren't the same. 2000-08-22 20:34:35 +00:00
Jack Jansen 6aa92c5093 - identify() enum names.
- don't identify() enum values.
- make aetools.Error available in the package module.
2000-08-20 21:59:03 +00:00
Jack Jansen 51f357049b Moved to unsupported: it doesn't work anymore and it has outlived its usefulness so I don't want to fix it. 2000-08-20 20:10:39 +00:00
Jack Jansen 2eda24475c Enums we cannot find are set to None, and enumsubst understands this (no substitution done). This is need for what I think are bugs in the Finder aete resources (some events use unknown enums). 2000-08-20 19:42:52 +00:00
Jack Jansen 12b2b76608 Fixed event inheritance code (which didn't work at all).
Do two passes over the suites so we can figure out dependencies for enums and such. The manual method was getting too cumbersome for Finder suites.
2000-08-20 19:30:56 +00:00
Jack Jansen 87426b9f1b Use the new package-based scripting support. 2000-08-17 22:12:12 +00:00
Jack Jansen 60762cb920 Generate packages in stead of separate modules. The package main module imports everything, it knows about the app signature, suites can extend standard suites, and lots more. Automatically finding declarations in other suites TBD. 2000-08-17 22:11:45 +00:00
Jack Jansen bc66f950e8 If any of the builds in a group fails offer to stop the fullbuild process and open the failing projects in codewarrior. 2000-07-24 19:45:07 +00:00
Jack Jansen 919d3267ff Added a "compile-time" flag PPC_ONLY, if set we make ppc-only applications without posting the dialog. This is the normal situation since 1.6alfa (no more 68k support). 2000-07-24 19:44:17 +00:00
Jack Jansen 89d017d072 Added the unchash module. 2000-07-07 13:08:09 +00:00
Jack Jansen d13c385462 Replaced OpenResFile calls with FSpOpenResFile calls (which are carbon-compatible). 2000-06-20 21:59:25 +00:00
Jack Jansen dafe4712dd Nav removed (it has moved to the core toolbox modules). 2000-06-07 20:35:38 +00:00
Jack Jansen 6f8a6d21a1 Selecting the macfsn option didn't work, fixed.
Fixed the help strings.
Swapped the macfsn and help button numbers.
2000-05-09 10:01:52 +00:00
Jack Jansen 31e2d7354f The applets need more memory nowadays, it seems (because of navservices, maybe?). Give them 4M, that should be okay for a while. 2000-05-07 22:05:33 +00:00
Jack Jansen caaa982094 Put the install folders in (vise), not vise, so the include files aren't accidentally picked up by the normal build process. 2000-05-06 22:34:20 +00:00
Jack Jansen 0c6d037cc5 Removed string-exception preference, added tabcheck and NavService preference, upped version number. 2000-05-05 23:11:14 +00:00
Jack Jansen 68552ddece Automatically dump distribution folders where I want them, next to the vise scripts. 2000-05-05 23:07:43 +00:00
Jack Jansen bfbf113827 Don't build the _tkinter project from Build, only the one from Extensions:Imaging, which now drops its resulting .slb into the PlugIns folder. 2000-04-23 22:13:15 +00:00
Jack Jansen 6c38e5b46d Drag was missing from the modules built. 2000-04-08 21:29:31 +00:00
Just van Rossum f84fdfeefb added PythonCGISlave and BuildCGIApplet to the list of applets to build (jvr) 2000-03-28 20:50:36 +00:00
Jack Jansen 34d11f0670 Fixed multi-arg appends. 2000-03-07 23:40:13 +00:00
Jack Jansen 6448c35248 Build the Nav module too. 2000-01-24 10:15:59 +00:00
Jack Jansen 8242c9e4c4 Get/set sys.path initializer in new appearance way. 2000-01-13 16:22:12 +00:00
Jack Jansen c9b1e90cc8 Modified for appearance. 1999-12-24 13:39:23 +00:00
Jack Jansen 6a6db0724c Partially converted to Appearance, the dialog still has the old ugly layout and
interaction.
1999-12-23 14:34:07 +00:00
Jack Jansen d2bf68fdb9 Converted to Appearance. 1999-12-23 14:33:20 +00:00
Jack Jansen 43fd1f75db Give a warning if system-wide sys.argv processing is off (because then we
may have missed an applet being dropped on us). This may fix the obscure bug
Tony Ingraldi was experiencing.
1999-12-02 22:52:12 +00:00
Just van Rossum 29e5184491 Typo fixed in docstring; removed unneccesary import. (jvr) 1999-11-04 10:30:13 +00:00
Just van Rossum f98e692257 removed two redundant lines -- jvr 1999-04-24 16:48:34 +00:00
Jack Jansen 6a51b37167 Added Qdoffs module. 1999-03-07 23:10:32 +00:00
Jack Jansen 57ed139c22 Added App module (appearance manager interface). 1999-03-04 23:00:11 +00:00
Jack Jansen 3b8052685c (finally) unified the interpreter and the applet as Just suggested ages ago. The
resulting program is called PythonInterpreter.
1999-02-14 23:12:06 +00:00
Jack Jansen 87352f8065 Build all plugins modules separately, the PlugIns.prj project seems to
have stopped working.
1999-02-12 10:29:06 +00:00
Just van Rossum 7f1653c0e5 new dangerous script: it removes all apps (except sys.executable), shared libs, (x)SYM files and xxx Data folders (in case xxx.prj exists) -- jvr 1999-02-07 16:36:22 +00:00
Jack Jansen fa155a1b2c Don't create symlinks to toolbox modules any more. 1999-02-07 13:59:06 +00:00
Jack Jansen 8eea5baca8 img modules are no longer in PlugIns folder. 1999-02-06 17:44:28 +00:00
Jack Jansen 33a5d7e751 Just's script to find non-7-bit-clean charactres in a source tree (slightly
modified by Jack to skip files that are binary despite the TEXT type).
1999-02-03 12:07:14 +00:00
Just van Rossum 7bcd84ddb2 updated to the new numpy build setup -- jvr 1999-02-02 23:58:50 +00:00
Just van Rossum e1fb04f694 minor cleanup of last patch -- jvr 1999-02-01 01:29:17 +00:00
Just van Rossum 9d609b4db4 Added PythonIDE to the applet list; added destination filename support for applets -- jvr 1999-02-01 01:21:18 +00:00
Just van Rossum e590a95796 removed turd resources left by my former MacCVS client
-- jvr
1999-02-01 01:19:16 +00:00
Just van Rossum 2607a44690 added some try/excepts so it also works when certain projects/folders are not available -- jvr 1999-01-30 18:27:12 +00:00
Just van Rossum f1ae0eb9fa Removed NumPy install code: it's obsolete -- jvr 1999-01-30 17:50:15 +00:00
Just van Rossum 786cb11e51 Fixed two typo's (Plugins -> PlugIns) and added some explicit path munging to allow the script to also work from the Scripts folder. Somehow either of these fixes solved a problem where it suddenly refused to make a PythonCore alias in the Extensions folder. -- jvr 1999-01-30 17:46:34 +00:00
Just van Rossum 292f4c4676 added "delay console window until needed" preference 1999-01-30 15:25:30 +00:00
Jack Jansen f25813ac6c Re-committed as AppleSingle 1999-01-29 12:06:21 +00:00
Jack Jansen c9bda41a21 Updated for new build and plugin paths 1999-01-28 17:46:50 +00:00
Jack Jansen c94e7854d0 Added Icn module to toolboxmodules 1999-01-25 12:39:39 +00:00
Just van Rossum d0f0637dad Script to synchronize files with / in their name and their _s_ counterparts.
Needed to keep CWGUSI under cvs because of filesnames with slashes.
1999-01-24 23:24:21 +00:00
Jack Jansen b736a87703 Project files converted for CW Pro 4. And the daylight savings time switch seems to have "modified" the resource files (but nothing has changed there). 1998-11-01 22:11:33 +00:00
Jack Jansen fb37f89b81 Replaced all remaining BinHex files with their binary counterparts. 1998-08-20 15:03:49 +00:00
Jack Jansen c590095a16 Binhextree doesn't binhex anymore, it just copies the projects around. This
does make the name a bit of a non-sequitur:-)
1998-08-20 14:51:12 +00:00
Jack Jansen 490ec9c877 Use buildtools where appropriate.
Build BuildApplication applet too.
1998-07-31 09:45:27 +00:00
Jack Jansen b44f1cca6c Build a full standalone application from a python script (Just) 1998-07-31 09:44:58 +00:00
Jack Jansen 015b70ec93 Common code used to the buildtools module (Just) 1998-07-31 09:44:23 +00:00
Jack Jansen fb721cf03e Added build.macfreeze to the "special" folders. 1998-06-26 15:05:29 +00:00
Jack Jansen 804fdc80f9 Use dialog auto-placement whenever appropriate. 1998-04-27 15:12:13 +00:00
Jack Jansen 955a2f5328 If there's no comment for an error we use the symbolic name as the
error message. Not really fantastic, but "reqAborted" is better than
"MacOS error -1105" at least.
1998-04-21 15:27:45 +00:00
Jack Jansen cf89f6fc7d Removed unused import of addpack 1998-04-21 15:26:26 +00:00
Jack Jansen bca57e60c0 Moved some code around: occasionally the SetCreatorFileType didn't
work because the finder got there first (at leats, that's what I think
happened).
1998-04-21 15:25:57 +00:00
Jack Jansen ae3407a01b Added Sndihooks module 1998-04-15 14:06:17 +00:00
Jack Jansen ff170fbbb5 Default button on main window wasn't set correctly 1998-02-20 16:08:47 +00:00
Jack Jansen 73c804a3cd Added some debug prints (if enabled by setting DEBUG) 1998-02-20 16:08:19 +00:00
Jack Jansen 8554e302a5 BuildApplet will now also update old applets 1998-02-20 16:06:56 +00:00
Jack Jansen 666ff8c299 Build balloon help for EditPythonPrefs 1997-10-10 15:50:00 +00:00
Jack Jansen bb748622f6 Fixup sys.path to be able to find macostools 1997-10-10 15:49:36 +00:00
Jack Jansen b95901ec2e Implemented balloon help for EditPythonPrefs 1997-09-09 13:58:19 +00:00
Jack Jansen 80b5329f76 Added Help module 1997-09-09 13:57:59 +00:00
Jack Jansen 675cda0787 Added a button to increment buildno, so it doesn't happen
automatically all the time.
1997-09-09 13:57:15 +00:00
Jack Jansen 3b3a287d12 Major overhaul: this is now little more than a user interface, the
preference handling code is in modules pythonprefs and preferences.
This should finally make it easier for someone (Just?) to write a
decent interface to preference setting, and it'll allow setting
initial sys.path and such from ConfigurePython.
1997-09-08 13:19:42 +00:00
Jack Jansen d0240837fc Run NumPy installer, if present.
Added a couple of splash screens to show what we're doing
1997-09-08 13:16:29 +00:00
Jack Jansen faad995380 Fullbuild now maintains BUILDNO for mac builds 1997-09-01 15:37:07 +00:00
Jack Jansen 04fb06f320 Names changed 1997-09-01 15:36:42 +00:00
Jack Jansen 09dcff793f Put all prints inside "if verbose:" 1997-08-27 14:11:15 +00:00
Jack Jansen ebacc2edff Removed debug print 1997-08-27 14:10:49 +00:00