blob: 896dc5741d4f0bdce8073ca3272d7417b532de20 [file] [log] [blame]
Jack Jansen86a853f1996-05-20 11:22:41 +00001 Changes between 1.3.3 and 1.3.2
2 --------------------------------
3
4A major change since 1.3.2 is in the organization of the files: The
5Mac folder has mac-specific demo programs, attempts at documentation and
6more. Browse the HTML files in Mac:Demo for more info.
7
8Also, Toolbox:bgen is not needed anymore for normal use: the relevant
9python modules have been moved to Mac:Lib:toolbox.
10
11Other changes:
12- Uses final Tk 4.1 and Tcl 7.5 distributions.
13- Override preferences (stored in the interpreter/applet application)
14 allow overriding of system-wide preferences. Explained in
15 "using.html".
16- New functionality in FrameWork.py:
17 - ScrolledWindow class
18 - enable(), settext(), setitem(), setmark(), seticon(),
19 checkmenu() and delete() methods for menu entries.
20 - event parameter added to idle() method
21 - windowbounds() function helps programmer with staggering windows.
22 - Erase only visRgn on an update event.
23- TextEdit interface module added
24- Waste interface module added
25- Demos for waste, including skeleton for html editor
26- Scrap manager interface added
27- Ctl.FindControl() could return reference to deleted object. Fixed.
28- GrafPorts have an _id attribute (address of grafport) allowing them
29 to be compared (since a new python object is created each time).
30- Standard File folder no longer changed on chdir() (this was
31 introduced in 1.3.2).
32- sys.argv can now be set if you option-drag or option-click a python
33 source.
34- Various dialogs now have sensible defaults.
35- binhextree is now a bit more intelligent about when to binhex.
36- gensuitemodule fixed to hand '****' type arguments.
37
38 Changes between 1.3.2 and 1.3.1
39 -------------------------------
40
41The main reason for the 1.3.2 distribution is the availability of Tk
42for the mac. The Tk port and its integration in Python is definitely
43not bug-free, hence this distribution should be treated as beta
44software at best.
45
46Another major change in this release is that the Python I/O system is
47now based on the GUSI library. This is an I/O library that attempts to
48mimic a Posix I/O system. Hence, modules like socket and select are
49now available in MacPython. If you build dynamically loaded modules
50and you use any unix-like feature such as stat() calls you should
51compile using the GUSI include files.
52
53A third major change is that the MacOS creator code has been changed
54from 'PYTH' to 'Pyth', due to a conflict. This means that you will
55have to change the creator of all your old python programs. The
56distribution contains a script "FixCreator.py" that does this
57recursively for a whole folder.
58
59Here are all the changes since 1.3.1, in no particular order:
60- complex number support added
61- cmath module added
62- startup options ("option-drag" dialog) can be retrieved from the
63 preferences file. EditPythonPrefs hasn't been updated yet, though.
64- Creator changed from PYTH to Pyth
65- {mac,os}.unlink is now also called {mac,os}.remove
66- {mac,os}.mkdir second arg optional
67- dup and fdopen calls added
68- select module added
69- socket module added
70- open(file, '*r') for opening resource forks has been removed. It is
71 replaced by MacOS.openrf(file, 'r'), which returns a simple
72 file-like object to read (or write) resource forks.
73- Added AppleEvent URL suite
74- Added AppleEvent netscape suite
75- QuickDraw globals are now all accessible, as Qd.qd.xxxx
76
77
78 Mac-specific changes between 1.3 and 1.3.1
79 --------------------------------------
80
81Aside from the changes mentioned here there have also been some
82changes in the core python, but these are not documented here.
83However, these changes are mainly bugfixes, so there shouldn't be any
84incompatabilities.
85
86- imgsgi and imgpbm modules added
87- Various hooks installed to allow integration with MacTk (currently
88 disabled)
89- Added support for MacOS Fixed type in toolbox arguments (represented
90 as floats in python)
91- Added option to keep output window open on normal termination
92- Decreased minimum heapsize to run interpreter
93- Added progress-bar to EasyDialogs
94- Fixed socket.getportname()
95- Renamed MACTCP.py to MACTCPconst.py
96
97- Many fixes to FrameWork.py:
98 - Added window.SetPort() method
99 - Added optional bounds and resid parameters to Window.open()
100 - Fixed apple-menu DA handling
101 - Fixed activate-event handling
102 - Added default Application.makeusermenus() (File:Quit only)
103 - Fixed bug with keyboard input handling
104 - added idle() method, called from event loop if there are no events
105 pending
106
107Toolbox modules:
108- component manager module added
109- quicktime module added
110- font manager module added
111- Added color window support
112- Added support to obtain pixmap from a window
113- Added BitMap type
114- Added GrafPort type
115- Added support for PenState, Patterns, FontInfo, RGB colors,
116- Fixed GetPen and SetPt arguments
117- Added read access to members of {C}GrafPort objects
118- Added support for cursors
119- Provide access to some QuickDraw globals
120- Fixed InsetRect, OffsetRect, MapRect
121- Added support for various handles such as PatHandle, CursHandle
122- Added functions to access members of Window objects
123
124
125