.
[gnulib.git] / ChangeLog
1 2001-01-24  Stefan Monnier  <monnier@cs.yale.edu>
2
3         * regex.c (mutually_exclusive_p): Don't blindly handle `charset_not'
4         as if it was a `charset'.
5
6 2000-10-30  Stefan Monnier  <monnier@cs.yale.edu>
7
8         * regex.c (re_iswctype, re_wctype_to_bit): Fix braino.
9         (regex_compile): Catch bogus \(\1\).
10
11 2000-10-27  Stefan Monnier  <monnier@cs.yale.edu>
12
13         * regex.c (POP_FAILURE_REG_OR_COUNT, re_match_2_internal)
14         (re_match_2_internal, re_match_2_internal, re_match_2_internal):
15         Giving in to popular pressure to shut up the compiler with casts.
16
17 2000-10-25  Stefan Monnier  <monnier@cs.yale.edu>
18
19         * regex.c: More `unsigned char' -> `re_char' changes.
20         Also change several `int' into `re_wchar_t'.
21         (PATTERN_STACK_EMPTY, PUSH_PATTERN_OP, POP_PATTERN_OP): Remove.
22         (PUSH_FAILURE_POINTER): Don't cast any more.
23         (POP_FAILURE_REG_OR_COUNT): Remove the cast that strips `const'.
24         We want GCC to complain, since this piece of code makes
25         re_match non-reentrant, which *should* be fixed.
26         (GET_BUFFER_SPACE): Use size_t rather than unsigned long.
27         (EXTEND_BUFFER): Use RETALLOC.
28         (SET_LIST_BIT): Don't cast.
29         (re_wchar_t): New type.
30         (re_iswctype, re_wctype_to_bit): Make it crystal clear to GCC
31         that those two functions will always properly return.
32         (IMMEDIATE_QUIT_CHECK): Cast to void.
33         (analyse_first): Use recursion rather than an explicit stack.
34         (re_compile_fastmap): Can't fail anymore.
35         (re_search_2): Don't check re_compile_fastmap for failure.
36         (PUSH_NUMBER): Renamed from PUSH_FAILURE_COUNT.
37         Now also sets the new value (passed in a new argument).
38         (re_match_2_internal): Use it.
39         Also, use a new var `reg' of type size_t when looping through regs
40         rather than reuse the inappropriate `mcnt'.
41
42 2000-10-24  Andrew Innes  <andrewi@gnu.org>
43
44         * regex.c (IMMEDIATE_QUIT_CHECK): New macro, which does QUIT on
45         NT-Emacs only.
46         (re_match_2_internal): Use IMMEDIATE_QUIT_CHECK instead of QUIT,
47         so that re_search functions only quit when callers expect them to.
48
49 2000-10-24  Kenichi Handa  <handa@etl.go.jp>
50
51         * regex.c (regex_compile): Change the way of handling a range from
52         a char less than 256 to a char not less than 256.
53
54 2000-10-15  Stefan Monnier  <monnier@cs.yale.edu>
55
56         * regex.c (WIDE_CHAR_SUPPORT): Define if _LIBC as well.
57