Retrospective commit from 2009-08-29.
[bpt/emacs.git] / src / ChangeLog.bidi
CommitLineData
a88bbf05
EZ
12009-08-29 Eli Zaretskii <eliz@gnu.org>
2
3 * xdisp.c (set_cursor_from_row): Don't assume glyph->charpos
4 increments linearly.
5 (try_window_reusing_current_matrix): Don't assume glyph->charpos
6 increments linearly.
7
82009-08-28 Eli Zaretskii <eliz@gnu.org>
9
10 * bidi.c <bidi_overriding_paragraph_direction>: Default to L2R,
11 for now.
12
2d6e4628
EZ
132009-08-22 Eli Zaretskii <eliz@gnu.org>
14
15 * bidi.c (bidi_initialize): staticpro bidi_char_table.
16 (bidi_check_type): New function.
17 (bidi_cache_iterator_state, bidi_remember_char)
18 (bidi_resolve_explicit_1, bidi_resolve_explicit)
19 (bidi_resolve_weak, bidi_resolve_neutral)
20 (bidi_level_of_next_char): Use it to validate the bidi type
21 assigned to the iterator.
22
f44e260c
EZ
232009-08-15 Eli Zaretskii <eliz@gnu.org>
24
25 * bidi.c (bidi_initialize): Fix initialization of bidi_type_table.
26
27 * xdisp.c (set_iterator_to_next): Fix position setting after call
28 to bidi_get_next_char_visually.
29
b7b65b15
EZ
302005-12-03 Eli Zaretskii <eliz@gnu.org>
31
32 * bidi.c: Include stdio.h unconditionally. Fix and elaborate
33 commentary. Add Copyright blurb.
34
352004-03-08 Kenichi Handa <handa@m17n.org>
36
37 * xdisp.c (reseat_1): Call bidi_init_it with a previous position.
38
39 * bidi.c (bidi_init_it): Set bidi_it->ch_len even if POS > 0.
40
412004-03-04 Kenichi Handa <handa@m17n.org>
42
f44e260c
EZ
43 The following changes are to support for bi-directional text
44 display.
b7b65b15
EZ
45
46 * Makefile.in (obj): Include bidi.o.
47 (bidi.o): New target.
48
49 * bidi.c: New file.
50
51 * buffer.h (struct buffer): New member bidi_display_reordering.
52
53 * buffer.c (init_buffer_once): Initialize bidi_display_reordering.
54 (syms_of_buffer): Declarations of Lisp variables
55 default-bidi-display-reordering and bidi-display-reordering.
56
57 * dispextern.h (BIDI_MAXLEVEL): New macro.
58 (bidi_type_t, bidi_dir_t): New types.
59 (bidi_saved_info, bidi_stack, bidi_it): New structs.
60 (struct it): New members bidi_p and bidi_it.
61 (bidi_init_it): Extern it.
62 (bidi_get_next_char_visually): Extern it.
63
64 * dispnew.c (direct_output_forward_char): Give up if we need bidi
65 processing or buffer's direction is right-to-left.
66
67 * xdisp.c (init_iterator): Initialize it->bidi_p.
68 (reseat_1): Cal bidi_init_it and bidi_get_next_char_visually if
69 necessary.
70 (set_iterator_to_next): Cal bidi_get_next_char_visually if
71 necessary.
72
73
74;; Local Variables:
75;; coding: utf-8
76;; add-log-time-zone-rule: t
77;; End:
78
79 Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc.
80
81 This file is part of GNU Emacs.
82
83 GNU Emacs is free software: you can redistribute it and/or modify
84 it under the terms of the GNU General Public License as published by
85 the Free Software Foundation, either version 3 of the License, or
86 (at your option) any later version.
87
88 GNU Emacs is distributed in the hope that it will be useful,
89 but WITHOUT ANY WARRANTY; without even the implied warranty of
90 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
91 GNU General Public License for more details.
92
93 You should have received a copy of the GNU General Public License
94 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.