summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/dlg/dlgsupport.py
Commit message (Collapse)AuthorAgeFilesLines
* Getting rid of WITHOUT_FRAMEWORKS and ACCESSOR_CALLS_ARE_FUNCTIONS:Jack Jansen2003-11-191-4/+0
| | | | MacOS9isms.
* Get rid of support for Universal Headers older than 3.4 and various otherJack Jansen2002-12-131-7/+0
| | | | outdated things.
* Added PEP253 support to most Carbon modules. This isn't complete yet:Jack Jansen2002-12-031-1/+1
| | | | | | 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-291-1/+1
| | | | | | | | | | | | | | | | 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.
* Adapted for Universal Headers 3.4Jack Jansen2001-12-161-15/+0
|
* Merged changes made on r22b2-branch between r22b2 and r22b2-mac (theJack Jansen2001-11-301-2/+2
| | | | changes from start of branch upto r22b2 were already merged, of course).
* First tweaks to allow MacPython to be compiled withJack Jansen2001-11-051-1/+1
| | | | Universal Headers 3.4
* 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-221-16/+13
| | | | 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-171-1/+17
| | | | | | 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.
* On OSX passing NULL to NewUniversalFilterProc() does not return NULL but a ↵Jack Jansen2001-02-201-4/+8
| | | | crashing UPP. This made ModalDialog (and, hence EditPythonPrefs and EasyDialogs and many others) crash. Fixed.
* Added DlgObj_WhichDialog, analoguous to WhichWindow, and use this to get at ↵Jack Jansen2001-02-061-4/+60
| | | | dialogs.
* Adapted to Universal Headers 3.3.2. More to follow.Jack Jansen2000-12-101-8/+17
|
* Added routine DlgObj_ConvertToWindow().Jack Jansen2000-08-251-1/+27
| | | | | GetDialogWindow() returns an existing window. Added a comment that the methodchain Dialogs->Windows is suspect under Carbon/MacOSX, but we need it under Carbon. No solution yet:-(
* Got rid of obsolete HAVE_UNIVERSAL_HEADERS test and SystemSevenOrLater define.Jack Jansen2000-07-141-4/+0
|
* Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.Jack Jansen2000-07-141-1/+1
|
* pymactoolbox.h contains protoypes for all externally visible toolbox moduleJack Jansen2000-07-141-4/+0
| | | | | 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-1/+1
| | | | specifier, now that h is signed-only.
* Made the core toolbox modules carbon-compatible using the new greylist ↵Jack Jansen2000-06-021-3/+4
| | | | | | 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.
* Regenerated with CW Pro 5.2, which has MacOS 8.6 and Appearance 1.1 support.Jack Jansen1999-12-121-0/+1
|
* Replaced fprintf(stderr,...) with PySys_WriteStderr(...) where appropriate.Jack Jansen1998-10-121-2/+2
|
* Added a function SetUserItemHandler: this takes a function(dialog,Jack Jansen1998-07-101-0/+52
| | | | | | item) as parameter and returns a handle suitable for passing to SetDialogItem as a user-item redraw routine. Note that you can only make one of these, for now.
* Replaced addpack by handcrafted code to find the bgen stuff.Jack Jansen1998-04-171-3/+0
|
* Regenerated from Universal Headers 3.0.1. Some new calls areJack Jansen1998-02-201-0/+5
| | | | | | 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.
* Added support for GetDialogWindow and other accessor functionsJack Jansen1996-09-231-0/+14
|
* Replaced various dummy updateRegions by real argumentsJack Jansen1996-04-101-1/+1
|
* - Added color window/pixmap supportJack Jansen1995-12-121-5/+3
| | | | | - Added support for obtaining pixmap data - Added OptResObj_* routines for optional handles
* Use ResObj_OptNew for GetDialogItem return value: the handle returnedJack Jansen1995-08-171-0/+6
| | | | may be NULL (for user items, for instance).
* Trying again to check it in. Changes to:Jack Jansen1995-06-061-0/+5
| | | | | | - Use Universal Headers as input - Change addpack calls to not depend on Guido's disklayout - Checkge testprograms to use new names for some functions
* fix bug in filterproc interfaceGuido van Rossum1995-02-211-1/+1
|
* another round... ported to __SC__Guido van Rossum1995-02-191-2/+6
|
* Committed a more or less working version.Guido van Rossum1995-01-301-0/+121