38 Commits

Author SHA1 Message Date
Jack Jansen
aa943f6d0a Temporarily disabled FSRef support for non-Carbon builds. Not the correct test, as it is an OS8 vs. OS9 issue, but it will have to do for now. 2001-07-26 21:09:57 +00:00
cvs2svn
1a2d894b13 This commit was manufactured by cvs2svn to create branch
'release21-maint'.
2001-07-11 12:15:15 +00:00
cvs2svn
a839747eb3 This commit was manufactured by cvs2svn to create branch
'release21-maint'.
2001-04-17 15:19:29 +00:00
Jack Jansen
abd703d0ce FindFolder argument is a short, not an unsigned short. 2001-03-15 14:38:10 +00:00
Jack Jansen
74a1e63a89 Test for TARGET_API_MAC_CARBON with #if in stead of #ifdef. 2000-07-14 22:37:27 +00:00
Jack Jansen
9d8b96c850 pymactoolbox.h contains protoypes for all externally visible toolbox module
functions. Include it in stead of duplicating the declarations everywhere. Also
cleaned up toolbox module exports, and got rid of resNotFound error.
2000-07-14 22:16:45 +00:00
Jack Jansen
9ae898b415 ANSIfication step 2: make sure all needed prototypes are available, and all needed
header files included.
2000-07-11 21:16:03 +00:00
Jack Jansen
0b13e7c153 Changed all (hopefully) uses of unsigned 16 bit value to use H format specifier, now that h is signed-only. 2000-07-07 13:09:35 +00:00
Jack Jansen
d4d24cd96b Removed USE_STDWIN support. 2000-06-04 22:02:02 +00:00
Jack Jansen
e79dc76f53 Made the core toolbox modules carbon-compatible using the new greylist 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.
2000-06-02 21:35:07 +00:00
Jack Jansen
4377a1a2c5 Big oops: macfs has always been using a private exception but calling it mac.error.
It now uses MacOS.Error (the OSErr valued error) and advertises that too. This
fix shouldn't break anything, I guess.
2000-01-24 10:37:59 +00:00
Jack Jansen
55e3927f58 New exception interface 1997-10-07 21:47:25 +00:00
Jack Jansen
a755e68df6 Export type objects to Python 1997-09-20 17:40:22 +00:00
Jack Jansen
d993648ef6 Added NewAliasMinimalFromFullPath(), and allow alias.Resolve() to return
an FSSpec to a non-existing file.
1997-06-16 14:31:38 +00:00
Jack Jansen
eeccca9bdc - Changed the m# format for PyArg_ParseTuple back to s#
- c2pstr has moved to a different include file
1997-05-07 15:46:31 +00:00
Jack Jansen
4a8c54e6d9 - Changed GestaltEqu.h to Gestalt.h
- 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)
1997-02-24 13:56:59 +00:00
Jack Jansen
42218ce33c Added/updated copyright notices
(and the &*^$%@ resource files got binhexed again, sigh)
1997-01-31 16:15:11 +00:00
Jack Jansen
f5c20575cb Renamed 1997-01-30 15:48:07 +00:00
Jack Jansen
84fb1fab1f Got rid of nfullpath() 1996-11-09 18:46:57 +00:00
Jack Jansen
924ca855da Added macfs.FindApplication() to find application FSSpec given signature. 1996-09-20 15:25:16 +00:00
Jack Jansen
0bdf979af7 Added [GS]etDates methods to get and set creation, modification and
backup times.
1996-09-15 22:11:25 +00:00
Jack Jansen
d99d283383 Added SetFolder method which sets Standard File initial folder 1996-07-22 15:26:01 +00:00
Jack Jansen
8ccfc93c2f Removed unused variable 1995-10-03 14:39:44 +00:00
Jack Jansen
d5d5f462f9 Added new call PromptGetFile (like StandardGetFile, but accepts a
prompt) and added optional prompt to GetDirectory.
1995-08-14 12:22:56 +00:00
Jack Jansen
3d18593e6d Added interfaces to {Get,Set}FInfo and accompanying objects 1995-08-07 14:04:10 +00:00