gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, feature/minrx, updated. gawk-4.1.0-5575-g9ecc7e11


From: Arnold Robbins
Subject: [SCM] gawk branch, feature/minrx, updated. gawk-4.1.0-5575-g9ecc7e11
Date: Thu, 29 Feb 2024 12:07:16 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, feature/minrx has been updated
       via  9ecc7e1198e7577d6756d87a5055192494843b56 (commit)
       via  06918504cada7428fae9a8b54f96095458ecddc9 (commit)
       via  12ceb334259f4df8ac08eb06fc70a6f7d919d464 (commit)
       via  2f9134f90d7bc2e575cb656bdcae460a4bdfb2b2 (commit)
       via  9ffe382033be97c0364b67ebec8b6ae2c01ca973 (commit)
       via  30d2a5ba1752a0bd28372bf3897a148fcbeafbaf (commit)
      from  828e0e31f46b405e0a62a512238a5263cd025d67 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=9ecc7e1198e7577d6756d87a5055192494843b56

commit 9ecc7e1198e7577d6756d87a5055192494843b56
Merge: 2f9134f9 06918504
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Thu Feb 29 19:07:05 2024 +0200

    Merge branch 'master' into feature/minrx

diff --cc ChangeLog
index 64046724,893f832e..7cc446d6
--- a/ChangeLog
+++ b/ChangeLog
@@@ -1,34 -1,7 +1,38 @@@
 +2024-02-29         Arnold D. Robbins     <arnold@skeeve.com>
 +
 +      Document all the changes needed for MinRX integration.
 +      Some of these are temporary while MinRX is still in C++;
 +      it should eventually be rewritten in C.
 +
 +      * Makefile.am (CCLD): Set to g++ in order to get gawk to link.
 +      * awk.h: Include "minrx.h".
 +      (struct Regexp): Add in minrx members.
 +      (restart, re_end, resubpatstart, resubpatend, renumsubpats): Declare
 +      new functions.
 +      (RESTART, RE_END, RESUBPATSTART, RESUBPATEND, RENUMSUBPATS): Change
 +      the macros to call the functions.
 +      (use_gnu_matchers): Declare new variable.
 +      * awkgram.y: Lint warning about /*...*/ comment is only true for
 +      the GNU matchers.
 +      * builtin.c (do_match): `s' is now ssize_t.
-       (do_sub): Fix args to SUBPATSTART macro.  Fix value of len
-       parameter in all to research depending upon the matcher.
++      (do_sub): Fix value of len parameter in all to research depending upon
++      the matcher.
 +      * configure.ac: Set CXXFLAGS if we have C++ versions of the files.
 +      * main.c (use_gnu_matchers): Define, set to false.
 +      (main): Check for GAWK_GNU_MATCHERS env var and set use_gnu_matchers
 +      to true if it exists.
 +      (parse_args): Temporarily add 'G' flag for using GNU matchers.
 +      * re.c (get_minrx_regerror): New routine.
 +      (make_regexp): Adjust for the fact that we can use either GNU matchers
 +      or minrx.
 +      (research): Ditto.
 +      (restart, re_end, resubpatstart, resubpatend, renumsubpats): New 
functions.
 +      Eventually these should be turned back into macros.
 +      
+ 2024-02-29         Arnold D. Robbins     <arnold@skeeve.com>
+ 
+       * re.c (do_sub): Fix arguments in call to SUBPATSTART().
+ 
  2024-02-23         Arnold D. Robbins     <arnold@skeeve.com>
  
        Another attempt to fix the race conditions on SIGPIPE. See
diff --cc test/ChangeLog
index 059b9dc9,a6ac5097..ffd6df6a
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@@ -1,17 -1,7 +1,20 @@@
 +2024-02-29         Arnold D. Robbins     <arnold@skeeve.com>
 +
 +      MinRX changes.
 +
-       * test/Gentests: Add GAWK_TEST_ARGS to .sh tests.
 +      * Makefile.am (EXTRA_DIST): regexuparraw is a new test.
 +      * regexuparrow.awk, regexuparrow.in, regexuparrow.ok: New files.
 +      * lintwarn.awk: Comment out a now invalid test.
 +      * lintwarn.ok: Adjust.
 +      * regex3minus.ok: Adjust.
 +      * regexpbad.ok: Adjust.
 +      * reindops.awk, reindops.ok: Adjust.
 +      * trailbs.ok: Adjust.
 +
+ 2024-02-29         Arnold D. Robbins     <arnold@skeeve.com>
+ 
+       * Gentests: Add GAWK_TEST_ARGS to .sh tests.
+ 
  2024-01-28         Arnold D. Robbins     <arnold@skeeve.com>
  
        * Makefile.am (EXTRA_DIST): New tests: match4.

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=2f9134f90d7bc2e575cb656bdcae460a4bdfb2b2

commit 2f9134f90d7bc2e575cb656bdcae460a4bdfb2b2
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Thu Feb 29 18:28:48 2024 +0200

    Document changes in ChangeLog files.

diff --git a/ChangeLog b/ChangeLog
index 2dfa313a..64046724 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,34 @@
+2024-02-29         Arnold D. Robbins     <arnold@skeeve.com>
+
+       Document all the changes needed for MinRX integration.
+       Some of these are temporary while MinRX is still in C++;
+       it should eventually be rewritten in C.
+
+       * Makefile.am (CCLD): Set to g++ in order to get gawk to link.
+       * awk.h: Include "minrx.h".
+       (struct Regexp): Add in minrx members.
+       (restart, re_end, resubpatstart, resubpatend, renumsubpats): Declare
+       new functions.
+       (RESTART, RE_END, RESUBPATSTART, RESUBPATEND, RENUMSUBPATS): Change
+       the macros to call the functions.
+       (use_gnu_matchers): Declare new variable.
+       * awkgram.y: Lint warning about /*...*/ comment is only true for
+       the GNU matchers.
+       * builtin.c (do_match): `s' is now ssize_t.
+       (do_sub): Fix args to SUBPATSTART macro.  Fix value of len
+       parameter in all to research depending upon the matcher.
+       * configure.ac: Set CXXFLAGS if we have C++ versions of the files.
+       * main.c (use_gnu_matchers): Define, set to false.
+       (main): Check for GAWK_GNU_MATCHERS env var and set use_gnu_matchers
+       to true if it exists.
+       (parse_args): Temporarily add 'G' flag for using GNU matchers.
+       * re.c (get_minrx_regerror): New routine.
+       (make_regexp): Adjust for the fact that we can use either GNU matchers
+       or minrx.
+       (research): Ditto.
+       (restart, re_end, resubpatstart, resubpatend, renumsubpats): New 
functions.
+       Eventually these should be turned back into macros.
+       
 2024-02-23         Arnold D. Robbins     <arnold@skeeve.com>
 
        Another attempt to fix the race conditions on SIGPIPE. See
diff --git a/support/ChangeLog b/support/ChangeLog
index af083f2c..f2b6546d 100644
--- a/support/ChangeLog
+++ b/support/ChangeLog
@@ -1,3 +1,9 @@
+2024-02-29         Arnold D. Robbins     <arnold@skeeve.com>
+
+       Changes for MinRX.
+
+       * Makefile.am (libsupport_a_SOURCES): Add minrx.h and minrx.cpp.
+
 2024-02-01         Arnold D. Robbins     <arnold@skeeve.com>
 
        * Makefile.am (distclean-local): Remove malloc/.deps
diff --git a/test/ChangeLog b/test/ChangeLog
index dc3acab4..059b9dc9 100644
--- a/test/ChangeLog
+++ b/test/ChangeLog
@@ -1,3 +1,17 @@
+2024-02-29         Arnold D. Robbins     <arnold@skeeve.com>
+
+       MinRX changes.
+
+       * test/Gentests: Add GAWK_TEST_ARGS to .sh tests.
+       * Makefile.am (EXTRA_DIST): regexuparraw is a new test.
+       * regexuparrow.awk, regexuparrow.in, regexuparrow.ok: New files.
+       * lintwarn.awk: Comment out a now invalid test.
+       * lintwarn.ok: Adjust.
+       * regex3minus.ok: Adjust.
+       * regexpbad.ok: Adjust.
+       * reindops.awk, reindops.ok: Adjust.
+       * trailbs.ok: Adjust.
+
 2024-01-28         Arnold D. Robbins     <arnold@skeeve.com>
 
        * Makefile.am (EXTRA_DIST): New tests: match4.

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=9ffe382033be97c0364b67ebec8b6ae2c01ca973

commit 9ffe382033be97c0364b67ebec8b6ae2c01ca973
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Thu Feb 29 18:28:21 2024 +0200

    Remove an unused label.

diff --git a/re.c b/re.c
index 91c6892e..cc3f5d46 100644
--- a/re.c
+++ b/re.c
@@ -236,7 +236,6 @@ make_regexp(const char *s, size_t len, bool ignorecase, 
bool dfa, bool canfatal)
                         * once the awk program is running. Therefore,
                         * neither does ok_to_escape.
                         */
-               do_default:
                        if (ok_to_escape == NULL) {
                                if (do_posix || do_traditional)
                                        ok_to_escape = "{}()|*+?.^$\\[]/-";

http://git.sv.gnu.org/cgit/gawk.git/commit/?id=30d2a5ba1752a0bd28372bf3897a148fcbeafbaf

commit 30d2a5ba1752a0bd28372bf3897a148fcbeafbaf
Author: Arnold D. Robbins <arnold@skeeve.com>
Date:   Thu Feb 29 18:16:40 2024 +0200

    Undo unnecessary change.

diff --git a/extension/Makefile.am b/extension/Makefile.am
index 0f5abcc2..0427d2da 100644
--- a/extension/Makefile.am
+++ b/extension/Makefile.am
@@ -26,8 +26,6 @@
 
 AM_CPPFLAGS = -I$(srcdir)/..
 
-AM_CXXFLAGS = @CXXFLAGS@
-
 # This variable insures that aclocal runs
 # correctly after changing configure.ac
 ACLOCAL_AMFLAGS = -I ../m4
diff --git a/extension/Makefile.in b/extension/Makefile.in
index e2933d1b..ce490c98 100644
--- a/extension/Makefile.in
+++ b/extension/Makefile.in
@@ -555,7 +555,6 @@ top_build_prefix = @top_build_prefix@
 top_builddir = @top_builddir@
 top_srcdir = @top_srcdir@
 AM_CPPFLAGS = -I$(srcdir)/..
-AM_CXXFLAGS = @CXXFLAGS@
 
 # This variable insures that aclocal runs
 # correctly after changing configure.ac

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog             | 35 +++++++++++++++++++++++++++++++++++
 extension/Makefile.am |  2 --
 extension/Makefile.in |  1 -
 pc/ChangeLog          |  4 ++++
 re.c                  |  1 -
 support/ChangeLog     |  6 ++++++
 test/ChangeLog        | 17 +++++++++++++++++
 7 files changed, 62 insertions(+), 4 deletions(-)


hooks/post-receive
-- 
gawk



reply via email to

[Prev in Thread] Current Thread [Next in Thread]