* safe-read.h (SAFE_READ_ERROR): Define.
[gnulib.git] / ChangeLog
1 2002-11-01  Bruno Haible  <bruno@clisp.org>
2
3         * configure.in: Add AC_CONFIG_AUX_DIR call.
4         (AC_OUTPUT): Add m4/Makefile, lib/Makefile. Remove doc/Makefile,
5         test/Makefile.
6         * Makefile.in (subdirs): Add m4, lib. Remove doc, test.
7
8 2002-08-23  Stefan Monnier  <monnier@cs.yale.edu>
9
10         * regex.c (PATFETCH): Remove the translating fetch.
11         (PATFETCH_RAW): Rename to PATFETCH.
12         (set_image_of_range): New fun.
13         (SET_RANGE_TABLE_WORK_AREA): Use it.
14         (regex_compile): Don't translate the pattern chars so eagerly.
15         Only do it when inserting an `exactn' bytecode or when handling
16         a char-range.
17         (mutually_exclusive_p): Avoid empty statement.
18
19 2001-10-22  Jeff Bailey  <jbailey@outpost.dnsalias.org>
20
21         * README: New file
22         * doc/*: Add COPYING, COPYING.LIB, COPYING.DOC, fdl.texi
23         (per RMS's instructions, this is now the canonical source)
24         * lgpl/, gpl/: New directories.
25
26 2001-01-24  Stefan Monnier  <monnier@cs.yale.edu>
27
28         * regex.c (mutually_exclusive_p): Don't blindly handle `charset_not'
29         as if it was a `charset'.
30
31 2000-10-30  Stefan Monnier  <monnier@cs.yale.edu>
32
33         * regex.c (re_iswctype, re_wctype_to_bit): Fix braino.
34         (regex_compile): Catch bogus \(\1\).
35
36 2000-10-27  Stefan Monnier  <monnier@cs.yale.edu>
37
38         * regex.c (POP_FAILURE_REG_OR_COUNT, re_match_2_internal)
39         (re_match_2_internal, re_match_2_internal, re_match_2_internal):
40         Giving in to popular pressure to shut up the compiler with casts.
41
42 2000-10-25  Stefan Monnier  <monnier@cs.yale.edu>
43
44         * regex.c: More `unsigned char' -> `re_char' changes.
45         Also change several `int' into `re_wchar_t'.
46         (PATTERN_STACK_EMPTY, PUSH_PATTERN_OP, POP_PATTERN_OP): Remove.
47         (PUSH_FAILURE_POINTER): Don't cast any more.
48         (POP_FAILURE_REG_OR_COUNT): Remove the cast that strips `const'.
49         We want GCC to complain, since this piece of code makes
50         re_match non-reentrant, which *should* be fixed.
51         (GET_BUFFER_SPACE): Use size_t rather than unsigned long.
52         (EXTEND_BUFFER): Use RETALLOC.
53         (SET_LIST_BIT): Don't cast.
54         (re_wchar_t): New type.
55         (re_iswctype, re_wctype_to_bit): Make it crystal clear to GCC
56         that those two functions will always properly return.
57         (IMMEDIATE_QUIT_CHECK): Cast to void.
58         (analyse_first): Use recursion rather than an explicit stack.
59         (re_compile_fastmap): Can't fail anymore.
60         (re_search_2): Don't check re_compile_fastmap for failure.
61         (PUSH_NUMBER): Renamed from PUSH_FAILURE_COUNT.
62         Now also sets the new value (passed in a new argument).
63         (re_match_2_internal): Use it.
64         Also, use a new var `reg' of type size_t when looping through regs
65         rather than reuse the inappropriate `mcnt'.
66
67 2000-10-24  Andrew Innes  <andrewi@gnu.org>
68
69         * regex.c (IMMEDIATE_QUIT_CHECK): New macro, which does QUIT on
70         NT-Emacs only.
71         (re_match_2_internal): Use IMMEDIATE_QUIT_CHECK instead of QUIT,
72         so that re_search functions only quit when callers expect them to.
73
74 2000-10-24  Kenichi Handa  <handa@etl.go.jp>
75
76         * regex.c (regex_compile): Change the way of handling a range from
77         a char less than 256 to a char not less than 256.
78
79 2000-10-15  Stefan Monnier  <monnier@cs.yale.edu>
80
81         * regex.c (WIDE_CHAR_SUPPORT): Define if _LIBC as well.
82