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