[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] gawk branch, feature/bool, updated. gawk-4.1.0-4262-g8153054
From: |
Arnold Robbins |
Subject: |
[SCM] gawk branch, feature/bool, updated. gawk-4.1.0-4262-g8153054 |
Date: |
Sun, 21 Mar 2021 05:37:20 -0400 (EDT) |
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/bool has been updated
via 81530542f62a575e3857f3a8847c886ee68f9d83 (commit)
via 156d925f39c0caaf6f3ca1c03e22314a3027edeb (commit)
from 96b65e953d309fb00cc48b3883fc5805898e57e1 (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=81530542f62a575e3857f3a8847c886ee68f9d83
commit 81530542f62a575e3857f3a8847c886ee68f9d83
Merge: 96b65e9 156d925
Author: Arnold D. Robbins <arnold@skeeve.com>
Date: Sun Mar 21 11:37:12 2021 +0200
Merge branch 'master' into feature/bool
diff --cc ChangeLog
index 5f2794d,56deef6..5f0bef1
--- a/ChangeLog
+++ b/ChangeLog
@@@ -1,35 -1,9 +1,41 @@@
+ 2021-03-21 Arnold D. Robbins <arnold@skeeve.com>
+
+ * str_array.c (fnv1a_hash_string): New function.
+ (str_array_init): Use fnv1a_hash_string if AWK_HASH env var
+ set to "fnv1a".
+
+2021-03-20 Arnold D. Robbins <arnold@skeeve.com>
+
+ * array.c (do_sort_up_value_type): Add logic for handling bools.
+
+2021-03-08 Arnold D. Robbins <arnold@skeeve.com>
+
+ * awk.h (warn_bool, do_bool): Add function declarations.
+ * awkgram.y (tokentab): Add entry for "bool" builtin.
+ * builtin.c (warn_bool): New function.
+ (do_index, do_substr, do_toupper, do_tolower, do_match,
+ do_length): Call it.
+ (do_sub): If first arg to sub/gsub is bool, fatal error.
+ (do_bool): New function.
+ * field.c (do_split, do_patsplit): Call warn_bool.
+ * main.c (load_procinfo_bools): Removed function and call.
+
+2021-03-05 Arnold D. Robbins <arnold@skeeve.com>
+
+ Start on a bool type for gawk.
+
+ * awk.h (BOOL): New flag value.
+ (make_bool_node): Add declaration of new function.
+ (bool_val): Check for BOOL along with NUMBER.
+ * builtin.c (do_typeof): Add support for BOOL.
+ * eval.c (flags2str): Ditto.
+ * gawkapi.h (awk_val_type): Add AWK_BOOL.
+ (awk_value_t): Add awk_bool_t element to the union and macro for it.
+ (struct gawk_api): Update the table of request/return values.
+ * main.c (load_procinfo_bools): New function.
+ (load_procinfo): Call it.
+ * node.c (make_bool_node): New function.
+
2021-02-13 Arnold D. Robbins <arnold@skeeve.com>
* io.c (nextfile): Use the value of ARGC directly in the for
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 6 +
NEWS | 3 +
doc/ChangeLog | 5 +
doc/gawk.info | 1098 ++++++++++++++++++++++++++++---------------------------
doc/gawk.texi | 5 +-
doc/gawktexi.in | 5 +-
str_array.c | 38 +-
7 files changed, 608 insertions(+), 552 deletions(-)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] gawk branch, feature/bool, updated. gawk-4.1.0-4262-g8153054,
Arnold Robbins <=