comparison src/ChangeLog @ 108760:f528b6459bdd

merge trunk
author Kenichi Handa <handa@etlken>
date Tue, 25 May 2010 09:35:50 +0900
parents 0bb727f1d547 728449765ab0
children 271da7ed4e2e
comparison
equal deleted inserted replaced
108759:0bb727f1d547 108760:f528b6459bdd
19 correct rule of the composition is found. 19 correct rule of the composition is found.
20 (composition_update_it): Set CMP_IT->charpos. Assume the CHARPOS 20 (composition_update_it): Set CMP_IT->charpos. Assume the CHARPOS
21 is at the last character of the current grapheme cluster when 21 is at the last character of the current grapheme cluster when
22 CMP_IT->reversed_p is nonzero. 22 CMP_IT->reversed_p is nonzero.
23 23
24 2010-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
25
26 * process.c (Fmake_network_process): Set :host to nil if it's not used.
27 Suggested by Masatake YAMATO <yamato@redhat.com>.
28
29 2010-05-23 Eli Zaretskii <eliz@gnu.org>
30
31 * dispextern.h (init_iterator): Sync prototype with changed
32 definition.
33
34 2010-05-19 Eli Zaretskii <eliz@gnu.org>
35
36 Redesign and reimplement bidi-aware edge positions of glyph rows.
37
38 * dispextern.h (struct glyph_row): New members minpos and maxpos.
39 (MATRIX_ROW_START_CHARPOS, MATRIX_ROW_START_BYTEPOS)
40 (MATRIX_ROW_END_CHARPOS, MATRIX_ROW_END_BYTEPOS): Reference minpos
41 and maxpos members instead of start.pos and end.pos, respectively.
42
43 * xdisp.c (display_line): Compare IT_CHARPOS with the position in
44 row->start.pos, rather than with MATRIX_ROW_START_CHARPOS.
45 (cursor_row_p): Use row->end.pos rather than MATRIX_ROW_END_CHARPOS.
46 (try_window_reusing_current_matrix, try_window_id):
47 Use ROW->minpos rather than ROW->start.pos.
48 (init_from_display_pos, init_iterator): Use EMACS_INT for
49 character and byte positions.
50 (find_row_edges): Rename from find_row_end. Accept additional
51 arguments for minimum and maximum buffer positions seen by
52 display_line for this row. Don't use iterator to find the
53 position following the maximum one; instead, increment the
54 position found by display_line directly. Fix logic; eol_pos
55 should be tested before the rest. Handle the case of characters
56 delivered from display vector (bug#6036). Fix tests related to
57 it->method. Handle the truncated_on_right_p rows.
58 (RECORD_MAX_MIN_POS): New macro.
59 (display_line): Use it to record the minimum and maximum buffer
60 positions for glyphs in the row being assembled. Record the
61 position of the newline that terminates the line. If word wrap is
62 in effect, restore minimum and maximum positions seen up to the
63 wrap point, when iterator returns to it.
64 (try_window_reusing_current_matrix): Give up if in bidi-reordered
65 row and cursor not already at point. Restore original pre-bidi
66 code for unidirectional buffers.
67
68 * dispnew.c (increment_row_positions, check_matrix_invariants):
69 Increment and check row->start.pos and row->end.pos, in addition
70 to MATRIX_ROW_START_CHARPOS and MATRIX_ROW_END_CHARPOS.
71
72 * .gdbinit (prowlims): Display row->minpos and row->maxpos.
73 Display truncated_on_left_p and truncated_on_right_p flags.
74 Formatting fixes.
75 (pmtxrows): Display the ordinal number of each row. Don't display
76 rows beyond the last one.
77
78 * bidi.c (bidi_cache_iterator_state): Don't zero out new_paragraph:
79 it is not copied by bidi_copy_it.
80
81 2010-05-22 Eli Zaretskii <eliz@gnu.org>
82
83 * w32.c (sys_write): Break writes into chunks smaller than 32MB.
84 (Bug#6237)
85
86 2010-05-22 Chong Yidong <cyd@stupidchicken.com>
87
88 * image.c (Fimage_flush): Rename from image-refresh.
89
90 2010-05-21 Chong Yidong <cyd@stupidchicken.com>
91
92 * xdisp.c (redisplay_internal): Clear caches even if redisplaying
93 just one window.
94
95 * image.c (Vimage_cache_eviction_delay): Decrease to 300.
96 (clear_image_cache): If the number of cached images is unusually
97 large, decrease the cache eviction delay (Bug#6230).
98
99 2010-05-21 Glenn Morris <rgm@gnu.org>
100
101 * Makefile.in (${ns_appdir}, ${ns_appbindir}Emacs, ns-app):
102 Move these rules to ns.mk.
103 * ns.mk: New file.
104
105 * Makefile.in (../src/$(OLDXMENU), $(OLDXMENU)): Always define rules.
106
107 * Makefile.in (CANNOT_DUMP): New, set by configure.
108 (emacs${EXEEXT}, bootstrap-emacs${EXEEXT}): Use $CANNOT_DUMP.
109
110 2010-05-20 Juri Linkov <juri@jurta.org>
111
112 * fileio.c (Fdelete_file): Change interative spec to use
113 `read-file-name' like in `find-file-read-args' where the default
114 value is `default-directory' instead of `buffer-file-name'.
115 http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00533.html
116
117 2010-05-20 Kevin Ryde <user42@zip.com.au>
118
119 * keyboard.c (Vlast_command, Vkeyboard_translate_table)
120 (Voverriding_terminal_local_map, Vsystem_key_alist)
121 (Vlocal_function_key_map): Fix manual link in docstring (Bug#6224).
122
123 2010-05-20 Glenn Morris <rgm@gnu.org>
124
125 * Makefile.in (DEPDIR): New constant.
126 (DEPFLAGS): Set with configure, not cpp.
127 (MKDEPDIR): New, set by configure.
128 (.c.o, .m.o, ecrt0.o): Use $MKDEPDIR.
129 (clean): Use $DEPDIR.
130 (deps_frag): Include from configure.
131 Move static/dynamic dependency stuff to deps.mk/autodeps.mk.
132 * deps.mk, autodeps.mk: New files, extracted from Makefile.in.
133
134 * bidi.c (bidi_cache_shrink, bidi_cache_iterator_state): Fix
135 reallocation of the cache. (Bug#6210)
136
137 2010-05-19 Glenn Morris <rgm@gnu.org>
138
139 * s/msdos.h (ORDINARY_LINK): Move to sed2v2.inp.
140
141 * Makefile.in (LD, YMF_PASS_LDFLAGS): Set with configure, not cpp.
142 (GNULIB_VAR): Remove.
143 (LIBES): Use LIB_GCC instead of GNULIB_VAR.
144
145 * m/ibms390x.h (LINKER):
146 * m/macppc.h (LINKER) [GNU_LINUX]:
147 * s/aix4-2.h (ORDINARY_LINK):
148 * s/cygwin.h (LINKER):
149 * s/darwin.h (ORDINARY_LINK):
150 * s/gnu.h (ORDINARY_LINK):
151 * s/netbsd.h (LINKER):
152 * s/usg5-4.h (ORDINARY_LINK):
153 Move to configure.
154
155 * s/aix4-2.h (LINKER): Remove; this file sets ORDINARY_LINK.
156
24 2010-05-18 Chong Yidong <cyd@stupidchicken.com> 157 2010-05-18 Chong Yidong <cyd@stupidchicken.com>
25 158
26 * character.c (Fstring, Funibyte_string): Use SAFE_ALLOCA to 159 * character.c (Fstring, Funibyte_string): Use SAFE_ALLOCA to
27 prevent stack overflow if number of arguments is too large 160 prevent stack overflow if number of arguments is too large
28 (Bug#6214). 161 (Bug#6214).
117 (bidi_paragraph_init): Remove redundant assertion that we are at 250 (bidi_paragraph_init): Remove redundant assertion that we are at
118 the beginning of a line after call to bidi_find_paragraph_start. 251 the beginning of a line after call to bidi_find_paragraph_start.
119 252
120 * xdisp.c (Fcurrent_bidi_paragraph_direction): New function. 253 * xdisp.c (Fcurrent_bidi_paragraph_direction): New function.
121 (syms_of_xdisp): Defsubr it. 254 (syms_of_xdisp): Defsubr it.
255
256 * cmds.c (Fforward_char, Fbackward_char): Doc fix.
122 257
123 * Makefile.in: Fix MSDOS-related comments. 258 * Makefile.in: Fix MSDOS-related comments.
124 259
125 2010-05-15 Glenn Morris <rgm@gnu.org> 260 2010-05-15 Glenn Morris <rgm@gnu.org>
126 261