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