aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorEli Zaretskii2011-06-25 14:44:30 +0300
committerEli Zaretskii2011-06-25 14:44:30 +0300
commit0c22566f00ee467af8d41ef7dc9f18c3b66630c5 (patch)
tree7db72a0297d9f21e0582d94286c21cad2c64dfa9 /src/ChangeLog
parent58b9f433ad4a4ea20e0c51997ca8a9aaab79a213 (diff)
downloademacs-0c22566f00ee467af8d41ef7dc9f18c3b66630c5.tar.gz
emacs-0c22566f00ee467af8d41ef7dc9f18c3b66630c5.zip
Set up the bidi iterator for iterating display strings and overlay strings.
Not tested yet, just compiled. src/xdisp.c (handle_single_display_spec, next_overlay_string) (get_overlay_strings_1, push_display_prop): Set up the bidi iterator for displaying display or overlay strings. (forward_to_next_line_start): Don't use the shortcut if bidi-iterating. (back_to_previous_visible_line_start): If handle_display_prop pushed the iterator stack, restore the internal state of the bidi iterator by calling bidi_pop_it same number of times. (reseat_at_next_visible_line_start): If ON_NEWLINE_P is non-zero, and we are bidi-iterating, don't decrement the iterator position; instead, set the first_elt flag in the bidi iterator, to produce the same effect. (reseat_1): Remove redundant setting of string_from_display_prop_p. (push_display_prop): xassert that we are iterating a buffer. (push_it, pop_it): Save and restore the state of the bidi iterator. Save and restore the bidi_p flag. (pop_it): Iterate out of display property for string iteration as well. (iterate_out_of_display_property): Support iteration over strings. (handle_single_display_spec): Set up it->bidi_it for iteration over a display string, and call bidi_init_it. src/bidi.c (bidi_cache_start_stack, bidi_push_it): Use IT_STACK_SIZE. src/dispextern.h (struct iterator_stack_entry): New member bidi_p. (struct it): Member bidi_p is now a bit field 1 bit wide.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog32
1 files changed, 32 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 40576554636..083aaaaa4bd 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,35 @@
12011-06-25 Eli Zaretskii <eliz@gnu.org>
2
3 * xdisp.c (handle_single_display_spec, next_overlay_string)
4 (get_overlay_strings_1, push_display_prop): Set up the bidi
5 iterator for displaying display or overlay strings.
6 (forward_to_next_line_start): Don't use the shortcut if
7 bidi-iterating.
8 (back_to_previous_visible_line_start): If handle_display_prop
9 pushed the iterator stack, restore the internal state of the bidi
10 iterator by calling bidi_pop_it same number of times.
11 (reseat_at_next_visible_line_start): If ON_NEWLINE_P is non-zero,
12 and we are bidi-iterating, don't decrement the iterator position;
13 instead, set the first_elt flag in the bidi iterator, to produce
14 the same effect.
15 (reseat_1): Remove redundant setting of string_from_display_prop_p.
16 (push_display_prop): xassert that we are iterating a buffer.
17
18 * bidi.c (bidi_cache_start_stack, bidi_push_it): Use IT_STACK_SIZE.
19
202011-06-24 Eli Zaretskii <eliz@gnu.org>
21
22 * xdisp.c (push_it, pop_it): Save and restore the state of the
23 bidi iterator. Save and restore the bidi_p flag.
24 (pop_it): Iterate out of display property for string iteration as
25 well.
26 (iterate_out_of_display_property): Support iteration over strings.
27 (handle_single_display_spec): Set up it->bidi_it for iteration
28 over a display string, and call bidi_init_it.
29
30 * dispextern.h (struct iterator_stack_entry): New member bidi_p.
31 (struct it): Member bidi_p is now a bit field 1 bit wide.
32
12011-06-23 Eli Zaretskii <eliz@gnu.org> 332011-06-23 Eli Zaretskii <eliz@gnu.org>
2 34
3 * dispextern.h (bidi_push_it, bidi_pop_it): Add prototypes. 35 * dispextern.h (bidi_push_it, bidi_pop_it): Add prototypes.