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