diff options
| author | Eli Zaretskii | 2011-10-20 14:39:52 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2011-10-20 14:39:52 +0200 |
| commit | 7b5d6677eca241b608f32b1de8d60e03758ec157 (patch) | |
| tree | acb4c67188e9ca5e819c44350a3907812638a904 /src/ChangeLog | |
| parent | 1ebc9c872623dab285842f273a18937223f4d3c6 (diff) | |
| download | emacs-7b5d6677eca241b608f32b1de8d60e03758ec157.tar.gz emacs-7b5d6677eca241b608f32b1de8d60e03758ec157.zip | |
Improve the speedup of bidi display introduced in 2011-10-18T16:56:09Z!eliz@gnu.org for bug#9771.
src/dispextern.h (struct bidi_it): New member next_en_type.
src/bidi.c (bidi_line_init): Initialize the next_en_type member.
(bidi_resolve_explicit_1): When next_en_pos is valid for the
current character, check also for next_en_type being WEAK_EN.
(bidi_resolve_weak): Don't enter the expensive loop if the current
position is before next_en_pos. Record the bidi type of the first
non-ET, non-BN character we find, in addition to its position.
(bidi_level_of_next_char): Invalidate next_en_type when
next_en_pos is over-stepped.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 36b205a120d..3f9b5beeab6 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,16 @@ | |||
| 1 | 2011-10-20 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * dispextern.h (struct bidi_it): New member next_en_type. | ||
| 4 | |||
| 5 | * bidi.c (bidi_line_init): Initialize the next_en_type member. | ||
| 6 | (bidi_resolve_explicit_1): When next_en_pos is valid for the | ||
| 7 | current character, check also for next_en_type being WEAK_EN. | ||
| 8 | (bidi_resolve_weak): Don't enter the expensive loop if the current | ||
| 9 | position is before next_en_pos. Record the bidi type of the first | ||
| 10 | non-ET, non-BN character we find, in addition to its position. | ||
| 11 | (bidi_level_of_next_char): Invalidate next_en_type when | ||
| 12 | next_en_pos is over-stepped. | ||
| 13 | |||
| 1 | 2011-10-20 Paul Eggert <eggert@cs.ucla.edu> | 14 | 2011-10-20 Paul Eggert <eggert@cs.ucla.edu> |
| 2 | 15 | ||
| 3 | Time zone name fixes for non-ASCII locales (Bug#641, Bug#9794) | 16 | Time zone name fixes for non-ASCII locales (Bug#641, Bug#9794) |