summaryrefslogtreecommitdiffstats
path: root/Mac/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Added itertools module.Jack Jansen2003-02-051-0/+2
|
* Changed an edit instruction because of a changed parameter name (sigh).Jack Jansen2003-02-042-7/+10
|
* The FSAliasFile routines also have an in/out parameter.Jack Jansen2003-02-022-4/+9
|
* Added a missing INCREF in pathname().Jack Jansen2003-01-282-2/+6
|
* FSRef and EasyDialogs pathname support was pretty much broken in ↵Jack Jansen2003-01-262-2/+52
| | | | MacPython-OS9. Fixed.
* Added a convenience routine pathname() which accepts either a string, unicode,Jack Jansen2003-01-192-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 Jansen2003-01-171-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 Jansen2003-01-172-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 Jansen2003-01-171-4/+2
|
* Implemented FSCatalogInfo structure support, and used this to implementJack Jansen2003-01-152-12/+2
| | | | FSSpec.SetDates() and GetDates(). Closes #662836.
* Implemented FSCatalogInfo.Jack Jansen2003-01-123-27/+705
|
* Started on implementing support for FSCatalogInfo. Doesn't work yet, don'tJack Jansen2003-01-092-2/+60
| | | | try it.
* Merging the various tweaks for MacPython-OS9 2.3a1 back into the trunk.Jack Jansen2003-01-081-3/+8
|
* Added zipimport and _random module.Jack Jansen2002-12-301-0/+4
|
* 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
|