]> granicus.if.org Git - python/commitdiff
Merging changes from release22-branch.
authorJack Jansen <jack.jansen@cwi.nl>
Thu, 27 Dec 2001 23:01:18 +0000 (23:01 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Thu, 27 Dec 2001 23:01:18 +0000 (23:01 +0000)
Mac/Build/PythonCore.mcp
Mac/Distributions/(vise)/Python 2.2.vct
Mac/Distributions/binary.exclude
Mac/Distributions/binary.include
Mac/Distributions/dev.exclude
Mac/Distributions/dev.include
Mac/Include/macbuildno.h
Mac/Python/macglue.c
Mac/ReadMe
Mac/Relnotes
Mac/_checkversion.py

index 03e46e16f918e15eab149a16fb9178d676f442d9..140ce158e73214e95a60e529fd592a6f3eb119c6 100644 (file)
Binary files a/Mac/Build/PythonCore.mcp and b/Mac/Build/PythonCore.mcp differ
index e53f6f46ef64e7f072c0ace45807b6c32ee53104..18e625c0bb9ca42b1044e6e2647bf6baaa91f624 100644 (file)
Binary files a/Mac/Distributions/(vise)/Python 2.2.vct and b/Mac/Distributions/(vise)/Python 2.2.vct differ
index e0b3b92fd4abdd24f6e089b90765113b67d59a9b..e61b9a49ec4ba725f2f97714e41c5ef295d5367a 100644 (file)
@@ -34,3 +34,4 @@ CVS
 Makefile*
 Setup.in
 [(]*[)]
+*~[0-9]
index 1c6f4177c0e2405475c3a18f02e2d3fd6b5cf4ea..73279a29c72e5e1e5af735f75e6925a8b2275466 100644 (file)
 (':Mac:Contrib:PythonScript', '')
 (':Mac:Contrib:Sherlock', '')
 (':Mac:Contrib:Tabcleaner', '')
+(':Mac:Contrib:mpwsystem', '')
 (':Mac:Contrib:osam:OSAm.carbon.slb', '')
 (':Mac:Contrib:osam:OSAm.exp', None)
 (':Mac:Contrib:osam:OSAm.ppc.slb', '')
 (':Mac:ReadMe', ':ReadMe')
 (':Mac:ReadMe-dev', None)
 (':Mac:ReadMe-src', None)
+(':Mac:ReadMe~0', None)
 (':Mac:ReadmeSource', None)
 (':Mac:Relnotes', ':Relnotes:')
 (':Mac:Resources', None)
 (':pystone.py', None)
 (':setup.py', None)
 (':site-packages', None)
-(':Mac:ReadMe~0', None)
-(':Mac:Contrib:mpwsystem', '')
index 2babfd6234a5d4f0cc83618b86567ee7be2ba58f..42ad004bed981a1933598a5ee1cf544dc04a1108 100644 (file)
@@ -17,3 +17,4 @@
 @*
 CVS
 [(]*[)]
+*~[0-9]
index e7476e6d6f850fe7196ac90cda06efd76cf0d2a0..70c75cb2d9484832a24069513eb54c11d9c41a92 100644 (file)
 (':Mac:Build:Printing.mcp', None)
 (':Mac:Build:Printing.mcp.exp', None)
 (':Mac:Build:Printing.mcp.xml', None)
+(':Mac:Build:PythonCore.axp', None)
 (':Mac:Build:PythonCore.exp', None)
 (':Mac:Build:PythonCore.mcp', None)
 (':Mac:Build:PythonCoreCarbon.exp', None)
 (':Mac:Build:PythonInterpreter.mcp', None)
+(':Mac:Build:PythonInterpreter.old.mcp', None)
 (':Mac:Build:PythonStandSmall.mcp', None)
 (':Mac:Build:PythonStandSmall.mcp~0', None)
 (':Mac:Build:PythonStandSmall.mcp~1', None)
+(':Mac:Build:PythonStandSmall.old.mcp', None)
 (':Mac:Build:PythonStandalone.mcp', None)
 (':Mac:Build:PythonStandalone.mcp~0', None)
 (':Mac:Build:PythonStandalone.mcp~1', None)
 (':Mac:Build:_CF.carbon.mcp', None)
 (':Mac:Build:_CF.carbon.mcp.exp', None)
 (':Mac:Build:_CF.carbon.mcp.xml', None)
+(':Mac:Build:_CG.carbon.mcp', None)
+(':Mac:Build:_CG.carbon.mcp.exp', None)
+(':Mac:Build:_CG.carbon.old.mcp', None)
+(':Mac:Build:_CarbonEvt.carbon.mcp', None)
+(':Mac:Build:_CarbonEvt.carbon.mcp.exp', None)
+(':Mac:Build:_CarbonEvt.carbon.mcp.xml', None)
 (':Mac:Build:_Cm.carbon.mcp', None)
 (':Mac:Build:_Cm.carbon.mcp.exp', None)
 (':Mac:Build:_Cm.carbon.mcp.xml', None)
 (':Mac:Build:_Win.mcp.xml', None)
 (':Mac:Build:_dummy_tkinter.mcp', None)
 (':Mac:Build:_dummy_tkinter.mcp.exp', None)
+(':Mac:Build:_dummy_tkinter.old.mcp', None)
 (':Mac:Build:_hotshot.carbon.mcp', None)
 (':Mac:Build:_hotshot.carbon.mcp.exp', None)
 (':Mac:Build:_hotshot.carbon.mcp.xml', None)
 (':Mac:ReadMe', None)
 (':Mac:ReadMe-dev', ':')
 (':Mac:ReadMe-src', None)
+(':Mac:ReadMe~0', None)
 (':Mac:Relnotes', None)
 (':Mac:Relnotes-source', None)
 (':Mac:Resources:Carbon.r', None)
 (':Modules:testcapi_long.h', None)
 (':Modules:threadmodule.c', None)
 (':Modules:timemodule.c', None)
+(':Modules:timemodule.c~0', None)
+(':Modules:timemodule.c~1', None)
 (':Modules:timing.h', None)
 (':Modules:timingmodule.c', None)
 (':Modules:tkappinit.c', None)
 (':readmefiles', None)
 (':setup.py', None)
 (':site-packages', None)
-(':Mac:Build:_CG.carbon.old.mcp', None)
-(':Mac:Build:_CG.carbon.mcp.exp', None)
-(':Mac:Build:_CG.carbon.mcp', None)
-(':Mac:Build:_CarbonEvt.carbon.mcp.xml', None)
-(':Mac:Build:_CarbonEvt.carbon.mcp.exp', None)
-(':Mac:Build:_CarbonEvt.carbon.mcp', None)
-(':Mac:ReadMe~0', None)
-(':Modules:timemodule.c~1', None)
-(':Modules:timemodule.c~0', None)
-(':Mac:Build:PythonStandSmall.old.mcp', None)
-(':Mac:Build:PythonInterpreter.old.mcp', None)
-(':Mac:Build:PythonCore.axp', None)
-(':Mac:Build:_dummy_tkinter.old.mcp', None)
index ae377c1018b76f8c272e41483b1e41a3b4b81653..d2179af9c042368b375a68e09d40e4d96848ef4e 100644 (file)
@@ -1 +1 @@
-#define BUILD 121
+#define BUILD 124
index e66ab837e5110e1837316b38724f39141993c116..f78f97f5a33fbbe8a93241475eaff484f5059df2 100644 (file)
@@ -392,6 +392,17 @@ Pstring(char *str)
 }
 
 #if TARGET_API_MAC_OS8
+Point
+LMGetMouse(void)
+{
+       return LMGetMouseLocation();
+}
+
+long LMGetExpandMem(void)
+{
+       return 0;
+}
+
 void
 c2pstrcpy(unsigned char *dst, const char *src)
 {
index 974509068fb9a244c833bed8a22b2f2ae1fe5adb..17e781f27df0315228b4dd35a32dc30071082e2c 100644 (file)
@@ -1,9 +1,6 @@
-How to install Python 2.2c1 on your Macintosh
+How to install Python 2.2 on your Macintosh
 ---------------------------------------------
 
-This is a release candidate for MacPython 2.2, please report any problems as
-soon as possible, by email to pythonmac-sig@python.org.
-
 This is a MacPython that can run on classic MacOS (from 8.1
 onwards) and natively on MacOSX. The installer tries to work out whether you can
 use the Carbon version or not. For Mac OS X users: this version of Python
@@ -32,19 +29,19 @@ Mac:Demo. The documentation is sparse, but it will have to serve for
 now. The documentation is in HTML format, start with index.html.
 
 This installer installs MacPython for classic PPC MacOS, MacPython for Carbon
-(OS X, OS 9 or OS8 with CarbonLib installed) or both, depending on your
+(OS X, OS 9 or OS 8 with CarbonLib installed) or both, depending on your
 configuration. By selecting custom install you can bypass these tests and
 install what you want.
 
-If you want 68k support you will have to stay with MacPython 1.5.2.
+If you want 68k support you will have get MacPython 1.5.2.
 
 Toolbox module reorganization and more
 --------------------------------------
 
 You can safely skip this section if this is your first encounter with MacPython.
 
-I am working on a new organization of the mac-specific modules, and in
-general bringing the MacPython folder structure more in line with
+This release has a new organization of the mac-specific modules, and in
+general brings the MacPython folder structure more in line with
 unix-Python. This is not only a good idea, it will also immensely
 facilitate moving MacPython functionality to an OSX Python that is based
 on Mach-O and the unix-Python distribution. But don't worry: MacPython
@@ -92,6 +89,8 @@ But:
 - this works only for input, and there's no way to find out what the original
   linefeed convention of the file was.
 - Windows \r\n linefeeds are not supported and get turned into \n\n.
+- in 2.3 this feature will be replaced by a more general, platform independent
+  way of handling files with foreign newline conventions.
 
 What to install
 ---------------
@@ -169,20 +168,18 @@ ways.
 Uninstalling
 ------------
 
-Two items are installed in the system folder: the interpreter shared
-libraries PythonCore and PythonCoreCarbon lives in the Extensions
-folder and the "Python 2.2c1 Preferences" file in the Python subfolder
+Up to three items are installed in the system folder: the interpreter shared
+libraries PythonCore and PythonCoreCarbon live in the Extensions
+folder and the "Python 2.2 Preferences" file in the Python subfolder
 in the Preferences folder. All the rest of Python lives in the folder
 you installed in.
 
-On OSX the libraries are installed in /Library/CFMSupport. There is a
-nasty bug in OSX that is triggered by Python: if any orphaned aliases
-are left in /Library/CFMSupport your machine will start to behave very
-badly. 2.1 beta installers triggered this problem if you simply threw
-away your Python folder, so if you installed a 2.1beta you should
-clean out the aliases in /Library/CFMSupport too. The final 2.1 and
-2.1.1 installers always copied the shared libraries on OSX, so it does
-not have the problem anymore.
+On OSX the libraries are installed in /Library/CFMSupport. The ConfigurePython
+applets will complain if you have no right to create the libraries there
+(you need Admin privileges). This has one consequence: you will not be able to
+run applets unless they reside in the MacPython folder (such as the IDE or
+EditPythonPrefs). If you try to run an applet stored elsewhere you will
+get a "Cannot locate PythonCore" error message.
 
 Things to see
 -------------
@@ -221,9 +218,9 @@ this means you can keep your older version around if you are unsure
 whether to upgrade. The bad news is that your old preference settings
 are lost and you have to set them again.
 
-After you are satisfied that 2.2c1 works as expected you can trash
+After you are satisfied that 2.2 works as expected you can trash
 anything in the system folder that has "python" in the name and not
-"2.2c1".
+"2.2".
 
 The ConfigurePython... applets will try to detect incompatible
 preferences files and offer to remove them. This means that re-running
@@ -278,9 +275,9 @@ this purpose.
 
 
 Jack Jansen
-Oratrix Development BV
-Valeriusplein 30
-Amsterdam
+CWI
+Kruislaan 413
+1098 SJ Amsterdam
 the Netherlands
 
 <jack@cwi.nl>, http://www.cwi.nl/~jack
index 3d99c13e37c3e6b28dab146a48dd59275233795b..ce67bdb84009c4b7dc689bd85a41a11318cfd3df 100644 (file)
@@ -1,8 +1,8 @@
-Changes in 2.2c1 since 2.1.1
+Changes in 2.2 since 2.1.1
 ----------------------------
 
 These release notes refer to Mac-specific changes only. See NEWS (in the Misc folder)
-for machine-independent changes. Changes that are new in 2.2c1 are flagged as such.
+for machine-independent changes.
 
 
 - The main change is that all toolbox modules have moved to a package called Carbon.
@@ -11,27 +11,27 @@ for machine-independent changes. Changes that are new in 2.2c1 are flagged as su
   some open questions and join the discussions on pythonmac-sig if you have anything
   to contribute. Aside from reducing clutter this change will also benefit the
   port to Mach-O/OSX Python later.
-- All toolbox modules have been updated to Universal Headers 3.4. [2.2c1]
+- All toolbox modules have been updated to Universal Headers 3.4.
 - Toolbox modules are weaklinked against InterfaceLib (for PPC builds) and raise
-  an exception when you call an unimplemented one on an old MacOS. [2.2c1]
+  an exception when you call an unimplemented one on an old MacOS.
 - On input MacPython now accepts either \n (unix style) or \r (mac style) newlines
   for text files. This behaviour can be turned off with a preference.
   This is an experimental feature; again: feedback is requested.
-- The IDE looks better on OS X, but still not as good as on OS9. [2.2c1]
+- The IDE looks better on OS X, but still not as good as on OS9.
 - Command-dot handling has been improved a lot: scripts are now much easier to interrupt,
   and they only scan for cmd-. while in the foreground.
 - "Copy" from the MacPython console window was always disabled. Fixed.
 - This release should run on MacOS 8.1 again.
 - A new, rather different GUSI I/O library is used.
-- time.time() returns positive values again. [2.2c1]
+- time.time() returns positive values again.
 - There is a new module macresource which makes it easier to open a resource file
   accompanying your script when the script is not (yet) converted to an applet.
   This module will later also do the right thing in Mach-O/OSX Python.
 - (Carbon only) experimental modules Carbon.CG (CoreGraphics) and CarbonEvt have
-  been added. [2.2c1]
+  been added.
 - A new, experimental module hfsplus is included, which gives access to some of the
   functionality of the HFS+ API.
-- A new, experimental module gives access to Carbon Events. [2.2c1]
+- A new, experimental module gives access to Carbon Events.
 - Threads had a stack that was too small for many serious Python applications (20K).
   They now get 64K. There is still no overflow check, though.
 - Garbage collection and the gc module have (finally) been enabled.
@@ -52,11 +52,6 @@ for machine-independent changes. Changes that are new in 2.2c1 are flagged as su
 - Contrib:morefindertools is gone, the functionality has been integrated into
   the standard module findertools.py.
 
-What is not in this distribution
---------------------------------
-
-- The toolbox modules have not all been updated to Universal Header 3.4 or CarbonLib 1.4 yet.
-
 Known problems
 --------------
 
@@ -65,7 +60,8 @@ http://www.cwi.nl/~jack/macpython.html.
 
 - MacPython 2.2 (and MacPython 2.1) will not run correctly on a multiprocessor MacOS X
   machine, it will quickly deadlock during I/O operations. The GUSI I/O library is suspected,
-  hints/clues/workarounds are solicited.
+  hints/clues/workarounds are solicited. This problem also occurs intermittently on fast
+  OS X single-processor machines.
 - Tkinter does not work under Carbon.
 - The IDE and Tkinter do not work together. Run tkinter programs under PythonInterpreter.
 - Tkinter file events do not work, unless you have opened the file through Tcl (but then
index 443b9b59b2f62e9dad104d7cab9febc67c599fb2..79cc5914cb8c4239c52e3a9e5311c01dcb723966 100644 (file)
@@ -5,7 +5,7 @@ _checkversion.py file"""
 import pyversioncheck
 
 _PACKAGE="MacPython"
-_VERSION="2.2b1"
+_VERSION="2.2"
 _URL="http://www.cwi.nl/~jack/macpythonversion.txt"
 
 try: