Commit Graph

1834 Commits

Author SHA1 Message Date
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 6db483e679 Added a WITHOUT_FRAMEWORKS define to all the config files, so that on MacOS<=9 compiles use Universal Headers, not Carbon/Carbon.h. 2001-05-14 15:00:38 +00:00
Jack Jansen 0194ad5c7d Got the first MacPython module working under MacOSX/MachO (gestalt). Main changes
are including Carbon/Carbon.h in stead of the old headers (unless WITHOUT_FRAMEWORKS
is defined, as it will be for classic MacPython) and selectively disabling all the
stuff that is unneeded in a unix-Python (event handling, etc).
2001-05-12 22:46:35 +00:00
Jack Jansen 6e68a7e74f Be more sensible about when to use TARGET_API_MAC_OS8 in stead of !TARGET_API_MAC_CARBON. This should greatly facilitate porting stuff to OSX in its MachO/BSD incarnation. 2001-05-12 21:31:34 +00:00
Jack Jansen 1bd0a712ad Added iterobject.c to the project. And trying my first checkin at the same time. 2001-05-12 21:09:45 +00:00
Jack Jansen 99e607a86f Added a note that test_longexp needs 400MB. 2001-05-10 12:20:30 +00:00
Jack Jansen d454b578e2 Has been dead so long that there's no use keeping it in the active bit of the repository. 2001-05-10 12:17:03 +00:00
Jack Jansen 569c09c013 Removed some confusing sentences that are no longer relevant now that
calldll is part of the standard macPython distribution.
2001-05-08 14:20:11 +00:00
Jack Jansen e9bcb5c766 Got rid of the whole event filtering mess again, I can't get it to work. Simply disabling the Tk event handling hook in _tkinter is not as nice, but at least it works. 2001-04-27 20:43:27 +00:00
Jack Jansen 69f086cbb6 Apparently the code to forestall Tk eating events was too aggressive (Tk user input stopped working). Fixed (I hope:-). 2001-04-26 13:22:33 +00:00
Jack Jansen c1218bc014 Files for 2.1 distribution. 2001-04-25 22:11:24 +00:00
Jack Jansen c54be4299c Check RefCon backpointer to python object with IsPointerValid() before dereferencing it (carbon only). 2001-04-25 22:09:29 +00:00
Jack Jansen 26e51e1e83 Updated copyright info (which was long due). 2001-04-25 22:08:12 +00:00
Jack Jansen b4b27bec0e - Raise console window on input. Fixes Carbon hang. 2001-04-25 22:07:42 +00:00
Jack Jansen 15f1c08d96 - Raise console window on input. Fixes Carbon hang.
- Better handling of menu bar save/restore.
- Override abort() so it honours the "keep console window" flag.
2001-04-25 22:07:27 +00:00
Jack Jansen ee677913df Don't crash if InfoScrap doesn't exist (as is the case in Carbon). 2001-04-25 22:05:36 +00:00
Jack Jansen 43935128a4 Finally merged morefindertools into findertools. 2001-04-07 12:53:45 +00:00
Jack Jansen 3aee7752fa Added a note about Help and ctb missing in carbon. 2001-04-06 09:02:43 +00:00
Jack Jansen bad62deca1 Version 1.2 by Christopher Stern. 2001-04-06 08:34:55 +00:00
Jack Jansen e3850f5b6c Disable fused-add-mul instructions. They give a nonstandard result for some things that test_coercion complains about. The added performance is probably minimal for Python anyway. 2001-04-03 21:56:12 +00:00
Jack Jansen 216b8707d9 If the frontmost window is not a Tk window exit the event handling code early. This fixes that using Tk once used to disable cmd-. processing. It may also influence Tk/IDE interaction, I'm not sure. 2001-04-03 14:36:35 +00:00
Jack Jansen 6333af1743 On OSX show a dialog explaining that ConfigurePythonCarbon launch will probably fail. This turns out to be a VISE 7.1.1 problem, probably. 2001-03-29 13:54:23 +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 fc369f21d5 Don't show finder-delay-warning on OSX. Untested. 2001-03-28 20:33:24 +00:00
Jack Jansen 2b73fe9956 Updated for 2.1b2 distribution. 2001-03-27 21:38:55 +00:00
Jack Jansen ff4e62dbde Added a note about BBPy.lm. 2001-03-27 21:37:06 +00:00
Jack Jansen 64f9f7108f Added a note about the new (since 2.0) OSA architecture. 2001-03-27 21:34:31 +00:00
Jack Jansen 3f4c173d5c Oops, ISO translation was off. Fixed. 2001-03-27 21:32:34 +00:00
Jack Jansen 996c5c17d4 Disable fused-add-mul instructions. They give a nonstandard result for some things that test_coercion complains about. The added performance is probably minimal for Python anyway. 2001-03-26 20:03:30 +00:00
Jack Jansen c658236d72 Fixed some access paths. 2001-03-26 08:37:28 +00:00
Jack Jansen 9de05f4157 Started on 2.1b2 release notes. Cleaned out alfa notes, etc. 2001-03-20 23:30:38 +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 aabdb0d5bf Dummy _tkinter module for Carbon, which explains that Tkinter isnt supported under Carbon. 2001-03-20 23:29:41 +00:00
Jack Jansen fddef433d1 Got module to work under Carbon. Also disabled a few more bits of cfm68k support. 2001-03-20 21:55:51 +00:00
Jack Jansen 26d42df3c1 Added riscos modules to modules that don't have to be included. 2001-03-20 21:55:07 +00:00
Jack Jansen 4cf97c4972 Files for second 2.1b1 distribution. 2001-03-15 14:41:01 +00:00
Jack Jansen 5c82d13e1f FindFolder argument is a short, not an unsigned short.
Added kLocalDomain and friends.
2001-03-15 14:39:37 +00:00
Jack Jansen 6b498de165 Handle the apple menu differently under Carbon. 2001-03-15 14:39:03 +00:00
Jack Jansen abd703d0ce FindFolder argument is a short, not an unsigned short. 2001-03-15 14:38:10 +00:00
Jack Jansen 06646a1be0 Added QDFlushPortBuffer calls. 2001-03-15 14:35:33 +00:00
Jack Jansen fffec05bcb Import kOnSystemDisk from MACFS 2001-03-15 14:33:24 +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 8ef786ea95 Files for second 2.1b1 distribution. 2001-03-15 14:27:09 +00:00
Jack Jansen dbc692e286 Chris Stern's BBEdit Python language module. 2001-03-10 13:24:41 +00:00
Jack Jansen 0a3939fc71 Finished implementation of removing incorrect preferences file. 2001-03-09 23:15:27 +00:00
Jack Jansen e5c9474f0f Default waittime in the eventloop is now None. At low level it will then be set to GetCaretTime(). 2001-03-08 23:10:37 +00:00
Jack Jansen 53ebe562f5 Handle the ReopenApplication event (by ignoring it). 2001-03-08 23:09:32 +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 4c52203b51 Started on relnotes for the next beta. 2001-03-08 23:07:16 +00:00
Jack Jansen 8f728592be Added a warning message about the delay after installation. Untested. 2001-03-08 21:18:54 +00:00
Jack Jansen 1d79f79bd0 Files for 2.1b1 distribution. 2001-03-06 22:51:42 +00:00
Jack Jansen 5fc3381098 PythonInterpreterClassic and PythonInterpreterCarbon now have filetype "Atmp". The ConfigurePythonXXX scripts will set this to APPL when copying either of those to PythonInterpreter. 2001-03-06 22:51:00 +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 bb74f95821 Started on plst resource. Not enabled yet. 2001-03-06 22:45:29 +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 cbe7b1c93e Files for 2.1b1 distribution. 2001-03-06 22:42:12 +00:00
Jack Jansen b25ec91a94 Testing commit with a single blank line. 2001-03-05 15:44:55 +00:00
Jack Jansen 043732e95d Enable FSpResourceFileAlreadyOpen only for Carbon. This is not strictly correct: OS9 InterfaceLib has it, but enabling it will make Python refuse to run on 8.6 and earlier. 2001-03-02 16:32:03 +00:00
Jack Jansen 7fc49a4441 - Numeric now lives in Lib:site-python.
- Imaging and Numeric are now also available under Carbon.
- Started working on the active installer.
2001-03-01 23:19:05 +00:00
Jack Jansen 807e70101e - Numeric now lives in Lib:site-python.
- Imaging and Numeric are now also available under Carbon.
2001-03-01 23:18:31 +00:00
Jack Jansen b34d0ed403 Removed some stuff that shouldn't be in the dev distribution. 2001-03-01 23:17:43 +00:00
Jack Jansen 1b45c73be0 Removed Extensions:Numeric from sys.path. It now lives in Lib:site-python. 2001-03-01 23:16:51 +00:00
Jack Jansen dbd0c3a124 Silly typo which caused the stack browser to crash. 2001-03-01 23:15:54 +00:00
Jack Jansen a647807e40 Also build Imaging for Carbon. 2001-03-01 23:15:01 +00:00
Jack Jansen f1d7b41fa0 Disable GetWindowSpareFlag and GetWindowGoAwayBox on carbon. 2001-02-28 23:32:42 +00:00
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