summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/dlg/Dlgmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Renamed.Jack Jansen2001-08-231-1426/+0
|
* Lots more Carbon/Carbon.h includes, new UPP routine names, function ↵Jack Jansen2001-05-221-197/+76
| | | | 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/+15
| | | | | | 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-8/+12
| | | | 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-7/+47
| | | | dialogs.
* Adapted to Universal Headers 3.3.2. More to follow.Jack Jansen2000-12-101-2/+184
|
* Added routine DlgObj_ConvertToWindow().Jack Jansen2000-08-251-1/+12
| | | | | 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-2/+2
|
* pymactoolbox.h contains protoypes for all externally visible toolbox moduleJack Jansen2000-07-141-39/+1
| | | | | 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-2/+2
| | | | specifier, now that h is signed-only.
* Made the core toolbox modules carbon-compatible using the new greylist ↵Jack Jansen2000-06-021-4/+10
| | | | | | 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-4/+126
|
* 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/+58
| | | | | | 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.
* Re-generated from new (3.1) universal headersJack Jansen1998-04-211-6/+6
|
* Regenerated from Universal Headers 3.0.1. Some new calls areJack Jansen1998-02-201-183/+317
| | | | | | 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.
* Export type objects to PythonJack Jansen1997-09-201-0/+4
|
* Added support for GetDialogWindow and other accessor functionsJack Jansen1996-09-231-0/+79
|
* RegeneratedJack Jansen1996-08-021-3/+0
|
* Replaced various dummy updateRegions by real argumentsJack Jansen1996-04-101-3/+8
|
* - Added color window/pixmap supportJack Jansen1995-12-121-2/+11
| | | | | - Added support for obtaining pixmap data - Added OptResObj_* routines for optional handles
* Generated anewJack Jansen1995-08-171-1/+2
|
* Trying again to check it in. Changes to:Jack Jansen1995-06-061-92/+190
| | | | | | - 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-91/+11
|
* Committed a more or less working version.Guido van Rossum1995-01-301-0/+905