home *** CD-ROM | disk | FTP | other *** search
- Changes to the original 1.6 source code distribution:
- -------------------------------------------------------
-
- General:
-
- At different places I've added, removed or changed some code.
- I tried to do this by using the preprocessor symbols:
- _AMIGA : Defined when compiling on Amiga.
- Indicates Amiga specific code.
- __SASC : Defined when compiling with the SAS/C compiler.
- Indicates SAS/C specific code.
- AMITCP : Defined when using AmiTCP as networking software.
- Indicates AmiTCP specific code, but maybe this
- is easily converted to, say, Inet.
- INET225: Defined when using INET-225 as networking software.
-
-
- Added subdir Amiga_Misc with:
- README - small describing text
- mkdiffs.py - makes diffs against original distribution
- Diffs/ - output dir for mkdiff.py
- make_gst.c - for building the GST
- Python_netlib/ - contains source for python_net.lib
- python_net.lib - custom version of AmiTCP's net.lib,
- including some additional code like custom
- WB startup, environment functions etc.
- DISCL_and_COPYRIGHT - my disclaimer & CWI's copyright message
- testset/ - additional tests for Amiga modules
- unused/ - currently unused stuff
- Docs/ - Amiga docs for distribution
-
-
- - Supplied custom makefile for Amiga's SAS/C: SMAKEFILE.
- Supplied SAS/C compiler options file: SCOPTIONS.
- You don't need any of the original makefiles (just delete them if you like).
- (new since 1.5: SMAKEFILE splitted, one for each main directory)
-
- - Added Prototype files for many source files.
- See `protos' directories in: Modules, Objects, Parser, Python.
-
- - Created Include/config.h
- - Created Include/protos.h
- - Created Modules/config.c
- - Created Modules/environment.c
- - Created Modules/amigamodule.c
- - Created Modules/ARexxmodule.c
- - Created Modules/Doslibmodule.c
-
-
- Include/Python.h:
- - added #include "protos.h"
- - added #include <fcntl.h>
- - added SAS/C math includes
-
- Include/osdefs.h:
- - added AMIGA specific #defines
-
- Include/compile.h:
- - removed _node decl for SAS/C
-
- Include/bitset.h:
- - replaced BYTE def on _AMIGA with #include <exec/types.h>
-
- Parser/intrcheck.c:
- - Added SAS/C specific ^C handling
-
- Objects/longobject.c: (line 1690)
- - changed sizeof(PyLongObject) to sizeof(struct _longobject) because of
- illegal sizeof expression (?)
-
- Python/sigcheck.c:
- - Added stack checking code
-
- Python/sysmodule.c:
- - Added #include "protos.h"
- - Added code for absolute path check in PySys_SetArgv
-
- Python/import.c:
- - Fixed path building in find_module, now uses dos.library/AddPart
- - Added Amiga version of check_case: now the imports are case sensitive
-
- Python/pythonrun.c:
- - Case insensive filename match for .pyc and .pyo
-
-
- Modules/mathmodule.c:
- - added SAS/C versions of function macros which call the math
- functions directly. Calling them through a function pointer
- (the original way) results in bigger code and rounding errors (!?)
-
- Modules/getbuildinfo.c:
- - Added Amiga version string ($VER)
-
- Modules/md5c.c:
- - added lines to use regular memcpy and memset on AMIGA
-
- Modules/binascii.c:
- - fixed unsigned char bytes -1 --> 0xFF
-
- Modules/timemodule.c:
- - added #include "protos.h"
- - added code for floatsleep() (uses select() if available)
-
- Modules/getpath.c:
- - added #include "protos.h"
- - added Amiga version of PYTHONPATH #define
- - added Amiga versions for getting full path of executable,
- reduce, checking if path is relative, ...
- - added proto for getxfile
-
- Modules/cryptmodule.c:
- - added AMITCP/INET includes
-
- Modules/grpmodule.c:
- - added AMITCP/INET includes
- - added AMITCP/INET code changes
-
- Modules/pwdmodule.c:
- - added AMITCP/INET includes
- - added AMITCP/INET code changes
-
- Modules/syslogmodule.c:
- - added AMITCP/INET includes
- - added AMITCP/INET code changes
-
- Modules/socketmodule.c:
- - added #include <sys/param.h>
- - added check(s) for _AMIGA
- - Added AMITCP/INET includes
- - Added a couple of #defines for AMITCP/INET API
- - Changed use of fcntl to IoctlSocket (for s.setblocking)
- - Clear socket buffer for new socket (PySocketSock_New)
-
- Modules/main.c:
- - Added AmiTCP/INET init & cleanup functions to Modules/main.c
- (checkXXXXlib functions)
- - Tweaked some other things in main()
-
- Modules/selectmodule.c:
- - Added AmiTCP/INET #include
- - Added Amiga's version of select funcion (with optional 5th parameter)
-
-
-
-
- - Added Lib/plat-amiga directory with files.
-
- - Created Lib/lib-dynload directory to fix sys.exec_prefix behavior.
-
-
- - Changes to library files in Lib drawer. These changes are also documented
- in the README file. Files involved:
- os.py (amiga additions)
- tempfile.py (temp path try order is: T:, :T, SYS:T)
- posixpath.py (stub for old posixpath.py)
- amigapath.py (amiga's replacement for posixpath.py)
- site.py (exit string for Amiga)
- test/test_posixpath.py (special separator stuff for Amiga)
- test/test_hash.py (fixed import of test_support)
-
-
-
- **************************************** TODO *******************************************
-
-
- Modules/unicodedata.c:
- - Added amiga specific code to initialize the unicode database.
-
- Modules/unicodedatabase.c:
- - Removed, replaced with an Amiga specific version
- ("amigaunicodedatabase.c") that reads the database from disk files.
- This is done because the original file is too large to compile and
- the dynamic data loading saves memory.
-
-
-
-
-
- - Moved some unneeded files from parser to Parser/NON-AMIGA,
- from Modules to Modules/NON-AMIGA, from Lib to Lib/NON-AMIGA,
- and from Python to Python/NON-AMIGA.
- (these files are not included in the source archive for space reasons)
-
-