summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/ctl/_Ctlmodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Untabify C files. Will watch buildbots.Antoine Pitrou2010-05-091-4258/+4258
|
* Fix nearly all compilation warnings under Apple gcc-4.0. Tested with OPT="-gJeffrey Yasskin2009-05-291-1/+1
| | | | | | -Wall -Wstrict-prototypes -Werror" in both --with-pydebug mode and --without. There's still a batch of non-prototype warnings in Xlib.h that I don't know how to fix.
* MacOS X: Enable 4-way universal buildsRonald Oussoren2008-06-051-3/+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.
* Updated (and regenerated) for name change in tp_init method arguments:Jack Jansen2005-07-031-275/+276
| | | | they are now _self, _args and _kwds.
* Ported to Universal Headers 3.4.2. Qd and Qt remain to be done.Jack Jansen2003-12-031-64/+64
| | | | Completely untested.
* 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 code conditional on TARGET_API_MAC_*.Jack Jansen2003-11-191-48/+0
|
* Getting rid of WITHOUT_FRAMEWORKS and ACCESSOR_CALLS_ARE_FUNCTIONS:Jack Jansen2003-11-191-8/+3
| | | | MacOS9isms.
* - 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
|
* Getting rid of pre-Carbon (MacOS8) support. All code depending onJack Jansen2002-12-121-891/+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-031-13/+42
| | | | | | 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-10/+20
| | | | | | | | | | | | | | | | 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-226/+226
|
* staticforward bites the dust.Jeremy Hylton2002-07-171-4/+4
| | | | | | | | | | | | | | | The staticforward define was needed to support certain broken C compilers (notably SCO ODT 3.0, perhaps early AIX as well) botched the static keyword when it was used with a forward declaration of a static initialized structure. Standard C allows the forward declaration with static, and we've decided to stop catering to broken C compilers. (In fact, we expect that the compilers are all fixed eight years later.) I'm leaving staticforward and statichere defined in object.h as static. This is only for backwards compatibility with C extensions that might still use it. XXX I haven't updated the documentation.
* Regenerated.Jack Jansen2002-04-231-1/+1
|
* - added support for UserPaneKeyDownProc and UserPaneFocusProcJust van Rossum2002-01-041-2/+48
| | | | - clear error after failing PyArg_Parse()
* Oops, forgot to mark CreateScrollBarControl and CreateSliderControlJust van Rossum2001-12-311-0/+12
| | | | as Carbon-only
* - added support for ControlActionProcs, exposing the following calls:Just van Rossum2001-12-301-3/+139
| | | | | | | - ctl.SetControlAction() - CreateScrollBarControl() - CreateSliderControl() - print traceback when callbacks fail
* Moved a bunch of routines from "blacklisted" to "graylisted", as they _are_Just van Rossum2001-12-181-0/+251
| | | | available in OSX (mach-o) but not in CarbonLib (neither on OSX or OS9).
* Updated to Universal Headers 3.4Jack Jansen2001-12-181-0/+4
|
* Added missing docstringJust van Rossum2001-12-181-1/+1
|
* Added support for tab controls and initial (incomplete) supportJust van Rossum2001-12-181-2/+394
| | | | for DataBrowser controls.
* Many of the new calls are Carbon-only. Flagged them as such.Jack Jansen2001-12-141-0/+564
|
* - "manage" controls created by CreateXxxXxxControl() functions.Just van Rossum2001-12-131-48/+48
| | | | - FindControlUnderMouse() returns an existing control, not a new one.
* Shut up gcc warning.Jack Jansen2001-12-121-2/+2
|
* Updated for Universal Headers 3.4.Just van Rossum2001-12-121-2/+2307
|
* 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-301-5/+307
| | | | changes from start of branch upto r22b2 were already merged, of course).
* Shut up many more gcc warnings.Jack Jansen2001-09-051-3/+9
|
* Regenerated without default int return types.Jack Jansen2001-09-041-1/+1
|
* Renamed the Mac toolbox modules to have an initial _ in their name.Jack Jansen2001-08-231-0/+2694