Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Some buffers needed to be unsigned char, not char. | Jack Jansen | 2002-02-26 | 1 | -2/+2 |
| | |||||
* | Added as_pathname() method to FSRef objects. | Jack Jansen | 2002-01-18 | 1 | -1/+17 |
| | |||||
* | In MachoPython expect Unix-style pathnames for both FSSpec and FSRef ↵ | Jack Jansen | 2002-01-13 | 1 | -0/+10 |
| | | | | initializers. TBD: Do the reverse for MacPython, and also handle as_pathname(). | ||||
* | Added __members__ to FInfo object. | Just van Rossum | 2001-12-11 | 1 | -0/+2 |
| | |||||
* | Patch supplied by Burton Radons for his own SF bug #487390: Modifying | Guido van Rossum | 2001-12-08 | 1 | -4/+4 |
| | | | | | | | | | | | | | type.__module__ behavior. This adds the module name and a dot in front of the type name in every type object initializer, except for built-in types (and those that already had this). Note that it touches lots of Mac modules -- I have no way to test these but the changes look right. Apologies if they're not. This also touches the weakref docs, which contains a sample type object initializer. It also touches the mmap test output, because the mmap type's repr is included in that output. It touches object.h to put the correct description in a comment. | ||||
* | Replace sprintf() with PyOS_snprintf(). | Jack Jansen | 2001-12-05 | 1 | -1/+1 |
| | |||||
* | Added an error message when using FSRef objects on platforms that don't | Jack Jansen | 2001-11-06 | 1 | -0/+1 |
| | | | | support them. | ||||
* | 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. | ||||
* | Replaced PyMac_FullPath by PyMac_FullPathname, which has an extra 'length' | Jack Jansen | 2001-09-10 | 1 | -7/+8 |
| | | | | | | 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. | ||||
* | Silly typos. | Jack Jansen | 2001-09-02 | 1 | -2/+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 return mac-style pathnames in unix-Python. | Jack Jansen | 2001-08-08 | 1 | -130/+55 |
| | | | | | - Fixed up a lot more prototypes (gcc also wants them on static routines) - Fixed various other gcc warnings. | ||||
* | Removed unused variable. | Jack Jansen | 2001-08-07 | 1 | -2/+0 |
| | |||||
* | 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 |
| | |||||
* | Merging appropriate 2.1.1 fixes back into the main trunk. | Jack Jansen | 2001-08-03 | 1 | -1/+26 |
| | |||||
* | Implemented minimal FSRef support, plus conversion between FSRefs, FSSpecs ↵ | Jack Jansen | 2001-07-08 | 1 | -10/+274 |
| | | | | | | | | and pathnames where applicable. PyMac_GetFSSpec and PyMac_BuildFSSpec have moved to macfsmodule from macglue. These mods are untested on OSX. | ||||
* | Include Carbon/Carbon.h in stead of universal headers, if appropriate. | Jack Jansen | 2001-05-19 | 1 | -0/+4 |
| | | | | | Test for TARGET_API_MAC_OS8 in stead of !TARGET_API_MAC_CARBON where appropriate. | ||||
* | FindFolder argument is a short, not an unsigned short. | Jack Jansen | 2001-03-15 | 1 | -1/+1 |
| | |||||
* | Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef. | Jack Jansen | 2000-07-14 | 1 | -3/+3 |
| | |||||
* | pymactoolbox.h contains protoypes for all externally visible toolbox module | Jack Jansen | 2000-07-14 | 1 | -0/+2 |
| | | | | | functions. Include it in stead of duplicating the declarations everywhere. Also cleaned up toolbox module exports, and got rid of resNotFound error. | ||||
* | ANSIfication step 2: make sure all needed prototypes are available, and all ↵ | Jack Jansen | 2000-07-11 | 1 | -5/+6 |
| | | | | | | needed header files included. | ||||
* | Changed all (hopefully) uses of unsigned 16 bit value to use H format ↵ | Jack Jansen | 2000-07-07 | 1 | -1/+1 |
| | | | | specifier, now that h is signed-only. | ||||
* | Removed USE_STDWIN support. | Jack Jansen | 2000-06-04 | 1 | -4/+0 |
| | |||||
* | Made the core toolbox modules carbon-compatible using the new greylist ↵ | Jack Jansen | 2000-06-02 | 1 | -0/+4 |
| | | | | | | feature of bgen: non-carbon methods are still included in non-carbon MacPython. The issue of backward compatibility of Python code is still open. Macmodule and macosmodule have also been carbonified. Some functionality is still missing there. | ||||
* | Big oops: macfs has always been using a private exception but calling it ↵ | Jack Jansen | 2000-01-24 | 1 | -1/+1 |
| | | | | | | | mac.error. It now uses MacOS.Error (the OSErr valued error) and advertises that too. This fix shouldn't break anything, I guess. | ||||
* | New exception interface | Jack Jansen | 1997-10-07 | 1 | -5/+1 |
| | |||||
* | Export type objects to Python | Jack Jansen | 1997-09-20 | 1 | -1/+10 |
| | |||||
* | Added NewAliasMinimalFromFullPath(), and allow alias.Resolve() to return | Jack Jansen | 1997-06-16 | 1 | -1/+28 |
| | | | | an FSSpec to a non-existing file. | ||||
* | - Changed the m# format for PyArg_ParseTuple back to s# | Jack Jansen | 1997-05-07 | 1 | -2/+2 |
| | | | | - c2pstr has moved to a different include file | ||||
* | - Changed GestaltEqu.h to Gestalt.h | Jack Jansen | 1997-02-24 | 1 | -2/+2 |
| | | | | | | | | - Changed FragLoader.h to CodeFragments.h - Removed Desk.h - Regenerated bgen modules from new universal headers - Changed some of the s# in PyArg_ParseTuple to m# (unfortunately: this should have been a different commit) | ||||
* | Added/updated copyright notices | Jack Jansen | 1997-01-31 | 1 | -1/+1 |
| | | | | (and the &*^$%@ resource files got binhexed again, sigh) | ||||
* | Renamed | Jack Jansen | 1997-01-30 | 1 | -172/+171 |
| | |||||
* | Got rid of nfullpath() | Jack Jansen | 1996-11-09 | 1 | -2/+1 |
| | |||||
* | Added macfs.FindApplication() to find application FSSpec given signature. | Jack Jansen | 1996-09-20 | 1 | -0/+21 |
| | |||||
* | Added [GS]etDates methods to get and set creation, modification and | Jack Jansen | 1996-09-15 | 1 | -0/+88 |
| | | | | backup times. | ||||
* | Added SetFolder method which sets Standard File initial folder | Jack Jansen | 1996-07-22 | 1 | -0/+29 |
| | |||||
* | Removed unused variable | Jack Jansen | 1995-10-03 | 1 | -2/+0 |
| | |||||
* | Added new call PromptGetFile (like StandardGetFile, but accepts a | Jack Jansen | 1995-08-14 | 1 | -2/+29 |
| | | | | prompt) and added optional prompt to GetDirectory. | ||||
* | Added interfaces to {Get,Set}FInfo and accompanying objects | Jack Jansen | 1995-08-07 | 1 | -1/+174 |
| | |||||
* | Added FindFolder interface | Jack Jansen | 1995-06-18 | 1 | -0/+24 |
| | |||||
* | StandardGetFile without args now shows all files (in stead of none) | Jack Jansen | 1995-06-03 | 1 | -0/+2 |
| | |||||
* | replace %#s with portable solution | Guido van Rossum | 1995-02-20 | 1 | -13/+14 |
| | |||||
* | Added GetDirectory() method | Jack Jansen | 1995-02-20 | 1 | -1/+16 |
| | |||||
* | ported to Think C | Guido van Rossum | 1995-02-14 | 1 | -0/+1 |
| | |||||
* | Added RawFSSpec and RawAlias methods which turn their string arguments | Jack Jansen | 1995-02-13 | 1 | -0/+53 |
| | | | | into fsspec and alias objects. | ||||
* | Added [GS]etCreatorType methods to FSSpec objects | Jack Jansen | 1995-02-02 | 1 | -0/+49 |
| | |||||
* | fixed StandardGetFile argument handling | Guido van Rossum | 1995-01-30 | 1 | -11/+4 |
| | |||||
* | added (method) casts and 1995 copyright | Guido van Rossum | 1995-01-26 | 1 | -9/+12 |
| |