Commit graph

2101 commits

Author SHA1 Message Date
Just van Rossum
7eb48e3283 Moved a bunch of routines from "blacklisted" to "graylisted", as they _are_
available in OSX (mach-o) but not in CarbonLib (neither on OSX or OS9).
2001-12-18 20:15:27 +00:00
Jack Jansen
620a7667eb Updated to Universal Headers 3.4 2001-12-18 15:39:38 +00:00
Just van Rossum
f30c3ad0d9 Added missing docstring 2001-12-18 12:53:47 +00:00
Just van Rossum
66d78bf2a0 Added support for tab controls and initial (incomplete) support
for DataBrowser controls.
2001-12-18 12:47:47 +00:00
Just van Rossum
820867662b Patch #494553 by Donovan Preston: initial implementation
for GetEventParameter().
2001-12-18 12:35:57 +00:00
Jack Jansen
086f7c3890 There's a new include file AEInteraction.h which contains AESend and friends. 2001-12-17 11:47:27 +00:00
Jack Jansen
ec982e2739 TickCount moved to a different header file. We manually added it back in here, for conveninece. 2001-12-17 11:46:50 +00:00
Jack Jansen
2168e9d602 Adapted for Universal Headers 3.4 2001-12-16 20:18:40 +00:00
Jack Jansen
6943444664 Finally CW7 allows me to replace the continually-in-need-of-updating exports files with one 6-line anti-export-file. Yeah! (Thanks Alex, for reminding me:-) 2001-12-15 00:23:35 +00:00
Just van Rossum
2c39115240 Made event callbacks more rubust: keep an actual reference to the
python callback, and do RemoveEventHandler() upon deallocation.
2001-12-14 23:16:04 +00:00
Jack Jansen
9635f33e5b Quick patch to allow building with Universal Headers 3.4. 2001-12-14 23:03:07 +00:00
Jack Jansen
1b8bd94f73 The import of the scanner can also fail, cater for that. 2001-12-14 23:01:34 +00:00
Jack Jansen
28f14012d7 We have strdup(), but not its prototype:-( 2001-12-14 22:58:11 +00:00
Jack Jansen
031b779d43 Use getcwd(), not silly old getwd(). 2001-12-14 22:57:34 +00:00
Jack Jansen
75401a0214 Updated for CW7 2001-12-14 22:53:16 +00:00
Jack Jansen
84937719a9 Updated to CodeWarrior Pro 7. 2001-12-14 22:50:26 +00:00
Jack Jansen
615e2505f0 Many of the new calls are Carbon-only. Flagged them as such. 2001-12-14 22:47:19 +00:00
Jack Jansen
81feb6c201 Add default values for options in the class init routine, not in the convenience wrapper function: distutils uses the class directly. Fixes bug #492665. 2001-12-14 14:31:15 +00:00
Just van Rossum
7ec1c85d7a - "manage" controls created by CreateXxxXxxControl() functions.
- FindControlUnderMouse() returns an existing control, not a new one.
2001-12-13 21:24:37 +00:00
Just van Rossum
0441dbff16 OSX workaround: don't crash if the extentions folder can't be found.
Not sure how to properly solve this.
2001-12-13 17:11:21 +00:00
Just van Rossum
4f6c05857f include the proper header for Mach-O 2001-12-13 13:40:04 +00:00
Just van Rossum
663dd79861 added CoreGraphics to build list 2001-12-13 13:22:46 +00:00
Just van Rossum
11ccf3c1f0 added non-support for CoreGraphics... 2001-12-13 13:21:38 +00:00
Just van Rossum
d7fdba3d4d project file for CoreGraphics 2001-12-13 13:20:00 +00:00
Just van Rossum
79e71f73e7 second CoreGraphics batch 2001-12-13 13:17:20 +00:00
Just van Rossum
c97eefc3c9 first checkin for CoreGraphics 2001-12-13 13:15:28 +00:00
Just van Rossum
d16199aade fixed typo in my email address 2001-12-13 12:58:09 +00:00
Just van Rossum
d9c9b57e29 Don't barf when an AppleEvent was not handled. It's ok to ignore. 2001-12-13 12:57:11 +00:00
Just van Rossum
3f4651ec9c re-checkin as AppleSingle 2001-12-13 12:54:36 +00:00
Jack Jansen
6c3145985f Shut up gcc warning. 2001-12-12 22:51:39 +00:00
Jack Jansen
3339fc94b3 Updated for 2.2 release. 2001-12-12 22:44:59 +00:00
Just van Rossum
aa6e83f2e9 added CarbonEvents 2001-12-12 22:42:37 +00:00
Just van Rossum
e0b9fdca0d Updated for Universal Headers 3.4. 2001-12-12 22:40:27 +00:00
Just van Rossum
485d92e127 Support files for CarbonEvents 2001-12-12 22:39:52 +00:00
Just van Rossum
cddfc8736f Added proper error checking in event callback handler 2001-12-12 21:48:00 +00:00
Jack Jansen
ff3a69c4bc Ready for 2.2 distribution. 2001-12-12 21:40:38 +00:00
Just van Rossum
f8d6473782 Exposed quite a few more calls. 2001-12-12 20:48:53 +00:00
Just van Rossum
c3baa0eff7 Fixed to the extend that it now builds in CW6, and actually works
a little.
2001-12-11 21:52:02 +00:00
Jack Jansen
9493455c2a Updated for hfsplus module, new gusi libs. 2001-12-11 15:08:52 +00:00
Just van Rossum
14666cc04f Added __members__ to FInfo object. 2001-12-11 14:04:12 +00:00
Jack Jansen
52306a780b The new menu initialization code would also add the SIOUX menus if a (frozen) Python program had installed its own menubar previously. We now guard against this, with a bit of a hack: FrameWork uses the same Menu ID as Sioux, and the init code checks that the text in the menu is "About SIOUX" before replacing it. 2001-12-10 16:08:14 +00:00
Jack Jansen
b2fb202bc2 Updated, and converted line-endings to unix-style (oops:-) 2001-12-09 23:17:38 +00:00
Jack Jansen
edeea04bfd Mods to make WASTE module compile and link for MachoPython. Not tested
any further, yet.
2001-12-09 23:08:54 +00:00
Guido van Rossum
146483964e Patch supplied by Burton Radons for his own SF bug #487390: Modifying
type.__module__ behavior.

This adds the module name and a dot in front of the type name in every
type object initializer, except for built-in types (and those that
already had this).  Note that it touches lots of Mac modules -- I have
no way to test these but the changes look right.  Apologies if they're
not.  This also touches the weakref docs, which contains a sample type
object initializer.  It also touches the mmap test output, because the
mmap type's repr is included in that output.  It touches object.h to
put the correct description in a comment.
2001-12-08 18:02:58 +00:00
Just van Rossum
1f1e7270cf OSX tweak. 2001-12-08 10:37:40 +00:00
Just van Rossum
59d5a9b5b7 Don't do App.DrawThemeListBoxFrame() upon activate: it starts
looking worse and worse if you deactivate/activate the window
a few times. I don't know how to fix this properly, but I'm beginning
to think that it's almost impossible to support the Appearance
manager properly due to the way W works. Time for W2?...
2001-12-08 09:51:41 +00:00
Jack Jansen
2a42c3a8d3 Not being able to copy PythonCore to the system-folder is not a fatal error, on OSX the user may not have permission to do so. Also give a more informative message in this case.
Fixes bug 475253.
2001-12-07 16:07:04 +00:00
Jack Jansen
101de912d3 Replace sprintf() with PyOS_snprintf(). 2001-12-05 23:27:58 +00:00
Jack Jansen
a7594db5bc Link more modules with weak import, and add CarbonAccessors.o to all relevant PowerPC toolbox modules. This, in combination with recent IDE mods, makes the IDE work again under MacOS 8.1. 2001-12-05 22:46:23 +00:00
Jack Jansen
9145be4310 Define NDEBUG if Py_DEBUG isn't defined. 2001-12-05 22:44:45 +00:00