blob: ea8b797cd71823a467637c62dd7421983da70207 [file] [log] [blame]
Jack Jansen81507601995-10-03 14:40:35 +00001 Changes since 1.3beta3
2 ----------------------
Jack Jansen9bd2d971995-10-09 23:26:05 +00003- MkPluginAliases.py now works in a virgin distribution environment. It is
4 also distributed as an applet.
Jack Jansen81507601995-10-03 14:40:35 +00005- hexbin from binhex.py has been fixed
6- various bits and pieces in readme files clarified
7- mkapplet bug wrt owner resource (and, hence, trouble starting applets) fixed.
Jack Jansen9bd2d971995-10-09 23:26:05 +00008- Compiled with CodeWarrior 7.
9- AE client modules generated with gensuitemodule.py now use keyword args.
Jack Jansen81507601995-10-03 14:40:35 +000010
Jack Jansen61c32fe1995-08-31 13:56:36 +000011 Changes since Python 1.2 for the mac
12 ------------------------------------
Jack Jansen61c32fe1995-08-31 13:56:36 +000013- PPC python now uses a shared library organization. This allows the
Jack Jansen05249f96f1995-09-01 11:49:11 +000014 creation of dynamically loadable extension modules (contact me) and
15 creation of python applets (see mkapplet.py). A number of previously
Jack Jansen61c32fe1995-08-31 13:56:36 +000016 builtin modules are now dynamically loaded. Dynamically loaded
17 modules are distributed in the PlugIns folder.
Jack Jansen05249f96f1995-09-01 11:49:11 +000018- Python modules can live in 'PYC ' resources (with a name equal to the
19 module name, so many modules can live in a single file). If you put a
20 file (in stead of a folder) in sys.path its resources will be searched.
21 See the PackLibDir script for creating such a file.
22- new binhex module (partially working, hexbin has problems)
Jack Jansen61c32fe1995-08-31 13:56:36 +000023- Python now has a Preferences file, editable with
24 EditPythonPrefs. Remembered are the python 'home folder' and the
25 initial value for sys.path. If no preferences file is found a simple
26 one is created.
27 NOTE: this only works correctly if you start python the first time
28 from the correct folder.
29- new img modules, to read/write/convert images in various formats
30- new MacOS toolbox modules: AE, Ctl, Dlg, Event, List, Qd, Res, Snd
31 and Win. These provide access to various of the MacOS toolbox
32 interfaces. No documentation yet, but the __doc__ strings provide at
33 least the calling sequence (and Inside Mac will give you the
34 semantics). Minimal demos are provided for most toolbox interfaces,
35 and the 'scripts' directory has some more examples.
36- AppleEvent client interfaces can be generated from aete/aeut
37 resources. No support for objects yet, nor for server interfaces.
38- Lib:mac:FrameWork.py has an application framework (under
39 construction).
40- (PPC Only) support for building Python applets: tiny standalone
41 python applications.
42- fp = open(filename, '*r') opens resource-fork of a file for reading
43 (and similar for writing).
44- option-dragging a file to the interpreter (or immedeately pressing
45 <option> after launching python) will bring up an Options dialog
46 allowing you to set options like import-tracing, etc.
47- MacOS module method added: GetErrorString(OSErr) -> error string
48- There is now a numbering convention for resource-ID's:
49 128-255 Resources used by the interpreter itself
50 256-511 Resources used by standard modules
51 512- Resources for applications
52- macfs module changes:
53 - StandardGetFile without type arguments now shows all files
54 - PromptGetFile(prompt, ...) is like StandardGetFile but with a
55 prompt
56 - GetDirectory (let user select a folder) added
57 - GetFInfo and SetFInfo methods of FSSpec objects get/set finder
58 info. FInfo objects have attributes Creator, Type, etc.
59 - FindFolder (locate trash/preferences/etc) added
60- mactcp/macdnr changes: bug fix wrt idle-loop.
61- EditPythonPrefs script: change initial sys.path and python home
62 folder
63- (PPC only) MkPluginAliases: Setup aliases for dynamically loadable
64 modules that live in a single shared library
65- PackLibDir: Convert Lib directory to a single resource file
66 containing all .pyc code
67- fixfiletypes: Set file types based on file extension over a whole
68 tree.
69- RunLibScript: Run any script as main program, optionally redirecting
70 stdin/stdout, supplying arguments, etc.
71- binhextree: Binhex all files in a tree, depending on the extension.
72- (PPC only) mkapplet: Create a python applet from a sourcefile and
73 (optional) resourcefile.
Jack Jansen9bd2d971995-10-09 23:26:05 +000074
75 Known problems
76 --------------
77
78- 68K python reacts rather violently to out-of-memory situations. In
79 stead of raising MemoryError it will crash, possibly bringing down the
80 whole system. This is being investigated.
81- The installation procedure is baroque. Ideas for improvement are welcome.
82- The full documentation should be ported to AppleGuide. This should be
83 a fairly simple automatic translation but I am not well-versed enough in
84 AppleGuide to do it. Any takers?
Jack Jansen61c32fe1995-08-31 13:56:36 +000085
Jack Jansen9bd2d971995-10-09 23:26:05 +000086
87 What will change shortly
88 ------------------------
89
90I am planning to do an intermediate release shortly (1.3.1??), mainly
91because Guido was so fast with 1.3 that I didn't have time to do some
92things I wanted. Expect the following changes shortly (note that some are
93incompatible):
94- CFM68K support,bringing applets and dynamic loading to the 68K macs.
95- Bgen-generated toolbox interfaces will go to a different place,
96 probably :Lib:mac:toolbox
97- Resource objects now often perform the role of a Handle object. This
98 will change with the introduction of a Handle object and some sort of
99 simulated inheritance.
100- AE suites generated with gensuitemodule will be restructured, whereby it
101 will be easier to override/extend standard suites. Also, server suites
102 will also be generated, and hopefully objects will be supported.
103- Event handling is currently rather messy, with python, SIOUX, stdwin and
104 the python application all fighting over the events. This will somehow
105 be changed.
106
107
108 Jack Jansen, jack@cwi.nl
109 10-Oct-95