Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Changed names, added bridge functions to macfs.fsref objects and | Jack Jansen | 2001-11-06 | 1 | -67/+48 |
| | | | | generally did things to get it working. | ||||
* | Added an error message when using FSRef objects on platforms that don't | Jack Jansen | 2001-11-06 | 1 | -0/+1 |
| | | | | support them. | ||||
* | Added hfsplusapi module. | Jack Jansen | 2001-11-06 | 1 | -0/+4 |
| | |||||
* | Removed unused variable. | Jack Jansen | 2001-11-06 | 1 | -1/+0 |
| | |||||
* | First couple of fixes to make it compile with Universal 3.3.2. | Jack Jansen | 2001-11-06 | 1 | -10/+21 |
| | |||||
* | HFS+ API contributed by Nitin Ganatra. This checkin is identical to what he ↵ | Jack Jansen | 2001-11-06 | 1 | -0/+1547 |
| | | | | sent me, except for the namechange (fmgr->hfsplus). | ||||
* | Correctly builds the C module now. | Jack Jansen | 2001-11-05 | 2 | -5/+1600 |
| | |||||
* | First tweaks to allow MacPython to be compiled with | Jack Jansen | 2001-11-05 | 5 | -22/+9 |
| | | | | Universal Headers 3.4 | ||||
* | Fixed broken newlines and changed module name. Still untested. | Jack Jansen | 2001-11-05 | 2 | -23/+18 |
| | |||||
* | Carbon Event Manager module donated by Donovan Preston. Checked in as I ↵ | Jack Jansen | 2001-11-05 | 2 | -0/+332 |
| | | | | received them (except for namechange), these will not work as-is, that'll be fixed in a later checkin. | ||||
* | Make the CoreFoundation object _New and _Convert routines available to other ↵ | Jack Jansen | 2001-11-05 | 2 | -38/+140 |
| | | | | modules. Idea by Donovan Preston, implementaion by me. | ||||
* | added acces to the cellSize field, rewrote setattr code | Just van Rossum | 2001-11-05 | 2 | -24/+32 |
| | |||||
* | More List Manager interfacing: | Just van Rossum | 2001-11-05 | 3 | -23/+363 |
| | | | | | | | - CreateCustomList(): write LDEF's in Python! (carbon + classic) - list.LGetCellDataLocation() (Jack: what's with this _WIN32/pywintoolbox.h stuff?) | ||||
* | Under MachO-Python unconditionally import macfsn. | Jack Jansen | 2001-11-01 | 1 | -0/+6 |
| | |||||
* | Moved macfsn hackery from macmain.c to macfsmodule.c so it loads | Just van Rossum | 2001-10-31 | 1 | -1/+32 |
| | | | | on demand instead of at startup. | ||||
* | Some escaped newlines had spaces between the backslash and the newline. Also ↵ | Jack Jansen | 2001-10-23 | 1 | -7/+4 |
| | | | | slightly changed the comment on xstat(). | ||||
* | SF patch #462296: Add attributes to os.stat results; by Nick Mathewson. | Guido van Rossum | 2001-10-18 | 1 | -36/+123 |
| | | | | | | | | | | | | | | | | | This is a big one, touching lots of files. Some of the platforms aren't tested yet. Briefly, this changes the return value of the os/posix functions stat(), fstat(), statvfs(), fstatvfs(), and the time functions localtime(), gmtime(), and strptime() from tuples into pseudo-sequences. When accessed as a sequence, they behave exactly as before. But they also have attributes like st_mtime or tm_year. The stat return value, moreover, has a few platform-specific attributes that are not available through the sequence interface (because everybody expects the sequence to have a fixed length, these couldn't be added there). If your platform's struct stat doesn't define st_blksize, st_blocks or st_rdev, they won't be accessible from Python either. (Still missing is a documentation update.) | ||||
* | Replaced PyMac_FullPath by PyMac_FullPathname, which has an extra 'length' | Jack Jansen | 2001-09-10 | 2 | -11/+16 |
| | | | | | | parameter for the return string (as unix pathnames are not limited by the 255 char pstring limit). Implemented the function for MachO-Python, where it returns unix pathnames. | ||||
* | A few more gcc warnings bite the dust. | Jack Jansen | 2001-09-05 | 5 | -11/+28 |
| | |||||
* | Shut up many more gcc warnings. | Jack Jansen | 2001-09-05 | 31 | -110/+186 |
| | |||||
* | Added prototypes to shut gcc -Wstrict-prototypes up. | Jack Jansen | 2001-09-04 | 1 | -4/+2 |
| | |||||
* | Shut up a few more gcc warnings. | Jack Jansen | 2001-09-04 | 2 | -2/+2 |
| | |||||
* | Added prototypes to silence gcc strict-prototype warnings. | Jack Jansen | 2001-09-04 | 2 | -141/+48 |
| | | | | Fixed a few missing return values. | ||||
* | Regenerated without default int return types. | Jack Jansen | 2001-09-04 | 17 | -33/+35 |
| | |||||
* | Silly typos. | Jack Jansen | 2001-09-02 | 1 | -2/+2 |
| | |||||
* | Don't call PyMac_HandleEvent in unix-Python | Jack Jansen | 2001-09-02 | 1 | -0/+2 |
| | |||||
* | Added glue routine for PyMac_BuildFSSpec, PyMac_GetFSRef and PyMac_BuildFSRef. | Jack Jansen | 2001-09-01 | 1 | -0/+9 |
| | | | | Moved the declarations to pymactoolbox.h. | ||||
* | Don't call PyMac_HandleEvent if we're in unix-Python. | Jack Jansen | 2001-09-01 | 2 | -0/+4 |
| | |||||
* | Include Carbon/Carbon.h if we're on OSX. | Jack Jansen | 2001-09-01 | 2 | -2/+2 |
| | |||||
* | exceptions was missing from the module list. Added. | Jack Jansen | 2001-08-27 | 1 | -0/+1 |
| | |||||
* | Last renamed module that wasn't removed yet. | Jack Jansen | 2001-08-24 | 1 | -1168/+0 |
| | |||||
* | Renamed. | Jack Jansen | 2001-08-23 | 22 | -40152/+0 |
| | |||||
* | Renamed the Mac toolbox modules to have an initial _ in their name. | Jack Jansen | 2001-08-23 | 23 | -0/+41479 |
| | |||||
* | The MacOS toolbox modules have acquired an _ in front of their name. Normal ↵ | Jack Jansen | 2001-08-23 | 23 | -90/+90 |
| | | | | usage is through a wrapper module (without underscore) which lives in the Carbon package. | ||||
* | test_glob found a nasty bug in GUSI opendir(): it will not fail when called ↵ | Jack Jansen | 2001-08-11 | 1 | -0/+18 |
| | | | | on files, but in stead open the parent directory! We now explicitly test for the argument being a directory and simulate ENOTDIR otherwise. | ||||
* | - Don't return mac-style pathnames in unix-Python. | Jack Jansen | 2001-08-08 | 2 | -168/+79 |
| | | | | | - Fixed up a lot more prototypes (gcc also wants them on static routines) - Fixed various other gcc warnings. | ||||
* | Got rid of 68k-Mac and other outdated ifdefs. | Jack Jansen | 2001-08-07 | 1 | -6/+0 |
| | |||||
* | Got rid of mactcp cruft, added Mlte and CF modules. | Jack Jansen | 2001-08-07 | 1 | -8/+6 |
| | |||||
* | Removed unused variable. | Jack Jansen | 2001-08-07 | 1 | -2/+0 |
| | |||||
* | Bit another bullet: all toolbox modules are now in dynamically loaded ↵ | Jack Jansen | 2001-08-07 | 1 | -2/+2 |
| | | | | modules. Everything still seems to work, but the ConfigurePythonXXX on initial install may still need work. | ||||
* | Oops, arg type for the glue routine was wrong. | Jack Jansen | 2001-08-06 | 1 | -1/+1 |
| | |||||
* | PyMac_GetFSSpec must be called via the dylib glue code on OSX. | Jack Jansen | 2001-08-03 | 1 | -1/+16 |
| | |||||
* | If we use frameworks we should include CoreServices/CoreServices.h, not the | Jack Jansen | 2001-08-03 | 2 | -2/+2 |
| | | | | old-style CoreFoundation.h. | ||||
* | TXNTSMCheck isn't available under Mach-O Carbon. | Jack Jansen | 2001-08-03 | 2 | -2/+10 |
| | |||||
* | Merging appropriate 2.1.1 fixes back into the main trunk. | Jack Jansen | 2001-08-03 | 3 | -3/+26 |
| | |||||
* | (Finally) converted to new-style args. | Jack Jansen | 2001-08-03 | 1 | -37/+136 |
| | | | | | | | Added an optional (and ignored) 3d parameter to open() to make the signature compatible with posixmodule. Added the various O_ constants (by stealing the code from posixmodule). test_fileinput now passes. | ||||
* | Used an adapted MethodGenerator to generate methods too for functions that ↵ | Jack Jansen | 2001-07-17 | 3 | -326/+300 |
| | | | | have the object as the second arg after a first CFAllocatorRef arg (which we pass as NULL always anyway). | ||||
* | The TNXDraw gworld argument is optional. | Jack Jansen | 2001-07-16 | 3 | -2/+35 |
| | |||||
* | Various small fixes. The demo now starts to limp along. | Jack Jansen | 2001-07-14 | 3 | -2/+36 |
| | |||||
* | Fixed the mis-guessed parameters and added support for a few optional ↵ | Jack Jansen | 2001-07-13 | 3 | -20/+143 |
| | | | | parameter types. There's a good chance that this is usable now (but there's no test code yet). |