From nobody Tue Aug 29 15:23:23 2023 X-Original-To: dev-commits-ports-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RZrmC32R5z4rvH4; Tue, 29 Aug 2023 15:23:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RZrmC2Tjzz3XkG; Tue, 29 Aug 2023 15:23:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693322603; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jdkldWnkw4Yt2FbC5OZSEbMEjwjaxCp/m40PJssd6kQ=; b=P6U7VIsLAV06UzB5q4e7CILtnJTPittdsTZGFqPSFmt5aX6+ZcAPYTMdjWGIagCLcO7TiB G3f6lCS5ls26rIMFrqaZGjVFzTKJn+xiaAAK+Y3kauYih5Q4EGtX4BPN9ruL0EUW5TnRgY JKfwRCZWB3YAOW2wqXY8BtPlPtWNZlxvUcjSdvV0V4+Cby8GY46rA9u7rfgL6+AZd5xcWt XuYSAPBMcfTuu99ItSJ8jB+RO7+6ZkVo0/W1IBc/ctftdIXSwvaan5PN57oGLdX3kQYPjy UV+3ozGeXzDiY+rUo0L/nqsKc9EM50wpqCK5ULmNxE8M1Jyos6U08ZRF+NSngg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1693322603; a=rsa-sha256; cv=none; b=beZtKEkl3Y9Q0zJHe1FJ1/mqGxoPfTFkoLJFOgKmgdpG1DkG/FtYUw2Svdhy09FrL8tHGi mspnHtWMRYJF0QtZ4GWk5atvOaR7P79bSKysRQYXrNndkv+QMeiJFXlTbq4u6AMuhTcwdx 0gG+vDBokUB3Ts3x9/IjS6yDgmLRPWs/qq/sR8W/Dv5iqnaPKbUhrlV54S0WIT3Ll1AoeU Lp3HvbeN/4cUG958BBkGXX08Nul2/CFvQaQsxfug9QqQa0qW+iGAnKPttqreXvgOIHQ4k4 4IQF/OudD2tqyW8dfc5/gFtaoZNoVGFMxP21nhA29rU4Rrecfi9nV1ZYj65zig== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1693322603; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=jdkldWnkw4Yt2FbC5OZSEbMEjwjaxCp/m40PJssd6kQ=; b=KQOCaZSvHfmVvoM9X0XK7avbN2xH6VMgHAqEoTBjLwTywpTCm1zNaXfJEloiHO/W9zoJa9 O23k5GNyioAVmEWoPKUvfLx/GChwxQyx+R83TUG4Yf8c+j2pvxpyoadx3DOedbCGv8Lb53 f/EUmDcKgdtXpVlwLhs9eBWYP0phleZMKW/lhAAcFUG9jfFNJffkcWaLiB56gw6xvnKFtN uIJosBilG2G5ySgeXeWhODHIMDGo/x5xwJVlb9R/Nvr83U/1yrNUxBiSxvobZWzeS/FaDb 8P3eMx2VyRp9nzLKHEbpGkMl7qz97Hk2qoAFhfUPVVk33Y1leMssapmS8oXIcA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RZrmC1VtfzxKp; Tue, 29 Aug 2023 15:23:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37TFNNKY057232; Tue, 29 Aug 2023 15:23:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37TFNNRO057229; Tue, 29 Aug 2023 15:23:23 GMT (envelope-from git) Date: Tue, 29 Aug 2023 15:23:23 GMT Message-Id: <202308291523.37TFNNRO057229@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Pietro Cerutti Subject: git: f40164d18b6f - main - lang/seed7: 05_20230709 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: gahr X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f40164d18b6fb2de77bf535cf09245340de463ba Auto-Submitted: auto-generated The branch main has been updated by gahr: URL: https://cgit.FreeBSD.org/ports/commit/?id=f40164d18b6fb2de77bf535cf09245340de463ba commit f40164d18b6fb2de77bf535cf09245340de463ba Author: Pietro Cerutti AuthorDate: 2023-08-29 15:22:13 +0000 Commit: Pietro Cerutti 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 -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]);