Commit Graph

464 Commits

Author SHA1 Message Date
Jack Jansen
60087fb450 Moved most of Mac/Lib hierarchy to Lib/plat-mac: it can be used both
in MacPython-OS9 and MacPython-OSX (or the equivalent unix Python on
Mac OS X). The only items remaining in Mac/Lib are modules that are
meaningful only for MacPython-OS9 (CFM stuff, MacPython preferences
in resources, etc).
2002-12-30 22:04:23 +00:00
Jack Jansen
36e142e1e6 This file hasn't been committed for a long time, because it erronuously ended
up in the Carbon package.
2002-12-30 20:20:58 +00:00
Jack Jansen
9911fc4a41 Long-obsolete, replaced by Carbon.Sound. 2002-12-30 20:18:57 +00:00
Jack Jansen
6dd561bdfd Integrated macfsn into macfs, and made the Standard File calls return the
correct FSSpec implementations.
2002-12-26 21:09:39 +00:00
Jack Jansen
315e9bebcd Return the macfs variation for FSSpec and Alias, not the underlying
Carbon.File version, so the old method names work.
2002-12-26 20:46:54 +00:00
Jack Jansen
e77f58a2be Fixed typo. 2002-12-24 13:09:28 +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
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
b4289b5771 This now contains constants from Files.h, Aliases.h and Finder.h. 2002-12-17 22:21:57 +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
b2ef47b84e More pre-carbon stuff bites the dust. 2002-12-13 22:55:09 +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
Just van Rossum
24884f76c6 Forgot to do os.path.basename() on mainprogram: a nonworking app was built if the mainprogram wan't in the current directory. Fixed. 2002-11-29 21:22:33 +00:00
Just van Rossum
535ffa26e6 added Thomas H's LOADER code for importing extension (sub)modules; little tweaks 2002-11-29 20:06:52 +00:00
Just van Rossum
ad692ccde1 fixed typo and wrapping 2002-11-28 18:56:50 +00:00
Just van Rossum
74bdca8a20 - Rewrote bootstapping code in sh so we're really independent of an
installed Python. So we don't use os.execve any longer, which means
we need an actual executable in <myapp>.app/Contents/MacOS. For applets
we make a symlink to the Python executable used to build the applet,
for standalone apps we simply copy it.
- Added support for the new any_missing_maybe() feature of modulefinder.py,
which is pending as patch #643711. Its use is optional so it still works
with the existing version of modulefinder.py
2002-11-28 11:30:56 +00:00
Just van Rossum
cef3288247 added support for building standalone applications
- requires modulefinder.py to be on sys.path
- does *not* work for Python.framework (yet), only for static builds
2002-11-26 00:34:52 +00:00
Just van Rossum
e6b49025c1 get creator code from plist if available, instead of overriding with default 2002-11-24 01:23:45 +00:00
Just van Rossum
b8829b49b2 whoops, -p actually has an argument 2002-11-24 01:15:20 +00:00
Just van Rossum
da302da912 cleaned up __init__ argument mess with a funky base class 2002-11-23 22:26:44 +00:00
Jack Jansen
d0e59fb68d Added the alias manager too. The interface isn't perfect yet: the alias
manager doesn't always have the alias as the first argument, so things
become functions in stead of methods.
2002-11-22 15:53:32 +00:00
Jack Jansen
e2ba87396c Got angry and added support for pretty much the whole file and folder
manager. This should allow us the get rid of most of the FSSpecs, only
navigation services remains to be done.
2002-11-22 14:58:35 +00:00
Just van Rossum
16aebf77c7 Added --link-exec option: make a symlink for the executable only, copy all other files. 2002-11-22 11:43:10 +00:00