maint: update all copyright dates via "make update-copyright"
[cppi.git] / ChangeLog.1
blob0ef1fe93b160b2530a6c5f691f7ebebdfdf6c512
1 2008-01-02  Jim Meyering  <meyering@redhat.com>
3         * bootstrap.conf (avoided_gnulib_modules): Don't avoid lock,
4         size, size_max.  Now they're required by other modules, too.
6         * Makefile.maint (makefile-check): Prefix a command with "@".
8 2007-10-04  Jim Meyering  <jim@meyering.net>
10         * bootstrap (slurp): Adapt to _.h -> .in.h name change.
11         (update_po_files): Work also when there are no .po files in po/.
13 2007-09-03  Jim Meyering  <jim@meyering.net>
15         Temporary hack to avoid warning about gperf-emitted code.
16         * src/Makefile.am (cpp-cond.c): Use perl to insert a "static"
17         declaration on the generated cpp_cond_lookup function, to avoid
18         a warning from gcc:
19         warning: C99 inline functions are not supported; using GNU89.
21         Use PACKAGE_NAME instead of GNU_PACKAGE.
22         * configure.ac: Don't define GNU_PACKAGE.
23         * src/system.h: Use PACKAGE_NAME, not GNU_PACKAGE.
25         * Makefile.maint: Update from coreutils.
27         * configure.ac: Use new version-string set-up.
28         (AM_INIT_AUTOMAKE): Require automake-1.10.  Drop "gnits" option.
29         * Makefile.am (AUTOMAKE_OPTIONS): Don't set this (thus removing gnits).
31         * bootstrap.conf (gnulib_modules): Add git-version-gen.
33 2007-08-23  Jim Meyering  <jim@meyering.net>
35         * Makefile.maint: Merge from coreutils.
37 2007-07-24  Jim Meyering  <jim@meyering.net>
39         * Makefile.am (EXTRA_DIST): Remove announce-gen.
41         Update all copyright notices to use the newer form (e.g., remove
42         the postal address, and add the 'licenses' URL).
43         * GNUmakefile, bootstrap.conf, build-aux/vc-list-files:
44         * man/help2man, src/system.h: Update Copyright
45         * COPYING: Update to Version 3.
47         * announce-gen: Remove this file.  Now it's in build-aux/.
49         * Makefile.maint: Update from coreutils.
50         * bootstrap: Likewise.
51         * README-hacking: Likewise.
53         * src/cppi.l: Add casts to avoid %lu vs. size_t format/type
54         mismatch warning.
56 2007-07-08  Jim Meyering  <jim@meyering.net>
58         * bootstrap: Copy from coreutils.
60         * src/Makefile.am (cpp-cond.c): Don't emit "include <config.h>"
61         into this file.  Otherwise, I'd get a redefinition warning for
62         the symbol, __STDC_LIMIT_MACROS_TRIGGER.
64 2007-03-24  Jim Meyering  <jim@meyering.net>
66         * src/system.h: Simply include <time.h>, now that that is as
67         portable as the classic #if TIME_WITH_SYS_TIME... autoconf idiom.
68         Don't include timespec.h.  No longer needed.
70 2007-02-25  Jim Meyering  <jim@meyering.net>
72         * Makefile.maint (announcement): Update from coreutils.
74         * README-hacking: Renamed from README-cvs, and sync'd from coreutils.
75         * README-cvs: Renamed to README-hacking.
77         * bootstrap: Update from coreutils.
79 2007-02-22  Jim Meyering  <jim@meyering.net>
81         * bootstrap: Update from coreutils.
83 2007-02-19  Jim Meyering  <jim@meyering.net>
85         Adapt to newer gnulib.
86         * src/system.h: Don't include <exit.h>.
87         * bootstrap: Use "._bootmp" as the temporary directory name,
88         not ".#bootmp".  The latter's "#" caused trouble with the new,
89         gnulib-added "LINK_WARNING_H = $(top_srcdir)/.#bootmp/..." line.
91 2007-02-01  Jim Meyering  <jim@meyering.net>
93         * configure.ac: Put config.h in lib/.
94         * src/Makefile.am (AM_CPPFLAGS): Remove "-I..".  No longer needed.
96 2007-01-30  Jim Meyering  <jim@meyering.net>
98         * Makefile.maint: Upgrade from coreutils.
99         * bootstrap: Likewise.
100         * bootstrap.conf: Add announce-gen.
102         * src/cppi.l (INPUT_AND_ECHO): Guard ({})-using definition
103         with "#if __GNUC__ && ! __STRICT_ANSI__", not just __GNUC__.
104         Put a static declaration of "input" in the #else block.
105         (usage): Divide --help output string into smaller chunks,
106         each of which is no larger than the C89 max of 509.
107         Use the HELP_OPTION_DESCRIPTION and VERSION_OPTION_DESCRIPTION macros.
108         Use the PACKAGE_BUGREPORT macro.
110         * src/system.h: Don't include "stpcpy.h".
112 2006-10-22  Jim Meyering  <jim@meyering.net>
114         Version 1.13.
116         * NEWS: Record the 6.4 release date.
117         * Makefile.maint: Update to work with git.
119 2006-10-16  Jim Meyering  <jim@meyering.net>
121         * bootstrap (slurp): Also update .gitignore if it exists.
123 2006-10-14  Jim Meyering  <jim@meyering.net>
125         * src/system.h (EXIT_FAILURE, EXIT_SUCCESS): Remove definitions.
126         Instead, include "exit.h".  This hereby retires the work-around for
127         "Sony NEWS-OS Release 4.0C"'s bug due to "#define EXIT_FAILURE 0".
129 2006-09-21  Jim Meyering  <jim@meyering.net>
131         * configure.ac: Require autoconf-2.60 and automake-1.9.6.
132         * bootstrap: Import from coreutils.
134 2006-09-09  Jim Meyering  <jim@meyering.net>
136         * configure.ac: Remove GNULIB_AUTOCONF_SNIPPET.
137         (AC_INIT): Bump version to 1.13.
138         Add AM_GNU_GETTEXT([external]).
140         * .x-sc_unmarked_diagnostics: New file.
142         * src/system.h: Update from coreutils, with some tiny changes.
144         * src/cppi.l: Include "system.h" from %top to avoid redefinition
145         warnings about cpp symbols like INT8_MAX that are defined in the
146         generated cppi.c.
148         * src/Makefile.am (cpp-cond.c): Prepend "#include <config.h>",
149         when generating this file.
151         * Makefile.cfg (local-checks-to-skip): Skip three of the checks
152         that coreutils performs.
154         * bootstrap: Update from coreutils.
155         * bootstrap.conf: New file.
157 2005-09-13  Jim Meyering  <jim@meyering.net>
159         * Version 1.12.
161         * configure.ac: Use gl_EARLY and gl_INIT.
162         Remove AC_GNU_SOURCE, gl_USE_SYSTEM_EXTENSIONS, and AM_STDBOOL_H.
164         * src/system.h: Don't include pathmax.h
165         Include <fcntl.h> and <unistd.h> unconditionally.
166         Remove HAVE_DECL_* blocks.
168 2005-08-31  Jim Meyering  <jim@meyering.net>
170         * man/Makefile.am (.x.1): Define PATH so help2man can find cppi.
172         * src/cppi.l (pop): Avoid overflow-in-implicit-constant-conversion
173         on 64-bit systems.
174         ("\""): Use %lu, not %d with size_t argument.
176 2005-05-08  Jim Meyering  <jim@meyering.net>
178         * src/cppi.l: Don't include gettext.h -- system.h does that.
179         Adjust type of parameters corresponding to line_number, so that
180         they too have type `unsigned int'.
182 2004-01-24  Jim Meyering  <jim@meyering.net>
184         * src/Makefile.am (cppi_SOURCES): Remove sys2.h.
186 2003-11-22  Jim Meyering  <jim@meyering.net>
188         * src/cpp-cond.c: Regenerate with gperf-3.0.1.
190         * lib/Makefile.am: Remove duplicate line: EXTRA_DIST += stdbool_.h.
191         (libgnulib_a_SOURCES): Add exit.h.
192         * lib/exit.h: New file.  From gnulib.
194         * src/Makefile.am: Don't set ACLOCAL_AMFLAGS here.
196 2003-08-22  Jim Meyering  <jim@meyering.net>
198         * tests/{most tests}: Remove any `./' prefix on path to test-common.
199         Otherwise, a non-srcdir `make check' would fail.
200         Suggested fix from Marty Leisner.
202 2003-08-18  Jim Meyering  <jim@meyering.net>
204         * src/cppi.l: Check white space after #ifndef, too.
205         * tests/e6: Adjust to reflect the above.
207 2003-08-15  Jim Meyering  <jim@meyering.net>
209         * man/Makefile.am, man/cppi.x: New files.
210         * configure.ac: Check for help2man.
212         * Makefile.am (SUBDIRS): Add man.
214 2003-08-13  Jim Meyering  <jim@meyering.net>
216         * Version 1.11.
218         * m4/Makefile.am.in: New file.
220         * lib/Makefile.am (BUILT_SOURCES): Add $(ALLOCA_H) and $(STDBOOL_H).
221         Otherwise, those files aren't created when needed.
223         * configure.ac: Add stdbool and alloca things.
225         * tests/version-check: New file.
226         * tests/Makefile.am (TESTS): Add version-check.
227         (PACKAGE_VERSION): Add PACKAGE_VERSION.
229         * src/cppi.l (main): Now that we use close_stdout, don't close
230         stdout explicitly.
231         Now that we're using `error' instead of `fatal' and `warn',
232         remove all of the `program_name' arguments.
234         * Makefile.maint (syntax checks): Use cvsu more (so we check only
235         version-controlled files), rather than hard-coding exclusions
236         for generated files like cppi.c.
238         * m4/po.m4: Change SPACE-TAB sequence to TAB-SPACE in sed range.
239         * tests/f5: Change SPACE-TAB sequence to TAB-SPACE.
241 2003-08-12  Jim Meyering  <jim@meyering.net>
243         * src/cppi.l: Include config.h from a %top{...} block so config.h
244         precede flex's inclusion of <stdio.h>, thus permitting the _GNU_SOURCE
245         definition in config.h to take effect.
247         * tests/Makefile.am: Change notation: e.g. use $(srcdir), not @srcdir@.
249         * src/Makefile.am: Revamp, now that we're using separate
250         src/ and lib/ directories.
252         * src/cppi.l: Mark another string for translation.
254         * configure.ac: Revamp.  Mostly regenerated by gnulib-tool.
256         * src/cppi.l: Don't include stdlib.h, unistd.h, string.h, ctype.h, etc.
257         Those are included via system.h.
258         Include system.h.
259         (EXIT_FAILURE, EXIT_SUCCESS, STREQ): Don't define.
260         Use error, not fatal.
261         (PROGRAM_NAME, AUTHORS): Define.
262         (GETOPT_HELP_OPTION_DECL, GETOPT_VERSION_OPTION_DECL): Use these.
263         (main): Use case_GETOPT_HELP_CHAR and case_GETOPT_VERSION_CHAR.
265 2003-08-11  Jim Meyering  <jim@meyering.net>
267         * cppi.l: Include "gettext.h" and "closeout.h".
268         (_, N_): Define.
269         (main): Call atexit.
270         Mark translatable strings.
272 2003-02-27  gettextize  <bug-gnu-gettext@gnu.org>
274         * configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.12-pre1.
276 2003-02-25  gettextize  <bug-gnu-gettext@gnu.org>
278         * configure.ac (AC_CONFIG_FILES): Add po/Makefile.in.
280 2003-02-19  Jim Meyering  <jim@meyering.net>
282         * tests/Makefile.am (TESTS_ENVIRONMENT): Use @PATH_SEPARATOR@, not `;'.
284 2002-10-16  Jim Meyering  <meyering@lucent.com>
286         * Makefile.am (AM_LFLAGS): Use this, not LFLAGS.
287         (cppi.c): Use automake-provided $(LEXCOMPILE).
289         Avoid warnings from gcc.
290         * cppi.l (kth_entry): Change type of parameter to unsigned int.
291         ("\""): Change counter types from int to size_t.
293 2002-02-25  Jim Meyering  <meyering@lucent.com>
295         * configure.ac (AC_CONFIG_AUX_DIR): New macro invocation.
297         * config: New subdirectory, containing the following files from .:
298         config.guess, config.sub, depcomp, missing, install-sh, mkinstalldirs.
300 2001-12-08  Jim Meyering  <meyering@lucent.com>
302         * cppi.l: (yywrap): Remove function.
303         Use `%option noyywrap' instead.
305         * Makefile.am (cpp-cond.c): Remove stray `rm'.
307 2001-09-30  Jim Meyering  <meyering@lucent.com>
309         * configure.ac: Tell automake to use the file name `config.hin'
310         rather than the two-`.' config.h.in.
311         * configure.ac: Renamed from configure.in.
313         * m4/Makefile.am (EXTRA_DIST): Remove uintmax_t.m4.
314         * m4/uintmax_t.m4: Remove, as it duplicates inttypes.m4.
316 2001-08-03  Jim Meyering  <meyering@lucent.com>
318         * Makefile.am (cpp-cond.c): Remove the sed hack, now that gperf-2.7
319         does the right thing.  Reported by Bruno Haible.
321 2001-07-16  Jim Meyering  <meyering@lucent.com>
323         * cppi.l (usage): Fix typo in --version description.
324         (usage): Make it clearer that spaces come between `#' and
325         the following directive.
326         Suggestions from Karl Heuer.
328 2001-07-14  Jim Meyering  <meyering@lucent.com>
330         * Version 1.10.
332         * obstack.c (__attribute__): Define it to be empty for compilers
333         that don't support that syntax.
335         * Makefile.maint (rel-files): Define and factor.
336         (emit-rsync-commands): Also emit code to rsync the .bz2 files.
338         * Makefile.maint: Create tar.bz2 files and include them in announcement.
340 2001-07-09  Jim Meyering  <meyering@lucent.com>
342         * Version 1.9.
344         * tests/d1: Don't use `: >' to create empty files.  Use touch instead.
345         The former doesn't work with Ultrix 4.4's /bin/sh.
347         * Makefile.am: Comment out first definition of flex_debug to placate
348         automake.
350         * Makefile.cfg: New file.
351         * Makefile.am (EXTRA_DIST): Add Makefile.cfg.
352         * GNUmakefile: Include Makefile.cfg.
354 2001-07-07  Jim Meyering  <meyering@lucent.com>
356         * cppi.l (--ansi): Report the line number of the offending directive --
357         was off by one or more.
358         (--ansi): Break out of the loop (rather than continuing it) after
359         reading a C++ comment.
360         * tests/ansi-4: Adjust line numbers accordingly.
361         * tests/ansi-5: Likewise.
363         Add tests for the above-fixed bugs.
364         * tests/Makefile.am (TESTS): Add ansi-7 and ansi-8.
365         * tests/ansi-8: New file.
366         * tests/ansi-7: New file.
368 2001-01-21  Jim Meyering  <meyering@lucent.com>
370         * m4/lex.m4: Don't undefine AM_PROG_LEX.
372         * configure.in: Move AC_AIX and AC_MINIX to precede first compile test.
374 2001-01-07  Jim Meyering  <meyering@lucent.com>
376         * cppi.l (emit_indented_cpp): Ignore return value from a call to
377         emit_or_check since the next statement sets *fail unconditionally.
378         ("\""): Don't fatal upon finding first EOF in string.  Instead,
379         warn, set `fail', and break out of the loop.
380         Don't fatal upon finding string that's too long;  record the failure
381         and continue on, in case there are other problems.
383 2000-12-06  Jim Meyering  <meyering@lucent.com>
385         * Version 1.8.
387         * configure.in (AC_PROG_RANLIB): Use it.
388         * Makefile.am: Add the framework required to build a library.
389         (cpp.h): Don't use GNU make's $< variable.
391         * cppi.l (INPUT_AND_ECHO): Define only after declaration of
392         inhibit_output.
394 2000-11-04  Jim Meyering  <meyering@lucent.com>
396         * m4/Makefile.am (EXTRA_DIST): Add assert.m4 and lex.m4.
397         * assert/lex.m4: New file.
398         * m4/lex.m4: New file.  Require flex.
400         Remove the gcc-only restriction.
401         * cppi.l (INPUT_AND_ECHO) [!defined __GNUC__]: Provide a function.
403         * Makefile.am (EXTRA_DIST): Add .prev-version.
404         * Makefile.maint: Update from fileutils.
406         * cppi.l: Include unistd.h.
407         Add block of string.h/strings.h/memory.h includes.
408         (usage): Also print the bug-reporting address.
409         * configure.in: Add memory.h and unistd.h.
410         Use jm_ASSERT.
412 2000-08-03  Jim Meyering  <meyering@lucent.com>
414         * config.sub: New file.
415         * config.guess: New file.
416         * configure.in: Add AC_CANONICAL_HOST.
418         * Makefile.am (cppi_SOURCES): Add xstrtoul.c and xstrtol.c
419         (noinst_HEADERS): Add xstrtol.h.
420         (SUBDIRS): Prepend `.' and m4.
421         (ACLOCAL_AMFLAGS): Set to `-I m4"
422         (Makefile): Depend on $(BUILT_SOURCES).
424         * xstrtol.c: New file.
425         * xstrtol.h: New file.
426         * xstrtoul.c: New file.
428 2000-08-02  Jim Meyering  <meyering@lucent.com>
430         * missing: New file.
432         * cppi.l: Add new option: --max-string-length=LEN.
434         * configure.in: Add AC_PROG_CC_STDC before AC_C_CONST.
435         (AC_PROG_RANLIB): Remove.
436         (jm_AC_PREREQ_XSTRTOUMAX): Use it.
437         Use AC_CONFIG_FILES and AC_OUTPUT.
439         * acconfig.h: Remove file.
441 2000-05-04  Jim Meyering  <meyering@lucent.com>
443         * cppi.l: Remove unused variable, `preceding_backslash'.
445 1999-02-13  Jim Meyering  <meyering@ascend.com>
447         * Version 1.7.
449         * tests/Makefile.am (TESTS): Add cxx-3.
450         * tests/cxx-3: New test.
452 1999-02-12  Jim Meyering  <meyering@ascend.com>
454         * cppi.l (gobble_line): New function.
455         "//": New rule.  Handle C++ comments.
456         (#-directive-rule): Recognize C++ comments here, too.
457         Reported by Hanif.
459         * Makefile.am (distcheck-hook): Add hook to Makefile.maint.
461         * tests/test-common: Don't prepend .. to $PATH here.
462         * tests/Makefile.am (TESTS_ENVIRONMENT): Prepend .. to $PATH here.
463         (TESTS): Add cxx-1 and cxx-2.
464         * tests/cxx-1: New test.
465         * tests/cxx-2: New test.
467         * configure.in: Require autoconf-2.13.
468         * Makefile.am (AUTOMAKE_OPTIONS): Require automake-1.4.
470         * tests/ansi-6: New test.
471         * tests/Makefile.am (TESTS): Add it.
473 1999-02-10  Jim Meyering  <meyering@ascend.com>
475         * cppi.l (gobble_c_comment): New function -- extracted from
476         comment-processing rule.
477         (#-directive-rule): Detect text after #else and #endif.
478         Use gobble_c_comment here, too.
479         New option: --ansi (-a).
481         * tests/Makefile.am (TESTS): Add new ansi-? tests.
483         * tests/e9: Adjust for new #else/#endif ansi test.
484         * tests/ansi-1: New test.
485         * tests/ansi-2: New test.
486         * tests/ansi-3: New test.
487         * tests/ansi-4: New test.
489 1998-11-22  Jim Meyering  <meyering@ascend.com>
491         * Version 1.6.
493         * cppi.l: Include cpp-cond.c, not cpp-cond-lookup.c.
495 1998-11-12  Jim Meyering  <meyering@ascend.com>
497         * Makefile.am (cpp-cond.c): Rename from cpp-cond-lookup.c (was longer
498         than 14 chars).
499         Perform the gperf and sed in separate commands, not a pipe.
500         Otherwise, folks without gperf would end up with an empty
501         cpp-cond-lookup.c file that would evoke compile errors.
503 1998-10-28  Jim Meyering  <meyering@ascend.com>
505         * Version 1.5.
507 1998-10-09  Jim Meyering  <meyering@ascend.com>
509         * cppi.l (main, usage): Remove and undocument DISABLE_CPP_INDENT_CHECK
510         envvar support.
512 1998-10-02  Jim Meyering  <meyering@ascend.com>
514         * Makefile.am (CLEANFILES): Add lex.backup.
516         * Version 1.4.
518         Line numbers in diagnostics were off -- sometimes by a lot.
519         Reported by Tim Lynch.
520         * cppi.l (gobble_define): Count newlines.
521         Adjust caller.
522         * tests/Makefile.am (TESTS): Add d5.
523         * tests/d5: New file -- test for the above fix.
525         * tests/stringify-2: Adjust line numbers.
527 1998-09-09  Jim Meyering  <meyering@ascend.com>
529         * cppi.l (lookup_cpp_keyword): Declare function to be static.
531 1998-09-08  Jim Meyering  <meyering@ascend.com>
533         * Makefile.am (cpp.h): Generate declarations of `enum Eic_type'
534         and the `directive' array of strings.
535         (BUILT_SOURCES): Add cpp.h.
537         * cppi.l: Include cpp.h here in place of hard-coded dcls.
538         (emit_indented_cpp): Don't use gcc extension for struct initialization.
540         * cppi.l: Remove and undocument kludgey --cvs (-C) option.
541         * tests/Makefile.am (TESTS): Remove f6 (used -C).
543 1998-09-02  Jim Meyering  <meyering@ascend.com>
545         * Makefile.maint: New file.
546         * GNUmakefile: New file.
547         * Makefile.am (EXTRA_DIST): Add GNUmakefile and Makefile.maint.
549 1998-09-01  Jim Meyering  <meyering@ascend.com>
551         * configure.in (VERSION): Bump to 1.3.
553         * Makefile.am (flex_8_bit): New variable.
554         (LFLAGS): Include it here.
555         * tests/8-bit: New file.
556         * tests/Makefile.am (TESTS): Add 8-bit.
558 1998-08-01  Jim Meyering  <meyering@ascend.com>
560         * configure.in: Bump version to 1.2.
562         * cppi.l (gobble_define): New function.
563         Call it for every #define directive.
565         Tests for the above.
566         * tests/stringify-1: New file.
567         * tests/stringify-2: New file.
568         * tests/stringify-3: New file.
569         * tests/stringify-4: New file.
570         * tests/Makefile.am (TESTS): Add new tests.
572 1998-04-08  Jim Meyering  <meyering@ascend.com>
574         * configure.in: Bump version from 1.1a to 1.1b.
576         ADMIN EOI 19316: FreeBSD portability fixes
577         * Makefile.am (cpp-cond-lookup.c): Don't use gperf's -E option:
578         some older versions don't support it and we don't need it.
579         * fatal.c: Include config.h.
581 1998-03-27  Jim Meyering  <meyering@eng.ascend.com>
583         * cppi.l (initial_i_depth): New variable.
584         (%{%}-block): Initialize initial_i_depth, and i_depth from that.
585         (emit_or_check): Accommodate possibility that i_depth may now be
586         negative.
587         (emit_indented_cpp): Likewise.
588         (<<EOF>>): Likewise.
589         Suggestion from Ulrich Drepper.
591         * configure.in: Use AM_PROG_LEX in place of the (AC_PROG_LEX,
592         AC_DECL_YYTEXT) pair.
594 1998-03-15  Jim Meyering  <meyering@eng.ascend.com>
596         * Makefile.am (cppi.c): Add explicit rule.
598         * cppi.l (VERSION): Remove definition.
599         (usage): Describe options.
601         autoconfiscate and automakify
602         * Add associated new files.
604         * fatal.c: Remove duplicate code.  Use #ifdefs instead.
606         * tests/: New directory.
607         Move test scripts into it.
609 1997-12-29  Jim Meyering  <meyering@na-net.ornl.gov>
611         * cppi.l (usage): Add `\n\' at end of last line of message.
613 1997-12-06  Jim Meyering  <meyering@na-net.ornl.gov>
615         * Makefile (cpp-cond-lookup.c): Use sed to insert a cast of str[]
616         reference to `unsigned char' to avoid warnings from gcc.
618 1997-11-01  Jim Meyering  <meyering@na-net.ornl.gov>
620         * Makefile (cppi): Depend on obstack.o.
622         * obstack.c: New file.
623         * obstack.h: New file.
625         * cppi.l: Remove hard-coded limit: use an obstack for
626         keyword/line_number pairs.
628 1997-10-26  Jim Meyering  <meyering@na-net.ornl.gov>
630         * cppi.l: Don't pack keyword/line_number pairs into an int.
631         Instead, keep a stack of structs.
632         Update stack manipulation functions.
633         (nth_entry): New function.
635 1997-06-26  Jim Meyering  <meyering@na-net.ornl.gov>
637         * cppi.l (#<any-cpp-directive>): Don't try to return early when
638         detecting improper indentation and -l was specified.
640 1997-06-24  Jim Meyering  <meyering@na-net.ornl.gov>
642         * cppi.l (emit_indented_cpp): Initialize *fail to zero.
644 1997-06-23  Jim Meyering  <meyering@na-net.ornl.gov>
646         * Makefile (cppi): Add getopt.o and getopt1.o.
648         * cppi.l (main): Add --list-files-only (-l) option.
649         Suggestion from Ignacio Goyret.
650         Use GNU getopt.
652 1997-06-15  Jim Meyering  <meyering@na-net.ornl.gov>
654         * cppi.l (emit_or_check): Handle leading-space #pragmas a little
655         differently.
656         * f5: Modify test to reflect the change.
658 1997-05-29  Jim Meyering  <meyering@na-net.ornl.gov>
660         * cppi.l (usage): Describe white-space-squeezing xform.
662 1997-05-27  Jim Meyering  <meyering@na-net.ornl.gov>
664         * Makefile: Remove old cpp-indent rules.
665         Begin converting empty, a, b, c tests to new format.
667         * cppi.l (emit_or_check): Remove now-spurious exclusion:
668         type == EIC_OTHER.
669         (emit_indented_cpp): Handle EIC_DEFINE.
670         (cpp_indent): Take another parameter.
671         In CVS mode, don't fail when IN_FILE doesn't exist.
672         That happens when you commit a file after cvs-deleting it.
673         (main): Update single caller of cpp_indent.
675         * cpp.gp: Add `define'.
677         * cppi.l (enum Eic_type): Add EIC_PRAGMA.
678         (emit_or_check): Treat ` #pragma' as a special case.
679         (emit_indented_cpp): Treat EIC_PRAGMA just like EIC_OTHER.
680         (^[ \t]*#[ \t]*[a-zA-Z0-9_]+): Emit/require a single space after each
681         #if and #elif.
682         [all tests]: Update for required space after #if/#elif.
683         (emit_or_check): Allow either of two formats for #pragma.
684         Sometimes, portability dictates that the `#' be indented.
685         (emit_or_check): Fix to preserve `#'-or-` '-first for pragmas.
687         * cpp.gp: Add `pragma'.
689 1997-05-22  Jim Meyering  <meyering@na-net.ornl.gov>
691         * cppi.l (main): New option, -C.  Now, `cppi -C' is usable directly
692         via CVS's commitinfo file.
693         Add rules to avoid flex's backup states.
695 1997-05-16  Jim Meyering  <meyering@na-net.ornl.gov>
697         * cppi.l: Revamp to avoid backup states.
699         * Makefile (cpp-cond-lookup.c): Add rule to create gperf-generated
700         lookup function.
702         * cpp.gp: New file.
704 1997-05-15  Jim Meyering  <meyering@na-net.ornl.gov>
706         * cppi.l: Remove a few useless rules.
707         Get rid of some of flex's backup states.
709 1997-05-08  Jim Meyering  <meyering@na-net.ornl.gov>
711         * cppi.l (main): Add back door: DISABLE_CPP_INDENT_CHECK.
712         (usage): Flesh out.
714         -----
716         Copyright (C) 1997\(en2021, 2023\(en2024 Free Software Foundation, Inc.
718         Copying and distribution of this file, with or without
719         modification, are permitted provided the copyright notice
720         and this notice are preserved.