summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/win/Winmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Renamed.Jack Jansen2001-08-231-2806/+0
|
* 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-442/+156
| | | | 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/+25
| | | | | | 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).
* Disable GetWindowSpareFlag and GetWindowGoAwayBox on carbon.Jack Jansen2001-02-281-0/+12
|
* Oops, repr didn't allocate the memory it used...Jack Jansen2001-02-111-1/+7
|
* Various tweaks to make it everything build and compile again under carbon. ↵Jack Jansen2001-01-091-0/+12
| | | | Mainly greylisted functions.
* Emulate a few more non-carbon calls in carbon and the other way around.Jack Jansen2000-12-191-0/+125
|
* Added hash() and compare() functions. Needed because multiple WinObj's can ↵Jack Jansen2000-12-191-2/+12
| | | | 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-4/+110
| | | | 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-297/+554
|
* Window objects now also have an AutoDispose funcpointer (set for our ↵Jack Jansen2000-08-251-10/+26
| | | | | | 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-41/+41
|
* pymactoolbox.h contains protoypes for all externally visible toolbox moduleJack Jansen2000-07-141-41/+1
| | | | | 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-3/+3
| | | | specifier, now that h is signed-only.
* All relevant toolbox modules have now been carbonized.Jack Jansen2000-06-211-2/+2
|
* Made the core toolbox modules carbon-compatible using the new greylist ↵Jack Jansen2000-06-021-49/+122
| | | | | | 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.
* Bgen now understands more constant definitions, but that means that a few ↵Jack Jansen1999-12-141-1/+1
| | | | which are not parseable in Python have to be blacklisted.
* Regenerated with CW Pro 5.2, which has MacOS 8.6 and Appearance 1.1 support.Jack Jansen1999-12-121-87/+937
|
* Re-generated with OSStatus treated like OSErr (i.e. not returned, but raisingJack Jansen1999-03-041-24/+27
| | | | an exception when negative).
* Added {Get,Set}WindowUserData methods.Jack Jansen1998-10-221-3/+34
|
* Grmpf, a lot more routines have gotten a "Mac" prefix for theirJack Jansen1998-04-241-0/+75
| | | | | | declaration, probably so the universal headers are useable on windows/unix too. Have to think of a more definite workaround later, for now we manually declare the old names in the *edit.py files.
* Re-generated from new (3.1) universal headersJack Jansen1998-04-211-31/+46
|
* Regenerated from Universal Headers 3.0.1. Some new calls areJack Jansen1998-02-201-351/+461
| | | | | | 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.
* Export type objects to PythonJack Jansen1997-09-201-0/+4
|
* Added support for WCTabHandle, AuxWinHandle, PixPatHandle: no reasonJack Jansen1997-08-151-0/+54
| | | | for blacklisting them.
* RegeneratedJack Jansen1996-08-021-3/+0
|
* bgen-generators now drop the python definition file straight in theJack Jansen1996-04-121-0/+3
| | | | Lib:toolbox folder.
* - Added color window/pixmap supportJack Jansen1995-12-121-1/+5
| | | | | - Added support for obtaining pixmap data - Added OptResObj_* routines for optional handles
* Added support for GrafPort objectJack Jansen1995-11-151-0/+211
|
* - Added support for PicHandleJack Jansen1995-11-141-0/+249
| | | | | - Added (by hand, through winedit.py) support for WindowPeek accessor functions that are currently declared as macros.
* Generated anewJack Jansen1995-08-171-0/+17
|
* Trying again to check it in. Changes to:Jack Jansen1995-06-061-5/+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
* more stuffGuido van Rossum1995-02-281-1/+2
|
* another round... ported to __SC__Guido van Rossum1995-02-191-5/+6
|
* Committed a more or less working version.Guido van Rossum1995-01-301-0/+872