Commit | Line | Data |
---|---|---|
b7b65b15 EZ |
1 | 2005-12-03 Eli Zaretskii <eliz@gnu.org> |
2 | ||
3 | * bidi.c: Include stdio.h unconditionally. Fix and elaborate | |
4 | commentary. Add Copyright blurb. | |
5 | ||
6 | 2004-03-08 Kenichi Handa <handa@m17n.org> | |
7 | ||
8 | * xdisp.c (reseat_1): Call bidi_init_it with a previous position. | |
9 | ||
10 | * bidi.c (bidi_init_it): Set bidi_it->ch_len even if POS > 0. | |
11 | ||
12 | 2004-03-04 Kenichi Handa <handa@m17n.org> | |
13 | ||
14 | The following changes are to support bidirectional text display. | |
15 | ||
16 | * Makefile.in (obj): Include bidi.o. | |
17 | (bidi.o): New target. | |
18 | ||
19 | * bidi.c: New file. | |
20 | ||
21 | * buffer.h (struct buffer): New member bidi_display_reordering. | |
22 | ||
23 | * buffer.c (init_buffer_once): Initialize bidi_display_reordering. | |
24 | (syms_of_buffer): Declarations of Lisp variables | |
25 | default-bidi-display-reordering and bidi-display-reordering. | |
26 | ||
27 | * dispextern.h (BIDI_MAXLEVEL): New macro. | |
28 | (bidi_type_t, bidi_dir_t): New types. | |
29 | (bidi_saved_info, bidi_stack, bidi_it): New structs. | |
30 | (struct it): New members bidi_p and bidi_it. | |
31 | (bidi_init_it): Extern it. | |
32 | (bidi_get_next_char_visually): Extern it. | |
33 | ||
34 | * dispnew.c (direct_output_forward_char): Give up if we need bidi | |
35 | processing or buffer's direction is right-to-left. | |
36 | ||
37 | * xdisp.c (init_iterator): Initialize it->bidi_p. | |
38 | (reseat_1): Cal bidi_init_it and bidi_get_next_char_visually if | |
39 | necessary. | |
40 | (set_iterator_to_next): Cal bidi_get_next_char_visually if | |
41 | necessary. | |
42 | ||
43 | ||
44 | ;; Local Variables: | |
45 | ;; coding: utf-8 | |
46 | ;; add-log-time-zone-rule: t | |
47 | ;; End: | |
48 | ||
49 | Copyright (C) 2007, 2008, 2009 Free Software Foundation, Inc. | |
50 | ||
51 | This file is part of GNU Emacs. | |
52 | ||
53 | GNU Emacs is free software: you can redistribute it and/or modify | |
54 | it under the terms of the GNU General Public License as published by | |
55 | the Free Software Foundation, either version 3 of the License, or | |
56 | (at your option) any later version. | |
57 | ||
58 | GNU Emacs is distributed in the hope that it will be useful, | |
59 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
60 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
61 | GNU General Public License for more details. | |
62 | ||
63 | You should have received a copy of the GNU General Public License | |
64 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. |