summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/menu
Commit message (Collapse)AuthorAgeFilesLines
* Run 2to3's print fixer over some places that had been missed.Collin Winter2007-08-301-3/+3
|
* Kill execfile(), use exec() insteadNeal Norwitz2007-08-122-3/+3
|
* Merged revisions 56483-56491 via svnmerge fromMartin v. Löwis2007-07-221-5/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/p3yk ........ r56486 | kurt.kaiser | 2007-07-22 05:27:08 +0200 (So, 22 Jul 2007) | 2 lines Fix typo introduced at r55797 ........ r56487 | kurt.kaiser | 2007-07-22 07:48:45 +0200 (So, 22 Jul 2007) | 2 lines Exception attr accessed via args in py3k. ........ r56489 | martin.v.loewis | 2007-07-22 15:32:44 +0200 (So, 22 Jul 2007) | 2 lines Regenerate. ........ r56490 | martin.v.loewis | 2007-07-22 15:34:06 +0200 (So, 22 Jul 2007) | 2 lines Port Mac modules to PEP 3123. ........ r56491 | martin.v.loewis | 2007-07-22 16:35:53 +0200 (So, 22 Jul 2007) | 1 line Port to PEP 3123. ........
* Updated (and regenerated) for name change in tp_init method arguments:Jack Jansen2005-07-031-19/+20
| | | | they are now _self, _args and _kwds.
* Whitespace normalization, via reindent.py.Tim Peters2004-07-183-101/+100
|
* Finished update to UH 3.4.2.Jack Jansen2003-12-061-14/+14
|
* 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-33/+3
| | | | MacOS9isms.
* - Various tweaks to shut up compiler warnings.Jack Jansen2002-12-232-5/+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
|
* Getting rid of pre-Carbon (MacOS8) support. All code depending onJack Jansen2002-12-123-762/+13
| | | | | | 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.
* Moved CoreFoundation type support to bgen/macsupport.Jack Jansen2002-08-221-1/+0
|
* Regenerated with PyDoc_STR() around docstrings.Jack Jansen2002-08-161-166/+166
|
* 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
|
* The output MenuRef of GetMenuItemHierarchicalMenu() may be NULL.Just van Rossum2002-01-032-1/+3
|
* rectified copy/paste oversight in commentJust van Rossum2002-01-022-2/+4
|
* - Added support for optional MenuObj argumentsJust van Rossum2002-01-023-0/+405
| | | | | | | | - 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?
* Updated to Universal Headers 3.4Jack Jansen2001-12-181-0/+4
|
* Adapted for Universal Headers 3.4Jack Jansen2001-12-163-104/+1017
|
* 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/+378
| | | | changes from start of branch upto r22b2 were already merged, of course).
* 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-2558/+0
|
* Renamed the Mac toolbox modules to have an initial _ in their name.Jack Jansen2001-08-231-0/+2566
|
* 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-391/+145
| | | | 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-0/+26
| | | | | | 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.
* Added generators for EnableMenuItem and CheckMenuItem (which have Mac in ↵Jack Jansen2001-01-292-0/+53
| | | | front of their name in the include files).
* Adapted to Universal Headers 3.3.2. More to follow.Jack Jansen2000-12-103-53/+888
|
* Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef.Jack Jansen2000-07-143-26/+26
|
* pymactoolbox.h contains protoypes for all externally visible toolbox moduleJack Jansen2000-07-142-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-9/+9
| | | | specifier, now that h is signed-only.
* Made the core toolbox modules carbon-compatible using the new greylist ↵Jack Jansen2000-06-023-0/+90
| | | | | | 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.
* Unified handle-conversion scheme toJack Jansen1999-12-233-13/+13
| | | | | | | 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.
* Regenerated with CW Pro 5.2, which has MacOS 8.6 and Appearance 1.1 support.Jack Jansen1999-12-122-258/+589
|
* Added Ctl.as_Control and Menu.as_Menu methods, which take a resource asJack Jansen1999-02-073-0/+26
| | | | argument and return a Control or Menu object.
* Grmpf, a lot more routines have gotten a "Mac" prefix for theirJack Jansen1998-04-243-0/+146
| | | | | | declaration, probably so the universal headers are useable on windows/unix too. Have to think of a more definite workaround later, for now we manually declare the old names in the *edit.py files.
* Re-generated from new (3.1) universal headersJack Jansen1998-04-212-22/+26
|
* Replaced addpack by handcrafted code to find the bgen stuff.Jack Jansen1998-04-172-5/+4
|
* Regerated: Style and StyleParameter are different beastsJack Jansen1998-02-251-2/+2
|
* Regenerated from Universal Headers 3.0.1. Some new calls areJack Jansen1998-02-201-226/+655
| | | | | | 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
|
* - Changed GestaltEqu.h to Gestalt.hJack Jansen1997-02-242-2/+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)
* RegeneratedJack Jansen1996-08-021-3/+0
|
* Removed ...gen.py files from repositoryJack Jansen1996-04-161-272/+0
|