diff options
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 51 |
1 files changed, 49 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 540a85a6b1d..eb71ddf9377 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,50 @@ | |||
| 1 | 2010-05-19 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | Redesign and reimplement bidi-aware edge positions of glyph rows. | ||
| 4 | |||
| 5 | * dispextern.h (struct glyph_row): New members minpos and maxpos. | ||
| 6 | (MATRIX_ROW_START_CHARPOS, MATRIX_ROW_START_BYTEPOS) | ||
| 7 | (MATRIX_ROW_END_CHARPOS, MATRIX_ROW_END_BYTEPOS): Reference minpos | ||
| 8 | and maxpos members instead of start.pos and end.pos, respectively. | ||
| 9 | |||
| 10 | * xdisp.c (display_line): Compare IT_CHARPOS with the position in | ||
| 11 | row->start.pos, rather than with MATRIX_ROW_START_CHARPOS. | ||
| 12 | (cursor_row_p): Use row->end.pos rather than MATRIX_ROW_END_CHARPOS. | ||
| 13 | (try_window_reusing_current_matrix, try_window_id): Use | ||
| 14 | ROW->minpos rather than ROW->start.pos. | ||
| 15 | (init_from_display_pos, init_iterator): Use EMACS_INT for | ||
| 16 | character and byte positions. | ||
| 17 | (find_row_edges): Renamed from find_row_end. Accept additional | ||
| 18 | arguments for minimum and maximum buffer positions seen by | ||
| 19 | display_line for this row. Don't use iterator to find the | ||
| 20 | position following the maximum one; instead, increment the | ||
| 21 | position found by display_line directly. Fix logic; eol_pos | ||
| 22 | should be tested before the rest. Handle the case of characters | ||
| 23 | delivered from display vector (bug#6036). Fix tests related to | ||
| 24 | it->method. Handle the truncated_on_right_p rows. | ||
| 25 | (RECORD_MAX_MIN_POS): New macro. | ||
| 26 | (display_line): Use it to record the minimum and maximum buffer | ||
| 27 | positions for glyphs in the row being assembled. Record the | ||
| 28 | position of the newline that terminates the line. If word wrap is | ||
| 29 | in effect, restore minimum and maximum positions seen up to the | ||
| 30 | wrap point, when iterator returns to it. | ||
| 31 | (try_window_reusing_current_matrix): Give up if in bidi-reordered | ||
| 32 | row and cursor not already at point. Restore original pre-bidi | ||
| 33 | code for unidirectional buffers. | ||
| 34 | |||
| 35 | * dispnew.c (increment_row_positions, check_matrix_invariants): | ||
| 36 | Increment and check row->start.pos and row->end.pos, in addition | ||
| 37 | to MATRIX_ROW_START_CHARPOS and MATRIX_ROW_END_CHARPOS. | ||
| 38 | |||
| 39 | * .gdbinit (prowlims): Display row->minpos and row->maxpos. | ||
| 40 | Display truncated_on_left_p and truncated_on_right_p flags. | ||
| 41 | Formatting fixes. | ||
| 42 | (pmtxrows): Display the ordinal number of each row. Don't display | ||
| 43 | rows beyond the last one. | ||
| 44 | |||
| 45 | * bidi.c (bidi_cache_iterator_state): Don't zero out new_paragraph: | ||
| 46 | it is not copied by bidi_copy_it. | ||
| 47 | |||
| 1 | 2010-05-22 Eli Zaretskii <eliz@gnu.org> | 48 | 2010-05-22 Eli Zaretskii <eliz@gnu.org> |
| 2 | 49 | ||
| 3 | * w32.c (sys_write): Break writes into chunks smaller than 32MB. | 50 | * w32.c (sys_write): Break writes into chunks smaller than 32MB. |
| @@ -51,8 +98,6 @@ | |||
| 51 | Move static/dynamic dependency stuff to deps.mk/autodeps.mk. | 98 | Move static/dynamic dependency stuff to deps.mk/autodeps.mk. |
| 52 | * deps.mk, autodeps.mk: New files, extracted from Makefile.in. | 99 | * deps.mk, autodeps.mk: New files, extracted from Makefile.in. |
| 53 | 100 | ||
| 54 | 2010-05-19 Eli Zaretskii <eliz@gnu.org> | ||
| 55 | |||
| 56 | * bidi.c (bidi_cache_shrink, bidi_cache_iterator_state): Fix | 101 | * bidi.c (bidi_cache_shrink, bidi_cache_iterator_state): Fix |
| 57 | reallocation of the cache. (Bug#6210) | 102 | reallocation of the cache. (Bug#6210) |
| 58 | 103 | ||
| @@ -175,6 +220,8 @@ | |||
| 175 | * xdisp.c (Fcurrent_bidi_paragraph_direction): New function. | 220 | * xdisp.c (Fcurrent_bidi_paragraph_direction): New function. |
| 176 | (syms_of_xdisp): Defsubr it. | 221 | (syms_of_xdisp): Defsubr it. |
| 177 | 222 | ||
| 223 | * cmds.c (Fforward_char, Fbackward_char): Doc fix. | ||
| 224 | |||
| 178 | * Makefile.in: Fix MSDOS-related comments. | 225 | * Makefile.in: Fix MSDOS-related comments. |
| 179 | 226 | ||
| 180 | 2010-05-15 Glenn Morris <rgm@gnu.org> | 227 | 2010-05-15 Glenn Morris <rgm@gnu.org> |