blob: bb4d711e5d6e797377ebc63adcaa9dd6f0f38e3f [file] [log] [blame]
Jack Jansend0ddb661998-04-27 15:14:36 +00001 Release notes for MacPython 1.5.1
Jack Jansen9b2681b1997-10-08 15:35:17 +00002 ---------------------------------
Jack Jansenecbc1cc1998-01-06 12:13:16 +00003
4Open Issues and bugs:
5
Jack Jansend0ddb661998-04-27 15:14:36 +00006- Packages ("dotted import") appears to have problems for the cfm68k
7 version of MacPython. Please report anything of interest you find as
8 soon as possible, preferrably to pythonmac-sig@python.org. I no longer
9 have access to a reasonable 68K machine, so it may well be that this
10 means the demise of cfm68k Python is near.
11- Printing a NumPy "array([1.2])" may cause a crash in
12 cfm68k-Python. Same comments as above.
Jack Jansenecbc1cc1998-01-06 12:13:16 +000013
14Changes since the previous version:
Jack Jansen7701fd91997-05-28 12:01:14 +000015
Jack Jansend0ddb661998-04-27 15:14:36 +000016Here are the mac-specific changes since MacPython 1.4, with
17end-user-visible changes near the top and API changes and other things
18that are developer-only more to the bottom. Changes marked with a [*]
19are new changes since 1.5b3 (there has never been a MacPython 1.5
20final). And, of course, all Guido's 1.5.1 changes are
21incorporated.
Jack Jansen7701fd91997-05-28 12:01:14 +000022
Jack Jansend0ddb661998-04-27 15:14:36 +000023- Imported modules are now case-checked: the case of the filename
24 should match the name under which you import it [*]
25- There is now some minimal documentation on building true standalone
26 applications in Python, see building.html [*]
27- Python's private resources now use numbers from 228 up, because of
28 conflicts with Tk. This may affect you if you include private
29 resources in applets. [*]
30- Audio_mac spike bug fixed. [*]
31- FrameWork menu cleanup fixed. [*]
32- More MacOS errors now have a (somewhat) symbolic description. [*]
33- mactty module added to allow basic access to a serial line. [*]
34- toolbox modules have been regenerated, occasionally giving access to
35 new functionality. They are now based upon Universal Headers version
36 3.1 [*]
37- Waste module now uses Waste 1.3 [*]
38- Waste module now exports WE{Get,Set}TabSize [*]
39- Ordinal support in aetypes added (by Bill Bedford) [*]
40- ColorPicker module added (by Just van Rossum). It isn't documented,
41 but the docstring should be good enough. [*]
42- Printing module added (by Just van Rossum). It isn't documented and
43 it isn't easy to understand, but with Inside Mac beside you it might
44 be useable. There's a test script in Mac:Lib:test. [*]
45- Sndihooks module added to give access to sound-input. Only lightly
46 tested and not documented yet. [*]
47- fstat() added to mac module. [*]
48- double dispose in MacOS.splash() fixed. [*]
49- Qt module now supports getting/setting movie times [*]
50- BuildApplet now also accepts old applets as input, which are updated
51 to the current Python version [*]
52- Moved Mac:Lib:toolbox and scripting to lib-toolbox and
53 lib-scripting, analogous to Guido's changes. Initial sys.path settings
54 reflect this change
55- Added cPickle and cStringIO modules
Jack Jansenecbc1cc1998-01-06 12:13:16 +000056- Balloon help in set-preferences dialog and EditPythonPrefs
57- An interface to the Help Maganer has been added
Jack Jansen188db7f1997-10-10 15:48:57 +000058- New modules "preferences" and "pythonprefs" which allow access to
59 Python preferences and implements a general preference-handling
Jack Jansenecbc1cc1998-01-06 12:13:16 +000060 framework. New EditPythonPrefs uses this.
Jack Jansen188db7f1997-10-10 15:48:57 +000061- Applescript suite modules are now in a separate Mac:Lib:scripting
Jack Jansenecbc1cc1998-01-06 12:13:16 +000062 folder
63- Most modules now export their type objects
64- MacOS.SysBeep() and MacOS.GetTicks() added
65- sys.prefix and sys.exec_prefix are now set correctly
Jack Jansen188db7f1997-10-10 15:48:57 +000066- Installation is now through an installer
Jack Jansen9b2681b1997-10-08 15:35:17 +000067- mkapplet and MkPluginAliases have been renamed to BuildApplet and
Jack Jansen188db7f1997-10-10 15:48:57 +000068 ConfigurePython
Jack Jansen9b2681b1997-10-08 15:35:17 +000069- Applescript classes and properties are now exported by suites. Very
Jack Jansen188db7f1997-10-10 15:48:57 +000070 sketchy documentation added to applescript.html
71- Tkinter now uses tcl/tk 8.0
72- imports should be faster due to caching path information
73- Generated suites now live in Mac:Lib:scripting
74- Added zlib module
75- Tkinter setfilehandler() did not work for sockets, fixed
Jack Jansen9b2681b1997-10-08 15:35:17 +000076- "Delay console window" option didn't work, fixed. Also check out the
Jack Jansen188db7f1997-10-10 15:48:57 +000077 quietconsole.py module
Jack Jansen9b2681b1997-10-08 15:35:17 +000078- Menu bar is restored (if needed) when keeping console open after
Jack Jansen188db7f1997-10-10 15:48:57 +000079 exit
Jack Jansen9b2681b1997-10-08 15:35:17 +000080- Influencing command-. and event processing (formerly MacOS.SetYield
Jack Jansen188db7f1997-10-10 15:48:57 +000081 and MacOS.SetScheduleTimes) has been changed, see the manual
Jack Jansen9b2681b1997-10-08 15:35:17 +000082- FrameWork (or your own windowing code) can use asynchronous
Jack Jansen188db7f1997-10-10 15:48:57 +000083 callbacks to keep user interface responsive during long computations
Jack Jansen7701fd91997-05-28 12:01:14 +000084- Module to interface to Internet Config added
85- Module calldll added that allows calling of arbitrary C routines
86 from MacOS toolboxes
87- gdbm module added
88- ctb error handling fixed, and some memory leaks plugged
89- Various of the documentation files in Mac:Demo have been updated
90- MacOS.string_id_to_buffer is a new hack: the number you have to
91 add to the id() of a string object to get the (data) memory address
92- MacOS.splash() double-free fixed
93- macfs.FSSpec.as_pathname() was incorrect for disk toplevel folders
94- QT.NewMovieFromFile has an extra parameter and an extra return value
95- EasyDialogs.ProgressBar has changed both in layout and interface
96- FrameWork.Application has a new cleanup() method which asks all windows
97 to close themselves.
98- Loading of PYC resources from the application greatly speeded up,
99 especially for CDROM based applications
100- interrupt check/eventloop only entered 10 times per second, giving
101 big speedup
102- Allow any object (file, folder, disk) to be dropped on an applet
103- Twit resource number conflict with debuggee fixed
104- sys.path preference can now be longer than 255 chars
105- cfmfile module allows parsing and merging of CFRG resources
106- PythonFAT and PythonApplet are now fat (PPC/CFM68K) applications, so
107 applets can be moved between architectures.
108- Twit resource number conflict with debuggee fixed
109- mkapplet now uses a progress bar in stead of print statements
110- unshar made a bit more mac-friendly (input output dialogs)
111- img: added png, xbm, bmp support
112- img: jpeg now uses IJG v6 library
113- img: import of imagefile support modules delayed until needed
114- img: better error handling for truncated images and such
115- img: imgop.unpack() can unpack formats with multiple pixels per byte
116
Jack Jansenecbc1cc1998-01-06 12:13:16 +0000117- build numbers work and are maintained in macbuildno.h by fullbuild.py
Jack Jansen188db7f1997-10-10 15:48:57 +0000118- We now use CW Pro 1, with multitarget projects and such goodies
119- fixed xx plugin project for cfm68k
Jack Jansen7701fd91997-05-28 12:01:14 +0000120- All files updated to new Py_ naming convention
121- Toolbox modules regenerated from new Universal Headers
122- nfullpath() merged into PyMac_GetFullPath()
123- Added support for Metrowerks profiler
124- Standard MW/MSL runtime libraries used in stead of homegrown version
125- Allow any object (file, folder, disk) to be dropped on an applet
126- Malloc now returns cache-line-aligned memory on PPC, which speeds
127 things up, especially on a 604. Dictionaries put this to good use.
128- statically linked pythons won't inadvertantly load .slb modules
129- Removed dependencies on PLStringFuncs and/or StdCLib
130- Project "segment" structure changed to more-or-less follow folder
131 structure
132- fullbuild redesigned
133- Added PyMac_Initialize() call, for use by embedding programs.