Mercurial > ~dholland > hg > tradcpp > index.cgi
annotate CHANGES @ 185:16b4451e34b8
Add the ability to output line numbers, sort of.
It is enabled with the intentionally undocumented -p option (similar
to -P but reversed sense) and it might be vaguely useful but only
prints the line number when the file changes and may not get the line
numbers right.
author | David A. Holland |
---|---|
date | Fri, 12 Jun 2015 03:59:36 -0400 |
parents | d359d9b86327 |
children | 9637bf434f8e |
rev | line source |
---|---|
151 | 1 pending |
183
4c3375895c6e
Don't use <stdbool.h> unless __STDC__ is large enough.
David A. Holland
parents:
182
diff
changeset
|
2 - Don't rely on <stdbool.h> existing, as (predictably) it doesn't |
4c3375895c6e
Don't use <stdbool.h> unless __STDC__ is large enough.
David A. Holland
parents:
182
diff
changeset
|
3 work on Solaris. |
184 | 4 - Similarly, don't rely on C11 anonymous unions as the Solaris |
5 compiler vomits on them. | |
182 | 6 - Typo fix in man page from Jason McIntyre; and change "Usage" to |
7 "usage" in usage for pedantic reasons, from Igor Sobrado. | |
181
44ea61019069
Accept "-" as the input file, or as the output file.
David A. Holland
parents:
176
diff
changeset
|
8 - Accept "-" as either input or output file name to mean stdin or |
44ea61019069
Accept "-" as the input file, or as the output file.
David A. Holland
parents:
176
diff
changeset
|
9 stdout respectively. Suggested by Jonathan Gray. |
176
a2f047301c15
Replace Joerg's place_setfile with something that at least sort of works.
David A. Holland
parents:
151
diff
changeset
|
10 - Fix output spacing behavior to match gcc when newlines appear in or |
a2f047301c15
Replace Joerg's place_setfile with something that at least sort of works.
David A. Holland
parents:
151
diff
changeset
|
11 while looking for macro arguments. Partly from Joerg Sonnenberger. |
a2f047301c15
Replace Joerg's place_setfile with something that at least sort of works.
David A. Holland
parents:
151
diff
changeset
|
12 - Implement __FILE__ and __LINE__ macros. Mostly from Joerg Sonnenberger. |
a2f047301c15
Replace Joerg's place_setfile with something that at least sort of works.
David A. Holland
parents:
151
diff
changeset
|
13 - Implement #line. Partly from Joerg Sonnenberger. |
151 | 14 - Declare usage() with PF(). From wiz. |
15 | |
147 | 16 release 0.4 (20130713) |
141 | 17 - Fix stupid build problem introduced in 0.3.1. |
145 | 18 - Accept and ignore -m32, which imake issues willy-nilly on a bunch |
19 of platforms. I thought this had already been done, but apparently | |
20 not. | |
143 | 21 - Don't use the <err.h> functions. There are still people out there |
145 | 22 using legacy systems missing them. |
23 - Sort out some more issues pertaining to handling quoted strings. | |
24 - Add some more tests. | |
141 | 25 |
138 | 26 release 0.3.1 (20130709) |
135
eaae8014a94a
Don't assert and leak memory if failing during argument collection.
David A. Holland
parents:
133
diff
changeset
|
27 - Don't leak memory and assert if a bad command-line option comes |
eaae8014a94a
Don't assert and leak memory if failing during argument collection.
David A. Holland
parents:
133
diff
changeset
|
28 after a -D or a -include foo. |
137 | 29 - Since imake is a principal application for tradcpp and imake carefully |
30 hides what it's doing when you run it, when rejecting an invalid option | |
31 be sure to report *what* that option is. | |
135
eaae8014a94a
Don't assert and leak memory if failing during argument collection.
David A. Holland
parents:
133
diff
changeset
|
32 |
133 | 33 release 0.3 (20130616) |
128
1cda505ddc78
Don't expand macros within character constants.
David A. Holland
parents:
127
diff
changeset
|
34 - Don't eval the control expression of the first #if of a block when |
127 | 35 already in a false block; it might not be valid. Reported by |
36 Baptiste Daroussin. | |
128
1cda505ddc78
Don't expand macros within character constants.
David A. Holland
parents:
127
diff
changeset
|
37 - Don't recognize comments within character constants. |
129
2e1496dd96c4
Don't recognize macro argument parens or commas within quotes.
David A. Holland
parents:
128
diff
changeset
|
38 - Don't recognize macro argument parentheses or commas within strings, |
2e1496dd96c4
Don't recognize macro argument parens or commas within quotes.
David A. Holland
parents:
128
diff
changeset
|
39 or within character constants either. |
127 | 40 |
124 | 41 release 0.2 (20130611) |
102 | 42 - auto-recognize more builtin PowerPC and mips macros |
103 | 43 - pass -Wunused (partly from Baptiste Daroussin) |
104 | 44 - allow absolute paths in include files (partly from Baptiste Daroussin) |
105
600f36cd7353
don't use getprogname() in the name of portability
David A. Holland
parents:
104
diff
changeset
|
45 - don't use getprogname() in the name of portability |
106
ecec7c16e3ba
add a couple more tests, taken from the 2010 tech-toolchain thread
David A. Holland
parents:
105
diff
changeset
|
46 - add tests arising from December 2010 tech-toolchain thread (one |
ecec7c16e3ba
add a couple more tests, taken from the 2010 tech-toolchain thread
David A. Holland
parents:
105
diff
changeset
|
47 from der Mouse, one of mine) |
107 | 48 - clean out usage of sys/cdefs.h macros and don't use the implementation |
49 namespace | |
109 | 50 - make -Wcomment work again |
112 | 51 - fix handling of relative includes |
110 | 52 - provide a man page |
115 | 53 - other minor improvements |
102 | 54 |
55 release 0.1 (20130610) | |
56 - first release, works with at least some imake templates |