[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-2422-g8352dc
From: |
Arnold Robbins |
Subject: |
[gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-2422-g8352dc5 |
Date: |
Fri, 27 Jan 2017 10:13:20 +0000 (UTC) |
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, master has been updated
via 8352dc592cf635a731f7f91d183c0679b3fc4fd2 (commit)
via 6639a575ebfbf3a62fe168c6152429c47d591d75 (commit)
via 46a2c1e4abbbb79df33bd9a4b79ea878ea297e48 (commit)
via c0c69f02e4d300aebf91516a1a521828f6885b26 (commit)
via d6fe1f907f495863c3ff6875f9d308e5d08ee0ff (commit)
via 915d9b93c16bce9ff740df7ab0ba2e2c2a3a516f (commit)
via 15f74af1fe48bc4048cb345615389fa7bcc05f85 (commit)
from a405df4fd26c1a1428fb3eb9d749c42295256634 (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=8352dc592cf635a731f7f91d183c0679b3fc4fd2
commit 8352dc592cf635a731f7f91d183c0679b3fc4fd2
Merge: 46a2c1e 6639a57
Author: Arnold D. Robbins <address@hidden>
Date: Fri Jan 27 12:13:12 2017 +0200
Merge branch 'gawk-4.1-stable'
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=46a2c1e4abbbb79df33bd9a4b79ea878ea297e48
commit 46a2c1e4abbbb79df33bd9a4b79ea878ea297e48
Merge: a405df4 c0c69f0
Author: Arnold D. Robbins <address@hidden>
Date: Fri Jan 27 12:12:12 2017 +0200
Merge branch 'gawk-4.1-stable'
diff --cc ChangeLog
index 62b956a,16146de..61c33b1
--- a/ChangeLog
+++ b/ChangeLog
@@@ -1,63 -1,15 +1,75 @@@
+ 2017-01-27 Andrew J. Schorr <address@hidden>
+
+ * interpret.h [UNFIELD]: Fix condition for assignment from
+ value with valref == 1. Fixes problems introduced at gawk 4.1.2.
+
+ 2017-01-27 Arnold D. Robbins <address@hidden>
+
+ * interpret.h: Updaet copyright year.
+ * debug.c (do_run): Rework error message to ease translation.
+ Thanks to Rafael Fontenelle <address@hidden> and to
+ Eli Zaretskii <address@hidden>.
+
+2017-01-26 Andrew J. Schorr <address@hidden>
+
+ * awk.h (enum block_id): Remove BLOCK_INVALID, since it serves no
+ useful purpose and seems to slow things down a bit.
+ * node.c (nextfree): Remove first invalid entry.
+
+2017-01-25 Andrew J. Schorr <address@hidden>
+
+ * awk.h (BLOCK): Remove typedef. BLOCK was used for 2 different
+ purposes: to contain a block allocation list header, and to hold
+ each individual allocated item. This was confusing, because the "size"
+ field was set only in the header, but not in each element.
+ (struct block_header): The block header contains a pointer to the first
+ element and the element size.
+ (struct block_item): Represent a single allocated item. This contains
+ only a pointer to the next element. This reduces the minimum allocated
+ item size from 2 pointers to 1 (16 bytes to 8 bytes on x86_64).
+ (nextfree): Change array item type from BLOCK to struct block_header.
+ (getblock, freeblock): Change cast from 'BLOCK' to 'struct block_item'.
+ * node.c (nextfree): Now an array of 'struct block_header' instead of
+ BLOCK. Switch the ordering to put the next pointer before the size.
+ (more_blocks): Replace 'BLOCK' with 'struct block_item', and add
+ an assert to ensure that the allocation size is at least as large
+ as 'struct block_item', i.e. 1 pointer.
+
+2017-01-22 Andrew J. Schorr <address@hidden>
+
+ * awk.h (numtype_choose): New backend macro used to implement
+ various macros whose calculations depend on how a number is
+ actually represented. This improves readability and should give
+ a small performance improvement when not using extended precision.
+ (get_number_ui, get_number_si, get_number_d, get_number_uj, iszero):
+ Rewrite using new numtype_choose macro.
+
+2017-01-04 Arnold Robbins <address@hidden>
+
+ Trade space for time for programs that toggle IGNORECASE a lot.
+ Brings 25% to 39% speedup. NODE does not actually grow in size.
+
+ * awk.h (NODE::preg): Now an array of size two.
+ [CASE]: Flag no longer needed, so removed.
+ (IGNORECASE): Change type from int to bool.
+ * awkgram.y (make_regnode): Build two copies of the compiled regexp,
+ one without ignorecase, and one with.
+ * io.c (RS_re): Array replacing RS_re_yes_case and RS_re_no_case.
+ (set_RS): Use RS_re[IGNORECASE] as appropriate. Free and recompute
+ as needed.
+ * main.c (IGNORECASE): Change type from int to bool.
+ * re.c (re_update): Simplify the code. No need to check CASE flag
+ any longer. Recompute only if text of regexp changed.
+ * symbol.c (free_bc_internal): Adjust to free both elements of
+ m_re_reg.
+
+2017-01-18 Andrew J. Schorr <address@hidden>
+
+ * interpret.h (r_interpret): Increase robustness of the optimization
+ logic in Op_assign_concat -- check that the node has MALLOC set,
+ and make sure to wipe all flags other than MALLOC, STRING, STRCUR,
+ and possibly WSTRCUR. Use STFMT_UNUSED define.
+
2017-01-15 Andrew J. Schorr <address@hidden>
* interpret.h (r_interpret): Fix bug in Op_assign_concat reported
diff --cc interpret.h
index 9661910,bb7cba9..8c9675b
--- a/interpret.h
+++ b/interpret.h
@@@ -2,12 -2,12 +2,12 @@@
* interpret.h --- run a list of instructions.
*/
- /*
- * Copyright (C) 1986, 1988, 1989, 1991-2015 the Free Software Foundation,
Inc.
- *
+ /*
+ * Copyright (C) 1986, 1988, 1989, 1991-2017 the Free Software Foundation,
Inc.
+ *
* This file is part of GAWK, the GNU implementation of the
* AWK Programming Language.
- *
+ *
* GAWK is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation; either version 3 of the License, or
diff --cc test/Makefile.am
index cc9f6d1,d89e610..9f79df8
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@@ -395,8 -365,9 +395,11 @@@ EXTRA_DIST =
gensub.ok \
gensub2.awk \
gensub2.ok \
+ gensub3.awk \
+ gensub3.in \
+ gensub3.ok \
+ getfile.awk \
+ getfile.ok \
getline.awk \
getline.in \
getline.ok \
@@@ -1208,16 -1118,15 +1211,16 @@@ UNIX_TESTS =
GAWK_EXT_TESTS = \
aadelete1 aadelete2 aarray1 aasort aasorti argtest arraysort \
backw badargs beginfile1 beginfile2 binmode1 charasbytes \
- colonwarn clos1way clos1way2 clos1way3 clos1way4 clos1way5 \
- crlf dbugeval delsub devfd devfd1 devfd2 dumpvars exit \
- fieldwdth fpat1 fpat2 fpat3 fpat4 fpat5 fpatnull fsfwfs funlen \
+ colonwarn clos1way clos1way2 clos1way3 clos1way4 clos1way5 clos1way6 \
+ crlf dbugeval dbugeval2 dbugtypedre1 dbugtypedre2 delsub \
+ devfd devfd1 devfd2 dumpvars errno exit \
+ fieldwdth forcenum fpat1 fpat2 fpat3 fpat4 fpat5 fpatnull fsfwfs funlen
\
functab1 functab2 functab3 fwtest fwtest2 fwtest3 \
- genpot gensub gensub2 getlndir gnuops2 gnuops3 gnureops gsubind \
- genpot gensub gensub2 gensub3 getlndir gnuops2 gnuops3 gnureops \
- icasefs icasers id igncdym igncfs ignrcas2 ignrcase \
++ genpot gensub gensub2 gensub3 getlndir gnuops2 gnuops3 gnureops gsubind
\
+ icasefs icasers id igncdym igncfs ignrcas2 ignrcas4 ignrcase \
incdupe incdupe2 incdupe3 incdupe4 incdupe5 incdupe6 incdupe7 \
- include include2 indirectbuiltin indirectcall indirectcall2 \
- lint lintold lintwarn \
+ include include2 indirectbuiltin indirectcall indirectcall2 intarray \
+ lint lintexp lintindex lintint lintlength lintold lintset lintwarn \
mixed1 manyfiles match1 match2 match3 mbstr1 mbstr2 \
muldimposix \
nastyparm negtime next nondec nondec2 \
diff --cc test/Makefile.in
index a45e26e,5269d0c..1cd8bf1
--- a/test/Makefile.in
+++ b/test/Makefile.in
@@@ -653,8 -622,9 +653,11 @@@ EXTRA_DIST =
gensub.ok \
gensub2.awk \
gensub2.ok \
+ gensub3.awk \
+ gensub3.in \
+ gensub3.ok \
+ getfile.awk \
+ getfile.ok \
getline.awk \
getline.in \
getline.ok \
@@@ -1465,16 -1374,15 +1468,16 @@@ UNIX_TESTS =
GAWK_EXT_TESTS = \
aadelete1 aadelete2 aarray1 aasort aasorti argtest arraysort \
backw badargs beginfile1 beginfile2 binmode1 charasbytes \
- colonwarn clos1way clos1way2 clos1way3 clos1way4 clos1way5 \
- crlf dbugeval delsub devfd devfd1 devfd2 dumpvars exit \
- fieldwdth fpat1 fpat2 fpat3 fpat4 fpat5 fpatnull fsfwfs funlen \
+ colonwarn clos1way clos1way2 clos1way3 clos1way4 clos1way5 clos1way6 \
+ crlf dbugeval dbugeval2 dbugtypedre1 dbugtypedre2 delsub \
+ devfd devfd1 devfd2 dumpvars errno exit \
+ fieldwdth forcenum fpat1 fpat2 fpat3 fpat4 fpat5 fpatnull fsfwfs funlen
\
functab1 functab2 functab3 fwtest fwtest2 fwtest3 \
- genpot gensub gensub2 getlndir gnuops2 gnuops3 gnureops gsubind \
- genpot gensub gensub2 gensub3 getlndir gnuops2 gnuops3 gnureops \
- icasefs icasers id igncdym igncfs ignrcas2 ignrcase \
++ genpot gensub gensub2 gensub3 getlndir gnuops2 gnuops3 gnureops gsubind
\
+ icasefs icasers id igncdym igncfs ignrcas2 ignrcas4 ignrcase \
incdupe incdupe2 incdupe3 incdupe4 incdupe5 incdupe6 incdupe7 \
- include include2 indirectbuiltin indirectcall indirectcall2 \
- lint lintold lintwarn \
+ include include2 indirectbuiltin indirectcall indirectcall2 intarray \
+ lint lintexp lintindex lintint lintlength lintold lintset lintwarn \
mixed1 manyfiles match1 match2 match3 mbstr1 mbstr2 \
muldimposix \
nastyparm negtime next nondec nondec2 \
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 12 +
debug.c | 6 +-
doc/ChangeLog | 4 +
doc/gawk.info | 4 +-
doc/gawk.texi | 6 +-
doc/gawktexi.in | 6 +-
interpret.h | 6 +-
po/ChangeLog | 5 +
po/LINGUAS | 1 +
po/pt_BR.po | 3900 +++++++++++++++++++++++++++++++++++++-----------------
test/ChangeLog | 5 +
test/Makefile.am | 5 +-
test/Makefile.in | 10 +-
test/Maketests | 5 +
test/gensub3.awk | 8 +
test/gensub3.in | 2 +
test/gensub3.ok | 1 +
17 files changed, 2740 insertions(+), 1246 deletions(-)
create mode 100644 test/gensub3.awk
create mode 100644 test/gensub3.in
create mode 100644 test/gensub3.ok
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, master, updated. gawk-4.1.0-2422-g8352dc5,
Arnold Robbins <=