summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/win
Commit message (Collapse)AuthorAgeFilesLines
* Updated (and regenerated) for name change in tp_init method arguments:Jack Jansen2005-07-031-30/+31
| | | | they are now _self, _args and _kwds.
* Whitespace normalization, via reindent.py.Tim Peters2004-07-183-220/+217
|
* Ported to Universal Headers 3.4.2. Qd and Qt remain to be done.Jack Jansen2003-12-032-62/+81
| | | | Completely untested.
* Got rid of macglue.h, replacing it by pymactoolbox.h where relevant.Jack Jansen2003-11-201-5/+0
| | | | Cleaned up various things in the toolbox modules.
* Getting rid of code conditional on TARGET_API_MAC_*.Jack Jansen2003-11-192-13/+1
|
* Getting rid of WITHOUT_FRAMEWORKS and ACCESSOR_CALLS_ARE_FUNCTIONS:Jack Jansen2003-11-192-8/+0
| | | | MacOS9isms.
* Allow setting the auto dispose flag on window objects.Jack Jansen2003-04-222-3/+42
|
* - Various tweaks to shut up compiler warnings.Jack Jansen2002-12-231-1/+2
| | | | | - Regenerated with the correct calls to PyType_Ready and the correct deallocator calls.
* Regenerated with inheritance-aware xxxx_Check() macros.Jack Jansen2002-12-191-1/+1
|
* Get rid of support for Universal Headers older than 3.4 and various otherJack Jansen2002-12-132-22/+0
| | | | outdated things.
* Getting rid of pre-Carbon (MacOS8) support. All code depending onJack Jansen2002-12-123-693/+20
| | | | | | TARGET_API_MAC_OS8 (or !TARGET_API_MAC_CARBON) is gone. Also some TARGET_API_MAC_OSX conditional code is gone, because it is no longer used on OSX-only Python (only in MacPython-OS9).
* Added PEP253 support to most Carbon modules. This isn't complete yet:Jack Jansen2002-12-032-14/+45
| | | | | | 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-292-11/+21
| | | | | | | | | | | | | | | | 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
|
* Regenerated with PyDoc_STR() around docstrings.Jack Jansen2002-08-161-162/+162
|
* After generating the Python file with definitions try to run it, soJack Jansen2002-08-151-0/+2
| | | | we catch errors during the build process in stead of later during runtime.
* Enable building of Carbon toolbox modules with unix-Python.Jack Jansen2002-08-051-2/+1
|
* fixed refcount leak in CreateNewWindow() and CreateWindowFromResource().Just van Rossum2002-06-052-2/+9
|
* Regenerated.Jack Jansen2002-04-231-1/+1
|
* Weaklink most toolbox modules, improving backward compatibility. Modules ↵Jack Jansen2002-03-241-0/+2
| | | | | | | | will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception. Should finally fix 531398. 2.2.1 candidate. Also blacklisted some constants with definitions that were not Python-compatible.
* Lurking bug found by patch for 531291: FSSpecs should be passed toJack Jansen2002-03-181-1/+1
| | | | | | Py_BuildValue by address, not by value. 2.2.1 candidate.
* Updated to Universal Headers 3.4Jack Jansen2001-12-183-41/+661
|
* Patch supplied by Burton Radons for his own SF bug #487390: ModifyingGuido van Rossum2001-12-081-1/+1
| | | | | | | | | | | | | 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.
* Merged changes made on r22b2-branch between r22b2 and r22b2-mac (theJack Jansen2001-11-302-8/+421
| | | | changes from start of branch upto r22b2 were already merged, of course).
* First tweaks to allow MacPython to be compiled withJack Jansen2001-11-052-2/+6
| | | | Universal Headers 3.4
* Shut up many more gcc warnings.Jack Jansen2001-09-052-4/+10
|
* Regenerated without default int return types.Jack Jansen2001-09-041-1/+1
|
* Renamed.Jack Jansen2001-08-231-2806/+0
|
* Renamed the Mac toolbox modules to have an initial _ in their name.Jack Jansen2001-08-231-0/+2814
|
* 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-202-22/+8
| | | | expected so it doesn't crash under OSX/Mach-o.
* Lots more Carbon/Carbon.h includes, new UPP routine names, function ↵Jack Jansen2001-05-222-460/+168
| | | | 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-172-0/+52
| | | | | | 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-252-2/+4
| | | | dereferencing it (carbon only).
* Disable GetWindowSpareFlag and GetWindowGoAwayBox on carbon.Jack Jansen2001-02-282-0/+14
|
* Oops, repr didn't allocate the memory it used...Jack Jansen2001-02-112-1/+19
|
* Various tweaks to make it everything build and compile again under carbon. ↵Jack Jansen2001-01-093-0/+16
| | | | Mainly greylisted functions.
* Emulate a few more non-carbon calls in carbon and the other way around.Jack Jansen2000-12-193-93/+163
|
* Added hash() and compare() functions. Needed because multiple WinObj's can ↵Jack Jansen2000-12-192-2/+35
| | | | 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-142-6/+117
| | | | 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-124-398/+687
|
* Window objects now also have an AutoDispose funcpointer (set for our ↵Jack Jansen2000-08-253-23/+61
| | | | | | 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-144-49/+49
|
* pymactoolbox.h contains protoypes for all externally visible toolbox moduleJack Jansen2000-07-142-47/+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-072-5/+4
| | | | specifier, now that h is signed-only.
* All relevant toolbox modules have now been carbonized.Jack Jansen2000-06-212-5/+3
|
* Made the core toolbox modules carbon-compatible using the new greylist ↵Jack Jansen2000-06-024-60/+154
| | | | | | 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-142-1/+3
| | | | 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-123-87/+957
|
* Re-generated with OSStatus treated like OSErr (i.e. not returned, but raisingJack Jansen1999-03-041-24/+27
| | | | an exception when negative).