HomeFreeBSD

lang/seed7: update to 05_20230913

Description

lang/seed7: update to 05_20230913

20230913:

  • The parameters of getHttp(), getHttps() and getFtp() have been renamed from 'url' to 'location'. A location is a URL without http://, https:// and ftp://, respectively. Many thanks to Liam O'Brien for pointing out that getHttps("https://example.com/") does not work. The documentation has been improved to contain the example getHttps("example.com").
  • The exit() function has been moved from seed7_05.s7i to the library environment.s7i. Many thanks to u/IllegalMigrant for pointing out that exit() was not documented.
  • The libraries lower.s7i, more.s7i, upper.s7i, archive_base.s7i, http_response.s7i, makedata.s7i, tar_cmds.s7i and tee.s7i have been added to the library section and the subject index of the homepage. Many thanks to Liam O'Brien for pointing out that they were missing.
  • The contrast of menus in the Seed7 homepage has been improved. Many thanks u/SachemAgogic for pointing out that the contrast was too low.
  • The make7 example program has been improved to support C++. Now the macros CXX and CXXFLAGS are supported as well as the target .cpp.o and the pattern rule "%.o" with a dependency of "%.cpp" (changes have been made in make.s7i and makedata.s7i).
  • Chapters about the types 'database' and 'sqlStatement' have been added to the manual.
  • The file to generate a man page for the Seed7 compiler (doc/s7c.1) has been improved.
  • A test program for time functions (chktime.sd7) has been added.
  • The program findchar.sd7 has been improved to support the option -e (specify extension) and to allow a search for any char (with the option c).
  • The program calc7.sd7 has been improved to support the function getFtp().
  • The program tar7.sd7 has been improved:
    • Wildcards can be used when an archive is created. This works even if the OS shell does not support wildcards.
    • Specific members from an archive can be requested when an archive is extracted (or when listing archive contents with tell).
  • The library tar_cmds.s7i has been improved to support the changes of tar7.sd7.
  • In lib/comp/int_act.s7i the integer overflow checks created by the compiler have been improved. This improvement is used if both factors are unknown at compile time and for C compilers that have neither builtin overflow operations, nor an option like -ftrapv, nor support for 128-bit integers.
  • Tests for the improved overflow checks have been added to chkint.sd7 and chkovf.sd7.
  • In the library makedata.s7i, the rule 'name' has been renamed to 'target'. The library make.s7i has been adjusted to use 'target'.
  • In scanfile.s7i and scanstri.s7i the functions getNextXmlAttribute() and getNextHtmlAttribute() have been aligned to behave identically if there are no more attributes in a tag.
  • In htmldom.s7i the function readHtmlNode has been adjusted to the change of getNextHtmlAttribute().
  • Several improvements have been made in the time.s7i library:
    • The function time() with a micro seconds parameter has been added.
    • The function toLocalTZ() has been added.
    • The functions hashCode(), toUTC(), timestamp1601() and timestamp1601ToTime() have been fixed to work correctly.
  • In duration.s7i the function hashCode() has been fixed to work correctly.
  • In httpserv.s7i the functions processHttpRequest() and getRequest() have been renamed to getHttpRequest(). The webserver comanche.sd7 has been changed to call getHttpRequest() instead of getRequest().
  • In tee.s7i the type teeFile has been improved to allow writing to many files at once.
  • The libraries lower.s7i, more.s7i, tee.s7i and lower.s7i have been refactored to use camel case identifiers and documentation comments.
  • In asn1.s7i the struct asn1DataElement has been changed. Using the tagCategory of an asn1DataElement is deprecated now. Use tagType instead of tagCategory as tagType is also used in the ASN.1 documentation. The renaming has also been done in x509cert.s7i.
  • The program chk_all.sd7 has been improved to write a warning if the execution of a test program fails.
  • Tests for hash tables with time keys and values have been added to chkhsh.sd7.
  • In tim_rtl.c the function timSetLocalTZ() has been improved to raise RANGE_ERROR if a value is not in the allowed range.
  • In sql_cli.c and sql_lite.c calls of timSetLocalTZ() have been simplified.
  • The abstract data type (template) to define enumeration types has been moved from seed7_05.s7i to the new enumeration.s7i library.
  • In drw_emc.c and gkb_emc.c opening a window with a requested size has been improved to work correctly if the Firefox window is maximized.
  • Logging functions have been added in con_emc.c, drw_emc.c, emc_utl.c, gkb_emc.c, tim_rtl.c and tim_unx.c.
  • In str_rtl.c comments about the silencing of a C compiler warning have been added to strHeadAssign() and strHeadTemp().
  • In common.h the definitions of TIME_T_MIN, TIME_T_MAX and inTimeTRange() have been improved.
  • Documentation comments have been added or improved in ar.s7i, archive_base.s7i, array.s7i, asn1.s7i, bitset.s7i, bitsetof.s7i, boolean.s7i, cpio.s7i, ftp.s7i, gethttp.s7i, gethttps.s7i, hashsetof.s7i, http_response.s7i, httpserv.s7i, idxarray.s7i, lower.s7i, makedata.s7i, more.s7i, pkcs1.s7i, rpm.s7i, scanfile.s7i, scanstri.s7i, sql_base.s7i, tar.s7i, tar_cmds.s7i, tee.s7i, time.s7i, upper.s7i, zip.s7i, tim_rtl.c and tim_unx.c.

Details

Provenance
gahrAuthored on Sep 14 2023, 12:22 PM
Parents
R11:e734822d17d8: lang/gcc14-devel: Update to 14.0.0.s20230910
Branches
Unknown
Tags
Unknown