annotate Mac/Relnotes @ 17013:d15ace321102 legacy-trunk

Started on relnotes for the next beta.
author Jack Jansen <jack.jansen@cwi.nl>
date Thu, 08 Mar 2001 23:07:16 +0000
parents 2dc3ca1d890c
children ff75c382f0d3
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
17001
2dc3ca1d890c Files for 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 16817
diff changeset
1 Changes in 2.1b1 since 2.0
15278
11676ddaff01 Ready for 2.0
Jack Jansen <jack.jansen@cwi.nl>
parents: 15209
diff changeset
2 --------------------------
14504
deb3e9685a1e Release notes for 2.0b1. It is not much, but I can't find all the info back:-(
Jack Jansen <jack.jansen@cwi.nl>
parents: 12599
diff changeset
3
14515
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
4 These release notes refer to Mac-specific changes only. See NEWS (in the Misc folder)
16817
ffcb3cff9439 Updated for 2.1a3
Jack Jansen <jack.jansen@cwi.nl>
parents: 16649
diff changeset
5 for machine-independent changes. Changes since previous alfa/beta releases for 2.1 are
17001
2dc3ca1d890c Files for 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 16817
diff changeset
6 marked with [*] and at the bottom of the list.
5651
95d6e17955ef Changed release note structure:
Jack Jansen <jack.jansen@cwi.nl>
parents:
diff changeset
7
16649
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
8 - The good news: this release is Carbon-based, so it runs natively on MacOS 8.6 or
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
9 later and MacOSX.
17001
2dc3ca1d890c Files for 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 16817
diff changeset
10 - Alternatively there is a classic PPC interpreter as well. There are two reasons you
2dc3ca1d890c Files for 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 16817
diff changeset
11 might want to use this: (a) you have a pre-MacOS9 system and don't want to install
2dc3ca1d890c Files for 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 16817
diff changeset
12 CarbonLib, or (b) you need Tkinter, for which no Carbon version is available yet.
16649
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
13 - Distutils is included and seems to work.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
14 - There's a new module (package, actually) mkcwproject which builds CodeWarrior
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
15 projects from simple templates. See Distutils or :Mac:scripts:genpluginprojects.py
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
16 for examples of use.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
17 - Windows and Dialogs can now be different beasts, so you may have to call
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
18 dlg.GetDialogWindow() where you used to be able to call window methods straight
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
19 on the dialog. This also has consequences for code using FrameWork.DialogWindow.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
20 THIS IS AN INCOMPATIBLE CHANGE.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
21 - ctl.GetControlDataHandle() has been renamed to GetControlData_Handle(), and similarly
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
22 for the other variants of GetControlData and SetControlData. This was needed
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
23 because Carbon defines a completely different routine with the name GetControlDataHandle.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
24 THIS IS AN INCOMPATIBLE CHANGE.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
25 - Method mac.xstat() has disappeared. THIS IS AN INCOMPATIBLE CHANGE.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
26 - Menu.SetPopupData() and GetPopupData() are gone. Use SetPopupMenuHandle() and
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
27 SetPopupMenuID() (and the getters) in stead. THIS IS AN INCOMPATIBLE CHANGE.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
28 - Various methods have disappeared when running under Carbon. The script
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
29 :Mac:scripts:missingcarbonmethods.py can check your sources, but you need unix to run
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
30 it. Or use it as documentation and search by hand. THIS IS AN INCOMPATIBLE CHANGE.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
31 - The good news is that "direct access to toolbox structs" still works from Python,
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
32 so Python programmers have a lot less to fix than C programmers.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
33 That's because the lowlevel code simply uses the accessors internally. The accessors
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
34 are available both in Carbon and Classic MacPython.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
35 - Scrap under Carbon is, you guessed it, the Carbon Scrap Manager. Some workarounds are
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
36 provided, though. THIS IS AN INCOMPATIBLE CHANGE.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
37 - The Internet Config routines that are missing from Carbon have been removed. This
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
38 is no problem if you use the "ic" module, but may be if you use "icglue" directly.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
39 THIS IS AN INCOMPATIBLE CHANGE.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
40 - Various old toolbox names (CountMItems, EnableItem, etc) have disappeared. Use the
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
41 new forms (CountMenuItems, EnableMenuItem, etc). THIS IS AN INCOMPATIBLE CHANGE.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
42 - Waste now uses Waste 2.0.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
43 - The default memory size for the interpreter has been upped again.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
44 - The MacOS error messages have been updated to reflect the current state of
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
45 things. This was long overdue.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
46 - The crash in BuildApplication has been fixed.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
47 - struct.pack related problems (in Audio_Mac, for example) have been fixed.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
48 - (src/dev/cvs only): The project files now use the .mcp extension in stead of .prj.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
49 Projects for almost all plugins and the img modules are automatically generated
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
50 with :Mac:scripts:genpluginprojects.py (also called by fullbuild). The .mcp files
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
51 are not in the repository, if you don't want to use genpluginprojects you can import
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
52 the .mcp.xml files in CodeWarrior.
16817
ffcb3cff9439 Updated for 2.1a3
Jack Jansen <jack.jansen@cwi.nl>
parents: 16649
diff changeset
53 - ConfigurePython has been replace by two applets: ConfigurePythonClassic and
ffcb3cff9439 Updated for 2.1a3
Jack Jansen <jack.jansen@cwi.nl>
parents: 16649
diff changeset
54 ConfigurePythonCarbon. These will select either execution model for machines
ffcb3cff9439 Updated for 2.1a3
Jack Jansen <jack.jansen@cwi.nl>
parents: 16649
diff changeset
55 supporting both, and it will also build all the standard applets. [*]
ffcb3cff9439 Updated for 2.1a3
Jack Jansen <jack.jansen@cwi.nl>
parents: 16649
diff changeset
56 - Dlg.ModalDialog() almost invariably crashed. This showed in EasyDialogs, EditPythonPrefs
ffcb3cff9439 Updated for 2.1a3
Jack Jansen <jack.jansen@cwi.nl>
parents: 16649
diff changeset
57 and meny other things. Fixed. [*]
ffcb3cff9439 Updated for 2.1a3
Jack Jansen <jack.jansen@cwi.nl>
parents: 16649
diff changeset
58 - Carbon MacPython did not work with CarbonLib 1.1 or later. Fixed. [*]
ffcb3cff9439 Updated for 2.1a3
Jack Jansen <jack.jansen@cwi.nl>
parents: 16649
diff changeset
59 - IDE flashed a window and complained about it. Fixed, by getting rid of regex in
ffcb3cff9439 Updated for 2.1a3
Jack Jansen <jack.jansen@cwi.nl>
parents: 16649
diff changeset
60 favor of re. Code not fully tested. [*]
ffcb3cff9439 Updated for 2.1a3
Jack Jansen <jack.jansen@cwi.nl>
parents: 16649
diff changeset
61 - IDE could crash on some edit operations due to WEGetUndoInfo(). Fixed. [*]
ffcb3cff9439 Updated for 2.1a3
Jack Jansen <jack.jansen@cwi.nl>
parents: 16649
diff changeset
62 - time.time() again returns positive values. [*]
17001
2dc3ca1d890c Files for 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 16817
diff changeset
63 - Classic PPC is included again. [*]
2dc3ca1d890c Files for 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 16817
diff changeset
64 - Numeric is included again. It is now built using distutils, and lives in :Lib:site-python.
2dc3ca1d890c Files for 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 16817
diff changeset
65 This makes it a lot easier to replace Numeric with a new version (when one comes out). [*]
2dc3ca1d890c Files for 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 16817
diff changeset
66 - PIL is included again. [*]
2dc3ca1d890c Files for 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 16817
diff changeset
67 - PythonInterpreterCarbon and PythonInterpreterClassic are now files of type "Atmp", not
2dc3ca1d890c Files for 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 16817
diff changeset
68 "APPL", so there should not be any confusion as to what the real application is
2dc3ca1d890c Files for 2.1b1 distribution.
Jack Jansen <jack.jansen@cwi.nl>
parents: 16817
diff changeset
69 (PythonInterpreter). [*]
17013
d15ace321102 Started on relnotes for the next beta.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17001
diff changeset
70 - PythonIDE used to burn CPU cycles when idle, this has been fixed. PythonInterpreter
d15ace321102 Started on relnotes for the next beta.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17001
diff changeset
71 still has the problem. [*]
14822
3e393f9b1293 Readme and relnotes for intermediate 2.0b1+ release.
Jack Jansen <jack.jansen@cwi.nl>
parents: 14565
diff changeset
72
14515
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
73
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
74 What is not in this distribution
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
75 --------------------------------
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
76
16649
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
77 - The garbage collection mods have not been enabled, mainly due to lack of test-time.
14565
ac81e0cac5f6 Added a note about gdbm.
Jack Jansen <jack.jansen@cwi.nl>
parents: 14530
diff changeset
78 - Stackless Python/microthreads hasn't been ported to 2.0 yet. If/when it becomes available
15190
656d434388c8 Updated for 2.0c1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14822
diff changeset
79 Just will undoubtedly announce it on pythonmac-sig and the MacPython homepage.
14515
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
80
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
81 Known problems
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
82 --------------
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
83
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
84 This list is far from complete, more problems may be listed on the MacPython homepage,
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
85 http://www.cwi.nl/~jack/macpython.html.
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
86
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
87 - The IDE and Tkinter do not work together. Run tkinter programs under PythonInterpreter.
17013
d15ace321102 Started on relnotes for the next beta.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17001
diff changeset
88 - After running a Tkinter program your menubar may end up dead, with command-alt-escape
d15ace321102 Started on relnotes for the next beta.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17001
diff changeset
89 the only way to terminate Python.
d15ace321102 Started on relnotes for the next beta.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17001
diff changeset
90 - Tkinter file events do not work, unless you have opened the file through Tcl (but then
d15ace321102 Started on relnotes for the next beta.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17001
diff changeset
91 you cannot access it from Python).
14515
1db453296c76 Final tweaks for 2.0b1
Jack Jansen <jack.jansen@cwi.nl>
parents: 14504
diff changeset
92 - Aliases do not work in sys.path entries.
16649
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
93 - The menu bar isn't always correctly restored before MacPython turns to <<terminated>>.
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
94 - Under Carbon only you may occasionally see a spurious KeyboardInterrupt. I have absolutely
8d8509617874 2.1a2 distribution files.
Jack Jansen <jack.jansen@cwi.nl>
parents: 15278
diff changeset
95 no clue as to what is causing this.
17013
d15ace321102 Started on relnotes for the next beta.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17001
diff changeset
96 - PythonInterpreter used interactively will eat a lot of processor cycles. You should use
d15ace321102 Started on relnotes for the next beta.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17001
diff changeset
97 PythonIDE for interactive work and PythonInterpreter for scripts only.
d15ace321102 Started on relnotes for the next beta.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17001
diff changeset
98 - Under MacOSX applets have to live in the Python folder, otherwise they cannot find
d15ace321102 Started on relnotes for the next beta.
Jack Jansen <jack.jansen@cwi.nl>
parents: 17001
diff changeset
99 PythonCore. This is being worked on.