Remove K&R cruft.
[gnulib.git] / ChangeLog
1 2003-09-09  Paul Eggert  <eggert@twinsun.com>
2
3         * README: New section: portability guidelines.
4
5 2003-09-07  Paul Eggert  <eggert@twinsun.com>
6
7         * modules/time_r: Depend on 'restrict'.  Fix from Simon Josefsson in
8         <http://mail.gnu.org/archive/html/bug-gnulib/2003-09/msg00028.html>.
9
10 2003-09-06  Paul Eggert  <eggert@twinsun.com>
11
12         * MODULES.html.sh (func_all_modules): Add time_r.
13         * modules/time_r: New file.
14         * modules/mktime, modules/strftime, modules/timegm: Depend on time_r.
15         * modules/timegm: Depend on mktime.  Change maintainer to "all, glibc".
16
17 2003-08-31  Simon Josefsson  <jas@extundo.com>
18
19         * modules/timegm: New file.
20         * MODULES.html.sh (func_all_modules): Add timegm.
21
22 2003-08-22  Simon Josefsson  <jas@extundo.com>
23
24         * modules/strndup (Makefile.am): Add strndup.h to lib_SOURCES.
25
26 2003-08-20  Bruno Haible  <bruno@clisp.org>
27
28         * modules/progname: New file.
29         * MODULES.html.sh (func_all_modules): Add progname.
30
31 2003-08-18  Paul Eggert  <eggert@twinsun.com>
32
33         * modules/stdbool: Add BUILT_SOURCES.  Prefer $@ to target name
34         in makefile rules.
35
36 2003-08-17  Simon Josefsson  <jas@extundo.com>
37
38         * modules/argp: Fix autoconf macro name. Add more dependencies.
39
40 2003-08-17  Simon Josefsson  <jas@extundo.com>
41
42         * modules/xstrndup: New file.
43         * MODULES.html.sh (func_all_modules): Add xstrndup.
44
45 2003-08-17  Bruno Haible  <bruno@clisp.org>
46
47         * modules/strndup (Files, Include): Add lib/strndup.h.
48
49 2003-08-17  Bruno Haible  <bruno@clisp.org>
50
51         * gnulib-tool (func_create_testdir): Handle gl_USE_SYSTEM_EXTENSIONS
52         like AC_GNU_SOURCE.
53         * modules/extensions (configure.ac): Comment out the invocation of
54         gl_USE_SYSTEM_EXTENSIONS.
55
56 2003-08-17  Bruno Haible  <bruno@clisp.org>
57
58         * modules/euidaccess (Files): Add lib/euidaccess.h.
59
60 2003-08-16  Paul Eggert  <eggert@twinsun.com>
61
62         Document merge from coreutils.
63         * modules/alloca: Append $(ALLOCA_H) to BUILT_SOURCES.
64         * modules/fnmatch: Append $(FNMATCH_H) to BUILT_SOURCES.
65         * modules/utime: Add m4/utimes-null.m4.
66
67 2003-08-15  Paul Eggert  <eggert@twinsun.com>
68
69         Document merge from coreutils.
70         * modules/userspec: Depend on posixver.
71         * modules/strftime: Depend on tzset.
72
73 2003-08-14  Jim Meyering  <jim@meyering.net>
74
75         Merges from coreutils.
76         * modules/fnmatch: Use the `$(FNMATCH_H)' notation for AC_REPLACED
77         variable names, rather than @FNMATCH_H@.
78         * modules/alloca: Likewise for $(ALLOCA_H).
79
80         * modules/fnmatch (fnmatch.h): Use `$@' in the commands, in place of
81         the three copies of the literal target, `fnmatch.h'.
82         * modules/alloca (alloca.h): Likewise.
83
84 2003-08-14  Paul Eggert  <eggert@twinsun.com>
85
86         * modules/tzset: New file.
87
88 2003-08-12  Paul Eggert  <eggert@twinsun.com>
89
90         Merge from coreutils.
91         * modules/euidaccess: Add lib_SOURCES, include for new
92         file euidaccess.h
93
94 2003-08-11  Paul Eggert  <eggert@twinsun.com>
95
96         * modules/gnu-source, m4/gnu-source.m4:
97         Remove; we're assuming Autoconf 2.54 or later now.
98         Suggested by Bruno Haible.
99         * MODULES.html.sh (func_all_modules): Remove gnu-source.
100
101 2003-08-08  Paul Eggert  <eggert@twinsun.com>
102
103         * MODULES.html.sh (func_all_modules): Add extensions, gnu-source.
104         * modules/extensions, modules/gnu-source: New files.
105         * modules/timespec, modules/unlocked-io: Depend on extensions.
106
107 2003-08-07 Paul Eggert  <eggert@twinsun.com>
108
109         * modules/restrict: New file.
110         * MODULES.html.sh (func_all_modules): Add restrict.
111         * modules/regex: Depend on restrict.
112
113 2003-08-07  Bruno Haible  <bruno@clisp.org>
114
115         * modules/getndelim2 (Makefile.am): Add the files to EXTRA_DIST, not
116         lib_SOURCES, because getndelim2.m4 now uses AC_LIBOBJ(getndelim2).
117
118 2003-08-05  Paul Eggert  <eggert@twinsun.com>
119
120         * MODULES.html.sh (func_all_modules): Remove bumpalloc.
121         * modules/bumpalloc: Remove.
122
123 2003-07-31  Bruno Haible  <bruno@clisp.org>
124
125         * modules/getpass-gnu: New file.
126         * MODULES.html.sh (func_all_modules): Add getpass-gnu.
127
128 2003-07-22  Paul Eggert  <eggert@twinsun.com>
129
130         * modules/xalloc (Depends-on): Add exitfail.
131         * modules/xmemcoll: Likewise.
132
133 2003-07-20  Jim Meyering  <jim@meyering.net>
134
135         * modules/closeout (Depends-on): Add exitfail.
136         Suggestion from Bruno Haible.
137
138 2003-07-18  Bruno Haible  <bruno@clisp.org>
139
140         * modules/getndelim2: New file.
141         * modules/getline: Share files with module getndelim2.
142         * modules/getnline: Depend on getndelim2 instead of sharing files with
143         it. Add getnline.c to lib_SOURCES.
144         * MODULES.html.sh (func_all_modules): Add getndelim2.
145
146 2003-07-17  Bruno Haible  <bruno@clisp.org>
147
148         * modules/getnline: New file.
149         * modules/getline: Add lib/getndelim2.c to source file list.
150         * MODULES.html.sh (func_all_modules): Add getnline.
151
152 2003-07-17  Bruno Haible  <bruno@clisp.org>
153
154         * configure.in: Remove file.
155         * Makefile.in: Remove file.
156
157 2003-07-17  Bruno Haible  <bruno@clisp.org>
158
159         * MODULES.html.sh: Put the </BODY> right before </HTML>.
160
161 2003-07-16  Jim Meyering  <jim@meyering.net>
162
163         * modules/save-cwd: Depend on xgetcwd.  From Derek Price.
164
165 2003-07-15  Jim Meyering  <jim@meyering.net>
166
167         * modules/save-cwd: Don't depend on error.  From Derek Price.
168
169 2003-07-14  Simon Josefsson  <jas@extundo.com>
170
171         * modules/mempcpy: New file.
172         * MODULES.html.sh (func_all_modules): Add mempcpy.
173
174 2003-07-14  Paul Eggert  <eggert@twinsun.com>
175
176         * modules/getdate, modules/posixtm: Depend on mktime.
177
178 2003-07-10  Simon Josefsson  <jas@extundo.com>
179
180         * modules/strchrnul (Makefile.am): Add strchrnul.h.
181
182 2003-06-26  Bruno Haible  <bruno@clisp.org>
183
184         * modules/human: Depend on module stdbool.
185
186 2003-06-25  Bruno Haible  <bruno@clisp.org>
187
188         * modules/readlink: New file.
189         * modules/xreadlink: Depend on it.
190         * MODULES.html.sh (func_all_modules): Add readlink.
191
192 2003-06-22  Bruno Haible  <bruno@clisp.org>
193
194         * modules/safe-read: Add m4/ssize_t.m4.
195         * modules/xreadlink: Add m4/ssize_t.m4.
196
197 2003-06-11  Simon Josefsson  <jas@extundo.com>
198
199         * modules/sysexits: New file.
200         * MODULES.html.sh (func_all_modules): Add sysexits.
201
202 2003-06-10  Bruno Haible  <bruno@clisp.org>
203
204         * MODULES.html.sh (func_all_modules): Add strchrnul and argp.
205
206 2003-06-10  Simon Josefsson  <jas@extundo.com>
207
208         * modules/strchrnul: New file.
209
210 2003-06-10  Simon Josefsson  <jas@extundo.com>
211
212         * modules/argp: New file.
213
214 2003-06-07  Bruno Haible  <bruno@clisp.org>
215
216         * modules/poll (Makefile.am): Use explicit creation rule for poll.h, to
217         avoid AC_CONFIG_LINKS.
218         * modules/fnmatch (Makefile.am): Use explicit creation rule for
219         fnmatch.h, to avoid AC_CONFIG_LINKS.
220         * modules/alloca (Makefile.am): Make creation of alloca.h Ctrl-C safe.
221
222 2003-06-07  Jim Meyering  <jim@meyering.net>
223
224         * modules/strtod: Use $(...) notation, not @...@ for
225         AC_REPLACE'd variables.
226         * modules/localcharset: Likewise.
227
228 2003-06-06  Jim Meyering  <jim@meyering.net>
229             Bruno Haible  <bruno@clisp.org>
230
231         * modules/stdbool: Reflect renaming: stdbool.h.in -> stdbool_.h.
232         Adjust Makefile.am snippet not to redirect directly to target.
233         Use $(STDBOOL_H) notation, not @STDBOOL_H@ for AC_REPLACE'd variables.
234
235 2003-05-30  Bruno Haible  <bruno@clisp.org>
236
237         * modules/gettext: Add files m4/nls.m4 and m4/po.m4.
238         * config/config.rpath: Upgrade to gettext-0.12.1.
239
240 2003-05-22    <karl@gnu.org>
241
242         * gnulib-tool (func_usage): =LIBRARY not =libRARY in help msg.
243
244 2003-05-09  Bruno Haible  <bruno@clisp.org>
245
246         * modules/error: Add m4/strerror_r.m4 to file list.
247
248 2003-04-10  Bruno Haible  <bruno@clisp.org>
249
250         * modules/findprog: New file.
251         * MODULES.html.sh (func_all_modules): Add it.
252
253 2003-04-04  Bruno Haible  <bruno@clisp.org>
254
255         * modules/linebreak: New file.
256         * MODULES.html.sh (func_all_modules): Add it.
257
258 2003-04-03  Bruno Haible  <bruno@clisp.org>
259
260         * modules/utf8-ucs4: New file.
261         * modules/utf16-ucs4: New file.
262         * modules/ucs4-utf8: New file.
263         * modules/ucs4-utf16: New file.
264         * MODULES.html.sh (func_all_modules): Add them.
265
266 2003-04-02  Bruno Haible  <bruno@clisp.org>
267
268         * modules/binary-io: New file.
269         * MODULES.html.sh (func_all_modules): Add it.
270
271 2003-04-01  Bruno Haible  <bruno@clisp.org>
272
273         * modules/pathname: New file.
274         * MODULES.html.sh (func_all_modules): Add it.
275
276 2003-03-28  Bruno Haible  <bruno@clisp.org>
277
278         * modules/copy-file: New file.
279         * MODULES.html.sh (func_all_modules): Add it.
280
281 2003-02-20  Bruno Haible  <bruno@clisp.org>
282
283         * MODULES.html.sh (func_all_modules): Add poll.
284
285 2003-02-19  Paolo Bonzino  <bonzini@gnu.org>
286
287         * modules/poll: New file.
288
289 2003-02-18  Bruno Haible  <bruno@clisp.org>
290
291         * MODULES.html.sh (func_all_modules): Add mathl.
292
293 2003-02-18  Paolo Bonzino  <bonzini@gnu.org>
294
295         * modules/mathl: New file.
296
297 2003-02-17  Bruno Haible  <bruno@clisp.org>
298
299         * modules/mkdtemp: New module.
300         * MODULES.html.sh (func_all_modules): Add it.
301
302 2003-01-30  Bruno Haible  <bruno@clisp.org>
303
304         * modules/vasnprintf, modules/vasprintf: New modules.
305         * MODULES.html.sh (func_all_modules): Add them.
306
307 2003-01-29  Bruno Haible  <bruno@clisp.org>
308
309         * modules/stpncpy: New module.
310         * MODULES.html.sh (func_all_modules): Add it.
311
312 2003-01-28  Bruno Haible  <bruno@clisp.org>
313
314         * modules/c-ctype: New module.
315         * MODULES.html.sh (func_all_modules): Add it.
316
317 2003-01-27  Bruno Haible  <bruno@clisp.org>
318
319         * modules/xsetenv: New module.
320         * MODULES.html.sh (func_all_modules): Add it.
321
322 2003-01-23  Bruno Haible  <bruno@clisp.org>
323
324         * modules/minmax: New module.
325         * MODULES.html.sh (func_all_modules): Add it.
326
327 2003-01-22  Bruno Haible  <bruno@clisp.org>
328
329         * modules/exit: New module.
330         * MODULES.html.sh (func_all_modules): Add it.
331
332 2003-01-19  Bruno Haible  <bruno@clisp.org>
333
334         * gnulib-tool: Recognize option --extract-maintainer.
335         (func_get_maintainer): New function.
336         * modules/*: Add Maintainer entry.
337
338 2003-01-16  Bruno Haible  <bruno@clisp.org>
339
340         * MODULES.html.sh: Add a table of contents. Add the module name as
341         leftmost column. Add hyperlinks.
342
343 2003-01-11  Bruno Haible  <bruno@clisp.org>
344
345         * modules/stpcpy: Distribute lib/stpcpy.h.
346         * modules/setenv: Depend on alloca. Distribute lib/setenv.h.
347
348 2003-01-11  Bruno Haible  <bruno@clisp.org>
349
350         * gnulib-tool (func_create_testdir): Store config/* files in the main
351         directory.
352         * config.rpath: Move to ...
353         * config/config.rpath: ... here.
354         * modules/gettext: Contains config/config.rpath, not config.rpath.
355         * modules/iconv: Likewise.
356
357 2003-01-11  Bruno Haible  <bruno@clisp.org>
358
359         * modules/*: Add a description.
360         * modules/strpbrk: Fix Makefile.am snippet.
361         * modules/strtoimax: Fix dependencies.
362         * modules/strtoumax: Likewise.
363
364 2003-01-11  Bruno Haible  <bruno@clisp.org>
365
366         * gnulib-tool (func_create_testdir): Substitute lib_OBJECTS.
367         * modules/alloca (Makefile.am): All object files depend on alloca.h.
368         * modules/stdbool (Makefile.am): All object files depend on stdbool.h.
369
370 2003-01-12  Paul Eggert  <eggert@twinsun.com>
371
372         Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
373         to avoid collisions with libcurses and libreadline.
374         * getstr: Remove.
375         * MODULES.html.sh: Remove getstr.
376         * modules/getline: Depend on unlocked-io, not getstr.
377
378 2003-01-10  Bruno Haible  <bruno@clisp.org>
379
380         * modules/alloca: Change Makefile.am requirements. Simplify Include
381         requirements. Add lib/alloca_.h to file list.
382
383 2003-01-09  Bruno Haible  <bruno@clisp.org>
384
385         * modules/stdbool: Change configure.ac, Makefile.am requirements.
386         Simplify Include requirements. Add lib/stdbool.h.in to file list.
387
388 2003-01-09  Bruno Haible  <bruno@clisp.org>
389
390         * gnulib-tool (func_all_modules): Ignore files ending in ~.
391         * MODULES.html.sh: Likewise.
392
393 2003-01-09    <karl@gnu.org>
394
395         * MODULES.html.sh: include `dirname $0` in PATH, to find
396         gnulib-tool.
397
398 2003-01-08  Bruno Haible  <bruno@clisp.org>
399
400         * modules/full-read: Depend on full-write.
401
402 2003-01-07  Bruno Haible  <bruno@clisp.org>
403
404         * MODULES.html.sh: Add copyright notice.
405         (missed_files): Omit CVS directory entries.
406         (func_module): Make it work with sed-3.02.
407         * MODULES.txt: Remove file.
408
409 2003-01-01    <karl@gnu.org>
410
411         * gnulib-tool (func_verify_module): report module name $module in
412         error message, not $1.
413         * gnulib-tool (create-testdir): don't complain if destdir couldn't
414         be created, only if it doesn't exist.
415         * gnulib-tool (last_checkin_date): don't expand the $Date here.
416
417 2002-12-24  Bruno Haible  <bruno@clisp.org>
418
419         * MODULES.txt: Update according to m4/ changes.
420
421         Module gettext.
422         * config.rpath: New file, from gettext-0.11.5.
423
424         * modules/*: New module descriptions.
425         * gnulib-tool: New file.
426         * MODULES.html.sh: New file.
427
428 2002-11-01  Bruno Haible  <bruno@clisp.org>
429
430         * configure.in: Add AC_CONFIG_AUX_DIR call.
431         (AC_OUTPUT): Add m4/Makefile, lib/Makefile. Remove doc/Makefile,
432         test/Makefile.
433         * Makefile.in (subdirs): Add m4, lib. Remove doc, test.
434
435 2002-08-23  Stefan Monnier  <monnier@cs.yale.edu>
436
437         * regex.c (PATFETCH): Remove the translating fetch.
438         (PATFETCH_RAW): Rename to PATFETCH.
439         (set_image_of_range): New fun.
440         (SET_RANGE_TABLE_WORK_AREA): Use it.
441         (regex_compile): Don't translate the pattern chars so eagerly.
442         Only do it when inserting an `exactn' bytecode or when handling
443         a char-range.
444         (mutually_exclusive_p): Avoid empty statement.
445
446 2001-10-22  Jeff Bailey  <jbailey@outpost.dnsalias.org>
447
448         * README: New file
449         * doc/*: Add COPYING, COPYING.LIB, COPYING.DOC, fdl.texi
450         (per RMS's instructions, this is now the canonical source)
451         * lgpl/, gpl/: New directories.
452
453 2001-01-24  Stefan Monnier  <monnier@cs.yale.edu>
454
455         * regex.c (mutually_exclusive_p): Don't blindly handle `charset_not'
456         as if it was a `charset'.
457
458 2000-10-30  Stefan Monnier  <monnier@cs.yale.edu>
459
460         * regex.c (re_iswctype, re_wctype_to_bit): Fix braino.
461         (regex_compile): Catch bogus \(\1\).
462
463 2000-10-27  Stefan Monnier  <monnier@cs.yale.edu>
464
465         * regex.c (POP_FAILURE_REG_OR_COUNT, re_match_2_internal)
466         (re_match_2_internal, re_match_2_internal, re_match_2_internal):
467         Giving in to popular pressure to shut up the compiler with casts.
468
469 2000-10-25  Stefan Monnier  <monnier@cs.yale.edu>
470
471         * regex.c: More `unsigned char' -> `re_char' changes.
472         Also change several `int' into `re_wchar_t'.
473         (PATTERN_STACK_EMPTY, PUSH_PATTERN_OP, POP_PATTERN_OP): Remove.
474         (PUSH_FAILURE_POINTER): Don't cast any more.
475         (POP_FAILURE_REG_OR_COUNT): Remove the cast that strips `const'.
476         We want GCC to complain, since this piece of code makes
477         re_match non-reentrant, which *should* be fixed.
478         (GET_BUFFER_SPACE): Use size_t rather than unsigned long.
479         (EXTEND_BUFFER): Use RETALLOC.
480         (SET_LIST_BIT): Don't cast.
481         (re_wchar_t): New type.
482         (re_iswctype, re_wctype_to_bit): Make it crystal clear to GCC
483         that those two functions will always properly return.
484         (IMMEDIATE_QUIT_CHECK): Cast to void.
485         (analyse_first): Use recursion rather than an explicit stack.
486         (re_compile_fastmap): Can't fail anymore.
487         (re_search_2): Don't check re_compile_fastmap for failure.
488         (PUSH_NUMBER): Renamed from PUSH_FAILURE_COUNT.
489         Now also sets the new value (passed in a new argument).
490         (re_match_2_internal): Use it.
491         Also, use a new var `reg' of type size_t when looping through regs
492         rather than reuse the inappropriate `mcnt'.
493
494 2000-10-24  Andrew Innes  <andrewi@gnu.org>
495
496         * regex.c (IMMEDIATE_QUIT_CHECK): New macro, which does QUIT on
497         NT-Emacs only.
498         (re_match_2_internal): Use IMMEDIATE_QUIT_CHECK instead of QUIT,
499         so that re_search functions only quit when callers expect them to.
500
501 2000-10-24  Kenichi Handa  <handa@etl.go.jp>
502
503         * regex.c (regex_compile): Change the way of handling a range from
504         a char less than 256 to a char not less than 256.
505
506 2000-10-15  Stefan Monnier  <monnier@cs.yale.edu>
507
508         * regex.c (WIDE_CHAR_SUPPORT): Define if _LIBC as well.