home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 4 / AACD04.ISO / AACD / Programming / Python / Source / CHANGES.SOURCE < prev    next >
Encoding:
Text File  |  1999-10-24  |  5.8 KB  |  194 lines

  1.  
  2. Changes to the original 1.5.2 source code distribution:
  3. -------------------------------------------------------
  4.  
  5. [This is perhaps no longer fully up to date??? --- Irmen 19/10/1999]
  6.  
  7.  
  8. General:
  9.  
  10. At different places I've added, removed or changed some code.
  11. I tried to do this by using the preprocessor symbols:
  12. _AMIGA : Defined when compiling on Amiga.
  13.          Indicates Amiga specific code.
  14. __SASC : Defined when compiling with the SAS/C compiler.
  15.          Indicates SAS/C specific code.
  16. AMITCP : Defined when using AmiTCP as networking software.
  17.          Indicates AmiTCP specific code, but maybe this
  18.          is easily converted to, say, Inet.
  19. INET225: Defined when using INET-225 as networking software.
  20.  
  21.  
  22. Added subdir Amiga_Misc with:
  23.     README                  - small describing text
  24.     mkdiffs.py              - makes diffs against original distribution
  25.     Diffs/                  - output dir for mkdiff.py
  26.     make_gst.c              - for building the GST
  27.     Python_netlib/          - contains source for python_net.lib
  28.     python_net.lib          - custom version of AmiTCP's net.lib,
  29.                   including some additional code like custom
  30.                   WB startup, environment functions etc.
  31.     DISCL_and_COPYRIGHT     - my disclaimer & CWI's copyright message
  32.     testset/                - additional tests for Amiga modules
  33.     unused/                 - currently unused stuff
  34.     Docs/                   - Amiga docs for distribution
  35.  
  36.  
  37. - Supplied custom makefile for Amiga's SAS/C: SMAKEFILE.
  38.   Supplied SAS/C compiler options file: SCOPTIONS.
  39.   You don't need any of the original makefiles (just delete them if you like).
  40.   (new since 1.5: SMAKEFILE splitted, one for each main directory)
  41.  
  42. - Created Include/config.h
  43. - Created Include/protos.h
  44. - Created Modules/config.c
  45. - Created Modules/environment.c
  46. - Created Modules/amigamodule.c
  47. - Created Modules/ARexxmodule.c
  48. - Created Modules/Doslibmodule.c
  49.  
  50.  
  51. - Changes to library files in Lib drawer. These changes are also documented
  52.   in the README file. Files involved:
  53.     os.py           (amiga additions)
  54.     tempfile.py     (temp path try order is: T:, :T, SYS:T)
  55.     posixpath.py    (stub for old posixpath.py)
  56.     amigapath.py    (amiga's replacement for posixpath.py)
  57.     site.py        (exit string for Amiga)
  58.  
  59. - Slight changes in the testset (Lib/test):
  60.   test_select.py (can't be easily tested on amiga - not on files)
  61.  
  62. - Added Lib/plat-amiga directory with files.
  63.  
  64. - Created Lib/lib-dynload directory to fix sys.exec_prefix behavior.
  65.  
  66. - Moved some unneeded files from parser to Parser/NON-AMIGA,
  67.   from Modules to Modules/NON-AMIGA, from Lib to Lib/NON-AMIGA,
  68.   and from Python to Python/NON-AMIGA.
  69.   (these files are not included in the source archive for space reasons)
  70.  
  71. - Added Prototype files for many source files.
  72.   See `protos' directories in: Modules, Objects, Parser, Python.
  73.  
  74.  
  75. Modules/main.c:
  76.     - Added AmiTCP/INET init & cleanup functions to Modules/main.c
  77.         (checkXXXXlib functions)
  78.  
  79. Modules/getpath.c:
  80.     - changed #if to #ifdef
  81.     - added Amiga version of PYTHONPATH #define
  82.     - added Amiga versions for getting full path of executable,
  83.       reduce, checking if path is relative, ...
  84.  
  85. Modules/mathmodule.c:
  86.     - added prototyped versions of function macros, and for SAS/C,
  87.       versions which call the math functions directly. Calling them
  88.       through a function pointer (the default) results in bigger code
  89.       and rounding errors (!?)
  90.  
  91. Modules/md5c.c:
  92.     - added lines to use regular memcpy and memset on AMIGA
  93.  
  94. Modules/soundex.c:
  95.     - undef'd toupper macro
  96.  
  97. Modules/socketmodule.c:
  98.     - added check(s) for _AMIGA
  99.     - Added AMITCP/INET includes
  100.     - Added a couple of #defines for AMITCP/INET API
  101.     - Changed use of fcntl to IoctlSocket (for s.setblocking)
  102.     - Clear socket buffer for new socket (PySocketSock_New)
  103.  
  104. Modules/selectmodule.c:
  105.     - Added Amiga's version of select funcion (with optional 5th parameter)
  106.  
  107. Modules/timemodule.c:
  108.     - fixed proto for floattime()
  109.     - added code for floatsleep() (uses select() if available)
  110.  
  111. Modules/binascii.c:
  112.     - fixed unsigned char bytes
  113.  
  114. Modules/cmathmodule.c:
  115.     - added function definition macros with prototypes
  116.  
  117. Modules/cPickle.c:
  118.     - fixed proto for put2 & save
  119.     - added proto for write_func in Picklerobject
  120.     - added proto for read_func and readline_func in Unpicklerobject
  121.  
  122. Modules/cryptmodule.c:
  123.     - added AMITCP/INET includes
  124.  
  125. Modules/pwdmodule.c:
  126.     - added AMITCP/INET includes
  127.     - added AMITCP/INET code changes
  128.  
  129. Modules/grpmodule.c:
  130.     - added AMITCP/INET includes
  131.  
  132. Modules/syslogmodule.c:
  133.     - added AMITCP/INET includes
  134.     - added AMITCP/INET code changes
  135.  
  136. Modules/operator.c:
  137.     - added function def macros with prototypes
  138.  
  139. Modules/getbuildinfo.c:
  140.     - added proto for Py_GetBuildInfo
  141.     - Added Amiga version string ($VER)
  142.  
  143. Include/osdefs.h:
  144.     - added AMIGA specific #defines
  145.  
  146. Include/myselect.h:
  147.     - added #include <proto/socket.h> for AMITCP/INET
  148.  
  149. Include/mymath.h:
  150.     - added SAS/C math includes
  151.  
  152. Include/compile.h:
  153.     - removed _node decl for SAS/C
  154.  
  155. Include/bitset.h:
  156.     - replaced BYTE def on _AMIGA with #include <exec/types.h>
  157.  
  158. Include/Python.h:
  159.     - added #include "protos.h"
  160.     - added #include <fcntl.h>
  161.  
  162. Include/Import.h:
  163.     - fixed proto for initfunc
  164.  
  165. Include/cStringIO.h:
  166.     - added prototype for xxxPyCObject_Import
  167.  
  168. Objects/longobject.c: (line 1787)
  169.     - changed sizeof(PyLongObject) to sizeof(struct _longobject) because of
  170.       illegal sizeof expression (?)
  171.  
  172. Objects/classobject.c:
  173.     - added prototyped version of UNARY macro
  174.  
  175. Parser/intrcheck.c:
  176.     - Added test for AMIGA for intcatcher prototype
  177.     - Added #include for fcntl.h
  178.     - Added SAS/C specific ^C handling
  179.  
  180. Python/sysmodule.c:
  181.     - Added code for absolute path check in PySys_SetArgv
  182.  
  183. Python/import.c:
  184.     - Fixed proto for GetLastModificationTime
  185.     - Fixed path building in find_module, now uses dos.library/AddPart
  186.     - Added Amiga version of check_case: now the imports are case sensitive
  187.  
  188. Python/pythonrun.c:
  189.     - Added proto for exitfuncs, parse_syntax_error
  190.     - Case insensive filename match for .pyc and .pyo
  191.  
  192. Python/sigcheck.c:
  193.     - Added stack checking code
  194.