Received: by mail.netbsd.org (Postfix, from userid 605) id B89CA84D7A; Sun, 20 Sep 2020 08:32:32 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 3CA4484D44 for ; Sun, 20 Sep 2020 08:32:32 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id 0GS-dBxupDPd for ; Sun, 20 Sep 2020 08:32:31 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id E29F884D41 for ; Sun, 20 Sep 2020 08:32:30 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id D6E0DFB28; Sun, 20 Sep 2020 08:32:30 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1600590750218560" MIME-Version: 1.0 Date: Sun, 20 Sep 2020 08:32:30 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/devel/re2c To: pkgsrc-changes@NetBSD.org Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20200920083230.D6E0DFB28@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1600590750218560 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Module Name: pkgsrc Committed By: wiz Date: Sun Sep 20 08:32:30 UTC 2020 Modified Files: pkgsrc/devel/re2c: Makefile PLIST distinfo Log Message: re2c: update to 2.0.3. 2.0.3 (2020-08-22) ~~~~~~~~~~~~~~~~~~ - Fix issues when building re2c as a CMake subproject (`#302 `_: - Final corrections in the SIMPA article "RE2C: A lexer generator based on lookahead-TDFA", https://doi.org/10.1016/j.simpa.2020.100027 2.0.2 (2020-08-08) ~~~~~~~~~~~~~~~~~~ - Enable re2go building by default. - Package CMake files into release tarball. 2.0.1 (2020-07-29) ~~~~~~~~~~~~~~~~~~ - Updated version for CMake build system (forgotten in release 2.0). - Added a short article about re2c for the Software Impacts journal. 2.0 (2020-07-20) ~~~~~~~~~~~~~~~~ - Added new code generation backend for Go and a new ``re2go`` program (`#272 `_: Go support). Added option ``--lang ``. - Added CMake build system as an alternative to Autotools (`#275 `_: Add a CMake build system (thanks to ligfx), `#244 `_: Switching to CMake). - Changes in generic API: + Removed primitives ``YYSTAGPD`` and ``YYMTAGPD``. + Added primitives ``YYSHIFT``, ``YYSHIFTSTAG``, ``YYSHIFTMTAG`` that allow to express fixed tags in terms of generic API. + Added configurations ``re2c:api:style`` and ``re2c:api:sigil``. + Added named placeholders in interpolated configuration strings. - Changes in reuse mode (``-r, --reuse`` option): + Do not reset API-related configurations in each `use:re2c` block (`#291 `_: Defines in rules block are not propagated to use blocks). + Use block-local options instead of last block options. + Do not accumulate options from rules/reuse blocks in whole-program options. + Generate non-overlapping YYFILL labels for reuse blocks. + Generate start label for each reuse block in storable state mode. - Changes in start-conditions mode (``-c, --start-conditions`` option): + Allow to use normal (non-conditional) blocks in `-c` mode (`#263 `_: allow mixing conditional and non-conditional blocks with -c, `#296 `_: Conditions required for all lexers when using '-c' option). + Generate condition switch in every re2c block (`#295 `_: Condition switch generated for only one lexer per file). - Changes in the generated labels: + Use ``yyeof`` label prefix instead of ``yyeofrule``. + Use ``yyfill`` label prefix instead of ``yyFillLabel``. + Decouple start label and initial label (affects label numbering). - Removed undocumented configuration ``re2c:flags:o``, ``re2c:flags:output``. - Changes in ``re2c:flags:t``, ``re2c:flags:type-header`` configuration: filename is now relative to the output file directory. - Added option ``--case-ranges`` and configuration ``re2c:flags:case-ranges``. - Extended fixed tags optimization for the case of fixed-counter repetition. - Fixed bugs related to EOF rule: + `#276 `_: Example 01_fill.re in docs is broken + `#280 `_: EOF rules with multiple blocks + `#284 `_: mismatched YYBACKUP and YYRESTORE (Add missing fallback states with EOF rule) - Fixed miscellaneous bugs: + `#286 `_: Incorrect submatch values with fixed-length trailing context. + `#297 `_: configure error on ubuntu 18.04 / cmake 3.10 - Changed bootstrap process (require explicit configuration flags and a path to re2c executable to regenerate the lexers). - Added internal options ``--posix-prectable ``. - Added debug option ``--dump-dfa-tree``. - Major revision of the paper "Efficient POSIX submatch extraction on NFA". ---- 1.3x ---- 1.3 (2019-12-14) ~~~~~~~~~~~~~~~~ - Added option: ``--stadfa``. - Added warning: ``-Wsentinel-in-midrule``. - Added generic API primitives: + ``YYSTAGPD`` + ``YYMTAGPD`` - Added configurations: + ``re2c:sentinel = 0;`` + ``re2c:define:YYSTAGPD = "YYSTAGPD";`` + ``re2c:define:YYMTAGPD = "YYMTAGPD";`` - Worked on reproducible builds (`#258 `_: Make the build reproducible). ---- 1.2x ---- 1.2.1 (2019-08-11) ~~~~~~~~~~~~~~~~~~ - Fixed bug `#253 `_: re2c should install unicode_categories.re somewhere. - Fixed bug `#254 `_: Turn off re2c:eof = 0. 1.2 (2019-08-02) ~~~~~~~~~~~~~~~~ - Added EOF rule ``$`` and configuration ``re2c:eof``. - Added ``/*!include:re2c ... */`` directive and ``-I`` option. - Added ``/*!header:re2c:on*/`` and ``/*!header:re2c:off*/`` directives. - Added ``--input-encoding `` option. + `#237 `_: Handle non-ASCII encoded characters in regular expressions + `#250 `_ UTF8 enoding - Added include file with a list of definitions for Unicode character classes. + `#235 `_: Unicode character classes - Added ``--location-format `` option. + `#195 `_: Please consider using Gnu format for error messages - Added ``--verbose`` option that prints "success" message if re2c exits without errors. - Added configurations for options: + ``-o --output`` (specify output file) + ``-t --type-header`` (specify header file) - Removed configurations for internal/debug options. - Extended ``-r`` option: allow to mix multiple ``/*!rules:re2c*/``, ``/*!use:re2c*/`` and ``/*!re2c*/`` blocks. + `#55 `_: allow standard re2c blocks in reuse mode - Fixed ``-F --flex-support`` option: parsing and operator precedence. + `#229 `_: re2c option -F (flex syntax) broken + `#242 `_: Operator precedence with --flex-syntax is broken - Changed difference operator ``/`` to apply before encoding expansion of operands. + `#236 `_: Support range difference with variable-length encodings - Changed output generation of output file to be atomic. + `#245 `_: re2c output is not atomic - Authored research paper "Efficient POSIX Submatch Extraction on NFA" together with Dr Angelo Borsotti. - Added experimental libre2c library (``--enable-libs`` configure option) with the following algorithms: + TDFA with leftmost-greedy disambiguation + TDFA with POSIX disambiguation (Okui-Suzuki algorithm) + TNFA with leftmost-greedy disambiguation + TNFA with POSIX disambiguation (Okui-Suzuki algorithm) + TNFA with lazy POSIX disambiguation (Okui-Suzuki algorithm) + TNFA with POSIX disambiguation (Kuklewicz algorithm) + TNFA with POSIX disambiguation (Cox algorithm) - Added debug subsystem (``--enable-debug`` configure option) and new debug options: + ``-dump-cfg`` (dump control flow graph of tag variables) + ``-dump-interf`` (dump interference table of tag variables) + ``-dump-closure-stats`` (dump epsilon-closure statistics) - Added internal options: + ``--posix-closure `` (switch between shortest-path algorithms used for the construction of POSIX closure) - Fixed a number of crashes found by American Fuzzy Lop fuzzer: + `#226 `_, `#227 `_, `#228 `_, `#231 `_, `#232 `_, `#233 `_, `#234 `_, `#238 `_ - Fixed handling of newlines: + correctly parse multi-character newlines CR LF in ``#line`` directives + consistently convert all newlines in the generated file to Unix-style LF - Changed default tarball format from .gz to .xz. + `#221 `_: big source tarball - Fixed a number of other bugs and resolved issues: + `#2 `_: abort + `#6 `_: segfault + `#10 `_: lessons/002_upn_calculator/calc_002 doesn't produce a useful example program + `#44 `_: Access violation when translating the attached file + `#49 `_: wildcard state \000 rules makes lexer behave weard + `#98 `_: Transparent handling of #line directives in input files + `#104 `_: Improve const-correctness + `#105 `_: Conversion of pointer parameters into references + `#114 `_: Possibility of fixing bug 2535084 + `#120 `_: condition consisting of default rule only is ignored + `#167 `_: Add word boundary support + `#168 `_: Wikipedia's article on re2c + `#180 `_: Comment syntax? + `#182 `_: yych being set by YYPEEK () and then not used + `#196 `_: Implicit type conversion warnings + `#198 `_: no match for ‘operator!=’ in ‘i != std::vector<_Tp, _Alloc>::rend() [with _Tp = re2c::bitmap_t, _Alloc = std::allocator]()’ + `#210 `_: How to build re2c in windows? + `#215 `_: A memory read overrun issue in s_to_n32_unsafe.cc + `#220 `_: src/dfa/dfa.h: simplify constructor to avoid g++-3.4 bug + `#223 `_: Fix typo + `#224 `_: src/dfa/closure_posix.cc: pack() tweaks + `#225 `_: Documentation link is broken in libre2c/README + `#230 `_: Changes for upcoming Travis' infra migration + `#239 `_: Push model example has wrong re2c invocation, breaks guide + `#241 `_: Guidance on how to use re2c for full-duplex command & response protocol + `#243 `_: A code generated for period (.) requires 4 bytes + `#246 `_: Please add a license to this repo + `#247 `_: Build failure on current Cygwin, probably caused by force-fed c++98 mode + `#248 `_: distcheck still looks for README + `#251 `_: Including what you use is find, but not without inclusion guards - Updated documentation and website. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 pkgsrc/devel/re2c/Makefile cvs rdiff -u -r1.1.1.1 -r1.2 pkgsrc/devel/re2c/PLIST cvs rdiff -u -r1.18 -r1.19 pkgsrc/devel/re2c/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1600590750218560 Content-Disposition: inline Content-Length: 2108 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/devel/re2c/Makefile diff -u pkgsrc/devel/re2c/Makefile:1.23 pkgsrc/devel/re2c/Makefile:1.24 --- pkgsrc/devel/re2c/Makefile:1.23 Sun Jan 26 17:31:04 2020 +++ pkgsrc/devel/re2c/Makefile Sun Sep 20 08:32:30 2020 @@ -1,9 +1,10 @@ -# $NetBSD: Makefile,v 1.23 2020/01/26 17:31:04 rillig Exp $ +# $NetBSD: Makefile,v 1.24 2020/09/20 08:32:30 wiz Exp $ -DISTNAME= re2c-1.1.1 +DISTNAME= re2c-2.0.3 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=skvadrik/} GITHUB_RELEASE= ${PKGVERSION_NOREV} +EXTRACT_SUFX= .tar.xz MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= https://re2c.org/ Index: pkgsrc/devel/re2c/PLIST diff -u pkgsrc/devel/re2c/PLIST:1.1.1.1 pkgsrc/devel/re2c/PLIST:1.2 --- pkgsrc/devel/re2c/PLIST:1.1.1.1 Tue Jul 29 16:17:41 2003 +++ pkgsrc/devel/re2c/PLIST Sun Sep 20 08:32:30 2020 @@ -1,3 +1,6 @@ -@comment $NetBSD: PLIST,v 1.1.1.1 2003/07/29 16:17:41 agc Exp $ +@comment $NetBSD: PLIST,v 1.2 2020/09/20 08:32:30 wiz Exp $ bin/re2c +bin/re2go man/man1/re2c.1 +man/man1/re2go.1 +share/re2c/stdlib/unicode_categories.re Index: pkgsrc/devel/re2c/distinfo diff -u pkgsrc/devel/re2c/distinfo:1.18 pkgsrc/devel/re2c/distinfo:1.19 --- pkgsrc/devel/re2c/distinfo:1.18 Wed Nov 14 12:54:55 2018 +++ pkgsrc/devel/re2c/distinfo Sun Sep 20 08:32:30 2020 @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.18 2018/11/14 12:54:55 adam Exp $ +$NetBSD: distinfo,v 1.19 2020/09/20 08:32:30 wiz Exp $ -SHA1 (re2c-1.1.1.tar.gz) = a87eddf0d2d2cec0cf07517efe5cbdbd696cb6f4 -RMD160 (re2c-1.1.1.tar.gz) = dafab7c2320266aa34eed66aa33f5e76074c010b -SHA512 (re2c-1.1.1.tar.gz) = a6fe73611103588043748340976f0e6d07169a6546cb80627c0ccd2ceac83f362dbbf371530361d893537fd95deb19503b2c73c41ed40efe7787210d6c757397 -Size (re2c-1.1.1.tar.gz) = 5907416 bytes +SHA1 (re2c-2.0.3.tar.xz) = e203d97ef0e7fe2eb9b673a42eb9a7135b0ae220 +RMD160 (re2c-2.0.3.tar.xz) = 587747ef5f73aeff4421ff281b87b3e269163fde +SHA512 (re2c-2.0.3.tar.xz) = 893c533e9847a6236d55ae65e413ddc48b7531b89f5552a3ad79beeac079317ceca4c35710f3c2d88a6de5a3c0a5070a24a8cffb1b4277578a41697ea0e3bf8c +Size (re2c-2.0.3.tar.xz) = 1288996 bytes --_----------=_1600590750218560--