Jack Jansen | 8150760 | 1995-10-03 14:40:35 +0000 | [diff] [blame^] | 1 | Changes since 1.3beta3 |
| 2 | ---------------------- |
| 3 | - MkPluginAliases.py now works in a virgin distribution environment |
| 4 | - hexbin from binhex.py has been fixed |
| 5 | - various bits and pieces in readme files clarified |
| 6 | - mkapplet bug wrt owner resource (and, hence, trouble starting applets) fixed. |
| 7 | |
Jack Jansen | 61c32fe | 1995-08-31 13:56:36 +0000 | [diff] [blame] | 8 | Changes since Python 1.2 for the mac |
| 9 | ------------------------------------ |
| 10 | These relnotes are relative to the last "official" MacPython release, |
| 11 | not to the intermediate releases. |
| 12 | - PPC python now uses a shared library organization. This allows the |
Jack Jansen | 05249f96f | 1995-09-01 11:49:11 +0000 | [diff] [blame] | 13 | creation of dynamically loadable extension modules (contact me) and |
| 14 | creation of python applets (see mkapplet.py). A number of previously |
Jack Jansen | 61c32fe | 1995-08-31 13:56:36 +0000 | [diff] [blame] | 15 | builtin modules are now dynamically loaded. Dynamically loaded |
| 16 | modules are distributed in the PlugIns folder. |
Jack Jansen | 05249f96f | 1995-09-01 11:49:11 +0000 | [diff] [blame] | 17 | - Python modules can live in 'PYC ' resources (with a name equal to the |
| 18 | module name, so many modules can live in a single file). If you put a |
| 19 | file (in stead of a folder) in sys.path its resources will be searched. |
| 20 | See the PackLibDir script for creating such a file. |
| 21 | - new binhex module (partially working, hexbin has problems) |
Jack Jansen | 61c32fe | 1995-08-31 13:56:36 +0000 | [diff] [blame] | 22 | - Python now has a Preferences file, editable with |
| 23 | EditPythonPrefs. Remembered are the python 'home folder' and the |
| 24 | initial value for sys.path. If no preferences file is found a simple |
| 25 | one is created. |
| 26 | NOTE: this only works correctly if you start python the first time |
| 27 | from the correct folder. |
| 28 | - new img modules, to read/write/convert images in various formats |
| 29 | - new MacOS toolbox modules: AE, Ctl, Dlg, Event, List, Qd, Res, Snd |
| 30 | and Win. These provide access to various of the MacOS toolbox |
| 31 | interfaces. No documentation yet, but the __doc__ strings provide at |
| 32 | least the calling sequence (and Inside Mac will give you the |
| 33 | semantics). Minimal demos are provided for most toolbox interfaces, |
| 34 | and the 'scripts' directory has some more examples. |
| 35 | - AppleEvent client interfaces can be generated from aete/aeut |
| 36 | resources. No support for objects yet, nor for server interfaces. |
| 37 | - Lib:mac:FrameWork.py has an application framework (under |
| 38 | construction). |
| 39 | - (PPC Only) support for building Python applets: tiny standalone |
| 40 | python applications. |
| 41 | - fp = open(filename, '*r') opens resource-fork of a file for reading |
| 42 | (and similar for writing). |
| 43 | - option-dragging a file to the interpreter (or immedeately pressing |
| 44 | <option> after launching python) will bring up an Options dialog |
| 45 | allowing you to set options like import-tracing, etc. |
| 46 | - MacOS module method added: GetErrorString(OSErr) -> error string |
| 47 | - There is now a numbering convention for resource-ID's: |
| 48 | 128-255 Resources used by the interpreter itself |
| 49 | 256-511 Resources used by standard modules |
| 50 | 512- Resources for applications |
| 51 | - macfs module changes: |
| 52 | - StandardGetFile without type arguments now shows all files |
| 53 | - PromptGetFile(prompt, ...) is like StandardGetFile but with a |
| 54 | prompt |
| 55 | - GetDirectory (let user select a folder) added |
| 56 | - GetFInfo and SetFInfo methods of FSSpec objects get/set finder |
| 57 | info. FInfo objects have attributes Creator, Type, etc. |
| 58 | - FindFolder (locate trash/preferences/etc) added |
| 59 | - mactcp/macdnr changes: bug fix wrt idle-loop. |
| 60 | - EditPythonPrefs script: change initial sys.path and python home |
| 61 | folder |
| 62 | - (PPC only) MkPluginAliases: Setup aliases for dynamically loadable |
| 63 | modules that live in a single shared library |
| 64 | - PackLibDir: Convert Lib directory to a single resource file |
| 65 | containing all .pyc code |
| 66 | - fixfiletypes: Set file types based on file extension over a whole |
| 67 | tree. |
| 68 | - RunLibScript: Run any script as main program, optionally redirecting |
| 69 | stdin/stdout, supplying arguments, etc. |
| 70 | - binhextree: Binhex all files in a tree, depending on the extension. |
| 71 | - (PPC only) mkapplet: Create a python applet from a sourcefile and |
| 72 | (optional) resourcefile. |
| 73 | |