Commit graph

1793 commits

Author SHA1 Message Date
Jack Jansen
6143d533b6 Include Carbon/Carbon.h in stead of universal headers, if appropriate.
Test for TARGET_API_MAC_OS8 in stead of !TARGET_API_MAC_CARBON where
appropriate.
2001-05-19 12:34:59 +00:00
Jack Jansen
9f66b4af6a include Carbon/Carbon.h in stead of universal headers, if appropriate. 2001-05-19 12:32:39 +00:00
Jack Jansen
8bb1dc1f8d Merged mactoolboxglue.c into macglue.c. A later step will be to separate out
the stuff that is only needed on classic-MacOS.
2001-05-19 12:31:09 +00:00
Jack Jansen
b686791b77 Added pymactoolboxglue.c and changed the exported symbols having to do with this. 2001-05-17 22:14:36 +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
f57a4a2e97 Glue code to connect obj_New and obj_Convert routines (the PyArg_Parse and Py_BuildTuple helpers) from one dynamically imported module to another. 2001-05-17 22:11:44 +00:00
Jack Jansen
0e04eecdbf First step in porting MacPython modules to OSX/unix: break all references between modules except for the obj_New() and obj_Convert() routines, the PyArg_Parse and Py_BuildValue helpers.
And these can now be vectored through glue routines (by defining USE_TOOLBOX_OBJECT_GLUE) which will do the necessary imports, whereupon the module's init routine will tell the glue routine about the real conversion routine address and everything is fine again.
2001-05-17 21:58:34 +00:00
Jack Jansen
6f84ed5afc Fixed macroman<->latin1 conversion. Some chars don't
exist in latin1, but at least the roundtrip results in the
same macroman characters.
2001-05-17 12:45:13 +00:00
Jack Jansen
dfebe90c4c Fixed macroman<->latin1 conversion. Some characters don't exist in latin1, but at least the roundtrip gives
the correct macroman characters again.
2001-05-17 12:35:13 +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
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