summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/dlg
Commit message (Collapse)AuthorAgeFilesLines
* Untabify C files. Will watch buildbots.Antoine Pitrou2010-05-091-1094/+1094
|
* MacOS X: Enable 4-way universal buildsRonald Oussoren2008-06-051-1/+14
| | | | | | | | | | | | | | | | | | This patch adds a new configure argument on OSX: --with-universal-archs=[32-bit|64-bit|all] When used with the --enable-universalsdk option this controls which CPU architectures are includes in the framework. The default is 32-bit, meaning i386 and ppc. The most useful alternative is 'all', which includes all 4 CPU architectures supported by MacOS X (i386, ppc, x86_64 and ppc64). This includes limited support for the Carbon bindings in 64-bit mode as well, limited because (a) I haven't done extensive testing and (b) a large portion of the Carbon API's aren't available in 64-bit mode anyway. I've also duplicated a feature of Apple's build of python: setting the environment variable 'ARCHFLAGS' controls the '-arch' flags used for building extensions using distutils.
* Patch #2167 from calvin: Remove unused importsChristian Heimes2008-02-231-1/+0
|
* Correct None refcount issue in Mac modules. (Are theyGeorg Brandl2006-05-282-2/+2
| | | | still used?)
* Updated (and regenerated) for name change in tp_init method arguments:Jack Jansen2005-07-031-116/+117
| | | | they are now _self, _args and _kwds.
* Whitespace normalization, via reindent.py.Tim Peters2004-07-182-240/+240
|
* Got rid of macglue.h, replacing it by pymactoolbox.h where relevant.Jack Jansen2003-11-201-5/+0
| | | | Cleaned up various things in the toolbox modules.
* Getting rid of WITHOUT_FRAMEWORKS and ACCESSOR_CALLS_ARE_FUNCTIONS:Jack Jansen2003-11-192-8/+0
| | | | MacOS9isms.
* StdFilterProc() uses InOut parameters.Jack Jansen2003-02-272-5/+14
|
* - Various tweaks to shut up compiler warnings.Jack Jansen2002-12-231-1/+2
| | | | | - Regenerated with the correct calls to PyType_Ready and the correct deallocator calls.
* Regenerated with inheritance-aware xxxx_Check() macros.Jack Jansen2002-12-191-1/+1
|
* Get rid of support for Universal Headers older than 3.4 and various otherJack Jansen2002-12-132-14/+0
| | | | outdated things.
* Getting rid of pre-Carbon (MacOS8) support. All code depending onJack Jansen2002-12-122-28/+0
| | | | | | TARGET_API_MAC_OS8 (or !TARGET_API_MAC_CARBON) is gone. Also some TARGET_API_MAC_OSX conditional code is gone, because it is no longer used on OSX-only Python (only in MacPython-OS9).
* Added PEP253 support to most Carbon modules. This isn't complete yet:Jack Jansen2002-12-032-14/+43
| | | | | | 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-292-11/+21
| | | | | | | | | | | | | | | | 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.
* Regenerated with PyDoc_STR() around docstrings.Jack Jansen2002-08-161-57/+57
|
* After generating the Python file with definitions try to run it, soJack Jansen2002-08-151-0/+2
| | | | we catch errors during the build process in stead of later during runtime.
* Enable building of Carbon toolbox modules with unix-Python.Jack Jansen2002-08-051-2/+1
|
* Regenerated.Jack Jansen2002-04-231-1/+1
|
* Updated to Universal Headers 3.4Jack Jansen2001-12-181-0/+4
|
* Adapted for Universal Headers 3.4Jack Jansen2001-12-163-19/+8
|
* Quick patch to allow building with Universal Headers 3.4.Jack Jansen2001-12-141-21/+0
|
* Patch supplied by Burton Radons for his own SF bug #487390: ModifyingGuido van Rossum2001-12-081-1/+1
| | | | | | | | | | | | | type.__module__ behavior. This adds the module name and a dot in front of the type name in every type object initializer, except for built-in types (and those that already had this). Note that it touches lots of Mac modules -- I have no way to test these but the changes look right. Apologies if they're not. This also touches the weakref docs, which contains a sample type object initializer. It also touches the mmap test output, because the mmap type's repr is included in that output. It touches object.h to put the correct description in a comment.
* Merged changes made on r22b2-branch between r22b2 and r22b2-mac (theJack Jansen2001-11-302-7/+192
| | | | changes from start of branch upto r22b2 were already merged, of course).
* First tweaks to allow MacPython to be compiled withJack Jansen2001-11-053-20/+3
| | | | Universal Headers 3.4
* Shut up many more gcc warnings.Jack Jansen2001-09-051-0/+4
|
* Regenerated without default int return types.Jack Jansen2001-09-041-1/+1
|
* Renamed.Jack Jansen2001-08-231-1426/+0
|
* Renamed the Mac toolbox modules to have an initial _ in their name.Jack Jansen2001-08-231-0/+1434
|
* 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-222-213/+89
| | | | 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-172-2/+32
| | | | | | 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-202-12/+20
| | | | 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-062-11/+107
| | | | dialogs.
* Adapted to Universal Headers 3.3.2. More to follow.Jack Jansen2000-12-103-10/+208
|
* Added routine DlgObj_ConvertToWindow().Jack Jansen2000-08-253-2/+43
| | | | | 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-142-8/+0
|
* Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.Jack Jansen2000-07-143-4/+4
|
* pymactoolbox.h contains protoypes for all externally visible toolbox moduleJack Jansen2000-07-142-43/+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-072-3/+3
| | | | specifier, now that h is signed-only.
* Made the core toolbox modules carbon-compatible using the new greylist ↵Jack Jansen2000-06-023-7/+20
| | | | | | 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-123-5/+132
|
* Replaced fprintf(stderr,...) with PySys_WriteStderr(...) where appropriate.Jack Jansen1998-10-122-4/+4
|
* Added a function SetUserItemHandler: this takes a function(dialog,Jack Jansen1998-07-102-0/+110
| | | | | | 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-212-6/+11
|
* Replaced addpack by handcrafted code to find the bgen stuff.Jack Jansen1998-04-172-5/+4
|
* Regenerated from Universal Headers 3.0.1. Some new calls areJack Jansen1998-02-203-183/+323
| | | | | | 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-232-0/+93
|
* RegeneratedJack Jansen1996-08-021-3/+0
|