-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathChangeLog
177 lines (128 loc) · 6.16 KB
/
ChangeLog
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
2018-08-03 Arnold D. Robbins <[email protected]>
* re.h (String::~String): Use `delete []'. Thanks to valgrind.
* testre.cpp [SPEC_LEN, RE_LEN, S_LEN, ANS_LEN]: New constants.
(main): Add \n to a debug printf(). Clear errno
before calling strtod(). Use the constants to declare arrays.
(readline): Use the constants in the calls to readfield().
2018-08-01 Michael Tesch <[email protected]>
* Makefile (OPTFLAGS,CXXFLAGS,CXX): Add -O2, set CXX and OPTFLAGS
using ?= for caller-configurability.
* contrib/testfuzz.sh: Create contrib directory. Add script to
fuzz testre.cpp using afl.
* testre.cpp: Check the validity (existence, bounds) of test
specifications.
2018-08-01 M. Douglas McIlroy <[email protected]>
* Background.txt: New file.
2018-08-01 Arnold D. Robbins <[email protected]>
Fix a Day 1 bug. Thanks to Brian `geeknik' Carpenter for
the report.
* array.h (Array::~Array, Array::realloc): Use `delete [] p'
instead of `delete p'.
2018-07-25 Arnold D. Robbins <[email protected]>
* Makefile (CCFLAGS): Add -std=c++11.
* sed.h: Include <cstdint>.
* grep.c (main): Move close of input inside if that checks
if the open succeeded.
2018-07-25 Arnold D. Robbins <[email protected]>
* sed.1: Add definitions for .L and .LR and macros.
* Makefile: Use $$PATH in case PATH has directories
with spaces in it.
* README.md: Updated.
2018-07-24 Russ Cox <[email protected]>
* sed2.cpp: Fix int/pointer size assumptions.
2018-07-24 Russ Cox <[email protected]>
* Makefile: Put . in PATH explicitly for greptest, sedtest.
2018-07-24 Russ Cox <[email protected]>
* re2.cpp (regcomp): Handle [.zero.] and other long
collating element names.
2018-07-24 Russ Cox <[email protected]>
* re2.cpp (regcomp): Fix parse of x{1,}.
2018-07-24 Russ Cox <[email protected]>
* Fix C++ compiler warnings from Apple clang++.
2018-07-22 Arnold D. Robbins <[email protected]>
* Rename all *.c files to *.cpp.
* Makefile: Adjusted accordingly. Add rule for sed0.cpp, use
CXXFLAGS.
* README.md: Updated.
2018-07-22 Arnold D. Robbins <[email protected]>
* testsed.sh: Fix calls to close() in embedded awk program.
* sed0.c: Remove trailing whitespace from one of the lines.
* Makefile: Compile sed for debugging.
* README.md: Updated.
2018-07-20 Arnold D. Robbins <[email protected]>
Get things to compile without warnings.
* Makefile (retest): Use ./testre. Remove all references to
Dr. McIlroy's private malloc.c. Remove references to array.c.
* array.h (realloc): Move the definition here from array.c.
* array.c: Removed, and all references to it removed.
* grep.c: Include <unistd.h> for declaration of getopt().
(main): Add type to declaration.
(getline, execute, doregerror, warn, error): Use const char *
instead of char *.
(execute): Call line.bytes() to get the data for printing.
Fixes a core dump.
* re.h (Rex::dprint): Use const char *.
(Dup::in): Add leading type to declaration.
(Kmp::parse): Add leading type to declaration.
(orset): Renamed from 'or' which is a keyword in modern C++.
Fix all uses.
* re1.c (printpos): Use %ld for a long value.
(Rex::dprint): Use const char *.
* sed.h (warn, quit, synwarn, syntax, stdouterr): Use const char *.
* sed0.c (ustrncmp): Remove leading cast to uchar*, use const
for first parameter's cast.
(main): Add type to declaration.
(struct input): Need tag for some compilers.
* sed1.c (ustrcmp, ustrcrpy, ustrchr): Use const for first parameter.
(synwarn, syntax): Use const char *.
* sed2.c (stdouterr): Use const char *.
(struct digram): Need tag for some compilers.
* README.md: Updated.
2018-07-20 M. Douglas McIlroy <[email protected]>
Add test files to the repo:
-rwxr-xr-x 1 doug faculty 6258 Jun 5 1996 testgrep.sh
-rw-r--r-- 1 doug faculty 8328 Apr 16 1997 testsed.sh
2018-05-30 Arnold D. Robbins <[email protected]>
* README.md: Updated.
2018-05-30 M. Douglas McIlroy <[email protected]>
Add array.c to the repo.
-rw-r--r-- 1 doug faculty 375 Dec 1 1995 array.c
2017-10-15 Arnold D. Robbins <[email protected]>
* LICENSE: New file, added after consultation with Dr. McIlroy.
2017-10-10 Arnold D. Robbins <[email protected]>
* README.md: New file, for GitHub.
2017-10-10 M. Douglas McIlroy <[email protected]>
* re0.c, re1.c, re2.c, testre.c: Changes after running
through a current C++ compiler.
2003-01-26 M. Douglas McIlroy <[email protected]>
Additional files while attempting to modernize the library,
in the `additional' directory:
-rw-r--r-- 1 doug faculty 25 Jan 26 2003 formal.ref.h
-rw-r--r-- 1 doug faculty 8218 Jan 26 2003 nre.h
-rw-r--r-- 1 doug faculty 1706 Jan 26 2003 nregex.h
-rw-r--r-- 1 doug faculty 370 Jan 26 2003 re3.c
-rw-r--r-- 1 doug faculty 4875 Jan 26 2003 ref.c
-rw-r--r-- 1 doug faculty 4622 Jan 26 2003 regexl.h
-rw-r--r-- 1 doug faculty 7976 Jan 26 2003 zre.h
-rw-r--r-- 1 doug faculty 1729 Jan 26 2003 zregex.h
1998-03-04 M. Douglas McIlroy <[email protected]>
Initial commit:
-rw-r--r-- 1 doug staff 2737 Jun 6 1995 Makefile
-rw-rw-r-- 1 doug staff 2968 Mar 4 1998 README
-rw-rw-r-- 1 doug staff 536 Sep 27 1995 array.h
-rw-rw-r-- 1 doug staff 5654 Jun 4 1996 grep.c
-rw-rw-r-- 1 doug staff 2489 Jun 5 1996 mkfile
-rw-rw-r-- 1 doug staff 8021 Mar 4 1998 re.h
-rw-rw-r-- 1 doug staff 3154 Jan 21 1996 re0.c
-rw-rw-r-- 1 doug staff 21376 Mar 4 1998 re1.c
-rw-rw-r-- 1 doug staff 21751 Mar 4 1998 re2.c
-rw-rw-r-- 1 doug staff 1585 Jun 5 1996 regex.h
-rw-rw-r-- 1 doug staff 1298 Jun 8 1993 regexp.h
-rw-r--r-- 1 doug staff 8382 Sep 11 1997 sed.1
-rw-rw-r-- 1 doug staff 2819 Sep 11 1997 sed.h
-rw-rw-r-- 1 doug staff 4501 Sep 11 1997 sed0.c
-rw-rw-r-- 1 doug staff 12798 Sep 11 1997 sed1.c
-rw-rw-r-- 1 doug staff 8739 Apr 16 1997 sed2.c
-rw-rw-r-- 1 doug staff 2859 Sep 11 1997 sed3.c
-rw-rw-r-- 1 doug staff 9464 Mar 4 1998 testre.c
-rw-rw-r-- 1 doug staff 11557 Jan 25 1996 testre.dat