Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Aug 2023 15:23:23 GMT
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f40164d18b6f - main - lang/seed7: 05_20230709
Message-ID:  <202308291523.37TFNNRO057229@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by gahr:

URL: https://cgit.FreeBSD.org/ports/commit/?id=f40164d18b6fb2de77bf535cf09245340de463ba

commit f40164d18b6fb2de77bf535cf09245340de463ba
Author:     Pietro Cerutti <gahr@FreeBSD.org>
AuthorDate: 2023-08-29 15:22:13 +0000
Commit:     Pietro Cerutti <gahr@FreeBSD.org>
CommitDate: 2023-08-29 15:23:18 +0000

    lang/seed7: 05_20230709
    
    20230709:
    - Explanations about the initialization with 'is', the 'return'
      declaration construct and the meaning of dollar signs have been
      added or improved in the FAQ.
    - A chapters about arrays has been added to the tutorial.
    - In the manual, chapters about variants of for-each loops have been
      added or improved.
    - A chapter about the exception GRAPHIC_ERROR has been added to the
      manual.
    - The compiler (s7c.sd7) has been improved:
      - The generated code for array indexing that always raises
        INDEX_ERROR, has been improved to be accepted by clang. A cast to
        the desired type has been added.
      - The code generation for the hash set functions card() and rand()
        has been improved to support temporary sets.
      - Spezialized code is now generated, if the hash set function rand()
        is used with constant sets.
      - The functions strHeadAssign and strTailAssign are used now. They
        are always called like this: aString = strHeadAssign(aString, pos);
    - In the library gzip.s7i the functions length() and tell() have been
      added for a gzipWriteFile.
    - In the library tar.s7i the function putFile() has been improved to
      check for seekable() before aplying seek().
    - The function pemObject() which creates a PEM object from 'pemType'
      and 'content' has been added to pem.s7i.
    - Support for the generation of non-self-signed certificates has been
      added to the x509cert.s7i library.
    - Support for X509 extensions has been added to the x509cert.s7i
      library.
    - A function to create an x509Name has been added to x509cert.s7i.
    - In x509cert.s7i several things have been renamed:
      - The types validityType and nameType have been renamed to
        x509Validity and x509Name respectively.
      - The function getName() has been renamed to getX509Name().
      - The parameter encryptionKey has been renamed to issuerKey.
    - In x509cert.s7i the type x509cert is deprecated now. The type
      x509Cert should be used instead.
    - In asn1.s7i and x509cert.s7i parameters and result variables have
      been renamed from 'stri' to 'asn1'.
    - In pkcs1.s7i an additional function to generate a RSA key pair has
      been added.
    - Now 'in varfunc' call-by-name parameters can be specified with 'in'
      and 'ref'. This is done in the library seed7_05.s7i by defining
      IN_PARAM_IS_REFERENCE(varfunc aType).
    - In seed7_05.s7i the boolean condition parameters of loops have been
      changed to be defined with 'ref'. This corresponds to the fact that
      changing a condition variable in the loop body can terminate the
      loop.
    - The test suite has been improved to increase the code coverage.
    - A test program for enumerations (chkenum.sd7) has been added.
    - Tests have been added to chkbig.sd7:
      - Tests for bigInteger comparisons (=, <>, <, <=, >=, > and compare).
      - Tests for the optimization of ord(a mod b).
      - Tests for the multiplication of a constant with a bigInteger.
      - Tests for the divRem operator and for the rand and gcd functions.
      - Tests for the modulus of a bigInteger by a power of two.
    - Tests have been added to chkbin.sd7:
      - Tests for the bin64 &, | and >< operators.
      - Tests for the optimization of bin64(a mod b).
      - Tests for bin64 shift operator have been improved.
    - Tests have been added to chkbst.sd7:
      - Tests for bstring length.
      - Improve tests for bstring assignments.
    - Tests have been added to chkchr.sd7:
      - Tests for char literals and conversions
      - Tests for the char functions succ(), pred(), lower() and upper().
    - Tests in chkhsh.sd7 have been improved:
      - Tests for hash tables with enumeration type keys and values have
        been added.
      - Tests for hash tables with bstring keys and values have been added.
      - Tests for hash tables with bitset keys and values have been added.
      - Tests for hash keys() and values() function have been added.
    - Tests in chkstr.sd7 have been improved:
      - Tests for c_literal() have been added.
      - Tests for string head (stri[.. stop]) have been added.
      - Tests for string tail (stri[start ..]) have been added.
      - Tests for the string pos(), rpos() and replace() functions have
        been added. These tests trigger a Boyer-Moore string search.
      - Tests for fromUtf8() have been added.
      - Tests for lower() and upper() have been added.
      - Tests for string assignment have been added.
    - Tests for the expression A * B ** C have been added to chkint.sd7
      and chkovf.sd7.
    - Tests for string head (stri[.. n]) and string tail (stri[n ..]) have
      been added to chkidx.sd7.
    - In chkset.sd7 tests for the hash set functions card(), rand() and
      toArray() have been added. Tests for the operators 'in' and 'not in'
      have been added as well.
    - In chkprc.sd7 tests for for-until loops have been added.
    - Tests for the type clib_file and for the functions seekable(),
      tell(), bigTell() and seek() have been added to chkfil.sd7.
    - The handling of the version level (the last number in the version
      string) has been improved:
      - The file src/level_rl.h which contains the release level has been
        introduced.
      - The files src/level.h and src/level_bk.h have been removed from the
        release.
      - In the makefiles the target distclean has been improved to remove
        src/level.h and src/level_bk.h.
      - The program levelup.c has been improved to maintain the file
        level.h. If level_rl.h has changed it will be copied to level.h. If
        there is no change in level_rl.h every compilation of s7 will
        increment the level.
      - The program wrdepend.c has been improved to check if level.h is
        missing. In this case, level_rl.h is copied to level.h.
      - The minor version number of s7 and s7c has been incremented.
    - In seed7_05.s7i, forloop.s7i, chkarr.sd7, chkbig.sd7, chkbin.sd7,
      chkbst.sd7, chkfil.sd7, chkflt.sd7, chkidx.sd7, chkint.sd7,
      chkovf.sd7, chkset.sd7 and chkstr.sd7 'ref func' parameters have been
      replaced with 'in func' parameters.
    - In chk_all.sd7, chkarr.sd7, chkfil.sd7, chkidx.sd7, chkovf.sd7 and
      chkstr.sd7 'ref proc' parameters have been replaced with 'in proc'
      parameters.
    - In str_rtl.c the functions strHeadAssign and strTailAssign have been
      introduced. These functions leave the string parameter intact in case
      of an error.
    - In str_rtl.c the function strHeadTemp has been refactored to assume
      that the string parameter is always tempory and can be freed in case
      of an error.
    - Documentation comments have been improved in pem.s7i and
      x509cert.s7i.
---
 lang/seed7/Makefile            |  2 +-
 lang/seed7/distinfo            |  6 +++---
 lang/seed7/files/patch-9654fd6 | 35 -----------------------------------
 3 files changed, 4 insertions(+), 39 deletions(-)

diff --git a/lang/seed7/Makefile b/lang/seed7/Makefile
index 121483d6e57d..b2a15bd02923 100644
--- a/lang/seed7/Makefile
+++ b/lang/seed7/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	seed7
-DISTVERSION=	05_20230529
+DISTVERSION=	05_20230709
 PORTREVISION=	0
 CATEGORIES=	lang
 MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}/${DISTNAME}/
diff --git a/lang/seed7/distinfo b/lang/seed7/distinfo
index f14e36baa1f5..9b0850e59bbb 100644
--- a/lang/seed7/distinfo
+++ b/lang/seed7/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1685534550
-SHA256 (seed7_05_20230529.tgz) = 09ba3604bde9b1cbc06fbafa9917269fe1bcf927479f21ee789c26471a982ed1
-SIZE (seed7_05_20230529.tgz) = 3966570
+TIMESTAMP = 1693303174
+SHA256 (seed7_05_20230709.tgz) = 040b2a94dc9695959635c9ec3b1b8731c2f982b268a0bf8af9a65c2a315a2348
+SIZE (seed7_05_20230709.tgz) = 4037953
diff --git a/lang/seed7/files/patch-9654fd6 b/lang/seed7/files/patch-9654fd6
deleted file mode 100644
index 1138575a9cc1..000000000000
--- a/lang/seed7/files/patch-9654fd6
+++ /dev/null
@@ -1,35 +0,0 @@
-From 9654fd670035297f239284013f38a3032e5a392c Mon Sep 17 00:00:00 2001
-From: Thomas Mertes <thomas.mertes@gmx.at>
-Date: Thu, 1 Jun 2023 12:46:17 +0200
-Subject: [PATCH] Fix issue with clang compiling chkarr
-
----
- ../lib/comp/arr_act.s7i | 8 ++++++--
- 1 file changed, 6 insertions(+), 2 deletions(-)
-
-diff --git ../lib/comp/arr_act.s7i.orig ../lib/comp/arr_act.s7i
-index b393c9c2..206e4a0d 100644
---- ../lib/comp/arr_act.s7i.orig
-+++ ../lib/comp/arr_act.s7i
-@@ -448,7 +448,9 @@ const proc: process_const_arr_idx (in reference: function, in reference: anArray
-       index_value := getValue(evaluatedParam, integer);
-       if index_value < arrayMinIdx(anArray) or index_value > arrayMaxIdx(anArray) then
-         warning(DOES_RAISE, "INDEX_ERROR", c_expr);
--        c_expr.expr &:= intRaiseError("INDEX_ERROR");
-+        c_expr.expr &:= "(";
-+        c_expr.expr &:= type_name(resultType(getType(function)));
-+        c_expr.expr &:= ")(raiseError(INDEX_ERROR), 0)";
-       else
-         c_expr.expr &:= "arr[";
-         c_expr.expr &:= str(const_table[anArray]);
-@@ -462,7 +464,9 @@ const proc: process_const_arr_idx (in reference: function, in reference: anArray
-       if indexRange.maxValue < arrayMinIdx(anArray) or
-           indexRange.minValue > arrayMaxIdx(anArray) then
-         warning(DOES_RAISE, "INDEX_ERROR", c_expr);
--        c_expr.expr &:= intRaiseError("INDEX_ERROR");
-+        c_expr.expr &:= "(";
-+        c_expr.expr &:= type_name(resultType(getType(function)));
-+        c_expr.expr &:= ")(raiseError(INDEX_ERROR), 0)";
-       else
-         c_expr.expr &:= "arr[";
-         c_expr.expr &:= str(const_table[anArray]);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202308291523.37TFNNRO057229>