xref: /netbsd-src/external/bsd/tradcpp/dist/CHANGES (revision 31615c9617fab4df7f5e221552df7da87f14320d)
1*31615c96Sdhollandrelease 0.5.3 (20190121)
2*31615c96Sdholland   - Fix markup typo in the man page.
3*31615c96Sdholland   - Abort on line numbering or column numbering overflow. Line
4*31615c96Sdholland     numbers are limited to values that fit in "unsigned int". Also
5*31615c96Sdholland     reject input lines longer than 2^32-1 characters. It seems
6*31615c96Sdholland     reasonable to presume that any input that violates these
7*31615c96Sdholland     constraints is someone screwing around and not a serious attempt
8*31615c96Sdholland     to compile or preprocess anything useful. Done in response to
9*31615c96Sdholland     n2129, but without getting into any of the silliness found there.
10*31615c96Sdholland   - Recognize __ia64__ for IA64 builds.
11*31615c96Sdholland   - Recognize __aarch64__ for 64-bit ARM builds, as sent in by
12*31615c96Sdholland     various people.
13*31615c96Sdholland   - Recognize __riscv__ and __riscv64__ for risc-v builds.
14*31615c96Sdholland
15*31615c96Sdhollandrelease 0.5.2 (20160904)
16*31615c96Sdholland   - Fix typo in -U usage message, noticed by Joerg.
17*31615c96Sdholland   - Add a -debuglog option to send an execution trace to a file.
18*31615c96Sdholland     Intended to be used when debugging imake templates and other
19*31615c96Sdholland     complex input, not for debugging tradcpp itself.
20*31615c96Sdholland
21*31615c96Sdhollandrelease 0.5.1 (20150612)
22*31615c96Sdholland   - Fix a stupid regression in 0.5 that causes it to not recognize a
23*31615c96Sdholland     pile of options.
24*31615c96Sdholland   - Fix output corruption caused by mishandling which macros are
25*31615c96Sdholland     currently in use. In particular, "curmacro" is only valid while
26*31615c96Sdholland     we're parsing a macro name and arguments, and can change once we
27*31615c96Sdholland     start expanding, so don't use it to clear the in-use flag. This
28*31615c96Sdholland     problem has been around all along but was only just exposed.
29*31615c96Sdholland   - Also don't set curmacro to null after calling expand_domacro as
30*31615c96Sdholland     that can cause us to think a macro name we just read is defined().
31*31615c96Sdholland     This one was introduced in 0.5.
32*31615c96Sdholland   - Don't use "remove" as a local variable as gcc 4.1 gets upset
33*31615c96Sdholland     about it vs. remove(3) in stdio.h.
34*31615c96Sdholland
35*31615c96Sdhollandrelease 0.5 (20150612)
36*31615c96Sdholland   - Don't report unclosed comments as "No newline at end of file".
37*31615c96Sdholland   - Don't rely on <stdbool.h> existing, as (predictably) it doesn't
38*31615c96Sdholland     work on Solaris.
39*31615c96Sdholland   - Similarly, don't rely on C11 anonymous unions as the Solaris
40*31615c96Sdholland     compiler vomits on them.
41*31615c96Sdholland   - Typo fix in man page from Jason McIntyre; and change "Usage" to
42*31615c96Sdholland     "usage" in usage for pedantic reasons, from Igor Sobrado.
43*31615c96Sdholland   - Accept "-" as either input or output file name to mean stdin or
44*31615c96Sdholland     stdout respectively. Suggested by Jonathan Gray.
45*31615c96Sdholland   - Fix output spacing behavior to match gcc when newlines appear in or
46*31615c96Sdholland     while looking for macro arguments. Partly from Joerg Sonnenberger.
47*31615c96Sdholland   - Implement __FILE__ and __LINE__ macros. Mostly from Joerg Sonnenberger.
48*31615c96Sdholland   - Implement #line. Partly from Joerg Sonnenberger.
49*31615c96Sdholland   - Declare usage() with PF(). From wiz.
50*31615c96Sdholland
51*31615c96Sdhollandrelease 0.4 (20130713)
52*31615c96Sdholland   - Fix stupid build problem introduced in 0.3.1.
53*31615c96Sdholland   - Accept and ignore -m32, which imake issues willy-nilly on a bunch
54*31615c96Sdholland     of platforms. I thought this had already been done, but apparently
55*31615c96Sdholland     not.
56*31615c96Sdholland   - Don't use the <err.h> functions. There are still people out there
57*31615c96Sdholland     using legacy systems missing them.
58*31615c96Sdholland   - Sort out some more issues pertaining to handling quoted strings.
59*31615c96Sdholland   - Add some more tests.
60*31615c96Sdholland
61*31615c96Sdhollandrelease 0.3.1 (20130709)
62*31615c96Sdholland   - Don't leak memory and assert if a bad command-line option comes
63*31615c96Sdholland     after a -D or a -include foo.
64*31615c96Sdholland   - Since imake is a principal application for tradcpp and imake carefully
65*31615c96Sdholland     hides what it's doing when you run it, when rejecting an invalid option
66*31615c96Sdholland     be sure to report *what* that option is.
67*31615c96Sdholland
68*31615c96Sdhollandrelease 0.3 (20130616)
69*31615c96Sdholland   - Don't eval the control expression of the first #if of a block when
70*31615c96Sdholland     already in a false block; it might not be valid. Reported by
71*31615c96Sdholland     Baptiste Daroussin.
72*31615c96Sdholland   - Don't recognize comments within character constants.
73*31615c96Sdholland   - Don't recognize macro argument parentheses or commas within strings,
74*31615c96Sdholland     or within character constants either.
75*31615c96Sdholland
76*31615c96Sdhollandrelease 0.2 (20130611)
77*31615c96Sdholland   - auto-recognize more builtin PowerPC and mips macros
78*31615c96Sdholland   - pass -Wunused (partly from Baptiste Daroussin)
79*31615c96Sdholland   - allow absolute paths in include files (partly from Baptiste Daroussin)
80*31615c96Sdholland   - don't use getprogname() in the name of portability
81*31615c96Sdholland   - add tests arising from December 2010 tech-toolchain thread (one
82*31615c96Sdholland     from der Mouse, one of mine)
83*31615c96Sdholland   - clean out usage of sys/cdefs.h macros and don't use the implementation
84*31615c96Sdholland     namespace
85*31615c96Sdholland   - make -Wcomment work again
86*31615c96Sdholland   - fix handling of relative includes
87*31615c96Sdholland   - provide a man page
88*31615c96Sdholland   - other minor improvements
89*31615c96Sdholland
90*31615c96Sdhollandrelease 0.1 (20130610)
91*31615c96Sdholland   - first release, works with at least some imake templates
92