summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.Jack Jansen2000-07-1437-206/+206
|
* pymactoolbox.h contains protoypes for all externally visible toolbox moduleJack Jansen2000-07-1444-916/+152
| | | | | functions. Include it in stead of duplicating the declarations everywhere. Also cleaned up toolbox module exports, and got rid of resNotFound error.
* Got rid of __SC__ ifdefs.Jack Jansen2000-07-111-4/+0
|
* ANSIfication step 2: make sure all needed prototypes are available, and all ↵Jack Jansen2000-07-112-5/+7
| | | | | | needed header files included.
* Fiddled declaration/implementation of setcallback() so that it is ansifyable.Jack Jansen2000-07-112-8/+16
|
* ANSIfication step 1: get rid of Py_PROTO and Py_FPROTO.Jack Jansen2000-07-111-15/+15
|
* Changed all (hopefully) uses of unsigned 16 bit value to use H format ↵Jack Jansen2000-07-0723-86/+86
| | | | specifier, now that h is signed-only.
* added ucnhash (optional on USE_UCNHASH) and the mysteriously disappeared math.Jack Jansen2000-06-281-1/+7
|
* All relevant toolbox modules have now been carbonized.Jack Jansen2000-06-2114-5/+160
|
* Made to work under carbon.Jack Jansen2000-06-203-2/+44
|
* Under carbon use the GetQDGlobalxxx methods to implement Qd.qd.member access.Jack Jansen2000-06-202-0/+84
|
* Moved AE module to the core toolbox set: it is needed by Nav and it isn't ↵Jack Jansen2000-06-071-2/+2
| | | | all _that_ huge.
* Removed SYMANTEC_CFM68K support.Jack Jansen2000-06-041-4/+0
|
* Removed USE_STDWIN support.Jack Jansen2000-06-044-87/+1
|
* Removed THINK_C support.Jack Jansen2000-06-042-8/+0
|
* Made the core toolbox modules carbon-compatible using the new greylist ↵Jack Jansen2000-06-0225-118/+656
| | | | | | 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.
* Manually added HRHTMLRenderingLibAvailable.Jack Jansen2000-05-153-3/+23
| | | | Blacklist HRDisposeReference and call it in the dispose routine.
* Interface to macOS 9 HTMLRenderingLib. Not yet functional.Jack Jansen2000-05-143-0/+1073
|
* Fixed to work again without USE_GUSIJack Jansen2000-05-121-4/+1
|
* Added unicodedata and _codecs modules (which had apparently slipped through ↵Jack Jansen2000-05-121-0/+4
| | | | until now).
* Got rid of PyMem_XDEL.Jack Jansen2000-05-051-7/+7
|
* Started on GUSI2 and threading support.Jack Jansen2000-04-071-8/+18
|
* 1.6a1 modules added.Jack Jansen2000-04-071-2/+8
|
* Added a few cast to make it 68k-compatible.Jack Jansen2000-04-052-10/+10
|
* Data of type Point is passed by value, not by reference.Jack Jansen2000-03-224-10/+10
|
* Added UserPane callbacks for HitTest and Tracking. Doesn't fully work yet.Jack Jansen2000-03-212-4/+92
|
* Added a GetControlRect() method to controls which returns the bounding ↵Jack Jansen2000-03-213-0/+24
| | | | rectangle. To my surprise this call is missing from the C API...
* Started on support for callbacks for UserPane controls. Unfinished and untested.Jack Jansen2000-03-202-16/+251
|
* 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).
* AETransactionID was mistakenly defined as a short (it is a long). Fixed.Jack Jansen2000-03-142-2/+2
|
* Handles were never disposed. Added an AutoDispose(onoff) method to control this.Jack Jansen2000-03-083-10/+143
| | | | Also added a Handle() function which is like Resource() but has auto-dispose on by default.
* 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.
* Added PutPixMapBytes() and GetPixMapBytes() functions that allow getting atJack Jansen2000-03-032-0/+96
| | | | | | pixmap data. Added an as_GrafPort() method to be able to use a GWorld as argument to routines that expect a GrafPort.
* Added methods getdata() and putdata() to obtain the data in a bitmap.Jack Jansen2000-03-032-0/+68
|
* Added FreeMem, MaxBlock and CompactMem calls. The values returned by these ↵Jack Jansen2000-02-211-0/+43
| | | | 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.
* Big oops: macfs has always been using a private exception but calling it ↵Jack Jansen2000-01-241-1/+1
| | | | | | | mac.error. It now uses MacOS.Error (the OSErr valued error) and advertises that too. This fix shouldn't break anything, I guess.
* Handling of defaultLocation argument was wrong, causing a crash when used. ↵Jack Jansen2000-01-131-1/+16
| | | | Fixed.
* List objects obtained through as_List(resource) are not auto-disposed uponJack Jansen2000-01-132-11/+34
| | | | Python object freeing.
* Nasty error: handle parameters are passed by _address_ to SetControlData.Jack Jansen1999-12-292-2/+2
|
* Oops, forgot & in ParseTuple argument in ControlGetDataHandle.Jack Jansen1999-12-232-2/+2
|
* Unified handle-conversion scheme toJack Jansen1999-12-2310-27/+120
| | | | | | | 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.
* Added {Get,Set}ControlDataHandle methods. These are {Get,Set}ControlData forJack Jansen1999-12-192-1/+148
| | | | keys that expect a Handle, and have a ResObj as parameter.
* Added a line about passing None as eventProc to the docstring to get movableJack Jansen1999-12-171-0/+1
| | | | dialogs.
* Finished (I think), but only very lightly tested. Should now have full ↵Jack Jansen1999-12-171-104/+413
| | | | | | interface: all calls, callbacks, arguments, etc. Also added docstrings.
* Allow keyword arguments, and the dialog is now actually shown. No way toJack Jansen1999-12-161-29/+53
| | | | get at the result yet, though:-)
* Added Nav moduleJack Jansen1999-12-161-0/+2
|
* Navigation Services module. Started from scratch, as Joe's module exported ↵Jack Jansen1999-12-161-0/+618
| | | | too little for my needs.
* Bgen now understands more constant definitions, but that means that a few ↵Jack Jansen1999-12-147-2/+32
| | | | which are not parseable in Python have to be blacklisted.
* In places where a ResObj is expected for PyArg_Parse and the object passed ↵Jack Jansen1999-12-122-10/+53
| | | | | | in isn't but it does have an as_Resource method use that. This makes life a lot easier for appearance portability (and was needed anyway).