summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnold D. Robbins <arnold@skeeve.com>2024-02-29 18:28:48 +0200
committerArnold D. Robbins <arnold@skeeve.com>2024-02-29 18:28:48 +0200
commit2f9134f90d7bc2e575cb656bdcae460a4bdfb2b2 (patch)
tree89c94565056946d4c4ee9c77f5fa65626ff9c0d0
parent9ffe382033be97c0364b67ebec8b6ae2c01ca973 (diff)
downloadgawk-2f9134f90d7bc2e575cb656bdcae460a4bdfb2b2.tar.gz
Document changes in ChangeLog files.
-rw-r--r--ChangeLog31
-rw-r--r--support/ChangeLog6
-rw-r--r--test/ChangeLog14
3 files changed, 51 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 2dfa313..6404672 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 af083f2..f2b6546 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 dc3acab..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.