Commit Graph

1768 Commits

Author SHA1 Message Date
Jack Jansen 0b7c4f2dea Put PPC distributions back in, rearranged packages and use VISE variable magic to determine which ConfigurePythonXXX to run. 2001-02-28 23:23:31 +00:00
Jack Jansen c6cecf55d1 Reset the resource file chain before calling PyMac_OpenPrefFile. I'm not sure why this wasn't a problem before... 2001-02-28 15:54:18 +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 24033e3d60 Updated for 2.1a3 2001-02-27 23:24:07 +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 9fa7720976 Added future.c 2001-02-27 23:19:58 +00:00
Jack Jansen cced0aa3e0 SetListCellIndent() argument was guessed incorrectly. Fixed. 2001-02-27 13:00:36 +00:00
Jack Jansen f02f4c8825 Soundex has gone. 2001-02-27 12:59:49 +00:00
Jack Jansen 501d89da40 Soundex has gone. 2001-02-27 12:48:42 +00:00
Jack Jansen 5dd7362295 Hide the ProgressBar before raising KeyboardInterrupt. Not doing so resulted in a hang on Carbon. 2001-02-23 22:18:27 +00:00
Jack Jansen be1e569682 Turn on the "multifinder aware" bit. This should always have been on, but was was never a problem that it was off until CarbonLib 1.1 (which requires it, for some reason). 2001-02-23 22:13:07 +00:00
Jack Jansen add8b246f6 Release a PYC resource after reading it. No need to keep it incore. 2001-02-21 15:48:19 +00:00
Jack Jansen 316a01093d Waste 2.0 has many more options for the undo label. 2001-02-21 15:45:55 +00:00
Jack Jansen 9ad2752381 Use re in stead of regex, so we get rid of the annoying warning during startup. 2001-02-21 13:54:31 +00:00
Jack Jansen 599ce9c6c2 On OSX passing NULL to NewUniversalFilterProc() does not return NULL but a crashing UPP. This made ModalDialog (and, hence EditPythonPrefs and EasyDialogs and many others) crash. Fixed. 2001-02-20 22:27:43 +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 a4f8e58058 Allow selecting a template in findtemplate(), so Classic programs can build Carbon applets and vice-versa. 2001-02-17 23:30:19 +00:00
Jack Jansen 881cd36853 2.1a2 distribution files. 2001-02-17 22:12:43 +00:00
Jack Jansen 0eb5f2df3f Added a note that this file is incorrect for 2.1a2. 2001-02-17 22:04:13 +00:00
Jack Jansen 2f9a9e3c31 2.1a2 distribution files. 2001-02-17 22:03:42 +00:00
Jack Jansen 657ba27dde More changes to attempt to get the menubar back on exit. Without success:-( 2001-02-17 22:02:07 +00:00
Jack Jansen fab7415831 Made version string shorter for Carbon so it fits on one line. 2001-02-17 22:00:43 +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 7df9c60b8a Steven Majewski's instructions for building the toolbox modules for
incorporating them in a vanilla Python under MacOSX (i.e. in a
non-MacPython-Python). Not complete and up-to-date right now, but
that'll be fixed shortly.
2001-02-16 21:48:24 +00:00
Jack Jansen b61ff2982a A few more tweaks (there were a couple of files missing on my work machine). 2001-02-15 22:58:12 +00:00
Jack Jansen c982ef2df6 Waste 1.3 extra's modified for waste 2.0 (and missing from MW's distribution of 2.0). 2001-02-15 22:56:41 +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 3ff82a3a4c The new touched() was far too expensive. Re-enabled the old one, the ae-based one is available as touched_ae(). Have to read up on the subject of telling the finder about changes. 2001-02-14 17:06:32 +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 26ce8fb315 Started on the 2.1a2 installer. 2001-02-14 16:58:21 +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 26d813e42c Got rid of full pathnames in "generated from" comments, so that these files are the same no mater which machine they've been generated on. 2001-02-12 16:09:44 +00:00
Jack Jansen 90f22fee6b Brought in line with current config.h.in. 2001-02-12 14:59:13 +00:00
Jack Jansen 883a19eb9a Not sure what changed, probably an artefact of the new modules and/or new gusi. 2001-02-12 14:57:59 +00:00
Jack Jansen 9826fe5372 The interpreters built are now called PythonInterpreterClassic and PythonInterpreterCarbon. The fullbuild script takes care of copying either of these to PythonInterpreter. 2001-02-12 14:52:47 +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 497314e2e5 Bit the bullet and added a private GUSISIOUX for Python. This makes the delayconsole and keepopen code neater. Also tells Sioux to behave better with events, and handles cmd-. during print better. The pythonpreferences have also changed due to this. 2001-02-11 01:26:28 +00:00
Jack Jansen 3f49e4d064 Oops, repr didn't allocate the memory it used... 2001-02-11 01:12:53 +00:00
Jack Jansen 8a38714ba0 Bit the bullet and added a private GUSISIOUX for Python. This makes the delayconsole and keepopen code neater. Also tells Sioux to behave better with events, and handles cmd-. during print better. The pythonpreferences have also changed due to this. 2001-02-11 01:08:04 +00:00
Jack Jansen add58f95cc Added prototype for DlgObj_WhichDialog() 2001-02-09 15:59:18 +00:00
Jack Jansen 7e31f68bf1 Replaced touched(), which no longer seems to work under os9, with something using an appleevent to the finder. More expensive, but at least it works:-) 2001-02-09 15:58:34 +00:00
Jack Jansen 34f83b3f56 Added a few constants. 2001-02-09 15:57:53 +00:00
Jack Jansen 784c611053 Dialogs and there windows were still confused in some spots. Fixed. 2001-02-09 15:57:01 +00:00
Jack Jansen def0d8da5a Get rid of from ... import * 2001-02-09 15:56:19 +00:00
Jack Jansen 5c734e8165 Replaced by :Lib:cfmfile.py. 2001-02-08 13:17:23 +00:00
Jack Jansen 69e7f11aa8 Added DlgObj_WhichDialog, analoguous to WhichWindow, and use this to get at dialogs. 2001-02-06 16:14:54 +00:00
Jack Jansen d6b2aeb10d QDFlushPortBuffer() has an optional region argument. 2001-02-06 16:13:50 +00:00
Jack Jansen ecdaadb7c6 Also recognize DragRef as a method-argument. 2001-02-05 13:47:13 +00:00
Jack Jansen dc2ac8d39f Accept Dialogs and Windows where Grafports are expected (such as in SetPort) and do a MacOSX compatible cast. Bit of a hack, but good enough for now. 2001-02-02 22:41:48 +00:00
Jack Jansen 340eb88fa8 On MacOSX StackSpace() may lie because it doesn't know about the stack rlimit. For now we set a hard limit of 256K (default rlimit is 512K). 2001-02-02 22:40:28 +00:00
Jack Jansen 87eb4f8bb3 New internal function BMObj_NewCopied() which copies the BitMap. Used to get the screenBits bitmap. 2001-01-30 09:57:13 +00:00
Jack Jansen 01a2d9e281 Use FSpCreateResFile() in stead of CreateResFile().
Don't call OpenDeskAcc() and AppendResMenu() on Carbon.
2001-01-29 15:32:00 +00:00
Jack Jansen bf21bef254 Got ZeroScrap() and PutScrap() to work under Carbon. 2001-01-29 15:20:06 +00:00
Jack Jansen 64aa1e2c83 Use FSpCreateResFile() in stead of CreateResFile(). 2001-01-29 15:19:17 +00:00
Jack Jansen 565e956cb0 Use CountMenuItems() in stead of CountMItems(). 2001-01-29 15:18:46 +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 5c3c58bde0 Accessor functions for regions and such expect an existing region as parameter. Fixed for grafport attribute access.
Got GetPortBitMapForCopyBits() and port.portBits to work.
2001-01-29 14:07:01 +00:00
Jack Jansen 9b897ecaac Ported the icglue module to carbon. 2001-01-29 13:33:16 +00:00
Jack Jansen 54c0787909 Added generators for EnableMenuItem and CheckMenuItem (which have Mac in front of their name in the include files). 2001-01-29 13:32:10 +00:00
Jack Jansen f424f24bbb Re-enabled Scrap (even though it's mostly empty right now). 2001-01-29 13:31:10 +00:00
Jack Jansen afd0aa680a Replace {Enable,Disable,Check}Item with their carbon-compatible equivalents {Enable,Disable,Check}MenuItem. 2001-01-29 13:29:47 +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 2beeb22533 Added cellobject.c 2001-01-28 22:45:46 +00:00
Jack Jansen a813153e15 Got waste to work for Carbon. 2001-01-26 16:32:20 +00:00
Jack Jansen c34a5ade0a ucnhash module has gone, xreadlines module added. 2001-01-25 18:31:16 +00:00
Jack Jansen 41eb3c7dc5 ucnhash module has gone. 2001-01-25 16:28:34 +00:00
Jack Jansen 4ff2fe7ee1 ucnhash module has gone, xreadlines module added. 2001-01-25 16:28:00 +00:00
Jack Jansen c4abd00457 Got rid of extraneous Modues:TE in the search path. 2001-01-24 16:09:59 +00:00
Jack Jansen 48d11c133a 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:07:31 +00:00
Jack Jansen 4a4adf4293 Recognize {compiler} and {project} prefixes to pathnames and output the correct XML. 2001-01-24 16:04:50 +00:00
Jack Jansen 7b3cc1f9c3 Regenerated (and manually massaged for PutScrap) so it can be byuilt both for Carbon and Classic. The Carbon module is rather empty, though, for now. 2001-01-24 16:04:01 +00:00
Jack Jansen 5396feb3bb Quick (manual) fix to make the module compile with Waste 2.0. TBD later. 2001-01-24 16:03:05 +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 f47075e86d Blacklisted (for the time being) the functions that have a component argument. Don't want to drag the Cm module into the core set too. 2001-01-24 14:22:13 +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 bd58edaa01 Implemented direct attribute access for Carbon builds and accessor functions for non-carbon builds. 2001-01-24 14:05:11 +00:00
Jack Jansen 7b7e713c0d Also build the Carbon extension modules. 2001-01-23 23:19:41 +00:00
Jack Jansen b51362163a Removed extraneous references to Modules:TE 2001-01-23 23:19:13 +00:00
Jack Jansen 119177b900 The C-prefix file for Carbon plugin projects. 2001-01-23 22:46:21 +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 3236f6ad8c Projects for Carbon plugin modules. 2001-01-23 22:42:45 +00:00
Jack Jansen 366ffcb7ff Use &# escape for non-ascii chars. 2001-01-23 22:40:32 +00:00
Jack Jansen 193509b320 Added an attribute runtimemodel, which is either "ppc" or "carbon" and is the runtime model of the current interpreter. Will have to ad another value later for real MacOSX MachO, I guess. 2001-01-23 22:38:23 +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 6abe676538 Various settings were unconditionally set. Allow them to be overridden in the settings dict. 2001-01-23 22:35:22 +00:00
Jack Jansen 50f6f6f621 If the template is not specified it depends on the current execution model (classic ppc or carbon). 2001-01-23 22:34:50 +00:00
Jack Jansen 6ecf14639d Added a template for Carbon plugin projects. 2001-01-23 22:33:31 +00:00
Jack Jansen a106f82e4e Moved files from template to template-ppc, as this is the template for classic PPC projects. 2001-01-23 22:33:01 +00:00
Jack Jansen 9080e9b938 Added a note about the memory size.
Added Matthias Neeracher and Alexandre Parenteau to the "thank you" list. This should have been done _ages_ ago for Matthias! Shame shame!!
2001-01-23 21:03:52 +00:00
Jack Jansen 670c4bd6df Upped the default memory size to a whopping 24Mb, which is needed to make the autotests run. Sigh. User with low-memory systems will have to adapt the setting. 2001-01-23 20:57:52 +00:00
Jack Jansen 842818422b Use &# escape for non-ascii chars. 2001-01-23 20:56:25 +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