Subversion Repositories planix.SVN

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
96 7u83 1
2018-08-29         Arnold D. Robbins     <arnold@skeeve.com>
2
 
3
	* REGRESS: Check for existence of a.out. If not there, run
4
	make.  Enable core dumps for T.arnold system status test
5
	to work on MacOS X.
6
 
7
2018-08-22         Arnold D. Robbins     <arnold@skeeve.com>
8
 
9
	* awktest.tar (testdir/T.expr): Fix test for unary plus.
10
 
11
2018-08-22         Arnold D. Robbins     <arnold@skeeve.com>
12
 
13
	* REGRESS: Extract tests if necessary, set PATH to include '.'.
14
	* regdir/beebe.tar (Makefile): Fix longwrds test to prefix
15
	sort with LC_ALL=C.
16
	* awktest.tar: Updated from fixed test suite, directory
17
	it extracts is now called 'testdir' to match what's in top-level
18
	REGRESS script.
19
	* regdir: Removed, as Brian wants to keep the test suite in
20
	the tar file.
21
 
22
2018-08-22         Arnold D. Robbins     <arnold@skeeve.com>
23
 
24
	* FIXES, lib.c, run.c, makefile, main.c: Merge from Brian's tree.
25
	* REGRESS: New file, from Brian.
26
	* awktest.tar: Restored from Brian's tree.
27
 
28
2018-08-22         Arnold D. Robbins     <arnold@skeeve.com>
29
 
30
	* awkgram.y (UPLUS): New token. In the grammar, call op1()
31
	with it.
32
	* maketab.c (proc): Add entry for UPLUS.
33
	* run.c (arith): Handle UPLUS.
34
	* main.c (version): Updated.
35
	* bugs-fixed/unary-plus.awk, bugs-fixed/unary-plus.bad,
36
	bugs-fixed/unary-plus.ok: New files.
37
 
38
2018-08-10         Arnold D. Robbins     <arnold@skeeve.com>
39
 
40
	* TODO: Updated.
41
	* awk.1: Improve use of macros, add some additional explanation
42
	in a few places, alphabetize list of variables.
43
 
44
2018-08-08         Arnold D. Robbins     <arnold@skeeve.com>
45
 
46
	* awk.h (Cell): Add new field `fmt' to track xFMT value used
47
	for a string conversion.
48
	[CONVC, CONVO]: New flag macros.
49
	* bugs-fixed/README: Updated.
50
	* bugs-fixed/string-conv.awk, bugs-fixed/string-conv.bad,
51
	bugs-fixed/string-conv.ok: New files.
52
	* main.c (version): Updated.
53
	* proto.h (flags2str): Add declaration.
54
	* tran.c (setfval): Clear CONVC and CONVO flags and set vp->fmt
55
	to NULL.
56
	(setsval): Ditto. Add large comment and new code to manage
57
	correct conversion of number to string based on various flags
58
	and the value of vp->fmt. The idea is to not convert again
59
	if xFMT is the same as before and we're doing the same conversion.
60
	Otherwise, clear the old flags, set the new, and reconvert.
61
	(flags2str): New function. For debug prints and for use from a debugger.
62
 
63
2018-08-05         Arnold D. Robbins     <arnold@skeeve.com>
64
 
65
	Fix filename conflicts in regdir where the only difference was
66
	in letter case. This caused problems on Windows systems.
67
 
68
	* regdir/Compare.T1: Renamed from regdir/Compare.T.
69
	* regdir/t.delete0: Renamed from regdir/t.delete.
70
	* regdir/t.getline1: Renamed from regdir/t.getline.
71
	* regdir/t.redir1: Renamed from regdir/t.redir.
72
	* regdir/t.split1: Renamed from regdir/t.split.
73
	* regdir/t.sub0: Renamed from regdir/t.sub.
74
	* regdir/REGRESS: Adjusted.
75
 
76
2018-08-04         Arnold D. Robbins     <arnold@skeeve.com>
77
 
78
	With scalpel, tweasers, magnifying glass and bated breath,
79
	borrow code from the NetBSD version of nawk to fix the years-old
80
	bug whereby decrementing the value of NF did not change the
81
	record.
82
 
83
	* lib.c (fldbld): Set donerec to 1 when done.
84
	(setlastfld): New function.
85
	* proto.h (setlastfld): Add declaration.
86
	* run.c (copycell): Make code smarter about flags (from NetBSD code).
87
	* tran.c (setfree): New function.
88
	* tran.c (setfval): Normalize negative zero to positive zero.
89
	If setting NF, clear donerec and call setlastfld().
90
	(setsval): Remove call to save_old_OFS().  If setting OFS, call
91
	recbld(). If setting NF, clear donerec and call setlastfld().
92
 
93
	As part of the process, revert OFS-related changes of 2018-05-22:
94
 
95
	* awk.h (saveOFS, saveOFSlen, save_old_OFS): Remove declarations.
96
	* lib.c (recbld): Use *OFS instead of saveOFS.
97
	* run.c (saveOFS, saveOFSlen, save_old_OFS): Remove.
98
	* tran.c (syminit): Remove initialization of saveOFS and saveOFSlen.
99
 
100
	General stuff that goes along with all this:
101
 
102
	* bugs-fixed/README: Updated.
103
	* bugs-fixed/decr-NF.awk, bugs-fixed/decr-NF.bad,
104
	bugs-fixed/decr-NF.ok: New files.
105
	* main.c (version): Updated.
106
	* regdir/README.TESTS: Fix awk book title.
107
	* regdir/T.misc: Revise test to match fixed code.
108
	* run.c (format): Increase size of buffer used for %a test. (Unrelated
109
	to NF or OFS, but fixes a compiler complaint.)
110
 
111
2018-06-07         Arnold D. Robbins     <arnold@skeeve.com>
112
 
113
	* regdir/beebe.tar: Fix longwrds.ok so that the test will pass.
114
	The file was incorrectly sorted.
115
 
116
2018-06-06         Arnold D. Robbins     <arnold@skeeve.com>
117
 
118
	* regdir/T.lilly: Fix the bug again in the second instance
119
	of the code. Thanks to BWK for pointing this out.
120
 
121
2018-05-31         Arnold D. Robbins     <arnold@skeeve.com>
122
 
123
	* regdir/T.lilly: Fix a syntax error and ordering bug
124
	in creating the 'foo' file.
125
 
126
2018-05-23         Arnold D. Robbins     <arnold@skeeve.com>
127
 
128
	* awk.1: Remove standalone 'awk' at the top of file, it messed up
129
	the formatting. Arrange built-in variable list in alphabetical
130
	order.
131
 
132
2018-05-23         Arnold D. Robbins     <arnold@skeeve.com>
133
 
134
	* main.c (version): Add my email address and a date so that
135
	users can tell this isn't straight BWK awk.
136
	* README.md: Minor updates.
137
	* TODO: Updated.
138
 
139
2018-05-22         Arnold D. Robbins     <arnold@skeeve.com>
140
 
141
	Add POSIX-required formats %a and %A.
142
 
143
	* run.c (format): Check for %a support in C library. If there,
144
	allow %a and %A as valid formats.
145
	* TODO: Updated.
146
	* bugs-fixed/README: Updated.
147
	* bugs-fixed/a-format.awk, bugs-fixed/a-format.bad,
148
	bugs-fixed/a-format.ok: New files.
149
 
150
2018-05-22         Arnold D. Robbins     <arnold@skeeve.com>
151
 
152
	* FIXES: Restored a line from a much earlier version that
153
	apparently got lost when the dates were reordered.
154
	* TODO: Updated.
155
 
156
2018-05-22         Arnold D. Robbins     <arnold@skeeve.com>
157
 
158
	* README.md: New file.
159
 
160
2018-05-22         Arnold D. Robbins     <arnold@skeeve.com>
161
 
162
	* regdir/echo.c, regdir/time.c: Minor fixes to compile without
163
	warning on current GCC / Linux.
164
 
165
2018-05-22         Arnold D. Robbins     <arnold@skeeve.com>
166
 
167
	* TODO: New file.
168
 
169
2018-05-22         Arnold D. Robbins     <arnold@skeeve.com>
170
 
171
	* makefile (gitadd, gitpush): Remove these targets. They
172
	should not be automated and were incorrect for things that
173
	would be done regularly.
174
 
175
2018-05-22         Arnold D. Robbins     <arnold@skeeve.com>
176
 
177
	Fix nawk so that [[:blank:]] only matches space and tab instead
178
	of any whitespace character, originally made May 10, 2018.
179
	See bugs-fixed/space.awk.
180
 
181
	This appears to have been a thinko on Brian's part.
182
 
183
	* b.c (charclasses): Use xisblank() function for [[:blank:]].
184
	* bugs-fixed/README: Updated.
185
	* bugs-fixed/space.awk, bugs-fixed/space.bad,
186
	bugs-fixed/space.ok: New files.
187
 
188
2018-05-22         Arnold D. Robbins     <arnold@skeeve.com>
189
 
190
	* .gitignore: New file.
191
 
192
2018-05-22         Arnold D. Robbins     <arnold@skeeve.com>
193
 
194
	Fix nawk to provide reasonable exit status for system(),
195
	a la gawk, originally made March 12, 2016. See
196
	bugs-fixed/system-status.awk.
197
 
198
	* run.c (bltin): For FSYSTEM, use the macros defined for wait(2)
199
	to produce a reasonable exit value, instead of doing a floating-point
200
	division by 256.
201
	* awk.1: Document the return status values.
202
	* bugs-fixed/README: Updated.
203
	* bugs-fixed/system-status.awk, bugs-fixed/system-status.bad,
204
	bugs-fixed/system-status.ok: New files.
205
 
206
2018-05-22         Arnold D. Robbins     <arnold@skeeve.com>
207
 
208
	Bug fix with respect to rebuilding a record, originally
209
	made August 19, 2014. See bugs-fixed/ofs-rebuild.awk.
210
 
211
	* awk.h (saveOFS, saveOFSlen): Declare new variables.
212
	* lib.c (recbld): Use them when rebuilding the record.
213
	* run.c (saveOFS, saveOFSlen): Define new variables.
214
	(save_old_OFS): New function to save OFS aside.
215
	* tran.c (syminit): Initialize saveOFS and saveOFSlen.
216
	(setsval): If setting a field, call save_old_OFS().
217
	* bugs-fixed/README, bugs-fixed/ofs-rebuild.awk,
218
	bugs-fixed/ofs-rebuild.bad, bugs-fixed/ofs-rebuild.ok: New files.
219
 
220
2018-05-22         Arnold D. Robbins     <arnold@skeeve.com>
221
 
222
	* makefile (YACC): Use bison.
223
 
224
2018-05-22         Arnold D. Robbins     <arnold@skeeve.com>
225
 
226
	* ChangeLog: Created.
227
	* regdir: Created. Based on contents of awktest.a.
228
	* .gitattributes: Created, to preserve CR LF in regdir/t.crlf.
229
	* awktest.a: Removed.
230
	* regdir/T.gawk, regdir/T.latin1: Updated from awktest.tar.
231
	* awktest.tar: Removed.