diff options
| author | Eli Zaretskii | 2011-07-01 13:53:29 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2011-07-01 13:53:29 +0300 |
| commit | f3014ef5b24ac42ec714b48148b7b604b47f7468 (patch) | |
| tree | 98ca5852c241272f7e2d4b5d011e1d1785e650a3 /src/ChangeLog | |
| parent | 7e2ad32c19096fb9a86fbb88f7e7b1ed90a332e9 (diff) | |
| download | emacs-f3014ef5b24ac42ec714b48148b7b604b47f7468.tar.gz emacs-f3014ef5b24ac42ec714b48148b7b604b47f7468.zip | |
Support bidi reordering of unibyte strings. Fix crash displaying "All" in mode line of an empty buffer.
src/dispextern.h (struct bidi_string_data): New member `unibyte'.
src/xdisp.c (handle_single_display_spec, next_overlay_string)
(get_overlay_strings_1, reseat_1, reseat_to_string)
(push_display_prop): Set up the `unibyte' member of bidi_it.string
correctly. Don't assume unibyte strings are not bidi-reordered.
(compute_display_string_pos)
(compute_display_string_end): Fix handling the case of C string.
src/bidi.c (bidi_count_bytes, bidi_char_at_pos): Accept an
additional argument UNIBYTE, and support unibyte strings. All
callers changed.
(bidi_fetch_char): Support unibyte strings.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 8d5275f9702..8cb94b3ff22 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,19 @@ | |||
| 1 | 2011-07-01 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * dispextern.h (struct bidi_string_data): New member `unibyte'. | ||
| 4 | |||
| 5 | * xdisp.c (handle_single_display_spec, next_overlay_string) | ||
| 6 | (get_overlay_strings_1, reseat_1, reseat_to_string) | ||
| 7 | (push_display_prop): Set up the `unibyte' member of bidi_it.string | ||
| 8 | correctly. Don't assume unibyte strings are not bidi-reordered. | ||
| 9 | (compute_display_string_pos) | ||
| 10 | (compute_display_string_end): Fix handling the case of C string. | ||
| 11 | |||
| 12 | * bidi.c (bidi_count_bytes, bidi_char_at_pos): Accept an | ||
| 13 | additional argument UNIBYTE, and support unibyte strings. All | ||
| 14 | callers changed. | ||
| 15 | (bidi_fetch_char): Support unibyte strings. | ||
| 16 | |||
| 1 | 2011-06-25 Eli Zaretskii <eliz@gnu.org> | 17 | 2011-06-25 Eli Zaretskii <eliz@gnu.org> |
| 2 | 18 | ||
| 3 | * xdisp.c (set_iterator_to_next, get_visually_first_element): Use | 19 | * xdisp.c (set_iterator_to_next, get_visually_first_element): Use |