summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/qt
Commit message (Collapse)AuthorAgeFilesLines
* Changed an edit instruction because of a changed parameter name (sigh).Jack Jansen2003-02-042-7/+10
|
* - Various tweaks to shut up compiler warnings.Jack Jansen2002-12-231-6/+12
| | | | | - Regenerated with the correct calls to PyType_Ready and the correct deallocator calls.
* Regenerated with inheritance-aware xxxx_Check() macros.Jack Jansen2002-12-191-6/+6
|
* Getting rid of pre-Carbon (MacOS8) support. All code depending onJack Jansen2002-12-122-404/+14
| | | | | | 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-84/+258
| | | | | | 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-66/+126
| | | | | | | | | | | | | | | | 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.
* Regenerated with PyDoc_STR() around docstrings.Jack Jansen2002-08-161-405/+405
|
* 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
|
* Regenerated.Jack Jansen2002-04-231-6/+6
|
* Weaklink most toolbox modules, improving backward compatibility. Modules ↵Jack Jansen2002-03-251-2/+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.
* Weaklink most toolbox modules, improving backward compatibility. Modules ↵Jack Jansen2002-03-241-0/+1215
| | | | | | | | 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.
* Updated to Universal Headers 3.4Jack Jansen2001-12-182-12/+310
|
* Patch supplied by Burton Radons for his own SF bug #487390: ModifyingGuido van Rossum2001-12-081-6/+6
| | | | | | | | | | | | | 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-301-10/+6
| | | | changes from start of branch upto r22b2 were already merged, of course).
* Shut up many more gcc warnings.Jack Jansen2001-09-051-0/+4
|
* Regenerated without default int return types.Jack Jansen2001-09-041-6/+6
|
* Renamed.Jack Jansen2001-08-231-8418/+0
|
* Renamed the Mac toolbox modules to have an initial _ in their name.Jack Jansen2001-08-231-0/+8426
|
* 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.
* Lots more Carbon/Carbon.h includes, new UPP routine names, function ↵Jack Jansen2001-05-222-1275/+459
| | | | 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/+82
| | | | | | 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.
* Various tweaks to make it everything build and compile again under carbon. ↵Jack Jansen2001-01-092-0/+70
| | | | Mainly greylisted functions.
* More toolbox modules adapted to Universal Headers 3.3.2.Jack Jansen2000-12-123-1/+1183
|
* Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.Jack Jansen2000-07-142-5/+5
|
* pymactoolbox.h contains protoypes for all externally visible toolbox moduleJack Jansen2000-07-142-73/+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-212-0/+19
|
* Added a method GetMediaNextInterestingTimeOnly, which is like ↵Jack Jansen2000-03-172-0/+42
| | | | GetMediaNextInterestingTime without asking for the duration (which is, according to qt docs, expensive).
* Allow None as TimeBase value in TimeValue records (becomes NULL in C structure,Jack Jansen2000-03-062-10/+26
| | | | used for delta-t values by quicktime).
* Fixed parameters to a few time and timebase calls: InOut parameters wereJack Jansen2000-03-032-12/+25
| | | | inadvertantly seen as out-only.
* Regenerated with CW Pro 5.2, which has MacOS 8.6 and Appearance 1.1 support.Jack Jansen1999-12-122-29/+114
|
* Removed availabe() method again: even on PPC it sometimes returns 1 whileJack Jansen1999-08-232-104/+0
| | | | quicktime isn't available. Use gestalt in stead for this functionality.
* Added available() method, which checks whether quicktime is installed at all (byJack Jansen1999-08-042-0/+104
| | | | testing whether EnterMovies points to an actual routine or is a null pointer).
* - Added a function MoviesTask, which is the same as the method butJack Jansen1998-07-222-3/+29
| | | | | with a null movie (giving time to all active movies) - Made the graphics world parameter to SetMovieGWorld optional.
* Added support for the horribly complex TimeRecord, so we can positionJack Jansen1998-04-233-9/+431
| | | | | | movies, etc. TimeBase objects have also been slightly modified for this (for instance: the DisposeTimeBase call shouldn't be done in the __del__ routine, the timebase might belong to someone else).
* Re-generated from new (3.1) universal headersJack Jansen1998-04-213-28/+1404
|
* Replaced addpack by handcrafted code to find the bgen stuff.Jack Jansen1998-04-171-2/+4
|
* Regenerated from Universal Headers 3.0.1. Some new calls areJack Jansen1998-02-201-0/+3
| | | | | | 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/+24
|
* Can't remember...Jack Jansen1997-09-011-13/+2
|
* Enabled resID input/output parameter to NewMovieFromFile. This changesJack Jansen1997-04-093-13/+192
| | | | | the Python interface, unfortunately. Added a few calls that were blacklisted for no apparent reason.
* - Changed GestaltEqu.h to Gestalt.hJack Jansen1997-02-243-131/+35
| | | | | | | | - Changed FragLoader.h to CodeFragments.h - Removed Desk.h - Regenerated bgen modules from new universal headers - Changed some of the s# in PyArg_ParseTuple to m# (unfortunately: this should have been a different commit)
* RegeneratedJack Jansen1996-08-021-3/+0
|
* Removed ...gen.py files from repositoryJack Jansen1996-04-161-1712/+0
|
* bgen-generators now drop the python definition file straight in theJack Jansen1996-04-123-2/+6
| | | | Lib:toolbox folder.
* - Added color window/pixmap supportJack Jansen1995-12-121-1/+2
| | | | | - Added support for obtaining pixmap data - Added OptResObj_* routines for optional handles
* It now actually works. Also, MovieInWindow and VerySimplePlayerJack Jansen1995-12-094-858/+967
| | | | example programs translated to python and added.
* still untested (but it compiles)Jack Jansen1995-11-304-199/+7038
|
* QuickTime support (not yet functional)Jack Jansen1995-11-303-0/+1106