aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
blob: 832567188479256e63d504c0ee6fbeadaec0a75d (plain)
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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
2005-09-14  Sergey Poznyakoff  <gray@gnu.org.ua>

	* src/main.c (parse_opt): Bugfix: Set preprocess_option if --cpp
	is given.

	* tests/version.at: Add keywords
	* tests/direct.at: New test
	* tests/reverse.at: New test
	* tests/recurse.at: New test
	* tests/testsuite.at (CFLOW_CHECK_PROG,CFLOW_CHECK,CFLOW_ENV): New
	macros.
	(direct.at,reverse.at,recurse.at): New tests
	* tests/Makefile.am: Added new tests
	* tests/atlocal.in: Make sure CFLOW_OPTIONS and CFLOWRC are
	initialized to predictable values

	* NEWS: Updated
	* src/main.c (include_symbol): Ignore keywords.

	* Makefile.am: Set up for testsuite
	* configure.ac: Likewise

	* tests/: New directory
	* tests/Makefile.am: New file
	* tests/atlocal.in: New file
	* tests/testsuite.at: New file
	* tests/version.at: New file
	* tests/.cvsignore: New file
	
	* src/main.c (main): Fixed coredump when no arguments were
	passed.

2005-09-14  Sergey Poznyakoff  <gray@gnu.org.ua>

	* doc/wc.c: New file. Test program for explanation purposes.
	* doc/Makefile.am (EXTRA_DIST): Add wc.c
	* doc/cflow.texi: Update bug reporting address.

2005-08-16  Sergey Poznyakoff  <gray@gnu.org.ua>

	* src/c.l (yywrap,source): Use preprocess_option to determine
	whether preprocessing is needed.
	* src/cflow.h (preprocess_option): New variable
	* src/main.c: Likewise
	* src/parser.c (parse_dcl): Finalize and free declaration buffer
	even if declare is not called.
	 
2005-08-06  Sergey Poznyakoff  <gray@gnu.org.ua>

	* src/cflow.h (cflow_output_init): New value
	(output_init): New function
	* src/gnu.c (gnu_output_handler): Handle cflow_output_init
	* src/main.c: Number of i18n-related fixes.
	(parse_opt): Call output_init
	* src/output.c (output_init): New function
	* src/parser.c: Number of i18n-related fixes.
	* src/posix.c (posix_output_handler): Handle cflow_output_init

	* po/POTFILES.in: Add lib/argp-help.c
	* po/LINGUAS: Add pl and uk
	* po/pl.po
	* po/uk.po

2005-07-09  Sergey Poznyakoff  <gray@gnu.org.ua>

	* lib/argcv.c: Updated from mailutils
	* lib/argcv.h: Likewise
	* src/c.l (input_file_count): New variable
	* src/cflow.h: Likewise
	* src/cflow.rc: Updated
	* src/main.c (main): Use input_file_count to decide whether to
	print "no input files" diagnostics.
	* src/rc.c (sourcerc): Bug fix

	* README-alpha: Minor fix
	* configure.ac: Make sure program_invocation_name and
	program_invocation_short_name are always present. Define
	program_name as an alias for the former (needed for lib/error.c).
	* lib/pin.c: New file
	* lib/Makefile.tmpl (EXTRA_DIST): Add pin.c
	
2005-05-18  Sergey Poznyakoff  <gray@Mirddin.farlep.net>

	* COPYING, Makefile.am, configure.ac, doc/Makefile.am,
	doc/cflow.texi, doc/fdl.texi, doc/gendocs_template,
	elisp/Makefile.am, elisp/cflow-mode.el, lib/Makefile.tmpl,
	lib/argcv.c, lib/argcv.h, src/Makefile.am, src/c.l,
	src/cflow.h, src/gnu.c, src/main.c, src/output.c,
	src/parser.c, src/parser.h, src/posix.c, src/rc.c,
	src/symbol.c: Changed FSF postal address

2005-04-22  Sergey Poznyakoff  <gray@Mirddin.farlep.net>

	* Makefile.am (SUBDIRS): Add po/
	* configure.ac (AC_CONFIG_FILES): Add po/Makefile.in.
	* build-aux/bootstrap: Take into account autopoint
	* build-aux/gnulib.modules (gettext): New module
	* src/Makefile.am (AM_CPPFLAGS): New variable

	* src/c.l: Add gettext markers
	* src/cflow.h: Likewise
	* src/main.c: Likewise
	* src/output.c: Likewise
	* src/parser.c: Likewise
	* src/rc.c: Likewise
	* src/symbol.c: Likewise

	* .cvsignore: New file
	* po/.cvsignore: New file
	* build-aux/.cvsignore: Updated
	* po/Makevars: New file
	* po/POTFILES.in: New file
	
2005-04-22  Sergey Poznyakoff  <gray@Mirddin.farlep.net>

	cflow dubbed a GNU package and moved to savannah.
	
	* README-alpha (Checking Out the Sources): Updated the
	instructions.
	* README: Minor fix.
	* configure.ac: Changed bug report address.

2005-03-22  Sergey Poznyakoff  <gray@Mirddin.farlep.net>

	* lib/argcv.c: Imported from mailutils
	* lib/argcv.h: Imported from mailutils
	* lib/Makefile.tmpl: Added argcv
	* src/cflow.rc: New file
	* src/Makefile.am: Distribute cflow.rc
	(chart.cflow): New rule
	* src/c.l (CFLOW_PREPROC): Moved to cflow.h
	(set_preprocessor): Accept NULL arg
	* src/cflow.h (CFLOW_PREPROC): New define
	(set_preprocessor,pp_option,print_level): New prototypes
	(level_mark): Type changed to unsigned char.
	* src/main.c (ignore_indentation): Renamed to use_indentation,
	sense reverted. All callers updated
	New options: --cpp, alias to --preprocess.
	--no-cpp, disables preprocessing
	* src/output.c (level_mark): Type changed to unsigned char.
	
	* src/rc.c: Rewritten using argcv
	* src/parser.c (ignore_indentation): Renamed to use_indentation,
	sense reverted. All callers updated

2005-03-22  Sergey Poznyakoff  <gray@Noldor.runasimi.org>

	* TODO: Updated
	* src/c.l (canonical_filename): New global
	(update_loc): New function
	(source): Invoke preprocessor if necessary
	(yywrap): Stop preprocessor if necessary
	* src/cflow.h (struct symbol.temp): New field
	* src/gnu.c (gnu_output_handler): Do not print extra newlines
	as separators
	* src/main.c: New options -I, -U, -D and --preprocess
	(main): Use ARGP_IN_ORDER when parsing arguments
	* src/parser.c (dcl): Minor fix to allow for nameless
	function-pointer arguments [int foo(int (*)())]
	* src/parser.h (canonical_filename): New global
	* src/symbol.c (install): Initialize sym->temp
 	(delete_statics): Unconditionally remove temporary symbols

2005-03-21  Sergey Poznyakoff  <gray@Mirddin.farlep.net>

	* elisp/cflow-mode.el: Font locking support

2005-03-21  Sergey Poznyakoff  <gray@Noldor.runasimi.org>

	* README: Updated
	* elisp/cflow.el: Renamed to
	* elisp/cflow-mode.el: ... this and improved
	* src/c.l: Fixed line counting in <string> state
	* src/cflow.h (print_line_numbers): New variable
	* src/gnu.c (print_level): Moved to output.c
	(print_function_name): Do not output newline in cflow_output_text
	* src/main.c: Reordered functions
	(find_option_type): Take third argument.
	(symbol_override,number,parse_level_string)
	(set_level_indent): Operate on read-only strings
	(options): New option --number (-n)
	* src/output.c (print_level): Moved from gnu.c
	(print_text): New function
	(header): Removed
	(is_printable,is_last): New functions
	(direct_tree,inverted_tree): Fixed printing tree branches in
	-T mode.
	(tree_output): Do not print headers.
	* src/parser.c (declare): Changed error message.
	* src/posix.c (print_symbol): Call print_level();
	(posix_output_handler) Do not output newline in cflow_output_text

2005-03-20  Sergey Poznyakoff  <gray@Noldor.runasimi.org>

	* src/cflow.h (GNU_STYLE_OPTIONS,SYSTEM_ERROR)
	(FATAL_ERROR): Removed
	(SymFunction): Renamed to SymIdentifier. All callers updated
	(struct symbol): Removed union, rearranged fields. All callers
	updated
	Implemented -ix
	
	* src/c.l: Likewise
	* src/gnu.c: Likewise
	* src/main.c: Likewise
	* src/output.c: Likewise
	* src/parser.c: Likewise
	* src/posix.c: Likewise
	* src/symbol.c: Likewise
	
	* TODO: Updated

2005-03-20  Sergey Poznyakoff  <gray@Noldor.runasimi.org>

	* doc/Makefile.am: Updated
	* doc/cflow.texi: Documentation framework
	* doc/fdl.texi: GNU FDL
	* doc/rendition.texi: Rendition macros
	* doc/gendocs_template: Template for index.html
	* doc/.cvsignore: Updated

2005-03-19  Sergey Poznyakoff  <gray@Noldor.runasimi.org>

	* .cvsignore: Updated
	* COPYING: Added to the repository
	* TODO: Updated
	* src/Makefile.am (AM_LEXFLAGS): Use AM_LFLAGS instead. Also,
	removed -pl
	* src/c.l: Requires POSIX-compliant lex (e.g. flex).
	(WS): Ignore \f and \r
	(init_lex): Set lexer debugging level
	(DIGITS): Require at least one digit
	* src/cflow.h (record_typedefs,globals_only): Removed
	(max_depth): New variable
	(source,yyparse,cleanup,output,init_lex,init_parse)
	(delete_autos,delete_statics,globals_only,include_symbol): New
	prototypes
	(register_output): Changed type of the second argument
	(gnu_output_handler,posix_output_handler): Return int
	* src/gnu.c (print_symbol,gnu_output_handler): Return int
	* src/main.c: Implemented POSIX options (except -i x)
	(options): Reordered. Removed -C, -t (in favor of -i t), and
	-g (in favor of -i ^s). --brief option takes an optional
	argument (enable/disable)
	(progname): Removed
	(globals_only,include_symbol): New functions
	* src/output.c (output_driver.handler,print_symbol): Return int
	(register_output): Changed type of the second argument
	(is_var): Rewritten using include_symbol()
	(direct_tree,inverted_tree): Do not descend any further if
	print_symbol returns non-0.
	Do not process the symbol if the current nesting level exceeds
	maximum (set up by -d option).
	(tree_output): Print either direct or inverted graph, not both
	* src/parser.c: Stylistic changes
	* src/parser.h (yylex): Prototype
	* src/posix.c: Produce inverted graph. Honor --brief option
	* src/rc.c: Include ctype.h
	(expand_args): Removed unused variable
	* src/symbol.c (hash_symbol_hasher,hash_symbol_compare): Minor
	fixes
	(delete_statics): globals_only is now a function
	
2005-03-19  Sergey Poznyakoff  <gray@Noldor.runasimi.org>

	* README-alpha: New file
	* lib: New directory
	* lib/Makefile.tmpl: New file
	* lib/.cvsignore: New file
	* Makefile.am (SUBDIRS): Add lib
	* NEWS: Updated
	* configure.ac: Raised version number to 0.2.1
	Call cflow_GNULIB to check for missing sources
	Call MU_DEBUG_MODE to enable debugging mode
	* .cvsignore: Updated
	* src/Makefile.am (INCLUDES,cflow_LDADD): Added

	* build-aux: New directory
	* build-aux/.cvsignore: New file
	* build-aux/bootstrap: New file
	* build-aux/debug.m4: New file
	* build-aux/gnulib.modules: New file

	* src/cflow.h: Include error.h and xalloc.h
	(emalloc,efree): Removed. Use xmalloc instead
	(error): Removed. Use gnulib version
	* src/main.c: Use argp to parse arguments.
	(temp_symbol_stack,say_and_die): Removed
	(emalloc,efree,error): Removed
	(xalloc_die): New function
	(init): Updated
	(symbol_override): Install symbols immediately
	* src/symbol.c: Rewritten using hash module

	* src/c.l: Fixed indentation
	* src/gnu.c: Likewise
	* src/output.c: Likewise
	* src/parser.c: Likewise
	* src/rc.c: Likewise
	
2005-03-19  Sergey Poznyakoff  <gray@Noldor.runasimi.org>

	* AUTHORS: New file
	* NEWS: New file
	* THANKS: New file
	* Makefile.am: New file
	* configure.ac: New file
	* elisp: New directory
	* doc/Makefile.am: New file
	* src/Makefile.am: New file
	* src/Makefile: Removed
	* src/posix.c: New file
	* src/gnu.c: New file

	* TODO: Updated
	* src/cflow.h: Updated
	* src/obstack1.h: Removed
	* src/output.h: Removed
	* src/hilit-cflow.el: Removed
	* src/collect.c: Removed
	* src/html.c: Removed
	* src/text.c: Removed
	* src/cflow.el: Moved to /elisp
	* src/main.c: New option -f (--format)
	* src/c.l: Updated
	* src/output.c: Likewise
	* src/parser.c: Likewise
	* src/rc.c: Likewise
	* src/symbol.c: Likewise
	* src/version.h: Likewise
	
	* elisp/cflow.el: Moved from /src
	* elisp/Makefile.am: New file

	* src/.cvsignore: New file
	* doc/.cvsignore: New file
	* elisp/.cvsignore: New file
	* .cvsignore: New file
	
2005-03-16  Sergey Poznyakoff  <gray@Mirddin.farlep.net>

	Initial import from my RCS archives. First revisions date
	back to 1997. The plan is to convert this to a POSIX-compatible
	cflow utility.
	

Local Variables:
mode: change-log
version-control: never
End:

Return to:

Send suggestions and report system problems to the System administrator.