Cleaned up spec file including change of group, adding manifest file, style changes...
[external/byacc.git] / CHANGES
1 2009-10-27  Thomas Dickey  <tom@crayon>
2
3         * VERSION: 20091027
4
5         * output.c, mkpar.c, defs.h, lalr.c, closure.c, graph.c, lr0.c, verbose.c, main.c, reader.c:
6         strict compiler warnings
7
8 2009-10-26  Thomas Dickey  <tom@crayon>
9
10         * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
11         resync
12
13         * main.c, defs.h: introduce some typedefs for portability, etc.
14
15         * makefile.in:
16         don't remove "*.log" in mostlyclean rule since it interferes with regression
17         script.
18
19         * configure: regen
20
21         * aclocal.m4: resync with my-autoconf
22
23 2009-08-25  Thomas Dickey  <tom@crayon>
24
25         * config.guess, config.sub: 2009-08-19
26
27 2009-02-21  Thomas Dickey  <tom@crayon>
28
29         * VERSION: bump
30
31         * output.c: restore "yylval" symbol, omitted in cleanup on 2008/8/25
32
33 2008-12-26  Thomas Dickey  <tom@crayon>
34
35         * configure: regen with autoconf-2.52 (patched)
36
37 2008-12-25  Thomas Dickey  <tom@crayon>
38
39         * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
40         regenerated
41
42 2008-12-24  Thomas Dickey  <tom@crayon>
43
44         * VERSION: bump
45
46         * skeleton.c:
47         remove ifdef-lint from goto yyerrlab, to quiet gcc warning
48
49 2008-11-26  Thomas Dickey  <tom@crayon>
50
51         * verbose.c, main.c, defs.h, mkpar.c, reader.c:
52         completed implementation of "%expect" (report by Perry E. Metzger).
53         add "%expect-rr", which is (unlike bison) allowable in LALR parsers.
54
55 2008-11-24  Thomas Dickey  <tom@crayon>
56
57         * closure.c, defs.h, error.c, graph.c, lalr.c, lr0.c, main.c, mkpar.c, output.c, reader.c, skeleton.c, symtab.c, verbose.c, warshall.c:
58         change indent-style (request by Perry E. Metzger)
59
60 2008-08-27  Thomas Dickey  <tom@crayon>
61
62         * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
63         better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
64
65         * VERSION: bump
66
67         * skeleton.c:
68         better implementation of YYPARSE_PARAM, using YYPARSE_DECL() macro
69
70         * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, skeleton.c:
71         change YYRECOVERING to YYRECOVERING(), for compatibility with other yacc's.
72
73         * configure: regen'd
74
75         * configure.in: add -Wwrite-strings to warnings
76
77         * test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c, test/error.tab.c:
78         add YYPARSE_PARAM and YYPARSE_PARAM_TYPE
79
80         * skeleton.c:
81         add YYPARSE_PARAM (bison) and YYPARSE_PARAM_TYPE (FreeBSD) features.
82
83         * main.c, defs.h, output.c, skeleton.c, symtab.c, error.c, reader.c:
84         fixes for gcc -Wwrite-strings
85
86         * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
87         generate the tables as static-const (this is an interface change)
88
89         * output.c: realign columns in start_table()
90
91         * output.c:
92         generate the tables as static-const (this is an interface change)
93
94         * output.c: reorder functions to eliminate forward-references
95
96         * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
97         remove 'register' keywords
98
99 2008-08-26  Thomas Dickey  <tom@crayon>
100
101         * warshall.c, verbose.c, symtab.c, skeleton.c, reader.c, output.c, mkpar.c, main.c, lr0.c, lalr.c, graph.c, error.c, closure.c:
102         remove 'register' keywords
103
104 2008-08-25  Thomas Dickey  <tom@crayon>
105
106         * test/ftp.tab.c: regen'd
107
108         * reader.c:
109         improve the left-curly fix by testing after blanks, to avoid having a
110         " {" at the beginning of a line.
111
112         * test/error.tab.c, test/grammar.tab.c: regen'd
113
114         * output.c:
115         move the remaining newline-counting into write_XXX functions.
116
117         * test/calc.tab.c: regen'd
118
119         * output.c:
120         simplify part of the output_file formatting using new functions, e.g.,
121         start_int_table(), output_newline().
122
123         * reader.c:
124         modify copy_action() to indent the first character, it if is is left-curly
125         brace.  That makes the output look more like the original, as well as makes
126         it simpler to edit (not confuse editors which look for a left-curly in the
127         first column as if it were the beginning of a function).
128
129         * skeleton.c: minor fixes to avoid gcc -Wconversion warnings
130
131         * output.c: align the #define's produced for "-p" option
132
133         * test/run_test.sh: use the "-p" option for better coverage.
134
135         * output.c: simplify output_prefix() with new define_prefixed()
136
137         * skeleton.c: include string.h, for memset()
138         change stack size to unsigned to fix gcc -Wconversion warnings.
139
140         * VERSION: bump to 2008/8/25
141
142         * makefile.in: add dependency on VERSION file.
143
144 2008-08-24  Thomas Dickey  <tom@crayon>
145
146         * VERSION: bump
147
148         * lalr.c: improved memory-leak checking by freeing data in includes[]
149
150         * test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c, test/calc.tab.c:
151         update to match skeleton-change
152
153         * configure: regen'd
154
155         * skeleton.c: Add fix for stack discussed
156                 http://undeadly.org/cgi?action=article&sid=20080708155228
157         and applied
158                 http://www.openbsd.org/cgi-bin/cvsweb/src/usr.bin/yacc/skeleton.c.diff?r1=1.28&r2=1.29
159
160         * aclocal.m4: resync with my-autoconf (no major changes)
161
162 2008-03-14  Thomas Dickey  <tom@crayon>
163
164         * config.sub: update to 2008-03-08
165
166         * config.guess: update to 2008-03-12
167
168 2007-05-09  Thomas Dickey  <tom@crayon>
169
170         * main.c: close graph, verbose files if opened, on exit.
171
172         * main.c:
173         audit memory leaks - valgrind reported some memory still in use on exit.
174
175         * lalr.c, output.c, reader.c, mkpar.c, lr0.c:
176         add hook for auditing memory leaks
177
178         * defs.h: add hooks for auditing memory leaks
179
180         * configure: regen'd
181
182         * configure.in:
183         use CF_DISABLE_LEAKS, which combines --disable-leaks, --with-valgrind,
184         --with-dbmalloc and --with-dmalloc
185
186         * aclocal.m4: add CF_DISABLE_LEAKS and CF_WITH_VALGRIND
187
188         * aclocal.m4: improve version-checking in CF_GCC_VERSION
189         rework dbmalloc/dmalloc options using CF_NO_LEAKS_OPTION macro
190
191         * VERSION: 2007/5/9
192
193         * main.c: file_prefix did not always have a trailing null.
194
195 2007-03-25  Thomas Dickey  <tom@crayon>
196
197         * mkdirs.sh: improved version for "make -j"
198
199 2006-12-22  Thomas Dickey  <tom@crayon>
200
201         * config.guess: 2006/12/22
202
203 2006-12-08  Thomas Dickey  <tom@crayon>
204
205         * config.sub: 2006/12/08
206
207 2005-08-13  Thomas Dickey  <tom@crayon>
208
209         * main.c: add -V to usage message
210
211         * makefile.in: remove -t option from ctags
212
213         * VERSION: 2005/8/13
214
215 2005-08-13  schmitz
216
217         * main.c: Sylvain Schmitz:
218         modify the '-o' option to work like bison's, which sets the file-prefix.
219
220 2005-08-13  Matt.Kraai
221
222         * output.c:
223         Debian #322858 (don't close union_file, which contained data).
224         This feature is used in groff.
225
226 2005-08-13  Thomas Dickey  <tom@crayon>
227
228         * configure: regenerated
229
230         * aclocal.m4: improve checks for Intel compiler warnings
231
232 2005-06-25  Thomas Dickey  <tom@crayon>
233
234         * config.sub: 2005/6/2
235
236         * config.guess: 2005/5/27
237
238 2005-05-05  Thomas Dickey  <tom@crayon>
239
240         * defs.h: add a fallback for GCC_UNUSED
241
242 2005-05-04  Thomas Dickey  <tom@crayon>
243
244         * makefile.in: add "." to include-path to pickup config.h
245
246         * reader.c:
247         apply fix suggested by Steve Dum for end_rule() in Redhat Bugzilla #112617.
248
249         * output.c:
250         correct a limit check in pack_vector() - report/analysis by William Evans
251
252         * main.c:
253         exit after printing version.  Otherwise "yacc -V" will exit with an erro
254         after printing the usage message.
255
256         * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
257         regenerated after skeleton-changes
258
259         * skeleton.c: replace a few -1's with YYEMPTY
260
261         * skeleton.c:
262         delete yynewerror (no one uses it any more, and it just makes compiler warnings)
263
264         * skeleton.c: adapt yygrowstack() and related definitions from FreeBSD
265
266         * test/run_test.sh:
267         filter out lines with YYPATCH, since that will change with each update
268
269         * yacc.1: add -V option
270
271         * main.c: add -V option to print the version.
272         simplify option-parsing by moving the duplicate logic for setting flags into
273         new function setflag().
274
275         * skeleton.c:
276         move the actual definition of YYMAJOR and YYMINOR to defs.h (as numbers).
277         add YYPATCH here so it can be tested by applications.
278
279         * defs.h:
280         add macros to define VERSION in terms of the (numeric) YYMAJOR, YYMINOR and
281         YYPATCH symbols.
282
283         * lalr.c, lr0.c, mkpar.c, defs.h, closure.c, warshall.c, output.c, verbose.c, graph.c, reader.c, main.c, symtab.c:
284         reduce externs by making static the procedures that are not referenced outside
285         the module in which they are defined.
286
287         * makefile.in:
288         the VERSION file holds the patch-date.  Define YYPATCH, so this will be
289         compiled into the skeleton.
290
291         * VERSION: RCS_BASE
292
293         * main.c:
294         add "-o" to usage message.  It is too long for a single line; rewrite usage()
295         to show one option per line.
296
297 2005-05-03  Thomas Dickey  <tom@crayon>
298
299         * main.c: add -o option, to work with scripts that assume bison.
300         simplify create_file_names() with a macro.
301         simplify done() with a macro.
302         adapt fix from FreeBSD for signal race, e.g., if done() is interrupted by
303         onintr(), do not flush output via exit(), but use _exit() instead.
304
305         * defs.h: remove unnecessary externs for main.c
306
307         * yacc.1: add -o option
308
309         * graph.c: remove unused parameter
310
311         * mkpar.c, defs.h, reader.c:
312         add support for "%expect", a bison feature from FreeBSD sources
313
314         * lr0.c, reader.c, main.c, skeleton.c, graph.c, symtab.c, closure.c, mkpar.c, lalr.c, error.c, warshall.c, verbose.c, output.c:
315         indent'd
316
317         * configure: regenerated for 2005/5/5
318
319         * aclocal.m4: miscellaneous updates (adds CF_INTEL_COMPILER)
320
321 2005-04-27  schmitz
322
323         * defs.h, graph.c, lr0.c, main.c, makefile.in, reader.c, yacc.1:
324         Sylvain Schmitz <schmitz@i3s.unice.fr>:
325         add graphical output of the LALR(1) automaton for graphviz,
326         associated with command-line option `-g'
327
328 2005-04-16  Thomas Dickey  <tom@crayon>
329
330         * config.sub: 2005/2/10
331
332         * config.guess: 2005/3/24
333
334 2004-03-28  Thomas Dickey  <tom@crayon>
335
336         * test/calc.tab.c, test/error.tab.c, test/ftp.tab.c, test/grammar.tab.c:
337         updates due to adding yyparse() prototype
338
339         * configure: RCS_BASE
340
341         * configure.in:
342         add AC_ARG_PROGRAM to make --program-prefix, etc., work.
343
344         * makefile.in: first cut of script to support --program-prefix
345
346         * configure.in:
347         reorder AC_INIT/AC_CONFIG_HEADER to make this "work" with autoconf 2.52
348
349         * makefile.in: modify so DESTDIR works
350
351         * makefile.in: use EXEEXT and OBJEXT
352
353         * configure.in: use CF_PROG_EXT
354         generate a config.h
355
356         * defs.h: make this use the generated config.h
357
358         * skeleton.c: add a forward-reference for yyparse()
359
360         * aclocal.m4: add CF_CHECK_CACHE, needed for CF_PROG_EXT
361
362         * yacc.1: remove the discussion of TMPDIR since it is obsolete
363
364         * skeleton.c: fix a couple of minor compiler-warnings in the skeleton
365
366         * defs.h: remove action_file_name, etc., since we use tmpfile() now.
367
368         * main.c:
369         use tmpfile() for opening the working files.  This quiets a warning
370         advising the use of mkstemp().
371
372         * output.c:
373         Do not close temporary-files here, since they are opened with tmpfile().
374         Just rewind them, and they're ready to read back the data stored in them.
375
376         * test/grammar.output, test/grammar.tab.c, test/grammar.tab.h: RCS_BASE
377
378         * makefile.in: turn on "make check" rule
379
380         * test/calc.output, test/run_test.sh, test/calc.tab.h: RCS_BASE
381
382         * test/ftp.tab.c: yyparse() is now yyparse(void)
383
384         * test/calc.tab.c: RCS_BASE
385
386         * test/error.tab.c: yyparse() is now yyparse(void)
387
388         * test/README: RCS_BASE
389
390         * yacc.1: various typography fixes prompted by Debian #100947
391
392         * aclocal.m4, makefile.in, configure.in: RCS_BASE
393
394         * README: updated to note that this is not the original
395
396 2004-03-24  Thomas Dickey  <tom@crayon>
397
398         * test/grammar.y: RCS_BASE
399
400 2004-02-23  Thomas Dickey  <tom@crayon>
401
402         * config.sub: RCS_BASE
403
404 2004-02-17  Thomas Dickey  <tom@crayon>
405
406         * config.guess: RCS_BASE
407
408 2003-11-29  Thomas Dickey  <tom@crayon>
409
410         * install-sh: improved quoting
411
412 2002-06-29  Thomas Dickey  <tom@crayon>
413
414         * mkdirs.sh:
415         don't use character range, since some locales don't work as expected
416
417 2001-06-22  Thomas Dickey  <tom@crayon>
418
419         * install-sh: RCS_BASE
420
421 2000-11-20  Thomas Dickey  <tom@crayon>
422
423         * test/calc.y: RCS_BASE
424
425         * vmsbuild.com: original version
426
427 2000-02-23  dickey
428
429         * test/RCS, RCS: PERMIT FILE
430
431 2000-02-14  Thomas Dickey  <tom@crayon>
432
433         * main.c: fix for VMS port - making pathname for temp-file
434
435         * descrip.mms: original version
436
437 2000-02-13  Thomas Dickey  <tom@crayon>
438
439         * defs.h, verbose.c, reader.c, main.c, skeleton.c, warshall.c, symtab.c, closure.c, mkpar.c, lalr.c, lr0.c, output.c, error.c:
440         ansify
441
442 1999-11-30  Thomas Dickey  <tom@crayon>
443
444         * mkdirs.sh: RCS_BASE
445
446 1995-01-01  Thomas Dickey  <tom@crayon>
447
448         * config_h.in: RCS_BASE
449
450 1993-12-23  unknown
451
452         * README.DOS, main.c: MSDOS-port
453
454 1993-12-22  unknown
455
456         * reader.c, defs.h: MSDOS-port
457
458 1993-03-02  unknown
459
460         * README: original version
461
462 1993-02-22  unknown
463
464         * test/ftp.output, test/ftp.tab.c, test/ftp.tab.h, test/error.output, test/error.tab.c, test/error.tab.h:
465         RCS_BASE
466
467         * skeleton.c, warshall.c, main.c, output.c, reader.c, closure.c, NOTES:
468         original version
469
470 1992-10-12  unknown
471
472         * yacc.1: original version
473
474 1992-10-11  unknown
475
476         * defs.h: original version
477
478 1991-01-20  unknown
479
480         * mkpar.c, verbose.c: original version
481
482 1991-01-14  unknown
483
484         * lr0.c, Makefile, Makefile.old: original version
485
486 1990-07-16  unknown
487
488         * NEW_FEATURES: original version
489
490 1990-06-03  unknown
491
492         * ACKNOWLEDGEMENTS: original version
493
494 1990-02-05  unknown
495
496         * symtab.c, lalr.c, error.c: original version
497
498 1990-01-16  unknown
499
500         * test/error.y: RCS_BASE
501
502 1989-11-22  unknown
503
504         * NO_WARRANTY: original version
505
506 1989-09-23  unknown
507
508         * test/ftp.y: RCS_BASE
509