aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorStefan Monnier2000-04-02 23:56:46 +0000
committerStefan Monnier2000-04-02 23:56:46 +0000
commit2d1675e45c46d97aec4c6af28a0719778f79b8da (patch)
tree11c6492fbe96211f75cc8f4ac37e7e0cde1538bb /src/ChangeLog
parent096540869a2be7676946ef9c4ee52e5cedb5c28a (diff)
downloademacs-2d1675e45c46d97aec4c6af28a0719778f79b8da.tar.gz
emacs-2d1675e45c46d97aec4c6af28a0719778f79b8da.zip
* regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
(RE_MULTIBYTE_P, RE_STRING_CHAR_AND_LENGTH): New macros. (GET_CHAR_BEFORE_2): Moved from charset.h plus fixed minor bug when we are between str1 and str2. (MAX_MULTIBYTE_LENGTH, CHAR_STRING) [!emacs]: Provide trivial default. (PATFETCH): Use `TRANSLATE'. (PATFETCH_RAW): Fetch multibyte char if applicable. (PATUNFETCH): Remove. (regex_compile): Rely on PATFETCH to do most of the multibyte magic. When writing a char, write it directly into the pattern buffer rather than going needlessly through a temp char-array. (re_match_2_internal): Similarly, rely on RE_STRING_CHAR to do the multibyte magic and remove the useless `#ifdef emacs'. (bcmp_translate): Don't compare as multibyte chars when in a unibyte buffer. * regex.h (struct re_pattern_buffer): Make field `multibyte' conditional on `emacs'. * charset.h (GET_CHAR_BEFORE_2): Moved to regex.c.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index de883b830a4..9f3f20bbb3e 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,26 @@
12000-04-02 Stefan Monnier <monnier@cs.yale.edu>
2
3 * regex.c (PTR_TO_OFFSET) [!emacs]: Remove.
4 (RE_MULTIBYTE_P, RE_STRING_CHAR_AND_LENGTH): New macros.
5 (GET_CHAR_BEFORE_2): Moved from charset.h plus fixed minor bug when
6 we are between str1 and str2.
7 (MAX_MULTIBYTE_LENGTH, CHAR_STRING) [!emacs]: Provide trivial default.
8 (PATFETCH): Use `TRANSLATE'.
9 (PATFETCH_RAW): Fetch multibyte char if applicable.
10 (PATUNFETCH): Remove.
11 (regex_compile): Rely on PATFETCH to do most of the multibyte magic.
12 When writing a char, write it directly into the pattern buffer rather
13 than going needlessly through a temp char-array.
14 (re_match_2_internal): Similarly, rely on RE_STRING_CHAR to do the
15 multibyte magic and remove the useless `#ifdef emacs'.
16 (bcmp_translate): Don't compare as multibyte chars when in a unibyte
17 buffer.
18
19 * regex.h (struct re_pattern_buffer): Make field `multibyte'
20 conditional on `emacs'.
21
22 * charset.h (GET_CHAR_BEFORE_2): Moved to regex.c.
23
12000-04-01 Ken Raeburn <raeburn@gnu.org> 242000-04-01 Ken Raeburn <raeburn@gnu.org>
2 25
3 * alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand 26 * alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P): Expand