From nobody Thu Aug 04 06:19:45 2022 X-Original-To: dev-commits-ports-main@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 4Lyz8y1pvRz4Y4Kv; Thu, 4 Aug 2022 06:19:46 +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 4Lyz8y0x7Bz3M2V; Thu, 4 Aug 2022 06:19:46 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659593986; 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=J+Ks7shmsPEt/LVAisLqKvLUlLtF7A53vDz2lfuX1+w=; b=l8FbzQeB/3aTAfFTz3oLCnbyVhvnCEpwvPr+8AQyluRBZyF4Upc1EqIyDVMCA2ymM6GXdD SvfP1/W1Uwwyzu5I3E6nhUaudSIiWzm0h9WxMqC4Xnc4kSfDIcIAlLahoZnpo0xEi0sTeN J9JXD+0i+WtufO/dOujbWYRjPX0fIYA/pwpJW0XkbYztrsR+j+qduDQhwwAqTPjyvUHi4p JXwCNtW/zyQc4Swhr2+HqsvMdvdf98IM6ysjalk9+oRcS32tFXNhmvf2EANu/+SEDGIUuQ CfWZtcW3DBI0TUNKsMOTPDYvHpENxH7suMHJPEgfVYWjLgBvTAYD1LRCbugSIw== 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 4Lyz8x6lWVz1KSy; Thu, 4 Aug 2022 06:19:45 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 2746Jj6F031865; Thu, 4 Aug 2022 06:19:45 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2746Jjg7031864; Thu, 4 Aug 2022 06:19:45 GMT (envelope-from git) Date: Thu, 4 Aug 2022 06:19:45 GMT Message-Id: <202208040619.2746Jjg7031864@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: 426955192632 - main - lang/seed7: update to 05_20220724 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@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: 426955192632d28fb6c56e2d2a7558f6f964e9f7 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1659593986; 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=J+Ks7shmsPEt/LVAisLqKvLUlLtF7A53vDz2lfuX1+w=; b=ITDmj9ihFeZV5GoctXIu3nBFbdGq+m3RFco6KH0uLXQSmyQMPUMa5h5/UkpZahTNhVAuKa rYNA/uuElPOcuM14yij9E2VHRd+ZzXpIB3TYq3iQcdvUPyfGOHxUsJFlk+6I0yJLWEc/vX FRiNlV5MuysTSyecthD9lQp6nfs0XdbwF77HwSTkdczyffnR/yzZGutH7BOTGmYkdRyqTt FQcRUVjaFUIjMrDxBTxQ331ZE8OjGczn4C9oDGaPeTSeMUpzeXyAdXxXrp/MFfGbaPc8sY u2jDFL+8zLCzVPYpqFN0DoCLI0aedF8yJroKFNi0eKbVbDFe1PVPqegg8pLBmw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1659593986; a=rsa-sha256; cv=none; b=NRM3Ki+5Fn4drj2sZKeNBbaXYdZrv/1b0Kwf9yU2wJmtbXFrN6O+6YLATAYzD0XcnZyuM+ afnPLZkxAS0NJqZF07Aedr/QfJ52W85gvvx1sxsZ2d9+WokCJOa9ug2HZ6cwUsKXmXpCvA cO8bdQeKoj2pSO3RBtgUioord+AlccXYt9mVnf6aMb13P0BB/Fs8ccSvlrZKFRiU7e1YP+ 8gXmH+wS2gi7X3uvzGjBoGbNt2eLLHEpbdGY8FFQxTj2Q7fDF9NRcHl3dYwtN3jqS6uYBZ 7FnudGW7YvljY5n/U+s/WAqV6/ri14jPvpq+w2UXebKGazOp0XPBOL9jpbJl5A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by gahr: URL: https://cgit.FreeBSD.org/ports/commit/?id=426955192632d28fb6c56e2d2a7558f6f964e9f7 commit 426955192632d28fb6c56e2d2a7558f6f964e9f7 Author: Pietro Cerutti AuthorDate: 2022-08-04 06:07:24 +0000 Commit: Pietro Cerutti CommitDate: 2022-08-04 06:19:20 +0000 lang/seed7: update to 05_20220724 20220724: - The operating system DOS is supported (with DJGPP) again. The tests have been done with Dosbox. - Explanations about syntax highlighting, static type checking and return type overloading have been improved in the FAQ. - In the manual, the chapter about the keyboard has been improved to explain the window close button and window resize events. The manual has also been adjusted to describe the new functions instead of the deprecated ones. - The error messages for failed declarations have been improved. - The error reporting has been improved to also show an error line if parsing the file has finished. - Reading from a Windows console with getc(KEYBOARD) has been improved to support all Unicode characters (including characters outside of the Basic Multilingual Plane). This allows the reading of characters that have been pasted from the clipboard to a console window. - The functions inputReady(), getc(aFile, NO_WAIT), clickedXPos() and clickedYPos() have been added to keybd.s7i. - The functions toUtf8(), fromUtf8(), toUtf16Be(), fromUtf16Be(), toUtf16Le(), fromUtf16Le() and fromUtf7() have been added to unicode.s7i. - The functions toUtf16Be() and toUtf16Le() raise RANGE_ERROR if a surrogate character is present. - The functions fromUtf16Be() and fromUtf16Le() raise RANGE_ERROR if an invalid surrogate pair is found (a single surrogate character or surrogate characters not in the proper succession). - In unicode.s7i the function replaceUtf16SurrogatePairs() has been fixed to work correctly. - Tests for toUtf16Be(), fromUtf16Be(), toUtf16Le(), fromUtf16Le() and replaceUtf16SurrogatePairs() have been added to chkstr.sd7. - Several improvements have been done in chkccomp.c: - If reading a numeric test result fails, the program waits for a second before restarting the test. - It shows an error message if a test fails to deliver a numeric result. - It does not create an empty test program. Some anti virus software considers an empty program to be dangerous. - It determines if partial linking is actually working. - A list of potential partial linking options is tested to find the correct one. - The number of warnings has been reduced. - In tim_dos.c, tim_unx.c and tim_win.c the function timNow() has been improved to work also for an unsigned time_t. - The support for the unused action SCT_ELEM has been removed. - In keybd.s7i the functions keypressed(), busy_getc(), getxpos() and getypos() are deprecated now. The functions inputReady(), getc(aFile, NO_WAIT), clickedXPos() and clickedYPos() should be used instead. - The files dialog.s7i, bas7.sd7, carddemo.sd7, castle.sd7, clock.sd7, clock2.sd7, clock3.sd7, dnafight.sd7, ftp7.sd7, gkbd.sd7, hal.sd7, kbd.sd7, klondike.sd7, lander.sd7, mahjong.sd7, mandelbr.sd7, mirror.sd7, pac.sd7, pairs.sd7, panic.sd7, planets.sd7, prime.sd7, pv7.sd7, rand.sd7, savehd7.sd7, shisen.sd7, sl.sd7, snake.sd7, sokoban.sd7, sudoku7.sd7, tet.sd7, tetg.sd7 and wator.sd7 have been altered to use inputReady(), getc(aFile, NO_WAIT), clickedXPos() and clickedYPos() instead of the deprecated functions. - In keybd.s7, the implementation of getc(aFile, NO_WAIT) is now based on inputReady(). The primitive actions KBD_BUSY_GETC and GKB_BUSY_GETC are not needed anymore. - The support for the primitive actions KBD_BUSY_GETC and GKB_BUSY_GETC has been removed from interpreter and compiler. Changes have been done in drwlib.c, drwlib.h kbdlib.c, kbdlib.h, primitiv.c, comp/action.s7i, comp/gkb_act.s7i and comp/kbd_act.s7i. - The actions GKB_KEYPRESSED and KBD_KEYPRESSED have been renamed to GKB_INPUT_READY and KBD_INPUT_READY respectively. - In unicode.s7i the functions striToUtf8(), utf8ToStri(), striToUtf16be(), utf16beToStri, striToUtf16le, utf16leToStri and utf7ToStri() are deprecated now. The functions toUtf8(), fromUtf8(), toUtf16Be(), fromUtf16Be(), toUtf16Le(), fromUtf16Le() and fromUtf7() should be used instead. - The files ar.s7i, cgi.s7i, cgidialog.s7i, charsets.s7i, cpio.s7i, csv.s7i, ftp.s7i, ftpserv.s7i, gethttp.s7i, httpserv.s7i, rpm.s7i, tar.s7i, zip.s7i, chkstr.sd7, ide7.sd7 s7c.sd7, comp/debug.s7i and comp/expr_util.s7i have been altered to use the new functions instead of the deprecated function. - The exception CLOSE_ERROR has been renamed to GRAPHIC_ERROR. - The graphic drivers have been changed to raise GRAPHIC_ERROR instead of FILE_ERROR. - The C macro SUPPORTS_PARTIAL_LINKING has been renamed to LINKER_OPT_PARTIAL_LINKING in chkccomp.c and several makefiles. - The functions checkPartialLinking() and determinePartialLinking() have been added to chkccomp.c. These functions determine if partial linking is actually working. - Documentation comments have been improved in keybd.s7i, unicode.s7i, drwlib.c and kbdlib.c. - In several files phrases like "illegal encoding" and "illegal file names" have been replaced with "invalid encoding" and "invalid file names". 20220626: - Syntax highlighting for the Nano editor has been added. Many thanks to Duke Normandin for creating seed7.nanorc. - The syntax highlighting of vim (in seed7.vim) has been improved. - The file syntaxhl.sd7 has been improved. - Explanations about type inference, return type overloading and integer overflow have been improved in the FAQ. - In the manual the tutorial chapter "For loop and containers" has been improved. The chapter about errors has been improved also. - The documentation in src/read_me.txt has been improved and the new file src/read_me.htm has been introduced. - The interpreter (s7) has been improved to write the error message with the correct line if a declaration fails (changes have been done in dcllib.c and error.c). - The new library pem.s7i has been added. This library supports the PEM cryptographic file format. - In encoding.s7i the function fromBase64 has been improved to check that no = is in the middle of a base64 string. - The library zstd.s7i has been fixed to work correct if the ID field size of the dictionary is 0. - The Seed7 compiler (s7c) has been improved to support warning levels. - The compiler has been improved to support case statements if the C switch statement does not work for int64Type (in prc_act.s7i). - In the compiler the string concatenation optimizations have been improved (in str_act.s7i). - Tests for string concatenation have been added to chkstr.sd7. - Checks for converting float expressions to bin32 and bin64 have been added to chkbin.sd7. - The support for the function log1p has been improved (in flt_rtl.c, flt_rtl.h and flt_act.s7i). - In the library asn1.s7i the function printAsn1 has been improved. - The usage of the GMP library has been disabled by default. It turned out that database connection libraries used GnuTLS which used GMP with a custom memory allocator. This caused a memory corruption. All makefiles now define USE_GMP as 0. - The program chkccomp.c has been improved to: - Determine the C language version supported by the compiler. - Determine C overflow behavior of int division. - The handling of integer division overflow has been fixed to avoid a MinGW gcc bug that triggers an endless loop. - Several types in database drivers have been renamed to avoid violating the C++ One Definition Rule (in sql_cli.c, sql_db2.c, sql_fire.c, sql_ifx.c, sql_lite.c, sql_my.c, sql_oci.c, sql_post.c, sql_srv.c and sql_tds.c). - Adjustments have be done in s7c.sd7 and comp/str_act.s7i to support compilation with a C++ compiler. - In common.h the macro logErrorIfTrueX has been introduced. - Function logging has been added to big_gmp.c, kbd_inf.c and kbd_poll.c. - Errors in function logging have been fixed in arr_rtl.c, big_rtl.c, drw_x11.c and sql_rtl.c. - Definitions of LOG1P_FUNCTION_OKAY, INT_DIV_OVERFLOW and INT_REM_OVERFLOW have been added to cc_conf.s7i. The definition of HAS_LOG1P has been removed. The file cmd_rtl.c and the program confval.sd7 have been adjusted. - Documentation comments have been updated in array.s7i, bin32.s7i, bin64.s7i, cc_conf.s7i, external_file.s7i, file.s7i, hash.s7i, math.s7i and flt_rtl.c. --- lang/seed7/Makefile | 5 +++-- lang/seed7/distinfo | 6 +++--- lang/seed7/pkg-plist | 2 ++ 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/lang/seed7/Makefile b/lang/seed7/Makefile index b9c431be6904..a8035cace2f5 100644 --- a/lang/seed7/Makefile +++ b/lang/seed7/Makefile @@ -1,5 +1,5 @@ PORTNAME= seed7 -DISTVERSION= 05_20220522 +DISTVERSION= 05_20220724 PORTREVISION= 0 CATEGORIES= lang MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${DISTNAME}/ @@ -65,10 +65,11 @@ do-install: cd ${WRKSRC}/../lib/comp && ${COPYTREE_SHARE} '*.s7i' ${STAGEDIR}${SEED7_LIBRARY}/comp # install static libraries ${INSTALL} -d ${STAGEDIR}${S7_LIB_DIR} -# install vim syntax files +# install vim and nano syntax files ${INSTALL} -d ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/../doc/seed7.vim ${STAGEDIR}${DATADIR} ${INSTALL_DATA} ${WRKSRC}/../doc/sd7.vim ${STAGEDIR}${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/../doc/seed7.nanorc ${STAGEDIR}${DATADIR} .for s7_lib in ${S7_LIBS} ${INSTALL_DATA} ${WRKSRC}/../bin/${s7_lib} ${STAGEDIR}${S7_LIB_DIR} .endfor diff --git a/lang/seed7/distinfo b/lang/seed7/distinfo index f50356d22da9..271f310a1a86 100644 --- a/lang/seed7/distinfo +++ b/lang/seed7/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1654596318 -SHA256 (seed7_05_20220522.tgz) = a4483a80770e27edd7b56320297ed2f3b69bd92179cfa750f3c090cba3f9a632 -SIZE (seed7_05_20220522.tgz) = 3754170 +TIMESTAMP = 1659511148 +SHA256 (seed7_05_20220724.tgz) = 23e0618dde0270e0c3c6417c87478af739b563067c5d5b6ac9958e0e499c1bb3 +SIZE (seed7_05_20220724.tgz) = 3795004 diff --git a/lang/seed7/pkg-plist b/lang/seed7/pkg-plist index 6617561e2dd2..286beb7cad8e 100644 --- a/lang/seed7/pkg-plist +++ b/lang/seed7/pkg-plist @@ -2,6 +2,7 @@ bin/s7 bin/s7c %%DATADIR%%/seed7.vim %%DATADIR%%/sd7.vim +%%DATADIR%%/seed7.nanorc lib/seed7/bin/s7_comp.a lib/seed7/bin/s7_con.a lib/seed7/bin/s7_data.a @@ -167,6 +168,7 @@ lib/seed7/lib/msgdigest.s7i lib/seed7/lib/multiscr.s7i lib/seed7/lib/null_file.s7i lib/seed7/lib/osfiles.s7i +lib/seed7/lib/pem.s7i lib/seed7/lib/pic_util.s7i lib/seed7/lib/pic16.s7i lib/seed7/lib/pic32.s7i