1 2004-02-05 Paul Eggert <eggert@twinsun.com>
3 Add comments and code, prompted by suggestions from Bruno Haible
5 * quotearg.h (quotearg_alloc): New decl. Improve the comments
6 describing the enum quoting_style values.
7 * quotearg.c (quotearg_alloc): New function.
8 (quotearg_buffer_restyled): Treat lone { and } as special.
9 Treat = as special. Work around bug with older shells
10 that "see" a '\' that is really the 2nd byte of a multibyte char.
11 Quote empty string with shell_quoting_style.
13 2004-02-03 Bruno Haible <bruno@clisp.org>
15 * modules/pipe: New file.
16 * MODULES.html.sh (func_all_modules): Add pipe.
18 2004-01-27 Bruno Haible <bruno@clisp.org>
20 * modules/execute: New file.
21 * MODULES.html.sh (func_all_modules): Add execute.
23 2004-01-23 Paul Eggert <eggert@twinsun.com>
25 * modules/argmatch, modules/obstack, modules/xstrtol:
28 2004-01-20 Bruno Haible <bruno@clisp.org>
30 * modules/setenv: Depend on allocsa instead of alloca.
32 2004-01-20 Bruno Haible <bruno@clisp.org>
34 * modules/xallocsa: New file.
35 * MODULES.html.sh (func_all_modules): Add xallocsa.
37 2004-01-20 Bruno Haible <bruno@clisp.org>
39 * modules/allocsa: New file.
40 * MODULES.html.sh (func_all_modules): Add allocsa.
42 2004-01-20 Bruno Haible <bruno@clisp.org>
44 * modules/eealloc: New file.
45 * MODULES.html.sh (func_all_modules): Add eealloc.
47 2004-01-15 Paul Eggert <eggert@twinsun.com>
49 * modules/poll: Add BUILT_SOURCES.
50 Prefer "$@" to "poll.h" in rule for building poll.h.
51 All this is for consistency with alloca and fnmatch.
53 * modules/same: Depend on stdbool.
55 2003-12-03 Bruno Haible <bruno@clisp.org>
57 Upgrade from gettext-0.13.
58 * modules/gettext (Files): Add m4/intmax.m4, m4/longdouble.m4,
59 m4/longlong.m4, m4/printf-posix.m4, m4/signed.m4, m4/size_max.m4,
60 m4/wchar_t.m4, m4/wint_t.m4, m4/xsize.m4.
62 2003-11-25 Bruno Haible <bruno@clisp.org>
64 * modules/vasnprintf (Files): Remove m4/ssize_t.m4.
66 2003-11-24 Paul Eggert <eggert@twinsun.com>
68 * modules/alloca: Remove dependency on xalloc.
70 2003-11-17 Paul Eggert <eggert@twinsun.com>
72 * README: Mention that S+T cannot overflow if S is the size of
73 an existing object and T is sufficiently small.
75 2003-11-17 Bruno Haible <bruno@clisp.org>
77 * modules/vasnprintf (Files): Add m4/ssize_t.m4.
78 (Depends-on): Add xsize.
80 2003-11-12 Paul Eggert <eggert@twinsun.com>
82 * modules/xalloc (Files): Undo latest change, since xalloc.h
83 no longer needs SIZE_MAX or PTRDIFF_MAX.
85 2003-11-11 Bruno Haible <bruno@clisp.org>
87 * modules/xsize (Files): Add m4/size_max.m4.
88 * modules/xalloc (Files): Add m4/size_max.m4, m4/ptrdiff_max.m4.
90 2003-11-04 Bruno Haible <bruno@clisp.org>
92 * modules/xsize: New file.
93 * modules/linebreak: Depend on xsize.
94 * MODULES.html.sh (func_all_modules): Add xsize.
96 2003-11-04 Jim Meyering <jim@meyering.net>
98 * modules/sysexits: Use the `$(VAR)' notation for AC_SUBST'd
99 variable names, rather than @VAR@.
100 * modules/poll: Likewise.
102 2003-11-03 Jim Meyering <jim@meyering.net>
104 * modules/userspec (lib_SOURCES): Add userspec.h.
105 (Include): Add "userspec.h".
108 2003-10-29 Paul Eggert <eggert@twinsun.com>
110 * modules/group-member: Depend on stdbool.
112 2003-10-20 Bruno Haible <bruno@clisp.org>
114 * modules/wait-process: New file.
115 * MODULES.html.sh (func_all_modules): Add wait-process.
117 2003-10-16 Paul Eggert <eggert@twinsun.com>
119 * README: Mention that gnulib assumes that (foo *) NULL + 0 == NULL.
121 2003-10-14 Bruno Haible <bruno@clisp.org>
123 * modules/fatal-signal: Add m4/sig_atomic_t.m4 to file list.
125 2003-10-12 Paul Eggert <eggert@twinsun.com>
127 * modules/xalloc: Do not depend on 'exit'. Depend on 'stdbool'.
128 Change maintainer from Bruno Haible to 'all'.
130 2003-10-10 Simon Josefsson <jas@extundo.com>
132 * modules/argp (Depends-on): Add restrict and strcase.
134 2003-10-08 Paul Eggert <eggert@twinsun.com>
136 * modules/getpass: Depend on stdbool.
138 2003-10-06 Bruno Haible <bruno@clisp.org>
140 * modules/version-etc-2: Remove file.
141 * MODULES.html.sh (func_all_modules): Remove version-etc-2.
143 2003-10-06 Bruno Haible <bruno@clisp.org>
145 * modules/fatal-signal: New file.
146 * MODULES.html.sh (func_all_modules): Add fatal-signal.
148 2003-10-05 Paul Eggert <eggert@twinsun.com>
150 * README: Rework advice for preventing empty .o files.
151 Don't recommend ELIDE constructs. Recommend <stddef.h>,
154 2003-10-02 Bruno Haible <bruno@clisp.org>
156 * modules/lchown (Include): Add lchown.h.
157 * modules/time_r (Include): Use "..." syntax.
158 * modules/xgetdomainname (Include): Add xgetdomainname.h.
160 2003-10-01 Simon Josefsson <jas@extundo.com>
162 * MODULES.html.sh (func_all_modules): Move gethostname from section
163 'based on' to section 'lacking' POSIX:2001.
165 2003-09-27 Oskar Liljeblad <oskar@osk.mine.nu>
167 Trivial fixes to Makefile.am parts of module listings.
168 * modules/strstr: Append strstr.h to lib_SOURCES.
169 * modules/strcase: Likewise, for strcase.h.
171 2003-09-27 Paul Eggert <eggert@twinsun.com>
173 * modules/free: New file.
175 2003-09-25 Bruno Haible <bruno@clisp.org>
177 * modules/version-etc-2: New file, from modules/version-etc with
179 * MODULES.html.sh (func_all_modules): Add version-etc-2.
181 2003-09-25 Simon Josefsson <jas@extundo.com>
182 Bruno Haible <bruno@clisp.org>
184 * modules/getdomainname: New file.
185 * modules/xgetdomainname: New file.
186 * MODULES.html.sh (func_all_modules): Add getdomainname, xgetdomainname.
188 2003-09-24 Paul Eggert <eggert@twinsun.com>
190 * README: Document assumptions that 'int' is at least 32 bits
191 wide, that integer arithmetic is 2's complement without overflow,
192 that there are no holes in integer values, that adding sizes of
193 two nonoverlapping objects can't overflow, and that all-bits-zero
194 yields scalar zero. Fix spelling and capitalization typos.
196 2003-09-24 Simon Josefsson <jas@extundo.com>
198 * modules/xgethostname: Add xgethostname.h.
200 2003-09-17 Paul Eggert <eggert@twinsun.com>
202 * gnulib-tool: Use "test -h", not "test -L", for portability
203 to Solaris 8 /bin/sh. (This bug is fixed in Solaris 9.)
204 (tags_regexp): Remove, since \| doesn't conform to POSIX.
205 (sed_extract_prog): Issue s commands one-by-one, rather than
206 using \| in one s command.
208 2003-09-16 Bruno Haible <bruno@clisp.org>
210 * gnulib-tool (func_create_testdir): Warn about duplicated
213 2003-09-15 Paul Eggert <eggert@twinsun.com>
215 * modules/argmatch, modules/fatal, modules/obstack,
216 modules/xalloc, modules/xgethostname: Sort dependencies by
217 importance, not alphabetically.
219 2003-09-14 Bruno Haible <bruno@clisp.org>
221 * modules/fwriteerror: New file.
222 * MODULES.html.sh (func_all_modules): Add fwriteerror.
224 2003-09-12 Paul Eggert <eggert@twinsun.com>
226 * modules/argmatch, modules/exitfail, modules/fatal, modules/obstack,
227 modules/xgethostname, modules/xalloc: Depend on exit.
229 2003-09-09 Paul Eggert <eggert@twinsun.com>
231 * README: New section: portability guidelines.
233 2003-09-07 Paul Eggert <eggert@twinsun.com>
235 * modules/time_r: Depend on 'restrict'. Fix from Simon Josefsson in
236 <http://mail.gnu.org/archive/html/bug-gnulib/2003-09/msg00028.html>.
238 2003-09-06 Paul Eggert <eggert@twinsun.com>
240 * MODULES.html.sh (func_all_modules): Add time_r.
241 * modules/time_r: New file.
242 * modules/mktime, modules/strftime, modules/timegm: Depend on time_r.
243 * modules/timegm: Depend on mktime. Change maintainer to "all, glibc".
245 2003-08-31 Simon Josefsson <jas@extundo.com>
247 * modules/timegm: New file.
248 * MODULES.html.sh (func_all_modules): Add timegm.
250 2003-08-22 Simon Josefsson <jas@extundo.com>
252 * modules/strndup (Makefile.am): Add strndup.h to lib_SOURCES.
254 2003-08-20 Bruno Haible <bruno@clisp.org>
256 * modules/progname: New file.
257 * MODULES.html.sh (func_all_modules): Add progname.
259 2003-08-18 Paul Eggert <eggert@twinsun.com>
261 * modules/stdbool: Add BUILT_SOURCES. Prefer $@ to target name
264 2003-08-17 Simon Josefsson <jas@extundo.com>
266 * modules/argp: Fix autoconf macro name. Add more dependencies.
268 2003-08-17 Simon Josefsson <jas@extundo.com>
270 * modules/xstrndup: New file.
271 * MODULES.html.sh (func_all_modules): Add xstrndup.
273 2003-08-17 Bruno Haible <bruno@clisp.org>
275 * modules/strndup (Files, Include): Add lib/strndup.h.
277 2003-08-17 Bruno Haible <bruno@clisp.org>
279 * gnulib-tool (func_create_testdir): Handle gl_USE_SYSTEM_EXTENSIONS
281 * modules/extensions (configure.ac): Comment out the invocation of
282 gl_USE_SYSTEM_EXTENSIONS.
284 2003-08-17 Bruno Haible <bruno@clisp.org>
286 * modules/euidaccess (Files): Add lib/euidaccess.h.
288 2003-08-16 Paul Eggert <eggert@twinsun.com>
290 Document merge from coreutils.
291 * modules/alloca: Append $(ALLOCA_H) to BUILT_SOURCES.
292 * modules/fnmatch: Append $(FNMATCH_H) to BUILT_SOURCES.
293 * modules/utime: Add m4/utimes-null.m4.
295 2003-08-15 Paul Eggert <eggert@twinsun.com>
297 Document merge from coreutils.
298 * modules/userspec: Depend on posixver.
299 * modules/strftime: Depend on tzset.
301 2003-08-14 Jim Meyering <jim@meyering.net>
303 Merges from coreutils.
304 * modules/fnmatch: Use the `$(FNMATCH_H)' notation for AC_REPLACED
305 variable names, rather than @FNMATCH_H@.
306 * modules/alloca: Likewise for $(ALLOCA_H).
308 * modules/fnmatch (fnmatch.h): Use `$@' in the commands, in place of
309 the three copies of the literal target, `fnmatch.h'.
310 * modules/alloca (alloca.h): Likewise.
312 2003-08-14 Paul Eggert <eggert@twinsun.com>
314 * modules/tzset: New file.
316 2003-08-12 Paul Eggert <eggert@twinsun.com>
318 Merge from coreutils.
319 * modules/euidaccess: Add lib_SOURCES, include for new
322 2003-08-11 Paul Eggert <eggert@twinsun.com>
324 * modules/gnu-source, m4/gnu-source.m4:
325 Remove; we're assuming Autoconf 2.54 or later now.
326 Suggested by Bruno Haible.
327 * MODULES.html.sh (func_all_modules): Remove gnu-source.
329 2003-08-08 Paul Eggert <eggert@twinsun.com>
331 * MODULES.html.sh (func_all_modules): Add extensions, gnu-source.
332 * modules/extensions, modules/gnu-source: New files.
333 * modules/timespec, modules/unlocked-io: Depend on extensions.
335 2003-08-07 Paul Eggert <eggert@twinsun.com>
337 * modules/restrict: New file.
338 * MODULES.html.sh (func_all_modules): Add restrict.
339 * modules/regex: Depend on restrict.
341 2003-08-07 Bruno Haible <bruno@clisp.org>
343 * modules/getndelim2 (Makefile.am): Add the files to EXTRA_DIST, not
344 lib_SOURCES, because getndelim2.m4 now uses AC_LIBOBJ(getndelim2).
346 2003-08-05 Paul Eggert <eggert@twinsun.com>
348 * MODULES.html.sh (func_all_modules): Remove bumpalloc.
349 * modules/bumpalloc: Remove.
351 2003-07-31 Bruno Haible <bruno@clisp.org>
353 * modules/getpass-gnu: New file.
354 * MODULES.html.sh (func_all_modules): Add getpass-gnu.
356 2003-07-22 Paul Eggert <eggert@twinsun.com>
358 * modules/xalloc (Depends-on): Add exitfail.
359 * modules/xmemcoll: Likewise.
361 2003-07-20 Jim Meyering <jim@meyering.net>
363 * modules/closeout (Depends-on): Add exitfail.
364 Suggestion from Bruno Haible.
366 2003-07-18 Bruno Haible <bruno@clisp.org>
368 * modules/getndelim2: New file.
369 * modules/getline: Share files with module getndelim2.
370 * modules/getnline: Depend on getndelim2 instead of sharing files with
371 it. Add getnline.c to lib_SOURCES.
372 * MODULES.html.sh (func_all_modules): Add getndelim2.
374 2003-07-17 Bruno Haible <bruno@clisp.org>
376 * modules/getnline: New file.
377 * modules/getline: Add lib/getndelim2.c to source file list.
378 * MODULES.html.sh (func_all_modules): Add getnline.
380 2003-07-17 Bruno Haible <bruno@clisp.org>
382 * configure.in: Remove file.
383 * Makefile.in: Remove file.
385 2003-07-17 Bruno Haible <bruno@clisp.org>
387 * MODULES.html.sh: Put the </BODY> right before </HTML>.
389 2003-07-16 Jim Meyering <jim@meyering.net>
391 * modules/save-cwd: Depend on xgetcwd. From Derek Price.
393 2003-07-15 Jim Meyering <jim@meyering.net>
395 * modules/save-cwd: Don't depend on error. From Derek Price.
397 2003-07-14 Simon Josefsson <jas@extundo.com>
399 * modules/mempcpy: New file.
400 * MODULES.html.sh (func_all_modules): Add mempcpy.
402 2003-07-14 Paul Eggert <eggert@twinsun.com>
404 * modules/getdate, modules/posixtm: Depend on mktime.
406 2003-07-10 Simon Josefsson <jas@extundo.com>
408 * modules/strchrnul (Makefile.am): Add strchrnul.h.
410 2003-06-26 Bruno Haible <bruno@clisp.org>
412 * modules/human: Depend on module stdbool.
414 2003-06-25 Bruno Haible <bruno@clisp.org>
416 * modules/readlink: New file.
417 * modules/xreadlink: Depend on it.
418 * MODULES.html.sh (func_all_modules): Add readlink.
420 2003-06-22 Bruno Haible <bruno@clisp.org>
422 * modules/safe-read: Add m4/ssize_t.m4.
423 * modules/xreadlink: Add m4/ssize_t.m4.
425 2003-06-11 Simon Josefsson <jas@extundo.com>
427 * modules/sysexits: New file.
428 * MODULES.html.sh (func_all_modules): Add sysexits.
430 2003-06-10 Bruno Haible <bruno@clisp.org>
432 * MODULES.html.sh (func_all_modules): Add strchrnul and argp.
434 2003-06-10 Simon Josefsson <jas@extundo.com>
436 * modules/strchrnul: New file.
438 2003-06-10 Simon Josefsson <jas@extundo.com>
440 * modules/argp: New file.
442 2003-06-07 Bruno Haible <bruno@clisp.org>
444 * modules/poll (Makefile.am): Use explicit creation rule for poll.h, to
445 avoid AC_CONFIG_LINKS.
446 * modules/fnmatch (Makefile.am): Use explicit creation rule for
447 fnmatch.h, to avoid AC_CONFIG_LINKS.
448 * modules/alloca (Makefile.am): Make creation of alloca.h Ctrl-C safe.
450 2003-06-07 Jim Meyering <jim@meyering.net>
452 * modules/strtod: Use $(...) notation, not @...@ for
453 AC_REPLACE'd variables.
454 * modules/localcharset: Likewise.
456 2003-06-06 Jim Meyering <jim@meyering.net>
457 Bruno Haible <bruno@clisp.org>
459 * modules/stdbool: Reflect renaming: stdbool.h.in -> stdbool_.h.
460 Adjust Makefile.am snippet not to redirect directly to target.
461 Use $(STDBOOL_H) notation, not @STDBOOL_H@ for AC_REPLACE'd variables.
463 2003-05-30 Bruno Haible <bruno@clisp.org>
465 * modules/gettext: Add files m4/nls.m4 and m4/po.m4.
466 * config/config.rpath: Upgrade to gettext-0.12.1.
468 2003-05-22 <karl@gnu.org>
470 * gnulib-tool (func_usage): =LIBRARY not =libRARY in help msg.
472 2003-05-09 Bruno Haible <bruno@clisp.org>
474 * modules/error: Add m4/strerror_r.m4 to file list.
476 2003-04-10 Bruno Haible <bruno@clisp.org>
478 * modules/findprog: New file.
479 * MODULES.html.sh (func_all_modules): Add it.
481 2003-04-04 Bruno Haible <bruno@clisp.org>
483 * modules/linebreak: New file.
484 * MODULES.html.sh (func_all_modules): Add it.
486 2003-04-03 Bruno Haible <bruno@clisp.org>
488 * modules/utf8-ucs4: New file.
489 * modules/utf16-ucs4: New file.
490 * modules/ucs4-utf8: New file.
491 * modules/ucs4-utf16: New file.
492 * MODULES.html.sh (func_all_modules): Add them.
494 2003-04-02 Bruno Haible <bruno@clisp.org>
496 * modules/binary-io: New file.
497 * MODULES.html.sh (func_all_modules): Add it.
499 2003-04-01 Bruno Haible <bruno@clisp.org>
501 * modules/pathname: New file.
502 * MODULES.html.sh (func_all_modules): Add it.
504 2003-03-28 Bruno Haible <bruno@clisp.org>
506 * modules/copy-file: New file.
507 * MODULES.html.sh (func_all_modules): Add it.
509 2003-02-20 Bruno Haible <bruno@clisp.org>
511 * MODULES.html.sh (func_all_modules): Add poll.
513 2003-02-19 Paolo Bonzino <bonzini@gnu.org>
515 * modules/poll: New file.
517 2003-02-18 Bruno Haible <bruno@clisp.org>
519 * MODULES.html.sh (func_all_modules): Add mathl.
521 2003-02-18 Paolo Bonzino <bonzini@gnu.org>
523 * modules/mathl: New file.
525 2003-02-17 Bruno Haible <bruno@clisp.org>
527 * modules/mkdtemp: New module.
528 * MODULES.html.sh (func_all_modules): Add it.
530 2003-01-30 Bruno Haible <bruno@clisp.org>
532 * modules/vasnprintf, modules/vasprintf: New modules.
533 * MODULES.html.sh (func_all_modules): Add them.
535 2003-01-29 Bruno Haible <bruno@clisp.org>
537 * modules/stpncpy: New module.
538 * MODULES.html.sh (func_all_modules): Add it.
540 2003-01-28 Bruno Haible <bruno@clisp.org>
542 * modules/c-ctype: New module.
543 * MODULES.html.sh (func_all_modules): Add it.
545 2003-01-27 Bruno Haible <bruno@clisp.org>
547 * modules/xsetenv: New module.
548 * MODULES.html.sh (func_all_modules): Add it.
550 2003-01-23 Bruno Haible <bruno@clisp.org>
552 * modules/minmax: New module.
553 * MODULES.html.sh (func_all_modules): Add it.
555 2003-01-22 Bruno Haible <bruno@clisp.org>
557 * modules/exit: New module.
558 * MODULES.html.sh (func_all_modules): Add it.
560 2003-01-19 Bruno Haible <bruno@clisp.org>
562 * gnulib-tool: Recognize option --extract-maintainer.
563 (func_get_maintainer): New function.
564 * modules/*: Add Maintainer entry.
566 2003-01-16 Bruno Haible <bruno@clisp.org>
568 * MODULES.html.sh: Add a table of contents. Add the module name as
569 leftmost column. Add hyperlinks.
571 2003-01-11 Bruno Haible <bruno@clisp.org>
573 * modules/stpcpy: Distribute lib/stpcpy.h.
574 * modules/setenv: Depend on alloca. Distribute lib/setenv.h.
576 2003-01-11 Bruno Haible <bruno@clisp.org>
578 * gnulib-tool (func_create_testdir): Store config/* files in the main
580 * config.rpath: Move to ...
581 * config/config.rpath: ... here.
582 * modules/gettext: Contains config/config.rpath, not config.rpath.
583 * modules/iconv: Likewise.
585 2003-01-11 Bruno Haible <bruno@clisp.org>
587 * modules/*: Add a description.
588 * modules/strpbrk: Fix Makefile.am snippet.
589 * modules/strtoimax: Fix dependencies.
590 * modules/strtoumax: Likewise.
592 2003-01-11 Bruno Haible <bruno@clisp.org>
594 * gnulib-tool (func_create_testdir): Substitute lib_OBJECTS.
595 * modules/alloca (Makefile.am): All object files depend on alloca.h.
596 * modules/stdbool (Makefile.am): All object files depend on stdbool.h.
598 2003-01-12 Paul Eggert <eggert@twinsun.com>
600 Finish renaming getstr -> getdelim2 and readline -> readlinebuffer,
601 to avoid collisions with libcurses and libreadline.
603 * MODULES.html.sh: Remove getstr.
604 * modules/getline: Depend on unlocked-io, not getstr.
606 2003-01-10 Bruno Haible <bruno@clisp.org>
608 * modules/alloca: Change Makefile.am requirements. Simplify Include
609 requirements. Add lib/alloca_.h to file list.
611 2003-01-09 Bruno Haible <bruno@clisp.org>
613 * modules/stdbool: Change configure.ac, Makefile.am requirements.
614 Simplify Include requirements. Add lib/stdbool.h.in to file list.
616 2003-01-09 Bruno Haible <bruno@clisp.org>
618 * gnulib-tool (func_all_modules): Ignore files ending in ~.
619 * MODULES.html.sh: Likewise.
621 2003-01-09 <karl@gnu.org>
623 * MODULES.html.sh: include `dirname $0` in PATH, to find
626 2003-01-08 Bruno Haible <bruno@clisp.org>
628 * modules/full-read: Depend on full-write.
630 2003-01-07 Bruno Haible <bruno@clisp.org>
632 * MODULES.html.sh: Add copyright notice.
633 (missed_files): Omit CVS directory entries.
634 (func_module): Make it work with sed-3.02.
635 * MODULES.txt: Remove file.
637 2003-01-01 <karl@gnu.org>
639 * gnulib-tool (func_verify_module): report module name $module in
640 error message, not $1.
641 * gnulib-tool (create-testdir): don't complain if destdir couldn't
642 be created, only if it doesn't exist.
643 * gnulib-tool (last_checkin_date): don't expand the $Date here.
645 2002-12-24 Bruno Haible <bruno@clisp.org>
647 * MODULES.txt: Update according to m4/ changes.
650 * config.rpath: New file, from gettext-0.11.5.
652 * modules/*: New module descriptions.
653 * gnulib-tool: New file.
654 * MODULES.html.sh: New file.
656 2002-11-01 Bruno Haible <bruno@clisp.org>
658 * configure.in: Add AC_CONFIG_AUX_DIR call.
659 (AC_OUTPUT): Add m4/Makefile, lib/Makefile. Remove doc/Makefile,
661 * Makefile.in (subdirs): Add m4, lib. Remove doc, test.
663 2002-08-23 Stefan Monnier <monnier@cs.yale.edu>
665 * regex.c (PATFETCH): Remove the translating fetch.
666 (PATFETCH_RAW): Rename to PATFETCH.
667 (set_image_of_range): New fun.
668 (SET_RANGE_TABLE_WORK_AREA): Use it.
669 (regex_compile): Don't translate the pattern chars so eagerly.
670 Only do it when inserting an `exactn' bytecode or when handling
672 (mutually_exclusive_p): Avoid empty statement.
674 2001-10-22 Jeff Bailey <jbailey@outpost.dnsalias.org>
677 * doc/*: Add COPYING, COPYING.LIB, COPYING.DOC, fdl.texi
678 (per RMS's instructions, this is now the canonical source)
679 * lgpl/, gpl/: New directories.
681 2001-01-24 Stefan Monnier <monnier@cs.yale.edu>
683 * regex.c (mutually_exclusive_p): Don't blindly handle `charset_not'
684 as if it was a `charset'.
686 2000-10-30 Stefan Monnier <monnier@cs.yale.edu>
688 * regex.c (re_iswctype, re_wctype_to_bit): Fix braino.
689 (regex_compile): Catch bogus \(\1\).
691 2000-10-27 Stefan Monnier <monnier@cs.yale.edu>
693 * regex.c (POP_FAILURE_REG_OR_COUNT, re_match_2_internal)
694 (re_match_2_internal, re_match_2_internal, re_match_2_internal):
695 Giving in to popular pressure to shut up the compiler with casts.
697 2000-10-25 Stefan Monnier <monnier@cs.yale.edu>
699 * regex.c: More `unsigned char' -> `re_char' changes.
700 Also change several `int' into `re_wchar_t'.
701 (PATTERN_STACK_EMPTY, PUSH_PATTERN_OP, POP_PATTERN_OP): Remove.
702 (PUSH_FAILURE_POINTER): Don't cast any more.
703 (POP_FAILURE_REG_OR_COUNT): Remove the cast that strips `const'.
704 We want GCC to complain, since this piece of code makes
705 re_match non-reentrant, which *should* be fixed.
706 (GET_BUFFER_SPACE): Use size_t rather than unsigned long.
707 (EXTEND_BUFFER): Use RETALLOC.
708 (SET_LIST_BIT): Don't cast.
709 (re_wchar_t): New type.
710 (re_iswctype, re_wctype_to_bit): Make it crystal clear to GCC
711 that those two functions will always properly return.
712 (IMMEDIATE_QUIT_CHECK): Cast to void.
713 (analyse_first): Use recursion rather than an explicit stack.
714 (re_compile_fastmap): Can't fail anymore.
715 (re_search_2): Don't check re_compile_fastmap for failure.
716 (PUSH_NUMBER): Renamed from PUSH_FAILURE_COUNT.
717 Now also sets the new value (passed in a new argument).
718 (re_match_2_internal): Use it.
719 Also, use a new var `reg' of type size_t when looping through regs
720 rather than reuse the inappropriate `mcnt'.
722 2000-10-24 Andrew Innes <andrewi@gnu.org>
724 * regex.c (IMMEDIATE_QUIT_CHECK): New macro, which does QUIT on
726 (re_match_2_internal): Use IMMEDIATE_QUIT_CHECK instead of QUIT,
727 so that re_search functions only quit when callers expect them to.
729 2000-10-24 Kenichi Handa <handa@etl.go.jp>
731 * regex.c (regex_compile): Change the way of handling a range from
732 a char less than 256 to a char not less than 256.
734 2000-10-15 Stefan Monnier <monnier@cs.yale.edu>
736 * regex.c (WIDE_CHAR_SUPPORT): Define if _LIBC as well.