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