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