aboutsummaryrefslogtreecommitdiffstats
path: root/src/ChangeLog
diff options
context:
space:
mode:
authorEli Zaretskii2011-05-10 19:12:16 +0300
committerEli Zaretskii2011-05-10 19:12:16 +0300
commit182ce2d254ed316239b8deab8adac05c3dbe0149 (patch)
tree8df1f0ece905ab62db502e6fe30cd45acfc6837e /src/ChangeLog
parentffb54e99ad5c0c3529e22eec4d112d64977f81a3 (diff)
downloademacs-182ce2d254ed316239b8deab8adac05c3dbe0149.tar.gz
emacs-182ce2d254ed316239b8deab8adac05c3dbe0149.zip
Started work on reordering display strings. Refactor FETCH_CHAR.
Only compiled, not tested. src/xdisp.c (compute_display_string_pos): New function. (reseat_1): Initialize bidi_it.disp_pos. src/bidi.c (bidi_copy_it): Use offsetof. (bidi_fetch_char, bidi_fetch_char_advance): New functions. (bidi_cache_search, bidi_cache_iterator_state) (bidi_paragraph_init, bidi_resolve_explicit, bidi_resolve_weak) (bidi_level_of_next_char, bidi_move_to_visually_next): Support character positions inside a run of characters covered by a display string. (bidi_paragraph_init, bidi_resolve_explicit_1) (bidi_level_of_next_char): Call bidi_fetch_char and bidi_fetch_char_advance instead of FETCH_CHAR and FETCH_CHAR_ADVANCE. (bidi_init_it): Initialize new members. (LRE_CHAR, RLE_CHAR, PDF_CHAR, LRO_CHAR, RLO_CHAR): Remove macro definitions. (bidi_explicit_dir_char): Lookup character type in bidi_type_table, instead of using explicit *_CHAR codes. (bidi_resolve_explicit, bidi_resolve_weak): Use FETCH_MULTIBYTE_CHAR instead of FETCH_CHAR, as reordering of bidirectional text is supported only in multibyte buffers. src/dispextern.h (struct bidi_it): New members nchars and disp_pos. ch_len is now EMACS_INT. (compute_display_string_pos): Declare prototype.
Diffstat (limited to 'src/ChangeLog')
-rw-r--r--src/ChangeLog29
1 files changed, 29 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6f70908caae..03fe0029e70 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,32 @@
12011-05-10 Eli Zaretskii <eliz@gnu.org>
2
3 * xdisp.c (compute_display_string_pos): New function.
4 (reseat_1): Initialize bidi_it.disp_pos.
5
6 * bidi.c (bidi_copy_it): Use offsetof.
7 (bidi_fetch_char, bidi_fetch_char_advance): New functions.
8 (bidi_cache_search, bidi_cache_iterator_state)
9 (bidi_paragraph_init, bidi_resolve_explicit, bidi_resolve_weak)
10 (bidi_level_of_next_char, bidi_move_to_visually_next): Support
11 character positions inside a run of characters covered by a
12 display string.
13 (bidi_paragraph_init, bidi_resolve_explicit_1)
14 (bidi_level_of_next_char): Call bidi_fetch_char and
15 bidi_fetch_char_advance instead of FETCH_CHAR and
16 FETCH_CHAR_ADVANCE.
17 (bidi_init_it): Initialize new members.
18 (LRE_CHAR, RLE_CHAR, PDF_CHAR, LRO_CHAR, RLO_CHAR): Remove macro
19 definitions.
20 (bidi_explicit_dir_char): Lookup character type in bidi_type_table,
21 instead of using explicit *_CHAR codes.
22 (bidi_resolve_explicit, bidi_resolve_weak): Use
23 FETCH_MULTIBYTE_CHAR instead of FETCH_CHAR, as reordering of
24 bidirectional text is supported only in multibyte buffers.
25
26 * dispextern.h (struct bidi_it): New members nchars and disp_pos.
27 ch_len is now EMACS_INT.
28 (compute_display_string_pos): Declare prototype.
29
12011-05-09 Andreas Schwab <schwab@linux-m68k.org> 302011-05-09 Andreas Schwab <schwab@linux-m68k.org>
2 31
3 * w32menu.c (set_frame_menubar): Fix submenu allocation. 32 * w32menu.c (set_frame_menubar): Fix submenu allocation.