blob: 99f955629f7369cf38ba2175a33029c9b173dcf9 [file] [log] [blame]
Jack Jansen2f9a9e32001-02-17 22:03:42 +00001Changes in 2.1a2 since 2.0
Jack Jansen538bd132000-10-19 21:58:27 +00002--------------------------
Jack Jansenecbc1cc1998-01-06 12:13:16 +00003
Jack Jansen26d7c142000-09-11 22:47:12 +00004These release notes refer to Mac-specific changes only. See NEWS (in the Misc folder)
5for machine-independent changes.
6
Jack Jansene9e0d472000-09-10 12:17:31 +00007Unfortunately I have messed my administration up, so I can't give complete
8Mac-specific release notes for the changes in this release. So, I will
9have to leave it at the highlights:
Jack Jansenecbc1cc1998-01-06 12:13:16 +000010
Jack Jansen2f9a9e32001-02-17 22:03:42 +000011- The good news: this release is Carbon-based, so it runs natively on MacOS 8.6 or
12 later and MacOSX.
13- The bad news: this release is Carbon-only. The next alpha release will be both
14 Carbon and classic PPC.
15- Distutils is included and seems to work.
16- There's a new module (package, actually) mkcwproject which builds CodeWarrior
17 projects from simple templates. See Distutils or :Mac:scripts:genpluginprojects.py
18 for examples of use.
19- Windows and Dialogs can now be different beasts, so you may have to call
20 dlg.GetDialogWindow() where you used to be able to call window methods straight
21 on the dialog. This also has consequences for code using FrameWork.DialogWindow.
22 THIS IS AN INCOMPATIBLE CHANGE.
23- ctl.GetControlDataHandle() has been renamed to GetControlData_Handle(), and similarly
24 for the other variants of GetControlData and SetControlData. This was needed
25 because Carbon defines a completely different routine with the name GetControlDataHandle.
26 THIS IS AN INCOMPATIBLE CHANGE.
27- Method mac.xstat() has disappeared. THIS IS AN INCOMPATIBLE CHANGE.
28- Menu.SetPopupData() and GetPopupData() are gone. Use SetPopupMenuHandle() and
29 SetPopupMenuID() (and the getters) in stead. THIS IS AN INCOMPATIBLE CHANGE.
30- Various methods have disappeared when running under Carbon. The script
31 :Mac:scripts:missingcarbonmethods.py can check your sources, but you need unix to run
32 it. Or use it as documentation and search by hand. THIS IS AN INCOMPATIBLE CHANGE.
33- The good news is that "direct access to toolbox structs" still works from Python,
34 so Python programmers have a lot less to fix than C programmers.
35 That's because the lowlevel code simply uses the accessors internally. The accessors
36 are available both in Carbon and Classic MacPython.
37- Scrap under Carbon is, you guessed it, the Carbon Scrap Manager. Some workarounds are
38 provided, though. THIS IS AN INCOMPATIBLE CHANGE.
39- The Internet Config routines that are missing from Carbon have been removed. This
40 is no problem if you use the "ic" module, but may be if you use "icglue" directly.
41 THIS IS AN INCOMPATIBLE CHANGE.
42- Various old toolbox names (CountMItems, EnableItem, etc) have disappeared. Use the
43 new forms (CountMenuItems, EnableMenuItem, etc). THIS IS AN INCOMPATIBLE CHANGE.
44- Waste now uses Waste 2.0.
45- The default memory size for the interpreter has been upped again.
46- The MacOS error messages have been updated to reflect the current state of
47 things. This was long overdue.
48- The crash in BuildApplication has been fixed.
49- struct.pack related problems (in Audio_Mac, for example) have been fixed.
50- (src/dev/cvs only): The project files now use the .mcp extension in stead of .prj.
51 Projects for almost all plugins and the img modules are automatically generated
52 with :Mac:scripts:genpluginprojects.py (also called by fullbuild). The .mcp files
53 are not in the repository, if you don't want to use genpluginprojects you can import
54 the .mcp.xml files in CodeWarrior.
Jack Jansen46e13022000-09-24 22:01:53 +000055
Jack Jansen26d7c142000-09-11 22:47:12 +000056
57What is not in this distribution
58--------------------------------
59
Jack Jansen2f9a9e32001-02-17 22:03:42 +000060- The garbage collection mods have not been enabled, mainly due to lack of test-time.
Jack Jansen2d017ec2000-09-14 21:02:22 +000061- Stackless Python/microthreads hasn't been ported to 2.0 yet. If/when it becomes available
Jack Jansende519092000-10-12 21:21:43 +000062 Just will undoubtedly announce it on pythonmac-sig and the MacPython homepage.
Jack Jansen26d7c142000-09-11 22:47:12 +000063
64Known problems
65--------------
66
67This list is far from complete, more problems may be listed on the MacPython homepage,
68http://www.cwi.nl/~jack/macpython.html.
69
70- The IDE and Tkinter do not work together. Run tkinter programs under PythonInterpreter.
71- Aliases do not work in sys.path entries.
Jack Jansen2f9a9e32001-02-17 22:03:42 +000072- The menu bar isn't always correctly restored before MacPython turns to <<terminated>>.
73- Under Carbon only you may occasionally see a spurious KeyboardInterrupt. I have absolutely
74 no clue as to what is causing this.