Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Second-argument alias methods were generated with a variation on | Jack Jansen | 2002-12-26 | 2 | -53/+53 |
| | | | | MethodGenerator, this should be OSErrMethodGenerator. | ||||
* | If you entered a pathname for a nonexisting file to a FSSpec constructor | Jack Jansen | 2002-12-25 | 2 | -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 Jansen | 2002-12-24 | 1 | -2/+4 |
| | |||||
* | - Various tweaks to shut up compiler warnings. | Jack Jansen | 2002-12-23 | 27 | -86/+157 |
| | | | | | - Regenerated with the correct calls to PyType_Ready and the correct deallocator calls. | ||||
* | - Various tweaks to forestall compiler warnings. | Jack Jansen | 2002-12-23 | 2 | -16/+30 |
| | |||||
* | The extension module macfs has been replaced by a pure Python version. | Jack Jansen | 2002-12-19 | 1 | -1192/+0 |
| | |||||
* | Added the last missing bits of functionality, and fixed a nasty bug where we | Jack Jansen | 2002-12-19 | 2 | -129/+385 |
| | | | | could overwrite memory. | ||||
* | Regenerated with inheritance-aware xxxx_Check() macros. | Jack Jansen | 2002-12-19 | 22 | -50/+50 |
| | |||||
* | - Added rawdata initializers | Jack Jansen | 2002-12-18 | 3 | -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 Jansen | 2002-12-17 | 2 | -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 finder | Jack Jansen | 2002-12-17 | 1 | -1/+2 |
| | | | | constants have tradiationally been in MACFS.py. | ||||
* | - Added as_pathname and as_tuple methods | Jack Jansen | 2002-12-17 | 2 | -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 reasonable | Jack Jansen | 2002-12-15 | 6 | -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 Jansen | 2002-12-13 | 3 | -13/+31 |
| | |||||
* | Removed: not carbon-compatible. | Jack Jansen | 2002-12-13 | 2 | -1155/+0 |
| | |||||
* | Get rid of support for Universal Headers older than 3.4 and various other | Jack Jansen | 2002-12-13 | 9 | -74/+6 |
| | | | | outdated things. | ||||
* | Getting rid of pre-Carbon (MacOS8) support. All code depending on | Jack Jansen | 2002-12-12 | 47 | -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 string | Jack Jansen | 2002-12-05 | 3 | -66/+129 |
| | | | | or no argument (giving an empty resource). | ||||
* | Added PEP253 support to most Carbon modules. This isn't complete yet: | Jack Jansen | 2002-12-03 | 43 | -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, with | Jack Jansen | 2002-11-29 | 48 | -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 some | Jack Jansen | 2002-11-22 | 1 | -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 alias | Jack Jansen | 2002-11-22 | 3 | -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 folder | Jack Jansen | 2002-11-22 | 6 | -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 compile | Jack Jansen | 2002-11-18 | 9 | -1/+25 |
| | | | | for Python 2.2. | ||||
* | Enable _AH module. | Jack Jansen | 2002-09-06 | 1 | -0/+2 |
| | |||||
* | Typecode for AHTOCType was wrong. Fixed. | Jack Jansen | 2002-08-30 | 2 | -2/+2 |
| | |||||
* | Revived the Carbon.Help module, but implementing the MacHelp API in stead | Jack Jansen | 2002-08-29 | 3 | -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 Jansen | 2002-08-22 | 3 | -0/+255 |
| | |||||
* | Moved CoreFoundation type support to bgen/macsupport. | Jack Jansen | 2002-08-22 | 6 | -70/+64 |
| | |||||
* | Added PyDoc_STR's. | Jack Jansen | 2002-08-22 | 1 | -112/+112 |
| | |||||
* | Regenerated with PyDoc_STR() around docstrings. | Jack Jansen | 2002-08-16 | 23 | -2151/+2151 |
| | |||||
* | Fixed the bugs in the constant definitions, and in the code to test | Jack Jansen | 2002-08-15 | 4 | -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, so | Jack Jansen | 2002-08-15 | 27 | -0/+54 |
| | | | | we catch errors during the build process in stead of later during runtime. | ||||
* | This file should have gone long ago. | Jack Jansen | 2002-08-09 | 1 | -18/+0 |
| | |||||
* | Patch #567296 by Pim Buurman, slightly modified by me so it can be disabled | Jack Jansen | 2002-08-06 | 1 | -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 Jansen | 2002-08-05 | 2 | -5/+6 |
| | |||||
* | Enable building of Carbon toolbox modules with unix-Python. | Jack Jansen | 2002-08-05 | 26 | -58/+26 |
| | |||||
* | Got rid of staticforward. | Jack Jansen | 2002-08-05 | 4 | -11/+11 |
| | |||||
* | Added _IBCarbon module. | Jack Jansen | 2002-08-05 | 1 | -0/+2 |
| | |||||
* | Updated to something that works on my system, and regenerated module. | Jack Jansen | 2002-08-04 | 2 | -12/+7 |
| | |||||
* | Donovan Preston's interface to IBCarbon, allowing you to use Interface | Jack Jansen | 2002-08-04 | 3 | -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 Hylton | 2002-07-17 | 13 | -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_GC | Jack Jansen | 2002-07-07 | 1 | -4/+0 |
| | | | | | - Cleaned up Python banner string, so the normal build for MacPython 2.3 will have a short banner. | ||||
* | - Got rid of newmodule.c | Jack Jansen | 2002-06-20 | 1 | -2/+0 |
| | | | | - These are the final projects that support classic. | ||||
* | fixed refcount leak in CreateNewWindow() and CreateWindowFromResource(). | Just van Rossum | 2002-06-05 | 2 | -2/+9 |
| | |||||
* | Replaced lots of PyMem_DEL() calls with PyObject_DEL(). | Jack Jansen | 2002-05-22 | 9 | -16/+16 |
| | |||||
* | Added typechecking to the individual python->CF converters, so we can use ↵ | Jack Jansen | 2002-05-13 | 1 | -2/+16 |
| | | | | them in the CF object initializers safely. | ||||
* | Added CFPreferences support. Added these as functions, not methods, which ↵ | Jack Jansen | 2002-05-13 | 3 | -3/+372 |
| | | | | seemed counter-intuitive. | ||||
* | - Better exception when a NULL CF object is encountered. | Jack Jansen | 2002-05-12 | 3 | -16/+168 |
| | | | | - Manually generate a routine with funny error semantics. | ||||
* | - Get data from CFData objects as Python strings and vv. | Jack Jansen | 2002-05-10 | 2 | -1/+34 |
| | | | | - Started on supporting CFPropertyLists. |