1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
|
2019-07-23 Koichi Murase <myoga.murase@gmail.com>
* builtin.c (do_xor): Remove unneeded local variable `i'. Simplify
the loop's computation.
(do_and): Improve the initial value for the result.
2019-07-23 Andrew J. Schorr <aschorr@telemetry-investments.com>
Fix reporting of negative arguments for and(), or() and xor().
Thanks to Koichi Murase <myoga.murase@gmail.com> for the
report.
* builtin.c (do_and): Use nargs instead of i in the loop to
check for non-numeric and negative arguments.
(do_or): Ditto.
(do_xor): Ditto.
2019-07-23 Arnold D. Robbins <arnold@skeeve.com>
* Checklist: Updated.
2019-07-21 Arnold D. Robbins <arnold@skeeve.com>
* command.y, custom.h, eval.c, ext.c, field.c, io.c,
msg.c, node.c, nonposix.h, re.c: Update copyright year.
* NEWS: Updated.
* README: Updated.
2019-07-16 Arnold D. Robbins <arnold@skeeve.com>
* TODO: Updated.
* awkgram.y [GRAMMAR]: Change some lint warnings to use lintwarn.
(yylex): Ditto.
* field.c (choose_fs_function): Ditto.
* main.c (main): Ditto.
* node.c (parse_escape): Ditto.
2019-07-09 Arnold D. Robbins <arnold@skeeve.com>
* gawkapi.h: Update copyright year, fix some spelling errors.
2019-07-08 Andrew J. Schorr <aschorr@telemetry-investments.com>
2019-07-08 Andrew J. Schorr <aschorr@telemetry-investments.com>
* gawkapi.h (gawk_api_major_version): Bump from 2 to 3 because the
namespace changes altered the function signatures in gawk_api_t.
And add a comment at the top of the structure with a reminder that
the version number should be bumped whenever the struct is altered
in any way.
2019-06-30 Arnold D. Robbins <arnold@skeeve.com>
* interpret.h (r_interpret): Fix two more cases of warning
about gawk extensions.
* awkgram.y [GRAMMAR]: And two more cases here. Thanks to
Mark Krauze <daburashka@ya.ru> for making me look for them.
Unrelated:
* config.sub: Updated from GNULIB.
2019-06-26 Arnold D. Robbins <arnold@skeeve.com>
* symbol.c (install): Strip off any leading `awk::' before
installing a symbol. Thanks to Andrew Schorr for the
report.
2019-06-21 Arnold D. Robbins <arnold@skeeve.com>
* config.guess, config.sub: Updated from GNULIB.
* awkgram.y (get_src_buf): Set buffers to zero to avoid
possible issues with accessing uninitialized memory.
Thanks to valgrind, as pointed out by Nadezhda Vyukova
<qniva@yandex.ru>.
* NEWS, README.git: Fix some typos.
2019-06-19 Arnold D. Robbins <arnold@skeeve.com>
* re.c (make_regexp): If do_posix, have {} in ok_to_escape.
Thanks to Ed Morton <mortoneccc@comcast.net> for the report.
2019-06-18 Arnold D. Robbins <arnold@skeeve.com>
* 5.0.1: Release tar ball made.
2019-06-06 Arnold D. Robbins <arnold@skeeve.com>
* main.c (usage): Update comment for translators.
2019-06-02 Arnold D. Robbins <arnold@skeeve.com>
* awkgram.c, command.c: Update to Bison 3.4.
* NEWS: Updated.
2019-05-22 Arnold D. Robbins <arnold@skeeve.com>
Add --lint=no-ext. Suggest by Mark Krauze <daburashka@ya.ru>.
* NEWS: Updated.
* awk.h (DO_LINT_EXTENSIONS): New enum.
(do_lint_extensions): New macro.
* awkgram.y (yylex, snode): Use do_lint_extensions instead of
do_lint where appropriate.
* builtin.c (do_length): Ditto.
* eval.c (set_IGNORECASE, set_BINMODE): Ditto.
(set_LINT): Revise logic.
* field.c (do_split, set_FIELDWIDTHS, chose_fs_function, set_FPAT):
Ditto.
* io.c (set_RS): Ditto.
* main.c (usage): Updated.
(parse_args): Revise the code to handle --lint=no-ext.
2019-05-10 Arnold D. Robbins <arnold@skeeve.com>
* NEWS: Updated.
2019-05-06 Arnold D. Robbins <arnold@skeeve.com>
In sandbox mode, disallow assigning filenames that weren't
there initially. Thanks to Nolan Woods <nolan_w@sfu.ca> for
pointing out the gap.
* awk.h (init_argv_array): Add declaration.
* cint_array.c (argv_store): New vtable for ARGV.
(argv_shadow_array): New file static variable
(argv_store, init_argv_array): New functions.
* main.c (init_args): If in sandbox mode, build shadow array of
initial argv values. Call init_argv_array.
2019-05-05 Arnold D. Robbins <arnold@skeeve.com>
* ext.c (load_ext): Fix the message in the version for when
extensions are not available.
2019-04-24 Arnold D. Robbins <arnold@skeeve.com>
* msg.c (msg): Use %ld for the line number value. Thanks to
Michal Jaegermann for the report.
2019-04-23 Arnold D. Robbins <arnold@skeeve.com>
* config.sub: Updated from GNULIB.
2019-02-21 Andrew J. Schorr <aschorr@telemetry-investments.com>
* interpert.h (Op_store_field): Move call to force_string to
here from unfield. Speeds up work with fields that are numeric
only. Thanks to Tom Gray <tom_gray@keysight.com> for the report.
2019-04-21 Arnold D. Robbins <arnold@skeeve.com>
* POSIX.STD: Updated.
* field.c (get_field): If NF == -1, check parse high water to
set in_middle correctly. Thanks to <oguzismailuysal@gmail.com>
for the report.
2019-04-18 Arnold D. Robbins <arnold@skeeve.com>
* msg.c (msg): Add an undocumented feature. "Use the Source, Luke."
* Makefile.am (EXTRA_DIST): Add ChangeLog.1 to the list. Ooops.
* CheckList: Updated.
Fix core dump reported by Steve Kemp <steve@steve.org.uk>:
* awk.h (errcount): Declare.
* awkgram.y (errcount): No longer static.
* command.y (dbg_errcount): Renamed from errcount.
* main.c (catchsig, catchsegv): If errcount > 0, just exit,
don't abort.
2019-04-12 Arnold D. Robbins <arnold@skeeve.com>
* configure.ac: Update version to 5.0.0.
* configure: Regenerated.
* ChangeLog.1: Rotated ChangeLog into this file.
* ChangeLog: Created anew for gawk 5.0.0 and on.
* README: Bump version to 5.0.0.
* 5.0.0: Release tar ball made.
|