Jack Jansen
714d7268d5
Weaklink most toolbox modules, improving backward compatibility. Modules 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.
2002-03-25 00:32:17 +00:00
Jack Jansen
77105a960b
The MacOS toolbox modules have acquired an _ in front of their name. Normal usage is through a wrapper module (without underscore) which lives in the Carbon package.
2001-08-23 13:51:46 +00:00
Jack Jansen
fa77e1a1b1
Lots more Carbon/Carbon.h includes, new UPP routine names, function prototypes. Most toolbox modules now compile, link and import in MacOSX-MachO python.
2001-05-22 21:56:42 +00:00
Jack Jansen
0e04eecdbf
First step in porting MacPython modules to OSX/unix: break all references 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.
2001-05-17 21:58:34 +00:00
Jack Jansen
723ad8ae73
More toolbox modules adapted to Universal Headers 3.3.2.
2000-12-12 22:10:21 +00:00
Jack Jansen
9d8b96c850
pymactoolbox.h contains protoypes for all externally visible toolbox module
...
functions. Include it in stead of duplicating the declarations everywhere. Also
cleaned up toolbox module exports, and got rid of resNotFound error.
2000-07-14 22:16:45 +00:00
Jack Jansen
0b13e7c153
Changed all (hopefully) uses of unsigned 16 bit value to use H format specifier, now that h is signed-only.
2000-07-07 13:09:35 +00:00
Jack Jansen
c59996e6b1
Added a method GetMediaNextInterestingTimeOnly, which is like GetMediaNextInterestingTime without asking for the duration (which is, according to qt docs, expensive).
2000-03-17 16:49:59 +00:00
Jack Jansen
6f3fceb8d8
Allow None as TimeBase value in TimeValue records (becomes NULL in C structure,
...
used for delta-t values by quicktime).
2000-03-06 16:34:49 +00:00
Jack Jansen
f6969fae01
Removed availabe() method again: even on PPC it sometimes returns 1 while
...
quicktime isn't available. Use gestalt in stead for this functionality.
1999-08-23 11:45:40 +00:00
Jack Jansen
493aa4809b
Added available() method, which checks whether quicktime is installed at all (by
...
testing whether EnterMovies points to an actual routine or is a null pointer).
1999-08-04 12:07:09 +00:00
Jack Jansen
d81fc3cd64
- Added a function MoviesTask, which is the same as the method but
...
with a null movie (giving time to all active movies)
- Made the graphics world parameter to SetMovieGWorld optional.
1998-07-22 13:37:37 +00:00
Jack Jansen
b2006395b7
Added support for the horribly complex TimeRecord, so we can position
...
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).
1998-04-23 13:22:44 +00:00
Jack Jansen
1c4e614627
Re-generated from new (3.1) universal headers
1998-04-21 15:23:55 +00:00
Jack Jansen
e0cf87b20d
Enabled resID input/output parameter to NewMovieFromFile. This changes
...
the Python interface, unfortunately.
Added a few calls that were blacklisted for no apparent reason.
1997-04-09 15:53:46 +00:00
Jack Jansen
4a8c54e6d9
- Changed GestaltEqu.h to Gestalt.h
...
- 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)
1997-02-24 13:56:59 +00:00
Jack Jansen
9cfea10bf2
It now actually works. Also, MovieInWindow and VerySimplePlayer
...
example programs translated to python and added.
1995-12-09 14:05:56 +00:00
Jack Jansen
453ced57dc
still untested (but it compiles)
1995-11-30 17:42:08 +00:00
Jack Jansen
cb4eaadd68
QuickTime support (not yet functional)
1995-11-30 15:03:59 +00:00