Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Data of type Point is passed by value, not by reference. | Jack Jansen | 2000-03-22 | 4 | -10/+10 |
| | |||||
* | Added UserPane callbacks for HitTest and Tracking. Doesn't fully work yet. | Jack Jansen | 2000-03-21 | 2 | -4/+92 |
| | |||||
* | Added a GetControlRect() method to controls which returns the bounding ↵ | Jack Jansen | 2000-03-21 | 3 | -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 Jansen | 2000-03-20 | 2 | -16/+251 |
| | |||||
* | Added a method GetMediaNextInterestingTimeOnly, which is like ↵ | Jack Jansen | 2000-03-17 | 2 | -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 Jansen | 2000-03-14 | 2 | -2/+2 |
| | |||||
* | Handles were never disposed. Added an AutoDispose(onoff) method to control this. | Jack Jansen | 2000-03-08 | 3 | -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 Jansen | 2000-03-06 | 2 | -10/+26 |
| | | | | used for delta-t values by quicktime). | ||||
* | Fixed parameters to a few time and timebase calls: InOut parameters were | Jack Jansen | 2000-03-03 | 2 | -12/+25 |
| | | | | inadvertantly seen as out-only. | ||||
* | Added PutPixMapBytes() and GetPixMapBytes() functions that allow getting at | Jack Jansen | 2000-03-03 | 2 | -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 Jansen | 2000-03-03 | 2 | -0/+68 |
| | |||||
* | Added FreeMem, MaxBlock and CompactMem calls. The values returned by these ↵ | Jack Jansen | 2000-02-21 | 1 | -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 Jansen | 2000-01-24 | 1 | -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 Jansen | 2000-01-13 | 1 | -1/+16 |
| | | | | Fixed. | ||||
* | List objects obtained through as_List(resource) are not auto-disposed upon | Jack Jansen | 2000-01-13 | 2 | -11/+34 |
| | | | | Python object freeing. | ||||
* | Nasty error: handle parameters are passed by _address_ to SetControlData. | Jack Jansen | 1999-12-29 | 2 | -2/+2 |
| | |||||
* | Oops, forgot & in ParseTuple argument in ControlGetDataHandle. | Jack Jansen | 1999-12-23 | 2 | -2/+2 |
| | |||||
* | Unified handle-conversion scheme to | Jack Jansen | 1999-12-23 | 10 | -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 for | Jack Jansen | 1999-12-19 | 2 | -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 movable | Jack Jansen | 1999-12-17 | 1 | -0/+1 |
| | | | | dialogs. | ||||
* | Finished (I think), but only very lightly tested. Should now have full ↵ | Jack Jansen | 1999-12-17 | 1 | -104/+413 |
| | | | | | | interface: all calls, callbacks, arguments, etc. Also added docstrings. | ||||
* | Allow keyword arguments, and the dialog is now actually shown. No way to | Jack Jansen | 1999-12-16 | 1 | -29/+53 |
| | | | | get at the result yet, though:-) | ||||
* | Added Nav module | Jack Jansen | 1999-12-16 | 1 | -0/+2 |
| | |||||
* | Navigation Services module. Started from scratch, as Joe's module exported ↵ | Jack Jansen | 1999-12-16 | 1 | -0/+618 |
| | | | | too little for my needs. | ||||
* | Bgen now understands more constant definitions, but that means that a few ↵ | Jack Jansen | 1999-12-14 | 7 | -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 Jansen | 1999-12-12 | 2 | -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). | ||||
* | Regenerated with CW Pro 5.2, which has MacOS 8.6 and Appearance 1.1 support. | Jack Jansen | 1999-12-12 | 29 | -402/+3137 |
| | |||||
* | New appearance mgr support. This appears (no pun intended) to have some ↵ | Jack Jansen | 1999-12-10 | 3 | -1/+631 |
| | | | | problems that I'll fix tonight, so don't check it out. | ||||
* | Fixed a linebreak I forgot, added docstrings, (temporarily) blacklisted a ↵ | Jack Jansen | 1999-12-09 | 3 | -17/+147 |
| | | | | few routines that seem to be missing in my CW Pro 5.1. | ||||
* | Changes by Corran Webster to support {Get,Set}ControlData and | Jack Jansen | 1999-12-09 | 2 | -12/+132 |
| | | | | HandleControlClick. Untested. | ||||
* | First bits and pieces of appearance support: an init routine, a global flag ↵ | Jack Jansen | 1999-12-07 | 1 | -0/+3 |
| | | | | | | PyMac_AppearanceCompliant (exported thru MacOS). If USE_APPEARANCE is off the code is disabled (but the variables are still there, set to 0). | ||||
* | Allow for 12 arguments max, in stead of 8. Untested. | Jack Jansen | 1999-12-03 | 1 | -6/+9 |
| | |||||
* | Regenerated, no significant diferences. | Jack Jansen | 1999-09-30 | 1 | -0/+12 |
| | |||||
* | Removed availabe() method again: even on PPC it sometimes returns 1 while | Jack Jansen | 1999-08-23 | 2 | -104/+0 |
| | | | | quicktime isn't available. Use gestalt in stead for this functionality. | ||||
* | Return MacOS.Error in stead of RuntimeError in case of failure so the user | Jack Jansen | 1999-08-23 | 1 | -6/+3 |
| | | | | gets a reasonable explanation in stead of a large negative number. | ||||
* | Added available() method, which checks whether quicktime is installed at all (by | Jack Jansen | 1999-08-04 | 2 | -0/+104 |
| | | | | testing whether EnterMovies points to an actual routine or is a null pointer). | ||||
* | Drag module added. | Jack Jansen | 1999-07-05 | 1 | -0/+2 |
| | |||||
* | Print something on stderr in case of exceptions in callback routines. | Jack Jansen | 1999-06-21 | 2 | -6/+18 |
| | |||||
* | Drag manager interface (completely untested, so far) | Jack Jansen | 1999-06-21 | 3 | -0/+1446 |
| | |||||
* | If a control has no refcon pointing back to the Python object we create a new | Jack Jansen | 1999-03-13 | 2 | -11/+75 |
| | | | | | Python object. This needs a new bgenObjectDefinition.py, which implements compare and hash functions. | ||||
* | Offscreen bitmap support, first stab. PixMaps are still treated as ordinary | Jack Jansen | 1999-03-07 | 3 | -0/+741 |
| | | | | | handles, not fullblown python objects, and UpdateGWorld returns a new GWorld object in stead of modifying the existing one. | ||||
* | Added a rewrite rule so the Str255 argument of GetControlTitle is seen as | Jack Jansen | 1999-03-07 | 2 | -5/+8 |
| | | | | output parameter. | ||||
* | Added App module (appearance manager interface). | Jack Jansen | 1999-03-04 | 1 | -0/+2 |
| | |||||
* | Interface to the appearance manager. | Jack Jansen | 1999-03-04 | 3 | -0/+831 |
| | |||||
* | Re-generated with OSStatus treated like OSErr (i.e. not returned, but raising | Jack Jansen | 1999-03-04 | 1 | -24/+27 |
| | | | | an exception when negative). | ||||
* | Added Ctl.as_Control and Menu.as_Menu methods, which take a resource as | Jack Jansen | 1999-02-07 | 6 | -0/+52 |
| | | | | argument and return a Control or Menu object. | ||||
* | Added a define USE_CORE_TOOLBOX, which includes six core toolbox modules | Jack Jansen | 1999-02-07 | 1 | -12/+21 |
| | | | | | into the config file. This define is also automatically set if USE_TOOLBOX is defined. | ||||
* | Manually added definitions for normal, bold, etc. These are in MacTypes (of all | Jack Jansen | 1999-01-21 | 1 | -1/+11 |
| | | | | places) which isn't worth bgenning. | ||||
* | Interface to GetIcon, PlotIcon and friends. | Jack Jansen | 1999-01-18 | 3 | -0/+828 |
| | |||||
* | Added {Get,Set}WindowUserData methods. | Jack Jansen | 1998-10-22 | 3 | -6/+44 |
| |