pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/re2c



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Aug 24 12:25:32 UTC 2023

Modified Files:
        pkgsrc/devel/re2c: Makefile distinfo

Log Message:
re2c: update to 3.1.

3.1 (2023-07-19)
~~~~~~~~~~~~~~~~

- Added capturing groups with leftmost greedy semantics:

  + Enabled with ``--leftmost-captures`` option or ``re2c:leftmost_captures``
    configuration

- Added non-capturing groups:

  + Added new syntax ``(! ...)`` for non-capturing groups

  + Added the ability to flip defaults: make ``(...)`` capturing and ``(! ...)``
    non-capturing with ``--invert-captures`` option or ``re2c:invert_captures``
    configuration

- Regenerated Unicode include header to support a newer standard

- Published TDFA paper: https://arxiv.org/abs/2206.01398, co-authored with
  Angelo Borsotti

- Removed experimental algorithms that are superseded by TDFA(1) and
  generally less efficient:

  + Removed staDFA algorithm and deprecated ``--stadfa`` option

  + Removed TDFA(0) algorithm and deprecated ``--no-lookahead`` option

  + (libre2c) Removed backward-matching algorithm

  + (libre2c) Removed Kuklewicz POSIX disambiguation algorithm

  + (libre2c) Removed GTOP shortest path finding algorithm

- Bug fixes:

  + Fixed parsing of raw UTF-8 characters in Flex compatibility mode

  + Added header file to the dependencies generated with ``--depfile`` option

  + Fixed stack overflow on large regular expressions by rewriting recursive
    functions in iterative form
    and limited stack to 256K on GithubActions CI

- Build system:

  + Added minimal http://bazel.build integration

  + Added configure option ``--enable-parsers`` that regenerates bison parsers

  + Added CMake option ``RE2C_REBUILD_PARSERS``

  + With CMake, fixed documentation generation on Windows.

- Codebase improvements:

  + Moved the entire codebase to C++11.
  + Added uniform error handling (return codes are now properly checked and
    returned to the caller).
  + Reorganized codegen subsystem in four well-defined phases (analyze,
    generate, fixup, render) and separated codegen from parsing phase.
  + Improved memory allocation by using slab allocators instead of global free
    lists.
  + Moved to pure API for bison parsers.
  + Unified code style.

- Testing:

  + Added ``--verbose`` flag to run_tests.py and suppressed verbose output by
    default.
  + Multiple improvements of continuous testing with GithubActions.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/devel/re2c/Makefile
cvs rdiff -u -r1.24 -r1.25 pkgsrc/devel/re2c/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/re2c/Makefile
diff -u pkgsrc/devel/re2c/Makefile:1.28 pkgsrc/devel/re2c/Makefile:1.29
--- pkgsrc/devel/re2c/Makefile:1.28     Mon Aug 14 05:24:15 2023
+++ pkgsrc/devel/re2c/Makefile  Thu Aug 24 12:25:31 2023
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.28 2023/08/14 05:24:15 wiz Exp $
+# $NetBSD: Makefile,v 1.29 2023/08/24 12:25:31 wiz Exp $
 
-DISTNAME=      re2c-3.0
-PKGREVISION=   1
+DISTNAME=      re2c-3.1
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=skvadrik/}
 GITHUB_RELEASE=        ${PKGVERSION_NOREV}
@@ -18,7 +17,7 @@ GNU_CONFIGURE=                yes
 # as of 3.0:
 # FAIL: run_tests.py
 TEST_TARGET=           check
-PYTHON_FOR_BUILD_ONLY= test
+PYTHON_FOR_BUILD_ONLY= tool
 
 .include "../../lang/python/tool.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/devel/re2c/distinfo
diff -u pkgsrc/devel/re2c/distinfo:1.24 pkgsrc/devel/re2c/distinfo:1.25
--- pkgsrc/devel/re2c/distinfo:1.24     Wed Apr 26 19:17:44 2023
+++ pkgsrc/devel/re2c/distinfo  Thu Aug 24 12:25:31 2023
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.24 2023/04/26 19:17:44 wiz Exp $
+$NetBSD: distinfo,v 1.25 2023/08/24 12:25:31 wiz Exp $
 
-BLAKE2s (re2c-3.0.tar.xz) = 9b8743cbbfa2c322bdbc0b9476b7bfc344a6b1122b5e48da1295918287fdb680
-SHA512 (re2c-3.0.tar.xz) = 147f5d2be36cbfe014cd0089297b4994ee95ed3179dec3c84222555636d937e2bdd22373a648efe59decf6810ce1d9d89d96908761a19aed848fa4185a3ca4cb
-Size (re2c-3.0.tar.xz) = 1441456 bytes
+BLAKE2s (re2c-3.1.tar.xz) = d389b8069348ab96e6c61e6a837e0c58eaa4bf93a8594c32c109ee8044c8aeb9
+SHA512 (re2c-3.1.tar.xz) = 649c5e103f8012e2717a0c36af135601dfa0a090c3e400bbf466537e7038ad73bc9e0ed36c3717b7c3c785c24ad024d40c7c31998325a14caf4984c4f19cd998
+Size (re2c-3.1.tar.xz) = 1448624 bytes



Home | Main Index | Thread Index | Old Index