summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Second-argument alias methods were generated with a variation onJack Jansen2002-12-262-53/+53
| | | | MethodGenerator, this should be OSErrMethodGenerator.
* If you entered a pathname for a nonexisting file to a FSSpec constructorJack Jansen2002-12-252-0/+4
| | | | | on OSX then the actual error (file not found) was obscured by the error message that tried to be helpful about the allowed arguments. Fixed.
* Removed macfs, added File and Folder.Jack Jansen2002-12-241-2/+4
|
* - Various tweaks to shut up compiler warnings.Jack Jansen2002-12-2327-86/+157
| | | | | - Regenerated with the correct calls to PyType_Ready and the correct deallocator calls.
* - Various tweaks to forestall compiler warnings.Jack Jansen2002-12-232-16/+30
|
* The extension module macfs has been replaced by a pure Python version.Jack Jansen2002-12-191-1192/+0
|
* Added the last missing bits of functionality, and fixed a nasty bug where weJack Jansen2002-12-192-129/+385
| | | | could overwrite memory.
* Regenerated with inheritance-aware xxxx_Check() macros.Jack Jansen2002-12-1922-50/+50
|
* - Added rawdata initializersJack Jansen2002-12-183-124/+339
| | | | | - Added support for optional FSSpecs and FSRefs to the Alias routines. NewAlias and friends are still functions, though, not methods.
* Fixed silly typo.Jack Jansen2002-12-172-4/+9
| | | | Added comment (to myself) on what still needs to be done.
* Include Finder.h too in the list of header files to parse: the finderJack Jansen2002-12-171-1/+2
| | | | constants have tradiationally been in MACFS.py.
* - Added as_pathname and as_tuple methodsJack Jansen2002-12-172-19/+205
| | | | | | | - Added access to the "data" attribute - Fixed the FSRef tp_init routine to accept pathnames on OSX - Changed the FSSpec tp_repr to return something resembling what macfs returns.
* Combined alias and file into a single module. This is the only reasonableJack Jansen2002-12-156-1470/+1742
| | | | | | | way to get various alias creation routines as methods of FSSpec or FSRef objects (which is the logical thing, from a Python POV). Also started on the code that will contain all the macfs functionality, so macfs can becode a Python module, to be used mainly for backward compatibility.
* Tweaks to make this module OS9-compatible.Jack Jansen2002-12-133-13/+31
|
* Removed: not carbon-compatible.Jack Jansen2002-12-132-1155/+0
|
* Get rid of support for Universal Headers older than 3.4 and various otherJack Jansen2002-12-139-74/+6
| | | | outdated things.
* Getting rid of pre-Carbon (MacOS8) support. All code depending onJack Jansen2002-12-1247-4848/+94
| | | | | | 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).
* Fixed so the Res.Resource() accepts either another resource, a stringJack Jansen2002-12-053-66/+129
| | | | or no argument (giving an empty resource).
* Added PEP253 support to most Carbon modules. This isn't complete yet:Jack Jansen2002-12-0343-534/+1592
| | | | | | 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-2948-2507/+2447
| | | | | | | | | | | | | | | | 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.
* Allow access to the returned value(s) as FSRefs. Unfortunately for someJack Jansen2002-11-221-2/+38
| | | | | reason getting at saveFileName doesn't work, so it currently only really works for opening files for reading.
* Added the alias manager too. The interface isn't perfect yet: the aliasJack Jansen2002-11-223-0/+851
| | | | | manager doesn't always have the alias as the first argument, so things become functions in stead of methods.
* Got angry and added support for pretty much the whole file and folderJack Jansen2002-11-226-0/+2230
| | | | | manager. This should allow us the get rid of most of the FSSpecs, only navigation services remains to be done.
* Define PyDoc_STR if it isn't defined. This makes these modules compileJack Jansen2002-11-189-1/+25
| | | | for Python 2.2.
* Enable _AH module.Jack Jansen2002-09-061-0/+2
|
* Typecode for AHTOCType was wrong. Fixed.Jack Jansen2002-08-302-2/+2
|
* Revived the Carbon.Help module, but implementing the MacHelp API in steadJack Jansen2002-08-293-203/+90
| | | | | of the defunct Balloons API. Help tags are TBD, but at least this gives us access to the help menu.
* Interface to Apple Help Manager.Jack Jansen2002-08-223-0/+255
|
* Moved CoreFoundation type support to bgen/macsupport.Jack Jansen2002-08-226-70/+64
|
* Added PyDoc_STR's.Jack Jansen2002-08-221-112/+112
|
* Regenerated with PyDoc_STR() around docstrings.Jack Jansen2002-08-1623-2151/+2151
|
* Fixed the bugs in the constant definitions, and in the code to testJack Jansen2002-08-154-10/+14
| | | | | | them. The FutureWarnings are still there, until a way has been found to say "I know what I'm doing here when I say 0xff000000".
* After generating the Python file with definitions try to run it, soJack Jansen2002-08-1527-0/+54
| | | | we catch errors during the build process in stead of later during runtime.
* This file should have gone long ago.Jack Jansen2002-08-091-18/+0
|
* Patch #567296 by Pim Buurman, slightly modified by me so it can be disabledJack Jansen2002-08-061-2/+24
| | | | | | at compile time: use PBGetCatInfoSync() to get FInfo data in stead of GetFInfo. The latter doesn't work for folders. The former does, at least on OSX, and insofar the info makes sense for a folder.
* Fixed the last two bgen-based modules to be buildable on OSX.Jack Jansen2002-08-052-5/+6
|
* Enable building of Carbon toolbox modules with unix-Python.Jack Jansen2002-08-0526-58/+26
|
* Got rid of staticforward.Jack Jansen2002-08-054-11/+11
|
* Added _IBCarbon module.Jack Jansen2002-08-051-0/+2
|
* Updated to something that works on my system, and regenerated module.Jack Jansen2002-08-042-12/+7
|
* Donovan Preston's interface to IBCarbon, allowing you to use InterfaceJack Jansen2002-08-043-0/+342
| | | | | | | | Builder carbon NIB files from Python. As-is, I may need to twiddle a few things as he donated this long ago. Donovan is now one of the four people in the world who know how to drive bgen!
* staticforward bites the dust.Jeremy Hylton2002-07-1713-35/+35
| | | | | | | | | | | | | | | 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.
* - Got rid if WITH_CYCLE_GCJack Jansen2002-07-071-4/+0
| | | | | - Cleaned up Python banner string, so the normal build for MacPython 2.3 will have a short banner.
* - Got rid of newmodule.cJack Jansen2002-06-201-2/+0
| | | | - These are the final projects that support classic.
* fixed refcount leak in CreateNewWindow() and CreateWindowFromResource().Just van Rossum2002-06-052-2/+9
|
* Replaced lots of PyMem_DEL() calls with PyObject_DEL().Jack Jansen2002-05-229-16/+16
|
* Added typechecking to the individual python->CF converters, so we can use ↵Jack Jansen2002-05-131-2/+16
| | | | them in the CF object initializers safely.
* Added CFPreferences support. Added these as functions, not methods, which ↵Jack Jansen2002-05-133-3/+372
| | | | seemed counter-intuitive.
* - Better exception when a NULL CF object is encountered.Jack Jansen2002-05-123-16/+168
| | | | - Manually generate a routine with funny error semantics.
* - Get data from CFData objects as Python strings and vv.Jack Jansen2002-05-102-1/+34
| | | | - Started on supporting CFPropertyLists.