0
0
mirror of https://github.com/python/cpython.git synced 2024-11-30 18:51:15 +01:00
Commit Graph

17 Commits

Author SHA1 Message Date
Neal Norwitz
016880229a Kill execfile(), use exec() instead 2007-08-12 00:43:29 +00:00
Tim Peters
182b5aca27 Whitespace normalization, via reindent.py. 2004-07-18 06:16:08 +00:00
Jack Jansen
7107c1aff3 Got rid of macglue.h, replacing it by pymactoolbox.h where relevant.
Cleaned up various things in the toolbox modules.
2003-11-20 13:31:00 +00:00
Jack Jansen
e48cef7aba Getting rid of WITHOUT_FRAMEWORKS and ACCESSOR_CALLS_ARE_FUNCTIONS:
MacOS9isms.
2003-11-19 16:13:35 +00:00
Jack Jansen
b734869f46 - Various tweaks to shut up compiler warnings.
- Regenerated with the correct calls to PyType_Ready and the correct
  deallocator calls.
2002-12-23 23:16:25 +00:00
Jack Jansen
96cebde909 Added PEP253 support to most Carbon modules. This isn't complete yet:
some of the more compilcated cases (CF, Res) haven't been done yet. Also,
various types should inherit from each other (anything with an as_Resource
method should be a Resource subtype, the CF types should become one family).
2002-12-03 23:40:22 +00:00
Jack Jansen
dbd5701d73 Converted the Carbon modules to use PEP252-style objects, with
descriptors in stead of manual getattr hooks to get at attributes
of the objects.

For Qd I have in stead gotten rid of most of the attribute access
in favor of the carbon-style accessor methods (with the exception
of visRgn, to be done later), and of the Carbon.Qd.qd global object,
for which accessor functions are also available.

For List I have fixed the fact that various methods were incorrectly
generated as functions.

CF is untouched: PEP252 doesn't allow "poor-mans-inheritance" with
basechain, so it will have to wait for PEP253 support.
2002-11-29 23:40:48 +00:00
Just van Rossum
ec0107f023 Today's Carbon Toolbox addition: CarbonEvt.TrackMouseLocation() and friends. 2002-01-08 11:49:31 +00:00
Just van Rossum
43c2de230d fixed SetEventParameter() signature: removed unneccesary length arg. 2002-01-03 20:45:47 +00:00
Just van Rossum
820867662b Patch #494553 by Donovan Preston: initial implementation
for GetEventParameter().
2001-12-18 12:35:57 +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
Just van Rossum
cddfc8736f Added proper error checking in event callback handler 2001-12-12 21:48:00 +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
9c2b514014 Correctly builds the C module now. 2001-11-05 16:21:45 +00:00
Jack Jansen
34cbe718d4 Fixed broken newlines and changed module name. Still untested. 2001-11-05 16:15:45 +00:00
Jack Jansen
52e9045da6 Carbon Event Manager module donated by Donovan Preston. Checked in as I received them (except for namechange), these will not work as-is, that'll be fixed in a later checkin. 2001-11-05 14:44:23 +00:00