Mercurial > emacs
annotate src/ChangeLog.bidi @ 107588:1104f4d707b1
Retrospective commit from 2009-09-12.
Undo changes from 2009-09-11. Set row->end and row->start in
xdisp.c:display_line.
dispnew.c (direct_output_for_insert): Give up if we are
reordering bidirectional text.
dispextern.h (IT_STACK_SIZE): Enlarge to 5.
xdisp.c (display_line): Set row->end and it->start for the next
row to the next character in logical order. If we are reordering
bidi text, push and pop the iterator before and after momentarily
iterating in logical order.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Thu, 31 Dec 2009 16:14:26 -0500 |
parents | 0ff1b8888f6b |
children | 84267baa779b |
rev | line source |
---|---|
107587
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
1 2009-09-12 Eli Zaretskii <eliz@gnu.org> |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
2 |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
3 * dispnew.c (direct_output_for_insert): Give up if we are |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
4 reordering bidirectional text. |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
5 |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
6 * dispextern.h (IT_STACK_SIZE): Enlarge to 5. |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
7 |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
8 * xdisp.c (display_line): Set row->end and it->start for the next |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
9 row to the next character in logical order. If we are reordering |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
10 bidi text, push and pop the iterator before and after momentarily |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
11 iterating in logical order. |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
12 |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
13 2009-09-11 Eli Zaretskii <eliz@gnu.org> |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
14 |
107588
1104f4d707b1
Retrospective commit from 2009-09-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107587
diff
changeset
|
15 Note: The following changes were undone on 2009-09-12. |
1104f4d707b1
Retrospective commit from 2009-09-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107587
diff
changeset
|
16 |
107587
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
17 * xdisp.c (set_iterator_to_next, reseat, reseat_1) |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
18 (reseat_at_next_visible_line_start): Accept additional argument |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
19 force_logical_p; all callers changed. If force_logical_p is |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
20 non-zero, force iteration in buffer's logical order even in bidi |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
21 buffers. |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
22 |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
23 * dispnew.c (direct_output_for_insert): Call set_iterator_to_next |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
24 with additional argument zero. |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
25 |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
26 * dispextern.h (set_iterator_to_next): Now accepts an additional |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
27 argument. |
0ff1b8888f6b
Retrospective commit from 2009-08-12.
Eli Zaretskii <eliz@gnu.org>
parents:
107586
diff
changeset
|
28 |
107586
cbca7f94b057
Retrospective commit from 2009-08-29.
Eli Zaretskii <eliz@gnu.org>
parents:
107585
diff
changeset
|
29 2009-08-29 Eli Zaretskii <eliz@gnu.org> |
cbca7f94b057
Retrospective commit from 2009-08-29.
Eli Zaretskii <eliz@gnu.org>
parents:
107585
diff
changeset
|
30 |
cbca7f94b057
Retrospective commit from 2009-08-29.
Eli Zaretskii <eliz@gnu.org>
parents:
107585
diff
changeset
|
31 * xdisp.c (set_cursor_from_row): Don't assume glyph->charpos |
cbca7f94b057
Retrospective commit from 2009-08-29.
Eli Zaretskii <eliz@gnu.org>
parents:
107585
diff
changeset
|
32 increments linearly. |
cbca7f94b057
Retrospective commit from 2009-08-29.
Eli Zaretskii <eliz@gnu.org>
parents:
107585
diff
changeset
|
33 (try_window_reusing_current_matrix): Don't assume glyph->charpos |
cbca7f94b057
Retrospective commit from 2009-08-29.
Eli Zaretskii <eliz@gnu.org>
parents:
107585
diff
changeset
|
34 increments linearly. |
cbca7f94b057
Retrospective commit from 2009-08-29.
Eli Zaretskii <eliz@gnu.org>
parents:
107585
diff
changeset
|
35 |
cbca7f94b057
Retrospective commit from 2009-08-29.
Eli Zaretskii <eliz@gnu.org>
parents:
107585
diff
changeset
|
36 2009-08-28 Eli Zaretskii <eliz@gnu.org> |
cbca7f94b057
Retrospective commit from 2009-08-29.
Eli Zaretskii <eliz@gnu.org>
parents:
107585
diff
changeset
|
37 |
cbca7f94b057
Retrospective commit from 2009-08-29.
Eli Zaretskii <eliz@gnu.org>
parents:
107585
diff
changeset
|
38 * bidi.c <bidi_overriding_paragraph_direction>: Default to L2R, |
cbca7f94b057
Retrospective commit from 2009-08-29.
Eli Zaretskii <eliz@gnu.org>
parents:
107585
diff
changeset
|
39 for now. |
cbca7f94b057
Retrospective commit from 2009-08-29.
Eli Zaretskii <eliz@gnu.org>
parents:
107585
diff
changeset
|
40 |
107585
35abfc7649e1
Retrospective commit from 2009-08-22.
Eli Zaretskii <eliz@gnu.org>
parents:
107584
diff
changeset
|
41 2009-08-22 Eli Zaretskii <eliz@gnu.org> |
35abfc7649e1
Retrospective commit from 2009-08-22.
Eli Zaretskii <eliz@gnu.org>
parents:
107584
diff
changeset
|
42 |
35abfc7649e1
Retrospective commit from 2009-08-22.
Eli Zaretskii <eliz@gnu.org>
parents:
107584
diff
changeset
|
43 * bidi.c (bidi_initialize): staticpro bidi_char_table. |
35abfc7649e1
Retrospective commit from 2009-08-22.
Eli Zaretskii <eliz@gnu.org>
parents:
107584
diff
changeset
|
44 (bidi_check_type): New function. |
35abfc7649e1
Retrospective commit from 2009-08-22.
Eli Zaretskii <eliz@gnu.org>
parents:
107584
diff
changeset
|
45 (bidi_cache_iterator_state, bidi_remember_char) |
35abfc7649e1
Retrospective commit from 2009-08-22.
Eli Zaretskii <eliz@gnu.org>
parents:
107584
diff
changeset
|
46 (bidi_resolve_explicit_1, bidi_resolve_explicit) |
35abfc7649e1
Retrospective commit from 2009-08-22.
Eli Zaretskii <eliz@gnu.org>
parents:
107584
diff
changeset
|
47 (bidi_resolve_weak, bidi_resolve_neutral) |
35abfc7649e1
Retrospective commit from 2009-08-22.
Eli Zaretskii <eliz@gnu.org>
parents:
107584
diff
changeset
|
48 (bidi_level_of_next_char): Use it to validate the bidi type |
35abfc7649e1
Retrospective commit from 2009-08-22.
Eli Zaretskii <eliz@gnu.org>
parents:
107584
diff
changeset
|
49 assigned to the iterator. |
35abfc7649e1
Retrospective commit from 2009-08-22.
Eli Zaretskii <eliz@gnu.org>
parents:
107584
diff
changeset
|
50 |
107584
e0df0337f248
Retrospective commit from 2009-08-15.
Eli Zaretskii <eliz@gnu.org>
parents:
107583
diff
changeset
|
51 2009-08-15 Eli Zaretskii <eliz@gnu.org> |
e0df0337f248
Retrospective commit from 2009-08-15.
Eli Zaretskii <eliz@gnu.org>
parents:
107583
diff
changeset
|
52 |
e0df0337f248
Retrospective commit from 2009-08-15.
Eli Zaretskii <eliz@gnu.org>
parents:
107583
diff
changeset
|
53 * bidi.c (bidi_initialize): Fix initialization of bidi_type_table. |
e0df0337f248
Retrospective commit from 2009-08-15.
Eli Zaretskii <eliz@gnu.org>
parents:
107583
diff
changeset
|
54 |
e0df0337f248
Retrospective commit from 2009-08-15.
Eli Zaretskii <eliz@gnu.org>
parents:
107583
diff
changeset
|
55 * xdisp.c (set_iterator_to_next): Fix position setting after call |
e0df0337f248
Retrospective commit from 2009-08-15.
Eli Zaretskii <eliz@gnu.org>
parents:
107583
diff
changeset
|
56 to bidi_get_next_char_visually. |
e0df0337f248
Retrospective commit from 2009-08-15.
Eli Zaretskii <eliz@gnu.org>
parents:
107583
diff
changeset
|
57 |
107583 | 58 2005-12-03 Eli Zaretskii <eliz@gnu.org> |
59 | |
60 * bidi.c: Include stdio.h unconditionally. Fix and elaborate | |
61 commentary. Add Copyright blurb. | |
62 | |
63 2004-03-08 Kenichi Handa <handa@m17n.org> | |
64 | |
65 * xdisp.c (reseat_1): Call bidi_init_it with a previous position. | |
66 | |
67 * bidi.c (bidi_init_it): Set bidi_it->ch_len even if POS > 0. | |
68 | |
69 2004-03-04 Kenichi Handa <handa@m17n.org> | |
70 | |
107584
e0df0337f248
Retrospective commit from 2009-08-15.
Eli Zaretskii <eliz@gnu.org>
parents:
107583
diff
changeset
|
71 The following changes are to support for bi-directional text |
e0df0337f248
Retrospective commit from 2009-08-15.
Eli Zaretskii <eliz@gnu.org>
parents:
107583
diff
changeset
|
72 display. |
107583 | 73 |
74 * Makefile.in (obj): Include bidi.o. | |
75 (bidi.o): New target. | |
76 | |
77 * bidi.c: New file. | |
78 | |
79 * buffer.h (struct buffer): New member bidi_display_reordering. | |
80 | |
81 * buffer.c (init_buffer_once): Initialize bidi_display_reordering. | |
82 (syms_of_buffer): Declarations of Lisp variables | |
83 default-bidi-display-reordering and bidi-display-reordering. | |
84 | |
85 * dispextern.h (BIDI_MAXLEVEL): New macro. | |
86 (bidi_type_t, bidi_dir_t): New types. | |
87 (bidi_saved_info, bidi_stack, bidi_it): New structs. | |
88 (struct it): New members bidi_p and bidi_it. | |
89 (bidi_init_it): Extern it. | |
90 (bidi_get_next_char_visually): Extern it. | |
91 | |
92 * dispnew.c (direct_output_forward_char): Give up if we need bidi | |
93 processing or buffer's direction is right-to-left. | |
94 | |
95 * xdisp.c (init_iterator): Initialize it->bidi_p. | |
96 (reseat_1): Cal bidi_init_it and bidi_get_next_char_visually if | |
97 necessary. | |
98 (set_iterator_to_next): Cal bidi_get_next_char_visually if | |
99 necessary. | |
100 | |
101 | |
102 ;; Local Variables: | |
103 ;; coding: utf-8 | |
104 ;; add-log-time-zone-rule: t | |
105 ;; End: | |
106 | |
107 Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc. | |
108 | |
109 This file is part of GNU Emacs. | |
110 | |
111 GNU Emacs is free software: you can redistribute it and/or modify | |
112 it under the terms of the GNU General Public License as published by | |
113 the Free Software Foundation, either version 3 of the License, or | |
114 (at your option) any later version. | |
115 | |
116 GNU Emacs is distributed in the hope that it will be useful, | |
117 but WITHOUT ANY WARRANTY; without even the implied warranty of | |
118 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
119 GNU General Public License for more details. | |
120 | |
121 You should have received a copy of the GNU General Public License | |
122 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |