Commit Graph

316 Commits

Author SHA1 Message Date
Jack Jansen
12e89e42d8 Fixed to work again without USE_GUSI 2000-05-12 21:36:29 +00:00
Jack Jansen
48b486b054 Added unicodedata and _codecs modules (which had apparently slipped through until now). 2000-05-12 21:36:06 +00:00
Jack Jansen
9d61d1bab1 Got rid of PyMem_XDEL. 2000-05-05 23:09:16 +00:00
Jack Jansen
37d21e117f Started on GUSI2 and threading support. 2000-04-07 09:25:06 +00:00
Jack Jansen
d62966060f 1.6a1 modules added. 2000-04-07 09:24:53 +00:00
Jack Jansen
1b6e8214ab Added a few cast to make it 68k-compatible. 2000-04-05 21:30:57 +00:00
Jack Jansen
deb6373fff Data of type Point is passed by value, not by reference. 2000-03-22 15:35:24 +00:00
Jack Jansen
a27e9fb19f Added UserPane callbacks for HitTest and Tracking. Doesn't fully work yet. 2000-03-21 23:03:02 +00:00
Jack Jansen
1a7d5b12c0 Added a GetControlRect() method to controls which returns the bounding rectangle. To my surprise this call is missing from the C API... 2000-03-21 16:25:23 +00:00
Jack Jansen
abc411bac8 Started on support for callbacks for UserPane controls. Unfinished and untested. 2000-03-20 16:09:09 +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
def77e5346 AETransactionID was mistakenly defined as a short (it is a long). Fixed. 2000-03-14 23:29:08 +00:00
Jack Jansen
add03b62fd Handles were never disposed. Added an AutoDispose(onoff) method to control this.
Also added a Handle() function which is like Resource() but has auto-dispose on by default.
2000-03-08 16:58:15 +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
1b7a70fa52 Fixed parameters to a few time and timebase calls: InOut parameters were
inadvertantly seen as out-only.
2000-03-03 17:06:13 +00:00
Jack Jansen
6dc8ce9108 Added PutPixMapBytes() and GetPixMapBytes() functions that allow getting at
pixmap data.
Added an as_GrafPort() method to be able to use a GWorld as argument to
routines that expect a GrafPort.
2000-03-03 16:03:06 +00:00
Jack Jansen
484be6152f Added methods getdata() and putdata() to obtain the data in a bitmap. 2000-03-03 16:01:11 +00:00
Jack Jansen
957d07a159 Added FreeMem, MaxBlock and CompactMem calls. The values returned by these are lower bounds in the Python case (as malloc doesn't return memory to the heap) but they can be used to decide when to give low-memory warnings. 2000-02-21 11:07:37 +00:00
Jack Jansen
4377a1a2c5 Big oops: macfs has always been using a private exception but calling it mac.error.
It now uses MacOS.Error (the OSErr valued error) and advertises that too. This
fix shouldn't break anything, I guess.
2000-01-24 10:37:59 +00:00
Jack Jansen
2c6cf97255 Handling of defaultLocation argument was wrong, causing a crash when used. Fixed. 2000-01-13 16:24:32 +00:00
Jack Jansen
3d6163ad2d List objects obtained through as_List(resource) are not auto-disposed upon
Python object freeing.
2000-01-13 16:23:39 +00:00
Jack Jansen
f7ac1d32f0 Nasty error: handle parameters are passed by _address_ to SetControlData. 1999-12-29 12:37:22 +00:00
Jack Jansen
b9247d37ba Oops, forgot & in ParseTuple argument in ControlGetDataHandle. 1999-12-23 23:06:07 +00:00
Jack Jansen
a1a0fef2ea Unified handle-conversion scheme to
handle = Ctl.as_Resource(ctl)
  ctl = Ctl.as_Control(handle)
and similarly for List, Menu, TE. The old handle.as_Control() methods are
still there for backward compatability.
1999-12-23 14:32:06 +00:00
Jack Jansen
1f9249cea9 Added {Get,Set}ControlDataHandle methods. These are {Get,Set}ControlData for
keys that expect a Handle, and have a ResObj as parameter.
1999-12-19 00:05:50 +00:00