Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added itertools module. | Jack Jansen | 2003-02-05 | 1 | -0/+2 |
| | |||||
* | Changed an edit instruction because of a changed parameter name (sigh). | Jack Jansen | 2003-02-04 | 2 | -7/+10 |
| | |||||
* | The FSAliasFile routines also have an in/out parameter. | Jack Jansen | 2003-02-02 | 2 | -4/+9 |
| | |||||
* | Added a missing INCREF in pathname(). | Jack Jansen | 2003-01-28 | 2 | -2/+6 |
| | |||||
* | FSRef and EasyDialogs pathname support was pretty much broken in ↵ | Jack Jansen | 2003-01-26 | 2 | -2/+52 |
| | | | | MacPython-OS9. Fixed. | ||||
* | Added a convenience routine pathname() which accepts either a string, unicode, | Jack Jansen | 2003-01-19 | 2 | -3/+37 |
| | | | | FSSpec or FSRef object and returns an 8-bit pathname (utf8 encoded). | ||||
* | Fixed the first two bugs in the new file dialogs (found by Just): | Jack Jansen | 2003-01-17 | 1 | -10/+11 |
| | | | | | - AskFileForSave didn't work for string return values - filterProc didn't work. | ||||
* | It turns out that some calls return AEDesc records that are "borrowed", | Jack Jansen | 2003-01-17 | 2 | -3/+69 |
| | | | | | | | the AEDesc data shouldn't be disposed when the Python object is. Added a C call AEDesc_NewBorrowed() to create these objects and a Python method old=AEDesc.AutoDispose(onoff) to change auto-dispose state. | ||||
* | For reasons unknown previewProc and filterProc were disabled. Enabled them. | Jack Jansen | 2003-01-17 | 1 | -4/+2 |
| | |||||
* | Implemented FSCatalogInfo structure support, and used this to implement | Jack Jansen | 2003-01-15 | 2 | -12/+2 |
| | | | | FSSpec.SetDates() and GetDates(). Closes #662836. | ||||
* | Implemented FSCatalogInfo. | Jack Jansen | 2003-01-12 | 3 | -27/+705 |
| | |||||
* | Started on implementing support for FSCatalogInfo. Doesn't work yet, don't | Jack Jansen | 2003-01-09 | 2 | -2/+60 |
| | | | | try it. | ||||
* | Merging the various tweaks for MacPython-OS9 2.3a1 back into the trunk. | Jack Jansen | 2003-01-08 | 1 | -3/+8 |
| | |||||
* | Added zipimport and _random module. | Jack Jansen | 2002-12-30 | 1 | -0/+4 |
| | |||||
* | 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 |
| |