summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/win/winsupport.py
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace normalization, via reindent.py.Tim Peters2004-07-181-90/+90
|
* Getting rid of WITHOUT_FRAMEWORKS and ACCESSOR_CALLS_ARE_FUNCTIONS:Jack Jansen2003-11-191-4/+0
| | | | MacOS9isms.
* Get rid of support for Universal Headers older than 3.4 and various otherJack Jansen2002-12-131-11/+0
| | | | outdated things.
* Added PEP253 support to most Carbon modules. This isn't complete yet:Jack Jansen2002-12-031-1/+2
| | | | | | 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).
* Converted the Carbon modules to use PEP252-style objects, withJack Jansen2002-11-291-1/+1
| | | | | | | | | | | | | | | | 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.
* Moved CoreFoundation type support to bgen/macsupport.Jack Jansen2002-08-221-1/+0
|
* Updated to Universal Headers 3.4Jack Jansen2001-12-181-0/+5
|
* Merged changes made on r22b2-branch between r22b2 and r22b2-mac (theJack Jansen2001-11-301-2/+2
| | | | changes from start of branch upto r22b2 were already merged, of course).
* First tweaks to allow MacPython to be compiled withJack Jansen2001-11-051-1/+3
| | | | Universal Headers 3.4
* Shut up many more gcc warnings.Jack Jansen2001-09-051-2/+3
|
* The MacOS toolbox modules have acquired an _ in front of their name. Normal ↵Jack Jansen2001-08-231-2/+2
| | | | usage is through a wrapper module (without underscore) which lives in the Carbon package.
* Reversed the order of the checks for None or a Dialog where a Window is ↵Jack Jansen2001-06-201-11/+4
| | | | expected so it doesn't crash under OSX/Mach-o.
* Lots more Carbon/Carbon.h includes, new UPP routine names, function ↵Jack Jansen2001-05-221-18/+12
| | | | prototypes. Most toolbox modules now compile, link and import in MacOSX-MachO python.
* First step in porting MacPython modules to OSX/unix: break all references ↵Jack Jansen2001-05-171-0/+27
| | | | | | 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.
* Check RefCon backpointer to python object with IsPointerValid() before ↵Jack Jansen2001-04-251-1/+2
| | | | dereferencing it (carbon only).
* Oops, repr didn't allocate the memory it used...Jack Jansen2001-02-111-0/+12
|
* Emulate a few more non-carbon calls in carbon and the other way around.Jack Jansen2000-12-191-0/+7
|
* Added hash() and compare() functions. Needed because multiple WinObj's can ↵Jack Jansen2000-12-191-0/+23
| | | | now refer to the same underlying WindowRef.
* Set autodispose only if RefCon isn't set yet on the window. This way we ↵Jack Jansen2000-12-141-2/+7
| | | | don't accidentally dispose of windows that are actually dialogs-in-disguise.
* More toolbox modules adapted to Universal Headers 3.3.2.Jack Jansen2000-12-121-0/+13
|
* Window objects now also have an AutoDispose funcpointer (set for our ↵Jack Jansen2000-08-251-13/+31
| | | | | | windows, cleared for foreign windows). Needed mainly for Carbon (where we don't know about the windows belonging to our dialogs). Fixed a few calls that return an ExistingWindow.
* Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.Jack Jansen2000-07-141-1/+1
|
* pymactoolbox.h contains protoypes for all externally visible toolbox moduleJack Jansen2000-07-141-6/+0
| | | | | functions. Include it in stead of duplicating the declarations everywhere. Also cleaned up toolbox module exports, and got rid of resNotFound error.
* Changed all (hopefully) uses of unsigned 16 bit value to use H format ↵Jack Jansen2000-07-071-2/+1
| | | | specifier, now that h is signed-only.
* Made the core toolbox modules carbon-compatible using the new greylist ↵Jack Jansen2000-06-021-0/+2
| | | | | | feature of bgen: non-carbon methods are still included in non-carbon MacPython. The issue of backward compatibility of Python code is still open. Macmodule and macosmodule have also been carbonified. Some functionality is still missing there.
* Regenerated with CW Pro 5.2, which has MacOS 8.6 and Appearance 1.1 support.Jack Jansen1999-12-121-0/+14
|
* Added {Get,Set}WindowUserData methods.Jack Jansen1998-10-221-3/+0
|
* Replaced addpack by handcrafted code to find the bgen stuff.Jack Jansen1998-04-171-3/+0
|
* Regenerated from Universal Headers 3.0.1. Some new calls areJack Jansen1998-02-201-0/+2
| | | | | | blacklisted, because they are not available in classic 68k programs, and bgen doesn't have a way to put #ifdef/#endif in the generated code. For now we only implement calls that work on all three models.
* Added support for WCTabHandle, AuxWinHandle, PixPatHandle: no reasonJack Jansen1997-08-151-2/+5
| | | | for blacklisting them.
* Added support for GrafPort objectJack Jansen1995-11-151-3/+3
|
* - Added support for PicHandleJack Jansen1995-11-141-1/+9
| | | | | - Added (by hand, through winedit.py) support for WindowPeek accessor functions that are currently declared as macros.
* Added WhichWindow function to obtain window object given WindowPtr (asJack Jansen1995-08-171-0/+17
| | | | returned by event routines)
* Trying again to check it in. Changes to:Jack Jansen1995-06-061-0/+4
| | | | | | - Use Universal Headers as input - Change addpack calls to not depend on Guido's disklayout - Checkge testprograms to use new names for some functions
* another round... ported to __SC__Guido van Rossum1995-02-191-1/+1
|
* Committed a more or less working version.Guido van Rossum1995-01-301-0/+103