summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/menu/menusupport.py
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace normalization, via reindent.py.Tim Peters2004-07-181-21/+21
|
* Getting rid of WITHOUT_FRAMEWORKS and ACCESSOR_CALLS_ARE_FUNCTIONS:Jack Jansen2003-11-191-15/+0
| | | | MacOS9isms.
* - Various tweaks to shut up compiler warnings.Jack Jansen2002-12-231-2/+0
| | | | | - Regenerated with the correct calls to PyType_Ready and the correct deallocator calls.
* 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.
* Moved CoreFoundation type support to bgen/macsupport.Jack Jansen2002-08-221-1/+0
|
* rectified copy/paste oversight in commentJust van Rossum2002-01-021-1/+2
|
* - Added support for optional MenuObj argumentsJust van Rossum2002-01-021-0/+23
| | | | | | | | - Added a bunch of calls as functions with an optional MenuObj first argument. The same calls already exist as methods, but then the first arg isn't optional... The method versions could go as far as I'm concerned. Jack?
* Adapted for Universal Headers 3.4Jack Jansen2001-12-161-0/+3
|
* 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).
* 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-3/+8
| | | | 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-0/+14
| | | | | | 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.
* Adapted to Universal Headers 3.3.2. More to follow.Jack Jansen2000-12-101-1/+18
|
* pymactoolbox.h contains protoypes for all externally visible toolbox moduleJack Jansen2000-07-141-2/+0
| | | | | functions. Include it in stead of duplicating the declarations everywhere. Also cleaned up toolbox module exports, and got rid of resNotFound error.
* Unified handle-conversion scheme toJack Jansen1999-12-231-0/+2
| | | | | | | 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 Ctl.as_Control and Menu.as_Menu methods, which take a resource asJack Jansen1999-02-071-0/+2
| | | | argument and return a Control or Menu object.
* Replaced addpack by handcrafted code to find the bgen stuff.Jack Jansen1998-04-171-3/+0
|
* - Changed GestaltEqu.h to Gestalt.hJack Jansen1997-02-241-1/+0
| | | | | | | | - Changed FragLoader.h to CodeFragments.h - Removed Desk.h - Regenerated bgen modules from new universal headers - Changed some of the s# in PyArg_ParseTuple to m# (unfortunately: this should have been a different commit)
* Trying again to check it in. Changes to:Jack Jansen1995-06-061-1/+4
| | | | | | - Use Universal Headers as input - Change addpack calls to not depend on Guido's disklayout - Checkge testprograms to use new names for some functions
* moved OpenDeskAcc hereGuido van Rossum1995-03-191-0/+7
|
* Committed a more or less working version.Guido van Rossum1995-01-301-0/+55