diff options
| author | Eli Zaretskii | 2011-05-14 14:59:20 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2011-05-14 14:59:20 +0300 |
| commit | 102ebb00791ec617cfff4b1e351bc32bf8d71a9f (patch) | |
| tree | 66b908c5de99f3bfbcbf84c0fe28cd2b43b9d480 /src/ChangeLog | |
| parent | 182ce2d254ed316239b8deab8adac05c3dbe0149 (diff) | |
| download | emacs-102ebb00791ec617cfff4b1e351bc32bf8d71a9f.tar.gz emacs-102ebb00791ec617cfff4b1e351bc32bf8d71a9f.zip | |
Refactoring with bidi_fetch_char tested and debugged.
src/bidi.c (bidi_fetch_char): Accept also character position
corresponding to BYTEPOS. All callers changed.
(bidi_cache_iterator_state, bidi_resolve_explicit_1)
(bidi_resolve_explicit, bidi_resolve_weak)
(bidi_level_of_next_char, bidi_move_to_visually_next): Abort if
bidi_it->nchars is non-positive.
(bidi_level_of_next_char): Don't try to lookup the cache for the
next/previous character if nothing is cached there yet, or if we
were just reseat()'ed to a new position.
(bidi_paragraph_init, bidi_resolve_explicit_1)
(bidi_level_of_next_char): Fix arguments in the calls to
bidi_fetch_char.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 03fe0029e70..decde924b09 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,18 @@ | |||
| 1 | 2011-05-14 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * bidi.c (bidi_fetch_char): Accept also character position | ||
| 4 | corresponding to BYTEPOS. All callers changed. | ||
| 5 | (bidi_cache_iterator_state, bidi_resolve_explicit_1) | ||
| 6 | (bidi_resolve_explicit, bidi_resolve_weak) | ||
| 7 | (bidi_level_of_next_char, bidi_move_to_visually_next): Abort if | ||
| 8 | bidi_it->nchars is non-positive. | ||
| 9 | (bidi_level_of_next_char): Don't try to lookup the cache for the | ||
| 10 | next/previous character if nothing is cached there yet, or if we | ||
| 11 | were just reseat()'ed to a new position. | ||
| 12 | (bidi_paragraph_init, bidi_resolve_explicit_1) | ||
| 13 | (bidi_level_of_next_char): Fix arguments in the calls to | ||
| 14 | bidi_fetch_char. | ||
| 15 | |||
| 1 | 2011-05-10 Eli Zaretskii <eliz@gnu.org> | 16 | 2011-05-10 Eli Zaretskii <eliz@gnu.org> |
| 2 | 17 | ||
| 3 | * xdisp.c (compute_display_string_pos): New function. | 18 | * xdisp.c (compute_display_string_pos): New function. |