HomeFreeBSD

lang/seed7: update to 05_20180708

Description

lang/seed7: update to 05_20180708

20180708:

  • The operating system DOS is supported (with DJGPP) again. The tests have been done with Dosbox.
  • In the compiler (in comp/const.s7i) the actions BIN_AND and BIN_OR have been added to the list of special actions. This way the functions rotLeft and rotRight (from bin32.s7i and bin64.s7i) are implemented as inline functions. This reduces the runtime of sha256 (from msgdigest.s7i) by 44% (measured with gcc and valgrind, when reading data from 200 https connections). The cpu-time of the whole test program was reduced by 17%.
  • In msgdigest.s7i the functions md4, md5, sha1, sha224 and sha256 have been improved to use an index for words instead of an index for chunks. This simplifies the conversion to 32-bit words.
  • In comp/action.s7i the function process_action has been improved to use a case-statement instead of multiple if-statements. This reduces the runtime of process_action by 39% (measured with gcc and valgrind, when the compiler compiles itself). The runtime of the compiler is reduced by 2.5%.
  • The contents of the libraries enable_input.s7i and enable_output.s7i have been moved to the library enable_io.s7i.
  • The library comp/expr_util.s7i has been renamed to comp/expr_utl.s7i.
  • The program chkccomp.c has been improved to search 64-bit functions for fseek() and ftell(). The findings are stored in version.h with the macros _FILE_OFFSET_BITS, OS_OFF_T_SIZE, os_off_t, os_fseek and os_ftell.
  • In chkflt.sd7 the tests for float shift and logarithm of 0.0 have been improved.
  • The file src/read_me.txt has been updated.
  • In chkccomp.c the functions isNullDevice, initializeNullDevice, determineStatFunctions, determineOsFunctions and numericProperties have been improved.
  • The program chkccomp.c has been improved to work for PostgreSQL versions 9.6, 10 and 11.
  • In cmd_rtl.c the function getOsCwd has been improved to assure that PATH_DELIMITER is used as path delimiter.
  • In flt_rtl.c the functions fltDigits and fltSci have been improved, to work correct, when printf() with format %f and %e and a huge precision crashes. Additionally fltSci() has been improved to work correct, when the number of exponent digits written with format %f is not fixed.
  • In con_wat.c the functions kbdShut and conWrite have been improved and the functions term_descr_equal, tcset_term_descr, kbd_init, doWriteConsole and doCPuts have been added.
  • The functions handleIntSignal, readCharChkCtrlC and filPipe have been added to fil_dos.c.
  • The function drwConvPointList has been added to drw_dos.c.
  • The definitions of volumeListType, IS_VOLUME_LIST and openVolumeList() have been moved from dir_win.h to the new file vol_drv.h
  • In traceutl.c the function prot_cstri has been improved to optionally

Details

Provenance
gahrAuthored on
Parents
rP474743: .gitauthors: Add John Hixon (jhixson)
Branches
Unknown
Tags
Unknown