Jack Jansen | d0ddb66 | 1998-04-27 15:14:36 +0000 | [diff] [blame] | 1 | Release notes for MacPython 1.5.1 |
Jack Jansen | 9b2681b | 1997-10-08 15:35:17 +0000 | [diff] [blame] | 2 | --------------------------------- |
Jack Jansen | ecbc1cc | 1998-01-06 12:13:16 +0000 | [diff] [blame] | 3 | |
| 4 | Open Issues and bugs: |
| 5 | |
Jack Jansen | d0ddb66 | 1998-04-27 15:14:36 +0000 | [diff] [blame] | 6 | - 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 Jansen | ecbc1cc | 1998-01-06 12:13:16 +0000 | [diff] [blame] | 13 | |
| 14 | Changes since the previous version: |
Jack Jansen | 7701fd9 | 1997-05-28 12:01:14 +0000 | [diff] [blame] | 15 | |
Jack Jansen | d0ddb66 | 1998-04-27 15:14:36 +0000 | [diff] [blame] | 16 | Here are the mac-specific changes since MacPython 1.4, with |
| 17 | end-user-visible changes near the top and API changes and other things |
| 18 | that are developer-only more to the bottom. Changes marked with a [*] |
| 19 | are new changes since 1.5b3 (there has never been a MacPython 1.5 |
| 20 | final). And, of course, all Guido's 1.5.1 changes are |
| 21 | incorporated. |
Jack Jansen | 7701fd9 | 1997-05-28 12:01:14 +0000 | [diff] [blame] | 22 | |
Jack Jansen | d0ddb66 | 1998-04-27 15:14:36 +0000 | [diff] [blame] | 23 | - 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 Jansen | ecbc1cc | 1998-01-06 12:13:16 +0000 | [diff] [blame] | 56 | - Balloon help in set-preferences dialog and EditPythonPrefs |
| 57 | - An interface to the Help Maganer has been added |
Jack Jansen | 188db7f | 1997-10-10 15:48:57 +0000 | [diff] [blame] | 58 | - New modules "preferences" and "pythonprefs" which allow access to |
| 59 | Python preferences and implements a general preference-handling |
Jack Jansen | ecbc1cc | 1998-01-06 12:13:16 +0000 | [diff] [blame] | 60 | framework. New EditPythonPrefs uses this. |
Jack Jansen | 188db7f | 1997-10-10 15:48:57 +0000 | [diff] [blame] | 61 | - Applescript suite modules are now in a separate Mac:Lib:scripting |
Jack Jansen | ecbc1cc | 1998-01-06 12:13:16 +0000 | [diff] [blame] | 62 | 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 Jansen | 188db7f | 1997-10-10 15:48:57 +0000 | [diff] [blame] | 66 | - Installation is now through an installer |
Jack Jansen | 9b2681b | 1997-10-08 15:35:17 +0000 | [diff] [blame] | 67 | - mkapplet and MkPluginAliases have been renamed to BuildApplet and |
Jack Jansen | 188db7f | 1997-10-10 15:48:57 +0000 | [diff] [blame] | 68 | ConfigurePython |
Jack Jansen | 9b2681b | 1997-10-08 15:35:17 +0000 | [diff] [blame] | 69 | - Applescript classes and properties are now exported by suites. Very |
Jack Jansen | 188db7f | 1997-10-10 15:48:57 +0000 | [diff] [blame] | 70 | 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 Jansen | 9b2681b | 1997-10-08 15:35:17 +0000 | [diff] [blame] | 76 | - "Delay console window" option didn't work, fixed. Also check out the |
Jack Jansen | 188db7f | 1997-10-10 15:48:57 +0000 | [diff] [blame] | 77 | quietconsole.py module |
Jack Jansen | 9b2681b | 1997-10-08 15:35:17 +0000 | [diff] [blame] | 78 | - Menu bar is restored (if needed) when keeping console open after |
Jack Jansen | 188db7f | 1997-10-10 15:48:57 +0000 | [diff] [blame] | 79 | exit |
Jack Jansen | 9b2681b | 1997-10-08 15:35:17 +0000 | [diff] [blame] | 80 | - Influencing command-. and event processing (formerly MacOS.SetYield |
Jack Jansen | 188db7f | 1997-10-10 15:48:57 +0000 | [diff] [blame] | 81 | and MacOS.SetScheduleTimes) has been changed, see the manual |
Jack Jansen | 9b2681b | 1997-10-08 15:35:17 +0000 | [diff] [blame] | 82 | - FrameWork (or your own windowing code) can use asynchronous |
Jack Jansen | 188db7f | 1997-10-10 15:48:57 +0000 | [diff] [blame] | 83 | callbacks to keep user interface responsive during long computations |
Jack Jansen | 7701fd9 | 1997-05-28 12:01:14 +0000 | [diff] [blame] | 84 | - 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 Jansen | ecbc1cc | 1998-01-06 12:13:16 +0000 | [diff] [blame] | 117 | - build numbers work and are maintained in macbuildno.h by fullbuild.py |
Jack Jansen | 188db7f | 1997-10-10 15:48:57 +0000 | [diff] [blame] | 118 | - We now use CW Pro 1, with multitarget projects and such goodies |
| 119 | - fixed xx plugin project for cfm68k |
Jack Jansen | 7701fd9 | 1997-05-28 12:01:14 +0000 | [diff] [blame] | 120 | - 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. |