HomeFreeBSD

lang/seed7: update to 05_20200531

Description

lang/seed7: update to 05_20200531

20200531:

  • The libraries tar.s7i, cpio.s7i and rpm.s7i have been improved such that the file system functions follow symbolic links (inside of the archive).
  • The library zip.s7i has been improved to support the functions setFileMode(), setMTime() and putFile().
  • The library ar.s7i has been improved to allow UTF-8 file names and to support the functions setFileMode(), setMTime(), putFile() and removeFile().
  • The library rpm.s7i has been improved to support a LZMA compressed payload.
  • The library cpio.s7i has been improved such that setFileMode(), putFile() and mkdir() work correct.
  • The library lzma.s7i has been fixed such that xz.s7i can handle uncompressed chunks in an XZ archive. A bug in the function length() has been fixed also.
  • The new library fileutil.s7i has been added. This library supports inserting and deleting areas in a file. The function copyFile, which copies data between open files, has been moved from file.s7i to fileutil.s7i.
  • The function truncate(), which changes the length of a file, has been added to file.s7i, external_file.s7i, clib_file.s7i, strifile.s7i and utf16.s7i.
  • The library iobuffer.s7i has been improved to allow switching between reading and writing (and vice versa) as long as seek() is called in between. The functions flush() and close() have been added and the functions seek(), tell() and moveLeft() have been improved.
  • The function deflate(), which deflates a string has been added to the library deflate.s7i.
  • The function moveLeft() has been improved in strifile.s7i and stritext.s7i.
  • The function timestamp1601 has been added to time.s7i.
  • The bas7.sd7 (basic interpreter) example program has been improved. Support for LINPUT statements, for the function RPT$ and for the string concatenation operator & has been added. The predefined subprogram CHAR has been improved. Now PRINT statemens allow a colon (:) between strings to describe a line break. Now INPUT statements allow a colon (:) between input prompt and variable list. A dummy implementation of the predefined subprogram SOUND has been defined.
  • In seed7_05.s7i the definition of ::= for the type void has been changed to use the action ENU_CREATE instead of PRC_NOOP. This avoids a strange interpreter message (loc not dumped) if a void value is written.
  • Tests in chkint.sd7 have been split into several functions.
  • Documentation in the FAQ, the manual and s7c.1 has been improved.
  • Interpreter and compiler have been improved to support the new action FIL_TRUNCATE.
  • The compiler has been improved (in comp/inline.s7i in the function push_inline_func_param) to add a "const" for a parameter definition. This avoids a compilation error with g++.

Details

Provenance
gahrAuthored on
Parents
rP537905: MFH: r537587 r537837
Branches
Unknown
Tags
Unknown