Commit graph

3195 commits

Author SHA1 Message Date
Jack Jansen
073ac9fd0e Added File and Folder, removed macfs. 2002-12-24 13:11:19 +00:00
Jack Jansen
e77f58a2be Fixed typo. 2002-12-24 13:09:28 +00:00
Jack Jansen
e072b876e0 Removed macfs, added File and Folder. 2002-12-24 13:08:52 +00:00
Jack Jansen
487197dd53 Updated for demise of macfs. 2002-12-24 13:07:58 +00:00
Jack Jansen
b734869f46 - Various tweaks to shut up compiler warnings.
- Regenerated with the correct calls to PyType_Ready and the correct
  deallocator calls.
2002-12-23 23:16:25 +00:00
Jack Jansen
234d074446 - Various tweaks to forestall compiler warnings. 2002-12-23 22:35:38 +00:00
Jack Jansen
ae3cb6cf29 Got rid of Mac/Relnotes, and started on mac-specific release notes in NEWS. 2002-12-23 11:25:49 +00:00
Jack Jansen
6810f92d4d The extension module macfs has been replaced by a pure Python version. 2002-12-19 23:27:58 +00:00
Jack Jansen
e87663306a Added the last missing bits of functionality, and fixed a nasty bug where we
could overwrite memory.
2002-12-19 23:26:58 +00:00
Jack Jansen
4235e71acc A replacement for the macfs extension module, implemented with normal
(generated) Carbon module functionality.

Not 100% complete yet, but at least the IDE doesn't crash on startup.
2002-12-19 23:26:07 +00:00
Jack Jansen
4f0e05f738 Gone: the constants have been moved to macfs.py (which, upon import, also
poses as MACFS for backward compatibility).
2002-12-19 23:24:37 +00:00
Jack Jansen
f955784f0c Regenerated with inheritance-aware xxxx_Check() macros. 2002-12-19 21:24:35 +00:00
Jack Jansen
543c9253cd - Added rawdata initializers
- Added support for optional FSSpecs and FSRefs to the Alias routines.
  NewAlias and friends are still functions, though, not methods.
2002-12-18 23:17:26 +00:00
Jack Jansen
1795f29b4b Fixed silly typo.
Added comment (to myself) on what still needs to be done.
2002-12-17 23:29:27 +00:00
Jack Jansen
58fc91f947 This module will shortly replace the builtin module macfs. It is not
complete yet, but it should work. It will be finished (and renamed)
shortly.
2002-12-17 23:28:24 +00:00
Jack Jansen
ae63756bf8 Include Finder.h too in the list of header files to parse: the finder
constants have tradiationally been in MACFS.py.
2002-12-17 22:22:57 +00:00
Jack Jansen
b4289b5771 This now contains constants from Files.h, Aliases.h and Finder.h. 2002-12-17 22:21:57 +00:00
Jack Jansen
e55beefed8 - Added as_pathname and as_tuple methods
- 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.
2002-12-17 22:10:46 +00:00
Jack Jansen
e3a1c8f875 Combined alias and file into a single module. This is the only reasonable
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.
2002-12-15 19:55:07 +00:00
Jack Jansen
3c05c1f01e Got rid of outdated defines. 2002-12-14 00:05:00 +00:00
Jack Jansen
9c17b11a67 Removed errors.rsrc: this is loaded dynamically from :Mac:Lib when needed. 2002-12-14 00:02:34 +00:00
Jack Jansen
9e7da62eab Removed: this is loaded dynamically from :Mac:Lib when needed. 2002-12-14 00:01:47 +00:00
Jack Jansen
1562537cd7 Got rid of EasyDialogs dialogs, which are now in :Mac:Lib:dialogs.rsrc. 2002-12-13 23:53:10 +00:00
Jack Jansen
2519cc8eac Got rid of interpreter-internal dialogs.
Tweaked GetArgv() dialog to look better on OSX.
2002-12-13 23:52:19 +00:00
Jack Jansen
9ea729c624 Got rid of non-carbon stuff, and added new Alias, File and Folder modules. 2002-12-13 23:34:03 +00:00
Jack Jansen
805f1deb67 Tweaked button sizes and hid unused items. 2002-12-13 23:33:28 +00:00
Jack Jansen
19ac481a2c Sigh: the Jaguar workaround for the prefs file broke saving it on OS9. Temporary workaround is to ignore the exception (it's only about file creator/type anyway). 2002-12-13 23:32:51 +00:00
Jack Jansen
9937a04994 Tweaked some button sizes to make them look better on OSX. 2002-12-13 23:31:55 +00:00
Jack Jansen
6d802a0ce3 Tweaks to make this module OS9-compatible. 2002-12-13 23:16:00 +00:00
Jack Jansen
b2ef47b84e More pre-carbon stuff bites the dust. 2002-12-13 22:55:09 +00:00
Jack Jansen
b132a39399 Removed: not carbon-compatible. 2002-12-13 22:49:24 +00:00
Jack Jansen
3d87e3cdf7 The speech manager interface is no longer supported and a replacement is
(unfortunately: especially the grail demo was hiarious) still missing.
2002-12-13 15:25:26 +00:00
Jack Jansen
fcbe5e55f5 Outdated. 2002-12-13 15:18:04 +00:00
Jack Jansen
32f614b895 Got rid of unused Compat files. 2002-12-13 15:16:59 +00:00
Just van Rossum
feddf77ad2 another wrong assumption fixed 2002-12-13 15:14:22 +00:00
Jack Jansen
68c8138e89 Still used the old config file. Fixed. 2002-12-13 15:14:00 +00:00
Jack Jansen
04543deb6c Compatibility files that haven't been used in a long time. 2002-12-13 15:05:00 +00:00
Jack Jansen
65cbf93fce Get rid of support for Universal Headers older than 3.4 and various other
outdated things.
2002-12-13 15:02:02 +00:00
Jack Jansen
55309a31df Get rid of 2.2 "poor mans universal newlines" now that the real thing
is implemented.
2002-12-13 13:57:35 +00:00
Jack Jansen
8bf053fead It was an old MacPython artefact that these files were still in the source
tree. Removed them, anyone really desparate to recover them can get them
from the CVS repository.
2002-12-13 13:38:28 +00:00
Jack Jansen
bb3e4cb14b Tkinter isn't supported under Carbon. Under MacOSX native it is, but
that version doesn't need these workarounds.
2002-12-13 13:35:33 +00:00
Jack Jansen
5e13951ad7 Very outdated: this is a 68K support file. 2002-12-13 13:33:34 +00:00
Just van Rossum
71fd01c099 and now the real fix... 2002-12-13 11:07:20 +00:00
Just van Rossum
61fcf76294 fixed bool browsing bug, sf bug #652591 2002-12-13 10:58:10 +00:00
Jack Jansen
6c7e326eaa Getting rid of pre-Carbon (MacOS8) support. All code depending on
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).
2002-12-12 10:31:54 +00:00
Jack Jansen
5f61a05d7f Fixed so the Res.Resource() accepts either another resource, a string
or no argument (giving an empty resource).
2002-12-05 23:26:38 +00:00
Jack Jansen
96cebde909 Added PEP253 support to most Carbon modules. This isn't complete yet:
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).
2002-12-03 23:40:22 +00:00
Just van Rossum
927bc451c4 - reworked the object unpacking code, now supports new-style objects more
or less decently/completely.
- cleaned up a little.
2002-12-01 22:10:36 +00:00
Just van Rossum
888e100356 - found a case where sys.path[0] isn't set to Contents/Resources,
so search the entire path.
- only add modules if we're building a standalone application.
2002-11-30 19:56:14 +00:00
Jack Jansen
362c7cd07b Lots of minor tweaks for the pep252 checkins, mainly because Qd
attributes are no longer supported.
2002-11-30 00:01:29 +00:00