Commit | Line | Data |
---|---|---|
1f984e12 J |
1 | 2010-07-01 Jan Djärv <jan.h.d@swipnet.se> |
2 | ||
581a8100 J |
3 | * nsterm.m (x_set_window_size, initFrameFromEmacs): Renamed |
4 | FRAME_NS_TOOLBAR_HEIGHT to FRAME_TOOLBAR_HEIGHT. | |
5 | ||
6 | * nsterm.h (FRAME_NS_TOOLBAR_HEIGHT): Rename to FRAME_TOOLBAR_HEIGH | |
7 | ||
8 | * nsmenu.m (update_frame_tool_bar, free_frame_tool_bar): Update | |
9 | FRAME_TOOLBAR_HEIGHT. | |
10 | ||
1f984e12 J |
11 | * nsmenu.m (free_frame_tool_bar, update_frame_tool_bar): Add |
12 | BLOCK/UNBLOCK_INPUT so asserts don't trigger. | |
13 | ||
c1ef4455 CY |
14 | 2010-06-30 Chong Yidong <cyd@stupidchicken.com> |
15 | ||
16 | * frame.c (get_future_frame_param, Fmake_terminal_frame): Don't | |
17 | check default-frame-alist. | |
18 | ||
ce8f5a9a AS |
19 | 2010-06-30 Andreas Schwab <schwab@linux-m68k.org> |
20 | ||
21 | * process.c (create_process): Avoid using invalid file descriptors. | |
22 | ||
23 | * callproc.c (child_setup): Avoid closing a file descriptor twice. | |
24 | ||
bf935339 J |
25 | 2010-06-30 Jan Djärv <jan.h.d@swipnet.se> |
26 | ||
27 | * xsettings.c (Ffont_get_system_normal_font, Ffont_get_system_font): | |
28 | Improve documentation. Return font regardless of use_system_font. | |
29 | (syms_of_xsettings): Improve documentation for font-use-system-font. | |
30 | ||
769e9d47 KH |
31 | 2009-06-17 Naohiro Aota <naota@elisp.net> (tiny change) |
32 | ||
33 | * xftfont.c (xftfont_open): Check font width one by one also when | |
34 | spacing is dual. | |
35 | ||
36 | * ftfont.c (ftfont_open): Ditto. | |
37 | ||
6259c2ec GM |
38 | 2010-06-30 Glenn Morris <rgm@gnu.org> |
39 | ||
a46007e9 GM |
40 | * s/sol2-6.h (INHIBIT_X11R6_XIM): Remove, handled by configure now. |
41 | ||
6259c2ec GM |
42 | * Makefile.in (CANNOT_DUMP): Update for configure name change. |
43 | ||
44 | * s/freebsd.h (USE_MMAP_FOR_BUFFERS): | |
45 | * s/irix6-5.h (USE_MMAP_FOR_BUFFERS): | |
46 | * s/darwin.h (SYSTEM_MALLOC): | |
47 | * s/sol2-10.h (SYSTEM_MALLOC): Move to configure. | |
48 | ||
5d1d3d04 J |
49 | 2010-06-29 Jan Djärv <jan.h.d@swipnet.se> |
50 | ||
51 | * nsfns.m: extern declare Vmenu_bar_mode, Vtool_bar_mode. | |
52 | (ns_get_screen): Don't assign integer to f. | |
53 | (Fx_display_color_cells): Declarations before statements. | |
54 | ||
e547b051 J |
55 | 2010-06-28 Jan Djärv <jan.h.d@swipnet.se> |
56 | ||
5fc8e5bc J |
57 | * xfns.c (x_default_font_parameter): Remove got_from_system |
58 | (Bug#6526). | |
59 | ||
e547b051 J |
60 | * xterm.h (gtk_widget_get_window, gtk_widget_get_mapped) |
61 | (gtk_adjustment_get_page_size, gtk_adjustment_get_upper): New | |
62 | defines based on what configure finds. | |
63 | ||
64 | * xterm.c (XTflash): Use gtk_widget_get_window. | |
65 | (xg_scroll_callback): Use gtk_adjustment_get_upper and | |
66 | gtk_adjustment_get_page_size. | |
67 | (handle_one_xevent): Use gtk_widget_get_mapped. | |
68 | (x_term_init): Remove HAVE_GTK_MULTIDISPLAY and associated error | |
69 | messages. | |
70 | ||
71 | * xmenu.c (create_and_show_popup_menu): Call gtk_widget_get_mapped. | |
72 | ||
73 | * gtkutil.h: Replace HAVE_GTK_FILE_BOTH with | |
74 | HAVE_GTK_FILE_SELECTION_NEW. | |
75 | ||
76 | * gtkutil.c (xg_display_open, xg_display_close): Remove | |
77 | HAVE_GTK_MULTIDISPLAY, it is always defined. | |
78 | (xg_display_open): Return type is void. | |
79 | (gtk_widget_set_has_window) | |
80 | (gtk_dialog_get_action_area, gtk_dialog_get_content_area) | |
81 | (gtk_widget_get_sensitive, gtk_adjustment_set_page_size) | |
82 | (gtk_adjustment_set_page_increment) | |
83 | (gtk_adjustment_get_step_increment): #define these if not found | |
84 | by configure. | |
85 | (remove_submenu): New define based on Gtk+ version. | |
86 | (xg_set_cursor, xg_frame_resized, xg_event_is_for_scrollbar): Use | |
87 | gtk_widget_get_window. | |
88 | (xg_frame_resized, xg_update_frame_menubar): Use gtk_widget_get_mapped. | |
89 | (xg_create_frame_widgets): Use gtk_widget_set_has_window. | |
90 | (create_dialog): Use gtk_dialog_get_action_area and | |
91 | gtk_dialog_get_content_area. | |
92 | (xg_uses_old_file_dialog, xg_get_file_name): Remove HAVE_GTK_FILE_BOTH | |
93 | and HAVE_GTK_FILE_CHOOSER_DIALOG_NEW. File chooser is always | |
94 | available, so checking for HAVE_GTK_FILE_SELECTION_NEW is enough. | |
95 | (xg_update_menubar, xg_update_submenu, xg_show_toolbar_item): Use | |
96 | g_object_ref and g_object_unref. | |
97 | (xg_update_menu_item, xg_tool_bar_menu_proxy): Use | |
98 | gtk_widget_get_sensitive. | |
99 | (xg_update_submenu): Use remove_submenu. | |
100 | (xg_update_scrollbar_pos): Don't use GtkFixedChild, use child | |
101 | properties instead to get old x and y position. | |
102 | (xg_set_toolkit_scroll_bar_thumb): Use gtk_adjustment_get_page_size, | |
103 | gtk_adjustment_get_step_increment, gtk_adjustment_set_page_size, | |
2b7e356a | 104 | gtk_adjustment_set_step_increment and gtk_adjustment_set_page_increment. |
e547b051 J |
105 | (xg_get_tool_bar_widgets): New function. |
106 | (xg_tool_bar_menu_proxy, xg_show_toolbar_item) | |
107 | (update_frame_tool_bar): Call xg_get_tool_bar_widgets. | |
108 | (toolbar_set_orientation): New #define based on if configure | |
109 | finds gtk_orientable_set_orientation. | |
110 | (xg_create_tool_bar): Call toolbar_set_orientation. | |
111 | (xg_make_tool_item, xg_show_toolbar_item): Call gtk_box_pack_start | |
112 | instead of gtk_box_pack_start_defaults. | |
113 | ||
b9229673 CY |
114 | 2010-06-28 Chong Yidong <cyd@stupidchicken.com> |
115 | ||
116 | * cmds.c (Fdelete_backward_char): Move into Lisp. | |
117 | ||
bbc803b0 DN |
118 | 2010-06-27 Dan Nicolaescu <dann@ics.uci.edu> |
119 | ||
120 | * s/freebsd.h (BSD4_2): Remove redundant definition. | |
121 | bsd-common.h defines it already. | |
122 | ||
6431f2e6 CY |
123 | 2010-06-27 Chong Yidong <cyd@stupidchicken.com> |
124 | ||
125 | * xfns.c (Fx_create_frame): Don't consult X resouces when setting | |
126 | menu-bar-lines and tool-bar-lines. Use menu-bar-mode and | |
127 | tool-bar-mode, which are now set using these X resources at | |
128 | startup, to determine the defaults (Bug#2249). | |
129 | ||
130 | * w32fns.c (Fx_create_frame): | |
131 | * nsfns.m (Fx_create_frame): Likewise. | |
132 | ||
133 | * frame.c (Vmenu_bar_mode, Vtool_bar_mode): New vars. | |
134 | ||
8c079ebb JB |
135 | 2010-06-24 Juanma Barranquero <lekktu@gmail.com> |
136 | ||
137 | * gtkutil.c (xg_update_scrollbar_pos): | |
138 | Avoid C99 mid-block variable declaration. | |
139 | ||
e9b7ab96 JD |
140 | 2010-06-22 Jan Djärv <jan.h.d@swipnet.se> |
141 | ||
bc869eca JD |
142 | * xterm.c (x_scroll_bar_create): Remove call to xg_show_scroll_bar. |
143 | ||
2b7e356a | 144 | * gtkutil.h (xg_show_scroll_bar): Remove. |
bc869eca JD |
145 | |
146 | * gtkutil.c (xg_update_scrollbar_pos): Show/hide scroll bar as needed | |
147 | if height is less than scroll bar min size. | |
148 | (xg_show_scroll_bar): Remove, show moved to xg_update_scrollbar_pos. | |
149 | ||
e9b7ab96 JD |
150 | * xfns.c (x_default_font_parameter): Try to open font from system |
151 | before using it (bug#6478). Rename got_from_gconf to got_from_system. | |
152 | ||
32a679fd JD |
153 | 2010-06-22 Keith Packard <keithp@keithp.com> (tiny change) |
154 | ||
155 | * font.c (font_parse_fcname): Allow . for sizes like 7.5 (bug#6437). | |
156 | ||
70c4cfbb EZ |
157 | 2010-06-20 Eli Zaretskii <eliz@gnu.org> |
158 | ||
159 | * xdisp.c (try_scrolling): When scroll-conservatively is set to | |
160 | most-positive-fixnum, be extra accurate when scrolling window | |
161 | start, to avoid missing the cursor line. | |
162 | ||
ad5a12b5 EZ |
163 | 2010-06-19 Eli Zaretskii <eliz@gnu.org> |
164 | ||
165 | * xdisp.c (try_scrolling): Compute the limit for searching point | |
166 | in forward scroll from scroll_max, instead of an arbitrary limit | |
167 | of 10 screen lines. See | |
168 | http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00766.html | |
169 | and | |
170 | http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00773.html | |
171 | for details. | |
172 | ||
2a64315a | 173 | 2010-06-16 Glenn Morris <rgm@gnu.org> |
6fda6a0c GM |
174 | |
175 | * editfns.c (Fbyte_to_string): Pacify compiler. | |
176 | ||
288cf4e9 SM |
177 | 2010-06-16 Stefan Monnier <monnier@iro.umontreal.ca> |
178 | ||
179 | * lread.c (read1): Phase out old-style backquotes a bit more. | |
180 | ||
6e6e5760 EZ |
181 | 2010-06-12 Eli Zaretskii <eliz@gnu.org> |
182 | ||
cbc4fd20 EZ |
183 | * makefile.w32-in ($(BLD)/bidi.$(O)): Depend on biditype.h and |
184 | bidimirror.h. | |
185 | ||
186 | * deps.mk (bidi.o): Depend on biditype.h and bidimirror.h. | |
187 | ||
317fbf33 EZ |
188 | * bidi.c (bidi_initialize): Remove explicit initialization of |
189 | bidi_type_table; include biditype.h instead. Don't support | |
288cf4e9 | 190 | entries whose second codepoint is zero. Initialize bidi_mirror_table. |
cbc4fd20 | 191 | (bidi_mirror_char): Use bidi_mirror_table. |
317fbf33 EZ |
192 | |
193 | * biditype.h: New file. | |
194 | ||
cbc4fd20 EZ |
195 | * bidimirror.h: New file. |
196 | ||
6e6e5760 EZ |
197 | * window.c (syms_of_window): Doc fix (bug#6409). |
198 | ||
4176cba2 RF |
199 | 2010-06-12 Romain Francoise <romain@orebokech.com> |
200 | ||
201 | * Makefile.in (lisp, shortlisp): Use new location of vc-hooks and | |
202 | ediff-hook. | |
203 | ||
cb4bfcb5 GM |
204 | 2010-06-10 Glenn Morris <rgm@gnu.org> |
205 | ||
64c60c2f GM |
206 | * editfns.c (Fbyte_to_string): Pacify compiler. |
207 | ||
cb4bfcb5 GM |
208 | * m/ibms390x.h: Rather than duplicating ibms390.h, just include it. |
209 | ||
e454a4a3 SM |
210 | 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca> |
211 | ||
212 | * dbusbind.c (xd_append_arg): Don't "make-unibyte" the string. | |
213 | Check `object's type before accessing its guts. | |
214 | ||
c1b1acc2 DN |
215 | 2010-06-09 Dan Nicolaescu <dann@ics.uci.edu> |
216 | ||
217 | * s/usg5-4.h: Fix previous change. | |
218 | Suggested by Lawrence Mitchell <wence@gmx.li> | |
219 | ||
657d4c0b AS |
220 | 2010-06-08 Andreas Schwab <schwab@linux-m68k.org> |
221 | ||
222 | * minibuf.c (Fall_completions): Add more checks. | |
223 | ||
9b27fd9f JB |
224 | 2010-06-08 Juanma Barranquero <lekktu@gmail.com> |
225 | ||
226 | * minibuf.c (Fall_completions): Check COLLECTION's size (bug#6378). | |
227 | ||
a99ebb40 DN |
228 | 2010-06-08 Dan Nicolaescu <dann@ics.uci.edu> |
229 | ||
d7c5d87d DN |
230 | * lread.c (X_OK): Remove, unused. |
231 | ||
0263a941 DN |
232 | * dispnew.c: Remove obsolete comment. |
233 | ||
a99ebb40 DN |
234 | Remove INCLUDED_FCNTL. |
235 | * xterm.c (INCLUDED_FCNTL): | |
236 | * callproc.c (INCLUDED_FCNTL): | |
237 | * alloc.c (INCLUDED_FCNTL): | |
238 | * systty.h (INCLUDED_FCNTL): Remove all uses, not needed anymore. | |
239 | (emacs_get_tty, emacs_set_tty): Declare unconditionally. | |
240 | ||
13b5221f MR |
241 | 2010-06-07 Martin Rudalics <rudalics@gmx.at> |
242 | ||
243 | * window.c (Fselect_window): Move `record_buffer' up to the | |
244 | beginning of this function, so the buffer gets recorded | |
245 | even if the selected window does not change. | |
246 | http://lists.gnu.org/archive/html/emacs-devel/2010-06/msg00137.html | |
247 | ||
5220357f JB |
248 | 2010-06-07 Juanma Barranquero <lekktu@gmail.com> |
249 | ||
250 | * cmds.c (Fforward_char, Fbackward_char): Fix typos in docstrings. | |
251 | (Fforward_line, Fbeginning_of_line): Reflow docstrings. | |
252 | ||
3085237c DN |
253 | 2010-06-06 Dan Nicolaescu <dann@ics.uci.edu> |
254 | ||
255 | Remove BSTRING related code, all platforms define it. | |
256 | * s/usg5-4.h (BSTRING): Remove definition. | |
257 | * s/template.h (BSTRING): | |
258 | * s/msdos.h (BSTRING): | |
259 | * s/ms-w32.h (BSTRING): | |
260 | * s/hpux10-20.h (BSTRING): | |
261 | * s/gnu-linux.h (BSTRING): | |
262 | * s/darwin.h (BSTRING): | |
263 | * s/cygwin.h (BSTRING): | |
264 | * s/bsd-common.h (BSTRING): | |
265 | * s/aix4-2.h (BSTRING): Likewise. | |
266 | * sysdep.c: Remove code depending on BSTRING not being defined. | |
267 | ||
409f2919 JB |
268 | 2010-06-05 Juanma Barranquero <lekktu@gmail.com> |
269 | ||
270 | Remove obsolete macro BASE_LEADING_CODE_P. | |
271 | * character.h (BASE_LEADING_CODE_P): Remove. | |
272 | * regex.c [!emacs] (BASE_LEADING_CODE_P): Remove. | |
273 | * buffer.c (Fset_buffer_multibyte): | |
274 | * indent.c (scan_for_column, compute_motion): | |
275 | * insdel.c (count_combining_before, count_combining_after): | |
276 | Use LEADING_CODE_P instead of BASE_LEADING_CODE_P. | |
277 | ||
087fc47a JB |
278 | 2010-06-04 Juanma Barranquero <lekktu@gmail.com> |
279 | ||
280 | Turn `directory-sep-char' into a noop. | |
281 | ||
282 | * lisp.h [WINDOWSNT] (Vdirectory_sep_char): Don't declare. | |
283 | (DIRECTORY_SEP): Define unconditionally. | |
284 | ||
285 | * s/ms-w32.h (DIRECTORY_SEP): Remove. | |
286 | ||
287 | * emacs.c (decode_env_path): Don't check DIRECTORY_SEP, | |
288 | call dostounix_filename directly. | |
289 | ||
290 | * fileio.c (CORRECT_DIR_SEPS): Remove. | |
291 | (Ffile_name_directory, directory_file_name, Fexpand_file_name) | |
292 | (Fsubstitute_in_file_name): Use dostounix_filename instead. | |
293 | (file_name_as_directory): Use dostounix_filename, DIRECTORY_SEP. | |
294 | (syms_of_fileio) <directory-sep-char>: Move to subr.el. | |
295 | ||
296 | * w32proc.c (CORRECT_DIR_SEPS): Remove. | |
297 | (Fw32_short_file_name, Fw32_long_file_name): Use dostounix_filename. | |
298 | ||
0eb7675e AS |
299 | 2010-06-03 Andreas Schwab <schwab@linux-m68k.org> |
300 | ||
301 | * process.c (conv_lisp_to_sockaddr): Fix conversion of IPv4 | |
f07b083d | 302 | address. (Bug#6346) |
0eb7675e | 303 | |
78edd3b7 JB |
304 | 2010-06-03 Juanma Barranquero <lekktu@gmail.com> |
305 | ||
306 | * ccl.c (Fccl_program_p): Fix typo in docstring. | |
307 | ||
eb697db5 DN |
308 | 2010-06-03 Dan Nicolaescu <dann@ics.uci.edu> |
309 | ||
310 | Move UNEXEC definition to autoconf. | |
311 | * s/usg5-4.h (UNEXEC): Remove, move to configure.in. | |
312 | * s/sol2-10.h (UNEXEC): | |
313 | * s/irix6-5.h (UNEXEC): | |
314 | * s/hpux10-20.h (UNEXEC): | |
315 | * s/gnu-linux.h (UNEXEC): | |
316 | * s/darwin.h (UNEXEC): | |
317 | * s/cygwin.h (UNEXEC): | |
318 | * s/bsd-common.h (UNEXEC): | |
319 | * s/aix4-2.h (UNEXEC): | |
320 | * m/alpha.h (UNEXEC): Likewise. | |
321 | * Makefile.in (UNEXEC_OBJ): Define using @UNEXEC_OBJ@. | |
322 | ||
aa3830c4 JB |
323 | 2010-06-03 Juanma Barranquero <lekktu@gmail.com> |
324 | ||
325 | Remove obsolete pre-unicode2 macros. | |
326 | * character.h (MULTIBYTE_FORM_LENGTH, PARSE_MULTIBYTE_SEQ): Remove. | |
327 | * composite.c (composition_reseat_it): | |
328 | * data.c (Faset): | |
329 | * fns.c (Ffillarray): | |
330 | * regex.c (re_search_2): Use BYTES_BY_CHAR_HEAD. | |
331 | [!emacs] (BYTES_BY_CHAR_HEAD): Define instead of MULTIBYTE_FORM_LENGTH. | |
332 | ||
d234d13e JL |
333 | 2010-06-03 Juri Linkov <juri@jurta.org> |
334 | ||
335 | * buffer.c (Fother_buffer): Add CHECK_FRAME. | |
336 | (Fswitch_to_buffer): Remove unused variable `err'. | |
337 | ||
0d4bcf4d GM |
338 | 2010-06-03 Glenn Morris <rgm@gnu.org> |
339 | ||
e23dc1e2 GM |
340 | * m/template.h (NO_SOCK_SIGIO): Remove, no longer used. |
341 | ||
05b09564 GM |
342 | * m/hp800.h (alloca) [__NetBSD__ && __GNUC__]: No need to define it, |
343 | now that AH_BOTTOM does it. | |
344 | ||
824e2978 GM |
345 | * m/hp800.h (HAVE_ALLOCA): |
346 | * m/ibms390x.h (HAVE_ALLOCA): Do not define, no longer needed. | |
347 | ||
0d4bcf4d GM |
348 | * m/ia64.h, s/gnu-linux.h, s/gnu.h, s/netbsd.h, s/usg5-4.h: |
349 | Remove NOT_C_CODE tests, it is always true now. | |
350 | ||
c55d2abf DN |
351 | 2010-06-02 Dan Nicolaescu <dann@ics.uci.edu> |
352 | ||
08a494a3 DN |
353 | Fix config.h includes. |
354 | * xsettings.c: | |
355 | * xgselect.c: | |
356 | * nsterm.m: | |
357 | * nsselect.m: | |
358 | * nsimage.m: | |
359 | * nsfont.m: | |
360 | * nsfns.m: | |
361 | * dbusbind.c: Use #include <config.h> instead of "config.h" as all | |
362 | other files do. | |
363 | ||
75934b1d DN |
364 | * gmalloc.c: Remove BROKEN_PROTOTYPES reference, unused. |
365 | ||
9f32a766 DN |
366 | * s/sol2-6.h: Remove obsolete comments. |
367 | ||
c55d2abf DN |
368 | Remove unnecessary alloca.h includes. |
369 | * keymap.c: Do not include alloca.h, config.h does that. | |
370 | * sysdep.c: Likewise. Do not define fwrite, not used. | |
371 | ||
06ac62b4 SM |
372 | 2010-06-01 Stefan Monnier <monnier@iro.umontreal.ca> |
373 | ||
374 | * sysdep.c (child_setup_tty): Move the non-canonical initialization to | |
375 | the HAVE_TERMIO where it belongs (bug#6149). | |
376 | ||
1ab8293c SM |
377 | 2010-05-31 Stefan Monnier <monnier@iro.umontreal.ca> |
378 | ||
379 | * keymap.c (Fwhere_is_internal): Fix handling of remapping (in thread | |
380 | of bug#6305). | |
381 | ||
6dcfd253 EZ |
382 | 2010-05-30 Eli Zaretskii <eliz@gnu.org> |
383 | ||
384 | * bidi.c (bidi_move_to_visually_next): Make sure the sentinel | |
385 | state is always cached (bug#6306). | |
386 | ||
6d26bbb2 EZ |
387 | 2010-05-29 Eli Zaretskii <eliz@gnu.org> |
388 | ||
06fa4a23 EZ |
389 | Fix cursor motion in bidi-reordered continued lines. |
390 | * xdisp.c (try_cursor_movement): Backup to non-continuation line | |
391 | only after finding point's row. Fix the logic. Rewrite the loop | |
6d26bbb2 EZ |
392 | over continuation lines in bidi-reordered buffers. Return |
393 | CURSOR_MOVEMENT_MUST_SCROLL upon failure to find a suitable row, | |
394 | rather than CURSOR_MOVEMENT_CANNOT_BE_USED. | |
395 | ||
f5783df3 MA |
396 | 2010-05-28 Michael Albinus <michael.albinus@gmx.de> |
397 | ||
398 | * fileio.c (Fdelete_file): Pass TRASH arg to handler call. | |
399 | ||
7d56b2dd KH |
400 | 2010-05-28 Kenichi Handa <handa@m17n.org> |
401 | ||
402 | * font.c (font_delete_unmatched): Check Vface_ignored_fonts. | |
403 | Don't sheck SPEC if it is nil. | |
404 | (font_list_entities): Call font_delete_unmatched if | |
b925d231 | 405 | Vface_ignored_fonts is non-nil. (Bug#6287) |
7d56b2dd | 406 | |
e58d4ff7 GM |
407 | 2010-05-28 Glenn Morris <rgm@gnu.org> |
408 | ||
409 | * Makefile.in (LIBES): Remove $LOADLIBES, it is never set. | |
410 | ||
f1a5d776 CY |
411 | 2010-05-27 Chong Yidong <cyd@stupidchicken.com> |
412 | ||
413 | * fileio.c (Fdelete_file): Change meaning of optional arg to mean | |
414 | whether to trash. | |
415 | (internal_delete_file, Frename_file): Callers changed. | |
416 | (delete_by_moving_to_trash): Doc fix. | |
417 | (Fdelete_directory_internal): Don't move to trash. | |
418 | ||
419 | * callproc.c (delete_temp_file): | |
420 | * buffer.c (Fkill_buffer): Callers changed. | |
421 | ||
422 | * lisp.h: Update prototype. | |
423 | ||
f44a59e6 CY |
424 | 2010-05-27 Chong Yidong <cyd@stupidchicken.com> |
425 | ||
426 | * xdisp.c (redisplay_window): After redisplay, check if point is | |
427 | still valid before setting it (Bug#6177). | |
428 | ||
81ac4f35 GM |
429 | 2010-05-27 Glenn Morris <rgm@gnu.org> |
430 | ||
431 | * Makefile.in, autodeps.mk, deps.mk, ns.mk: | |
432 | Convert comments to Makefile format. | |
433 | ||
434 | * Makefile.in (bootstrap-clean): No more Makefile.c. | |
435 | ||
ccd89fb3 GM |
436 | 2010-05-26 Glenn Morris <rgm@gnu.org> |
437 | ||
90278cb6 GM |
438 | * Makefile.in (YMF_PASS_LDFLAGS): Remove. |
439 | (temacs${EXEEXT}): Use PRE_EDIT_LDFLAGS, POST_EDIT_LDFLAGS. | |
440 | ||
ccd89fb3 GM |
441 | * Makefile.in (NS_IMPL_GNUSTEP_INC, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): |
442 | Remove. | |
443 | (TEMACS_LDFLAGS): Do not use NS_IMPL_GNUSTEP_TEMACS_LDFLAGS. | |
444 | ||
b7050583 KH |
445 | 2010-05-26 Kenichi Handa <handa@m17n.org> |
446 | ||
447 | * composite.c (composition_compute_stop_pos): Fix condition for | |
448 | backward scanning. | |
449 | ||
e5458003 GM |
450 | 2010-05-25 Glenn Morris <rgm@gnu.org> |
451 | ||
c345fe90 GM |
452 | * Makefile.in (@NS_IMPL_GNUSTEP_INC@, NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): |
453 | Move before TEMACS_LDFLAGS. | |
454 | (TEMACS_LDFLAGS): Use $NS_IMPL_GNUSTEP_TEMACS_LDFLAGS. | |
455 | (temacs${EXEEXT}): Do not use $NS_IMPL_GNUSTEP_TEMACS_LDFLAGS. | |
456 | ||
2e0689ab GM |
457 | * Makefile.in (NOT_C_CODE): No longer define. |
458 | (config.h): No longer include. | |
459 | ||
8009a5e8 GM |
460 | * Makefile.in (LD_SWITCH_SYSTEM_TEMACS): Move definition after some |
461 | variables it may reference. | |
462 | ||
e5458003 GM |
463 | * Makefile.in (LD_SWITCH_SYSTEM_EXTRA): Remove. |
464 | (TEMACS_LDFLAGS): Remove LD_SWITCH_SYSTEM_EXTRA. | |
465 | ||
10f72a37 KH |
466 | 2010-05-25 Kenichi Handa <handa@m17n.org> |
467 | ||
468 | * dispextern.h (struct composition_it): New members rule_idx and | |
469 | charpos. | |
470 | ||
471 | * xdisp.c (set_iterator_to_next): While scanning backward, assume | |
472 | that the character positions of IT point the last character of the | |
473 | current grapheme cluster. | |
474 | (next_element_from_composition): Don't change character positions | |
475 | of IT. | |
476 | (append_composite_glyph): Set glyph->charpos to | |
477 | it->cmp_it.charpos. | |
478 | ||
479 | * composite.c (autocmp_chars): Change the first argument to RULE, | |
480 | and try composition with RULE only. | |
481 | (composition_compute_stop_pos): Record the index number of the | |
482 | composition rule in CMP_IT->rule_idx. | |
483 | (composition_reseat_it): Call autocmp_chars repeatedly until the | |
484 | correct rule of the composition is found. | |
485 | (composition_update_it): Set CMP_IT->charpos. Assume the CHARPOS | |
486 | is at the last character of the current grapheme cluster when | |
487 | CMP_IT->reversed_p is nonzero. | |
488 | ||
171eda53 | 489 | 2010-05-24 Stefan Monnier <monnier@iro.umontreal.ca> |
f5b416d2 | 490 | |
171eda53 SM |
491 | * editfns.c (Fbyte_to_string): New function. |
492 | ||
66a9f7f4 SM |
493 | 2010-05-24 Stefan Monnier <monnier@iro.umontreal.ca> |
494 | ||
495 | * process.c (Fmake_network_process): Set :host to nil if it's not used. | |
496 | Suggested by Masatake YAMATO <yamato@redhat.com>. | |
497 | ||
d8c315d1 EZ |
498 | 2010-05-23 Eli Zaretskii <eliz@gnu.org> |
499 | ||
171eda53 | 500 | * dispextern.h (init_iterator): Sync prototype with changed definition. |
d8c315d1 | 501 | |
f5b416d2 | 502 | 2010-05-20 enami tsugutomo <tsugutomo.enami@jp.sony.com> |
503 | ||
504 | * s/netbsd.h: If terminfo is found, use it in preference to | |
505 | termcap. (Bug#6190) [Backport from trunk] | |
506 | ||
0416466c EZ |
507 | 2010-05-19 Eli Zaretskii <eliz@gnu.org> |
508 | ||
11117830 | 509 | Redesign and reimplement bidi-aware edge positions of glyph rows. |
d36fe237 EZ |
510 | |
511 | * dispextern.h (struct glyph_row): New members minpos and maxpos. | |
512 | (MATRIX_ROW_START_CHARPOS, MATRIX_ROW_START_BYTEPOS) | |
513 | (MATRIX_ROW_END_CHARPOS, MATRIX_ROW_END_BYTEPOS): Reference minpos | |
514 | and maxpos members instead of start.pos and end.pos, respectively. | |
515 | ||
516 | * xdisp.c (display_line): Compare IT_CHARPOS with the position in | |
517 | row->start.pos, rather than with MATRIX_ROW_START_CHARPOS. | |
518 | (cursor_row_p): Use row->end.pos rather than MATRIX_ROW_END_CHARPOS. | |
66a9f7f4 SM |
519 | (try_window_reusing_current_matrix, try_window_id): |
520 | Use ROW->minpos rather than ROW->start.pos. | |
d36fe237 EZ |
521 | (init_from_display_pos, init_iterator): Use EMACS_INT for |
522 | character and byte positions. | |
66a9f7f4 | 523 | (find_row_edges): Rename from find_row_end. Accept additional |
d36fe237 EZ |
524 | arguments for minimum and maximum buffer positions seen by |
525 | display_line for this row. Don't use iterator to find the | |
526 | position following the maximum one; instead, increment the | |
11117830 EZ |
527 | position found by display_line directly. Fix logic; eol_pos |
528 | should be tested before the rest. Handle the case of characters | |
529 | delivered from display vector (bug#6036). Fix tests related to | |
530 | it->method. Handle the truncated_on_right_p rows. | |
531 | (RECORD_MAX_MIN_POS): New macro. | |
532 | (display_line): Use it to record the minimum and maximum buffer | |
533 | positions for glyphs in the row being assembled. Record the | |
534 | position of the newline that terminates the line. If word wrap is | |
535 | in effect, restore minimum and maximum positions seen up to the | |
536 | wrap point, when iterator returns to it. | |
537 | (try_window_reusing_current_matrix): Give up if in bidi-reordered | |
538 | row and cursor not already at point. Restore original pre-bidi | |
539 | code for unidirectional buffers. | |
d36fe237 EZ |
540 | |
541 | * dispnew.c (increment_row_positions, check_matrix_invariants): | |
542 | Increment and check row->start.pos and row->end.pos, in addition | |
543 | to MATRIX_ROW_START_CHARPOS and MATRIX_ROW_END_CHARPOS. | |
544 | ||
11117830 EZ |
545 | * .gdbinit (prowlims): Display row->minpos and row->maxpos. |
546 | Display truncated_on_left_p and truncated_on_right_p flags. | |
547 | Formatting fixes. | |
548 | (pmtxrows): Display the ordinal number of each row. Don't display | |
549 | rows beyond the last one. | |
550 | ||
551 | * bidi.c (bidi_cache_iterator_state): Don't zero out new_paragraph: | |
552 | it is not copied by bidi_copy_it. | |
553 | ||
6e83d800 EZ |
554 | 2010-05-22 Eli Zaretskii <eliz@gnu.org> |
555 | ||
556 | * w32.c (sys_write): Break writes into chunks smaller than 32MB. | |
557 | (Bug#6237) | |
558 | ||
110683ad CY |
559 | 2010-05-22 Chong Yidong <cyd@stupidchicken.com> |
560 | ||
561 | * image.c (Fimage_flush): Rename from image-refresh. | |
562 | ||
98fe5161 CY |
563 | 2010-05-21 Chong Yidong <cyd@stupidchicken.com> |
564 | ||
565 | * xdisp.c (redisplay_internal): Clear caches even if redisplaying | |
566 | just one window. | |
567 | ||
568 | * image.c (Vimage_cache_eviction_delay): Decrease to 300. | |
569 | (clear_image_cache): If the number of cached images is unusually | |
570 | large, decrease the cache eviction delay (Bug#6230). | |
571 | ||
e8752c66 GM |
572 | 2010-05-21 Glenn Morris <rgm@gnu.org> |
573 | ||
66dbf213 GM |
574 | * Makefile.in (${ns_appdir}, ${ns_appbindir}Emacs, ns-app): |
575 | Move these rules to ns.mk. | |
576 | * ns.mk: New file. | |
577 | ||
04384b2d GM |
578 | * Makefile.in (../src/$(OLDXMENU), $(OLDXMENU)): Always define rules. |
579 | ||
e8752c66 GM |
580 | * Makefile.in (CANNOT_DUMP): New, set by configure. |
581 | (emacs${EXEEXT}, bootstrap-emacs${EXEEXT}): Use $CANNOT_DUMP. | |
582 | ||
2e2bbddb JL |
583 | 2010-05-20 Juri Linkov <juri@jurta.org> |
584 | ||
585 | * fileio.c (Fdelete_file): Change interative spec to use | |
586 | `read-file-name' like in `find-file-read-args' where the default | |
587 | value is `default-directory' instead of `buffer-file-name'. | |
588 | http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00533.html | |
589 | ||
31c4aaf6 KR |
590 | 2010-05-20 Kevin Ryde <user42@zip.com.au> |
591 | ||
592 | * keyboard.c (Vlast_command, Vkeyboard_translate_table) | |
593 | (Voverriding_terminal_local_map, Vsystem_key_alist) | |
594 | (Vlocal_function_key_map): Fix manual link in docstring (Bug#6224). | |
595 | ||
9d5cf9b6 GM |
596 | 2010-05-20 Glenn Morris <rgm@gnu.org> |
597 | ||
598 | * Makefile.in (DEPDIR): New constant. | |
599 | (DEPFLAGS): Set with configure, not cpp. | |
600 | (MKDEPDIR): New, set by configure. | |
601 | (.c.o, .m.o, ecrt0.o): Use $MKDEPDIR. | |
602 | (clean): Use $DEPDIR. | |
603 | (deps_frag): Include from configure. | |
604 | Move static/dynamic dependency stuff to deps.mk/autodeps.mk. | |
605 | * deps.mk, autodeps.mk: New files, extracted from Makefile.in. | |
606 | ||
ead6f8f5 EZ |
607 | * bidi.c (bidi_cache_shrink, bidi_cache_iterator_state): Fix |
608 | reallocation of the cache. (Bug#6210) | |
609 | ||
7f34aec3 GM |
610 | 2010-05-19 Glenn Morris <rgm@gnu.org> |
611 | ||
d494e8f2 GM |
612 | * s/msdos.h (ORDINARY_LINK): Move to sed2v2.inp. |
613 | ||
c1d0dcfd GM |
614 | * Makefile.in (LD, YMF_PASS_LDFLAGS): Set with configure, not cpp. |
615 | (GNULIB_VAR): Remove. | |
616 | (LIBES): Use LIB_GCC instead of GNULIB_VAR. | |
617 | ||
618 | * m/ibms390x.h (LINKER): | |
619 | * m/macppc.h (LINKER) [GNU_LINUX]: | |
620 | * s/aix4-2.h (ORDINARY_LINK): | |
621 | * s/cygwin.h (LINKER): | |
622 | * s/darwin.h (ORDINARY_LINK): | |
623 | * s/gnu.h (ORDINARY_LINK): | |
624 | * s/netbsd.h (LINKER): | |
625 | * s/usg5-4.h (ORDINARY_LINK): | |
626 | Move to configure. | |
627 | ||
7f34aec3 GM |
628 | * s/aix4-2.h (LINKER): Remove; this file sets ORDINARY_LINK. |
629 | ||
754790b6 CY |
630 | 2010-05-18 Chong Yidong <cyd@stupidchicken.com> |
631 | ||
632 | * character.c (Fstring, Funibyte_string): Use SAFE_ALLOCA to | |
633 | prevent stack overflow if number of arguments is too large | |
634 | (Bug#6214). | |
635 | ||
161e44d1 JB |
636 | 2010-05-18 Juanma Barranquero <lekktu@gmail.com> |
637 | ||
638 | * charset.c (load_charset_map_from_file): Don't call close after fclose. | |
639 | ||
be4ff9da GM |
640 | 2010-05-18 Glenn Morris <rgm@gnu.org> |
641 | ||
9539dc5d GM |
642 | * s/gnu-linux.h: Combine two conditionals. |
643 | ||
644 | * Makefile.in (otherobj): Include $(VMLIMIT_OBJ) separately from | |
6665f4c5 GM |
645 | $(POST_ALLOC_OBJ). |
646 | ||
40dc6bf4 GM |
647 | * Makefile.in (RALLOC_OBJ): New, set by configure. |
648 | (rallocobj): Replace with the previous variable. | |
649 | (otherobj): Use $RALLOC_OBJ. | |
650 | ||
651 | * s/gnu.h (REL_ALLOC) [DOUG_LEA_MALLOC]: | |
652 | * s/gnu-linux.h (REL_ALLOC) [DOUG_LEA_MALLOC]: Move undef to configure. | |
653 | ||
be4ff9da GM |
654 | * Makefile.in (GMALLOC_OBJ, VMLIMIT_OBJ): New, set by configure. |
655 | (gmallocobj, vmlimitobj): Replace with previous two variables. | |
656 | (otherobj): Use $GMALLOC_OBJ, $VMLIMIT_OBJ. | |
657 | ||
16455a85 GM |
658 | 2010-05-17 Glenn Morris <rgm@gnu.org> |
659 | ||
660 | * Makefile.in (OLDXMENU_DEPS): New, set by configure. | |
661 | (stamp-oldxmenu): Use $OLDXMENU_DEPS. | |
662 | ||
5fdb7468 GM |
663 | 2010-05-16 Glenn Morris <rgm@gnu.org> |
664 | ||
7ca1f3f9 GM |
665 | * Makefile.in (${ns_appbindir}Emacs, ns-app): Always define these rules. |
666 | ||
7541dad5 GM |
667 | * Makefile.in (clean): Get rid of HAVE_NS conditional. |
668 | ||
da53fab9 GM |
669 | * Makefile.in (ns_appdir, ns_appbindir): Now configure adds the |
670 | trailing "/". | |
671 | ||
b02a6645 GM |
672 | * Makefile.in (TEMACS_LDFLAGS2): New, set by configure. |
673 | (temacs${EXEEXT}): Combine the NS_IMPL_GNUSTEP case with the default. | |
674 | ||
8877ca0f GM |
675 | * Makefile.in (GNUSTEP_SYSTEM_LIBRARIES): Remove, unused. |
676 | (NS_IMPL_GNUSTEP_TEMACS_LDFLAGS): New, set by configure. | |
677 | (LD) [NS_IMPL_GNUSTEP]: Set to $(CC) -rdynamic. | |
678 | (temacs${EXEEXT}): Remove $LOCALCPP, never defined or referenced. | |
679 | Make most of the NS_IMPL_GNUSTEP case the same as the default case. | |
680 | ||
5fdb7468 GM |
681 | * Makefile.in (temacs${EXEEXT}) [!NS_IMPL_GNUSTEP]: |
682 | Remove ${STARTFLAGS}, nothing ever sets it. | |
683 | ||
95adb4b1 DN |
684 | 2010-05-16 Dan Nicolaescu <dann@ics.uci.edu> |
685 | ||
686 | * m/ia64.h (UNEXEC): Remove, set in s/*.h. | |
687 | ||
676b6304 GM |
688 | 2010-05-16 Glenn Morris <rgm@gnu.org> |
689 | ||
9beab9ce GM |
690 | * Makefile.in (LIBX_BASE): Always define. |
691 | ||
8a95f0e7 GM |
692 | * Makefile.in (LIBX_OTHER): Move out of cpp section. |
693 | ||
676b6304 GM |
694 | * Makefile.in (LIBXT): Always define. |
695 | ||
6e546d18 GM |
696 | 2010-05-15 Glenn Morris <rgm@gnu.org> |
697 | ||
4235ca47 | 698 | * Makefile.in (OLDXMENU, LIBXMENU, LIBX_OTHER): Always define. |
02d4ac0e | 699 | |
6e546d18 GM |
700 | * Makefile.in (FONT_DRIVERS): Remove, replace with $FONT_OBJ. |
701 | (obj, SOME_MACHINE_OBJECTS): Use $FONT_OBJ. | |
702 | ||
8c5ff6dd KR |
703 | 2010-05-15 Ken Raeburn <raeburn@raeburn.org> |
704 | ||
560bb7ae | 705 | * lisp.h (XFLOAT_DATA): Use "0?x:x" to generate an rvalue. (Bug#5916) |
52766425 KR |
706 | (LISP_MAKE_RVALUE) [!USE_LISP_UNION_TYPE && !__GNUC__]: Likewise. |
707 | ||
8b4eb796 KR |
708 | * emacs.c (main): Initialize initial-environment and |
709 | process-environment before generating from env, not after. | |
710 | ||
8c5ff6dd KR |
711 | Handle --version reasonably in CANNOT_DUMP configuration. |
712 | * emacs.c (emacs_version, emacs_copyright): New string variables. | |
713 | (Vemacs_version, Vemacs_copyright): New Lisp_Object variables. | |
714 | (syms_of_emacs): Defvar them, and initialize them from the C | |
715 | string variables. | |
716 | (main): If initialization hasn't been done, print initial version | |
717 | info from the C strings, instead of starting an interactive session. | |
718 | ||
dbd3f723 EZ |
719 | 2010-05-15 Eli Zaretskii <eliz@gnu.org> |
720 | ||
d20e1419 EZ |
721 | * bidi.c (bidi_paragraph_init): Don't leave alone garbage values |
722 | of bidi_it->paragraph_dir. Call bidi_initialize if needed. | |
2e9abc3d EZ |
723 | (bidi_paragraph_init): Remove redundant assertion that we are at |
724 | the beginning of a line after call to bidi_find_paragraph_start. | |
d20e1419 EZ |
725 | |
726 | * xdisp.c (Fcurrent_bidi_paragraph_direction): New function. | |
727 | (syms_of_xdisp): Defsubr it. | |
728 | ||
d36fe237 EZ |
729 | * cmds.c (Fforward_char, Fbackward_char): Doc fix. |
730 | ||
dbd3f723 EZ |
731 | * Makefile.in: Fix MSDOS-related comments. |
732 | ||
02be533b GM |
733 | 2010-05-15 Glenn Morris <rgm@gnu.org> |
734 | ||
1a82cca9 GM |
735 | * Makefile.in (OLDXMENU_TARGET): New, set by configure. |
736 | (really-lwlib, really-oldXMenu): Always define. | |
737 | ($OLDXMENU): Depend on $OLDXMENU_TARGET. | |
738 | ||
3df7b338 GM |
739 | * Makefile.in: Simplify cpp conditional. |
740 | ||
2b5f541b GM |
741 | * Makefile.in (${ns_appdir}): Simplify using umask. |
742 | ||
02be533b GM |
743 | * Makefile.in (${ns_appdir}): Remove references to CVS-related files. |
744 | ||
4e2db1fe SM |
745 | 2010-05-14 Stefan Monnier <monnier@iro.umontreal.ca> |
746 | ||
747 | * eval.c (specbind): Remove left-over duplicate test. | |
748 | Disallow let-binding frame-local vars. Add comment. | |
749 | ||
4b292a22 EZ |
750 | 2010-05-14 Eli Zaretskii <eliz@gnu.org> |
751 | ||
2fe72643 | 752 | Make the cache of bidi iterator states dynamically allocated. |
1edbd309 | 753 | * bidi.c (bidi_cache_shrink): New function. |
2fe72643 EZ |
754 | (bidi_init_it): Call it. |
755 | (bidi_cache_iterator_state): Enlarge the cache if needed. | |
756 | ||
4e2db1fe | 757 | * bidi.c (bidi_move_to_visually_next): Rename from |
4b292a22 EZ |
758 | bidi_get_next_char_visually. All callers changed. |
759 | ||
82ebc97b KH |
760 | 2010-05-14 Kenichi Handa <handa@m17n.org> |
761 | ||
762 | * dispextern.h (struct composition_it): New member reversed_p. | |
763 | ||
764 | * composite.c (composition_compute_stop_pos): Search backward if | |
765 | ENDPOS < CHARPOS. | |
766 | (composition_reseat_it): Handle the case that ENDPOS < CHARPOS. | |
767 | Set CMP_IT->reversed_p. | |
b4b6e17e | 768 | (composition_update_it): Pay attention to CMP_IT->reversed_p. |
82ebc97b | 769 | |
4e2db1fe SM |
770 | * xdisp.c (set_iterator_to_next): |
771 | Call composition_compute_stop_pos with negative ENDPOS if we are | |
82ebc97b KH |
772 | scanning backward. Call composition_compute_stop_pos if scan |
773 | direction is changed. | |
774 | (next_element_from_buffer): Call composition_compute_stop_pos with | |
775 | negative ENDPOS if we are scanning backward. | |
776 | (next_element_from_composition): Pay attention to | |
777 | IT->cmp_it.reversed_p. | |
778 | ||
0e5d7800 KH |
779 | 2010-05-14 Kenichi Handa <handa@m17n.org> |
780 | ||
560bb7ae | 781 | * font.c (font_range): Return the range for the font found at first. |
0e5d7800 | 782 | |
cb027b32 GM |
783 | 2010-05-14 Glenn Morris <rgm@gnu.org> |
784 | ||
177b0288 GM |
785 | * Makefile.in (ns_appdir, ns_appbindir, ns_appsrc): Always define. |
786 | ||
fbc00890 GM |
787 | * Makefile.in (mktime, X11, register): Move undefs to configure. |
788 | ||
f14d1dfd GM |
789 | * Makefile.in (MSDOS_OBJ): Default to empty, let msdos scripts set it. |
790 | (MSDOS_X_OBJ): New variable. | |
791 | (MSDOS_SUPPORT_REAL): New constant. | |
792 | (MSDOS_SUPPORT): Set as a variable, not with cpp. | |
793 | (obj): Use MSDOS_X_OBJ. | |
794 | (lisp): Use MSDOS_SUPPORT as a variable. | |
795 | ||
11842bd8 GM |
796 | * Makefile.in (REAL_MOUSE_SUPPORT): New constant. |
797 | (GPM_MOUSE_SUPPORT): Now it's a constant. | |
798 | (MOUSE_SUPPORT, TOOLTIP_SUPPORT, WINDOW_SUPPORT): Set with configure, | |
799 | not cpp. | |
800 | ||
489d31a4 | 801 | * Makefile.in (@NS_IMPL_GNUSTEP_INC@): Use in place of #ifdef. |
845612ac | 802 | (ns_appresdir): Remove, unused. |
e20f1f07 | 803 | |
489d31a4 GM |
804 | * Makefile.in (SHELL): Move outside cpp section. |
805 | ||
cb027b32 GM |
806 | * s/netbsd.h (AMPERSAND_FULL_NAME): Remove (defined in AH_BOTTOM). |
807 | ||
5a903aa9 GM |
808 | 2010-05-13 Glenn Morris <rgm@gnu.org> |
809 | ||
3369c79f GM |
810 | * Makefile.in (FONT_DRIVERS): Place with other HAVE_X_WINDOWS stuff. |
811 | (TOOLTIP_SUPPORT): Place with other HAVE_WINDOW_SYSTEM stuff. | |
812 | ||
d5e982a6 GM |
813 | * Makefile.in (FONT_DRIVERS): If HAVE_X_WINDOWS is defined, |
814 | HAVE_WINDOW_SYSTEM must be too. | |
815 | ||
6192e163 GM |
816 | * Makefile.in (WINNT_SUPPORT): Remove, nt build does not use this file. |
817 | (lisp): Remove WINNT_SUPPORT. | |
818 | ||
472c5d6b GM |
819 | * Makefile.in (OLDXMENU, LIBXMENU) [!HAVE_MENUS]: |
820 | Let configure set these variables (to empty) in this case as well. | |
821 | ||
0116466b GM |
822 | * Makefile.in (LD_SWITCH_X_SITE): Define as a variable, not via cpp. |
823 | (LIBX_BASE): Use $LD_SWITCH_X_SITE. | |
824 | ||
5a903aa9 GM |
825 | * Makefile.in (C_SWITCH_X_SYSTEM, C_SWITCH_X_SITE, LIB_STANDARD) |
826 | (LIB_MATH, FONTCONFIG_CFLAGS, FONTCONFIG_LIBS, FREETYPE_CFLAGS) | |
827 | (FREETYPE_LIBS, LIBOTF_CFLAGS, LIBOTF_LIBS, M17N_FLT_CFLAGS) | |
828 | (M17N_FLT_LIBS, GNU_OBJC_CFLAGS, GNUSTEP_SYSTEM_LIBRARIES, LIBGPM) | |
829 | (LIBRESOLV, UNEXEC_OBJ): For clarity, define variables to hold | |
c0a2b70a | 830 | the values output by configure. |
5a903aa9 GM |
831 | (ALL_CFLAGS, obj, LIBES, temacs${EXEEXT}): Use the above variables. |
832 | ||
1a0d7c06 GM |
833 | 2010-05-12 Glenn Morris <rgm@gnu.org> |
834 | ||
b5457f14 GM |
835 | * Makefile.in (YMF_PASS_LDFLAGS, LD, LINKER): Simplify the logic. |
836 | (LINKER_WAS_SPECIFIED): Remove. | |
837 | ||
1a0d7c06 GM |
838 | * Makefile.in (LIB_GCC): Set using configure, not cpp. |
839 | (GNULIB_VAR) [!ORDINARY_LINK]: Always set to $LIB_GCC. | |
840 | * m/arm.h (LIB_GCC) [GNU_LINUX]: | |
841 | * s/cygwin.h (LIB_GCC): | |
842 | * s/freebsd.h (LIB_GCC): | |
843 | * s/gnu-linux.h (LIB_GCC): | |
844 | * s/msdos.h (LIB_GCC): | |
845 | * s/netbsd.h (LIB_GCC): | |
846 | Move to configure. | |
847 | ||
3ffd4615 | 848 | 2010-05-11 Karel Klic <kklic@redhat.com> |
c90ca7b7 KH |
849 | |
850 | * ftfont.c: Fix incorrect parentheses of #if condition for | |
851 | definining M17N_FLT_USE_NEW_FEATURE. | |
852 | ||
acddf8ae GM |
853 | 2010-05-11 Glenn Morris <rgm@gnu.org> |
854 | ||
855 | * Makefile.in (LIBS_SYSTEM) [MSDOS]: Do not reset. | |
856 | * s/msdos.h (MSDOS_LIBS_SYSTEM): Remove. | |
857 | ||
ae5e04fa EZ |
858 | 2010-05-10 Eli Zaretskii <eliz@gnu.org> |
859 | ||
860 | * xdisp.c (init_iterator): Don't turn on bidi reordering in | |
861 | unibyte buffers. See | |
862 | http://lists.gnu.org/archive/html/emacs-devel/2010-05/msg00263.html. | |
863 | ||
7490175b GM |
864 | 2010-05-10 Glenn Morris <rgm@gnu.org> |
865 | ||
97efb629 GM |
866 | * Makefile.in (LIBS_SYSTEM): Set using configure, not cpp. |
867 | (LIBS_SYSTEM) [MSDOS]: Reset with MSDOS_LIBS_SYSTEM. | |
868 | (LIBES): Use LIBS_SYSTEM as a variable. | |
869 | * s/msdos.h (LIBS_SYSTEM): Rename to MSDOS_LIBS_SYSTEM. Always define. | |
870 | * s/aix4-2.h (LIBS_SYSTEM): | |
871 | * s/freebsd.h (LIBS_SYSTEM): | |
872 | * s/hpux10-20.h (LIBS_SYSTEM): | |
873 | * s/sol2-6.h (LIBS_SYSTEM): | |
874 | * s/unixware.h (LIBS_SYSTEM): | |
875 | Move to configure. | |
876 | ||
7490175b GM |
877 | * s/aix4-2.h (MAIL_USE_LOCKF): |
878 | * s/bsd-common.h (MAIL_USE_FLOCK): | |
879 | * s/darwin.h (MAIL_USE_FLOCK): | |
880 | * s/gnu-linux.h (MAIL_USE_FLOCK): | |
881 | * s/irix6-5.h (MAIL_USE_FLOCK): | |
882 | * s/template.h (MAIL_USE_FLOCK): | |
883 | Move to configure. | |
884 | ||
0235128c | 885 | 2010-05-08 Chong Yidong <cyd@stupidchicken.com> |
61a808e8 CY |
886 | |
887 | * Version 23.2 released. | |
888 | ||
0235128c | 889 | 2010-05-08 Andreas Schwab <schwab@linux-m68k.org> |
5dcde606 AS |
890 | |
891 | * composite.c (autocmp_chars): Save point as marker before calling | |
892 | auto-composition-function (Bug#5984). | |
893 | ||
894 | * lisp.h (restore_point_unwind): Add prototype. | |
895 | ||
896 | * fileio.c (restore_point_unwind): Remove static attribute. | |
897 | ||
0235128c | 898 | 2010-05-08 Kenichi Handa <handa@m17n.org> |
c4170e32 KH |
899 | |
900 | * ftfont.c (M17N_FLT_USE_NEW_FEATURE): Define it if we can use the | |
901 | new feature of libotf and m17n-flt. | |
0235128c SM |
902 | (ftfont_check_otf) [M17N_FLT_USE_NEW_FEATURE]: |
903 | Call OTF_check_features even if no specific feature is given. | |
c4170e32 KH |
904 | (PACK_OTF_TAG) [M17N_FLT_USE_NEW_FEATURE]: New macro. |
905 | (ftfont_drive_otf) [M17N_FLT_USE_NEW_FEATURE]: Handle the case | |
906 | that OUT is NULL. Use OTF_drive_gsub_with_log and | |
907 | OTF_drive_gpos_with_log instead of OTF_drive_gsub and | |
908 | OTF_drive_gpos. | |
909 | (ftfont_try_otf) [M17N_FLT_USE_NEW_FEATURE]: New function. | |
0235128c SM |
910 | (ftfont_shape_by_flt) [M17N_FLT_USE_NEW_FEATURE]: |
911 | Setup mflt_enable_new_feature and mflt_try_otf. | |
912 | ||
4721152c J |
913 | 2010-05-08 Jan Djärv <jan.h.d@swipnet.se> |
914 | ||
915 | * xsettings.c (Ftool_bar_get_system_style): Correct comment. | |
916 | ||
917 | * gtkutil.c (xg_pack_tool_bar): Change show_all to show for handle | |
918 | box and toolbar (Bug #6139). | |
919 | (xg_create_tool_bar): Remove comment (Bug #6139). | |
920 | (xg_make_tool_item): Remove gtk_widget_show_all (Bug #6139). | |
921 | (xg_show_toolbar_item): Add gtk_widget_show for weventbox (Bug #6139). | |
922 | ||
ee0a16cf JB |
923 | 2010-05-08 Juanma Barranquero <lekktu@gmail.com> |
924 | ||
925 | * makefile.w32-in ($(BLD)/eval.$(O), $(BLD)/w32fns.$(O)): | |
926 | Update dependencies. | |
927 | ||
96d79611 EZ |
928 | 2010-05-08 Eli Zaretskii <eliz@gnu.org> |
929 | ||
930 | * fringe.c (update_window_fringes): Set up truncation bitmaps for | |
931 | R2L lines. | |
932 | ||
40c17879 GM |
933 | 2010-05-08 Glenn Morris <rgm@gnu.org> |
934 | ||
7b42b29f GM |
935 | * Makefile.in (THIS_IS_MAKEFILE): Remove, unused. |
936 | ||
40c17879 GM |
937 | * Makefile.in (LIBS_TERMCAP): Set with configure, not cpp. |
938 | (TERMCAP_OBJ): New, set by configure, replacing termcapobj. | |
939 | (termcapobj): Replace with TERMCAP_OBJ. | |
940 | (otherobj): Use $TERMCAP_OBJ instead of $termcapobj. | |
941 | (LIBES): Use LIBS_TERMCAP as a variable. | |
942 | ||
943 | * s/freebsd.h (osreldate.h): No longer include, since this file | |
944 | does not use __FreeBSD_version any more. | |
945 | ||
946 | * s/aix4-2.h (TERMINFO): | |
947 | * s/cygwin.h (TERMINFO): | |
948 | * s/darwin.h (TERMINFO, LIBS_TERMCAP) [HAVE_LIBNCURSES]: | |
949 | * s/freebsd.h (TERMINFO, LIBS_TERMCAP): | |
950 | * s/gnu-linux.h (TERMINFO, LIBS_TERMCAP) [HAVE_LIBNCURSES]: | |
951 | * s/gnu.h (TERMINFO, LIBS_TERMCAP) [HAVE_LIBNCURSES]: | |
952 | * s/hpux10-20.h (TERMINFO, LIBS_TERMCAP): | |
953 | * s/irix6-5.h (TERMINFO): | |
954 | * s/netbsd.h (LIBS_TERMCAP): | |
955 | * s/openbsd.h (TERMINFO, LIBS_TERMCAP): | |
956 | * s/sol2-6.h (LIBS_TERMCAP) [!TERMINFO]: | |
957 | * s/usg5-4.h (TERMINFO): | |
958 | Move to configure. | |
959 | ||
94b612ad SM |
960 | 2010-05-07 Stefan Monnier <monnier@iro.umontreal.ca> |
961 | ||
962 | * eval.c (unbind_to): Don't unbind a local binding into the global | |
963 | binding when the local binding disappeared. Inversely, don't unbind | |
964 | a global binding into a newly created local binding. | |
965 | * data.c (set_internal): Make its `buf' arg into a `where' arg so we | |
966 | can specify the frame to use, when applicable. Adjust callers. | |
967 | ||
15e12598 | 968 | 2010-05-07 Vincent Belaïche <vincent.belaiche@gmail.com> |
acd0102a | 969 | Stefan Monnier <monnier@iro.umontreal.ca> |
15e12598 VB |
970 | |
971 | * floatfns.c (Fisnan, Fcopysign, Ffrexp, Fldexp): New functions. | |
972 | ||
f724825e EZ |
973 | 2010-05-07 Eli Zaretskii <eliz@gnu.org> |
974 | ||
5cba3209 EZ |
975 | * w32fns.c: Include w32.h. |
976 | (Fw32_shell_execute): Decode the error message before passing it | |
977 | to `error'. (Bug#6126) | |
978 | ||
d16bdfc3 EZ |
979 | * msdos.c (dos_set_window_size): |
980 | * w16select.c (Fx_selection_exists_p): Use `Fsymbol_value (foo)' | |
981 | instead of `XSYMBOL (foo)->value'. | |
982 | ||
59d93e87 EZ |
983 | 2010-05-07 Eli Zaretskii <eliz@gnu.org> |
984 | ||
9fdec8bc EZ |
985 | Fix the MS-DOS build, broken by autoconfiscation. |
986 | ||
987 | * Makefile.in: Don't use Make-style comments past the "start of | |
988 | cpp stuff" line. | |
989 | (MSDOS_OBJ): Remove xmenu.o (it is now defined by XMENU_OBJ). | |
990 | ||
991 | * s/msdos.h (UNEXEC): Don't define (@unexec@ in Makefile.in is | |
992 | edited directly by msdos/sed1v2.inp). | |
f724825e | 993 | |
2f86b22b GM |
994 | 2010-05-07 Glenn Morris <rgm@gnu.org> |
995 | ||
996 | * Makefile.in (LD_SWITCH_SYSTEM): Set with configure, not cpp. | |
997 | (LD_SWITCH_SYSTEM_EXTRA): New variable, set by configure. | |
998 | (TEMACS_LDFLAGS): Use $LD_SWITCH_SYSTEM and $LD_SWITCH_SYSTEM_EXTRA, | |
999 | move out of cpp section. | |
1000 | * s/freebsd.h (LD_SWITCH_SYSTEM): | |
1001 | * s/gnu-linux.h (LD_SWITCH_SYSTEM): | |
1002 | * s/netbsd.h (LD_SWITCH_SYSTEM): | |
1003 | * s/openbsd.h (LD_SWITCH_SYSTEM): Move to configure.in. | |
1004 | ||
49ebbd65 DN |
1005 | 2010-05-07 Dan Nicolaescu <dann@ics.uci.edu> |
1006 | ||
1007 | Define LIB_STANDARD and START_FILES using autoconf. | |
1008 | * s/usg5-4.h (LIB_STANDARD): | |
1009 | * s/netbsd.h (START_FILES): | |
1010 | * s/irix6-5.h (LIB_STANDARD): | |
1011 | * s/hpux10-20.h (LIB_STANDARD, START_FILES): | |
1012 | * s/gnu-linux.h (START_FILES, LIB_STANDARD): | |
1013 | * s/freebsd.h (START_FILES): | |
1014 | * s/darwin.h (START_FILES): | |
1015 | * s/cygwin.h (START_FILES): | |
1016 | * s/aix4-2.h (LIB_STANDARD): | |
1017 | * m/ibmrs6000.h (START_FILES): Remove, move logic to configure.in. | |
1018 | * Makefile.in (STARTFILES): Rename to START_FILES, define using | |
1019 | autoconf, not cpp. | |
1020 | ||
d43c06d6 DN |
1021 | 2010-05-06 Dan Nicolaescu <dann@ics.uci.edu> |
1022 | ||
28823648 DN |
1023 | Remove NEED_BSDTTY and NEED_UNISTD_H. |
1024 | * s/hpux10-20.h (NEED_BSDTTY): Remove. | |
1025 | * s/aix4-2.h (NEED_UNISTD_H): Remove. | |
1026 | * systty.h: Simplify conditionals for including <sys/bsdtty.h>, | |
1027 | <sys/ptyio.h> and <unistd.h>. | |
1028 | ||
aca00430 DN |
1029 | * emacs.c (main): Remove NO_DIR_LIBRARY conditional, unused. |
1030 | ||
d43c06d6 DN |
1031 | * Makefile.in (STARTFILES): Conditionally define to make the usage clear. |
1032 | * s/gnu.h (START_FILES): Remove empty definition. | |
1033 | ||
3e56b11d JD |
1034 | 2010-05-06 Jan Djärv <jan.h.d@swipnet.se> |
1035 | ||
1036 | * xterm.c (x_draw_image_relief): Move declaration of extra to beginning. | |
1037 | ||
e3cf0cde GM |
1038 | 2010-05-06 Glenn Morris <rgm@gnu.org> |
1039 | ||
1040 | * Makefile.in (CPP, LN_S): Remove unused variables. | |
1041 | ||
774b9a60 SM |
1042 | 2010-05-05 Stefan Monnier <monnier@iro.umontreal.ca> |
1043 | ||
1044 | * syntax.c (Fchar_syntax): Check the arg is a character (bug#6080). | |
1045 | ||
4ab92842 LM |
1046 | 2010-05-05 Lawrence Mitchell <wence@gmx.li> |
1047 | ||
1048 | * m/sparc.h: Fix typo in earlier change. | |
1049 | ||
178f2507 SM |
1050 | 2010-05-04 Stefan Monnier <monnier@iro.umontreal.ca> |
1051 | ||
1052 | Misc tweaks. | |
1053 | * eval.c (Fdefvaralias): Remove unintended nested if. | |
1054 | (internal_condition_case_2, internal_condition_case_n): Use ANSI type. | |
1055 | ||
80f00217 | 1056 | 2010-05-04 Bernhard Herzog <bh@intevation.de> (tiny change) |
991be6d4 JD |
1057 | |
1058 | * xsmfns.c (smc_save_yourself_CB): strlen(client_id) => strlen(cwd). | |
1059 | ||
ef03a4e6 DN |
1060 | 2010-05-04 Dan Nicolaescu <dann@ics.uci.edu> |
1061 | ||
58eb6cf0 DN |
1062 | Remove BSD_PGRPS. |
1063 | * s/bsd-common.h (BSD_PGRPS): Remove undef. | |
1064 | * s/gnu-linux.h (BSD_PGRPS): Remove. | |
1065 | * term.c (dissociate_if_controlling_tty): | |
1066 | * sysdep.c (narrow_foreground_group, widen_foreground_group) | |
1067 | (init_sys_modes, reset_sys_modes): | |
1068 | * emacs.c (main): | |
1069 | * callproc.c (Fcall_process, child_setup): Remove code depending | |
1070 | on BSD_PGRPS. | |
1071 | ||
ef03a4e6 DN |
1072 | Remove POSIX_SIGNALS. |
1073 | * s/usg5-4.h (POSIX_SIGNALS): | |
1074 | * s/netbsd.h (POSIX_SIGNALS): | |
1075 | * s/msdos.h (POSIX_SIGNALS): | |
1076 | * s/ms-w32.h (POSIX_SIGNALS): | |
1077 | * s/hpux11.h (POSIX_SIGNALS): | |
1078 | * s/gnu.h (POSIX_SIGNALS): | |
1079 | * s/gnu-linux.h (POSIX_SIGNALS): | |
1080 | * s/freebsd.h (POSIX_SIGNALS): | |
1081 | * s/darwin.h (POSIX_SIGNALS): | |
1082 | * s/cygwin.h (POSIX_SIGNALS): | |
1083 | * s/aix4-2.h (POSIX_SIGNALS): Remove definition. | |
1084 | * s/unixware.h: | |
1085 | * s/sol2-6.h: Remove comments on POSIX_SIGNALS. | |
1086 | * process.c (create_process): | |
1087 | * syssignal.h: | |
1088 | * sysdep.c (wait_for_termination, init_signals): | |
1089 | * process.c (create_process): | |
1090 | * msdos.c: POSIX_SIGNALS is always defined on all platforms, | |
1091 | remove all code that assumes the contrary. | |
1092 | ||
49628785 GM |
1093 | 2010-05-04 Glenn Morris <rgm@gnu.org> |
1094 | ||
27a2cdfc GM |
1095 | * s/gnu-linux.h (LD_SWITCH_SYSTEM): Use LD_SWITCH_X_SITE_AUX as a shell |
1096 | variable. | |
1097 | * s/netbsd.h (LD_SWITCH_SYSTEM_tmp): Remove. | |
1098 | (LD_SWITCH_SYSTEM): Use $LD_SWITCH_X_SITE_AUX_RPATH. | |
1099 | * s/openbsd.h (LD_SWITCH_SYSTEM_tmp): Remove. | |
1100 | (LD_SWITCH_SYSTEM): Use $LD_SWITCH_X_SITE_AUX_RPATH instead of | |
1101 | LD_SWITCH_SYSTEM_tmp. | |
1102 | * Makefile.in (LD_SWITCH_X_SITE_AUX, LD_SWITCH_X_SITE_AUX_RPATH): | |
1103 | New variables, set by configure. | |
1104 | ||
eb21eab5 GM |
1105 | * s/aix4-2.h (LD_SWITCH_SYSTEM_TEMACS): Move to configure.in. |
1106 | * s/darwin.h (HEADERPAD_EXTRA, LIBS_NSGUI): Remove. | |
1107 | (LD_SWITCH_SYSTEM_TEMACS): Move to configure.in. | |
1108 | * Makefile.in (LD_SWITCH_SYSTEM_TEMACS): New variable, set by configure. | |
1109 | (TEMACS_LDFLAGS): Use $LD_SWITCH_SYSTEM_TEMACS. | |
1110 | ||
49628785 GM |
1111 | * s/aix4-2.h (C_SWITCH_SYSTEM): |
1112 | * m/alpha.h (C_SWITCH_MACHINE): | |
1113 | Move to configure.in. | |
1114 | * Makefile.in (C_SWITCH_MACHINE, C_SWITCH_SYSTEM): | |
1115 | New variables, set by configure. | |
1116 | (ALL_CFLAGS): Use $C_SWITCH_MACHINE and $C_SWITCH_SYSTEM in place of | |
1117 | $c_switch_machine and $c_switch_system. | |
1118 | ||
7dff330b DN |
1119 | 2010-05-04 Dan Nicolaescu <dann@ics.uci.edu> |
1120 | ||
1121 | * s/hpux10-20.h (LIB_STANDARD): New definition. | |
1122 | * Makefile.in (ORDINARY_LINK): Remove setting LIB_STANDARD based | |
1123 | on it, not used anymore. | |
1124 | ||
53967e09 CY |
1125 | 2010-05-03 Chong Yidong <cyd@stupidchicken.com> |
1126 | ||
1127 | * eval.c (internal_condition_case_n): Rename from | |
1128 | internal_condition_case_2. | |
1129 | (internal_condition_case_2): New function. | |
1130 | ||
1131 | * xdisp.c (safe_call): Use internal_condition_case_n. | |
1132 | ||
1133 | * fileio.c (Fdelete_file, internal_delete_file): New arg FORCE. | |
1134 | (internal_delete_file, Frename_file): Callers changed. | |
1135 | ||
1136 | * buffer.c (Fkill_buffer): | |
1137 | * callproc.c (delete_temp_file): Callers changed (Bug#6070). | |
1138 | ||
1139 | * lisp.h: Update prototypes. | |
1140 | ||
3dee6fdb GM |
1141 | 2010-05-03 Glenn Morris <rgm@gnu.org> |
1142 | ||
1143 | * Makefile.in (LIBX_EXTRA, LIBX_BASE): New variables. | |
1144 | (LIBXT_OTHER, LIBX_OTHER): New, set by configure. | |
1145 | (LIBXT): Set with configure, not cpp. | |
1146 | (LIBX): Remove. | |
1147 | (LIBES): Replace $LIBX with $LIBX_BASE and $LIBX_OTHER. | |
1148 | ||
a101e0fb DN |
1149 | 2010-05-02 Dan Nicolaescu <dann@ics.uci.edu> |
1150 | ||
1151 | * m/amdx86-64.h (START_FILES, LIB_STANDARD): Remove. | |
1152 | The FreeBSD is not needed, the default works, Solaris version is | |
1153 | not needed, and the remaining case is not supported by configure. | |
1154 | ||
f63d0028 JD |
1155 | 2010-05-02 Jan Djärv <jan.h.d@swipnet.se> |
1156 | ||
1157 | * xsmfns.c (CHDIR_OPT): New define. | |
1158 | (smc_save_yourself_CB): Add CHDIR_OPT to options to use when | |
1159 | restarting emacs. | |
1160 | ||
1161 | * xterm.c (x_connection_closed): Call Fkill_emacs instead of | |
1162 | shut_down_emacs. | |
1163 | ||
1164 | * emacs.c (USAGE1): Mention --chdir. | |
1165 | (main): Handle --chdir. | |
1166 | (standard_args): Add --chdir. | |
1167 | (fatal_error_signal): Call Fkill_emacs for SIGTERM and SIGHUP (Bug | |
1168 | #5552). | |
1169 | ||
e4814a9f DN |
1170 | 2010-05-01 Dan Nicolaescu <dann@ics.uci.edu> |
1171 | ||
cd03c74a DN |
1172 | Remove LD_SWITCH_MACHINE. |
1173 | * Makefile.in (LD_SWITCH_MACHINE): Remove definition, unused. | |
1174 | (TEMACS_LDFLAGS): Do not use LD_SWITCH_MACHINE. | |
1175 | ||
c3a398a1 DN |
1176 | Clean up IRIX code. |
1177 | * m/iris4d.h (TERMINFO, FIRST_PTY_LETTER): Move definitions ... | |
1178 | * s/irix6-5.h (TERMINFO, FIRST_PTY_LETTER): ... here. | |
1179 | ||
87e7285c DN |
1180 | Clean up AIX code. |
1181 | * m/ibmrs6000.inp: Remove file, unused. | |
1182 | * m/ibmrs6000.h (IBMR2AIX): Remove, unused. | |
1183 | (LD_SWITCH_MACHINE): Rename to LD_SWITCH_SYSTEM_TEMACS, and move | |
1184 | definition ... | |
1185 | * s/aix4-2.h (LD_SWITCH_SYSTEM_TEMACS): ... here. | |
1186 | ||
80f00217 JB |
1187 | * sysdep.c (child_setup_tty, init_sys_modes): Remove !IBMR2AIX code, |
1188 | unused. | |
e4814a9f | 1189 | |
59ca28de EZ |
1190 | 2010-05-01 Eli Zaretskii <eliz@gnu.org> |
1191 | ||
197daef4 EZ |
1192 | Emulate POSIX_SIGNALS on MS-Windows. |
1193 | ||
1194 | * s/ms-w32.h (POSIX_SIGNALS, struct sigaction, SIG_BLOCK) | |
1195 | (SIG_SETMASK, SIG_UNBLOCK): Define. | |
d6dae14b EZ |
1196 | |
1197 | * sysdep.c (sys_signal) [WINDOWSNT]: #ifdef away. | |
1198 | (wait_for_termination) [WINDOWSNT]: Move MS-Windows specific code | |
1199 | from non-POSIX_SIGNALS section to POSIX_SIGNALS section. | |
1200 | ||
80f00217 JB |
1201 | * w32.c (sigemptyset, sigaddset, sigfillset, sigprocmask): |
1202 | New stubs. | |
197daef4 | 1203 | |
af7c7572 EZ |
1204 | Miscellaneous fixes of bidi display. |
1205 | ||
59ca28de EZ |
1206 | * xdisp.c (find_row_end): New function, refactored from display_line. |
1207 | (display_line): Use it. | |
017ea819 EZ |
1208 | (extend_face_to_end_of_line): In almost-filled rows, extend only |
1209 | if the row is R2L and not continued. | |
166e930d | 1210 | (display_line): Fix prepending of truncation glyphs to R2L rows. |
af7c7572 | 1211 | Preserve overlay and string info in row->end. |
166e930d EZ |
1212 | (insert_left_trunc_glyphs): Support addition of left truncation |
1213 | glyphs to R2L rows. | |
b47e0dcf | 1214 | (set_cursor_from_row): Don't place cursor on the vertical border |
af7c7572 EZ |
1215 | glyph between adjacent windows. Fix a crash when a display string |
1216 | is continued to the next line. Don't return zero if cursor was | |
1217 | found by `cursor' property of a display string. | |
b47e0dcf EZ |
1218 | (try_cursor_movement): Don't assume that row->end == (row+1)->start, |
1219 | test for that explicitly. | |
59ca28de | 1220 | |
7acac9f4 GM |
1221 | 2010-05-01 Glenn Morris <rgm@gnu.org> |
1222 | ||
1223 | * Makefile.in (gmallocobj, rallocobj, vmlimitobj): Initialize to null, | |
1224 | for clarity. | |
1225 | (OTHER_OBJ): Remove. | |
1226 | (PRE_ALLOC_OBJ, POST_ALLOC_OBJ): New, set by configure. | |
1227 | (otherobj): Use PRE_ALLOC_OBJ, POST_ALLOC_OBJ rather than OTHER_OBJ. | |
1228 | ||
45841e65 KK |
1229 | 2010-05-01 Karel Klíč <kklic@redhat.com> |
1230 | ||
1231 | * fileio.c (Ffile_selinux_context): Context functions may return null. | |
1232 | ||
afc61943 DN |
1233 | 2010-04-30 Dan Nicolaescu <dann@ics.uci.edu> |
1234 | ||
80f00217 | 1235 | * s/gnu.h (POSIX_SIGNALS, START_FILES): New definitions. |
afc61943 | 1236 | |
5a1bb006 GM |
1237 | 2010-04-30 Glenn Morris <rgm@gnu.org> |
1238 | ||
1239 | * Makefile.in (vmlimitobj) [!SYSTEM_MALLOC]: New variable. (Bug#6065) | |
1240 | (OTHER_OBJ): Define as a separate variable, for clarity. | |
1241 | ||
210af043 J |
1242 | 2010-04-30 Jan Djärv <jan.h.d@swipnet.se> |
1243 | ||
1244 | * xsettings.c: include limits.h and update file comment. | |
1245 | ||
0a7df391 GM |
1246 | 2010-04-30 Glenn Morris <rgm@gnu.org> |
1247 | ||
d5096f16 GM |
1248 | * Makefile.in (OLDXMENU, LIBXMENU) [HAVE_MENUS]: |
1249 | Set with configure, not cpp. | |
1250 | (LIBW): Remove, replace with $TOOLKIT_LIBW. | |
1251 | ||
7eb1ac33 GM |
1252 | * Makefile.in (mallocobj): Remove. |
1253 | (otherobj): Simplify using @OTHER_OBJ@. | |
1254 | ||
517d086b GM |
1255 | * Makefile.in (dispnew.o, frame.o, fringe.o, font.o, fontset.o) |
1256 | (keyboard.o, window.o, xdisp.o, xfaces.o, menu.o): | |
1257 | Don't bother making nsgui.h dependency platform-specific. | |
1258 | ||
0a7df391 GM |
1259 | * Makefile.in (nsfns.o): Remove duplicate nsgui.h dependency. |
1260 | ||
d6d23852 SM |
1261 | 2010-04-29 Stefan Monnier <monnier@iro.umontreal.ca> |
1262 | ||
d2630aef SM |
1263 | * process.c (read_process_output, exec_sentinel): Don't burp if the |
1264 | sentinel/filter kills the current buffer (bug#6060). | |
1265 | ||
f9dddf52 | 1266 | Fix wrong-docstring problem introduced with hash-consing. (Bug#6008) |
d6d23852 SM |
1267 | * eval.c (Fautoload): Set doc to a unique number rather than to 0. |
1268 | Remove unused var `args'. | |
1269 | * lisp.h (XSETCARFASTINT, XSETCDRFASTINT): Remove. | |
1270 | (LOADHIST_ATTACH): Wrap with do...while to avoid surprises for callers. | |
1271 | * doc.c (store_function_docstring): Use XSETCAR. | |
1272 | ||
f1e3642a GM |
1273 | 2010-04-28 Glenn Morris <rgm@gnu.org> |
1274 | ||
faf535f8 GM |
1275 | * Makefile.in (BASE_WINDOW_SUPPORT, X_WINDOW_SUPPORT): New variables. |
1276 | (WINDOW_SUPPORT) [HAVE_WINDOW_SYSTEM]: Use them. | |
1277 | ||
c40f9449 GM |
1278 | * Makefile.in (CYGWIN_OBJ): Set with configure, not cpp. |
1279 | ||
658f86ca GM |
1280 | * Makefile.in (GPM_MOUSE_SUPPORT): New, set by configure. |
1281 | (MOUSE_SUPPORT) [!HAVE_MOUSE]: Use $GPM_MOUSE_SUPPORT. | |
1282 | ||
bc0b5f61 GM |
1283 | * Makefile.in (FONT_OBJ): New, set by configure. |
1284 | (FONT_DRIVERS): Use $FONT_OBJ. | |
1285 | ||
294c50a0 GM |
1286 | * Makefile.in (LIBXMU): Set with configure, not cpp. |
1287 | * s/aix4-2.h (LIBXMU): | |
1288 | * s/hpux10-20.h (LIBXMU): | |
1289 | Remove definition, now set in configure. | |
1290 | ||
e6ec4e99 GM |
1291 | * Makefile.in (NS_OBJ, NS_SUPPORT): Set with configure, not cpp. |
1292 | ||
f1e3642a GM |
1293 | * m/amdx86-64.h [i386]: Move this test to configure.in. |
1294 | ||
c6ea2936 GM |
1295 | 2010-04-27 Glenn Morris <rgm@gnu.org> |
1296 | ||
8fdac2c3 GM |
1297 | * Makefile.in (LIBXTR6): Set with configure, not cpp. |
1298 | * s/unixware.h (NEED_LIBW): Remove definition. | |
1299 | ||
986fb647 GM |
1300 | * Makefile.in (LUCID_LIBW, MOTIF_LIBW): Remove, replacing by... |
1301 | (TOOLKIT_LIBW): New, set by configure. | |
1302 | (@X_TOOLKIT_TYPE@): No longer define it. | |
1303 | ||
c6ea2936 GM |
1304 | * Makefile.in (LIBXP): Remove, since included in MOTIF_LIBW. |
1305 | (MOTIF_LIBW): Set with configure, not cpp. | |
1306 | * s/aix4-2.h (LIB_MOTIF): | |
1307 | * s/gnu-linux.h (LIB_MOTIF): | |
1308 | * s/unixware.h (LIB_MOTIF): Move to configure.in. | |
1309 | ||
aaa36002 DN |
1310 | 2010-04-27 Dan Nicolaescu <dann@ics.uci.edu> |
1311 | ||
1312 | Reduce CPP usage. | |
1313 | * Makefile.in (LIB_X11_LIB): Remove, inline in the only user. | |
1314 | (obj): Use autoconf for unexec instead of cpp. | |
ed6281b0 DN |
1315 | (C_SWITCH_SYSTEM, C_SWITCH_MACHINE, C_SWITCH_X_SITE): Remove |
1316 | definitions and undefs. Inline definitions in the only user. | |
1317 | (ALL_CFLAGS): Substitute C_SWITCH_X_SYSTEM using autoconf. | |
aaa36002 | 1318 | |
b678dd8b GM |
1319 | 2010-04-27 Glenn Morris <rgm@gnu.org> |
1320 | ||
76cda504 GM |
1321 | * m/amdx86-64.h (START_FILES, LIB_STANDARD): Change the logic around, |
1322 | since the defaults (set by the system file) are fine in most cases. | |
1323 | [GNU_LINUX, __OpenBSD__, __NetBSD__, __APPLE__]: Remove sections. | |
1324 | * m/ibms390x.h (START_FILES, LIB_STANDARD): | |
1325 | * m/macppc.h (START_FILES, LIB_STANDARD) [GNU_LINUX]: | |
1326 | * m/sparc.h (START_FILES, LIB_STANDARD) [__linux__]: | |
1327 | Remove definitions, since they are set correctly in s/gnu-linux.h. | |
1328 | * s/freebsd.h (START_FILES, LIB_STANDARD): | |
1329 | * s/gnu-linux.h (START_FILES, LIB_STANDARD): | |
1330 | * s/hpux10-20.h (START_FILES): | |
1331 | * s/netbsd.h (START_FILES, LIB_STANDARD, START_FILES_1, END_FILES_1): | |
1332 | Use $CRT_DIR in place of fixed /usr/lib, /lib directories. | |
1333 | ||
b678dd8b GM |
1334 | * Makefile.in (LIBXP, LUCID_LIBW, WIDGET_OBJ): Set via configure. |
1335 | (MOTIF_LIBW): Use $LIBXP. | |
1336 | (otherobj): Use $WIDGET_OBJ. | |
1337 | ||
9452ded1 DN |
1338 | 2010-04-26 Dan Nicolaescu <dann@ics.uci.edu> |
1339 | ||
7e10844c DN |
1340 | * Makefile.in (LIBS_MACHINE): Remove, unused. |
1341 | ||
9452ded1 DN |
1342 | Use autoconf instead of cpp for LIB_MATH. |
1343 | * s/darwin.h (LIB_MATH): Do not define here, move to configure. | |
1344 | * s/cygwin.h (LIB_MATH): Likewise. | |
1345 | * Makefile.in (LIB_MATH): Do not define with cpp. | |
1346 | (LIBES): Use autoconf for LIB_MATH. | |
1347 | ||
fcebfc6a KH |
1348 | 2010-04-26 Kenichi Handa <handa@m17n.org> |
1349 | ||
1350 | * composite.c (Ffind_composition_internal): Fix the return value | |
1351 | for an automatic composition. | |
1352 | ||
39e2ad1b DN |
1353 | 2010-04-25 Dan Nicolaescu <dann@ics.uci.edu> |
1354 | ||
1355 | Remove all NO_ARG_ARRAY uses. | |
1356 | * fns.c (concat2, concat3, nconc2): | |
1357 | * eval.c (apply1, call1, call2, call3, call4, call5, call6) | |
1358 | (call7): Remove NO_ARG_ARRAY usage, assume it's always true. | |
1359 | * m/xtensa.h (NO_ARG_ARRAY): | |
1360 | * m/template.h (NO_ARG_ARRAY): | |
1361 | * m/sparc.h (NO_ARG_ARRAY): | |
1362 | * m/sh3.h (NO_ARG_ARRAY): | |
1363 | * m/mips.h (NO_ARG_ARRAY): | |
1364 | * m/macppc.h (NO_ARG_ARRAY): | |
1365 | * m/iris4d.h (NO_ARG_ARRAY): | |
1366 | * m/intel386.h (NO_ARG_ARRAY): | |
1367 | * m/ibms390x.h (NO_ARG_ARRAY): | |
1368 | * m/ibms390.h (NO_ARG_ARRAY): | |
1369 | * m/ibmrs6000.h (NO_ARG_ARRAY): | |
1370 | * m/ia64.h (NO_ARG_ARRAY): | |
1371 | * m/hp800.h (NO_ARG_ARRAY): | |
1372 | * m/arm.h (NO_ARG_ARRAY): | |
1373 | * m/amdx86-64.h (NO_ARG_ARRAY): | |
1374 | * m/alpha.h (NO_ARG_ARRAY): Remove definition. | |
1375 | ||
adf4f59c EZ |
1376 | 2010-04-25 Eli Zaretskii <eliz@gnu.org> |
1377 | ||
6bdf5d65 EZ |
1378 | * xdisp.c (display_line): Don't assume 2nd call to |
1379 | get_next_display_element cannot return zero. (Bug#6030) | |
f538fcec EZ |
1380 | (iterate_out_of_display_property): New function, body from pop_it. |
1381 | (pop_it): Use it. | |
adf4f59c | 1382 | |
dfbbda83 GM |
1383 | 2010-04-24 Glenn Morris <rgm@gnu.org> |
1384 | ||
1385 | * m/amdx86-64.h (START_FILES, LIB_STANDARD) [__OpenBSD__]: | |
1386 | For clarity, revert to using fixed /usr/lib rather than $CRT_DIR. | |
1387 | (START_FILES, LIB_STANDARD) [__FreeBSD__]: Merge into the generic case, | |
1388 | since CRT_DIR defaults to /usr/lib. Suggested by Dan Nicolaescu. | |
1389 | ||
2d4018aa EZ |
1390 | 2010-04-24 Eli Zaretskii <eliz@gnu.org> |
1391 | ||
a49884a6 EZ |
1392 | * xdisp.c (display_line): Use `reseat' instead of `reseat_1', and |
1393 | use `get_next_display_element' and `set_iterator_to_next' to | |
1394 | advance to the next character, when looking for the character that | |
1395 | begins the next row. | |
1396 | ||
76db6fcc | 1397 | * .gdbinit: Add a "set Fmake_symbol" line to force GDB to load the |
2d4018aa EZ |
1398 | definition of "struct Lisp_Symbol". |
1399 | ||
70eab5c1 GM |
1400 | 2010-04-24 Glenn Morris <rgm@gnu.org> |
1401 | ||
1402 | * Makefile.in (CRT_DIR): New variable, set by configure. | |
1403 | * m/amdx86-64.h, m/ibms390x.h (START_FILES, LIB_STANDARD): | |
1404 | Use $CRT_DIR rather than HAVE_LIB64_DIR. (Bug#5655) | |
1405 | ||
1ad4cc3d DN |
1406 | 2010-04-23 Dan Nicolaescu <dann@ics.uci.edu> |
1407 | ||
e769f484 DN |
1408 | * Makefile.in: Remove C_SWITCH_X_MACHINE, unused. |
1409 | ||
4196ff33 DN |
1410 | * s/cygwin.h (LIBS_DEBUG): Remove, unused. |
1411 | ||
879b0ee4 DN |
1412 | Remove redundant flags. |
1413 | * s/freebsd.h (C_SWITCH_SYSTEM): | |
1414 | * s/hpux10-20.h (C_SWITCH_X_SYSTEM, LD_SWITCH_X_DEFAULT): | |
1415 | * s/netbsd.h (C_SWITCH_SYSTEM): | |
1416 | * s/openbsd.h (LD_SWITCH_X_DEFAULT): Remove, configure takes care | |
1417 | of these. | |
1418 | ||
03cbbcb8 DN |
1419 | Simplify m/intel386.h. |
1420 | * m/intel386.h (CRT0_DUMMIES): Remove, inline value in the only | |
1421 | user: ecrt0.c. | |
1422 | (SOLARIS2): Remove LOAD_AVE_TYPE, LOAD_AVE_CVT, LIBS_MACHINE, unused. | |
1423 | (USG5_4): Move LOAD_AVE_TYPE, LOAD_AVE_CVT, FSCALE definitions to | |
1424 | the only user: s/unixware.h. | |
1425 | * ecrt0.c: Remove #ifndef static. Inline CRT0_DUMMIES definition | |
1426 | from m/intel386.h. | |
1427 | * s/unixware.h (LOAD_AVE_TYPE, LOAD_AVE_CVT, FSCALE): Definitions | |
1428 | moved here from m/intel386.h. | |
1429 | ||
1ad4cc3d DN |
1430 | * m/mips.h: Remove #if 0 code. |
1431 | ||
8785b888 EZ |
1432 | 2010-04-23 Eli Zaretskii <eliz@gnu.org> |
1433 | ||
728588cc EZ |
1434 | Fix display of composed characters from L2R scripts in bidi buffers. |
1435 | * xdisp.c (set_iterator_to_next, next_element_from_composition): | |
1436 | After advancing IT past the composition, resync the bidi iterator | |
1437 | with IT's position. (Bug#5977) | |
1438 | ||
a63f80b4 DN |
1439 | 2010-04-23 Dan Nicolaescu <dann@ics.uci.edu> |
1440 | ||
1441 | * Makefile.in (LD_SWITCH_MACHINE_TEMACS): Remove, unused. | |
1442 | (TEMACS_LDFLAGS): Don't use LD_SWITCH_SYSTEM_TEMACS. | |
1443 | ||
ff5dec5c SM |
1444 | 2010-04-23 Stefan Monnier <monnier@iro.umontreal.ca> |
1445 | ||
1446 | * gtkutil.c: Include xsettings.h for Ftool_bar_get_system_style. | |
1447 | ||
8785b888 EZ |
1448 | 2010-04-23 Eli Zaretskii <eliz@gnu.org> |
1449 | ||
58ccf243 | 1450 | Support `display' text properties and overlay strings in bidi buffers. |
8785b888 EZ |
1451 | * xdisp.c (pop_it): When the stack is popped after displaying |
1452 | from a string, bidi-iterate to exit from the text portion covered | |
1453 | by the `display' property or overlay. (Bug#5988, bug#5920) | |
1454 | ||
feeb1604 DN |
1455 | 2010-04-23 Dan Nicolaescu <dann@ics.uci.edu> |
1456 | ||
8e324eb6 DN |
1457 | * m/macppc.h (LD_SWITCH_SYSTEM_TEMACS): Remove #undef. |
1458 | (LD_SWITCH_MACHINE_TEMACS): Remove, configure sets nocombreloc. | |
1459 | ||
809fcaba DN |
1460 | * s/netbsd.h (LD_SWITCH_SYSTEM_TEMACS): Remove, configure sets nocombreloc. |
1461 | * s/openbsd.h (LD_SWITCH_SYSTEM_TEMACS): Remove. | |
1462 | ||
ed710380 DN |
1463 | Simplify STARTFILES definition. |
1464 | * s/hpux10-20.h (START_FILES): Explicitly define here instead of | |
1465 | relying on Makefile.in to define it. | |
1466 | * s/cygwin.h (START_FILES): Likewise. | |
1467 | * Makefile.in (STARTFILES): Remove conditional code, not needed anymore. | |
1468 | ||
feeb1604 DN |
1469 | Clean up Solaris code. |
1470 | * s/sol2-6.h (LD_SWITCH_SYSTEM_TEMACS, C_SWITCH_X_SYSTEM) | |
1471 | (LIB_MOTIF): Remove, configure takes care of this. | |
1472 | (NOT_USING_MOTIF): Remove, unused. | |
1473 | * xrdb.c: Remove #if 0-ed #include. | |
1474 | (SYSV): Remove conditional for old SysV. | |
1475 | * sysdep.c (closedir): Remove conditional code for Solaris, | |
1476 | Solaris has closedir. | |
1477 | ||
a0d0b563 JD |
1478 | 2010-04-22 Jan Djärv <jan.h.d@swipnet.se> |
1479 | ||
1480 | * xsettings.c (read_and_apply_settings): Check if current_font is | |
1481 | NULL before strcmp (Bug#6001). | |
1482 | ||
56bae7c7 DN |
1483 | 2010-04-21 Dan Nicolaescu <dann@ics.uci.edu> |
1484 | ||
1485 | Clean up HP-UX files. | |
1486 | * m/hp800.h (NO_REMAP, VIRT_ADDR_VARIES, DATA_SEG_BITS) | |
1487 | (DATA_START, TEXT_START, LOAD_AVE_TYPE, LOAD_AVE_CVT) | |
1488 | (LDAV_SYMBOL, index, rindex): Move definitions only used in HP-UX ... | |
1489 | * s/hpux10-20.h: ... to the only user, here. | |
1490 | ||
372b7a95 EZ |
1491 | 2010-04-21 Eli Zaretskii <eliz@gnu.org> |
1492 | ||
1493 | * bidi.c (bidi_find_paragraph_start, bidi_at_paragraph_end): Don't | |
1494 | use buffer-local values of paragraph-start and paragraph-separate. | |
1495 | <paragraph_start_re, paragraph_separate_re>: Rename from | |
1496 | fallback_paragraph_start_re and fallback_paragraph_separate_re. | |
1497 | (Bug#5992) | |
1498 | ||
f904c0f9 JD |
1499 | 2010-04-21 Jan Djärv <jan.h.d@swipnet.se> |
1500 | ||
1501 | * xsettings.c: Qmonospace_font_name, Qtool_bar_style and | |
1502 | current_tool_bar_style are new. | |
1503 | (store_config_changed_event): Rename from store_font_changed_event. | |
1504 | (XSETTINGS_TOOL_BAR_STYLE): New define. | |
1505 | (SEEN_FONT, SEEN_TB_STYLE): New enum values. | |
1506 | (struct xsettings): Add font and tb_style, set xft stuff inside #ifdef | |
1507 | HAVE_XFT. | |
1508 | (something_changedCB): store_font_changed_event is now | |
1509 | store_config_changed_event | |
1510 | (parse_settings): Rename from parse_xft_settings. Read | |
1511 | non-xft xsettings outside #ifdef HAVE_XFT. | |
1512 | (read_settings): Renamed from read_xft_settings. | |
1513 | (apply_xft_settings): Take current settings as parameter. Do not | |
1514 | call read_(xft)_settings. | |
1515 | (read_and_apply_settings): New function. | |
1516 | (xft_settings_event): Do non-xft stuff out of HAVE_XFT. Call | |
1517 | read_and_apply_settings if there are settings to be read. | |
1518 | (init_xsettings): Renamed from init_xfd_settings. | |
1519 | Call read_and_apply_settings unconditionally. | |
1520 | (xsettings_initialize): Call init_xsettings. | |
1521 | (Ftool_bar_get_system_style): New function. | |
1522 | (syms_of_xsettings): Define Qmonospace_font_name and | |
1523 | Qtool_bar_style. Initialize current_tool_bar_style to nil. | |
f9dddf52 | 1524 | defsubr Stool_bar_get_system_style. Fprovide on |
f904c0f9 | 1525 | dynamic-setting. |
31a01b90 | 1526 | Move misplaced HAVE_GCONF |
f904c0f9 JD |
1527 | |
1528 | * xsettings.h (Ftool_bar_get_system_style): Declare. | |
1529 | ||
1530 | * xdisp.c: Vtool_bar_style, tool_bar_max_label_size, | |
1531 | Qtext, Qboth, Qboth_horiz are new. | |
1532 | (syms_of_xdisp): Intern Qtext, Qboth, Qboth_horiz, DEFVAR | |
1533 | Vtool_bar_style, tool_bar_max_label_size. | |
1534 | ||
1535 | * lisp.h: Extern declare Qtext, Qboth, Qboth_horiz. | |
1536 | ||
1537 | * keyboard.c: QClabel is new. | |
1538 | (parse_tool_bar_item): Take out QClabel from tool bar items. | |
1539 | Try to construct a label if ther is no QClabel. | |
1540 | (syms_of_keyboard): Intern :label as QClabel. | |
1541 | ||
1542 | * dispextern.h (tool_bar_item_idx): TOOL_BAR_ITEM_LABEL is new. | |
1543 | (Vtool_bar_style, tool_bar_max_label_size, DEFAULT_TOOL_BAR_LABEL_SIZE): | |
1544 | New. | |
1545 | ||
1546 | * Makefile.in (SOME_MACHINE_LISP): font-setting.el renamed to | |
1547 | dynamic-setting.el. | |
1548 | ||
1549 | * gtkutil.c (xg_tool_bar_menu_proxy): Handle label in tool bar item. | |
1550 | (xg_make_tool_item, xg_show_toolbar_item): New function. | |
1551 | (update_frame_tool_bar): Take label from TOOL_BAR_ITEM_LABEL. | |
1552 | Call xg_make_tool_item to make a tool bar item. | |
1553 | Call xg_show_toolbar_item. Use wtoolbar instead of x->toolbar_widget. | |
1554 | ||
1555 | * xterm.c (x_draw_image_relief): Take Vtool_bar_button_margin | |
1556 | into account for toolbars. | |
1557 | ||
c632dfda JD |
1558 | 2010-04-21 Jan Djärv <jan.h.d@swipnet.se> |
1559 | ||
1560 | * data.c (make_blv): Declarations before code (Bug#5993). | |
1561 | ||
10efe302 GM |
1562 | 2010-04-21 Glenn Morris <rgm@gnu.org> |
1563 | ||
1564 | * Makefile.in (DBUS_OBJ, GTK_OBJ, XMENU_OBJ, XOBJ): | |
1565 | Define using autoconf, not cpp. | |
1566 | (LIBXSM): New variable, set by autoconf. | |
1567 | (LIBXT): Use $LIBXSM. | |
1568 | ||
4285ac5a DN |
1569 | 2010-04-21 Dan Nicolaescu <local_user@dannlt> |
1570 | ||
3ec759e7 DN |
1571 | Remove NOMULTIPLEJOBS, unused. |
1572 | * s/template.h (NOMULTIPLEJOBS): | |
1573 | * s/msdos.h (NOMULTIPLEJOBS): Remove, unused. | |
1574 | ||
4285ac5a DN |
1575 | Simplify LD_SWITCH_SYSTEM_TEMACS usage. |
1576 | * s/freebsd.h (LD_SWITCH_SYSTEM_TEMACS): | |
1577 | * s/gnu-linux.h (LD_SWITCH_SYSTEM_TEMACS): Remove, configure | |
1578 | detects -znocombreloc and passes it to the linker | |
1579 | * s/hpux10-20.h (LD_SWITCH_SYSTEM_TEMACS): Remove, empty. | |
1580 | ||
2807228d GM |
1581 | 2010-04-21 Glenn Morris <rgm@gnu.org> |
1582 | ||
1583 | * Makefile.in (LIBSELINUX_LIBS): Move out of #ifdef. | |
1584 | ||
574c05e2 KK |
1585 | 2010-04-21 Karel Klíč <kklic@redhat.com> |
1586 | ||
1587 | * Makefile.in (LIBSELINUX_LIBS): New. | |
1588 | (LIBES): Add $LIBSELINUX_LIBS. | |
1589 | * eval.c, lisp.h (call7): New function. | |
1590 | * fileio.c [HAVE_LIBSELINUX]: Include selinux headers. | |
1591 | (Ffile_selinux_context, Fset_file_selinux_context): | |
1592 | New functions. | |
1593 | (Fcopy_file): New parameter preserve-selinux-context. | |
1594 | (Frename_file): Preserve selinux context when renaming by copy-file. | |
1595 | ||
91eac4bb | 1596 | 2010-04-21 Juanma Barranquero <lekktu@gmail.com> |
acd0102a | 1597 | Eli Zaretskii <eliz@gnu.org> |
91eac4bb | 1598 | |
50426a04 JB |
1599 | Don't depend on cm.c or termcap.c on Windows, use stubs. |
1600 | * makefile.w32-in (OBJ1): Remove cm.$(O) and termcap.$(O). | |
1601 | ($(BLD)/cm.$(O), $(BLD)/termcap.$(O)): Remove. | |
1602 | * w32console.c (current_tty, cost): New vars; lifted from cm.c. | |
1603 | (evalcost, cmputc, cmcheckmagic, cmcostinit, cmgoto, Wcm_clear) | |
1604 | (sys_tputs, sys_tgetstr): New stubs. | |
1605 | * s/ms-w32.h (chcheckmagic, cmcostinit, cmgoto, cmputc, Wcm_clear) | |
1606 | (tputs, tgetstr): New; define to sys_*. | |
91eac4bb | 1607 | |
938efb77 JB |
1608 | 2010-04-20 Juanma Barranquero <lekktu@gmail.com> |
1609 | ||
1610 | * buffer.c (syms_of_buffer) <bidi-display-reordering>: Doc fix. | |
1611 | ||
b4bf28b7 SM |
1612 | 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca> |
1613 | ||
8b1e1112 SM |
1614 | * data.c (Fmake_variable_buffer_local, Fmake_local_variable): |
1615 | Just signal a warning rather than an error when inside a let. | |
1616 | (Fmake_variable_frame_local): Add the same test. | |
1617 | ||
933ac235 SM |
1618 | * font.c (syms_of_font): Make the style table vars read-only. |
1619 | ||
b4bf28b7 SM |
1620 | * buffer.h (struct buffer): Remove unused var `direction_reversed'. |
1621 | * buffer.c (init_buffer_once, syms_of_buffer): Remove its initialization. | |
1622 | ||
1623 | * bidi.c (bidi_initialize): Simplify fallback_paragraph_*_re init. | |
1624 | ||
93d68d0c EZ |
1625 | 2010-04-20 Eli Zaretskii <eliz@gnu.org> |
1626 | ||
1627 | Fix R2L paragraph display on TTY. | |
1628 | ||
1629 | * xdisp.c (unproduce_glyphs): New function. | |
1630 | (display_line): Use it when produced glyphs are discarded from R2L | |
1631 | glyph rows. | |
1632 | (append_composite_glyph): In R2L rows, prepend the glyph rather | |
1633 | than appending it. | |
1634 | ||
1635 | * term.c (append_composite_glyph): In R2L rows, prepend the glyph | |
1636 | rather than append it. Set up the resolved_level and bidi_type | |
1637 | attributes of the appended glyph. | |
283ccc18 EZ |
1638 | (produce_special_glyphs): Mirror the backslash continuation |
1639 | character in R2L lines. | |
93d68d0c | 1640 | |
283ccc18 | 1641 | Implement display of R2L paragraphs in GUI sessions. |
26cdf528 | 1642 | |
283ccc18 EZ |
1643 | * xdisp.c [HAVE_WINDOW_SYSTEM]: Add prototype for |
1644 | append_stretch_glyph. | |
1645 | (set_cursor_from_row) <cursor_x>: Remove unused variable. Fix | |
1646 | off-by-one error in computing x at end of text in the row. | |
1647 | (append_stretch_glyph): In reversed row, prepend the glyph rather | |
1648 | than append it. Set resolved_level and bidi_type of the glyph. | |
1649 | (extend_face_to_end_of_line): If the row is reversed, prepend a | |
1650 | stretch glyph whose width is such that the rightmost glyph will be | |
1651 | drawn at the right margin of the window. Fix off-by-one error on | |
1652 | TTY frames in testing whether a line needs face extension. Fix | |
1653 | face extension at ZV. If this is the last glyph row, use | |
1654 | DEFAULT_FACE_ID, to avoid painting the rest of the window with the | |
1655 | region face. | |
1656 | (set_cursor_from_row, display_line): Use | |
26cdf528 EZ |
1657 | MATRIX_ROW_CONTINUATION_LINE_P instead of testing value of |
1658 | row->continuation_lines_width. | |
283ccc18 EZ |
1659 | (next_element_from_buffer): Don't call bidi_paragraph_init if we |
1660 | are at ZV. Fixes a crash when reseated to ZV by | |
1661 | try_window_reusing_current_matrix. | |
45903529 EZ |
1662 | (display_and_set_cursor, erase_phys_cursor): Handle negative HPOS, |
1663 | which happens with R2L glyph rows. Fixes a crash when inserting a | |
1664 | character at end of an R2L line. | |
283ccc18 EZ |
1665 | (set_cursor_from_row): Don't be fooled by truncated rows: don't |
1666 | treat them as having zero-width characters. Improve comments. | |
1667 | Don't reverse pos_before and pos_after for reversed glyph rows. | |
1668 | Set cursor.x to negative value when the cursor might be on the | |
1669 | left fringe. | |
1670 | (IT_OVERFLOW_NEWLINE_INTO_FRINGE): For R2L lines, consider the | |
1671 | left fringe, not the right one. | |
f951a506 EZ |
1672 | (notice_overwritten_cursor, draw_phys_cursor_glyph) |
1673 | (erase_phys_cursor): For reversed cursor_row, support cursor on | |
1674 | the left fringe. | |
1675 | ||
283ccc18 EZ |
1676 | * fringe.c (update_window_fringes): For R2L rows, swap the bitmaps |
1677 | of continuation indicators on the fringes. | |
1678 | (draw_fringe_bitmap): For reversed glyph rows, allow cursor on the | |
1679 | left fringe. | |
1680 | ||
f951a506 EZ |
1681 | * w32term.c (w32_draw_window_cursor): For reversed glyph rows, |
1682 | draw cursor on the left fringe. | |
1683 | ||
1684 | * xterm.c (x_draw_window_cursor): For reversed glyph rows, draw | |
1685 | cursor on the left fringe. | |
1686 | ||
f951a506 EZ |
1687 | * dispnew.c (update_text_area): Handle reversed desired rows when |
1688 | the cursor is on the left fringe. | |
1689 | (set_window_cursor_after_update): Limit cursor's hpos by -1 from | |
1690 | below, not by 0, for when the cursor is on the left fringe. | |
1691 | ||
3bb49aaf JD |
1692 | 2010-04-20 Jan Djärv <jan.h.d@swipnet.se> |
1693 | ||
1694 | * gtkutil.c (xg_event_is_for_scrollbar): Check if grabbed | |
1695 | widget is a scrollbar. | |
1696 | ||
c0be27fd KH |
1697 | 2010-04-20 Kenichi Handa <handa@m17n.org> |
1698 | ||
1699 | * charset.c (char_charset): Consider Vcharset_non_preferred_head | |
1700 | only when the arg CHARSET_LIST is nil. | |
1701 | ||
ce5b453a SM |
1702 | 2010-04-20 Stefan Monnier <monnier@iro.umontreal.ca> |
1703 | ||
1704 | Make variable forwarding explicit rather the using special values. | |
1705 | Basically, this makes the structure of buffer-local values and object | |
1706 | forwarding explicit in the type of Lisp_Symbols rather than use | |
1707 | special Lisp_Objects for that. This tends to lead to slightly more | |
1708 | verbose code, but is more C-like, simpler, and makes it easier to make | |
1709 | sure we handled all cases, among other things by letting the compiler | |
1710 | help us check it. | |
1711 | * lisp.h (enum Lisp_Misc_Type, union Lisp_Misc): | |
1712 | Removing forwarding objects. | |
1713 | (enum Lisp_Fwd_Type, enum symbol_redirect, union Lisp_Fwd): New types. | |
1714 | (struct Lisp_Symbol): Make the various forms of variable-forwarding | |
1715 | explicit rather than hiding them inside Lisp_Object "values". | |
1716 | (XFWDTYPE): New macro. | |
1717 | (XINTFWD, XBOOLFWD, XOBJFWD, XKBOARD_OBJFWD): Redefine. | |
1718 | (XBUFFER_LOCAL_VALUE): Remove. | |
1719 | (SYMBOL_VAL, SYMBOL_ALIAS, SYMBOL_BLV, SYMBOL_FWD, SET_SYMBOL_VAL) | |
1720 | (SET_SYMBOL_ALIAS, SET_SYMBOL_BLV, SET_SYMBOL_FWD): New macros. | |
1721 | (SYMBOL_VALUE, SET_SYMBOL_VALUE): Remove. | |
1722 | (struct Lisp_Intfwd, struct Lisp_Boolfwd, struct Lisp_Objfwd) | |
1723 | (struct Lisp_Buffer_Objfwd, struct Lisp_Kboard_Objfwd): | |
1724 | Remove the Lisp_Misc_* header. | |
1725 | (struct Lisp_Buffer_Local_Value): Redefine. | |
1726 | (BLV_FOUND, SET_BLV_FOUND, BLV_VALUE, SET_BLV_VALUE): New macros. | |
1727 | (struct Lisp_Misc_Any): Add filler to get the right size. | |
1728 | (struct Lisp_Free): Use struct Lisp_Misc_Any rather than struct | |
1729 | Lisp_Intfwd. | |
1730 | (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL, DEFVAR_INT) | |
1731 | (DEFVAR_KBOARD): Allocate a forwarding object. | |
1732 | * data.c (do_blv_forwarding, store_blv_forwarding): New macros. | |
1733 | (let_shadows_global_binding_p): New function. | |
1734 | (union Lisp_Val_Fwd): New type. | |
1735 | (make_blv): New function. | |
1736 | (swap_in_symval_forwarding, indirect_variable, do_symval_forwarding) | |
1737 | (store_symval_forwarding, swap_in_global_binding, Fboundp) | |
1738 | (swap_in_symval_forwarding, find_symbol_value, Fset) | |
1739 | (let_shadows_buffer_binding_p, set_internal, default_value) | |
1740 | (Fset_default, Fmake_variable_buffer_local, Fmake_local_variable) | |
1741 | (Fkill_local_variable, Fmake_variable_frame_local) | |
1742 | (Flocal_variable_p, Flocal_variable_if_set_p) | |
1743 | (Fvariable_binding_locus): | |
1744 | * xdisp.c (select_frame_for_redisplay): | |
1745 | * lread.c (Fintern, Funintern, init_obarray, defvar_int) | |
1746 | (defvar_bool, defvar_lisp_nopro, defvar_lisp, defvar_kboard): | |
1747 | * frame.c (store_frame_param): | |
1748 | * eval.c (Fdefvaralias, Fuser_variable_p, specbind, unbind_to): | |
1749 | * bytecode.c (Fbyte_code) <varref, varset>: Adapt to the new symbol | |
1750 | value structure. | |
1751 | * buffer.c (PER_BUFFER_SYMBOL): Move from buffer.h. | |
1752 | (clone_per_buffer_values): Only adjust markers into the current buffer. | |
1753 | (reset_buffer_local_variables): PER_BUFFER_IDX is never -2. | |
1754 | (Fbuffer_local_value, set_buffer_internal_1) | |
1755 | (swap_out_buffer_local_variables): | |
1756 | Adapt to the new symbol value structure. | |
1757 | (DEFVAR_PER_BUFFER): Allocate a Lisp_Buffer_Objfwd object. | |
1758 | (defvar_per_buffer): Take a new arg for the fwd object. | |
1759 | (buffer_lisp_local_variables): Return a proper alist (different fix | |
1760 | for bug#4138). | |
1761 | * alloc.c (Fmake_symbol): Use SET_SYMBOL_VAL. | |
1762 | (Fgarbage_collect): Don't handle buffer_defaults specially. | |
1763 | (mark_object): Handle new symbol value structure rather than the old | |
1764 | special Lisp_Misc_* objects. | |
1765 | (gc_sweep) <symbols>: Free also the buffer-local-value objects. | |
1766 | * term.c (set_tty_color_mode): | |
1767 | * bidi.c (bidi_initialize): Don't access the ->value field directly. | |
1768 | * buffer.h (PER_BUFFER_VAR_OFFSET): Don't bother with | |
1769 | a buffer_local_flags. | |
1770 | * print.c (print_object): Get rid of impossible forwarding objects. | |
1771 | ||
fd3998ff EZ |
1772 | 2010-04-19 Eli Zaretskii <eliz@gnu.org> |
1773 | ||
1774 | * bidi.c (bidi_get_type, bidi_get_category) | |
1775 | (bidi_at_paragraph_end, bidi_resolve_weak, bidi_resolve_neutral) | |
ce5b453a SM |
1776 | (bidi_type_of_next_char, bidi_level_of_next_char): |
1777 | Declare static. Use `INLINE' rather than `inline'. | |
fd3998ff | 1778 | |
e42cd1a7 JB |
1779 | 2010-04-19 Juanma Barranquero <lekktu@gmail.com> |
1780 | ||
1781 | * dired.c (Ffile_attributes): Fix typo in docstring. | |
1782 | ||
6e104790 | 1783 | 2010-04-19 Adrian Robert <Adrian.B.Robert@gmail.com> |
79353a53 AR |
1784 | |
1785 | * nsmenu.m (EmacsDialog-runDialogAt:): Declare ret as | |
1786 | NSInteger (Bug#5811). | |
1787 | ||
6e104790 | 1788 | 2010-04-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
658b9b93 YM |
1789 | |
1790 | * s/darwin.h (PTY_ITERATION, PTY_NAME_SPRINTF, PTY_TTY_NAME_SPRINTF) | |
1791 | (PTY_OPEN): New defines. Use openpty (Bug#726, Bug#5819). | |
1792 | ||
6e104790 | 1793 | 2010-04-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
16009a0e YM |
1794 | |
1795 | * frame.h (FRAME_LINE_TO_PIXEL_Y): Add missing parenthesis. | |
1796 | ||
6e104790 SM |
1797 | 2010-04-19 Chong Yidong <cyd@stupidchicken.com> |
1798 | ||
1799 | * xdisp.c (prepare_menu_bars): Don't call ns_set_doc_edited for | |
1800 | terminal frames (Bug#5837). | |
1801 | ||
37dcfea0 EZ |
1802 | 2010-04-19 Eli Zaretskii <eliz@gnu.org> |
1803 | ||
d1da276f EZ |
1804 | * .gdbinit (xsubchartable): New command. |
1805 | ||
37dcfea0 EZ |
1806 | 2010-04-19 Eli Zaretskii <eliz@gnu.org> |
1807 | ||
1808 | * xdisp.c (display_line): Don't write beyond the last glyph row in | |
9166b0f3 | 1809 | the desired matrix. Fixes a crash in "emacs -nw" (bug#5972), see |
37dcfea0 EZ |
1810 | http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00075.html |
1811 | and | |
1812 | http://lists.gnu.org/archive/html/emacs-devel/2010-04/msg00213.html | |
1813 | ||
e9515805 SM |
1814 | 2010-04-18 Stefan Monnier <monnier@iro.umontreal.ca> |
1815 | ||
1816 | * alloc.c (Fpurecopy): Hash-cons if requested. | |
1817 | (syms_of_alloc): Update purify-flag docstring. | |
1818 | ||
22aa44a8 JD |
1819 | 2010-04-18 Jan Djärv <jan.h.d@swipnet.se> |
1820 | ||
1821 | * gtkutil.c (xg_set_geometry): Set size in geometry string also. | |
1822 | (x_wm_set_size_hint): Set USER_POS in hint_flags (Bug#5968). | |
1823 | ||
ebb5722e EZ |
1824 | 2010-04-17 Eli Zaretskii <eliz@gnu.org> |
1825 | ||
1826 | Fix a crash when an NSM character is inserted at BEGV. | |
1827 | ||
1828 | * bidi.c (bidi_init_it): Fix initialization of bidi_it->prev. | |
1829 | (bidi_resolve_weak): Don't use prev.type_after_w1 if it is | |
1830 | NEUTRAL_B or UNKNOWN_BT. | |
1831 | ||
0f4442ef EZ |
1832 | 2010-04-16 Eli Zaretskii <eliz@gnu.org> |
1833 | ||
1834 | * xdisp.c (set_cursor_from_row): Don't consider possibility of | |
1835 | other rows with cursor unless they are different from this row and | |
1836 | this row is part of a continued line. (Bug#5943) | |
1837 | ||
7d4e45f8 DN |
1838 | 2010-04-16 Dan Nicolaescu <dann@ics.uci.edu> |
1839 | ||
1840 | * s/freebsd.h: Restore osreldate.h include. | |
1841 | Suggested by Naohiro Aota. | |
1842 | ||
5ba5ec85 J |
1843 | 2010-04-16 Jan Djärv <jan.h.d@swipnet.se> |
1844 | ||
1845 | * xmenu.c (apply_systemfont_to_menu): *childs was incorrectly used. | |
1846 | ||
20af301d CY |
1847 | 2010-04-16 Ken Brown <kbrown@cornell.edu> (tiny change) |
1848 | ||
1849 | * s/cygwin.h: Avoid linking against static libgcc. | |
1850 | ||
a4b000fb JL |
1851 | 2010-04-15 Juri Linkov <juri@jurta.org> |
1852 | ||
1853 | * window.c: Add Qscroll_command. | |
1854 | Remove Vscroll_preserve_screen_position_commands. | |
1855 | (window_scroll_pixel_based, window_scroll_line_based): Check the | |
1856 | `scroll-command' property on the last command instead of searching | |
1857 | the last command in Vscroll_preserve_screen_position_commands. | |
1858 | (syms_of_window): Initialize and staticpro `Qscroll_command'. | |
1859 | Put Qscroll_command property on Qscroll_up and Qscroll_down. | |
1860 | (scroll-preserve-screen-position): Doc fix. | |
1861 | (Vscroll_preserve_screen_position_commands): Remove variable. | |
1862 | ||
bc319ba4 DN |
1863 | 2010-04-15 Dan Nicolaescu <dann@ics.uci.edu> |
1864 | ||
6bb24457 DN |
1865 | * xdisp.c (message): Do not use NO_ARG_ARRAY. |
1866 | ||
19d4c244 DN |
1867 | 2010-04-14 Dan Nicolaescu <dann@ics.uci.edu> |
1868 | ||
1869 | Reduce cpp use in Makefile.in. | |
1870 | * Makefile.in (DBUS_CFLAGS, DBUS_LIBS, GCONF_CFLAGS, GCONF_LIBS) | |
1871 | (LIBSOUND, CFLAGS_SOUND, RSVG_LIBS, RSVG_CFLAGS, INTERVALS_H) | |
1872 | (GETLOADAVG_LIBS, RUN_TEMACS): Move to the autoconf section. | |
1873 | (ORDINARY_LINK): Remove, defined in src/s/gnu.h. | |
1874 | (CRT0_COMPILE): Remove, inline it in the only user. | |
1875 | ||
32129746 JL |
1876 | 2010-04-14 Juri Linkov <juri@jurta.org> |
1877 | ||
1878 | * window.c (keys_of_window): Rebind `C-v' from `scroll-up' to | |
1879 | `scroll-up-command' and `M-v' from `scroll-down' to | |
1880 | `scroll-down-command'. | |
1881 | ||
9013a7f8 JL |
1882 | 2010-04-14 Juri Linkov <juri@jurta.org> |
1883 | ||
1884 | * window.c (Vscroll_preserve_screen_position_commands): New variable | |
1885 | with the default value as the list of Qscroll_down and Qscroll_up. | |
1886 | (window_scroll_pixel_based, window_scroll_line_based): Search the | |
1887 | last command in the list Vscroll_preserve_screen_position_commands | |
1888 | instead of comparing with Qscroll_up and Qscroll_down. | |
1889 | ||
4bef8d26 JD |
1890 | 2010-04-13 Jan Djärv <jan.h.d@swipnet.se> |
1891 | ||
92848133 JD |
1892 | * gtkutil.c (xg_set_geometry): Set geometry for PPosition also. |
1893 | (x_wm_set_size_hint): Dont set position flags, gtk_window_parse_geometry | |
1894 | does that. | |
1895 | ||
4bef8d26 JD |
1896 | * xfns.c (Fx_create_frame, x_create_tip_frame): Set default border width |
1897 | to zero. | |
1898 | ||
58b963f7 SM |
1899 | 2010-04-13 Stefan Monnier <monnier@iro.umontreal.ca> |
1900 | ||
84164a0d SM |
1901 | * term.c (init_tty): Move common text outside of #ifdef TERMINFO. |
1902 | ||
2b0a91e7 SM |
1903 | Try to solve the problem of spurious EOF chars in long lines of text |
1904 | sent to interactive subprocesses. | |
1905 | * sysdep.c (child_setup_tty): Do not enable ICANON any more. | |
1906 | (system_process_attributes): Remove unused var `ttotal'. | |
1907 | * process.c (send_process): Don't bother breaking long line with EOF | |
1908 | chars when talking to ttys any more. | |
1909 | (wait_reading_process_output): Output a warning when called in such | |
1910 | a way that it could block without being interruptible. | |
1911 | ||
58b963f7 SM |
1912 | Try to detect file modification within the same second. |
1913 | * buffer.h (struct buffer): New field modtime_size. | |
1914 | * buffer.c (reset_buffer): Initialize it. | |
1915 | * fileio.c (Finsert_file_contents, Fwrite_region): Set it. | |
1916 | (Fverify_visited_file_modtime): Check it. | |
1917 | (Fclear_visited_file_modtime, Fset_visited_file_modtime): Clear it. | |
1918 | (Fset_visited_file_modtime): Set (or clear) it. | |
1919 | ||
01f5787b SM |
1920 | 2010-04-12 Stefan Monnier <monnier@iro.umontreal.ca> |
1921 | ||
1922 | * process.c (status_notify): Remove unused var `ro'. | |
1923 | ||
83725342 JD |
1924 | 2010-04-12 Jan Djärv <jan.h.d@swipnet.se> |
1925 | ||
1926 | * xfns.c (select_visual): Don't call error if XGetVisualInfo returns | |
1927 | more than one visual (Bug#5938). | |
1928 | ||
b9465836 DN |
1929 | 2010-04-12 Dan Nicolaescu <dann@ics.uci.edu> |
1930 | ||
50426a04 JB |
1931 | * Makefile.in (C_SWITCH_SYSTEM,C_SWITCH_MACHINE,C_SWITCH_X_SITE): |
1932 | Undefine. | |
b9465836 | 1933 | |
8d9c8ece DN |
1934 | 2010-04-11 Dan Nicolaescu <dann@ics.uci.edu> |
1935 | ||
b1f52161 DN |
1936 | Remove C_SWITCH_SYSTEM_TEMACS. |
1937 | * s/darwin.h (C_SWITCH_SYSTEM_TEMACS): Remove. | |
1938 | (malloc, realloc, free): Use emacs, not temacs for conditional | |
1939 | definition. | |
1940 | ||
1941 | * Makefile.in (C_SWITCH_SYSTEM_TEMACS): Remove. | |
1942 | (ALL_CFLAGS): Do not use C_SWITCH_SYSTEM_TEMACS. | |
1943 | ||
8d9c8ece DN |
1944 | Use autoconf, not cpp for some variables. |
1945 | * Makefile.in (C_SWITCH_SYSTEM, C_SWITCH_MACHINE) | |
1946 | (C_SWITCH_X_SITE): Define using autoconf, not cpp. | |
1947 | (ALL_CFLAGS): Use them as make variables. | |
1948 | (really-lwlib, really-oldXMenu): Do not pass them. | |
1949 | ||
1ecb2d3f JD |
1950 | 2010-04-11 Jan Djärv <jan.h.d@swipnet.se> |
1951 | ||
1952 | * xmenu.c (apply_systemfont_to_dialog): New. | |
1953 | (create_and_show_dialog): Call apply_systemfont_to_dialog if HAVE_XFT. | |
1954 | ||
3a4fa2f2 SM |
1955 | 2010-04-11 Stefan Monnier <monnier@iro.umontreal.ca> |
1956 | ||
97e53006 SM |
1957 | * process.c (exec_sentinel): Preserve current-buffer. |
1958 | ||
3a4fa2f2 SM |
1959 | * process.c (read_process_output): Move the save-current-buffer to |
1960 | apply to both the filter and the non-filter branches. | |
1961 | ||
88df7221 DN |
1962 | 2010-04-10 Dan Nicolaescu <dann@ics.uci.edu> |
1963 | ||
1964 | * s/msdos.h (UNEXEC): New definition. | |
1965 | ||
5634ff85 YM |
1966 | 2010-04-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1967 | ||
6eff5c3d YM |
1968 | * dispextern.h (TRY_WINDOW_CHECK_MARGINS) |
1969 | (TRY_WINDOW_IGNORE_FONTS_CHANGE): New defines. | |
1970 | ||
1971 | * xdisp.c (try_window): Change arg from CHECK_MARGINS to FLAGS. | |
1972 | Don't abort with fonts change if TRY_WINDOW_IGNORE_FONTS_CHANGE is | |
1973 | set in FLAGS. Callers with non-zero CHECK_MARGINS changed to use | |
1974 | TRY_WINDOW_CHECK_MARGINS. | |
1975 | ||
1976 | * xfns.c (Fx_show_tip): Undo last change. Call try_window with | |
5b253e9c YM |
1977 | TRY_WINDOW_IGNORE_FONTS_CHANGE (Bug#2423). Subtract last glyph's |
1978 | width only when it is for padding. | |
5634ff85 | 1979 | |
b13aef54 J |
1980 | 2010-04-09 Jan Djärv <jan.h.d@swipnet.se> |
1981 | ||
1982 | * xfns.c (Fx_show_tip): Call try_window in a loop until | |
1983 | fonts_changed_p is zero (Bug#2423). | |
1984 | ||
21d28484 EZ |
1985 | 2010-04-08 Eli Zaretskii <eliz@gnu.org> |
1986 | ||
1987 | * xdisp.c (set_cursor_from_row): Don't dereference glyphs beyond | |
1988 | the end of TEXT_AREA. (Bug#5856) | |
1989 | ||
0269ef77 JD |
1990 | 2010-04-08 Jan Djärv <jan.h.d@swipnet.se> |
1991 | ||
1992 | * xsettings.c (XSETTINGS_FONT_NAME): Move XSETTINGS_FONT_NAME out of | |
1993 | HAVE_GCONF. | |
1994 | ||
5930fe97 EZ |
1995 | 2010-04-08 Eli Zaretskii <eliz@gnu.org> |
1996 | ||
1997 | * bidi.c (bidi_resolve_weak): Use prev.type_after_w1, instead of | |
1998 | prev.orig_type, for resolving type of NSM. (Bug#5858) | |
1999 | ||
99852628 JD |
2000 | 2010-04-08 Jan Djärv <jan.h.d@swipnet.se> |
2001 | ||
2002 | * xsettings.c (current_font, SYSTEM_FONT, XSETTINGS_FONT_NAME): New. | |
2003 | (parse_xft_settings): Also check for XSETTINGS_FONT_NAME and save that | |
2004 | in current_font. | |
2005 | (init_gconf): Read value of SYSTEM_FONT and save it in current_font. | |
50426a04 JB |
2006 | (Ffont_get_system_normal_font, xsettings_get_system_normal_font): |
2007 | New functions. | |
2008 | (syms_of_xsettings): Initialize current_font. | |
2009 | defsubr Sfont_get_system_normal_font. | |
99852628 JD |
2010 | |
2011 | * xsettings.h (Ffont_get_system_normal_font, | |
2012 | xsettings_get_system_normal_font): Declare. | |
2013 | ||
2014 | * xfns.c (extern xlwmenu_default_font): Remove. | |
2015 | (Fx_create_frame): Remove setting of xlwmenu_default_font, moved | |
2016 | to xlwmenu.c. | |
2017 | ||
2018 | * menu.c (digest_single_submenu): If USE_LUCID and HAVE_XFT, encode | |
2019 | menu items in UTF-8. | |
2020 | ||
2021 | * xmenu.c: include xsettings.h and xlwmenu.h if USE_LUCID. | |
2022 | (apply_systemfont_to_menu): New function. | |
2023 | (set_frame_menubar, create_and_show_popup_menu): Call | |
2024 | apply_systemfont_to_menu. | |
2025 | ||
7fc874c4 J |
2026 | 2010-04-07 Jan Djärv <jan.h.d@swipnet.se> |
2027 | ||
2028 | * frame.h (FRAME_TEXT_LINES_TO_PIXEL_HEIGHT): Don't use | |
2029 | FRAME_LINE_TO_PIXEL_Y. | |
2030 | ||
2031 | * xterm.c (x_set_window_size_1): Don't add border_width/height to | |
2032 | pixelwidth/height. | |
2033 | ||
863bf481 DN |
2034 | 2010-04-07 Dan Nicolaescu <dann@ics.uci.edu> |
2035 | ||
5e5a3b92 DN |
2036 | Simplify code for HP machines. |
2037 | * m/hp800.h (LOAD_AVE_TYPE, LOAD_AVE_CVT, NO_REMAP): Do not define | |
2038 | for GNU_LINUX, not needed. | |
2039 | (UNEXEC, NEED_BSDTTY): Move definitions... | |
2040 | * s/hpux10-20.h (UNEXEC, NEED_BSDTTY): ... here. | |
2041 | ||
863bf481 DN |
2042 | * m/iris4d.h (UNEXEC): Move definition ... |
2043 | * s/irix6-5.h (UNEXEC): ... here. | |
2044 | ||
3e6bec3b JD |
2045 | 2010-04-04 Jan Djärv <jan.h.d@swipnet.se> |
2046 | ||
2047 | * xfns.c (set_machine_and_pid_properties): New function. | |
2048 | (Fx_create_frame): Call set_machine_and_pid_properties. | |
2049 | ||
2912322b SM |
2050 | 2010-04-03 Eli Zaretskii <eliz@gnu.org> |
2051 | ||
1502b819 EZ |
2052 | * bidi.c (bidi_resolve_explicit, bidi_level_of_next_char): Check |
2053 | bidi_it->bytepos against ZV_BYTE instead of bidi_it->ch against | |
2054 | BIDI_EOB. Fixes infloop with vertical cursor motion at ZV. | |
2055 | ||
2912322b SM |
2056 | * w32fns.c (x_create_tip_frame): Copy `parms' before we modify it |
2057 | in this function. (Bug#5703) | |
2058 | ||
2059 | 2010-04-03 Chong Yidong <cyd@stupidchicken.com> | |
2060 | ||
2061 | * nsterm.h: Fix last change. | |
2062 | ||
c435b432 DN |
2063 | 2010-04-03 Dan Nicolaescu <dann@ics.uci.edu> |
2064 | ||
a568f507 DN |
2065 | * m/intel386.h (NO_REMAP): Move definition ... |
2066 | * s/msdos.h (NO_REMAP): ... here. | |
2067 | ||
4cd9f6c2 DN |
2068 | * m/vax.h (CRT0_DUMMIES): Remove, unused. |
2069 | ||
c435b432 DN |
2070 | * ecrt0.c: Remove MSDOS, m68k and __sparc__ conditionals, file not |
2071 | used on those platforms. | |
2072 | ||
42a2c622 DN |
2073 | 2010-04-02 Dan Nicolaescu <dann@ics.uci.edu> |
2074 | ||
2075 | Remove extern errno declarations. | |
2076 | * xterm.c: | |
2077 | * xrdb.c: | |
2078 | * w32term.c: | |
2079 | * unexec.c: | |
2080 | * unexaix.c: | |
2081 | * sysdep.c: | |
2082 | * process.c: | |
2083 | * lread.c: | |
2084 | * keyboard.c: | |
2085 | * floatfns.c: | |
2086 | * filelock.c: | |
2087 | * fileio.c: | |
2088 | * emacs.c (main): | |
2089 | * ecrt0.c: | |
2090 | * dispnew.c: | |
2091 | * callproc.c: | |
2092 | * buffer.c: Remove errno extern declarations. | |
2093 | * s/netbsd.h (NEED_ERRNO): Remove. | |
2094 | ||
8224f93d DN |
2095 | 2010-04-01 Dan Nicolaescu <dann@ics.uci.edu> |
2096 | ||
2097 | Remove all uses of LIBX11_SYSTEM. | |
2098 | * Makefile.in (LIBX11_SYSTEM): Remove. | |
2099 | * s/msdos.h (LIBX11_SYSTEM): Do not define, define LIBS_SYSTEM | |
2100 | instead. | |
2101 | ||
814062c7 EZ |
2102 | 2010-04-01 Eli Zaretskii <eliz@gnu.org> |
2103 | ||
ed68db4d EZ |
2104 | Remove support for DJGPP v1.x (bug#5813). |
2105 | ||
2106 | * w16select.c (__dpmi_int): Remove DJGPP v1.x compatibility. | |
8224f93d DN |
2107 | * s/msdos.h: |
2108 | * unexec.c (make_hdr, copy_text_and_data): | |
2109 | * sysdep.c (wait_for_termination, sys_subshell): | |
ed68db4d | 2110 | * msdos.c (dos_set_window_size, msdos_set_cursor_shape) |
52f4d8d5 EZ |
2111 | (IT_set_terminal_modes, __write, _rename, gethostname) |
2112 | (gettimeofday, alarm, fork, kill, dos_ttraw, dos_ttcooked) | |
2113 | (run_msdos_command, abort): Remove DJGPP v1.x code and tests of | |
2114 | the value of __DJGPP__. | |
ed68db4d EZ |
2115 | (nice, pause, sigsetmask, sigblock): Remove DJGPP v1.x |
2116 | compatibility code. | |
8224f93d DN |
2117 | * lread.c: |
2118 | * gmalloc.c (memalign): | |
2119 | * fileio.c (Fcopy_file, check_executable, Ffile_modes): | |
2120 | * emacs.c (main): | |
2121 | * dosfns.c (init_dosfns): | |
ed68db4d EZ |
2122 | * dired.c (file_name_completion_stat): Remove tests of __DJGPP__. |
2123 | ||
52f4d8d5 EZ |
2124 | 2010-04-01 Eli Zaretskii <eliz@gnu.org> |
2125 | ||
814062c7 EZ |
2126 | * xdisp.c (set_cursor_from_row): Fix cursor positioning when the |
2127 | string with `cursor' property comes from an `after-string' | |
2128 | overlay. (Bug#5816) | |
2129 | ||
0dc2e11d GM |
2130 | 2010-04-01 Glenn Morris <rgm@gnu.org> |
2131 | ||
2132 | * Makefile.in (LIBTIFF, LIBJPEG, LIBPNG, LIBGIF, LIBXPM, XFT_LIBS): | |
2133 | Define as Makefile variables. | |
2134 | (LIBX): Use above variables rather than directly using autoconf. | |
2135 | ||
1d29df59 DN |
2136 | 2010-03-31 Dan Nicolaescu <dann@ics.uci.edu> |
2137 | ||
2138 | Clean up BSD_SYSTEM use. | |
2139 | * xterm.c: | |
2140 | * process.c: | |
2141 | * emacs.c: Use HAVE_SYS_IOCTL_H instead of BSD_SYSTEM as a guard | |
2142 | for including <sys/ioctl.h>. | |
2143 | * sysdep.c (wait_without_blocking): Remove BSD_SYSTEM case, this | |
2144 | code is only used for MSDOS. | |
2145 | ||
1546c559 JL |
2146 | 2010-03-31 Juri Linkov <juri@jurta.org> |
2147 | ||
2148 | * image.c: Add `Qextension_data'. | |
2149 | (syms_of_image): Initialize and staticpro `Qextension_data'. | |
2150 | (Fimage_metadata): Rename from `Fimage_extension_data'. | |
2151 | (gif_load): Put GIF extension data to the property | |
2152 | `Qextension_data'. | |
2153 | ||
6521c534 CY |
2154 | 2010-03-31 Chong Yidong <cyd@stupidchicken.com> |
2155 | ||
2156 | * nsfns.m (ns_set_doc_edited): Remove unused arg OLDVAL. | |
2157 | * nsterm.h: Fix prototype. | |
2158 | ||
52c30783 EZ |
2159 | 2010-03-31 Eli Zaretskii <eliz@gnu.org> |
2160 | ||
2161 | * xdisp.c (highlight_trailing_whitespace): Support highlight of | |
2162 | trailing whitespace in right-to-left rows. | |
2163 | ||
855a0da7 SM |
2164 | 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca> |
2165 | ||
2166 | Get rid of the direct_output optimizations. | |
2167 | * keyboard.c (nonundocount): Remove extern declaration. | |
2168 | (command_loop_1): Remove brittle optimisation for cheap and | |
2169 | common operations. | |
2170 | * xdisp.c (redisplay_internal): Don't bother checking | |
2171 | redisplay_performed_directly_p any more. | |
2172 | * sysdep.c (init_sys_modes): Don't call direct_output_forward_char | |
2173 | any more. | |
2174 | * dispnew.c (redisplay_performed_directly_p) | |
2175 | (direct_output_for_insert, direct_output_forward_char): | |
2176 | * dispextern.h (redisplay_performed_directly_p) | |
2177 | (direct_output_for_insert, direct_output_forward_char): Remove. | |
2178 | * cmds.c (nonundocount): Make it static. | |
2179 | ||
85738751 | 2180 | 2010-03-31 Bernhard Herzog <bh@intevation.de> (tiny change) |
a6d676d9 CY |
2181 | |
2182 | * menu.c (Fx_popup_menu): Use last_event_timestamp (Bug#4930). | |
2183 | ||
85738751 | 2184 | 2010-03-31 Jan Djärv <jan.h.d@swipnet.se> |
67fee863 JD |
2185 | |
2186 | * xdisp.c (note_mouse_highlight): Don't do highlight if pointer is | |
2187 | invisible (Bug#5766). | |
2188 | ||
85738751 | 2189 | 2010-03-31 Adrian Robert <adrian.b.robert@gmail.com> |
9ae6e189 | 2190 | |
855a0da7 SM |
2191 | * xdisp.c (x_consider_frame_title, update_window_cursor): |
2192 | Remove HAVE_NS conditionals. | |
194d44e7 | 2193 | (prepare_menu_bars) [HAVE_NS]: Call ns_set_doc_edited. |
9ae6e189 CY |
2194 | |
2195 | * nsfns.m (x_implicitly_set_name): If frame-title-format is t, use | |
2196 | filename for the title. | |
2197 | (ns_set_doc_edited): Do nothing if the selected window is a | |
2198 | minibuffer window. | |
2199 | ||
2200 | * nsterm.h: Add prototypes for ns_set_name_as_filename and | |
2201 | ns_set_doc_edited. | |
2202 | ||
2203 | * nsterm.m: Remove unneeded prototype. | |
2204 | ||
85738751 | 2205 | 2010-03-31 Glenn Morris <rgm@gnu.org> |
25c72475 GM |
2206 | |
2207 | * Makefile.in (SOME_MACHINE_OBJECTS): Ensure dbus stuff is always | |
2208 | in the DOC file. (Bug#5336) | |
2209 | ||
85738751 | 2210 | 2010-03-31 Chong Yidong <cyd@stupidchicken.com> |
f79a01db CY |
2211 | |
2212 | * xdisp.c (pos_visible_p): Revert 2008-01-25 change (Bug#5730). | |
2213 | ||
75d1428c SM |
2214 | 2010-03-31 Stefan Monnier <monnier@iro.umontreal.ca> |
2215 | ||
2216 | * window.c (keys_of_window): Remove redundant/overridden bindings. | |
2217 | ||
82043cfb EZ |
2218 | 2010-03-30 Eli Zaretskii <eliz@gnu.org> |
2219 | ||
2220 | * xdisp.c (BUFFER_POS_REACHED_P, move_it_in_display_line_to): | |
2221 | Restore original behavior when the iterator is not bidi_p. | |
2222 | ||
b5dd0ae7 DN |
2223 | 2010-03-30 Dan Nicolaescu <dann@ics.uci.edu> |
2224 | ||
2225 | * xdisp.c (syms_of_xdisp): Use intern_c_string instead of intern. | |
2226 | ||
bd924a5d EZ |
2227 | 2010-03-30 Eli Zaretskii <eliz@gnu.org> |
2228 | ||
2229 | * bidi.c (bidi_cache_iterator_state): Invalidate the cache if we | |
2230 | are outside the range of cached character positions. | |
2231 | ||
3580374b JB |
2232 | 2010-03-30 Juanma Barranquero <lekktu@gmail.com> |
2233 | ||
2234 | * makefile.w32-in ($(BLD)/bidi.$(O)): Add dependency on w32gui.h. | |
2235 | ||
a7b02820 EZ |
2236 | 2010-03-30 Eli Zaretskii <eliz@gnu.org> |
2237 | ||
2238 | Initial support for bidirectional editing. | |
2239 | ||
2240 | * Makefile.in (obj): Include bidi.o. | |
2241 | (bidi.o): New target. | |
2242 | ||
2243 | * makefile.w32-in (OBJ1): Add $(BLD)/bidi.$(O). | |
2244 | ($(BLD)/bidi.$(O)): New target. | |
2245 | ||
2246 | * bidi.c: New file. | |
2247 | ||
2248 | * buffer.h (struct buffer): New members bidi_display_reordering | |
2249 | and bidi_paragraph_direction. | |
2250 | ||
2251 | * buffer.c (init_buffer_once): Initialize bidi_display_reordering | |
2252 | and bidi_paragraph_direction. | |
2253 | (syms_of_buffer): Declare Lisp variables bidi-display-reordering | |
2254 | and bidi-paragraph-direction. | |
2255 | (Fbuffer_swap_text): Swap the values of | |
2256 | bidi_display_reordering and bidi_paragraph_direction. | |
2257 | ||
2258 | * dispextern.h (BIDI_MAXLEVEL, BIDI_AT_BASE_LEVEL): New macros. | |
2259 | (bidi_type_t, bidi_dir_t): New types. | |
2260 | (bidi_saved_info, bidi_stack, bidi_it): New structures. | |
2261 | (struct it): New members bidi_p, bidi_it, paragraph_embedding, | |
2262 | prev_stop, base_level_stop, and eol_pos. | |
2263 | (bidi_init_it, bidi_get_next_char_visually): New prototypes. | |
2264 | (IT_STACK_SIZE): Enlarge to 5. | |
2265 | (struct glyph_row): New member reversed_p. | |
2266 | <string_buffer_position>: Update prototype. | |
2267 | (PRODUCE_GLYPHS): Set the reversed_p flag in the iterator's | |
2268 | glyph_row if bidi_it.paragraph_dir == R2L. | |
2269 | (struct glyph): New members resolved_level and bidi_type. | |
2270 | ||
2271 | * dispnew.c (direct_output_forward_char): Give up if we need bidi | |
2272 | processing or buffer's direction is right-to-left. | |
2273 | (prepare_desired_row): Preserve the reversed_p flag. | |
2274 | (row_equal_p): Compare the reversed_p attributes as well. | |
2275 | ||
2276 | * xdisp.c (init_iterator): Initialize it->bidi_p. Call | |
2277 | bidi_init_it and set it->paragraph_embedding from the current | |
2278 | buffer's value of bidi_paragraph_direction. | |
2279 | (reseat_1): Initialize bidi_it.first_elt. | |
2280 | (set_iterator_to_next, next_element_from_buffer): Use the value of | |
2281 | paragraph_embedding to determine the paragraph direction. | |
2282 | (set_iterator_to_next): Under bidi reordering, call | |
2283 | bidi_get_next_char_visually. Call bidi_paragraph_init if the | |
2284 | new_paragraph flag is set in the bidi iterator. | |
2285 | (next_element_from_buffer): If bidi_it.first_elt is set, | |
2286 | initialize paragraph direction and find the first character to | |
2287 | display in the visual order. If reseated to a middle of a line, | |
2288 | prime the bidi iterator starting at the line's beginning. Handle | |
2289 | the situation where we overstepped stop_charpos due to | |
2290 | non-linearity of the bidi iteration. Likewise for when we back up | |
2291 | beyond the previous stop_charpos. When moving across stop_charpos, | |
2292 | record it in prev_stop. | |
2293 | (display_line): Set row->end and it->start for the next row to the | |
2294 | next character in logical order. Always extend reversed_p rows to | |
2295 | the end of line, even if they end at ZV. Copy the reversed_p flag | |
2296 | to the next glyph row. Keep calling set_cursor_from_row for | |
2297 | bidi-reordered rows even if we already have a possible candidate | |
2298 | for cursor position. Set row_end after all the row's glyphs have | |
2299 | been produced, by looping over the glyphs. Record the position | |
2300 | after EOL in it->eol_pos, and use it to set end_pos of the last | |
2301 | row produced for a continued line. | |
2302 | <Qright_to_left, Qleft_to_right>: New variables. | |
2303 | (syms_of_xdisp): Initialize and staticpro them. | |
2304 | (string_buffer_position_lim): New function. | |
2305 | (string_buffer_position): Most of code moved to | |
2306 | string_buffer_position_lim. Last argument and return value are | |
2307 | now EMACS_INT; all callers changed. | |
2308 | (set_cursor_from_row): Rewritten to support bidirectional text and | |
2309 | reversed glyph rows. | |
2310 | (text_outside_line_unchanged_p, try_window_id): Disable | |
2311 | optimizations if we are reordering bidirectional text and the | |
2312 | paragraph direction can be affected by the change. | |
2313 | (append_glyph, append_composite_glyph) | |
2314 | (produce_image_glyph, append_stretch_glyph): Set the | |
2315 | resolved_level and bidi_type members of each glyph. | |
2316 | (append_glyph): If the glyph row is reversed, prepend the glyph | |
2317 | rather than appending it. | |
2318 | (handle_stop_backwards): New function. | |
2319 | (reseat_1, pop_it, push_it): Set prev_stop and base_level_stop. | |
2320 | (reseat): call handle_stop_backwards to recompute prev_stop and | |
2321 | base_level_stop for the new position. | |
2322 | (handle_invisible_prop): Under bidi iteration, skip invisible text | |
2323 | using bidi_get_next_char_visually. If we are `reseat'ed, init the | |
2324 | paragraph direction. Update IT->prev_stop after skipping | |
2325 | invisible text. | |
2326 | (move_it_in_display_line_to): New variables prev_method | |
2327 | and prev_pos. Compare for strict equality in | |
2328 | BUFFER_POS_REACHED_P. | |
2329 | (try_cursor_movement): Examine all the candidate rows that occlude | |
2330 | point, to return the best match. If rows are bidi-reordered | |
2331 | and point moved backwards, back up to the row that is not a | |
2332 | continuation line, and start looking for a suitable row from | |
2333 | there. | |
2334 | ||
2335 | * term.c (append_glyph): Reverse glyphs by pre-pending them, | |
2336 | rather than appending, if the glyph_row's reversed_p flag is set. | |
2337 | Set the resolved_level and bidi_type members of each glyph. | |
2338 | ||
2339 | * .gdbinit (pbiditype): New command. | |
2340 | (pgx): Use it to display bidi level and type of the glyph. | |
2341 | (pitx): Display some bidi information about the iterator. | |
2342 | (prowlims, pmtxrows): New commands. | |
2343 | ||
32a8894e DN |
2344 | 2010-03-30 Dan Nicolaescu <dann@ics.uci.edu> |
2345 | ||
2346 | Remove all uses of C_DEBUG_SWITCH and LIBS_DEBUG. | |
2347 | * s/usg5-4.h (LIBS_DEBUG): | |
2348 | * s/irix6-5.h (C_DEBUG_SWITCH): | |
2349 | * s/gnu-linux.h (LIBS_DEBUG): | |
2350 | * s/darwin.h (LIBS_DEBUG): | |
2351 | * s/bsd-common.h (LIBS_DEBUG): | |
2352 | * s/aix4-2.h (LIBS_DEBUG, C_DEBUG_SWITCH): | |
2353 | * m/iris4d.h (LIBS_DEBUG): | |
2354 | * m/hp800.h (LIBS_DEBUG): Remove definitions. | |
2355 | ||
2356 | * Makefile.in (LIBES): Remove reference to LIBS_DEBUG. | |
2357 | (LIBS_DEBUG): Remove definition. | |
2358 | ||
649dbf36 CY |
2359 | 2010-03-27 Chong Yidong <cyd@stupidchicken.com> |
2360 | ||
2361 | * process.c (Fmake_network_process): Don't apply Bug#5173 fix for | |
2362 | Windows. | |
2363 | ||
cad4261f YM |
2364 | 2010-03-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2365 | ||
2366 | * process.c (Fmake_network_process): Don't call turn_on_atimers around | |
2367 | `connect' (Bug#5723). | |
2368 | ||
cd591dbc HE |
2369 | 2010-03-25 Helmut Eller <eller.helmut@gmail.com> |
2370 | ||
2371 | * process.c (Fmake_network_process): Call `select' for interrupted | |
2372 | `connect' rather than creating new socket (Bug#5173). | |
2373 | ||
e867cb5d | 2374 | 2010-03-24 Jan Djärv <jan.h.d@swipnet.se> |
93318cbd JD |
2375 | |
2376 | * frame.c (x_get_arg): Handle RES_TYPE_BOOLEAN_NUMBER (bug #5736). | |
2377 | ||
2378 | * xfns.c (Fx_create_frame): Make menuBar a RES_TYPE_BOOLEAN_NUMBER. | |
2379 | ||
2380 | * dispextern.h (resource_types): RES_TYPE_BOOLEAN_NUMBER is new. | |
2381 | ||
e867cb5d | 2382 | 2010-03-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
ad13a3ee YM |
2383 | |
2384 | * xfns.c (Fx_create_frame) [USE_LUCID]: Add BLOCK_INPUT around | |
2385 | XLoadQueryFont. | |
2386 | ||
e867cb5d | 2387 | 2010-03-24 Kenichi Handa <handa@m17n.org> |
fbdc1721 KH |
2388 | |
2389 | * coding.c (decode_coding_ccl): Fix previous change for the | |
2390 | multibyte case. | |
fb608df3 KH |
2391 | (encode_coding_ccl): Don't setup ccl program here. Fix for the |
2392 | case that the output buffer is fullfilled. | |
2393 | (encode_coding): Setup ccl program here. | |
fbdc1721 | 2394 | |
5845f0ed DN |
2395 | 2010-03-23 Dan Nicolaescu <dann@ics.uci.edu> |
2396 | ||
814fb708 DN |
2397 | * s/gnu-linux.h (LIBS_SYSTEM): Remove, same as default. |
2398 | ||
5845f0ed DN |
2399 | Simplify LIBS_MACHINE definitions. |
2400 | * m/hp800.h (LIBS_MACHINE): Remove, same as default. | |
2401 | * m/iris4d.h (LIBS_MACHINE): Likewise. | |
2402 | * m/ibmrs6000.h (LIBS_MACHINE): Rename to LIBS_SYSTEM and move ... | |
2403 | * s/aix4-2.h (LIBS_SYSTEM): ... here. | |
38e3487c | 2404 | * s/netbsd.h: Remove commented out code. |
5845f0ed | 2405 | |
b7064064 DN |
2406 | 2010-03-22 Dan Nicolaescu <dann@ics.uci.edu> |
2407 | ||
df7734b2 DN |
2408 | Remove dead code dealing with POSIX_SIGNALS. |
2409 | * atimer.c (set_alarm): Remove dead code, all USG systems define | |
2410 | POSIX_SIGNALS. | |
2411 | * data.c (arith_error): Likewise. | |
2412 | * keyboard.c (input_available_signal, handle_user_signal) | |
2413 | (interrupt_signal): Likewise. | |
2414 | * process.c (sigchld_handler): Likewise. | |
2415 | (create_process): Remove if 0 code. Remove HPUX conditional when | |
2416 | !defined (POSIX_SIGNALS), it cannot be true. | |
2417 | * syssignal.h: Remove USG5_4 and USG conditionals when | |
2418 | !POSIX_SIGNALS, they cannot be true. | |
2419 | ||
b7064064 DN |
2420 | * keyboard.c (Fset_input_interrupt_mode): Remove code depending on |
2421 | NO_SOCK_SIGIO, not used anymore. | |
2422 | ||
55da5ee3 DN |
2423 | 2010-03-21 Dan Nicolaescu <dann@ics.uci.edu> |
2424 | ||
0be96e3a DN |
2425 | * m/vax.h (BSD_SYSTEM, BSD4_2): Remove conditionals, we only |
2426 | support vax on BSDs. | |
2427 | ||
55da5ee3 DN |
2428 | * m/ibmrs6000.h (ORDINARY_LINK): Move definition ... |
2429 | * s/aix4-2.h (ORDINARY_LINK): ... here. | |
2430 | ||
c0282183 AS |
2431 | 2010-03-21 Andreas Schwab <schwab@linux-m68k.org> |
2432 | ||
82c3d67a AS |
2433 | * Makefile.in (abs_builddir): Define. |
2434 | (bootstrap_exe): Use it. | |
2435 | (VPATH): Use $(srcdir) instead of @srcdir@. | |
c0282183 | 2436 | |
3613edce SM |
2437 | 2010-03-20 Stefan Monnier <monnier@iro.umontreal.ca> |
2438 | ||
2439 | * Makefile.in (bootstrap_exe): Use an absolute name. | |
2440 | ||
7f110ddc DN |
2441 | 2010-03-20 Dan Nicolaescu <dann@ics.uci.edu> |
2442 | ||
22e87574 DN |
2443 | Remove support for old GNU/Linux using libc version 5. |
2444 | * m/alpha.h (LINUX_SBRK_BUG): Remove definition. | |
2445 | * emacs.c (main): Remove code depending on LINUX_SBRK_BUG. | |
2446 | ||
05a670e6 DN |
2447 | Consolidate redundant definitions in s/bsd-common.h. |
2448 | * s/bsd-common.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO) | |
2449 | (LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS) | |
2450 | (LDAV_SYMBOL, KERNEL_FILE): Define (or undefine) here instead of | |
2451 | doing it in all files that include this one. | |
2452 | * s/gnu.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO) | |
2453 | (LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS) | |
2454 | (LDAV_SYMBOL, KERNEL_FILE): Remove. | |
2455 | * s/freebsd.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO) | |
2456 | (LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS) | |
2457 | (LDAV_SYMBOL, KERNEL_FILE): Remove. | |
2458 | * s/netbsd.h (BSD4_2, TABDLY, TAB3, HAVE_TERMIOS, NO_TERMIO) | |
2459 | (LIBS_DEBUG, SYSV_SYSTEM_DIR, UNEXEC, NARROWPROTO, BSD_PGRPS) | |
2460 | (LDAV_SYMBOL, KERNEL_FILE): Remove. | |
2461 | ||
2968f561 DN |
2462 | Consolidate redundant definitions. |
2463 | * s/usg5-4.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not define, | |
2464 | it's undefined in all files that include this one. | |
2465 | (POSIX_SIGNALS): Define here instead of doing it in all files that | |
2466 | include this one. | |
2467 | * s/irix6-5.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef. | |
2468 | (POSIX_SIGNALS): Do not define. | |
2469 | * s/sol2-6.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef. | |
2470 | (POSIX_SIGNALS): Do not define. | |
2471 | * s/unixware.h (sigsetmask, PTY_TTY_NAME_SPRINTF): Do not undef. | |
2472 | (POSIX_SIGNALS): Do not define. | |
2473 | ||
15d25dc0 DN |
2474 | Remove support for old UNIX System V systems. |
2475 | * s/unixware.h: Add the contents of s/usg-5-4-2.h. | |
2476 | * s/usg-5-4-2.h: Remove. | |
2477 | ||
07e339e4 DN |
2478 | Remove support for Solaris on PPC and for old versions. |
2479 | * s/sol2-6.h: Add the contents of s/sol-2.3.h, s/sol-2.4.h, s/sol-2.5.h. | |
2480 | (LD_SWITCH_SYSTEM, USE_MMAP_FOR_BUFFERS): Remove #defines/#undef | |
2481 | that cancel each other. | |
2482 | * s/sol2-3.h: | |
2483 | * s/sol2-4.h: | |
2484 | * s/sol2-5.h: Remove. | |
2485 | * m/ibmrs6000.h: Remove code for USG5_4, this file is only used on AIX. | |
2486 | (NO_REMAP): Remove, unused. | |
2487 | (UNEXEC): Move definition ... | |
2488 | * s/aix4-2.h (UNEXEC): ... here. | |
2489 | ||
7f110ddc DN |
2490 | * s/openbsd.h: Remove support for non-ELF and for systems that do |
2491 | not support shared libraries. | |
2492 | * s/netbsd.h: | |
2493 | * s/freebsd.h: Likewise. | |
2494 | ||
605f35cd DN |
2495 | 2010-03-20 Dan Nicolaescu <dann@ics.uci.edu> |
2496 | ||
2497 | Remove non-working support for lynxos 3.0. | |
2498 | * s/lynxos.h: Remove file. | |
2499 | ||
2500 | * unexec.c (unexec, adjust_lnnoptrs): Do not depend on | |
2501 | COFF_BSD_SYMBOLS, nothing defines it anymore. | |
2502 | ||
aed71cf4 DN |
2503 | 2010-03-20 Dan Nicolaescu <dann@ics.uci.edu> |
2504 | ||
2505 | Remove obsolete uses of HAVE_SHM. | |
2506 | * emacs.c (standard_args): | |
2507 | (Fdump_emacs): | |
2508 | (syms_of_emacs): Remove code depending on HAVE_SHM. | |
2509 | ||
2510 | * alloc.c: Remove HAVE_SHM dependent definition. | |
2511 | ||
2512 | * Makefile.in (RUN_TEMACS): Do not depend on HAVE_SHM. | |
2513 | ||
aded53ff GM |
2514 | 2010-03-18 Glenn Morris <rgm@gnu.org> |
2515 | ||
17284745 GM |
2516 | * emacs.c (USAGE4): Hard-code bug address. |
2517 | (REPORT_EMACS_BUG_ADDRESS, REPORT_EMACS_BUG_PRETEST_ADDRESS): Remove. | |
2518 | (bug_reporting_address): Remove. | |
2519 | (main): Don't call bug_reporting_address. | |
2520 | ||
aded53ff GM |
2521 | * Makefile.in (XFT_LIBS, LIBXPM, LIBJPEG, LIBPNG, LIBTIFF, LIBGIF) |
2522 | (LIBGPM, LIBRESOLV): Set using autoconf rather than cpp. | |
2523 | ||
303500aa CY |
2524 | 2010-03-15 Chong Yidong <cyd@stupidchicken.com> |
2525 | ||
2526 | * xfns.c (Fx_create_frame): | |
2527 | * frame.c (Vdefault_frame_scroll_bars): Put non-GTK X scroll-bars | |
2528 | on left. | |
2529 | ||
cef3058f CY |
2530 | 2010-03-13 Andreas Politz <politza@fh-trier.de> (tiny change) |
2531 | ||
2532 | * editfns.c (Fformat): Account for string precision when computing | |
2533 | field width (Bug#5710). | |
2534 | ||
a647d59d CY |
2535 | 2010-03-12 Chong Yidong <cyd@stupidchicken.com> |
2536 | ||
4fa42018 CY |
2537 | * xfns.c (Fx_create_frame): Set default to Qright. |
2538 | ||
a647d59d CY |
2539 | * frame.c (Vdefault_frame_scroll_bars): Set default to Qright for |
2540 | all window systems. | |
2541 | ||
6da23aaa EZ |
2542 | 2010-03-12 Eli Zaretskii <eliz@gnu.org> |
2543 | ||
a96f6398 | 2544 | These changes remove termcap.c from the build on Posix platforms. |
83d02def | 2545 | * Makefile.in (termcapobj): Move termcap.o from here... |
6da23aaa EZ |
2546 | (MSDOS_OBJ): ...to here. |
2547 | (termcapobj) [!LIBS_TERMCAP]: Remove specialized value, as it is | |
2548 | now identical to when LIBS_TERMCAP is defined. | |
2549 | ||
2550 | * term.c: Remove (ifdef'ed away) inclusion of termcap.h. | |
2551 | ||
2552 | * cm.c: Remove (ifdef'ed away) inclusion of termcap.h. | |
2553 | ||
a96f6398 | 2554 | * config.in: Regenerated. (See top-level ChangeLog.) |
6da23aaa | 2555 | |
288f9fc0 CY |
2556 | 2010-03-10 Chong Yidong <cyd@stupidchicken.com> |
2557 | ||
2558 | * Branch for 23.2. | |
2559 | ||
d48cd3f4 SM |
2560 | 2010-03-10 Stefan Monnier <monnier@iro.umontreal.ca> |
2561 | ||
2562 | Cleanup setup of gl_state in various parts of the code. | |
2563 | * syntax.h (SETUP_BUFFER_SYNTAX_TABLE): New macro. | |
2564 | (SETUP_SYNTAX_TABLE, SETUP_SYNTAX_TABLE_FOR_OBJECT): | |
2565 | * syntax.c (find_defun_start, Fchar_syntax, Fmatching_paren) | |
2566 | (skip_chars): | |
2567 | * regex.c (regex_compile): Use it. | |
2568 | (re_compile_pattern): Don't set gl_state.current_syntax_table since | |
2569 | it's now set in regex_compile when/if we need it. | |
2570 | ||
618db430 SM |
2571 | 2010-03-05 Stefan Monnier <monnier@iro.umontreal.ca> |
2572 | ||
c0335e02 SM |
2573 | Make it possible to C-g in a tight bytecode loop again (bug#5680). |
2574 | * lisp.h (ELSE_PENDING_SIGNALS): New macro. | |
2575 | (QUIT): Use it to consolidate code and remove redundancy. | |
2576 | * bytecode.c (BYTE_CODE_QUIT): Use it as well. | |
2577 | ||
254c06a8 SM |
2578 | * regex.c (regex_compile): Setup gl_state as well. |
2579 | ||
618db430 SM |
2580 | * syntax.c (skip_chars): Setup gl_state (bug#3823). |
2581 | (in_classes): Use CONSP before XCAR/XCDR. | |
2582 | ||
233f0c9f CY |
2583 | 2010-03-03 Chong Yidong <cyd@stupidchicken.com> |
2584 | ||
2585 | * keymap.c (Fwhere_is_internal): Use Fequal to compare | |
2586 | definitions, so that keyboard macros are correctly handled | |
2587 | (Bug#5481). | |
2588 | ||
75f80e63 EZ |
2589 | 2010-03-02 Eli Zaretskii <eliz@gnu.org> |
2590 | ||
2591 | * coding.c (decode_coding_emacs_mule): Fixup pointers to buffer | |
2592 | text that could be relocated inside the call to emacs_mule_char. | |
2593 | (emacs_mule_char): Use CODING_DECODE_CHAR instead of DECODE_CHAR. | |
2594 | (CODING_DECODE_CHAR): Add a comment describing its purpose. | |
2595 | ||
dcfb9bc4 KH |
2596 | 2010-03-02 Kenichi Handa <handa@m17n.org> |
2597 | ||
fc9a17bc KH |
2598 | * character.c (parse_str_as_multibyte): Fix handling of the |
2599 | multibyte form of raw-bytes. | |
2600 | (str_as_multibyte): Likewise. | |
2601 | ||
dcfb9bc4 KH |
2602 | * buffer.c (Fset_buffer_multibyte): Fix handling of the multibyte |
2603 | form of raw-bytes. | |
2604 | ||
412c01b6 CY |
2605 | 2010-02-28 Chong Yidong <cyd@stupidchicken.com> |
2606 | ||
2607 | * charset.c (load_charset_map_from_file) | |
2608 | (load_charset_map_from_vector): Zero out allocated | |
2609 | charset_map_entries before using them. | |
2610 | ||
df7e1ea0 AS |
2611 | 2010-02-27 Andreas Schwab <schwab@linux-m68k.org> |
2612 | ||
2613 | * w32uniscribe.c (uniscribe_check_otf): Fix length check. | |
2614 | ||
fe69a722 CY |
2615 | 2010-02-27 Chong Yidong <cyd@stupidchicken.com> |
2616 | ||
4ed28cf4 CY |
2617 | * font.c (font_parse_fcname): Recognize "Book", "Condensed", |
2618 | "Medium", and "Semi-Condensed" keywords in GTK names (Bug#5646). | |
fe69a722 | 2619 | |
7379cfce KH |
2620 | 2010-02-26 Kenichi Handa <handa@m17n.org> |
2621 | ||
f88cc4d6 KH |
2622 | * ftfont.c (ftfont_get_open_type_spec): Fix parsing of otf_spec. |
2623 | ||
7379cfce KH |
2624 | * xdisp.c (reseat_to_string): Fix previous change. |
2625 | ||
cf2fdcfb CY |
2626 | 2010-02-26 David Reitter <david.reitter@gmail.com> |
2627 | ||
2628 | * nsfont.m (nsfont_draw): ns_antialias_text should be a | |
2629 | Lisp_Object (Bug#4736). | |
2630 | ||
cc6c7c75 KH |
2631 | 2010-02-25 Kenichi Handa <handa@m17n.org> |
2632 | ||
2633 | * xdisp.c (reseat_to_string): Fix previous change (bug#5609). | |
2634 | ||
32e737d7 JD |
2635 | 2010-02-24 Jan Djärv <jan.h.d@swipnet.se> |
2636 | ||
2637 | * xterm.c (XTflash): Move declarations before statements. | |
2638 | ||
2639 | * gtkutil.c (xg_get_gdk_display): Remove (unused). | |
2640 | (xg_get_pixbuf_from_pix_and_mask, xg_create_frame_widgets) | |
2641 | (xg_toggle_notify_cb, xg_set_toolkit_scroll_bar_thumb) | |
2642 | (xg_create_tool_bar): Remove unused variables. | |
2643 | (x_wm_set_size_hint): Move declarations before statements. | |
a73f9c9d | 2644 | (xg_create_frame_widgets): Remove variable grav. |
32e737d7 | 2645 | |
676cae9f CY |
2646 | 2010-02-21 Chong Yidong <cyd@stupidchicken.com> |
2647 | ||
2648 | * m/arm.h: Define the LIB_GCC flag to be -lgcc_s (Bug#5518). | |
2649 | ||
886cc2b8 SM |
2650 | 2010-02-18 Stefan Monnier <monnier@iro.umontreal.ca> |
2651 | ||
2652 | * term.c (fatal): Add a final \n if needed (bug#5596). | |
2653 | ||
ddb2d8e2 CY |
2654 | 2010-02-18 Chong Yidong <cyd@stupidchicken.com> |
2655 | ||
2656 | * nsterm.m (ns_ring_bell): Revert last change (Bug#5569). | |
2657 | ||
2a4f8d3d GM |
2658 | 2010-02-18 Glenn Morris <rgm@gnu.org> |
2659 | ||
2660 | * callint.c (Finteractive): Doc fix. | |
2661 | ||
ebaf11b6 KH |
2662 | 2010-02-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change) |
2663 | ||
886cc2b8 SM |
2664 | * coding.c (record_conversion_result): |
2665 | Handle CODING_RESULT_INSUFFICIENT_DST. | |
ebaf11b6 KH |
2666 | (decode_coding_object): Record CODING_RESULT_INSUFFICIENT_MEM on |
2667 | memory allocation error. | |
2668 | ||
d0396581 KH |
2669 | 2010-02-17 Kenichi Handa <handa@m17n.org> |
2670 | ||
886cc2b8 SM |
2671 | * coding.c (decode_coding_ccl): Don't setup ccl program here. |
2672 | Fix for the case that the output buffer is fullfilled. | |
d0396581 KH |
2673 | (decode_coding): Setup ccl program here. Keep looping when the |
2674 | decoder stopped because the output buffer is | |
2675 | fullfilled (bug#5534). | |
2676 | ||
2677 | * ccl.c (ccl_driver): Never reset ic to CCL_HEADER_MAIN. | |
2678 | ||
98599f74 JD |
2679 | 2010-02-13 Jan Djärv <jan.h.d@swipnet.se> |
2680 | ||
471e4f04 | 2681 | * xterm.c (x_clear_frame_area): Call gtk_widget_queue_draw if USE_GTK, |
98599f74 | 2682 | bug #5571. |
886cc2b8 | 2683 | (XTflash): Use Gdk-routines if USE_GTK so scroll bars don't get |
471e4f04 | 2684 | overdrawn. |
98599f74 | 2685 | |
182659ae JD |
2686 | 2010-02-10 Jan Djärv <jan.h.d@swipnet.se> |
2687 | ||
2688 | * xsmfns.c (x_session_initialize): Move initialization of ice_fd and | |
2689 | doing_interact here. | |
2690 | (ice_connection_closed): New function. | |
2691 | (x_session_check_input, smc_die_CB, ice_io_error_handler) | |
2692 | (ice_conn_watch_CB, x_session_close): Call ice_connection_closed. | |
2693 | (x_session_check_input): Call IceCloseConnection if IceProcessMessages | |
2694 | returns I/O error. | |
2695 | (ice_conn_watch_CB): Call add_keyboard_wait_descriptor on ice_fd, | |
2696 | bug #5512. | |
2697 | ||
9be32c4e | 2698 | 2010-02-08 Francis Devereux <francis@devrx.org> (tiny change) |
14a225f9 CY |
2699 | |
2700 | * nsfont.m (nsfont_open): The system's value for the font descent | |
2701 | is negative, so round it down to avoid clipping. | |
2702 | ||
a2f3eb19 CY |
2703 | 2010-02-06 Chong Yidong <cyd@stupidchicken.com> |
2704 | ||
2705 | * charset.c (load_charset_map_from_file) | |
2706 | (load_charset_map_from_vector): Fix last change to use SAFE_ALLOCA | |
953d248c | 2707 | instead of xmalloc (Bug#5526). Suggested by Vivek Dasmohapatra. |
a2f3eb19 | 2708 | |
3088147c CY |
2709 | 2010-02-05 Chong Yidong <cyd@stupidchicken.com> |
2710 | ||
2711 | * charset.c (load_charset_map_from_file): Allocate large | |
2712 | charset_map_entries structure on the heap rather than the stack. | |
2713 | (Bug#5526). | |
2714 | ||
b57d9029 KH |
2715 | 2010-01-31 Kenichi Handa <handa@m17n.org> |
2716 | ||
2717 | * font.c (font_parse_xlfd): If FONT is a font-entity and pixel | |
115e4fd3 | 2718 | size in NAME is invalid, return -1 (Bug#5396). |
b57d9029 | 2719 | |
c67d885b CY |
2720 | 2010-01-31 Chong Yidong <cyd@stupidchicken.com> |
2721 | ||
2722 | * nsterm.m (ns_defined_color): Block input. Suggested by Mike | |
2723 | <deactivated@gmail.com> (Bug#3605). | |
2724 | ||
8fab2362 CY |
2725 | 2010-01-31 David De La Harpe Golden <david@harpegolden.net> |
2726 | ||
2727 | * fileio.c (Frename_file): Correctly rename symlinks to | |
2728 | directories (Bug#5496). | |
2729 | ||
cb2a62f2 CY |
2730 | 2010-01-31 Filipe Cabecinhas <filcab@gmail.com> (tiny change) |
2731 | ||
2732 | * nsterm.m (ns_ring_bell): Handle visible bell like X. | |
2733 | ||
944c7a26 AS |
2734 | 2010-01-30 Andreas Schwab <schwab@linux-m68k.org> |
2735 | ||
2736 | * character.h (CHAR_PRINTABLE_P): Reparenthesize to avoid warning. | |
2737 | ||
c024ac08 CY |
2738 | 2010-01-29 Chong Yidong <cyd@stupidchicken.com> |
2739 | ||
2740 | * frame.c (DEFAULT_ROWS): Change default to 35. | |
2741 | ||
2742 | * xfns.c (x_default_font_parameter): Change default XFT font to | |
2743 | monospace-10 (Bug#3643). | |
2744 | ||
af93af83 EZ |
2745 | 2010-01-29 Eli Zaretskii <eliz@gnu.org> |
2746 | ||
2747 | * w32inevt.c (key_event): Remove unnecessary comparison of | |
2748 | event->uChar.AsciiChar with 128. | |
2749 | ||
ca0eb708 CY |
2750 | 2010-01-28 Chong Yidong <cyd@stupidchicken.com> |
2751 | ||
b242dbfc CY |
2752 | * fileio.c (Frename_file): Fix last change (Bug#5487). |
2753 | ||
ca0eb708 CY |
2754 | * m/mips.h: Remove DATA_START. Suggested by Dan Nicolaescu. |
2755 | ||
2756 | * m/alpha.h: Don't define DATA_START on NetBSD (Bug#4629). | |
2757 | ||
45d45af5 JD |
2758 | 2010-01-28 Jan Djärv <jan.h.d@swipnet.se> |
2759 | ||
2760 | * xfns.c (Fx_create_frame): Remove window size matching code from | |
2761 | 2010-01-15. | |
a73f9c9d | 2762 | (x_get_current_desktop, x_get_desktop_workarea): Remove. |
45d45af5 | 2763 | |
7e233730 JR |
2764 | 2010-01-27 Jason Rumney <jasonr@gnu.org> |
2765 | ||
2766 | * w32inevt.c (w32_kbd_patch_key): Save the unicode character. | |
a292592c | 2767 | (key_event): Use unicode for characters 128 and higher (Bug#4567). |
7e233730 | 2768 | |
86e893e3 KH |
2769 | 2010-01-27 Kenichi Handa <handa@m17n.org> |
2770 | ||
2771 | * regex.c (analyse_first): Fix setting of fastmap for unibyte | |
c8b96b2a | 2772 | pattern string (Bug#4209). |
86e893e3 | 2773 | |
8719abec CY |
2774 | 2010-01-27 David De La Harpe Golden <david@harpegolden.net> |
2775 | ||
2776 | * fileio.c (Frename_file): Call copy-directory and | |
2777 | delete-directory for directories, in order to handle cross-device | |
2778 | renaming (Bug#3353). | |
2779 | ||
844794c8 JD |
2780 | 2010-01-25 Jan Djärv <jan.h.d@swipnet.se> |
2781 | ||
aa3e13b5 | 2782 | * xfns.c (Fx_create_frame): If frame height is too big, try |
ac146f82 | 2783 | sizes 24 and 10. Bug #3643. |
844794c8 | 2784 | |
bd4b5750 SM |
2785 | 2010-01-24 Stefan Monnier <monnier@iro.umontreal.ca> |
2786 | ||
8dc1adf6 | 2787 | Try and fix bug#788, hopefully for real this time. |
bd4b5750 SM |
2788 | * keymap.c (shadow_lookup): Add `remap' arg. |
2789 | (describe_map, describe_vector): Update calls to shadow_lookup. | |
2790 | (Fwhere_is_internal): Fix up handling of `remapped_sequences' and | |
2791 | `remapped' so this flag is applicable to `sequence'. Be careful to | |
8dc1adf6 SM |
2792 | perform remapping during shadow_lookup check of remapped_sequences. |
2793 | ||
285d07e2 CY |
2794 | 2010-01-24 Eric Bélanger <snowmaniscool@gmail.com> (tiny change) |
2795 | ||
2796 | * image.c (png_load): Use png_sig_cmp instead of the obsolete | |
2797 | png_check_sig, which has been removed in libpng 1.4. | |
2798 | ||
c6d09b8d CY |
2799 | 2010-01-23 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change) |
2800 | ||
2801 | * filelock.c: Include utmp.h only when HAVE_UTMP_H (FreeBSD 9.x | |
2802 | lacks this header file). | |
2803 | ||
3d782998 YM |
2804 | 2010-01-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2805 | ||
2806 | * xdisp.c (draw_glyphs): Update `start' for left_overwritten case | |
2807 | as in Emacs 22. | |
2808 | ||
2aff7c53 YM |
2809 | 2010-01-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2810 | ||
2811 | * lisp.h (make_pure_string): String pointer arg now points to const. | |
2812 | ||
2813 | * alloc.c (find_string_data_in_pure, make_pure_string): String pointer | |
2814 | args now point to const. | |
2815 | ||
74327f7a EZ |
2816 | 2010-01-22 Eli Zaretskii <eliz@gnu.org> |
2817 | ||
2818 | * lread.c (Fload): Don't treat files without .elc extension as | |
2819 | byte-compiled if they are ``magic'', i.e. `openp' returned -2 for | |
2820 | them. (bug#5303) | |
2821 | ||
4d1e6632 KH |
2822 | 2010-01-20 Kenichi Handa <handa@m17n.org> |
2823 | ||
2824 | * coding.c (consume_chars): If ! multibyte and the encoder is ccl, | |
2825 | treat the source as actual byte sequence. | |
2826 | ||
1fdede8f AM |
2827 | 2010-01-19 Alan Mackenzie <acm@muc.de> |
2828 | ||
2829 | Fix spurious before-change-functions invocation from (insert ?\n). | |
194d44e7 | 2830 | * textprop.c (set_text_properties): Rename parameter |
1fdede8f AM |
2831 | `signal_after_change_p' to `coherent_change_p', and make the |
2832 | invocation of `modify_region' conditional on it. | |
2833 | ||
67477f30 JD |
2834 | 2010-01-19 Jan Djärv <jan.h.d@swipnet.se> |
2835 | ||
2836 | * xsettings.c (apply_xft_settings): Save settings in Vxft_settings | |
2837 | for debug purpose. | |
2838 | (syms_of_xsettings): Declare xft-settings. | |
2839 | ||
244b023e CY |
2840 | 2010-01-18 Chong Yidong <cyd@stupidchicken.com> |
2841 | ||
2842 | * editfns.c (Fcurrent_time_string): Doc fix (Bug#5408). | |
2843 | ||
617364fe CY |
2844 | 2010-01-16 Stefan Monnier <monnier@iro.umontreal.ca> |
2845 | ||
2846 | * xterm.c (event_handler_gdk): Block input (Bug#5037). | |
2847 | ||
4fe22cdf CY |
2848 | 2010-01-16 Chong Yidong <cyd@stupidchicken.com> |
2849 | ||
2850 | * emacs.c (standard_args): Adjust arg priorities to reflect how | |
2851 | they are processed in startup.el. | |
2852 | ||
e118d2be AS |
2853 | 2010-01-16 Andreas Schwab <schwab@linux-m68k.org> |
2854 | ||
2855 | * Makefile.in (lisp, shortlisp): Update. | |
2856 | ||
523ae620 SM |
2857 | 2010-01-16 Stefan Monnier <monnier@iro.umontreal.ca> |
2858 | ||
2859 | * xterm.c (x_term_init): Instead of inhibiting GC while running Lisp | |
2860 | code, link the new kboard into all_kboard before running Lisp code, | |
2861 | and protect the new terminal with GCPRO (Bug#5365). | |
2862 | (x_term_init): Remove unused var `atom'. | |
2863 | (x_delete_display, x_delete_terminal): Remove unused var `i'. | |
2864 | ||
f0d13888 JD |
2865 | 2010-01-15 Jan Djärv <jan.h.d@swipnet.se> |
2866 | ||
2867 | * xfns.c (x_get_current_desktop, x_get_desktop_workarea): New functions. | |
2868 | (Fx_create_frame): Call x_get_current_desktop and x_get_desktop_workarea | |
2869 | to find out usable size of the desktop. Don't make frames larger than | |
ac146f82 | 2870 | this. Bug #3643. |
f0d13888 | 2871 | |
cc320f07 KH |
2872 | 2010-01-15 Kenichi Handa <handa@m17n.org> |
2873 | ||
2874 | * xdisp.c (CHAR_COMPOSED_P): New arg END_CHARPOS. Callers changed. | |
2875 | ||
7ffdf101 CY |
2876 | 2010-01-15 Chong Yidong <cyd@stupidchicken.com> |
2877 | ||
2878 | * nsterm.m (Qnone): Define. | |
2879 | ||
2880 | * nsfns.m (Qnone): Move definition to nsterm.m. | |
2881 | ||
d12bd917 KH |
2882 | 2010-01-14 Kenichi Handa <handa@m17n.org> |
2883 | ||
2884 | * coding.c (detect_coding_iso_2022): Fix handling of euc-xx coding | |
2885 | systems. | |
2886 | ||
d9a7c140 KH |
2887 | 2010-01-14 Kenichi Handa <handa@m17n.org> |
2888 | ||
2889 | Make auto-composition work on all buffers even if they are | |
2890 | fundamental mode. | |
2891 | ||
2892 | * composite.c (Vauto_composition_mode): New variable. | |
2893 | (composition_compute_stop_pos): Check Vauto_composition_mode | |
2894 | instead of Vauto_composition_function. | |
2895 | (composition_adjust_point, Ffind_composition_internal): Likewise. | |
2896 | (syms_of_composite): Declare Lisp variable | |
2897 | "auto-composition-mode" here. | |
2898 | ||
63286bb2 CY |
2899 | 2010-01-13 Chong Yidong <cyd@stupidchicken.com> |
2900 | ||
2901 | * xterm.c (x_term_init): Avoid garbage-collecting the new terminal | |
2902 | during call to vendor-specific-keysyms (Bug#5365). | |
2903 | ||
c2623ee7 YM |
2904 | 2010-01-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2905 | ||
2906 | * keyboard.c (input_available_signal) [SYNC_INPUT]: | |
2907 | Call SIGNAL_THREAD_CHECK (Bug#5333). | |
2908 | ||
2909 | * atimer.c (alarm_signal_handler) [!SYNC_INPUT]: | |
2910 | Call SIGNAL_THREAD_CHECK. | |
2911 | ||
0b5397c2 SM |
2912 | 2010-01-13 Stefan Monnier <monnier@iro.umontreal.ca> |
2913 | ||
2914 | Try to fix bug#5314. This is probably not the final word, tho. | |
2915 | * buffer.c (Fset_buffer_modified_p): Try and be careful not to modify | |
2916 | recent-auto-save-p as a side-effect. | |
2917 | * buffer.h (BUF_AUTOSAVE_MODIFF): New macro. | |
2918 | * buffer.c (Fkill_buffer, reset_buffer): | |
2919 | * editfns.c (Fsubst_char_in_region): | |
2920 | * fileio.c (Finsert_file_contents, Fdo_auto_save) | |
2921 | (Fset_buffer_auto_saved, Frecent_auto_save_p): Use it. | |
2922 | ||
dc954cb2 KH |
2923 | 2010-01-13 Kenichi Handa <handa@m17n.org> |
2924 | ||
2925 | Display buffer name, etc. in mode line by composing correctly. | |
2926 | ||
2927 | * xdisp.c (reseat_to_string): Call composition_compute_stop_pos if | |
2928 | STRING is not nil. | |
0b5397c2 | 2929 | (display_mode_element): Adjust for the change of |
dc954cb2 KH |
2930 | decode_mode_spec and display_line. |
2931 | (decode_mode_spec): Change arg MULTIBYTE to STRING. | |
2932 | (display_string): Handle the case that STRING is non-null and | |
2933 | LISP_STRING is not nil. | |
2934 | ||
0b5397c2 SM |
2935 | * xterm.c (x_draw_composite_glyph_string_foreground): |
2936 | Pay attention to s->face->overstrike. | |
dc954cb2 KH |
2937 | |
2938 | * composite.c (composition_reseat_it): Don't check PT if STRING is | |
2939 | non nil. | |
2940 | ||
4a00eaca YM |
2941 | 2010-01-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2942 | ||
2943 | * keyboard.c (read_char): Don't apply previous change when current | |
2944 | buffer is unchanged by command execution. | |
2945 | ||
60abb287 JD |
2946 | 2010-01-12 Jan Djärv <jan.h.d@swipnet.se> |
2947 | ||
2948 | * keyboard.c (read_char): Return after executing from special map. | |
2949 | ||
893db5bc GM |
2950 | 2010-01-12 Glenn Morris <rgm@gnu.org> |
2951 | ||
2952 | * emacs.c (REPORT_EMACS_BUG_PRETEST_ADDRESS): Set it to | |
2953 | bug-gnu-emacs rather than emacs-pretest-bug. | |
2954 | ||
4d03ece0 CY |
2955 | 2010-01-11 Chong Yidong <cyd@stupidchicken.com> |
2956 | ||
2957 | * nsterm.m (syms_of_nsterm): Initialize Qcontrol etc. before | |
2958 | initializing the Lisp variables that depend on them. | |
2959 | ||
1df47e38 YM |
2960 | 2010-01-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2961 | ||
2962 | * xfns.c (x_set_menu_bar_lines) [!USE_X_TOOLKIT && !USE_GTK]: | |
2963 | Clear areas that will not be updated after change of menu bar lines. | |
2964 | Clear the menu bar window's current matrix when the window gets empty. | |
2965 | ||
2f1c6384 CY |
2966 | 2010-01-09 Chong Yidong <cyd@stupidchicken.com> |
2967 | ||
e398c61c CY |
2968 | * intervals.h, textprop.c (extend_property_ranges): Return value |
2969 | and args changed. Discard properties that begin at or after the | |
2970 | new end (Bug#5306). | |
2971 | ||
2972 | * editfns.c (Fformat): Caller changed. | |
2973 | ||
e5a29a10 CY |
2974 | * nsterm.m (ns_set_default_prefs): Delete function. |
2975 | (syms_of_nsterm): Initialize ns_command_modifier, | |
2976 | ns_control_modifier, ns_function_modifier, ns_antialias_text, and | |
2977 | ns_antialias_threshold here, not in ns_term_init (Bug#4113). | |
2978 | ||
2f1c6384 CY |
2979 | * xdisp.c (pos_visible_p): Check for invisible text at the correct |
2980 | position (Bug#4040). | |
2981 | ||
d427a9fa EZ |
2982 | 2010-01-09 Eli Zaretskii <eliz@gnu.org> |
2983 | ||
2984 | * editfns.c (Ffloat_time): Doc fix. | |
2985 | ||
21b9df2f JD |
2986 | 2010-01-09 Jan Djärv <jan.h.d@swipnet.se> |
2987 | ||
2988 | * xfns.c (Fx_create_frame): Don't create frame larger than display | |
2989 | by default bug#3643. | |
2990 | ||
4b00d3b1 YM |
2991 | 2010-01-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2992 | ||
2993 | * frame.h (FRAME_TOP_MARGIN_HEIGHT): New macro. | |
2994 | (FRAME_LINE_TO_PIXEL_Y, FRAME_PIXEL_Y_TO_LINE): Take account of pseudo | |
2995 | windows above internal border. | |
2996 | ||
2997 | * window.h (WINDOW_MENU_BAR_P, WINDOW_TOOL_BAR_P): New macros. | |
2998 | (WINDOW_TOP_EDGE_Y, WINDOW_BOTTOM_EDGE_Y): Take account of pseudo | |
2999 | windows above internal border. | |
3000 | ||
3001 | * xdisp.c (get_glyph_string_clip_rects, init_glyph_string): Don't treat | |
3002 | tool bar windows specially. | |
3003 | ||
3004 | * xfns.c (x_set_tool_bar_lines): Take account of menu bar height. | |
3005 | ||
3006 | * xterm.c (x_after_update_window_line): Don't treat tool bar windows | |
3007 | specially. | |
3008 | (XTflash): Take account of menu bar height. | |
3009 | ||
3010 | * w32term.c (x_after_update_window_line): Don't treat tool bar windows | |
3011 | specially. | |
3012 | ||
5075d853 JD |
3013 | 2010-01-08 Jan Djärv <jan.h.d@swipnet.se> |
3014 | ||
ac146f82 | 3015 | * dispnew.c (change_frame_size_1): newwidth == FRAME_COLS (f) must |
5075d853 JD |
3016 | also be true before we can return early (bug #5339). |
3017 | ||
474217c8 CY |
3018 | 2010-01-06 David Reitter <david.reitter@gmail.com> |
3019 | ||
3020 | * nsfns.m (ns_get_screen): Rewrite, returning NULL for non-NS. | |
3021 | (Fns_display_usable_bounds): Rewrite, computing bounds properly | |
3022 | (Bug#3233). | |
3023 | ||
c0e6d47d JD |
3024 | 2010-01-06 Jan Djärv <jan.h.d@swipnet.se> |
3025 | ||
d0cf45b7 JD |
3026 | * font.c (font_open_entity): Enable chache and call cached_font_ok |
3027 | for the driver if defined. | |
3028 | (QCuser_spec): New symbol. | |
3029 | (font_spec_from_name): Save name as user-spec. | |
3030 | (font_load_for_lface): Keep user-spec instead of name. | |
3031 | (font_open_by_name): Save name as user-spec. | |
3032 | (syms_of_font): Initialize QCuser_spec. | |
b7f8e4f5 | 3033 | (font_clear_prop): Clear name if it exists in font (bug#5157). |
d0cf45b7 JD |
3034 | |
3035 | * xftfont.c (xftfont_open): Call xftfont_add_rendering_parameters. | |
3036 | (xftfont_add_rendering_parameters, xftfont_cached_font_ok): New. | |
3037 | (syms_of_xftfont): Initialize xftfont_driver.cached_font_ok. | |
3038 | ||
3039 | * font.h (struct font_driver): Add cached_font_ok. | |
3040 | ||
c0e6d47d JD |
3041 | * xterm.c (x_clear_frame): Queue draw for scroll bars. |
3042 | ||
7c583cd8 JD |
3043 | 2010-01-05 Jan Djärv <jan.h.d@swipnet.se> |
3044 | ||
3045 | * xterm.c (x_new_font): Move code for setting rows/cols before | |
3046 | resizing ... | |
ac146f82 | 3047 | (x_set_window_size): ... to here. Bug #2568. |
7c583cd8 JD |
3048 | |
3049 | * gtkutil.c (xg_clear_under_internal_border): New function. | |
0b5397c2 SM |
3050 | (xg_frame_resized, xg_frame_set_char_size): |
3051 | Call xg_clear_under_internal_border. | |
7c583cd8 | 3052 | (xg_update_scrollbar_pos): Clear under old scroll bar position. |
69e2f185 | 3053 | |
03f77f0a CY |
3054 | 2010-01-05 Chong Yidong <cyd@stupidchicken.com> |
3055 | ||
3056 | * keyboard.c (read_key_sequence): Catch keyboard switch after | |
3057 | making a new tty frame (Bug#5095). | |
3058 | ||
2a1ef5be KH |
3059 | 2010-01-05 Kenichi Handa <handa@m17n.org> |
3060 | ||
3061 | * fontset.c (fontset_find_font): Fix getting the frame pointer. | |
3062 | ||
e3eb1dae SM |
3063 | 2010-01-04 Stefan Monnier <monnier@iro.umontreal.ca> |
3064 | ||
3065 | * dbusbind.c (xd_remove_watch): Avoid trying to convert a void* to | |
3066 | Lisp_Object, preferring to convert a lisp_Object to a void* instead. | |
3067 | (Fdbus_init_bus): Use XHASH to get a scalar value from a Lisp_Object. | |
3068 | ||
777013f2 MA |
3069 | 2010-01-03 Michael Albinus <michael.albinus@gmx.de> |
3070 | ||
3071 | * dbusbind.c (xd_add_watch): Improve debug message. | |
3072 | (xd_remove_watch): Improve debug message. If DATA is the session | |
3073 | bus, unset D-Bus session environment. | |
3074 | (Fdbus_init_bus): Pass the bus as argument to | |
3075 | dbus_connection_set_watch_functions. (Bug#5283) | |
7c583cd8 | 3076 | |
8932b1c2 CY |
3077 | 2010-01-01 Chong Yidong <cyd@stupidchicken.com> |
3078 | ||
87231e2c CY |
3079 | * nsterm.m (ns_get_color): Fix buffer overflow (Bug#4763). |
3080 | ||
4801c5fa CY |
3081 | * lread.c (syms_of_lread): Make it clearer that these are the |
3082 | names of loaded files (Bug#5068). | |
3083 | ||
8932b1c2 CY |
3084 | * eval.c (run_hook_with_args): Handle the case where the global |
3085 | value has the obsolete single-function form (Bug#5026). | |
3086 | ||
11e3c684 CY |
3087 | 2009-12-27 Chong Yidong <cyd@stupidchicken.com> |
3088 | ||
3089 | * minibuf.c (Fall_completions): Minor optimization. | |
3090 | ||
5b28ce35 EZ |
3091 | 2009-12-26 Eli Zaretskii <eliz@gnu.org> |
3092 | ||
5ce6e4f4 JB |
3093 | * .gdbinit (pgx): Fix display of composite glyphs. |
3094 | Display cmp.from and cmp.to as well. | |
3095 | (pitx): Fix last change. | |
5b28ce35 | 3096 | |
bcffff46 KH |
3097 | 2009-12-25 Kenichi Handa <handa@m17n.org> |
3098 | ||
3099 | * composite.h (composition_adjust_point): Update prototype. | |
3100 | ||
3101 | * composite.c (composition_reseat_it): Don't make a composition | |
3102 | spanning over point. | |
3103 | (CHAR_COMPOSABLE_P): Treat U+200C (ZWNJ) and U+200D (ZWJ) as | |
3104 | composable characters. | |
3105 | (composition_adjust_point): New arg NEW_PT. Callers changed. | |
3106 | ||
3107 | * keyboard.c (command_loop_1): Force redisplay if the last point | |
3108 | was within a composition. | |
3109 | (adjust_point_for_property): Don't adjust point for automatic | |
3110 | composition when called after buffer modification. | |
3111 | ||
3f670e9a EZ |
3112 | 2009-12-19 Eli Zaretskii <eliz@gnu.org> |
3113 | ||
5ce6e4f4 JB |
3114 | * .gdbinit (pitx): Don't use enum names, use their values. |
3115 | Remove reference to non-existing value GET_FROM_COMPOSITION. | |
be996d82 EZ |
3116 | (pgx): Don't use enum names, use their values. |
3117 | (pitmethod): New helper command. | |
3118 | (pitx): Use it to display iteration method. | |
3119 | (pgrowit): New command. | |
3120 | ||
ad903955 EZ |
3121 | * makefile.w32-in ($(BLD)/cmds.$(O)): Depend on frame.h. |
3122 | ||
3f670e9a EZ |
3123 | Update dependencies in Makefile.in. |
3124 | ||
3125 | * Makefile.in (alloc.o): Depend on termhooks.h. | |
3126 | (atimer.o): Depend on blockinput.h. | |
3127 | (buffer.o): Depend on indent.h, keyboard.h, coding.h, keymap.h, | |
3128 | and frame.h. | |
3129 | (callint.o): Depend on systime.h, coding.h, and composite.h. | |
3130 | (callproc.o): Depend on buffer.h. | |
3131 | (casefiddle.o): Don't depend on charset.h. | |
3132 | (casetab.o): Depend on character.h. | |
3133 | (ccl.o): Depend on composite.h. | |
3134 | (chartab.o): Depend on ccl.h. | |
3135 | (cm.o): Depend on dispextern.h. | |
3136 | (cmds.o): Depend on systime.h, coding.h, frame.h, and composite.h. | |
3137 | (coding.o): Don't depend on $(INTERVALS_H). | |
3138 | (composite.o): Don't depend on dispextern.h explicitly (it's in | |
3139 | $(INTERVALS_H)). Depend on ccl.h. | |
3140 | (data.o): Depend on systime.h, coding.h, composite.h, | |
3141 | dispextern.h, font.h, and ccl.h. | |
3142 | (dired.o): Depend on composite.h. | |
3143 | (dispnew.o): Depend on coding.h. Don't depend explicitly on | |
3144 | composite.h (it's in $(INTERVALS_H)). | |
3145 | (doc.o): Depend on systime.h, coding.h, and composite.h. | |
3146 | (editfns.o): Don't depend explicitly on dispextern.h. | |
3147 | (emacs.o): Depend on frame.h and coding.h. | |
3148 | (eval.o): Depend on coding.h, composite.h, and xterm.h. | |
3149 | (fileio.o): Depend on frame.h and commands.h. Don't depend | |
3150 | explicitly on dispextern.h. | |
3151 | (filelock.o): Don't depend on epaths.h and charset.h. Depend on | |
3152 | composite.h. | |
3153 | (fns.o): Don't depend on termhooks.h. | |
3154 | (font.o): Depend on buffer.h, composite.h, fontset.h, and xterm.h. | |
3155 | (fontset.o): Depend on blockinput.h, atimer.h, systime.h, | |
3156 | coding.h, $(INTERVALS_H), window.h, xterm.h. | |
3157 | (frame.o): Depend on coding.h, composite.h, termhooks.h, and ccl.h. | |
3158 | (fringe.o): Depend on blockinput.h, atimer.h, and systime.h. | |
3159 | (ftfont.o): Depend on blockinput.h, atimer.h, systime.h, coding.h, | |
3160 | fontset.h, ccl.h, and ftfont.h. | |
3161 | (ftxfont.o): Depend on atimer.h, systime.h, fontset.h, and ccl.h. | |
3162 | (gtkutil.o): Depend on dispextern.h and composite.h. | |
3163 | (image.o): Depend on epaths.h, character.h, coding.h, composite.h, | |
3164 | termhooks.h, and ccl.h. | |
3165 | (indent.o): Depend on systime.h, coding.h, and $(INTERVALS_H). | |
3166 | (intervals.o): Depend on systime.h and coding.h. | |
3167 | (keyboard.o): Depend on composite.h and coding.h. | |
3168 | (keymap.o): Depend on coding.h and frame.h. | |
3169 | (lread.o): Depend on systime.h, frame.h, blockinput.h, and atimer.h. | |
3170 | (macros.o): Depend on systime.h, coding.h, and composite.h. | |
3171 | (menu.o): Depend on systime.h, coding.h, composite.h, window.h, | |
3172 | and atimer.h. | |
3173 | (minibuf.o): Depend on systime.h and coding.h. Don't depend on | |
3174 | dispextern.h explicitly. | |
0b5397c2 SM |
3175 | (print.o): Depend on termhooks.h, coding.h, and ccl.h. |
3176 | Don't depend explicitly on dispextern.h and composite.h. | |
3f670e9a EZ |
3177 | (process.o): Depend on character.h, xgselect.h, and sysselect.h. |
3178 | (regex.o): Don't depend on charset.h. | |
3179 | (scroll.o): Depend on systime.h, coding.h, composite.h, and window.h. | |
3180 | (search.o): Don't depend explicitly on composite.h. | |
3181 | (sound.o): Depend on atimer.h and systime.h. | |
3182 | (syntax.o): Don't depend explicitly on composite.h. | |
3183 | (sysdep.o): Depend on coding.h and composite.h. | |
3184 | (term.o): Depend on xterm.h and buffer.h. | |
3185 | (terminal.o): Depend on dispextern.h, composite.h, and systime.h. | |
3186 | (textprop.o): Don't depend on dispextern.h explicitly. | |
3187 | (undo.o): Depend on dispextern.h. | |
3188 | (window.o): Depend on coding.h and termhooks.h. Don't depend on | |
3189 | dispextern.h and composite.h explicitly. | |
3190 | (xdisp.o): Depend on ccl.h. | |
3191 | (xfaces.o): Depend on coding.h and ccl.h. | |
3192 | (xfns.o): Depend on $(INTERVALS_H) and ccl.h. | |
3193 | (xfont.o): Depend on atimer.h, systime.h, fontset.h, and ccl.h. | |
3194 | (xftfont.o): Depend on atimer.h, systime.h, fontset.h, ccl.h, and | |
3195 | ftfont.h. | |
3196 | (xgselect.o): New dependency. | |
3197 | (xmenu.o): Depend on composite.h, keymap.h, and sysselect.h. | |
3198 | (xselect.o): Depend on keyboard.h, coding.h, and composite.h. | |
3199 | (xsettings.o): Depend on dispextern.h, keyboard.h, systime.h, | |
3200 | coding.h, composite.h, blockinput.h, atimer.h, and termopts.h. | |
3201 | (xsmfns.o): Depend on frame.h and dispextern.h. | |
3202 | (xterm.o): Depend on intervals.h, keymap.h, xgselect.h, and | |
3203 | sysselect.h. | |
3204 | ||
7a6f7fea AS |
3205 | 2009-12-19 Andreas Schwab <schwab@linux-m68k.org> |
3206 | ||
3207 | * font.c (Fclear_font_cache): Pass correct cache argument to | |
3208 | font_clear_cache. | |
3209 | ||
f4c21026 AS |
3210 | 2009-12-16 Andreas Schwab <schwab@linux-m68k.org> |
3211 | ||
3212 | * Makefile.in (prefix-args${EXEEXT}): Don't compile prefix-args.c | |
3213 | twice. | |
3214 | ||
f7ab0997 CY |
3215 | 2009-12-15 Chong Yidong <cyd@stupidchicken.com> |
3216 | ||
3217 | * xdisp.c (decode_mode_spec): Inhibit garbage collection when | |
3218 | calling file-remote-p. Reported by Jim Meyering. | |
3219 | ||
fa8e045a MA |
3220 | 2009-12-15 Michael Albinus <michael.albinus@gmx.de> |
3221 | ||
3222 | * dbusbind.c (xd_retrieve_arg): Reorder declarations in order to | |
777013f2 | 3223 | avoid compiler warnings. (Bug #5217) |
fa8e045a | 3224 | |
a63dba42 KH |
3225 | 2009-12-14 Kenichi Handa <handa@m17n.org> |
3226 | ||
3227 | * coding.c (decode_coding_iso_2022): Ignore ISO_CODE_SS2_7 (0x19) | |
3228 | in 8-bit encoding. | |
3229 | ||
5ce6e4f4 | 3230 | 2009-12-13 Pat Thoyts <patthoyts@users.sourceforge.net> (tiny change) |
36acb2a7 JD |
3231 | |
3232 | * xfns.c (x_create_tip_frame): Set the extended window manager hint for | |
3233 | tooltip windows. | |
3234 | ||
223e5fc6 JD |
3235 | 2009-12-13 Jan Djärv <jan.h.d@swipnet.se> |
3236 | ||
36acb2a7 JD |
3237 | * xterm.h (struct x_display_info): Add Xatom_net_window_type_tooltip and |
3238 | Xatom_net_window_type. | |
3239 | ||
3240 | * xterm.c (x_term_init): Initialize Xatom_net_window_type_tooltip and | |
3241 | Xatom_net_window_type. | |
3242 | ||
b8f00677 JD |
3243 | * xterm.c (my_log_handler): New function. |
3244 | (x_term_init): Set my_log_handler as log handler during gtk_init | |
5ce6e4f4 | 3245 | so we can filter out buggy messages. (Bug #5120). |
b8f00677 | 3246 | |
e5f0bc9a JD |
3247 | * xterm.c (xg_scroll_callback): Parameter list changed, |
3248 | use parameter GtkScrollType to determine scroll/line/page. | |
3249 | Only allow dragging if a button < 4 is grabbed (bug #5177). | |
3250 | (xg_end_scroll_callback): New function. | |
3251 | (x_create_toolkit_scroll_bar): Pass xg_end_scroll_callback to | |
3252 | xg_create_scroll_bar. | |
3253 | ||
3254 | * gtkutil.c (xg_gtk_scroll_destroy): Remove XG_LAST_SB_DATA handling. | |
3255 | (scroll_end_callback): Remove. | |
3256 | (xg_create_scroll_bar): Add parameter end_callback, bind it to | |
3257 | button-release-event. Replace value-changed event with change-value, | |
3258 | bug #5177, | |
3259 | (xg_event_is_for_scrollbar): Only return true if button is less than 4, | |
3260 | bug #5177. | |
3261 | ||
3262 | * gtkutil.h (XG_LAST_SB_DATA): Remove. | |
3263 | (xg_create_scroll_bar): Add GCallback end_callback. | |
3264 | ||
223e5fc6 JD |
3265 | * xftfont.c (QClcdfilter): New variable. |
3266 | (xftfont_open): Parse constant names for RGBA, HINT_STYLE and LCDFILTER. | |
3267 | (syms_of_xftfont): Initialize QClcdfilter. | |
3268 | ||
3c055b77 JD |
3269 | 2009-12-12 Jan Djärv <jan.h.d@swipnet.se> |
3270 | ||
3271 | * xsettings.c (struct xsettings): Add member seen. | |
3272 | (parse_xft_settings): Update member seen with what we have read. | |
ba68c0b0 | 3273 | Return non-zero if Xft-settings have been parsed, 0 otherwise. |
3c055b77 JD |
3274 | (apply_xft_settings): Only update Xft settings with what member seen |
3275 | indicates as new. | |
3276 | ||
05fe33ff EZ |
3277 | 2009-12-12 Eli Zaretskii <eliz@gnu.org> |
3278 | ||
3279 | * dispextern.h (struct text_pos): Use EMACS_INT; | |
3280 | (struct glyph): Use EMACS_INT for charpos. | |
3281 | (struct it): Use EMACS_INT for stop_charpos, end_charpos, | |
3282 | region_beg_charpos, region_end_charpos, | |
3283 | redisplay_end_trigger_charpos, and also for | |
3284 | iterator_stack_entry.end_charpos and | |
3285 | iterator_stack_entry.stop_charpos. | |
3286 | ||
e8d7886a JD |
3287 | 2009-12-12 Jan Djärv <jan.h.d@swipnet.se> |
3288 | ||
5ce6e4f4 | 3289 | * gtkutil.c (scroll_end_callback): New function (bug #5177). |
e8d7886a JD |
3290 | (xg_create_scroll_bar): Call scroll_end_callback on button release |
3291 | event (bug #5177). | |
3292 | (xg_event_is_for_scrollbar): != replaced with ==. | |
3293 | ||
d0db2ec8 KH |
3294 | 2009-12-12 Kenichi Handa <handa@m17n.org> |
3295 | ||
3296 | * ftfont.c (struct ftfont_info): New member matrix. | |
3297 | (ftfont_open): Setup xftfont_info->matrix. | |
3298 | (MFLTFontFT): New member matrix. | |
3299 | (FLOOR, CEIL, ROUND): New macros. | |
3300 | (ftfont_get_metrics): Handle matrix transformation. | |
3301 | (ftfont_shape_by_flt): New arg matrix. Callers changed. | |
3302 | ||
3303 | * xftfont.c (struct xftfont_info): New member matrix. | |
3304 | (xftfont_open): Setup xftfont_info->matrix. | |
3305 | ||
3306 | 2009-12-10 Kenichi Handa <handa@m17n.org> | |
3307 | ||
3308 | * xdisp.c (append_space_for_newline): Consider face-remapping. | |
3309 | ||
2cc7b62f AS |
3310 | 2009-12-09 Andreas Schwab <schwab@linux-m68k.org> |
3311 | ||
b87dd913 AS |
3312 | * xsettings.c: Include "keyboard.h". |
3313 | ||
eba5eb94 AS |
3314 | * gtkutil.c (xg_tool_bar_proxy_help_callback): Fix missing return. |
3315 | ||
2cc7b62f AS |
3316 | Fix implicit function declarations. |
3317 | * cmds.c: Include "frame.h". | |
3318 | * frame.c: Include "font.h" also if !HAVE_WINDOW_SYSTEM. | |
3319 | * frame.h: Move declaration of delete_frame outside of | |
3320 | HAVE_WINDOW_SYSTEM. | |
3321 | ||
a4ef73c8 CY |
3322 | 2009-12-09 Ken Brown <kbrown@cornell.edu> (tiny change) |
3323 | ||
3324 | * s/cygwin.h (G_SLICE_ALWAYS_MALLOC): New variable. | |
3325 | ||
3326 | * emacs.c (main): Set the G_SLICE environment variable for Cygwin | |
3327 | GTK builds. | |
3328 | ||
944a300c AS |
3329 | 2009-12-07 Andreas Schwab <schwab@linux-m68k.org> |
3330 | ||
3331 | * unexelf.c (unexec): Don't search for .data twice. | |
3332 | ||
022eef62 CY |
3333 | 2009-12-05 Chong Yidong <cyd@stupidchicken.com> |
3334 | ||
426ac949 CY |
3335 | * xdisp.c (push_display_prop): Don't set avoid_cursor_p. Return 0 |
3336 | if push failed. | |
3337 | (handle_line_prefix): Set avoid_cursor_p here. Check return value | |
3338 | of push_display_prop (Bug#5000). | |
3339 | ||
022eef62 CY |
3340 | * xfaces.c (Fx_family_fonts): Handle 2009-07-14 change to return |
3341 | value of font_list_entities (Bug#5085). | |
3342 | ||
be95bee9 JB |
3343 | 2009-12-04 Juanma Barranquero <lekktu@gmail.com> |
3344 | ||
3345 | Fix `string-to-number' to deal consistently with integers and floats. | |
3346 | * lread.c (isfloat_string): New argument ignore_trailing to accept all | |
3347 | trailing characters, not just whitespace. | |
3348 | (read1): Pass new arg 0 to keep old behavior. | |
3349 | * data.c (Fstring_to_number): Pass 1 to isfloat_string to ignore | |
3350 | trailing chars, as it is already done for integers. Doc fixes. | |
3351 | * lisp.h (isfloat_string): Add new arg to declaration of isfloat_string. | |
3352 | ||
24c2d7ce EZ |
3353 | 2009-12-04 Eli Zaretskii <eliz@gnu.org> |
3354 | ||
0b5397c2 SM |
3355 | * dispextern.h (enum prop_idx) <AUTO_COMPOSED_PROP_IDX>: |
3356 | Delete unused enumeration value. | |
24c2d7ce | 3357 | |
7e694795 EZ |
3358 | 2009-12-03 Eli Zaretskii <eliz@gnu.org> |
3359 | ||
3360 | * Makefile.in (lisp, shortlisp): Replace indian.el with indian.elc. | |
3361 | ||
84b31826 SM |
3362 | 2009-12-03 Daniel Hackney <dan@haxney.org> (tiny change) |
3363 | ||
3364 | * process.c (Fmake_network_process): Fix up the tests for | |
3365 | "connectionless socket", so they DTRT for seqpacket sockets as well. | |
3366 | ||
f00c449b SM |
3367 | 2009-12-03 Stefan Monnier <monnier@iro.umontreal.ca> |
3368 | ||
3369 | * process.c (Qseqpacket): New symbol. | |
3370 | (HAVE_SEQPACKET): New macro. | |
3371 | (Fmake_network_process): Accept new :type `seqpacket'. | |
3372 | (init_process): Add `seqpacket' feature when applicable. | |
3373 | (syms_of_process): Initialize Qseqpacket. | |
3374 | ||
8096a0ff YM |
3375 | 2009-12-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3376 | ||
3377 | * font.c (font_load_for_lface, font_open_by_name): Don't store name | |
3378 | if entity is Qnil. | |
3379 | ||
3e0de07f SM |
3380 | 2009-11-30 Stefan Monnier <monnier@iro.umontreal.ca> |
3381 | ||
3382 | * print.c (print_preprocess): Preprocess the key_and_value table of | |
3383 | hashtables, even tho they're "hidden" (bug#5082). | |
3384 | ||
abeafb2a JD |
3385 | 2009-11-29 Jan Djärv <jan.h.d@swipnet.se> |
3386 | ||
3387 | * frame.c (frame_make_pointer_invisible) | |
3388 | (frame_make_pointer_visible): Declare f before statements. | |
3389 | ||
4bf47195 EZ |
3390 | 2009-11-28 Eli Zaretskii <eliz@gnu.org> |
3391 | ||
3392 | * Makefile.in [!AUTO_DEPEND]: Remove outdated comment about | |
3393 | omitted dependencies on lisp.h. | |
3394 | ||
c525b3f2 JD |
3395 | 2009-11-27 Jan Djärv <jan.h.d@swipnet.se> |
3396 | ||
ece2d4ed JD |
3397 | * xftfont.c (xftfont_end_for_frame): Just return if dpyinfo->display |
3398 | is NULL. | |
3399 | ||
3400 | * xterm.c (x_delete_terminal): Set dpyinfo->display to NULL. | |
3401 | ||
3402 | * frame.c (frame_make_pointer_invisible) | |
3e0de07f | 3403 | (frame_make_pointer_visible): Just return if there isn't any selected |
ece2d4ed JD |
3404 | frame. |
3405 | ||
c525b3f2 JD |
3406 | * search.c (simple_search): Remove warning by making *p const. |
3407 | ||
2f00e299 DN |
3408 | 2009-11-26 Dan Nicolaescu <dann@ics.uci.edu> |
3409 | ||
3410 | * xdisp.c (power_letter): Remove duplicate const. | |
3411 | ||
084b049b JD |
3412 | 2009-11-25 Jan Djärv <jan.h.d@swipnet.se> |
3413 | ||
a1fadc6f JD |
3414 | * term.c (delete_tty): Remove check for last terminal (bug#4970). |
3415 | ||
5ce6e4f4 | 3416 | * xsettings.c: Revert changes from 2009-11-23. Just use Xft |
084b049b JD |
3417 | defaults (bug #5025). |
3418 | ||
28259cac SM |
3419 | 2009-11-24 Stefan Monnier <monnier@iro.umontreal.ca> |
3420 | ||
3421 | * insdel.c (adjust_markers_for_delete): Move it in the | |
3422 | right direction! (bug#4803) | |
3423 | ||
e8e14166 YM |
3424 | 2009-11-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3425 | ||
3426 | * font.c (font_open_entity): Don't use ASET if font_object is Qnil. | |
3427 | ||
3428 | * xterm.c (x_new_font): Update f->scroll_bar_actual_width. | |
3429 | ||
86677b58 GM |
3430 | 2009-11-24 Glenn Morris <rgm@gnu.org> |
3431 | ||
3432 | * frame.c (focus-follows-mouse): Mention mouse-autoselect-window. | |
3433 | ||
581e51e8 JD |
3434 | 2009-11-23 Jan Djärv <jan.h.d@swipnet.se> |
3435 | ||
cfc86c7a JD |
3436 | * Makefile.in: Must create deps for ecrt0.o in its rule. |
3437 | ||
581e51e8 JD |
3438 | * xfns.c (Fx_select_font): Try to convert Fontconfig name to Gtk name |
3439 | because that is what Gtk+ font dialog understands. | |
3440 | ||
3441 | * font.c (font_make_object, Fcopy_font_spec): Use Fcopy_alist instead | |
3442 | of Fcopy_sequence. | |
3443 | (font_open_by_name): Put name given into QCname for font-object returned. | |
3444 | ||
3445 | * frame.c (x_set_font): Save original font name as frame parameter | |
3446 | font-parameter. | |
3447 | ||
3448 | * xsettings.c (set_default_xft_settings): New function. | |
3449 | (init_xfd_settings): Call set_default_xft_settings if no XSETTINGS window | |
3450 | is found. | |
3451 | ||
8b264ecb AS |
3452 | 2009-11-22 Andreas Schwab <schwab@linux-m68k.org> |
3453 | ||
3454 | * search.c (simple_search): Avoid CHAR_TO_BYTE in inner loop when | |
3455 | searching backwards through multibyte buffer. | |
3456 | ||
872870b2 JD |
3457 | 2009-11-21 Jan Djärv <jan.h.d@swipnet.se> |
3458 | ||
3459 | * xterm.c: #include xgselect.h. | |
3460 | (x_initialize): Call xgselect_initialize. | |
3461 | ||
3462 | * xsettings.c (something_changedCB): C++ comments => C comments. | |
3463 | (init_gconf): Do not deal with any GLib file descriptors, xg_select | |
3464 | does that now. | |
3465 | ||
3466 | * gtkutil.c (xg_timer, xg_process_timeouts, xg_start_timer) | |
3467 | (xg_stop_timer, menu_grab_callback_cnt, menu_grab_callback) | |
3468 | (scroll_bar_button_cb): Remove. | |
5ce6e4f4 | 3469 | (create_menus): C++ comments => C comments. Don't bind grab-notify |
872870b2 JD |
3470 | event. |
3471 | (xg_create_scroll_bar): Don't bind button-press-event and | |
3472 | button-release-event. | |
3473 | ||
3474 | * process.c: Include xgselect.h if defined (USE_GTK) || | |
3475 | defined (HAVE_GCONF). | |
3476 | (wait_reading_process_output): Call xg_select for the same condition. | |
3477 | ||
3478 | * xgselect.c (xg_select): New function to better integrate with | |
3479 | GLib/Gtk event handling. Needed if GConf daemon dies/restarts. | |
3480 | ||
3481 | * xgselect.h: New file, declare xg_select, xgselect_initialize. | |
3482 | ||
3483 | * Makefile.in (XOBJ): Add xgselect.o. | |
3484 | ||
62a6e103 AS |
3485 | 2009-11-21 Andreas Schwab <schwab@linux-m68k.org> |
3486 | ||
0b5397c2 SM |
3487 | * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): |
3488 | Remove ignored second argument. All callers changed. | |
62a6e103 AS |
3489 | * regex.c (STRING_CHAR, STRING_CHAR_AND_LENGTH, RE_STRING_CHAR) |
3490 | (RE_STRING_CHAR_AND_LENGTH): Likewise. | |
3491 | * xdisp.c (string_char_and_length): Likewise. | |
3492 | ||
b0ca0f33 DN |
3493 | 2009-11-21 Dan Nicolaescu <dann@ics.uci.edu> |
3494 | ||
3495 | * xterm.c (x_new_font): | |
3496 | * print.c (print_object): | |
3497 | * cmds.c (Fself_insert_command): Move declarations before statements. | |
3498 | ||
dd5a6279 CY |
3499 | 2009-11-20 Ken Brown <kbrown@cornell.edu> (tiny change) |
3500 | ||
3501 | * s/cygwin.h: Remove unneeded linker flags. | |
3502 | ||
4a8e097d JD |
3503 | 2009-11-20 Jan Djärv <jan.h.d@swipnet.se> |
3504 | ||
0d1d0d26 JD |
3505 | * xfns.c (x_default_font_parameter): Call xsettings_get_system_font. |
3506 | ||
3507 | * xsettings.h: Declare xsettings_get_system_font. | |
3508 | ||
3509 | * xsettings.c (xsettings_get_system_font): New function. | |
3510 | (init_gconf): No use initiating gconf unless we have Xft also. | |
3511 | (syms_of_xsettings): Only provide system-font-setting if HAVE_XFT and | |
3512 | HAVE_GCONF. | |
3513 | ||
4a8e097d JD |
3514 | * gtkutil.c (xg_modify_menubar_widgets): If menubar is totally empty |
3515 | add a blank entry so it doesn't collapse into nothing. | |
3516 | ||
8ab1650e SM |
3517 | 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca> |
3518 | ||
3519 | * lread.c (Funintern): Comment out last change. | |
3520 | ||
82c602f0 RS |
3521 | 2009-11-19 Richard Stallman <rms@gnu.org> |
3522 | ||
3523 | * lread.c (Funintern): Error if symbol is t or nil. | |
3524 | ||
87e32266 SM |
3525 | 2009-11-19 Stefan Monnier <monnier@iro.umontreal.ca> |
3526 | ||
3527 | * insdel.c (make_gap_larger): Don't make as many assumptions about the | |
3528 | representation of Lisp integers. | |
3529 | Reported by MJ Chan <mjchan.inbox@gmail.com>. | |
3530 | ||
1b9ac145 AS |
3531 | 2009-11-17 Andreas Schwab <schwab@linux-m68k.org> |
3532 | ||
3533 | * lisp.h: Remove declaration of Ffont_get_system_font. | |
3534 | * xfns.c: Move include of "xsettings.h". | |
3535 | * xsettings.h: Use EXFUN to declare Ffont_get_system_font. | |
3536 | ||
dfb3c4c6 JD |
3537 | 2009-11-17 Jan Djärv <jan.h.d@swipnet.se> |
3538 | ||
87e32266 SM |
3539 | * xsettings.c (something_changedCB, Ffont_get_system_font): |
3540 | Check use_system_font. | |
dfb3c4c6 JD |
3541 | (syms_of_xsettings): DEFVAR font-use-system-font. |
3542 | ||
9370c1d8 AS |
3543 | 2009-11-17 Andreas Schwab <schwab@linux-m68k.org> |
3544 | ||
25fe851a AS |
3545 | * xfns.c (x_default_font_parameter): Remove dead assignment. |
3546 | ||
9370c1d8 AS |
3547 | * lisp.h (Fbyteorder, init_font, Ffont_get_system_font): Declare. |
3548 | ||
637fa988 JD |
3549 | 2009-11-17 Jan Djärv <jan.h.d@swipnet.se> |
3550 | ||
87e32266 | 3551 | * xftfont.c (xftfont_fix_match): Older versions of fontconfig do |
21050de1 | 3552 | not have FC_LCD_*. #define them if not there. |
a6eb20d8 | 3553 | |
87e32266 | 3554 | * xsettings.c (parse_xft_settings, apply_xft_settings): Ditto. |
a6eb20d8 | 3555 | |
637fa988 JD |
3556 | * xterm.h (struct x_display_info): Add atoms and Window for xsettings. |
3557 | ||
3558 | * xterm.c (handle_one_xevent): Call xft_settings_event for | |
3559 | ClientMessage, PropertyNotify and DestroyNotify. | |
3560 | (x_term_init): If we have XFT, get DPI from Xft.dpi. | |
3561 | Call xsettings_initialize. | |
3562 | ||
3563 | * xftfont.c (xftfont_fix_match): New function. | |
3564 | (xftfont_open): Call XftDefaultSubstitute before XftFontMatch. | |
3565 | Call xftfont_fix_match after XftFontMatch. | |
3566 | ||
3567 | * xfont.c (xfont_driver): Initialize all members. | |
3568 | ||
87e32266 SM |
3569 | * xfns.c (x_default_font_parameter): |
3570 | Try font from Ffont_get_system_font. | |
637fa988 JD |
3571 | Do not get font from x_default_parameter if we got one from |
3572 | Ffont_get_system_font. | |
87e32266 | 3573 | (Fx_select_font): Get the defaut font name from :name of FRAME_FONT(f). |
637fa988 JD |
3574 | |
3575 | * w32font.c (w32font_driver): Initialize all members. | |
3576 | ||
3577 | * termhooks.h (enum event_kind): CONFIG_CHANGED_EVENT is new. | |
3578 | ||
3579 | * lisp.h: Declare syms_of_xsettings. | |
3580 | ||
87e32266 SM |
3581 | * keyboard.c (kbd_buffer_get_event, make_lispy_event): |
3582 | Handle CONFIG_CHANGED_EVENT. | |
637fa988 JD |
3583 | |
3584 | * ftfont.c (ftfont_filter_properties): New function. | |
3585 | ||
3586 | * frame.c (x_set_font): Remove unused variable lval. | |
3587 | ||
87e32266 | 3588 | * font.h (struct font_driver): Add filter_properties. |
637fa988 JD |
3589 | |
3590 | * font.c (font_put_extra): Don't return if val is nil, it means | |
3591 | boolean option is off. | |
3592 | (font_parse_fcname): Collect all extra properties in extra_props | |
3593 | and call filter_properties for all drivers with extra_props and | |
3594 | font as parameter. | |
87e32266 SM |
3595 | (font_open_entity): Do not use cache, it does not pick up new |
3596 | fontconfig settings like hinting. | |
637fa988 JD |
3597 | (font_load_for_lface): If spec had a name in it, store it in entity. |
3598 | ||
a73f9c9d | 3599 | * emacs.c (main): Call syms_of_xsettings. |
637fa988 JD |
3600 | |
3601 | * config.in: HAVE_GCONF is new. | |
3602 | ||
3603 | * Makefile.in (GCONF_CFLAGS, GCONF_LIBS): New variables for HAVE_GCONF. | |
3604 | xsettings.o is new. | |
3605 | ||
5a942932 KH |
3606 | 2009-11-17 Kenichi Handa <handa@m17n.org> |
3607 | ||
3608 | * xdisp.c (x_produce_glyphs): Consider face-remapping when falling | |
3609 | back to the default font in case that no suitable font is found. | |
3610 | ||
b7c7a4d1 SM |
3611 | 2009-11-17 Stefan Monnier <monnier@iro.umontreal.ca> |
3612 | ||
3613 | * menu.c (Fx_popup_menu) [HAVE_NS]: Use generic code for window edge. | |
3614 | Suggested by Chad Brown <yandros@mit.edu>. | |
3615 | (push_menu_item): Use MENU_ITEMS_ITEM_* names. | |
3616 | ||
072f1e39 JD |
3617 | 2009-11-16 Jan Djärv <jan.h.d@swipnet.se> |
3618 | ||
3619 | * xmenu.c (x_menu_wait_for_event): Call XFlush before select. | |
3620 | ||
5d1e70a2 AS |
3621 | 2009-11-14 Andreas Schwab <schwab@linux-m68k.org> |
3622 | ||
87e32266 | 3623 | * Makefile.in: Ignore errors from mkdir when creating deps directory. |
5d1e70a2 | 3624 | |
a53cfbe5 JD |
3625 | 2009-11-14 Jan Djärv <jan.h.d@swipnet.se> |
3626 | ||
473a99b7 JD |
3627 | * gtkutil.c (xg_update_frame_menubar): Do nothing if menubar already |
3628 | has a parent. | |
3629 | ||
a53cfbe5 | 3630 | * Makefile.in: If AUTO_DEPEND is defined, make gcc generate |
5ce6e4f4 | 3631 | dependency files in deps/. Include those files into Makefile. |
a53cfbe5 JD |
3632 | |
3633 | * config.in: Generated (AUTO_DEPEND). | |
3634 | ||
f04bb9b2 MA |
3635 | 2009-11-13 Michael Albinus <michael.albinus@gmx.de> |
3636 | ||
b7c7a4d1 | 3637 | * dbusbind.c (Vdbus_registered_objects_table): Rename from |
f04bb9b2 MA |
3638 | Vdbus_registered_functions_table, because it contains also |
3639 | properties. Fix docstring. | |
b7c7a4d1 | 3640 | (Fdbus_call_method, Fdbus_call_method_asynchronously): Fix docstring. |
f04bb9b2 | 3641 | |
8f11f7ec SM |
3642 | 2009-11-13 Stefan Monnier <monnier@iro.umontreal.ca> |
3643 | ||
3644 | * alloc.c (mark_object): Don't reprocess marked strings. | |
3645 | Check vector's markbit earlier. Adjust calls to mark_vectorlike. | |
3646 | (mark_vectorlike, mark_char_table): Assume the object is unmarked. | |
3647 | ||
8a605fe8 KH |
3648 | 2009-11-13 Kenichi Handa <handa@m17n.org> |
3649 | ||
8f11f7ec | 3650 | * category.c (word_boundary_p): Adjust for the change of the |
8a605fe8 KH |
3651 | semantics of Vword_combining_categories. |
3652 | (Vword_combining_categories): Describe the slight change of the | |
3653 | semantics. | |
3654 | ||
241c4680 EZ |
3655 | 2009-11-13 Eli Zaretskii <eliz@gnu.org> |
3656 | ||
3657 | * menu.c (Fx_popup_menu): Call Fx_hide_tip only if HAVE_WINDOW_SYSTEM. | |
3658 | ||
3659 | * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Revert last change. | |
3660 | ||
5d58e44c SM |
3661 | 2009-11-12 Stefan Monnier <monnier@iro.umontreal.ca> |
3662 | ||
3663 | * xdisp.c (syms_of_xdisp): Fix typo in last change. | |
3664 | ||
5e13f9d3 JB |
3665 | 2009-11-12 Juanma Barranquero <lekktu@gmail.com> |
3666 | ||
3667 | * makefile.w32-in: Update dependencies; add dependencies to lisp.h. | |
3668 | ||
cf54c754 DR |
3669 | 2009-11-11 David Reitter <david.reitter@gmail.com> |
3670 | ||
3671 | * menu.c (Fx_popup_menu): Remove left-over debugging code and rename | |
3672 | variables to fix 2009-11-09 change. | |
3673 | ||
a4ada374 DN |
3674 | 2009-11-11 Dan Nicolaescu <dann@ics.uci.edu> |
3675 | ||
91433552 DN |
3676 | * process.c (ifflag_def): Make flag_sym constant. |
3677 | (Fnetwork_interface_info): Use a constant pointer. | |
3678 | (ifflag_table): | |
3679 | * xfns.c (cursor_bits): | |
3680 | * xdisp.c (power_letter): | |
3681 | * termcap.c (speeds, esctab): | |
3682 | * sysdep.c (baud_convert): | |
3683 | * keyboard.c (lispy_accent_codes, modifier_names): | |
3684 | * image.c (xbm_format, xpm_format, pbm_format, png_format) | |
3685 | (jpeg_format, tiff_format, gif_format, svg_format) | |
3686 | (interlace_start, interlace_increment, gs_format): | |
3687 | * gtkutil.c (separator_names): | |
3688 | * fringe.c (swap_nibble): | |
3689 | * fns.c (base64_value_to_char, base64_char_to_value): | |
3690 | * fileio.c (make_temp_name_tbl): | |
3691 | * coding.c (suffixes): Make constant. | |
3692 | ||
f4265f6c DN |
3693 | * frame.c (make_initial_frame): |
3694 | * buffer.c (init_buffer_once): Use make_pure_c_string instead of | |
3695 | build_string. | |
3696 | * alloc.c (syms_of_alloc): Build Vmemory_signal_data in pure memory. | |
3697 | ||
04420943 DN |
3698 | * s/freebsd.h: |
3699 | * s/netbsd.h: Remove code referring to non-existent file: unexsunos4.o. | |
3700 | ||
0a5d24ae DN |
3701 | * Makefile.in: Add dependencies to lisp.h. Remove dependencies |
3702 | for non-existent files: unexmips.c, unexnext.c, abbrev.c, malloc.c. | |
3703 | ||
a4ada374 DN |
3704 | * xfns.c (syms_of_xfns): Use make_pure_string instead of build_string. |
3705 | * xterm.c (syms_of_xterm): | |
3706 | * xfaces.c (syms_of_xfaces): | |
3707 | * xdisp.c (syms_of_xdisp): | |
3708 | * lread.c (syms_of_lread): | |
3709 | * keyboard.c (syms_of_keyboard): Use make_pure_c_string instead of | |
3710 | build_string. | |
91433552 | 3711 | |
a4ada374 DN |
3712 | * doc.c (Fsnarf_documentation): Purecopy Vbuild_files. |
3713 | ||
af98fc7f SM |
3714 | 2009-11-10 Stefan Monnier <monnier@iro.umontreal.ca> |
3715 | ||
8ab1650e | 3716 | * fns.c (Fplist_get): Merge the active and the commented out code. |
af98fc7f | 3717 | |
e90292a9 JD |
3718 | 2009-11-10 Jan Djärv <jan.h.d@swipnet.se> |
3719 | ||
3720 | * keyboard.h: Declare timer_check. | |
3721 | ||
3722 | * keyboard.c (timer_check_2): New function that does what the old | |
3723 | timer_check did. | |
3724 | (timer_check): Call timer_check_2 until -1 or a non-zero time is | |
3725 | returned, i.e. don't return -1 with timers pending. | |
3726 | ||
3727 | * process.c: Remove extern declaration of timer_check. | |
3728 | ||
3729 | * xmenu.c (x_menu_wait_for_event): Remove code that did a timeout | |
3730 | even if timer_check returned -1. | |
3731 | ||
af98fc7f SM |
3732 | * gtkutil.c (xg_dialog_response_cb): Data is now a struct |
3733 | xg_dialog_data. | |
e90292a9 JD |
3734 | (pop_down_dialog): Destroy widget (if any), cancel timer and unref |
3735 | the event loop. | |
3736 | (xg_maybe_add_timer, xg_dialog_run): New functions (bug #4574). | |
3737 | (xg_get_file_name, xg_get_font_name): Call xg_dialog_run (bug #4574). | |
3738 | Destroy the dialog after xg_dialog_run. | |
3739 | ||
045b83c0 SM |
3740 | 2009-11-10 Stefan Monnier <monnier@iro.umontreal.ca> |
3741 | ||
3742 | * menu.c (Fx_popup_menu) [HAVE_NS]: Remove unused vars. | |
3743 | ||
1fb99a3a JD |
3744 | 2009-11-10 Jan Djärv <jan.h.d@swipnet.se> |
3745 | ||
3746 | * xmenu.c (xmenu_show): Must not be static after 2009-11-09 changes. | |
3747 | ||
04e452cb JB |
3748 | 2009-11-09 Juanma Barranquero <lekktu@gmail.com> |
3749 | ||
3750 | * menu.c [HAVE_NTGUI]: Declare current_popup_menu. | |
3751 | ||
ef7417fd SM |
3752 | 2009-11-09 Stefan Monnier <monnier@iro.umontreal.ca> |
3753 | ||
3754 | * menu.c (Fx_popup_menu): Consolidate versions from xmenu.c, | |
3755 | w32menu.c, and nsmenu.m. | |
3756 | Simplify the obsolete case where position is nil. | |
3757 | (cleanup_popup_menu): New function, moved from nsmenu.m. | |
3758 | (struct skp): Remove slot `notreal'. | |
3759 | (single_keymap_panes, keymap_panes): Remove arg `notreal' and | |
3760 | adjust callers. | |
3761 | (single_menu_item): Adjust call to parse_menu_item. | |
3762 | (syms_of_menu): Defsubr x-popup-menu. | |
3763 | * menu.h (Vmenu_updating_frame): Consolidate declarations from *menu.c. | |
3764 | (keymap_panes): Don't export any more. | |
3765 | (mouse_position_for_popup, w32_menu_show, ns_menu_show) | |
3766 | (xmenu_show): Declare. | |
3767 | * keyboard.c (parse_menu_item): Remove arg `notreal'. | |
3768 | (menu_bar_item, read_char_minibuf_menu_prompt): Adjust callers. | |
3769 | * keyboard.h (parse_menu_item): Update declaration. | |
3770 | * xmenu.c (Fx_popup_menu): Remove. | |
3771 | (syms_of_xmenu): Don't defsubr x-popup-menu. | |
3772 | * w32menu.c (Fx_popup_menu): Remove. | |
3773 | (syms_of_w32menu): Don't defsubr x-popup-menu. | |
3774 | * nsmenu.m (cleanup_popup_menu): Remove. | |
3775 | (ns_menu_show): Rename from ns_popup_menu and remove all the code | |
3776 | moved to menu.c's Fx_popup_menu. | |
3777 | (Fx_popup_menu): Remove. | |
3778 | (syms_of_nsmenu): Don't defsubr x-popup-menu, and don't initialize | |
3779 | menu_items (it's done in menu.c already). | |
3780 | ||
424d6179 SM |
3781 | 2009-11-08 Stefan Monnier <monnier@iro.umontreal.ca> |
3782 | ||
3783 | * keyboard.c (parse_menu_item): Handle `notreal' a bit earlier. | |
3784 | Use `tem' less. Make sure KEYEQ holds a string or nil (bug#4879). | |
3785 | ||
c0df13a6 | 3786 | 2009-11-08 Chong Yidong <cyd@stupidchicken.com> |
a20903d0 CY |
3787 | |
3788 | * xmenu.c (Fx_popup_menu): Extract event timestamp. Pass it to | |
c0df13a6 | 3789 | xmenu_show. Hide any tooltip before opening a menu. |
a20903d0 CY |
3790 | (xmenu_show): New arg. Pass it to create_and_show_popup_menu. |
3791 | (create_and_show_popup_menu): New arg. Pass it to gtk_menu_popup. | |
3792 | ||
2de9f71c SM |
3793 | 2009-11-06 Stefan Monnier <monnier@iro.umontreal.ca> |
3794 | ||
3795 | Let integers use up 2 tags to give them one extra bit and thus double | |
3796 | their range. | |
3797 | * lisp.h (USE_2_TAGS_FOR_INTS): New macro. | |
3798 | (LISP_INT_TAG, case_Lisp_Int, LISP_STRING_TAG, LISP_INT_TAG_P): | |
3799 | New macros. | |
3800 | (enum Lisp_Type): Use them. Give explicit values. | |
3801 | (Lisp_Type_Limit): Remove. | |
3802 | (XINT, XUINT, make_number) [!USE_LISP_UNION_TYPE]: | |
3803 | (MOST_NEGATIVE_FIXNUM, MOST_POSITIVE_FIXNUM, INTMASK): | |
3804 | Pay attention to USE_2_TAGS_FOR_INTS. | |
3805 | (INTEGERP): Use LISP_INT_TAG_P. | |
3806 | * fns.c (internal_equal): Simplify the default case. | |
3807 | (sxhash): Use case_Lisp_Int. | |
3808 | * data.c (wrong_type_argument): Don't check against Lisp_Type_Limit | |
3809 | any more. | |
3810 | (Ftype_of): Use case_Lisp_Int. | |
3811 | (store_symval_forwarding): Take into account the fact that Ints can | |
3812 | now have more than one tag. | |
3813 | * buffer.c (syms_of_buffer): Use LISP_INT_TAG. | |
3814 | buffer_slot_type_mismatch): | |
3815 | * xfaces.c (face_attr_equal_p): | |
3816 | * print.c (print_object): | |
3817 | * alloc.c (mark_maybe_object, mark_object, survives_gc_p): | |
3818 | Use case_Lisp_Int. | |
3819 | ||
323637a2 EZ |
3820 | 2009-11-06 Eli Zaretskii <eliz@gnu.org> |
3821 | ||
7ac65b38 EZ |
3822 | * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Reduce by further 30K. |
3823 | ||
323637a2 EZ |
3824 | * alloc.c (make_pure_c_string): Fix last change to avoid compiler |
3825 | warning. | |
3826 | ||
e511451f JD |
3827 | 2009-11-06 Jan Djärv <jan.h.d@swipnet.se> |
3828 | ||
3829 | * gtkutil.c (xg_event_is_for_scrollbar): New function (bug#4870). | |
3830 | ||
3831 | * gtkutil.h: Declare xg_event_is_for_scrollbar (bug#4870). | |
3832 | ||
3833 | * xterm.c (handle_one_xevent): Call xg_event_is_for_scrollbar for | |
3834 | ButtonPressRelease and MotionNotify (bug#4870). | |
3835 | ||
5e2327cf DN |
3836 | 2009-11-06 Dan Nicolaescu <dann@ics.uci.edu> |
3837 | ||
5adc433e DN |
3838 | * keymap.c (syms_of_keymap): Construct exclude_keys in pure memory. |
3839 | ||
d67b4f80 DN |
3840 | * xterm.c (syms_of_xterm): |
3841 | * xselect.c (syms_of_xselect): | |
3842 | * xmenu.c (syms_of_xmenu): | |
3843 | * xfns.c (syms_of_xfns): | |
3844 | * xfaces.c (syms_of_xfaces): | |
3845 | * xdisp.c (syms_of_xdisp): | |
3846 | * window.c (syms_of_window): | |
3847 | * w32fns.c (syms_of_w32fns): | |
3848 | * undo.c (syms_of_undo): | |
3849 | * textprop.c (syms_of_textprop): | |
3850 | * terminal.c (syms_of_terminal): | |
3851 | * syntax.c (syms_of_syntax): | |
3852 | * sound.c (syms_of_sound): | |
3853 | * search.c (syms_of_search): | |
3854 | * print.c (syms_of_print): | |
3855 | * minibuf.c (syms_of_minibuf): | |
3856 | * macros.c (syms_of_macros): | |
3857 | * keymap.c (syms_of_keymap, initial_define_key) | |
3858 | (initial_define_lispy_key): | |
3859 | * keyboard.c (syms_of_keyboard): | |
3860 | * insdel.c (syms_of_insdel): | |
3861 | * image.c (syms_of_image): | |
3862 | * fringe.c (syms_of_fringe): | |
3863 | * frame.c (syms_of_frame): | |
3864 | * fontset.c (syms_of_fontset): | |
3865 | * fns.c (syms_of_fns): | |
3866 | * fns.c (syms_of_fns): | |
3867 | * fileio.c (syms_of_fileio): | |
3868 | * fileio.c (syms_of_fileio): | |
3869 | * eval.c (syms_of_eval): | |
3870 | * doc.c (syms_of_doc): | |
3871 | * dispnew.c (syms_of_display): | |
3872 | * dired.c (syms_of_dired): | |
3873 | * dbusbind.c (syms_of_dbusbind): | |
3874 | * data.c (syms_of_data): | |
3875 | * composite.c (syms_of_composite): | |
3876 | * coding.c (syms_of_coding): | |
3877 | * cmds.c (syms_of_cmds): | |
3878 | * charset.c (define_charset_internal, syms_of_character): | |
3879 | * ccl.c (syms_of_ccl): | |
3880 | * category.c (syms_of_category, init_category_once): | |
3881 | * casetab.c (syms_of_casetab): | |
3882 | * casefiddle.c (syms_of_casefiddle): | |
3883 | * callint.c (syms_of_callint): | |
3884 | * bytecode.c (syms_of_bytecode): | |
3885 | * buffer.c (keys_of_buffer, syms_of_buffer): | |
3886 | * alloc.c (syms_of_alloc): | |
3887 | * process.c (syms_of_process, init_process): | |
3888 | * lread.c (syms_of_lread, init_obarray): | |
3889 | * font.c (build_style_table): | |
3890 | * emacs.c (syms_of_emacs, main): Replace calls to intern with | |
3891 | intern_c_string, calls to make_pure_string with | |
3892 | make_pure_c_string. Use pure_cons instead of Fcons. | |
3893 | ||
5e2327cf DN |
3894 | * process.c (socket_options): Make it const. |
3895 | (set_socket_option, init_process): Use a const pointer. | |
3896 | ||
3897 | * lread.c (intern_c_string): New function. | |
3898 | (defvar_kboard, defvar_lisp, defvar_lisp_nopro, defvar_bool) | |
3899 | (defvar_int): Uset it. Make the name const char*. | |
3900 | ||
3901 | * lisp.h (defvar_kboard, defvar_lisp, defvar_lisp_nopro, defvar_bool) | |
3902 | (defvar_int): Update prototypes. | |
3903 | (DEFUN, EXFUN): Support for prototypes is now required. | |
3904 | (intern_c_string): New prototype. | |
3905 | (struct Lisp_Subr): Make symbol_name constant. | |
3906 | ||
3907 | * font.c (struct table_entry): Remove unused member. Make NAMES | |
3908 | constant. | |
3909 | (weight_table, slant_table, width_table): Make constant. | |
3910 | ||
3911 | * emacs.c (struct standard_args): Make name and longname constant. | |
3912 | ||
3913 | * character.h (DEFSYM): Use intern_c_string. | |
3914 | ||
a56eaaef DN |
3915 | 2009-11-06 Stefan Monnier <monnier@iro.umontreal.ca> |
3916 | ||
3917 | * alloc.c (make_pure_c_string): New function. | |
3918 | ||
3919 | * eval.c (Fautoload): Purecopy all arguments. | |
3920 | ||
f6a07420 KH |
3921 | 2009-11-05 Kenichi Handa <handa@m17n.org> |
3922 | ||
3923 | * fileio.c (Finsert_file_contents): Be sure set coding-system of | |
3924 | the buffer in case of replace. | |
3925 | ||
5d28d4b1 DN |
3926 | 2009-11-04 Dan Nicolaescu <dann@ics.uci.edu> |
3927 | ||
3928 | * puresize.h (BASE_PURESIZE): Increase to 1620000. | |
3929 | ||
b349d111 SM |
3930 | 2009-11-03 Stefan Monnier <monnier@iro.umontreal.ca> |
3931 | ||
d528b1ce SM |
3932 | * editfns.c (save_restriction_restore): Update the (pt/begv/vz)_markers |
3933 | when applicable (bug#4851). | |
3934 | ||
b349d111 SM |
3935 | * lisp.h: Make USE_LSB_TAG work with USE_LISP_UNION_TYPE. |
3936 | (P_): Support for prototypes is now required. | |
3937 | ||
c38eb027 CY |
3938 | 2009-10-31 Chong Yidong <cyd@stupidchicken.com> |
3939 | ||
3940 | * frame.c (Fmake_frame_invisible, Fframe_visible_p): Doc fix | |
3941 | (Bug#4827). | |
3942 | ||
0405f8d9 EZ |
3943 | 2009-10-30 Eli Zaretskii <eliz@gnu.org> |
3944 | ||
d528b1ce | 3945 | * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Redefine to waste less pure space. |
0405f8d9 | 3946 | |
ca0a881a DN |
3947 | 2009-10-30 Dan Nicolaescu <dann@ics.uci.edu> |
3948 | ||
3949 | * puresize.h (BASE_PURESIZE): Increase to 1470000. | |
3950 | ||
d528b1ce SM |
3951 | * lread.c (Fload): Purecopy the file name when building |
3952 | Vpreloaded_file_list. | |
ca0a881a | 3953 | |
47e0e0e4 JR |
3954 | 2009-10-29 Jason Rumney <jasonr@wanchan.jasonrumney.net> |
3955 | ||
3956 | * w32fns.c (syms_of_w32fns): Change default value of | |
3957 | w32-scroll-lock-modifier to nil. (Bug#2827) | |
3958 | ||
057bce6f JB |
3959 | 2009-10-26 Juanma Barranquero <lekktu@gmail.com> |
3960 | ||
782a943e | 3961 | * minibuf.c (Fall_completions): Fix typos in docstring. |
057bce6f | 3962 | |
242bc74c AS |
3963 | 2009-10-26 Andreas Schwab <schwab@redhat.com> |
3964 | ||
3965 | * puresize.h (PURESIZE_RATIO): Increase back to 10/6. | |
3966 | ||
522d013a JB |
3967 | 2009-10-26 Juanma Barranquero <lekktu@gmail.com> |
3968 | ||
3969 | * window.c (grow_mini_window): Comment out "delta >= 0" assertion. | |
3970 | For delta < 0, skip check that only makes sense when the mini-window | |
3971 | is going to be enlarged. (Bug#4534) | |
3972 | ||
18060980 CY |
3973 | 2009-10-25 Chong Yidong <cyd@stupidchicken.com> |
3974 | ||
3975 | * keyboard.c (read_char_x_menu_prompt): Don't demand a prompt | |
3976 | string in menu maps (Bug#4471). | |
3977 | ||
fec8f0fe CY |
3978 | 2009-10-24 Chong Yidong <cyd@stupidchicken.com> |
3979 | ||
3980 | * nsfns.m (ns_set_name, ns_set_name_as_filename): Don't call | |
3981 | FRAME_NS_VIEW on terminal frames (Bug#4765). | |
3982 | ||
10d66ec0 AS |
3983 | 2009-10-24 Andreas Schwab <schwab@linux-m68k.org> |
3984 | ||
1cae01f7 AS |
3985 | * dbusbind.c (xd_retrieve_arg): Handle DBUS_TYPE_INTnn and |
3986 | DBUS_TYPE_UINTnn separately to get proper sign extension. | |
3987 | ||
58a12889 AS |
3988 | * dired.c (Ffile_attributes): Simplify now that FIXNUM_OVERFLOW_P |
3989 | can properly handle unsigned types. | |
d528b1ce | 3990 | (make_uid, make_gid): Remove. |
58a12889 | 3991 | |
987c9327 AS |
3992 | * lisp.h (FIXNUM_OVERFLOW_P): Fix last change to handle unsigned |
3993 | types again. | |
3994 | ||
522d013a | 3995 | * sysdep.c (procfs_ttyname): Fix sprintf format to match argument type. |
10d66ec0 AS |
3996 | (system_process_attributes): Likewise. |
3997 | ||
905a9ed3 DN |
3998 | 2009-10-24 Dan Nicolaescu <dann@ics.uci.edu> |
3999 | ||
4000 | * keymap.c (Fmake_sparse_keymap): Purecopy the name. | |
4001 | ||
4002 | * eval.c (Fautoload): Purecopy the filename. Simplify. | |
4003 | ||
4004 | * category.c (Fdefine_category): Purecopy docstring. | |
4005 | ||
a599b3e8 AS |
4006 | 2009-10-23 Andreas Schwab <schwab@linux-m68k.org> |
4007 | ||
7b792fc9 AS |
4008 | * lisp.h (FIXNUM_OVERFLOW_P): Remove cast to avoid overflow. |
4009 | ||
a599b3e8 AS |
4010 | * puresize.h (PURESIZE_RATIO): Decrease to 11/7. |
4011 | ||
b35ac83e CY |
4012 | 2009-10-23 Chong Yidong <cyd@stupidchicken.com> |
4013 | ||
4014 | * window.c (Fwindow_edges, Fwindow_pixel_edges) | |
4015 | (Fwindow_inside_edges, Fwindow_inside_pixel_edges): Doc fix | |
4016 | (Bug#4775). | |
4017 | ||
e8903e00 SM |
4018 | 2009-10-23 Stefan Monnier <monnier@iro.umontreal.ca> |
4019 | ||
4020 | * fileio.c (syms_of_fileio): Initialize Vdirectory_sep_char. | |
4021 | (init_fileio_once): | |
4022 | * lisp.h (init_fileio_once): Remove. | |
4023 | * emacs.c (main): Don't call init_fileio_once. | |
4024 | ||
8f43cbf3 DN |
4025 | 2009-10-23 Dan Nicolaescu <dann@ics.uci.edu> |
4026 | ||
4027 | * puresize.h (BASE_PURESIZE): Increase to 1430000. | |
4028 | ||
26898943 AS |
4029 | 2009-10-21 Andreas Schwab <schwab@linux-m68k.org> |
4030 | ||
4031 | * doprnt.c (doprnt): Fix overflow check. | |
4032 | ||
5c646d5a JD |
4033 | 2009-10-21 Jan Djärv <jan.h.d@swipnet.se> |
4034 | ||
3132a7ea JD |
4035 | * xterm.c (x_term_init): Remove XSynchronize call done for debugging. |
4036 | ||
5c646d5a JD |
4037 | * xterm.h (x_wait_for_event): Declare it. |
4038 | ||
4039 | * xterm.c (pending_event_wait): New variable. | |
4040 | (handle_one_xevent): Set pending_event_wait.eventtype to 0 if we | |
4041 | see pending_event_wait.eventtype. | |
4042 | (handle_one_xevent): Don't change gravity when parent changes. | |
d528b1ce SM |
4043 | (x_new_font): Call change_frame_size with new rows/columns before we |
4044 | try to resize the frame. | |
5c646d5a | 4045 | (x_wait_for_event): New function. |
d528b1ce SM |
4046 | (x_set_window_size_1): Don't change gravity unless change_gravity |
4047 | is set. | |
5c646d5a JD |
4048 | Call XResizeWindow with FRAME_OUTER_WINDOW. If we are visible, |
4049 | don't change frame size, instead wait for the ConfigureNotify. | |
4050 | (x_set_window_size): Call x_set_window_size_1 for USE_X_TOOLKIT also. | |
4051 | (x_wm_set_size_hint): Remove ifdefs for USE_X_TOOLKIT. | |
4052 | (x_initialize): Initialize pending_event_wait. | |
4053 | ||
4054 | * xmenu.c (set_frame_menubar): Add internal border width to menu bar | |
4055 | size. | |
4056 | ||
4057 | * widget.c (EmacsFrameSetValues): Add comment. | |
4058 | (EmacsFrameSetCharSize): Just call x_set_window_size. | |
4059 | ||
4060 | * gtkutil.c (xg_frame_set_char_size): Flush events and call | |
4061 | x_wait_for_event. | |
d528b1ce | 4062 | (flush_and_sync): Remove again. |
5c646d5a JD |
4063 | (xg_get_font_name): Suggest monospace if no previous font is known. |
4064 | ||
e9c1637d SM |
4065 | 2009-10-20 Stefan Monnier <monnier@iro.umontreal.ca> |
4066 | ||
4067 | * character.c (char_resolve_modifier_mask): Don't resolve meta to the | |
46be764e | 4068 | 8th bit, since that only made sense in the ASCII world (bug#4751). |
e9c1637d | 4069 | |
5a72cccb YM |
4070 | 2009-10-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4071 | ||
4072 | * xterm.c (XTread_socket) [!USE_GTK && HAVE_X_I18N]: Don't quit | |
4073 | processing pending events when event is filtered for input method. | |
ab04798f | 4074 | (Bug#3681) |
5a72cccb | 4075 | |
2629aa37 JB |
4076 | 2009-10-20 Juanma Barranquero <lekktu@gmail.com> |
4077 | ||
4078 | * fns.c: Add #endif accidentally removed in previous change. | |
4079 | ||
c3417a74 DN |
4080 | 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu> |
4081 | ||
4082 | * fns.c: Remove code for unsupported system: MAC_OS. | |
4083 | * image.c: Likewise. Include setjmp.h. | |
4084 | ||
9685cef2 JD |
4085 | 2009-10-19 Jan Djärv <jan.h.d@swipnet.se> |
4086 | ||
4087 | * xterm.c (x_create_toolkit_scroll_bar): Don't allocate color for | |
4088 | pixel -1 (bug #4742). | |
4089 | ||
d7306fe6 DN |
4090 | 2009-10-19 Dan Nicolaescu <dann@ics.uci.edu> |
4091 | ||
019d2c4c DN |
4092 | * process.c (create_pty): Remove conditionals for no longer |
4093 | supported systems: UNIPLUS and RTU. | |
4094 | ||
ee6bacd4 DN |
4095 | * xterm.c: |
4096 | * xfns.c: Remove always true condition: XtSpecificationRelease >= 5. | |
4097 | ||
d7306fe6 DN |
4098 | * alloc.c: Do not define struct catchtag. |
4099 | * eval.c: Move struct catchtag definition ... | |
4100 | * lisp.h: ... here. | |
4101 | ||
4102 | * image.c: Move png.h #include earlier to avoid warnings. | |
4103 | ||
4104 | * xterm.c: | |
4105 | * xsmfns.c: | |
4106 | * xselect.c: | |
4107 | * xrdb.c: | |
4108 | * xmenu.c: | |
4109 | * xftfont.c: | |
4110 | * xfont.c: | |
4111 | * xfns.c: | |
4112 | * xfaces.c: | |
4113 | * xdisp.c: | |
4114 | * window.c: | |
4115 | * widget.c: | |
4116 | * w32xfns.c: | |
4117 | * w32uniscribe.c: | |
4118 | * w32term.c: | |
4119 | * w32select.c: | |
4120 | * w32reg.c: | |
4121 | * w32proc.c: | |
4122 | * w32menu.c: | |
4123 | * w32inevt.c: | |
4124 | * w32heap.c: | |
4125 | * w32font.c: | |
4126 | * w32fns.c: | |
4127 | * w32console.c: | |
4128 | * w32.c: | |
4129 | * w16select.c: | |
4130 | * vm-limit.c: | |
4131 | * unexsol.c: | |
4132 | * unexec.c: | |
4133 | * unexcw.c: | |
4134 | * unexaix.c: | |
4135 | * undo.c: | |
4136 | * tparam.c: | |
4137 | * textprop.c: | |
4138 | * terminfo.c: | |
4139 | * terminal.c: | |
4140 | * termcap.c: | |
4141 | * term.c: | |
4142 | * syntax.c: | |
4143 | * sound.c: | |
4144 | * sheap.c: | |
4145 | * search.c: | |
4146 | * scroll.c: | |
4147 | * region-cache.c: | |
4148 | * regex.c: | |
4149 | * ralloc.c: | |
4150 | * process.c: | |
4151 | * print.c: | |
b024548b DN |
4152 | * nsterm.m: |
4153 | * nsselect.m: | |
4154 | * nsmenu.m: | |
4155 | * nsimage.m: | |
4156 | * nsfont.m: | |
4157 | * nsfns.m: | |
d7306fe6 DN |
4158 | * msdos.c: |
4159 | * minibuf.c: | |
4160 | * menu.c: | |
4161 | * marker.c: | |
4162 | * macros.c: | |
4163 | * keymap.c: | |
4164 | * keyboard.c: | |
4165 | * intervals.c: | |
4166 | * insdel.c: | |
4167 | * indent.c: | |
4168 | * gtkutil.c: | |
4169 | * ftxfont.c: | |
4170 | * ftfont.c: | |
4171 | * fringe.c: | |
4172 | * frame.c: | |
4173 | * fontset.c: | |
4174 | * font.c: | |
4175 | * fns.c: | |
4176 | * floatfns.c: | |
4177 | * filelock.c: | |
4178 | * fileio.c: | |
4179 | * emacs.c: | |
4180 | * editfns.c: | |
4181 | * dosfns.c: | |
4182 | * doprnt.c: | |
4183 | * doc.c: | |
4184 | * dispnew.c: | |
4185 | * dired.c: | |
4186 | * dbusbind.c: | |
4187 | * data.c: | |
4188 | * composite.c: | |
4189 | * coding.c: | |
4190 | * cmds.c: | |
4191 | * cm.c: | |
4192 | * chartab.c: | |
4193 | * charset.c: | |
4194 | * character.c: | |
4195 | * ccl.c: | |
4196 | * category.c: | |
4197 | * casetab.c: | |
4198 | * casefiddle.c: | |
4199 | * callproc.c: | |
4200 | * callint.c: | |
4201 | * bytecode.c: | |
4202 | * buffer.c: | |
4203 | * atimer.c: Include setjmp.h. (Bug#4643) | |
4204 | ||
fd5f21e6 SM |
4205 | 2009-10-18 Stefan Monnier <monnier@iro.umontreal.ca> |
4206 | ||
4c0354d7 SM |
4207 | Remove leftover table unibyte_to_multibyte_table. |
4208 | * character.c (unibyte_to_multibyte_table): Remove. | |
4209 | (Funibyte_char_to_multibyte): Use MAKE_CHAR_MULTIBYTE. | |
4210 | * charset.c (init_charset_once): Don't init unibyte_to_multibyte_table. | |
4211 | * character.h (UNIBYTE_TO_CHAR): New macro. | |
4212 | (MAKE_CHAR_MULTIBYTE): Use it. | |
4213 | (unibyte_to_multibyte_table, unibyte_char_to_multibyte): Remove. | |
4214 | * xdisp.c (get_next_display_element): USE ASCII_CHAR_P. | |
4215 | (message_dolog, set_message_1): | |
4216 | * search.c (Freplace_match): | |
4217 | * editfns.c (Fcompare_buffer_substrings): | |
4218 | * fns.c (Fcompare_strings): Use MAKE_CHAR_MULTIBYTE. | |
4219 | (concat): | |
4220 | * insdel.c (copy_text, count_size_as_multibyte): | |
4221 | Use ASCII_CHAR_P and BYTE8_TO_CHAR. | |
4222 | * term.c (produce_glyphs): | |
4223 | * syntax.c (skip_chars): Use BYTE8_TO_CHAR. | |
4224 | * regex.c (RE_CHAR_TO_MULTIBYTE): | |
4225 | * cmds.c (internal_self_insert): | |
4226 | * buffer.h (FETCH_CHAR_AS_MULTIBYTE): Use UNIBYTE_TO_CHAR. | |
4227 | ||
fd5f21e6 SM |
4228 | * cmds.c (internal_self_insert): `c' is already in "multibyte" form. |
4229 | ||
4418646e DN |
4230 | 2009-10-17 Dan Nicolaescu <dann@ics.uci.edu> |
4231 | ||
4232 | * puresize.h (BASE_PURESIZE): Increase to 1310000. | |
4233 | ||
35f5c1d2 JB |
4234 | 2009-10-16 Juanma Barranquero <lekktu@gmail.com> |
4235 | ||
4236 | * buffer.c (Fbuffer_name): Doc fix. (Bug#4728) | |
4237 | ||
a0cd8f6b AR |
4238 | 2009-10-15 Adrian Robert <Adrian.B.Robert@gmail.com> |
4239 | ||
4240 | * nsterm.h (NS_HAVE_NSINTEGER): Back out and augment with CGFloat, | |
4241 | still needed under Tiger. | |
4242 | ||
4243 | * nsterm.m (EmacsView-conversationIdentifier): Arg is long. | |
4244 | ||
4245 | * m/amdx86-64.h: Don't set LIB_STANDARD and START_FILES under | |
4246 | __Apple__. | |
4247 | ||
4248 | * m/intel386.h: Remove DARWIN_OS/_LP64 special case. | |
4249 | ||
01a8d3fa KH |
4250 | 2009-10-15 Kenichi Handa <handa@m17n.org> |
4251 | ||
4252 | * print.c (print_object): Escape a symbol like "2E10" too. | |
4253 | ||
bf6c75c9 | 4254 | 2009-10-11 Adrian Robert <Adrian.B.Robert@gmail.com> |
6e4780c5 JB |
4255 | |
4256 | Cleanups and changes for 64-bit compile under Snow Leopard. | |
4257 | Based on suggestions by Erik Charlebois. | |
bf6c75c9 AR |
4258 | |
4259 | * nsfns.m (xw-color-values): Use CGFloat where appropriate. | |
4260 | ||
c5959062 | 4261 | * nsfont.m (ns_char_width): Replace deprecated call. |
bf6c75c9 AR |
4262 | (ns_findfonts, nsfont_list_family): Use long format in printf, and |
4263 | cast argument. | |
4264 | (nsfont_open): Use ns_char_width() everywhere. | |
d528b1ce | 4265 | (ns_uni_to_glyphs, NSGlyphStorage): Use NS[U]Integer where appropriate. |
bf6c75c9 AR |
4266 | |
4267 | * nsgui.h (NSPoint, NSSize) [!__OBJC__]: Define and use CGFloat. | |
4268 | ||
4269 | * nsimage.m (EmacsImage-setXBMColor:,-getPixelAtX:Y:): Use CGFloat | |
4270 | where appropriate. | |
4271 | ||
4272 | * nsmenu.m (EmacsMenu-addItemWithWidgetValue:): Use NSInteger | |
4273 | where appropriate. | |
6e4780c5 JB |
4274 | (EmacsToolbar-addDisplayItemWithImage:idx:helpText:enabled:): |
4275 | Use stringWithUTF8String. | |
bf6c75c9 AR |
4276 | (EmacsDialogPanel-initWithContentRect:styleMask:): Fix signature. |
4277 | ||
6e4780c5 JB |
4278 | * nsterm.h (EmacsView, EmacsMenu, EmacsToolbar, EmacsTooltip): |
4279 | Add formal protocol mention to inheritance. | |
bf6c75c9 AR |
4280 | [NS_HAVE_NSINTEGER]: Drop conditional and contents. |
4281 | ||
6e4780c5 JB |
4282 | * nsterm.m (ns_color_to_lisp): Use CGFloat where appropriate. |
4283 | Fix printf format. | |
bf6c75c9 AR |
4284 | (ns_query_color): Use CGFloat where appropriate. |
4285 | (EmacsView<NSTextInput>, EmacsScroller): Fix method signatures. | |
ac146f82 | 4286 | (EmacsScroller-mouseDown:): Use long format in printf, and cast |
bf6c75c9 AR |
4287 | argument. |
4288 | ||
3d87f118 AR |
4289 | * config.in (NS_HAVE_NSINTEGER): Drop. |
4290 | ||
a95c8102 AR |
4291 | * dbusbind.c (dbus-method-return-internal) |
4292 | (dbus-method-error-internal): Use long format in printf, and cast | |
4293 | argument. | |
4294 | ||
4295 | * font.c (font_unparse_xlfd, font_unparse_fcname): Use long format | |
4296 | in printf, and cast argument. | |
4297 | ||
6873acca | 4298 | * process.c (list_processes_1): Use long format in printf, and |
a95c8102 AR |
4299 | cast argument. |
4300 | ||
9ec6f100 GM |
4301 | 2009-10-11 Glenn Morris <rgm@gnu.org> |
4302 | ||
4303 | * frame.c (Fframe_pixel_height): Doc fix. (Bug#4535) | |
4304 | ||
5be883cd JD |
4305 | 2009-10-08 Jan Djärv <jan.h.d@swipnet.se> |
4306 | ||
4307 | * gtkutil.c (create_menus): Call gtk_widget_set_size_request for | |
4308 | menu bar with a small width so it doesn't enlarge the frame. | |
4309 | ||
d7a39b51 JB |
4310 | 2009-10-08 Juanma Barranquero <lekktu@gmail.com> |
4311 | ||
4312 | * fontset.c (Fset_fontset_font): Fix typos in error messages. | |
4313 | ||
0c2b6f8e GM |
4314 | 2009-10-06 Glenn Morris <rgm@gnu.org> |
4315 | ||
4316 | * Makefile.in (emacs${EXEEXT}): Remove direct dependence on | |
4317 | SOME_MACHINE_LISP (this enters indirectly via DOC). | |
4318 | ||
e02131a2 EZ |
4319 | 2009-10-05 Eli Zaretskii <eliz@gnu.org> |
4320 | ||
4321 | * dired.c (Ffile_attributes): Doc fix. (Bug#4638) | |
4322 | ||
b4744254 EZ |
4323 | 2009-10-04 Eli Zaretskii <eliz@gnu.org> |
4324 | ||
4325 | * xdisp.c (syms_of_xdisp) <unibyte-display-via-language-environment>: | |
4326 | Doc fix. | |
4327 | ||
dbf64827 JB |
4328 | 2009-10-03 Martin Rudalics <rudalics@gmx.at> |
4329 | ||
4330 | * window.c (Fdelete_window): Check WINDOW argument. (Bug#4618) | |
4331 | ||
e9a0aef8 MA |
4332 | 2009-10-02 Michael Albinus <michael.albinus@gmx.de> |
4333 | ||
d528b1ce | 4334 | * lisp.h (Qdelete_directory_internal): Remove, because it is not |
e9a0aef8 MA |
4335 | used anymore outside fileio.c. |
4336 | ||
4337 | * w32fns.c (Fsystem_move_file_to_trash): Use delete-directory. | |
4338 | ||
64eb2b56 JB |
4339 | 2009-10-01 Juanma Barranquero <lekktu@gmail.com> |
4340 | ||
4341 | * lisp.h (Qdelete_directory_internal): | |
4342 | Declare, instead of Qdelete_directory. | |
4343 | ||
4344 | * w32fns.c (Fsystem_move_file_to_trash): Use it. | |
4345 | ||
9d28c33e SM |
4346 | 2009-10-01 Stefan Monnier <monnier@iro.umontreal.ca> |
4347 | ||
4348 | * eval.c (Fcalled_interactively_p): Add `kind' argument. | |
4349 | ||
9d8f3bd9 MA |
4350 | 2009-10-01 Michael Albinus <michael.albinus@gmx.de> |
4351 | ||
9d28c33e | 4352 | * fileio.c (Fdelete_directory_internal): Rename from |
9d8f3bd9 MA |
4353 | Fdelete_directory. It is not a command anymore. It has no file |
4354 | name handler. | |
4355 | ||
9694740b SM |
4356 | 2009-09-28 Stefan Monnier <monnier@iro.umontreal.ca> |
4357 | ||
4358 | * xdisp.c (get_next_display_element): Use an enum in last change. | |
4359 | ||
748e162f KH |
4360 | 2009-09-28 Kenichi Handa <handa@m17n.org> |
4361 | ||
9694740b | 4362 | * xdisp.c (get_next_display_element): Pay attention to |
748e162f KH |
4363 | unibyte_display_via_language_environment in handling |
4364 | Vnobreak_char_display. | |
4365 | ||
17efd58d AR |
4366 | 2009-09-27 Adrian Robert <Adrian.B.Robert@gmail.com> |
4367 | ||
4368 | * nsterm.h (ns_app_name): New extern variable. | |
4369 | ||
4370 | * nsterm.m (ns_app_name): New variable. | |
4371 | (ns_term_init): Set and use it. | |
4372 | (ns_term_shutdown): Use it. | |
4373 | ||
4374 | * nsmenu.m (ns_update_menubar): Use ns_app_name. Sync with xmenu.c. | |
4375 | (EmacsMenu-clear:, ns_popup_dialog): Use ns_app_name. | |
4376 | ||
4377 | * nsfns.m (ns_set_name_iconic, ns_set_name) | |
4378 | (ns_set_name_as_filename, x-create-frame, ns-get-resource) | |
4379 | (ns-set-resource): Use ns_app_name instead of NSProcessInfo call. | |
4380 | ||
9694740b SM |
4381 | * menu.c (find_and_return_menu_selection) [HAVE_NS]: |
4382 | Remove double-casting in client_data comparison. | |
31c2d412 | 4383 | |
3208cb35 YM |
4384 | 2009-09-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4385 | ||
4386 | * keyboard.c (make_lispy_event): Remember last wheel direction. | |
4387 | (syms_of_keyboard) <wheel_syms>: Compute array size at compile time. | |
4388 | ||
b7d552d6 GM |
4389 | 2009-09-26 Glenn Morris <rgm@gnu.org> |
4390 | ||
4391 | * Makefile.in (MSDOS_SUPPORT) [MSDOS]: Remove unneeded '/' in | |
4392 | internal.elc. Add term/pc-win.elc. | |
4393 | (WINDOW_SUPPORT) [HAVE_X_WINDOWS]: Add term/common-win.elc and | |
4394 | term/x-win.elc. | |
4395 | (WINNT_SUPPORT) [WINDOWSNT]: Add term/common-win.elc and | |
4396 | term/w32-win.elc. | |
4397 | (NS_SUPPORT): New. | |
4398 | (lisp): Add NS_SUPPORT. | |
4399 | (SOME_MACHINE_LISP): Add term/w32-win.elc and emacs-lisp/easymenu.elc. | |
4400 | ||
4ff670a8 DR |
4401 | 2009-09-25 David Reitter <david.reitter@gmail.com> |
4402 | ||
4403 | * nsmenu.m (EmacsMenu-clear): Recognize application menu | |
4404 | on Mac OS X 10.6+ (bug#4513). | |
4405 | ||
feabfb6c JB |
4406 | 2009-09-24 Juanma Barranquero <lekktu@gmail.com> |
4407 | ||
4408 | * frame.c (xrdb_get_resource): Return nil for empty string resources; | |
d528b1ce SM |
4409 | some parts of Emacs code (like font selection) don't grok them. |
4410 | See http://lists.gnu.org/archive/html/emacs-devel/2009-09/msg00528.html | |
feabfb6c | 4411 | |
de59072a AS |
4412 | 2009-09-24 Andreas Schwab <schwab@redhat.com> |
4413 | ||
4414 | * coding.c (decode_coding_iso_2022): Fix operator precedence. | |
4415 | ||
a489517b JB |
4416 | 2009-09-24 Juanma Barranquero <lekktu@gmail.com> |
4417 | ||
4418 | * dired.c (Fdirectory_files): Fix typo in docstring. | |
4419 | ||
0592970c AR |
4420 | 2009-09-23 Adrian Robert <Adrian.B.Robert@gmail.com> |
4421 | ||
4422 | * nsterm.m (EV_TIMESTAMP, x_set_window_size) | |
4423 | (EmacsApp-application:openFiles:): Remove GNUstep conditionals. | |
4424 | (EmacsScroller-setPosition:portion:whole:): Remove -display call | |
4425 | under GNUstep. | |
4426 | (EmacsView-initFrameFromEmacs:): Set autoresizing mask. | |
4427 | ||
4428 | * nsfont.m (ns_glyph_metrics): Remove GNUstep conditional for | |
4429 | glyph advancement. | |
4430 | ||
48e8a88b AR |
4431 | 2009-09-22 Adrian Robert <Adrian.B.Robert@gmail.com> |
4432 | ||
4433 | * nsterm.m (CGContextSetFontRenderingMode): Drop declaration. | |
b3aac06a | 4434 | (EmacsScroller-mouseDown:): Use SCROLL_BAR_FIRST_DELAY. |
48e8a88b AR |
4435 | |
4436 | * nsmenu.m (EmacsMenu-menuNeedsUpdate): Ignore if frame has been | |
4437 | deleted (bug #4492). | |
4438 | ||
e14f0a78 AR |
4439 | * nsfont.m (Vns_reg_to_script): New lisp variable. |
4440 | (syms_of_nsfont): Declare it. | |
4441 | (ns_registry_to_script): New function. | |
4442 | (ns_get_req_script): Call it. | |
4443 | (ns_findfonts): Don't give up on non-unicode registry. | |
4444 | ||
4445 | * font.c (DEFAULT_ENCODING) [HAVE_NS]: Remove special case. | |
4446 | ||
5b650faa SM |
4447 | 2009-09-20 Tom Tromey <tromey@redhat.com> |
4448 | ||
4449 | * eval.c (find_handler_clause): Make stack-trace-on-error work in | |
4450 | batch mode (bug#4228). | |
4451 | ||
a489517b | 4452 | 2009-09-18 Rob Christie <robchristie@gmail.com> (tiny change) |
0bae4e09 AR |
4453 | |
4454 | * nsmenu.m (EmacsMenu-parseKeyEquiv:): Parse key equivalent more | |
a489517b | 4455 | carefully. (Bug #4339) |
0bae4e09 | 4456 | |
fcfe06f3 CY |
4457 | 2009-09-18 Chong Yidong <cyd@stupidchicken.com> |
4458 | ||
d798ba87 | 4459 | * syntax.c (Fchar_syntax): Minor doc fix (Bug#4400). |
fcfe06f3 | 4460 | |
31642728 AR |
4461 | 2009-09-18 Adrian Robert <Adrian.B.Robert@gmail.com> |
4462 | ||
4463 | * emacs.c (inhibit_x_resources): Update doc string for NS. | |
4464 | (main) [HAVE_NS]: Don't process --no-init-file option. Remove | |
cff11156 | 4465 | legacy code for -NXHost. Fix error printf in daemon case. |
31642728 AR |
4466 | |
4467 | * nsterm.h (ns_no_defaults): Remove. | |
4468 | ||
4469 | * nsterm.m (ns_no_defaults): Remove. | |
4470 | (ns_term_init): Switch ns_no_defaults -> inhibit_x_resources. | |
4471 | (ns_use_qd_smoothing): Remove legacy variable. | |
6516d10a AR |
4472 | (EmacsView-windowShouldZoom:): Set frame left_pos, top_pos and |
4473 | don't update the NSWindow itself. | |
4474 | (EmacsView-windowWillUseStandardFrame:defaultFrame:): Improve | |
a489517b | 4475 | state detection and store user rect ourselves. (Bug #3581) |
31642728 AR |
4476 | |
4477 | * nsfont.m (nsfont_draw) [NS_IMPL_COCOA]: Don't use | |
4478 | ns_use_qd_smoothing. | |
4479 | ||
4480 | * nsfns.m (x_get_string_resource): Ape just-previous changes to other | |
4481 | platform versions. Drop support for emacs-20-style face specs. | |
8aad0aea | 4482 | (x-close-connection): Drop PSFlush() under OS X. |
a489517b | 4483 | (x-focus-frame): Activate the app first. (Bug #4180) |
31642728 | 4484 | |
8686ac71 JB |
4485 | 2009-09-17 Juanma Barranquero <lekktu@gmail.com> |
4486 | ||
4487 | * emacs.c (inhibit_x_resources): New variable. | |
4488 | (main) [HAVE_NS]: Don't process --quick command line option. | |
4489 | (syms_of_emacs) <inhibit-x-resources>: DEFVAR_BOOL it. | |
4490 | ||
4491 | * lisp.h (inhibit_x_resources): Declare it extern. | |
4492 | ||
4493 | * w32reg.c (x_get_string_resource): | |
4494 | * xrdb.c (x_get_string_resource): Obey inhibit_x_resources. | |
4495 | ||
e227ba05 EZ |
4496 | 2009-09-17 Eli Zaretskii <eliz@gnu.org> |
4497 | ||
362654a6 JB |
4498 | * Makefile.in (MSDOS_SUPPORT, SOME_MACHINE_LISP): |
4499 | Add lisp/term/internal.elc. | |
e227ba05 | 4500 | |
742d40e8 SM |
4501 | 2009-09-17 Stefan Monnier <monnier@iro.umontreal.ca> |
4502 | ||
4503 | * frame.c (x_get_resource_string): Re-add for non-toolkit builds | |
4504 | (bug#4461). | |
4505 | ||
005bd5a2 DN |
4506 | 2009-09-17 Dan Nicolaescu <dann@ics.uci.edu> |
4507 | ||
4508 | * puresize.h (BASE_PURESIZE): Increase to 1290000. | |
4509 | ||
4510 | * Makefile.in (OTHER_FILES): Define using autoconf, not cpp. | |
4511 | (OBJECTS_MACHINE): Remove, unused. | |
4512 | ||
f9af9719 SM |
4513 | 2009-09-16 Stefan Monnier <monnier@iro.umontreal.ca> |
4514 | ||
4515 | * frame.c (x_get_resource_string): Remove unused. | |
4516 | ||
0307c7d2 JD |
4517 | 2009-09-15 Jan Djärv <jan.h.d@swipnet.se> |
4518 | ||
4519 | * xterm.c (x_new_font): Call change_frame_size before calling | |
4520 | x_set_window_size, in case frame size won't change. | |
4521 | ||
4522 | * frame.c (x_set_font): Remove dead code. | |
4523 | ||
428b13d6 SM |
4524 | 2009-09-15 Stefan Monnier <monnier@iro.umontreal.ca> |
4525 | ||
4526 | * lread.c (Fload): Also run do-after-load-evaluation while dumping. | |
4527 | ||
5766c380 SM |
4528 | 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca> |
4529 | ||
4530 | * lread.c (Fload): Don't output a message after loading an obsolete | |
4531 | package any more (done in Lisp now). | |
4532 | ||
2fd0161b CY |
4533 | 2009-09-12 Chong Yidong <cyd@stupidchicken.com> |
4534 | ||
4535 | * fns.c (syms_of_fns): Doc fix (Bug#4227). | |
4536 | ||
bc5e75b6 SM |
4537 | 2009-09-12 Stefan Monnier <monnier@iro.umontreal.ca> |
4538 | ||
4539 | * keymap.c (Fwhere_is_internal): Use nconc2. | |
4540 | ||
c31c985e AM |
4541 | 2009-09-11 Alan Mackenzie <acm@muc.de> |
4542 | ||
4543 | * dispnew.c (Fsend_string_to_terminal): Amend doc string to cover | |
4544 | batch mode. | |
4545 | ||
78012bd2 AS |
4546 | 2009-09-11 Andreas Schwab <schwab@linux-m68k.org> |
4547 | ||
4548 | * xdisp.c (display_mode_element): Detect cycles. | |
4549 | ||
9d889332 SM |
4550 | 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca> |
4551 | ||
4552 | * keymap.c (where_is_internal): Don't erroneously return nil right after | |
4553 | filling the cache. | |
4554 | (where_is_internal_1): Fix up typo. | |
4555 | ||
7ab5d780 GM |
4556 | 2009-09-11 Glenn Morris <rgm@gnu.org> |
4557 | ||
4558 | * frame.c (Fx_parse_geometry): Unify the X and NS versions so that they | |
4559 | share a common doc-string. | |
4560 | ||
5238a749 SM |
4561 | 2009-09-11 Stefan Monnier <monnier@iro.umontreal.ca> |
4562 | ||
66d77eda SM |
4563 | * keymap.c (get_keymap): Return the actual keymap symbol rather than |
4564 | t for autoloaded keymaps when autoloading is not allowed (bug#4393). | |
4565 | ||
5238a749 SM |
4566 | * keymap.c (QCadvertised_binding): New constant. |
4567 | (syms_of_keymap): Initialize it. | |
4568 | (Fwhere_is_internal): Try and use bindings from :advertised-binding | |
4569 | if applicable. | |
4570 | ||
19f48442 SM |
4571 | 2009-09-10 Stefan Monnier <monnier@iro.umontreal.ca> |
4572 | ||
50d4ba39 SM |
4573 | * keyboard.c (Qmenu_alias, Vdefine_key_rebound_commands): Remove. |
4574 | (parse_menu_item): Streamline since bindings are recomputed all the | |
4575 | time anyway. Don't bother checking Vdefine_key_rebound_commands any | |
4576 | more and don't support lmenu's menu-alias any more either. | |
4577 | ||
a88a5372 SM |
4578 | * keymap.c (where_is_internal_data): Make noindirect a boolean. |
4579 | (where_is_internal): Strip it down to only traverse the keymaps. | |
4580 | Move the cache handling from Fwhere_is_internal to here. | |
4581 | (Fwhere_is_internal): Move the handling of remapping and the choice of | |
4582 | the best binding from where_is_internal to here. | |
4583 | Unify the cached/noncached paths, so remapping is also handled | |
4584 | correctly when the cache is used, and so the cache can be used to | |
4585 | speed up remap-handling when applicable. | |
4586 | Give preference to non-remapped bindings. | |
4587 | * doc.c (Fsubstitute_command_keys): Let Fwhere_is_internal's prefer | |
4588 | non-remapped bindings. | |
4589 | * keyboard.c (parse_menu_item): Let Fwhere_is_internal handle | |
4590 | command remapping. | |
4591 | ||
19f48442 SM |
4592 | * xdisp.c (display_mode_element): Move list length limit from 50 to |
4593 | 5000 (see thread starting with <xbaik5174uqu.fsf@cam.ac.uk>). | |
4594 | ||
599498c3 | 4595 | 2009-09-09 Adrian Robert <Adrian.B.Robert@gmail.com> |
c1905ca3 AR |
4596 | |
4597 | * nsfont.m (ns_get_family): Don't force first letter to uppercase. | |
4598 | ||
f9b7b5ac SM |
4599 | 2009-09-09 Stefan Monnier <monnier@iro.umontreal.ca> |
4600 | ||
a53af587 JB |
4601 | * xdisp.c (Vtruncate_partial_width_windows): Improve docstring. |
4602 | (Bug#4334) | |
4603 | ||
f9b7b5ac SM |
4604 | * keymap.c (where_is_internal): Filter out shadowed remappings. |
4605 | Assume that where_is_internal returns unshadowed bindings to simplify | |
4606 | the code and get rid of the gotos. Use ASIZE. | |
4607 | ||
04f4b72d JD |
4608 | 2009-09-04 Jan Djärv <jan.h.d@swipnet.se> |
4609 | ||
4da146f2 JD |
4610 | * xterm.c (x_focus_changed): If we get a focusout and pointer |
4611 | is invisible, make it visible. | |
4612 | ||
04f4b72d JD |
4613 | * xterm.h: Remove condition for declaration of |
4614 | x_*_window_to_frame. | |
4615 | ||
7cef7ce3 SM |
4616 | 2009-09-03 Stefan Monnier <monnier@iro.umontreal.ca> |
4617 | ||
4618 | * dispnew.c (Fsend_string_to_terminal): Make it work again on the | |
4619 | initial terminal as well. | |
4620 | ||
a54fa5b7 JD |
4621 | 2009-09-02 Jan Djärv <jan.h.d@swipnet.se> |
4622 | ||
4623 | * xterm.h: Rename x_non_menubar_window_to_frame to | |
7cef7ce3 | 4624 | x_menubar_window_to_frame. |
a54fa5b7 | 4625 | |
50426a04 | 4626 | * xterm.c: Remove declarations also in xterm.h. |
a54fa5b7 JD |
4627 | (XTmouse_position): Do not return valid positions |
4628 | for clicks in the menubar and the toolbar for Gtk+. | |
4629 | ||
4630 | * xfns.c (x_any_window_to_frame): Assume less about Gtk+ internals, | |
4631 | if the widget for the event has the same top level as a frame, | |
4632 | return the frame. | |
4633 | (x_menubar_window_to_frame): Detect menu bar even with Gtk+ | |
4634 | internal windows, bug #4122. | |
4635 | (x_non_menubar_window_to_frame): Remove. | |
4636 | ||
5a021dd0 GM |
4637 | 2009-09-02 Glenn Morris <rgm@gnu.org> |
4638 | ||
4639 | * buffer.c (default-major-mode): Move most of the doc from here... | |
4640 | (major-mode): ... to here. | |
4641 | ||
548fe2f3 NR |
4642 | 2009-08-30 Nick Roberts <nickrob@snap.net.nz> |
4643 | ||
4644 | * process.c (wait_reading_process_output): Keep the descriptor | |
4645 | when pty is used by a non-child process, e.g., in I/O buffer of | |
4646 | GDB this allows inferior to be restarted. | |
4647 | ||
e0840eef EZ |
4648 | 2009-08-29 Eli Zaretskii <eliz@gnu.org> |
4649 | ||
4650 | * xdisp.c (redisplay_internal): Remove redundant test and collapse | |
4651 | both branches into one. | |
4652 | ||
82e98df4 SM |
4653 | 2009-08-29 Stefan Monnier <monnier@iro.umontreal.ca> |
4654 | ||
4655 | * emacs.c (USAGE1): Remove --(no-)multibyte, --(no-)unibyte. | |
4656 | (main): Use enable-multibyte-characters rather than | |
4657 | default-enable-multibyte-characters. Output a warning message when | |
4658 | running a unibyte session. | |
4659 | ||
890617cb YM |
4660 | 2009-08-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4661 | ||
4662 | * unexmacosx.c (print_load_command_name) [LC_DYLD_INFO]: Add cases | |
4663 | LC_DYLD_INFO and LC_DYLD_INFO_ONLY. | |
4664 | (copy_data_segment): Also copy __program_vars section. | |
4665 | (copy_dyld_info) [LC_DYLD_INFO]: New function. | |
4666 | (dump_it) [LC_DYLD_INFO]: Use it. | |
4667 | ||
4668 | * s/darwin.h [temacs]: Undef HAVE_POSIX_MEMALIGN. | |
4669 | ||
e7adeadc EZ |
4670 | 2009-08-28 Eli Zaretskii <eliz@gnu.org> |
4671 | ||
4672 | * makefile.w32-in ($(BLD)/doc.$(O)): Depend on buildobj.h, not on | |
4673 | $(SRC)/buildobj.h. | |
4674 | (buildobj.h): Renamed from $(SRC)/buildobj.h. | |
4675 | (make-buildobj-CMD, make-buildobj-SH): Create buildobj.h, not | |
4676 | $(SRC)/buildobj.h. | |
4677 | (clean): Add buildobj.h. | |
4678 | ||
3ed8bbdc TZ |
4679 | 2009-08-28 Teodor Zlatanov <tzz@lifelogs.com> |
4680 | ||
4681 | * print.c (print_object): Set escapeflag to 1 when printing | |
4682 | hashtable keys and values. | |
4683 | ||
155a6764 SM |
4684 | 2009-08-27 Stefan Monnier <monnier@iro.umontreal.ca> |
4685 | ||
4686 | * lread.c (read_integer): Use doubles (and potentially return a float | |
4687 | number) as we do in string-to-number. | |
4688 | (read1): Use strtol to read integers, signal errors on strtol's | |
4689 | overflow and use floats if strtol's output is too large for | |
4690 | Elisp integers. | |
4691 | ||
877610de EZ |
4692 | 2009-08-27 Eli Zaretskii <eliz@gnu.org> |
4693 | ||
4694 | * makefile.w32-in ($(SRC)/buildobj.h, make-buildobj-CMD) | |
4695 | (make-buildobj-SH): Fix last change. | |
4696 | (SRC): Move to before where it's first used. | |
4697 | ||
ef73e7be KH |
4698 | 2009-08-27 Kenichi Handa <handa@m17n.org> |
4699 | ||
550c8289 KH |
4700 | * process.c (send_process): Use encode_coding_object instead of |
4701 | encode_coding_string to perform eol-conversion even if the string | |
4702 | is unibyte. | |
4703 | ||
60afa08d KH |
4704 | * coding.c (encode_coding_utf_16): Fix checking of a Unicode |
4705 | character. | |
4706 | ||
ef73e7be | 4707 | * cmds.c (Fself_insert_command): Avoid unnecessay |
8a0b709a | 4708 | unibyte->multibyte conversion. (Bug#4240) (Bug#4037) |
ef73e7be | 4709 | |
7b3a82d7 DN |
4710 | 2009-08-26 Dan Nicolaescu <dann@ics.uci.edu> |
4711 | ||
5654bf63 DN |
4712 | * callproc.c (Fcall_process): Remove always true #if. |
4713 | ||
7b3a82d7 DN |
4714 | * lisp.h: Replace #if 0 code for checking with text pointing to |
4715 | the --enable-checking configure flag. | |
4716 | ||
4717 | * emacs.c (main): Mention the --enable-profiling configure flag | |
4718 | instead of using CFLAGS. | |
4719 | ||
878bde49 KR |
4720 | 2009-08-26 Ken Raeburn <raeburn@raeburn.org> |
4721 | ||
4722 | * Makefile.in (buildobj.h): New target. | |
4723 | (doc.o): Depend on it. | |
4724 | (temacs${EXEEXT}): Don't generate buildobj.lst. | |
4725 | (mostlyclean): Delete buildobj.h, not buildobj.lst. | |
4726 | * makefile.w32-in ($(SRC)/buildobj.h): New target. | |
4727 | ($(BLD)/doc.$(O)): Depend on it. | |
4728 | (make-buildobj-CMD, make-buildobj-SH): New targets. (Syntax help | |
4729 | provided by Eli Zaretskii.) | |
4730 | ($(TEMACS)): Don't generate buildobj.lst. | |
4731 | * doc.c: Include buildobj.h. | |
4732 | (buildobj): New static variable. | |
4733 | (Fsnarf_documentation): Use it, instead of opening and reading | |
4734 | buildobj.lst. | |
4735 | ||
1574224c MA |
4736 | 2009-08-25 Michael Albinus <michael.albinus@gmx.de> |
4737 | ||
4738 | * dbusbind.c (Fdbus_call_method) | |
4739 | (Fdbus_call_method_asynchronously): Use English numeric format for | |
4740 | timeout values in doc string. | |
4741 | ||
d9da2f45 KH |
4742 | 2009-08-25 Kenichi Handa <handa@m17n.org> |
4743 | ||
ef73e7be KH |
4744 | * alloc.c (mark_char_table): New function. |
4745 | (mark_object): Use mark_char_table for a char-table. | |
4746 | ||
d9da2f45 KH |
4747 | * lisp.h (CHAR_TABLE_REF_ASCII): New macro. |
4748 | (CHAR_TABLE_REF): Use it. | |
4749 | ||
c8edcc01 KR |
4750 | 2009-08-23 Ken Raeburn <raeburn@raeburn.org> |
4751 | ||
4752 | * Makefile.in (emacs${EXEEXT}) [CANNOT_DUMP]: Set EMACSLOADPATH | |
4753 | before invoking the newly build emacs to check for load-path | |
4754 | shadowing. | |
4755 | ||
7763401b GM |
4756 | 2009-08-22 Glenn Morris <rgm@gnu.org> |
4757 | ||
4758 | * Makefile.in (bootstrap_exe): New variable. | |
4759 | (.el.elc, ${lispsource}loaddefs.el, bootstrap-emacs${EXEEXT}): | |
4760 | Use ${bootstrap_exe}. | |
4761 | ||
729eadda EZ |
4762 | 2009-08-22 Eli Zaretskii <eliz@gnu.org> |
4763 | ||
4764 | * coding.h (encode_coding_string): Don't encode unibyte strings. | |
4765 | (Bug#4047) | |
4766 | ||
eb4c6ace MA |
4767 | 2009-08-22 Michael Albinus <michael.albinus@gmx.de> |
4768 | ||
4769 | * config.in (HAVE_DBUS_WATCH_GET_UNIX_FD): Add. | |
4770 | ||
4771 | * dbusbind.c (XD_WITH_DBUS_WATCH_GET_UNIX_FD): Remove. It was | |
4772 | intended as hotfix only. | |
4773 | (xd_add_watch, xd_remove_watch): Use HAVE_DBUS_WATCH_GET_UNIX_FD. | |
4774 | ||
36e34d1b AR |
4775 | 2009-08-21 Adrian Robert <Adrian.B.Robert@gmail.com> |
4776 | ||
4777 | * nsterm.m (ns_get_color): Update documentation properly for last | |
4778 | change, and clean up loose ends in the code left by it. Fix | |
4779 | longstanding bug with 16-bit hex parsing, and add support for | |
4780 | yet another X11 format (rgb:r/g/b) for compatibility. | |
4781 | * nsfns.m (EmacsDialogPanel-runDialogAt): Add declaration of | |
4782 | timer_check() to avoid crash on Leopard/PPC. Bug #2154. | |
4783 | ||
f983eb8a SM |
4784 | 2009-08-21 Stefan Monnier <monnier@iro.umontreal.ca> |
4785 | ||
4786 | * eval.c (init_eval_once): Bump max_lisp_eval_depth to 500 for js.el. | |
4787 | ||
3f56d3c6 MA |
4788 | 2009-08-20 Michael Albinus <michael.albinus@gmx.de> |
4789 | ||
4790 | * dbusbind.c (XD_WITH_DBUS_WATCH_GET_UNIX_FD): New macro. | |
4791 | (xd_add_watch, xd_remove_watch): Use it. Print debug messages. | |
4792 | (xd_initialize, xd_pending_messages): Check, whether | |
4793 | $DBUS_SESSION_BUS_ADDRESS is set. | |
4794 | ||
fb641d68 YM |
4795 | 2009-08-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4796 | ||
4797 | * nsfns.m (Fxw_color_values): Return 3-element list. Doc fix. | |
4798 | ||
4799 | * nsterm.m (ns_get_color): Remove incompatible color formats again. | |
4800 | ||
cf59a374 GM |
4801 | 2009-08-20 Glenn Morris <rgm@gnu.org> |
4802 | ||
4803 | * emacs.c (system-type): Doc fix. | |
4804 | ||
1373f3be SM |
4805 | 2009-08-19 Stefan Monnier <monnier@iro.umontreal.ca> |
4806 | ||
4807 | * keyboard.c (syms_of_keyboard): Default to 5 buttons, which should be | |
4808 | enough for the most common situations. Avoid SET_SYMBOL_VALUE. | |
4809 | ||
058ed861 MA |
4810 | 2009-08-18 Michael Albinus <michael.albinus@gmx.de> |
4811 | ||
1373f3be SM |
4812 | * dbusbind.c (xd_add_watch, xd_remove_watch, Fdbus_init_bus): |
4813 | New functions. | |
058ed861 MA |
4814 | (xd_initialize): Revert change from 2009-08-16. |
4815 | ||
563a866e | 4816 | 2009-08-18 Kenichi Handa <handa@m17n.org> |
5fc05db0 KH |
4817 | |
4818 | * fontset.c (Ffontset_font): If a nil element is found in a | |
563a866e | 4819 | font-group vector, return nil. |
5fc05db0 | 4820 | |
e42bdf01 CY |
4821 | 2009-08-17 Chong Yidong <cyd@stupidchicken.com> |
4822 | ||
4823 | * process.c (status_notify): Don't perform redisplay. | |
4824 | (Fdelete_process, list_processes_1, process_send_signal): | |
4825 | Expliticly perform redisplay. | |
4826 | (wait_reading_process_output): Always check process status, but | |
4827 | don't perform redisplay unless DO_DISPLAY is non-zero (Bug#2930). | |
4828 | ||
4230ab74 KR |
4829 | 2009-08-17 Ken Raeburn <raeburn@raeburn.org> |
4830 | ||
1373f3be | 4831 | * lisp.h (XFLOAT_DATA): Produce an rvalue by adding 0 to the value. |
f601cdf3 KR |
4832 | (XFLOAT_INIT): New macro for storing a float value. |
4833 | * alloc.c (make_float, make_pure_float): Use XFLOAT_INIT. | |
4834 | * fns.c (sxhash): Copy out the value of a float in order to | |
4835 | examine its bytes. | |
4836 | * dbusbind.c (xd_append_arg): Likewise. | |
4837 | ||
4230ab74 KR |
4838 | * emacs.c (main): Don't call syms_of_data twice. |
4839 | ||
a0645cdd MA |
4840 | 2009-08-16 Michael Albinus <michael.albinus@gmx.de> |
4841 | ||
4842 | * dbusbind.c (xd_initialize): Add connection file descriptor to | |
4843 | input_wait_mask, in order to let select() detect, whether a new | |
4844 | message has been arrived. | |
ca4f31ea | 4845 | (Fdbus_call_method_asynchronously): Allow nil HANDLER. |
a0645cdd | 4846 | |
485db0ba MA |
4847 | 2009-08-15 Michael Albinus <michael.albinus@gmx.de> |
4848 | ||
1373f3be SM |
4849 | * dbusbind.c (xd_get_dispatch_status, xd_pending_messages): |
4850 | New functions. | |
485db0ba MA |
4851 | |
4852 | * lisp.h (xd_pending_messages): Declare. | |
4853 | ||
4854 | * keyboard.c (readable_events): Call xd_pending_messages. | |
4855 | ||
b5b98ff4 CY |
4856 | 2009-08-15 Chong Yidong <cyd@stupidchicken.com> |
4857 | ||
1373f3be | 4858 | * eval.c (Fcalled_interactively_p, Finteractive_p): Doc fix (Bug#3936). |
84b17ab0 | 4859 | |
f8354c6e CY |
4860 | * xdisp.c (pop_it): Don't pop into a display vector (Bug#4131). |
4861 | ||
b5b98ff4 CY |
4862 | * buffer.c (set_buffer_internal_1) |
4863 | (swap_out_buffer_local_variables): Check for unbound local | |
4864 | variables (Bug#4138). | |
4865 | ||
8b9fc636 EZ |
4866 | 2009-08-14 Eli Zaretskii <eliz@gnu.org> |
4867 | ||
4868 | * process.c (create_pty): Fix last change. | |
4869 | ||
ce959360 CY |
4870 | 2009-08-13 Chong Yidong <cyd@stupidchicken.com> |
4871 | ||
4872 | * image.c (xbm_read_bitmap_data): New arg inhibit_image_error. | |
4873 | (xbm_load_image): Caller changed. | |
64b807c9 | 4874 | (xbm_file_p): Avoid signalling an image_error (Bug#4107). |
ce959360 | 4875 | |
c7baf7e9 NR |
4876 | 2009-08-13 Nick Roberts <nickrob@snap.net.nz> |
4877 | ||
4878 | * process.c (create_pty): New function. | |
4879 | (Fstart_process): Use it to allow Emacs to just associate a pty | |
4880 | with the buffer. See associated change in gdb-mi.el. | |
4881 | (list_processes_1): Deal with no program name. | |
4882 | (start_process_unwind): Use pid == -2 to mean no process. | |
4883 | ||
1ac9108a SM |
4884 | 2009-08-12 Stefan Monnier <monnier@iro.umontreal.ca> |
4885 | ||
4886 | * cmds.c (nonundocount): New global variable. | |
4887 | (keys_of_cmds): Initialize it. | |
4888 | (Fself_insert_command): Use it to combine upto 20 sequential chars | |
4889 | into a single undo entry, just like the Qself_insert_command code in | |
4890 | keyboard.c does. | |
4891 | Call frame_make_pointer_invisible, also like the Qself_insert_command | |
4892 | code in keyboard.c does. | |
4893 | * keyboard.c (command_loop_1): Use the new global nonundocount rather | |
4894 | than its own local replacement for it. | |
4895 | ||
e267324c KR |
4896 | 2009-08-10 Ken Raeburn <raeburn@raeburn.org> |
4897 | ||
1ac9108a | 4898 | * fns.c (concat): Don't re-set string length to its current value. |
77437343 | 4899 | |
1ac9108a SM |
4900 | * coding.h (decode_coding_string, encode_coding_string): |
4901 | Use SBYTES macro. | |
f0bed503 | 4902 | |
1ac9108a | 4903 | * doprnt.c (doprnt_lisp): Delete unused function. |
e267324c KR |
4904 | (doprnt): Merge with doprnt1, discarding lispstrings code. |
4905 | * lisp.h (doprnt_lisp): Don't declare. | |
4906 | ||
416e006d JL |
4907 | 2009-08-07 Juri Linkov <juri@jurta.org> |
4908 | ||
4909 | * puresize.h (BASE_PURESIZE): Increase to 1270000. | |
4910 | ||
6f7d5780 DN |
4911 | 2009-08-07 Dan Nicolaescu <dann@ics.uci.edu> |
4912 | ||
4913 | * print.c (syms_of_print): Undo previous change. | |
4914 | ||
f19a0f5b TZ |
4915 | 2009-08-05 Teodor Zlatanov <tzz@lifelogs.com> |
4916 | ||
4917 | * lread.c (read1, syms_of_lread): Read hashtables back from the | |
4918 | readable format. | |
4919 | ||
4920 | * print.c (print_preprocess, print_object): Print hashtables fully | |
4921 | and readably. | |
4922 | (syms_of_print): Provide 'hashtable-print-readable. | |
4923 | ||
b9173dc2 AR |
4924 | 2009-08-02 Adrian Robert <Adrian.B.Robert@gmail.com> |
4925 | ||
4926 | * nsfont.m (ns_descriptor_to_entity): Handle case when descriptor has | |
4927 | no family set. | |
4928 | (nsfont_open): Handle case when entity has no family. | |
4929 | ||
1586503c AR |
4930 | 2009-07-29 Adrian Robert <Adrian.B.Robert@gmail.com> |
4931 | ||
4932 | * nsfont.m (ns_findfonts): Fix 2009-07-24 change to return only one | |
4933 | element, not a list, for match case. | |
4934 | ||
087048cd KH |
4935 | 2009-07-28 Kenichi Handa <handa@m17n.org> |
4936 | ||
4937 | * font.c (font_parse_xlfd): Check DPI and AVGWIDTH properties more | |
4938 | rigidly. | |
4939 | ||
4940 | * xfont.c (xfont_list_pattern): Don't ignore the return value of | |
4941 | font_parse_xlfd. Check font properties more rigidly. | |
4942 | ||
780c2506 DN |
4943 | 2009-07-27 Dan Nicolaescu <dann@ics.uci.edu> |
4944 | ||
31fd7c5c JB |
4945 | * s/netbsd.h (SIGNALS_VIA_CHARACTERS): Remove, already defined in |
4946 | bsd-common.h. | |
780c2506 | 4947 | |
a8c0cc18 KH |
4948 | 2009-07-27 Kenichi Handa <handa@m17n.org> |
4949 | ||
4950 | * xfaces.c (face_with_height): Call font_clear_prop. | |
4951 | ||
4fbe2306 CY |
4952 | 2009-07-26 Chong Yidong <cyd@stupidchicken.com> |
4953 | ||
111d9af3 CY |
4954 | * dispnew.c (init_display): Use Qx, Qw32, and Qns. |
4955 | ||
4956 | * xterm.c (x_term_init): Use Qx. | |
4957 | ||
4fbe2306 CY |
4958 | * nsfont.m (nsfont_draw): Revert 2009-07-15 change. |
4959 | ||
1ac9108a | 4960 | * nsterm.m (ns_maybe_dumpglyphs_background): Revert 2009-07-15 change. |
4fbe2306 CY |
4961 | (ns_get_color): Revert 2009-07-16 change. |
4962 | ||
beb0b7f9 EZ |
4963 | 2009-07-25 Eli Zaretskii <eliz@gnu.org> |
4964 | ||
4965 | * lread.c (syms_of_lread) <force_load_messages>: New variable. | |
1ac9108a | 4966 | (Fload): Use it to force load messages, even if NOMESSAGES is non-nil. |
beb0b7f9 | 4967 | |
2baf5e76 KR |
4968 | 2009-07-25 Ken Raeburn <raeburn@raeburn.org> |
4969 | ||
1ac9108a SM |
4970 | * coding.h (decode_coding_string, encode_coding_string): |
4971 | Use SCHARS macro. | |
8890e5f5 | 4972 | |
2baf5e76 | 4973 | * lread.c: Rewrite 2009-07-21 changes. |
1ac9108a | 4974 | (load_depth): Delete. |
2baf5e76 KR |
4975 | (Qload_in_progress): New variable. |
4976 | (load_unwind): Don't reference load_depth or load_in_progress. | |
4977 | (Fload): Likewise; specbind Qload_in_progress instead. | |
4978 | (init_lread): Don't initialize load_depth. | |
4979 | (syms_of_lread): Initialize and protect Qload_in_progress. | |
4980 | ||
1395c6f5 AR |
4981 | 2009-07-24 Adrian Robert <Adrian.B.Robert@gmail.com> |
4982 | ||
4983 | * nsfont.m (ns_findfonts): Correctly return fallback in match case. | |
4984 | ||
4e2f36cf AR |
4985 | 2009-07-23 Yavor Doganov <yavor@gnu.org> |
4986 | ||
4987 | * nsfont.m (NSFontDescriptor.h): Explicitly include under GNUstep. | |
4988 | ||
5dd9a6f7 AR |
4989 | 2009-07-23 Adrian Robert <Adrian.B.Robert@gmail.com> |
4990 | ||
4991 | * nsterm.m (EmacsView-keyUp:): Only act when running under Tiger. | |
7f6ad209 AR |
4992 | Bugs 3792, 3720, 2402. |
4993 | (ns_lookup_indexed_color): Check for bad index. | |
4994 | (ns_index_color): Init unused slot to 0. | |
4995 | (ns_dumpglyphs_box_or_relief): Replace useless xassert with an if(). | |
4996 | Bug 3714, possibly 3082. | |
5dd9a6f7 | 4997 | |
c902b920 JR |
4998 | 2009-07-22 Jason Rumney <jasonr@gnu.org> |
4999 | ||
1ac9108a SM |
5000 | * w32fns.c (w32_wnd_proc) [WM_IME_STARTCOMPOSITION]: |
5001 | Position IME window at cursor (Bug#2570). | |
c902b920 JR |
5002 | (w32_wnd_proc) [WM_IME_CHAR]: Release context when finished. |
5003 | (globals_of_w32fns): Dynamically load functions required above. | |
5004 | ||
5005 | * w32term.c (w32_draw_window_cursor): Send message to reposition | |
5006 | any IME window. | |
5007 | ||
090101cf CY |
5008 | 2009-07-21 Chong Yidong <cyd@stupidchicken.com> |
5009 | ||
5010 | * fileio.c: Revert 2009-07-16 changes. | |
5011 | (Vauto_save_include_big_deletions): New variable. | |
5012 | (Fdo_auto_save): Disable auto-save only if | |
5013 | auto-save-include-big-deletions is nil. | |
5014 | ||
e6583e3d CY |
5015 | 2009-07-21 Chong Yidong <cyd@stupidchicken.com> |
5016 | ||
5017 | * xdisp.c (move_it_to): For continued lines ending in a tab, take | |
5018 | the overflowed pixels into account (Bug#3879). | |
5019 | ||
ece435a5 KR |
5020 | 2009-07-21 Ken Raeburn <raeburn@raeburn.org> |
5021 | ||
5022 | * lread.c (load_depth): New variable. | |
5023 | (Fload, load_unwind, init_lread): Set it to the load recursion | |
5024 | depth; set load_in_progress as a simple boolean based on the | |
5025 | current load_depth. (Bug#3892) | |
5026 | ||
40b2d973 AR |
5027 | 2009-07-20 Adrian Robert <Adrian.B.Robert@gmail.com> |
5028 | ||
5029 | * nsfont.m (ns_has_attribute): Remove. | |
5030 | (ns_findfonts, nsfont_open): Use ns_attribute_fvalue() instead. | |
5031 | ||
10be7e0d JL |
5032 | 2009-07-18 Juri Linkov <juri@jurta.org> |
5033 | ||
5034 | * process.c (Fset_process_query_on_exit_flag): Mention killing | |
5035 | a buffer in docstring. | |
5036 | ||
fa055055 KH |
5037 | 2009-07-17 Kenichi Handa <handa@m17n.org> |
5038 | ||
5039 | * casetab.c (shuffle): Fix the logic of setting up the cycle. | |
5040 | ||
042f7b69 YM |
5041 | 2009-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5042 | ||
5043 | * nsfns.m (Fns_set_alpha): Remove function. | |
5044 | (syms_of_nsfns): Don't defsubr it. | |
5045 | ||
5046 | * nsterm.m (ns_get_color): Remove incompatible color formats. | |
5047 | (ns_color_to_lisp): Generate #rrggbb color format string. | |
5048 | ||
4be941e3 RS |
5049 | 2009-07-16 Richard Stallman <rms@gnu.org> |
5050 | ||
5051 | * fileio.c (Fwrite_region, Fdo_auto_save): Handle save_length = -2. | |
5052 | (Fset_buffer_auto_saved): Handle save_length = -2. | |
5053 | ||
4e6b227d CY |
5054 | 2009-07-16 Chong Yidong <cyd@stupidchicken.com> |
5055 | ||
5056 | * xterm.c (Qx_gtk_map_stock): New var. | |
5057 | ||
5058 | * gtkutil.c (update_frame_tool_bar): Use Qx_gtk_map_stock instead | |
5059 | of calling intern each time. | |
5060 | ||
a1856973 YM |
5061 | 2009-07-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5062 | ||
5063 | * nsfont.m (nsfont_draw): Remove code for stippling, which actually | |
5064 | does tiling. | |
5065 | ||
5066 | * nsterm.m (ns_maybe_dumpglyphs_background): Likewise. | |
5067 | ||
497e54d8 KH |
5068 | 2009-07-14 Kenichi Handa <handa@m17n.org> |
5069 | ||
72d36834 KH |
5070 | * font.c (font_vconcat_entity_vectors): New function. |
5071 | (struct font_sort_data): New member font_driver_preference. | |
5072 | (font_compare): Check font_driver_preference. | |
5073 | (font_sort_entities): The format of the first argument changed. | |
5074 | (font_delete_unmatched): Likewise. | |
5075 | (font_list_entities): The return type changed. | |
5076 | (font_select_entity): The format of the second argument changed. | |
1ac9108a SM |
5077 | (font_find_for_lface): Adjuste for the above changes. |
5078 | Don't suppress the checking of C even if the repertory supports it. | |
5079 | (Flist_fonts): Adjust for the above changes. | |
72d36834 | 5080 | |
1ac9108a SM |
5081 | * ftfont.c (ftfont_spec_pattern): New arg langname. Change caller. |
5082 | (ftfont_list): Adjust for the change of ftfont_spec_pattern. | |
497e54d8 KH |
5083 | Reject a font who has adstyle property that is different from a |
5084 | langname derived from registry property. | |
1ac9108a | 5085 | (ftfont_match): Adjust for the change of ftfont_spec_pattern. |
497e54d8 | 5086 | |
b6046155 EZ |
5087 | 2009-07-13 Eli Zaretskii <eliz@gnu.org> |
5088 | ||
5089 | * dired.c (directory_files_internal) [WINDOWSNT]: Don't make a | |
5090 | local copy of dirfilename. | |
5091 | ||
fb6b6049 KH |
5092 | 2009-07-13 Kenichi Handa <handa@m17n.org> |
5093 | ||
e2402a5e KH |
5094 | * chartab.c (sub_char_table_ref_and_range): Fix the range check |
5095 | against max_char. | |
5096 | ||
fb6b6049 KH |
5097 | * cmds.c (internal_self_insert): Check sym by SYMBOLP before |
5098 | calling XSYMBOL (sym). | |
5099 | ||
65156807 EZ |
5100 | 2009-07-11 Eli Zaretskii <eliz@gnu.org> |
5101 | ||
1ac9108a SM |
5102 | * dired.c (directory_files_internal_w32_unwind) [WINDOWSNT]: |
5103 | New function. | |
5104 | (directory_files_internal) [WINDOWSNT]: | |
5105 | Bind w32-get-true-file-attributes to either t or nil, depending whether | |
65156807 EZ |
5106 | the filesystem of the directory is fast or slow. |
5107 | ||
5108 | * w32.c (logon_network_drive): Don't assume PATH is an absolute | |
5109 | file name. | |
5110 | (is_slow_fs): New function. | |
5111 | (stat): Use it to determine whether to issue more system calls to | |
5112 | get accurate file attributes, when w32-get-true-file-attributes is | |
5113 | `local'. | |
5114 | ||
e0ab5fcf JD |
5115 | 2009-07-10 Jan Djärv <jan.h.d@swipnet.se> |
5116 | ||
5117 | * xfns.c (Fx_select_font): Remember last font selected in | |
31fd7c5c | 5118 | x_last_font_name and use that the next time. Also try the frame |
e0ab5fcf JD |
5119 | parameter font-parameter as default to the font dialog. |
5120 | ||
784ceded KH |
5121 | 2009-07-10 Kenichi Handa <handa@m17n.org> |
5122 | ||
5123 | * xftfont.c (xftfont_open): Fix typo: FC_RGBA->FC_HINT_STYLE. | |
5124 | ||
fb8edc0b EZ |
5125 | 2009-07-09 Eli Zaretskii <eliz@gnu.org> |
5126 | ||
1ac9108a | 5127 | * w32proc.c (syms_of_ntproc) <w32-get-true-file-attributes>: Doc fix. |
017dab84 | 5128 | |
fb8edc0b EZ |
5129 | * w32.c (stat): Treat UNC file names as residing on remote |
5130 | drives. (Bug#3542) | |
5131 | ||
635c75b1 KH |
5132 | 2009-07-09 Kenichi Handa <handa@m17n.org> |
5133 | ||
5134 | * fontset.c (fontset_find_font): Fix previous change. | |
5135 | ||
c1d5ce94 MA |
5136 | 2009-07-08 Michael Albinus <michael.albinus@gmx.de> |
5137 | ||
5138 | * dbusbind.c (xd_initialize, Fdbus_call_method, xd_read_message) | |
5139 | (Fdbus_register_signal, Fdbus_register_method): Cleanup memory of | |
5140 | error flag. | |
5141 | ||
edb61b39 KH |
5142 | 2009-07-08 Kenichi Handa <handa@m17n.org> |
5143 | ||
374bf7e4 KH |
5144 | * fontset.c (fontset_find_font): Fix the logic of handling |
5145 | charset_matched. | |
5146 | (font_for_char): Delete unused var. | |
5147 | (generate_ascii_font_name): Delete it. | |
5148 | ||
edb61b39 KH |
5149 | * coding.h (JIS_TO_SJIS2): Fix the code range check. |
5150 | ||
5151 | * coding.c (detect_coding_sjis): Handle shift_jis-2004 correctly. | |
5152 | (encode_coding_sjis): Fix the code range check. | |
5153 | ||
0f3f018c CY |
5154 | 2009-07-07 Chong Yidong <cyd@stupidchicken.com> |
5155 | ||
5156 | * fileio.c (Fsubstitute_in_file_name, Ffile_name_directory) | |
5157 | (Fexpand_file_name): Copy string data properly (Bug#3772). | |
5158 | ||
fcaf6f3a JD |
5159 | 2009-07-07 Jan Djärv <jan.h.d@swipnet.se> |
5160 | ||
5161 | * xterm.c (handle_one_xevent): Only call x_check_fullscreen on the | |
5162 | first MapNotify. | |
5163 | ||
6809ca75 KH |
5164 | 2009-07-07 Kenichi Handa <handa@m17n.org> |
5165 | ||
5166 | * character.h (unibyte_has_multibyte_table): Delete extern. | |
5167 | (UNIBYTE_CHAR_HAS_MULTIBYTE_P): Delete it. | |
5168 | ||
5169 | * charset.c (Fset_charset_priority): Update charset_unibyte. | |
5170 | (syms_of_charset): Initialize charset_unibyte. | |
5171 | ||
5172 | * character.c (unibyte_has_multibyte_table): Delete it. | |
5173 | (multibyte_char_to_unibyte): Use CHAR_TO_BYTE8 instead of checking | |
5174 | charset_unibyte. | |
5175 | (multibyte_char_to_unibyte_safe): Likewise. | |
5176 | (Funibyte_char_to_multibyte): Don't check charset_unibyte. | |
5177 | ||
1ac9108a | 5178 | * xdisp.c (get_next_display_element): Decode it->c by charset_unibyte. |
6809ca75 KH |
5179 | (x_produce_glyphs): Likewise. |
5180 | ||
5181 | * .gdbinit (xcharset): Fix the treating $arg0. | |
5182 | ||
ad9e2d54 EZ |
5183 | 2009-07-04 Eli Zaretskii <eliz@gnu.org> |
5184 | ||
5185 | Emulation of `getloadavg' on MS-Windows. | |
50426a04 | 5186 | * w32.c: Include float.h. |
ad9e2d54 EZ |
5187 | (g_b_init_get_native_system_info, g_b_init_get_system_times) |
5188 | (GetNativeSystemInfo_Proc, GetSystemTimes_Proc): Declare. | |
5189 | (get_native_system_info, get_system_times): New functions. | |
5190 | (buf_next, buf_prev, sample_system_load, getavg): New subroutines. | |
5191 | (getloadavg): Rewrite using GetSystemTimes and GetNativeSystemInfo. | |
5192 | (globals_of_w32): Initialize g_b_init_get_native_system_info, | |
5193 | g_b_init_get_system_times, and num_of_processors. | |
5194 | ||
0a3472c7 JR |
5195 | 2009-07-03 Jason Rumney <jasonr@gnu.org> |
5196 | ||
5197 | * w32term.c (w32_initialize): Use standard types. | |
5198 | ||
80904120 EZ |
5199 | 2009-07-03 Eli Zaretskii <eliz@gnu.org> |
5200 | ||
5201 | * dired.c (Ffile_attributes): Decode user and group names by the | |
5202 | locale's encoding. (Bug#3443) | |
5203 | ||
6978862d DN |
5204 | 2009-07-03 Dan Nicolaescu <dann@ics.uci.edu> |
5205 | ||
f8d23104 DN |
5206 | * sysdep.c (sys_suspend): Remove USG_JOBCTRL #ifdef, unused. |
5207 | (mkdir): Remove MKDIR_PROTOTYPE #ifdef, unused. | |
5208 | ||
5209 | * callproc.c (child_setup): Use #else instead of a separate #ifdef. | |
5210 | ||
5211 | * term.c (init_tty): Remove spurious #ifdef. | |
5212 | ||
6978862d DN |
5213 | * m/mips.h: Mention this file is also used for netbsd. |
5214 | * m/pmax.h: Remove file. | |
5215 | ||
e044e4fc JD |
5216 | 2009-07-03 Jan Djärv <jan.h.d@swipnet.se> |
5217 | ||
5218 | * xterm.h (struct x_display_info): Add invisible_cursor. | |
5219 | (struct x_output): Add current_cursor. | |
5220 | ||
5221 | * xterm.c (XTtoggle_invisible_pointer): New function. | |
5222 | (x_define_frame_cursor): Don't define cursor if invisible or the | |
5223 | same as before. Set current_cursor. | |
5224 | (x_create_terminal): Set toggle_invisible_pointer_hook. | |
5225 | ||
5226 | * xfns.c (make_invisible_cursor): New function. | |
5227 | (x_set_mouse_color): Call make_invisible_cursor. | |
5228 | Set current_cursor. | |
5229 | (x_window): Set current_cursor. | |
5230 | ||
5231 | * termhooks.h (struct terminal): Add toggle_invisible_pointer_hook. | |
5232 | ||
5233 | * keyboard.c (command_loop_1): Call frame_make_pointer_invisible after | |
5234 | inserting a character. | |
5235 | (read_avail_input): Call frame_make_pointer_visible. | |
5236 | ||
5237 | * frame.c (Vmake_pointer_invisible): New variable. | |
1ac9108a SM |
5238 | (frame_make_pointer_invisible, frame_make_pointer_visible): |
5239 | New functions. | |
e044e4fc JD |
5240 | (syms_of_frame): DEFVAR make-pointer-invisible, initialize to Qt. |
5241 | ||
5242 | * frame.h: Declare frame_make_pointer_invisible and | |
5243 | frame_make_pointer_visible. | |
5244 | (struct frame): Add pointer_invisible. | |
5245 | ||
574c8efa JD |
5246 | 2009-07-02 Jan Djärv <jan.h.d@swipnet.se> |
5247 | ||
7b507248 JD |
5248 | * gtkutil.c (xg_frame_set_char_size): Do set width/height if the |
5249 | frame isn't visible. | |
5250 | (xg_frame_resized): If width/height is -1, get size of window | |
5251 | from X server. | |
5252 | ||
5253 | * xterm.c (handle_one_xevent): Call xg_frame_resized for USE_GTK | |
5254 | for MapNotify. | |
5255 | ||
835bdaa7 | 5256 | * gtkutil.c (xg_frame_set_char_size): Do not set pixel width/height |
31fd7c5c | 5257 | here or call change_frame_size. Just call flush_and_sync. |
1ac9108a | 5258 | (flush_and_sync): Reintroduce. |
574c8efa | 5259 | |
3f1c6666 | 5260 | 2009-07-01 Jan Djärv <jan.h.d@swipnet.se> |
69b16610 | 5261 | |
31fd7c5c | 5262 | * xterm.h (struct x_display_info): Add Xatom_net_wm_state_sticky. |
acd51077 JD |
5263 | |
5264 | * xterm.c (x_handle_net_wm_state): Also look for sticky. | |
5265 | (x_term_init): Initialize Xatom_net_wm_state_sticky. | |
5266 | ||
5267 | * frame.h: Declare Qsticky. | |
5268 | ||
cad9ef74 JD |
5269 | * w32fns.c (w32_frame_parm_handlers): Set 0 for sticky. |
5270 | ||
5271 | * nsfns.m (ns_frame_parm_handlers): Ditto. | |
5272 | ||
5273 | * frame.c: Declare Qsticky. | |
5274 | (frame_parms): Add sticky. | |
5275 | ||
5276 | * xfns.c (x_frame_parm_handlers): Let x_set_sticky handle sticky. | |
5277 | ||
5278 | * xterm.h: Declare x_set_sticky. | |
5279 | ||
5280 | * xterm.c (x_set_sticky): New function. | |
5281 | ||
69b16610 JD |
5282 | * gtkutil.c (xg_tool_bar_proxy_help_callback): New function. |
5283 | (xg_tool_bar_menu_proxy): Attach enter/leave events to | |
5284 | xg_tool_bar_proxy_help_callback. | |
3f1c6666 JD |
5285 | |
5286 | * emacs.c (USAGE3, standard_args): Add -mm and --maximized. | |
5287 | ||
5288 | * frame.c: Qmaximized is new. | |
5289 | (x_set_frame_parameters): Do not handle fullscreen specially. | |
5290 | Only set width and height if explicitly set. | |
5291 | (x_set_fullscreen): Handle Qmaximized. | |
5292 | (x_set_font, x_figure_window_size): Do not handle fullscreen specially. | |
5293 | (syms_of_frame): Initialize Qmaximized. | |
5294 | ||
1ac9108a SM |
5295 | * frame.h (fullscreen_type): Add FULLSCREEN_MAXIMIZED. |
5296 | Declare Qfullwidth, Qfullheight, Qfullboth, Qmaximized. | |
3f1c6666 JD |
5297 | |
5298 | * xterm.c (handle_one_xevent): Remove call to x_check_fullscreen | |
31fd7c5c JB |
5299 | for Expose event. Add call to x_check_fullscreen for MapNotify event. |
5300 | Remove all code w.r.t. fullscreen from ConfigureNotify event. Do not | |
3f1c6666 JD |
5301 | set gravity to NorthWestGravity when USE_GTK. |
5302 | (set_wm_state): New function. | |
31fd7c5c | 5303 | (do_ewmh_fullscreen): Use set_wm_state. Also handle FULLSCREEN_MAXIMIZED. |
3f1c6666 JD |
5304 | (x_handle_net_wm_state): Handle FULLSCREEN_MAXIMIZED. |
5305 | (x_check_fullscreen): Simplify so we only handle EMWH type of fullscreen | |
31fd7c5c | 5306 | or the case when no window manager is running. That means remove calls |
3f1c6666 JD |
5307 | to x_real_positions and x_fullscreen_adjust. |
5308 | ||
5309 | * gtkutil.c (flush_and_sync, x_wm_size_hint_off): Remove. | |
5310 | (xg_frame_set_char_size): Remove calls to x_wm_size_hint_off and | |
5311 | flush_and_sync. | |
5312 | (xg_height_changed): New function. | |
5313 | (xg_create_frame_widgets): Remove call to gtk_widget_set_size_request | |
1ac9108a SM |
5314 | and gtk_window_set_policy. Set frame gravity after parsing the |
5315 | geometry string. | |
3f1c6666 JD |
5316 | (xg_update_frame_menubar, free_frame_menubar) |
5317 | (xg_tool_bar_detach_callback, xg_tool_bar_attach_callback) | |
5318 | (update_frame_tool_bar, free_frame_tool_bar): Call xg_height_changed. | |
5319 | Remove calls to xg_frame_set_char_size. | |
5320 | ||
fd503d99 KH |
5321 | 2009-07-01 Kenichi Handa <handa@m17n.org> |
5322 | ||
5323 | * keyboard.c (decode_keyboard_code): New function. | |
5324 | (tty_read_avail_input): Decode the input bytes if necessary. | |
5325 | ||
1ac9108a SM |
5326 | * coding.c (setup_coding_system): |
5327 | Initialize coding->carryover_bytes to 0. | |
fd503d99 KH |
5328 | (Fset_keyboard_coding_system_internal): If CODING-SYSTEM is nil, |
5329 | use Qno_conversion. | |
5330 | ||
24ed93fb YM |
5331 | 2009-07-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5332 | ||
5333 | * Makefile.in (SOME_MACHINE_LISP): Add ../lisp/term/common-win.elc. | |
5334 | ||
99061dfc CY |
5335 | 2009-06-30 Chong Yidong <cyd@stupidchicken.com> |
5336 | ||
1ac9108a | 5337 | * xftfont.c (xftfont_open): Avoid passing NULL argument to XftLockFace. |
99061dfc | 5338 | |
ff90fbde JR |
5339 | 2009-06-30 Jason Rumney <jasonr@gnu.org> |
5340 | ||
5341 | * w32term.c (w32_initialize): Use GetModuleHandle for library that | |
5342 | is already loaded. | |
5343 | Set user model ID if supported (bug#1849). | |
5344 | ||
5f445726 JM |
5345 | 2009-06-29 Jim Meyering <meyering@redhat.com> |
5346 | ||
5347 | Remove useless if-before-xfree test. | |
5348 | * nsfont.m (nsfont_close): Remove useless test. | |
5349 | * term.c (delete_tty): Likewise. | |
5350 | * w32.c (system_process_attributes): Likewise. | |
5351 | * w32font.c (w32font_close): Likewise. | |
5352 | * xfaces.c (x_free_gc): Likewise. | |
5353 | * xselect.c (buffer): Likewise. | |
5354 | ||
b9607587 AS |
5355 | 2009-06-28 Andreas Schwab <schwab@linux-m68k.org> |
5356 | ||
5357 | * process.c (send_process): Keep decoded string in a local | |
5358 | variable and protect it from GC. (Bug#3521) | |
5359 | ||
89ba96f4 EZ |
5360 | 2009-06-28 Eli Zaretskii <eliz@gnu.org> |
5361 | ||
5362 | * term.c (create_tty_output) [MSDOS]: #ifdef away. | |
5363 | (tty_free_frame_resources) [MSDOS]: Add a DOS-specific version. | |
5364 | ||
098a1589 CY |
5365 | 2009-06-28 Chong Yidong <cyd@stupidchicken.com> |
5366 | ||
485422be CY |
5367 | * xdisp.c (start_display, handle_face_prop) |
5368 | (move_it_vertically_backward, cursor_row_fully_visible_p) | |
1ac9108a SM |
5369 | (redisplay_window, try_window_id, produce_image_glyph): |
5370 | Delete some #ifdef-ed out code chunks that are now obsolete. | |
485422be | 5371 | |
098a1589 CY |
5372 | * xterm.c (x_update_window_begin, x_new_focus_frame) |
5373 | (x_scroll_bar_handle_click, handle_one_xevent) | |
5374 | (handle_one_xevent, XTread_socket, x_focus_on_frame) | |
5375 | (x_make_frame_visible, x_make_frame_invisible) | |
5376 | (x_wm_set_icon_pixmap, x_initialize): Delete some #ifdef-ed out | |
5377 | code chunks that are now obsolete. | |
5378 | ||
78c38319 MA |
5379 | 2009-06-28 Michael Albinus <michael.albinus@gmx.de> |
5380 | ||
5381 | * dbusbind.c (XD_SYMBOL_TO_DBUS_TYPE): Convert macro into function | |
5382 | xd_symbol_to_dbus_type. With Solaris 2.11, it was said to compile | |
5383 | for hours, when optimzation is enabled. | |
5384 | (xd_signature, xd_append_arg, xd_retrieve_arg, xd_initialize) | |
5385 | (xd_read_message): Make them static. | |
5386 | ||
4189ed40 CY |
5387 | 2009-06-27 Chuck Blake <cblake@pdos.csail.mit.edu> (tiny change) |
5388 | ||
5389 | * term.c (turn_on_face): Allow simultaneously bold and dim | |
5390 | terminal faces (Bug#3530). | |
5391 | ||
cd9b5e16 CY |
5392 | 2009-06-27 Chong Yidong <cyd@stupidchicken.com> |
5393 | ||
4e23bedb CY |
5394 | * frame.c (x_get_arg): Check if dpyinfo is non-NULL. |
5395 | ||
cd9b5e16 CY |
5396 | * xdisp.c (mouse_face_from_buffer_pos): Fix detection of |
5397 | truncation glyphs (Bug#3686). | |
5398 | ||
07cc3c35 GM |
5399 | 2009-06-27 Glenn Morris <rgm@gnu.org> |
5400 | ||
5401 | * m/pmax.h: Restore file, with only netbsd portions. | |
5402 | ||
31fd7c5c | 5403 | 2009-06-26 David Reitter <david.reitter@gmail.com> |
25c5550f | 5404 | |
cd9b5e16 | 5405 | * nsterm.m (keydown): Avoid infinite loop. |
25c5550f | 5406 | |
42d4a64f KH |
5407 | 2009-06-26 Peter Jolly <peter@jollys.org> (tiny change) |
5408 | ||
5409 | * ftfont.c (get_adstyle_property): Call font_intern_prop with 1 as | |
5410 | the arg FORCE_SYMBOL. | |
5411 | ||
930fe55b | 5412 | 2009-06-25 Kenichi Handa <handa@m17n.org> |
a71ccf3a KH |
5413 | |
5414 | * fontset.c (fontset_find_font): When a usable rfont_def is found | |
5415 | in a fallback font-group, make it the first element of the group. | |
5416 | ||
57ebc3fd CY |
5417 | 2009-06-24 Chong Yidong <cyd@stupidchicken.com> |
5418 | ||
5419 | * emacs-icon.h: Always define gnu_xpm_bits on GTK (bug#3671). | |
5420 | ||
f084f942 KH |
5421 | 2009-06-24 Kenichi Handa <handa@m17n.org> |
5422 | ||
5423 | * fontset.c (fontset_get_font_group): Return 0 if no font-group is | |
5424 | set for C. | |
5425 | (fontset_font): Record the availability of a font for C both in | |
5426 | the realized fontsets of the current one and the default one. | |
5427 | ||
2f686c87 DN |
5428 | 2009-06-23 Dan Nicolaescu <dann@ics.uci.edu> |
5429 | ||
5430 | * sysdep.c (child_setup_tty): Remove SIGNALS_VIA_CHARACTERS | |
5431 | conditional, it is always defined on AIX. | |
5432 | ||
666e158e MB |
5433 | 2009-06-23 Miles Bader <miles@gnu.org> |
5434 | ||
5435 | * window.c (Vrecenter_redisplay): New variable. | |
5436 | (syms_of_window): Initialize it. | |
5437 | (Qtty): New extern declaration. | |
5438 | (Frecenter): Only do redisplay if Vrecenter_redisplay requests it. | |
5439 | ||
c6da7cd2 JM |
5440 | 2009-06-23 Jim Meyering <meyering@redhat.com> |
5441 | ||
1ac9108a SM |
5442 | * src/ftfont.c (setup_otf_gstring, ftfont_shape_by_flt): |
5443 | Use xmalloc and xrealloc (not malloc and realloc), so subsequent heap | |
632c2030 | 5444 | pointer dereferences are guaranteed to be valid. |
c6da7cd2 | 5445 | |
678dca3d KH |
5446 | 2009-06-23 Kenichi Handa <handa@m17n.org> |
5447 | ||
74d75424 KH |
5448 | * emacs.c (main): Call init_font (). |
5449 | ||
5450 | * font.h (Vfont_log): Extern it. | |
5451 | (FONT_ADD_LOG, FONT_DEFERRED_LOG): New macros. | |
5452 | ||
5453 | * font.c (font_sort_entities, font_list_entities) | |
5454 | (font_matching_entity, font_open_entity) | |
5455 | (font_close_object): Change font_add_log to FONT_ADD_LOG. | |
5456 | (Vfont_log): Delete static. | |
5457 | (font_log_env_checked): Delete this variable. | |
5458 | (font_add_log): Don't check font_log_env_checked. | |
5459 | (font_deferred_log): Check Vfont_log. | |
5460 | (init_font): New function. | |
5461 | ||
678dca3d KH |
5462 | * ftfont.c: Change font_add_log to FONT_ADD_LOG. |
5463 | ||
5464 | * w32font.c: Change font_add_log to FONT_ADD_LOG. | |
5465 | ||
5466 | * w32uniscribe.c: Change font_add_log to FONT_ADD_LOG. | |
5467 | ||
5468 | * xfont.c: Change font_add_log to FONT_ADD_LOG. | |
5469 | ||
5470 | * fontset.c (fontset_font): Call FONT_DEFERRED_LOG. | |
5471 | (face_for_char): Don't call font_deferred_log here. | |
5472 | (font_for_char): Likewise. | |
5473 | ||
8a668709 CY |
5474 | 2009-06-22 Chong Yidong <cyd@stupidchicken.com> |
5475 | ||
9a01ee33 CY |
5476 | * w32term.c (x_draw_glyph_string): Use the glyph string's width |
5477 | rather than its background_width for drawing the overline and | |
5478 | underline (Bug#489). | |
5479 | ||
5480 | * xterm.c (x_draw_glyph_string): Use the glyph string's width | |
5481 | rather than its background_width for drawing the overline and | |
5482 | underline (Bug#489). | |
ec7c9926 CY |
5483 | (xg_default_icon_file): New variable. |
5484 | (syms_of_xterm): Initialize it to the Emacs SVG icon file. | |
5485 | (x_bitmap_icon): Under GTK, use xg_default_icon_file. | |
9a01ee33 | 5486 | |
8a668709 CY |
5487 | * xdisp.c (Qbefore_string, Qafter_string): Add externs. |
5488 | (load_overlay_strings): Remove externs. | |
5489 | (fast_find_position): Function deleted. | |
5490 | (mouse_face_from_buffer_pos): New function, based on | |
5491 | fast_find_position. Correctly handle before-strings, | |
5492 | display-strings, and after-strings (Bug#1220). | |
5493 | (note_mouse_highlight): Use mouse_face_from_buffer_pos. | |
5494 | ||
4d4c02d8 CY |
5495 | 2009-06-21 Chong Yidong <cyd@stupidchicken.com> |
5496 | ||
1ac9108a | 5497 | * xdisp.c (IT_DISPLAYING_WHITESPACE): Define for !HAVE_WINDOW_SYSTEM. |
4d4c02d8 CY |
5498 | (move_it_in_display_line_to, move_it_in_display_line_to) |
5499 | (display_line): Remove #ifdef HAVE_WINDOW_SYSTEM. | |
5500 | ||
70243478 CY |
5501 | 2009-06-21 Chong Yidong <cyd@stupidchicken.com> |
5502 | ||
5503 | * Branch for 23.1. | |
5504 | ||
13087e59 JR |
5505 | 2009-06-21 Jason Rumney <jasonr@gnu.org> |
5506 | ||
5507 | * w32term.c (keyboard_codepage): New static variable. | |
5508 | (w32_read_socket) [WM_INPUTLANGCHANGE]: Update it. | |
5509 | (w32_read_socket) [WM_CHAR]: Use it to decode character | |
5510 | input (bug#3237). | |
5511 | (w32_initialize): Initialize it. | |
5512 | (codepage_for_locale): New function. | |
5513 | ||
4735b74e KR |
5514 | 2009-06-20 Ken Raeburn <raeburn@raeburn.org> |
5515 | ||
5516 | * process.c (status_message): Pass Faset index argument as a lisp | |
5517 | object, so as to work with USE_LISP_UNION_TYPE. | |
5518 | ||
0e727afa YM |
5519 | 2009-06-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5520 | ||
5521 | * coding.c (Ffind_coding_systems_region_internal): | |
5522 | Cache checked characters. | |
5523 | ||
cf299835 KH |
5524 | 2009-06-18 Kenichi Handa <handa@m17n.org> |
5525 | ||
1ac9108a | 5526 | * coding.c (decode_coding_iso_2022): Check MSB of bytes more rigidly. |
cf299835 | 5527 | |
90f20d94 AS |
5528 | 2009-06-18 Andreas Schwab <aschwab@redhat.com> |
5529 | ||
5530 | * xdisp.c (redisplay_internal): Check that the frame is still | |
5531 | live after redisplay of its windows. | |
5532 | (redisplay_windows): Check that the window is still live. | |
5533 | ||
7f1faf1c KH |
5534 | 2009-06-17 Andreas Schwab <schwab@linux-m68k.org> |
5535 | ||
5536 | * coding.c (detect_coding_utf_16): Fix previous change. | |
5537 | ||
cc13543e KH |
5538 | 2009-06-16 Kenichi Handa <handa@m17n.org> |
5539 | ||
5540 | * coding.c (detect_coding_utf_16): Fix the logic of rejecting | |
5541 | UTF-16 by checking the dispersion of Eth and Oth bytes. | |
5542 | ||
977b85f4 AS |
5543 | 2009-06-15 Andreas Schwab <schwab@linux-m68k.org> |
5544 | ||
5545 | * coding.c (detect_coding_utf_16): Fix typo counting odd bytes. | |
5546 | ||
66bd43d1 KH |
5547 | 2009-06-15 Kenichi Handa <handa@m17n.org> |
5548 | ||
5549 | * process.c (status_message): Fix previous change. Be sure to | |
5550 | decode a localized string. | |
5551 | ||
cb5ca9c5 YM |
5552 | 2009-06-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5553 | ||
5554 | * xterm.c (x_delete_terminal): Put previous change in #if 0 and | |
5555 | add comment explaining why. | |
5556 | ||
ec7709ba | 5557 | 2009-06-14 Sidney Markowitz <sidney@sidney.com> |
5ee6f629 | 5558 | |
ec7709ba | 5559 | * nsmenu.m (EmacsTooltip: setText): Set height of tooltip. |
5ee6f629 | 5560 | |
4b7f335c AR |
5561 | 2009-06-14 Adrian Robert <Adrian.B.Robert@gmail.com> |
5562 | ||
5563 | * nsfont.m (ns_attribute_value): Remove. | |
5564 | (ns_attribute_fvalue): Incorporate code from ns_attribute_value. | |
5565 | (ns_has_attribute): Shrink the normal range. | |
5566 | (ns_findfonts): Don't worry about requested spec in determining | |
5567 | need for synthItal. | |
e41820ee | 5568 | (ns_get_covering_families): Retain scriptToFamilies. |
4b7f335c | 5569 | |
73b26103 SZ |
5570 | 2009-06-14 Seiji Zenitani <zenitani@mac.com> |
5571 | ||
5572 | * xdisp.c [USE_MAC_TOOLBAR]: Remove obsolete definition for Mac Carbon. | |
5573 | ||
5753e4da KH |
5574 | 2009-06-11 Kenichi Handa <handa@m17n.org> |
5575 | ||
5576 | * xdisp.c (x_get_glyph_overhangs): Fix calculation of right | |
5577 | overhang for the static composition case. | |
5578 | ||
3561b671 KH |
5579 | 2009-06-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5580 | ||
5753e4da KH |
5581 | * xdisp.c (x_get_glyph_overhangs): Fix calculation of right |
5582 | overhang for the automatic composition case. | |
5583 | ||
3561b671 KH |
5584 | * xterm.c (x_compute_glyph_string_overhangs): Handle the automatic |
5585 | composition case. | |
5586 | ||
852bbd41 CY |
5587 | 2009-06-10 Chong Yidong <cyd@stupidchicken.com> |
5588 | ||
5589 | * xdisp.c (get_next_display_element): When handling wrap-prefix | |
5590 | and line-prefix, treat \n as a control character (bug#3502). | |
5591 | ||
9903d1e6 KH |
5592 | 2009-06-10 Kenichi Handa <handa@m17n.org> |
5593 | ||
5594 | * font.c (font_parse_family_registry): Fix for one-char foundry. | |
5595 | (font_sort_entities): Initialize prefer_prop[FONT_AVGWIDTH_INDEX]. | |
5596 | ||
0bcbaaaa CY |
5597 | 2009-06-09 Dmitry Dzhus <dima@sphinx.net.ru> (tiny change) |
5598 | ||
5599 | * process.c (status_message): Fix handling of multibyte signal | |
5600 | string (Bug#3499). | |
5601 | ||
40aa3f13 JM |
5602 | 2009-06-09 Jim Meyering <meyering@redhat.com> |
5603 | ||
1f80c7e2 CY |
5604 | * xfaces.c (Fx_load_color_file): Avoid array bounds error if the |
5605 | color name is missing. | |
40aa3f13 | 5606 | |
72d51285 KH |
5607 | 2009-06-09 Kenichi Handa <handa@m17n.org> |
5608 | ||
5609 | * charset.c (Fmap_charset_chars): In docstring, state clearly that | |
5610 | FROM-CODE and TO-CODE are codepoints of CHARSET. | |
5611 | ||
c1d04d84 AR |
5612 | 2009-06-08 Adrian Robert <Adrian.B.Robert@gmail.com> |
5613 | ||
5614 | * nsterm.m (ns_use_system_highlight_color): Drop, unused. | |
5615 | ||
5616 | 2009-06-08 Adrian Robert <Adrian.B.Robert@gmail.com> | |
5617 | ||
5618 | Changes to support :script/:lang/:otf in NS font driver. | |
5619 | * nsfont.m (nsfont_escape_name, nsfont_unescape_name) | |
5620 | (nsfont_get_family, nsfont_char_width): Rename to ns_ prefix to | |
5621 | indicate not part of font driver interface, and change callers. | |
5622 | (ns_get_family): Remove pointless null check. | |
5623 | (nsfont_spec_to_traits, nsfont_fmember_to_entity): Replace with | |
5624 | ns_spec_to_descriptor, ns_descriptor_to_entity. | |
5625 | (nsfont_trait_distance, nsfont_make_fontset_for_font): Remove. | |
5626 | (ns_attribute_value, ns_attribute_fvalue, ns_has_attribute) | |
5627 | (ns_spec_to_descriptor, ns_descriptor_to_entity) | |
5628 | (ns_charset_covers, ns_lang_to_script, ns_otf_to_script) | |
5629 | (ns_get_req_script, ns_accumulate_script_ranges) | |
5630 | (ns_script_to_charset, ns_get_covering_families, ns_findfonts): | |
5631 | New functions. | |
5632 | (nsfont_list, nsfont_match): Use ns_findfonts. | |
5633 | (nsfont_open): Use font descriptor instead of traits. | |
5634 | (nsfont_draw): Handle "automatic" (lookup-table) compositions. | |
5635 | (dump_glyphstring): Rename to ns_dump_glyphstring. | |
5636 | ||
c7eb9816 AR |
5637 | * nsterm.h (dump_glyphstring): Rename to ns_dump_glyphstring. |
5638 | ||
c1d04d84 AR |
5639 | * nsfns.m (Fns_popup_font_panel): Use shared font manager. |
5640 | ||
5641 | * fontset.c (fontset_from_font): Remove NS-specific code. | |
5642 | ||
ec7709ba | 5643 | 2009-06-08 Peter Jones <pjones@pmade.com> (tiny change) |
c1d04d84 AR |
5644 | |
5645 | * nsterm.m (ns_draw_window_cursor): Respect cursor_type for | |
5646 | nonactive windows. | |
5647 | ||
31fd7c5c | 5648 | 2009-06-08 Felix Mueller <felix@enqueue.eu> (tiny change) |
c1d04d84 | 5649 | |
1ac9108a | 5650 | * nsterm.m (ns_init_paths): Append path separator to INFOPATH variable. |
c1d04d84 | 5651 | |
68852c13 | 5652 | 2009-06-08 Wolfgang Lux <wolfgang.lux@gmail.com> (tiny change) |
e7777236 AR |
5653 | |
5654 | * keyboard.c (kbd_buffer_get_event): Null-check used_mouse_menu. | |
5655 | ||
6756cd1d CY |
5656 | 2009-06-07 Chong Yidong <cyd@stupidchicken.com> |
5657 | ||
5658 | * xdisp.c (move_it_in_display_line_to): On text-only terminals, | |
5659 | account for the overflowing of newlines into the last glyph on the | |
5660 | display line (Bug#3482). | |
5661 | ||
28bf482a DR |
5662 | 2009-06-05 David Reitter <david.reitter@gmail.com> |
5663 | ||
ec7709ba JB |
5664 | * nsselect.m (Fx_own_selection_internal, Fx_selection_exists_p) |
5665 | (Fx_selection_owner_p): Rename from Fns_own_selection_internal, | |
28bf482a DR |
5666 | Fns_selection_exists_p, Fns_selection_owner_p. |
5667 | ||
fdb55376 JR |
5668 | 2009-06-03 Jason Rumney <jasonr@gnu.org> |
5669 | ||
5670 | * w32fns.c (x_create_tip_frame): Use the uniscribe font backend if | |
5671 | available. (Bug#3379) | |
5672 | ||
05129fbe KH |
5673 | 2009-05-29 Kenichi Handa <handa@m17n.org> |
5674 | ||
1ac9108a SM |
5675 | * coding.c (get_translation_table): |
5676 | Check Venable_character_translation. | |
05129fbe | 5677 | |
ec7709ba | 5678 | 2009-05-26 David Reitter <david.reitter@gmail.com> |
15891144 | 5679 | |
ec7709ba JB |
5680 | * nsterm.m (ns_raise_frame): Only raise frame if visible. |
5681 | (x_make_frame_visible): Move frame to front rather than calling | |
15891144 | 5682 | ns_raise_frame(). |
ec7709ba | 5683 | (keyDown:): Do not swallow events that aren't re-sent if frame |
15891144 | 5684 | isn't key window. |
ec7709ba | 5685 | (drawRect:): Do not set visibility/iconified flags because |
15891144 DR |
5686 | drawRect may be called by NSView even if the frame is hidden. |
5687 | ||
ec7709ba JB |
5688 | * nsfns.m (Fx_create_frame): Follow other ports in |
5689 | determining visibility; default to t. Ensure async_visible is set. | |
15891144 | 5690 | |
21f73755 EZ |
5691 | 2009-05-23 Eli Zaretskii <eliz@gnu.org> |
5692 | ||
5693 | * dired.c (Ffile_attributes): Doc fix. | |
5694 | ||
34001e41 CY |
5695 | 2009-05-22 Chong Yidong <cyd@stupidchicken.com> |
5696 | ||
5697 | * m/mips.h [GNU_LINUX]: Don't define DATA_START (Bug#2685). | |
5698 | ||
46306a17 SM |
5699 | 2009-05-21 Stefan Monnier <monnier@iro.umontreal.ca> |
5700 | ||
5701 | * xfont.c (xfont_list_pattern): Don't initialize xfont_scripts_cache | |
5702 | and xfont_scratch_props. | |
5703 | (syms_of_xfont): Do it here instead. | |
5704 | (xfont_find_ccl_program): Delete, unused. | |
5705 | (xfont_open): Delete unused var `i'. | |
5706 | ||
ef6e0694 KH |
5707 | 2009-05-21 Kenichi Handa <handa@m17n.org> |
5708 | ||
5709 | * fontset.c (Qlatin): Don't make it static. | |
5710 | ||
46306a17 SM |
5711 | * xfont.c (xfont_chars_supported, xfont_supported_scripts): |
5712 | New functions. | |
ef6e0694 KH |
5713 | (xfont_scripts_cache, xfont_scratch_props): New variables. |
5714 | (Qlatin, Vscalable_fonts_allowed): Extern it. | |
46306a17 SM |
5715 | (xfont_list_pattern): Argument changed. Callers changed. |
5716 | Check Vscalable_fonts_allowed. Check the support of a script. | |
ef6e0694 KH |
5717 | (xfont_list): Don't reject a font spec with :script property. |
5718 | (xfont_has_char): Fix setting of encoding. | |
5719 | (syms_of_xfont): Staticpro and initialize xfont_scripts_cache and | |
5720 | xfont_scratch_props. | |
5721 | ||
5722 | 2009-05-19 Kenichi Handa <handa@m17n.org> | |
5723 | ||
46306a17 | 5724 | * font.c (font_sort_entities): Rename from font_sort_entites. |
ef6e0694 KH |
5725 | Callers changed. |
5726 | ||
5727 | 2009-05-18 Kenichi Handa <handa@m17n.org> | |
5728 | ||
5729 | * font.c (font_find_for_lface): Copy SPEC's FONT_TYPE too. | |
5730 | ||
ac71ced7 SM |
5731 | 2009-05-19 Stefan Monnier <monnier@iro.umontreal.ca> |
5732 | ||
5733 | * frame.c (do_switch_frame) [NS_IMPL_COCOA]: Don't raise any window. | |
5734 | (delete_frame) [NS_IMPL_COCOA]: Instead, do it here. | |
5735 | ||
1c6d1051 YM |
5736 | 2009-05-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5737 | ||
5738 | * xterm.c (x_delete_display): Don't call XrmDestroyDatabase here. | |
5739 | (x_delete_terminal): Dissociate resource database from display and | |
5740 | then call XrmDestroyDatabase before closing display. | |
5741 | ||
9b9b779c AR |
5742 | 2009-05-18 Adrian Robert <Adrian.B.Robert@gmail.com> |
5743 | ||
5744 | * nsterm.m (ns_read_socket): Remove unused variable. | |
1564e649 AR |
5745 | * frame.c (do_switch_frame): Under NS_IMPL_COCOA section, check |
5746 | whether selected frame is viable before raising it (based on patch | |
5747 | by David Reitter), and improve commentary. | |
5748 | * nsfont.m (nsfont_make_fontset_for_font): Avoid a compiler warning. | |
9b9b779c | 5749 | |
cccd42d5 KH |
5750 | 2009-05-15 Kenichi Handa <handa@m17n.org> |
5751 | ||
5752 | * font.c (Ffont_spec): Check arguments. | |
5753 | ||
337fbd17 CY |
5754 | 2009-05-14 Chong Yidong <cyd@stupidchicken.com> |
5755 | ||
5756 | * xfaces.c (tty_supports_face_attributes_p): Recognize unspecified | |
5757 | weight when testing attributes (Bug#3282). | |
5758 | ||
47a6002f JD |
5759 | 2009-05-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5760 | ||
5761 | * gtkutil.c (xg_frame_set_char_size): Set frame pixel width/height to | |
5762 | what we expect to get in the next ConfigureNotify event. | |
5763 | ||
9cb363db YM |
5764 | * xftfont.c (xftfont_open): Make sure that Xrender extension is added |
5765 | before Xft one (Bug#1696). | |
5766 | ||
b9126609 CY |
5767 | 2009-05-07 David Reitter <david.reitter@gmail.com> |
5768 | ||
5769 | * nsfns.m (Fx_display_planes): Compute bitplanes using | |
5770 | NSBitsPerPixelFromDepth (Bug#3207). | |
5771 | ||
27a69fd9 CY |
5772 | 2009-05-10 Chong Yidong <cyd@stupidchicken.com> |
5773 | ||
5774 | * editfns.c (Ftranspose_regions): Doc fix (Bug#3248). | |
5775 | ||
00f37552 TTN |
5776 | 2009-05-10 Ulrich Mueller <ulm@gentoo.org> |
5777 | ||
5778 | * s/gnu-linux.h: Make GCPROs and UNGCPRO no-ops also on SuperH. | |
5779 | ||
2d82a920 DR |
5780 | 2009-05-07 David Reitter <david.reitter@gmail.com> |
5781 | ||
ec7709ba JB |
5782 | * nsterm.m (ns_dumpglyphs_stretch, ns_dumpglyphs_image): |
5783 | Respect mouse face background. | |
2d82a920 | 5784 | |
46b0d52d DR |
5785 | 2009-05-07 David Reitter <david.reitter@gmail.com> |
5786 | ||
ec7709ba JB |
5787 | * nsterm.m (note_mouse_movement, ns_frame_up_to_date): |
5788 | Mouse movement/highlight: bracket drawing operations | |
46b0d52d DR |
5789 | in ns_update_begin and ns_update_end. |
5790 | ||
ce1b23bb SM |
5791 | 2009-05-06 Stefan Monnier <monnier@iro.umontreal.ca> |
5792 | ||
5996e1b7 SM |
5793 | * nsfns.m (ns_get_screen): Rewrite. |
5794 | Don't presume selected-frame is of type `ns'. | |
5795 | ||
ba98e3a0 SM |
5796 | * font.c (font_update_drivers): Sanity fallback to avoid disabling |
5797 | all drivers. | |
5798 | ||
ce1b23bb SM |
5799 | * nsterm.m (-windowDidResize:): Avoid inf-loop under GNUStep. |
5800 | ||
bcda200f YM |
5801 | 2009-05-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5802 | ||
5803 | * keyboard.h (add_user_signal): Fix typo in extern. | |
5804 | ||
5805 | * lisp.h (add_user_signal): Remove extern. | |
5806 | ||
5807 | * unexelf.c (unexec): Consider a section to precede the .bss section | |
5808 | if its addresses overlap that of .bss. | |
5809 | (unexec) [NS_IMPL_GNUSTEP]: Copy ObjC-related data from old file | |
5810 | instead of dumping process. | |
5811 | ||
864660a2 SM |
5812 | 2009-05-06 Stefan Monnier <monnier@iro.umontreal.ca> |
5813 | ||
5814 | * keyboard.c (syms_of_keyboard): Staticpro pending_funcalls. | |
5815 | ||
50da4e56 SM |
5816 | 2009-05-04 Stefan Monnier <monnier@iro.umontreal.ca> |
5817 | ||
5818 | * Makefile.in (ctagsfiles1, ctagsfiles2): Include ObjC files in TAGS. | |
5819 | ||
51520a1a DN |
5820 | 2009-05-02 Dan Nicolaescu <dann@ics.uci.edu> |
5821 | ||
5822 | * xterm.c (x_handle_net_wm_state): Move declaration of lval before | |
5823 | any statements. | |
5824 | ||
409ea3a1 AS |
5825 | 2009-05-02 Andreas Schwab <schwab@linux-m68k.org> |
5826 | ||
59c4c60f AS |
5827 | * process.c (read_process_output): Make sure the current buffer is |
5828 | always restored. | |
5829 | ||
409ea3a1 AS |
5830 | * coding.c (record_conversion_result): Don't modify |
5831 | Vlast_code_conversion_error for successful result. | |
5832 | (alloc_destination): Don't clobber conversion result. (Bug#1650) | |
5833 | ||
56f00ed2 KH |
5834 | 2009-05-01 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change) |
5835 | ||
5836 | * charset.c (load_charset): Reformat X==Y==Z to (X==Y)==Z. | |
896b1cc9 | 5837 | (load_charset_map): Remove unnecessary code. |
56f00ed2 | 5838 | |
4491c9d2 DR |
5839 | 2009-04-30 David Reitter <david.reitter@gmail.com> |
5840 | ||
35f5b128 | 5841 | * nsterm.m (convert_ns_to_X_keysym): Define function keys f16 |
4491c9d2 DR |
5842 | through f24. |
5843 | ||
6970f632 CY |
5844 | 2009-04-30 Chong Yidong <cyd@stupidchicken.com> |
5845 | ||
5846 | * xfaces.c (face_at_buffer_position): New arg base_face_id. | |
5847 | ||
5848 | * xdisp.c (handle_face_prop): Pass base_face_id of iterator to | |
5849 | face_at_buffer_position. | |
5850 | (face_before_or_after_it_pos, get_next_display_element) | |
5851 | (note_mouse_highlight): Update face_at_buffer_position call. | |
5852 | ||
5853 | * term.c (term_mouse_highlight): | |
5854 | * msdos.c (IT_note_mouse_highlight): | |
5855 | * fontset.c (Finternal_char_font): | |
35f5b128 | 5856 | * font.c (font_at, font_range): Update face_at_buffer_position call. |
6970f632 CY |
5857 | |
5858 | * dispextern.h (face_at_buffer_position): Update prototype. | |
5859 | ||
0c616f63 KH |
5860 | 2009-04-30 Kenichi Handa <handa@m17n.org> |
5861 | ||
35f5b128 | 5862 | * fontset.c (fontset_find_font): Check if rfont_def is Qnil or not. |
0c616f63 | 5863 | |
ad3aaf33 AS |
5864 | 2009-04-29 Andreas Schwab <schwab@linux-m68k.org> |
5865 | ||
5866 | * callproc.c (Fcall_process): Fix GC protection. Make sure | |
5867 | current buffer is always restored. | |
5868 | ||
c3c963a0 YM |
5869 | 2009-04-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5870 | ||
5871 | * atimer.c (init_atimer): Also clear stopped_atimers. | |
5872 | ||
5873 | * keyboard.c (init_keyboard) [POLL_FOR_INPUT]: Reset poll_timer. | |
5874 | ||
7e3386cb YM |
5875 | * process.c (create_process): Clean up merger residues of |
5876 | 2008-07-17 change. | |
5877 | ||
91f68422 CY |
5878 | 2009-04-29 Ulrich Mueller <ulm@gentoo.org> |
5879 | ||
5880 | * lread.c (Vread_circle): New variable. | |
5881 | (read1): Disable recursive read if Vread_circle is nil. | |
5882 | ||
24b34550 KH |
5883 | 2009-04-29 Kenichi Handa <handa@m17n.org> |
5884 | ||
5885 | * fontset.h (set_default_ascii_font): Delete extern. | |
5886 | ||
5887 | * fontset.c (set_default_ascii_font): Delete this unused function. | |
5888 | ||
5889 | * frame.c (x_set_font): When ARG is a font-object, check if the | |
5890 | font-object matches with the ASCII font-spec of the frame's | |
9c358bda | 5891 | fontset. If not, create a new fontset for the frame. (Bug #3075) |
24b34550 | 5892 | |
77bf07e1 AS |
5893 | 2009-04-28 Andreas Schwab <schwab@linux-m68k.org> |
5894 | ||
5895 | * fns.c (Flocale_info): Protect vector from GC during decoding. | |
5896 | ||
5897 | * process.c (Fstart_process): Protect argv strings from GC during | |
5898 | encoding. | |
5899 | ||
2c55aacf AS |
5900 | 2009-04-27 Andreas Schwab <schwab@linux-m68k.org> |
5901 | ||
5902 | * sysdep.c: Include <ctype.h>. | |
5903 | ||
b892d3c9 DR |
5904 | 2009-04-27 David Reitter <david.reitter@gmail.com> |
5905 | ||
35f5b128 | 5906 | * nsfont.m (nsfont_open): Remove unused variable shrink. |
b892d3c9 DR |
5907 | Remove commented-out code. |
5908 | ||
9d0644c4 JB |
5909 | 2009-04-26 Johan Bockgård <bojohan@gnu.org> |
5910 | ||
5911 | * keyboard.c (syms_of_keyboard) <input-decode-map>: Doc fix. | |
5912 | ||
b7053016 JR |
5913 | 2009-04-25 Jason Rumney <jasonr@gnu.org> |
5914 | ||
5915 | * w32font.c (clear_cached_metrics): Remove, unused since 2008-08-02. | |
5916 | ||
4e8231f3 YM |
5917 | 2009-04-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5918 | ||
5919 | * fringe.c (init_fringe_bitmap) [HAVE_X_WINDOWS && WORDS_BIG_ENDIAN]: | |
5920 | Swap bytes in short integer if fringe bitmap width > 8. | |
5921 | ||
493dcf2c KH |
5922 | 2009-04-23 Kenichi Handa <handa@m17n.org> |
5923 | ||
5924 | * xfaces.c (Fx_list_fonts): If a font size is specified in | |
5925 | PATTERN, set it in returned scalable fonts. | |
5926 | ||
401e9e57 CY |
5927 | 2009-04-22 Chong Yidong <cyd@stupidchicken.com> |
5928 | ||
708e05dc CY |
5929 | * keyboard.c (Fset_input_meta_mode): Doc fix. |
5930 | ||
5931 | * dispnew.c (Fsend_string_to_terminal): Doc fix. | |
5932 | ||
1ac9108a | 5933 | * data.c (Fterminal_local_value, Fset_terminal_local_value): Doc fixes. |
708e05dc CY |
5934 | |
5935 | * coding.c (Fterminal_coding_system): Doc fix. | |
5936 | ||
5937 | * xfns.c (Fx_display_grayscale_p, Fx_display_pixel_width) | |
5938 | (Fx_display_pixel_height, Fx_display_planes) | |
5939 | (Fx_display_color_cells, Fx_server_max_request_size) | |
5940 | (Fx_server_vendor, Fx_server_version, Fx_display_screens) | |
5941 | (Fx_display_mm_height, Fx_display_mm_width) | |
5942 | (Fx_display_backing_store, Fx_display_visual_class) | |
1ac9108a SM |
5943 | (Fx_display_save_under, Fx_close_connection, Fx_synchronize): |
5944 | Doc fixes, replacing "terminal id" with "terminal object". | |
708e05dc CY |
5945 | (check_x_display_info): Handle terminal objects instead of |
5946 | terminal ids. | |
5947 | ||
401e9e57 CY |
5948 | * term.c (Ftty_display_color_p, Ftty_display_color_cells) |
5949 | (Ftty_type, Fcontrolling_tty_p, Ftty_no_underline, Fsuspend_tty) | |
1ac9108a SM |
5950 | (Fresume_tty, Vsuspend_tty_functions, Vresume_tty_functions): |
5951 | Doc fixes, replacing "terminal id" with "terminal object". | |
401e9e57 | 5952 | |
df80c7f0 KH |
5953 | 2009-04-21 Kenichi Handa <handa@m17n.org> |
5954 | ||
5a8f12af | 5955 | * font.c (font_load_for_lface): Cancel previous change (bug#2994). |
c0a6070d | 5956 | (font_score): Check AVGWIDTH too. |
908567ef | 5957 | |
df80c7f0 KH |
5958 | * coding.c (decode_coding_utf_16): Reduce charbuf_end for the |
5959 | worst case. | |
1ac9108a SM |
5960 | (decode_coding_sjis, decode_coding_big5, decode_coding_charset) |
5961 | (decode_coding_emacs_mule, decode_coding_iso_2022): Likewise. | |
df80c7f0 | 5962 | |
705af33f JR |
5963 | 2009-04-19 Jason Rumney <jasonr@gnu.org> |
5964 | ||
5965 | The following changes fix Bug#3005 for wide glyphs on each platform, | |
b71ac3dd | 5966 | without reintroducing Bug#1258 for stretch glyphs. |
705af33f JR |
5967 | |
5968 | * xterm.c (x_draw_bar_cursor): Limit cursor width differently for | |
5969 | BAR_CURSOR and HBAR_CURSOR. Calculate width of HBAR_CURSOR using | |
5970 | get_phys_cursor_geometry. | |
5971 | ||
b71ac3dd | 5972 | * w32term.c (x_draw_bar_cursor): Limit cursor width differently |
705af33f JR |
5973 | for BAR_CURSOR and HBAR_CURSOR. Calculate width of HBAR_CURSOR |
5974 | using get_phys_cursor_geometry. | |
5975 | ||
5976 | * nsterm.m (ns_draw_window_cursor): HBAR_CURSOR width already | |
5977 | correctly calculated. | |
5978 | ||
dc2933eb JD |
5979 | 2009-04-19 Jan Djärv <jan.h.d@swipnet.se> |
5980 | ||
1ac9108a SM |
5981 | * gtkutil.c (xg_tool_bar_menu_proxy, update_frame_tool_bar): |
5982 | Use G_CALLBACK instead of GTK_SIGNAL_FUNC which is deprecated. | |
dc2933eb JD |
5983 | (xg_initialize): Use g_type_class_ref instead of gtk_type_class which |
5984 | is deprecated. | |
5985 | ||
973e7849 AS |
5986 | 2009-04-18 Andreas Schwab <schwab@linux-m68k.org> |
5987 | ||
5988 | * font.c (font_put_frame_data): Use xfree instead of free. | |
5989 | ||
314d66f4 JB |
5990 | 2009-04-17 Juanma Barranquero <lekktu@gmail.com> |
5991 | ||
5992 | * w32font.c (Qja, Qko): Remove declarations. | |
5993 | (syms_of_w32font): Don't DEFSYM them. | |
5994 | ||
cf702558 CY |
5995 | 2009-04-17 Chong Yidong <cyd@stupidchicken.com> |
5996 | ||
5997 | * font.c (Qja, Qko): Move definitions here from ftfont.c. | |
5998 | ||
5999 | * font.h (Qja, Qko): Extern them. | |
6000 | ||
6001 | * ftfont.c (Qja, Qko): Remove declarations. | |
6002 | ||
6003 | * xfont.c (Qja, Qko): Remove declarations. | |
6004 | ||
b50504f5 KH |
6005 | 2009-04-17 Kenichi Handa <handa@m17n.org> |
6006 | ||
bde25748 KH |
6007 | * editfns.c (Ftranslate_region_internal): Use Fconcat to make a |
6008 | string from a vector to handle Latin-1 characters correctly. | |
6009 | ||
b50504f5 KH |
6010 | * ftfont.c (ftfont_pattern_entity): Return a newly allocated |
6011 | entity even if the cache hits. | |
6012 | ||
f4646fff AS |
6013 | 2009-04-16 Andreas Schwab <schwab@linux-m68k.org> |
6014 | ||
6015 | * search.c (boyer_moore): Use zero as marker value for a possible | |
6340c70e | 6016 | match instead of depending on overflow behavior. (Bug#2844) |
f4646fff | 6017 | |
e7deaab0 AS |
6018 | * search.c: Use EMACS_INT for buffer positions. Add prototypes. |
6019 | * lisp.h: Adjust prototypes. | |
6020 | ||
0a0e7d49 CY |
6021 | 2009-04-16 Chong Yidong <cyd@stupidchicken.com> |
6022 | ||
6023 | * keyboard.c (adjust_point_for_property): Disable 2009-02-12 | |
6024 | change (Bug#3003). | |
6025 | ||
3c908a57 KH |
6026 | 2009-04-16 Kenichi Handa <handa@m17n.org> |
6027 | ||
1ac9108a | 6028 | * xfont.c (xfont_has_char): Special handling of `ja' and `ko' adstyle. |
bd0af90d KH |
6029 | |
6030 | * xftfont.c (xftfont_has_char): Special handling of `ja' and `ko' | |
6031 | adstyle. | |
6032 | ||
6033 | * ftfont.c (Qja, Qko): Don't make them static. | |
6034 | (enum ftfont_cache_for): New enum. | |
6035 | (fc_charset_table): Undo the previous change. | |
6036 | (ftfont_get_latin1_charset): Delete it. | |
1ac9108a SM |
6037 | (ftfont_pattern_entity): Check cache by ftfont_lookup_cache. |
6038 | Set FONT_SIZE_INDEX of the entity to 0 for a scalable font. For a | |
bd0af90d KH |
6039 | non-scarable font, try to get AVERAGE_WIDTH. |
6040 | (ftfont_lookup_cache): Argument FOR-FACE is changed to CACHE_FOR. | |
6041 | Change ft_face_cache from a list of a hash-table. Don't check | |
6042 | `ja' and `ko' adstyle here. | |
6043 | (ftfont_get_fc_charset): Call ftfont_lookup_cache with | |
6044 | FTFONT_CACHE_FOR_CHARET. | |
6045 | (ftfont_get_charset): Undo the previous change. | |
1ac9108a | 6046 | (ftfont_open): Call ftfont_lookup_cache with FTFONT_CACHE_FOR_FACE. |
bd0af90d KH |
6047 | (ftfont_close): Likewise. |
6048 | (ftfont_has_char): Special handling of `ja' and `ko' adstyle. | |
6049 | ||
6050 | * font.c (font_sort_entites): Change the meaning of the arg | |
6051 | BEST-ONLY. Don't optimize for VEC of lenght 1. | |
6052 | (font_select_entity): Just return the value of font_sort_entites. | |
6053 | ||
6054 | * xfaces.c (merge_face_vectors): Reflect font properties in | |
6055 | to[LFACE_FONT_INDEX] to the other face attributes. Don't call | |
6056 | font_clear_prop if a face attribute doesn't change. | |
6057 | ||
3c908a57 KH |
6058 | * charset.h (charset_ksc5601): Extern it. |
6059 | ||
6060 | * charset.c (charset_ksc5601): New variable. | |
6061 | (Fdefine_charset_internal): Set charset_ksc5601. | |
6062 | (init_charset_once): Initialize charset_ksc5601 to -1. | |
6063 | ||
d65859c3 DN |
6064 | 2009-04-15 Dan Nicolaescu <dann@ics.uci.edu> |
6065 | ||
6066 | * fileio.c (history_delete_duplicates): Remove unused declaration. | |
6067 | ||
6068 | * callint.c (history_delete_duplicates): New declaration. | |
6069 | (Fcall_interactively): Remove command history duplicates when | |
6070 | history_delete_duplicates is true. | |
6071 | ||
3ba010e5 EZ |
6072 | 2009-04-14 Eli Zaretskii <eliz@gnu.org> |
6073 | ||
6074 | * buffer.c (syms_of_buffer) <line-spacing>: Doc fix. | |
6075 | ||
06f19b91 KH |
6076 | 2009-04-14 Kenichi Handa <handa@m17n.org> |
6077 | ||
6078 | * font.c (Ffont_info): Fix docstring. Fix the second element of | |
6079 | the returned value (bug#2949). | |
6080 | ||
2cce8bfc CY |
6081 | 2009-04-14 Chong Yidong <cyd@stupidchicken.com> |
6082 | ||
6083 | * xdisp.c (Vwrap_prefix, Vline_prefix): Reflow docstrings. | |
6084 | ||
d156542d KH |
6085 | 2009-04-14 Kenichi Handa <handa@m17n.org> |
6086 | ||
6087 | * xfont.c (xfont_has_char): The font has C if C is ASCII and the | |
6088 | encoding charset is ascii_compatible. | |
6089 | ||
6090 | * charset.c (Fdefine_charset_internal): Make charset | |
6091 | ascii-compatible if the method is CHARSET_METHOD_OFFSET, the | |
6092 | code_offset is 0, and covers all ASCII characters. | |
6093 | ||
86fa089e SM |
6094 | 2009-04-13 Stefan Monnier <monnier@iro.umontreal.ca> |
6095 | ||
6096 | * nsselect.m (symbol_to_nsstring, clean_local_selection_data) | |
6097 | (ns_string_to_pasteboard_internal): | |
6098 | * nsmenu.m (process_dialog): | |
6099 | * nsimage.m (ns_load_image): Use SDATA and ASET where appropriate. | |
6100 | * nsfont.m (nsfont_open): Use XHASH to make it compile with LISP_UNION. | |
6101 | * lisp.h (Fx_load_color_file): Declare. | |
6102 | ||
a8a3728b KH |
6103 | 2009-04-13 Kenichi Handa <handa@m17n.org> |
6104 | ||
1ac9108a | 6105 | * font.c (font_delete_unmatched): Preserve the order of list elements. |
a8a3728b KH |
6106 | (font_select_entity): Suppress the code to optimize for the same |
6107 | kind of fonts. | |
6108 | (font_load_for_lface): Get a font that supports at least ASCII | |
6109 | characters. | |
6110 | ||
6111 | * ftfont.c (Qja, Qko): New variables. | |
6112 | (fc_charset_table): Delete uniquifier data for iso8859-1. | |
6113 | (ftfont_get_latin1_charset): New function. | |
6114 | (get_adstyle_property): New function. | |
6115 | (ftfont_pattern_entity): Set FONT_ADSTYLE_INDEX of entity for | |
6116 | bitmap fonts. | |
6117 | (ftfont_lookup_cache): Handle the case that KEY is a font-entity. | |
6118 | Delete iso-8859-1 range from the charset of fonts whose adstyle is | |
6119 | `ko' or `ja'. | |
6120 | (ftfont_get_fc_charset): Call ftfont_lookup_cache with ENTITY. | |
1ac9108a | 6121 | (ftfont_get_charset): For iso8859-1, call ftfont_get_latin1_charset. |
a8a3728b KH |
6122 | (ftfont_list): Don't refuse a font spec with non-nil `adstyle' |
6123 | property. | |
6124 | (ftfont_open): Call ftfont_lookup_cache with ENTITY. | |
6125 | (syms_of_ftfont): DEFSYM Qja and Qko. | |
6126 | ||
483670b5 KH |
6127 | 2009-04-09 Kenichi Handa <handa@m17n.org> |
6128 | ||
12b55765 KH |
6129 | * charset.c (map_charset_chars): For a charset of `superset' |
6130 | method, fix calculation of code range. | |
6131 | ||
483670b5 KH |
6132 | * font.c (font_put_extra): If VAL is nil, delete the slot for PROP |
6133 | from the list of extra properties. | |
6134 | (font_clear_prop): Be sure to delete `:name' font property. | |
6135 | ||
57d3b93b KH |
6136 | 2009-04-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6137 | ||
b4b2c2ca YM |
6138 | * dispnew.c (redraw_overlapping_rows): Fix detection of |
6139 | overlapping for topmost and bottommost rows. | |
6140 | ||
1ac9108a | 6141 | * ftfont.c (ftfont_text_extents): Fix calculation of metrics->descent. |
57d3b93b | 6142 | |
472c3609 JR |
6143 | 2009-04-06 Jason Rumney <jasonr@gnu.org> |
6144 | ||
6145 | * frame.c (x_set_font): Avoid C99 mid-block variable declaration. | |
6146 | ||
ab193662 KH |
6147 | 2009-04-06 Kenichi Handa <handa@m17n.org> |
6148 | ||
6149 | * ftxfont.c (ftxfont_draw_backgrond): Fix args to XFillRectangle. | |
6150 | ||
6151 | * xftfont.c (xftfont_open): Fix setting font->underline_thickness. | |
6152 | ||
0c26f026 KH |
6153 | 2009-04-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6154 | ||
6155 | * ftfont.c (ftfont_open): Fix checking of the return value of | |
6156 | FT_Load_Char. Fix setting font->underline_thickness. | |
6157 | ||
e173bbce CY |
6158 | 2009-04-04 Chong Yidong <cyd@stupidchicken.com> |
6159 | ||
6160 | * terminal.c (Fterminal_name, Fdelete_terminal, Fterminal_name) | |
6161 | (Fterminal_parameters, Fterminal_parameter) | |
6162 | (Fset_terminal_parameter): In doc string, refer to terminal | |
6163 | objects rather than terminal ids. | |
6164 | ||
693a2698 EZ |
6165 | 2009-04-04 Eli Zaretskii <eliz@gnu.org> |
6166 | ||
6167 | * dosfns.c (system_process_attributes) [SYSTEM_MALLOC]: Don't call | |
6168 | ret_lim_data. (Bug#2867) | |
6169 | ||
d5221487 CY |
6170 | 2009-04-03 Chong Yidong <cyd@stupidchicken.com> |
6171 | ||
6172 | * term.c (produce_stretch_glyph): Reduce width of stretch glyphs | |
6173 | so they don't get wider than the window, matching 2006-01-23 | |
6174 | change to the partner function in xdisp.c (Bug#2800). | |
6175 | ||
223509a3 KH |
6176 | 2009-04-03 Kenichi Handa <handa@m17n.org> |
6177 | ||
6178 | * print.c (print_object): Make each lowest sub_char_table start a | |
6179 | new line (Bug#2866). | |
6180 | ||
74fcd0b1 KH |
6181 | 2009-04-02 Kenichi Handa <handa@m17n.org> |
6182 | ||
6183 | * fontset.c (fontset_font): Record no-font when a fontset | |
6184 | explicitly tells not to try another font-specs. | |
6185 | ||
c542407d SM |
6186 | 2009-03-30 Pierre Poissinger <pierre.poissinger@gmail.com> (tiny change) |
6187 | ||
6188 | * charset.c (map_charset_for_dump): Add missing UNGCPRO. | |
6189 | ||
e3869731 KH |
6190 | 2009-03-30 Kenichi Handa <handa@m17n.org> |
6191 | ||
d8d2f142 KH |
6192 | * fontset.c (fontset_from_font): Specify only registry in a |
6193 | font-spec for all characters supported by that registry. | |
6194 | ||
e3869731 KH |
6195 | * ftfont.c: Fix previous change. Define ftfont_variation_glyphs |
6196 | even if HAVE_M17N_FLT is not defined. | |
6197 | ||
5da5f805 CY |
6198 | 2009-03-29 Sebastian Rose <sebastian_rose@gmx.de> (tiny change) |
6199 | ||
6200 | * ftfont.c: Conditionalize prototyping and use of | |
6201 | ftfont_variation_glyphs. | |
6202 | ||
ab226c50 SM |
6203 | 2009-03-28 Stefan Monnier <monnier@iro.umontreal.ca> |
6204 | ||
9628fed7 SM |
6205 | * frame.c (delete_frame): Work around compiler bug. |
6206 | ||
6207 | * editfns.c (general_insert_function): Adjust to insdel.c changes. | |
6208 | * insdel.c (prepare_to_modify_buffer, signal_before_change): | |
6209 | Some more EMACS_INT. | |
6210 | * lisp.h (copy_text, count_size_as_multibyte): Fix last change. | |
6211 | ||
6212 | * xdisp.c (dump_glyph): Fix typo. | |
6213 | ||
ae19ba7c SM |
6214 | * insdel.c (move_gap, move_gap_both, gap_left, gap_right) |
6215 | (adjust_markers_gap_motion, adjust_markers_for_delete) | |
6216 | (adjust_markers_for_insert, adjust_point) | |
6217 | (adjust_markers_for_replace, make_gap_larger, make_gap_smaller) | |
6218 | (make_gap, copy_text, count_size_as_multibyte, insert) | |
6219 | (insert_and_inherit, insert_before_markers) | |
6220 | (insert_before_markers_and_inherit, insert_1) | |
6221 | (count_combining_before, count_combining_after, insert_1_both) | |
6222 | (insert_from_string, insert_from_string_before_markers) | |
6223 | (insert_from_string_1, insert_from_gap, insert_from_buffer) | |
6224 | (insert_from_buffer_1, adjust_after_replace) | |
6225 | (adjust_after_replace_noundo, adjust_after_insert, replace_range) | |
6226 | (replace_range_2, del_range, del_range_1, del_range_byte) | |
6227 | (del_range_both, del_range_2, modify_region) | |
6228 | (prepare_to_modify_buffer, signal_before_change) | |
6229 | (signal_after_change, Fcombine_after_change_execute): Use EMACS_INT | |
6230 | for buffer positions and sizes. | |
6231 | * lisp.h: Adjust prototypes accordingly. | |
6232 | ||
6233 | * fileio.c (adjust_markers_for_delete): Move declaration to lisp.h. | |
6234 | (non_regular_inserted, non_regular_nbytes, read_non_regular) | |
6235 | (Finsert_file_contents): Use EMACS_INT for buffer positions. | |
6236 | ||
ab226c50 SM |
6237 | * fileio.c (Finsert_file_contents): Don't limit size to INT_MAX/4. |
6238 | ||
46dfb8fb JD |
6239 | 2009-03-27 Jan Djärv <jan.h.d@swipnet.se> |
6240 | ||
6241 | * frame.c (x_set_font): If the fullscreen property is non-nil, adjust | |
6242 | lines and columns so we keep the same pixel height and width. | |
6243 | ||
6244 | * xterm.c (handle_one_xevent): Call x_handle_net_wm_state if | |
6245 | the property _NET_WM_STATE has changed. | |
46dfb8fb JD |
6246 | (x_handle_net_wm_state): New function to update frame parameter |
6247 | fullscreen. | |
6248 | (x_term_init): Initialize atoms for _NET_WM_STATE. | |
6249 | ||
6250 | * xterm.h (struct x_display_info): Add atoms for _NET_WM_STATE. | |
6251 | ||
d347e494 SM |
6252 | 2009-03-27 Kevin Ryde <user42@zip.com.au> |
6253 | ||
6254 | * keyboard.c (tty_read_avail_input): Don't treat a -1 return from | |
6255 | Gpm_GetEvent as an error that justifies closing the filedescriptor. | |
6256 | * term.c (close_gpm): Get the filedescriptor as a (new) parameter. | |
6257 | (Fgpm_mouse_stop): Pass that new parameter. | |
6258 | * termhooks.h (close_gpm): Adjust prototype. | |
6259 | ||
84db11d6 SM |
6260 | 2009-03-26 Stefan Monnier <monnier@iro.umontreal.ca> |
6261 | ||
c95a5008 SM |
6262 | * lisp.h (Fx_focus_frame): Declare. |
6263 | ||
84db11d6 SM |
6264 | * callint.c (Fcall_interactively): For '^' just delegate the work to |
6265 | handle-shift-selection. | |
6266 | (syms_of_callint): Move declaration of shift-select-mode to simple.el. | |
6267 | ||
0a1958d6 CY |
6268 | 2009-03-24 Chong Yidong <cyd@stupidchicken.com> |
6269 | ||
0bfdff23 CY |
6270 | * editfns.c (Ffloat_time): Doc fix (Bug#2768). |
6271 | ||
0a1958d6 CY |
6272 | * data.c (Qinteractive_form): New variable. |
6273 | (Finteractive_form): Use it. | |
6274 | ||
6275 | * eval.c (Fcommandp): Use Qinteractive_form. | |
6276 | ||
58aec0d6 JR |
6277 | 2009-03-24 Jason Rumney <jasonr@gnu.org> |
6278 | ||
6279 | * fileio.c (Fsubstitute_in_file_name): Always work on a copy. | |
6280 | Calculate total size precisely. Decode environment variables | |
6281 | before substituting. (Bug#38) | |
6282 | ||
553dd618 KH |
6283 | 2009-03-24 Kenichi Handa <handa@m17n.org> |
6284 | ||
6285 | * font.c (find_font_encoding): Return Qnil for unsupported | |
639239cf | 6286 | encoding (Bug#2722). |
553dd618 | 6287 | |
c39ea606 JD |
6288 | 2009-03-23 Jan Djärv <jan.h.d@swipnet.se> |
6289 | ||
6290 | * gtkutil.c (xg_display_open): Assign a value to gdpy_def, check | |
6291 | that gdpy is set. | |
6292 | ||
bc9b2b5e AM |
6293 | 2009-03-22 Alan Mackenzie <acm@muc.de> |
6294 | ||
6295 | * callint.c (Finteractive): Clarify the doc string - even | |
6296 | promptless elements need \n separators. | |
6297 | ||
9f995a76 JR |
6298 | 2009-03-22 Jason Rumney <jasonr@gnu.org> |
6299 | ||
6300 | * w32term.c (syms_of_w32term): Doc fix for | |
6301 | x-use-underline-position-properties. | |
6302 | ||
22749e9a EZ |
6303 | 2009-03-21 Eli Zaretskii <eliz@gnu.org> |
6304 | ||
6305 | * w32.c (getpwuid): Change argument type to unsigned. | |
6306 | (struct w32_id): Change type of `rid' member to unsigned. | |
6307 | (w32_cached_id, w32_add_to_cache, get_name_and_id): Change type of | |
6308 | argument ID to unsigned. All callers changed. | |
6309 | (getuid, geteuid, getgid, getegid): Change return type to unsigned. | |
6310 | ||
e00553bf EZ |
6311 | 2009-03-20 Eli Zaretskii <eliz@gnu.org> |
6312 | ||
6313 | * editfns.c (Fuser_uid, Fuser_real_uid): If UID as EMACS_INT is | |
6314 | negative, produce a float value. | |
6315 | ||
6316 | * dired.c (make_uid, make_gid): New functions. | |
6317 | (Ffile_attributes): Use them to avoid negative UID and GID. | |
6318 | ||
f761d6b6 JB |
6319 | 2009-03-20 Juanma Barranquero <lekktu@gmail.com> |
6320 | ||
6321 | * keyboard.c (Fcurrent_idle_time): Reflow docstring. | |
6322 | (syms_of_keyboard) <command-hook-internal, input-method-function>: | |
6323 | Fix typos in docstrings. | |
6324 | ||
d507f8d7 KH |
6325 | 2009-03-19 Kenichi Handa <handa@m17n.org> |
6326 | ||
6327 | * fontset.c (Fset_fontset_font): When a spec of ASCII font is | |
f761d6b6 JB |
6328 | changed, use font_load_for_lface to get a new font object. |
6329 | Call free_realized_fontset after handling ASCII font change. | |
d507f8d7 KH |
6330 | |
6331 | * frame.c (x_set_font): Handle the case that ARG is a cons. | |
6332 | ||
c68845e0 GM |
6333 | 2009-03-19 Glenn Morris <rgm@gnu.org> |
6334 | ||
6335 | * fileio.c (Fsubstitute_in_file_name): Doc fix. | |
6336 | ||
bfa49dd1 CY |
6337 | 2009-03-19 Chong Yidong <cyd@stupidchicken.com> |
6338 | ||
6339 | * indent.c (Fvertical_motion): Undo 2005-01-19 change (Bug#2694). | |
6340 | ||
8458d4c1 KH |
6341 | 2009-03-19 Kenichi Handa <handa@m17n.org> |
6342 | ||
6343 | * charset.c (load_charset_map_from_file): When a mapfile can't be | |
6344 | loaded, signal an error. | |
6345 | ||
78e7d1fe EZ |
6346 | 2009-03-18 Eli Zaretskii <eliz@gnu.org> |
6347 | ||
6348 | * dired.c (Ffile_attributes): Make sure UID and GID are always | |
6349 | positive, even if the value is too large for a positive EMACS_INT. | |
6350 | Doc fix. | |
6351 | ||
6352 | * editfns.c (Fuser_login_name): Support float arguments. Doc fix. | |
6353 | ||
5da9fdfa YM |
6354 | 2009-03-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6355 | ||
6356 | * xmenu.c (xdialog_show): Move Fredisplay call ... | |
6357 | (Fx_popup_dialog): ... here. | |
6358 | ||
7519c40d SM |
6359 | 2009-03-18 Stefan Monnier <monnier@iro.umontreal.ca> |
6360 | ||
6361 | * dired.c (file_name_completion): Disable the first optimization just | |
6362 | installed, since it is not implemented correctly. | |
6363 | ||
2cd298e2 SM |
6364 | 2009-03-17 Stefan Monnier <monnier@iro.umontreal.ca> |
6365 | ||
6366 | * dired.c (file_name_completion): Check completion-ignored-extensions | |
c95a5008 | 6367 | only if the entry can affect bestmatch. |
2cd298e2 SM |
6368 | Stop the search early, as Ftry_completion already does. |
6369 | ||
48d37adf CY |
6370 | 2009-03-17 Chong Yidong <cyd@stupidchicken.com> |
6371 | ||
e10c9c93 | 6372 | * minibuf.c (Vminibuffer_completion_confirm): Doc fix. |
48d37adf | 6373 | |
9286b16a CY |
6374 | 2009-03-15 Chong Yidong <cyd@stupidchicken.com> |
6375 | ||
6376 | * keyboard.c (parse_menu_item): Don't display remappings as menu | |
6377 | equivalent bindings (Bug#788). | |
6378 | ||
f7b146dc JR |
6379 | 2009-03-15 Jason Rumney <jasonr@gnu.org> |
6380 | ||
6381 | * w32term.h (WM_EMACS_PAINT): New message. | |
6382 | * w32term.c (w32_read_socket): Use it instead of WM_PAINT. | |
6383 | * w32fns.c (w32_wnd_proc): Change WM_PAINT to WM_EMACS_PAINT | |
6384 | before passing to lisp thread. (Bug#950) | |
6385 | ||
f761d6b6 | 6386 | 2009-03-14 David Reitter <david.reitter@gmail.com> |
c6c62e78 | 6387 | |
d93f9575 CY |
6388 | * nsterm.m (ns_shutdown_properly, -terminate): Remove global state |
6389 | variable as it was never reset. | |
6390 | (ns_term_init): Remove initialization of Lisp-settable defaults | |
6391 | and ns_expand_space. | |
6392 | (-setPanelFromDefaultValues): Remove ns_expand_space. | |
6393 | (-showPreferencesWindow): Send new KEY_NS_SHOW_PREFS key. | |
6394 | * nsfont.m (nsfont_open): Remove ns_expand_space, assume -0.5 | |
c6c62e78 DR |
6395 | i.e. no additional spacing, similar to Carbon port. |
6396 | ||
d93f9575 CY |
6397 | * nsterm.h: Define KEY_NS_SHOW_PREFS key. |
6398 | * nsfns.m (ns-popup-prefs-panel): Remove. | |
c6c62e78 | 6399 | |
305018ec JD |
6400 | 2009-03-14 Jan Djärv <jan.h.d@swipnet.se> |
6401 | ||
6402 | * sound.c (alsa_configure): Remove call to deprecated | |
6403 | snd_pcm_sw_params_set_xfer_align. | |
6404 | ||
f761d6b6 | 6405 | 2009-03-14 Stephen Berman <stephen.berman@gmx.net> |
4a02423f JD |
6406 | |
6407 | * gtkutil.c (xg_tool_bar_callback): Set focus back to the frame | |
6408 | after clicking in a detached tool bar. | |
6409 | (xg_tool_bar_proxy_callback): Remove call to Fx_focus_frame. | |
6410 | ||
46e722a9 SM |
6411 | 2009-03-13 Stefan Monnier <monnier@iro.umontreal.ca> |
6412 | ||
348db3dd SM |
6413 | * fontset.c (fontset_from_font, Ffontset_info): YAILOM (Yet another |
6414 | int/Lisp_Object mixup). | |
46e722a9 | 6415 | |
a3d16f39 KH |
6416 | 2009-03-13 Kenichi Handa <handa@m17n.org> |
6417 | ||
6418 | * fontset.c (Ffontset_info, check_fontset_name): New arg frame. | |
fe24f56a | 6419 | Handle NAME nil and t correctly. Callers changed. |
a3d16f39 KH |
6420 | (font_def_arg, add_arg, from_arg, to_arg): Delete them. |
6421 | (set_fontset_font): Change ARG to a vector. Handle range_list in | |
6422 | ARG correctly. | |
6423 | (Fset_fontset_font): Fix the case that TARGET is both a script | |
fe24f56a | 6424 | name and charset name. Adjust the arg to set_fontset_font for |
a3d16f39 KH |
6425 | the above change. |
6426 | (fontset_from_font): Fix previous change. | |
fe24f56a | 6427 | (Ffontset_info): Adjust for the 2008-07-09 change of fontset |
a3d16f39 KH |
6428 | entry. If FONTSET is the default fontset, don't set the extra |
6429 | slot of the returning char-table. | |
6430 | ||
b066e6b6 JB |
6431 | 2009-03-12 Juanma Barranquero <lekktu@gmail.com> |
6432 | ||
6433 | * nsfns.m (Fx_close_connection): Doc fix. | |
6434 | (Fns_do_applescript): Reflow docstring. | |
6435 | (Fns_hide_others, Fns_hide_emacs, Fns_convert_utf8_nfd_to_nfc) | |
6436 | (Fx_display_pixel_width, Fx_display_pixel_height) | |
6437 | (Fns_display_usable_bounds, Fx_display_planes, Fx_show_tip): | |
6438 | Fix typos in docstrings. | |
6439 | (Fns_set_alpha): Fix typos in error messages. | |
6440 | ||
d472514e | 6441 | 2009-03-12 David Reitter <david.reitter@gmail.com> |
d6220c13 | 6442 | |
d472514e | 6443 | * termhooks.h [HAVE_NS]: Define NS_NONKEY_EVENT to be used for |
d6220c13 DR |
6444 | non-key system events on NS. Formerly, NON_ASCII_KEYSTROKE_EVENT |
6445 | were used for such events. | |
6446 | ||
d472514e JB |
6447 | * nsterm.m (newFrame, openFile, fulfillService, changeFont) |
6448 | (toggleToolbar, performDragOperation, runHelp): Use it. | |
d6220c13 | 6449 | |
d472514e | 6450 | * keyboard.c (parse_menu_item) [HAVE_NS]: Treat new event like |
d6220c13 DR |
6451 | NON_ASCII_KEYSTROKE_EVENT, but set used_mouse_menu. |
6452 | ||
fb930676 KH |
6453 | 2009-03-11 Kenichi Handa <handa@m17n.org> |
6454 | ||
ff85581a KH |
6455 | * font.h (font_open_by_spec): Extern it. |
6456 | ||
c50b7e98 KH |
6457 | * font.c (font_open_by_spec): New function. |
6458 | (font_open_by_name): Use font_open_by_spec. | |
6459 | ||
fb930676 KH |
6460 | * frame.c (x_set_font): When ARG is a font-object, don't alter the |
6461 | fontset of the frame. | |
6462 | ||
6463 | * fontset.c (Fset_fontset_font): When a font for ASCII is changed, | |
6464 | modify the default font of frames that use this fontset. | |
6465 | (num_auto_fontsets): New variable. | |
6466 | (fontset_from_font): Use num_auto_fontsets to decide a fontset | |
6467 | name. Be sure to set FONTSET_ASCII to the correct font name. | |
6468 | (update_auto_fontset_alist): New function. | |
6469 | ||
df4e8455 JB |
6470 | 2009-03-11 Juanma Barranquero <lekktu@gmail.com> |
6471 | ||
6472 | * makefile.w32-in: Update dependencies. | |
6473 | ||
0a375797 AR |
6474 | 2009-03-06 Adrian Robert <Adrian.B.Robert@gmail.com> |
6475 | ||
6476 | * nsfns.m (syms_of_nsfns): Remove Qbuffered. | |
6477 | ||
61313fa3 SM |
6478 | 2009-03-10 Stefan Monnier <monnier@iro.umontreal.ca> |
6479 | ||
6480 | * buffer.c (Fswitch_to_buffer): Revert part of 2008-10-21's change. | |
6481 | ||
b55103fb CY |
6482 | 2009-03-10 Chong Yidong <cyd@stupidchicken.com> |
6483 | ||
6484 | * lread.c (Feval_buffer): Doc fix. | |
6485 | ||
dde2559c KH |
6486 | 2009-03-09 Kenichi Handa <handa@m17n.org> |
6487 | ||
6488 | * charset.c (Qfile_name_handler_alist): Extern it. | |
6489 | (load_charset_map_from_file): Temporarily bind | |
6490 | `file-name-handler-alist' to nil while calling openp. (Bug#2435) | |
6491 | ||
df4e8455 | 6492 | 2009-03-06 Aaron Ecay <aaronecay@gmail.com> (tiny change) |
340e08a4 | 6493 | |
47f588bb GM |
6494 | * nsterm.m (ns_draw_vertical_window_border): Draw 1 pixel wide, |
6495 | not two, and use NSRectFill instead of NSDrawGroove. (Bug#2352) | |
340e08a4 | 6496 | |
4ddf94bd AR |
6497 | 2009-03-06 Adrian Robert <Adrian.B.Robert@gmail.com> |
6498 | ||
4c9bdfc2 AR |
6499 | * nsterm.m: Include <signal.h> for SIGTERM used in ns_term_shutdown. |
6500 | (x_set_window_size): Change back to calculated method of setting | |
6501 | toolbar height under Cocoa. (Bug#2546) | |
4ddf94bd AR |
6502 | (EmacsView-windowWillUseStandardFrame:defaultFrame:): New method. |
6503 | (EmacsView-drawRect:): Completely shortcircuit if ns_in_resize. | |
6504 | ||
fe41ae9e AR |
6505 | * nsfns.m (ns_appkit_version_int): Fix typo in the version macro. |
6506 | ||
4c9bdfc2 AR |
6507 | * nsmenu.m (EmacsMenu-addItemWithWidgetValue:): Don't add |
6508 | accelerator in parens under GNUstep. | |
6509 | ||
825d0875 KH |
6510 | 2009-03-06 Kenichi Handa <handa@m17n.org> |
6511 | ||
6512 | These changes are to detect incorrect composition sequence without | |
f3b3be74 | 6513 | looking ahead the source. (Bug#2370) |
825d0875 KH |
6514 | |
6515 | * coding.h: Include "composite.h". | |
6516 | (enum compisition_state): New enum. | |
6517 | (struct compisition_status): New struct. | |
6518 | (struct iso_2022_spec): New member cmp_status. | |
6519 | (struct emacs_mule_spec): New struct. | |
6520 | (struct coding_system): New members ctext_extended_segment_len and | |
6521 | embedded_utf_8. Change the union member | |
6522 | spec.emacs_mule_full_support to spec.emacs_mule. | |
6523 | ||
6524 | * coding.c (CODING_ISO_CMP_STATUS): New macro. | |
6525 | (CODING_ISO_EXTSEGMENT_LEN, CODING_ISO_EMBEDDED_UTF_8): New macros. | |
98a326f7 | 6526 | (MAX_ANNOTATION_LENGTH): Define to 5. |
825d0875 KH |
6527 | (ADD_COMPOSITION_DATA): New arg nbytes. |
6528 | (emacs_mule_char): New arg cmp_status. | |
6529 | (DECODE_EMACS_MULE_COMPOSITION_CHAR): Delete it. | |
6530 | (DECODE_EMACS_MULE_COMPOSITION_RULE_20): New arg c. | |
6531 | (DECODE_EMACS_MULE_COMPOSITION_RULE_21): New arg c. | |
6532 | (DECODE_EMACS_MULE_21_COMPOSITION): Delete the arg c. | |
6533 | (DECODE_EMACS_MULE_20_RELATIVE_COMPOSITION): Likewise. | |
6534 | (DECODE_EMACS_MULE_20_RULEBASE_COMPOSITION): Likewise. | |
6535 | (DECODE_EMACS_MULE_COMPOSITION_START): New macro. | |
6536 | (EMACS_MULE_COMPOSITION_END): New macro. | |
6537 | (emacs_mule_finish_composition): New function. | |
6538 | (EMACS_MULE_MAYBE_FINISH_COMPOSITION): New macro. | |
6539 | (decode_coding_emacs_mule): Avoid long looking ahead while | |
6540 | handling composition. | |
6541 | (DECODE_COMPOSITION_RULE): Argument changed to rule and nbytes. | |
6542 | (ENCODE_COMPOSITION_RULE): New macro. | |
6543 | (finish_composition): New function. | |
6544 | (MAYBE_FINISH_COMPOSITION): Call finish_composition. | |
6545 | (DECODE_COMPOSITION_START): New implementation. | |
6546 | (DECODE_COMPOSITION_END): Likewise. | |
6547 | (STORE_COMPOSITION_RULE): New macro. | |
6548 | (decode_coding_iso_2022): Avoid long looking ahead while handling | |
6549 | composition, CTEXT extended segment, and embedded UTF-8. | |
6550 | (setup_coding_system): For a coding of type iso-2022, reset | |
6551 | CODING_ISO_EXTSEGMENT_LEN (coding) and | |
6552 | CODING_ISO_EMBEDDED_UTF_8 (coding). | |
6553 | (get_translation): Delete arguments last_block, from_nchars, | |
6554 | to_nchars. Callers changed. | |
6555 | (produce_chars): Don't modify charbuf. Adjusted for the change of | |
6556 | get_translation. | |
98a326f7 | 6557 | (produce_composition): Adjust for the new annotation sequence. |
825d0875 | 6558 | (handle_composition_annotation): Likewise. |
98a326f7 | 6559 | (consume_chars): Adjust for the change of get_translation. |
825d0875 | 6560 | |
ccbc4452 AR |
6561 | 2009-03-05 Adrian Robert <Adrian.B.Robert@gmail.com> |
6562 | ||
4ddf94bd | 6563 | * nsterm.m (ns_select): Shortcircuit if reentrant call. (Bug#2564) |
ccbc4452 | 6564 | |
988a7ddb KH |
6565 | 2009-03-05 Kenichi Handa <handa@m17n.org> |
6566 | ||
6567 | * font.c (font_select_entity): New function. | |
6568 | (font_find_for_lface): Use font_select_entity to select a font. | |
6569 | ||
6570 | * fontset.c (fontset_find_font): If a font found without | |
a8a3728b | 6571 | restricting to the characters C doesn't support C, try to find a |
988a7ddb KH |
6572 | font with C restriction. |
6573 | ||
98a326f7 | 6574 | 2009-03-04 Nikolaj Schumacher <me@nschum.de> |
2f462d73 | 6575 | |
be1bce46 | 6576 | * nsfont.m (nsfont_draw): Compare ns_antialias_text against lisp value. |
2f462d73 | 6577 | |
10ea2b82 JR |
6578 | 2009-03-04 Jason Rumney <jasonr@gnu.org> |
6579 | ||
2c93b248 | 6580 | * w32fns.c (w32_wnd_proc): Only ignore IME messages for the |
4891ba1d | 6581 | characters that have already been read. (Bug#2569) |
2c93b248 | 6582 | |
10ea2b82 JR |
6583 | * image.c (xbm_read_bitmap_data, png_load, svg_load_image): |
6584 | Log an error message if check_image_size failed. | |
6585 | (xpm_load_image, pbm_load, jpeg_load, tiff_load, gif_load) | |
4891ba1d | 6586 | (gs_load): Mention max-image-size in size error message. (Bug#2560) |
10ea2b82 | 6587 | |
71a0c011 EZ |
6588 | 2009-03-02 Eli Zaretskii <eliz@gnu.org> |
6589 | ||
6590 | * callproc.c (Fcall_process): Bind inhibit-modification-hooks to t | |
6591 | when decoding process output. | |
6592 | ||
2f63bba8 RS |
6593 | 2009-03-01 Richard M Stallman <rms@gnu.org> |
6594 | ||
6595 | * m/mips.h (DATA_SEG_BITS, XUINT, XSET): Definitions disabled. | |
6596 | ||
6597 | * emacs.c (gdb_data_seg_bits) [USE_LSB_TAG]: Make it 0. | |
6598 | ||
0a9564cb EZ |
6599 | 2009-02-28 Eli Zaretskii <eliz@gnu.org> |
6600 | ||
6601 | * coding.c (decode_coding_utf_8, decode_coding_utf_16) | |
6602 | (decode_coding_emacs_mule, decode_coding_iso_2022) | |
6603 | (encode_coding_iso_2022, decode_coding_sjis, decode_coding_big5) | |
6604 | (decode_coding_raw_text, decode_coding_charset) | |
6605 | (setup_coding_system, decode_eol, decode_coding, consume_chars): | |
6606 | Honor inhibit-eol-conversion. (Bug #2186) | |
6607 | ||
449148b3 JR |
6608 | 2009-02-28 Jason Rumney <jasonr@gnu.org> |
6609 | ||
6610 | * coding.c (detect_coding_charset): If not checking latin extra, | |
6611 | fail on characters between 0x80 and 0xA0. (Bug#2354) | |
6612 | ||
a4aee864 EZ |
6613 | 2009-02-28 Eli Zaretskii <eliz@gnu.org> |
6614 | ||
6615 | * coding.c (detect_coding_charset): Fix change from 2008-10-21. | |
2a1573ff | 6616 | Also, check iso-latin-*, not only iso-8859-*. (Bug#2497) |
a4aee864 | 6617 | |
d88bee5a GM |
6618 | 2009-02-27 Glenn Morris <rgm@gnu.org> |
6619 | ||
6620 | * callint.c (Finteractive): Doc fix. | |
6621 | ||
a808f22d KH |
6622 | 2009-02-27 Kenichi Handa <handa@m17n.org> |
6623 | ||
6624 | * lread.c (read_escape): Signal an error for invalid \UXXXXXXXX. | |
6625 | ||
caf8d60c CY |
6626 | 2009-02-27 Chong Yidong <cyd@stupidchicken.com> |
6627 | ||
6628 | * font.c (font_style_to_value): Set value for unknown symbols to | |
6629 | 100 instead of 255. | |
b61137ea CY |
6630 | (weight_table, slant_table, width_table): Treat "unspecified" as |
6631 | the default value. | |
caf8d60c | 6632 | |
1a0de25c JB |
6633 | 2009-02-26 Juanma Barranquero <lekktu@gmail.com> |
6634 | ||
6635 | * fileio.c (Fnext_read_file_uses_dialog_p): Fix typo in docstring. | |
6636 | ||
8fc45744 JB |
6637 | 2009-02-25 Juanma Barranquero <lekktu@gmail.com> |
6638 | ||
107bd7d1 JB |
6639 | * lread.c (Fload): Stop checking Vloads_in_progress and signal |
6640 | error as soon as a recursive load is detected. | |
8fc45744 | 6641 | |
f097e223 AR |
6642 | 2009-02-24 Adrian Robert <Adrian.B.Robert@gmail.com> |
6643 | ||
6644 | * nsterm.m (ns_ring_bell): Convert rect to window coordinates | |
6645 | before caching. | |
6646 | ||
8810a12f KH |
6647 | 2009-02-24 Kenichi Handa <handa@m17n.org> |
6648 | ||
6649 | * fontset.c (fontset_find_font): Fix the condition for checking | |
6650 | unavailable font. | |
6651 | ||
2c7d1565 GM |
6652 | 2009-02-24 Glenn Morris <rgm@gnu.org> |
6653 | ||
6654 | * xfaces.c (Finternal_set_font_selection_order): Remove leading | |
6655 | whitespace that confuses documentation. | |
6656 | ||
a20878b6 MB |
6657 | 2009-02-23 Miles Bader <miles@gnu.org> |
6658 | ||
6659 | * process.c (Flist_system_processes, Fprocess_attributes) | |
6660 | (syms_of_process): Rename `system-process-attributes' to | |
6661 | `process-attributes'. | |
6662 | ||
b3b58c01 AS |
6663 | 2009-02-22 Andreas Schwab <schwab@linux-m68k.org> |
6664 | ||
1b3b981b AS |
6665 | * coding.h (struct coding_system): Make safe_charsets a pointer to |
6666 | unsigned char. | |
6667 | * coding.c (CODING_ISO_REQUEST): Check for safe_charsets content | |
6668 | being 255. | |
6669 | (SAFE_CHARSET_P): Likewise. | |
6670 | (setup_iso_safe_charsets): Properly setup safe_charsets. | |
6671 | (Fdefine_coding_system_internal): Likewise. | |
6672 | (setup_coding_system): Likewise. Remove unneeded casts. | |
6673 | (detect_coding_iso_2022): Compare Viso_2022_charset_list with | |
6674 | CODING_ATTR_CHARSET_LIST, not CODING_ATTR_SAFE_CHARSETS. Remove | |
6675 | unneeded casts. | |
6676 | ||
b3b58c01 AS |
6677 | * insdel.c (del_range_2): Don't modify gap contents when called |
6678 | from decode_coding_object. (Bug#1809) | |
6679 | ||
0b6f228c CY |
6680 | 2009-02-21 Chong Yidong <cyd@stupidchicken.com> |
6681 | ||
6682 | * data.c (syms_of_data): Define Qfont_spec, Qfont_entity, and | |
6683 | Qfont_object. | |
6684 | (Ftype_of): Recognize font objects. | |
6685 | ||
6686 | * lisp.h: Define Qfont_spec, Qfont_entity, Qfont_object extern. | |
6687 | ||
6688 | * font.c (Qfont_spec, Qfont_entity, Qfont_object): Definitions | |
6689 | moved to data.c. | |
6690 | ||
52f8870b AR |
6691 | 2009-02-20 Adrian Robert <Adrian.B.Robert@gmail.com> |
6692 | ||
6693 | * nsterm.m (x_make_frame_invisible): Unset async_visible, | |
6694 | async_iconified. Based on a patch by Christian Lynbech | |
6695 | <christian.lynbech@tieto.com>. | |
6696 | (EmacsView-windowDidMiniaturize:): Unset async_visible. | |
6697 | ||
7087d5e9 GM |
6698 | 2009-02-20 Glenn Morris <rgm@gnu.org> |
6699 | ||
6700 | * syntax.c (Fskip_chars_forward): Fix doc typo. | |
6701 | ||
41d2ceef CY |
6702 | 2009-02-20 Chong Yidong <cyd@stupidchicken.com> |
6703 | ||
6704 | * keymap.c (Fkeymap_parent): Doc fix (Bug#2391). | |
6705 | ||
1a3b7ca6 CY |
6706 | 2009-02-19 Chong Yidong <cyd@stupidchicken.com> |
6707 | ||
6708 | * xfns.c (Fx_create_frame): Give Xft driver a higher priority. | |
6709 | ||
73cce38d KH |
6710 | 2009-02-19 Kenichi Handa <handa@m17n.org> |
6711 | ||
6712 | * coding.c (detect_coding): Preserve coding->mode. | |
2bc550cb | 6713 | Don't overflow coding->carryover. (Bug#2370) |
73cce38d | 6714 | |
a51092ee DN |
6715 | 2009-02-18 Dan Nicolaescu <dann@ics.uci.edu> |
6716 | ||
6717 | * m/ibmrs6000.h (ADDR_CORRECT): Restore, removed by mistake on 2008-07-23. | |
6718 | ||
c423ecca KH |
6719 | 2009-02-18 Kenichi Handa <handa@m17n.org> |
6720 | ||
6721 | * font.c (font_check_otf_features): Fix handling of `nil' element. | |
6722 | (Ffont_spec): Describe :lang and :otf in the docstring. | |
6723 | ||
4c1958f4 AS |
6724 | 2009-02-16 Andreas Schwab <schwab@suse.de> |
6725 | ||
6726 | * coding.c (Fcheck_coding_systems_region): Fix test for unibyte | |
6727 | string. | |
6728 | ||
5704f39a KH |
6729 | 2009-02-16 Kenichi Handa <handa@m17n.org> |
6730 | ||
6731 | * coding.c (Fcheck_coding_systems_region): Fix typo; Qt -> Qnil. | |
a057d86a | 6732 | (Bug#1723) |
5704f39a | 6733 | |
8f0085aa CY |
6734 | 2009-02-14 Chong Yidong <cyd@stupidchicken.com> |
6735 | ||
a057d86a | 6736 | * dispextern.h (struct iterator_stack_entry): New line_wrap member. |
8f0085aa CY |
6737 | |
6738 | * xdisp.c (push_it, pop_it): Save and restore line_wrap. | |
6739 | (handle_line_prefix): Suppress wrapping of wrap prefixes. | |
6740 | ||
aff01dd9 EZ |
6741 | 2009-02-14 Eli Zaretskii <eliz@gnu.org> |
6742 | ||
6743 | * msdos.c (MAX_SCREEN_BUF): New macro. | |
6744 | (IT_write_glyphs): Make screen_buf[] always be MAX_SCREEN_BUF-long. | |
6745 | Encode the entire run of glyphs sharing the same face, instead of | |
6746 | doing that one glyph at a time (fixes a bug with displaying | |
6747 | double-size characters). | |
6748 | ||
ba301db3 AR |
6749 | 2009-02-13 Adrian Robert <Adrian.B.Robert@gmail.com> |
6750 | ||
6751 | * nsfns.m (ns-read-file-name): BLOCK_INPUT while showing dialog. | |
6752 | ||
6753 | * nsmenu.m (pop_down_menu): Check popup_activated_flag. | |
6754 | (ns_popup_dialog, EmacsDialogPanel-runDialogAt:): Let | |
a057d86a | 6755 | pop_down_menu do the cleanup work as it is always called. (Bug#2154) |
ba301db3 AR |
6756 | |
6757 | * nsfont.m (nsfont_make_fontset_for_font): For now, don't try to | |
a057d86a | 6758 | set fontset font for "mathematical-" sub-scripts. (Bug #2218) |
ba301db3 | 6759 | |
51d861de SM |
6760 | 2009-02-12 Stefan Monnier <monnier@iro.umontreal.ca> |
6761 | ||
ac146f82 | 6762 | * keyboard.c (adjust_point_for_property): Allow stopping between two |
51d861de SM |
6763 | invisible areas. |
6764 | ||
7fed8996 JR |
6765 | 2009-02-12 Jason Rumney <jasonr@gnu.org> |
6766 | ||
631ea4fb JR |
6767 | * w32font.c (check_face_name): Check for fake helv. (Bug#2275) |
6768 | (add_font_entity_to_list): Call check_face_name even when family | |
6769 | is unspecified. | |
6770 | ||
cb4a3e42 JR |
6771 | * w32term.c (x_display_pixel_height, x_display_pixel_width): |
6772 | Release DC when finished. Use NULL window to refer to desktop. | |
631ea4fb | 6773 | (w32_term_init): Use NULL window to refer to desktop. (Bug#460) |
cb4a3e42 | 6774 | |
7fed8996 | 6775 | * w32font.c (add_font_entity_to_list): Fix check for substituted |
631ea4fb | 6776 | raster fonts. (Bug#2219) |
7fed8996 | 6777 | |
895416e3 KH |
6778 | 2009-02-12 Kenichi Handa <handa@m17n.org> |
6779 | ||
6780 | * composite.c (MAX_AUTO_COMPOSITION_LOOKBACK): New macro. | |
6781 | (composition_gstring_width): Fix handling of LGLYPH_YOFF. | |
6782 | (autocmp_chars): Use fast_looking_at. Don't compose more | |
1dacf998 | 6783 | characters than MAX_COMPOSITION_COMPONENTS. |
895416e3 KH |
6784 | (find_automatic_composition): While looking forward and backward, |
6785 | check static composition. Fix where to stop looking forward. | |
6786 | (composition_adjust_point): Fix checking of static composition. | |
6787 | (Fcomposition_get_gstring): Pay attention to | |
1dacf998 | 6788 | MAX_COMPOSITION_COMPONENTS. |
895416e3 KH |
6789 | |
6790 | * lisp.h (fast_looking_at): Extern it. | |
6791 | ||
6792 | * search.c (fast_looking_at): New function. | |
6793 | ||
51d861de | 6794 | * term.c (encode_terminal_code): Adjust for the change of |
895416e3 KH |
6795 | <struct glyph>.u.cmp.to. |
6796 | (append_composite_glyph): Likewise. | |
6797 | ||
51d861de | 6798 | * xdisp.c (fill_gstring_glyph_string): Adjust for the change of |
895416e3 KH |
6799 | <struct glyph>.u.cmp.to. Check if the glyph belongs to the same |
6800 | composition. | |
51d861de | 6801 | (append_composite_glyph): Adjust for the change of |
895416e3 KH |
6802 | <strcut glyph>.u.cmp.to. |
6803 | ||
8510724d JB |
6804 | 2009-02-11 Juanma Barranquero <lekktu@gmail.com> |
6805 | ||
6806 | * casetab.c (init_casetab_once): | |
6807 | * coding.c (ALLOC_CONVERSION_WORK_AREA): | |
6808 | * font.c (font_update_lface): | |
6809 | * fontset.c (Fnew_fontset): | |
6810 | * ftfont.c (ftfont_drive_otf): | |
6811 | * xfont.c (xfont_open): | |
6812 | * xftfont.c (xftfont_get_xft_draw): Remove spurious semicolons. | |
6813 | ||
294fa707 SM |
6814 | 2009-02-11 Stefan Monnier <monnier@iro.umontreal.ca> |
6815 | ||
6816 | * fileio.c (Fwrite_region): !NILP -> CONSP. | |
6817 | ||
b5bfebec AS |
6818 | 2009-02-10 Andreas Schwab <schwab@suse.de> |
6819 | ||
6820 | * process.c (send_process): Properly relocate pointer into data | |
adab88bd | 6821 | when using encoded data. (Bug#2272) |
b5bfebec | 6822 | |
cb84a2be KH |
6823 | 2009-02-08 ARISAWA Akihiro <ari@mbf.sphere.ne.jp> |
6824 | ||
6825 | * coding.c (detect_coding_charset): Fix previous change. | |
6826 | ||
89e09428 JR |
6827 | 2009-02-08 Jason Rumney <jasonr@gnu.org> |
6828 | ||
6829 | * w32fns.c (w32_hide_hourglass): Handle case where frame | |
adab88bd | 6830 | disappeared while hourglass was displayed. (Bug #2193) |
89e09428 | 6831 | |
4470a277 AS |
6832 | 2009-02-07 Andreas Schwab <schwab@suse.de> |
6833 | ||
6834 | * unexelf.c (unexec): Fix error message. | |
6835 | ||
3175b12a AR |
6836 | 2009-02-07 Adrian Robert <Adrian.B.Robert@gmail.com> |
6837 | ||
6838 | * nsterm.m (EmacsApp-sendEvent:): Defer NSApplicationDefined event | |
adab88bd | 6839 | when modal window is active. (Bug #2152) |
3175b12a AR |
6840 | (applicationShouldTerminate:): Remove now-unneeded while loop |
6841 | around NSRunAlertPanel. | |
6842 | ||
6843 | * nsmenu.m (popupSession): New file-global variable. | |
6844 | (pop_down_menu): End the popupSession before closing dialog. | |
6845 | (ns_popup_dialog): BLOCK_INPUT around dialog presentation. | |
6846 | (EmacsDialogPanel-runDialogAt:): Don't place window (superfluous), | |
6847 | don't query NSApp for events (just sleep instead). | |
6848 | ||
8434d0b8 EZ |
6849 | 2009-02-07 Eli Zaretskii <eliz@gnu.org> |
6850 | ||
51d861de SM |
6851 | * coding.c (syms_of_coding) <translation-table-for-input>: |
6852 | Modify doc string to discourage use for character code unification. | |
8434d0b8 | 6853 | |
aa82edfd CY |
6854 | 2009-02-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6855 | ||
6856 | * atimer.c (run_timers): Update pending_atimers. | |
6857 | ||
2d283c7c CY |
6858 | 2009-02-06 Chong Yidong <cyd@stupidchicken.com> |
6859 | ||
eb306cab CY |
6860 | * image.c (svg_load_image): Fix last change. |
6861 | ||
2d283c7c CY |
6862 | * xfns.c (Fx_create_frame): Signal an error if no font is |
6863 | found (Bug#2147). | |
6864 | ||
4d8e170e JB |
6865 | 2009-02-05 Juanma Barranquero <lekktu@gmail.com> |
6866 | ||
6867 | * character.c (syms_of_character) <script-representative-chars>: | |
6868 | Fix typo in docstring. | |
6869 | ||
c96169a0 AR |
6870 | 2009-02-04 Adrian Robert <Adrian.B.Robert@gmail.com> |
6871 | ||
6872 | * nsmenu.m (pop_down_menu): New function. | |
6873 | (ns_popup_dialog): Call it on unwind. | |
6874 | (EmacsDialogPanel-runDialogAt:): Check popup_activated_flag and | |
6875 | call timer_check() (Bug#2154). | |
6876 | (EmacsMenu-menuNeedsUpdate:): Don't call ns_update_menu if | |
6877 | handling_signal is set. | |
6878 | (EmacsMenu-fillWithWidgetValue:): Set submenu title. | |
6879 | ||
31fd7c5c | 6880 | * config.in: Get rid of COCOA_EXPERIMENTAL_CTRL_G. |
c96169a0 AR |
6881 | |
6882 | * s/darwin.h: Same and NO_SOCK_SIGIO as well. | |
6883 | ||
6884 | * nsterm.m (ns_read_socket): Same and don't set handling_signal. | |
6885 | ||
51d861de SM |
6886 | * keyboard.c (poll_for_input_1, handle_async_input): |
6887 | Set handling_signal under HAVE_NS. | |
c96169a0 | 6888 | |
aacd8ba1 GM |
6889 | 2009-02-04 Glenn Morris <rgm@gnu.org> |
6890 | ||
6891 | * fileio.c (Fwrite_region): Doc fix (mention annotate-functions). | |
6892 | ||
4cb75c4b KH |
6893 | 2009-02-04 Kenichi Handa <handa@m17n.org> |
6894 | ||
6895 | * Makefile.in (composite.o): Depends on frame.h and termhooks.h. | |
6896 | ||
6897 | * charset.c (Fchar_charset): New optional arg restriction. | |
6898 | ||
6899 | * coding.h (coding_system_charset_list): Extern it. | |
6900 | ||
6901 | * coding.c (coding_system_charset_list): New function. | |
6902 | ||
6903 | * composite.c: Include coding.h and termhooks.h. | |
6904 | (composition_gstring_p): Fix for the terminal case. | |
6905 | (composition_gstring_width): Likewise. | |
6906 | (fill_gstring_body): Likewise. | |
6907 | (autocmp_chars): For terminal, call Fcomposition_get_gstring with | |
6908 | the frame. | |
6909 | (composition_compute_stop_pos): Adjust cmp_it->stop_pos if point | |
6910 | is within a composition. | |
867d4bb3 | 6911 | (Fcomposition_get_gstring): Fix the terminal case. |
4cb75c4b KH |
6912 | |
6913 | * term.c (encode_terminal_code): Fix handling of composition. | |
6914 | (produce_composite_glyph): For static composition, get pixel_width | |
6915 | from struct composition. | |
6916 | ||
826ba17e AS |
6917 | 2009-02-02 Andreas Schwab <schwab@suse.de> |
6918 | ||
6919 | * unexelf.c (unexec): Handle unaligned bss offset. | |
6920 | ||
8ad093db AR |
6921 | 2009-02-01 Adrian Robert <Adrian.B.Robert@gmail.com> |
6922 | ||
6923 | * nsterm.m (ns_read_socket): Copy 2009-01-29 and 2009-01-30 | |
6924 | XT,w32read_socket changes to ns_read_socket. | |
d0a76a6e | 6925 | |
8ad093db AR |
6926 | * keyboard.c (handle_interrupt): Don't call |
6927 | quit_throw_to_read_char() under NS. | |
d0a76a6e | 6928 | |
8ad093db AR |
6929 | * blockinput.h: Remove NS-specific code. |
6930 | ||
4d18a7a2 DN |
6931 | 2009-01-30 Dan Nicolaescu <dann@ics.uci.edu> |
6932 | ||
db878925 DN |
6933 | * dispnew.c (window_change_signal): Don't try to get the size of a |
6934 | suspended tty frame. | |
6935 | * term.c (Fresume_tty): Resize if the size has changed while the | |
6936 | tty was suspended. | |
6937 | ||
4d18a7a2 DN |
6938 | * alloc.c (mark_stack): Properly conditionalize previous change. |
6939 | ||
8984df7c JB |
6940 | 2009-01-30 Juanma Barranquero <lekktu@gmail.com> |
6941 | ||
6942 | * w32inevt.c (w32_console_read_socket) [SYNC_INPUT]: | |
6943 | * w32term.c (w32_read_socket) [SYNC_INPUT]: | |
6944 | Remove; this code is not used on Windows. | |
6945 | ||
75f4f1ac EZ |
6946 | 2009-01-30 Eli Zaretskii <eliz@gnu.org> |
6947 | ||
6948 | * coding.c (detect_eol, decode_eol): Handle text with DOS-style | |
6949 | EOLs that also has stray ^M characters. | |
6950 | ||
07a1e794 JB |
6951 | 2009-01-30 Juanma Barranquero <lekktu@gmail.com> |
6952 | ||
6953 | * atimer.c (run_timers, alarm_signal_handler): | |
6954 | * keyboard.c (pending_signals, handle_async_input, init_keyboard): | |
6955 | * w32inevt.c (w32_console_read_socket): | |
6956 | * w32term.c (w32_read_socket): | |
6957 | * xterm.c (XTread_socket): Use "#ifdef SYNC_INPUT" where appropriate. | |
6958 | ||
a8b11cc9 CY |
6959 | 2009-01-30 Chong Yidong <cyd@stupidchicken.com> |
6960 | ||
6961 | * callproc.c (Vtemp_file_name_pattern): Remove DEFVAR_LISP. | |
6962 | Initialize it as a relative filename pattern. | |
6963 | (init_callproc): Don't initialize Vtemp_file_name_pattern here. | |
6964 | (Fcall_process_region): Simplify temp file creation using | |
6965 | temporary-file-directory. | |
6966 | ||
c279587b EZ |
6967 | 2009-01-29 Eli Zaretskii <eliz@gnu.org> |
6968 | ||
6969 | * msdos.c: Rename pending_signals to msdos_pending_signals. | |
6970 | (sig_suspender, sigprocmask): Adjust. | |
6971 | ||
a8fe3242 CY |
6972 | 2009-01-29 Chong Yidong <cyd@stupidchicken.com> |
6973 | ||
6974 | * keyboard.c (pending_signals): New var. | |
6975 | (poll_for_input, input_available_signal, init_keyboard): Set it. | |
6976 | (process_pending_signals): New function. | |
6977 | ||
6978 | * lisp.h (QUIT): Check pending_signals instead of | |
6979 | interrupt_input_pending. Use process_pending_signals. | |
6980 | ||
51d861de | 6981 | * atimer.c (run_timers, alarm_signal_handler): Update pending_signals. |
a8fe3242 | 6982 | |
51d861de | 6983 | * process.c (wait_reading_process_output): Use process_pending_signals. |
a8fe3242 CY |
6984 | |
6985 | * sysdep.c (emacs_write): Use process_pending_signals. | |
6986 | ||
6987 | * xterm.c (XTread_socket): Update pending_signals. | |
6988 | ||
6989 | * w32term.c (w32_read_socket): Update pending_signals. | |
6990 | ||
6991 | * w32inevt.c (w32_console_read_socket): Update pending_signals. | |
6992 | ||
6570a1c4 KH |
6993 | 2009-01-29 Kenichi Handa <handa@m17n.org> |
6994 | ||
6995 | * xftfont.c (xftfont_has_char): New function. | |
6996 | (syms_of_xftfont): Register xftfont_has_char in xftfont_driver. | |
6997 | ||
d72a4afa AR |
6998 | 2009-01-29 Adrian Robert <Adrian.B.Robert@gmail.com> |
6999 | ||
7000 | * nsterm.h (EmacsPrefsController.cursorBlinkSlider): Only define | |
7001 | under GNUstep. | |
7002 | (ns_query_color): New declaration. | |
7003 | ||
7004 | * nsterm.m (ns_confirm_quit): New variable. | |
7005 | (ns_set_default_prefs, syms_of_nsterm, ns_term_init): Initialize it. | |
7006 | (EmacsApp-applicationShouldTerminate:): Use it. | |
7007 | (EmacsPrefsController): Let user set it. | |
7008 | (ns_query_color): New function. | |
7009 | (ns_defined_color): Use it. | |
7010 | (ns_initialize): Drop. | |
7011 | (ns_term_init): Add two lines from ns_initialize(), and set | |
7012 | input_interrupt_mode to nil. | |
7013 | ||
7014 | * image.c (svg_load_image): Don't right-shift background RGB when | |
6af84d77 | 7015 | obtained from FRAME_BACKGROUND_PIXEL. Under HAVE_NS use ns_query_color. |
d72a4afa | 7016 | |
9fe78804 KH |
7017 | 2009-01-28 Kenichi Handa <handa@m17n.org> |
7018 | ||
7019 | * fontset.c (font_for_char): Use assq_no_quit, not assoc_no_quit. | |
f088b054 KH |
7020 | (fontset_get_font_group): Remember that no font-group is specified |
7021 | for C. | |
9fe78804 | 7022 | |
fa57de36 CY |
7023 | 2009-01-27 Chong Yidong <cyd@stupidchicken.com> |
7024 | ||
930600e9 CY |
7025 | * fns.c (concat): Check for string overflow (bug#1787). |
7026 | ||
fa57de36 CY |
7027 | * undo.c (undo_limit, undo_strong_limit, Vundo_outer_limit): |
7028 | Quadruple undo limits (bug#1501). | |
7029 | ||
7179ce7b KH |
7030 | 2009-01-27 Kenichi Handa <handa@m17n.org> |
7031 | ||
7032 | * ftfont.c (ftfont_has_char): If the arg FONT is a font-object, | |
7033 | directly use GT_Get_Char_index. | |
7034 | ||
7035 | * xftfont.c (struct xftfont_info): New member `index'. | |
7036 | ||
7037 | * fontset.c (font_for_char): Use assq_no_quit, not assoc_no_quit. | |
51d861de | 7038 | (Ffontset_font): Adjust for the change of fontset entry. |
7179ce7b | 7039 | |
5be8fcc0 CY |
7040 | 2009-01-26 Kenichi Handa <handa@m17n.org> |
7041 | ||
7042 | * fontset.c (fontset_find_font): Fix handling of non-cons return | |
7043 | value of fontset_get_font_group. | |
7044 | (fontset_font): Revert last change. | |
7045 | ||
19ae3e61 JR |
7046 | 2009-01-26 Jason Rumney <jasonr@gnu.org> |
7047 | ||
7048 | * w32font.c (w32font_list_internal): Return quickly if registry is | |
7049 | unknown. Simplify final return. | |
7050 | (add_font_entity_to_list): Break complex logic down into more | |
7051 | manageable chunks. Move unknown registry check to | |
7052 | w32font_list_internal. | |
7053 | ||
8612b71a AR |
7054 | 2009-01-25 Adrian Robert <Adrian.B.Robert@gmail.com> |
7055 | ||
7056 | Changes to remove Feval calls from GUI under NS. | |
7057 | ||
d8038940 JB |
7058 | * nsterm.h: Move KEY_NS_... definitions here from nsterm.m. |
7059 | Add NS_TOGGLE_TOOLBAR, NS_PUT_WORKING_TEXT, NS_UNPUT_WORKING_TEXT. | |
8612b71a AR |
7060 | Remove NS_INSERT_WORKING_TEXT, NS_DELETE_WORKING_TEXT. |
7061 | ||
7062 | * nsterm.m: Move KEY_NS_... definitions to nsterm.h. | |
7063 | (EmacsView-toggleToolbar:): Use KEY_NS_TOGGLE_TOOLBAR. | |
7064 | (EmacsView-setMarkedText:,-deleteWorkingText:): Use NS_TEXT_EVENT | |
7065 | instead of NON_ASCII_KEYSTROKE_EVENT. | |
7066 | (EmacsApp-terminate:): Use KEY_NS_POWER_OFF instead of Feval. | |
7067 | (EmacsApp-applicationShouldTerminate:): Query user. | |
7068 | (EmacsPreferencesController-runHelp:): Use KEY_NS_INFO_PREFS | |
7069 | instead of Feval. | |
7070 | ||
7071 | * termhooks.h (NS_TEXT_EVENT): New event type under HAVE_NS. | |
7072 | ||
7073 | * keyboard.c (kbd_buffer_get_event): Check for it. | |
7074 | (keys_of_keyboard): Define lispy keys for | |
7075 | ns-put/unput-working-text. | |
7076 | ||
7077 | * nsmenu.m (ns_popup_dialog): Resync window setting with X and W32 | |
7078 | versions. | |
7079 | (EmacsDialog-runDialogAt:): Use NSModalPanelRunLoopMode. | |
7080 | ||
6288ae55 CY |
7081 | 2009-01-25 Chong Yidong <cyd@stupidchicken.com> |
7082 | ||
7083 | * dispnew.c (buffer_posn_from_coords): Use Fset_buffer instead of | |
64cc3cf6 | 7084 | setting current_buffer directly. (Bug#2044) |
6288ae55 | 7085 | |
289e7f8f CY |
7086 | 2009-01-24 Chong Yidong <cyd@stupidchicken.com> |
7087 | ||
5ce87308 | 7088 | * fontset.c (fontset_font): If we know there is no font, don't do |
d8038940 | 7089 | any work. (Bug#1952, bug#1990). |
5ce87308 | 7090 | |
64cc3cf6 | 7091 | * font.c (font_parse_xlfd): Handle patterns of length < 2. (Bug#1802) |
289e7f8f | 7092 | |
b3243e6f AR |
7093 | 2009-01-23 Adrian Robert <Adrian.B.Robert@gmail.com> |
7094 | ||
7095 | * emacs.c (main): Do fork+exec under --daemon in Cocoa. | |
d900b2af AR |
7096 | (ns_no_defaults): New declaration. |
7097 | (main): Use it. | |
e0d2e69a | 7098 | |
d900b2af | 7099 | * nsterm.h (ns_no_defaults): New declaration. |
e0d2e69a | 7100 | |
d900b2af | 7101 | * nsfns.m (x_get_string_resource): Don't read when ns_no_defaults. |
e0d2e69a | 7102 | |
d900b2af AR |
7103 | * nsterm.m (ns_no_defaults): New variable. |
7104 | (ns_initialize): Don't read defaults when ns_no_defaults. | |
7105 | (EmacsView-readSelectionFromPasteboard:) | |
7106 | (writeSelectionToPasteboard:types:): New stubbed-out methods for | |
d8038940 | 7107 | NSServicesRequests protocol. (Bug#1435) |
27521ca6 AR |
7108 | (ns_dumpglyphs_stretch): New function. |
7109 | (ns_draw_glyph_string): Use it, parallel Yamamoto Mitsuharu change | |
d8038940 | 7110 | of 2008-11-15 to other terms. (Bug#615) |
b3243e6f | 7111 | |
e0d2e69a AR |
7112 | * nsimage.m (setPixmapData:): Set to ignore image DPI. |
7113 | ||
3ac71f5d CY |
7114 | 2009-01-23 Giorgos Keramidas <keramida@freebsd.org> (tiny change) |
7115 | ||
7116 | * alloc.c (mark_stack): Use "flushw" instead of "ta 3" assembly | |
7117 | call for Sparc64. | |
7118 | ||
3fe53a83 AR |
7119 | 2009-01-22 Adrian Robert <Adrian.B.Robert@gmail.com> |
7120 | ||
7121 | * nsfns.m: | |
7122 | * nsgui.h: | |
7123 | * nsmenu.m: | |
7124 | * nsselect.m: | |
7125 | * nsterm.h: | |
7126 | * nsterm.m: Remove '23' comments that indicated code added during | |
7127 | update from emacs-20 -> emacs-23. | |
7128 | ||
10f87c6f | 7129 | 2009-01-22 Adrian Robert <Adrian.B.Robert@gmail.com> |
a3b53a85 AR |
7130 | |
7131 | * nsterm.m (EmavsView-keyDown:): Treat nil as Qnone for | |
3a88a825 | 7132 | ns_alternate_modifier. (Bug#1217) |
a3b53a85 | 7133 | |
c7cef62d AR |
7134 | * nsmenu.m (EmacsMenu-parseKeyEquiv:, addItemWithWidgetValue:): |
7135 | Display all shortcuts, including those w/o super modifier. | |
7136 | ||
575fb8bd AR |
7137 | * nsfns.m (ns-read-file-name): Fix typo in assignment statement. |
7138 | ||
918b848b CY |
7139 | 2009-01-22 Chong Yidong <cyd@stupidchicken.com> |
7140 | ||
7141 | * fileio.c (Vwrite_region_post_annotation_function) | |
7142 | (Vwrite_region_annotation_buffers): New vars. | |
7143 | (build_annotations_unwind): Just reset | |
7144 | Vwrite_region_annotation_buffers. | |
7145 | (Fwrite_region): Initialize Vwrite_region_annotation_buffers. | |
7146 | Call write-region-post-annotation-function. | |
7147 | (build_annotations): Add to Vwrite_region_annotation_buffers if | |
7148 | buffer changes. | |
7149 | ||
a39e2539 AR |
7150 | 2009-01-21 Adrian Robert <Adrian.B.Robert@gmail.com> |
7151 | ||
7152 | * nsterm.h (EmacsApp-setAppleMenu:): Conditionalize more correctly on | |
7153 | Tiger. | |
51d861de SM |
7154 | * nsfns.m (ns_do_applescript): |
7155 | Conditionalize typeUTF16ExternalRepresentation on Tiger. | |
a39e2539 | 7156 | |
35ed44db AR |
7157 | 2009-01-21 Wolfgang Lux <wolfgang.lux@gmail.com> (tiny change) |
7158 | ||
7159 | * nsterm.m (EV_TRAILER): Always use emacsframe for frame_or_window. | |
7160 | ||
cbe0b5bf AR |
7161 | 2009-01-21 Adrian Robert <Adrian.B.Robert@gmail.com> |
7162 | ||
7163 | * nsmenu.m (NSMENUPROFILE): Change #if style. | |
4c7077c3 | 7164 | |
6049d3a0 AR |
7165 | * nsterm.h (EmacsPrefsController): Add -setPanelFromDefaultValues. |
7166 | ||
7167 | * nsterm.m (x_set_frame_alpha): Add prototype. | |
a9b4df69 AR |
7168 | (ns_fake_keydown, EmacsView-keyUp:): New variable and function to |
7169 | handle Ctrl-tab. (Bug#1841) | |
7170 | (ns_get_color): Use unsigned long long for scanned hex string value. | |
7171 | (ns_term_shutdown): Abort on non SIGTERM signals. | |
e889fa06 | 7172 | (EmacsPrefsController-setDefaultFont:,-setColors:): Raise the frame. |
b71ac3dd | 7173 | (EmacsPrefsController-setPanelFromDefaultValues): New function. |
3a88a825 | 7174 | (EmacsPrefsController-resetToDefaults:): Use it. (Bug#1801) |
35ed44db | 7175 | (ns_font_to_xlfd, ns_fontname_to_xlfd): Remove, unused. |
d3810c21 | 7176 | (ns_defined_color): Fix settings of the XColor variable fields: |
3a88a825 | 7177 | red,green,blue scale to 2-byte, pixel's parts to 1-byte. (Bug#1663) |
cbe0b5bf | 7178 | |
d3810c21 | 7179 | * nsimage.m (EmacsImage+allocInitFromFile:): Set to ignore image |
3a88a825 | 7180 | DPI. (Bug#1316) |
d3810c21 AR |
7181 | (EmacsImage-setPixelAtX:Y:toRed:green:blue:alpha:): Fix color |
7182 | values in onTiger section. | |
4c7077c3 | 7183 | |
e301e634 CY |
7184 | 2009-01-19 Chong Yidong <cyd@stupidchicken.com> |
7185 | ||
7f82490b CY |
7186 | * xfaces.c (Finternal_set_lisp_face_attribute, Fx_list_fonts): |
7187 | Check return value of font_spec_from_name. | |
64cc3cf6 | 7188 | (Fx_list_fonts): Doc fix. (Bug#1951) |
7f82490b CY |
7189 | |
7190 | * font.c (font_spec_from_name): Return Qnil if font name could not | |
7191 | be parsed. | |
7192 | (font_parse_name): Treat a `?' character as part of an XLFD. | |
7193 | ||
e301e634 CY |
7194 | * fns.c (Fsubstring): Doc fix. |
7195 | ||
1c0db158 KH |
7196 | 2009-01-19 Kenichi Handa <handa@m17n.org> |
7197 | ||
51d861de | 7198 | * ftfont.c (ftfont_lookup_cache): Check the return value of FcFontList. |
1c0db158 KH |
7199 | (ftfont_list): Likewise. |
7200 | ||
acf20901 JB |
7201 | 2009-01-18 Juanma Barranquero <lekktu@gmail.com> |
7202 | ||
fff4e459 JB |
7203 | * dbusbind.c (Fdbus_register_signal): |
7204 | * process.c (conv_sockaddr_to_lisp): | |
7205 | * w32fns.c (Fw32_battery_status): Use empty_unibyte_string. | |
7206 | ||
acf20901 JB |
7207 | * callproc.c (Fgetenv_internal): Doc fix. |
7208 | ||
e7abcdfb CY |
7209 | 2009-01-16 Chong Yidong <cyd@stupidchicken.com> |
7210 | ||
7211 | * xfns.c (x_make_gc): Don't allocate stipple member for gc_values; | |
7212 | it is not even used. | |
7213 | ||
b60861e6 GM |
7214 | 2009-01-16 Glenn Morris <rgm@gnu.org> |
7215 | ||
7216 | * font.c (Ffont_variation_glyphs): Silence compiler. | |
7217 | ||
8db52afe JB |
7218 | 2009-01-15 Juanma Barranquero <lekktu@gmail.com> |
7219 | ||
7220 | * sound.c (SOUND_WARNING): Use _snprintf, for MSVC compatibility. | |
7221 | Reported by David Robinow <drobinow@gmail.com>. | |
7222 | ||
4cddb209 KH |
7223 | 2009-01-15 Kenichi Handa <handa@m17n.org> |
7224 | ||
51d861de | 7225 | * coding.c (detect_coding_system): Fix handling of null_byte_found. |
4cddb209 | 7226 | |
f247f67b JR |
7227 | 2009-01-14 Jason Rumney <jasonr@gnu.org> |
7228 | ||
7229 | * frame.c (x_set_font): Always store a font to the font parameter, | |
fff4e459 | 7230 | never a fontset. (Bug#1562) |
f247f67b | 7231 | |
f56a4450 KH |
7232 | 2009-01-14 Kenichi Handa <handa@m17n.org> |
7233 | ||
7234 | * coding.c (TWO_MORE_BYTES): New macro. | |
fff4e459 | 7235 | (detect_coding_utf_16): Use TWO_MORE_BYTES instead of ONE_MORE_BYTE. |
f56a4450 | 7236 | |
4e99855e CY |
7237 | 2009-01-13 Chong Yidong <cyd@stupidchicken.com> |
7238 | ||
7239 | * font.c (font_clear_prop): If clearing the family, clear the font | |
7240 | width index too. | |
7241 | ||
fff4e459 | 7242 | * xfaces.c (Finternal_set_lisp_face_attribute): Revert last change. |
4e99855e | 7243 | |
24f01470 JB |
7244 | 2009-01-12 Juanma Barranquero <lekktu@gmail.com> |
7245 | ||
7246 | * sound.c [WINDOWSNT] (SOUND_WARNING): New macro. | |
7247 | (do_play_sound): Use it. Don't pass a hardcoded buffer size to mci | |
7248 | functions, use sizeof. | |
7249 | ||
a41240a3 MR |
7250 | 2009-01-12 Martin Rudalics <rudalics@gmx.at> |
7251 | ||
7252 | * keyboard.c (read_char): Fix case where last_nonmenu_event | |
7253 | returned a bad value with submenus. (Bug#447) | |
7254 | ||
944636b8 CY |
7255 | 2009-01-12 Chong Yidong <cyd@stupidchicken.com> |
7256 | ||
7257 | * xfaces.c (Finternal_set_lisp_face_attribute): If setting the | |
7258 | family, clear the font width index too. | |
7259 | ||
0dad7c6f JR |
7260 | 2009-01-11 Jason Rumney <jasonr@gnu.org> |
7261 | ||
7262 | * keyboard.c (cmd_error_internal): Exit when errors occur before | |
7263 | frame creation and not in daemon mode. (Bug#1836) | |
7264 | ||
7c2363af CY |
7265 | 2009-01-10 Chong Yidong <cyd@stupidchicken.com> |
7266 | ||
7267 | * xdisp.c (pos_visible_p): When iterator stops on the last glyph | |
7268 | of a display vector, backtrack. | |
7269 | (try_window_reusing_current_matrix): Check glyph type before | |
7270 | referencing charpos member. | |
7271 | ||
97b1b294 EZ |
7272 | 2009-01-10 Eli Zaretskii <eliz@gnu.org> |
7273 | ||
7274 | Fix Bug #876: | |
7275 | ||
7276 | * coding.c (inhibit_null_byte_detection): New variable. | |
7277 | (detect_coding, detect_coding_system): Don't pay attention to null | |
7278 | bytes if inhibit_null_byte_detection is non-zero. | |
51d861de | 7279 | (syms_of_coding) <inhibit-null-byte-detection>: Declare and document. |
97b1b294 EZ |
7280 | <inhibit-iso-escape-detection>: Doc fix. |
7281 | ||
4624b6e3 JR |
7282 | 2009-01-09 Jason Rumney <jasonr@gnu.org> |
7283 | ||
7284 | * w32font.c (add_font_entity_to_list): Don't report unknown | |
fff4e459 | 7285 | Windows charset as any unrecognized registry. (Bug#1548) |
4624b6e3 JR |
7286 | Only report Unicode Plane 2 fonts as unicode-sip. |
7287 | ||
323b840c CY |
7288 | 2009-01-09 Chong Yidong <cyd@stupidchicken.com> |
7289 | ||
51d861de SM |
7290 | * xfaces.c (Fx_font_family_list): Delete function. |
7291 | Move compatibility version to faces.el. | |
323b840c | 7292 | |
51d861de | 7293 | * font.c (Ffont_family_list): Return a list of strings, not symbols. |
323b840c | 7294 | |
eba7400d MR |
7295 | 2009-01-09 Martin Rudalics <rudalics@gmx.at> |
7296 | ||
7297 | * frame.c (x_set_frame_parameters): Remember requested value for | |
7298 | fullscreen before it's reset by the parameter handler. | |
7299 | ||
4b09796d GM |
7300 | 2009-01-09 Glenn Morris <rgm@gnu.org> |
7301 | ||
7302 | * keyboard.c (last_command_char): For clarity, rename to... | |
46e722a9 | 7303 | (last_command_event): ... and update all users. |
4b09796d GM |
7304 | (last_input_char): For clarity, rename to... |
7305 | (last_input_event): ... and update all users. | |
7306 | (last-command-char, last-input-char): Move to subr.el as aliases. | |
7307 | * cmds.c, commands.h: Update for last_command_char rename. | |
7308 | ||
14ccea62 CY |
7309 | 2009-01-08 Chong Yidong <cyd@stupidchicken.com> |
7310 | ||
51d861de | 7311 | * font.c (font_open_for_lface): Handle unspecified height attribute. |
14ccea62 | 7312 | |
5f004711 JR |
7313 | 2009-01-08 Jason Rumney <jasonr@gnu.org> |
7314 | ||
7315 | * w32fns.c (Vx_pointer_shape, Vx_nontext_pointer_shape) | |
7316 | (Vx_mode_pointer_shape, Vx_window_horizontal_drag_shape) | |
7317 | (Vx_hourglass_pointer_shape, Vx_sensitive_text_pointer_shape): | |
7318 | Don't declare. | |
fff4e459 | 7319 | (syms_of_w32fns): Don't define x-pointer-shape variable. (Bug#1485) |
5f004711 JR |
7320 | (x_create_tip_frame) [GLYPH_DEBUG]: Enable image debugging code. |
7321 | ||
b71f6f73 KH |
7322 | 2009-01-07 Kenichi Handa <handa@m17n.org> |
7323 | ||
50b06221 | 7324 | * fileio.c (Finsert_file_contents): In the case of replace, |
f56a4450 | 7325 | remember the coding system used for decoding in |
50b06221 KH |
7326 | coding_system (Bug#1039). |
7327 | ||
b71f6f73 | 7328 | * coding.c (decode_coding_utf_8): Check byte_after_cr before |
79a97217 | 7329 | breaking the loop. (Bug#870) |
b71f6f73 KH |
7330 | (decode_coding_utf_16, decode_coding_emacs_mule) |
7331 | (decode_coding_iso_2022, decode_coding_sjis, decode_coding_big5) | |
7332 | (decode_coding_charset): Likewise. | |
7333 | ||
56f668f7 MR |
7334 | 2009-01-05 Martin Rudalics <rudalics@gmx.at> |
7335 | ||
7336 | * frame.c (x_set_frame_parameters): Make sure height (width) get | |
7337 | applied when fullwidth (fullheight) is set. (Bug#1522) | |
7338 | ||
5da9424d JB |
7339 | 2009-01-04 Juanma Barranquero <lekktu@gmail.com> |
7340 | ||
7341 | * w32.c: Use 64-bit arithmetic to do FILETIME conversions. (Bug#1766) | |
7342 | (utc_base): Declare as ULONGLONG, not long double. | |
7343 | (convert_time_raw): Delete. | |
7344 | (FILETIME_TO_U64, U64_TO_LISP_TIME): New macros. | |
7345 | (initialize_utc_base): New function. | |
7346 | (convert_time): Use FILETIME_TO_U64, initialize_utc_base. | |
7347 | (convert_from_time_t): Use initialize_utc_base; compute result with | |
7348 | 64-bit arithmetic. | |
7349 | (process_times): Use FILETIME_TO_U64, U64_TO_LISP_TIME. | |
7350 | ||
c4605e09 EZ |
7351 | 2009-01-03 Eli Zaretskii <eliz@gnu.org> |
7352 | ||
9acef61c | 7353 | * process.c (Qeuid, Qegid, Qcomm, Qstate, Qppid, Qpgrp, Qsess) |
c4605e09 EZ |
7354 | (Qttname, Qminflt, Qmajflt, Qcminflt, Qcmajflt, Qutime, Qstime) |
7355 | (Qcutime, Qpri, Qnice, Qthcount, Qstart, Qvsize, Qrss, Qargs) | |
7356 | (Quser, Qgroup, Qetime, Qpcpu, Qpmem, Qtpgid, Qcstime) | |
7357 | [!subprocesses]: Define. | |
7358 | (syms_of_process) [!subprocesses]: Intern and staticpro them. | |
7359 | (Flist_system_processes, Fsystem_process_attributes) | |
7360 | [!subprocesses]: Call list_system_processes and | |
7361 | system_process_attributes instead of returning Qnil. | |
7362 | ||
9acef61c JB |
7363 | * dosfns.c (system_process_attributes, list_system_processes): |
7364 | New functions. | |
c4605e09 EZ |
7365 | |
7366 | * vm-limit.c (ret_lim_data) [MSDOS]: New function. | |
7367 | ||
7368 | * sysdep.c (list_system_processes, system_process_attributes) [MSDOS]: | |
7369 | Don't use the default (no-op) implementation. | |
7370 | ||
8b7d0a16 JR |
7371 | 2009-01-03 Jason Rumney <jasonr@gnu.org> |
7372 | ||
a6d46bc1 JR |
7373 | * keyboard.c (parse_modifiers_uncached): Wheel events are |
7374 | clicks (bug#687). | |
7375 | ||
8b7d0a16 JR |
7376 | * w32term.c (x_query_colors, x_query_color): New functions. |
7377 | ||
7378 | * image.c (x_to_xcolors, png_load): Eliminate W32 specific code. | |
7379 | (svg_load_image): Cast returned pointers from dynamically loaded | |
7380 | functions. Eliminate W32 specific code. | |
7381 | ||
bfe11752 DN |
7382 | 2009-01-02 Dan Nicolaescu <dann@ics.uci.edu> |
7383 | ||
89e2438a DN |
7384 | * nsfns.m (x_set_foreground_color, x_set_background_color) |
7385 | (x_set_cursor_color, x_set_icon_name, x_explicitly_set_name) | |
7386 | (x_set_title, x_set_icon_type, x_set_cursor_type): Rename to use | |
7387 | x_ prefix instead of ns_. Update references. | |
7388 | (syms_of_nsfns): Add a FIXME comment. | |
7389 | ||
7390 | * nsterm.m (x_set_cursor_type): New prototype. | |
7391 | (setValuesFromPanel): Use it instead of the old ns_ prefixed name. | |
7392 | ||
bfe11752 DN |
7393 | * sysdep.c (system_process_attributes): Provide Qtime and Qctime |
7394 | for Solaris instead of incorrectly providing Qutime and Qcutime. | |
7395 | ||
031da700 EZ |
7396 | 2009-01-02 Eli Zaretskii <eliz@gnu.org> |
7397 | ||
7398 | * w32.c (process_times): Compute sum of utime and stime. | |
7399 | (system_process_attributes): Add Qtime to the alist. | |
7400 | ||
7401 | * sysdep.c (system_process_attributes): Compute Qtime and Qctime | |
7402 | and add them to the alist. | |
7403 | ||
7404 | * process.c (top level) <Qtime, Qctime>: New variables. | |
7405 | (syms_of_process): staticpro them. | |
7406 | (Fsystem_process_attributes): Add their documentation to the doc | |
7407 | string. | |
7408 | ||
7409 | * process.h: Declare Qtime and Qctime. | |
7410 | ||
df23bf08 JR |
7411 | 2009-01-02 Jason Rumney <jasonr@gnu.org> |
7412 | ||
9acef61c | 7413 | * image.c (Qgobject): New symbol. |
df23bf08 JR |
7414 | (syms_of_image): Initialize it. |
7415 | (init_svg_functions): Load some functions from gobject library. | |
7416 | ||
5bbdf7aa DN |
7417 | 2009-01-01 Dan Nicolaescu <dann@ics.uci.edu> |
7418 | ||
7419 | * frame.c (make_terminal_frame): Remove redundant code and useless | |
7420 | block. | |
7421 | ||
63136da6 AS |
7422 | 2009-01-01 Andreas Schwab <schwab@suse.de> |
7423 | ||
7424 | * process.c (conv_sockaddr_to_lisp): Add workaround for | |
7425 | getsockname bug on BSD. | |
7426 | ||
9ef69046 CY |
7427 | 2009-01-01 Chong Yidong <cyd@stupidchicken.com> |
7428 | ||
d6fafbe0 CY |
7429 | * xfns.c (x_create_tip_frame): Set border width of the X window. |
7430 | ||
51d861de | 7431 | * xfaces.c (Finternal_set_lisp_face_attribute): Improve error message. |
9ef69046 | 7432 | |
f9c34147 JR |
7433 | 2009-01-01 Jason Rumney <jasonr@gnu.org> |
7434 | ||
9acef61c | 7435 | * w32term.c (x_new_font): Return font object, not fontset. (Bug#119) |
f9c34147 JR |
7436 | Don't block input, as per earlier xterm.c changes. |
7437 | ||
f5497e45 AR |
7438 | 2008-12-31 Adrian Robert <Adrian.B.Robert@gmail.com> |
7439 | ||
7440 | * nsfns.m (ns_appkit_version_str): Rename from ns_appkit_version. | |
7441 | (ns_appkit_version_int): New function. | |
7442 | (x-server-version): Use ns_appkit_version_int and follow 21+ | |
7443 | convention of returning 3 integers. | |
7444 | ||
c19cab20 KH |
7445 | 2008-12-30 Kenichi Handa <handa@m17n.org> |
7446 | ||
7447 | * character.h (CHAR_VARIATION_SELECTOR_P): New macro. | |
7448 | (CHAR_SURROGATE_PAIR_P): New macro. | |
7449 | ||
7450 | * font.h (struct font_driver): New member get_variation_glyphs. | |
7451 | ||
9acef61c | 7452 | * font.c (font_range): Don't require a font for a variation selector. |
c19cab20 KH |
7453 | (Ffont_variation_glyphs): New function. |
7454 | (syms_of_font): Defsubr it. | |
7455 | ||
7456 | * ftfont.c (ftfont_driver): Set the member get_variation_glyphs to | |
7457 | ftfont_variation_glyphs. | |
7458 | (setup_otf_gstring): New function. | |
7459 | (ftfont_drive_otf): Use it. | |
7460 | (ftfont_shape_by_flt): Handle variation selector. | |
7461 | (ftfont_variation_glyphs): New function. | |
7462 | ||
28cd591f MR |
7463 | 2008-12-30 Martin Rudalics <rudalics@gmx.at> |
7464 | ||
7465 | * frame.c (Vemacs_iconified): Remove. | |
7466 | ||
7f714baf JR |
7467 | 2008-12-30 Jason Rumney <jasonr@gnu.org> |
7468 | ||
7469 | * frame.c (store_frame_param, x_get_arg): Enable newer code on | |
9acef61c | 7470 | WINDOWSNT too, as related changes have already been synced. (Bug#117) |
7f714baf | 7471 | |
9d2d22ab CY |
7472 | 2008-12-30 Chong Yidong <cyd@stupidchicken.com> |
7473 | ||
7474 | * indent.c (Fvertical_motion): Don't advance iterator if we have | |
7475 | reseated to the desired position. | |
7476 | ||
7477 | * xdisp.c (move_it_to): Handle GET_FROM_STRETCH method when | |
7478 | checking for pos match. | |
7479 | ||
545312c2 KH |
7480 | 2008-12-30 Kenichi Handa <handa@m17n.org> |
7481 | ||
1ede3eb6 KH |
7482 | * insdel.c (copy_text): To convert a non-ASCII char to unibyte, |
7483 | just get the low 8-bit of the code. | |
7484 | ||
545312c2 KH |
7485 | * font.c (font_intern_prop): Validate str as multibyte. |
7486 | ||
bd7bbf29 DN |
7487 | 2008-12-29 Dan Nicolaescu <dann@ics.uci.edu> |
7488 | ||
31e0750e DN |
7489 | * dispextern.h (struct face): Move lface and hash from the middle |
7490 | of bitfields. | |
7491 | ||
bd7bbf29 DN |
7492 | * Makefile.in (INTERVALS_H): Rename from INTERVAL_SRC, update all users. |
7493 | ||
b5672e7c DN |
7494 | 2008-12-29 Dan Nicolaescu <dann@ics.uci.edu> |
7495 | ||
7496 | * Makefile.in (INTERVAL_SRC): Also depend on dispextern.h. | |
7497 | (coding.o, dispnew.o, keymap.o, msdos.o): Depend on INTERVAL_SRC | |
7498 | instead of intervals.h. | |
7499 | ||
d704470f AS |
7500 | 2008-12-26 Andreas Schwab <schwab@suse.de> |
7501 | ||
7502 | * keymap.c (map_keymap_char_table_item): Make a copy of KEY if it is a | |
7503 | cons. | |
7504 | ||
54b33868 MR |
7505 | 2008-12-26 Martin Rudalics <rudalics@gmx.at> |
7506 | ||
7507 | * textprop.c (Qminibuffer_prompt): New variable. | |
7508 | (syms_of_textprop): Initialize it. | |
7509 | * callint.c (Fcall_interactively): For `c', `k', and `K' prompt | |
7510 | in minibuffer-prompt face. (Bug#1662) | |
7511 | ||
40b615d6 JR |
7512 | 2008-12-25 Jason Rumney <jasonr@gnu.org> |
7513 | ||
7514 | * buffer.c (Fbuffer_swap_text): Use POINTER_TYPE. | |
7515 | ||
baae5c2d JR |
7516 | 2008-12-24 Jason Rumney <jasonr@gnu.org> |
7517 | ||
7518 | * ralloc.c (r_alloc_reset_variable): New function. | |
7519 | ||
7520 | * buffer.c (Fbuffer_swap_text) [REL_ALLOC]: Reset ralloc's internal | |
9acef61c | 7521 | record of what points where. (Bug#716) |
baae5c2d | 7522 | |
a9051c88 DN |
7523 | 2008-12-22 Dan Nicolaescu <dann@ics.uci.edu> |
7524 | ||
7525 | * minibuf.c (read_minibuf): Follow the non-interactive case when | |
7526 | running as a daemon, before detaching. | |
7527 | ||
8b146312 AS |
7528 | 2008-12-22 Andreas Schwab <schwab@suse.de> |
7529 | ||
7530 | * buffer.c (init_buffer): Use realloc instead of xrealloc. | |
7531 | * gtkutil.c (free_widget_value): Use xfree instead of free. | |
7532 | ||
56f2de10 MR |
7533 | 2008-12-22 Martin Rudalics <rudalics@gmx.at> |
7534 | ||
7535 | * frame.c (delete_frame): New function derived from | |
7536 | Fdelete_frame to handle Qnoelisp value for FORCE argument. | |
7537 | Delete last frame iff FORCE equals Qnoelisp. (Bug#1450) | |
7538 | (Fdelete_frame): Call delete_frame. Remove line from doc-string | |
7539 | saying that FORCE non-nil doesn't run `delete-frame-functions'. | |
7540 | * frame.h: Extern delete_frame. | |
7541 | * window.c (window_loop): | |
7542 | * terminal.c (delete_terminal): | |
7543 | * xterm.c (x_connection_closed): | |
7544 | * xfns.c (Fx_hide_tip): | |
9acef61c | 7545 | * w32fns.c (Fx_hide_tip): Call delete_frame instead of Fdelete_frame. |
56f2de10 | 7546 | |
1fc200d6 JR |
7547 | 2008-12-21 Jason Rumney <jasonr@gnu.org> |
7548 | ||
7549 | * w32uniscribe.c (uniscribe_encode_char): Return FONT_INVALID_CHAR | |
7550 | when character maps to .notdef character. | |
7551 | ||
5e252df2 SM |
7552 | 2008-12-21 Stefan Monnier <monnier@iro.umontreal.ca> |
7553 | ||
7554 | * keyboard.c (cmd_error_internal): Don't exit in daemon mode, bug#1310. | |
7555 | ||
99b72cc4 JR |
7556 | 2008-12-20 Jason Rumney <jasonr@gnu.org> |
7557 | ||
7558 | * frame.c (Fmake_terminal_frame): Raise an error when called from | |
9acef61c | 7559 | a graphical frame on Windows. (Bug#1325) |
99b72cc4 | 7560 | |
acc49a52 JD |
7561 | 2008-12-20 Jan Djärv <jan.h.d@swipnet.se> |
7562 | ||
7563 | * frame.c (Fdelete_frame): Set f->menu_bar_vector to Qnil. | |
7564 | ||
6ea15123 CY |
7565 | 2008-12-20 Chong Yidong <cyd@stupidchicken.com> |
7566 | ||
7567 | * minibuf.c (Fread_buffer): Doc fix. | |
7568 | ||
b2dab6c8 JR |
7569 | 2008-12-20 Jason Rumney <jasonr@gnu.org> |
7570 | ||
54ea0c87 | 7571 | * fileio.c (Fexpand_file_name): Do not allow ../ to go beyond the |
9acef61c | 7572 | server name in UNC paths. (Bug#719) |
54ea0c87 | 7573 | |
b2dab6c8 | 7574 | * coding.c (decode_coding): Clear chars_at_source flag when using |
9acef61c | 7575 | charbuf. (Bug#1035) |
b2dab6c8 | 7576 | |
6d1921be DN |
7577 | 2008-12-19 Daniel Engeler <engeler@gmail.com> |
7578 | ||
7579 | * sysdep.c (serial_configure): Fix typo. | |
7580 | ||
53934c98 DN |
7581 | 2008-12-19 Dan Nicolaescu <dann@ics.uci.edu> |
7582 | ||
7583 | * sysdep.c: Include alloca.h. | |
f4f634e8 DN |
7584 | (system_process_attributes): Add implementation for Solaris. |
7585 | ||
7586 | * s/sol2-10.h (HAVE_PROCFS, _STRUCTURED_PROC): New defines. | |
53934c98 | 7587 | |
06e111a6 DN |
7588 | 2008-12-19 Dan Nicolaescu <dann@ics.uci.edu> |
7589 | ||
7590 | Reorganize implementation of Flist_system_processes and | |
7591 | Fsystem_process_attributes. No functional changes. | |
7592 | * process.c: Don't #include pwd.h, grp.h and limits.h. | |
7593 | (Flist_system_processes): Just call list_system_processes. | |
7594 | (Fsystem_process_attributes): Just call system_process_attributes. | |
7595 | (procfs_list_system_processes, time_from_jiffies) | |
7596 | (ltime_from_jiffies, get_up_time, procfs_ttyname, MAJOR, MINOR) | |
7597 | (procfs_get_total_memory, procfs_system_process_attributes): Move ... | |
7598 | ||
7599 | * sysdep.c: ... here. Include pwd.h, grp.h and limits.h. | |
7600 | (list_system_processes): Rename from | |
7601 | procfs_list_system_processes. Enclose in #ifdef HAVE_PROCFS. | |
7602 | Provide a do nothing implementation. | |
7603 | (system_process_attributes): Rename from | |
7604 | procfs_list_system_processes. | |
7605 | (ltime_from_jiffies, get_up_time, procfs_ttyname, MAJOR, MINOR) | |
9acef61c | 7606 | (procfs_get_total_memory): Enclose in #ifdef GNU_LINUX. |
06e111a6 DN |
7607 | |
7608 | * w32.c (list_system_processes): Rename from | |
7609 | w32_list_system_processes. | |
7610 | (system_process_attributes): Rename from | |
7611 | w32_system_process_attributes. | |
7612 | ||
7613 | * s/gnu-linux.h (LISTPROC, PROCATTR): Remove. | |
7614 | ||
7615 | * process.h (w32_list_system_processes) | |
7616 | (w32_system_process_attributes): Remove. | |
362654a6 JB |
7617 | (list_system_processes, system_process_attributes): |
7618 | New prototypes. | |
06e111a6 | 7619 | |
6a705b23 KH |
7620 | 2008-12-19 Kenichi Handa <handa@m17n.org> |
7621 | ||
7622 | * xfont.c (xfont_decode_coding_xlfd): New function. | |
7623 | (xfont_encode_coding_xlfd): New function. | |
7624 | (xfont_list_pattern): Decode XLFD by iso-8859-1. | |
7625 | (xfont_list): Decode and encode XLFD by iso-8859-1. | |
7626 | (xfont_match): Likewise. | |
7627 | (xfont_list_family): Likewise. | |
7628 | (xfont_open): Likewise. | |
7629 | ||
d66c0241 | 7630 | * ftfont.c (ftfont_open): Generate a multibyte string if given |
6a705b23 KH |
7631 | names are utf-8. |
7632 | ||
d66c0241 | 7633 | * xftfont.c (xftfont_open): Generate a multibyte string if given |
6a705b23 KH |
7634 | names are utf-8. |
7635 | ||
5a130941 JD |
7636 | 2008-12-18 Jan Djärv <jan.h.d@swipnet.se> |
7637 | ||
7638 | * gtkutil.c (xg_frame_resized): Remove check if rows/columns have | |
7639 | changed. | |
bfd20325 JD |
7640 | (xg_tool_bar_proxy_callback): Put focus on the frame after we have |
7641 | clicked on a detached tool bar button. | |
5a130941 | 7642 | |
fd95644b DN |
7643 | 2008-12-18 Dan Nicolaescu <dann@ics.uci.edu> |
7644 | ||
7645 | * emacs.c (main): Print and error and exit when no data is read | |
7646 | from the pipe. | |
7647 | ||
e6eee6ae JR |
7648 | 2008-12-17 Jason Rumney <jasonr@gnu.org> |
7649 | ||
7650 | * w32font.c (w32font_has_char): Always return -1. | |
7651 | ||
a35dd56b KH |
7652 | 2008-12-16 Kenichi Handa <handa@m17n.org> |
7653 | ||
7654 | * font.c (font_open_entity): Fix previous change. | |
7655 | ||
0e3635c2 DN |
7656 | 2008-12-16 Dan Nicolaescu <dann@ics.uci.edu> |
7657 | ||
7658 | * process.c: Include <limits.h>. | |
7659 | ||
d4835507 | 7660 | 2008-12-16 Chetan Pandya <pandyacus@sbcglobal.net> (tiny change) |
b5356c39 CY |
7661 | |
7662 | * font.c (font_update_drivers): Fix mistake in reconstructing the | |
7663 | driver list. | |
7664 | ||
7665 | 2008-12-16 Chong Yidong <cyd@stupidchicken.com> | |
7666 | ||
7667 | * font.c (font_clear_cache): Fix format of font cache data. | |
7668 | ||
e2cbc401 CY |
7669 | 2008-12-15 Chong Yidong <cyd@stupidchicken.com> |
7670 | ||
7671 | * xftfont.c (xftfont_open): Free Xft font pattern if | |
7672 | XftFontOpenPattern fails. | |
7673 | ||
7674 | * xterm.c (x_free_frame_resources): Remove extraneous call to | |
7675 | free_frame_faces. | |
7676 | ||
b131d535 CY |
7677 | 2008-12-13 Chong Yidong <cyd@stupidchicken.com> |
7678 | ||
7679 | * xterm.c (x_delete_display): Move xim_close_dpy call to | |
7680 | x_delete_terminal. | |
7681 | (x_delete_terminal): Call xim_close_dpy. | |
7682 | ||
e6df5336 JR |
7683 | 2008-12-13 Jason Rumney <jasonr@gnu.org> |
7684 | ||
7685 | * w32font.c (intern_font_name): New function. | |
7686 | (add_font_name_to_list, w32_enumfont_pattern_entity): Use it. | |
7687 | (w32font_open_internal, Fx_select_font): Decode font name. | |
7688 | (fill_in_logfont, list_all_matching_fonts): Encode font name. | |
7689 | ||
7690 | * w32font.h (intern_font_name): Declare new function. | |
7691 | ||
7692 | * w32uniscribe.c (add_opentype_font_name_to_list): | |
7693 | Use intern_font_name. | |
7694 | ||
20d68145 CY |
7695 | 2008-12-13 Chong Yidong <cyd@stupidchicken.com> |
7696 | ||
9f2554de CY |
7697 | * frame.c (Fdelete_frame): Call free_font_driver_list. |
7698 | ||
3d9bec9a CY |
7699 | * font.c (free_font_driver_list): Implement missing function. |
7700 | ||
20d68145 CY |
7701 | * w32term.c (w32_term_init): Don't initialize the image cache |
7702 | here; it will be done in init_frame_faces. | |
7703 | ||
7704 | * xterm.h (struct xim_inst_t): Definition moved from xterm.c. | |
7705 | (struct x_display_info): Remove unused member null_pixel. New | |
7706 | member xim_callback_data. | |
7707 | ||
7708 | * xterm.c (struct xim_inst_t): Definition moved to xterm.h. | |
7709 | (xim_initialize): Save pointer to callback function data. | |
7710 | (xim_close_dpy): Free callback function data. Call XCloseIM, | |
7711 | reverting 2008-11-04 change by David Smith. | |
7712 | (x_term_init): Don't initialize the image cache here; it will be | |
7713 | done in init_frame_faces. Remove ancient "null_pixel" cruft. | |
7714 | (x_delete_display): Free x_dnd_atoms member. | |
7715 | ||
96f9306b KH |
7716 | 2008-12-13 Kenichi Handa <handa@m17n.org> |
7717 | ||
6dec9044 JB |
7718 | * font.c (font_rescale_ratio): Moved from xfaces.c. |
7719 | Argument type changed. Handle a font-spec too. | |
96f9306b | 7720 | (font_score): Check Vface_font_rescale_alist. |
6dec9044 | 7721 | (font_open_entity): Likewise. (Bug#1547) |
96f9306b KH |
7722 | |
7723 | * xfaces.c (font_rescale_ratio): Moved to font.c. | |
7724 | ||
8d5b4964 CY |
7725 | 2008-12-13 Chong Yidong <cyd@stupidchicken.com> |
7726 | ||
7727 | * xfns.c (Fx_wm_set_size_hint): Check if the frame is an X frame. | |
7728 | ||
e6df5336 JR |
7729 | 2008-12-12 Jason Rumney <jasonr@gnu.org> |
7730 | ||
7731 | * w32fns.c (x_display_info_for_name, Fx_open_connection): Set | |
7732 | Vwindow_system_version to the real w32 major version. | |
7733 | ||
97c6058a DN |
7734 | 2008-12-12 Dan Nicolaescu <dann@ics.uci.edu> |
7735 | ||
7736 | * term.c (init_tty): Move setting the terminal name before the | |
7737 | potential user: maybe_fatal. | |
7738 | ||
ec4e88d7 CY |
7739 | 2008-12-11 Chong Yidong <cyd@stupidchicken.com> |
7740 | ||
d4835507 JB |
7741 | * term.c (tty_free_frame_resources): Renamed from delete_tty_output; |
7742 | all callers changed. Call free_frame_faces to free the face cache. | |
ec4e88d7 | 7743 | |
b4233ec9 JR |
7744 | 2008-12-11 Jason Rumney <jasonr@gnu.org> |
7745 | ||
8ec71e23 | 7746 | * w32font.c (fill_in_logfont): Don't assume symbol script means |
9acef61c | 7747 | SYMBOL_CHARSET. (Bug#547) |
8ec71e23 | 7748 | |
b4233ec9 | 7749 | * w32uniscribe.c (uniscribe_encode_char): Increase glyph buffer |
9acef61c | 7750 | size for surrogates. (Bug#1096, bug#872) |
b4233ec9 | 7751 | |
011a0143 JB |
7752 | 2008-12-11 Juanma Barranquero <lekktu@gmail.com> |
7753 | ||
7754 | * w32proc.c (Fw32_get_locale_info): Decode long form of locale name. | |
7755 | ||
3c309f34 JB |
7756 | 2008-12-11 Juanma Barranquero <lekktu@gmail.com> |
7757 | ||
7758 | * process.c (Fsystem_process_attributes, syms_of_process): | |
7759 | Fix typo in name of Ssystem_process_attributes. | |
7760 | Reported by Ulrich Mueller <ulm@kph.uni-mainz.de>. | |
7761 | ||
fedc6ab5 JB |
7762 | 2008-12-11 Juanma Barranquero <lekktu@gmail.com> |
7763 | ||
7764 | * syntax.c (Fmodify_syntax_entry): Doc fix. | |
7765 | ||
ba3de0e8 JB |
7766 | 2008-12-10 Juanma Barranquero <lekktu@gmail.com> |
7767 | ||
7768 | * font.c (Ffont_spec): Move usage to end of docstring. | |
7769 | ||
174f1c74 JR |
7770 | 2008-12-10 Jason Rumney <jasonr@gnu.org> |
7771 | ||
7772 | * w32font.c (Qcham): New symbol. | |
7773 | (font_supported_scripts): Add cham, and comments for other new | |
7774 | scripts in bitfield from OpenType spec. | |
9d32f818 JR |
7775 | (add_font_entity_to_list): Limit unicode-sip fonts to those that |
7776 | contain characters beyond the bmp. | |
174f1c74 | 7777 | |
7b649478 KH |
7778 | 2008-12-10 Kenichi Handa <handa@m17n.org> |
7779 | ||
7780 | * ftfont.c (fc_charset_table): Add "unicode-sip". | |
2ae37cf0 | 7781 | (ftfont_spec_pattern): Lookup fc_charset_table for the registry |
7b649478 KH |
7782 | Qunicode_sip. |
7783 | ||
2133e2d1 JB |
7784 | 2008-12-10 Juanma Barranquero <lekktu@gmail.com> |
7785 | ||
7786 | * coding.c (QCdefault_char): Rename from QCdefalut_char. | |
7787 | (Fcoding_system_put): Use QCdefault_char. | |
7788 | (syms_of_coding): Set QCdefault_char, not QCdefalut_char. | |
7789 | ||
9af886ee CY |
7790 | 2008-12-09 Chong Yidong <cyd@stupidchicken.com> |
7791 | ||
74d819eb CY |
7792 | * xftfont.c (syms_of_xftfont): Fix typo. |
7793 | ||
4ccfa1c0 | 7794 | * buffer.c (Fbuffer_swap_text): Signal error if swapping a dead buffer. |
9af886ee | 7795 | |
7c19d3ae DN |
7796 | 2008-12-08 Dan Nicolaescu <dann@ics.uci.edu> |
7797 | ||
7798 | * emacs.c (main): Close daemon_pipe on exec. | |
7799 | ||
567826bb CY |
7800 | 2008-12-08 Chong Yidong <cyd@stupidchicken.com> |
7801 | ||
7802 | * termchar.h (struct tty): New members termcap_term_buffer and | |
7803 | termcap_strings_buffer. | |
7804 | ||
7805 | * term.c (encode_terminal_code): Free any previous memory blocks | |
4ccfa1c0 | 7806 | before calling xmalloc for encode_terminal_src or encode_terminal_dst. |
567826bb CY |
7807 | (maybe_fatal): Buffer argument deleted. Don't free buffer here. |
7808 | All callers changed. | |
7809 | (init_tty): Store termcap data and string buffers in new struct | |
7810 | tty members termcap_term_buffer and termcap_strings_buffer. | |
7811 | (delete_tty): Free them. | |
4ccfa1c0 | 7812 | (syms_of_term): Initialize encode_terminal_src and encode_terminal_dst. |
567826bb | 7813 | |
aa96c42b SZ |
7814 | 2008-12-07 Seiji Zenitani <zenitani@mac.com> |
7815 | ||
7816 | * nsfns.m (ns_set_background_color): Remove code duplication. | |
4ccfa1c0 | 7817 | It was a substitute for face-transparency on OS X 10.3. |
aa96c42b | 7818 | |
b7e1d896 CY |
7819 | 2008-12-06 Chong Yidong <cyd@stupidchicken.com> |
7820 | ||
7821 | * coding.c (make_conversion_work_buffer): Disable buffer | |
7822 | modification hooks in the work buffer. | |
7823 | ||
b5ec91a5 EZ |
7824 | 2008-12-05 Eli Zaretskii <eliz@gnu.org> |
7825 | ||
7826 | * process.c (procfs_system_process_attributes): If `nread' has a | |
7827 | negative value, assign zero to it. | |
7828 | ||
a5d2a52b CY |
7829 | 2008-12-05 Chong Yidong <cyd@stupidchicken.com> |
7830 | ||
68c5540b | 7831 | * eval.c (Vdebug_on_error): Doc fix. |
a5d2a52b | 7832 | |
7bf1bb21 KH |
7833 | 2008-12-05 Kenichi Handa <handa@m17n.org> |
7834 | ||
7835 | * ftfont.c (ftfont_shape_by_flt): Use "combining" flt if the | |
7836 | second character is a combining character. | |
7837 | ||
2fdc7d00 EZ |
7838 | 2008-12-05 Eli Zaretskii <eliz@gnu.org> |
7839 | ||
7840 | * process.c (procfs_system_process_attributes): Don't use cmd, | |
7841 | cmdsize, and q without initializing them first. | |
7842 | ||
bf6bfba8 JR |
7843 | 2008-12-04 Jason Rumney <jasonr@gnu.org> |
7844 | ||
7845 | * w32font.c (w32font_draw): Initialize orig_clip before getting | |
7846 | it, and delete it when finished. | |
7847 | ||
a3b1a468 DN |
7848 | 2008-12-04 Dan Nicolaescu <dann@ics.uci.edu> |
7849 | ||
7850 | * keyboard.c (kbd_buffer_get_event): Follow the non-interactive | |
7851 | case when running as a daemon before detaching. | |
7852 | ||
8b8be8eb JB |
7853 | 2008-12-03 Juanma Barranquero <lekktu@gmail.com> |
7854 | ||
805f2638 | 7855 | * w32.c (init_environment): Don't unload library shell32.dll. |
8b8be8eb | 7856 | |
b1bde622 KH |
7857 | 2008-12-03 Kenichi Handa <handa@m17n.org> |
7858 | ||
e500c47d KH |
7859 | * font.c (font_at): Set `multibyte' at first. |
7860 | ||
ca516334 KH |
7861 | * coding.c (decode_coding_charset): Check type of an element of |
7862 | vector VALIDS. | |
7bf1bb21 | 7863 | (encode_coding_emacs_mule): Be sure to set `code'. |
ca516334 | 7864 | |
4ccfa1c0 | 7865 | * fontset.c (face_for_char): Handle invalid charset property correctly. |
b1bde622 KH |
7866 | (font_for_char): Likewise. |
7867 | ||
1e5ecd37 CY |
7868 | 2008-12-03 Chong Yidong <cyd@stupidchicken.com> |
7869 | ||
d5b01609 | 7870 | * font.c (Fopen_font): Compute pixel size correctly. |
ba207571 CY |
7871 | (font_update_lface): Handle fonts with corrupted size specs, |
7872 | i.e. non-int and non-float. | |
d5b01609 | 7873 | |
11e3a6e4 | 7874 | * ftfont.c (ftfont_match): Initialize entity variable. |
9a48c8cb | 7875 | (ftfont_resolve_generic_family): Avoid using uninitialized var. |
8adb3a3b | 7876 | (ftfont_list_family): Initialize list var earlier. |
11e3a6e4 | 7877 | |
ab06788b CY |
7878 | * xselect.c (Fx_get_cut_buffer_internal): Fix memory leak. |
7879 | ||
1e5ecd37 | 7880 | * xterm.c (x_draw_glyph_string): Fall back on |
0cff82ab | 7881 | underline_minimum_offset for underline position. |
1e5ecd37 | 7882 | |
63c125ab DN |
7883 | 2008-12-03 Dan Nicolaescu <dann@ics.uci.edu> |
7884 | ||
7885 | * keyboard.c (read_char_help_form_unwind): Specify the type for ARG. | |
7886 | ||
7887 | * character.c (c_string_width): Specify the type for LEN. | |
7888 | ||
3a8406e1 KH |
7889 | 2008-12-03 Kenichi Handa <handa@m17n.org> |
7890 | ||
4ccfa1c0 | 7891 | * coding.c (decode_coding_utf_16): Initialize consumed_chars_base to 0. |
453b38f0 | 7892 | (decode_coding_utf_8): Likewise. |
4ccfa1c0 | 7893 | (detect_coding_system): Initialize utf_16_le_eol to -1, val to Qnil. |
4533845d | 7894 | (produce_chars): Initialize consumed_chars to 0. |
3a8406e1 | 7895 | |
651df7d9 CY |
7896 | 2008-12-02 Chong Yidong <cyd@stupidchicken.com> |
7897 | ||
7898 | * keyboard.c (make_lispy_position): Only use PT if the selected | |
7899 | window is current. | |
7900 | ||
1f625c6c AS |
7901 | 2008-12-02 Andreas Schwab <schwab@suse.de> |
7902 | ||
f7741ce9 AS |
7903 | * font.c (font_unparse_fcname): Fix use of uninitialized variable. |
7904 | ||
1f625c6c AS |
7905 | * doprnt.c (doprnt1): Fix size of charbuf. |
7906 | ||
92bc2678 CY |
7907 | 2008-12-02 Chong Yidong <cyd@stupidchicken.com> |
7908 | ||
7909 | * keyboard.c (timer_check): Revert last change. | |
7910 | ||
93b9e8cc JB |
7911 | 2008-12-02 Juanma Barranquero <lekktu@gmail.com> |
7912 | ||
7913 | * makefile.w32-in ($(BLD)/w32console.$(O)): Fix silly, silly typo. | |
7914 | ||
fd7a37d5 JB |
7915 | 2008-12-01 Juanma Barranquero <lekktu@gmail.com> |
7916 | ||
7917 | * makefile.w32-in: Update dependencies. | |
7918 | (CONFIG_H): Add $(EMACS_ROOT)/nt/inc/sys/time.h. | |
7919 | ||
c115043b AS |
7920 | 2008-12-01 Andreas Schwab <schwab@suse.de> |
7921 | ||
7922 | * font.c (register_font_driver): Use xmalloc. | |
7923 | (font_put_frame_data): Likewise. | |
7924 | ||
f5668d2a CY |
7925 | 2008-12-01 Chong Yidong <cyd@stupidchicken.com> |
7926 | ||
860d96be CY |
7927 | * xfaces.c (realize_x_face): Make abort condition clearer. |
7928 | ||
f5668d2a CY |
7929 | * gtkutil.c (update_frame_tool_bar): Initialize variable. |
7930 | ||
379c17e7 CY |
7931 | 2008-11-30 Chong Yidong <cyd@stupidchicken.com> |
7932 | ||
7933 | * keyboard.c (timer_check): After a timer runs, ensure that the | |
7934 | selected window's buffer is current. | |
7935 | ||
35f36d65 JB |
7936 | 2008-11-30 Juanma Barranquero <lekktu@gmail.com> |
7937 | ||
f952c61c JB |
7938 | * makefile.w32-in ($(BLD)/abbrev.$(O)): Remove. |
7939 | It was accidentally restored by the Unicode merge. | |
7940 | ||
35f36d65 JB |
7941 | * w32proc.c (Fw32_get_locale_info): Fix typo in docstring. |
7942 | ||
b23077df JB |
7943 | 2008-11-29 Juanma Barranquero <lekktu@gmail.com> |
7944 | ||
7945 | * w32proc.c: Include "coding.h". | |
7946 | (Fw32_short_file_name): Encode filename passed to Windows API. | |
7947 | (Fw32_long_file_name): Encode filename passed to Windows API and | |
7948 | decode back the result. (Bug#1433) | |
7949 | ||
b8ebe9dd KH |
7950 | 2008-11-29 Kenichi Handa <handa@m17n.org> |
7951 | ||
8cc53f96 KH |
7952 | * charset.h (CHAR_CHARSET_P): Check if the encoder is loaded or |
7953 | not before accessing it. | |
7954 | ||
b8ebe9dd KH |
7955 | * charset.c (Fdefine_charset_internal): After calculating |
7956 | min_char, max_char, and fastmap, copy the charset structure again. | |
7957 | (encode_char): Fix the previous change. | |
7958 | ||
59bc82c0 SZ |
7959 | 2008-11-28 Seiji Zenitani <zenitani@mac.com> |
7960 | ||
7961 | * frame.c (x_set_alpha) [NS_IMPL_COCOA]: Call x_set_frame_alpha. | |
7962 | ||
7963 | * nsfns.m (ns_frame_parm_handlers): Set alpha handler. | |
7964 | ||
7965 | * nsterm.m (x_set_frame_alpha): New function. | |
7966 | ||
32247e3d EZ |
7967 | 2008-11-27 Eli Zaretskii <eliz@gnu.org> |
7968 | ||
7969 | * xfaces.c (Fx_font_family_list, syms_of_xfaces): Fix last change. | |
7970 | ||
b003e5ff JB |
7971 | 2008-11-27 Juanma Barranquero <lekktu@gmail.com> |
7972 | ||
7973 | * w32font.c (add_font_entity_to_list): Pass the right LOGFONT | |
7974 | pointer to check_face_name. | |
7975 | ||
708550f5 KH |
7976 | 2008-11-27 Kenichi Handa <handa@m17n.org> |
7977 | ||
7978 | * category.h (SET_CATEGORY_SET): Call set_category_set. | |
7979 | (set_category_set): Extern it. | |
7980 | ||
7981 | * category.c (hash_get_category_set): New function. | |
7982 | (Fmodify_category_entry): Adjusted for the change of | |
7983 | char_table_ref_and_range. Call hash_get_category_set to get a | |
7984 | category set to store in the table. | |
7985 | ||
7986 | * character.h (MAYBE_UNIFY_CHAR): Call maybe_unify_char instead of | |
7987 | Funify_charset. | |
7988 | ||
2ae37cf0 | 7989 | * charset.h (enum charset_method): Delete CHARSET_METHOD_MAP_DEFERRED. |
708550f5 KH |
7990 | (DECODE_CHAR): Check if the decoder vector is ready. |
7991 | (ENCODE_CHAR): Check if the encoder char-table is ready. | |
7992 | (maybe_unify_char): Extern it. | |
7993 | ||
7994 | * charset.c (Vchar_unified_charset_table): Delete it. | |
7995 | (inhibit_load_charset_map): New variable. | |
7996 | (temp_charset_work): New variable. | |
7997 | (SET_TEMP_CHARSET_WORK_ENCODER, GET_TEMP_CHARSET_WORK_ENCODER) | |
7998 | (SET_TEMP_CHARSET_WORK_DECODER, GET_TEMP_CHARSET_WORK_DECODER): | |
7999 | New macros. | |
8000 | (load_charset_map): Meaning of control_flag changed. If | |
8001 | inhibit_load_charset_map is nonzero, setup a table in | |
8002 | temp_charset_work. | |
8003 | (load_charset): New argument control_flag. | |
8004 | (map_charset_for_dump): New function. | |
8005 | (map_charset_chars): If inhibit_load_charset_map is nonzero, use | |
8006 | map_charset_for_dump. | |
8007 | (Fdefine_charset_internal): If the charset method is MAP, load | |
8008 | mapping tables by calling load_charset. | |
8009 | (Funify_charset): Don't load a mapping table but directly set | |
8010 | Vchar_unify_table. | |
8011 | (maybe_unify_char): New function. | |
8012 | (decode_char): Don't handle the deleted method MAP_DEFERRED. | |
8013 | Handle the case of inhibit_load_charset_map being nonzero. | |
8014 | (encode_char): Don't handle the deleted method MAP_DEFERRED. | |
8015 | Handle the case of inhibit_load_charset_map being nonzero. | |
8016 | (Fclear_charset_maps): Just free temp_charset_work. | |
8017 | (syms_of_charset): Make `inhibit-load-charset-map' a Lisp | |
8018 | variable. | |
8019 | ||
8020 | * chartab.c (sub_char_table_ref_and_range): Adjusted for the | |
8021 | change of char_table_ref_and_range. | |
8022 | (char_table_ref_and_range): Change the meaning of argument FROM | |
8023 | and TO. Now the caller must provide initial values for *FROM | |
8024 | and *TO. | |
8025 | ||
8026 | * fontset.c (fontset_add): Adjusted for the change of | |
8027 | char_table_ref_and_range. | |
8028 | (fontset_get_font_group): Likewise. | |
8029 | (Ffontset_info): Likewise. | |
8030 | ||
8031 | * keymap.c (describe_vector): Adjusted for the change of | |
8032 | char_table_ref_and_range. For char-table, put boundary between | |
8033 | non-ASCII and 8-bit characters. | |
8034 | ||
8035 | * print.c (print_object): For bool-vector, delete unnecessary | |
8036 | check of ASCII_BYTE_P. | |
8037 | ||
9196133b JR |
8038 | 2008-11-26 Jason Rumney <jasonr@gnu.org> |
8039 | ||
8040 | * w32font.c (w32font_open_internal): Don't include external | |
9acef61c | 8041 | leading in font height. (Bug#879) |
9196133b | 8042 | |
9f688acf GM |
8043 | 2008-11-26 Glenn Morris <rgm@gnu.org> |
8044 | ||
8045 | * xfaces.c (Fx_font_family_list): Replace lisp/term/pc-win.el | |
8046 | redefinition with ifdef. (Bug#1383) | |
8047 | ||
90d19aff AR |
8048 | 2008-11-24 Adrian Robert <Adrian.B.Robert@gmail.com> |
8049 | ||
8050 | * nsterm.m (ns_get_color): Handle long hex strings (fixes bug #1044). | |
8051 | ||
4ccfa1c0 | 8052 | 2008-11-24 Wolfgang Lux <wolfgang.lux@gmail.com> (tiny change) |
90d19aff AR |
8053 | |
8054 | * nsterm.m (-otherMouseDown:, -otherMouseUp:, -otherMouseDragged): | |
8055 | New EmacsView methods. | |
8056 | (EV_UDMODIFIERS, EV_BUTTON): Add OtherMouse constants. | |
8057 | Fixes bug #1048,1357,1414. | |
8058 | ||
8059 | 2008-11-24 Adrian Robert <Adrian.B.Robert@gmail.com> | |
8060 | ||
8061 | Fix bug #1362. | |
8062 | * image.c (x_clear_image_1): Do not free background under HAVE_NS, it | |
8063 | is not an indexed color. | |
8064 | * nsterm.m (free_indexed_color): Add argument checking. | |
8065 | * nsfns.m: Move config.h to before system includes (advised by Dan N.). | |
8066 | ||
e7d5ecb3 CY |
8067 | 2008-11-24 Chong Yidong <cyd@stupidchicken.com> |
8068 | ||
8069 | * minibuf.c (Fcompleting_read, Vminibuffer_completion_confirm): | |
8070 | Document confirm-after-completion value for | |
8071 | minibuffer-completion-confirm. | |
8072 | ||
c285743c JR |
8073 | 2008-11-24 Jason Rumney <jasonr@gnu.org> |
8074 | ||
8075 | * w32font.c (check_face_name): Use xstrcasecmp. Avoid compiler | |
8076 | warning. | |
8077 | ||
b0857706 JR |
8078 | 2008-11-23 Jason Rumney <jasonr@gnu.org> |
8079 | ||
8080 | * w32uniscribe.c (uniscribe_encode_char): Ensure context is | |
8081 | restored before returning. | |
8082 | ||
8083 | * w32font.c (check_face_name): New function. | |
8084 | (add_font_entity_to_list): Use it to filter out common substituted | |
9acef61c | 8085 | fonts. (Bug#642) |
b0857706 | 8086 | |
ee50ff07 MR |
8087 | 2008-11-22 Martin Rudalics <rudalics@gmx.at> |
8088 | ||
8089 | * buffer.c (Fswitch_to_buffer): Reword and mention new option | |
8090 | confirm-nonexistent-file-or-buffer in doc-string. | |
8091 | ||
b8ff72fa SM |
8092 | 2008-11-21 Stefan Monnier <monnier@iro.umontreal.ca> |
8093 | ||
8094 | * buffer.c (Fbuffer_swap_text): Remove redundant marker manipulation. | |
8095 | Fix copy/paste typo. Add checks. | |
8096 | ||
cee53ed4 KH |
8097 | 2008-11-21 Kenichi Handa <handa@m17n.org> |
8098 | ||
8099 | * coding.c (detect_coding_iso_2022): Reject invalid composition | |
8100 | sequence. | |
8101 | (DECODE_COMPOSITION_START): If the current source is the last | |
8102 | block, and the current composition doesn't end, regard this | |
8103 | sequence as invalid. | |
8104 | (decode_coding_iso_2022): Handle invalid composition sequence. | |
8105 | ||
f6ef1e65 MR |
8106 | 2008-11-20 Martin Rudalics <rudalics@gmx.at> |
8107 | ||
8108 | * window.c (coordinates_in_window): Don't return | |
8109 | ON_VERTICAL_BORDER for the rightmost position of a mode/header | |
8110 | line when the window is not the rightmost one. (Bug#1372) | |
8111 | ||
e08b1705 MR |
8112 | 2008-11-16 Ben North <ben@redfrontdoor.org> (tiny change) |
8113 | ||
8114 | * buffer.c (syms_of_buffer): Fix doc-string of cursor-type. | |
8115 | ||
ad98e89f EZ |
8116 | 2008-11-15 Eli Zaretskii <eliz@gnu.org> |
8117 | ||
8118 | * msdos.c (run_msdos_command): Don't call dos_ttcooked, dos_ttraw, | |
8119 | and bright_bg if noninteractive is non-zero. | |
8120 | ||
fb098a4b CY |
8121 | 2008-11-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8122 | ||
8123 | * xterm.c (x_draw_glyph_string): For stretch glyphs, don't call | |
8124 | x_draw_glyph_string_background. | |
8125 | ||
8126 | * w32term.c (x_draw_glyph_string): Likewise. | |
8127 | ||
ce952b6e CY |
8128 | 2008-11-15 Chong Yidong <cyd@stupidchicken.com> |
8129 | ||
8130 | * xterm.c (x_draw_glyph_string): Stop drawing the background of | |
8131 | the next glyph string once past the overhang width. | |
8132 | ||
8133 | * nsterm.m (ns_draw_glyph_string): Likewise. | |
8134 | ||
8135 | * w32term.c (x_draw_glyph_string): Likewise. | |
8136 | ||
26ea7079 CY |
8137 | 2008-11-14 Fabrice Popineau <fabrice.popineau@supelec.fr> (tiny change) |
8138 | ||
8139 | * fileio.c (Finsert_file_contents): Decrement specpdl_ptr to avoid | |
8140 | double file close. | |
8141 | ||
1c33c906 MR |
8142 | 2008-11-14 Martin Rudalics <rudalics@gmx.at> |
8143 | ||
8144 | * window.c (window_loop): In DELETE_BUFFER_WINDOWS case, reset | |
8145 | dedicated status of window before attempting to display another | |
8146 | buffer in it. | |
8147 | ||
8fc29035 JB |
8148 | 2008-11-14 Juanma Barranquero <lekktu@gmail.com> |
8149 | ||
8150 | * msdos.c (Fmsdos_long_file_names): | |
8151 | (syms_of_msdos) <dos-unsupported-char-glyph>: | |
8152 | * dosfns.c (Fint86): Fix typos in docstrings. | |
8153 | ||
55fb4286 EZ |
8154 | 2008-11-14 Eli Zaretskii <eliz@gnu.org> |
8155 | ||
8156 | * makefile.w32-in (OBJ1, WIN32OBJ): Fix whitespace. | |
8157 | ||
3fda0315 KY |
8158 | 2008-11-14 Katsumi Yamaoka <yamaoka@jpl.org> |
8159 | ||
8160 | * puresize.h (BASE_PURESIZE): Increase to 1260000. | |
8161 | ||
7e849c17 CY |
8162 | 2008-11-12 Michal Nazarewicz <mina86@tlen.pl> (tiny change) |
8163 | ||
8164 | * frame.c (x_set_alpha): Set alpha to -1 if nil given. | |
8165 | ||
8166 | * frame.h: Negative alpha means "don't touch". | |
8167 | ||
8168 | * w32term.c (x_set_frame_alpha): Do nothing if alpha is negative. | |
8169 | ||
8170 | * xterm.c (x_set_frame_alpha): Do nothing if alpha is negative. | |
8171 | ||
b9fd67bd DN |
8172 | 2008-11-12 Dan Nicolaescu <dann@ics.uci.edu> |
8173 | ||
8174 | * hftctl.c: | |
8175 | * chpdef.h: | |
8176 | * acldef.h: Remove files used only for systems no longer supported. | |
8177 | ||
8178 | * Makefile.in: Fix .o alphabetical ordering. | |
8179 | (hftctl.o): Remove dependency, file removed. | |
8180 | (keymap.o, print.o): Depend on charset.h. | |
8181 | ||
d5998e03 KH |
8182 | 2008-11-10 Kenichi Handa <handa@m17n.org> |
8183 | ||
2ae37cf0 | 8184 | * character.c (Fget_byte): Fix and make it faster for unibyte target. |
d5998e03 | 8185 | |
be70e183 CY |
8186 | 2008-11-08 Chong Yidong <cyd@stupidchicken.com> |
8187 | ||
8188 | * dired.c (file_name_completion): If completion_ignore_case is | |
8189 | enabled, ignore case when checking completion-regexp-list. | |
8190 | ||
7cf94eac EZ |
8191 | 2008-11-08 Eli Zaretskii <eliz@gnu.org> |
8192 | ||
8193 | * vm-limit.c (get_lim_data): Fix last change. | |
8194 | ||
ee107a89 KH |
8195 | 2008-11-08 Kenichi Handa <handa@m17n.org> |
8196 | ||
8197 | * character.c (Fget_byte): New function. | |
8198 | (syms_of_character): Defsubr Fget_byte. | |
8199 | ||
5fd15622 CY |
8200 | 2008-11-07 Chong Yidong <cyd@stupidchicken.com> |
8201 | ||
8202 | * xdisp.c (try_window_reusing_current_matrix): Ensure that window | |
8203 | cursor position is valid after scrolling. | |
8204 | ||
13d62fad JB |
8205 | 2008-11-06 Juanma Barranquero <lekktu@gmail.com> |
8206 | ||
8207 | * fns.c (Frandom): Rename arg N to LIMIT to match the docs; doc fix. | |
8208 | ||
a1dd2936 GM |
8209 | 2008-11-06 Glenn Morris <rgm@gnu.org> |
8210 | ||
8211 | * xterm.c (handle_one_xevent): Don't let popup menus cause | |
8212 | mouse-autoselect-window related window switching. (Bug#1261) | |
8213 | ||
860cd236 CY |
8214 | 2008-11-04 David Smith <davidsmith@acm.org> (tiny change) |
8215 | ||
8216 | * xterm.c (xim_close_dpy): Avoid double-free on X11R6 XIM. | |
8217 | ||
653a3150 AS |
8218 | 2008-11-04 Andreas Schwab <schwab@suse.de> |
8219 | ||
8220 | * xfns.c (Fx_wm_set_size_hint): Add missing return value. | |
8221 | ||
870f5cac CY |
8222 | 2008-11-03 Chong Yidong <cyd@stupidchicken.com> |
8223 | ||
8224 | * xfns.c (Fx_wm_set_size_hint): New function. | |
8225 | ||
1e02f3cb MR |
8226 | 2008-11-03 Martin Rudalics <rudalics@gmx.at> |
8227 | ||
8228 | * textprop.c (Fprevious_single_char_property_change): Return 0 | |
8229 | when there's no change in a string. (Bug#1301) | |
8230 | ||
e630dfc6 MR |
8231 | 2008-11-02 Martin Rudalics <rudalics@gmx.at> |
8232 | ||
8233 | * frame.c (do_switch_frame): New argument NORECORD passed to | |
8234 | Fselect_window. | |
8235 | (Fselect_frame): New argument NORECORD passed to | |
8236 | do_switch_frame. | |
8237 | (Fset_frame_selected_window): New argument NORECORD passed to | |
8238 | Fselect_frame. | |
8239 | (Fhandle_switch_frame, Fdelete_frame): Handle NORECORD argument | |
8240 | in call of do_switch_frame. | |
8241 | (Fset_mouse_position, Fset_mouse_pixel_position, Fraise_frame): | |
8242 | Handle NORECORD argument in call of Fselect_frame. | |
8243 | * lisp.h (do_switch_frame, Fselect_frame) | |
8244 | (Fset_frame_selected_window): Adjust declarations. | |
8245 | * window.c (select_frame_norecord): New function. | |
8246 | (run_window_configuration_change_hook): Use it and call | |
8247 | Fselect_frame with NORECORD set. | |
8248 | (Fselect_window): Pass NORECORD to Fselect_frame. | |
8249 | (Fset_window_configuration): Handle NORECORD argument in call of | |
8250 | do_switch_frame. | |
8251 | * minibuf.c (choose_minibuf_frame): Handle NORECORD in call of | |
8252 | Fset_frame_selected_window. | |
8253 | * keyboard.c (command_loop_1): Handle NORECORD in call of | |
8254 | Fselect_frame (currently ifdefd). | |
8255 | ||
9020b223 GM |
8256 | 2008-11-02 Ulrich Mueller <ulm@kph.uni-mainz.de> |
8257 | ||
8258 | * emacs.c (USAGE2): Untabify. | |
8259 | ||
793ffee8 SM |
8260 | 2008-11-01 Stefan Monnier <monnier@iro.umontreal.ca> |
8261 | ||
8262 | * composite.c (fill_gstring_header): Fix copy/paste typo. | |
8263 | ||
ab6d1131 MR |
8264 | 2008-10-31 Martin Rudalics <rudalics@gmx.at> |
8265 | ||
8266 | * window.c (Fnext_window, Fprevious_window): Rewrite doc-string. | |
8267 | (Fother_window): Rename argument and rewrite doc-string. | |
8268 | (select_window_norecord): Fix return value. (Bug#1276) | |
8269 | ||
601a9cf1 JB |
8270 | 2008-10-30 Juanma Barranquero <lekktu@gmail.com> |
8271 | ||
8272 | * w32fns.c (x_create_tip_frame): Prevent default foreground color for | |
8273 | new frames overriding foreground for tooltips. Based on similar patch | |
8274 | from Martin Rudalics <rudalics@gmx.at>. (Bug#1032) | |
8275 | ||
813b0652 CY |
8276 | 2008-10-29 Chong Yidong <cyd@stupidchicken.com> |
8277 | ||
8278 | * emacs.c (Fdaemon_initialized): Initialize nfd. | |
8279 | ||
4414f58f MR |
8280 | 2008-10-29 Martin Rudalics <rudalics@gmx.at> |
8281 | ||
8282 | * window.c (Fwindow_height, Fdelete_window, set_window_buffer) | |
8283 | (Fwindow_text_height): Clarify doc-strings. | |
8284 | * xdisp.c (syms_of_xdisp): Mention set-window-buffer in | |
8285 | doc-string of window-scroll-functions. | |
8286 | ||
ecdcaa09 RS |
8287 | 2008-10-28 Reiner Steib <Reiner.Steib@gmx.de> |
8288 | ||
8289 | * category.c (syms_of_category): Fix typo in docstring. | |
8290 | ||
23fe745a JB |
8291 | 2008-10-28 Juanma Barranquero <lekktu@gmail.com> |
8292 | ||
8293 | * window.c (Fwindowp, Fwindow_live_p, Fwindow_minibuffer_p) | |
8294 | (Fcoordinates_in_window_p, Fscroll_left, Fscroll_right): | |
8295 | Fix typos in docstrings. | |
8296 | ||
ff808935 DN |
8297 | 2008-10-28 Dan Nicolaescu <dann@ics.uci.edu> |
8298 | ||
8299 | * emacs.c (daemon_pipe): Make non-static. | |
8300 | (IS_DAEMON): Move definition ... | |
8301 | * lisp.h (IS_DAEMON): ... here. | |
8302 | (daemon_pipe): Declare. | |
8303 | (is_daemon): Remove. | |
8304 | * dispnew.c (init_display): Use IS_DAEMON. | |
8305 | ||
fc012771 SM |
8306 | 2008-10-28 Stefan Monnier <monnier@iro.umontreal.ca> |
8307 | ||
8308 | * xdisp.c (pos_visible_p, redisplay_internal, message3_nolog) | |
8309 | (message2_nolog): Check FRAME_INITIAL_P instead of noninteractively. | |
8310 | ||
8311 | * emacs.c (is_daemon): Remove. | |
8312 | (main): Don't set is_daemon. | |
8313 | (IS_DAEMON): New macro. | |
8314 | (Fdaemonp, Fdaemon_initialized): Use it. | |
601a9cf1 | 8315 | (Fdaemon_initialized): Write a char into the pipe to make sure the |
fc012771 SM |
8316 | parent exits. |
8317 | (syms_of_emacs): Explicitly initialize daemon_pipe[1]. | |
8318 | ||
d8bdbe6f CY |
8319 | 2008-10-27 Chong Yidong <cyd@stupidchicken.com> |
8320 | ||
d1a072bf CY |
8321 | * nsterm.m (ns_draw_window_cursor): When hbar cursor is on |
8322 | over-sized glyph, draw it with the default glyph width. | |
8323 | ||
e2e325aa CY |
8324 | * w32term.c (x_draw_bar_cursor): When hbar cursor is on over-sized |
8325 | glyph, draw it with the default glyph width. | |
8326 | ||
8327 | * xterm.c (x_draw_bar_cursor): When hbar cursor is on over-sized | |
8328 | glyph, draw it with the default glyph width. | |
8329 | ||
d8bdbe6f CY |
8330 | * xdisp.c (try_scrolling): When computing the distance from the |
8331 | scroll margin to PT, try moving some distance past the window | |
8332 | bottom before giving up. | |
8333 | ||
7bfac547 MR |
8334 | 2008-10-27 Martin Rudalics <rudalics@gmx.at> |
8335 | ||
8336 | * window.c (Fwindow_dedicated_p, Fset_window_dedicated_p) | |
8337 | (Fset_window_buffer): Explain in doc-string that a window can be | |
8338 | "strongly" dedicated to its buffer. | |
8339 | ||
4ff029f6 DN |
8340 | 2008-10-27 Dan Nicolaescu <dann@ics.uci.edu> |
8341 | ||
8342 | * emacs.c (daemon_name): New variable. | |
8343 | (main): Deal with --daemon=SERVER_NAME. | |
8344 | (Fdaemonp): Return a name if one was passed to --daemon. | |
8345 | ||
5790ef40 DN |
8346 | 2008-10-26 Romain Francoise <romain@orebokech.com> |
8347 | ||
f9bd0df9 | 8348 | * emacs.c (daemon_pipe): New variable. |
5790ef40 DN |
8349 | (main): Create a pipe before forking, make the parent exit only after |
8350 | the child has closed its end of the pipe. Move closing the | |
8351 | descriptors ... | |
8352 | (Fdaemon_initialized): ... here. New function. | |
8353 | ||
f5385255 SM |
8354 | 2008-10-26 Stefan Monnier <monnier@iro.umontreal.ca> |
8355 | ||
4d632321 SM |
8356 | * chartab.c (Foptimize_char_table): Make sure `ascii' doesn't point to |
8357 | the previous unoptimized table. | |
8358 | ||
f5385255 SM |
8359 | * window.c (Fset_window_buffer): Undo 2008-10-18 change to re-instate |
8360 | the distinction between non-nil and non-t value of `dedicated'. | |
8361 | ||
6c56a0f3 CY |
8362 | 2008-10-25 Chong Yidong <cyd@stupidchicken.com> |
8363 | ||
8364 | * keyboard.c (read_char_minibuf_menu_prompt): Ensure that | |
f5385255 | 8365 | read_char_minibuf_menu_text is large enough to hold the menu string. |
6c56a0f3 | 8366 | |
fec89261 MR |
8367 | 2008-10-25 Martin Rudalics <rudalics@gmx.at> |
8368 | ||
8369 | * window.c (Fget_buffer_window, Fdelete_windows_on) | |
8370 | (Freplace_buffer_in_windows): Make buffer argument optional and | |
8371 | rename to buffer_or_name. | |
8372 | ||
34fcddd0 CY |
8373 | 2008-10-24 Chong Yidong <cyd@stupidchicken.com> |
8374 | ||
f5385255 SM |
8375 | * xdisp.c (handle_single_display_spec, handle_display_prop): |
8376 | Undo 2005-05-16 change. | |
34fcddd0 CY |
8377 | (handle_stop): Pop iterator if it's loaded with an empty string. |
8378 | (get_overlay_strings_1): Don't save iterator if it's loaded with | |
8379 | an empty string (bug#1201). | |
8380 | ||
064766f2 KH |
8381 | 2008-10-24 Kenichi Handa <handa@m17n.org> |
8382 | ||
8383 | * ftfont.c (ftfont_otf_features): Fix previous change. | |
8384 | (ftfont_otf_capability): Check FeatureList.FeatureCount before | |
8385 | calling ftfont_otf_features. | |
8386 | ||
f9bd0df9 | 8387 | 2008-10-24 Kenichi Handa <handa@m17n.org> |
064766f2 KH |
8388 | |
8389 | * font.c (font_match_p): Fix for the case that a vector of | |
8390 | characters is in script-representative-chars. | |
8391 | ||
1dae9197 MA |
8392 | 2008-10-24 Michael Albinus <michael.albinus@gmx.de> |
8393 | ||
8394 | * dbusbind.c (xd_in_read_queued_messages): New variable. | |
f5385255 | 8395 | (XD_SIGNAL1, XD_SIGNAL2, XD_SIGNAL3): New macros. Throw Qdbus_error. |
1dae9197 MA |
8396 | (xd_read_queued_messages): Catch Qdbus_error from the macros. |
8397 | (all): Replace xsignal1, xsignal2, xsignal3 by the respective | |
777013f2 | 8398 | macro. (Bug#1186) |
1dae9197 | 8399 | |
f9bd0df9 | 8400 | 2008-10-23 Ali Bahrami <ali_gnu@emvision.com> (tiny change) |
9b3362b8 DN |
8401 | |
8402 | * s/sol2-10.h: New file. | |
8403 | ||
878a4584 JB |
8404 | 2008-10-23 Juanma Barranquero <lekktu@gmail.com> |
8405 | ||
8406 | * xdisp.c (fill_glyph_string): Fix typo in source (though the | |
8407 | poor beast has survived 9+ years and the jump from xterm.c!). | |
8408 | ||
cd265ca6 MR |
8409 | 2008-10-23 Martin Rudalics <rudalics@gmx.at> |
8410 | ||
8411 | * buffer.c (Fget_buffer_create): Rename arg to buffer_or_name. | |
8412 | Reword doc-string. | |
f5385255 | 8413 | (Fbury_buffer): In doc-string say what happens to the buffer's window. |
cd265ca6 | 8414 | |
472a4dc9 JB |
8415 | 2008-10-23 Juanma Barranquero <lekktu@gmail.com> |
8416 | ||
8417 | * character.c (syms_of_character) <script-representative-chars>: | |
8418 | <unicode-category-table>: Doc fixes. | |
8419 | ||
159bd5a2 NF |
8420 | 2008-10-23 Noah Friedman <friedman@splode.com> |
8421 | ||
8422 | * coding.c (make_conversion_work_buffer): Check that | |
8423 | Vcode_conversion_reused_workbuf is a live buffer, otherwise call | |
8424 | Fget_buffer_create. | |
8425 | ||
49f9c344 KH |
8426 | 2008-10-23 Kenichi Handa <handa@m17n.org> |
8427 | ||
8428 | * font.c (font_add_log): Check the values of extra properties. | |
8429 | ||
12bb3111 MR |
8430 | 2008-10-22 Martin Rudalics <rudalics@gmx.at> |
8431 | ||
8432 | * window.c (Fwindow_dedicated_p, Fset_window_dedicated_p): | |
8433 | Reword doc-string. | |
8434 | (Fset_window_parameter): Use NILP. | |
8435 | (Fscroll_up, Fscroll_down, Fminibuffer_selected_window) | |
f5385255 | 8436 | (Frecenter): Use "selected" instead of "current" window in doc-strings. |
12bb3111 | 8437 | |
bbeb4e99 JB |
8438 | 2008-10-22 Juanma Barranquero <lekktu@gmail.com> |
8439 | ||
8440 | * xdisp.c (next_element_from_buffer): Remove bogus xassert condition. | |
8441 | ||
8442 | 2008-10-22 Adrian Robert <Adrian.B.Robert@gmail.com> | |
cb83c00b AR |
8443 | |
8444 | * nsfns.m (ns_appkit_version): New function. | |
8445 | (x-server-version): Use it. | |
8446 | (syms_of_nsfns): Define ns-version-string here, not nsterm.m. | |
8447 | (x-server-vendor): Don't check_ns(). | |
8448 | ||
8449 | * nsterm.m (syms_of_nsterm): Drop ns-version-string. | |
8450 | ||
a9b555d3 JB |
8451 | 2008-10-22 Juanma Barranquero <lekktu@gmail.com> |
8452 | ||
8453 | * w32fns.c (unwind_create_frame) [!GLYPH_DEBUG]: Fix xassert. | |
8454 | Copied from 2005-02-03 change to xfns.c by Kim F. Storm. | |
8455 | ||
4626499f KH |
8456 | 2008-10-22 Kenichi Handa <handa@m17n.org> |
8457 | ||
e3681952 KH |
8458 | * syntax.c (scan_words): Call word_boundary_p instead of comparing |
8459 | scripts. | |
8460 | ||
4626499f KH |
8461 | * category.c (word_boundary_p): Check scripts instead of charset. |
8462 | Handle nil value in word-separating-categories and | |
8463 | word-combining-categories. | |
8464 | (syms_of_category): Fix docstrings of word-separating-categories | |
8465 | and word-combining-categories. | |
8466 | ||
1560f91a EZ |
8467 | 2008-10-21 Eli Zaretskii <eliz@gnu.org> |
8468 | ||
8469 | * coding.c (Fencode_coding_region, Fdecode_coding_region) | |
8470 | (Fdecode_coding_string, Fencode_coding_string): Doc fix. | |
8471 | ||
f4668441 MR |
8472 | 2008-10-21 Martin Rudalics <rudalics@gmx.at> |
8473 | ||
8474 | * buffer.c (Fget_buffer, Fbury_buffer, switch_to_buffer_1): | |
8475 | Rename arg "buffer" to "buffer_or_name". | |
8476 | (Fkill_buffer): Rename arg "buffer" to "buffer_or_name" and make | |
8477 | it optional. | |
8478 | (no_switch_window): Remove since the return value is not used. | |
a9b555d3 | 8479 | (Fswitch_to_buffer): Rename arg "buffer" to "buffer_or_name". |
f4668441 MR |
8480 | Consider window as dedicated when Fwindow_dedicated_p returns a |
8481 | non-nil value. | |
8482 | * lisp.h: Remove prototype for no_switch_window. | |
8483 | ||
fd75ddb2 JD |
8484 | 2008-10-21 Jan Djärv <jan.h.d@swipnet.se> |
8485 | ||
8486 | * emacs.c (main): Unconditionally set PER_LINUX32 and exec | |
2ae37cf0 | 8487 | temacs when dumping if HAVE_PERSONALITY_LINUX32 is defined. |
fd75ddb2 | 8488 | |
07295713 KH |
8489 | 2008-10-21 Kenichi Handa <handa@m17n.org> |
8490 | ||
8491 | * coding.c (detect_coding_charset): For iso-8859-* coding systems, | |
8492 | check Vlatin_extra_code_table. | |
8493 | ||
712adc82 EZ |
8494 | 2008-10-20 Eli Zaretskii <eliz@gnu.org> |
8495 | ||
8496 | * fileio.c (Fset_file_modes): Doc fix. | |
8497 | ||
f549eb0b MA |
8498 | 2008-10-19 Michael Albinus <michael.albinus@gmx.de> |
8499 | ||
8500 | * dbusbind.c (XD_OBJECT_TO_DBUS_TYPE): Handle simple type symbols | |
8501 | in arrays. | |
8502 | ||
aac0c6e3 MR |
8503 | 2008-10-19 Martin Rudalics <rudalics@gmx.at> |
8504 | ||
8505 | * window.c (Fwindow_dedicated_p, Fset_window_dedicated_p): | |
8506 | Mention kill-buffer in doc-string. | |
8507 | (Fset_window_buffer): Reinsert tem check removed in last commit. | |
8508 | (Fenlarge_window, Fshrink_window): Have argument names and | |
8509 | doc-string follow Elisp manual more closely. | |
8510 | ||
8511 | 2008-10-18 Eli Zaretskii <eliz@gnu.org> | |
8512 | ||
8513 | * fileio.c (Fset_file_modes): Doc fix. | |
8514 | ||
8515 | 2008-10-18 Martin Rudalics <rudalics@gmx.at> | |
8516 | ||
8517 | * window.c (Fwindow_width, Fset_window_start) | |
8518 | (Fwindow_parameters, Fwindow_parameter, Fset_window_parameter) | |
f5385255 SM |
8519 | (Fdelete_windows_on, Freplace_buffer_in_windows): |
8520 | Make doc-strings follow code and Elisp manual more closely. | |
aac0c6e3 MR |
8521 | (Fwindow_dedicated_p): Make window argument optional. |
8522 | (Fset_window_dedicated_p): Rename argument "arg" to "flag". | |
8523 | (Fset_window_buffer): Respect any non-nil dedicated value for | |
8524 | window. Rename "buffer" argument to "buffer_or_name". | |
8525 | ||
8526 | 2008-10-18 Ulrich Mueller <ulm@gentoo.org> | |
8527 | ||
8528 | * m/sh3.h: New file, machine description for SuperH. | |
8529 | ||
8530 | 2008-10-17 Martin Rudalics <rudalics@gmx.at> | |
8531 | ||
8532 | * window.c (Fsplit_window): Rename arg horflag to horizontal. | |
8533 | ||
8534 | 2008-10-17 Kenichi Handa <handa@m17n.org> | |
8535 | ||
8536 | * ftfont.c (ftfont_otf_features): Fix indexing | |
8537 | gsub_gpos->FeatureList.Feature. Check the validity of indices. | |
8538 | ||
8539 | 2008-10-16 Magnus Henoch <mange@freemail.hu> | |
8540 | ||
8541 | * dbusbind.c (Fdbus_call_method): Unbreak usage line. | |
8542 | (Fdbus_call_method_asynchronously): Ditto. | |
8543 | This change makes C-h f display the argument list. | |
8544 | ||
8545 | 2008-10-16 Chong Yidong <cyd@stupidchicken.com> | |
8546 | ||
8547 | * fileio.c (Fexpand_file_name): Doc fix. | |
8548 | ||
8549 | * xfaces.c (Finternal_set_lisp_face_attribute): Make null values | |
8550 | of :foreground and :background equivalent to unspecified (20.x | |
8551 | compatibility). | |
8552 | ||
8553 | 2008-10-15 Eli Zaretskii <eliz@gnu.org> | |
8554 | ||
8555 | * buffer.c (syms_of_buffer): Doc fix. | |
8556 | ||
8557 | 2008-10-14 Kenichi Handa <handa@m17n.org> | |
8558 | ||
8559 | * font.c (font_clear_prop): When clearing font width, clear the | |
8560 | average width field too. | |
8561 | ||
8562 | 2008-10-12 Andreas Schwab <schwab@suse.de> | |
8563 | ||
8564 | * ftfont.c (ftfont_shape_by_flt): Make static. | |
8565 | * ftfont.h (ftfont_shape_by_flt): Don't declare. | |
8566 | ||
8567 | * font.c: Don't include <m17n-flt.h>. | |
8568 | ||
8569 | 2008-10-10 Eli Zaretskii <eliz@gnu.org> | |
8570 | ||
8571 | * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Decrease to 10000. | |
8572 | ||
8573 | 2008-10-09 Eli Zaretskii <eliz@gnu.org> | |
8574 | ||
8575 | * frame.c (make_terminal_frame) [MSDOS]: Remove unused #ifdef'ed | |
8576 | away code. | |
8577 | ||
8578 | 2008-10-09 Chong Yidong <cyd@stupidchicken.com> | |
8579 | ||
8580 | * dispnew.c (update_text_area): Avoid looping due to large glyph | |
8581 | overhangs (bug#1070). | |
8582 | ||
8583 | 2008-10-09 Kenichi Handa <handa@m17n.org> | |
8584 | ||
8585 | * fontset.c (face_for_char): If face->fontset is negative, just | |
8586 | return ascii_face. | |
8587 | ||
f5385255 SM |
8588 | * font.c (font_delete_unmatched): Fix previous change. |
8589 | Don't reject an entity if DPI and AVGWIDTH of an entity are 0. | |
aac0c6e3 MR |
8590 | |
8591 | 2008-10-09 Martin Rudalics <rudalics@gmx.at> | |
8592 | ||
8593 | * frame.c (Fraise_frame): On text-only terminals select frame in | |
8594 | order to make it visible. (Bug#1061) | |
8595 | ||
8596 | 2008-10-08 Chong Yidong <cyd@stupidchicken.com> | |
8597 | ||
8598 | * fontset.c (fontset_find_font): Check frame validity. | |
8599 | ||
8600 | 2008-10-07 Chong Yidong <cyd@stupidchicken.com> | |
8601 | ||
a9b555d3 | 8602 | * gtkutil.c (xg_display_open): Reset default display if none exists. |
aac0c6e3 MR |
8603 | (xg_display_close): Allow Emacs to close all displays (bug#985). |
8604 | ||
8605 | 2008-10-06 Andreas Schwab <schwab@suse.de> | |
8606 | ||
f5385255 | 8607 | * sysdep.c (sys_signal): Always set SA_RESTART when noninteractively. |
aac0c6e3 MR |
8608 | |
8609 | 2008-10-06 Chong Yidong <cyd@stupidchicken.com> | |
8610 | ||
f5385255 | 8611 | * emacs.c (Vbefore_init_time, Vafter_init_time): Move from startup.el. |
aac0c6e3 | 8612 | |
a9b555d3 | 8613 | * lisp.h (Vbefore_init_time, Vafter_init_time): Declare. |
aac0c6e3 MR |
8614 | |
8615 | * gtkutil.c (x_wm_set_size_hint): Return immediately if called | |
8616 | during initialization. | |
8617 | ||
8618 | 2008-10-04 Eli Zaretskii <eliz@gnu.org> | |
8619 | ||
8620 | * xdisp.c (redisplay_internal): If frame switched, redisplay the | |
8621 | whole thing on MSDOS frames as well as on a TTY. | |
8622 | ||
8623 | * dispnew.c (update_frame): Flush termscript for MSDOS frames as | |
8624 | well as for TTY. | |
8625 | (Fopen_termscript): Allow opening a termscript on MSDOS frames as | |
8626 | well as on a TTY. | |
8627 | ||
8628 | * sysdep.c (init_sys_modes): Set FRAME_GARBAGED_P for MSDOS frames | |
8629 | as well as for TTY. | |
8630 | ||
8631 | * systime.h (EMACS_TIME_CMP): Cast EMACS_SECS values to `long'. | |
8632 | ||
8633 | * dispnew.c (change_frame_size_1): Set FrameRows and FrameCols for | |
8634 | MSDOS frames as well. | |
8635 | ||
8636 | 2008-10-02 Adrian Robert <Adrian.B.Robert@gmail.com> | |
8637 | ||
8638 | * image.c (x_clear_image_1): Under NS, call ns_free_indexed_color with | |
8639 | correct arguments. | |
b71ac3dd | 8640 | * menu.c (find_and_return_menu_selection): Add cast. |
aac0c6e3 MR |
8641 | |
8642 | 2008-10-03 Glenn Morris <rgm@gnu.org> | |
8643 | ||
8644 | * emacs.c (USAGE1): Add --daemon. | |
8645 | ||
8646 | 2008-10-02 Eli Zaretskii <eliz@gnu.org> | |
8647 | ||
8648 | * process.c (procfs_system_process_attributes): Multiply `pcpu' by | |
8649 | 100, so it's in percents as advertised. | |
8650 | ||
8651 | 2008-10-02 Adrian Robert <Adrian.B.Robert@gmail.com> | |
8652 | ||
8653 | * nsterm.h (ns_cursor_types, ns_output.desired_cursor_color) | |
8654 | (ns_output.current_cursor, ns_output.desired_cursor) | |
8655 | (ns_output.last_inactive, FRAME_CURSOR, FRAME_NEW_CURSOR) | |
8656 | (FRAME_NEW_CURSOR_COLOR): Remove. | |
8657 | ||
8658 | * nsfns.m (ns_set_cursor_color): Use FRAME_CURSOR_COLOR. | |
a9b555d3 | 8659 | (ns_lisp_to_cursor_type, ns_cursor_type_to_lisp): Use core Emacs |
aac0c6e3 MR |
8660 | enumeration (HOLLOW_BOX_CURSOR, etc.). |
8661 | ||
8662 | * nsterm.m (ns_frame_rehighlight): Remove commented code. | |
8663 | (draw_window_cursor): Simplify code. | |
f5385255 SM |
8664 | (EmacsView-windowDidBecomeKey:,-windowDidResignKey:): |
8665 | Don't change cursor type. In latter, call rehighlight instead of doing | |
aac0c6e3 | 8666 | updates manually. |
a9b555d3 JB |
8667 | (EmacsPrefsController-setPanelFromValues,-setValuesFromPanel): |
8668 | Use core Emacs cursor types. | |
aac0c6e3 | 8669 | |
b8ff72fa | 8670 | * xdisp.c (draw_glyphs): Don't call notice_overwritten_cursor under NS. |
aac0c6e3 MR |
8671 | |
8672 | 2008-10-02 Martin Rudalics <rudalics@gmx.at> | |
8673 | ||
8674 | * process.c (Faccept_process_output): Fix doc-string. | |
8675 | ||
8676 | 2008-10-02 Dan Nicolaescu <dann@ics.uci.edu> | |
8677 | ||
8678 | * gmalloc.c (__sbrk): Also define for uClibc. | |
8679 | ||
8680 | * s/gnu-linux.h (GNU_LIBRARY_PENDING_OUTPUT_COUNT): Add definition | |
8681 | for uClibc. | |
8682 | ||
8683 | 2008-10-01 Adrian Robert <Adrian.B.Robert@gmail.com> | |
8684 | ||
8685 | * nsfont.m (nsfont_spec_to_traits): Use UnXX masks only for non-normal | |
8686 | styles. | |
8687 | (nsfont_open): Reenable the cache. | |
8688 | ||
8689 | 2008-10-01 Adrian Robert <Adrian.B.Robert@gmail.com> | |
8690 | ||
8691 | * font.c (font_matching_entity): Reflect ATTRS in font selection. | |
8692 | (font_find_for_lface) [HAVE_NS]: Don't ignore case. | |
8693 | ||
8694 | 2008-09-30 Stefan Monnier <monnier@iro.umontreal.ca> | |
8695 | ||
8696 | * dispnew.c (Fsend_string_to_terminal): Don't try to send a string to | |
8697 | a suspended terminal. | |
8698 | ||
8699 | 2008-09-30 Michael Albinus <michael.albinus@gmx.de> | |
8700 | ||
8701 | * dbusbind.c (xd_signature): Use strcat instead of sprintf. | |
8702 | ||
8703 | 2008-09-30 Eli Zaretskii <eliz@gnu.org> | |
8704 | ||
8705 | * Makefile.in (MSDOS_SUPPORT): Remove ccl.elc and codepage.elc. | |
8706 | ||
8707 | 2008-09-30 Chong Yidong <cyd@stupidchicken.com> | |
8708 | ||
8709 | * xdisp.c (move_it_to): Don't advance the iterator if the last tab | |
8710 | in a continued line coincides with a line beginning. | |
8711 | ||
8712 | 2008-09-29 Adrian Robert <Adrian.B.Robert@gmail.com> | |
8713 | ||
8714 | * nsfont.m (nsfont_trait_distance): Fix bug. | |
8715 | (nsfont_list): Return a list rather than a vector (syncs with Handa | |
8716 | changes of 2008-05-14). | |
8717 | (nsfont_open): Improve logging. | |
8718 | ||
8719 | 2008-09-29 Andreas Schwab <schwab@suse.de> | |
8720 | ||
8721 | * keyboard.c (syms_of_keyboard) <input-decode-map>: Doc fix. | |
8722 | ||
8723 | 2008-09-28 Martin Rudalics <rudalics@gmx.at> | |
8724 | ||
8725 | * character.c (Fchar_resolve_modifiers): Rewrite Elisp function | |
8726 | name as char-resolve-modifiers. | |
8727 | Reported by: Markus Triska <markus.triska@gmx.at> | |
8728 | ||
8729 | 2008-09-28 Dan Nicolaescu <dann@ics.uci.edu> | |
8730 | ||
8731 | * dispnew.c (init_display): Return earlier when running as a daemon. | |
8732 | ||
8733 | 2008-09-27 Adrian Robert <Adrian.B.Robert@gmail.com> | |
8734 | ||
8735 | * nsfont.m (nsfont_draw): Fix up composition rendering (cmp_from, ...). | |
8736 | ||
8737 | 2008-09-27 Eli Zaretskii <eliz@gnu.org> | |
8738 | ||
8739 | * composite.c (Fcomposition_get_gstring) | |
8740 | (Fcompose_region_internal, Fcompose_string_internal) | |
8741 | (Ffind_composition_internal): Doc fix. | |
8742 | (syms_of_composite) <compose-chars-after-function>: Doc fix. | |
8743 | (syms_of_composite) <auto-composition-function>: Doc fix. | |
8744 | (syms_of_composite) <composition-function-table>: Doc fix. | |
8745 | ||
8746 | 2008-09-25 Chong Yidong <cyd@stupidchicken.com> | |
8747 | ||
8748 | * search.c (wordify): New argument for lax word-ends. | |
8749 | (Fword_search_forward_lax, Fword_search_backward_lax): New funs. | |
8750 | ||
8751 | 2008-09-24 Dan Nicolaescu <dann@ics.uci.edu> | |
8752 | ||
8753 | * lisp.h (is_daemon): Declare. | |
8754 | * dispnew.c (init_display): Do not try to initialize the terminal | |
8755 | when running as a daemon. | |
8756 | ||
8757 | 2008-09-22 Chong Yidong <cyd@stupidchicken.com> | |
8758 | ||
8759 | * nsfns.m (compute_tip_xy): Use x_display_pixel_width and | |
8760 | x_display_pixel_height. | |
8761 | ||
8762 | 2008-09-22 Martin Rudalics <rudalics@gmx.at> | |
8763 | ||
8764 | * undo.c (record_point): Don't call Fundo_boundary for first | |
8765 | change. (Bug#731) | |
8766 | ||
8767 | 2008-09-22 Juanma Barranquero <lekktu@gmail.com> | |
8768 | ||
8769 | * emacs.c (Fdaemonp): Doc fix. | |
8770 | ||
8771 | 2008-09-22 Dan Nicolaescu <dann@ics.uci.edu> | |
8772 | ||
8773 | * emacs.c (main): Place #ifdef in the proper place. | |
8774 | ||
8775 | 2008-09-21 Dan Nicolaescu <dann@ics.uci.edu> | |
8776 | ||
8777 | * emacs.c (standard_args): Add --daemon. | |
8778 | (main): Disconnect from the terminal when --daemon is passed. | |
8779 | (is_daemon): New variable. | |
8780 | (Fdaemonp): New function. | |
8781 | (syms_of_emacs): Defsubr it. | |
8782 | ||
8783 | 2008-09-20 Chong Yidong <cyd@stupidchicken.com> | |
8784 | ||
8785 | * xdisp.c (get_next_display_element): Handle string display | |
8786 | correctly when checking for the end of a box run. | |
8787 | ||
8788 | 2008-09-20 Glenn Morris <rgm@gnu.org> | |
8789 | ||
8790 | * fileio.c (Qdelete_by_moving_to_trash): New Lisp_Object. | |
8791 | (syms_of_fileio): Add Qdelete_by_moving_to_trash. | |
8792 | (Frename_file): Avoid copying to trash if a rename involves | |
8793 | a delete. (Bug#964). | |
8794 | ||
8795 | 2008-09-20 Eli Zaretskii <eliz@gnu.org> | |
8796 | ||
8797 | * keyboard.c (Fset_quit_char, Fset_input_meta_mode) | |
8798 | (Fset_output_flow_control, Fcurrent_input_mode): Support MSDOS | |
8799 | frames as well as termcap frames. | |
8800 | (handle_interrupt): Remove "#ifndef MSDOS" around the call to | |
8801 | get_named_tty. | |
8802 | ||
8803 | 2008-09-19 Eli Zaretskii <eliz@gnu.org> | |
8804 | ||
8805 | * process.c (procfs_system_process_attributes): Fix cmdline in | |
8806 | case /proc/PID/cmdline is empty. | |
8807 | ||
8808 | * xterm.c (x_wm_set_size_hint): Use x_display_pixel_width and | |
8809 | x_display_pixel_height. | |
8810 | ||
8811 | 2008-09-19 Juanma Barranquero <lekktu@gmail.com> | |
8812 | ||
8813 | * frame.c (x_fullscreen_adjust): Declare var as Display_Info. | |
8814 | ||
8815 | * w32fns.c (Fx_display_pixel_width, Fx_display_pixel_height) | |
8816 | (compute_tip_xy): Use x_display_pixel_width, x_display_pixel_height. | |
8817 | ||
8818 | 2008-09-19 Dan Nicolaescu <dann@ics.uci.edu> | |
8819 | ||
8820 | * dispextern.h (struct it): Move line_wrap away from the middle of | |
8821 | bitfields. Move voffset in struct iterator_stack_entry after the | |
8822 | bitfields. Move tab_width near after another short. | |
8823 | ||
8824 | 2008-09-18 Dan Nicolaescu <dann@ics.uci.edu> | |
8825 | ||
8826 | * frame.h (struct frame): Move alpha from the middle of bitfields. | |
8827 | ||
8828 | * window.h (struct window): Move frozen_window_start_p after the | |
8829 | rest of the bitfields to reduce padding. | |
8830 | ||
8831 | 2008-09-18 Chong Yidong <cyd@stupidchicken.com> | |
8832 | ||
8833 | * xterm.h (x_display_info): Remove `height' and `width' members. | |
8834 | ||
8835 | * nsterm.h (ns_display_info): Remove `height' and `width' members. | |
8836 | ||
8837 | * w32term.h (w32_display_info): Remove `height', `width', | |
8838 | `height_in', and `width_in' members. | |
8839 | ||
b8ff72fa SM |
8840 | * xterm.c (x_display_pixel_height, x_display_pixel_width): |
8841 | New functions. | |
aac0c6e3 MR |
8842 | (x_calc_absolute_position): Use them. |
8843 | (x_term_init): Omit removed `height' and `width' members. | |
8844 | ||
b8ff72fa SM |
8845 | * w32term.c (x_display_pixel_height, x_display_pixel_width): |
8846 | New functions. | |
aac0c6e3 MR |
8847 | (w32_read_socket, x_calc_absolute_position): Use them. |
8848 | (w32_initialize_display_info, w32_term_init): Omit removed members | |
8849 | of w32_display_info. | |
8850 | ||
b8ff72fa SM |
8851 | * nsterm.m (x_display_pixel_height, x_display_pixel_width): |
8852 | New functions. | |
8853 | (ns_initialize_display_info): Omit removed members of ns_display_info. | |
aac0c6e3 | 8854 | |
b8ff72fa SM |
8855 | * xterm.c (x_display_pixel_height, x_display_pixel_width): |
8856 | New functions. | |
aac0c6e3 MR |
8857 | (x_calc_absolute_position): Use them. |
8858 | (x_term_init): Omit removed `height' and `width' members. | |
8859 | ||
8860 | * xfns.c (Fx_display_pixel_width, Fx_display_pixel_height) | |
b8ff72fa SM |
8861 | (compute_tip_xy): |
8862 | * frame.c (x_fullscreen_adjust): | |
aac0c6e3 MR |
8863 | * xmenu.c (menu_position_func): Use x_display_pixel_height and |
8864 | x_display_pixel_width. | |
8865 | ||
8866 | 2008-09-18 Kenichi Handa <handa@m17n.org> | |
8867 | ||
8868 | * composite.c (fill_gstring_header): Don't check FROM and TO here. | |
8869 | (composition_compute_stop_pos): Fix handling of static composition. | |
8870 | (Fcomposition_get_gstring): Check FROM and TO at first. | |
8871 | ||
8872 | 2008-09-17 Stefan Monnier <monnier@iro.umontreal.ca> | |
8873 | ||
46e722a9 | 8874 | * composite.c (Fcomposition_get_gstring): Yet another int/Lisp_Object |
aac0c6e3 MR |
8875 | mixup (YAILOM). |
8876 | ||
8877 | 2008-09-17 Chong Yidong <cyd@stupidchicken.com> | |
8878 | ||
8879 | * indent.c (Fvertical_motion): Use position reported by iterator | |
8880 | instead of PT for determining screen motion (bug#943). | |
8881 | ||
8882 | 2008-09-17 Romain Francoise <romain@orebokech.com> | |
8883 | ||
8884 | * composite.c (composition_adjust_point): Fix int/EMACS_INT mixup. | |
8885 | ||
8886 | 2008-09-17 Kenichi Handa <handa@m17n.org> | |
8887 | ||
8888 | * ftfont.c (ftfont_shape_by_flt): Downcase family name. | |
8889 | ||
8890 | * composite.c (Fcomposition_get_gstring): Make bigger gstring_work | |
8891 | if necessary. | |
8892 | ||
8893 | 2008-09-16 Kenichi Handa <handa@m17n.org> | |
8894 | ||
8895 | * coding.c (make_conversion_work_buffer): Avoid calling | |
8896 | Fget_buffer_create if it is not necessary. | |
8897 | ||
8898 | 2008-09-15 Martin Rudalics <rudalics@gmx.at> | |
8899 | ||
8900 | * window.c (Fselect_window): Don't update window_select_count and | |
8901 | use_time when norecord is not nil. | |
8902 | ||
8903 | 2008-09-14 Kenichi Handa <handa@m17n.org> | |
8904 | ||
8905 | * fileio.c (Finsert_file_contents): Delete incorrect decrement of | |
8906 | specpdl_ptr. | |
8907 | ||
8908 | 2008-09-12 Kenichi Handa <handa@m17n.org> | |
8909 | ||
8910 | * indent.c (scan_for_column): Don't handle automatic composition | |
8911 | if the current buffer is not associated with a window. | |
8912 | ||
8913 | * composite.c (composition_reseat_it): If the current buffer is | |
8914 | not associated with a window, ignore the automatic composition. | |
8915 | (find_automatic_composition): Likewise. | |
8916 | ||
8917 | 2008-09-12 Stefan Monnier <monnier@iro.umontreal.ca> | |
8918 | ||
8919 | * term.c (close_gpm): New fun extracted from Fgpm_mouse_stop. | |
8920 | (Fgpm_mouse_stop): Use it. | |
8921 | * termhooks.h (close_gpm): Declare. | |
8922 | * keyboard.c (tty_read_avail_input): Forcefully close the gpm | |
8923 | connection if Gpm_GetEvent fails. | |
8924 | ||
8925 | * window.c (set_window_buffer): Always preserve current-buffer. | |
8926 | ||
8927 | 2008-09-12 Glenn Morris <rgm@gnu.org> | |
8928 | ||
8929 | * charset.c (init_charset): Warn if etc/charsets not found. (Bug#909) | |
8930 | ||
8931 | 2008-09-11 Glenn Morris <rgm@gnu.org> | |
8932 | ||
8933 | * charset.c (charset-map-path): Doc fix. | |
8934 | ||
8935 | 2008-09-10 Kenichi Handa <handa@m17n.org> | |
8936 | ||
8937 | * xdisp.c (handle_composition_prop): Set it->cmp_it.ch to -1. | |
8938 | ||
8939 | * font.c (Ffont_shape_gstring): Make glyphs of non-nil adjustment | |
8940 | compose a grapheme cluster with the preceding base glyph. | |
8941 | ||
8942 | * composite.c (composition_compute_stop_pos): Fix previous change. | |
8943 | Reset cmp_it->id to -1 at first. | |
8944 | ||
8945 | 2008-09-10 Glenn Morris <rgm@gnu.org> | |
8946 | ||
8947 | * Makefile.in (character.o, chartab.o): Fix config.h typo. | |
8948 | ||
8949 | 2008-09-09 Chong Yidong <cyd@stupidchicken.com> | |
8950 | ||
8951 | * keyboard.c (read_key_sequence): Reapply translation maps when | |
8952 | switching keyboards. | |
8953 | ||
8954 | 2008-09-09 Kenichi Handa <handa@m17n.org> | |
8955 | ||
8956 | * ftfont.c (ftfont_shape_by_flt): Use "combining" FLT for ASCII | |
8957 | characters. | |
8958 | ||
8959 | * composite.c (FORWARD_CHAR): Fix calculation | |
8960 | of (POSITION).pos_byte. | |
8961 | (composition_compute_stop_pos): Limit the search of composition to | |
8962 | at most 500 characters ahead. If we reach the limit or find a | |
8963 | newline, set cmp_it->ch to -2 and return 0. | |
8964 | (composition_reseat_it): Handle the case that cmp_it->ch is -2. | |
8965 | ||
8966 | 2008-09-08 Kenichi Handa <handa@m17n.org> | |
8967 | ||
8968 | * indent.c (Fvertical_motion): Be sure to set | |
8969 | it_overshoot_expected if it.cmp_it.id is non-negative. | |
8970 | ||
8971 | 2008-09-07 Andreas Schwab <schwab@suse.de> | |
8972 | ||
8973 | * callproc.c (Fcall_process): Don't hold references to string data | |
8974 | across garbage collection. Move initialisation of new_argv down | |
8975 | to avoid compiler bug. | |
8976 | ||
8977 | 2008-09-07 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> | |
8978 | ||
8979 | * process.c (Fsystem_process_attributes): Doc fix. | |
8980 | ||
8981 | 2008-09-07 Chong Yidong <cyd@stupidchicken.com> | |
8982 | ||
8983 | * callproc.c (Fcall_process): Canonicalize current directory name. | |
8984 | ||
8985 | * xdisp.c (move_it_to): When moving by vpos, ensure that the | |
8986 | iterator advances to the next line if the current line ends in a | |
8987 | continued tab. | |
8988 | ||
8989 | 2008-09-07 Teodor Zlatanov <tzz@lifelogs.com> | |
8990 | ||
8991 | * nsfont.m (nsfont_draw): Fix the references to missing gidx data | |
8992 | member to point to cmp_from. | |
8993 | ||
8994 | * xdisp.c: Doc fix for references to gidx data member. | |
8995 | ||
8996 | 2008-09-07 Stefan Monnier <monnier@iro.umontreal.ca> | |
8997 | ||
8998 | * buffer.c (Fbuffer_swap_text): Reset window->point markers. | |
8999 | ||
9000 | 2008-09-07 Kenichi Handa <handa@m17n.org> | |
9001 | ||
9002 | * composite.c (FORWARD_CHAR): Check STOP after | |
9003 | incrementing (POSITION).pos. | |
9004 | ||
9005 | 2008-09-06 Roland Winkler <Roland.Winkler@physik.uni-erlangen.de> | |
9006 | ||
9007 | * process.c (Fsystem_process_attributes): Doc fix. | |
9008 | ||
9009 | 2008-09-06 Chong Yidong <cyd@stupidchicken.com> | |
9010 | ||
9011 | * keyboard.c (Ftop_level): Doc fix. | |
9012 | ||
9013 | 2008-09-06 Eli Zaretskii <eliz@gnu.org> | |
9014 | ||
9015 | * xmenu.c (xmenu_show) [!HAVE_X_WINDOWS]: If frame has a | |
9016 | minibuffer, don't let lower part of menu invade the echo area. | |
9017 | ||
9018 | * msdos.c (IT_menu_display): Use STRING_CHAR_ADVANCE instead of a | |
9019 | "char *q" to access menu text and advance through it. Revert the | |
9020 | change that displayed ">" instead of ASCII character 0x10. | |
9021 | ||
9022 | 2008-09-05 Eli Zaretskii <eliz@gnu.org> | |
9023 | ||
9024 | * menu.c (single_menu_item) [!HAVE_BOXES]: Enable emulation of | |
9025 | toggle boxes and radio buttons on MS-DOS as well. | |
9026 | ||
9027 | 2008-09-05 Kenichi Handa <handa@m17n.org> | |
9028 | ||
9029 | * composite.c (autocmp_chars): Check lookback count. | |
9030 | (composition_compute_stop_pos): Set cmp_it->lookback. | |
9031 | (composition_reseat_it): Check lookback count. | |
9032 | (struct position_record): New struct. | |
9033 | (FORWARD_CHAR, BACKWARD_CHAR, CHAR_COMPOSABLE_P): New macros. | |
9034 | (find_automatic_composition): New function. | |
9035 | (composition_adjust_point): Use find_automatic_composition. | |
9036 | ||
9037 | * dispextern.h (struct composition_it): New member lookback. | |
9038 | ||
9039 | 2008-09-02 Chong Yidong <cyd@stupidchicken.com> | |
9040 | ||
9041 | * indent.c (Fvertical_motion): Don't call move_it_by_lines again | |
9042 | if moving by a single line. | |
9043 | ||
9044 | 2008-09-02 Andreas Schwab <schwab@suse.de> | |
9045 | ||
9046 | * xterm.c (x_delete_display): Fix merge error. | |
9047 | ||
9048 | * fileio.c (Fexpand_file_name): Remove unused variables. | |
9049 | ||
9050 | 2008-09-02 Eli Zaretskii <eliz@gnu.org> | |
9051 | ||
9052 | * fileio.c (Fexpand_file_name): Copy argument `name' into local | |
9053 | storage on all platforms, not just on DOS_NT. | |
9054 | ||
9055 | 2008-09-02 Jason Rumney <jasonr@gnu.org> | |
9056 | ||
b8ff72fa SM |
9057 | * w32menu.c (Fx_popup_menu, Fx_popup_dialog, w32_menu_show): |
9058 | Ensure mouse is not grabbed after menu is finished. | |
aac0c6e3 MR |
9059 | |
9060 | 2008-09-01 Chong Yidong <cyd@stupidchicken.com> | |
9061 | ||
9062 | * xfaces.c (Finternal_set_alternative_font_family_alist) | |
9063 | (Finternal_set_alternative_font_registry_alist): Properly copy | |
9064 | entire alist structure. | |
9065 | ||
9066 | 2008-09-01 Kenichi Handa <handa@m17n.org> | |
9067 | ||
d66c0241 | 9068 | * ftfont.c (ftfont_spec_pattern): Don't create a charset if the |
aac0c6e3 | 9069 | representative chars of the script is a vector. |
d66c0241 JB |
9070 | (ftfont_list): Handle the case where the representative chars of |
9071 | the script is a vector. | |
aac0c6e3 MR |
9072 | |
9073 | * character.c (syms_of_character): Docstring of | |
9074 | script-representative-chars fixed. | |
9075 | ||
9076 | 2008-08-31 Eli Zaretskii <eliz@gnu.org> | |
9077 | ||
9078 | * msdos.c (BUILD_CHAR_GLYPH): New macro. | |
9079 | (IT_menu_display): Use it instead of SET_CHAR_GLYPH to construct | |
9080 | the menu. Allocate larger buffer for `text', to account for | |
9081 | possible ^C characters. | |
9082 | ||
9083 | 2008-08-31 Martin Rudalics <rudalics@gmx.at> | |
9084 | ||
9085 | * xdisp.c (prepare_menu_bars): Don't call | |
9086 | Vwindow_size_change_functions with arg Qt. | |
9087 | ||
9088 | 2008-08-31 Stefan Monnier <monnier@iro.umontreal.ca> | |
9089 | ||
9090 | * font.h (font_range): | |
9091 | * fileio.c (report_file_error): | |
46e722a9 SM |
9092 | * composite.c (composition_update_it): Yet another int/Lisp_Object |
9093 | mixup (YAILOM). | |
aac0c6e3 MR |
9094 | |
9095 | 2008-08-30 Glenn Morris <rgm@gnu.org> | |
9096 | ||
9097 | * data.c (Fmake_variable_frame_local): Doc fix. | |
9098 | ||
9099 | * frame.c (Fmodify_frame_parameters): Doc fix. | |
9100 | ||
9101 | 2008-08-30 Eli Zaretskii <eliz@gnu.org> | |
9102 | ||
9103 | * w32.c (init_user_info): Allocate buf[] with xmalloc using the size | |
9104 | needed by GetTokenInformation. | |
9105 | (w32_system_process_attributes): Check return values of all system | |
9106 | APIs. | |
9107 | ||
9108 | * msdos.c (IT_display_cursor): Write "CURSOR ON/OFF" to termscript | |
9109 | only when the state changes. | |
9110 | (IT_update_begin, IT_update_end): Add termscript trace. | |
9111 | ||
9112 | * w16select.c (Fw16_set_clipboard_data): Don't encode text if | |
9113 | clipboard is unavailable. Set dst to NULL if it doesn't point to | |
9114 | malloc'ed data. | |
9115 | (Fw16_get_clipboard_data): Initialize htext to NULL, to avoid | |
9116 | passing random values to xfree. | |
9117 | ||
9118 | * dispnew.c (init_display): Set `tty's association in frame's | |
b8ff72fa | 9119 | parameters alist to the name of the terminal device, if that is known. |
aac0c6e3 MR |
9120 | |
9121 | 2008-08-29 Jason Rumney <jasonr@gnu.org> | |
9122 | ||
9123 | * w32uniscribe.c (uniscribe_check_otf): Don't fallback on DFLT script. | |
9124 | ||
9125 | 2008-08-29 Eli Zaretskii <eliz@gnu.org> | |
9126 | ||
9127 | * composite.c (fill_gstring_body): Avoid compiler warnings. | |
9128 | ||
9129 | * font.c (font_fill_lglyph_metrics): Use EMACS_INT in | |
9130 | LGLYPH_SET_CODE to avoid compiler warnings. | |
9131 | ||
2ae37cf0 | 9132 | * makefile.w32-in ($(BLD)/w32uniscribe.$(O)): Depend on composite.h. |
aac0c6e3 MR |
9133 | |
9134 | * composite.h (LGLYPH_SET_CODE): Cast `val' to EMACS_INT. | |
9135 | ||
9136 | * w32uniscribe.c (uniscribe_shape): Shut up compiler warning in | |
9137 | LGLYPH_SET_CODE. | |
9138 | ||
9139 | 2008-08-29 Kenichi Handa <handa@m17n.org> | |
9140 | ||
9141 | * fileio.c (report_file_error): Don't downcase the first character | |
9142 | of errstring if it is still unibyte. | |
9143 | ||
9144 | 2008-08-29 Kenichi Handa <handa@m17n.org> | |
9145 | ||
9146 | These changes are to re-implement the automatic composition so | |
9147 | that it doesn't use text properties. | |
9148 | ||
9149 | * Makefile.in (ftfont.o): Depend on composite.h. | |
9150 | (composite.o): Depend dispextern.h, font.h, frame, and window.h. | |
9151 | ||
9152 | * character.h (Vunicode_category_table): Extern it. | |
9153 | ||
9154 | * character.c (Vunicode_category_table): New variable. | |
9155 | (syms_of_character): DEFVAR_LISP Vunicode_category_table. | |
9156 | ||
9157 | * chartab.c (optimize_sub_char_table): Perform more greedy | |
9158 | optimization. | |
9159 | ||
b8ff72fa SM |
9160 | * composite.h (enum composition_method): |
9161 | Delete COMPOSITION_WITH_GLYPH_STRING. | |
aac0c6e3 MR |
9162 | (COMPOSITION_METHOD): Don't check COMPOSITION_WITH_GLYPH_STRING. |
9163 | (Vcomposition_function_table): Extern it. | |
9164 | (LGSTRING_XXX, LGLYPH_XXX): Macros moved from font.h. | |
9165 | (composition_gstring_put_cache, composition_gstring_from_id) | |
9166 | (composition_gstring_p, composition_gstring_width) | |
9167 | (composition_compute_stop_pos, composition_reseat_it) | |
9168 | (composition_update_it, composition_adjust_point): Extern them. | |
9169 | (Fcomposition_get_gstring): EXFUN it. | |
9170 | ||
d66c0241 | 9171 | * composite.c: Include window.h, frame.h, dispextern.h, font.h. |
aac0c6e3 MR |
9172 | (Vcomposition_function_table) |
9173 | (get_composition_id): Don't handle COMPOSITION_WITH_GLYPH_STRING. | |
b8ff72fa SM |
9174 | (gstring_hash_table, gstring_work, gstring_work_headers): |
9175 | New variables. | |
aac0c6e3 MR |
9176 | (gstring_lookup_cache, composition_gstring_put_cache) |
9177 | (composition_gstring_from_id, composition_gstring_p) | |
9178 | (composition_gstring_width, fill_gstring_header) | |
9179 | (fill_gstring_body, autocmp_chars, composition_compute_stop_pos) | |
9180 | (composition_reseat_it, composition_update_it) | |
b8ff72fa | 9181 | (composition_adjust_point, Fcomposition_get_gstring): New functions. |
aac0c6e3 MR |
9182 | (syms_of_composite): Initialize gstring_hash_table, gstrint_work, |
9183 | and gstring_work_headers. DEFVAR_LISP composition-function-table. | |
a73f9c9d | 9184 | Defsubr composition_get_gstring. |
aac0c6e3 MR |
9185 | |
9186 | * dispextern.h (struct glyph): New union u.cmp. Delete the member | |
9187 | cmp_id. | |
9188 | (struct glyph_string): Delete the member gidx. New members | |
9189 | cmp_id, cmp_from, and cmp_to. | |
9190 | (enum it_method): Delete GET_FROM_COMPOSITION. | |
9191 | (struct composition_it): New struct. | |
9192 | (struct it): New member cmp_it, and iterator_stack_entry.cmp_it. | |
9193 | Delete c, len, cmp_id, cmp_len in u.comp. | |
9194 | ||
9195 | * font.h (enum lgstring_indices): Delete it. | |
b8ff72fa | 9196 | (LGSTRING_XXX, LGLYPH_XXX): Move these macros to composite.h. |
aac0c6e3 | 9197 | (enum lglyph_indices): Likewise. |
b8ff72fa | 9198 | (font_range): Adjust extern. |
aac0c6e3 MR |
9199 | (font_fill_lglyph_metrics): Extern it. |
9200 | ||
9201 | * font.c (QCf): New variable. | |
9202 | (check_gstring): Use LGSTRING_GLYPH_LEN, not LGSTRING_LENGTH. | |
9203 | (font_prepare_composition): Delete this function. | |
9204 | (font_range): Type and arguments changed. | |
9205 | (Ffont_make_gstring, Ffont_fill_gstring): Delete them. | |
9206 | (font_fill_lglyph_metrics): New function. | |
b8ff72fa | 9207 | (Ffont_shape_text): Rename to Ffont_shape_gstring and change arguments. |
aac0c6e3 | 9208 | (syms_of_font): DEFSYM QCf. Delete defsubr for |
b8ff72fa SM |
9209 | Sfont_make_gstring, Sfont_fill_gstring, Sfont_shape_text. |
9210 | Defsubr Sfont_shape_gstring. | |
aac0c6e3 MR |
9211 | |
9212 | * fontset.h (font_for_char): Extern it. | |
9213 | ||
9214 | * fontset.c (font_for_char): New function. | |
9215 | ||
9216 | * ftfont.c: Include composite.h. | |
9217 | (ftfont_resolve_generic_family): Add langset "en" to pattern. | |
b8ff72fa | 9218 | (ftfont_shape_by_flt): Use LGSTRING_GLYPH_LEN, not LGSTRING_LENGTH. |
aac0c6e3 MR |
9219 | |
9220 | * indent.c: Include composite.h and dispextern.h. | |
9221 | (check_composition): Delete this function. | |
9222 | (scan_for_column): Handle composition by | |
9223 | composition_compute_stop_pos, composition_reseat_it, and | |
9224 | composition_update_it. | |
9225 | (compute_motion): Likewise. | |
9226 | (Fvertical_motion): Fix checking of composition. | |
9227 | ||
9228 | * keyboard.c (adjust_point_for_property): Check composition by | |
9229 | composition_adjust_point. | |
9230 | ||
b8ff72fa | 9231 | * nsterm.m (ns_draw_glyph_string): Adjust for the change of |
aac0c6e3 MR |
9232 | struct glyph_string. |
9233 | ||
b8ff72fa SM |
9234 | * term.c (encode_terminal_code): Adjust for the change of struct glyph. |
9235 | (append_composite_glyph): Adjust for the change of struct it and | |
aac0c6e3 MR |
9236 | struct glyph. |
9237 | (produce_composite_glyph): Likewise. | |
9238 | ||
b8ff72fa SM |
9239 | * w32term.c (x_draw_composite_glyph_string_foreground): |
9240 | Adjust for the change of struct glyph_string. | |
aac0c6e3 MR |
9241 | (x_draw_glyph_string): Likewise. |
9242 | ||
9243 | * w32uniscribe.c (struct uniscribe_font_info): Include composite.h. | |
9244 | (uniscribe_shape): Use LGSTRING_GLYPH_LEN, not LGSTRING_LENGTH. | |
9245 | ||
9246 | * xdisp.c: Include font.h. | |
9247 | (it_props): Delete the entry for Qauto_composed. | |
9248 | (init_iterator): Initialize it->cmp_it.id to -1. | |
9249 | (compute_stop_pos): Call composition_compute_stop_pos. | |
b8ff72fa | 9250 | (face_before_or_after_it_pos): Adjust for the change of struct it. |
aac0c6e3 MR |
9251 | (handle_auto_composed_prop): Delete it. |
9252 | (handle_composition_prop): Handle only static composition. | |
9253 | (next_overlay_string): Remove it->method == GET_FROM_COMPOSITION | |
9254 | from xassert. Initialize it->cmp_it.stop_pos. | |
b8ff72fa | 9255 | (push_it): Adjust for the change of struct it. |
aac0c6e3 MR |
9256 | (pop_it): Likewise. |
9257 | (get_next_element): Delete next_element_from_composition. | |
9258 | (CHAR_COMPOSED_P): New macro. | |
9259 | (get_next_display_element): For automatic composition, get a face | |
9260 | from the font in the glyph-string. | |
9261 | (set_iterator_to_next): For GET_FROM_BUFFER and GET_FROM_STRING, | |
b8ff72fa | 9262 | check composition by it->cmp_it.id. Delete GET_FROM_COMPOSITION case. |
aac0c6e3 MR |
9263 | (next_element_from_string): Check if the character at the current |
9264 | position is composed by CHAR_COMPOSED_P. | |
9265 | (next_element_from_buffer): Likewise. | |
d66c0241 JB |
9266 | (next_element_from_composition): Adjust for the change of struct it. |
9267 | Update it->cmp_it. | |
b8ff72fa SM |
9268 | (dump_glyph): Adjust for the change of struct glyph. |
9269 | (fill_composite_glyph_string): Adjust for the change of struct | |
aac0c6e3 MR |
9270 | it and struct glyph. Don't handle automatic composition here. |
9271 | (fill_gstring_glyph_string): New function. | |
9272 | (x_get_glyph_overhangs): Handle automatic composition. | |
b8ff72fa | 9273 | (BUILD_COMPOSITE_GLYPH_STRING): Adjust for the change of struct glyph. |
aac0c6e3 MR |
9274 | (BUILD_GSTRING_GLYPH_STRING): New macro. |
9275 | (BUILD_GLYPH_STRINGS): Call BUILD_GSTRING_GLYPH_STRING for | |
9276 | automatic composition. | |
b8ff72fa | 9277 | (append_composite_glyph): Adjust for the change of struct it and |
aac0c6e3 | 9278 | struct glyph. |
b8ff72fa | 9279 | (x_produce_glyphs): Adjust for the change of struct it. |
aac0c6e3 | 9280 | |
b8ff72fa | 9281 | * xterm.c (x_draw_composite_glyph_string_foreground): Adjust for |
aac0c6e3 MR |
9282 | the change of struct glyph_string. |
9283 | (x_draw_glyph_string): Likewise. | |
9284 | ||
9285 | 2008-08-29 Glenn Morris <rgm@gnu.org> | |
9286 | ||
9287 | * buffer.c (word-wrap): Doc fix. | |
9288 | * xdisp.c (truncate-partial-width-windows): Doc fix. | |
9289 | Increase default to 50. | |
9290 | ||
9291 | 2008-08-29 Chong Yidong <cyd@stupidchicken.com> | |
9292 | ||
9293 | * xdisp.c (update_tool_bar_unwind): New function. | |
9294 | (update_tool_bar): Temporarily set selected frame before building | |
9295 | tool-bar items. | |
9296 | ||
9297 | 2008-08-28 Michael Albinus <michael.albinus@gmx.de> | |
9298 | ||
9299 | * dbusbind.c (XD_ERROR, XD_DEBUG_MESSAGE): Use strncpy and | |
9300 | snprintf, respectively. | |
9301 | (xd_append_arg): Convert strings with Fstring_make_unibyte. | |
9302 | ||
9303 | 2008-08-28 Chong Yidong <cyd@stupidchicken.com> | |
9304 | ||
9305 | * Makefile.in: Revert (undocumented) 2008-08-20 change adding | |
9306 | LDFLAGS to GNUstep CC invocation. | |
9307 | ||
9308 | 2008-08-27 Chong Yidong <cyd@stupidchicken.com> | |
9309 | ||
9310 | * indent.c (Fvertical_motion): Revert last change. Handle the | |
9311 | general case where we are moving forward, and PT spans multiple | |
9312 | screen lines. | |
9313 | ||
9314 | * eval.c (find_handler_clause): Temporarily increase | |
9315 | max-lisp-eval-depth while printing the backtrace buffer, to | |
9316 | guarantee that help-mode code can run. | |
9317 | ||
9318 | 2008-08-27 Eli Zaretskii <eliz@gnu.org> | |
9319 | ||
9320 | * msdos.c (Fmsdos_remember_default_colors): Don't reverse frame | |
9321 | colors under -rv. | |
9322 | (IT_set_frame_parameters): Don't swap foreground and background | |
9323 | colors if `(reverse . t)' is present in the frame properties. | |
9324 | (internal_terminal_init): Call init_frame_faces only for the | |
9325 | initial frame. | |
9326 | ||
9327 | 2008-08-27 Andreas Schwab <schwab@suse.de> | |
9328 | ||
9329 | * dired.c (Ffile_attributes): Avoid compiler warning in bitshift. | |
9330 | ||
9331 | 2008-08-27 Andreas Schwab <schwab@suse.de> | |
9332 | ||
9333 | * search.c (search_buffer): Set char_base to zero only at the end. | |
9334 | ||
9335 | 2008-08-27 Kenichi Handa <handa@m17n.org> | |
9336 | ||
b8ff72fa | 9337 | * fileio.c (report_file_error): Fix handling of multibyte error string. |
aac0c6e3 MR |
9338 | |
9339 | 2008-08-27 Andreas Seltenreich <seltenreich@gmx.de> | |
9340 | ||
9341 | * xterm.c (x_term_init): Temporarily hide the partially | |
9342 | initialized terminal while calling vendor-specific-keysyms. | |
9343 | ||
9344 | 2008-08-26 Eli Zaretskii <eliz@gnu.org> | |
9345 | ||
9346 | * msdos.c (internal_terminal_init): Most initializations done only | |
9347 | once, especially initial_screen_colors[] and termscript open. | |
9348 | ||
9349 | 2008-08-26 Chong Yidong <cyd@stupidchicken.com> | |
9350 | ||
9351 | * eval.c (Fcondition_case): Doc fix. | |
9352 | ||
9353 | * widgetprv.h (EmacsFramePart): Change font member to the new font | |
9354 | struct. | |
9355 | ||
9356 | * widget.c: Include character.h and font.h for XSETFONT. | |
9357 | (setup_frame_gcs): Compute X font id from font struct, just once. | |
9358 | ||
9359 | 2008-08-26 Eli Zaretskii <eliz@gnu.org> | |
9360 | ||
9361 | * term.c (get_named_tty): Fix last change. | |
9362 | ||
9363 | 2008-08-26 Chong Yidong <cyd@stupidchicken.com> | |
9364 | ||
9365 | * indent.c (Fvertical_motion): If moving forward starting from a | |
b8ff72fa | 9366 | multi-line string, move the iterator to the last line of that string. |
aac0c6e3 MR |
9367 | |
9368 | 2008-08-25 Eli Zaretskii <eliz@gnu.org> | |
9369 | ||
9370 | * frame.c (do_switch_frame): Mark previously displayed frame as | |
9371 | obscured for FRAME_MSDOS_P frames as well. | |
9372 | ||
9373 | 2008-08-24 Eli Zaretskii <eliz@gnu.org> | |
9374 | ||
9375 | * frame.c (make_terminal_frame): Initialize f->terminal, | |
9376 | f->terminal->reference_count, and scroll bars on MS-DOS as well. | |
9377 | Set the top frame to newly created frame. | |
9378 | (Fmake_terminal_frame): Reuse the_only_display_info. | |
9379 | ||
9380 | * vm-limit.c (get_lim_data) [MSDOS]: Use alternative methods of | |
9381 | estimating available memory. | |
9382 | ||
b97439ce | 9383 | 2008-08-23 David Reitter <david.reitter@gmail.com> |
aac0c6e3 MR |
9384 | |
9385 | * nsterm.m (ns_draw_window_cursor): Don't call | |
9386 | NSDisableScreenUpdates and NSEnableScreenUpdates on | |
9387 | non-NS_IMPL_COCOA systems. | |
9388 | ||
9389 | 2008-08-23 Andreas Schwab <schwab@suse.de> | |
9390 | ||
9391 | * process.c (procfs_system_process_attributes): Fix use of | |
9392 | uninitialized variables. | |
9393 | ||
9394 | 2008-08-23 Eli Zaretskii <eliz@gnu.org> | |
9395 | ||
9396 | * emacs.c (main) [MSDOS]: Call syms_of_xmenu. | |
9397 | ||
9398 | * dispnew.c (init_display): Remove MS-DOS specific conditions for | |
9399 | calling tty-set-up-initial-frame-faces. | |
9400 | ||
b8ff72fa SM |
9401 | * xmenu.c (Fx_popup_dialog, Fx_popup_menu, xmenu_show): |
9402 | Allow MSDOS frames along with X frames. | |
aac0c6e3 MR |
9403 | |
9404 | * termhooks.h (TERMINAL_ACTIVE_P): Handle output_msdos_raw in | |
9405 | addition to output_termcap. | |
9406 | ||
9407 | * xdisp.c (redisplay_internal) [MSDOS]: Don't call set_tty_color_mode. | |
9408 | ||
9409 | * termchar.h (FRAME_TTY): Support output_msdos_raw. | |
9410 | (struct tty_display_info) [MSDOS]: Add fields related to mouse | |
9411 | highlight. | |
9412 | ||
9413 | * process.c [!subprocesses]: Define QCname. | |
9414 | (syms_of_process): Intern and staticpro it. | |
9415 | ||
9416 | * w16select.c (Fw16_set_clipboard_data, Fw16_get_clipboard_data): | |
b8ff72fa SM |
9417 | Adjust for changes in encoding/decoding routines. |
9418 | Use encode_coding_object and decode_coding_object instead of | |
aac0c6e3 MR |
9419 | encode_coding and decode_coding. |
9420 | ||
b8ff72fa | 9421 | * sysdep.c (init_sys_modes): Call dos_ttraw with tty_out as argument. |
aac0c6e3 MR |
9422 | |
9423 | * dosfns.c: Include frame.h before termhooks.h. | |
9424 | (dos_cleanup): Use CURTTY ()->termscript instead of a global | |
9425 | variable termscript. | |
9426 | ||
9427 | * s/msdos.h (USER_FULL_NAME): Define. | |
9428 | (SYSTEM_PURESIZE_EXTRA): Bump up to 100K. | |
9429 | ||
9430 | * editfns.c (USER_FULL_NAME): Define to pw->pw_gecos if undefined. | |
9431 | (Fuser_full_name): Use USER_FULL_NAME instead of a literal | |
9432 | pw->pw_gecos. | |
9433 | ||
9434 | * keyboard.c (handle_interrupt) [MSDOS]: Call cursor_to with | |
9435 | SELECTED_FRAME as additional (1st) argument. | |
9436 | (tty_read_avail_input): Handle output_msdos_raw in | |
9437 | addition to output_termcap. | |
9438 | ||
9439 | * msdos.c: Include frame.h before termhooks.h. | |
9440 | (mouse_on, mouse_off, mouse_moveto, mouse_init) | |
9441 | (msdos_set_cursor_shape, IT_set_face, IT_write_glyphs) | |
9442 | (show_mouse_face, IT_clear_end_of_line, IT_clear_screen) | |
9443 | (IT_clear_to_end, IT_cursor_to, IT_display_cursor, IT_cmgoto) | |
9444 | (IT_set_terminal_modes, IT_reset_terminal_modes) | |
9445 | (IT_set_frame_parameters): Use tty->termscript instead of a global | |
9446 | variable termscript. | |
9447 | (IT_write_glyphs): Use tty->terminal->terminal_coding instead of a | |
9448 | global variable terminal_coding. Don't refer to | |
9449 | Vnonascii_translation_table. | |
9450 | (internal_terminal_init): Set Vwindow_system in current_kboard. | |
9451 | Don't use TTY_CHAR_INS_DEL_OK. Set Vinitial_window_system. | |
9452 | Announce date and time of session start, if termscript is open. | |
9453 | Don't zero out the_only_display_info (it is done in | |
b8ff72fa SM |
9454 | term.c:init_tty). Open termscript only of not already open. |
9455 | Log "SCREEN SAVED" here, instead of IT_set_terminal_modes. Init mouse | |
aac0c6e3 MR |
9456 | here instead of dos_ttraw. Don't initialize display if this is an |
9457 | initial tty. Don't set FRAME_FONT. | |
9458 | (Vwindow_system_version): Bump to 23. | |
9459 | (dos_ttraw): Accept a TTY argument; all callers fixed. If mouse | |
9460 | is available, set up mouse_position_hook. | |
9461 | (dos_ttraw, IT_set_terminal_modes): If called with initial | |
9462 | terminal, do nothing. | |
9463 | (IT_set_frame_parameters): Handle the Qtty_type frame | |
9464 | parameter by calling internal_terminal_init. | |
9465 | (dos_set_window_size, show_mouse_face) | |
9466 | (clear_mouse_face, IT_note_mode_line_highlight) | |
9467 | (IT_note_mouse_highlight, IT_update_begin, IT_frame_up_to_date) | |
9468 | (dos_rawgetc): Use tty_display_info instead of x_display_info. | |
9469 | (initialize_msdos_display): New function. | |
9470 | (IT_cursor_to, IT_clear_to_end, IT_clear_screen) | |
9471 | (IT_clear_end_of_line, IT_insert_glyphs, IT_write_glyphs) | |
9472 | (IT_delete_glyphs, IT_ring_bell, IT_reset_terminal_modes) | |
9473 | (IT_set_terminal_modes, IT_set_terminal_window, IT_update_begin): | |
b8ff72fa | 9474 | Accept additional argument: a pointer to a frame. Update all callers. |
aac0c6e3 MR |
9475 | (request_sigio, unrequest_sigio): Don't define, now defined on |
9476 | sysdep.c. | |
9477 | (IT_write_glyphs): Rewrite to use encode_terminal_code. | |
9478 | ||
9479 | * term.c [MSDOS]: Include msdos.h. | |
9480 | (init_tty) [MSDOS]: Reuse most of WINDOWSNT branch. Change cpp | |
9481 | conditional to DOS_NT. Allow only one call to this function in a | |
9482 | session. Don't allocate a new struct tty_display_info; instead, | |
9483 | reuse the_only_display_info. Call get_tty_size to get screen | |
9484 | dimensions. Call init_baud_rate to set bad_rate. | |
9485 | (dissociate_if_controlling_tty) [MSDOS]: Ifdef away function body. | |
9486 | (Fsuspend_tty) [MSDOS]: Don't close input and output. | |
b8ff72fa | 9487 | (Fresume_tty) [MSDOS]: Don't reopen the TTY; instead, use stdin/stdout. |
aac0c6e3 MR |
9488 | (get_tty_terminal, get_named_tty, Ftty_type) |
9489 | (Fcontrolling_tty_p): Handle output_msdos_raw in addition to | |
9490 | output_termcap. | |
b8ff72fa SM |
9491 | (Fresume_tty, Fsuspend_tty, init_tty, delete_tty): |
9492 | Call add_keyboard_wait_descriptor and delete_keyboard_wait_descriptor | |
2ae37cf0 | 9493 | only when subprocesses are supported. |
aac0c6e3 MR |
9494 | |
9495 | * frame.c (make_terminal_frame) [MSDOS]: Adjust initialization of | |
9496 | f->output_data.x. | |
9497 | (Fmake_terminal_frame) [MSDOS]: Don't allow creation of new | |
9498 | terminal devices. | |
9499 | ||
5582fbc7 | 9500 | * msdos.h: Remove definition of struct x_display_info and struct |
aac0c6e3 MR |
9501 | x_output. |
9502 | (FRAME_FONT): Use output_data.tty. | |
9503 | (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): Don't define. | |
b8ff72fa SM |
9504 | (struct x_display_info): Rename from display_info. Update all users in |
9505 | msdos.c. | |
aac0c6e3 | 9506 | (struct x_output): Remove background_pixel and foreground_pixel. |
b8ff72fa | 9507 | (the_only_display_info): Rename from the_only_x_display. |
aac0c6e3 MR |
9508 | (dos_ttraw): Update prototype. |
9509 | ||
9510 | * Makefile.in (MSDOS_OBJ): Add xmenu.o. | |
9511 | (SOME_MACHINE_LISP): Add ../lisp/term/pc-win.elc. | |
9512 | ||
9513 | 2008-08-23 Jason Rumney <jasonr@gnu.org> | |
9514 | ||
9515 | * image.c (enum tiff_keyword_index, tiff_format): Add :index keyword. | |
9516 | (fn_TIFFSetDirectory): New library function used. | |
9517 | (init_tiff_functions) [HAVE_NTGUI]: Initialize it. | |
9518 | (tiff_load): Use :index to select among multiple images. Set count | |
9519 | property when multiple images exist. | |
9520 | (gif_format): Use :index, not :image. | |
9521 | ||
9522 | 2008-08-23 Chong Yidong <cyd@stupidchicken.com> | |
9523 | ||
9524 | * xdisp.c (try_scrolling): Check INT_MAX instead of | |
9525 | MOST_POSITIVE_FIXNUM for maximum integer value. Include limits.h | |
9526 | to obtain INT_MAX. | |
9527 | ||
9528 | 2008-08-21 İsmail Dönmez <ismail@namtrac.org> (tiny change) | |
9529 | ||
9530 | * xterm.c (x_delete_display): Don't call XrmDestroyDatabase on GTK+. | |
9531 | ||
9532 | 2008-08-21 Christian Faulhammer <opfer@gentoo.org> (tiny change) | |
9533 | ||
9534 | * Makefile.in (temacs${EXEEXT}): On GNUstep, link to appropriate | |
9535 | GNUstep library location. | |
9536 | ||
9537 | 2008-08-21 Chong Yidong <cyd@stupidchicken.com> | |
9538 | ||
9539 | * xfaces.c (x_update_menu_appearance): Check validity of menu font | |
9540 | before using it. | |
9541 | ||
9542 | * puresize.h (BASE_PURESIZE): Increase to 1250000. | |
9543 | ||
9544 | 2008-08-20 Adrian Robert <Adrian.B.Robert@gmail.com> | |
9545 | ||
9546 | * nsfns.m (ns-read-file-name): Add casts to avoid warning. | |
9547 | (ns-convert-utf8-nfd-to-nfc): Warn if cannot execute correctly. | |
9548 | * nsfont.m (nsfont_draw): Compare indexed colors to 0, not nil. | |
9549 | * nsterm.h (EmacsView-unlockFocusNeedsFlush:): Add declaration. | |
9550 | (EmacsApp-cursor_blink_handler): Remove declaration. | |
9551 | * nsterm.m (ns_draw_glyph_string): Update first conditional body to | |
9552 | match 01 Feb 2008 changes in xterm.c. | |
9553 | (ns_read_socket): Add cast to avoid warning. | |
9554 | (EmacsApp-application:openFiles:): Don't call replyToOpenOrPrint: on | |
9555 | GNUstep. | |
9556 | ||
9557 | 2008-08-20 Chong Yidong <cyd@stupidchicken.com> | |
9558 | ||
9559 | * xselect.c (x_get_foreign_selection): Return nil if desired | |
9560 | selection could not be obtained, instead of signalling an error. | |
9561 | ||
9562 | 2008-08-20 David Reitter <david.reitter@gmail.com> | |
9563 | ||
9564 | * nsfns.m (ns_lisp_to_cursor_type): Replace with generic xfns.c. | |
9565 | * nsterm.m: Remove ns-specific code for cursor blinking. | |
9566 | (ns_draw_window_cursor): Clear cursor properly rather than | |
9567 | redrawing the area. Respect width of bar cursors. | |
9568 | These changes enable the use of generic blink-cursor-mode and | |
9569 | generic cursor types in NS and support smooth cursor movements (do | |
9570 | not blink off after command). | |
9571 | * xdisp.c (get_phys_cursor_geometry): Redraw wider rectangle on | |
9572 | Nextstep, too. | |
9573 | ||
9574 | 2008-08-19 Kenichi Handa <handa@m17n.org> | |
9575 | ||
9576 | * font.c (Vfont_log_deferred): New variable. | |
9577 | (font_add_log): Check Vfont_log_deferred. | |
9578 | (font_deferred_log): New function. | |
9579 | ||
9580 | * font.h (font_deferred_log): Extern it. | |
9581 | ||
9582 | * fontset.c (reorder_font_vector): Use encoding charset of fonts | |
9583 | for sorting. | |
9584 | (face_for_char): Use deferred log. | |
9585 | ||
9586 | 2008-08-18 Kenichi Handa <handa@m17n.org> | |
9587 | ||
9588 | * fontset.c (face_for_char): Add font log. | |
9589 | ||
9590 | * font.c (font_add_log): Add the font properties :script, :lang, | |
9591 | and :otf in the log. | |
9592 | ||
9593 | 2008-08-17 Chong Yidong <cyd@stupidchicken.com> | |
9594 | ||
9595 | * xdisp.c: Remove dead code. | |
9596 | (handle_invisible_prop, next_overlay_string): Defer call to | |
9597 | setup_for_ellipsis. | |
9598 | (handle_stop, set_iterator_to_next): Call setup_for_ellipsis. | |
9599 | ||
9600 | 2008-08-15 Chong Yidong <cyd@stupidchicken.com> | |
9601 | ||
9602 | * xfaces.c (lookup_derived_face): Properly handle possible zero | |
9603 | return value of get_lface_attributes. | |
9604 | (merge_faces): Don't tell lookup_derived_face to signal an error | |
9605 | if face is not found. | |
9606 | ||
9607 | * dired.c (Fdirectory_files): Doc fix. | |
9608 | ||
9609 | * process.c (make_process): Initialize kill_without_query struct | |
9610 | member. | |
9611 | ||
9612 | 2008-08-15 Eli Zaretskii <eliz@gnu.org> | |
9613 | ||
9614 | * w32.c (w32_system_process_attributes) [_MSC_VER < 1300]: | |
9615 | Alternative calculation of totphys for Visual Studio 6. | |
9616 | ||
9617 | * w32fns.c [_MSC_VER && _MSC_VER < 1300]: Declare HMONITOR. | |
9618 | ||
9619 | * w32.c (_MEMORY_STATUS_EX, MEMORY_STATUS_EX, LPMEMORY_STATUS_EX): | |
9620 | Rename from _MEMORYSTATUSEX, MEMORYSTATUSEX, LPMEMORYSTATUSEX. | |
9621 | All users changed. | |
9622 | (stat): Only root directory passed to GetDriveType. Allow RAM | |
9623 | disk as well as local fixed disk when w32-get-true-file-attributes | |
9624 | is set to `local'. | |
9625 | (CopySid_Proc, EqualSid_Proc, GetLengthSid_Proc): New typedefs. | |
9626 | (equal_sid, get_length_sid, copy_sid): New wrapper functions. | |
9627 | (w32_cached_id, w32_add_to_cache): New functions. | |
9628 | (get_name_and_id): Look account names in the cache before calling | |
9629 | lookup_account_sid. | |
9630 | (g_b_init_get_length_sid, g_b_init_equal_sid, g_b_init_copy_sid): | |
9631 | New initialization flags. | |
9632 | (globals_of_w32): Initialize them to zero. | |
9633 | (w32_system_process_attributes): Use w32_cached_id and | |
9634 | w32_add_to_cache. | |
9635 | ||
9636 | 2008-08-14 Lawrence Mitchell <wence@gmx.li> | |
9637 | ||
9638 | * lread.c (Fread_char, Fread_char_exclusive): If no character | |
9639 | event is read before timeout is reached, return nil, rather than | |
9640 | converting to a number. | |
9641 | ||
9642 | 2008-08-14 Chong Yidong <cyd@stupidchicken.com> | |
9643 | ||
9644 | * fns.c (use_dialog_box): Doc fix. | |
9645 | ||
9646 | * s/darwin.h: Undefine HAVE_RES_INIT, which appears to be harmful | |
9647 | on OS X. | |
9648 | ||
9649 | 2008-08-13 Chong Yidong <cyd@stupidchicken.com> | |
9650 | ||
9651 | * frame.c (Qns_parse_geometry): New var. | |
9652 | (Fx_parse_geometry): For HAVE_NS, call ns-parse-geometry. | |
9653 | ||
9654 | 2008-08-11 Chong Yidong <cyd@stupidchicken.com> | |
9655 | ||
9656 | * xdisp.c (x_produce_glyphs): Handle the case when font has no | |
9657 | space character in calculating tabs. | |
9658 | ||
9659 | 2008-08-11 Dan Nicolaescu <dann@ics.uci.edu> | |
9660 | ||
9661 | * Makefile.in (bootstrap-emacs): Use ln -f in the CANNOT_DUMP case. | |
9662 | ||
9663 | 2008-08-10 Glenn Morris <rgm@gnu.org> | |
9664 | ||
9665 | * process.c (procfs_system_process_attributes): Use EMACS_INTs to | |
9666 | silence gcc "limited range of data type" warnings in some | |
9667 | make_fixnum_or_float calls. | |
9668 | ||
9669 | 2008-08-09 Eli Zaretskii <eliz@gnu.org> | |
9670 | ||
9671 | * w32.c (w32_system_process_attributes): If the process does not | |
9672 | exist, return nil. | |
9673 | ||
9674 | * w32.c: Include thelp32.h, psapi.h and coding.h. | |
9675 | (_MEMORYSTATUSEX, _PROCESS_MEMORY_COUNTERS_EX): New struct | |
9676 | declarations. | |
9677 | (CreateToolhelp32Snapshot_Proc, Process32First_Proc) | |
9678 | (Process32Next_Proc): New typedefs. | |
9679 | (g_b_init_create_toolhelp32_snapshot, g_b_init_process32_first) | |
9680 | (g_b_init_process32_next, g_b_init_open_thread_token) | |
9681 | (g_b_init_impersonate_self, g_b_init_revert_to_self) | |
9682 | (g_b_init_get_process_memory_info, g_b_init_global_memory_status) | |
9683 | (g_b_init_get_process_working_set_size) | |
9684 | (g_b_init_global_memory_status_ex): New static variables. | |
9685 | (globals_of_w32): Initialize them. | |
9686 | (create_toolhelp32_snapshot, process32_first, process32_next) | |
9687 | (open_thread_token, impersonate_self, revert_to_self) | |
9688 | (get_process_memory_info, get_process_working_set_size) | |
9689 | (global_memory_status, global_memory_status_ex): New wrapper | |
9690 | functions. | |
9691 | (w32_list_system_processes, w32_system_process_attributes) | |
9692 | (enable_privilege, restore_privilege, ltime, process_times): | |
9693 | New functions. | |
9694 | (convert_time_raw): New function. | |
9695 | (convert_time): Remove conversion of FILETIME into time in 100 | |
9696 | nsec units, call convert_time_raw instead. | |
9697 | ||
9698 | * process.h (w32_list_system_processes, w32_system_process_attributes): | |
9699 | Add prototypes. | |
9700 | (Qeuid, Qegid, Qcomm, Qstate, Qppid, Qpgrp, Qsess, Qttname) | |
9701 | (Qminflt, Qmajflt, Qcminflt, Qcmajflt, Qutime, Qstime, Qcutime) | |
9702 | (Qpri, Qnice, Qthcount, Qstart, Qvsize, Qrss, Qargs, Quser, Qgroup) | |
9703 | (Qetime, Qpcpu, Qpmem, Qtpgid, Qcstime): Add extern declarations. | |
9704 | ||
9705 | * process.c (Fsystem_process_attributes): Doc fix. | |
9706 | ||
9707 | 2008-08-08 Chong Yidong <cyd@stupidchicken.com> | |
9708 | ||
9709 | * xdisp.c (move_it_to): When stopping at a charpos, check if that's | |
9710 | a continued multi-char glyph; if so, advance to the actual glyph. | |
9711 | ||
9712 | 2008-08-07 Dan Nicolaescu <dann@ics.uci.edu> | |
9713 | ||
9714 | * s/darwin.h (OTHER_FILES): Do not define here, defined in config.in. | |
9715 | ||
9716 | * Makefile.in (ALL_OBJC_CFLAGS): New variable. | |
9717 | (.m.o): Use it. | |
9718 | * config.in: Regenerate. | |
9719 | ||
9720 | 2008-08-07 Chong Yidong <cyd@stupidchicken.com> | |
9721 | ||
9722 | * xdisp.c (redisplay_window): Revert last change. | |
9723 | (try_window): Check bottom scroll margin too. | |
9724 | ||
9725 | 2008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com> | |
9726 | ||
9727 | * config.in: Regenerate. | |
9728 | ||
9729 | * Makefile.in (emacs): Remove ifndef NS conditional for 'emacs | |
9730 | -list-load-path-shadows'. | |
9731 | (nsgui.h): Reduce number of things depending on it. | |
9732 | ||
9733 | 2008-08-06 Chong Yidong <cyd@stupidchicken.com> | |
9734 | ||
9735 | * xdisp.c (try_scrolling): Use iterator to find the scroll margin, | |
9736 | instead of window-end which does the wrong thing at eob. | |
9737 | (try_cursor_movement): Minor optimization. | |
9738 | (redisplay_window): If scroll margin is defined, don't assume | |
9739 | window doesn't need scrolling. | |
9740 | ||
9741 | 2008-08-06 Adrian Robert <Adrian.B.Robert@gmail.com> | |
9742 | ||
9743 | * config.in: Regenerate. | |
9744 | ||
9745 | * Makefile.in: Move nsXXX.m dependencies into big alphabetical list. | |
9746 | (mostlyclean): Don't delete *.d under NS. | |
9747 | ||
9748 | * nsterm.h (NS_HAVE_INTEGER): Change to NS_HAVE_NSINTEGER. | |
9749 | ||
9750 | 2008-08-06 Kenichi Handa <handa@m17n.org> | |
9751 | ||
9752 | * xfont.c (xfont_list_family): Return a list of symbols, not strings. | |
9753 | ||
9754 | 2008-08-06 Andreas Schwab <schwab@suse.de> | |
9755 | ||
9756 | * config.in: Regenerate. | |
9757 | ||
9758 | 2008-08-05 Chong Yidong <cyd@stupidchicken.com> | |
9759 | ||
9760 | * xdisp.c (redisplay_window): Don't enforce scroll-margin when | |
9761 | forcing a window start. | |
9762 | ||
9763 | * fileio.c (Vauto_save_list_file_name): Move here from file.el. | |
9764 | (auto_save_1): Update modtime when auto-save-list-file-name is on. | |
9765 | ||
9766 | 2008-08-04 Adrian Robert <Adrian.B.Robert@gmail.com> | |
9767 | ||
9768 | * emacs.c (main): Under NS, set working dir to HOME when get a "psn" | |
9769 | argument. | |
9770 | ||
9771 | 2008-08-05 Juanma Barranquero <lekktu@gmail.com> | |
9772 | ||
9773 | * buffer.c (syms_of_buffer) <scroll-up-aggressively>: | |
9774 | <scroll-down-aggressively, before-change-functions>: | |
9775 | <after-change-functions>: Reflow docstrings. | |
9776 | ||
9777 | 2008-08-04 Adrian Robert <Adrian.B.Robert@gmail.com> | |
acd0102a | 9778 | Ken Raeburn <raeburn@gnu.org> |
aac0c6e3 MR |
9779 | |
9780 | Dock menu customization, based on a patch by Ken Raeburn, plus some | |
9781 | other fixes. | |
9782 | * nsmenu.m (dockMenu): New variable. | |
9783 | (EmacsDialog -clicked:): Fix mistake in change of 2008-07-17. | |
9784 | ||
9785 | * nsterm.h (dockMenu): Declare. | |
9786 | ||
9787 | * nsterm.m (KEY_NS_NEW_FRAME): New definition. | |
9788 | (ns_term_init): Initialize dockMenu. | |
9789 | (EmacsApp -newFrame:, -applicationDockMenu:): New methods. | |
9790 | (EmacsView -windowShouldClose:): Don't behave specially if <= 1 frame | |
9791 | left. | |
9792 | ||
9793 | * lisp.h (LSB_TAG): Use on DARWIN_OS, not NS_IMPL_COCOA. | |
9794 | ||
9795 | 2008-08-04 Chong Yidong <cyd@stupidchicken.com> | |
9796 | ||
9797 | * nsterm.h: Test directly for NS_HAVE_INTEGER before defining it. | |
9798 | ||
9799 | * config.in: Regenerate. | |
9800 | ||
9801 | 2008-08-04 Seiji Zenitani <zenitani@mac.com> | |
9802 | ||
9803 | * nsfns.m (x-create-frame): Set the frame parameter alpha to nil. | |
9804 | ||
9805 | 2008-08-04 Chong Yidong <cyd@stupidchicken.com> | |
9806 | ||
9807 | * nsterm.h (find_and_call_menu_selection): Fix prototype. | |
9808 | ||
9809 | 2008-08-04 Adrian Robert <Adrian.B.Robert@gmail.com> | |
9810 | ||
9811 | * emacs.c (main: unexec_init_emacs_zone): Call if on DARWIN_OS. | |
9812 | ||
9813 | * keyboard.h: Comment an #endif. | |
9814 | ||
9815 | * lisp.h (have_menus_p): Adjust comment. | |
9816 | ||
9817 | * menu.c (find_and_return_menu_selection): Fix comparison with | |
9818 | client_data. | |
9819 | ||
9820 | * nsmenu.m (popup_activated_flag): New variable. | |
9821 | (popup_activated): New function. | |
9822 | (menu-or-popup-active-p): New exported lisp definition. | |
9823 | (ns_popup_menu): Set popup_activated_flag. Call discard_menu_items() | |
9824 | when popup done. | |
9825 | (ns_popup_dialog): Set popup_activated_flag. | |
9826 | ||
9827 | * nsterm.m (EmacsView -conversationIdentifier): Use NSInteger | |
9828 | version for GNUstep (handled by conditional typedef in nsterm.m). | |
9829 | (ns_get_color): Remove special-casing for "darkblue", "dark blue" (now | |
9830 | in rgb.txt). | |
9831 | ||
9832 | * process.c (init_process): Use DARWIN_OS, not DARWIN. | |
9833 | ||
9834 | * sysselect.h: Conditionalize init_process undef on DARWIN_OS. | |
9835 | ||
9836 | * syssignal.h (FORWARD_SIGNAL_TO_MAIN_THREAD): Do it also under NS. | |
9837 | ||
9838 | * xdisp.c (redisplay_internal, note_mouse_highlight): Under NS, | |
9839 | shortcircuit if popup_activated like GTK and X toolkit. | |
9840 | ||
9841 | * m/inter386.h: Change DARWIN to DARWIN_OS. | |
9842 | ||
9843 | * s/darwin.h: Add #define DARWIN_OS. Get rid of C_SWITCH_SYSTEM def. | |
9844 | Change LIBS_MACGUI to LIBS_NSGUI. Move temacs-conditionalized defs | |
9845 | closer to C_SWITCH_SYSTEM_TEMACS so usage is understood. Expand | |
9846 | comment on NO_SOCK_SIGIO. | |
9847 | ||
9848 | 2008-08-03 Chong Yidong <cyd@stupidchicken.com> | |
9849 | ||
9850 | * nsterm.m (windowDidResize): Remove stopModal call. | |
9851 | ||
9852 | 2008-08-03 Andreas Schwab <schwab@suse.de> | |
9853 | ||
9854 | * vm-limit.c (get_lim_data) [HAVE_GETRLIMIT && RLIMIT_AS]: Define. | |
9855 | (check_memory_limits): Don't handle HAVE_GETRLIMIT here. | |
9856 | ||
9857 | 2008-08-02 Chong Yidong <cyd@stupidchicken.com> | |
9858 | ||
9859 | * vm-limit.c (check_memory_limits): Don't use getrlimit on cygwin. | |
9860 | Don't use uninitialized pointer variable when using getrlimit. | |
9861 | ||
9862 | 2008-08-02 Jason Rumney <jasonr@gnu.org> | |
9863 | ||
9864 | * w32font.c (compute_metrics): Don't mess with glyph_idx setting here. | |
9865 | ||
9866 | 2008-08-02 Eli Zaretskii <eliz@gnu.org> | |
9867 | ||
9868 | * alloc.c (NSTATICS): Bump to 0x640. | |
9869 | ||
9870 | * s/gnu-linux.h (HAVE_PROCFS, LISTPROC, PROCATTR): New defines. | |
9871 | ||
9872 | * lisp.h: Add prototype for directory_files_internal. | |
9873 | ||
9874 | * process.c (Fsystem_processes_list, Fsystem_process_attributes): | |
9875 | New functions. | |
9876 | (syms_of_process): Defsubr them. Add initializations for various | |
9877 | Q* symbols used in procfs_system_process_attributes. | |
9878 | (procfs_list_system_processes, procfs_system_process_attributes) | |
9879 | [HAVE_PROCFS]: New functions. | |
9880 | (time_from_jiffies, ltime_from_jiffies, get_up_time, procfs_ttyname) | |
9881 | (procfs_get_total_memory): New functions. | |
9882 | ||
9883 | 2008-08-01 Juanma Barranquero <lekktu@gmail.com> | |
9884 | ||
9885 | * xfaces.c (Fx_load_color_file): Fix previous change; | |
9886 | it is #ifdef WINDOWSNT, not WINDOWS_NT. | |
9887 | ||
9888 | 2008-08-01 Michael Albinus <michael.albinus@gmx.de> | |
9889 | ||
9890 | * dbusbind.c (xd_read_message): Handle D-Bus error messages. | |
9891 | ||
9892 | 2008-08-01 Adrian Robert <Adrian.B.Robert@gmail.com> | |
9893 | ||
9894 | * nsterm.h (NSInteger, NSUInteger): Add defines for non-Leopard. | |
9895 | ||
9896 | 2008-08-01 Chong Yidong <cyd@stupidchicken.com> | |
9897 | ||
9898 | * nsfns.m (ns_frame_parm_handlers): Add empty entry for x_set_alpha. | |
9899 | ||
9900 | * nsterm.m (EmacsApp -application:openFiles:): GNUstep does not | |
9901 | define NSApplicationDelegateReplySuccess. | |
9902 | (EmacsView -converstationIdentifier): Use long instead of | |
9903 | NSInteger for GNUstep, since it doesn't have NSInteger. | |
9904 | ||
9905 | * xmenu.c: Revert last change. | |
9906 | ||
9907 | * keyboard.h: Fix last change. | |
9908 | ||
9909 | 2008-08-01 Juanma Barranquero <lekktu@gmail.com> | |
9910 | ||
9911 | * xfaces.c (x-load-color-file): Use RGB() instead of manually shifting | |
9912 | on Windows. | |
9913 | ||
9914 | 2008-08-01 Adrian Robert <Adrian.B.Robert@gmail.com> | |
9915 | ||
9916 | Warning clearing and clean-up in NS port. | |
9917 | * keyboard.h (xmalloc_widget_value, digest_single_submenu): | |
9918 | Add prototypes. | |
9919 | * nsgui.h (FACE_DEFAULT): Remove, unused. | |
9920 | (XGCValues): Change colors to unsigned long. | |
9921 | * nsterm.h (EmacsApp): Add declaration of all methods implemented in | |
9922 | nsterm.m. | |
9923 | (EmacsMenu -addItemWithWidgetValue:): Change to use NSMenuItem class. | |
9924 | (ns_list_fonts): Remove, unused. | |
9925 | (ns_font_to_xlfd, ns_fontname_to_xlfd): Drop prototypes. | |
9926 | * nsfns.m (interpret_services_menu): Use NSMenuItem class. | |
9927 | * nsfont.m (nsfont_open): Fix cast error in glyphs,metrics alloc. | |
9928 | (nsfont_draw): Compare face colors to 0, not nil. | |
9929 | * nsmenu.m (struct widget_value): Drop unneeded declaration. | |
9930 | (EmacsMenu -addItemWithWidgetValue:, -fillWithWidgetValue:) | |
9931 | (-addSubmenuWithTitle:): Use NSMenuItem class. | |
9932 | (ns_popup_menu): Use NO, not NULL, for enabled setting. | |
9933 | * nsterm.m (ns_draw_glyph_string): Don't compare font to ~0. | |
9934 | (ns_clip_to_row): Make gc arg a BOOL. | |
9935 | (ns_draw_fringe_bitmap, ns_draw_window_cursor): Use YES, NO in | |
9936 | ns_clip_to_row() call. | |
9937 | (ns_draw_glyph_string): Drop face comparison to ~0 (no longer | |
9938 | used). Cast FRAME_FONT assignments. | |
9939 | (ns_read_socket): Cast call to EmacsApp-fulfillService:withArg:. | |
9940 | (ns_string_to_lispmod): Change arg to const char. | |
9941 | (ns_term_init): Use NSMenuItem class. | |
9942 | (EmacsApp -openFile:): Move to different section of file. | |
9943 | (EmacsApp -application:openFiles:): Don't return a value, call | |
9944 | -replyToOpenOrPrint:. | |
9945 | (EmacsView -keyDown:): Fix up cast. | |
9946 | (EmacsView -converstationIdentifier): Use NSInteger instead of long. | |
9947 | (EmacsView -menuDown:): Cast tag in call to | |
9948 | find_and_call_menu_selection(). | |
9949 | (ns_list_fonts): Remove, unused. | |
9950 | (ns_font_to_xlfd): Make static. Cast result of UTF8String. | |
9951 | (ns_fontname_to_xlfd): Make static. | |
9952 | * w32menu.c (xmalloc_widget_value, digest_single_submenu): | |
9953 | Remove prototypes (now in keyboard.h). | |
9954 | (next_menubar_widget_id): Remove, unused. | |
9955 | * xmenu.c (xmalloc_widget_value, digest_single_submenu): | |
9956 | Remove prototypes (now in keyboard.h). | |
9957 | * xfaces.c (ns_list_fonts, w32_list_fonts): Remove, unused. | |
9958 | ||
9959 | 2008-08-01 Dan Nicolaescu <dann@ics.uci.edu> | |
9960 | ||
9961 | * Makefile.in (dispnew.o, gtkutil.o, sound.o, atimer.o) | |
9962 | (floatfns.o): Depend on syssignal.h. | |
9963 | (term.o): Depend on syssignal.h, systty.h, and $(INTERVAL_SRC). | |
9964 | ||
9965 | * systty.h: Fix previous change that removed BSD_TERMIOS. | |
9966 | Add comments to #ifdefs. | |
9967 | ||
9968 | 2008-08-01 Adrian Robert <Adrian.B.Robert@gmail.com> | |
9969 | ||
9970 | * w32fns.c (w32-load-color-file): Remove. | |
9971 | (x-open-connection): Use renamed Fx_load_color_file. | |
9972 | * xfaces.c (x-load-color-file): Add. | |
9973 | * nsterm.m (ns_initialize): Load colors from etc/rgb.txt instead of | |
9974 | Emacs.clr. | |
9975 | (hide_hourglass): BLOCK_INPUT before UNBLOCK. | |
9976 | ||
9977 | 2008-07-31 Michael Albinus <michael.albinus@gmx.de> | |
9978 | ||
9979 | * dbusbind.c (Fdbus_call_method_asynchronously) | |
9980 | (Fdbus_method_error_internal): New defuns. | |
9981 | (xd_read_message): Handle also reply messages. | |
9982 | (Vdbus_registered_functions_table): Extend docstring. | |
9983 | ||
9984 | 2008-07-31 Juanma Barranquero <lekktu@gmail.com> | |
9985 | ||
9986 | * keyboard.c (gobble_input): Fix previous change. | |
9987 | ||
9988 | 2008-07-31 Dan Nicolaescu <dann@ics.uci.edu> | |
9989 | ||
9990 | * bitmaps/README: | |
9991 | * xfns.c: | |
9992 | * termcap.c: | |
9993 | * term.c: | |
9994 | * syswait.h: | |
9995 | * systty.h: | |
9996 | * systime.h: | |
9997 | * syssignal.h: | |
9998 | * sysdep.c: | |
9999 | * process.h: | |
10000 | * process.c: | |
10001 | * print.c: | |
10002 | * ndir.h: | |
10003 | * lread.c: | |
10004 | * keyboard.c: | |
10005 | * getpagesize.h: | |
10006 | * floatfns.c: | |
10007 | * fileio.c: | |
10008 | * emacs.c: | |
10009 | * doc.c: | |
10010 | * dispnew.c: | |
10011 | * dired.c: | |
10012 | * data.c: | |
10013 | * callproc.c: | |
10014 | * buffer.c: | |
10015 | * README: | |
10016 | * Makefile.in: | |
10017 | * s/template.h: | |
10018 | * s/msdos.h: | |
10019 | * m/vax.h: Remove VMS support. | |
10020 | * s/vms.h: | |
10021 | * vlimit.h: | |
10022 | * uaf.h: | |
10023 | * temacs.opt: | |
10024 | * param.h: | |
10025 | * ioctl.h: Remove file. | |
10026 | ||
10027 | 2008-07-31 Dan Nicolaescu <dann@ics.uci.edu> | |
10028 | ||
10029 | * s/ms-w32.h (MULTI_KBOARD): Remove. | |
10030 | * xterm.c: | |
10031 | * xselect.c: | |
10032 | * xfns.c: | |
10033 | * window.c: | |
10034 | * w32term.c: | |
10035 | * w32fns.c: | |
10036 | * terminal.c: | |
10037 | * termhooks.h: | |
10038 | * term.c: | |
10039 | * sysdep.c: | |
10040 | * keyboard.h: | |
10041 | * keyboard.c: | |
10042 | * frame.h: | |
10043 | * frame.c: | |
10044 | * frame.c: Remove references to MULTI_KBOARD, it is now the default. | |
10045 | * config.in: Regenerate. | |
10046 | ||
10047 | 2008-07-30 Jason Rumney <jasonr@gnu.org> | |
10048 | ||
10049 | * w32font.h (struct w32font_info): Use unicode version of textmetrics. | |
10050 | ||
10051 | * w32font.c (w32font_encode_char): Leave as unicode if in range. | |
10052 | (w32font_open_internal): Get unicode version of textmetrics. | |
10053 | Don't enable or disable glyph indices here. | |
10054 | (w32font_open): Disable use of glyph indices. | |
10055 | ||
10056 | * w32uniscribe.c (uniscribe_open): Enable use of glyph indices. | |
10057 | ||
10058 | 2008-07-30 Chong Yidong <cyd@stupidchicken.com> | |
10059 | ||
10060 | * minibuf.c (Vread_buffer_function): Doc fix. | |
10061 | ||
10062 | 2008-07-30 John Paul Wallington <jpw@pobox.com> | |
10063 | ||
10064 | * minibuf.c (read_buffer_completion_ignore_case): New var. | |
10065 | (Fread_buffer): Use it. | |
10066 | ||
10067 | 2008-07-30 Dan Nicolaescu <dann@ics.uci.edu> | |
10068 | ||
10069 | * systty.h (sensemode): Remove empty #if. Remove reference to | |
10070 | BSD_TERMIOS, unused. | |
10071 | ||
10072 | * sysdep.c: Remove reference to DGUX. | |
10073 | (closedir): Remove reference to BROKEN_CLOSEDIR, unused. | |
10074 | ||
10075 | * config.in: Regenerate. | |
10076 | ||
10077 | 2008-07-30 Jason Rumney <jasonr@gnu.org> | |
10078 | ||
10079 | * w32uniscribe.c (uniscribe_encode_char): Fix glyph buffer size. | |
10080 | ||
10081 | 2008-07-29 Jason Rumney <jasonr@gnu.org> | |
10082 | ||
10083 | * w32uniscribe.c (uniscribe_shape): Avoid using context if cache | |
10084 | is populated. | |
10085 | (uniscribe_encode_char): Always use uniscribe. | |
10086 | Avoid using context if cache is populated. | |
10087 | ||
10088 | 2008-07-29 Jan Djärv <jan.h.d@swipnet.se> | |
10089 | ||
10090 | * xmenu.c (Fx_menu_bar_open_internal): Use activate_item signal to | |
10091 | open menu. | |
10092 | ||
10093 | * gtkutil.c (menu_nav_ended): Remove. | |
10094 | (create_menus): Remove signal connect for menu_nav_ended. | |
10095 | ||
10096 | 2008-07-28 Chong Yidong <cyd@stupidchicken.com> | |
10097 | ||
10098 | * xdisp.c (redisplay_window): Check return value of | |
10099 | compute_window_start_on_continuation_line before forcing a window | |
10100 | start. | |
10101 | ||
10102 | 2008-07-28 Jason Rumney <jasonr@gnu.org> | |
10103 | ||
10104 | * w32font.c (w32font_text_extents): Use w32_metric_cache consistently. | |
10105 | ||
10106 | * w32term.c (w32_enable_unicode_output, cleartype_active): | |
10107 | Remove obsolete display options. | |
10108 | (x_draw_glyph_string_background): Don't use old cleartype_active | |
10109 | workaround. | |
10110 | (w32_initialize): Remove cleartype_active initialization. | |
10111 | (syms_of_w32term): Remove w32_enable_unicode_output initialization. | |
10112 | ||
10113 | 2008-07-28 Andreas Schwab <schwab@suse.de> | |
10114 | ||
10115 | * lisp.h (init_weak_hash_tables, syms_of_font) | |
10116 | (xd_read_queued_messages, syms_of_dbusbind): Declare. | |
10117 | (remove_hash_entry): Don't declare. | |
10118 | * eval.c (maybe_call_debugger): Make static and move before use. | |
10119 | * gtkutil.c: Include <X11/Xft/Xft.h> if HAVE_XFT. | |
10120 | * xdisp.c: Include "gtkutil.h" if USE_GTK. | |
10121 | * xterm.h (x_set_frame_alpha): Declare. | |
10122 | ||
10123 | 2008-07-28 Jan Djärv <jan.h.d@swipnet.se> | |
10124 | ||
10125 | * gtkutil.c (menu_nav_ended): Revert change from 2008-07-24. | |
10126 | (create_menus): Connect selection-done to menu_nav_ended. | |
10127 | ||
10128 | 2008-07-27 Adrian Robert <Adrian.B.Robert@gmail.com> | |
10129 | ||
10130 | * nsfns.m (x-create-frame): Add copy of parms argument to beginning. | |
10131 | Set Vx_resource_name to a fallback. Replace read of 'buffered' | |
10132 | parameter with read of 'alpha' one. | |
10133 | (Qns_frame_parameter): Remove. | |
5582fbc7 | 10134 | * nsselect.m (selection-coding-system) |
aac0c6e3 MR |
10135 | (next-selection-coding-system, Vselection_coding_system) |
10136 | (Vnext_selection_coding_system): Drop. | |
10137 | ||
10138 | 2008-07-27 Adrian Robert <Adrian.B.Robert@gmail.com> | |
10139 | ||
10140 | * nsfns.m (do-applescript, do_applescript): Rename to | |
10141 | ns-do-applescript, ns_do_applescript, and move within file. | |
10142 | ||
10143 | 2008-07-27 Dan Nicolaescu <dann@ics.uci.edu> | |
10144 | ||
10145 | Remove support for Mac Carbon. | |
10146 | * mactoolbox.c: | |
10147 | * macterm.h: | |
10148 | * macterm.c: | |
10149 | * macselect.c: | |
10150 | * macmenu.c: | |
10151 | * macgui.h: | |
10152 | * macfns.c: | |
10153 | * mac.c: Remove file. | |
10154 | * s/darwin.h: | |
10155 | * m/intel386.h: | |
10156 | * xfaces.c: | |
10157 | * xdisp.c: | |
10158 | * window.c: | |
10159 | * tparam.c: | |
10160 | * termhooks.h: | |
10161 | * termcap.c: | |
10162 | * term.c: | |
10163 | * syssignal.h: | |
10164 | * sysselect.h: | |
10165 | * sysdep.c: | |
10166 | * process.c: | |
10167 | * lread.c: | |
10168 | * lisp.h: | |
10169 | * keyboard.c: | |
10170 | * image.c: | |
10171 | * fringe.c: | |
10172 | * frame.h: | |
10173 | * frame.c: | |
10174 | * fontset.c: | |
10175 | * font.h: | |
10176 | * font.c: | |
10177 | * fns.c: | |
10178 | * fileio.c: | |
10179 | * emacs.c: | |
10180 | * dispnew.c: | |
10181 | * dispextern.h: | |
10182 | * config.in: | |
10183 | * atimer.c: | |
2ae37cf0 | 10184 | * Makefile.in: Remove code for Carbon. |
aac0c6e3 | 10185 | |
f0131492 | 10186 | 2008-07-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
aac0c6e3 MR |
10187 | |
10188 | * macterm.c (XDrawLine) [USE_MAC_IMAGE_IO]: Remove spurious return. | |
10189 | ||
10190 | 2008-07-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
10191 | ||
10192 | * macterm.h (kCGBitmapByteOrder32Host): New define for | |
10193 | non-universal SDKs. | |
10194 | ||
10195 | * image.c (mac_create_cg_image_from_image, image_load_image_io) | |
10196 | [USE_MAC_IMAGE_IO]: Remove conditionals for kCGBitmapByteOrder32Host. | |
10197 | ||
10198 | * macterm.c (XDrawLine, XCreatePixmapFromBitmapData) | |
10199 | [USE_MAC_IMAGE_IO]: Remove conditionals for kCGBitmapByteOrder32Host. | |
10200 | ||
10201 | 2008-07-26 David Robinow <drobinow@gmail.com> (tiny change) | |
10202 | ||
10203 | * w32inevt.c: Include dispextern.h. | |
10204 | ||
10205 | 2008-07-26 Andreas Schwab <schwab@suse.de> | |
10206 | ||
10207 | * print.c (print_object): Fix off-by-one in last change. | |
10208 | ||
10209 | 2008-07-25 Juanma Barranquero <lekktu@gmail.com> | |
10210 | ||
10211 | * term.c (syms_of_term): Don't initialize default_orig_pair, | |
10212 | default_set_foreground and default_set_background on Windows. | |
10213 | ||
10214 | 2008-07-25 Jason Rumney <jasonr@gnu.org> | |
10215 | ||
10216 | * w32uniscribe.c (uniscribe_shape): Pass NULL for control arg to | |
10217 | ScriptItemize. Clean up return value checking. Remove unused | |
10218 | variables. | |
10219 | (uniscribe_encode_char): Encode non-BMP characters with uniscribe | |
10220 | shaping engine. | |
10221 | ||
10222 | * w32font.c (w32font_has_char): Handle the case where we can't | |
10223 | determine the script for a character. | |
10224 | ||
10225 | 2008-07-25 Chong Yidong <cyd@stupidchicken.com> | |
10226 | ||
10227 | * term.c (syms_of_term): Initialize default_orig_pair, | |
10228 | default_set_foreground, and default_set_background. | |
10229 | ||
10230 | * getloadavg.c (nl): Rename to name_list to avoid ncurses.h | |
10231 | clash (bug#86). | |
10232 | (getloadavg): Callers changed. | |
10233 | ||
10234 | * image.c (svg_load_image): Fix last change. | |
10235 | (svg_load_image): Use rsvg_handle_get_dimensions to check that | |
10236 | image size is valid. Use g_object_unref instead of deprecated | |
10237 | rsvg_handle_free to free rsvg handle. | |
10238 | (x_from_xcolors): Don't initialize pixmap (silence compiler). | |
10239 | ||
10240 | 2008-07-25 Jason Rumney <jasonr@gnu.org> | |
10241 | ||
10242 | * w32font.c (w32font_encode_char): Encode characters outside BMP as | |
10243 | surrogates before looking up glyph index. | |
10244 | (w32font_text_extents): Encode as surrogates if falling back to | |
10245 | functions that need UTF-16 wide chars. | |
10246 | ||
10247 | * w32uniscribe.c (uniscribe_encode_char): Encode characters outside | |
10248 | BMP as surrogates before looking up glyph index. | |
10249 | ||
10250 | 2008-07-25 Chong Yidong <cyd@stupidchicken.com> | |
10251 | ||
10252 | * image.c (svg_load_image): Check for failure in return value of | |
10253 | rsvg_handle_get_pixbuf. Free rsvg handle when done. | |
10254 | ||
10255 | 2008-07-25 Jason Rumney <jasonr@gnu.org> | |
10256 | ||
10257 | * w32font.c (Fx_select_font): Reverse sense of second arg. | |
10258 | ||
10259 | 2008-07-24 Stefan Monnier <monnier@iro.umontreal.ca> | |
10260 | ||
10261 | * syntax.c (struct lisp_parse_state, char_quoted, inc_bytepos) | |
10262 | (dec_bytepos, find_defun_start): Use EMACS_INT for buffer positions. | |
10263 | ||
10264 | * puresize.h (PURESIZE_CHECKING_RATIO): New macro. | |
10265 | (PURESIZE): Use it. | |
10266 | ||
10267 | 2008-07-24 Dan Nicolaescu <dann@ics.uci.edu> | |
10268 | ||
10269 | * m/amdx86-64.h (HAVE_LIB64_DIR): Consolidate ifdefs. | |
10270 | * m/alpha.h (TEXT_END): | |
10271 | * m/ibmrs6000.h (TEXT_END): | |
10272 | * m/macppc.h (TEXT_END): | |
10273 | * s/darwin.h (TEXT_END): | |
10274 | * s/msdos.h (TEXT_END): Remove, unused. | |
10275 | * s/gnu-linux.h (BSD_PGRPS): Add a comment. | |
10276 | * s/cygwin.h: Remove comment. | |
10277 | ||
10278 | * ecrt0.c (NODOT_GLOBAL_START): Remove code, unused. | |
10279 | (DOT_GLOBAL_START): Remove conditional, redundant for CRT0_DUMMIES. | |
10280 | * m/intel386.h (DOT_GLOBAL_START): | |
10281 | * m/vax.h (DOT_GLOBAL_START): Remove, redundant with CRT0_DUMMIES. | |
10282 | (USG): Remove, file not used on USG platforms. | |
10283 | ||
10284 | * Makefile.in (HAVE_X11): Remove empty #else. | |
10285 | ||
10286 | 2008-07-24 Andreas Schwab <schwab@suse.de> | |
10287 | ||
10288 | * fileio.c (Finsert_file_contents): Properly adjust undo list | |
10289 | after format conversion. | |
10290 | ||
10291 | 2008-07-24 Jan Djärv <jan.h.d@swipnet.se> | |
10292 | ||
10293 | * gtkutil.c (xg_get_font_name): Cast w to GTK_FONT_SELECTION_DIALOG. | |
10294 | (menu_nav_ended): Remove. | |
10295 | (create_menus): Remove signal connect for menu_nav_ended. | |
10296 | (xg_update_menubar): Also take deactivate_cb as parameter, pass it to | |
10297 | create_menus. | |
10298 | (xg_modify_menubar_widgets): Pass deactivate_cb to xg_update_menubar. | |
10299 | ||
10300 | 2008-07-23 Jason Rumney <jasonr@gnu.org> | |
10301 | ||
10302 | * w32font.c (w32_enumfont_pattern_entity): Return height consistent | |
10303 | with opened font. | |
10304 | (w32font_open): Set font type to gdi. | |
10305 | ||
10306 | * w32uniscribe.c (uniscribe_open): Set font type to uniscribe. | |
10307 | ||
10308 | 2008-07-23 Dan Nicolaescu <dann@ics.uci.edu> | |
10309 | ||
10310 | * s/usg5-4.h (ADDR_CORRECT): Remove, unused. | |
10311 | * unexaix.c (ADDR_CORRECT): Remove conditional, the only user | |
10312 | defines it. | |
10313 | * unexec.c (ADDR_CORRECT): Define unconditionally. | |
10314 | ||
10315 | * m/ibmrs6000.h (C_SWITCH_MACHINE): Remove. | |
10316 | ||
10317 | * unexec.c: Remove code depending on !COFF and USG, the file is | |
10318 | not used for such systems. | |
10319 | ||
10320 | * s/netbsd.h (A_TEXT_OFFSET, A_TEXT_SEEK): | |
10321 | * s/freebsd.h (A_TEXT_OFFSET, A_TEXT_SEEK): Remove, unused. | |
10322 | (LD_SWITCH_SYSTEM_1): Remove, update users. | |
10323 | ||
10324 | * s/darwin.h (DATA_END): | |
10325 | * m/intel386.h (DATA_END): | |
10326 | * m/ibmrs6000.h (DATA_END): | |
10327 | * m/alpha.h (DATA_END): Remove, unused. | |
10328 | ||
10329 | * config.in: Regenerate. | |
10330 | * s/ms-w32.h (subprocesses): Define unconditionally. | |
10331 | * s/template.h (subprocesses): Update comment. | |
10332 | * s/vms.h (subprocesses): | |
10333 | * s/usg5-4.h (subprocesses): | |
10334 | * s/hpux10-20.h (subprocesses): | |
10335 | * s/gnu-linux.h (subprocesses): | |
10336 | * s/cygwin.h (subprocesses): | |
10337 | * s/bsd-common.h (subprocesses): | |
10338 | * s/aix4-2.h (subprocesses): | |
10339 | * s/darwin.h (subprocesses): Do not define, defined by default now. | |
10340 | ||
10341 | * Makefile.in (C_SWITCH_SITE, LD_SWITCH_SITE): Remove, unused. | |
10342 | Remove all references. | |
10343 | (temacs): Add GNUstep specific ld flags. | |
10344 | ||
10345 | * nsterm.m (syms_of_nsterm): Provide ns, not ns-windowing, | |
10346 | similarly to what X does. | |
10347 | ||
10348 | 2008-07-22 Adrian Robert <Adrian.B.Robert@gmail.com> | |
10349 | ||
10350 | * nsfns.m (x-list-fonts): Remove. | |
10351 | (syms_of_nsfns): Drop the x-list-fonts declaration. | |
10352 | * nsterm.m: Get rid of remaining "//" comments. | |
10353 | ||
10354 | 2008-07-22 Chong Yidong <cyd@stupidchicken.com> | |
10355 | ||
10356 | * xselect.c (Fx_rotate_cut_buffers_internal): Doc fix. | |
10357 | ||
10358 | * nsselect.m (Fns_selection_exists_p, Fns_selection_owner_p) | |
10359 | (Fx_get_selection_internal, Fns_rotate_cut_buffers_internal) | |
10360 | (Fns_own_selection_internal, Fx_disown_selection_internal) | |
10361 | (Fns_get_cut_buffer_internal, Fns_store_cut_buffer_internal): | |
10362 | ||
10363 | * nsmenu.m (Fns_reset_menu, Fx_popup_menu): Change to use 'doc: /* | |
10364 | ... */' style of docstrings. Doc fixes. | |
10365 | ||
10366 | 2008-07-22 Dan Nicolaescu <dann@ics.uci.edu> | |
10367 | ||
10368 | * terminfo.c (UP, BC, PC): Undo previous change. | |
10369 | ||
10370 | * nsfns.m: Rename ns prefixed functions/variables to the | |
10371 | corresponding x versions. Update references. | |
10372 | ||
10373 | 2008-07-22 Stefan Monnier <monnier@iro.umontreal.ca> | |
10374 | ||
10375 | * syntax.c (char_quoted): Check "charpos > beg" before decrementing. | |
10376 | ||
10377 | 2008-07-22 Dan Nicolaescu <dann@ics.uci.edu> | |
10378 | ||
10379 | * nsfns.m (x_set_menu_bar_lines, x_set_tool_bar_lines): | |
10380 | Remove forwarding functions. | |
10381 | (ns_set_menu_bar_lines): Rename to x_set_menu_bar_lines, make | |
10382 | non-static. | |
10383 | (ns_set_tool_bar_lines): Rename to x_set_tool_bar_lines, make | |
10384 | non-static. | |
10385 | (ns_frame_parm_handlers): Use the new names. | |
10386 | (syms_of_nsfns): Move to the end of file. | |
10387 | ||
10388 | * nsterm.m (syms_of_nsterm): Move to the end of file. | |
10389 | ||
10390 | * dispnew.c (init_display): Remove code for X10. | |
10391 | ||
10392 | 2008-07-22 Jason Rumney <jasonr@gnu.org> | |
10393 | ||
10394 | * w32proc.c (Fw32_long_file_name): Don't append dir separator to | |
10395 | bare drive. | |
10396 | ||
10397 | 2008-07-22 Adrian Robert <Adrian.B.Robert@gmail.com> | |
10398 | ||
10399 | * nsterm.m (syms_of_nsterm): Remove debugging println. | |
10400 | ||
10401 | 2008-07-22 David Reitter <david.reitter@gmail.com> | |
10402 | ||
10403 | * nsfns.m (do_applescript, F_do_applescript): NS version of the | |
10404 | Carbon implementation of the same functionality: execute arbitrary | |
10405 | AppleScript code. | |
10406 | ||
10407 | 2008-07-21 Adrian Robert <Adrian.B.Robert@gmail.com> | |
10408 | ||
10409 | * nsfns.m (Fx_create_frame, Fx_read_file_name, Fx_get_resource) | |
10410 | (Fx_set_resource, Fx_set_alpha, Fx_server_max_request_size) | |
10411 | (Fx_server_vendor, Fx_server_version, Fx_display_screens) | |
10412 | (Fx_display_mm_height, Fx_display_mm_width) | |
10413 | (Fx_display_backing_store, Fx_display_visual_class) | |
10414 | (Fx_display_save_under, Fx_open_connection) | |
10415 | (Fx_close_connection, Fx_hide_emacs, Fx_font_name) | |
10416 | (Fx_list_colors, Fx_perform_service, Fx_color_defined_p) | |
10417 | (Fx_color_values, Fxw_display_color_p, Fx_display_grayscale_p) | |
10418 | (Fx_display_pixel_width, Fx_display_pixel_height) | |
10419 | (Fx_display_usable_bounds, Fx_display_planes) | |
10420 | (Fx_display_color_cells, Vns_icon_type_alist): Change to use 'doc: /* | |
10421 | ... */' style of docstrings. | |
10422 | ||
10423 | 2008-07-21 Dan Nicolaescu <dann@ics.uci.edu> | |
10424 | ||
10425 | * m/mips.h (LOAD_AVE_TYPE, LOAD_AVE_CVT): Do not define, not used | |
10426 | on this platform. | |
10427 | (mips): | |
10428 | * m/iris4d.h (mips): Do not define. | |
10429 | * sysdep.c (init_sys_modes): Use __mips__ instead of mips. | |
10430 | ||
10431 | * m/ibmrs6000.h (LD_SWITCH_SITE): Remove. | |
10432 | ||
10433 | * image.c: | |
10434 | * nsfns.m: | |
10435 | * nsselect.m: | |
10436 | * nsterm.h: | |
10437 | * nsterm.m: Rename ns prefixed functions/variables to the | |
10438 | corresponding x versions. Update references. | |
10439 | ||
10440 | * m/ibms390x.h (NO_REMAP): Do not undefine. | |
10441 | ||
10442 | * m/amdx86-64.h: Use SOLARIS2 instead of sun. | |
10443 | ||
10444 | 2008-07-21 Chong Yidong <cyd@stupidchicken.com> | |
10445 | ||
10446 | * nsfns.m: Change NS to Nextstep in docstrings and error messages. | |
10447 | (Fns_create_frame, Fns_read_file_name, Fns_get_resource) | |
10448 | (Fns_set_resource, Fns_set_alpha, Fns_server_max_request_size) | |
10449 | (Fns_server_vendor, Fns_server_version, Fns_display_screens) | |
10450 | (Fns_display_mm_height, Fns_display_mm_width) | |
10451 | (Fns_display_backing_store, Fns_display_visual_class) | |
10452 | (Fns_display_save_under, Fns_open_connection) | |
10453 | (Fns_close_connection, Fns_hide_emacs, Fns_font_name) | |
10454 | (Fns_list_colors, Fns_perform_service, Fns_color_defined_p) | |
10455 | (Fns_color_values, Fxw_display_color_p, Fx_display_grayscale_p) | |
10456 | (Fns_display_pixel_width, Fns_display_pixel_height) | |
10457 | (Fns_display_usable_bounds, Fx_display_planes) | |
10458 | (Fns_display_color_cells, Vns_icon_type_alist): Doc fixes. | |
10459 | ||
10460 | 2008-07-21 Ami Fischman <ami@fischman.org> (tiny change) | |
10461 | ||
10462 | * print.c (print_object): Check print_depth before searching for | |
10463 | circularities. | |
10464 | ||
10465 | 2008-07-21 Michael Albinus <michael.albinus@gmx.de> | |
10466 | ||
10467 | * dbusbind.c (Fdbus_register_signal): Use sprintf + strcat instead | |
10468 | only sprintf. | |
10469 | ||
10470 | 2008-07-21 Kenichi Handa <handa@m17n.org> | |
10471 | ||
10472 | * ftfont.c (adjust_anchor): Check if DeltaValue is not NULL. | |
10473 | ||
10474 | 2008-07-20 Andreas Schwab <schwab@suse.de> | |
10475 | ||
10476 | * syntax.c (find_start_pos, find_start_value) | |
10477 | (find_start_value_byte, find_start_begv, find_defun_start) | |
10478 | (back_comment, scan_sexps_forward): Use EMACS_INT for buffer positions. | |
10479 | ||
10480 | 2008-07-20 Dan Nicolaescu <dann@ics.uci.edu> | |
10481 | ||
10482 | * s/sol2-3.h: Insert contents of s/sol2.h. | |
10483 | (LD_SWITCH_SYSTEM): Remove redundant definition. | |
10484 | * s/sol2.h: Remove, unused. | |
10485 | ||
10486 | 2008-07-20 Adrian Robert <Adrian.B.Robert@gmail.com> | |
10487 | ||
10488 | * nsterm.m (ns_get_color): Recognize HSB,AHSB be synonyms for HSV,AHSV. | |
10489 | ||
10490 | 2008-07-20 Adrian Robert <Adrian.B.Robert@gmail.com> | |
10491 | ||
10492 | * Makefile.in (ns_appdir): Fix typo in find command. | |
10493 | ||
10494 | 2008-07-20 Dan Nicolaescu <dann@ics.uci.edu> | |
10495 | ||
10496 | * m/intel386.h (NO_REMAP): Do no define for USG, not used. | |
10497 | ||
10498 | * s/usg5-4.h (LIBS_SYSTEM): Remove, system for which this was | |
10499 | added not supported anymore. | |
10500 | ||
10501 | * s/usg5-4-2.h (LIBS_SYSTEM): | |
10502 | * s/sol2.h (LIBS_SYSTEM): Do not undefine. | |
10503 | ||
10504 | * s/netbsd.h (GETPGRP_NO_ARG, N_TRELOFF): | |
10505 | * s/lynxos.h (GETPGRP_NO_ARG): | |
10506 | * s/hpux10-20.h (NO_SIOCTL_H): | |
10507 | * s/gnu.h (GETPGRP_NO_ARG): | |
10508 | * s/gnu-linux.h (NO_SIOCTL_H): | |
10509 | * s/freebsd.h (GETPGRP_NO_ARG, N_TRELOFF): | |
10510 | * s/cygwin.h (GETPGRP_NO_ARG): | |
10511 | * s/irix6-5.h (LIBS_SYSTEM, GETPGRP_NO_ARG): Remove, unused. | |
10512 | (C_DEBUG_SWITCH): Remove duplicate definition. | |
10513 | ||
10514 | * m/ibms390.h: Remove boilerplate comments. | |
10515 | ||
10516 | * sysdep.c (closedir): Use SOLARIS2 instead of sun && USG5_4. | |
10517 | ||
10518 | * process.c (HAVE_SERIAL): Consolidate ifdefs. | |
10519 | (wait_reading_process_output): Remove code for SunOS, platform not | |
10520 | supported anymore. Use SOLARIS2 instead of sun. | |
10521 | ||
10522 | 2008-07-19 Adrian Robert <Adrian.B.Robert@gmail.com> | |
10523 | ||
10524 | * font.c (font_open_by_name): Under NS, default lface height to zero. | |
10525 | (font_open_for_lface): Under NS, set size based on frame fontsize. | |
10526 | * nsterm.m (EmacsView-changeFont:): Remove some commented code. | |
10527 | * frame.c (x_set_frame_parameters): Remove HAVE_NS ifdef. | |
10528 | ||
10529 | 2008-07-19 Adrian Robert <Adrian.B.Robert@gmail.com> | |
10530 | ||
10531 | * nsterm.m (ns_antialias_text, ns_use_qd_smoothing) | |
10532 | (ns_use_system_highlight_color): Switch these from DEFVAR_BOOL to | |
10533 | DEFVAR_LISP and change all code accordingly to use Qt/Qnil instead of | |
10534 | YES/NO. | |
10535 | * nsterm.h (prevUseHighlightColor): Make a Lisp_Object. | |
10536 | * nsfont.m (nsfont_draw): Treat ns_use_qd_smoothing as Lisp_Object. | |
10537 | * Makefile.in (clean): Clear out build destination dir. | |
10538 | ||
10539 | 2008-07-19 Adrian Robert <Adrian.B.Robert@gmail.com> | |
10540 | ||
10541 | * Makefile.in (nsgui.h-related dependencies): Remove abbrev, xfns, | |
10542 | xterm, xselect. | |
10543 | * lisp.h: Remove declaration of hash_remove. | |
10544 | * nsgui.h: Remove redefinitions of hash_remove. | |
10545 | * fns.c (hash_remove): Rename to hash_remove_from_table. | |
10546 | ||
10547 | 2008-07-19 Seiji Zenitani <zenitani@mac.com> | |
10548 | ||
10549 | * nsfont.m (nsfont_fmember_to_entity, nsfont_make_fontset_for_font): | |
10550 | strdup() the family UTF8String before modifying it. | |
10551 | ||
10552 | 2008-07-19 Adrian Robert <Adrian.B.Robert@gmail.com> | |
10553 | ||
10554 | * nsterm.m (ns_maybe_dumpglyphs_background): Compare result from | |
10555 | NS_FACE_BACKGROUND with 0 instead of nil. | |
10556 | * nsfont.m (nsfont_draw): Same. | |
10557 | ||
10558 | 2008-07-19 Chong Yidong <cyd@stupidchicken.com> | |
10559 | ||
10560 | * nsfns.m (ns_set_background_color): Fix crash. | |
10561 | ||
10562 | 2008-07-18 Chong Yidong <cyd@stupidchicken.com> | |
10563 | ||
10564 | * Makefile.in (SOME_MACHINE_LISP): Remove ns-carbon-compat.elc. | |
10565 | ||
10566 | 2008-07-18 Dan Nicolaescu <dann@ics.uci.edu> | |
10567 | ||
10568 | * puresize.h (BASE_PURESIZE): Increase to 1240000. | |
10569 | ||
10570 | 2008-07-17 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
10571 | ||
10572 | * gtkutil.c: Include <config.h> instead of "config.h". | |
10573 | ||
10574 | * lisp.h (Foverlay_buffer): Add EXFUN. | |
10575 | ||
10576 | * process.c (create_process) [!WINDOWSNT && FD_CLOEXEC]: Wait for | |
10577 | child process to complete child_setup. Undo 2005-09-21 change. | |
10578 | ||
10579 | * s/darwin.h: Mention setsid after vfork. | |
10580 | ||
10581 | 2008-07-17 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
10582 | ||
10583 | * Makefile.in (frame.o, keyboard.o, xdisp.o, xfaces.o): | |
10584 | Depend on macgui.h. | |
10585 | ||
10586 | * macfns.c (Fx_server_version): Don't use gestaltSystemVersionMajor, | |
10587 | gestaltSystemVersionMinor, or gestaltSystemVersionBugFix. | |
10588 | ||
10589 | * macterm.c (keycode_to_xkeysym_table): Add entries for f17, f18, | |
10590 | and f19. | |
10591 | [MAC_OSX] (fn_keycode_to_keycode_table): Likewise. | |
10592 | ||
10593 | * macterm.h (gestaltSystemVersionMajor, gestaltSystemVersionMinor) | |
10594 | (gestaltSystemVersionBugFix) [MAC_OS_X_VERSION_MAX_ALLOWED < 1040]: | |
10595 | Remove enumerators. | |
10596 | ||
10597 | * mactoolbox.c [USE_MAC_TSM] (mac_handle_text_input_event): | |
10598 | Check if FACE_FROM_ID returns NULL. | |
10599 | ||
10600 | 2008-07-17 David Robinow <drobinow@gmail.com> (tiny change) | |
10601 | ||
10602 | * w32inevt.c (change_frame_size): Remove extern declaration. | |
10603 | (resize_event, maybe_generate_resize_event): Pass SAFE arg to | |
10604 | change_frame_size. | |
10605 | ||
10606 | 2008-07-17 Adrian Robert <Adrian.B.Robert@gmail.com> | |
10607 | ||
10608 | * getloadavg.c: Revert last change (2008-07-15). | |
10609 | ||
10610 | 2008-07-17 Adrian Robert <Adrian.B.Robert@gmail.com> | |
10611 | ||
10612 | * Makefile.in: Replace emacsapp, emacsbindir, emacsappsrc variables | |
362654a6 | 10613 | set here with ns_appdir, ns_appresdir, ns_appbindir, ns_appsrc set |
aac0c6e3 MR |
10614 | from configure. |
10615 | ||
10616 | 2008-07-17 Dan Nicolaescu <dann@ics.uci.edu> | |
10617 | ||
10618 | * s/sol2.h: | |
10619 | * s/sol2-4.h: Reorganize conditionals. | |
10620 | ||
10621 | * ecrt0.c: Remove code depending on m68000, not used anymore. | |
10622 | ||
10623 | * fns.c (hash_remove): Make static. | |
10624 | * lisp.h (hash_remove): Don't prototype. | |
10625 | ||
10626 | * m/ibmrs6000.h: | |
10627 | * m/ibms390x.h: | |
10628 | * m/macppc.h: Remove boilerplate comments. | |
10629 | ||
10630 | * m/sparc.h (A_TEXT_OFFSET, A_TEXT_SEEK): Remove, only used on | |
10631 | Solaris, which does not need them. | |
10632 | ||
10633 | * m/vax.h: Remove comments about unsupported systems. | |
10634 | ||
10635 | * s/darwin.h: Reorganize ifdefs. | |
10636 | ||
10637 | 2008-07-17 Andreas Schwab <schwab@suse.de> | |
10638 | ||
10639 | * s/cygwin.h (LIB_STANDARD_LIBSRC): Don't define. | |
10640 | ||
10641 | 2008-07-17 Stefan Monnier <monnier@iro.umontreal.ca> | |
10642 | ||
10643 | Use SDATA. Follow coding convention of placing operators at | |
10644 | beginning of next line rather than end of previous line, and placing | |
10645 | spaces around infix operators. | |
10646 | ||
10647 | * Makefile.in: Undef LIB_STANDARD before defining it to silence warning | |
10648 | in case it was defined already. | |
10649 | USE @GNUSTEP_MAKEFILES@ rather than envvars. | |
10650 | * nsterm.m (ns_term_init): Pass Qt and Qnil rather than YES/NO to | |
10651 | ns_default. | |
10652 | (applicationShouldTerminate, setValuesFromPanel): Use EQ to compare | |
10653 | Lisp_Objects. | |
10654 | * nsterm.h (Fx_display_grayscale_p, Fx_display_planes) | |
10655 | (ns_defined_color, ns_color_to_lisp): Declare. | |
10656 | * nsselect.m (ns_handle_selection_request, ns_handle_selection_clear) | |
10657 | (Fns_own_selection_internal): Make the big ugly hack more explicit, so | |
10658 | it's accepted even with USE_LISP_UNION_TYPE. | |
10659 | * nsmenu.m (ns_update_menubar): Use EQ to compare Lisp_Objects. | |
10660 | (update_frame_tool_bar): Remove apparently obsolete tests for | |
10661 | non-integerness of f->tool_bar_lines. | |
10662 | (windowShouldClose, addButton, clicked, runDialogAt): Make the big ugly | |
10663 | hack more explicit, so it's accepted even with USE_LISP_UNION_TYPE. | |
10664 | * nsfont.m (nsfont_driver): Use just 0 rather than an invalid cast. | |
10665 | (nsfont_open): Don't confuse NULL for Qnil. | |
10666 | * nsfns.m (ns_implicitly_set_icon_type): Use EQ to compare Lisp_Objects. | |
10667 | * menu.h (find_and_call_menu_selection): | |
10668 | * menu.c (find_and_call_menu_selection): Use just int for vector size. | |
10669 | (find_and_return_menu_selection): Always return something. | |
10670 | * frame.h: Include dispextern.h for Display_Info. | |
10671 | (display_x_get_resource): Declare. | |
10672 | ||
10673 | 2008-07-16 Adrian Robert <Adrian.B.Robert@gmail.com> | |
10674 | ||
10675 | * syntax.c: Remove stdio.h include accidentally introduced in | |
10676 | Emacs.app commit. | |
10677 | * Makefile.in: Change GNUSTEP to NS_IMPL_GNUSTEP, COCOA to | |
10678 | NS_IMPL_COCOA. | |
10679 | * keyboard.c (handle_async_input, input_available_signal): Remove | |
10680 | BSD4_1 conditional code, introduced accidentally in Emacs.app commit. | |
10681 | ||
10682 | 2008-07-16 Stefan Monnier <monnier@iro.umontreal.ca> | |
10683 | ||
10684 | * nsterm.m (lisp_to_mod): Use parse_solitary_modifier instead. | |
10685 | (ns_lisp_to_color): Don't mess with internal Lisp data fields. | |
10686 | (ns_term_init, ns_term_shutdown, initFrameFromEmacs, ns_list_fonts): | |
10687 | Use SDATA. | |
10688 | ||
10689 | * keymap.c: Remove all NS-specific code. | |
10690 | (where_is_preferred_modifier, Vwhere_is_preferred_modifier): New vars. | |
10691 | (preferred_sequence_p): Rename from ascii_sequence_p; pay attention to | |
10692 | where_is_preferred_modifier, return a different value depending on how | |
10693 | preferred is the binding. | |
10694 | (where_is_internal): Adjust accordingly. | |
10695 | (Fwhere_is_internal): Refresh where_is_preferred_modifier. | |
10696 | Adjust to new preferred_sequence_p. | |
10697 | (syms_of_keymap): Declare `where-is-preferred-modifier'. | |
10698 | * keyboard.c (parse_solitary_modifier): Not static any more. | |
10699 | * keyboard.h (parse_solitary_modifier): Declare. | |
10700 | ||
10701 | 2008-07-16 Andreas Schwab <schwab@suse.de> | |
10702 | ||
10703 | * Makefile.in (SOME_MACHINE_LISP): Remove easy-mmode, fix spelling | |
10704 | of easymenu. | |
10705 | ||
10706 | 2008-07-16 Chong Yidong <cyd@stupidchicken.com> | |
10707 | ||
10708 | * xdisp.c (move_it_in_display_line): Account for word wrap, so | |
10709 | that we don't move off the line. | |
10710 | ||
10711 | 2008-07-16 Stefan Monnier <monnier@iro.umontreal.ca> | |
10712 | ||
10713 | * keyboard.c (Qsuper): Remove. | |
10714 | (parse_menu_item): Don't call where_is_internal specially for NS. | |
10715 | ||
10716 | 2008-07-16 Dan Nicolaescu <dann@ics.uci.edu> | |
10717 | ||
10718 | * s/gnu-linux.h: Remove boilerplate comments. | |
10719 | ||
10720 | * m/alpha.h (__ELF__): Consolidate conditions. | |
10721 | ||
10722 | * m/m68k.h (linux): Use GNU_LINUX instead. | |
10723 | Remove boilerplate comments. | |
10724 | ||
10725 | * m/intel386.h: Undo refactoring from previous change. | |
10726 | (LIB_STANDARD): All systems that define USG define LIB_STANDARD | |
10727 | too, remove dead code. | |
10728 | (linux): Use GNU_LINUX instead. | |
10729 | ||
10730 | 2008-07-16 Jason Rumney <jasonr@gnu.org> | |
10731 | ||
10732 | * w32gui.h: Repeat 26 June changes lost by last change. | |
10733 | ||
10734 | 2008-07-16 Dan Nicolaescu <dann@ics.uci.edu> | |
10735 | ||
10736 | * systty.h: Remove code for Aix on 386, unsupported platform. | |
10737 | ||
10738 | * s/ms-w32.h: Remove boilerplate comments. | |
10739 | (fcloseall, fgetchar, flushall, fputchar, getw, putw): Remove, unused. | |
10740 | ||
10741 | * s/gnu-linux.h (TERM): Remove support. | |
10742 | (HAVE_SYSVIPC): Remove, unused. | |
10743 | (A_TEXT_OFFSET, A_TEXT_SEEK, ADJUST_EXEC_HEADER): Remove, not used | |
10744 | for this system. | |
10745 | ||
10746 | * process.c: Remove support for IRIS, unused. | |
10747 | Remove support for TERM, not relevant anymore. | |
10748 | ||
10749 | * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Remove, replace the only | |
10750 | used with the definition. | |
10751 | ||
10752 | * s/aix4-2.h (static): Do not undef. | |
10753 | ||
10754 | * m/ibmrs6000.h: Remove code depending on USG5_4, this file is | |
10755 | only used on Aix. | |
10756 | (HAVE_SYSVIPC): Remove, unused. | |
10757 | ||
10758 | * m/hp800.h (CANNOT_DUMP): Do not undef. | |
10759 | ||
10760 | * m/alpha.h: Fix comment. | |
10761 | ||
10762 | * s/usg5-4.h (HAVE_SYSVIPC): Remove, unused. | |
10763 | (USG_SHARED_LIBRARIES): Remove, only used in unexec.c which is not | |
10764 | used by this configuration. | |
10765 | * emacs.c: Remove code depending on USG_SHARED_LIBRARIES. | |
10766 | * unexec.c: Remove code depending on HPUX and | |
10767 | USG_SHARED_LIBRARIES, not used with this file. Remove code | |
10768 | depending on IRIS, unused. Remove if 0-ed code. | |
10769 | ||
10770 | * s/template.h: Remove comments about static. | |
10771 | ||
10772 | * sysdep.c: Remove code depending on NEED_PTEM_H, unused. | |
10773 | Remove if 0-ed code. | |
10774 | (baud_convert): Don't depend on BAUD_CONVERT, all definitions the | |
10775 | were the same as the default. | |
10776 | * s/vms.h (BAUD_CONVERT): Remove, same as the default. | |
10777 | Remove boilerplate comments. | |
10778 | * s/hpux10-20.h (BAUD_CONVERT): Remove, same as the default. | |
10779 | (HAVE_SYSVIPC): Remove, unused. | |
10780 | (LD_SWITCH_SYSTEM_TEMACS): Simplify, hp9000s700 not supported anymore. | |
10781 | ||
10782 | * m/ia64.h (PNTR_COMPARISON_TYPE): Remove, same as the default. | |
10783 | Remove boilerplate comments. | |
10784 | * m/amdx86-64.h (PNTR_COMPARISON_TYPE): Remove, same as the default. | |
10785 | Remove boilerplate comments. | |
10786 | * m/ibms390x.h (PNTR_COMPARISON_TYPE): Remove, same as the default. | |
10787 | Remove boilerplate comments. | |
10788 | * lisp.h (PNTR_COMPARISON_TYPE): Define it unconditionally. | |
10789 | ||
10790 | * m/intel386.h (DATA_SEG_BITS): Remove definitions, only used on | |
10791 | USG systems which do not use DATA_SEG_BITS. | |
10792 | Refactor code. Remove boilerplate comments. | |
10793 | ||
10794 | * m/ibms390.h: | |
10795 | * m/m68k.h: | |
10796 | * s/bsd-common.h: | |
10797 | * s/cygwin.h: | |
10798 | * s/darwin.h: | |
10799 | * s/freebsd.h: | |
10800 | * s/gnu.h: | |
10801 | * s/msdos.h: Remove boilerplate comments. | |
10802 | ||
10803 | * m/iris4d.h: Remove boilerplate comments and code for systems that | |
6873acca | 10804 | do not use this file. |
aac0c6e3 MR |
10805 | (IRIS_4D): Remove, unused. |
10806 | ||
10807 | * m/mips.h: Remove boilerplate comments and code for systems that | |
6873acca | 10808 | do not use this file. |
aac0c6e3 MR |
10809 | (SIGN_EXTEND_CHAR): |
10810 | * m/arm.h (SIGN_EXTEND_CHAR): Remove, unused. | |
10811 | * unexmips.c: Remove file, unused. | |
10812 | ||
10813 | * editfns.c (Fuser_full_name): Replace the only use of | |
10814 | USER_FULL_NAME with its value. | |
10815 | * config.in: Regenerate. | |
10816 | ||
10817 | 2008-07-16 David Reitter <david.reitter@gmail.com> | |
10818 | ||
10819 | * Makefile.in: Add ns-win, ns-carbon-compat, easy-mmode and | |
10820 | easy-menu to SOME_MACHINE_LISP for the new NeXTstep port. | |
10821 | ||
10822 | 2008-07-16 Glenn Morris <rgm@gnu.org> | |
10823 | ||
10824 | * emacs.c (system-type): Doc fix. | |
10825 | ||
10826 | 2008-07-15 Stefan Monnier <monnier@iro.umontreal.ca> | |
10827 | ||
10828 | * keyboard.c (parse_menu_item): Don't use cachelist, even under NS. | |
10829 | If the cache doesn't work, let's fix it, rather than work around it. | |
10830 | ||
10831 | 2008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com> | |
10832 | ||
10833 | * Makefile.in: Correct additions for nsfont.o in last commit. | |
10834 | * nsfont.m: New file (forgot last commit). | |
10835 | ||
10836 | 2008-07-15 Chris Hall <chris@web.workinglinux.com> (tiny change) | |
10837 | ||
10838 | * callproc.c (set_initial_environment): Initialize | |
10839 | Vprocess_environment under CANNOT_DUMP (fixes crash when | |
10840 | batch-compiling for bootstrap). | |
10841 | ||
10842 | 2008-07-15 Chris Hall <chris@web.workinglinux.com> (tiny change) | |
acd0102a | 10843 | YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
aac0c6e3 MR |
10844 | |
10845 | (make_initial_frame): Call init_frame_faces(f) in CANNOT_DUMP case -- | |
10846 | fix crash due to different init order. | |
10847 | ||
10848 | 2008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com> | |
10849 | ||
10850 | Changes and additions for NeXTstep windowing system (Cocoa and | |
10851 | GNUstep) support. | |
10852 | ||
10853 | * Makefile.in: | |
10854 | * config.in: Support defines and build commands for NS port. | |
10855 | * blockinput.h (BLOCK_INPUT, UNBLOCK_INPUT, TOTALLY_UNBLOCK_INPUT) | |
10856 | (UNBLOCK_INPUT_TO): Don't use under NS unless EXPERIMENTAL_CONTROL_G. | |
10857 | * dispextern.h: Include nsgui.h and add needed typedefs under NS | |
10858 | windowing. | |
10859 | (struct face): Add synth_ital field. | |
10860 | * dispnew.c: Include nsterm.h when compiling under NS windowing. | |
10861 | (init_display): Initialize Vinitial_window_system to "ns" when so | |
10862 | compiled. | |
10863 | * emacs.c: Include GSConfig.h when compiling under GNUstep. | |
10864 | (display_arg): Use under NS. | |
10865 | (main): Under NS, allocate autorelease pool and handle command line | |
10866 | args. Move syms_of_xmenu() call under #ifdef HAVE_X_WINDOWS. | |
10867 | (standard_args): Add NS-specific args. | |
10868 | (shut_down_emacs): Shut down NS terminal if compiled under NS. | |
10869 | * font.c (DEFAULT_ENCODING): New variable. | |
10870 | (font_find_for_lface): Use it. | |
10871 | (syms_of_font): Load syms_of_nsfont under NS. | |
10872 | * font.h: Declare nsfont_driver when compiled under NS. | |
10873 | * fontset.c: When compiling under NS, include nsterm.h. | |
10874 | (fontset_from_font): Autoconstruct fontset under NS. | |
10875 | * frame.c (various): Under NS, include nsterm.h, add Qns window system | |
10876 | symbol, document and use it. | |
10877 | (do_switch_frame): When for_deletion under Cocoa, add | |
10878 | Fraise_frame(Qnil). | |
10879 | (x_set_frame_parameters): Ensure font attribute changes are picked up. | |
10880 | (x_get_arg): Allow "yes" and "no" as boolean values. | |
10881 | (syms_of_frame): Declare Qns. Init Vdefault_frame_scroll_bars to | |
10882 | Qright under Cocoa. | |
10883 | (focus-follows-mouse): Default to 0 under NS. | |
10884 | * frame.h (enum output_method): Add output_ns. | |
10885 | (external_tool_bar, external_menu_bar, FRAME_EXTERNAL_TOOLBAR) | |
10886 | (FRAME_EXTERNAL_MENU_BAR): Use under NS. | |
10887 | (FRAME_WINDOW_P): NS-specific definition. | |
10888 | * fringe.c (max_used_fringe_bitmap): Make public. | |
10889 | * getloadavg.c (mach/mach.h): Include it under NeXT descendant OS's. | |
10890 | (getloadavg): Use NeXT code under descendant OS's. | |
10891 | * image.c (includes and header section, x_create_bitmap_from_data) | |
10892 | (x_create_bitmap_from_file, free_bitmap_record, image_background) | |
10893 | (image_background_transparent, x_clear_image_1) | |
10894 | (x_create_x_image_and_pixmap, x_destroy_x_image, x_put_x_image) | |
10895 | (Create_Pixmap_From_Bitmap_Data, xpm_load_image, lookup_rgb_color) | |
10896 | (x_to_xcolors, x_from_xcolors, x_disable_image) | |
10897 | (x_build_heuristic_mask, syms_of_image): Add NS support parallel to | |
10898 | other GUIs, including XPM support using code originally written for | |
10899 | Carbon GUI. | |
10900 | (png_load, jpeg_load, tiff_load, gif_load): Add implementations | |
10901 | using NS API. | |
10902 | (image_ascent): Use font metrics macros instead of direct struct field | |
10903 | access. | |
10904 | * keyboard.c (includes): Add nsterm.h when compiling under NS. | |
10905 | (kbd_buffer_get_event): Handle NS as other GUI windowing systems. | |
10906 | Also, handle NS as GTK for menu bar purposes. | |
10907 | (make_lispy_event): Handle NS as other GUI windowing systems, and as X | |
10908 | toolkit where they differ. | |
10909 | (parse_menu_item): Prefer keybindings using 'super' modifier. Also, | |
10910 | use cachelist, still needed under NS. | |
10911 | * keyboard.h (ENCODE_MENU_STRING, XtPointer, Boolean): Handle as NTGUI. | |
10912 | (struct widget_value): Define it here for menu.c. | |
10913 | * keymap.c (includes): Include modifier internals. | |
10914 | (lisp_to_mod, modifier_sequence_p): New functions, compiled only under | |
10915 | NS. | |
10916 | (where_is_internal, Fwhere_is_internal): When compiled under NS, add | |
10917 | support for preferring sequences using certain modifiers, specified by | |
10918 | the FIRSTONLY argument. | |
10919 | * lisp.h (hash_remove): Rename to avoid name clash when compiling | |
10920 | under NS GNUstep implementation. | |
10921 | (USE_LSB_TAG): Use it under Cocoa when compiling under NS. | |
10922 | * lread.c (init_lread): Treat NS as HAVE_CARBON for turn_off_warning. | |
10923 | * menu.c: Include nsterm.h under NS. | |
10924 | (single_menu_item, parse_single_submenu, xmalloc_widget_value) | |
10925 | (free_menubar_widget_tree_value, update_submenu_strings) | |
10926 | (find_and_call_menu_selection): Treat NS as X and NT. | |
10927 | (find_and_return_menu_selection): New function, used for popup menus. | |
10928 | * nsgui.h: | |
10929 | * nsterm.h: | |
10930 | * nsfns.m: | |
10931 | * nsimage.m: | |
10932 | * nsmenu.m: | |
10933 | * nsselect.m: | |
10934 | * nsterm.m: New files. | |
10935 | * process.c (wait_reading_process_output): Under NS, call ns_select() | |
10936 | instead of plain select(). | |
10937 | * syntax.c (char_quoted): Under NS, avoid a crash when called near | |
10938 | beginning of buffer. | |
10939 | * sysselect.h (init_process): Rename when compiling under Cocoa to | |
10940 | avoid name conflict. | |
10941 | * termhooks.h (display_info): Add ns_display_info to union. | |
10942 | * terminal.c (Fterminal_live_p): Add ns to terminal types. | |
10943 | * terminfo.c (UP, BC, PC): Don't declare when compiling under NS in | |
10944 | COCOA environment. | |
10945 | * unexnext.c: Update to work with mach API on Mac OS X, and to use new | |
10946 | unexec() signature. (Note, this will dump, but the resulting file | |
10947 | crashes; unexosx is used instead; keeping around for reference and | |
10948 | possible aid in getting dump working under GNUstep.) | |
10949 | * w32gui.h (button_type, widget_value): Remove definitions (now in | |
10950 | keyboard.h). | |
10951 | * window.c: Include nsterm.h when compiling under NS. | |
10952 | * xdisp.c (includes): Include nsterm.h when compiling under NS. | |
10953 | (set_frame_menubar, update_menu_bar, display_menu_bar): Handle NS as | |
10954 | other GUI windowing systems. | |
10955 | (update_tool_bar, redisplay_tool_bar, redisplay_window): Handle NS as | |
10956 | GTK. | |
10957 | (x_consider_frame_title): Under NS, set icon type and frame | |
10958 | modified-state indicator; use ns_set_name_as_filename() when using | |
10959 | formatted title. | |
10960 | (update_window_cursor): Make public when compiling under NS. | |
10961 | (display_hourglass_p, syms_of_xdisp, hourglass_shown_p) | |
10962 | (hourglass_atimer, Vhourglass_delay | |
10963 | * xfaces.c (header section, init_frame_faces, clear_font_table) | |
10964 | (defined_color, unload_color, x_face_list_fonts) | |
10965 | (prepare_face_for_display): Add NS support parallel to other GUIs. | |
10966 | Emulate GCs like other non-X GUIs. | |
10967 | (split_font_name): Don't lowercase font name under NS. | |
10968 | (merge_face_ref, Finternal_set_lisp_face_attribute): Support stippling | |
10969 | under NS. | |
10970 | * s/darwin.h: Add support for compilation under NS. | |
10971 | ||
10972 | 2008-07-15 Jason Rumney <jasonr@gnu.org> | |
10973 | ||
10974 | * w32fns.c (Fx_create_frame): Remove duplicate unwind_protect. | |
10975 | (w32_show_hourglass): Rename from show_hourglass. | |
10976 | (w32_hide_hourglass): Rename from hide_hourglass. | |
10977 | (DEFAULT_HOURGLASS_DELAY): Revert from last change. | |
10978 | (Vhourglass_delay): Declare extern. | |
10979 | (hourglass_started): Remove. | |
10980 | ||
10981 | * xdisp.c (Vhourglass_delay): Remove static. | |
10982 | (hourglass_started, start_hourglass, cancel_hourglass): | |
10983 | Don't include these versions on WINDOWSNT. | |
10984 | ||
10985 | 2008-07-15 Adrian Robert <Adrian.B.Robert@gmail.com> | |
10986 | ||
10987 | * dispextern.h (hourglass_shown_p, hourglass_atimer): New extern | |
10988 | variables (formerly in xfns.c). | |
10989 | (show_hourglass, hide_hourglass): New prototypes (same). | |
10990 | * xdisp.c (display_hourglass_p, hourglass_shown_p, hourglass_atimer) | |
10991 | (Vhourglass_delay, DEFAULT_HOURGLASS_DELAY): New variables (formerly | |
10992 | in xfns.c). | |
10993 | (syms_of_xdisp): Declare/initialize display-hourglass, | |
10994 | hourglass-delay. Initialize hourglass_atimer, hourglass_shown_p. | |
10995 | (hourglass_started, start_hourglass, cancel_hourglass): New functions, | |
10996 | formerly in xfns.c. | |
10997 | * xfns.c (display_hourglass_p, hourglass_atimer, hourglass_shown_p) | |
10998 | (Vhourglass_delay, DEFAULT_HOURGLASS_DELAY, hourglass_started) | |
10999 | (start_hourglass, cancel_hourglass): Remove. | |
11000 | (show_hourglass, hide_hourglass): Remove prototypes and static | |
11001 | modifiers. | |
11002 | (syms_of_xfns): Remove display-hourglass, hourglass-delay, | |
11003 | hourglass_atimer, hourglass_shown_p declaration/initialization. | |
11004 | * macfns.c (display_hourglass_p, hourglass_atimer, hourglass_shown_p) | |
11005 | (Vhourglass_delay, DEFAULT_HOURGLASS_DELAY, hourglass_started) | |
11006 | (start_hourglass, cancel_hourglass): Remove. | |
11007 | (show_hourglass, hide_hourglass): Remove prototypes and static | |
11008 | modifiers. | |
11009 | (syms_of_macfns): Remove display-hourglass, hourglass-delay, | |
11010 | hourglass_atimer, hourglass_shown_p declaration/initialization. | |
11011 | * w32fns.c (display_hourglass_p, Vhourglass_delay) | |
11012 | (DEFAULT_HOURGLASS_DELAY): Remove. | |
11013 | (syms_of_w32fns): Remove display-hourglass, hourglass-delay, | |
11014 | hourglass_shown_p declaration/initialization. | |
11015 | ||
11016 | 2008-07-14 Jason Rumney <jasonr@gnu.org> | |
11017 | ||
11018 | * w32fns.c (w32_get_arg): Remove wrapper function. | |
11019 | (w32_createwindow, x_icon, x_create_tip_frame): Use x_get_arg | |
11020 | directly. | |
11021 | (Fx_create_frame): Sync with xfns.c. Use x_get_arg directly. | |
11022 | ||
11023 | 2008-07-14 Kenichi Handa <handa@m17n.org> | |
11024 | ||
11025 | * xfont.c (xfont_open): Add workaround for X's bug. | |
11026 | ||
11027 | 2008-07-14 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change) | |
11028 | ||
11029 | * fontset.c: Include <stdio.h> unconditionally. | |
11030 | ||
11031 | 2008-07-13 Michael Albinus <michael.albinus@gmx.de> | |
11032 | ||
11033 | * dbusbind.c (Fdbus_register_signal): Allow also signal arguments | |
11034 | for filtering. | |
11035 | ||
11036 | 2008-07-13 Dan Nicolaescu <dann@ics.uci.edu> | |
11037 | ||
11038 | * s/vms.h: Use __GNUC__ instead of _GNUC_. | |
11039 | ||
11040 | * m/macppc.h: | |
11041 | * m/alpha.h: Use GNU_LINUX instead of LINUX. Reorganize conditionals. | |
11042 | ||
11043 | * m/ibms390x.h (XINT, XUINT): Don't define, same as the default | |
11044 | (SPECIAL_EMACS_INT): | |
11045 | * m/ia64.h (SPECIAL_EMACS_INT): | |
11046 | * m/amdx86-64.h (SPECIAL_EMACS_INT): | |
11047 | * s/gnu.h (NLIST_STRUCT): | |
11048 | * s/aix4-2.h (X11R5_INHIBIT_I18N): | |
11049 | * s/gnu-linux.h (LINUX): | |
11050 | * s/msdos.h (HAVE_FACES): | |
11051 | * s/ms-w32.h (HAVE_FACES): Don't define, unused. | |
11052 | ||
11053 | * systty.h: | |
11054 | * sysdep.c (setup_pty): Don't depend on SYSV_PTYS, it is not used | |
11055 | anymore. | |
11056 | ||
11057 | 2008-07-12 Dan Nicolaescu <dann@ics.uci.edu> | |
11058 | ||
11059 | * syswait.h: Remove old if 0 code. Do not define WAITTYPE, it was | |
11060 | always defined as int. | |
11061 | ||
11062 | * s/netbsd.h (HAVE_UNION_WAIT, HAVE_WAIT_HEADER, WAIT_USE_INT): | |
11063 | * s/gnu.h (HAVE_WAIT_HEADER, WAIT_USE_INT, HAVE_UNION_WAIT): | |
11064 | * s/gnu-linux.h (HAVE_WAIT_HEADER): | |
11065 | * s/freebsd.h (HAVE_WAIT_HEADER): | |
11066 | * s/bsd-common.h (HAVE_UNION_WAIT): | |
11067 | * s/aix4-2.h (HAVE_WAIT_HEADER): | |
11068 | * m/mips.h (HAVE_UNION_WAIT): | |
11069 | * s/usg5-4.h (HAVE_WAIT_HEADER, WAITTYPE): Do not define, not used. | |
11070 | (COFF, static): Do not define, they are undefined later in the file. | |
11071 | ||
11072 | * process.c (update_status): Don't use a union. | |
11073 | (status_convert): | |
11074 | (sigchld_handler): Use int instead of WAITTYPE. | |
11075 | ||
11076 | 2008-07-12 Chong Yidong <cyd@stupidchicken.com> | |
11077 | ||
11078 | * indent.c (Fvertical_motion): Restore hscroll before moving to | |
11079 | goal column. | |
11080 | ||
11081 | 2008-07-11 Dan Nicolaescu <dann@ics.uci.edu> | |
11082 | ||
11083 | * lisp.h: Remove left over code. | |
11084 | ||
11085 | 2008-07-11 Andreas Schwab <schwab@suse.de> | |
11086 | ||
11087 | * lisp.h: Fix logic in last change. | |
11088 | ||
11089 | * menu.h: New file. | |
11090 | * menu.c: Include it. | |
11091 | * xmenu.c: Likewise. | |
11092 | * Makefile.in: Update dependencies. | |
11093 | ||
11094 | 2008-07-11 Kenichi Handa <handa@m17n.org> | |
11095 | ||
11096 | * fontset.c (fontset_from_font): Cancel the previous change. | |
11097 | ||
11098 | 2008-07-11 Dan Nicolaescu <dann@ics.uci.edu> | |
11099 | ||
11100 | * lisp.h: | |
11101 | * w32heap.c: | |
11102 | * emacs.c: | |
11103 | * alloc.c: Replace all references of NO_UNION_TYPE with | |
11104 | USE_LISP_UNION_TYPE. | |
11105 | ||
11106 | * m/xtensa.h (NO_UNION_TYPE): | |
11107 | * m/vax.h (NO_UNION_TYPE): | |
11108 | * m/template.h (NO_UNION_TYPE): | |
11109 | * m/sparc.h (NO_UNION_TYPE): | |
11110 | * m/mips.h (NO_UNION_TYPE): | |
11111 | * m/macppc.h (NO_UNION_TYPE): | |
11112 | * m/m68k.h (NO_UNION_TYPE): | |
11113 | * m/iris4d.h (NO_UNION_TYPE): | |
11114 | * m/intel386.h (NO_UNION_TYPE): | |
11115 | * m/ibms390x.h (NO_UNION_TYPE): | |
11116 | * m/ibms390.h (NO_UNION_TYPE): | |
11117 | * m/ibmrs6000.h (NO_UNION_TYPE): | |
11118 | * m/ia64.h (NO_UNION_TYPE): | |
11119 | * m/hp800.h (NO_UNION_TYPE): | |
11120 | * m/arm.h (NO_UNION_TYPE): | |
11121 | * m/amdx86-64.h (NO_UNION_TYPE): | |
11122 | * m/alpha.h (NO_UNION_TYPE): Remove definition, all platform were | |
11123 | defining it the same. | |
11124 | ||
11125 | 2008-07-10 Chong Yidong <cyd@stupidchicken.com> | |
11126 | ||
11127 | * xdisp.c (move_it_to): Backtrack if past the edge of a wrapped line. | |
11128 | ||
11129 | 2008-07-10 Dan Nicolaescu <dann@ics.uci.edu> | |
11130 | ||
11131 | * fileio.c: | |
50426a04 | 11132 | * sysdep.c: |
aac0c6e3 MR |
11133 | * systty.h: |
11134 | * m/ibmrs6000.h: | |
11135 | * m/iris4d.h: | |
11136 | * s/aix4-2.h: | |
11137 | * s/freebsd.h: | |
11138 | * s/gnu-linux.h: | |
11139 | * s/hpux10-20.h: | |
11140 | * s/hpux11.h: | |
11141 | * s/netbsd.h: | |
11142 | * s/sol2-3.h: | |
11143 | * s/sol2-4.h: | |
11144 | * s/sol2.h: | |
11145 | * s/usg5-4.h: | |
11146 | * s/vms.h: Remove references to unused variables. | |
11147 | ||
11148 | 2008-07-10 Andreas Schwab <schwab@suse.de> | |
11149 | ||
11150 | * ftfont.c (ftfont_resolve_generic_family): Remove foundry from | |
11151 | pattern before matching the generic family. | |
11152 | ||
11153 | 2008-07-10 Dan Nicolaescu <dann@ics.uci.edu> | |
11154 | ||
11155 | * unexec.c: | |
11156 | * s/vms.h: | |
11157 | * s/usg5-4-2.h: | |
11158 | * s/sol2-5.h: | |
11159 | * s/freebsd.h: | |
11160 | * s/darwin.h: Remove dead code. | |
11161 | ||
11162 | * m/template.h: | |
11163 | * m/sparc.h: | |
11164 | * m/mips.h: | |
11165 | * m/m68k.h: | |
11166 | * m/iris4d.h: | |
11167 | * m/intel386.h: | |
11168 | * m/ibms390x.h: | |
11169 | * m/ibms390.h: | |
11170 | * m/ia64.h: | |
11171 | * m/hp800.h: | |
11172 | * m/arm.h: | |
11173 | * m/amdx86-64.h: Remove dead code and references to unused | |
11174 | and compiler defined symbols. | |
11175 | ||
11176 | * unexmips.c: | |
11177 | * unexelf.c: Remove references to desupported systems. | |
11178 | ||
11179 | * m/powermac.h: Remove file, it is now identical to m/macppc.h. | |
11180 | ||
11181 | * m/powermac.h: Remove boilerplate comments. | |
11182 | (NO_REMAP): Remove unused definition. | |
11183 | ||
11184 | * m/macppc.h (UNEXEC, NO_TERMIO): Don't define, the s/ files | |
11185 | define them. | |
11186 | ||
11187 | 2008-07-10 Kenichi Handa <handa@m17n.org> | |
11188 | ||
11189 | * xfont.c (xfont_open): Log the reason of failure. | |
11190 | ||
11191 | 2008-07-09 Stefan Monnier <monnier@iro.umontreal.ca> | |
11192 | ||
11193 | * fontset.c (fontset_get_font_group): | |
11194 | * font.c (font_check_otf): Specify argument types. | |
11195 | ||
11196 | 2008-07-09 Kenichi Handa <handa@m17n.org> | |
11197 | ||
11198 | * coding.c (detect_coding_utf_8): Set detect_info->found only when | |
11199 | non-ASCII char is found. | |
11200 | ||
11201 | * fontset.c (fontset_compare_rfontdef): Fix plus/minus. | |
11202 | (reorder_font_vector): Change the arg preferred_family to font. | |
11203 | Prefer the spec matching with font. | |
11204 | (fontset_get_font_group): New function. | |
11205 | (fontset_find_font): Change the format of an element of a realized | |
11206 | fontset. Use fontset_get_font_group. | |
11207 | (fontset_font): Try the current fontset, the default fontset, the | |
11208 | fallbacks of the current fontset, and the fallbacks of the default | |
11209 | fontset in this order. | |
11210 | (face_for_char): Delete the shortcut to use the current font. | |
11211 | (fontset_from_font): Don't set fonts for Latin in the fontset. | |
11212 | ||
11213 | * font.h (font_make_object, font_match_p): Adjust prototypes. | |
11214 | ||
11215 | * ftfont.h [FT_BDF_H]: Include FT_BDF_H. | |
11216 | ||
11217 | * font.c (font_make_object): New arg entity and pixelsize. | |
11218 | (font_check_otf_features, font_check_otf): New functions. | |
11219 | (font_match_p): Check :lang, :script, and :otf properties. | |
11220 | ||
11221 | * xfont.c (xfont_open): Adjust it for the change of | |
11222 | font_make_object. | |
11223 | (xfont_text_extents): Fix initial setting of metrics. | |
11224 | ||
11225 | * ftfont.c (struct ftfont_info): New member index, delete member | |
11226 | fc_charset_idx. Make the member order compatible with struct | |
11227 | xftfont_info. | |
11228 | (fc_charset_table): Change charset names to registry names. | |
11229 | (ftfont_pattern_entity): Delete the args registry and | |
11230 | fc_charset_idx. Change the value of :font-entity property | |
11231 | to (FONTNAME . INDEX). Always set :registry property to | |
11232 | `iso10646-1'. | |
11233 | (struct ftfont_cache_data): New struct. | |
11234 | (ftfont_lookup_cache): New arg for_face. | |
11235 | (ftfont_get_fc_charset, ftfont_get_otf): New functions. | |
11236 | (ftfont_driver): Set the member otf_capability. | |
11237 | (ftfont_get_charset): Adjust it for the change of | |
11238 | fc_charset_table. | |
11239 | (OTF_TAG_SYM): New macro. | |
11240 | (ftfont_spec_pattern): Delete the arg fc_charset_idx. Adjust it | |
11241 | for the change of fc_charset_table. | |
11242 | (ftfont_list): Adjust it for the change of ftfont_spec_pattern and | |
11243 | ftfont_pattern_entity. Add FC_INDEX to objset. | |
11244 | (ftfont_match): Adjust it for the change of ftfont_spec_pattern | |
11245 | and ftfont_pattern_entity. | |
11246 | (ftfont_open): Adjust it for the change of ftfont_lookup_cache, | |
11247 | font_make_object, struct ftfont_info. | |
11248 | (ftfont_has_char): Use ftfont_get_fc_charset. | |
11249 | (ftfont_otf_features, ftfont_otf_capability): New functions. | |
11250 | (ftfont_shape): Use ftfont_get_otf. | |
11251 | (ftfont_text_extents): Fix initial setting of metrics. | |
11252 | ||
11253 | * xftfont.c (struct xftfont_info): New member ft_size. Make the | |
11254 | member order compatible with struct ftfont_info. | |
11255 | (xftfont_open): Add FC_CHARSET to the pattern. Set | |
11256 | xftfont_info->ft_size. Don't unlock the face. Check BDF | |
11257 | properties if appropriate. | |
11258 | (xftfont_close): Unlock the face. | |
11259 | (xftfont_anchor_point, xftfont_shape): Deleted. | |
11260 | (syms_of_xftfont): Don't set members anchor_point and shape of | |
11261 | xftfont_driver. | |
11262 | ||
11263 | * w32uniscribe.c (uniscribe_open): Adjust it for the change of | |
11264 | font_make_object. | |
11265 | ||
11266 | * w32font.c (w32font_open): Adjust it for the change of | |
11267 | font_make_object. | |
11268 | (w32font_open_internal): Don't set properties of font_object here. | |
11269 | ||
11270 | 2008-07-08 Chong Yidong <cyd@stupidchicken.com> | |
11271 | ||
11272 | * macfns.c (x_create_tip_frame): | |
11273 | * w32fns.c (x_create_tip_frame): | |
11274 | * xfns.c (x_create_tip_frame): Pass parameter argument to | |
11275 | face-set-after-frame-default. | |
11276 | ||
11277 | * xfaces.c (Finternal_merge_in_global_face): Save merged | |
11278 | attributes for the default face back into the face vector. | |
11279 | ||
11280 | 2008-07-08 Andreas Schwab <schwab@suse.de> | |
11281 | ||
11282 | * fontset.h: Declare fontset_from_font. Don't declare | |
11283 | new_fontset_from_font and fontset_from_font_name. | |
11284 | * xterm.c: Include "fontset.h". | |
11285 | * Makefile.in (xterm.o): Update dependencies. | |
11286 | ||
11287 | 2008-07-08 Glenn Morris <rgm@gnu.org> | |
11288 | ||
11289 | * m/sparc.h: Define __sparc__ rather than sparc. (Bug#507.) | |
11290 | * alloc.c, ecrt0.c: Use __sparc__ rather than sparc. | |
11291 | ||
11292 | 2008-07-07 Chong Yidong <cyd@stupidchicken.com> | |
11293 | ||
11294 | * frame.c (Qinhibit_face_set_after_frame_default): Var deleted. | |
11295 | (x_set_frame_parameters): Don't bind it. | |
11296 | ||
11297 | 2008-07-07 Juanma Barranquero <lekktu@gmail.com> | |
11298 | ||
11299 | * w32fns.c (map_w32_filename): Declare extern. | |
11300 | ||
11301 | 2008-07-07 Jason Rumney <jasonr@gnu.org> | |
11302 | ||
11303 | * w32term.c (WS_EX_LAYERED): Define if not already. | |
11304 | ||
11305 | 2008-07-06 Chong Yidong <cyd@stupidchicken.com> | |
11306 | ||
11307 | * xfaces.c (set_font_frame_param): Don't try to set the font | |
11308 | parameter if it is still unspecified in the lface. | |
11309 | ||
11310 | 2008-07-05 Chong Yidong <cyd@stupidchicken.com> | |
11311 | ||
11312 | * xfaces.c (Finternal_merge_in_global_face): Don't realize default | |
11313 | face if it didn't already exist. | |
11314 | ||
11315 | * xdisp.c (try_window_id): Give up if word-wrapping is on. | |
11316 | ||
11317 | 2008-07-05 Andreas Schwab <schwab@suse.de> | |
11318 | ||
11319 | * xdisp.c (get_it_property): Move out of HAVE_WINDOW_SYSTEM section. | |
11320 | ||
11321 | 2008-07-05 Chong Yidong <cyd@stupidchicken.com> | |
11322 | ||
11323 | * xdisp.c (IT_OVERFLOW_NEWLINE_INTO_FRINGE): Turn it off if | |
11324 | word-wrapping. | |
11325 | (IT_DISPLAYING_WHITESPACE): New macro. | |
11326 | (move_it_in_display_line_to): Handle MOVE_TO_X requests properly | |
11327 | when word-wrapping. Simplify word-wrapping logic. Use correct | |
11328 | pixel positions when saving copies of the iterator. | |
11329 | (display_line): Use proper wrap point if the last character on a | |
11330 | line was preceded by whitespace. | |
11331 | ||
11332 | 2008-07-04 Stefan Monnier <monnier@iro.umontreal.ca> | |
11333 | ||
11334 | * Makefile.in (${etc}DOC): Depend on ${lisp} rather than ${shortlisp}. | |
11335 | ||
11336 | 2008-07-04 Kenichi Handa <handa@m17n.org> | |
11337 | ||
11338 | * fns.c (Fstring_to_unibyte): Delete the arg ACCEPT-LATIN-1. | |
11339 | ||
11340 | * lisp.h: EXFUN adjusted for the change of Fstring_to_unibyte. | |
11341 | ||
11342 | 2008-07-02 Jason Rumney <jasonr@gnu.org> | |
11343 | ||
11344 | * xfns.c (syms_of_xfns): Only define x-select-font when both | |
2ae37cf0 | 11345 | HAVE_FREETYPE and USE_GTK. |
aac0c6e3 MR |
11346 | |
11347 | * xdisp.c (next_element_from_display_vector): Move assignment out | |
11348 | of if statement. | |
11349 | ||
11350 | 2008-07-02 Toru Tsuneyoshi <t_tuneyosi@hotmail.com> | |
11351 | ||
11352 | * lisp.h (Qdelete_file, Qdelete_directory): Declare extern. | |
11353 | ||
11354 | * fileio.c (delete_by_moving_to_trash, Qmove_file_to_trash): New vars. | |
11355 | (syms_of_fileio): Initialize and export them. | |
11356 | (Fdelete_directory, Fdelete_file): Optionally delete via trash. | |
11357 | ||
11358 | * w32fns.c (FOF_NO_CONNECTED_ELEMENTS): Define if not already. | |
11359 | (Fsystem_move_file_to_trash): New function. | |
11360 | (syms_of_w32fns): Export it to lisp. | |
11361 | ||
11362 | 2008-07-01 Jason Rumney <jasonr@gnu.org> | |
11363 | ||
11364 | * w32font.c (w32font_text_extents): Don't count overhang as part | |
11365 | of width. | |
11366 | ||
11367 | 2008-06-30 Miles Bader <miles@gnu.org> | |
11368 | ||
11369 | * dispextern.h (struct glyph, struct it, struct iterator_stack_entry): | |
11370 | Add `avoid_cursor_p' field. | |
11371 | ||
11372 | * xdisp.c (push_it, pop_it): Save/restore avoid_cursor_p field. | |
11373 | (set_cursor_from_row): Skip glyphs with avoid_cursor_p set. | |
11374 | (append_glyph, append_composite_glyph, produce_image_glyph) | |
11375 | (append_stretch_glyph): Initialize avoid_cursor_p. | |
11376 | (get_it_property): Rename from `get_line_height_property'. | |
11377 | (x_produce_glyphs): Use get_it_property. | |
11378 | (handle_line_prefix, push_display_prop): New functions. | |
11379 | (display_line, move_it_in_display_line_to): Handle line/wrap prefixes. | |
11380 | (Vwrap_prefix, Qwrap_prefix, Vline_prefix, Qline_prefix): | |
11381 | New variables. | |
11382 | (syms_of_xdisp): Initialize them. | |
11383 | ||
11384 | 2008-06-30 Kenichi Handa <handa@m17n.org> | |
11385 | ||
11386 | * xftfont.c (xftfont_open): Don't call FcConfigSubstitute and | |
11387 | XftDefaultSubstitute (they are called in XftFontMatch). | |
11388 | (xftfont_open): Fix args to ftfont_font_format. | |
11389 | ||
11390 | * ftfont.c (fc_charset_table): New member lang. | |
11391 | (ftfont_resolve_generic_family): New arg pattern. | |
60612c8f | 11392 | (ftfont_spec_pattern): Check fc_charset_table[]->lang. |
aac0c6e3 MR |
11393 | (ftfont_list): Call ftfont_resolve_generic_family with `pattern'. |
11394 | (ftfont_open): Fix args to ftfont_font_format. | |
11395 | (ftfont_font_format): New arg filename. | |
11396 | ||
11397 | 2008-06-30 Chong Yidong <cyd@stupidchicken.com> | |
11398 | ||
11399 | * xfaces.c (Finternal_merge_in_global_face): If default face was | |
11400 | modified, realize it again. Update the font face attribute. | |
11401 | ||
11402 | 2008-06-29 Jason Rumney <jasonr@gnu.org> | |
11403 | ||
11404 | * w32term.c (x_set_frame_alpha): Fix logic. | |
11405 | ||
11406 | 2008-06-29 Kenichi Handa <handa@m17n.org> | |
11407 | ||
11408 | * fontset.c (Finternal_char_font): Return font-object instead of | |
11409 | font-name. | |
11410 | ||
11411 | * composite.c (get_composition_id): Fix the width calculation for TAB. | |
11412 | ||
11413 | 2008-06-29 Stefan Monnier <monnier@iro.umontreal.ca> | |
11414 | ||
11415 | * indent.c (Fvertical_motion): Properly handle float column arg. | |
11416 | ||
11417 | 2008-06-28 Jason Rumney <jasonr@gnu.org> | |
11418 | ||
11419 | * w32term.c (pfnGetFontUnicodeRanges): Remove unused function pointer. | |
11420 | (pfnSetLayeredWindowAttributes): New function pointer. | |
11421 | (w32_initialize): Initialize it when supported. | |
11422 | (x_set_frame_alpha): New function. | |
11423 | ||
11424 | * w32fns.c (Fx_create_frame): Initialize frame parameter `alpha'. | |
11425 | (w32_frame_parm_handlers): Set alpha handler. | |
11426 | ||
11427 | * frame.c (x_set_alpha) [HAVE_NTGUI]: Call x_set_frame_alpha. | |
11428 | ||
11429 | 2008-06-27 Jason Rumney <jasonr@gnu.org> | |
11430 | ||
11431 | * w32fns.c (x_to_w32_font, w32_to_x_font, x_to_w32_weight) | |
11432 | (w32_to_x_weight, w32_to_all_x_charsets): Remove obsolete functions. | |
11433 | (w32_to_x_charset, x_to_w32_charset) | |
11434 | (Qw32_charset_ansi, Qw32_charset_symbol, Qw32_charset_default) | |
11435 | (Qw32_charset_shiftjis, Qw32_charset_hangeul, Qw32_charset_johab) | |
11436 | (Qw32_charset_chinesebig5, Qw32_charset_gb2312, Qw32_charset_oem) | |
11437 | (Qw32_charset_easteurope, Qw32_charset_turkish, Qw32_charset_baltic) | |
11438 | (Qw32_charset_russian, Qw32_charset_arabic, Qw32_charset_greek) | |
11439 | (Qw32_charset_hebrew, Qw32_charset_vietnamese, Qw32_charset_thai) | |
11440 | (Qw32_charset_mac, Vw32_charset_info_alist): Move to w32font.c. | |
11441 | (Qw32_charset_unicode): Remove. | |
11442 | (syms_of_w32fns): Update for above changes. | |
11443 | ||
11444 | * w32font.c (w32_to_x_charset, x_to_w32_charset) | |
11445 | (Qw32_charset_ansi, Qw32_charset_symbol, Qw32_charset_default) | |
11446 | (Qw32_charset_shiftjis, Qw32_charset_hangeul, Qw32_charset_johab) | |
11447 | (Qw32_charset_chinesebig5, Qw32_charset_gb2312, Qw32_charset_oem) | |
11448 | (Qw32_charset_easteurope, Qw32_charset_turkish, Qw32_charset_baltic) | |
11449 | (Qw32_charset_russian, Qw32_charset_arabic, Qw32_charset_greek) | |
11450 | (Qw32_charset_hebrew, Qw32_charset_vietnamese, Qw32_charset_thai) | |
11451 | (Qw32_charset_mac, Vw32_charset_info_alist): Move from w32fns.c. | |
11452 | (syms_of_w32font): Update for above changes. | |
11453 | ||
11454 | 2008-06-27 Dan Nicolaescu <dann@ics.uci.edu> | |
11455 | ||
11456 | * s/usg5-4.h: Fix previous change: keep the correct branch of a | |
11457 | removed #if. | |
11458 | (USG_SHARED_LIBRARIES): Remove duplicate definition. | |
11459 | ||
11460 | 2008-06-26 Juanma Barranquero <lekktu@gmail.com> | |
acd0102a | 11461 | Eli Zaretskii <eliz@gnu.org> |
aac0c6e3 MR |
11462 | |
11463 | * makefile.w32-in (LOCAL_FLAGS): | |
11464 | Don't include WINDOWSNT, DOS_NT and _UCHAR_T. | |
11465 | ||
11466 | * sysdep.c (_spawnlp, _getpid): | |
11467 | Declare with explicit _cdecl instead of _CRTAPI1. | |
11468 | ||
11469 | * editfns.c (Fget_internal_run_time): | |
11470 | Check for WINDOWSNT with #ifdef, not #if. | |
11471 | ||
11472 | 2008-06-26 Jason Rumney <jasonr@gnu.org> | |
11473 | ||
11474 | * w32font.h (FONT_HANDLE, FONT_TEXTMETRIC): New macros. | |
11475 | ||
11476 | * w32term.c (x_draw_glyph_string_foreground) | |
11477 | (x_draw_composite_glyph_string_foreground): Sync with xterm.c. | |
11478 | Use FONT_HANDLE macro. | |
11479 | (x_draw_glyph_string): Use FONT_TEXTMETRIC macro. | |
11480 | ||
11481 | * w32uniscribe.c (uniscribe_otf_capability, uniscribe_shape) | |
11482 | (uniscribe_encode_char): Use FONT_HANDLE macro. | |
11483 | ||
11484 | * w32font.c (Fx_select_font): Use FONT_HANDLE macro. | |
11485 | (w32font_text_extents): Use precast w32_font. | |
11486 | (w32font_close): Free cached metrics. | |
11487 | (w32font_open_internal): Allocate space for name on stack. | |
11488 | ||
11489 | 2008-06-26 Chong Yidong <cyd@stupidchicken.com> | |
11490 | ||
11491 | * xdisp.c (extend_face_to_end_of_line): Fix last change. | |
11492 | ||
11493 | 2008-06-26 Jason Rumney <jasonr@gnu.org> | |
11494 | ||
11495 | * w32term.h (FONT_AVG_WIDTH): Remove obsolete macro. | |
11496 | (CP_8BIT, CP_UNICODE, CP_UNKNOWN): Remove obsolete constants. | |
11497 | ||
11498 | 2008-06-26 Juanma Barranquero <lekktu@gmail.com> | |
11499 | ||
11500 | * Makefile.in (SOME_MACHINE_OBJECTS): Remove w32bdf.o. | |
11501 | ||
11502 | 2008-06-26 Jason Rumney <jasonr@gnu.org> | |
11503 | ||
11504 | * w32bdf.c, w32bdf.h: Remove obsolete files. | |
11505 | ||
11506 | * makefile.w32-in: Remove refs to w32bdf.h and w32bdf.c. | |
11507 | ||
11508 | * w32gui.h: Don't include w32bdf.h. | |
11509 | (XCharStruct, enum w32_char_font_type, W32FontStruct): | |
11510 | Remove obsolete font support. | |
11511 | ||
11512 | * w32font.h (struct w32font_info): Remove compat_w32_font. | |
11513 | Add hfont member. | |
11514 | (FONT_COMPAT): Remove obsolete macro. | |
11515 | ||
11516 | * w32font.c (w32font_close): Remove compat code. Delete hfont member. | |
11517 | (w32font_encode_char, w32font_text_extents): Use new hfont member. | |
11518 | (w32font_open_internal): Remove compat code. Set new hfont member. | |
11519 | (Fx_select_font): Use new hfont member. | |
11520 | ||
11521 | * w32uniscribe.c (uniscribe_otf_capability, uniscribe_shape) | |
11522 | (uniscribe_encode_char): Use new hfont member. | |
11523 | ||
11524 | * w32term.c (x_draw_glyph_string_foreground) | |
11525 | (x_draw_composite_glyph_string_foreground): Use new hfont member. | |
11526 | (x_draw_glyph_string): Use metrics in w32font_info. | |
11527 | ||
11528 | 2008-06-26 Kenichi Handa <handa@m17n.org> | |
11529 | ||
11530 | * xdisp.c (handle_auto_composed_prop): Fix for the terminal case. | |
11531 | ||
11532 | 2008-06-26 Dan Nicolaescu <dann@ics.uci.edu> | |
11533 | ||
11534 | * unexnext.c: | |
11535 | * m/ews4800.h: | |
11536 | * m/hp9000s300.h: | |
11537 | * m/ibm370aix.h: | |
11538 | * m/mips-siemens.h: | |
11539 | * m/ncr386.h: | |
11540 | * m/next.h: | |
11541 | * m/pmax.h: | |
11542 | * m/powerpcle.h: | |
11543 | * m/tandem-s2.h: | |
11544 | * s/386bsd.h: | |
11545 | * s/bsd386.h: | |
11546 | * s/bsd4-1.h: | |
11547 | * s/bsd4-2.h: | |
11548 | * s/bsdos2-1.h: | |
11549 | * s/bsdos2.h: | |
11550 | * s/bsdos3.h: | |
11551 | * s/bsdos4.h: | |
11552 | * s/nextstep.h: | |
11553 | * s/ultrix4-3.h: | |
11554 | * s/usg5-0.h: | |
11555 | * s/usg5-2-2.h: | |
11556 | * s/usg5-2.h: | |
11557 | * s/usg5-4-3.h: | |
11558 | * s/ux4800.h: | |
11559 | * s/uxpds.h: | |
11560 | * s/uxpv.h: Remove support for obsolete systems. | |
11561 | * s/hpux.h, s/hpux10.h, s/hpux8.h, s/hpux9.h, s/hpux9shr.h: | |
8f3a3ac2 | 11562 | Remove, insert contents in s/hpux10-20.h. |
aac0c6e3 MR |
11563 | * s/aix3-1.h, s/aix3-2-5.h, s/aix3-2.h, s/aix4-1.h, s/aix4.h: |
11564 | Remove, insert contents in s/aix4-2.h. | |
11565 | * s/usg5-3.h: Remove, insert contents in s/usg5-4.h. | |
11566 | * s/bsd4-3.h: Rename to ... | |
11567 | * s/bsd-common.h: ... this. | |
11568 | * data.c: | |
11569 | * doc.c: | |
11570 | * ecrt0.c: | |
11571 | * emacs.c: | |
11572 | * fileio.c: | |
11573 | * floatfns.c: | |
11574 | * keyboard.c: | |
11575 | * mem-limits.h: | |
11576 | * print.c: | |
11577 | * process.c: | |
11578 | * sysdep.c: | |
11579 | * syssignal.h: | |
11580 | * systty.h: | |
11581 | * syswait.h: | |
11582 | * term.c: | |
11583 | * unexec.c: | |
11584 | * unexelf.c: | |
11585 | * unexhp9k800.c: | |
11586 | * m/hp800.h: | |
11587 | * m/ibmrs6000.h: | |
11588 | * m/mips.h: | |
11589 | * m/vax.h: | |
11590 | * s/darwin.h: | |
11591 | * s/freebsd.h: | |
11592 | * s/gnu.h: | |
11593 | * s/ms-w32.h: | |
11594 | * s/msdos.h: | |
11595 | * s/netbsd.h: | |
11596 | * s/template.h: Remove references to obsolete variables. | |
11597 | ||
11598 | * Makefile.in: Add dependencies for all unexec files. | |
11599 | (admindir): Remove unused variable. | |
11600 | (UNEXEC_SRC): Remove references. | |
11601 | ||
11602 | 2008-06-25 Chong Yidong <cyd@stupidchicken.com> | |
11603 | ||
11604 | * xfns.c (x_default_font_parameter): If Xft is available, first | |
11605 | try Monospace-12 for the default font. | |
11606 | ||
11607 | 2008-06-25 Jason Rumney <jasonr@gnu.org> | |
11608 | ||
11609 | * xdisp.c (get_glyph_face_and_encoding): Encode invalid glyphs as 0. | |
11610 | ||
11611 | 2008-06-25 Stefan Monnier <monnier@iro.umontreal.ca> | |
11612 | ||
11613 | * bytecode.c (Fbyte_code): Disable debugging code that doesn't compile. | |
11614 | ||
11615 | * buffer.c (syms_of_buffer): Remove default-word-wrap. | |
11616 | ||
11617 | 2008-06-25 Juanma Barranquero <lekktu@gmail.com> | |
11618 | ||
11619 | * xdisp.c (syms_of_xdisp) <truncate-partial-width-windows>: Doc fix. | |
11620 | <scroll-conservatively>: Fix typo in docstring. | |
11621 | ||
11622 | * xselect.c (Fx_send_client_event): Doc fix. | |
11623 | ||
11624 | 2008-06-25 Kenichi Handa <handa@m17n.org> | |
11625 | ||
11626 | * xfaces.c (Fx_list_fonts): Call Flist_fonts with the arg PREFER. | |
11627 | ||
11628 | * font.c (font_parse_fcname): Remove unused variables. | |
11629 | (font_sort_entites): Delete the arg SPEC. Caller changed. | |
11630 | Fix for the case of ! best_only. | |
11631 | (font_delete_unmatched): Check DPI and AVGWIDTH too. | |
11632 | ||
11633 | * lisp.h (Fstring_to_unibyte): EXFUN it. | |
11634 | ||
11635 | * character.h (str_to_unibyte): Extern it. | |
11636 | ||
11637 | * character.c (str_to_unibyte): New function. | |
11638 | ||
11639 | * fns.c (Fstring_to_unibyte): New function. | |
11640 | (syms_of_fns): Defsubr it. | |
11641 | ||
11642 | 2008-06-24 Kenichi Handa <handa@m17n.org> | |
11643 | ||
11644 | * font.c (font_score): Even if the PIXEL_SIZE is the same, check | |
11645 | DPI too. | |
11646 | (font_sort_entites): Setup prefer_prop[FONT_DPI_INDEX] too. | |
11647 | ||
11648 | 2008-06-24 Andreas Schwab <schwab@suse.de> | |
11649 | ||
11650 | * Makefile.in (${lispsource}loaddefs.el): Rename from | |
11651 | ../lisp/loaddefs.el. | |
11652 | (bootstrap-clean): Do what distclean does but don't remove | |
11653 | Makefile. | |
11654 | (distclean): Depend on bootstrap-clean and remove Makefile. | |
11655 | ||
11656 | 2008-06-24 Chong Yidong <cyd@stupidchicken.com> | |
11657 | ||
11658 | * buffer.h (struct buffer): New member word_wrap. | |
11659 | ||
11660 | * buffer.c (syms_of_buffer): New variables default-word-wrap and | |
11661 | word-wrap. | |
11662 | (init_buffer_once): Initialize them. | |
11663 | ||
11664 | * dispextern.h (struct it): Replace bool truncate_lines_p with a | |
11665 | line_wrap enum possessing three possible values. | |
11666 | ||
11667 | * termopts.h: Replace truncate_partial_width_windows with | |
11668 | Vtruncate_partial_width_windows. | |
11669 | ||
11670 | * dispnew.c (direct_output_for_insert): Avoid direct output when | |
11671 | inserting a space with word wrap on. | |
11672 | ||
11673 | * indent.c (compute_motion): Obey integer values of | |
11674 | truncate-partial-width-windows. | |
11675 | ||
11676 | * xdisp.c (Vtruncate_partial_width_windows): New Lisp_Object, | |
11677 | replacing truncate_partial_width_windows. | |
11678 | (init_iterator): If Vtruncate_partial_width_windows is an integer, | |
11679 | truncate only if the window width is below that integer. | |
11680 | (start_display, resize_mini_window, produce_stretch_glyph) | |
11681 | (display_string, move_it_in_display_line_to): Use line_wrap. | |
11682 | (back_to_previous_visible_line_start, reseat_1): Reset | |
11683 | string_from_display_prop_p. | |
11684 | (display_line): Extend default face to end of line when wrapping. | |
11685 | ||
11686 | 2008-06-24 Kim F. Storm <storm@cua.dk> | |
11687 | ||
11688 | * xdisp.c (display_line, move_it_in_display_line_to): Add ability | |
11689 | to wrap continued lines at word boundaries. | |
11690 | ||
11691 | 2008-06-24 Jason Rumney <jasonr@gnu.org> | |
11692 | ||
11693 | * font.c (Ffont_face_attributes): Multiply pixel size before point | |
11694 | conversion to avoid multiplying rounding error. | |
11695 | ||
11696 | 2008-06-23 Jason Rumney <jasonr@gnu.org> | |
11697 | ||
11698 | * w32term.c (x_draw_glyph_string_background) | |
11699 | (x_draw_glyph_string): Remove old bdf font code. | |
11700 | ||
11701 | * w32term.h (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): Remove. | |
11702 | ||
11703 | 2008-06-22 Kenichi Handa <handa@m17n.org> | |
11704 | ||
11705 | * font.c (font_find_for_lface): Try the adstyle specified in | |
11706 | the property of LFACE_FONT of LFACE (if any). | |
11707 | ||
11708 | 2008-06-21 Seiji Zenitani <zenitani@mac.com> | |
acd0102a | 11709 | Ryo Yoshitake <ryo@shiftmode.net> |
aac0c6e3 MR |
11710 | |
11711 | * xterm.c (x_set_frame_alpha): Add x_catch_errors for bug#437. | |
11712 | ||
11713 | 2008-06-22 Stefan Monnier <monnier@iro.umontreal.ca> | |
11714 | ||
11715 | * Makefile.in (${lisp} ${SOME_MACHINE_LISP}, ../lisp/loaddefs.el): | |
11716 | Use $(BOOTSTRAPEMACS) rather than witness-emacs. | |
11717 | (bootstrap-emacs${EXEEXT}): Merge witness-emacs into it. | |
11718 | (witness-emacs): Remove. | |
11719 | (lisp, shortlisp): Move loaddefs.el earlier. | |
11720 | (mostlyclean): Forget about witness-emacs. | |
11721 | ||
11722 | 2008-06-22 Glenn Morris <rgm@gnu.org> | |
11723 | ||
11724 | * Makefile.in (witness-emacs): Depend on temacs${EXEEXT}. | |
11725 | (.SUFFIXES): Declare .el.elc as a suffix rule, for non-GNU makes. | |
11726 | ||
11727 | 2008-06-21 Stefan Monnier <monnier@iro.umontreal.ca> | |
11728 | ||
11729 | * Makefile.in (PRECOMP): Remove. | |
11730 | (${lisp} ${SOME_MACHINE_LISP}): Remove pseudo dependency on PRECOMP. | |
11731 | (witness-emacs): Run `compile-first'. | |
11732 | (.el.elc): Use the new compile-onefile target. | |
11733 | ||
11734 | 2008-06-21 Kenichi Handa <handa@m17n.org> | |
11735 | ||
11736 | * xftfont.c (xftfont_open): Handle QCembolden only when | |
11737 | FC_EMBOLDEN is defined. | |
11738 | ||
11739 | 2008-06-21 Andreas Schwab <schwab@suse.de> | |
11740 | ||
11741 | * Makefile.in (witness-emacs): Use ../lisp, not $(lispsource). | |
11742 | (.el.elc): Likewise. | |
11743 | ||
11744 | 2008-06-21 Miles Bader <miles@gnu.org> | |
11745 | ||
11746 | * Makefile.in (../lisp/loaddefs.el): Build autoloads in the lisp | |
11747 | build dir, not the lisp source dir. | |
11748 | ||
11749 | 2008-06-21 Stefan Monnier <monnier@iro.umontreal.ca> | |
11750 | ||
11751 | * Makefile.in (emacs${EXEEXT}): Link the new emacs to bootstrap-emacs. | |
11752 | (bootstrapclean): Remove. | |
11753 | (.el.elc): New rule. | |
11754 | (PRECOMP): New var. | |
11755 | (../lisp/subdirs.el): Remove. | |
11756 | (bootstrap-emacs${EXEEXT}): Remove subdirs.el and charpro.el dependency. | |
11757 | (witness-emacs): New target. | |
11758 | (mostlyclean): Remove witness-emacs as well. | |
11759 | (../lisp/loaddefs.el, ${lisp} ${SOME_MACHINE_LISP}): | |
11760 | Add witness-emacs dependency. | |
11761 | ||
11762 | 2008-06-20 Chong Yidong <cyd@stupidchicken.com> | |
11763 | ||
11764 | * font.c (Ffont_face_attributes): Omit key-attribute pairs not | |
11765 | defined by the font. | |
11766 | ||
11767 | 2008-06-20 Stefan Monnier <monnier@iro.umontreal.ca> | |
11768 | ||
11769 | * Makefile.in (emacs${EXEEXT}): Depend on the machine-specific files. | |
11770 | (bootstrap-clean): New target that keeps TAGS around. | |
11771 | (../lisp/subdirs.el, ../lisp/loaddefs.el): New targets. | |
11772 | (bootstrap-emacs${EXEEXT}): Depend on subdirs.el. | |
11773 | ||
11774 | 2008-06-20 Jason Rumney <jasonr@gnu.org> | |
11775 | ||
11776 | * w32fns.c, w32term.c, w32term.h, w32gui.h [OLD_FONT]: | |
11777 | Remove obsolete font code. | |
11778 | ||
11779 | * w32font.c (font_matches_spec): Use csb bitfield from font signature | |
11780 | to determine language support. | |
11781 | ||
11782 | 2008-06-20 Stefan Monnier <monnier@iro.umontreal.ca> | |
11783 | ||
11784 | * sysdep.c (cfsetspeed): New fun extracted from the code. | |
11785 | (cfmakeraw): Move before first use. | |
11786 | ||
11787 | 2008-06-20 Angelo Graziosi <angelo.graziosi@alice.it> (tiny change) | |
11788 | ||
11789 | * sysdep.c (cfmakeraw): Provide fallback implementation. | |
11790 | (serial_configure): Provide fallback implementation of cfsetspeed. | |
11791 | ||
11792 | 2008-06-20 Kenichi Handa <handa@m17n.org> | |
11793 | ||
11794 | * xftfont.c (xftfont_open): Add FOUNDRY, SPACING, DPI, SCALABLE to | |
11795 | the pattern. | |
11796 | ||
11797 | * fontset.c (fontset_from_font): Copy font_spec before changing | |
11798 | the elements. | |
11799 | ||
11800 | * xfns.c (x_default_font_parameter): Try "monospace-12" too. | |
11801 | ||
11802 | 2008-06-20 Stefan Monnier <monnier@iro.umontreal.ca> | |
11803 | ||
11804 | * w32fns.c, xfns.c (x_default_font_parameter): Only set `font-param' | |
11805 | for explicit `font' parameters. | |
11806 | ||
11807 | * frame.c (x_set_font): Remove unexplained call to fix inf-recursion. | |
11808 | ||
11809 | 2008-06-19 Kenichi Handa <handa@m17n.org> | |
11810 | ||
11811 | * frame.c: Include <ctype.h>. | |
11812 | (x_set_font_backend): Allow spacing characters in the X resource | |
11813 | for FontBackend. | |
11814 | ||
11815 | 2008-06-19 Stefan Monnier <monnier@iro.umontreal.ca> | |
11816 | ||
11817 | * w32fns.c, xfns.c (Qfont_param): New var. | |
11818 | (syms_of_w32fns): Initialize it. | |
11819 | (x_default_font_parameter): Record explicit `font' into | |
11820 | `font-parameter'. | |
11821 | ||
11822 | 2008-06-18 Kenichi Handa <handa@m17n.org> | |
11823 | ||
11824 | * font.c (font_parse_xlfd): Fix previous change. | |
11825 | (font_parse_fcname): Don't use :fc-unknown-spec. | |
11826 | (FRAME_X_DISPLAY_INFO): Be sure to have at least 1 pixel height. | |
11827 | (Fcopy_font_spec): Preserve the order of elements in FONT_EXTRA. | |
11828 | (font_add_log): Prepend the driver name to the resulting fonts. | |
11829 | ||
11830 | * ftfont.c (ftfont_pattern_entity): New arg extra. Caller changed. | |
11831 | (ftfont_spec_pattern): Don't check QCfc_unknown_spec and QCname. | |
11832 | (ftfont_list) [FC_FONTFORMAT]: Include FC_FONTFORMAT in objset. | |
11833 | ||
11834 | * xftfont.c (QChinting , QCautohint, QChintstyle, QCrgba) | |
11835 | (QCembolden): New variables. | |
11836 | (syms_of_xftfont): DEFSYM them. | |
11837 | (xftfont_open): Call XftFontMatch. Don't trust the result of | |
11838 | XftTextExtents8 if the pixel_size is less than 5. | |
11839 | ||
11840 | 2008-06-18 Andreas Schwab <schwab@suse.de> | |
11841 | ||
11842 | * font.c (Ffont_face_attributes): Only define if HAVE_WINDOW_SYSTEM. | |
11843 | (syms_of_font): Only defsubr if HAVE_WINDOW_SYSTEM. | |
11844 | ||
11845 | 2008-06-18 Jason Rumney <jasonr@gnu.org> | |
11846 | ||
11847 | * w32font.c (w32font_list, w32font_match): Add logging. | |
11848 | ||
11849 | * w32uniscribe.c (uniscribe_list, uniscribe_match): Add logging. | |
11850 | ||
11851 | 2008-06-17 Chong Yidong <cyd@stupidchicken.com> | |
11852 | ||
11853 | * font.c (font_parse_fcname): Store divider characters for | |
11854 | unknown-spec list. For known key symbols, intern using correct | |
11855 | symbol name. | |
11856 | ||
11857 | 2008-06-17 Kenichi Handa <handa@m17n.org> | |
11858 | ||
11859 | * xfaces.c (realize_default_face): If the frame is not on window | |
11860 | system, set the fontset of face to nil. | |
11861 | ||
11862 | 2008-06-17 Naohiro Aota <nao.aota@gmail.com> (tiny change) | |
11863 | ||
11864 | * fontset.c (fontset_pattern_regexp): Escape some reg-expr characters. | |
11865 | ||
11866 | 2008-06-16 Juanma Barranquero <lekktu@gmail.com> | |
11867 | ||
11868 | * dispextern.h (lookup_non_ascii_face, split_font_name_into_vector) | |
11869 | (build_font_name_from_vector): Delete externs. | |
11870 | ||
11871 | * xfaces.c (struct font_name): Don't declare. | |
11872 | ||
11873 | 2008-06-16 Stefan Monnier <monnier@iro.umontreal.ca> | |
11874 | ||
11875 | * font.c (font_unparse_gtkname): Use EQ to compare Lisp_Objects. | |
11876 | ||
11877 | 2008-06-16 Chong Yidong <cyd@stupidchicken.com> | |
11878 | ||
11879 | * font.c (font_parse_fcname): Fix handling of unknown-spec string. | |
11880 | ||
11881 | 2008-06-16 Juanma Barranquero <lekktu@gmail.com> | |
11882 | ||
11883 | * font.c (Ffont_spec): Fix usage in docstring. | |
11884 | (Ffont_face_attributes): Doc fix. | |
11885 | ||
11886 | 2008-06-16 Andreas Schwab <schwab@suse.de> | |
11887 | ||
11888 | * font.c (Ffont_face_attributes): Fix definition. | |
11889 | ||
11890 | 2008-06-16 Jason Rumney <jasonr@gnu.org> | |
11891 | ||
11892 | * font.h (font_style_symbolic_from_value): Remove. | |
11893 | ||
11894 | * font.c (font_style_symbolic_from_value): Remove. | |
11895 | (font_style_symbolic): Revert to pre 2008-06-13 version. | |
11896 | ||
11897 | * w32font.c (w32_to_fc_weight): New function. | |
11898 | (w32font_full_name, logfont_to_fcname): Use it. | |
11899 | ||
11900 | 2008-06-16 Kenichi Handa <handa@m17n.org> | |
11901 | ||
11902 | * font.c (font_check_object): Delete it. | |
11903 | (font_clear_cache): Check if a font-object is alive. | |
11904 | (font_open_entity): Likewise. Set FONT_OBJLST_INDEX of a | |
11905 | font-object to nil. | |
11906 | (font_close_object): Don't check FONT_CLOSE_OBJECT. | |
11907 | (font_at): Don't call font_check_object. | |
11908 | (Ffont_get): Return a symbol for :weight, :slant, and :width. | |
11909 | ||
11910 | 2008-06-16 Katsumi Yamaoka <yamaoka@jpl.org> | |
11911 | ||
11912 | * puresize.h (BASE_PURESIZE): Increase to 1230000. | |
11913 | ||
11914 | 2008-06-16 Chong Yidong <cyd@stupidchicken.com> | |
11915 | ||
11916 | * font.c (font_parse_fcname): Correctly parse KEY=VAL values. | |
11917 | ||
11918 | 2008-06-15 Chong Yidong <cyd@stupidchicken.com> | |
11919 | ||
11920 | * font.c (font_parse_fcname): Only one decimal point. | |
11921 | (font_unparse_fcname): Handle data in family and foundry indices | |
11922 | as symbols, not strings. | |
11923 | (font_unparse_gtkname, Ffont_face_attributes): New functions. | |
11924 | ||
11925 | * xfns.c (Fx_select_font): Give GTK font dialog the default font name. | |
11926 | ||
11927 | * font.h (font_unparse_gtkname): Add prototype. | |
11928 | ||
11929 | 2008-06-15 Naohiro Aota <nao.aota@gmail.com> (tiny change) | |
11930 | ||
11931 | * fontset.c (fontset_pattern_regexp): Escape `+' characters in pattern. | |
11932 | ||
11933 | 2008-06-15 Andreas Schwab <schwab@suse.de> | |
11934 | ||
11935 | * font.c (font_update_drivers): Fix crash when no drivers match. | |
11936 | ||
11937 | 2008-06-15 Stefan Monnier <monnier@iro.umontreal.ca> | |
11938 | ||
11939 | * xfns.c (Fx_create_frame): internal-border-width default to 0 for Gtk. | |
11940 | * gtkutil.c (xg_create_frame_widgets): Don't set internal_border_width. | |
11941 | ||
11942 | 2008-06-14 Stefan Monnier <monnier@iro.umontreal.ca> | |
11943 | ||
11944 | * xdisp.c (syms_of_xdisp): Default underline-minimum-offset to 1. | |
11945 | ||
11946 | 2008-06-13 Stefan Monnier <monnier@iro.umontreal.ca> | |
11947 | ||
11948 | * process.c (Fserial_process_configure, Fprocess_send_eof): | |
11949 | Use EQ to compare Lisp_Objects. | |
11950 | ||
11951 | 2008-06-13 Jason Rumney <jasonr@gnu.org> | |
11952 | ||
11953 | * w32fns.c (Fw32_select_font): Remove old font API function. | |
11954 | ||
11955 | * w32font.c (logfont_to_fcname): New function. | |
11956 | (Fx_select_font): New font dialog function compatible with | |
11957 | GTK/fontconfig version. | |
11958 | ||
11959 | * font.c (font_style_symbolic_from_value): New function. | |
11960 | (font_style_symbolic): Use it. | |
11961 | ||
11962 | * font.h (font_style_symbolic_from_value): Declare new function. | |
11963 | ||
11964 | 2008-06-13 Juanma Barranquero <lekktu@gmail.com> | |
11965 | ||
11966 | * font.c (syms_of_font) <font-weight-table, font-slant-table>: | |
11967 | <font-width-table>: Fix typos in docstrings. | |
11968 | ||
11969 | 2008-06-13 Daniel Engeler <engeler@gmail.com> | |
11970 | ||
11971 | These changes add serial port access. | |
11972 | * process.c: Add HAVE_SERIAL. | |
11973 | (Fdelete_process, Fprocess_status, Fset_process_buffer) | |
11974 | (Fset_process_filter, Fset_process_sentinel, Fprocess_contact) | |
11975 | (list_processes_1, select_wrapper, Fstop_process) | |
11976 | (Fcontinue_process, Fprocess_send_eof, kill_buffer_processes) | |
11977 | (status_notify): Modify to handle serial processes. | |
11978 | [HAVE_SERIAL] (Fserial_process_configure) | |
11979 | [HAVE_SERIAL] (make_serial_process_unwind, Fmake_serial_process): | |
11980 | New functions. | |
11981 | * process.h (struct Lisp_Process): Add `type'. | |
11982 | * sysdep.c [HAVE_TERMIOS] (serial_open, serial_configure): | |
11983 | New functions. | |
11984 | * w32.c (_sys_read_ahead, sys_read, sys_write): Modify to handle | |
11985 | serial ports. | |
b71ac3dd | 11986 | (serial_open, serial_configure): New functions. |
aac0c6e3 MR |
11987 | * w32.h: Add FILE_SERIAL. |
11988 | (struct _child_process): Add ovl_read, ovl_write. | |
11989 | ||
11990 | 2008-06-13 Kenichi Handa <handa@m17n.org> | |
11991 | ||
11992 | * dispextern.h (enum lface_attribute_index): New member | |
11993 | LFACE_FOUNDRY_INDEX. | |
11994 | ||
11995 | * font.c (font_score): Delete arg alternate_families. Check only | |
11996 | weight, slant, width, and size. Ignore the difference of alias | |
11997 | style symbols. | |
11998 | (font_sort_entites): Adjust for the above change. Reflect the | |
11999 | order of font-driver to scores. | |
12000 | (font_list_entities): Don't check alternate_familes here. | |
12001 | (font_clear_prop): Handle foundry. | |
12002 | (font_update_lface): Don't parse "foundry-family" form here. | |
12003 | Handle FONT_FOUNDRY_INDEX. | |
12004 | (font_find_for_lface): Likewise. Handle alternate families here. | |
12005 | If registry is nil, try iso8859-1 and ascii-0. | |
12006 | (font_open_for_lface): Pay attention to size in ENTITY. | |
12007 | (font_open_by_name): Simplify by calling font_load_for_lface. | |
12008 | (free_font_driver_list): Delete it. | |
12009 | (font_update_drivers): Preserve the order of backends. | |
12010 | (syms_of_font): Setting of sort_shift_bits adjusted for the change | |
12011 | of font_score and font_sort_entites. | |
12012 | (font_update_sort_order): Likewise. | |
12013 | ||
12014 | * xfaces.c (LFACE_FOUNDRY): New macro. | |
12015 | (check_lface_attrs): Check foundry. | |
12016 | (set_lface_from_font): Don't parse "FOUNDRY-FAMILY" form. | |
12017 | (merge_face_vectors): Check foundry. | |
12018 | (merge_face_ref): Likewise. | |
12019 | (Finternal_set_lisp_face_attribute): Likewise. | |
12020 | (x_update_menu_appearance): Likewise. | |
12021 | (Finternal_get_lisp_face_attribute): Likewise. | |
12022 | (lface_hash): Likewise. | |
12023 | (lface_same_font_attributes_p): Likewise. | |
12024 | (x_supports_face_attributes_p): Likewise. | |
12025 | (tty_supports_face_attributes_p): Likewise. | |
12026 | (Finternal_set_alternative_font_family_alist): Intern strings. | |
12027 | (Finternal_set_alternative_font_registry_alist): Downcase strings. | |
12028 | (realize_default_face): Set LFACE_FOUNDRY (lface). | |
12029 | ||
12030 | * xfns.c (Fx_create_frame, x_create_tip_frame): Register X | |
12031 | font-driver at first. | |
12032 | ||
12033 | * ftfont.c (ftfont_font_format) [! FC_FONTFORMAT]: Declare "int len;". | |
12034 | ||
12035 | 2008-06-12 Emanuele Giaquinta <emanuele.giaquinta@gmail.com> (tiny change) | |
12036 | ||
12037 | * lread.c (Fload): Use xfree, not free on saved_doc_string. | |
12038 | ||
12039 | 2008-06-12 Jim Meyering <meyering@redhat.com> | |
12040 | ||
12041 | Make unexec_free handle NULL the same way free does. | |
12042 | * unexmacosx.c (unexec_free): Ignore a NULL argument. | |
12043 | ||
12044 | 2008-06-12 Stefan Monnier <monnier@iro.umontreal.ca> | |
12045 | ||
12046 | * character.h (CHAR_TO_BYTE_SAFE): New macro. | |
12047 | * character.c (Fmultibyte_char_to_unibyte): Obey the docstring. | |
12048 | * regex.c (RE_CHAR_TO_UNIBYTE): Use the new macro. | |
12049 | (WEAK_ALIAS): Simplify. | |
12050 | * syntax.c (skip_chars): Don't mark non-byte chars in the fastmap | |
12051 | when searching a unibyte buffer. | |
12052 | ||
12053 | 2008-06-12 Chong Yidong <cyd@stupidchicken.com> | |
12054 | ||
12055 | * xfns.c (Fx_select_font): Rename from x-font-dialog. | |
12056 | ||
12057 | 2008-06-12 Juanma Barranquero <lekktu@gmail.com> | |
12058 | ||
12059 | * w32font.c: Include ctype.h. | |
12060 | ||
12061 | 2008-06-11 Jason Rumney <jasonr@gnu.org> | |
12062 | ||
12063 | * w32font.c (w32font_encode_char): Detect missing glyphs that are | |
12064 | misreported as space. | |
12065 | (add_font_entity_to_list): Support unicode-bmp and unicode-sip | |
12066 | as aliases for registry iso10646-1. | |
12067 | ||
12068 | 2008-06-11 Stefan Monnier <monnier@iro.umontreal.ca> | |
12069 | ||
12070 | * buffer.c (clone_per_buffer_values): Skip `name'. | |
12071 | ||
12072 | 2008-06-11 Chong Yidong <cyd@stupidchicken.com> | |
12073 | ||
12074 | * font.c (font_parse_fcname): Fix last change; accept decimal | |
12075 | points in font size. | |
12076 | ||
12077 | 2008-06-10 Jason Rumney <jasonr@gnu.org> | |
12078 | ||
12079 | * w32uniscribe.c (add_opentype_font_name_to_list): | |
12080 | Skip non unicode fonts. | |
12081 | ||
12082 | 2008-06-10 Chong Yidong <cyd@stupidchicken.com> | |
12083 | ||
12084 | * xfns.c (Fx_font_dialog): New function. | |
12085 | ||
12086 | * gtkutil.c (xg_dialog_response_cb): Rename from | |
12087 | xg_file_response_callback. | |
12088 | (pop_down_dialog): Rename from pop_down_file_dialog. | |
12089 | (xg_get_file_name): Callers changed. | |
12090 | (xg_get_font_name): New function. | |
12091 | ||
12092 | * gtkutil.h (xg_get_font_name): Insert prototype. | |
12093 | ||
12094 | 2008-06-10 Stefan Monnier <monnier@iro.umontreal.ca> | |
12095 | ||
12096 | * xdisp.c (underline_minimum_offset): Rename from xterm.c's | |
12097 | x_underline_minimum_display_offset. | |
12098 | (syms_of_xdisp): Declare it here rather than in xterm.c. | |
12099 | * dispextern.h (underline_minimum_offset): Declare it. | |
12100 | * w32term.c (x_draw_glyph_string): Use it. | |
12101 | * xterm.c (x_underline_minimum_display_offset): Move to xdisp.c. | |
12102 | (syms_of_xterm): Don't declare it any more. | |
12103 | (x_draw_glyph_string): Adjust to the new name. | |
12104 | ||
8719abec | 12105 | 2008-06-10 David De La Harpe Golden <david@harpegolden.net> |
aac0c6e3 MR |
12106 | |
12107 | * xterm.c (x_underline_minimum_display_offset): New var. | |
12108 | (x_draw_glyph_string): Use it. | |
12109 | (syms_of_xterm): Declare it. | |
12110 | ||
12111 | 2008-06-10 Chong Yidong <cyd@stupidchicken.com> | |
12112 | ||
12113 | * font.c (font_parse_fcname): Accept GTK-style font names too. | |
12114 | ||
12115 | 2008-06-10 Stefan Monnier <monnier@iro.umontreal.ca> | |
12116 | ||
12117 | * dired.c (file_name_completion): Don't return t if the match is exact | |
12118 | but with different capitalization. | |
12119 | * minibuf.c (Ftry_completion): Simplify. | |
12120 | ||
12121 | * window.c (Vwindow_point_insertion_type): New var. | |
12122 | (set_window_buffer): Use it. | |
12123 | (syms_of_window): Init and export it to Lisp. | |
12124 | ||
12125 | 2008-06-10 Kenichi Handa <handa@m17n.org> | |
12126 | ||
12127 | * font.h (font_intern_prop): Prototype adjusted. | |
12128 | ||
12129 | * font.c (font_intern_prop): New arg force_symbol. | |
12130 | (font_parse_xlfd, font_parse_fcname, font_parse_family_registry): | |
12131 | Adjust for the change of font_intern_prop. | |
12132 | ||
12133 | * ftfont.c (ftfont_pattern_entity): | |
12134 | * w32font.c (add_font_name_to_list, w32_enumfont_pattern_entity) | |
12135 | (w32_registry): | |
12136 | * w32uniscribe.c (add_opentype_font_name_to_list): Adjust for | |
12137 | the change of font_intern_prop. | |
12138 | ||
12139 | 2008-06-09 Juanma Barranquero <lekktu@gmail.com> | |
12140 | ||
12141 | * w32menu.c (digest_single_submenu): Declare extern. | |
12142 | ||
12143 | 2008-06-09 Jason Rumney <jasonr@gnu.org> | |
12144 | ||
12145 | * w32term.c (x_make_frame_visible): Use alternate restore flags. | |
12146 | ||
12147 | * w32menu.c (Fx_popup_menu): Unwind protect while building menu. | |
12148 | (parse_single_submenu): Remove. | |
12149 | (digest_single_submenu): Remove. | |
12150 | (syms_of_w32menu): Don't initialise variables that have moved | |
12151 | to menu.c. | |
12152 | (set_frame_menubar): Sync with version in xmenu.c. | |
12153 | (w32_menu_show): Sync with xmenu_show in xmenu.c. | |
12154 | ||
12155 | * menu.c (single_keymap_panes, push_menu_pane, push_menu_item): | |
12156 | Make static again. | |
12157 | ||
12158 | 2008-06-09 Jason Rumney <jasonr@gnu.org> | |
12159 | ||
12160 | Changes to w32 files related to the move of common menu code | |
12161 | to menu.c on 2008-06-08 by Chong Yidong. | |
12162 | ||
12163 | * menu.c [HAVE_NTGUI]: Include w32term.h, move widget related | |
12164 | defs to w32gui.h. | |
12165 | (single_keymap_panes, push_menu_item, push_menu_pane): | |
12166 | Make globally visible. | |
12167 | ||
12168 | * w32menu.c (enum button_type, widget_value, local_heap, local_alloc) | |
12169 | (local_free, malloc_widget_value, free_widget_value) | |
12170 | (MENU_ITEMS_ITEM_NAME, MENU_ITEMS_ITEM_ENABLE, MENU_ITEMS_ITEM_VALUE) | |
12171 | (MENU_ITEMS_ITEM_EQUIV_KEY, MENU_ITEMS_ITEM_DEFINITION) | |
12172 | (MENU_ITEMS_ITEM_TYPE, MENU_ITEMS_ITEM_SELECTED, MENU_ITEMS_ITEM_HELP) | |
12173 | (MENU_ITEMS_ITEM_LENGTH, enum menu_item_idx): Remove defs. | |
12174 | (menu_items, menu_items_allocated, menu_items_used) | |
12175 | (menu_items_n_panes, menu_items_submenu_depth): Remove global vars. | |
12176 | (init_menu_items, finish_menu_items, discard_menu_items) | |
12177 | (grow_menu_items, push_submenu_start, push_submenu_end) | |
12178 | (push_left_right_boundary, push_menu_pane, push_menu_item) | |
12179 | (keymap_panes, single_keymap_panes, list_of_panes, list_of_items) | |
12180 | (free_menubar_widget_tree_value, parse_single_submenu) | |
12181 | (update_submenu_strings): Remove functions. | |
12182 | (xmalloc_widget_value): Remove and declare extern. | |
12183 | ||
12184 | * makefile.w32-in ($(SRC)/menu.$(O)): New target. | |
12185 | (OBJ1): Build it. | |
12186 | ||
12187 | * w32gui.h (widget_value, XtPointer, Boolean, enum button_type) | |
12188 | (local_heap, local_alloc, local_free, malloc_widget_value) | |
12189 | (free_widget_value): Define here. | |
12190 | ||
12191 | 2008-06-09 Kenichi Handa <handa@m17n.org> | |
12192 | ||
12193 | * font.h (Qascii_0): Extern it. | |
12194 | ||
12195 | * font.c (Qascii_0): New variable. | |
12196 | (syms_of_font): DEFSYM it. | |
12197 | (font_open_by_name): If the registry "iso8859-1" fails, try also | |
12198 | "ascii-0". | |
12199 | ||
12200 | * ftfont.c (ftfont_spec_pattern): Accept the registry `ascii-0'. | |
12201 | ||
12202 | 2008-06-08 Kenichi Handa <handa@m17n.org> | |
12203 | ||
12204 | * .gdbinit (xfont): New command. | |
12205 | ||
12206 | 2008-06-08 Andreas Schwab <schwab@suse.de> | |
12207 | ||
12208 | * menu.c [HAVE_X_WINDOWS]: Include "xterm.h". | |
12209 | * Makefile.in (menu.o): Update dependencies. | |
12210 | ||
12211 | * Makefile.in (obj): Always add menu.o. | |
12212 | * emacs.c (main): Always call syms_of_menu. | |
12213 | * keyboard.h: Remove extra #ifdef HAVE_X_WINDOW. | |
12214 | ||
12215 | 2008-06-08 Chong Yidong <cyd@stupidchicken.com> | |
12216 | ||
12217 | * Makefile.in: Compile menu.c. | |
12218 | ||
12219 | * lisp.h: Declare syms_of_menu. | |
12220 | ||
12221 | * emacs.c (main): Call syms_of_menu. | |
12222 | ||
12223 | * keyboard.h: Relocate platform-independent menu definitions from | |
12224 | xmenu.c. | |
12225 | ||
12226 | * menu.c: New file. Relocate platform-independent menu | |
12227 | definitions from xmenu.c. Suggested by Adrian Robert. | |
12228 | ||
12229 | * xmenu.c: Remove platform-independent menu definitions. | |
560bb7ae | 12230 | (menu_items, menu_items_inuse, menu_items_allocated) |
aac0c6e3 MR |
12231 | (menu_items_used, menu_items_n_panes) |
12232 | (menu_items_submenu_depth): Move to keyboard.h. | |
12233 | (init_menu_items, finish_menu_items, unuse_menu_items) | |
12234 | (discard_menu_items, restore_menu_items, save_menu_items) | |
12235 | (grow_menu_items, push_submenu_start, push_submenu_end) | |
12236 | (push_left_right_boundary, push_menu_pane, push_menu_item) | |
12237 | (keymap_panes, single_keymap_panes, single_menu_item) | |
12238 | (list_of_panes, list_of_items, find_and_call_menu_selection) | |
12239 | (xmalloc_widget_value, free_menubar_widget_value_tree) | |
12240 | (parse_single_submenu, digest_single_submenu) | |
12241 | (update_submenu_strings): Move to menu.c. | |
12242 | ||
12243 | 2008-06-07 Stefan Monnier <monnier@iro.umontreal.ca> | |
12244 | ||
12245 | * dispnew.c (Flast_nonminibuf_frame): Handle the NULL case. | |
12246 | ||
12247 | 2008-06-06 Miles Bader <miles@gnu.org> | |
12248 | ||
12249 | * xdisp.c (x_produce_glyphs): Calculate tab width based on current | |
12250 | face, not frame default. | |
12251 | ||
12252 | 2008-06-05 Martin Rudalics <rudalics@gmx.at> | |
12253 | ||
12254 | * window.c (pop_up_windows, pop_up_frames) | |
12255 | (display_buffer_reuse_frames, Vpop_up_frame_function) | |
12256 | (Vdisplay_buffer_function, Veven_window_heights) | |
12257 | (Vspecial_display_buffer_names, Vspecial_display_regexps) | |
12258 | (Vspecial_display_function, Vsame_window_buffer_names) | |
12259 | (Vsame_window_regexps, split_height_threshold) | |
12260 | (Vsplit_window_preferred_function): Move those vars to window.el. | |
12261 | (display_buffer_1, Fspecial_display_p, Fsame_window_p) | |
12262 | (Fdisplay_buffer): Move those functions to window.el. | |
12263 | (syms_of_window): Remove corresponding declarations. | |
12264 | (display_buffer): New function. | |
12265 | (temp_output_buffer_show, Fother_window_for_scrolling): Use it. | |
12266 | * dispnew.c (Flast_nonminibuf_frame): New function. | |
12267 | * buffer.c (Fpop_to_buffer): Move to window.el. | |
12268 | ||
12269 | 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca> | |
12270 | ||
12271 | * data.c (set_internal): Fix up call to let_shadows_buffer_binding_p. | |
12272 | ||
12273 | 2008-06-05 Kenichi Handa <handa@m17n.org> | |
12274 | ||
12275 | * coding.c (detect_coding): Fix previous change. | |
12276 | (detect_coding_system): Likewise. | |
12277 | ||
12278 | 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca> | |
12279 | ||
12280 | * character.h (MAKE_CHAR_MULTIBYTE): Check the arg is a (uni)byte. | |
12281 | ||
12282 | * keymap.c (Vminibuffer_local_filename_must_match_map): | |
12283 | Rename from Vminibuffer_local_must_match_filename_map. | |
12284 | (syms_of_keymap): | |
12285 | * minibuf.c (Fcompleting_read): Adjust accordingly. | |
12286 | * commands.h: Rename declaration as well. | |
12287 | ||
12288 | 2008-06-05 Kenichi Handa <handa@m17n.org> | |
12289 | ||
12290 | * font.c (Ffont_spec): Don't use font_parse_family_registry for | |
12291 | family name. | |
12292 | (Ffont_put): Likewise. | |
12293 | ||
12294 | * fontset.c (fontset_find_font): Call font_open_for_lface with the | |
12295 | current font-spec. | |
12296 | ||
12297 | * xfont.c (xfont_list): Don't set registry to iso8859-1 even if it | |
12298 | is unspecified. | |
12299 | ||
12300 | * xfaces.c (realize_x_face): If the font-related face attributes | |
12301 | are the same as those of default face, realize a new fontset from | |
12302 | default->fontset. | |
12303 | (Fx_family_fonts): Use font_parse_family_registry instead of Ffont_put. | |
12304 | ||
12305 | 2008-06-05 Stefan Monnier <monnier@iro.umontreal.ca> | |
12306 | ||
12307 | * xdisp.c (move_it_in_display_line_to): Improve the type of its args. | |
12308 | (move_it_in_display_line): New wrapper. | |
12309 | ||
12310 | * window.c (window_scroll_pixel_based_preserve_x) | |
12311 | (window_scroll_preserve_hpos, window_scroll_preserve_vpos): New vars. | |
12312 | (window_scroll_pixel_based, window_scroll_line_based): | |
12313 | Use them to preserve column positions. | |
12314 | (syms_of_window): Initialize them. | |
12315 | ||
12316 | * indent.c (Fvertical_motion): Extend first arg to allow passing an | |
12317 | (HPOS . VPOS) pair. | |
12318 | ||
12319 | * dispextern.h (move_it_in_display_line): Declare. | |
12320 | ||
12321 | 2008-06-05 Juanma Barranquero <lekktu@gmail.com> | |
12322 | ||
12323 | * window.c (Fwindow_parameter): Return VALUE, not (PARAMETER . VALUE). | |
12324 | (Fwindow_parameters): Return copy of parameter alist. Doc fix. | |
12325 | (Fset_window_parameter): Return VALUE, not parameter alist. Doc fix. | |
12326 | ||
12327 | 2008-06-04 Juanma Barranquero <lekktu@gmail.com> | |
12328 | ||
12329 | * window.c (Fset_window_parameter): Doc fix. | |
12330 | (Fwindow_parameters, Fwindow_parameter): Remove redundant check. | |
12331 | ||
12332 | 2008-06-04 Joakim Verona <joakim@verona.se> | |
12333 | ||
12334 | * window.h (struct window): Add new member window_parameters. | |
12335 | ||
12336 | * window.c (Fwindow_parameters, Fwindow_parameter) | |
12337 | (Fset_window_parameter): New defuns. | |
12338 | (syms_of_window): Defsubr the new defuns. | |
12339 | (make_window): Initialize window_parameters to nil. | |
12340 | ||
12341 | 2008-06-04 John Paul Wallington <jpw@pobox.com> | |
12342 | ||
12343 | * eval.c (Fdefmacro): Doc fix. | |
12344 | ||
12345 | 2008-06-04 Kenichi Handa <handa@m17n.org> | |
12346 | ||
12347 | * coding.c (detect_coding): Fix handling of coding->head_ascii. | |
12348 | Be sure to call setup_coding_system when we find a proper coding system. | |
12349 | (detect_coding_system): Fix handling of coding->head_ascii. | |
12350 | ||
12351 | 2008-06-03 Andreas Schwab <schwab@suse.de> | |
12352 | ||
12353 | * font.c (font_prop_validate_spacing): Fix last change. | |
12354 | ||
12355 | 2008-06-03 Kenichi Handa <handa@m17n.org> | |
12356 | ||
12357 | * font.c (font_prop_validate_spacing): Handle uppercase symbols. | |
12358 | (font_parse_fcname): Fix handling of unknown key. | |
12359 | ||
12360 | * xfont.c (xfont_list): Try an alias. | |
12361 | ||
12362 | * charset.c (char_charset): Return NULL if the arg charset_list is | |
12363 | specified and C doesn't belong to any of them. | |
12364 | ||
12365 | 2008-06-02 Chip Coldwell <coldwell@redhat.com> | |
12366 | ||
12367 | * font.c (font_pixel_size): Don't take cdr of an integer. | |
12368 | ||
12369 | 2008-06-02 Jim Meyering <meyering@redhat.com> | |
12370 | ||
12371 | Make "xfree (NULL)" a no-op; remove useless if-before-xfree. | |
12372 | * alloc.c (xfree): Return right away for a NULL arg. | |
12373 | * lread.c (nosuffix): Remove now-useless if-before-xfree tests. | |
12374 | * gtkutil.c (xg_gtk_scroll_destroy): Likewise. | |
12375 | * mac.c (create_apple_event_from_event_ref): Likewise. | |
12376 | (create_apple_event_from_drag_ref, cfstring_create_normalized): | |
12377 | Likewise. | |
12378 | * doprnt.c (doprnt1): Likewise. | |
12379 | * frame.c (frame): Likewise. | |
12380 | * keyboard.c (wipe_kboard): Likewise. | |
12381 | * macterm.c (x_free_frame_resources, xlfdpat_destroy, XFreePixmap) | |
12382 | (init_font_name_table, mac_unload_font, x_delete_display): Likewise. | |
12383 | * term.c (tty_default_color_capabilities, maybe_fatal) | |
12384 | (delete_tty): Likewise. | |
12385 | * w16select.c (string): Likewise. | |
12386 | * w32.c (w32_get_resource, SET_ENV_BUF_SIZE): Likewise. | |
12387 | * w32bdf.c (w32_free_bdf_font): Likewise. | |
12388 | * w32fns.c (w32_unload_font): Likewise. | |
12389 | * w32font.c (w32font_close): Likewise. | |
12390 | * window.c (size_window): Likewise. | |
12391 | * xselect.c (receive_incremental_selection): Likewise. | |
12392 | * xterm.c (x_free_frame_resources, x_delete_display): Likewise. | |
12393 | * mactoolbox.c (create_apple_event_from_drag_ref): Likewise. | |
12394 | * w32.c (stat): Likewise. | |
12395 | ||
12396 | Remove useless if-before-free tests. | |
12397 | * editfns.c (Fset_time_zone_rule): Likewise. | |
12398 | * lread.c (nosuffix): Likewise. | |
12399 | * ralloc.c (get_bloc): Likewise. | |
12400 | * regex.c (reg_free): Likewise. | |
12401 | * xftfont.c (xftfont_open, xftfont_close): Likewise. | |
12402 | * xrdb.c (get_user_app, get_environ_db, x_load_resources): Likewise. | |
12403 | * xsmfns.c (smc_save_yourself_CB): Likewise. | |
12404 | ||
12405 | 2008-06-02 Kenichi Handa <handa@m17n.org> | |
12406 | ||
12407 | * font.c (font_find_for_lface): Handle float font size. | |
12408 | (font_open_for_lface): Likewise. | |
12409 | ||
12410 | * xfaces.c (x_supports_face_attributes_p): Check face->font before | |
12411 | comparing the properties. | |
12412 | ||
12413 | 2008-06-01 Jason Rumney <jasonr@gnu.org> | |
12414 | ||
12415 | * w32font.c (w32_enumfont_pattern_entity): Use requested registry. | |
12416 | Treat iso10646-1 and Windows DEFAULT_CHARSET specially. | |
12417 | Duplicate iso8859-1 fonts as iso10646-1 if no registry specified. | |
12418 | Don't add empty script list. | |
12419 | (w32_registry): Only map DEFAULT_CHARSET to iso10646-1 here. | |
12420 | ||
12421 | 2008-06-01 Dan Nicolaescu <dann@ics.uci.edu> | |
12422 | ||
12423 | * Makefile.in (dot, dotdot): Remove, update users. | |
12424 | ".." has been used elsewhere in the file for a long time. | |
12425 | (LIBXT_STATIC): Remove conditional based on unused variable. | |
12426 | ||
12427 | 2008-06-01 Miles Bader <miles@gnu.org> | |
12428 | ||
12429 | * xfaces.c (Vface_remapping_alist): New variable. | |
12430 | (syms_of_xfaces): Initialize it. | |
12431 | (enum named_merge_point_kind): New type. | |
12432 | (struct named_merge_point): Add `named_merge_point_kind' field. | |
12433 | (push_named_merge_point): Make cycle detection respect different | |
12434 | named-merge-point kinds. | |
12435 | (lface_from_face_name_no_resolve): Rename from `lface_from_face_name'. | |
12436 | Remove face-name alias resolution. | |
12437 | (lface_from_face_name): New definition using | |
12438 | `lface_from_face_name_no_resolve'. | |
12439 | (get_lface_attributes_no_remap): Rename from `get_lface_attributes'. | |
12440 | Call lface_from_face_name_no_resolve instead of lface_from_face_name. | |
12441 | (get_lface_attributes): New definition that layers face-remapping on | |
12442 | top of get_lface_attributes_no_remap. New arg `named_merge_points'. | |
12443 | (lookup_basic_face): New function. | |
12444 | (lookup_derived_face): Pass new last arg to `get_lface_attributes'. | |
12445 | (realize_named_face): Call `get_lface_attributes_no_remap' instead of | |
12446 | `get_lface_attributes'. | |
12447 | (face_at_buffer_position): Use `lookup_basic_face' to lookup | |
12448 | DEFAULT_FACE_ID if necessary. When optimizing the default-face case, | |
12449 | return default_face's face-id instead of the constant DEFAULT_FACE_ID. | |
12450 | ||
12451 | * xdisp.c (init_iterator): Pass base_face_id through | |
12452 | `lookup_basic_face' when we actually use it as a face-id. | |
12453 | (handle_single_display_prop): Use `lookup_basic_face' to lookup | |
12454 | DEFAULT_FACE_ID. | |
12455 | ||
12456 | * fontset.c (Finternal_char_font): Use `lookup_basic_face' to | |
12457 | lookup the initial face-id. | |
12458 | ||
12459 | * dispextern.h (lookup_basic_face, Vface_remapping_alist): New decls. | |
12460 | ||
12461 | 2008-06-01 Juanma Barranquero <lekktu@gmail.com> | |
12462 | ||
12463 | * textprop.c (syms_of_textprop) <text-property-default-nonsticky>: | |
12464 | (Fremove_text_properties): Fix typos in docstrings. | |
12465 | ||
12466 | 2008-05-31 Kenichi Handa <handa@m17n.org> | |
12467 | ||
12468 | * font.c (font_list_entities): Fix the car part of data to be | |
12469 | stored in the cache. | |
12470 | ||
12471 | * ftfont.c (ftfont_font_format): Don't use strcasestr. | |
12472 | ||
12473 | 2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca> | |
12474 | ||
12475 | * chartab.c (Foptimize_char_table, optimize_sub_char_table): | |
12476 | Add a `test' argument so another predicate than `equal' can be used. | |
12477 | (map_sub_char_table): Use `eq' rather than `equal' to merge ranges. | |
12478 | (map_char_table): Remove unused vars `c' and `i'. | |
12479 | * lisp.h (Foptimize_char_table): Adjust declaration. | |
12480 | * charset.c (Fclear_charset_maps): Adjust call to Foptimize_char_table. | |
12481 | ||
12482 | 2008-05-30 Kenichi Handa <handa@m17n.org> | |
12483 | ||
12484 | * font.c (Ffont_info): Define only if HAVE_WINDOW_SYSTEM is defined. | |
12485 | (syms_of_font): Defsubr Sfont_info only if HAVE_WINDOW_SYSTEM is | |
12486 | defined. | |
12487 | ||
12488 | 2008-05-30 Stefan Monnier <monnier@iro.umontreal.ca> | |
12489 | ||
12490 | * data.c (Fmake_variable_buffer_local, Fmake_local_variable) | |
12491 | (Fmake_variable_frame_local): Disallow mixing buffer-local and | |
12492 | frame-local settings for the same variable. | |
12493 | ||
12494 | 2008-05-30 Kenichi Handa <handa@m17n.org> | |
12495 | ||
12496 | * fontset.c (Ffont_info): Move to font.c. | |
12497 | (syms_of_fontset): Delete defsubr of Sfont_info. | |
12498 | ||
12499 | * font.c (font_style_to_value, font_score): Delete casting of the | |
12500 | args to xstcasecmp. | |
12501 | (register_font_driver): Increment num_font_drivers only when | |
12502 | registering the driver globally. | |
12503 | (Ffont_info): Move from fontset.c. Handle a font object too. | |
12504 | (syms_of_font): Defsubr Sfont_info. | |
12505 | ||
12506 | 2008-05-29 Kenichi Handa <handa@m17n.org> | |
12507 | ||
12508 | * coding.h (enum define_coding_utf8_arg_index): New enum. | |
12509 | (enum coding_attr_index): Change coding_attr_utf_16_bom to | |
12510 | coding_attr_utf_bom. | |
12511 | (enum utf_bom_type): Rename from utf_16_bom_type. | |
12512 | (struct utf_16_spec): Adjust for the above change. | |
12513 | (struct coding_system): Add utf_8_bom in `spec' union. | |
12514 | ||
12515 | * coding.c (CODING_UTF_8_BOM): New macro. | |
12516 | (enum coding_category): Delete coding_category_utf_8, add | |
12517 | coding_category_utf_8_auto, coding_category_utf_8_nosig, and | |
12518 | coding_category_utf_8_sig. | |
12519 | (CATEGORY_MASK_UTF_8): Delete it. | |
12520 | (CATEGORY_MASK_UTF_8_AUTO, CATEGORY_MASK_UTF_8_NOSIG) | |
12521 | (CATEGORY_MASK_UTF_8_SIG): New macros. | |
12522 | (CATEGORY_MASK_ANY): Delete CATEGORY_MASK_UTF_8, add | |
12523 | CATEGORY_MASK_UTF_8_AUTO, CATEGORY_MASK_UTF_8_NOSIG, and | |
12524 | CATEGORY_MASK_UTF_8_SIG. | |
12525 | (CATEGORY_MASK_UTF_8): New macro. | |
12526 | (UTF_BOM, UTF_8_BOM_1, UTF_8_BOM_2, UTF_8_BOM_3): New macros. | |
12527 | (detect_coding_utf_8): Check BOM. | |
12528 | (decode_coding_utf_8, encode_coding_utf_8): Handle BOM. | |
12529 | (decode_coding_utf_16): Adjust for the change of enum utf_bom_type. | |
12530 | (encode_coding_utf_16): Likewise. | |
12531 | (setup_coding_system): Likewise. Set CODING_UTF_8_BOM (coding). | |
12532 | (detect_coding, detect_coding_system): Handle utf-8-auto. | |
12533 | (Fdefine_coding_system_internal): Handle `bom' property for utf-8. | |
12534 | (syms_of_coding): Fix setting up of Vcoding_category_table. | |
12535 | ||
12536 | 2008-05-29 Stefan Monnier <monnier@iro.umontreal.ca> | |
12537 | ||
12538 | * process.c (Faccept_process_output): If `millisec' is non-nil, | |
12539 | `seconds' default to 0. | |
12540 | (wait_reading_process_output): Also return non-nil if we read output | |
12541 | from a non-running process. | |
12542 | ||
12543 | 2008-05-29 Jason Rumney <jasonr@gnu.org> | |
12544 | ||
12545 | * w32font.c (w32font_open_internal): Prefer truetype fonts unless | |
12546 | `raster' specified. | |
12547 | (add_font_entity_to_list): Allow non-opentype truetype fonts back | |
12548 | in the uniscribe backend, but disallow any font that has no | |
12549 | unicode subrange support. | |
12550 | ||
12551 | 2008-05-29 Juanma Barranquero <lekktu@gmail.com> | |
12552 | ||
12553 | * xfaces.c (Fx_list_fonts, Finternal_copy_lisp_face): | |
12554 | Fix typos in docstrings. | |
12555 | ||
12556 | 2008-05-29 Kenichi Handa <handa@m17n.org> | |
12557 | ||
12558 | * xfaces.c (Fx_list_fonts): Make it return a list of font names. | |
12559 | (Fx_family_fonts): Set frame correctly. | |
12560 | ||
12561 | 2008-05-28 Jason Rumney <jasonr@gnu.org> | |
12562 | ||
12563 | * w32term.c (x_draw_glyph_string): Use clipmask if specified. | |
12564 | ||
12565 | 2008-05-28 Stefan Monnier <monnier@iro.umontreal.ca> | |
12566 | ||
12567 | * fileio.c (Fwrite_region): Delay the defaulting to beg&z to after | |
12568 | calling build_annotations. | |
12569 | ||
12570 | 2008-05-28 Juanma Barranquero <lekktu@gmail.com> | |
12571 | ||
12572 | * coding.c (Fdecode_coding_region, Fencode_coding_region) | |
12573 | (Fencode_coding_string): | |
12574 | (syms_of_coding) <coding-system-for-read, coding-system-for-write>: | |
12575 | <latin-extra-code-table>: Fix typos in docstrings. | |
12576 | (syms_of_coding) <coding-system-alist>: Doc fix. | |
12577 | (syms_of_coding) <translation-table-for-input>: Reflow docstring. | |
12578 | ||
12579 | 2008-05-28 Kenichi Handa <handa@m17n.org> | |
12580 | ||
12581 | * fontset.c (Ffont_info): Don't call font_close_object. | |
12582 | ||
12583 | * font.c (font_parse_family_registry): Use Ffont_put to validate | |
12584 | foundry and family. | |
12585 | (font_delete_unmatched): Don't check spacing. | |
12586 | (font_list_entities): Add spacing to the spec to list fonts. | |
12587 | ||
12588 | * ftfont.c (ftfont_spec_pattern): Don't set FC_SPACING to pattern. | |
12589 | (ftfont_list): Check spacing here. Don't include FC_CHARSET in objset. | |
12590 | ||
12591 | * coding.c (encode_coding_raw_text): Fix previous change. | |
12592 | (encode_coding_object): When the dst_object is a buffer and is | |
12593 | different from src_object, move gap to PT. | |
12594 | ||
12595 | 2008-05-27 Chong Yidong <cyd@stupidchicken.com> | |
12596 | ||
12597 | * xterm.c (x_draw_glyph_string): If a clipmask is specified, use it. | |
12598 | ||
12599 | 2008-05-27 Stefan Monnier <monnier@iro.umontreal.ca> | |
12600 | ||
12601 | * coding.c (encode_coding_raw_text): Set coding->produced_char for | |
12602 | all branches. Compute it differently. | |
12603 | ||
12604 | * xdisp.c [!HAVE_WINDOW_SYSTEM]: Include font.h for --without-x. | |
12605 | ||
12606 | 2008-05-27 Juanma Barranquero <lekktu@gmail.com> | |
12607 | ||
12608 | * w32font.c (compute_metrics): Rewrite an "else { if () ... else ... }" | |
12609 | into "else if () ... else ...". | |
12610 | ||
12611 | 2008-05-27 Jason Rumney <jasonr@gnu.org> | |
12612 | ||
12613 | * w32font.c (w32font_open_internal): Determine if glyph indices | |
12614 | are likely to work here. | |
12615 | ||
12616 | 2008-05-27 Chong Yidong <cyd@stupidchicken.com> | |
12617 | ||
12618 | * xdisp.c (draw_glyphs): If mouse-highlighting is on, attempt to | |
12619 | draw overlap glyphs with appropriate highlighting. | |
12620 | ||
12621 | 2008-05-27 Kenichi Handa <handa@m17n.org> | |
12622 | ||
12623 | * xfont.c (xfont_open): Fix calculation of font->average_width. | |
12624 | ||
12625 | 2008-05-27 Stefan Monnier <monnier@iro.umontreal.ca> | |
12626 | ||
12627 | * casefiddle.c (casify_object): Try to guess better whether the | |
12628 | argument is a byte or a char. | |
12629 | ||
12630 | 2008-05-26 Andreas Schwab <schwab@suse.de> | |
12631 | ||
12632 | * xselect.c (x_reply_selection_request): Properly handle format == 32. | |
12633 | Always send multiples of format size. | |
12634 | ||
12635 | * xterm.c (x_set_frame_alpha): Fix type mismatch. | |
12636 | ||
12637 | 2008-05-26 Jason Rumney <jasonr@gnu.org> | |
12638 | ||
12639 | * w32font.c (w32font_text_extents): Zero whole metrics struct first. | |
12640 | (compute_metrics): Don't set failure if we just cleared the cache. | |
12641 | (w32_weight_table): Remove unused variable. | |
12642 | (w32_enumfont_pattern_entity): Use FONT_SPACING_CHARCELL for | |
12643 | backwards compatibility. | |
12644 | ||
12645 | 2008-05-25 Kenichi Handa <handa@m17n.org> | |
12646 | ||
12647 | * w32term.c (x_draw_glyph_string): | |
12648 | * xterm.c (x_draw_glyph_string): Fix calculation of underline position. | |
12649 | ||
12650 | * xfaces.c: Delete unused function prototypes. | |
12651 | (xstrlwr, font_frame): Delete them. | |
12652 | (clear_face_cache): Delete unused variable. | |
12653 | ||
12654 | * xftfont.c (xftfont_open): Delete unused variable. | |
12655 | If underline_thickness is not 1, adjust underline_position. | |
12656 | ||
12657 | * ftxfont.c (ftxfont_open): Delete unused variable. | |
12658 | ||
12659 | * fontset.c (face_for_char): Optimize for the case of no charset | |
12660 | property. | |
12661 | ||
12662 | * font.c (LGSTRING_HEADER_SIZE, LGSTRING_GLYPH_SIZE) | |
12663 | (check_gstring, check_otf_features, otf_list, otf_tag_symbol) | |
12664 | (otf_open, font_otf_capability, generate_otf_features) | |
12665 | (font_otf_DeviceTable, font_otf_ValueRecord, font_otf_Anchor): | |
12666 | Comment out by surrounding "#if 0" and "#endif" for the moment. | |
12667 | (Ffont_drive_otf, Ffont_otf_alternates): Likewise. | |
12668 | (syms_of_font): Codes for accessing above commented out. | |
12669 | ||
12670 | 2008-05-24 Eli Zaretskii <eliz@gnu.org> | |
12671 | ||
12672 | * w32proc.c: Include dispextern.h. | |
12673 | ||
12674 | * w32.c: Include dispextern.h. | |
12675 | ||
12676 | 2008-05-23 Juanma Barranquero <lekktu@gmail.com> | |
12677 | ||
12678 | * charset.c (Fencode_char, Fsplit_char): Doc fixes. | |
12679 | (Fget_unused_iso_final_char, Fdecode_char, Fiso_charset): | |
12680 | Fix typos in docstrings. | |
12681 | ||
12682 | 2008-05-23 Jason Rumney <jasonr@gnu.org> | |
12683 | ||
12684 | * xsmfns.c: Remove includes that are already included by config.h. | |
12685 | ||
12686 | 2008-05-23 Kenichi Handa <handa@m17n.org> | |
12687 | ||
12688 | * charset.c (Qemacs, charset_emacs): New variables. | |
12689 | (char_charset): Fix for non-Unicode characters. | |
12690 | (syms_of_charset): Define charset_emacs. | |
12691 | ||
12692 | * w32term.c (x_draw_glyph_string): Be sure to update | |
12693 | s->underline_thickness and s->underline_position. Be sure to draw | |
12694 | underline within the current line area. | |
12695 | ||
12696 | * xterm.c (x_draw_glyph_string): Be sure to update | |
12697 | s->underline_thickness and s->underline_position. Be sure to draw | |
12698 | underline within the current line area. | |
12699 | ||
12700 | * fontset.c: Delete unused variables and add casting for char * | |
12701 | throughout the file. | |
12702 | (fontset_font): Try the fallback fonts of the current fontset | |
12703 | before consulting the default fontset. | |
12704 | ||
12705 | * ftfont.c (ftfont_spec_pattern): Free charset if necessary. | |
12706 | ||
12707 | * xfont.c (xfont_list_pattern): Free names returned from XListFonts. | |
12708 | ||
12709 | 2008-05-22 Jason Rumney <jasonr@gnu.org> | |
12710 | ||
12711 | * font.c: Don't include strings.h. | |
12712 | ||
12713 | * dispextern.h, xfaces.c (xstrcasecmp): Rename from xstricmp. | |
12714 | ||
12715 | * dosfns.c, fileio.c, font.c, fontset.c, image.c, macfns.c: | |
12716 | * macterm.c, process.c, w32.c, w32fns.c, w32proc.c, xfaces.c: | |
12717 | * xfns.c, xfont.c: All callers of stricmp and strcasecmp changed | |
12718 | to call xstrcasecmp. | |
12719 | ||
12720 | * xfont.c (xfont_list_pattern, compare_font_names): Use xstrcasecmp. | |
12721 | ||
12722 | * fontset.c (fs_query_fontset): Use xstrcasecmp. | |
12723 | ||
12724 | * font.c (font_style_to_value, font_score): Use xstrcasecmp. | |
12725 | ||
12726 | * dosfns.c (msdos_stdcolor_idx): Use xstrcasecmp. | |
12727 | ||
12728 | 2008-05-22 Kenichi Handa <handa@m17n.org> | |
12729 | ||
12730 | * puresize.h (BASE_PURESIZE): Increase to 1220000. | |
12731 | ||
12732 | * font.c (font_prop_validate_style): Adjust for the format | |
12733 | change of font_style_table. | |
12734 | ||
12735 | * w32font.c (w32font_open_internal): Call Ffont_xlfd_name with | |
12736 | two args. | |
12737 | ||
12738 | * xfaces.c (x_update_menu_appearance): Call Ffont_xlfd_name with | |
12739 | two args. | |
12740 | ||
12741 | 2008-05-22 Stefan Monnier <monnier@iro.umontreal.ca> | |
12742 | ||
12743 | * minibuf.c (keys_of_minibuf): Delete. | |
12744 | * lisp.h (keys_of_minibuf): Delete. | |
12745 | * emacs.c (main): Don't call keys_of_minibuf. | |
12746 | ||
12747 | 2008-05-22 Kenichi Handa <handa@m17n.org> | |
12748 | ||
12749 | * ftfont.c (ftfont_resolve_generic_family): Rename from | |
12750 | ftfont_list_generic_family. Return a single family for each | |
12751 | generic family. | |
12752 | (ftfont_spec_pattern): Add FC_FAMILY to pattern. | |
12753 | (ftfont_list): Adjust for the change of ftfont_resolve_generic_family. | |
12754 | Call font_add_log. | |
12755 | (ftfont_match): Call font_add_log. | |
12756 | ||
12757 | * font.h (Ffont_xlfd_name): EXFUN adjusted. | |
12758 | (FONT_DEBUG): Define it. | |
12759 | (font_add_log): Extern it. | |
12760 | (font_assert): Rename from xassert. | |
12761 | ||
12762 | * xfont.c (xfont_get_pcm): Change xassert to font_assert. | |
12763 | (xfont_list_family): Call font_add_log. | |
12764 | (xfont_match): Likewise. | |
12765 | (memq_no_quit): Delete. | |
12766 | ||
12767 | * fontset.c (fontset_from_font, Ffontset_info): Add the 2nd arg in | |
12768 | call of Ffont_xlfd_name. | |
12769 | ||
12770 | * xfaces.c (struct table_entry, slant_table, weight_table) | |
12771 | (swidth_table): Move to font.c. | |
12772 | ||
12773 | * font.c: Checking of FONT_DEBUG is moved to font.h. All calls of | |
12774 | xassert are changed to font_assert. Delete many unused variables. | |
12775 | (Vfont_weight_table, Vfont_slant_table, Vfont_width_table): | |
12776 | New variables. | |
12777 | (struct table_entry): Move from xfaces.c and modified. | |
12778 | (weight_table, slant_table, width_table): Move from xfaces.c and | |
12779 | contents adjusted for the change of struct table_entry. | |
12780 | (font_style_to_value, font_style_symbolic): Adjust for the | |
12781 | format change of font_style_table. | |
12782 | (font_parse_family_registry): Don't overwrite existing foundry and | |
12783 | family of font_spec. | |
12784 | (font_score): Fix calculation of diff for sizes. | |
12785 | (font_sort_entites): Call font_add_log. | |
12786 | (font_delete_unmatched): Return a newly created list. | |
12787 | (font_list_entities): Fix previous change. Call font_add_log. | |
12788 | (font_matching_entity, font_open_entity, font_close_entity): | |
12789 | Call font_add_log. | |
12790 | (Ffont_xlfd_name): New arg FOLD-WILDCARDS. | |
12791 | (Finternal_set_font_style_table): Delete. | |
12792 | (BUILD_STYLE_TABLE): New macro. | |
12793 | (build_style_table): New function. | |
12794 | (Vfont_log, font_log_env_checked): New variables. | |
12795 | (font_add_log): New function. | |
12796 | (syms_of_font): Delete defsubr Sinternal_set_font_style_table. | |
12797 | Declare Lisp variables "font-weight-table", "font-slant-table", | |
12798 | "font-width-table", and "font-log". Initialize font_style_table. | |
12799 | ||
12800 | 2008-05-21 Dan Nicolaescu <dann@ics.uci.edu> | |
12801 | ||
12802 | * xterm.c (x_set_frame_alpha): Move declarations before statements. | |
12803 | ||
12804 | 2008-05-21 Seiji Zenitani <zenitani@mac.com> | |
acd0102a | 12805 | Ryo Yoshitake <ryo@shiftmode.net> |
aac0c6e3 MR |
12806 | |
12807 | * frame.c (Qalpha): Add a new frame parameter `alpha'. | |
12808 | (Vframe_alpha_lower_limit): New variable. | |
12809 | (x_set_alpha): New function. | |
12810 | ||
12811 | * frame.h (Qalpha, Vframe_parameter_lower_limit): Export them. | |
12812 | ||
12813 | * xfns.c (x-create-frame, Qalpha): | |
12814 | Initialize the frame parameter `alpha'. | |
12815 | * xterm.c (OPAQUE, OPACITY): New. | |
12816 | (x_set_frame_alpha): New function. | |
12817 | (frame_highlight, frame_unhighlight): Call x_set_frame_alpha. | |
12818 | ||
12819 | * macfns.c (mac_frame_parm_handlers): A null handler for x_set_alpha. | |
12820 | * w32fns.c (w32_frame_parm_handlers): Likewise. | |
12821 | ||
12822 | 2008-05-20 Jason Rumney <jasonr@gnu.org> | |
12823 | ||
12824 | * w32font.c (add_font_entity_to_list): Don't add non-opentype | |
12825 | truetype fonts to opentype list. | |
12826 | ||
12827 | 2008-05-20 Juanma Barranquero <lekktu@gmail.com> | |
12828 | ||
12829 | * fontset.c (Ffontset_info): Doc fix. | |
12830 | (syms_of_fontset) <font-encoding-charset-alist, use-default-ascent>: | |
12831 | <ignore-relative-composition>: Fix typos in docstrings. | |
12832 | ||
12833 | * font.c (syms-of-font) <font-encoding-alist>: | |
12834 | (Ffontp, Ffont_make_gstring): Fix typos in docstrings. | |
12835 | (Flist_fonts, Ffont_family_list, Ffont_fill_gstring, Fquery_font) | |
12836 | (Ffont_otf_alternates): Doc fixes. | |
12837 | ||
12838 | 2008-05-20 Kenichi Handa <handa@m17n.org> | |
12839 | ||
12840 | * Makefile.in (FONTSRC): Delete it. Change all $(FONTSRC) to | |
12841 | font.h through out the file. | |
12842 | (FONT_DRIVERS): Rename from FONTOBJ. | |
12843 | (obj): Change $(FONTOBJ) to $(FONT_DRIVERS). Add font.o. | |
12844 | (SOME_MACHINE_OBJECTS): Change $(FONTOBJ) to $(FONT_DRIVERS). | |
12845 | ||
12846 | * emacs.c (main): Call syms_of_font unconditionally. | |
12847 | ||
12848 | * font.h (find_font_encoding): Extern it. | |
12849 | ||
12850 | * font.c (Vfont_encoding_alist, find_font_encoding): Move from | |
12851 | fontset.c. | |
194d44e7 | 12852 | (font_pixel_size) [! HAVE_WINDOW_SYSTEM]: Return 1. |
aac0c6e3 MR |
12853 | (font_open_entity): Update FRAME_X_DISPLAY_INFO (f)->n_fonts, |
12854 | FRAME_SMALLEST_CHAR_WIDTH (f), and FRAME_SMALLEST_FONT_HEIGHT (f) | |
12855 | only when HAVE_WINDOW_SYSTEM is defined. | |
12856 | (font_close_object): Update FRAME_X_DISPLAY_INFO (f)->n_fonts only | |
12857 | when HAVE_WINDOW_SYSTEM is defined. | |
12858 | ||
12859 | * fontset.c (Vfont_encoding_alist, find_font_encoding): Move to font.c. | |
12860 | (syms_of_fontset): Move declaration of font-encoding-alist to font.c. | |
12861 | ||
12862 | * xfaces.c: Include font.h unconditionally. | |
12863 | (merge_face_ref, merge_face_vectors) | |
12864 | (Finternal_set_lisp_face_attribute): Cancel the previous change. | |
12865 | ||
12866 | 2008-05-20 Stefan Monnier <monnier@iro.umontreal.ca> | |
12867 | ||
12868 | * xdisp.c (select_frame_for_redisplay): Adjust for last change to | |
12869 | indirect_variable. | |
12870 | * eval.c (lisp_indirect_variable): New fun. | |
12871 | (Fuser_variable_p): Use it. | |
12872 | ||
12873 | 2008-05-19 Stefan Monnier <monnier@iro.umontreal.ca> | |
12874 | ||
12875 | * lisp.h (indirect_variable): | |
12876 | * data.c (indirect_variable, let_shadows_buffer_binding_p): | |
12877 | Use Lisp_Symbol pointers rather than Lisp_Object. | |
12878 | Adjust callers. | |
12879 | * buffer.c (buffer_slot_type_mismatch): Use wrong-type-argument. | |
12880 | To this end, change calling-convention. | |
12881 | ||
12882 | * minibuf.c (Finternal_complete_buffer): Only strip out hidden buffers | |
12883 | if some non-hidden buffers are selected by string&pred. | |
12884 | ||
12885 | 2008-05-19 Chong Yidong <cyd@stupidchicken.com> | |
12886 | ||
12887 | * process.c (wait_reading_process_output): Always check status | |
12888 | when in batch mode. | |
12889 | ||
12890 | 2008-05-19 Kenichi Handa <handa@m17n.org> | |
12891 | ||
12892 | * font.c (font_list_entities): Fix handling of cache. | |
12893 | (font_matching_entity): Likewise. | |
12894 | ||
12895 | * ftfont.c (cs_iso8859_1): Delete. | |
12896 | (ft_face_cache): New variable. | |
12897 | (struct ftfont_info): New member fc_charset_idx. | |
12898 | (ftfont_build_basic_charsets): Delete. | |
12899 | (fc_charset_table): New variable. | |
12900 | (ftfont_pattern_entity): New arg fc_charset_idx. Store (FILENAME | |
12901 | . FC_CHARSET_IDX) as :font-entity property in the font entity. | |
12902 | Callers changed. | |
12903 | (ftfont_lookup_cache, ftfont_get_charset): New functions. | |
12904 | (ftfont_spec_pattern): New argument fc_charset_idx. | |
12905 | Check registry more rigidly. Change callers. | |
12906 | (ftfont_open, ftfont_close, ftfont_has_char): Adjust for the | |
12907 | change of :font-entity property of the font. | |
12908 | ||
12909 | * xftfont.c (xftfont_open): Adjust for the change of :font-entity | |
12910 | property of the font. | |
12911 | ||
12912 | 2008-05-18 Juanma Barranquero <lekktu@gmail.com> | |
12913 | ||
12914 | * coding.c (Fcoding_system_p): Rename argument to match docstring. | |
12915 | (Funencodable_char_position, Fcheck_coding_systems_region) | |
12916 | (Fdecode_coding_string, Fencode_coding_string): Fix typos in docstrings. | |
12917 | (Fdetect_coding_region, Fdetect_coding_string, Fencode_coding_region) | |
12918 | (Ffind_operation_coding_system, Fset_coding_system_priority) | |
12919 | (Fcoding_system_eol_type): Doc fixes. | |
12920 | ||
12921 | 2008-05-17 Glenn Morris <rgm@gnu.org> | |
12922 | ||
12923 | * sysdep.c (child_setup_tty): Handle systems with NLDLY, without FFDLY. | |
12924 | ||
12925 | 2008-05-16 Eli Zaretskii <eliz@gnu.org> | |
12926 | ||
12927 | * dired.c (Ffile_attributes): Shut up GCC warnings about st_uid | |
12928 | and st_gid. | |
12929 | ||
12930 | * frame.c (Fdelete_frame): Don't call font_update_drivers if | |
12931 | HAVE_WINDOW_SYSTEM is not defined. | |
12932 | ||
12933 | * xfaces.c (merge_face_ref, merge_face_vectors) | |
12934 | (Finternal_set_lisp_face_attribute): Use FONT_*_INDEX only when | |
12935 | HAVE_WINDOW_SYSTEM is defined. | |
12936 | (Fface_font): Fix non-HAVE_WINDOW_SYSTEM case. | |
12937 | ||
12938 | 2008-05-16 Stefan Monnier <monnier@iro.umontreal.ca> | |
12939 | ||
12940 | * keyboard.c (parse_menu_item): Do not cache key shortcut any more. | |
12941 | ||
12942 | 2008-05-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
12943 | ||
12944 | * macterm.c (x_draw_relief_rect): Remove unused variable `dpy'. | |
12945 | ||
12946 | 2008-05-15 Kenichi Handa <handa@m17n.org> | |
12947 | ||
12948 | * font.c (font_find_for_lface): Reflect LFACE_FONT in the font | |
12949 | preference. | |
12950 | ||
12951 | 2008-05-15 Glenn Morris <rgm@gnu.org> | |
12952 | ||
12953 | * emacs.c (USAGE1, standard_args): Remove -disable-font-backend. | |
12954 | ||
12955 | 2008-05-15 Chong Yidong <cyd@stupidchicken.com> | |
12956 | ||
12957 | * fns.c (init_fns): Don't initialize weak_hash_tables here. | |
12958 | (init_weak_hash_tables): New fun. Initialize weak_hash_tables. | |
12959 | ||
12960 | * alloc.c (init_alloc_once): Call init_weak_hash_tables. | |
12961 | ||
12962 | 2008-05-15 Kenichi Handa <handa@m17n.org> | |
12963 | ||
12964 | * ftfont.c (ftfont_list): Downcase family name to check generic | |
12965 | families. | |
12966 | ||
12967 | * xfaces.c (Finternal_set_lisp_face_attribute): Be sure to make a | |
12968 | font-spec for QCfont value. | |
12969 | ||
12970 | * fontset.c (Fnew_fontset): Call font_unparse_xlfd with 256-byte | |
12971 | buffer. Check the return value of it. | |
12972 | ||
12973 | 2008-05-14 Jason Rumney <jasonr@gnu.org> | |
12974 | ||
12975 | * w32term.c (w32_get_glyph_overhangs): Remove. | |
12976 | (w32_redisplay_interface): Use x_get_glyph_overhangs instead. | |
12977 | ||
12978 | 2008-05-14 Kenichi Handa <handa@m17n.org> | |
12979 | ||
12980 | * font.c (font_prop_validate): Make nil a valid value. | |
12981 | (font_clear_cache): Check if the cached vector of entities is nil | |
12982 | or not. | |
12983 | ||
12984 | 2008-05-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
12985 | ||
12986 | * emacs.c (main_thread): Conditionalize on | |
12987 | FORWARD_SIGNAL_TO_MAIN_THREAD instead of HAVE_GTK_AND_PTHREAD. | |
12988 | (main) [FORWARD_SIGNAL_TO_MAIN_THREAD]: Initialize it. | |
12989 | ||
12990 | * syssignal.h (FORWARD_SIGNAL_TO_MAIN_THREAD): New define. | |
12991 | (main_thread, SIGNAL_THREAD_CHECK): Conditionalize on | |
12992 | FORWARD_SIGNAL_TO_MAIN_THREAD instead of HAVE_GTK_AND_PTHREAD. | |
12993 | ||
12994 | 2008-05-14 Kenichi Handa <handa@m17n.org> | |
12995 | ||
12996 | * coding.c (detect_coding_iso_2022): Ignore a coding category that | |
12997 | has no corresponding coding system. | |
12998 | ||
12999 | 2008-05-14 Jason Rumney <jasonr@gnu.org> | |
13000 | ||
13001 | * font.h (struct font) [WINDOWSNT]: Remove codepage member. | |
13002 | ||
13003 | * w32font.h (w32font_open_internal): Update declaration. | |
13004 | ||
13005 | * w32font.c (w32font_open_internal): Change last argument from | |
13006 | w32font_info struct to font object. Fill in font object from | |
13007 | font_entity. Get Outline metrics if possible. Use them to | |
13008 | calculate underline position and thickness. Use xlfd name as name | |
13009 | property. Don't set codepage. | |
13010 | (w32font_open): Pass font_object to w32font_open_internal. Don't | |
13011 | update dpyinfo->smallest_font_height and dpyinfo->smallest_char_width. | |
13012 | (w32font_draw): Use s->font. | |
13013 | (clear_cached_metrics): Don't clear non-existent blocks. | |
13014 | ||
13015 | * w32term.c (w32_compute_glyph_string_overhangs): Don't compute if | |
13016 | font was not found. | |
13017 | (x_draw_glyph_string): Use underline position and thickness from font. | |
13018 | ||
13019 | * w32uniscribe.c (uniscribe_open): Pass font_object to | |
13020 | w32font_open_internal. | |
13021 | ||
13022 | 2008-05-14 Kenichi Handa <handa@m17n.org> | |
13023 | ||
13024 | These changes are to delete all legacy font-handling codes, and | |
13025 | make Emacs use only font-backends. | |
13026 | ||
13027 | * Makefile.in: Delete USE_FONT_BACKEND conditionals. | |
13028 | (frame.o, image.o, print.o): Depend on $(FONTSRC). | |
13029 | ||
13030 | * makefile.w32-in (WIN32OBJ): Add w32reg.$(O), remove w32bdf.$(O). | |
13031 | ||
13032 | * charset.h (Vcharset_non_preferred_head) | |
13033 | (Vcurrent_iso639_language): Extern them. | |
13034 | ||
13035 | * charset.c (Vcharset_non_preferred_head): New variable. | |
13036 | (Vcurrent_iso639_language): New variable. | |
13037 | (syms_of_charset): Declare it as a Lisp variable. | |
13038 | (char_charset): Don't check non preferred charsets. As a last | |
13039 | resort, return charset_unicode. | |
13040 | (Fset_charset_priority): Update Vcharset_non_preferred_head. | |
13041 | ||
13042 | * composite.c: Throughout the file, delete all USE_FONT_BACKEND | |
13043 | conditionals. Don't check enable_font_backend. Delete all codes | |
13044 | used only when USE_FONT_BACKEND is not defined. | |
13045 | ||
13046 | * dispextern.h (struct glyph_string): Change type of `font' to | |
13047 | `struct font *'. | |
13048 | (struct glyph_string): New member underline_position and | |
13049 | underline_thickness. | |
13050 | (enum lface_attribute_index): Remove LFACE_AVGWIDTH_INDEX. | |
13051 | (struct face): Change type of `font' to `struct font *'. Remove | |
13052 | members `font_name', `font_info_id'. | |
13053 | (per_char_metric, encode_char): Delete externs. | |
13054 | (calc_pixel_width_or_height): Adjust the prototype. | |
13055 | ||
13056 | * emacs.c (enable_font_backend): Delete extern. | |
13057 | (main): Don't set enable_font_backend. Don't check the command | |
13058 | line argument "-disable-font-backend". | |
13059 | ||
13060 | * font.h (Qfont_spec, Qfont_entity, Qfont_object): Extern them. | |
13061 | (enum font_property_index): New members FONT_DPI_INDEX, | |
13062 | FONT_SPACING_INDEX, FONT_AVGWIDTH_INDEX, FONT_NAME_INDEX, | |
13063 | FONT_FULLNAME_INDEX, FONT_FILE_INDEX, FONT_FORMAT_INDEX, | |
13064 | FONT_OBJECT_MAX. Delete FONT_FRAME_INDEX. | |
13065 | (FONT_WEIGHT_NUMERIC, FONT_SLANT_NUMERIC, FONT_WIDTH_NUMERIC) | |
13066 | (FONT_WEIGHT_SYMBOLIC, FONT_SLANT_SYMBOLIC, FONT_WIDTH_SYMBOLIC) | |
13067 | (FONT_WEIGHT_FOR_FACE, FONT_SLANT_FOR_FACE, FONT_WIDTH_FOR_FACE) | |
13068 | (FONT_WEIGHT_NAME_NUMERIC, FONT_SLANT_NAME_NUMERIC) | |
13069 | (FONT_WIDTH_NAME_NUMERIC, FONT_SET_STYLE): New macros. | |
13070 | (struct font_spec, struct font_entity): New structs. | |
13071 | (FONT_ENCODING_NOT_DECIDED): Moved from fontset.h. | |
13072 | (struct font): Many members from old "struct font_info" moved to | |
13073 | here. Members font and entity deleted. | |
13074 | (FONT_SPEC_P, FONT_ENTITY_P, FONT_OBJECT_P, FONTP): Modified for | |
13075 | the new font-related objects. | |
13076 | (CHECK_FONT_SPEC, CHECK_FONT_ENTITY, CHECK_FONT_OBJECT) | |
13077 | (CHECK_FONT_GET_OBJECT): Likewise. | |
13078 | (XFONT_SPEC, XFONT_ENTITY, XFONT_OBJECT, XSETFONT): New macros. | |
13079 | (PT_PER_INCH, POINT_TO_PIXEL, PIXEL_TO_POINT): Moved from font.h. | |
13080 | (struct font_driver): New members case_sensitive anc check. Type | |
13081 | of the member list and open changed. | |
13082 | (enable_font_backend, font_symbolic_weight, font_symbolic_slant) | |
13083 | (font_symbolic_width, font_find_object, font_get_spec) | |
13084 | (font_set_lface_from_name): Delete extern. | |
13085 | (Fcopy_font_spec, Fmerge_font_spec, Ffont_family_list): New EXFUNs. | |
13086 | ||
13087 | * font.c: Include <strings.h>. | |
13088 | (enable_font_backend): Delete it. | |
13089 | (Qfont_spec, Qfont_entity, Qfont_object): New variables. | |
13090 | (CHECK_VALIDATE_FONT_SPEC): Delete it. | |
13091 | (PT_PER_INCH, POINT_TO_PIXEL, PIXEL_TO_POINT): Moved to font.h. | |
13092 | (null_string): Delete it. | |
13093 | (null_vector): Make it static. | |
13094 | (font_family_alist): Delete it. | |
13095 | (Qnormal): Extern it. | |
13096 | (QCextra, QClanguage): Delete it. | |
13097 | (QClang, QCavgwidth, QCfont_entity, QCfc_unknown_spec): New variables. | |
13098 | (font_make_spec, font_make_entity, font_make_object) | |
13099 | (font_intern_prop): Renamed from intern_downcase. Don't downcase | |
13100 | the string. Callers changed. | |
13101 | (font_pixel_size): Adjusted for the format change of font-related | |
13102 | objects. | |
13103 | (prop_name_to_numeric, prop_numeric_to_name): Delete them. | |
13104 | (font_style_to_value, font_style_symbolic): New function. | |
13105 | (build_font_family_alist): Delete it. | |
13106 | (font_registry_charsets): Use Fassoc_string instead of | |
13107 | assq_no_quit. | |
13108 | (font_prop_validate_symbol): Don't return null_string. | |
13109 | (font_prop_validate_style): Adjusted for the change of | |
13110 | style-related values in a font vector. | |
13111 | (font_property_table): Delete entries for QClanguage and | |
13112 | QCantialias, add entries for QCavgwidth. | |
13113 | (get_font_prop_index): Delete the 2nd argument FROM. | |
13114 | (font_prop_validate): Arguments changed. | |
13115 | (font_put_extra): Adjusted for the change of font-related objects. | |
13116 | (font_expand_wildcards, font_parse_xlfd, font_unparse_xlfd) | |
13117 | (font_parse_fcname, font_unparse_fcname) | |
13118 | (font_prepare_composition): Likewise. | |
13119 | (font_parse_family_registry): Renamed from font_merge_old_spec. | |
13120 | (otf_open): Delete the 1st arg entity. | |
13121 | (font_otf_capability): Adjusted for the above change. | |
13122 | (font_score): New arg alternate_families. Adjusted for the change | |
13123 | of font-related objects. | |
13124 | (font_sort_entites): New arg best_only. | |
13125 | (font_symbolic_weight, font_symbolic_slant, font_symbolic_width): | |
13126 | Delete them. | |
13127 | (font_match_p): Check alternate families. | |
13128 | (font_find_object): Delete it. | |
13129 | (font_check_object): New function. | |
13130 | (font_clear_cache): Adjusted for the change of font-related objects. | |
13131 | (font_delete_unmatched): New arg. | |
13132 | (font_list_entities): Call font_driver->list with a spec that | |
13133 | doesn't specify style-related properties. | |
13134 | (font_matching_entity): Arguments changed. Caller changed. | |
13135 | (font_open_entity): Adjusted for the change of font-related objects. | |
13136 | (font_close_object, font_has_char, font_encode_char) | |
13137 | (font_get_name, font_get_spec): Likewise. | |
13138 | (font_spec_from_name, font_clear_prop, font_update_lface): | |
13139 | New functions. | |
13140 | (font_find_for_lface, font_open_for_lface, font_load_for_lface) | |
13141 | (font_prepare_for_face, font_done_for_face, font_open_by_name) | |
13142 | (font_at): Adjusted for the change of font-related objects. | |
13143 | (font_range): New function. | |
13144 | (Ffontp, Ffont_spec, Ffont_get, Ffont_put, Flist_fonts) | |
13145 | (Ffont_xlfd_name): Adjusted for the change of font-related objects. | |
13146 | (Fcopy_font_spec, Fmerge_font_spec): New function. | |
13147 | (Ffont_family_list): Renamed from list-families. | |
13148 | (Finternal_set_font_style_table): Arguments changed. | |
13149 | (Ffont_fill_gstring, Ffont_shape_text, Fopen_font) | |
13150 | (Ffont_drive_otf, Fquery_font, Ffont_match_p): Adjusted for the | |
13151 | change of font-related objects. | |
13152 | (syms_of_font): Delete "ifdef USE_FONT_BACKEND". DEFSYM new symbols. | |
13153 | ||
13154 | * fontset.h (struct font_info): Delete it. Most members go to | |
13155 | struct font. | |
13156 | (FONT_ENCODING_NOT_DECIDED): Moved to font.h. | |
13157 | (enum FONT_SPEC_INDEX): Delete it. | |
13158 | (font_info, list_fonts_func, load_font_func, query_font_func) | |
13159 | (set_frame_fontset_func, find_ccl_program_func) | |
13160 | (get_font_repertory_func, new_fontset_from_font_name): Delete | |
13161 | externs. | |
13162 | (fontset_from_font_name): Extern it. | |
13163 | (FS_LOAD_FONT, FONT_INFO_ID, FONT_INFO_FROM_ID) | |
13164 | (FONT_INFO_FROM_FACE): Deleted. | |
13165 | (face_for_font): Adjust prototype. | |
13166 | ||
13167 | * fontset.c: Throughout the file, delete all USE_FONT_BACKEND | |
13168 | conditionals. Don't check enable_font_backend. Delete all codes | |
13169 | used only when USE_FONT_BACKEND is not defined. | |
13170 | (get_font_info_func, list_font_func, load_font_func) | |
13171 | (query_font_func, set_frame_fontset_func, find_ccl_program_func) | |
13172 | (get_font_repertory_func): Delete them. | |
13173 | (FONTSET_SPEC, FONT_DEF_NEW, FONT_DEF_SPEC, FONT_DEF_ENCODING) | |
13174 | (FONT_DEF_REPERTORY, RFONT_DEF_FACE, RFONT_DEF_SET_FACE) | |
13175 | (RFONT_DEF_FONT_DEF, RFONT_DEF_SPEC, RFONT_DEF_REPERTORY) | |
13176 | (RFONT_DEF_OBJECT, RFONT_DEF_SET_OBJECT, RFONT_DEF_SCORE) | |
13177 | (RFONT_DEF_SET_SCORE, RFONT_DEF_NEW): New macros. | |
13178 | (fontset_compare_rfontdef): New function. | |
13179 | (reorder_font_vector): Remove the argument CHARSET-ID. Sort | |
13180 | rfont-defs by qsort. Adjusted for the change of font-group vector. | |
13181 | (load_font_get_repertory): Deleted. | |
13182 | (fontset_find_font): Use new macros to ref/set elements of | |
13183 | font-def and rfont-def. | |
13184 | (fontset_font): Fix the timing of remembering that no font for C. | |
13185 | (free_face_fontset): Do nothing if the face has no fontset. | |
13186 | (face_suitable_for_char_p): Use new macros to ref/set elements of | |
13187 | rfont-def. | |
13188 | (face_for_char): Likewise. Call face_for_char with font_object. | |
13189 | (fs_load_font): Delete. Delete #pragma surrounding it. | |
13190 | (fs_query_fontset): Use strcasecmp instead of strcmp. | |
13191 | (generate_ascii_font_name): Adjusted for the format change of | |
13192 | font-spec. | |
13193 | (Fset_fontset_font): Likewise. Use new macros to set elements of | |
13194 | font-def. | |
13195 | (Fnew_fontset): Use font_unparse_xlfd to generate | |
13196 | FONTSET_ASCII (fontset). | |
13197 | (new_fontset_from_font_name): Deleted. | |
13198 | (fontset_from_font): Renamed from new_fontset_from_font. Check if | |
13199 | a fontset is already created for the font. FIx updating of | |
13200 | Vfontset_alias_alist. | |
13201 | (fontset_ascii_font): Deleted. | |
13202 | (Ffont_info): Adjusted for the format change of font-spec. | |
13203 | (Finternal_char_font): Likewise. | |
13204 | (Ffontset_info): Likewise. | |
13205 | (syms_of_fontset): Don't check load_font_func. | |
13206 | ||
13207 | * fns.c (internal_equal): Handle PREV_FONT. | |
13208 | ||
13209 | * frame.h: Delete USE_FONT_BACKEND conditional. | |
13210 | ||
13211 | * frame.c: Throughout the file, delete all USE_FONT_BACKEND | |
13212 | conditionals. Don't check enable_font_backend. Delete all codes | |
13213 | used only when USE_FONT_BACKEND is not defined. | |
13214 | (x_set_font): Call x_new_font, not x_new_fontset2. | |
13215 | (x_set_font_backend): Use FRAME_FONT macro to check if a font is | |
13216 | already set for the frame. | |
13217 | ||
13218 | * ftfont.c (ftfont_pattern_entity): Argument FRAME removed. Make | |
13219 | a font-entity by font_make_entity. Use font_intern_prop instead | |
13220 | of intern_downcase. Use FONT_SET_STYLE to set a style-related | |
13221 | font property. If a font is scalable, set avgwidth property to 0. | |
13222 | Set font-entity property by font_put_extra. | |
13223 | (ftfont_list_generic_family): Argument SPEC and REGISTRY removed. | |
13224 | (ffont_driver): Adjusted for the change of struct font_driver. | |
13225 | (ftfont_spec_pattern): New function. | |
13226 | (ftfont_list): Return a list, not vector. | |
13227 | (ftfont_match): Use ftfont_spec_pattern to get a pattern. | |
13228 | (ftfont_list_family): Don't downcase names. | |
13229 | (ftfont_free_entity): Deleted. | |
13230 | (ftfont_open): Return a font-object. Adjusted for the change of | |
13231 | struct font. Get underline_thickness and underline_position from | |
13232 | font property. Don't update dpyinfo->smallest_font_height and | |
13233 | dpyinfo->smallest_char_width. | |
13234 | (ftfont_close): Don't free `struct font'. | |
13235 | (ftfont_has_char): Adjusted for the format change of font-entity. | |
13236 | (ftfont_encode_char, ftfont_text_extents): Likewise. | |
13237 | ||
13238 | * ftxfont.c (ftxfont_list): Return a list, not vector. | |
13239 | (ftxfont_open): Return a font-object. Adjusted for the change of | |
13240 | struct font. Get underline_thickness and underline_position from | |
13241 | font property. Don't update dpyinfo->smallest_font_height and | |
13242 | dpyinfo->smallest_char_width. | |
13243 | (ftxfont_close): Don't decrease FRAME_X_DISPLAY_INFO (f)->n_fonts. | |
13244 | (ftxfont_draw): Adjusted for the change of struct font. | |
13245 | ||
13246 | * image.c (image_ascent): Don't include "charset.h". Include | |
13247 | "character.h" and "font.h". | |
13248 | ||
13249 | * lisp.h (enum pvec_type): New member PREV_FONT. | |
13250 | (Fassoc_string): EXFUN it. | |
13251 | ||
13252 | * print.c: Include font.h. | |
13253 | (print_object): Handle font-related objects. | |
13254 | ||
13255 | * xdisp.c: Throughout the file, delete all USE_FONT_BACKEND | |
13256 | conditionals. Don't check enable_font_backend. Delete all codes | |
13257 | used only when USE_FONT_BACKEND is not defined. | |
13258 | (handle_auto_composed_prop): Do nothing if it->f is not on a | |
13259 | window system. Check how many following characters can be | |
13260 | displayed by the same font. | |
13261 | (calc_pixel_width_or_height): Type of the 4th arg is changed to | |
13262 | 'struct font *'. | |
13263 | (get_char_face_and_encoding): Assign the whole encoding task to | |
13264 | the `encode-char' method of a font driver. | |
13265 | (fill_composite_glyph_string): Adjusted for the change of `struct | |
13266 | face' and `struct glyph_string'. | |
13267 | (fill_glyph_string): Likewise. | |
13268 | (get_per_char_metric): Arguments changed. | |
13269 | (x_get_glyph_overhangs): Adjusted for the change of `struct face' | |
13270 | and `struct glyph_string'. | |
13271 | (produce_stretch_glyph, calc_line_height_property) | |
13272 | (x_produce_glyphs): Likewise. | |
13273 | ||
13274 | * xfaces.c: Throughout the file, delete all USE_FONT_BACKEND | |
13275 | conditionals. Don't check enable_font_backend. Delete all codes | |
13276 | used only when USE_FONT_BACKEND is not defined. Use | |
13277 | FONT_XXX_NAME_NUMERIC instead of face_numeric_xxx. | |
13278 | (QCfoundry, QCadstyle, QCregistry, QCspacing, QCsize, QCavgwidth) | |
13279 | (Qp): Extern them. | |
13280 | (clear_font_table, load_face_font, xlfd_lookup_field_contents): | |
13281 | Deleted. | |
13282 | (struct font_name): Deleted. | |
13283 | (xlfd_numeric_value, xlfd_symbolic_value): Deleted. | |
13284 | (compare_fonts_by_sort_order): New function. | |
13285 | (xlfd_numeric_slant, xlfd_symbolic_slant, xlfd_numeric_weight) | |
13286 | (xlfd_symbolic_weight, xlfd_numeric_swidth, xlfd_symbolic_swidth): | |
13287 | Deleted. | |
13288 | (Fx_family_fonts): Use font_list_entities, and sort fonts by | |
13289 | compare_fonts_by_sort_order. | |
13290 | (Fx_font_family_list): Call Ffont_family_list. | |
13291 | (face_numeric_value, face_numeric_weight, face_numeric_slant) | |
13292 | (face_numeric_swidth, face_symbolic_value, face_symbolic_weight) | |
13293 | (face_symbolic_slant, face_symbolic_swidth) | |
13294 | (split_font_name_into_vector, build_font_name_from_vector) | |
13295 | (xlfd_fixed_p, xlfd_point_size, pixel_point_size) | |
13296 | (font_rescale_ratio, split_font_name, build_font_name) | |
13297 | (free_font_names, sort_fonts, x_face_list_fonts) | |
13298 | (face_font_available_p, sorted_font_list, cmp_font_names) | |
13299 | (font_list_1, concat_font_list, font_list, remove_duplicates): | |
13300 | Deleted. | |
13301 | (Fx_list_fonts): Use Ffont_list. | |
13302 | (LFACE_AVGWIDTH): Deleted. | |
13303 | (check_lface_attrs): Don't check LFACE_AVGWIDTH. Check LFACE_FONT | |
13304 | by FONTP. | |
13305 | (lface_fully_specified_p): Don't check LFACE_AVGWIDTH. | |
13306 | (set_lface_from_font_name): Delete it. | |
13307 | (set_lface_from_font): Renamed from | |
13308 | set_lface_from_font_and_fontset. Caller changed. Don't set | |
13309 | LFACE_AVGWIDTH. Use FONT_XXX_FOR_FACE to get a symbol suitable | |
13310 | for face. | |
13311 | (merge_face_vectors): Copy font-spec if necessary. | |
13312 | Clear properties of the font-spec if necessary. | |
13313 | (merge_face_ref): Clear properties of the font-spec if necessary. | |
13314 | (Finternal_set_lisp_face_attribute): Likewise. | |
13315 | (set_font_frame_param): Use font_load_for_lface to load a | |
13316 | font-object, and call Fmodify_frame_parameters with it. | |
13317 | (x_update_menu_appearance): Don't check LFACE_AVGWIDTH. Get XLFD | |
13318 | font name by Ffont_xlfd_name. | |
13319 | (Finternal_lisp_face_attribute_values): Don't check QCweight, | |
13320 | QCslant, and QCwidth. | |
13321 | (Fface_font): Get a font name from font->props[FONT_NAME_INDEX]. | |
13322 | (lface_same_font_attributes_p): Don't check LFACE_AVGWIDTH. | |
13323 | Compare fonts by EQ. | |
13324 | (lookup_non_ascii_face): Deleted. | |
13325 | (face_for_font): The 2nd argument changed. | |
13326 | (x_supports_face_attributes_p): Don't check LFACE_AVGWIDTH. | |
13327 | Check atomic font properties by case insensitive. | |
13328 | (realize_non_ascii_face): Set face->overstrike correctly. | |
13329 | (realize_x_face): Likewise. Check if LFACE_FONT is a font_object. | |
13330 | (dump_realized_face): Get font name from | |
13331 | font->props[FONT_NAME_INDEX]. Don't print font_info_id. | |
13332 | ||
13333 | * xfns.c: Throughout the file, delete all USE_FONT_BACKEND | |
13334 | conditionals. Don't check enable_font_backend. Delete all codes | |
13335 | used only when USE_FONT_BACKEND is not defined. | |
13336 | (xic_create_xfontset): Original code deleted and renamed from | |
13337 | xic_create_xfontset2. Use FRAME_FONT, not FRAME_FONT_OBJECT. | |
13338 | (x_make_gc): Don't set GCFont in GCs. | |
13339 | (Fx_create_frame) [USE_LUCID]: Set xlwmenu_default_font to a font | |
13340 | opened by "fixed". | |
13341 | (syms_of_xfns): Don't set get_font_info_func, load_font_func, | |
13342 | find_ccl_program_func, query_font_func, set_frame_fontset_func, | |
13343 | get_font_repertory_func. | |
13344 | ||
13345 | * xfont.c: Include <stdlib.h> and "ccl.h". | |
13346 | (struct xfont_info): New structure. | |
13347 | (xfont_query_font): Deleted. | |
13348 | (xfont_find_ccl_program): Renamed from x_find_ccl_program and | |
13349 | moved from xterm.c. | |
13350 | (xfont_driver): Adjusted for the change of struct font_driver. | |
13351 | (compare_font_names): New function. | |
13352 | (xfont_list_pattern): Sort font names case insensitively. Make | |
13353 | font_entity by calling font_make_entity. Avoid auto-scaled fonts. | |
13354 | (xfont_list): Return a list, not vector. | |
13355 | (xfont_match): If the font doesn't have QCname property, generate | |
13356 | a name from the other font properties. | |
13357 | (xfont_open): Return a font-object. Adjusted for the change of | |
13358 | struct font. Get underline_thickness and underline_position from | |
13359 | font property. Don't update dpyinfo->smallest_font_height and | |
13360 | dpyinfo->smallest_char_width. | |
13361 | (xfont_close): Don't free struct font. | |
13362 | (xfont_prepare_face): Adjusted for the change of struct font. | |
13363 | (xfont_done_face): Deleted. | |
13364 | (xfont_has_char): Adjusted for the change of struct font. | |
13365 | (xfont_encode_char, xfont_draw): Likewise. | |
13366 | (xfont_check): New function. | |
13367 | ||
13368 | * xftfont.c (xftfont_list): Adjusted for the change of `list' | |
13369 | callback function. | |
13370 | (xftfont_match): Adjusted for the format change of font-entity. | |
13371 | (xftfont_open): Adjusted for the format change of font-entity and | |
13372 | font-object. Adjusted for the change of struct font. Return a | |
13373 | font-object. Don't update dpyinfo->smallest_font_height and | |
13374 | dpyinfo->smallest_char_width. | |
13375 | (xftfont_close): Block input while calling XftFontClose. | |
13376 | (xftfont_prepare_face): Don't block input while calling | |
13377 | xftfont_get_colors. Adjusted for the change of struct font. | |
13378 | (xftfont_shape): Return value of error case fixed. | |
13379 | ||
13380 | * xrdb.c (x_load_resources): Don't setup a fontset resource. | |
13381 | ||
13382 | * xterm.h: Throughout the file, delete all USE_FONT_BACKEND | |
13383 | conditionals. | |
13384 | (FONT_WIDTH): Return (f)->max_width. | |
13385 | (struct x_display_info): Delete member `font'. | |
13386 | (x_list_fonts, x_get_font_info, x_load_font, x_query_font) | |
13387 | (x_find_ccl_program, x_get_font_repertory): Delete externs. | |
13388 | (struct x_output): Change type of `font' to `struct font *'. | |
13389 | ||
13390 | * xterm.c: Throughout the file, delete all USE_FONT_BACKEND | |
13391 | conditionals. Don't check enable_font_backend. Delete all codes | |
13392 | used only when USE_FONT_BACKEND is not defined. Don't include ccl.h. | |
13393 | (x_per_char_metric, x_encode_char): Deleted. | |
13394 | (x_set_cursor_gc, x_set_mouse_face_gc): Don't set GCFont. | |
13395 | (x_compute_glyph_string_overhangs): Adjusted for the change of | |
13396 | `struct face'. | |
13397 | (x_draw_glyph_string_foreground) | |
13398 | (x_draw_composite_glyph_string_foreground): Likewise. | |
13399 | (x_draw_glyph_string): Likewise. Use font->underline_position and | |
13400 | font->underline_thickness. | |
13401 | (x_new_font): Renamed from x_new_fontset2. | |
13402 | (x_new_fontset, x_get_font_info, x_list_fonts): Deleted. | |
13403 | (x_check_font): Call `check' method of a font driver. | |
13404 | (x_font_min_bounds, x_compute_min_glyph_bounds, x_load_font) | |
13405 | (x_query_font, x_get_font_repertory): Deleted. | |
13406 | (x_find_ccl_program): Renamed and moved to xfont.c. | |
13407 | (x_redisplay_interface): Adjusted for the change of `struct | |
13408 | redisplay_interface'. | |
13409 | ||
13410 | * w32fns.c: Throughout the file, delete all USE_FONT_BACKEND | |
13411 | conditionals. Don't check enable_font_backend. Delete all codes | |
13412 | used only when USE_FONT_BACKEND is not defined. Surround non-used | |
13413 | code by "#ifdef OLD_FONT" and "endif". | |
13414 | (Fw32_select_font): Use FONT_COMPAT to get old font structure. | |
13415 | ||
13416 | * w32font.h (struct w32font_info): New member. | |
13417 | (FONT_COMPAT): New macro. | |
13418 | (w32font_open_internal): Prototype adjusted. | |
13419 | ||
13420 | * w32gui.h (XGCValues): Surround `XFontStruct *font' by "if | |
13421 | OLD_FONT" and "endif". | |
13422 | ||
13423 | * w32font.c: Throughout the file, delete all USE_FONT_BACKEND | |
13424 | conditionals. Don't check enable_font_backend. Delete all codes | |
13425 | used only when USE_FONT_BACKEND is not defined. | |
13426 | (w32font_open): Return a font-object. Make a font-object by | |
13427 | font_make_object. Adjusted for the change of struct w32font_info. | |
13428 | (w32font_close): Don't free struct font. Adjusted for the change | |
13429 | of struct w32font_info. | |
13430 | (w32font_encode_char, w32font_text_extents, w32font_draw): | |
13431 | Adjusted for the change of struct w32font_info. | |
13432 | (w32font_draw): Likewise. | |
13433 | (w32font_list_internal): Return a list, not vector. | |
13434 | (w32font_open_internal): Change the 4th arg to font-object. | |
13435 | Adjusted for the change of struct w32font_info and font-object format. | |
13436 | (add_font_name_to_list): Don't downcase names. | |
13437 | (w32_enumfont_pattern_entity): Make a font-entity by | |
13438 | font_make_entity. Adjusted for the format change of font-entity. | |
13439 | Use FONT_SET_STYLE to set a style-related font property. If a | |
13440 | font is scalable, set avgwidth property to 0. Set font-entity | |
13441 | property by font_put_extra. | |
13442 | (font_matches_spec): Adjusted for the format change of font-entity. | |
13443 | (w32_weight_table, w32_decode_weight): New variables. | |
13444 | (w32_encode_weight): New function. | |
13445 | (fill_in_logfont): Adjusted for the format change of font-spec. | |
13446 | (w32font_full_name): Use FONT_WEIGHT_SYMBOLIC to get a symbol | |
13447 | weight value. | |
13448 | (w32font_driver): Adjusted for the change of struct font_driver. | |
13449 | ||
13450 | * w32term.h: Throughout the file, delete all USE_FONT_BACKEND | |
13451 | conditionals. Don't check enable_font_backend. Surround non-used | |
13452 | code by "#ifdef OLD_FONT" and "endif". | |
13453 | (FONT_WIDTH, FONT_HEIGHT, FONT_BASE, FONT_DESCENT) | |
13454 | (FONT_AVG_WIDTH): Adjusted for the change of struct font. | |
13455 | ||
13456 | * w32term.c: Throughout the file, delete all USE_FONT_BACKEND | |
13457 | conditionals. Don't check enable_font_backend. Delete all codes | |
13458 | used only when USE_FONT_BACKEND is not defined. Surround non-used | |
13459 | code by "#ifdef OLD_FONT" and "endif". | |
13460 | ||
13461 | * w32uniscribe.c: Delete USE_FONT_BACKEND conditional. | |
13462 | (uniscribe_open): Return value changed to font-object. | |
13463 | Adjusted for the format change of font-object. | |
13464 | (uniscribe_otf_capability): Adjusted for the change of struct font. | |
13465 | (add_opentype_font_name_to_list): Don't downcase names. | |
13466 | (uniscribe_font_driver): Adjusted for the change of struct | |
13467 | font_driver. | |
13468 | ||
13469 | 2008-05-13 Chong Yidong <cyd@stupidchicken.com> | |
13470 | ||
13471 | * dispnew.c (update_frame_1): Check if tty output is still valid | |
13472 | before flushing it. | |
13473 | ||
13474 | 2008-05-13 Jan Djärv <jan.h.d@swipnet.se> | |
13475 | ||
13476 | * xterm.c (handle_one_xevent): Don't pass buttons higher than 3 | |
13477 | to Gtk+ menus. | |
13478 | ||
13479 | 2008-05-13 Stefan Monnier <monnier@iro.umontreal.ca> | |
13480 | ||
13481 | * dired.c (file_name_completion): Tweak the code so as to always do it | |
13482 | in a single pass. Tighten the scope of some variables. | |
13483 | ||
13484 | * dired.c (Qdefault_directory): New var. | |
13485 | (file_name_completion): Use it instead of Fexpand_file_name. | |
13486 | (syms_of_dired): Initialize it. | |
13487 | ||
13488 | 2008-05-12 Stefan Monnier <monnier@iro.umontreal.ca> | |
13489 | ||
13490 | * fileio.c (double_dollars): Remove dead code. | |
13491 | ||
13492 | 2008-05-10 Eli Zaretskii <eliz@gnu.org> | |
13493 | ||
13494 | * dired.c (Ffile_attributes, Fdirectory_files_and_attributes): | |
13495 | Mention w32-get-true-file-attributes in doc string. | |
13496 | ||
13497 | * w32proc.c (syms_of_ntproc) <w32-get-true-file-attributes>: Doc fix. | |
13498 | ||
13499 | 2008-05-09 Glenn Morris <rgm@gnu.org> | |
13500 | ||
13501 | * fileio.c (Fread_file_name): Remove reference to insdef, deleted | |
13502 | 2008-04-23. | |
13503 | ||
13504 | 2008-05-09 Eli Zaretskii <eliz@gnu.org> | |
13505 | ||
13506 | Support for reporting owner and group of each file on MS-Windows: | |
13507 | * dired.c (stat_uname, stat_gname): New functions, with special | |
13508 | implementation for w32. | |
13509 | (Ffile_attributes): Use them instead of getpwuid and getgrgid. | |
13510 | ||
13511 | * w32.c: Rename the_passwd_* to dflt_passwd_*. | |
13512 | (dflt_group_name): New static variable. | |
13513 | (dflt_group): Rename from the_group. | |
13514 | (init_user_info): Init dflt_group fields. Get user's group name | |
13515 | from LookupAccountSid. | |
13516 | (g_b_init_get_file_security, g_b_init_get_security_descriptor_owner) | |
13517 | (g_b_init_get_security_descriptor_group, g_b_init_is_valid_sid): | |
13518 | New initialization states. | |
13519 | (globals_of_w32): Initialize them to zero. Initialize the default | |
13520 | group name to "None". | |
13521 | (GetFileSecurity_Name): New global var, the name of the function | |
13522 | to call for GetFileSecurity. | |
13523 | (GetFileSecurity_Proc, GetSecurityDescriptorOwner_Proc) | |
13524 | (GetSecurityDescriptorGroup_Proc, IsValidSid_Proc): New typedefs. | |
13525 | (get_file_security, get_security_descriptor_owner) | |
13526 | (get_security_descriptor_group, is_valid_sid) | |
13527 | (get_file_security_desc, get_rid, get_name_and_id) | |
13528 | (get_file_owner_and_group): New functions. | |
13529 | (stat): Use get_file_security_desc and get_file_owner_and_group to | |
13530 | report the owner and primary group of each file. Don't ignore the | |
13531 | high 32 bits of file's size, now that st_size is 64-bit wide. | |
13532 | Fix test when to get true file attributes. | |
13533 | (init_user_info): Use get_rid instead of equivalent inline code. | |
13534 | (fstat): Don't ignore the high 32 bits of file's size. | |
13535 | ||
13536 | 2008-05-09 Chong Yidong <cyd@stupidchicken.com> | |
13537 | ||
13538 | * image.c (png_load): Use correct bit-depth for setting background | |
13539 | color. | |
13540 | ||
13541 | 2008-05-08 Eli Zaretskii <eliz@gnu.org> | |
13542 | ||
13543 | * Makefile.in (lisp, shortlisp): Rename epa-file-hook.elc to | |
13544 | epa-hook.elc. | |
13545 | ||
13546 | 2008-05-08 Juanma Barranquero <lekktu@gmail.com> | |
13547 | ||
13548 | * font.c (Ffont_match_p): Don't use `iff' in docstring. | |
13549 | ||
13550 | 2008-05-07 Dan Nicolaescu <dann@ics.uci.edu> | |
13551 | ||
13552 | * macfns.c (Fx_create_frame): Make a copy of frame parameters | |
13553 | because the original parameters are in pure storage now. | |
13554 | (mac_window): Remove unused params. Update callers. | |
13555 | ||
13556 | 2008-05-06 Stefan Monnier <monnier@iro.umontreal.ca> | |
13557 | ||
13558 | * lread.c (substitute_object_recurse): Use lower-level primitives. | |
13559 | Don't signal errors when traversing sub-char-tables. | |
13560 | Don't loop over all the possible characters when traversing char-tables. | |
13561 | ||
13562 | * print.c (print_preprocess): Add sub-char-tables to the print-table, | |
13563 | just like we do in print.c. | |
13564 | ||
13565 | 2008-05-05 Stefan Monnier <monnier@iro.umontreal.ca> | |
13566 | ||
13567 | * minibuf.c (Ftry_completion): Remove code left over from when we used | |
13568 | scmp instead of Fcompare_strings. | |
13569 | ||
13570 | 2008-05-04 Juanma Barranquero <lekktu@gmail.com> | |
13571 | ||
13572 | * w32fns.c (Fw32_battery_status): Fix computation of %t (h:min) format. | |
13573 | ||
13574 | 2008-05-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
13575 | ||
13576 | * image.c [USE_MAC_IMAGE_IO] (image_load_image_io): | |
13577 | Create bitmap context in native byte order. | |
13578 | ||
13579 | * macterm.c (XDrawLine) | |
13580 | (XCreatePixmapFromBitmapData) [USE_MAC_IMAGE_IO]: Create bitmap | |
13581 | context in native byte order. | |
13582 | ||
13583 | 2008-05-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
13584 | ||
13585 | * config.in: Regenerate. | |
13586 | ||
13587 | * image.c (PIX_MASK_DRAW, PIX_MASK_RETAIN) [USE_MAC_IMAGE_IO]: | |
13588 | New definitions for Image I/O support. | |
13589 | (XGetImage, XPutPixel, XGetPixel, XDestroyImage) | |
13590 | (mac_create_cg_image_from_image, x_create_x_image_and_pixmap) | |
13591 | [USE_MAC_IMAGE_IO]: Add implementations for Image I/O support. | |
13592 | (mac_data_provider_release_data, image_load_image_io) | |
13593 | [USE_MAC_IMAGE_IO]: New functions. | |
13594 | (CGImageCreateWithPNGDataProviderProcType) [MAC_OSX]: Remove typedef. | |
13595 | (MyCGImageCreateWithPNGDataProvider) [MAC_OSX]: Remove variable. | |
13596 | (init_image_func_pointer) [MAC_OSX]: Remove function. | |
13597 | (image_load_quartz2d) [MAC_OSX]: Check availability of | |
13598 | CGImageCreateWithPNGDataProvider at compile time. | |
13599 | Use lowercase `false' for boolean constant. | |
13600 | (png_load, jpeg_load, tiff_load, gif_load) [USE_MAC_IMAGE_IO]: | |
13601 | Use image_load_image_io. | |
13602 | (png_load) [!USE_MAC_IMAGE_IO && MAC_OSX]: | |
13603 | Don't check MyCGImageCreateWithPNGDataProvider. | |
13604 | (init_image) [MAC_OSX && TARGET_API_MAC_CARBON]: | |
13605 | Don't call init_image_func_pointer. | |
13606 | ||
13607 | * macgui.h (Pixmap) [USE_MAC_IMAGE_IO]: New definition for Image I/O. | |
13608 | ||
13609 | * macterm.c (mac_cg_color_space_rgb) [USE_CG_DRAWING]: | |
13610 | Make variable non-static. | |
13611 | (XDrawLine, XCreatePixmap, XCreatePixmapFromBitmapData, XFreePixmap) | |
13612 | [USE_MAC_IMAGE_IO]: Add implementations for Image I/O support. | |
13613 | ||
13614 | * macterm.h (ARGB_TO_ULONG, ALPHA_FROM_ULONG): New macros. | |
13615 | (RED_FROM_ULONG): Mask off higher bits. | |
13616 | (mac_cg_color_space_rgb) [USE_MAC_IMAGE_IO]: New extern. | |
13617 | ||
13618 | * s/darwin.h [HAVE_CARBON && HAVE_AVAILABILITYMACROS_H]: | |
13619 | Include AvailabilityMacros.h. | |
13620 | (USE_MAC_IMAGE_IO, LIBS_IMAGE) [HAVE_CARBON]: New defines. | |
13621 | (LIBS_CARBON) [HAVE_CARBON]: Use LIBS_IMAGE. | |
13622 | ||
13623 | 2008-05-03 Stefan Monnier <monnier@iro.umontreal.ca> | |
13624 | ||
13625 | * chartab.c (Fset_char_table_range): If range is t, really set all | |
13626 | chars to that value. | |
13627 | ||
13628 | 2008-05-03 Eli Zaretskii <eliz@gnu.org> | |
13629 | ||
13630 | * dired.c (Ffile_attributes): Don't allow the device number become | |
13631 | negative. | |
13632 | ||
13633 | 2008-05-02 Daiki Ueno <ueno@unixuser.org> | |
13634 | ||
13635 | * Makefile.in (lisp, shortlisp): Add epa-file-hook.elc. | |
13636 | ||
13637 | 2008-05-02 Juri Linkov <juri@jurta.org> | |
13638 | ||
13639 | * minibuf.c (Fread_from_minibuffer, Fread_string, Fread_command) | |
13640 | (Fread_variable, Fread_buffer, Fcompleting_read): Document the | |
13641 | DEFAULT argument as a list of default values in docstrings. | |
13642 | ||
13643 | 2008-05-01 Chong Yidong <cyd@stupidchicken.com> | |
13644 | ||
13645 | * puresize.h (BASE_PURESIZE): Increase to 1210000. | |
13646 | ||
13647 | 2008-05-01 Martin Rudalics <rudalics@gmx.at> | |
13648 | ||
13649 | * dispnew.c (change_frame_size_1): Preserve small windows when | |
13650 | shrinking frames by calling set_window_height|width with third | |
13651 | arg 2. | |
13652 | ||
13653 | * window.h (struct window): Replace field too_small_ok by field | |
13654 | resize_proportionally. | |
13655 | ||
13656 | * window.c (make_window): Initialize resize_proportionally. | |
13657 | (enlarge_window): Temporarily set resize_proportionally to make | |
13658 | sure that shrink_windows does scale the window proportionally. | |
13659 | (shrink_windows): When window has resize_proportionally set try | |
13660 | to shrink it proportionally by stealing from other windows. | |
13661 | (struct saved_window, Fset_window_configuration) | |
13662 | (compare_window_configurations): Handle resize_proportionally. | |
13663 | (WINDOW_TOTAL_SIZE): New macro. | |
13664 | (window_min_size, shrink_windows, size_window): Use it. | |
13665 | (check_min_window_sizes): Remove. Invalid values of | |
13666 | window-min-height|width are handled by window_min_size_2 now. | |
13667 | (size_window, Fsplit_window, enlarge_window) | |
13668 | (adjust_window_trailing_edge, grow_mini_window): Don't call | |
13669 | check_min_window_sizes. | |
13670 | (window_min_size_2, window_min_size_1, window_min_size): | |
13671 | New argument safe_p for retrieving "safe" minimum sizes. | |
13672 | (Fdisplay_buffer, Fsplit_window, enlarge_window) | |
13673 | (adjust_window_trailing_edge, grow_mini_window): | |
13674 | Adjust arguments of window_min_size... functions. | |
13675 | (shrink_windows): Argument min_size removed. New argument | |
13676 | safe_p allows shrinking windows to their safe minimum sizes. | |
13677 | Calculate minimum size and decide whether a window shall be | |
13678 | deleted for each window individually. | |
13679 | (size_window): When nodelete_p equals 2, tell shrink_windows to | |
13680 | delete windows only if their new minimum size is no more safe. | |
13681 | (shrink_window_lowest_first): Call window_min_size_1 to make | |
13682 | sure to preserve modeline of bottom-most window when resizing | |
13683 | the minibuffer. | |
13684 | (Fset_window_configuration, Fcurrent_window_configuration) | |
13685 | (compare_window_configurations): Do not handle | |
13686 | window-min-height|width any more. | |
13687 | (syms_of_window): Clarify window-min-height|width doc-strings. | |
13688 | ||
13689 | 2008-04-30 Stefan Monnier <monnier@iro.umontreal.ca> | |
13690 | ||
13691 | * dired.c (file_name_completion): Fix up the encoding/decoding issue | |
13692 | some more. Copy some of the code from Ftry_completions. | |
13693 | Remove special case code that dates back to initial revision when the | |
13694 | slash was only added when necessary and that can't trigger nowadays. | |
13695 | ||
13696 | 2008-04-27 Kenichi Handa <handa@m17n.org> | |
13697 | ||
13698 | * font.c (font_prop_validate): Signal `error' instead of `font'. | |
13699 | ||
13700 | 2008-04-29 Jason Rumney <jasonr@gnu.org> | |
13701 | ||
13702 | * w32fns.c (Fw32_battery_status): New defun. | |
13703 | (syms_of_w32fns): Defsubr it. | |
13704 | ||
13705 | 2008-04-28 Andreas Schwab <schwab@suse.de> | |
13706 | ||
13707 | * dired.c (file_name_completion): Fix another mixing of encoded | |
13708 | and decoded names. | |
13709 | ||
13710 | 2008-04-28 Juanma Barranquero <lekktu@gmail.com> | |
13711 | ||
13712 | * w32fns.c (Fw32_define_rgb_color): Fix typo in docstring. | |
13713 | ||
13714 | 2008-04-27 Juanma Barranquero <lekktu@gmail.com> | |
13715 | ||
13716 | * fringe.c (Fdefine_fringe_bitmap): Doc fix. | |
13717 | ||
13718 | 2008-04-27 Andreas Schwab <schwab@suse.de> | |
13719 | ||
13720 | * dired.c (file_name_completion): Fix inappropriate mixing of | |
13721 | encoded and decoded names. | |
13722 | ||
13723 | * xterm.c (XTread_socket): Fix use of uninitialized variable. | |
13724 | ||
13725 | * puresize.h (BASE_PURESIZE): Increase to 1200000. | |
13726 | ||
13727 | 2008-04-26 Eli Zaretskii <eliz@gnu.org> | |
13728 | ||
13729 | * dired.c (Ffile_attributes) [WINDOWSNT]: Undo change from | |
13730 | 2008-03-31, it's not needed anymore with `struct stat' definition | |
13731 | on nt/inc/sys/stat.h. Undo changes from 2007-01-12 and 2007-01-13 | |
13732 | for the same reasons. | |
13733 | ||
13734 | 2008-04-25 Dennis Gilmore <ausil@fedoraproject.org> (tiny change) | |
13735 | ||
13736 | * m/sparc.h: Additional redefinitions for GNU/Linux. | |
13737 | ||
13738 | 2008-04-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
13739 | ||
13740 | * macterm.c (Vmac_ts_active_input_buf) [USE_MAC_TSM]: New variable. | |
13741 | (syms_of_macterm) [USE_MAC_TSM]: Defvar it. | |
13742 | (Qmouse_drag_overlay) [MAC_OSX]: New variable. | |
13743 | (syms_of_macterm) [MAC_OSX]: Intern and staticpro it. | |
13744 | (mac_get_selected_range, mac_store_buffer_text_to_unicode_chars) | |
13745 | (mac_ax_selected_text_range) [MAC_OSX]: New functions. | |
13746 | (mac_ax_number_of_characters) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
13747 | Likewise. | |
13748 | ||
13749 | * mactoolbox.c (Vmac_ts_active_input_buf) [USE_MAC_TSM]: Add extern. | |
13750 | (fast_find_position, x_y_to_hpos_vpos, mac_ax_selected_text_range) | |
13751 | (mac_ax_number_of_characters): Add externs. | |
13752 | (mac_get_selected_range, mac_store_buffer_text_to_unicode_chars) | |
13753 | [USE_MAC_TSM]: Likewise. | |
13754 | (mac_handle_text_input_event) [MAC_OSX]: | |
13755 | Handle kEventTextInputOffsetToPos for no active input area case. | |
13756 | Handle kEventTextInputPosToOffset and kEventTextInputGetSelectedText. | |
13757 | (mac_handle_document_access_event) | |
13758 | [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New function. | |
13759 | (install_application_handler) [MAC_OSX]: Register handlers for | |
13760 | kEventTextInputPosToOffset and kEventTextInputGetSelectedText. | |
13761 | (install_application_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
13762 | Register mac_handle_document_access_event. | |
13763 | ||
13764 | * xdisp.c (x_y_to_hpos_vpos, fast_find_position) [HAVE_CARBON]: | |
13765 | Make functions non-static. | |
13766 | ||
13767 | 2008-04-23 Stefan Monnier <monnier@iro.umontreal.ca> | |
13768 | ||
13769 | * fileio.c (Vread_file_name_function, Vread_file_name_predicate) | |
13770 | (read_file_name_completion_ignore_case, insert_default_directory) | |
13771 | (Qdefault_directory): Move to minibuffer.el. | |
13772 | (Fread_file_name): Call the new `read-file-name' instead. | |
13773 | ||
13774 | 2008-04-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
13775 | ||
13776 | * mac.c (create_apple_event) [TARGET_API_MAC_CARBON]: | |
13777 | Make function non-static. | |
13778 | (create_apple_event_from_event_ref) [TARGET_API_MAC_CARBON]: | |
13779 | Remove function. | |
13780 | (create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]: | |
13781 | Move to mactoolbox.c. | |
13782 | (mac_event_parameters_to_lisp) [TARGET_API_MAC_CARBON]: New function. | |
13783 | ||
13784 | * macgui.h (CGFloat) [!CGFLOAT_DEFINED]: New typedef. | |
13785 | (mac_rect_make): New macro. | |
13786 | ||
13787 | * macterm.c (mac_draw_image_string_atsui) [MAC_OSX]: Use CGFloat | |
13788 | instead of float. | |
13789 | (mac_draw_image_string_cg) [USE_CG_TEXT_DRAWING]: Likewise. | |
13790 | (init_cg_color, mac_draw_line, mac_draw_cg_image, XSetForeground) | |
13791 | (XSetBackground) [USE_CG_DRAWING]: Likewise. | |
13792 | (mac_draw_image_string_atsui) [MAC_OSX]: Use mac_rect_make instead of | |
13793 | CGRectMake. | |
13794 | (mac_draw_image_string_cg) [USE_CG_TEXT_DRAWING]: Likewise. | |
13795 | (mac_erase_rectangle, mac_draw_cg_image, mac_fill_rectangle) | |
13796 | (mac_set_clip_rectangles) [USE_CG_DRAWING]: Likewise. | |
13797 | (XCreatePixmap, XCreatePixmapFromBitmapData): Use Window | |
13798 | instead of WindowRef in argument type. | |
13799 | (XCreatePixmap) [!MAC_OS8]: Don't call SetPortWindowPort. | |
13800 | (mac_invert_rectangle): Use CGContextSetBlendMode if available. | |
13801 | (mac_set_clip_rectangles, mac_reset_clip_rectangles): Take argument F | |
13802 | instead of DISPLAY. All uses changed. | |
13803 | (mac_handle_size_change): Don't call SET_FRAME_GARBAGED. | |
13804 | (x_calc_absolute_position): Simplify so as not to use | |
13805 | FRAME_PIXEL_WIDTH/FRAME_PIXEL_HEIGHT. | |
13806 | ||
13807 | * macterm.h (XCreatePixmap, XCreatePixmapFromBitmapData): Use Window | |
13808 | instead of WindowRef in argument type. | |
13809 | (create_apple_event_from_event_ref, create_apple_event_from_drag_ref) | |
13810 | [TARGET_API_MAC_CARBON]: Remove externs. | |
13811 | (create_apple_event, mac_event_parameters_to_lisp) | |
13812 | [TARGET_API_MAC_CARBON]: Add externs. | |
13813 | ||
13814 | * mactoolbox.c (Vmac_ts_script_language_on_focus) | |
13815 | (saved_ts_script_language_on_focus) [USE_MAC_TSM]: Remove externs. | |
13816 | (XTread_socket) [USE_MAC_TOOLBAR]: Select window if its structure part | |
13817 | is clicked. | |
13818 | (x_activate_menubar): Remove extern for saved_menu_event_location. | |
13819 | (create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]: | |
13820 | Move from mac.c. | |
13821 | ||
13822 | 2008-04-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
13823 | ||
13824 | * alloc.c [!SYSTEM_MALLOC && !SYNC_INPUT] (uninterrupt_malloc) | |
13825 | [HAVE_GTK_AND_PTHREAD && !DOUG_LEA_MALLOC]: Don't use recursive mutex. | |
13826 | ||
13827 | 2008-04-23 Jason Rumney <jasonr@gnu.org> | |
13828 | ||
13829 | * w32.c (stat): When Vw32_get_true_file_attributes is Qlocal, get | |
13830 | attributes only for local files. | |
13831 | ||
13832 | * w32proc.c (syms_of_ntproc): Change Vw32_get_true_file attributes | |
13833 | default to Qlocal. | |
13834 | ||
13835 | 2008-04-22 Juri Linkov <juri@jurta.org> | |
13836 | ||
13837 | * buffer.c (Fswitch_to_buffer): Change interactive spec to call | |
13838 | read-buffer-to-switch instead of using the letter "B". | |
13839 | ||
13840 | 2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca> | |
13841 | ||
13842 | * fileio.c (Qdefault_directory): New variable. | |
13843 | (Fread_file_name): Use it to pass `dir' to the completion functions. | |
13844 | ||
13845 | 2008-04-20 Chong Yidong <cyd@stupidchicken.com> | |
13846 | ||
13847 | * xdisp.c (pos_visible_p): Check if iterator stops on a display string. | |
13848 | ||
13849 | 2008-04-19 Stefan Monnier <monnier@iro.umontreal.ca> | |
13850 | ||
13851 | * keyboard.c (Vpre_help_message): Remove. | |
13852 | (show_help_echo): Remove default C code. | |
13853 | ||
13854 | * dired.c (directory_files_internal, file_name_completion): | |
13855 | Only call ENCODE_FILE if the string is indeed decoded. | |
13856 | ||
13857 | 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca> | |
13858 | ||
13859 | * Makefile.in (TOOLKIT_DEFINES): Remove. | |
13860 | (LIBW): Use a bit less #if, remove left over OPEN_LOOK stuff. | |
13861 | ||
13862 | 2008-04-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
13863 | ||
13864 | * Makefile.in (MAC_OBJ): Add mactoolbox.o. | |
13865 | (mactoolbox.o): New target. | |
13866 | ||
13867 | * mac.c [MAC_OSX] (select_and_poll_event, sys_select): | |
13868 | Use mac_run_loop_run_once instead of CFRunLoopRunInMode. | |
13869 | ||
13870 | * macfns.c (x_set_background_color, mac_window, x_create_tip_frame): | |
13871 | Use mac_set_frame_window_background instead of XSetWindowBackground. | |
13872 | (x_set_tool_bar_lines) [USE_MAC_TOOLBAR]: | |
13873 | Use mac_is_window_toolbar_visible instead of IsWindowToolbarVisible. | |
13874 | (x_set_name_internal) [TARGET_API_MAC_CARBON]: Use mac_set_window_title | |
13875 | instead of SetWindowTitleWithCFString. | |
13876 | (mac_update_proxy_icon) [TARGET_API_MAC_CARBON]: Remove BLOCK_INPUT. | |
13877 | Move function to mactoolbox.c. | |
13878 | (mac_update_title_bar) [TARGET_API_MAC_CARBON]: | |
13879 | Use mac_set_window_modified instead of SetWindowModified. | |
13880 | Add BLOCK_INPUT around mac_set_window_modified/mac_update_proxy_icon. | |
13881 | (mac_window, x_create_tip_frame): Use mac_create_frame_window. | |
13882 | (Fx_focus_frame): Use mac_front_non_floating_window instead of | |
13883 | FrontNonFloatingWindow. Use mac_activate_window instead of | |
13884 | ActivateWindow. Use mac_active_non_floating_window instead of | |
13885 | ActiveNonFloatingWindow. | |
13886 | (show_hourglass, hide_hourglass) [TARGET_API_MAC_CARBON]: | |
13887 | Use mac_show_hourglass and mac_hide_hourglass. | |
13888 | (compute_tip_xy) [TARGET_API_MAC_CARBON]: Use mac_get_global_mouse | |
13889 | instead of GetGlobalMouse. | |
13890 | (Fx_show_tip): Use mac_move_window/mac_size_window/mac_show_window | |
13891 | instead of MoveWindow/SizeWindow/ShowWindow, respectively. | |
13892 | Use mac_bring_window_to_front instead of BringToFront. | |
13893 | (Qfile_name_history) [TARGET_API_MAC_CARBON]: Move extern to | |
13894 | mactoolbox.c. | |
13895 | (Fx_file_dialog) [TARGET_API_MAC_CARBON]: Move function body to | |
13896 | mac_file_dialog in mactoolbox.c. Use mac_file_dialog. | |
13897 | (mac_nav_event_callback) [TARGET_API_MAC_CARBON]: Move function to | |
13898 | mactoolbox.c. | |
13899 | ||
13900 | * macgui.h [!HAVE_CARBON]: Include Quickdraw.h instead of QuickDraw.h. | |
13901 | (XtPointer): Move typedef from macmenu.c. | |
13902 | (enum button_type): Move enum from macmenu.c. | |
13903 | (widget_value): Move typedef from macmenu.c. | |
13904 | (M_APPLE, I_ABOUT, EXTRA_STACK_ALLOC, ARGV_STRING_LIST_ID) | |
13905 | (DIALOG_LEFT_MARGIN, DIALOG_TOP_MARGIN, DIALOG_RIGHT_MARGIN) | |
13906 | (DIALOG_BOTTOM_MARGIN, DIALOG_MIN_INNER_WIDTH, DIALOG_MAX_INNER_WIDTH) | |
13907 | (DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE) | |
13908 | (DIALOG_BUTTON_BUTTON_VERTICAL_SPACE, DIALOG_BUTTON_MIN_WIDTH) | |
13909 | (DIALOG_TEXT_MIN_HEIGHT, DIALOG_TEXT_BUTTONS_VERTICAL_SPACE) | |
13910 | (DIALOG_ICON_WIDTH, DIALOG_ICON_HEIGHT, DIALOG_ICON_LEFT_MARGIN) | |
13911 | (DIALOG_ICON_TOP_MARGIN): Move defines from macmenu.c. | |
13912 | (Selection): Move typedef from macselect.c. | |
13913 | (RAM_TOO_LARGE_ALERT_ID, ABOUT_ALERT_ID) [MAC_OS8]: Move defines from | |
13914 | macterm.c. | |
13915 | (mac_set_window_title, mac_set_window_modified, mac_is_window_visible) | |
13916 | (mac_is_window_collapsed, mac_bring_window_to_front) | |
13917 | (mac_send_window_behind, mac_hide_window, mac_show_window) | |
13918 | (mac_collapse_window, mac_front_non_floating_window) | |
13919 | (mac_active_non_floating_window, mac_activate_window) | |
13920 | (mac_move_window_structure, mac_move_window, mac_size_window) | |
13921 | (mac_get_global_mouse, mac_is_window_toolbar_visible): New defines. | |
13922 | ||
13923 | * macmenu.c [!TARGET_API_MAC_CARBON]: Move includes to mactoolbox.c. | |
13924 | (enum mac_menu_kind): Move enum to mactoolbox.c. | |
13925 | (min_menu_id): Move variable to mactoolbox.c. | |
13926 | (quit_dialog_event_loop) [TARGET_API_MAC_CARBON]: Likewise. | |
13927 | (DIALOG_WINDOW_RESOURCE): Move define to mactoolbox.c. | |
13928 | (DIALOG_BUTTON_COMMAND_ID_OFFSET, DIALOG_BUTTON_COMMAND_ID_P) | |
13929 | (DIALOG_BUTTON_COMMAND_ID_VALUE, DIALOG_BUTTON_MAKE_COMMAND_ID) | |
13930 | [TARGET_API_MAC_CARBON]: Likewise. | |
13931 | (XtPointer): Move typedef to macgui.h. | |
13932 | (enum button_type): Move enum to macgui.h. | |
13933 | (widget_value): Move typedef to macgui.h. | |
13934 | (DIALOG_LEFT_MARGIN, DIALOG_TOP_MARGIN, DIALOG_RIGHT_MARGIN) | |
13935 | (DIALOG_BOTTOM_MARGIN, DIALOG_MIN_INNER_WIDTH, DIALOG_MAX_INNER_WIDTH) | |
13936 | (DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE) | |
13937 | (DIALOG_BUTTON_BUTTON_VERTICAL_SPACE, DIALOG_BUTTON_MIN_WIDTH) | |
13938 | (DIALOG_TEXT_MIN_HEIGHT, DIALOG_TEXT_BUTTONS_VERTICAL_SPACE) | |
13939 | (DIALOG_ICON_WIDTH, DIALOG_ICON_HEIGHT, DIALOG_ICON_LEFT_MARGIN) | |
13940 | (DIALOG_ICON_TOP_MARGIN): Move defines to macgui.h. | |
13941 | (popup_activated_flag): Make variable non-static. | |
13942 | (x_activate_menubar, install_menu_quit_handler, pop_down_menu) | |
13943 | (add_menu_item, fill_menu, dispose_menus): | |
13944 | Move functions to mactoolbox.c. | |
13945 | (restore_show_help_function, menu_target_item_handler) | |
13946 | (install_menu_target_item_handler, mac_handle_dialog_event) | |
13947 | (install_dialog_event_handler, pop_down_dialog, create_and_show_dialog) | |
13948 | [TARGET_API_MAC_CARBON]: Likewise. | |
13949 | (menu_quit_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Likewise. | |
13950 | (mac_dialog) [!TARGET_API_MAC_CARBON]: Likewise. | |
13951 | (find_and_call_menu_selection, name_is_separator): Make function | |
13952 | non-static. | |
13953 | (Vshow_help_function, timer_check) [TARGET_API_MAC_CARBON]: Move extern | |
13954 | to mactoolbox.c. | |
13955 | (set_frame_menubar): Don't call install_menu_quit_handler. | |
13956 | (menu_item_selection): New variable. | |
13957 | (mac_menu_show): Use create_and_show_popup_menu. | |
13958 | (create_and_show_dialog) [TARGET_API_MAC_CARBON]: Don't return | |
13959 | selection but set variable menu_item_selection. All uses changed. | |
13960 | (mac_fill_menubar): Rename from fill_menubar. All uses changed. | |
13961 | Call install_menu_quit_handler. Move to mactoolbox.c. | |
13962 | ||
13963 | * macselect.c [!TARGET_API_MAC_CARBON]: Don't include Scrap.h. | |
13964 | (Selection): Move typedef to macgui.h. | |
13965 | (Vselection_converter_alist, Qmac_scrap_name, Qmac_ostype) | |
13966 | (Vmac_apple_event_map, Qmac_apple_event_class, Qmac_apple_event_id): | |
13967 | Make variables non-static. | |
13968 | (Vmac_dnd_known_types) [TARGET_API_MAC_CARBON]: Likewise. | |
13969 | (mac_handle_apple_event, cleanup_all_suspended_apple_events): | |
13970 | Make functions non-static. | |
13971 | (Vmac_service_selection) [MAC_OSX]: Likewise. | |
13972 | (mac_get_selection_from_symbol, get_flavor_type_from_symbol) | |
13973 | (mac_valid_selection_target_p, mac_clear_selection) | |
13974 | (mac_get_selection_ownership_info, mac_valid_selection_value_p) | |
13975 | (mac_put_selection_value, mac_selection_has_target_p) | |
13976 | (mac_get_selection_value, mac_get_selection_target_list) | |
13977 | (init_apple_event_handler, install_drag_handler, remove_drag_handler): | |
13978 | Move functions to mactoolbox.c. | |
13979 | (mac_do_track_drag, mac_do_receive_drag) [TARGET_API_MAC_CARBON]: | |
13980 | Likewise. | |
13981 | (copy_scrap_flavor_data, mac_handle_service_event) | |
13982 | (install_service_handler) [MAC_OSX]: Likewise. | |
13983 | (syms_of_macselect) <Vmac_dnd_known_types>: | |
13984 | Use mac_dnd_default_known_types. | |
13985 | ||
13986 | * macterm.h (FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y): | |
13987 | Move to mactoolbox.c. | |
13988 | (HOURGLASS_WIDTH, HOURGLASS_HEIGHT): Change to 15. | |
13989 | (Fx_selection_owner_p): Add EXFUN. | |
13990 | (install_window_handler, remove_window_handler, XSetWindowBackground): | |
13991 | Remove externs. | |
13992 | (do_apple_menu) [!TARGET_API_MAC_CARBON]: Likewise. | |
13993 | (mac_prepare_for_quickdraw) [USE_CG_DRAWING]: Likewise. | |
13994 | (x_raise_frame, x_lower_frame, mac_alert_sound_play) | |
13995 | (install_application_handler, mac_get_frame_bounds, mac_get_frame_mouse) | |
13996 | (mac_convert_frame_point_to_global, mac_set_frame_window_background) | |
13997 | (mac_update_begin mac_update_end, mac_frame_up_to_date, x_flush) | |
13998 | (mac_create_frame_window, mac_dispose_frame_window, mac_begin_clip) | |
13999 | (mac_end_clip, mac_create_scroll_bar, mac_dispose_scroll_bar) | |
14000 | (mac_set_scroll_bar_bounds, mac_redraw_scroll_bar, mac_fill_menubar) | |
14001 | (create_and_show_popup_menu, mac_get_selection_from_symbol) | |
14002 | (mac_valid_selection_target_p, mac_clear_selection) | |
14003 | (mac_get_selection_ownership_info, mac_valid_selection_value_p) | |
14004 | (mac_put_selection_value, mac_selection_has_target_p) | |
14005 | (mac_get_selection_value, mac_get_selection_target_list): Add externs. | |
14006 | (mac_update_proxy_icon, mac_show_hourglass, mac_hide_hourglass) | |
14007 | (mac_reposition_hourglass, mac_file_dialog, create_and_show_dialog) | |
14008 | (mac_dnd_default_known_types) [TARGET_API_MAC_CARBON]: Likewise. | |
14009 | (mac_run_loop_run_once) [MAC_OSX]: Likewise. | |
14010 | (mac_dialog) [!TARGET_API_MAC_CARBON]: Likewise. | |
14011 | (mac_begin_cg_clip, mac_end_cg_clip) [USE_CG_DRAWING]: Likewise. | |
14012 | (x_set_toolkit_scroll_bar_thumb) [!USE_TOOLKIT_SCROLL_BARS]: Likewise. | |
14013 | (x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]: Likewise. | |
14014 | ||
14015 | * mactoolbox.c: New file. | |
14016 | ||
14017 | 2008-04-18 Jason Rumney <jasonr@gnu.org> | |
14018 | ||
14019 | * dired.c (Ffile_attributes) [WINDOWSNT]: Cast uid and gid to unsigned. | |
14020 | ||
14021 | 2008-04-18 Stefan Monnier <monnier@iro.umontreal.ca> | |
14022 | ||
14023 | * character.c (Fmultibyte_char_to_unibyte): | |
14024 | Return latin1 chars unchanged. | |
14025 | ||
14026 | * fileio.c (Fexpand_file_name): Refine last fix so `nm' is only | |
14027 | relocated if it points to `name'. | |
14028 | ||
14029 | 2008-04-17 Kenichi Handa <handa@m17n.org> | |
14030 | ||
14031 | * data.c (Faset): Allow setting a multibyte character in an | |
14032 | ASCII-only unibyte string. | |
14033 | ||
14034 | * lisp.h (STRING_SET_MULTIBYTE): New macro. | |
14035 | ||
14036 | 2008-04-16 Stefan Monnier <monnier@iro.umontreal.ca> | |
14037 | ||
14038 | * Makefile.in: Don't use HAVE_GTK and don't -DUSE_GTK since it's now | |
14039 | done in config.h. | |
14040 | ||
14041 | 2008-04-16 Juanma Barranquero <lekktu@gmail.com> | |
14042 | ||
14043 | * character.c (Fchar_bytes, Fchar_width, Fstring_width) | |
14044 | (Fchar_direction): Add usage in the docstring. | |
14045 | ||
14046 | 2008-04-15 Chong Yidong <cyd@stupidchicken.com> | |
14047 | ||
14048 | * keyboard.c (read_key_sequence): Remove always-true checks. | |
14049 | ||
14050 | 2008-04-14 Jason Rumney <jasonr@gnu.org> | |
14051 | ||
14052 | * w32font.c (w32font_open_internal): Set max_bounds.descent in | |
14053 | compatibility struct, for better underline positioning. | |
14054 | ||
14055 | 2008-04-13 David Hansen <david.hansen@gmx.net> | |
14056 | ||
14057 | * dbusbind.c (dbus-get-unique-name): Remove extra copying of name | |
14058 | string. | |
14059 | ||
14060 | 2008-04-12 Dan Nicolaescu <dann@ics.uci.edu> | |
14061 | ||
14062 | * m/hp800.h (XUINT, XSET): Remove. | |
14063 | ||
14064 | 2008-04-12 Juanma Barranquero <lekktu@gmail.com> | |
14065 | ||
14066 | * fileio.c (Fexpand_file_name): Add declaration for `p' missing in | |
14067 | previous change. | |
14068 | ||
14069 | 2008-04-12 Stefan Monnier <monnier@iro.umontreal.ca> | |
14070 | ||
14071 | * fileio.c (Fexpand_file_name): Tighten the scope of `p' and `o' vars. | |
14072 | Relocate `nm' after calling DECODE_FILE, in case the GC was run. | |
14073 | ||
14074 | 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca> | |
14075 | ||
14076 | * keymap.h (map_keymap_canonical): Declare. | |
14077 | * xmenu.c (single_keymap_panes): Use it. | |
14078 | ||
14079 | 2008-04-11 Glenn Morris <rgm@gnu.org> | |
14080 | ||
14081 | * eval.c (Fdefvaralias): If the alias is bound and the target is not, | |
14082 | set the target's value to that of the alias. | |
14083 | ||
14084 | 2008-04-11 Stefan Monnier <monnier@iro.umontreal.ca> | |
14085 | ||
14086 | * term.c (set_tty_color_mode): Left over typo. | |
14087 | ||
14088 | 2008-04-10 Michael Albinus <michael.albinus@gmx.de> | |
14089 | ||
14090 | * fileio.c (Fmake_symbolic_link): Surround code by #ifdef S_IFLNK | |
14091 | only after check for file name handler functions. Signal, when | |
14092 | native functionality is not supported. | |
14093 | (syms_of_fileio): Declare it unconditionally. | |
14094 | ||
14095 | 2008-04-10 Jason Rumney <jasonr@gnu.org> | |
14096 | ||
14097 | * w32menu.c (is_simple_dialog, simple_dialog_show): New functions. | |
14098 | (Fx_popup_dialog): Handle simple yes/no questions as dialogs. | |
14099 | ||
14100 | * w32.c (logon_network_drive): Also logon to remote drives that | |
14101 | are mapped to drive letters. | |
14102 | ||
14103 | 2008-04-10 Glenn Morris <rgm@gnu.org> | |
14104 | ||
14105 | * xdisp.c (truncate-partial-width-windows): Doc fix. | |
14106 | ||
14107 | 2008-04-10 Stefan Monnier <monnier@iro.umontreal.ca> | |
14108 | ||
14109 | * fileio.c (read_file_name_cleanup, Fread_file_name_internal): | |
14110 | Move functions to minibuffer.el. | |
14111 | (syms_of_fileio): Don't declare them. | |
14112 | ||
14113 | 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca> | |
14114 | ||
14115 | * minibuf.c (Vcompletion_auto_help): Move to minibuffer.el. | |
14116 | (syms_of_minibuf): Remove its initialization. | |
14117 | ||
14118 | * minibuf.c (temp_echo_area_glyphs): Remove unused function. | |
14119 | ||
14120 | 2008-04-09 Juanma Barranquero <lekktu@gmail.com> | |
14121 | ||
14122 | * editfns.c (Ffield_string_no_properties): Fix typo in docstring. | |
14123 | ||
14124 | 2008-04-09 Jason Rumney <jasonr@gnu.org> | |
14125 | ||
14126 | * makefile.w32-in (distclean): Delete makefile too. | |
14127 | (maintainer-clean): New target. | |
14128 | ||
14129 | * xdisp.c (redisplay_internal) [!WINDOWSNT]: Conditionalize last change. | |
14130 | ||
14131 | * w32term.c (w32_compute_glyph_string_overhangs): Compute overhangs | |
14132 | for new font backend and composite cases. | |
14133 | ||
14134 | 2008-04-09 Jan Djärv <jan.h.d@swipnet.se> | |
14135 | ||
14136 | * atimer.c (alarm_signal_handler): Call run_timers if not SYNC_INPUT. | |
14137 | Most of the code moved to run_timers. | |
14138 | (do_pending_atimers): Call run_timers. | |
14139 | (run_timers): New function. | |
14140 | ||
14141 | * sysdep.c (emacs_write): If SYNC_INPUT and pending_atimers, | |
14142 | run atimers. | |
14143 | ||
14144 | * process.c (wait_reading_process_output): The same as above. | |
14145 | ||
14146 | 2008-04-09 Stefan Monnier <monnier@iro.umontreal.ca> | |
14147 | ||
14148 | * minibuf.c (last_exact_completion): Remove variable. | |
14149 | (Fdelete_minibuffer_contents, do_completion, Fminibuffer_complete) | |
14150 | (complete_and_exit_1, complete_and_exit_2) | |
14151 | (Fminibuffer_complete_and_exit, Fminibuffer_complete_word) | |
14152 | (Fdisplay_completion_list, display_completion_list_1) | |
14153 | (Fminibuffer_completion_help, Fself_insert_and_exit) | |
14154 | (Fexit_minibuffer, Fminibuffer_message): Move functions to | |
14155 | minibuffer.el. | |
14156 | (syms_of_minibuf): Remove corresponding initializations. | |
14157 | ||
14158 | * keyboard.c (Qdeactivate_mark): New var. | |
14159 | (command_loop_1): Use it to call `deactivate-mark'. | |
14160 | (syms_of_keyboard): Initialize it. | |
14161 | ||
14162 | * xdisp.c (redisplay_internal): Reset tty's color_mode when switching | |
14163 | to another frame. | |
14164 | * frame.c (do_switch_frame): Refine the top_frame/async_visible code. | |
14165 | Don't call set_tty_color_mode. | |
14166 | (store_frame_param): Reset previous_frame rather than call | |
14167 | set_tty_color_mode. | |
14168 | * term.c (set_tty_color_mode): Rewrite. | |
14169 | * dispextern.h (set_tty_color_mode): New type. | |
14170 | * termchar.h (struct tty_display_info): Add `previous_color_mode'. | |
14171 | ||
14172 | 2008-04-08 Stefan Monnier <monnier@iro.umontreal.ca> | |
14173 | ||
14174 | * keymap.c (access_keymap): Remove the value 2 for t_ok which was used | |
14175 | for generic chars, which do not exist any more in emacs-unicode. | |
14176 | ||
14177 | 2008-04-08 Michael Albinus <michael.albinus@gmx.de> | |
14178 | ||
14179 | * coding.c (detect_coding_emacs_mule) | |
14180 | (Ffind_operation_coding_system): Fix typo. | |
14181 | ||
14182 | 2008-04-08 Jason Rumney <jasonr@gnu.org> | |
14183 | ||
14184 | * w32uniscribe.c (SNAME): Extract only symbol name. | |
14185 | ||
14186 | * w32font.h (struct w32_metric_cache): New struct. | |
14187 | (w32font_info): Use it. | |
14188 | (W32METRIC_NO_ATTEMPT, W32METRIC_SUCCESS, W32METRIC_FAIL) | |
14189 | (CACHE_BLOCKSIZE): New constants. | |
14190 | ||
14191 | * w32font.c (Qja, Qko, Qzh): New symbols. | |
14192 | (syms_of_w32font): Initialise them. | |
14193 | (font_matches_spec): Use them to filter by language. | |
14194 | (recompute_cached_metrics): Remove function. | |
14195 | (compute_metrics, clear_cached_metrics): New functions. | |
14196 | (w32font_encode_char): Use them to manage metric cache. | |
14197 | (w32font_text_extents): Cache metrics for all glyphs on demand. | |
14198 | Delay converting glyph indices to WORD until needed. | |
14199 | (w32font_open_internal): Initialize metric cache to empty. | |
14200 | (registry_to_w32_charset): Charset should always be a symbol. | |
14201 | (fill_in_logfont, list_all_matching_fonts): Family should | |
14202 | always be a symbol. | |
14203 | ||
14204 | 2008-04-06 Jason Rumney <jasonr@gnu.org> | |
14205 | ||
14206 | * w32uniscribe.c (uniscribe_shape): Increase items buffer size. | |
14207 | Give up if glyph indices not supported. Use uniscribe obtained | |
14208 | ABC widths for individual metrics. Map glyph clusters back to | |
14209 | characters using fClusterStart flag. Return number of glyphs | |
14210 | produced, not chars processed. | |
14211 | (uniscribe_shape): Map char at FROM to current glyph. | |
14212 | ||
14213 | 2008-04-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
14214 | ||
14215 | * macmenu.c (fill_menu) [TARGET_API_MAC_CARBON]: | |
14216 | Use SetMenuItemHierarchicalMenu. | |
14217 | ||
14218 | 2008-04-05 Jason Rumney <jasonr@gnu.org> | |
14219 | ||
14220 | * image.c (pbm_load): Allow color values up to 65535. | |
14221 | Throw an error if max_color_idx is outside the supported range. | |
14222 | Report an error when image size is invalid. | |
14223 | Read two bytes at a time when raw images have max_color_idx above 255. | |
14224 | ||
aac0c6e3 MR |
14225 | 2008-04-05 Kenichi Handa <handa@ni.aist.go.jp> |
14226 | ||
14227 | * ccl.c (ccl_driver): If ccl->quit_silently is nonzero, don't | |
14228 | append "CCL: Quitted" when the CCL program is quitted. | |
14229 | (setup_ccl_program): Initialize ccl->quit_silently to zero. | |
14230 | ||
14231 | * ccl.h (struct ccl_program): New member quit_silently. | |
14232 | ||
14233 | 2008-04-05 Chong Yidong <cyd@stupidchicken.com> | |
14234 | ||
14235 | * search.c (compile_pattern_1): Treat non-nil and non-string of | |
14236 | search-spaces-regexp as nil. | |
14237 | ||
14238 | * minibuf.c (Fassoc_string): Tweak docstring. | |
14239 | ||
14240 | 2008-04-05 Eli Zaretskii <eliz@gnu.org> | |
14241 | ||
14242 | * dired.c (Ffile_attributes): Support inode numbers wider than 32 | |
14243 | bits. Remove ugly WINDOWSNT-specific kludge introduced on | |
14244 | 2008-03-14 to force inode be positive. | |
14245 | ||
14246 | * w32.c (sys_chown, stat, fstat): Use S_* constants instead of | |
14247 | _S_* ones, since we now use our own sys/stat.h. | |
14248 | (stat, fstat): Don't mangle the inode number. | |
14249 | (init_user_info): Don't restrict UID and GID to 0-60000 range. | |
14250 | ||
14251 | 2008-04-04 Stefan Monnier <monnier@iro.umontreal.ca> | |
14252 | ||
14253 | * frame.h (struct frame): Give one more bit to `visible' since we use | |
14254 | values larger than 1 to indicate obscured frames on ttys. | |
14255 | ||
14256 | * keymap.c (Qkeymap_canonicalize): New var. | |
14257 | (Fmap_keymap_internal): New fun. | |
14258 | (describe_map): Use keymap-canonicalize. | |
14259 | ||
14260 | * undo.c (last_boundary_buffer, last_boundary_position): New vars. | |
14261 | (Fundo_boundary): Set them. | |
14262 | (syms_of_undo): Initialize them. | |
14263 | (record_point): Use them instead of last_point_position*. | |
14264 | (last_undo_buffer): Change type. | |
14265 | ||
14266 | 2008-04-04 Jason Rumney <jasonr@gnu.org> | |
14267 | ||
14268 | * w32font.c (w32font_text_extents): Use font's ascent and descent. | |
14269 | (recompute_cached_metrics): Don't set ascent and descent per char. | |
14270 | ||
14271 | * w32uniscribe.c (uniscribe_check_otf): Fix last change. | |
14272 | (uniscribe_check_otf): Add GC protection before consing. | |
14273 | Rearrange loop for counting features. | |
14274 | ||
14275 | 2008-04-03 Stefan Monnier <monnier@iro.umontreal.ca> | |
14276 | ||
14277 | * insdel.c (insert_from_buffer_1): Don't compare bytes in destination | |
14278 | buffer with byte-size of source buffer. | |
14279 | ||
14280 | 2008-04-03 Chong Yidong <cyd@stupidchicken.com> | |
14281 | ||
14282 | * callint.c (Fcall_interactively): Handle temporary region even | |
14283 | when shift-select-mode is off. | |
14284 | ||
14285 | 2008-04-03 Jason Rumney <jasonr@gnu.org> | |
14286 | ||
14287 | * w32uniscribe.c (uniscribe_check_otf): Sanity check otf_spec. | |
14288 | ||
14289 | 2008-04-03 Kenichi Handa <handa@m17n.org> | |
14290 | ||
14291 | * coding.c (CATEGORY_MASK_ANY): Add CATEGORY_MASK_UTF_16_AUTO. | |
14292 | (CATEGORY_MASK_UTF_16): Likewise. | |
14293 | (detect_coding_utf_16): Add heuristics to reject utf-16 for a | |
14294 | binary file. | |
14295 | (detect_coding): Add null-byte detection for a binary file. | |
14296 | (detect_coding_system): Likewise. | |
14297 | ||
14298 | 2008-04-03 Jason Rumney <jasonr@gnu.org> | |
14299 | ||
14300 | * w32uniscribe.c: New file. | |
14301 | ||
14302 | * font.h (uniscribe_font_driver) [WINDOWSNT]: Declare for w32fns.c. | |
14303 | ||
14304 | * w32font.h (uniscribe_check_otf): Declare for w32font.c. | |
14305 | ||
14306 | * w32font.c (Qbalinese, Qbuginese, Qbuhid, Qcuneiform, Qcypriot) | |
14307 | (Qdeseret, Qglagolitic, Qgothic, Qhanunoo, Qkharoshthi) | |
14308 | (Qlimbu, Qlinear_b, Qold_italic, Qold_persian, Qosmanya) | |
14309 | (Qphags_pa, Qphoenician, Qshavian, Qsyloti_nagri) | |
14310 | (Qtagalog, Qtagbanwa, Qtai_le, Qtifinagh, Qugaritic) | |
14311 | (Qphonetic): New symbols. | |
14312 | (syms_of_w32font): Initialize them. | |
14313 | (font_supported_scripts): Use them. | |
14314 | (w32font_list_family): List all charsets. | |
14315 | (w32font_text_extents, recompute_cached_metrics): Fix metric | |
14316 | calculations. | |
14317 | (w32_enumfont_pattern_entity): Make full_type a DWORD. | |
14318 | Give opentype fonts their own format. | |
14319 | (font_matches_spec): New arguments backend and logfont. | |
14320 | Handle :otf spec for uniscribe backend. | |
14321 | (add_font_entity_to_list): Match truetype fonts in uniscribe backend. | |
14322 | (fill_in_logfont): Use DEFAULT_CHARSET when charset not supplied. | |
14323 | ||
14324 | * w32fns.c (Fx_create_frame): Conditionally register uniscribe | |
14325 | font backend. | |
14326 | (globals_of_w32fns): Initialize uniscribe font backend. | |
14327 | ||
14328 | * makefile.w32-in (CONFIG_H): New variable. Use it to clean up | |
14329 | dependencies. | |
14330 | (w32uniscribe.$(O)): New file to build. | |
14331 | (FONT_OBJ): Include w32uniscribe.$(O). | |
14332 | (LIBS): Add uniscribe libraries. | |
14333 | ||
14334 | * ftfont.c (ftfont_get_open_type_spec): Check spec->script, not val. | |
14335 | ||
14336 | 2008-04-02 Chong Yidong <cyd@stupidchicken.com> | |
14337 | ||
14338 | * callint.c (Vshift_select_mode): New var. | |
14339 | (Finteractive): Document new ^ spec. | |
14340 | (Fcall_interactively): Call handle-shift-selection if the ^ spec | |
14341 | is present. | |
14342 | ||
14343 | * keyboard.c (Vthis_command_keys_shift_translated): New var. | |
14344 | (command_loop_1): Avoid running the direct display versions of | |
14345 | forward-char and backward-char if shift-selection may occur. | |
14346 | (read_key_sequence): Set Vthis_command_keys_shift_translated if | |
14347 | shift-translation takes place. | |
14348 | ||
14349 | * buffer.c (Vtransient_mark_mode): Move docstring to simple.el to | |
14350 | avoid clobbering by define-minor-mode. | |
14351 | ||
14352 | * cmds.c (Fforward_char, Fbackward_char, Fforward_line) | |
14353 | (Fbeginning_of_line, Fend_of_line): Add ^ interactive spec. | |
14354 | ||
14355 | * syntax.c (Fforward_word): Add ^ interactive spec. | |
14356 | ||
14357 | * window.c (Fscroll_up, Fscroll_down, Fscroll_left) | |
14358 | (Fscroll_right): Add ^ interactive spec. | |
14359 | ||
14360 | 2008-04-01 Stefan Monnier <monnier@iro.umontreal.ca> | |
14361 | ||
14362 | * xdisp.c (try_window_id): Don't forget to reset delta_bytes. | |
14363 | ||
14364 | * casefiddle.c (casify_object): Fix up int/EMACS_INT mixup. | |
14365 | ||
14366 | * charset.c (Funibyte_charset, Fset_unibyte_charset): Remove. | |
14367 | ||
14368 | 2008-03-31 Juri Linkov <juri@jurta.org> | |
14369 | ||
14370 | * window.c (Fdisplay_buffer): Reinitialize `tem' to nil. | |
14371 | ||
14372 | 2008-03-30 Jan Djärv <jan.h.d@swipnet.se> | |
14373 | ||
14374 | * gtkutil.c (xg_set_geometry): Fix indentation. | |
14375 | (xg_resize_outer_widget): Remove. | |
14376 | (x_wm_size_hint_off): Fix indentation. | |
14377 | (xg_frame_set_char_size): Call flush_and_sync after | |
14378 | gtk_window_resize. | |
14379 | (x_wm_set_size_hint): Pass NULL as geometry window to | |
14380 | gtk_window_set_geometry_hints due to Gtk+ bug nr 68668. | |
14381 | Add menu bar and tool bar height to base height. | |
14382 | (xg_update_frame_menubar, free_frame_menubar) | |
14383 | (xg_tool_bar_detach_callback, xg_tool_bar_attach_callback) | |
14384 | (update_frame_tool_bar, free_frame_tool_bar): | |
14385 | Change xg_resize_outer_widget to xg_frame_set_char_size. | |
14386 | ||
14387 | 2008-03-30 Michael Albinus <michael.albinus@gmx.de> | |
14388 | ||
14389 | * dbusbind.c (QCdbus_timeout): New D-Bus internal symbol. | |
14390 | (Fdbus_call_method): New parameter TIMEOUT. | |
14391 | (dbus-send-signal): Optimize UNGCPRO call. | |
14392 | ||
14393 | 2008-03-29 Juri Linkov <juri@jurta.org> | |
14394 | ||
14395 | * window.c (Fdisplay_buffer): Move call to | |
14396 | Vsplit_window_preferred_function out of conditions that check | |
14397 | if window is eligible for vertical splitting. | |
14398 | When Vsplit_window_preferred_function is non-nil, call it and use | |
14399 | its non-nil return value as window. Otherwise, continue doing | |
14400 | vertical splitting using Fsplit_window with arg horflag=nil. | |
14401 | (syms_of_window) <Vsplit_window_preferred_function>: Change the | |
14402 | default value from `split-window' to nil. | |
14403 | ||
14404 | 2008-03-29 Juri Linkov <juri@jurta.org> | |
14405 | ||
14406 | * callint.c (Fcall_interactively): Revert 2008-03-16 change | |
14407 | for interactive code letters 'b' and 'B'. | |
14408 | ||
14409 | 2008-03-29 Eli Zaretskii <eliz@gnu.org> | |
14410 | ||
14411 | * fileio.c (Fexpand_file_name): Convert the value of $HOME to a | |
14412 | multibyte string. | |
14413 | ||
14414 | 2008-03-29 Stefan Monnier <monnier@iro.umontreal.ca> | |
14415 | ||
14416 | * keyboard.c (pending_funcalls): New var. | |
14417 | (timer_check): Run it. | |
14418 | (syms_of_keyboard): Initialize it. | |
14419 | * terminal.c (Qrun_hook_with_args, Qdelete_terminal_functions) | |
14420 | (Vdelete_terminal_functions): New vars. | |
14421 | (syms_of_terminal): Initialize them. | |
14422 | (Fdelete_terminal): Run delete-terminal-functions. | |
14423 | * xdisp.c (safe_eval): Rewrite. | |
14424 | (safe_call2): New fun. | |
14425 | * frame.c (Qdelete_frame_functions): New var. | |
14426 | (syms_of_frame): Initialize it. | |
14427 | (Fdelete_frame): Use it and use safe_call2 and pending_funcalls. | |
14428 | * lisp.h (safe_call2, pending_funcalls): Declare. | |
14429 | ||
14430 | 2008-03-28 Andreas Schwab <schwab@suse.de> | |
14431 | ||
14432 | * indent.c (Fmove_to_column): Move declaration before statements. | |
14433 | ||
14434 | 2008-03-27 Stefan Monnier <monnier@iro.umontreal.ca> | |
14435 | ||
14436 | * frame.h (enum fullscreen_type): Give it a name. Move it before use. | |
14437 | (struct frame): Use bit fields for boolean vars. | |
14438 | ||
14439 | * process.c (server_accept_connection): Simplify naming. | |
14440 | (emacs_get_tty_pgrp): Use SDATA. | |
14441 | ||
14442 | * coding.c (decode_coding_object): Fix last change. | |
14443 | ||
14444 | 2008-03-27 Jason Rumney <jasonr@gnu.org> | |
14445 | ||
14446 | * w32fns.c (start_hourglass): Suppress hourglass on tty frames. | |
14447 | ||
14448 | 2008-03-27 Kenichi Handa <handa@ni.aist.go.jp> | |
14449 | ||
14450 | * charset.c (Fdefine_charset_internal): Change the way of | |
14451 | registering charsets in Vcharset_order_list. | |
14452 | (syms_of_charset): Make the charset `eight-bit' supplementary. | |
14453 | ||
14454 | 2008-03-26 Alexandre Oliva <aoliva@redhat.com> (tiny change) | |
14455 | ||
14456 | * regex.c (EXTEND_BUFFER): Change order of pointer addition | |
14457 | operations, to avoid having the difference between pointers | |
14458 | overflow. | |
14459 | ||
14460 | 2008-03-26 Stefan Monnier <monnier@iro.umontreal.ca> | |
14461 | ||
14462 | * indent.c (check_display_width): New fun. | |
14463 | (scan_for_column): Use it. | |
14464 | ||
14465 | * data.c (syms_of_data): Mark most-positive-fixnum and | |
14466 | most-negative-fixnum as constants. | |
14467 | ||
14468 | * xdisp.c (redisplay_internal): Reset selected_frame earlier. | |
14469 | ||
14470 | * indent.c (scan_for_column): Extract from current_column_1. | |
14471 | Merge with the same code from Fmove_to_column. | |
14472 | (current_column_1, Fmove_to_column): Use it. | |
14473 | ||
14474 | 2008-03-25 Stefan Monnier <monnier@iro.umontreal.ca> | |
14475 | ||
14476 | * keymap.c (map_keymap_internal): New fun. | |
14477 | (map_keymap): Use it. | |
14478 | (Fmap_keymap_internal): New fun. | |
14479 | (Fmap_keymap): Remove left-out test from before make_save_value. | |
14480 | ||
14481 | * keymap.c (Fmap_keymap): Use `map-keymap-sorted. | |
14482 | ||
14483 | * frame.c (Fmodify_frame_parameters, x_set_frame_parameters): | |
14484 | Use XCAR/XCDR. | |
14485 | ||
14486 | * process.h (struct Lisp_Process): Remove filter_multibyte. | |
14487 | * process.c (QCfilter_multibyte): Remove. | |
14488 | (setup_process_coding_systems): Don't use filter_multibyte. | |
14489 | (Fstart_process, Fmake_network_process): Don't set filter_multibyte. | |
14490 | (read_process_output): Don't adjust multibyteness to filter_multibyte. | |
14491 | (Fset_process_filter_multibyte): Change the coding-system to | |
14492 | approximate the previous behavior. | |
14493 | (Fprocess_filter_multibyte_p): Get the multibyteness straight from the | |
14494 | coding-system. | |
14495 | ||
14496 | * coding.c (decode_coding_object): When not decoding into a buffer, | |
14497 | obey the coding system's preference of (uni|multi)byte. | |
14498 | ||
14499 | 2008-03-24 Stefan Monnier <monnier@iro.umontreal.ca> | |
14500 | ||
14501 | * casefiddle.c (casify_object): Avoid pathological N^2 worst case if | |
14502 | every char is changed and has a different byte-length. | |
14503 | (Fupcase_word, Fdowncase_word, Fcapitalize_word, operate_on_word): | |
14504 | Fix int -> EMACS_INT. | |
14505 | ||
14506 | 2008-03-23 David Hansen <david.hansen@gmx.net> | |
14507 | ||
14508 | * dbusbind.c (xd_read_message): Remove extra copying of message | |
14509 | strings. Check for NULL `interface' or `member'. | |
14510 | ||
14511 | 2008-03-22 Eli Zaretskii <eliz@gnu.org> | |
14512 | ||
14513 | * w32.c (readdir): If FindFirstFile/FindNextFile return in | |
14514 | cFileName a file name that includes `?' characters, use the 8+3 | |
14515 | alias in cAlternateFileName instead. | |
14516 | ||
14517 | 2008-03-21 Stefan Monnier <monnier@iro.umontreal.ca> | |
14518 | ||
14519 | * buffer.c (enlarge_buffer_text): Fix int -> EMACS_INT. | |
14520 | ||
14521 | 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca> | |
14522 | ||
14523 | * intervals.c (temp_set_point, temp_set_point_both): Use EMACS_INT. | |
14524 | (set_point, set_point_both): Use EMACS_INT. Remove `buffer' arg, | |
14525 | work on current_buffer only instead (that was already the case | |
14526 | for some of the code anyway). | |
14527 | * buffer.h (set_point, set_point_both): Remove buffer arg, use long int. | |
14528 | (temp_set_point, temp_set_point_both): Use EMACS_INT. | |
14529 | (SET_PT, SET_PT_BOTH): Adjust. | |
14530 | * intervals.h (set_point, temp_set_point, set_point_both) | |
14531 | (temp_set_point_both): Remove redundant declarations. | |
14532 | ||
14533 | 2008-03-20 Stefan Monnier <monnier@iro.umontreal.ca> | |
14534 | ||
14535 | * fileio.c (Finsert_file_contents): | |
14536 | * lread.c (Feval_buffer): Use BUF_TEMP_SET_PT. | |
14537 | * buffer.h (BUF_SET_PT): Remove. set_point_both doesn't work right | |
14538 | when buffer != current_buffer anyway. | |
14539 | ||
14540 | 2008-03-20 Andreas Schwab <schwab@suse.de> | |
14541 | ||
14542 | * callint.c (Fcall_interactively) [case 'B']: Use other-buffer | |
14543 | as default. | |
14544 | ||
14545 | 2008-03-19 Jason Rumney <jasonr@gnu.org> | |
14546 | ||
14547 | * w32fns.c (hourglass_timer, hourglass_hwnd): New variables. | |
14548 | (syms_of_w32fns): Initialize them. | |
14549 | (HOURGLASS_ID): New constant. | |
14550 | (x_window_to_frame): Don't check hourglass_window. | |
14551 | (w32_wnd_proc) <WM_TIMER>: Handle hourglass_timer. | |
14552 | (w32_wnd_proc) <WM_EXITMENULOOP>: Set pending hourglass cursor. | |
14553 | (w32_wnd_proc) <WM_SETCURSOR>: Set the hourglass or current cursor. | |
14554 | (w32_wnd_proc) <WM_EMACS_SETCURSOR>: Set frame's current_cursor. | |
14555 | Only change the cursor if hourglass is not active. | |
14556 | (Fx_create_frame): Initialize frame's current_cursor. | |
14557 | (hourglass_atimer): Remove. | |
14558 | (hourglass_started): New function. | |
14559 | (start_hourglass, cancel_hourglass, hide_hourglass): Adapt to w32. | |
14560 | (show_hourglass): Adapt to w32, changing argument to frame. | |
14561 | ||
14562 | * w32term.h (struct w32_output): Remove hourglass_window. | |
14563 | Add current_cursor. | |
14564 | ||
14565 | * eval.c (call_debugger, Fsignal): | |
14566 | * keyboard.c (recursive_edit_1, cmd_error, Ftop_level) | |
14567 | (command_loop_1, Fread_key_sequence, Fread_key_sequence_vector) | |
14568 | (Fexecute_extended_command, cancel_hourglass_unwind): | |
14569 | * minibuf.c (read_minibuf): | |
14570 | * fns.c (Fy_or_n_p): Enable hourglass when HAVE_WINDOW_SYSTEM. | |
14571 | ||
14572 | 2008-03-19 Stefan Monnier <monnier@iro.umontreal.ca> | |
14573 | ||
14574 | * window.c (run_funs): New fun. | |
14575 | (run_window_configuration_change_hook): Use it to run the buffer-local | |
14576 | and the global part of the hook. | |
14577 | ||
14578 | * xdisp.c (format_mode_line_unwind_data): Add window argument. | |
14579 | (unwind_format_mode_line): Restore selected window. | |
14580 | (x_consider_frame_title, Fformat_mode_line): Set selected window. | |
14581 | ||
14582 | 2008-03-17 Stefan Monnier <monnier@iro.umontreal.ca> | |
14583 | ||
14584 | * editfns.c (Fchar_equal): Check they are valid characters. | |
14585 | ||
14586 | * buffer.h (Fbuffer_list): Declare (for use in callint.c). | |
14587 | ||
14588 | 2008-03-17 Andreas Schwab <schwab@suse.de> | |
14589 | ||
14590 | * regex.c (re_match_2_internal): Properly match raw 8-bit bytes | |
14591 | against a charset. | |
14592 | ||
14593 | * lisp.h (Fbuffer_list): Declare. | |
14594 | ||
14595 | 2008-03-17 Jan Djärv <jan.h.d@swipnet.se> | |
d6c952f8 | 14596 | |
aac0c6e3 MR |
14597 | * gtkutil.c (free_frame_tool_bar): Only call gtk_container_remove if |
14598 | handlebox_widget is != 0. | |
14599 | ||
14600 | 2008-03-16 Juri Linkov <juri@jurta.org> | |
14601 | ||
14602 | * callint.c (Fcall_interactively): For interactive code letters | |
14603 | 'b' and 'B' put the buffer list into the list of default "future" | |
14604 | values of the minibuffer. | |
14605 | ||
14606 | 2008-03-16 Andreas Schwab <schwab@suse.de> | |
14607 | ||
14608 | * keyboard.c (read_key_sequence): Fix downcasing of letters with | |
14609 | modifiers. | |
14610 | ||
14611 | * regex.c (re_match_2_internal): Correct matching of a charset | |
14612 | against latin-1 characters. | |
14613 | ||
14614 | 2008-03-16 Kenichi Handa <handa@m17n.org> | |
14615 | ||
14616 | * coding.c (CHAR_STRING_ADVANCE_NO_UNIFY) | |
14617 | (STRING_CHAR_ADVANCE_NO_UNIFY): New macros. | |
14618 | (coding_alloc_by_making_gap): Fix the way to preserve data in the gap. | |
14619 | (alloc_destination): Fix the 2nd arg to coding_alloc_by_making_gap. | |
14620 | (encode_coding_utf_8): Use CHAR_STRING_ADVANCE_NO_UNIFY instead of | |
14621 | CHAR_STRING_ADVANCE. | |
14622 | (produce_chars): Fix for the case that the source and the | |
14623 | destination are the same buffer. Use CHAR_STRING_ADVANCE_NO_UNIFY | |
14624 | instead of CHAR_STRING_ADVANCE. | |
14625 | (consume_chars): Use STRING_CHAR_ADVANCE_NO_UNIFY instead of | |
14626 | STRING_CHAR_ADVANCE. | |
14627 | ||
14628 | 2008-03-15 Andreas Schwab <schwab@suse.de> | |
14629 | ||
14630 | * regex.c (re_match_2_internal): Correct matching of eight bit | |
14631 | characters in unibyte strings. | |
14632 | ||
14633 | 2008-03-15 Martin Rudalics <rudalics@gmx.at> | |
14634 | ||
14635 | * buffer.c (overlays_in, Foverlays_in): Include empty overlays | |
14636 | at end of range when it coincides with the end of the buffer. | |
14637 | ||
14638 | 2008-03-14 Eli Zaretskii <eliz@gnu.org> | |
14639 | ||
14640 | * dired.c (Ffile_attributes) [WINDOWSNT]: Force inode be positive. | |
14641 | ||
14642 | * w32fns.c (globals_of_w32fns, Fx_create_frame): Fix last change. | |
14643 | ||
14644 | 2008-03-14 Jason Rumney <jasonr@gnu.org> | |
14645 | ||
14646 | * editfns.c (initial_tz): New variable. | |
14647 | (syms_of_editfns): Initialize it. | |
14648 | (Fset_time_zone_rule): Set it when first called. | |
14649 | Use it when TZSTRING is nil. | |
14650 | ||
14651 | * w32fns.c (MONITOR_DEFAULT_TO_NEAREST, struct MONITOR_INFO) | |
14652 | (MonitorFromPoint_Proc, GetMonitorInfo_Proc): New definitions. | |
14653 | (monitor_from_point_fn, get_monitor_info_fn): New globals. | |
14654 | (globals_of_w32fns): Initialize them. | |
14655 | (compute_tip_xy): Use them to position tooltips. | |
14656 | ||
14657 | 2008-03-14 Glenn Morris <rgm@gnu.org> | |
14658 | ||
14659 | * emacs.c (main): Revert previous change. | |
14660 | (standard_args): Revert -internal-script back to -scriptload, | |
14661 | and remove the long-option form. | |
14662 | ||
14663 | 2008-03-13 Glenn Morris <rgm@gnu.org> | |
14664 | ||
14665 | * emacs.c (main, standard_args): Rename -scriptload to -internal-script. | |
14666 | Remove option -enable-font-backend. | |
14667 | ||
14668 | 2008-03-12 Stefan Monnier <monnier@iro.umontreal.ca> | |
14669 | ||
14670 | * buffer.c (Fswitch_to_buffer): Fall back on pop-to-buffer. | |
14671 | ||
14672 | 2008-03-11 Jan Djärv <jan.h.d@swipnet.se> | |
14673 | ||
14674 | * xterm.c (x_connection_closed): For GTK: If this is the last | |
14675 | terminal just exit without closing the display. | |
14676 | ||
14677 | 2008-03-11 Jason Rumney <jasonr@gnu.org> | |
14678 | ||
14679 | * w32font.c (w32font_full_name): Use floor to round. | |
14680 | ||
f0131492 | 14681 | 2008-03-10 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change) |
aac0c6e3 MR |
14682 | |
14683 | * sound.c (alsa_configure): Declare vol at beginning of block. | |
14684 | ||
14685 | * fontset.c (Ffontset_info): Remove extra semicolon. | |
14686 | ||
14687 | 2008-03-10 Stefan Monnier <monnier@iro.umontreal.ca> | |
14688 | ||
14689 | * fileio.c (Fsubstitute_in_file_name): Fix up computation of maximum | |
14690 | size of resulting string. | |
14691 | ||
14692 | 2008-03-10 Jason Rumney <jasonr@gnu.org> | |
14693 | ||
14694 | * dispnew.c (adjust_glyph_matrix): Initialize window_height. | |
14695 | ||
14696 | 2008-03-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
14697 | ||
14698 | * xdisp.c (handle_single_display_spec): Undo 2007-10-16 changes. | |
14699 | Don't pretend as if characters with display property haven't been | |
14700 | consumed for string-replacing-string case. | |
14701 | ||
14702 | 2008-03-08 Kim F. Storm <storm@cua.dk> | |
14703 | ||
14704 | * xdisp.c (GET_NEXT_DISPLAY_ELEMENT): New macro. | |
14705 | (get_next_display_element, next_element_from_string) | |
14706 | (next_element_from_ellipsis, next_element_from_buffer): Use it. | |
14707 | ||
14708 | 2008-03-08 Andreas Schwab <schwab@suse.de> | |
14709 | ||
14710 | * process.h (struct Lisp_Process): Declare bit fields as unsigned. | |
14711 | ||
14712 | 2008-03-06 Jason Rumney <jasonr@gnu.org> | |
14713 | ||
14714 | * w32font.c (w32_registry): Take font_type argument. Use ANSI | |
14715 | when charset not specified. Only translate ANSI to unicode when | |
14716 | font_type is truetype. | |
14717 | (w32font_coverage_ok): New function. | |
14718 | (add_font_entity_to_list): Use it to filter unsuitable fonts. | |
14719 | ||
14720 | 2008-03-05 Kenichi Handa <handa@ni.aist.go.jp> | |
14721 | ||
14722 | * lread.c (Fread_char): Resolve modifiers. | |
14723 | (Fread_char_exclusive): Likewise. | |
14724 | ||
14725 | * character.c (char_resolve_modifier_mask): New function. | |
14726 | (char_string): Use char_resolve_modifier_mask. | |
14727 | (Fchar_resolve_modifiers): New function. | |
14728 | (syms_of_character): Declare Fchar_resolve_modifiers as Lisp | |
14729 | function. | |
14730 | ||
14731 | 2008-03-04 Jason Rumney <jasonr@gnu.org> | |
14732 | ||
14733 | * makefile.w32-in: Always include w32font.c in the build. | |
14734 | * w32font.c: Wrap in USE_FONT_BACKEND conditional. | |
14735 | ||
14736 | 2008-03-04 Andreas Schwab <schwab@suse.de> | |
14737 | ||
14738 | * Makefile.in (clean): Remove emacs-*.*.* instead of emacs-*. | |
14739 | (versionclean): Likewise. | |
14740 | ||
14741 | 2008-03-04 Juanma Barranquero <lekktu@gmail.com> | |
14742 | ||
14743 | * .cvsignore: Add oo. | |
14744 | ||
14745 | 2008-03-03 Andreas Schwab <schwab@suse.de> | |
14746 | ||
14747 | * coding.c (decode_coding_object): Inhibit gap shrinking while | |
14748 | decoding in place. | |
14749 | ||
14750 | 2008-03-03 Dan Nicolaescu <dann@ics.uci.edu> | |
14751 | ||
14752 | * w32term.c: Remove unused include "gnu.h". | |
14753 | * makefile.w32-in (w32term.o): Don't depend on gnu.h. | |
14754 | ||
14755 | * gnu.h: Rename to ... | |
14756 | * emacs-icon.h: ... this. | |
14757 | * xterm.c: Use emacs-icon.h instead of gnu.h. | |
14758 | * Makefile (xterm.o): Depend on emacs-icon.h, not gnu.h. | |
14759 | ||
14760 | 2008-03-03 Juanma Barranquero <lekktu@gmail.com> | |
14761 | ||
14762 | * w32font.c: Include math.h. | |
14763 | ||
14764 | 2008-03-03 Jason Rumney <jasonr@gnu.org> | |
14765 | ||
14766 | * w32font.c (recompute_cached_metrics): Change font arg to w32font_info. | |
14767 | Compute options separately. | |
14768 | (w32font_open_internal): Set glyph_idx before caching metrics. | |
14769 | ||
14770 | * w32font.h (NTM_PS_OPENTYPE, NTM_TT_OPENTYPE, NTM_TYPE1): | |
14771 | Define if system headers don't. | |
14772 | (struct w32font_info): Enlarge ascii_metrics. Add glyph_idx. | |
14773 | (w32font_encode_char): Don't declare here. | |
14774 | ||
14775 | * w32font.c (Quniscribe, QCformat): New symbols. | |
14776 | (syms_of_w32font): Define them. | |
14777 | (w32font_has_char): Indicate uncertainty. | |
14778 | (w32font_encode_char): Encode as glyph point. Make static. | |
14779 | (recompute_cached_metrics): New function. | |
14780 | (w32font_open_internal): Use it. Set font to use glyph points | |
14781 | initially. Set format based on type of font. | |
14782 | (w32font_text_extents, w32font_draw): Optionally use glyph points. | |
14783 | (w32_enumfont_pattern_entity): Accept backend arg. Set type based | |
14784 | on it. Set format based on information available here. | |
14785 | (add_font_entity_to_list): Identify backend based on opentype_only. | |
14786 | ||
14787 | 2008-03-02 Andreas Schwab <schwab@suse.de> | |
14788 | ||
14789 | * ftfont.c (ftfont_pattern_entity): Fix aliasing violations. | |
14790 | ||
14791 | * coding.c (decode_coding_big5, produce_chars): | |
14792 | Fix typos in last change. | |
14793 | ||
14794 | 2008-03-02 Kentaro Ohkouchi <nanasess@fsm.ne.jp> | |
14795 | ||
14796 | * gnu.h: New icon. | |
14797 | ||
14798 | 2008-03-02 Kenichi Handa <handa@m17n.org> | |
14799 | ||
14800 | * coding.c (decode_coding_utf_8): When eol-type of CODING is | |
14801 | `dos', don't decode '\r' if that is the last in the source. | |
14802 | (decode_coding_utf_16, decode_coding_emacs_mule) | |
14803 | (decode_coding_iso_2022, decode_coding_sjis, decode_coding_big5) | |
14804 | (decode_coding_raw_text, decode_coding_charset): Likewise. | |
14805 | (produce_chars): Don't decode EOL here. Use EMACS_INT. | |
14806 | ||
14807 | 2008-03-01 Jason Rumney <jasonr@gnu.org> | |
14808 | ||
14809 | * w32font.c (w32font_full_name): Report point size for scalable fonts. | |
14810 | ||
14811 | 2008-03-01 Kim F. Storm <storm@cua.dk> | |
14812 | ||
14813 | * dispextern.h (CHAR_GLYPH_SPACE_P): Check for default face. | |
14814 | ||
14815 | 2008-03-01 Jason Rumney <jasonr@gnu.org> | |
14816 | ||
14817 | * w32font.c (w32font_full_name): New function. | |
14818 | (w32font_open_internal): Use it. | |
14819 | ||
14820 | 2008-03-01 Kim F. Storm <storm@cua.dk> | |
14821 | ||
14822 | * dispnew.c (line_draw_cost): Fix invalid glyph check. | |
14823 | ||
14824 | 2008-03-01 Jason Rumney <jasonr@gnu.org> | |
14825 | ||
14826 | * font.c (font_unparse_fcname): Increase len when style is a symbol. | |
14827 | ||
14828 | 2008-03-01 Jan Djärv <jan.h.d@swipnet.se> | |
14829 | ||
14830 | * xterm.c (handle_one_xevent): For Gtk+ and ConfigureNotify, call | |
14831 | xg_frame_resized when the event is for the edit widget. | |
14832 | ||
14833 | * gtkutil.h (xg_frame_resized): Renamed from xg_resize_widgets. | |
14834 | ||
14835 | * gtkutil.c (xg_resize_outer_widget): Only do one of set_geometry or | |
14836 | set_char_size. | |
14837 | (xg_frame_resized): Renamed from xg_resize_widgets. Remove all | |
14838 | operations on widgets here. Just set frame size if needed. | |
14839 | (flush_and_sync, x_wm_size_hint_off, xg_pack_tool_bar): New functions. | |
14840 | (xg_frame_set_char_size): Call x_wm_size_hint_off before resizing. | |
14841 | (x_wm_set_size_hint): Set size hints on the edit widget only, not | |
14842 | the whole frame. | |
14843 | (xg_create_tool_bar): Move attachment of the tool bar to | |
14844 | xg_pack_tool_bar. Do not attach the tool bar if there are no items. | |
14845 | (free_frame_tool_bar): Remove call to SET_FRAME_GARBAGED. | |
14846 | ||
14847 | 2008-03-01 Jason Rumney <jasonr@gnu.org> | |
14848 | ||
14849 | * w32fns.c (w32_msg_pump): Disable debug code. | |
14850 | ||
14851 | 2008-03-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
14852 | ||
14853 | * m/intel386.h [MAC_OSX || DARWIN]: Define NO_ARG_ARRAY if _LP64. | |
14854 | ||
14855 | 2008-02-29 Chong Yidong <cyd@stupidchicken.com> | |
14856 | ||
14857 | * xdisp.c (next_overlay_string): Don't set | |
14858 | overlay_strings_at_end_processed_p if we're currently reading from | |
14859 | a display string. | |
14860 | ||
14861 | 2008-02-29 Stefan Monnier <monnier@iro.umontreal.ca> | |
14862 | ||
14863 | * xdisp.c (get_overlay_strings_1): Fix typo. | |
14864 | ||
14865 | 2008-02-29 Chong Yidong <cyd@stupidchicken.com> | |
14866 | ||
14867 | * xdisp.c (get_overlay_strings_1): Add missing argument type. | |
14868 | ||
14869 | 2008-02-28 Kenichi Handa <handa@ni.aist.go.jp> | |
14870 | ||
14871 | * ftfont.c (ftfont_match): Explicitly set pixelsize in pattern. | |
14872 | ||
14873 | * xdisp.c (display_mode_element): Cancel the previous change. | |
14874 | (decode_mode_spec): Likewise. | |
14875 | (handle_auto_composed_prop): Don't make composition if it->string | |
14876 | is a string. | |
14877 | ||
14878 | 2008-02-27 Kim F. Storm <storm@cua.dk> | |
14879 | ||
14880 | * lisp.h (GLYPH): Change type from int to struct with separate char | |
14881 | and face_id members. | |
14882 | (GLYPH_MASK_FACE, GLYPH_MASK_CHAR): Delete macros. | |
14883 | (GLYPH_CHAR, GLYPH_FACE): Remove slow versions with frame arg. | |
14884 | (FAST_GLYPH_CHAR, FAST_GLYPH_FACE): Rename macros to ... | |
14885 | (GLYPH_CHAR, GLYPH_FACE): ... these. Change users. | |
14886 | (FAST_MAKE_GLYPH, MAKE_GLYPH): Remove. Rewrite users to use ... | |
14887 | (SET_GLYPH, SET_GLYPH_CHAR, SET_GLYPH_FACE): ... these macros instead. | |
14888 | (GLYPH_CODE_CHAR, GLYPH_CODE_FACE, GLYPH_CODE_P) | |
14889 | (GLYPH_CODE_CHAR_VALID_P, SET_GLYPH_FROM_GLYPH_CODE): New macros to | |
14890 | handle new Lisp glyph code encoding, either an integer or a cons. | |
14891 | ||
14892 | * disptab.h (GLYPH_SIMPLE_P): Rewrite. | |
14893 | (GLYPH_ALIAS): Delete. | |
14894 | (GLYPH_ALIAS_P, GLYPH_FOLLOW_ALIASES): Rewrite. | |
14895 | (GLYPH_LENGTH, GLYPH_STRING): Use GLYPH_CHAR. | |
14896 | (GLYPH_FROM_CHAR): Replace macro by ... | |
14897 | (SET_GLYPH_FROM_CHAR): ... this macro. Change users. | |
14898 | ||
14899 | * dispextern.h (CHAR_GLYPH_SPACE_P): Simplify. | |
14900 | (GLYPH_FROM_CHAR_GLYPH): Replace macro by ... | |
14901 | (SET_GLYPH_FROM_CHAR_GLYPH): ... this macro. Change users. | |
14902 | (GLYPH_INVALID_P): New macro. | |
14903 | (spec_glyph_lookup_face): Update prototype. | |
14904 | ||
14905 | * dispnew.c (line_draw_cost): Adapt to new glyph type. | |
14906 | (build_frame_matrix_from_leaf_window): Adapt to new glyph type and | |
14907 | new glyph code encoding. | |
14908 | (spec_glyph_lookup_face): No return value; update passed glyph instead. | |
14909 | (init_display): Use SET_CHAR_GLYPH to initialize space_glyph. | |
14910 | ||
14911 | * xdisp.c (get_next_display_element, next_element_from_display_vector): | |
14912 | Adapt to new glyph type and new glyph code encoding. | |
14913 | ||
14914 | * term.c (encode_terminal_code, produce_special_glyphs): Likewise. | |
14915 | ||
14916 | * indent.c (current_column, current_column_1, Fmove_to_column) | |
14917 | (compute_motion): Adapt to new glyph code encoding. | |
14918 | ||
14919 | * msdos.c (IT_write_glyphs): Adapt to new glyph type. | |
14920 | ||
14921 | 2008-02-27 Chong Yidong <cyd@stupidchicken.com> | |
14922 | ||
14923 | * process.c (wait_reading_process_output): Check for window | |
14924 | changes caused by timers. | |
14925 | Suggested by Johan Bockgård. | |
14926 | ||
14927 | 2008-02-27 Glenn Morris <rgm@gnu.org> | |
14928 | ||
14929 | * emacs.c (USAGE1): Add `--disable-font-backend'. | |
14930 | ||
14931 | 2008-02-27 Stefan Monnier <monnier@iro.umontreal.ca> | |
14932 | ||
14933 | * fileio.c (Finsert_file_contents): Don't reset undo_list if no change | |
14934 | is made to the buffer. | |
14935 | ||
14936 | 2008-02-26 Stefan Monnier <monnier@iro.umontreal.ca> | |
14937 | ||
14938 | * dispextern.h (face_at_buffer_position, face_for_overlay_string) | |
14939 | (face_at_string_position): | |
14940 | * xfaces.c (face_at_buffer_position, face_for_overlay_string) | |
14941 | (face_at_string_position): | |
14942 | * xdisp.c (display_string, next_overlay_change): | |
14943 | * buffer.h (overlays_at): | |
14944 | * buffer.c (overlays_at): Use EMACS_INT for buffer positions. | |
14945 | Update callers. | |
14946 | ||
14947 | 2008-02-26 Chong Yidong <cyd@stupidchicken.com> | |
14948 | ||
14949 | * editfns.c (Fformat): Doc fix. | |
14950 | ||
14951 | 2008-02-26 Juanma Barranquero <lekktu@gmail.com> | |
14952 | ||
14953 | * font.c (Ffont_spec, Ffont_at): Fix typos in docstrings. | |
14954 | (Ffont_put, Flist_families, Ffont_fill_gstring, Ffont_drive_otf) | |
14955 | (Ffont_otf_alternates, Fquery_font): Doc fixes. | |
14956 | ||
14957 | 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca> | |
14958 | ||
14959 | * buffer.c (Fbuffer_swap_text): New function. | |
14960 | (syms_of_buffer): Defsubr it. | |
14961 | ||
14962 | 2008-02-25 Chong Yidong <cyd@stupidchicken.com> | |
14963 | ||
14964 | * keyboard.c (command_loop_1): Revert 2006-10-09 change. | |
14965 | ||
14966 | 2008-02-25 Jason Rumney <jasonr@gnu.org> | |
14967 | ||
14968 | * w32font.c (w32font_draw): Draw one character at a time when padding. | |
14969 | ||
14970 | 2008-02-25 Stefan Monnier <monnier@iro.umontreal.ca> | |
14971 | ||
14972 | * window.c (Fdelete_window, Fadjust_window_trailing_edge): | |
14973 | Handle a nil arg. Use run_window_configuration_change_hook. | |
14974 | (delete_window, adjust_window_trailing_edge): Don't handle nil any more. | |
14975 | (Fenlarge_window, Fshrink_window, Fset_window_configuration): | |
14976 | Use run_window_configuration_change_hook. | |
14977 | ||
14978 | 2008-02-25 Kenichi Handa <handa@ni.aist.go.jp> | |
14979 | ||
14980 | * xdisp.c (x_produce_glyphs): For a visible glyph, assure at least | |
14981 | 1-pixel width. | |
14982 | ||
14983 | 2008-02-25 Kenichi Handa <handa@ni.aist.go.jp> | |
14984 | ||
14985 | * xdisp.c (fill_glyph_string): Pay attention to glyph->padding_p. | |
14986 | (append_glyph): Set glyph->pixel_width and glyph->padding_p to 1 | |
14987 | if the glyph in the font is zero pixel with. | |
14988 | ||
14989 | * dispextern.h (struct glyph_string): New member padding_p. | |
14990 | ||
14991 | * w32font.c (w32font_draw): Pay attention to s->padding_p. | |
14992 | ||
14993 | * ftxfont.c (ftxfont_draw): Pay attention to s->padding_p. | |
14994 | ||
14995 | * xfont.c (xfont_draw): Pay attention to s->padding_p. | |
14996 | ||
14997 | * xftfont.c (xftfont_draw): Pay attention to s->padding_p. | |
14998 | ||
14999 | * font.c: If the font driver doesn't have `shape' function, return Qnil. | |
15000 | ||
15001 | 2008-02-25 Jason Rumney <jasonr@gnu.org> | |
15002 | ||
15003 | * w32fns.c (enum_font_cb2): Don't use raster fonts for Unicode. | |
15004 | ||
15005 | 2008-02-24 Stefan Monnier <monnier@iro.umontreal.ca> | |
15006 | ||
15007 | Allow fine-grained image-cache flushing. | |
15008 | * dispextern.h (struct image): Add `dependencies' field. | |
15009 | (clear_image_caches): Change arg to Lisp_Object. | |
15010 | * image.c (make_image): Initialize `dependencies' field. | |
15011 | (clear_image_cache): Change arg to allow fine-grained flushing. | |
15012 | Perform the flush even if image-cache-eviction-delay is nil. | |
15013 | (clear_image_caches): Change arg to Lisp_Object. | |
15014 | (Fclear_image_cache): Expand meaning of the argument. | |
15015 | (mark_image): Mark `dependencies' field. | |
15016 | * xfaces.c (clear_face_cache): Adapt arg to call to clear_image_caches. | |
15017 | (lface_hash): Use XHASH rather than XFASTINT. | |
15018 | (face_at_buffer_position): Fix int -> EMACS_INT position. | |
15019 | * xdisp.c (next_overlay_change): Fix int -> EMACS_INT position. | |
15020 | (select_frame_for_redisplay): Remove code duplication. | |
15021 | (redisplay_internal): Adapt arg to call to clear_image_caches. | |
15022 | ||
15023 | 2008-02-24 Dan Nicolaescu <dann@ics.uci.edu> | |
15024 | ||
15025 | * s/vms4-0.h: | |
15026 | * s/vms4-2.h: | |
15027 | * s/vms4-4.h: | |
15028 | * s/vms5-5.h: Remove, unused. | |
15029 | ||
15030 | * s/irix5-2.h: | |
15031 | * s/irix6-0.h: | |
15032 | * s/riscos5.h: | |
15033 | * s/mach-bsd4-3.h: | |
15034 | * m/mips4.h: Remove files for obsolete systems. | |
15035 | ||
15036 | * Makefile.in: | |
15037 | * filelock.c: | |
15038 | * unexmips.c: | |
15039 | * m/hp9000s300.h: | |
15040 | * m/iris4d.h: | |
15041 | * s/aix3-1.h: | |
15042 | * s/hpux.h: | |
15043 | * s/msdos.h: | |
15044 | * s/usg5-0.h: | |
15045 | * s/usg5-2-2.h: | |
15046 | * s/usg5-2.h: | |
15047 | * s/usg5-3.h: Remove references to obsolete variables. | |
15048 | ||
15049 | * s/irix5-0.h: Remove, move all the contents ... | |
15050 | * s/irix6-5.h: ... here. Simplify. | |
15051 | * config.in: Regenerate. | |
15052 | ||
15053 | 2008-02-24 Jason Rumney <jasonr@gnu.org> | |
15054 | ||
15055 | * w32term.c (x_draw_glyph_string_background): Clear the background | |
15056 | manually when cleartype is in use. | |
15057 | (x_draw_glyph_string_foreground): Draw text transparently when | |
15058 | cleartype is in use. | |
15059 | ||
15060 | * w32font.c (w32font_text_extents): Avoid getting HDC and selecting | |
15061 | a font into it unless we have to. | |
15062 | ||
15063 | 2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca> | |
15064 | ||
15065 | * intervals.h (INT_LISPLIKE): Remove. It may misfire. | |
15066 | (NULL_INTERVAL_P, SET_INTERVAL_PARENT): Don't use it. | |
d6c952f8 | 15067 | |
aac0c6e3 MR |
15068 | 2008-02-18 Jason Rumney <jasonr@gnu.org> |
15069 | ||
15070 | * w32fns.c (Fw32_shell_execute): Encode parameters. | |
15071 | ||
15072 | 2008-02-09 Eli Zaretskii <eliz@gnu.org> | |
15073 | ||
15074 | * fileio.c (syms_of_fileio) <insert-default-directory>: Doc fix. | |
15075 | ||
15076 | 2008-02-05 Juanma Barranquero <lekktu@gmail.com> | |
15077 | ||
15078 | * unexhp9k800.c (read_header): Replace `legal' with `valid'. | |
15079 | ||
15080 | 2008-02-24 Ulrich Neumerkel <ulrich@complang.tuwien.ac.at> (tiny change) | |
15081 | ||
15082 | * xterm.c (x_set_offset): Don't change the gravity if | |
15083 | CHANGE_GRAVITY is -1. | |
15084 | ||
15085 | 2008-02-23 Chong Yidong <cyd@stupidchicken.com> | |
15086 | ||
15087 | * fileio.c (auto_save_error_occurred): New var. | |
15088 | (auto_save_error): Set it. | |
15089 | (Fdo_auto_save): Don't overwrite the error message if an auto-save | |
15090 | error occurred. | |
15091 | ||
15092 | 2008-02-23 Eli Zaretskii <eliz@gnu.org> | |
15093 | ||
15094 | * w32.c (globals_of_w32): Add initializations for | |
15095 | g_b_init_get_sid_sub_authority and | |
15096 | g_b_init_get_sid_sub_authority_count. | |
15097 | ||
15098 | 2008-02-22 Stefan Monnier <monnier@iro.umontreal.ca> | |
15099 | ||
15100 | * font.c (font_match_xlfd, font_check_xlfd_parse): New funs. | |
15101 | (font_parse_xlfd): Use them for sanity check. | |
15102 | (Finternal_set_font_style_table): Make sure the table is bijective. | |
15103 | ||
15104 | Consolidate the image_cache to the terminal struct. | |
15105 | * termhooks.h (P_): Remove redundant def. | |
15106 | (struct terminal): New field `image_cache'. | |
15107 | * frame.h (FRAME_IMAGE_CACHE): New macro. Use it everywhere in place | |
15108 | of FRAME_X_IMAGE_CACHE. | |
15109 | * xterm.h (struct x_display_info): Remove image_cache field. | |
15110 | (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead. | |
15111 | * w32term.h (struct w32_display_info): Remove image_cache field. | |
15112 | (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead. | |
15113 | * macterm.h (struct mac_display_info): Remove image_cache field. | |
15114 | (FRAME_X_IMAGE_CACHE): Remove. Use FRAME_IMAGE_CACHE instead. | |
15115 | * xterm.c (x_term_init): | |
15116 | * w32term.c (w32_term_init): | |
15117 | * macterm.c (mac_term_init): Set the image_cache in the terminal. | |
15118 | * dispextern.h (clear_image_cache, forall_images_in_image_cache): | |
15119 | Remove declarations. | |
15120 | (clear_image_caches, mark_image_cache): New declarations. | |
15121 | * xfaces.c (clear_face_cache): | |
15122 | * xdisp.c (redisplay_internal): Use clear_image_caches. | |
15123 | * image.c (clear_image_cache): Don't check that a frame is on | |
15124 | a window-system before checking if it shares the same cache. | |
15125 | (clear_image_caches): New function. | |
15126 | (Fclear_image_cache): Use it. | |
15127 | (mark_image): Move from allo.c. | |
15128 | (mark_image_cache): Move from alloc.c and forall_images_in_image_cache. | |
15129 | * alloc.c (mark_image, mark_image_cache): Move to image.c. | |
15130 | (mark_object): Don't call mark_image_cache for frames. | |
15131 | (mark_terminals): Call mark_image_cache. | |
15132 | ||
15133 | * lisp.h (Fdelete_terminal): Declare. | |
15134 | ||
15135 | * charset.h (CHECK_CHARSET, CHECK_CHARSET_GET_ID) | |
15136 | (CHECK_CHARSET_GET_ATTR): Don't use the inexistent return value of | |
15137 | wrong_type_argument. | |
15138 | ||
15139 | 2008-02-22 Kenichi Handa <handa@ni.aist.go.jp> | |
15140 | ||
15141 | * Makefile.in (lisp): Remove devanagari.el, kannada.el, | |
15142 | malayalam.el, and tamil.el. Add sinhala.el. | |
15143 | ||
15144 | 2008-02-21 Stefan Monnier <monnier@iro.umontreal.ca> | |
15145 | ||
15146 | * xterm.c (x_connection_closed): Consolidate identical tests. | |
15147 | (x_delete_terminal): Don't crash if called via x_connection_closed. | |
15148 | ||
15149 | 2008-02-21 Kenichi Handa <handa@ni.aist.go.jp> | |
15150 | ||
15151 | * xdisp.c (decode_mode_spec): New arg string. | |
15152 | (display_mode_element): Adjust for the above change. | |
15153 | ||
15154 | 2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca> | |
15155 | ||
15156 | * callint.c (Fcall_interactively): Use AREF. | |
15157 | ||
15158 | 2008-02-18 Stefan Monnier <monnier@iro.umontreal.ca> | |
15159 | ||
15160 | * font.c (font_unparse_xlfd): Don't ignore integer pixel size specs. | |
15161 | ||
15162 | 2008-02-18 Jan Djärv <jan.h.d@swipnet.se> | |
15163 | ||
15164 | * xfns.c (Fx_show_tip): Set string to " " if empty. | |
15165 | ||
15166 | 2008-02-17 Dan Nicolaescu <dann@ics.uci.edu> | |
15167 | ||
15168 | * callint.c (syms_of_callint): Initialize Vmark_even_if_inactive | |
15169 | with Qt. | |
15170 | ||
15171 | 2008-02-17 Kenichi Handa <handa@m17n.org> | |
15172 | ||
15173 | * ftfont.c (ftfont_shape): Return Lispy number. | |
15174 | ||
15175 | * xfaces.c (prepare_face_for_display): Use display_info->font->fid | |
15176 | for GCs. | |
15177 | (Finternal_set_font_selection_order): Call font_update_sort_order | |
15178 | only when enable_font_backend is set. | |
15179 | (realize_x_face): Set face->font_info to that of default face only | |
15180 | when enable_font_backend is set. | |
15181 | ||
15182 | * xdisp.c (handle_composition_prop): Set it->c to the fist | |
15183 | character of the composed region. | |
15184 | (fill_composite_glyph_string): Set base_face->font_info to | |
15185 | s->font_info. Get a face for ascii from base_face->ascii_face. | |
15186 | (BUILD_COMPOSITE_GLYPH_STRING): Call fill_composite_glyph_string | |
15187 | with a face already decided. | |
15188 | (x_produce_glyphs): Be sure to set it->ascent and it->descent to | |
15189 | non-negative. | |
15190 | (x_produce_glyphs): If the composition method is ..._WITH_GLYPH_STRING, | |
15191 | call font_prepare_composition unconditionally. | |
15192 | ||
15193 | * xfns.c (x_make_gc): Use the default font id of the frame for GCs. | |
15194 | ||
15195 | * xterm.h (struct x_display_info): New member font. | |
15196 | ||
15197 | * xterm.c (x_set_cursor_gc): Use display_info->font->fid for GCs. | |
15198 | (x_set_mouse_face_gc, x_new_font): Likewise. | |
15199 | (x_term_init): Setup display_info->font. | |
15200 | (x_delete_terminal): Free display_info->font. | |
15201 | ||
15202 | * xfont.c (xfont_draw): Use BLOCK_INPUT and UNBLOCK_INPUT. | |
15203 | ||
15204 | * ftxfont.c (ftxfont_default_fid): Delete it. | |
15205 | (ftxfont_open): Set xfont->fid to 0. | |
15206 | (ftxfont_end_for_frame): Clear data specific to the frame and the | |
15207 | font-driver. | |
15208 | ||
15209 | * xftfont.c (xftfont_default_fid): Delete it. | |
15210 | (xftfont_open): Set xfont->fid to 0. | |
15211 | ||
15212 | * fontset.c (FONTSET_OBJLIST): New macro. | |
15213 | (fontset_find_font): Update font-object list of the fontset. | |
15214 | (free_realized_fontset): New function. | |
15215 | (free_face_fontset): Call free_realized_fontset. | |
15216 | (Ffont_info): Call font_close_object only when enable_font_backend | |
15217 | is set. | |
15218 | ||
15219 | * font.c [HAVE_X_WINDOWS]: Include xterm.h. | |
15220 | [HAVE_NTGUI]: Include w32term.h. | |
15221 | [MAC_OS]: Include macterm.ch. | |
15222 | (font_otf_ValueRecord): Use make_number. | |
15223 | (font_finish_cache): Fix handling of reference count. | |
15224 | (font_clear_cache): Update num_fonts. | |
15225 | (font_open_entity): Update smallest_char_width and | |
15226 | smallest_font_height of the frame. | |
15227 | (font_close_object): Update num_fonts. | |
15228 | (Fclear_font_cache): Fix finding the target cache data. | |
15229 | ||
15230 | 2008-02-16 Glenn Morris <rgm@gnu.org> | |
15231 | ||
15232 | * fontset.c (Finternal_char_font): Fix compilation warning. | |
15233 | ||
15234 | 2008-02-16 Eli Zaretskii <eliz@gnu.org> | |
15235 | ||
15236 | * w32.c (init_user_info): Use TOKEN_USER and TOKEN_PRIMARY_GROUP | |
15237 | instead of char arrays. Enlarge the size of array passed to | |
15238 | get_token_information. | |
15239 | ||
15240 | * font.c (Ffont_fill_gstring, Fget_font_glyphs): Fix compilation | |
15241 | warnings. | |
15242 | ||
15243 | 2008-02-15 Dan Nicolaescu <dann@ics.uci.edu> | |
15244 | ||
15245 | * .gdbinit: Don't set `args', it breaks gdb --args. | |
15246 | ||
15247 | 2008-02-14 Stefan Monnier <monnier@iro.umontreal.ca> | |
15248 | ||
15249 | * fileio.c (Finsert_file_contents): Adjust offsets when replacing | |
15250 | within a narrowed buffer. | |
15251 | ||
15252 | 2008-02-14 Kenichi Handa <handa@ni.aist.go.jp> | |
15253 | ||
15254 | * coding.c (decode_coding_object, encode_coding_object): | |
15255 | Preserve Vdeactivate_mark. Delete unnecessary call of Fcurrent_buffer. | |
15256 | ||
15257 | 2008-02-12 Stefan Monnier <monnier@iro.umontreal.ca> | |
15258 | ||
15259 | * coding.c (coding_set_destination): Use BEG_BYTE rather than | |
15260 | hardcoding 1. | |
15261 | (detect_coding_system): | |
15262 | * lisp.h (detect_coding_system, chars_in_text, multibyte_chars_in_text) | |
15263 | (string_char_to_byte, string_byte_to_char, insert_from_gap): | |
15264 | * insdel.c (insert_from_gap): | |
15265 | * fns.c (string_char_byte_cache_charpos, string_char_byte_cache_bytepos) | |
15266 | (string_char_to_byte, string_byte_to_char, string_make_multibyte) | |
15267 | (string_to_multibyte): | |
15268 | * character.c (chars_in_text, multibyte_chars_in_text): | |
15269 | * fileio.c (Finsert_file_contents): Use EMACS_INT for buffer positions. | |
15270 | ||
15271 | * character.h (FETCH_STRING_CHAR_ADVANCE) | |
15272 | (FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE) | |
15273 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA and SREF. | |
15274 | (DEC_POS, BUF_DEC_POS): Use BEG_BYTE rather than hardcoding 1. | |
15275 | ||
15276 | * casefiddle.c (casify_region): Only call after-change and composition | |
15277 | functions on the part of the region that was changed. | |
15278 | ||
15279 | * keyboard.c (read_avail_input): | |
15280 | * frame.c (Fdelete_frame): Call Fdelete_terminal. | |
15281 | ||
15282 | 2008-02-11 Stefan Monnier <monnier@iro.umontreal.ca> | |
15283 | ||
15284 | * buffer.c (clone_per_buffer_values, reset_buffer_local_variables) | |
15285 | (Fbuffer_local_value, Fbuffer_local_variables): Don't forget undo_list. | |
15286 | ||
15287 | 2008-02-11 Juanma Barranquero <lekktu@gmail.com> | |
15288 | ||
15289 | * w32menu.c (push_submenu_start, push_submenu_end) | |
15290 | (push_left_right_boundary, push_menu_pane, push_menu_item): | |
15291 | * keyboard.c (read_key_sequence): Don't pass args with side effects | |
15292 | to AREF, it fails when compiling with -DENABLE_CHECKING. | |
15293 | ||
15294 | 2008-02-11 Kenichi Handa <handa@ni.aist.go.jp> | |
15295 | ||
15296 | * Makefile.in (${lispsource}international/charprop.el): | |
15297 | Delete this target. | |
15298 | ||
15299 | * search.c (boyer_moore): Fix incorrect synching of the trunk and | |
15300 | emacs-unicode-2. | |
15301 | ||
15302 | 2008-02-11 Stefan Monnier <monnier@iro.umontreal.ca> | |
15303 | ||
15304 | * terminal.c (Fdelete_terminal): Clean up the `force' path. | |
15305 | ||
15306 | 2008-02-10 Stefan Monnier <monnier@iro.umontreal.ca> | |
15307 | ||
15308 | * frame.c (Qnoelisp): New symbol. | |
15309 | (syms_of_frame): Initialize it. | |
15310 | (Fdelete_frame): Use it to distinguish a mere `force' passed from some | |
15311 | harmless Elisp code, from a strong `force' from x_connection_closed. | |
15312 | * frame.h (Qnoelisp): Declare. | |
15313 | * xterm.c (x_connection_closed): Pass `noelisp'. | |
15314 | ||
15315 | * lisp.h (struct Lisp_Misc_Any, struct Lisp_Marker) | |
15316 | (struct Lisp_Overlay, struct Lisp_Kboard_Objfwd) | |
15317 | (struct Lisp_Save_Value, struct Lisp_Free): Use enum Lisp_Misc_Type | |
15318 | rather than `int' for the type of `type'. | |
15319 | ||
15320 | 2008-02-10 Dan Nicolaescu <dann@ics.uci.edu> | |
15321 | ||
15322 | * s/gnu-linux.h: Remove support for non-ELF and linux-1.x. | |
15323 | ||
15324 | * Makefile.in (GNUC): Remove support for gcc-1.x. | |
15325 | ||
15326 | 2008-02-10 Richard Stallman <rms@gnu.org> | |
15327 | ||
15328 | * lisp.h (ASET): Use AREF, not ASLOT. | |
15329 | ||
15330 | 2008-02-10 Stefan Monnier <monnier@iro.umontreal.ca> | |
15331 | ||
15332 | * lisp.h (ASET): Check bounds. | |
15333 | ||
15334 | 2008-02-10 Glenn Morris <rgm@gnu.org> | |
15335 | ||
15336 | * buffer.c (mode-name): Doc fix. | |
15337 | ||
15338 | 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu> | |
15339 | ||
15340 | * Makefile.in: | |
15341 | * emacs.c: | |
15342 | * gmalloc.c: | |
15343 | * keyboard.c: | |
15344 | * lisp.h: | |
15345 | * m/ibm370aix.h: | |
15346 | * process.c: | |
15347 | * regex.c: | |
15348 | * s/hpux.h: | |
15349 | * sysdep.c: | |
15350 | * sysselect.h: | |
15351 | * systty.h: | |
15352 | * unexec.c: | |
15353 | * w32term.c: | |
15354 | * xsmfns.c: | |
15355 | * xterm.c: Remove code that deals with obsolete variables. | |
15356 | ||
15357 | * s/msdos.h (DONT_NEED_ENVIRON): Don't define. | |
15358 | ||
15359 | * ecrt0.c: Replace the DONT_NEED_ENVIRON test with MSDOS test, | |
15360 | nothing else needs it anymore. | |
15361 | ||
15362 | 2008-02-09 Eli Zaretskii <eliz@gnu.org> | |
15363 | ||
15364 | * buffer.h (FETCH_CHAR_AS_MULTIBYTE): Use unibyte_to_multibyte_table | |
15365 | instead of unibyte_char_to_multibyte. | |
15366 | ||
15367 | 2008-02-09 Dan Nicolaescu <dann@ics.uci.edu> | |
15368 | ||
15369 | * s/gnu-linux.h: Remove commented out code. | |
15370 | ||
15371 | * unexec.c: Remove references to obsolete variable COFF_ENCAPSULATE. | |
15372 | ||
15373 | * Makefile.in: Update what RMS says about using autoconf. | |
15374 | (C_COMPILER, COFF_ENCAPSULATE, MAKE_PARALLEL): Remove obsolete variable. | |
15375 | (C_SWITCH_MACHINE_1, C_SWITCH_SYSTEM_1, C_SWITCH_SITE_1) | |
15376 | (C_SWITCH_X_SITE_1, C_SWITCH_X_MACHINE_1) | |
15377 | (C_SWITCH_X_SYSTEM_1): Move invariant code outside conditional. | |
15378 | ||
15379 | 2008-02-08 Stefan Monnier <monnier@iro.umontreal.ca> | |
15380 | ||
15381 | * keymap.c (Fkey_description): Move side effect outside of macro call. | |
15382 | ||
15383 | * xfaces.c (Finternal_make_lisp_face): | |
15384 | * keyboard.c (add_command_key, parse_menu_item): Use ASET. | |
15385 | ||
15386 | * fontset.c (free_face_fontset): Use FONTSET_FROM_ID. | |
15387 | (syms_of_fontset): Use ASET. | |
15388 | ||
15389 | * fns.c (concat): Move side effect outside of macro call. | |
15390 | (hash_clear): Use ASET. | |
15391 | ||
15392 | 2008-02-08 Richard Stallman <rms@gnu.org> | |
15393 | ||
15394 | * frame.c (Fdelete_frame): If FORCE, don't call hooks. | |
15395 | If FORCE, and frame has a surrogate minibuffer for another frame, | |
15396 | delete the other frame first. | |
15397 | ||
15398 | 2008-02-07 Timo Savola <timo.savola@iki.fi> | |
15399 | ||
15400 | * xterm.c (x_detect_focus_change): Handle embed client message. | |
15401 | (handle_one_xevent): Ditto. | |
15402 | (handle_one_xevent): If embedded and we get a button press/release, | |
15403 | request focus. | |
15404 | (xembed_set_info, xembed_send_message): New functions. | |
15405 | (x_make_frame_visible): Call xembed_set_info if embedded. | |
15406 | (x_make_frame_invisible): Call xembed_set_info if embedded. | |
15407 | (x_term_init): Initialize Xatom_XEMBED. | |
15408 | (x_make_frame_visible): Check for FRAME_X_EMBEDDED_P also. | |
15409 | (x_iconify_frame): Ditto. | |
15410 | ||
15411 | * xterm.h (struct x_display_info): Add AtomXatom_XEMBED. | |
15412 | (enum xembed_info, enum xembed_message, enum xembed_focus) | |
15413 | (enum xembed_modifier, enum xembed_accelerator): New. | |
15414 | (xembed_set_info, xembed_send_message): Declare. | |
15415 | (FRAME_X_EMBEDDED_P): New. | |
15416 | ||
15417 | * gtkutil.c (xg_create_frame_widgets): If frame is embedded, call | |
15418 | gtk_plug_new. | |
15419 | ||
15420 | * xfns.c (Fx_create_frame): Do not override the explicitly set parent | |
15421 | window ID of a frame. | |
15422 | (x_window): Reparent frame if embedded. | |
15423 | (Fx_create_frame): Don't set border width if embedded. | |
15424 | ||
15425 | * emacs.c (USAGE3): Add --parent-id. | |
15426 | (standard_args): Ditto. | |
15427 | ||
15428 | 2008-02-07 Jan Djärv <jan.h.d@swipnet.se> | |
15429 | ||
15430 | * coding.c (DECODE_EMACS_MULE_COMPOSITION_CHAR): Use "do...while (0)". | |
15431 | ||
15432 | 2008-02-07 Jim Meyering <meyering@redhat.com> | |
15433 | ||
15434 | Use "do...while (0)", not "if (1)...else" in macro definitions. | |
15435 | The latter provokes a warning from gcc about the empty else, when | |
15436 | followed by ";". Also, without that trailing semicolon, it would | |
15437 | silently swallow up any following statement. | |
15438 | * syntax.h (SETUP_SYNTAX_TABLE) | |
15439 | (SETUP_SYNTAX_TABLE_FOR_OBJECT): Likewise. | |
15440 | * buffer.h (DECODE_POSITION): Likewise. | |
15441 | * character.h (FETCH_STRING_CHAR_ADVANCE): Likewise. | |
15442 | (FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE): Likewise. | |
15443 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Likewise. | |
15444 | (FETCH_CHAR_ADVANCE): Likewise. | |
15445 | (FETCH_CHAR_ADVANCE_NO_CHECK): Likewise. | |
15446 | ||
15447 | 2008-02-07 Jim Meyering <meyering@redhat.com> | |
15448 | ||
15449 | * lread.c [lint]: Don't include <sys/inode.h>. | |
15450 | ||
15451 | 2008-02-07 Stefan Monnier <monnier@iro.umontreal.ca> | |
15452 | ||
15453 | * xselect.c (x_handle_dnd_message): | |
15454 | * xmenu.c (digest_single_submenu, xmenu_show): | |
15455 | * xdisp.c (with_echo_area_buffer_unwind_data) | |
15456 | (format_mode_line_unwind_data, unwind_format_mode_line) | |
15457 | (display_menu_bar): | |
15458 | * eval.c (Ffetch_bytecode): | |
15459 | * doc.c (store_function_docstring): | |
15460 | * ccl.c (resolve_symbol_ccl_program, ccl_get_compiled_code) | |
15461 | (Fccl_execute, Fccl_execute_on_string, Fregister_code_conversion_map): | |
15462 | * buffer.c (add_overlay_mod_hooklist): Use ASET. | |
15463 | ||
15464 | 2008-02-07 Kenichi Handa <handa@m17n.org> | |
15465 | ||
15466 | * ftxfont.c (ftxfont_open): Don't set | |
15467 | dpyinfo->smallest_font_height and dpyinfo->smallest_char_width to 0. | |
15468 | ||
15469 | * ftfont.c (ftfont_open): Fix previous change. | |
15470 | ||
15471 | 2008-02-06 Jason Rumney <jasonr@gnu.org> | |
15472 | ||
15473 | * w32font.c (w32font_text_extents): Fill in lbearing metric. | |
15474 | Use cached metrics for ASCII characters. | |
15475 | (w32font_open_internal): Don't set font's owning_frame. | |
15476 | Cache metrics for ASCII characters. | |
15477 | ||
15478 | * w32font.h (struct w32font_info): Add ascii_metrics. | |
15479 | Remove owning_frame. | |
15480 | ||
15481 | 2008-02-06 Kenichi Handa <handa@ni.aist.go.jp> | |
15482 | ||
15483 | * xdisp.c (x_produce_glyphs): Don't set it->ascent and it->descent | |
15484 | to negative value. | |
15485 | ||
15486 | * ftxfont.c (ftxfont_draw): Use s->font_info, not face->font_info. | |
15487 | ||
15488 | * ftfont.c (ftfont_open): Fix calculation of font->font.average_width. | |
15489 | ||
15490 | * charset.c (syms_of_charset): Set QCtest and Qeq. | |
15491 | ||
15492 | 2008-02-06 Stefan Monnier <monnier@iro.umontreal.ca> | |
15493 | ||
15494 | * process.c (Fstart_process): | |
15495 | * callproc.c (Fcall_process): Handle the case where | |
15496 | Funhandled_file_name_directory returns nil. | |
15497 | ||
15498 | * font.h (enum lgstring_indices, enum lglyph_indices): New enums. | |
15499 | (LGSTRING_SLOT, LGSTRING_SET_SLOT): New macros. | |
15500 | * font.c (check_gstring): Use them and AREF to access the vector before | |
15501 | we know it's really a gstring. | |
15502 | (Ffont_shape_text): Fix typo. | |
46e722a9 | 15503 | (Ffont_shape_text, Ffont_otf_alternates): Fix up int/Lisp_Object mixups. |
aac0c6e3 MR |
15504 | |
15505 | * composite.h (Fcompose_region_internal, Fcompose_string_internal): | |
15506 | Declare. | |
15507 | ||
15508 | * chartab.c (make_sub_char_table): Remove noop-yet-incorrect statement. | |
15509 | ||
15510 | 2008-02-05 Jason Rumney <jasonr@gnu.org> | |
15511 | ||
15512 | * w32font.c (w32font_open_internal): Fill min_width with tmAveCharWidth. | |
15513 | Set smallest_font_height and smallest_char_width in display info. | |
15514 | ||
15515 | 2008-02-05 Kenichi Handa <handa@ni.aist.go.jp> | |
15516 | ||
15517 | * coding.c (decode_eol): Pay attention to coding->dst_multibyte. | |
15518 | ||
15519 | 2008-02-05 Miles Bader <miles@gnu.org> | |
15520 | ||
15521 | * xfaces.c (get_lface_attributes, merge_named_face) | |
15522 | (lookup_named_face, lookup_derived_face, realize_named_face): | |
15523 | Revert 2008-02-01 change by cyd@stupidchicken.com. | |
15524 | ||
15525 | 2008-02-04 Kenichi Handa <handa@ni.aist.go.jp> | |
15526 | ||
15527 | * fontset.c (Ffontset_info): Handle the case of inhibitting the | |
15528 | fallback fonts. | |
15529 | (Ffontset_info) [USE_FONT_BACKEND]: Fix getting of opened font names. | |
15530 | ||
15531 | 2008-02-04 Jason Rumney <jasonr@gnu.org> | |
15532 | ||
15533 | * w32font.c (w32font_open_internal): Use font_unparse_fcname to | |
15534 | set full_name. | |
15535 | (w32font_open_internal): Use xmalloc, xrealloc, xfree. | |
15536 | ||
15537 | 2008-02-03 Jason Rumney <jasonr@gnu.org> | |
15538 | ||
15539 | * makefile.w32-in (OBJ1): Include font.o here. | |
15540 | (FONTOBJ) [USE_FONTBACKEND]: Instead of here. | |
15541 | ||
15542 | 2008-02-02 Jason Rumney <jasonr@gnu.org> | |
15543 | ||
15544 | * makefile.w32-in (temacs): Bump EMHEAP to 21. | |
15545 | ||
15546 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
15547 | ||
15548 | * s/cygwin.h: Define VIRT_ADDR_VARIES. | |
15549 | ||
15550 | * puresize.h [VIRT_ADDR_VARIES]: Don't include CYGWIN in condition. | |
15551 | ||
15552 | 2008-02-01 Andreas Schwab <schwab@suse.de> | |
15553 | ||
15554 | * Makefile.in (shortlisp, lisp): Update for rename of | |
15555 | ../lisp/language/myanmar.el. | |
15556 | ||
15557 | 2008-02-01 Chong Yidong <cyd@stupidchicken.com> | |
15558 | ||
15559 | * xfaces.c (get_lface_attributes): Delete function. | |
15560 | (merge_named_face, lookup_named_face, lookup_derived_face) | |
15561 | (realize_named_face): Call lface_from_face_name directly, and use | |
15562 | the fact that merge_face_vectors does not alter its FROM argument. | |
15563 | ||
15564 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
15565 | ||
15566 | * w32term.c (w32_read_socket) <WM_CHAR>: Decode non-Unicode | |
15567 | input in the default locale. Handle non-Unicode multibyte input. | |
15568 | ||
15569 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
15570 | ||
15571 | * fontset.c (reorder_font_vector): Exclude nil elements from the | |
15572 | font group. Don't try multiple fonts. | |
15573 | (fontset_font): Adjust for the above change. | |
15574 | (Finternal_char_font): Return nil if the found font doesn't | |
15575 | contain the character ch. | |
15576 | ||
15577 | * Makefile.in (lisp, shortlisp): Add cham.el. | |
15578 | ||
15579 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
15580 | ||
15581 | * font.h (FONTP): Make it return 1 also for a font-object. | |
15582 | ||
15583 | * .gdbinit (xfontset): New function. | |
15584 | ||
15585 | * font.c (font_find_for_lface): Check if the character C is | |
15586 | supported or not only for the first font. | |
15587 | ||
15588 | * fontset.c (reorder_font_vector): Fix typo. | |
15589 | (fontset_find_font): Don't add a font-spec specifying a script. | |
15590 | Use 0 (not Qt) for the indication of empty font-group. Change the | |
15591 | format of RFONT-DEF. Return Qt if no font in the font-group | |
15592 | support the character. | |
15593 | (fontset_font): Adjust for the above change. If no font was | |
15594 | found the character, remember that. | |
15595 | (face_for_char): Adjust for the change of RFONT-DEF. | |
15596 | (Fset_fontset_font): Allow nil for FONT-SPEC to explicitly specify | |
15597 | no font for the target. | |
15598 | (Finternal_char_font): Adjust for the change of RFONT-DEF. | |
15599 | ||
15600 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
15601 | ||
15602 | * font.c (font_load_for_face): Handle the case that the font in | |
15603 | face->lface is a string. | |
15604 | ||
15605 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
15606 | ||
15607 | * xfaces.c (set_lface_from_font_and_fontset): Set the fontname in lface. | |
15608 | ||
15609 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
15610 | ||
15611 | * xfaces.c (Finternal_set_lisp_face_attribute) [USE_FONT_BACKEND]: | |
15612 | Fix previous change. If the frame is not on a window system, | |
15613 | signal an error. | |
15614 | ||
15615 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
15616 | ||
15617 | * coding.c (decode_coding_object, encode_coding_object): Adjust | |
15618 | marker positions after conversion. | |
15619 | ||
15620 | * lisp.h (struct Lisp_Marker): New member need_adjustment. | |
15621 | ||
15622 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
15623 | ||
15624 | * font.c (font_find_for_lface): Fix the handling of the return | |
15625 | value of font_has_char. | |
15626 | (Ffont_shape_text): Fix previous change. | |
15627 | ||
15628 | * fontset.c (FONTSET_REF_AND_RANGE): Delete it. | |
15629 | (fontset_ref_and_range): Delete it. | |
15630 | (fontset_find_font): Call char_table_ref_and_range instead of | |
15631 | FONTSET_REF_AND_RANGE. | |
15632 | (make_fontset): Don't setup font groups of Latin here. | |
15633 | (Fset_fontset_font): Don't overwrite the setting of FONTSET_ASCII. | |
15634 | (new_fontset_from_font): Make the specified font the default for | |
15635 | all Latin characters. | |
15636 | ||
15637 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
15638 | ||
15639 | * xfaces.c (Finternal_set_lisp_face_attribute): Check if the frame | |
15640 | is on a window system before accessing the fontset of the frame. | |
15641 | ||
15642 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
15643 | ||
15644 | * Makefile.in (lisp, shortlisp): Add kherm.el and myanmar.el. | |
15645 | ||
15646 | * ftfont.c (ftfont_driver): Set ftfont_shape in ftfont_driver only | |
15647 | when both HAVE_M17N_FLT and HAVE_LIBOTF are defined. | |
15648 | ||
15649 | * font.c (Ffont_shape_text): If the font driver doesn't have a | |
15650 | shaper function, make zero-width glyphs to have at least one-pixel | |
15651 | width. Fix setting of `to' field of glyphs. | |
15652 | ||
15653 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
15654 | ||
15655 | * ftfont.c (ftfont_drive_otf): Fix setting of FROM and TO slots of | |
15656 | glyphs. | |
15657 | ||
15658 | * font.h (struct font_driver): Improve docstring of member `shape'. | |
15659 | ||
15660 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
15661 | ||
15662 | * composite.c (syms_of_composite): Fix docstring of | |
15663 | auto-composition-function. | |
15664 | ||
15665 | * font.h (LGLYPH_SIZE): New macro. | |
15666 | ||
15667 | * font.c (Ffont_fill_gstring): Stop filling when a character not | |
15668 | supported by the font is found. | |
15669 | (Ffont_shape_text): When a shape callback function returns nil, | |
15670 | try at most two more times with larger gstring. | |
15671 | (Ffont_at): Fix getting of w. Call font_at with correct 5th argument. | |
15672 | ||
15673 | * xdisp.c (handle_auto_composed_prop): Change the argument to | |
15674 | auto-composition-function. | |
15675 | ||
15676 | * ftfont.c (ftfont_encode_char): Use the macro FONT_INVALID_CODE. | |
15677 | (ftfont_shape_by_flt): If an element of lgstring is nil, make a | |
15678 | Lispy glyph and store it in the lgstring. | |
15679 | ||
15680 | * xfont.c (xfont_encode_char): Use the macro FONT_INVALID_CODE. | |
15681 | ||
15682 | * xftfont.c (xftfont_encode_char): Use the macro FONT_INVALID_CODE. | |
15683 | ||
15684 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
15685 | ||
15686 | * font.c (Ffont_shape_text): Avoid unnecessary composition. | |
15687 | ||
15688 | * fontset.c (Vfont_encoding_charset_alist): New variable. | |
15689 | (syms_of_fontset): DEFVAR it. | |
15690 | (reorder_font_vector, fontset_find_font): Optimize for the case of | |
15691 | no need of reordering. | |
15692 | (face_for_char): Map the charset property by | |
15693 | Vfont_encoding_charset_alist. | |
15694 | ||
15695 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
15696 | ||
15697 | * w32font.c (logfonts_match): Don't check adstyle here. | |
15698 | (font_matches_spec): Check here against physical font instead. | |
15699 | (add_font_entity_to_list): Avoid some substitutions. | |
15700 | ||
15701 | * font.c (font_parse_fcname): Default weight and slant to normal. | |
15702 | (font_score): Prefer normal fonts if weight or slant unspecified. | |
15703 | (font_score) [WINDOWSNT]: Scale weight difference down to closer | |
15704 | match freetype scores. | |
15705 | ||
15706 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
15707 | ||
15708 | * w32font.c (w32font_text_extents): Don't use the frame stored in the | |
15709 | font, as it may have been deleted. | |
15710 | (w32_enumfont_pattern_entity): Map generic family to adstyle using | |
15711 | most common hyphenless variation. | |
15712 | (logfonts_match): Check generic family. | |
15713 | (font_matches_spec): Don't check generic family here. | |
15714 | (fill_in_logfont): Set generic family based on adstyle. | |
15715 | ||
15716 | * w32font.h (w32font_get_cache): Update declaration. | |
15717 | ||
15718 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
15719 | ||
15720 | * ftfont.c (ftfont_get_cache): Adjust the argument type. | |
15721 | ||
15722 | * frame.c (x_set_font_backend): Don't call Fclear_font_cache. | |
15723 | If none of the new drivers are available, call font_update_drivers | |
15724 | with the old drivers. | |
15725 | ||
15726 | * w32font.c (w32font_get_cache): Adjust the argument type. | |
15727 | ||
15728 | * xfont.c (xfont_get_cache): Adjust the argument type. | |
15729 | ||
15730 | * font.h (struct font_driver): Change argument type of get_cache. | |
15731 | ||
15732 | * xftfont.c (xftfont_start_for_frame): Delete prototype. | |
15733 | ||
15734 | * font.c (Ffont_get): Fix arguments to Fassoc. | |
15735 | (font_prepare_cache, font_finish_cache, font_get_cache): New functions. | |
15736 | (font_clear_cache): New function. | |
15737 | (font_list_entities, font_matching_entity): Use font_get_cache. | |
15738 | (font_update_drivers): Call font_clear_cache when finishing a driver. | |
15739 | ||
15740 | * fontset.c (fontset_find_font): Fix previous change. | |
15741 | ||
15742 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
15743 | ||
15744 | * xterm.c (x_check_font) [USE_FONT_BACKEND]: Don't access | |
15745 | dpyinfo->font_table. | |
15746 | (x_delete_display) [USE_FONT_BACKEND]: Likewise. | |
15747 | (x_delete_terminal) [USE_FONT_BACKEND]: Likewise. | |
15748 | ||
15749 | * font.c (font_at): Handle the case that the arg C is negative. | |
15750 | Handle the unibyte case. | |
15751 | (Ffont_at): Call font_at with the arg C -1. | |
15752 | ||
15753 | * xdisp.c (handle_auto_composed_prop): Don't get a character at | |
15754 | the position here, and call font_at with the arg C -1. | |
15755 | Don't check the range of the existing composition at the point. | |
15756 | ||
15757 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
15758 | ||
15759 | * fontset.c (fontset_add): New args charset_id and family. | |
15760 | Change caller. | |
15761 | (load_font_get_repertory, fontset_find_font): Assume that | |
15762 | font_spec is always a font-spec object. | |
15763 | (Fset_fontset_font): Always store a font-spec object in a fontset. | |
15764 | ||
15765 | * xdisp.c (handle_auto_composed_prop): Use Fget_text_property | |
15766 | instead of get_property_and_range. | |
15767 | ||
15768 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
15769 | ||
15770 | * xftfont.c (struct xftfont_info): Delete the member ft_face. | |
15771 | (xftfont_open): Don't keep locking face. | |
15772 | (xftfont_close): Don't unlock face. | |
15773 | (xftfont_anchor_point, xftfont_shape): Lock and unlock face. | |
15774 | ||
15775 | * fontset.c (fontset_find_font): Don't prefer a font of | |
15776 | supplementary charset. | |
15777 | ||
15778 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
15779 | ||
15780 | * ftfont.c (struct OpenTypeSpec): Rename members script_tag to | |
15781 | script, langsys_tag to langsys, new member script. | |
15782 | (OTF_TAG_STR): Terminate by '\0'. | |
867d4bb3 | 15783 | (ftfont_get_open_type_spec): If :otf prop is spec, limit the |
aac0c6e3 MR |
15784 | listing to the script specified in that property. Fix arg to |
15785 | OTF_check_features. | |
15786 | ||
15787 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
15788 | ||
15789 | * w32font.h: New file. | |
15790 | ||
15791 | * w32font.c: Include it. | |
15792 | (struct w32font_info): Add owning_frame field. Move to w32font.h. | |
15793 | (w32font_open): Set owning_frame. | |
15794 | (w32font_text_extents): Use owning_frame. | |
15795 | (struct font_callback_data): Add opentype_only field. | |
15796 | (add_font_entity_to_list): Use it to filter fonts. | |
15797 | Don't check against full name. | |
15798 | (w32font_list_internal): New function. | |
15799 | (w32font_list): Use it. | |
15800 | (w32font_match_internal): New function. | |
15801 | (w32font_match): Use it. | |
15802 | (w32font_open_internal): New function. | |
15803 | (w32font_open): Use it. | |
15804 | (w32font_get_cache, w32font_close, w32font_has_char) | |
15805 | (w32font_encode_char, w32font_text_extents, w32font_draw): | |
15806 | Make non-static. | |
15807 | ||
15808 | * makefile.w32-in (w32font.o): Depend on w32font.h. | |
15809 | ||
15810 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
15811 | ||
15812 | * charset.c (Fdefine_charset_internal): Record a supplementary | |
15813 | charset at the tail of Vcharset_order_list. | |
15814 | ||
15815 | * font.c (Ffont_shape_text): Fix the return value. | |
15816 | ||
15817 | * ftfont.c (OTF_SYM_TAG, OTF_TAG_STR): Fix argument names. | |
15818 | ||
15819 | * xdisp.c (handle_auto_composed_prop): Fix previous change. | |
15820 | ||
15821 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
15822 | ||
15823 | * ftfont.c (struct OpenTypeSpec): New struct. | |
15824 | (OTF_SYM_TAG, OTF_TAG_STR): New macros. | |
15825 | (ftfont_get_open_type_spec): New function. | |
15826 | (ftfont_list) [HAVE_LIBOTF]: Check otf-spec property. | |
15827 | ||
15828 | * lread.c (read1): Redo the previous change with checking Vpurify_flag. | |
15829 | ||
15830 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
15831 | ||
15832 | * w32font.c (add_font_entity_to_list): Compare only the beginning | |
15833 | of full name. | |
15834 | ||
15835 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
15836 | ||
15837 | * xdisp.c (handle_auto_composed_prop): Simplify the code. | |
15838 | Never return HANDLED_RECOMPUTE_PROPS. | |
15839 | ||
15840 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
15841 | ||
15842 | * font.c (font_gstring_produce): Delete it. | |
15843 | ||
15844 | * composite.h (COMPOSITION_METHOD): | |
15845 | Handle COMPOSITION_WITH_GLYPH_STRING. | |
15846 | ||
15847 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
15848 | ||
15849 | * xfont.c (Qx): Delete. | |
15850 | (syms_of_xfont): Don't initialize Qx. | |
15851 | ||
15852 | * composite.h (enum composition_method): | |
15853 | Define COMPOSITION_WITH_GLYPH_STRING unconditionally. | |
15854 | ||
15855 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
15856 | ||
15857 | * xfaces.c [HAVE_WINDOW_SYSTEM]: Include "font.h" unconditionally. | |
15858 | (choose_face_font): Accept new form of font-spec. | |
15859 | ||
15860 | * frame.h (font_driver_list): Declare it unconditionally. | |
15861 | (struct frame): Define members font_driver_list and font_data_list | |
15862 | unconditionally. | |
15863 | ||
15864 | * fontset.c: Include "font.h" unconditionally. | |
15865 | (generate_ascii_font_name): Use font_parse_xlfd and font_unparse_xlfd. | |
15866 | (Fset_fontset_font): Accept a font-spec object. | |
15867 | ||
15868 | * font.c (font_unparse_xlfd): If pixel_size is zero, make the | |
15869 | PIXEL_SIZE part a wild card. | |
15870 | ||
15871 | * dispextern.h (struct glyph_string): Define members clip and | |
15872 | num_clips unconditionally. | |
15873 | (struct face): Define members font_info and extra unconditionally. | |
15874 | ||
15875 | * ftfont.c (ftfont_open): Set members maybe_otf and otf of | |
15876 | ftfont_info only when HAVE_LIBOTF is defined. | |
15877 | ||
15878 | 2008-02-01 Andreas Schwab <schwab@suse.de> | |
15879 | ||
15880 | * xdisp.c (back_to_previous_visible_line_start): Fix type of beg | |
15881 | and end. | |
15882 | ||
15883 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
15884 | ||
15885 | * w32font.c (w32font_driver): Add new fields. | |
15886 | ||
15887 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
15888 | ||
15889 | * Makefile.in (ALL_CFLAGS): Add @M17N_FLT_CFLAGS@. | |
15890 | (FONTSRC, FONTOBJ) [HAVE_WINDOW_SYSTEM]: Set them unconditionally. | |
15891 | (LIBES): Add @M17N_FLT_CFLAGS@. | |
15892 | ||
15893 | * composite.c (compose_text): Don't treat the new style | |
15894 | composition specially. | |
15895 | ||
15896 | * emacs.c (main): Call syms_of_font unconditionally. | |
15897 | ||
15898 | * font.h (FONT_ENTITY_NOT_LOADABLE) | |
15899 | (FONT_ENTITY_SET_NOT_LOADABLE): New macros. | |
15900 | (LGSTRING_XXXX, LGLYPH_XXX): Adjust for the change of lispy gstring. | |
15901 | (struct font_driver): New member shape. | |
15902 | (font_registry_charsets): Extern it. | |
15903 | (font_find_for_lface, font_prepare_composition): Adjust prototype. | |
15904 | (font_otf_capability, font_drive_otf): Delete their externs. | |
15905 | ||
15906 | * font.c [HAVE_M17N_FLT]: Include <m17n-flt.h>. | |
15907 | (font_charset_alist, font_registry_charsets): Move from xfont.c | |
15908 | and rename. | |
15909 | (font_prop_validate_otf): New function. | |
15910 | (font_property_table): Register it for QCotf. | |
15911 | (DEVICE_DELTA, adjust_anchor, REPLACEMENT_CHARACTER) | |
15912 | (font_drive_otf): Delete. | |
15913 | (font_prepare_composition): New arg F. Adjust for the change of | |
15914 | lispy gstring. | |
15915 | (font_find_for_lface): New arg C. | |
15916 | (font_load_for_face): Adjust for the change of font_find_for_lface. | |
15917 | (Ffont_make_gstring, Ffont_fill_gstring): Adjust for the change of | |
15918 | lispy gstring. | |
15919 | (Ffont_shape_text): New function. | |
15920 | (Fopen_font): If the font size is not given, use 12-pixel. | |
15921 | (Ffont_at): New arg STRING. | |
15922 | (syms_of_font): Initalize font_charset_alist. | |
15923 | Declare Ffont_shape_text as a Lisp function. Call syms_of_XXfont | |
15924 | conditionally. | |
15925 | ||
15926 | * fontset.c (fontset_find_font) [USE_FONT_BACKEND]: Try multiple | |
15927 | fonts of the same font-spec. Change the format of RFONT-DEF. | |
15928 | (face_for_char, make_fontset_for_ascii_face, Finternal_char_font): | |
15929 | Adjust for the change of RFONT-DEF. | |
15930 | (Fset_fontset_font) [USE_FONT_BACKEND]: Handle new format of font-spec. | |
15931 | ||
15932 | * ftfont.h: New file. | |
15933 | ||
15934 | * ftfont.c: Don't include Freetype headers. Include "ftfont.h". | |
15935 | (struct ftfont_info) [HAVE_LIBOTF]: New members maybe_otf and otf. | |
15936 | (ftfont_open) [HAVE_LIBOTF]: Initialize the above members. | |
15937 | (ftfont_driver) [HAVE_LIBOTF, HAVE_M17N_FLT]: Don't set | |
15938 | font_otf_capability and font_drive_otf, set ftfont_shape. | |
15939 | (ftfont_list): Adjust for the change of :otf property value. | |
15940 | (struct MFLTFontFT) [HAVE_LIBOTF, HAVE_M17N_FLT]: New struct. | |
15941 | (ftfont_get_glyph_id, ftfont_get_metrics, ftfont_check_otf) | |
15942 | (adjust_anchor, ftfont_drive_otf, ftfont_shape_by_flt) | |
15943 | (ftfont_shape) [HAVE_LIBOTF, HAVE_M17N_FLT]: New function. | |
15944 | (DEVICE_DELTA) [HAVE_LIBOTF, HAVE_M17N_FLT]: New macro. | |
15945 | (otf_gstring, gstring, m17n_flt_initialized): New variables. | |
15946 | ||
15947 | * w32term.c (x_draw_composite_glyph_string_foreground): | |
15948 | Adjust for the change of lispy gstring. | |
15949 | ||
15950 | * xdisp.c (handle_composition_prop): Adjust for the change of | |
15951 | lispy gstring. Call a function for auto-composition with the | |
15952 | third arg it->window. | |
15953 | (fill_composite_glyph_string): Adjust for the change of lispy string. | |
15954 | (x_produce_glyphs): Adjust for the change of font_prepare_compositionl. | |
15955 | ||
15956 | * xfaces.c (set_font_frame_param): Adjust for the change of | |
15957 | font_find_for_lface. | |
15958 | ||
15959 | * xfont.c (x_font_charset_alist): Move to font.c and rename. | |
15960 | (xfont_registry_charsets): Likewise. Change caller. | |
15961 | (syms_of_xfont): Don't handle x_font_charset_alist. | |
15962 | ||
15963 | * xftfont.c: Include "ftfont.h". | |
15964 | (struct xftfont_info) [HAVE_LIBOTF]: New members maybe_otf and otf. | |
15965 | (xftfont_open) [HAVE_LIBOTF]: Initialize the above members. | |
15966 | (xftfont_close) [HAVE_LIBOTF]: Close otf. | |
15967 | (xftfont_shape) [HAVE_LIBOTF, HAVE_M17N_FLT]: New function. | |
15968 | (syms_of_xftfont) [HAVE_LIBOTF, HAVE_M17N_FLT]: | |
15969 | Set xftfont_driver.shape to xftfont_shape. | |
15970 | ||
15971 | * xterm.c (x_draw_composite_glyph_string_foreground): Adjust for | |
15972 | the change of lispy gstring. | |
15973 | ||
15974 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
15975 | ||
15976 | * ftxfont.c (ftxfont_end_for_frame): Fix array indexing error. | |
15977 | ||
15978 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
15979 | ||
15980 | * w32font.c (w32font_draw): Fill background manually. | |
15981 | ||
15982 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
15983 | ||
15984 | * font.c (Qfontp): Remove unused symbol. | |
15985 | (QCantialias): New symbol. | |
15986 | (syms_of_font): Define it. | |
15987 | (font_property_table): Set a validator for QCantialias. | |
15988 | ||
15989 | * w32font.c (CLEARTYPE_QUALITY, CLEARTYPE_NATURAL_QUALITY): | |
15990 | Define if not already. | |
15991 | (QCfamily): Share with xfaces.c. | |
15992 | (Qstandard, Qsubpixel, Qnatural): New symbols. | |
15993 | (syms_of_w32font): Define them. Don't define QCfamily here. | |
15994 | (w32_antialias_type, lispy_antialias_type): New functions. | |
15995 | (w32_enumfont_pattern_entity): New arg requested_font. | |
15996 | Set antialias parameter if non-default was requested. | |
15997 | (fill_in_logfont): Fill in lfQuality if :antialias specified. | |
15998 | ||
15999 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
16000 | ||
16001 | * lread.c (read1): Undo the previous change. | |
16002 | ||
16003 | 2008-02-01 CHENG Gao <chenggao@gmail.com> (tiny change) | |
16004 | ||
16005 | * frame.c (Fdelete_frame): Call font_update_drivers only when | |
16006 | USE_FONT_BACKEND is defined. | |
16007 | ||
16008 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
16009 | ||
16010 | * font.h (struct font_bitmap): New member bits_per_pixel. | |
16011 | (struct font_driver): New members start_for_frame and end_for_frame. | |
16012 | (struct font_data_list): New struct. | |
16013 | (font_put_frame_data, font_get_frame_data): Extern them. | |
16014 | ||
16015 | * frame.h (struct frame): New member font_data_list. | |
16016 | ||
16017 | * font.c (font_update_drivers): Call driver->start_for_frame and | |
16018 | driver->end_for_frame at proper timings. | |
16019 | (font_put_frame_data, font_get_frame_data): New functions. | |
16020 | (Ffont_spec): Add usage in the docstring. | |
16021 | ||
16022 | * frame.c (make_frame): Initialize f->font_data_list to NULL. | |
16023 | (Fdelete_frame): Call font_update_drivers. | |
16024 | ||
16025 | * xftfont.c (struct xftface_info): Delete the member xft_draw. | |
16026 | (xftfont_prepare_face, xftfont_done_face): Adjust for the above change. | |
16027 | (xftfont_get_xft_draw): New function. | |
16028 | (xftfont_draw): Get XftDraw by xftfont_get_xft_draw. | |
16029 | (xftfont_end_for_frame): New function. | |
16030 | (syms_of_xftfont): Set xftfont_driver.end_for_frame. | |
16031 | ||
16032 | * ftxfont.c (ftxfont_get_gcs): Rename from ftxfont_create_gcs. | |
16033 | Change argument. Cache GCs in the per-frame data. | |
16034 | (struct ftxfont_frame_data): New struct. | |
16035 | (ftxfont_draw_bitmap): New arg gc_fore and flush. | |
16036 | (ftxfont_prepare_face, ftxfont_done_face): Delete them. | |
16037 | (ftxfont_draw): Get GCs by ftxfont_get_gcs. Reflect s->clip in GCs. | |
16038 | (ftxfont_end_for_frame): New function. | |
16039 | (syms_of_ftxfont): Set ftxfont_driver.end_for_frame. | |
16040 | ||
16041 | * ftfont.c (ftfont_get_bitmap): Set bitmap->bits_per_pixel. | |
16042 | ||
16043 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16044 | ||
16045 | * xselect.c (Vselection_coding_system) | |
16046 | (Vnext_selection_coding_system): Delete them. | |
16047 | (syms_of_xselect): Don't declare selection-coding-system and | |
16048 | next-selection-coding-system. They are declared in select.el. | |
16049 | ||
16050 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
16051 | ||
16052 | * w32term.h (WM_UNICHAR, UNICODE_NOCHAR): Define if not already. | |
16053 | ||
16054 | * w32fns.c: Include imm.h. | |
16055 | (get_composition_string_fn, get_ime_context_fn): New optional | |
16056 | system functions. | |
16057 | (globals_of_w32fns): Load them from imm32.dll. | |
16058 | (ignore_ime_char): New flag. | |
16059 | (w32_wnd_proc): Handle WM_UNICHAR, WM_IME_CHAR and | |
16060 | WM_IME_ENDCOMPOSITION messages. | |
16061 | ||
16062 | * w32term.c (w32_read_socket) [WM_UNICHAR]: Handle as | |
16063 | MULTIBYTE_CHAR_KEYSTROKE_EVENT. | |
16064 | ||
16065 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
16066 | ||
16067 | * lread.c (READCHAR): Call readchar with the 2nd arg NULL. | |
16068 | (READCHAR_REPORT_MULTIBYTE): New macro. | |
16069 | (readchar): New 2nd arg MULTIBYTE. | |
16070 | (read1): Use READCHAR_REPORT_MULTIBYTE for the first read. | |
16071 | Make symbol's name multibyte according to the multibyteness of the | |
16072 | source. | |
16073 | ||
16074 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
16075 | ||
16076 | * xfaces.c (face_for_overlay_string): Call lookup_face with | |
16077 | correct arguments (fix of synching with the trunk). | |
16078 | ||
16079 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16080 | ||
16081 | * font.c (font_prop_validate_symbol, font_prop_validate_style) | |
16082 | (font_prop_validate_non_neg, font_prop_validate_spacing): | |
16083 | Delete argument prop_index. | |
16084 | (font_property_table): Change arguments to validater. Change Callers. | |
16085 | (font_lispy_object): Delete. | |
16086 | (font_at): Use font_find_object instead fo font_lispy_object. | |
16087 | ||
16088 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
16089 | ||
16090 | * fileio.c (Fexpand_file_name): Adjust multibyteness of directory | |
16091 | and file names. | |
16092 | ||
16093 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
16094 | ||
16095 | * w32font.c (add_font_name_to_list): Avoid vertical fonts. | |
16096 | (font_matches_spec): Remove debug output. | |
16097 | (add_font_entity_to_list): Avoid using substituted fonts. | |
16098 | ||
16099 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
16100 | ||
16101 | * doc.c (Fsnarf_documentation): | |
16102 | * Makefile.in (temacs${EXEEXT}, mostlyclean): Undo last change. | |
16103 | ||
16104 | 2008-02-01 Miles Bader <miles@gnu.org> | |
16105 | ||
16106 | * dispextern.h (struct glyph_row): Only define "clip" field if | |
16107 | HAVE_WINDOW_SYSTEM is defined. | |
16108 | ||
16109 | 2008-02-01 Stefan Monnier <monnier@iro.umontreal.ca> | |
16110 | ||
16111 | Fix up multi-tty merge. | |
16112 | ||
16113 | * xterm.c (handle_one_xevent): Remove duplicate code and fix up nesting | |
16114 | and indentation. | |
16115 | ||
16116 | * xfaces.c (free_realized_face, clear_face_gcs): | |
16117 | Include font_done_for_face in the input_blocked section, just in case. | |
16118 | ||
16119 | * xdisp.c (decode_mode_spec): Use terminal-local coding systems. | |
16120 | (get_char_face_and_encoding): Undo last change and remove the *other* | |
16121 | duplicate definition (i.e. keep the one that's better scoped and that | |
16122 | includes code for the font-backend). | |
16123 | ||
16124 | * terminal.c (create_terminal): Default keyboard_coding to | |
16125 | `no-conversion' and terminal_coding to `undecided'. | |
16126 | ||
16127 | * lread.c (read1): Use XSETPVECTYPE to set a pseudovector's tag. | |
16128 | ||
16129 | * fontset.c (free_realized_fontsets): Check that the table entry does | |
16130 | contain a fontset before trying to compare it to `base'. | |
16131 | ||
16132 | * emacs.c (main): Move syms_of_data, syms_of_fileio, syms_of_alloc, | |
16133 | syms_of_charset, and syms_of_coding earlier because init_window_once | |
16134 | now needs Vcoding_system_hash_table to be setup. | |
16135 | ||
16136 | * coding.h (default_buffer_file_coding): Remove. | |
16137 | ||
16138 | * coding.c (default_buffer_file_coding): Remove. | |
16139 | (Fterminal_coding_system, Fkeyboard_coding_system): Use ->id rather | |
16140 | than ->symbol, and use the terminal-local coding system. | |
16141 | (syms_of_coding): Don't setup the coding-systems that are not | |
16142 | terminal-local. | |
16143 | (Fdefine_coding_system_internal): Use XCAR/XCDR. | |
16144 | ||
16145 | * chartab.c (Fmake_char_table, make_sub_char_table, copy_char_table): | |
16146 | Use XSETPVECTYPE now that XSETCHAR_TABLE doesn't set the tag anymore. | |
16147 | ||
16148 | * alloc.c (Fmake_char_table, make_sub_char_table): Remove. They're now | |
16149 | in chartab.c and were re-added here by mistake. | |
16150 | (Fpurecopy): Use XSETPVECTYPE after copying a COMPILED pseudovector. | |
16151 | ||
16152 | * doc.c (Fsnarf_documentation): | |
16153 | * Makefile.in (temacs${EXEEXT}, mostlyclean): Move buildobj.lst from | |
16154 | src to etc. | |
16155 | ||
16156 | * ChangeLog.10: Add mistakenly removed entry. | |
16157 | ||
16158 | 2008-02-01 Dan Nicolaescu <dann@ics.uci.edu> | |
16159 | ||
16160 | * Makefile.in (fringe.o, minibuf.o): Fix dependencies. | |
16161 | ||
16162 | 2008-02-01 Miles Bader <miles@gnu.org> | |
16163 | ||
16164 | * xdisp.c (get_char_face_and_encoding): Remove extraneous definition. | |
16165 | Add extra args to FACE_FOR_CHAR. | |
16166 | ||
16167 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16168 | ||
16169 | * keymap.c (where_is_internal_1): If key is a cons, store the copy | |
16170 | in sequence. | |
16171 | ||
16172 | * chartab.c (map_sub_char_table, map_char_table): If the range | |
16173 | contains just one character, call the function with that character | |
16174 | even if the depth is not 3. | |
16175 | ||
16176 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
16177 | ||
16178 | * w32font.c (w32font_text_extents): Calculate metrics for the | |
16179 | whole string. | |
16180 | ||
16181 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
16182 | ||
16183 | * w32xfns.c (get_next_msg): Consolidate WM_PAINT messages. | |
16184 | ||
16185 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
16186 | ||
16187 | * w32term.c (x_set_glyph_string_clipping): Use | |
16188 | get_glyph_string_clip_rects. | |
16189 | (x_set_glyph_string_clipping_exactly, x_draw_glyph_string): | |
16190 | Adjust for the change of struct glyph_string. | |
16191 | ||
16192 | * w32font.c (w32font_draw): Do clipping here. | |
16193 | ||
16194 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16195 | ||
16196 | * xftfont.c (xftfont_draw): Adjust for the change of struct | |
16197 | glyph_string. | |
16198 | ||
16199 | * xterm.c (x_set_glyph_string_clipping): Use | |
16200 | get_glyph_string_clip_rects. | |
16201 | (x_set_glyph_string_clipping_exactly, x_draw_glyph_string): | |
16202 | Adjust for the change of struct glyph_string. | |
16203 | ||
16204 | * xdisp.c (get_glyph_string_clip_rects): Reflect s->row->clip to | |
16205 | the resulting clip(s}. | |
16206 | (expose_overlaps): Add arg r. Change callers. Set it to | |
16207 | row->clip temporarily. | |
16208 | (expose_window): Redraw rows overlapping the exposed area. | |
16209 | ||
16210 | * dispextern.h (struct glyph_row): New member clip. | |
16211 | (struct glyph_string): Delete members clip_x, clip_y, clip_width, | |
16212 | clip_height, new member clip, and num_clips. | |
16213 | ||
16214 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16215 | ||
16216 | * data.c (Fchar_or_string_p): Fix docstring. | |
16217 | ||
16218 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16219 | ||
16220 | * xftfont.c (xftfont_draw): If s->font_info != s->face->font_info, | |
16221 | create a temporary XftDraw object. | |
16222 | ||
16223 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16224 | ||
16225 | * font.c (Ffontp): Fix docstring. | |
16226 | ||
16227 | * coding.c (detect_coding_iso_2022): Don't treat SI/SO codes as a | |
16228 | strong evidence of ISO-2022. | |
16229 | ||
16230 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16231 | ||
16232 | * abbrev.c (abbrev_check_chars): Use CHAR_TABLE_REF, not | |
16233 | SYNTAX_ENTRY_FOLLOW_PARENT. | |
16234 | ||
16235 | 2008-02-01 Stefan Monnier <monnier@iro.umontreal.ca> | |
16236 | ||
16237 | * fns.c (weak_hash_tables): Rename from Vweak_hash_tables and change | |
16238 | its type. | |
16239 | (make_hash_table, copy_hash_table, sweep_weak_hash_tables, init_fns): | |
16240 | Update to the new type of weak_hash_tables and next_weak. | |
16241 | ||
16242 | * lisp.h (struct Lisp_Hash_Table): Change next_weak from Lisp_Object to | |
16243 | a plain C pointer to Lisp_Hash_Table. | |
16244 | ||
16245 | * lisp.h (XGCTYPE, GC_HASH_TABLE_P, GC_NILP, GC_NUMBERP, GC_NATNUMP) | |
16246 | (GC_INTEGERP, GC_SYMBOLP, GC_MISCP, GC_VECTORLIKEP, GC_STRINGP) | |
16247 | (GC_CONSP, GC_FLOATP, GC_VECTORP, GC_OVERLAYP, GC_MARKERP) | |
16248 | (GC_INTFWDP, GC_BOOLFWDP, GC_OBJFWDP, GC_BUFFER_OBJFWDP) | |
16249 | (GC_BUFFER_LOCAL_VALUEP, GC_SOME_BUFFER_LOCAL_VALUEP) | |
16250 | (GC_KBOARD_OBJFWDP, GC_PSEUDOVECTORP, GC_WINDOW_CONFIGURATIONP) | |
16251 | (GC_PROCESSP, GC_WINDOWP, GC_SUBRP, GC_COMPILEDP, GC_BUFFERP) | |
16252 | (GC_SUB_CHAR_TABLE_P, GC_CHAR_TABLE_P, GC_BOOL_VECTOR_P, GC_FRAMEP) | |
16253 | (GC_EQ): Remove since they've been identical to their non-GC_ | |
16254 | alter-egos ever since the markbit was eradicated. | |
16255 | ||
16256 | * alloc.c: | |
16257 | * buffer.c: | |
16258 | * buffer.h: | |
16259 | * data.c: | |
16260 | * fileio.c: | |
16261 | * filelock.c: | |
16262 | * fns.c: | |
16263 | * frame.h: | |
16264 | * lisp.h: | |
16265 | * macterm.c: | |
16266 | * print.c: | |
16267 | * process.c: | |
16268 | * w32fns.c: | |
16269 | * w32menu.c: | |
16270 | * w32term.c: | |
16271 | * xfns.c: | |
16272 | * xmenu.c: | |
16273 | * xterm.c: Replace uses of GC_* macros with the non-GC_ versions. | |
16274 | ||
16275 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16276 | ||
16277 | * chartab.c (map_sub_char_table): Make it work for the top-level | |
16278 | char-table. Fix handling of parent char-table. | |
16279 | (map_char_table): Adjust for the above change. | |
16280 | ||
16281 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
16282 | ||
16283 | * w32font.c (Qgdi): Rename from Qw32. | |
16284 | ||
16285 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
16286 | ||
16287 | * w32bdf.c (get_quoted_string): Make function static. | |
16288 | ||
16289 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16290 | ||
16291 | * xftfont.c (xftfont_open): If one of font's ASCII glyph has | |
16292 | bigger ascent and descent than those of the font, use them as | |
16293 | font's ascent and descent. | |
16294 | ||
16295 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16296 | ||
16297 | * Makefile.in (${lispsource}international/charprop.el): Move this | |
16298 | target within "#ifdef HAVE_UNIDATA" and "#endif". | |
16299 | ||
16300 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16301 | ||
16302 | * Makefile.in (lisp): Add ${lispsource}language/tai-viet.el. | |
16303 | (shortlisp): Add ../lisp/language/tai-viet.el. | |
16304 | ||
16305 | 2008-02-01 Ulrich Mueller <ulm@gentoo.org> | |
16306 | ||
16307 | * Makefile.in (${lispsource}international/charprop.el): Depend on | |
16308 | temacs${EXEEXT}. | |
16309 | ||
16310 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
16311 | ||
16312 | * w32font.c (w32font_close): Delete the GDI font object. | |
16313 | ||
16314 | * w32menu.c: Include character.h. | |
16315 | ||
16316 | * w32proc.c: Likewise. | |
16317 | ||
16318 | * w32select.c: Likewise. | |
16319 | ||
16320 | * makefile.w32-in (w32proc.o): Depend on character.h. | |
16321 | ||
16322 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
16323 | ||
16324 | * w32fns.c (syms_of_w32fns): Use DEFSYM macro. | |
16325 | ||
16326 | * w32menu.c (syms_of_w32menu): Likewise. | |
16327 | ||
16328 | * w32proc.c (syms_of_ntproc): Likewise. | |
16329 | ||
16330 | * w32select.c (syms_of_w32select): Likewise. | |
16331 | ||
16332 | * w32term.c (syms_of_w32term): Likewise. | |
16333 | ||
16334 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
16335 | ||
16336 | * w32font.c (w32font_draw): Delete brush after using it. | |
16337 | ||
16338 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
16339 | ||
16340 | * w32font.c (w32font_open): Don't set font_idx. | |
16341 | (w32font_text_extents): Try GetTextExtentPoint32W before defaulting | |
16342 | to font settings. | |
16343 | (w32font_draw): Fill background explicitly. | |
16344 | ||
16345 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
16346 | ||
16347 | * w32term.c (w32_initialize): Don't call w32font_initialize. | |
16348 | ||
16349 | * w32font.c (w32font_info): Remove subranges. | |
16350 | (QCsubranges, Qmodern, Qswiss, Qroman): Remove. | |
16351 | (QCfamily, Qmonospace, Qsans_serif, Qmono, Qsans, Qsans__serif) | |
16352 | (Qraster, Qoutline, Qlatin, Qgreek, Qcoptic, Qcyrillic, Qarmenian) | |
16353 | (Qhebrew, Qarabic, Qsyriac, Qnko, Qthaana, Qdevanagari, Qbengali) | |
16354 | (Qgurmukhi, Qgujarati, Qoriya, Qtamil, Qtelugu, Qkannada) | |
16355 | (Qmalayalam, Qsinhala, Qthai, Qlao, Qtibetan, Qmyanmar, Qgeorgian) | |
16356 | (Qhangul, Qethiopic, Qcherokee, Qcanadian_aboriginal, Qogham) | |
16357 | (Qrunic, Qkhmer, Qmongolian, Qsymbol, Qbraille, Qhan) | |
16358 | (Qideographic_description, Qcjk_misc, Qkana, Qbopomofo, Qkanbun) | |
16359 | (Qyi, Qbyzantine_musical_symbol, Qmusical_symbol, Qmathematical): | |
16360 | New symbols. | |
16361 | (font_callback_data): New struct. | |
16362 | (w32font_list, w32font_match): Use it. | |
16363 | (w32font_open): Don't populate subranges. | |
16364 | (w32font_has_char): Use script Lisp symbols, not subrange bitmask. | |
16365 | (w32font_encode_char): Always return unicode code-point as-is. | |
16366 | (w32font_text_extents): Supply a transformation matrix to | |
16367 | GetGlyphOutline. Never look up by glyph index. Avoid looping | |
16368 | twice. Use unicode version of GetTexExtentPoint32 instead of | |
16369 | glyph index version. | |
16370 | (set_fonts_frame): Remove. | |
16371 | (w32_enumfont_pattern_entity): Add frame parameter, use it to | |
16372 | set frame parameter. Use backward compatible fake foundries. | |
16373 | Save generic family in extra slot under QCfamily. Make width slot | |
16374 | constant. Save QCspacing value. Save list of scripts instead of | |
16375 | binary subranges. | |
16376 | (w32_generic_family, logfonts_match, font_matches_spec): New functions. | |
16377 | (add_font_entity_to_list): Use font_callback_data struct. Filter | |
16378 | unwanted fonts. | |
16379 | (add_one_font_entity_to_list): Use font_callback_data struct. | |
16380 | (w32_registry): Default to iso10646_1. | |
16381 | (fill_in_logfont): Use dpi from extra slot. Don't bother with | |
16382 | string font registries. Don't fill in font name if it is a generic | |
16383 | family name, fill family instead. Use spacing, family and script | |
16384 | extra info to fill pitch, family and charset fields. | |
16385 | (list_all_matching_fonts): Use font_callback_data struct. | |
16386 | (unicode_range_for_char): Remove. | |
16387 | (font_supported_scripts): New function. | |
16388 | (w32font_initialize): Remove. | |
16389 | (syms_of_w32font): Update which symbols are defined. | |
16390 | ||
16391 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
16392 | ||
16393 | * font.c (font_pixel_size): Reverse assq_no_quit args. | |
16394 | ||
16395 | * w32term.h (FONT_WIDTH): Report max width, not average. | |
16396 | (FONT_MAX_WIDTH): Remove. | |
16397 | (FONT_AVG_WIDTH): New macro. | |
16398 | ||
16399 | * xfaces.c (Fx_list_fonts) [WINDOWSNT]: Remove Windows only | |
16400 | redefinition of FONT_WIDTH. | |
16401 | ||
16402 | * w32term.c (x_font_min_bounds): Use FONT_AVG_WIDTH. | |
16403 | (w32_cache_char_metrics): Use FONT_WIDTH. | |
16404 | ||
16405 | * w32fns.c (w32_load_system_font, w32_list_fonts): Use FONT_AVG_WIDTH. | |
16406 | ||
16407 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
16408 | ||
16409 | * w32font.c (w32font_open): Make lfHeight negative. | |
16410 | ||
16411 | * w32fns.c (x_default_font_parameter): Use new style font name. | |
16412 | (Fx_create_frame, x_create_tip_frame): Initialize resx and resy. | |
16413 | ||
16414 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
16415 | ||
16416 | * w32font.c (QCsubranges): New symbol. | |
16417 | (w32font_open, w32font_has_char): Get subranges from subproperty | |
16418 | of extra. | |
16419 | (w32_enumfont_pattern_entity): Set subranges as subproperty of extra. | |
16420 | (syms_of_w32font): Define :subranges symbol. | |
16421 | ||
16422 | * font.c (font_put_extra): Expose externally. | |
16423 | ||
16424 | * font.h (font_put_extra): Move declaration from font.c. | |
16425 | ||
16426 | * font.c (Ffont_get): Use font driver to determine otf capability. | |
16427 | (adjust_anchor): Check if driver defines anchor_point before using. | |
16428 | ||
16429 | * w32font.c (w32font_open): Handle size, height and pixel_size better. | |
16430 | (w32font_draw): Use options. | |
16431 | (w32_enumfont_pattern_entity): Set size to 0 for scalable fonts. | |
16432 | Fix detection of truetype fonts. | |
16433 | (registry_to_w32_charset): Handle charsets other than iso8859-1 | |
16434 | expressed as lisp symbols. | |
16435 | (w32_registry): Express charset as lisp symbol. | |
16436 | (fill_in_logfont): Reverse pixel and point height logic. | |
16437 | Don't set width here. Set quality to default. | |
16438 | ||
16439 | * w32fns.c (w32_load_system_font): Fix detecting FIXED_PITCH fonts. | |
16440 | (x_to_w32_font): Fill in lfPitchAndFamily correctly. | |
16441 | ||
16442 | * xterm.c (x_draw_glyph_string_foreground) [USE_FONT_BACKEND]: | |
16443 | Remove redundant loop and allocation. | |
16444 | ||
16445 | * makefile.w32-in (font.o, w32font.o): New objects. | |
16446 | (fontset.o, xdisp.o, xfaces.o, w32fns.o, w32term.o): Depend on font.h. | |
16447 | (FONTOBJ): New group of objects conditioned on USE_FONT_BACKEND. | |
16448 | ||
16449 | * xdisp.c (fill_composite_glyph_string): Make the first arg to | |
16450 | STORE_XCHARB a valid l-value. | |
16451 | ||
16452 | * w32term.c (w32_native_per_char_metric): Swap width and rbearing | |
16453 | calculations for non-Truetype fonts. | |
16454 | (x_draw_glyph_string): Sync with xterm.c. | |
16455 | (x_draw_glyph_string_foreground) [USE_FONT_BACKEND]: | |
16456 | Remove redundant code. | |
16457 | (w32_initialize) [USE_FONT_BACKEND]: Call w32font_initialize. | |
16458 | ||
16459 | * w32term.h (w32_output_data) [USE_FONT_BACKEND]: Add fontp member. | |
16460 | (FRAME_FONT_OBJECT) [USE_FONT_BACKEND]: New macro from xterm.h. | |
16461 | ||
16462 | * w32fns.c [USE_FONT_BACKEND]: Port font backend changes from xfns.c. | |
16463 | (x_to_w32_charset, w32_to_x_charset): Expose externally. | |
16464 | ||
16465 | * w32font.c: New file for w32 font backend. | |
16466 | ||
16467 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16468 | ||
16469 | * term.c: Don't include "buffer.h" twice. | |
16470 | ||
16471 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16472 | ||
16473 | * character.c (Funibyte_string): New function. | |
16474 | (syms_of_character): Defsubr it. | |
16475 | ||
16476 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
16477 | ||
16478 | * w32term.c [USE_FONT_BACKEND]: | |
16479 | (x_get_font_repertory, note_mouse_movement, x_set_mouse_face_gc) | |
16480 | (x_set_glyph_string_clipping, x_set_glyph_string_clipping_exactly) | |
16481 | (x_draw_glyph_string, x_draw_glyph_string_foreground) | |
16482 | (x_draw_composite_glyph_string_foreground, x_new_fontset2) | |
16483 | (x_free_frame_resources): Sync with xterm.c. | |
16484 | ||
16485 | 2008-02-01 Andreas Schwab <schwab@suse.de> | |
16486 | ||
16487 | * lread.c (read1): Use CHAR_TABLE_STANDARD_SLOTS to validate | |
16488 | char-table size. | |
16489 | ||
16490 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16491 | ||
16492 | * font.c (check_otf_features): Define it regardless of HAVE_LIBOTF. | |
16493 | ||
16494 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16495 | ||
16496 | * ftfont.c (ftfont_driver): Delete font_otf_gsub and | |
16497 | font_otf_gpos, add font_drive_otf. | |
16498 | ||
16499 | * fontset.c (fontset_find_font): Pay attention to font size | |
16500 | specified for a font. | |
16501 | (reorder_font_vector): Check contents of font_def. | |
16502 | ||
16503 | * font.c (struct otf_list): Delete it. | |
16504 | (otf_list): Make it a lisp variable. | |
16505 | (otf_open): Use lispy otf_list. | |
16506 | (generate_otf_features): Rename from parse_gsub_gpos_spec. | |
16507 | (check_otf_features): New function. | |
16508 | (font_otf_DeviceTable, font_otf_ValueRecord, font_otf_Anchor): | |
16509 | New functions. | |
16510 | (font_drive_otf): New function merging font_otf_gsub and | |
16511 | font_otf_gpos. | |
16512 | (font_open_for_lface): New arg spec. Change argument order. | |
16513 | (font_load_for_face): Adjust for the change of font_open_for_lface. | |
16514 | (Ffont_drive_otf): New function merging Ffont_otf_gsub and | |
16515 | Ffont_otf_gpos. | |
16516 | (syms_of_font): Staticpro otf_list. Delete defsubr of | |
16517 | Sfont_otf_gsub and Sfont_otf_gpos. Defsubr Sfont_drive_otf. | |
16518 | ||
16519 | * xfaces.c (set_font_frame_param): Adjust for the change of | |
16520 | font_open_for_lface. | |
16521 | ||
16522 | * font.h (font_open_for_lface): Adjust prototype. | |
16523 | (struct font_driver): Delete members otf_gsub and otf_gpos, add | |
16524 | member otf_drive. | |
16525 | (font_otf_gsub, font_otf_gpos): Delete externs. | |
16526 | (font_drive_otf): Extern it. | |
16527 | ||
16528 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16529 | ||
16530 | * font.c (font_at): If the window W is not on a window system, | |
16531 | return Qnil. | |
16532 | ||
16533 | * coding.c (produce_chars, encode_coding): Don't call | |
16534 | insert_from_gap if no characters to produce. | |
16535 | ||
16536 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16537 | ||
16538 | * fontset.c (free_realized_fontsets): Avoid unnecessary call of | |
16539 | Fclear_face_cache. | |
16540 | ||
16541 | * xfaces.c (face_for_font): Check also face->font==font->font.font. | |
16542 | ||
16543 | 2008-02-01 Miles Bader <miles@gnu.org> | |
16544 | ||
16545 | * emacs.c (main): Change default value of `enable_font_backend' to 1. | |
16546 | Parse "--disable-font-backend" option. | |
16547 | (standard_args): Add "--disable-font-backend" option. | |
16548 | ||
16549 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16550 | ||
16551 | * fontset.c (fontset_find_font): New function. | |
16552 | (fontset_font): Use fontset_find_font. | |
16553 | (make_fontset_for_ascii_face): Don't set face ID in rfont_def. | |
16554 | Register the specified font for all Latin characters. | |
16555 | (new_fontset_from_font): Register the specified font for all Latin | |
16556 | characters. | |
16557 | (dump_fontset): For a realized fontset, include the base fontset | |
16558 | name in the returned vector. | |
16559 | ||
16560 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16561 | ||
16562 | * character.h (CHAR_STRING): Cast C to unsigned on calling | |
16563 | char_string. | |
16564 | ||
16565 | * character.c (char_string): Type of arg C changed to unsigned. | |
16566 | Signal an error if C is an invalid character code. | |
16567 | ||
16568 | * editfns.c (general_insert_function, Fchar_to_string): | |
16569 | Use CHARACTERP, not INTEGERP. | |
16570 | ||
16571 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16572 | ||
16573 | * character.h (MIN_MULTIBYTE_LEADING_CODE) | |
16574 | (MAX_MULTIBYTE_LEADING_CODE): New macros. | |
16575 | ||
16576 | * regex.c (analyse_first): Fix for multibyte characters in "case | |
16577 | charset:" and "case categoryspec:". | |
16578 | ||
16579 | 2008-02-01 Andreas Schwab <schwab@suse.de> | |
16580 | ||
16581 | * Makefile.in (LIBES): Move standard libraries to the end. | |
16582 | ||
16583 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16584 | ||
16585 | * alloc.c (Fgarbage_collect): If nextb->text->inhibit_shrinking is | |
16586 | nonzero, don't shrink the buffer nextb. | |
16587 | ||
16588 | * buffer.h (struct buffer_text): New member inhibit_shrinking. | |
16589 | ||
16590 | * coding.c (coding_alloc_by_making_gap): New arg offset. | |
16591 | (alloc_destination): Call coding_alloc_by_making_gap with the arg | |
16592 | offset. | |
16593 | (decode_coding_iso_2022): Update coding->safe_charsets. | |
16594 | (decode_coding_gap): Temporarily set | |
16595 | current_buffer->text->inhibit_shrinking to 1. | |
16596 | ||
16597 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16598 | ||
16599 | * xterm.c (x_draw_composite_glyph_string_foreground): Fix | |
16600 | indexing into elements of s->cmp and s->char2b. | |
16601 | ||
16602 | 2008-02-01 Juanma Barranquero <lekktu@gmail.com> | |
16603 | ||
16604 | * regex.c (RE_STRING_CHAR_AND_LENGTH) [! emacs]: Add missing arg `len'. | |
16605 | ||
16606 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16607 | ||
16608 | * regex.c (GET_CHAR_BEFORE_2, GET_CHAR_AFTER): Check the variable | |
16609 | target_multibyte instead of multibyte. | |
16610 | (re_match_2_internal): Call bcmp_translate with target_multibyte. | |
16611 | (bcmp_translate): Change the argument name from multibyte to | |
16612 | target_multibyte. | |
16613 | ||
16614 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16615 | ||
16616 | These changes are to compile a regexp into a pattern that can be | |
16617 | used both for multibyte and unibyte targets. | |
16618 | ||
16619 | * Makefile.in (search.o): Depend on charset.h. | |
16620 | ||
16621 | * character.c (multibyte_char_to_unibyte_safe): New function. | |
16622 | ||
16623 | * search.c: Include "charset.h". | |
16624 | (compile_pattern_1): Delete argument multibyte. Don't set | |
16625 | cp->buf.target_multibyte here. Set cp->buf.charset_unibyte. | |
16626 | (compile_pattern): Don't compare cp->buf.target_multibyte. | |
16627 | Compare cp->buf.charset_unibyte. | |
16628 | (compile_pattern): Set cp->buf.target_multibyte. | |
16629 | ||
16630 | * lisp.h (multibyte_char_to_unibyte_safe): Extern it. | |
16631 | ||
16632 | * regex.h (struct re_pattern_buffer): New member charset_unibyte. | |
16633 | ||
16634 | * regex.c (RE_STRING_CHAR, RE_STRING_CHAR_AND_LENGTH): New arg | |
16635 | multibyte. Change callers. | |
16636 | (RE_CHAR_TO_MULTIBYTE, RE_CHAR_TO_UNIBYTE): New macros. | |
16637 | (MAKE_CHAR_MULTIBYTE, MAKE_CHAR_UNIBYTE): Delete. Change callers | |
16638 | to use RE_CHAR_TO_MULTIBYTE and RE_CHAR_TO_UNIBYTE, respectively. | |
16639 | (SETUP_ASCII_RANGE, SETUP_UNIBYTE_RANGE): New macros. | |
16640 | (SETUP_MULTIBYTE_RANGE): Generate a more compact range_table. | |
16641 | (regex_compile): Make the compiled pattern usable both for | |
16642 | multibyte and unibyte targets. | |
16643 | (analyse_first): Make the fastmap usable both for multibyte and | |
16644 | unibyte targets. | |
16645 | (TRANSLATE_VIA_MULTIBYTE): Delete. | |
16646 | (re_match_2_internal): Pay attention to the case that the | |
16647 | multibyteness of bufp and target may be different. | |
16648 | ||
16649 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16650 | ||
16651 | * xdisp.c (x_produce_glyphs): When a font is not found, make the | |
16652 | empty box occupy at least one column width. | |
16653 | ||
16654 | 2008-02-01 Miles Bader <miles@gnu.org> | |
16655 | ||
16656 | * Makefile.in: Remove redundant HAVE_XFT clause. | |
16657 | ||
16658 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16659 | ||
16660 | * xrdb.c (x_load_resources): Setup the default fontSet X resource. | |
16661 | ||
16662 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16663 | ||
16664 | * fontset.c (Finternal_char_font): Fix for the case of POSITION | |
16665 | being nil. | |
16666 | ||
16667 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16668 | ||
16669 | * xftfont.c (xftfont_open): Call FcConfigSubstitute. | |
16670 | ||
16671 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16672 | ||
16673 | * xftfont.c (xftfont_open): Don't enable antialias explicitly. | |
16674 | ||
16675 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16676 | ||
16677 | * search.c (simple_search): Fix previous change. | |
16678 | ||
16679 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16680 | ||
16681 | * xftfont.c (ftfont_font_format): Extern declaration. | |
16682 | ||
16683 | * frame.c (x_set_font): Fix the second arg to fs_query_fontset. | |
16684 | ||
16685 | * xfont.c (xfont_driver): Initialize ftfont_driver.type by 0. | |
16686 | (xfont_list): Don't directly use Lisp_Object as an operand of &&. | |
16687 | ||
16688 | * ftfont.c (ftfont_driver): Initialize ftfont_driver.type by 0. | |
16689 | (ftfont_font_format): Fix previous change. | |
16690 | ||
16691 | * font.h (Ffont_xlfd_name): EXFUN it. | |
16692 | ||
16693 | * font.c (font_parse_xlfd): Fix the array size of `f'. | |
16694 | (register_font_driver): Use EQ to compare driver->type. | |
16695 | ||
16696 | * xfns.c (xic_create_xfontset2) [USE_FONT_BACKEND]: New function. | |
16697 | (create_frame_xic) [USE_FONT_BACKEND]: Call xic_create_xfontset2. | |
16698 | (xic_set_xfontset) [USE_FONT_BACKEND]: Likewise. | |
16699 | ||
16700 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16701 | ||
16702 | * ftfont.c (ftfont_pattern_entity, ftfont_list_generic_family) | |
16703 | (ftfont_list, ftfont_font_format): Check if FC_FONTFORMAT is defined. | |
16704 | ||
16705 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16706 | ||
16707 | * xfont.c (xfont_open): Set font->format. | |
16708 | ||
16709 | * xftfont.c (xftfont_open): Set font->format. | |
16710 | ||
16711 | * ftfont.c (ftfont_pattern_entity): Add fontformat in a pattern. | |
16712 | (ftfont_list): Include FC_FONTFORMAT in FcObject. | |
16713 | (ftfont_open): Set font->format. | |
16714 | (ftfont_font_format): New function. | |
16715 | ||
16716 | * font.h (struct font): New member format. | |
16717 | ||
16718 | * font.c (Qopentype): New variable. | |
16719 | (syms_of_font): Defsym it. | |
16720 | (Fquery_font): Change the format of the last element of the return | |
16721 | value. | |
16722 | ||
16723 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16724 | ||
16725 | * xfns.c (xic_create_xfontset): Try the default fontset name as a | |
16726 | last resort. | |
16727 | ||
16728 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16729 | ||
16730 | * coding.c (detect_coding_charset): Fix detection of multi-byte | |
16731 | charset. | |
16732 | ||
16733 | 2008-02-01 Bob Halley <halley@play-bow.org> (tiny change) | |
16734 | ||
16735 | * ccl.c (ccl_driver): If DST is NULL, set ccl->produced to 0. | |
16736 | ||
16737 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16738 | ||
16739 | * xdisp.c (get_next_display_element): Set it->face_id for the | |
16740 | first component of a composition. | |
16741 | (x_produce_glyphs): Check if the font is changed or not for composition. | |
16742 | ||
16743 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16744 | ||
16745 | * fontset.c (Qlatin): New variable. | |
16746 | (syms_of_fontset): Define it as a lisp symbol. | |
16747 | (Fset_fontset_font): If TARGET is `latin', use FONT_SPEC for ASCII. | |
16748 | ||
16749 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16750 | ||
16751 | * font.c (font_unparse_fcname): Pay attention to the case that | |
16752 | some of font property is a null string. | |
16753 | ||
16754 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16755 | ||
16756 | * term.c: Include "composite.h". | |
16757 | (encode_terminal_code): Output all components of composition. | |
16758 | Check the size of encode_terminal_src. | |
16759 | (produce_glyphs): For composition, call produce_composite_glyph. | |
16760 | (append_composite_glyph, produce_composite_glyph): New functions. | |
16761 | ||
16762 | * xdisp.c (x_produce_glyphs): In handling composition, if a font | |
16763 | is not found, get font_info from the current ascii face. | |
16764 | ||
16765 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16766 | ||
16767 | * fileio.c (Finsert_file_contents): On replacing, temporarily bind | |
16768 | buffer-file-name to Qnil before calling insert_from_buffer. | |
16769 | ||
16770 | * font.c (font_unparse_fcname): Pay attention to the case that | |
16771 | foundry is a null string. | |
16772 | ||
16773 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16774 | ||
16775 | * ftfont.c (ftfont_list): Allow registry "unicode-sip". | |
16776 | ||
16777 | * font.c (Qunicode_sip): New variable. | |
16778 | (syms_of_font): Declare it as a Lisp symbol. | |
16779 | ||
16780 | * font.h (Qunicode_sip): Extern it. | |
16781 | ||
16782 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16783 | ||
16784 | * composite.c (get_composition_id): Pay attention to TAB component. | |
16785 | ||
16786 | * xterm.c (x_draw_composite_glyph_string_foreground): Don't draw | |
16787 | TAB. Adjust for the change of s->char2b which always points to | |
16788 | the first element of allocated memory. | |
16789 | ||
16790 | * xftfont.c (xftfont_text_extents): Fix calculation of descent value. | |
16791 | ||
16792 | * xdisp.c (handle_composition_prop): Set it->c to the first | |
16793 | non-TAB component. | |
16794 | (fill_composite_glyph_string): Change argument. | |
16795 | (BUILD_COMPOSITE_GLYPH_STRING): Adjust for the above change. | |
16796 | (x_produce_glyphs): Fix handling of left/right padding. | |
16797 | ||
16798 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16799 | ||
16800 | * coding.c (detect_coding_system): Fix for handling off | |
16801 | inhibit_iso_escape_detection. Fix for the case that no coding | |
16802 | system is defined for a specific coding category. | |
16803 | ||
16804 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16805 | ||
16806 | * font.c (font_matching_entity): Delete unused local var. | |
16807 | ||
16808 | * xftfont.c (xftfont_open): Call XftDefaultSubstitute before | |
16809 | opening a font. | |
16810 | ||
16811 | * fileio.c (Finsert_file_contents): On recovering a file, assume | |
16812 | Unix-like eol. | |
16813 | (choose_write_coding_system): On auto-saving a file, force | |
16814 | Unix-like eol. | |
16815 | ||
16816 | * coding.c (setup_coding_system): Fix setting of | |
16817 | coding->common_flags based on eol_type. | |
16818 | (coding_inherit_eol_type): If PARENT is not nil, be sure to | |
16819 | inherit from it. | |
16820 | ||
16821 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16822 | ||
16823 | * alloc.c (NSTATICS): Increas to 0x600. | |
16824 | ||
16825 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16826 | ||
16827 | * ftfont.c (ftfont_driver): Set ftfont_driver.match to ftfont_match. | |
16828 | (ftfont_list): Don't check :name property. | |
16829 | (ftfont_match): New function. | |
16830 | (ftfont_pattern_entity): If the pattern doesn't contain | |
16831 | FC_SPACING, don't assume FC_MONO. | |
16832 | ||
16833 | * font.h (struct font_driver): New member `match'. | |
16834 | (font_update_drivers): Adjust prototype. | |
16835 | ||
16836 | * font.c (font_parse_fcname, font_parse_name): Don't change :name | |
16837 | property of FONT. | |
16838 | (LGSTRING_HEADER_SIZE, LGSTRING_GLYPH_SIZE, check_gstring): Define | |
16839 | them unconditionally. | |
16840 | (font_matching_entity): New function. | |
16841 | (font_open_by_name): Try font_matching_entity if exact match is | |
16842 | not found. | |
16843 | (font_update_drivers): Delete the arg FONT. Return a list of | |
16844 | actually used backends. Don't free faces, font caches here. | |
16845 | Don't store data in frame parameters. Don't call x_set_font. | |
16846 | (Ffont_spec): Store :name property as is. | |
16847 | (Ffont_get): Check HAVE_LIBOTF before calling font_otf_capability. | |
16848 | (Ffont_otf_gsub): Call font->driver->otf_gsub instead of font_otf_gsub. | |
16849 | (Ffont_otf_gpos): Call font->driver->otf_gpos instead of font_otf_gpos. | |
16850 | (Ffont_otf_alternates): Check if the driver has otf_gsub function. | |
16851 | Call font->driver->otf_gsub instead of font_otf_gsub. | |
16852 | ||
16853 | * frame.c (x_set_font_backend): Do more works that were done in | |
16854 | font_update_drivers before. | |
16855 | ||
16856 | * xfont.c (xfont_match): New function. | |
16857 | (xfont_driver): Set xfont_driver.match to xfont_match. | |
16858 | (xfont_draw): Set font in GC if necessary. | |
16859 | ||
16860 | * ftxfont.c (ftxfont_match): New function. | |
16861 | (syms_of_ftxfont): Set ftxfont_driver.match to ftxfont_match. | |
16862 | ||
16863 | * xftfont.c (xftfont_match): New function. | |
16864 | (syms_of_xftfont): Set xftfont_driver.match to xftfont_match. | |
16865 | ||
16866 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16867 | ||
16868 | * font.h (struct font): New member scalable. | |
16869 | (struct font_driver): New arg ALTERANTE_SUBST to otf_gsub. | |
16870 | (font_otf_gsub): Adjust prototype. | |
16871 | ||
16872 | * font.c (font_otf_capability): Fix handling of the default langsys. | |
16873 | (parse_gsub_gpos_spec): Change type to void. New arg nbytes. | |
16874 | Check the contents of SPEC. | |
16875 | (LGSTRING_HEADER_SIZE, LGSTRING_GLYPH_SIZE): New macros. | |
16876 | (check_gstring): New function. | |
16877 | (REPLACEMENT_CHARACTER): New macro. | |
16878 | (font_otf_gsub): New arg alternate_subst. Be sure to set all | |
16879 | glyph codes of GSTRING. | |
16880 | (font_otf_gpos): Be sure to set all glyph codes of GSTRING. | |
16881 | (font_prepare_composition): Set cmp->glyph_len. | |
16882 | (font_open_entity): Set font->scalable. | |
16883 | (Ffont_get): Handle :otf property. | |
16884 | (Ffont_otf_gsub, Ffont_otf_gpos, Ffont_otf_alternates): New | |
16885 | functions. | |
16886 | (Fquery_font): Use font->font.full_name. | |
16887 | (syms_of_font): Defsubr Sfont_otf_gsub, Sfont_otf_gpos, and | |
16888 | Sfont_otf_alternates. | |
16889 | ||
16890 | * ftfont.c (ftfont_open): Set font->font.full_name and | |
16891 | font->font.name properly. Fix calculation of font->font.height | |
16892 | and font->min_width. | |
16893 | ||
16894 | * ftxfont.c (ftxfont_create_gcs): New function. | |
16895 | (ftxfont_draw_bitmap): Fix arg to ftfont_driver.get_bitmap. | |
16896 | (ftxfont_draw_backgrond): Fix filling region. | |
16897 | (ftxfont_default_fid): New function. | |
16898 | (ftxfont_open): Set xfont->fid to the return value of | |
16899 | ftxfont_default_fid. | |
16900 | (ftxfont_prepare_face): Use ftxfont_create_gcs to create GCs. | |
16901 | (ftxfont_done_face): Free only GCs that are created by | |
16902 | ftxfont_create_gcs. | |
16903 | (ftxfont_draw): If face->gc != s->gc, create proper GCs. | |
16904 | ||
16905 | * xterm.c (x_set_glyph_string_clipping_exactly) [USE_FONT_BACKEND]: | |
16906 | Clip to src->width, etc (not src->clip_XXX). | |
16907 | ||
16908 | * xfns.c (x_create_tip_frame) [USE_FONT_BACKEND]: Handle | |
16909 | FontBackend frame parameter. | |
16910 | ||
16911 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16912 | ||
16913 | * font.h (struct font_driver_list): New member `on'. | |
16914 | (Fclear_font_cache): EXFUN it. | |
16915 | (font_update_drivers): Extern it. | |
16916 | ||
16917 | * font.c (font_unparse_fcname): Fix typo (swidth->width). | |
16918 | (font_list_entities): Check driver_list->on. | |
16919 | (register_font_driver): Initalize `on' member to 0. | |
16920 | (font_update_drivers): New function. | |
16921 | (Fclear_font_cache): Check driver_list->on. | |
16922 | ||
16923 | * frame.h (Qfont_backend): Extern it. | |
16924 | (x_set_font_backend): Extern it. | |
16925 | ||
16926 | * frame.c (Qfont_backend): New variable. | |
16927 | (frame_parms): New element for font-backend. | |
16928 | (x_set_font_backend): New function. | |
16929 | ||
16930 | * xfns.c (Fx_create_frame) [USE_FONT_BACKEND]: Handle | |
16931 | FontBackend frame parameter. | |
16932 | (x_frame_parm_handlers) [USE_FONT_BACKEND]: New element | |
16933 | x_set_font_backend. | |
16934 | ||
16935 | * xfont.c (xfont_list): Don't try listing by :name property if the | |
16936 | name is not for XLFD. | |
16937 | ||
16938 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16939 | ||
16940 | * font.h (LGLYPH_FROM, LGLYPH_TO, LGLYPH_SET_FROM) | |
16941 | (LGLYPH_SET_TO): New macros. | |
16942 | (LGLYPH_XOFF, LGLYPH_YOFF, LGLYPH_WADJUST): Check if adjustment | |
16943 | element of G is vector or not. | |
16944 | (font_at): Extern it. | |
16945 | ||
16946 | * font.c: Include window.h. | |
16947 | (font_lispy_object): New function. | |
16948 | (font_prepare_composition): Check LGLYPH_FORM (g) to detect the | |
16949 | end of valid glyph. | |
16950 | (font_close_object): Fix getting (struct font *). | |
16951 | (font_at): New function. | |
16952 | (Ffont_get): If FONT is a font-object, get entity from it. | |
16953 | (Ffont_make_gstring): Initialize elements of glyphs with nil. | |
16954 | (Ffont_fill_gstring): Use macro LGSTRING_XXX and LGLYPH_XXX. Fix | |
16955 | range check. | |
16956 | (Ffont_at): New function. | |
16957 | (syms_of_font): Defsubr Sfont_at. | |
16958 | ||
16959 | * xdisp.c (it_props): Move the entry for Qauto_composed to just | |
16960 | before the entry for Qcomposition. | |
16961 | (handle_auto_composed_prop): Call auto-composition-function with 4 args. | |
16962 | (handle_composition_prop) [USE_FONT_BACKEND]: Set it->face_id from | |
16963 | the font in gstring. | |
16964 | (fill_composite_glyph_string) [USE_FONT_BACKEND]: Check | |
16965 | LGLYPH_FORM (g) to detect the end of valid glyph. | |
16966 | (x_produce_glyphs) [USE_FONT_BACKEND]: Don't update it->face_id if | |
16967 | we are composing with gstring. | |
16968 | ||
16969 | * xterm.c (x_draw_composite_glyph_string_foreground) [USE_FONT_BACKEND]: | |
16970 | Check if adjustment is vector or not. | |
16971 | ||
16972 | * Makefile.in (font.o): Make it depends on window.h. | |
16973 | ||
16974 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16975 | ||
16976 | * xterm.c (x_draw_composite_glyph_string_foreground): Check if | |
16977 | adjustment is vector or not. | |
16978 | ||
16979 | 2008-02-01 Miles Bader <miles@gnu.org> | |
16980 | ||
16981 | * character.h (CHECK_CHARACTER): Redefine in terms of CHECK_TYPE. | |
16982 | ||
16983 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16984 | ||
16985 | * font.h (LGLYPH_XOFF, LGLYPH_YOFF, LGLYPH_WIDTH, LGLYPH_WADJUST) | |
16986 | (LGLYPH_SET_WIDTH): Adjusted for the change of LGLYPH format. | |
16987 | (LGLYPH_ADJUSTMENT, LGLYPH_SET_ADJUSTMENT): New macros. | |
16988 | ||
16989 | * font.c (font_merge_old_spec): Treat '*' in foundry as a wild card. | |
16990 | (DEVICE_DELTA): Fix typo. | |
16991 | (font_otf_gpos, font_prepare_compositio): Adjust for the change of | |
16992 | LGLYPH format. | |
16993 | ||
16994 | * xterm.c (x_draw_composite_glyph_string_foreground): Adjust for | |
16995 | the change of LGLYPH format. | |
16996 | ||
16997 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
16998 | ||
16999 | * ftfont.c (ftfont_list): Fix typo. | |
17000 | (ftfont_build_basic_charsets): Don't include letters with diacritics. | |
17001 | ||
17002 | 2008-02-01 Jan Djärv <jan.h.d@swipnet.se> | |
17003 | ||
17004 | * xfaces.c (realize_non_ascii_face): Set face->extra to NULL. | |
17005 | ||
17006 | * xftfont.c (xftfont_done_face): Call XftDrawDestroy only if | |
17007 | xftface_info is non-NULL. | |
17008 | ||
17009 | 2008-02-01 Jan Djärv <jan.h.d@swipnet.se> | |
17010 | ||
17011 | * ftfont.c (ftfont_list): Move misplaced #endif. | |
17012 | ||
17013 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17014 | ||
17015 | * ftfont.c (ftfont_list): Pay attention to the case that | |
17016 | FC_CAPABILITY is not defined. | |
17017 | ||
17018 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17019 | ||
17020 | * xftfont.c (xftfont_open): Set charset related members to -1. | |
17021 | ||
17022 | * ftfont.c (ftfont_list): Handle QCotf property. Fix handling of | |
17023 | QCname. | |
17024 | (ftfont_open): Set charset related members to -1. | |
17025 | ||
17026 | * fontset.c (Votf_script_alist): New variable. | |
17027 | (syms_of_fontset): Initialize it. | |
17028 | (fontset_font): Delete unused variable. | |
17029 | ||
17030 | * fontset.h (Votf_script_alist): Extern it. | |
17031 | ||
17032 | * font.c (font_find_for_lface): Optimize code. | |
17033 | ||
17034 | * font.h (font_close_object, font_merge_old_spec): Extern them. | |
17035 | ||
17036 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17037 | ||
17038 | * font.c (QCscalable, Qc, Qm, Qp, Qd): New variables. | |
17039 | (syms_of_font): Initialize them. | |
17040 | (font_pixel_size): Allow float value in dpi. | |
17041 | (font_prop_validate_type): Delete. | |
17042 | (font_prop_validate_symbol, font_prop_validate_style): Change argument. | |
17043 | Change caller. | |
17044 | (font_prop_validate_non_neg): Rename from font_prop_validate_size. | |
17045 | (font_prop_validate_extra): Delete. | |
17046 | (font_prop_validate_spacing): New function. | |
17047 | (font_property_table): Add elements for all known properties. | |
17048 | (get_font_prop_index): Rename from check_font_prop_name. New | |
17049 | argument FROM. Change caller. | |
17050 | (font_prop_validate): Validate all known properties. | |
17051 | (font_put_extra): Delete argument force. Change caller. | |
17052 | (font_expand_wildcards): Make it static. Fix the way of shrinking | |
17053 | the possible range. | |
17054 | (font_parse_xlfd): Delete argument merge. Fix handling of RESX, | |
17055 | RESY, SPACING, and AVGWIDTH. Don't validate property values here. | |
17056 | Change caller. | |
17057 | (font_unparse_xlfd): Handle dpi, spacing, and scalable properties. | |
17058 | (font_parse_fcname): Delete argument merge. Fix parsing of point | |
17059 | size. Don't validate properties values here. Change caller. | |
17060 | (font_unparse_fcname): Handle dpi, spacing, and scalable properties. | |
17061 | (font_open_by_name): Delete unused variable. | |
17062 | (Ffont_spec): Likewise. Validate property values. | |
17063 | (Ffont_match_p): New function. | |
17064 | ||
17065 | * font.h (QCscalable): Extern it. | |
17066 | (font_parse_xlfd, font_parse_fcname): Adjust prototype. | |
17067 | ||
17068 | * ftfont.c (ftfont_list): Handle properties dpi, spacing, and scalable. | |
17069 | ||
17070 | * xfont.c (xfont_query_font): Adjust for the change of font_parse_xlfd. | |
17071 | (xfont_list_pattern): New function. | |
17072 | (xfont_list): Use xfont_list_pattern. | |
17073 | ||
17074 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17075 | ||
17076 | * font.h (Flist_fonts): EXFUN it. | |
17077 | ||
17078 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
17079 | ||
17080 | * w32term.c (w32_initialize): Add back smoothing_type and | |
17081 | smoothing_enabled definitions. | |
17082 | ||
17083 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17084 | ||
17085 | * xterm.c (x_draw_glyph_string) [USE_FONT_BACKEND]: Check | |
17086 | s->face->font on determining underline position. | |
17087 | ||
17088 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17089 | ||
17090 | * font.c (font_parse_xlfd): Fix generating of CHARSET_REGISTRY field. | |
17091 | (font_has_char): Accept font-object too. | |
17092 | (font_find_for_lface): Try at first with a size specified in face. | |
17093 | ||
17094 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17095 | ||
17096 | * frame.c (x_set_font) [USE_FONT_BACKEND]: Fix argument to | |
17097 | font_open_by_name. | |
17098 | ||
17099 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17100 | ||
17101 | * font.h (QCspacing, QCdpi): Extern them. | |
17102 | (enum font_spacing): New enum. | |
17103 | (FONT_PIXEL_SIZE_QUANTUM): New macro. | |
17104 | ||
17105 | * font.c (POINT_TO_PIXEL): Don't divide POINT by 10. | |
17106 | (QCspacing, QCdpi): New variables. | |
17107 | (syms_of_font): Initialize them. | |
17108 | (font_pixel_size): New function. | |
17109 | (font_put_extra): New function. | |
17110 | (font_parse_xlfd): Fix handling of font size. Add QCdpi property | |
17111 | in FONT_EXTRA. | |
17112 | (font_parse_fcname): Handle enumerated values (e.g. bold). | |
17113 | Fix handling font size. Add QCname property that contains only | |
17114 | unknown properties. | |
17115 | (font_score): Change argument. Change caller. Pay attention to | |
17116 | FONT_PIXEL_SIZE_QUANTUM. | |
17117 | (font_sort_entites, font_list_entities, font_find_for_lface) | |
17118 | (font_open_for_lface, font_open_by_name): Fix handling of font size. | |
17119 | (Ffont_spec): Add QCname property that contains only unknown properties. | |
17120 | ||
17121 | * ftfont.c (ftfont_list): Use assq_no_quit, not Fassq. Don't | |
17122 | include weight in listing pattern, instead check weight of each | |
17123 | listed font. Don't include scalable in pattern. Pay attention to | |
17124 | FONT_PIXEL_SIZE_QUANTUM. | |
17125 | ||
17126 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17127 | ||
17128 | * font.c (font_parse_fcname): Fix parsing of point-size. | |
17129 | (font_unparse_fcname): Produce symbolic names for style properties. | |
17130 | (font_list_entities): Handle float size correctly. | |
17131 | (font_open_by_name): Prefer `normal' property values if the name | |
17132 | doesn't specify them. | |
17133 | ||
17134 | * fontset.c (Finternal_char_font): Use font_get_name, not | |
17135 | Ffont_xlfd_name. | |
17136 | ||
17137 | * ftfont.c (ftfont_pattern_entity): Use the numeric value 100 for | |
17138 | FC_WEIGHT_REGULAR. Exclude FC_SIZE and FC_PIXEL_SIZE from listing | |
17139 | pattern. Don't force scalable. | |
17140 | ||
17141 | * xftfont.c (xftfont_open): For generating a name, start from | |
17142 | 96-byte buffer. | |
17143 | ||
17144 | 2008-02-01 Jan Djärv <jan.h.d@swipnet.se> | |
17145 | ||
17146 | * frame.h (x_new_fontset2): Fix prototype. | |
17147 | ||
17148 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17149 | ||
17150 | * font.h (struct font_driver): Delete member parse_name. | |
17151 | (font_match_p, font_get_spec, font_parse_fcname) | |
17152 | (font_unparse_fcname): Extern them. | |
17153 | (font_get_name): Adjust prototype. | |
17154 | ||
17155 | * font.c (XLFD_SMALLNUM_MASK): Delete this macro. | |
17156 | (XLFD_LARGENUM_MASK): Delete XLFD_ENCODING_MASK from it. | |
17157 | (font_expand_wildcards): Fix handling ENCODING field. Avoid | |
17158 | unnecessary checks for weight, slant, and swidth. | |
17159 | (font_parse_fcname): New function. | |
17160 | (font_unparse_fcname): New function. | |
17161 | (font_parse_name): New function. | |
17162 | (font_match_p): New function. | |
17163 | (font_get_name): Change return value to Lisp string. | |
17164 | (font_get_spec): New function. | |
17165 | (Qunspecified, Qignore_defface): Don't extern them. | |
17166 | (font_find_for_lface): Assume that LFACE is fully specified. | |
17167 | (font_load_for_face): If lface[LFACE_FONT_INDEX] is an font | |
17168 | object, use it for FACE. | |
17169 | (font_open_by_name): Call Ffont_spec with QCname prop. Don't call | |
17170 | driver->parse_name. | |
17171 | (Ffont_spec): Call font_parse_name, not font_parse_xlfd. | |
17172 | ||
17173 | * fontset.h (new_fontset_from_font) [USE_FONT_BACKEND]: Adjust | |
17174 | prototype. | |
17175 | ||
17176 | * fontset.c (new_fontset_from_font) [USE_FONT_BACKEND]: Delete | |
17177 | argument F. Don't call Fnew_fontset. Instead, directly call | |
17178 | make_fontset. | |
17179 | ||
17180 | * frame.h (x_new_fontset2) [USE_FONT_BACKEND]: Adjust prototype. | |
17181 | ||
17182 | * frame.c (x_set_font) [USE_FONT_BACKEND]: Adjust for the change | |
17183 | of x_new_fontset2. | |
17184 | ||
17185 | * ftfont.c (Qmonospace, Qsans_serif, Qserif, Qmono, Qsans) | |
17186 | (Qsans__serif): New variables. | |
17187 | (ftfont_generic_family_list): New variable. | |
17188 | (syms_of_ftfont): Initialize the above variables. | |
17189 | (ftfont_pattern_entity): Delete argument NAME. | |
17190 | (ftfont_list_generic_family): New function. | |
17191 | (ftfont_parse_name): Delete this function. | |
17192 | (ftfont_list): Try generic family only when FcFontList found no font. | |
17193 | (ftfont_list_family): Fix args to FcObjectSetBuild. | |
17194 | ||
17195 | * xfaces.c (check_lface_attrs) [USE_FONT_BACKEND]: Accept font | |
17196 | object in attrs[LFACE_FONT_INDEX]. | |
17197 | (set_lface_from_font_name): Cancel all changes for font-backend. | |
17198 | (set_lface_from_font_and_fontset) [USE_FONT_BACKEND]: New | |
17199 | function. | |
17200 | (Finternal_set_lisp_face_attribute) [USE_FONT_BACKEND]: Accept a | |
17201 | font object in QCfont attribute. | |
17202 | (set_font_frame_param) [USE_FONT_BACKEND]: Likewise. | |
17203 | (realize_default_face) [USE_FONT_BACKEND]: Call | |
17204 | set_lface_from_font_and_fontset. | |
17205 | ||
17206 | * xfns.c (x_default_font_parameter) [USE_FONT_BACKEND]: Try also | |
17207 | "fixed", and signal error here if no suitable font was found. | |
17208 | ||
17209 | * xfont.c (xfont_parse_name): Delete this function. | |
17210 | ||
17211 | * xftfont.c (xftfont_open): Change coding style of error | |
17212 | handling. Generate fontconfig's fontname pattern. | |
17213 | ||
17214 | * xterm.h (struct x_output) [USE_FONT_BACKEND]: New member fontp. | |
17215 | (FRAME_FONT_OBJECT) [USE_FONT_BACKEND]: New macro. | |
17216 | ||
17217 | * xterm.c (x_new_fontset2) [USE_FONT_BACKEND]: Change arguments. | |
17218 | Both args FONTSET and FONT_OBJECT must be existing ones. | |
17219 | ||
17220 | 2008-02-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
17221 | ||
17222 | * macterm.c (mac_set_unicode_keystroke_event): Don't use MAKE_CHAR. | |
17223 | ||
17224 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17225 | ||
17226 | * xfont.c (xfont_open, xfont_encode_char): Fix typo. | |
17227 | ||
17228 | * font.h (struct font): Fix typo. | |
17229 | ||
17230 | * font.c (enum xlfd_field_index): Rename XLFD_XXX_SIZE_INDEX to | |
17231 | XLFD_XXX_INDEX. | |
17232 | (enum xlfd_field_mask): New enum. | |
17233 | (intern_font_field): Changed argument. Change caller. If digits | |
17234 | are followed by non-digits, return a symbol. | |
17235 | (font_expand_wildcards): New function. | |
17236 | (font_parse_xlfd): Fix wildcard handling. | |
17237 | (Ffont_spec): If :name is specified, reflect the info in the other | |
17238 | properties. | |
17239 | ||
17240 | * ftfont.c (ftfont_pattern_entity): Fix typo. | |
17241 | (ftfont_list): Enforce FC_LANG in PATTERN to cancel the effect of | |
17242 | locale. | |
17243 | ||
17244 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17245 | ||
17246 | * font.h (Qiso8859_1, Qiso10646_1, Qunicode_bmp): Extern them. | |
17247 | ||
17248 | * font.c (Qiso8859_1, Qiso10646_1, Qunicode_bmp): Move from ftfont.c. | |
17249 | (font_unparse_xlfd): Fix argument type declaration. Append "*" if | |
17250 | registry doesn't specify encoding part. | |
17251 | (font_find_for_lface): Pay attention to LFACE_FONT_INDEX. | |
17252 | (font_open_by_name): At first try parsing the name. | |
17253 | (syms_of_font): Declare Qiso8859_1, Qiso10646_1, and Qunicode_bmp | |
17254 | as Lisp symbols. | |
17255 | ||
17256 | * fontset.c (reorder_font_vector): Pay attention to the case that | |
17257 | the 3rd element of font_def is nil. | |
17258 | (fontset_font): For the default fontset, append one more fontset | |
17259 | elements for a script-based font specification. Don't add script | |
17260 | attribute on finding a font. | |
17261 | (new_fontset_from_font): Unconditionally set FONTSET_ASCII to the | |
17262 | font name. | |
17263 | (fontset_ascii_font): If a font can't be opened, return nil. | |
17264 | ||
17265 | * ftfont.c (Qiso8859_1, Qiso10646_1, Qunicode_bmp): Move to font.c. | |
17266 | (ftfont_pattern_entity): New function. | |
17267 | (ftfont_get_cache): Assume that freetype_font_cache is already | |
17268 | initialized. | |
17269 | (ftfont_list): Handle the case that a file is specified in font | |
17270 | name. Use ftfont_pattern_entity to generate entities. | |
17271 | (ftfont_has_char): Check if the pattern contains FC_CHARSET. | |
17272 | (syms_of_ftfont): Initialize freetype_font_cache. | |
17273 | ||
17274 | * xftfont.c (xftfont_open): Make the font name fontconfig's | |
17275 | style. Add BLOCK_INPUT and UNBLOCK_INPUT. | |
17276 | (xftfont_close): Free font->font.name if not NULL. | |
17277 | ||
17278 | * xfont.c (xfont_list): If script is specified for a font, return | |
17279 | null_vector. | |
17280 | (xfont_list_family): Declare argument type. | |
17281 | ||
17282 | * xfaces.c (set_lface_from_font_name): If a font doesn't have a | |
17283 | name, set LFACE_FONT (lface) to nil. | |
17284 | ||
17285 | * xterm.c (x_new_fontset2): If an ASCII font couldn't be loaded, | |
17286 | return Qnil. | |
17287 | ||
17288 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17289 | ||
17290 | * emacs.c (main): Check -enable-font-backend arg after the check of -nl. | |
17291 | (standard_args): Add "-enable-font-backend". | |
17292 | ||
17293 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17294 | ||
17295 | * xftfont.c (xftfont_default_fid): Set fid_known to 1. | |
17296 | (struct xftdraw_list, xftdraw_list): Delete them. | |
17297 | (register_xftdraw, check_xftdraw): Delete them. | |
17298 | (xftfont_prepare_face): Don't call register_xftdraw. | |
17299 | (xftfont_done_face): Don't call check_xftdraw. | |
17300 | (xftfont_draw): Get background color only when with_background is | |
17301 | nonzero. | |
17302 | ||
17303 | * xfont.c (xfont_encode_char): Fix calculation of char2b. | |
17304 | ||
17305 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17306 | ||
17307 | These changes are for the new font handling codes. | |
17308 | ||
17309 | * Makefile.in (ALL_CFLAGS): Add @FREETYPE_CFLAGS@, | |
17310 | @FONTCONFIG_CFLAGS@, and @LIBOTF_CFLAGS@. | |
17311 | (LIB_X11_LIB): If HAVE_XFT is defined, set to @XFT_LIBS@. | |
17312 | (FONTSRC, FONTOBJ): New variables. | |
17313 | (obj): Add $(FONTOBJ). | |
17314 | (SOME_MACHINE_OBJECTS): Lib_X11_Lib. | |
17315 | (LIBES): Add @FREETYPE_LIBS@, @FONTCONFIG_LIBS@, and | |
17316 | @LIBOTF_LIBS@. | |
17317 | (font.o, ftfont.o, xfont.o, xftfont.o, ftxfont.o): New targets. | |
17318 | (fontset.o, xdisp.o, xfaces.o, xfns.o, xterm.o): Depend on $(FONTSRC). | |
17319 | ||
17320 | * font.h, font.c, xfont.c, ftfont.c, xftfont.c, ftxfont.c: New files. | |
17321 | ||
17322 | * character.h (Vscript_representative_chars): Extern it. | |
17323 | ||
17324 | * character.c (Vscript_representative_chars): New variable. | |
17325 | (syms_of_character): Declare it as a Lisp variable. | |
17326 | ||
17327 | * composite.c (get_composition_id) [USE_FONT_BACKEND]: If | |
17328 | enable_font_backend is nonzero, accept the composition method | |
17329 | COMPOSITION_WITH_GLYPH_STRING. | |
17330 | ||
17331 | * composite.h (enum composition_method) [USE_FONT_BACKEND]: New | |
17332 | enumeration COMPOSITION_WITH_GLYPH_STRING. | |
17333 | ||
17334 | * dispextern.h (struct glyph_string) [USE_FONT_BACKEND]: New | |
17335 | members clip_x, clip_y, clip_width, and clip_height. | |
17336 | (struct face) [USE_FONT_BACKEND]: New members font_info and extra. | |
17337 | ||
17338 | * emacs.c (main) [USE_FONT_BACKEND]: Handle arg | |
17339 | --enable-font-backend. Call syms_of_font. | |
17340 | ||
17341 | * fns.c (assoc_no_quit): New function. | |
17342 | ||
17343 | * fontset.h (FONT_INFO_FROM_FACE): New macro. | |
17344 | (face_for_font, new_fontset_from_font) | |
17345 | (fontset_ascii_font) [USE_FONT_BACKEND]: Extern them. | |
17346 | ||
17347 | * fontset.c [USE_FONT_BACKEND]: Include "font.h". | |
17348 | (fontset_font, fontset_ascii, face_for_char) | |
17349 | (make_fontset_for_ascii_face, Ffont_info) | |
17350 | (Finternal_char_font) [USE_FONT_BACKEND]: If enable_font_backend | |
17351 | is nonzero, use font-backend mechanism. | |
17352 | (find_font_encoding): Make it non-static. | |
17353 | (new_fontset_from_font, fontset_ascii_font) [USE_FONT_BACKEND]: | |
17354 | New functions. | |
17355 | ||
17356 | * frame.h (struct frame): New members resx and resy. | |
17357 | (struct frame) [USE_FONT_BACKEND]: New member font_driver_list. | |
17358 | (x_new_fontset2) [USE_FONT_BACKEND]: Extern it. | |
17359 | ||
17360 | * frame.c [USE_FONT_BACKEND]: Include "font.h". | |
17361 | (make_frame, x_set_font) [USE_FONT_BACKEND]: Use font-backend mechanism. | |
17362 | ||
17363 | * lisp.h (assoc_no_quit): Extern it. | |
17364 | ||
17365 | * xdisp.c: If USE_FONT_BACKEND is defined, include "font.h". | |
17366 | Through out the file, use FONT_INFO_FROM_FACE instead of | |
17367 | FONT_INFO_FROM_ID, use get_per_char_metric instead of | |
17368 | rif->per_char_metric. | |
17369 | (handle_composition_prop) [USE_FONT_BACKEND]: If the composition | |
17370 | method is COMPOSITION_WITH_GLYPH_STRING, just set it->c to ' '. | |
17371 | (get_glyph_face_and_encoding, fill_composite_glyph_string) | |
17372 | (get_char_face_and_encoding, BUILD_COMPOSITE_GLYPH_STRING) | |
17373 | (x_produce_glyphs) [USE_FONT_BACKEND]: If enable_font_backend is | |
17374 | nonzero, use font-backend mechanism. | |
17375 | (get_per_char_metric): New function. | |
17376 | ||
17377 | * xfaces.c [USE_FONT_BACKEND]: Include "font.h". | |
17378 | (set_lface_from_font_name) | |
17379 | (set_font_frame_param, free_realized_face) | |
17380 | (prepare_face_for_display, clear_face_gcs) | |
17381 | (Finternal_set_font_selection_order, realize_x_face) | |
17382 | [USE_FONT_BACKEND]: If enable_font_backend is nonzero, use | |
17383 | font-backend mechanism. | |
17384 | (clear_face_cache) [USE_FONT_BACKEND]: Don't call clear_font_table. | |
17385 | (load_face_font) [USE_FONT_BACKEND]: Abort. | |
17386 | (face_symbolic_value, face_symbolic_weight, face_symbolic_slant) | |
17387 | (face_symbolic_swidth, face_for_font) [USE_FONT_BACKEND]: New functions. | |
17388 | ||
17389 | * xfns.c [USE_FONT_BACKEND]: Include "font.h". | |
17390 | (x_default_font_parameter) [USE_FONT_BACKEND]: New function. | |
17391 | (Fx_create_frame) [USE_FONT_BACKEND]: If enable_font_backend is | |
17392 | nonzero, register all available font drivers. Call | |
17393 | x_default_font_parameter for deciding a font. | |
17394 | (x_create_tip_frame) [USE_FONT_BACKEND]: Likewise. | |
17395 | ||
17396 | * xterm.c [USE_FONT_BACKEND]: Include "font.h". | |
17397 | (x_set_mouse_face_gc, x_set_glyph_string_clipping) | |
17398 | (x_set_glyph_string_clipping_exactly) | |
17399 | (x_compute_glyph_string_overhangs) | |
17400 | (x_draw_glyph_string_foreground) | |
17401 | (x_draw_composite_glyph_string_foreground, x_draw_glyph_string) | |
17402 | (x_free_frame_resources) [USE_FONT_BACKEND]: If | |
17403 | enable_font_backend is nonzero, use font-backend mechanism. | |
17404 | (x_new_fontset2) [USE_FONT_BACKEND]: New function. | |
17405 | ||
17406 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17407 | ||
17408 | * coding.c (coding_inherit_eol_type): If PARENT is nil, inherit from | |
17409 | system_eol_type. | |
17410 | (syms_of_coding): Initialize system_eol_type. | |
17411 | ||
17412 | * process.c (Fset_process_coding_system): Inherit system's eol | |
17413 | format if necessary. | |
17414 | ||
17415 | 2008-02-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
17416 | ||
17417 | * macgui.h (USE_ATSUI): Don't enable on emacs-unicode-2 branch. | |
17418 | ||
17419 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17420 | ||
17421 | * coding.c (decode_eol): Pay attention to buffer relocation in | |
17422 | del_range_2. | |
17423 | (decode_coding): Call decode_eol before restoring undo_list. | |
17424 | ||
17425 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17426 | ||
17427 | * charset.c (Fdefine_charset_internal): Fix setting of | |
17428 | emacs_mule_bytes. | |
17429 | ||
17430 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17431 | ||
17432 | * keyboard.c (read_char): Check if C is a character or not before | |
17433 | looking up Vkeyboard_translate_table. | |
17434 | ||
17435 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17436 | ||
17437 | * coding.c (DECODE_EMACS_MULE_20_RELATIVE_COMPOSITION): Fix | |
17438 | condition to terminate the loop. | |
17439 | ||
17440 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17441 | ||
17442 | * coding.c (produce_composition): Compare charbuf[i] instead of | |
17443 | args[i] against 0. | |
17444 | (Fterminal_coding_system): Use EQ to compare Lisp objects. | |
17445 | ||
17446 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17447 | ||
17448 | * coding.c (DECODE_COMPOSITION_START): If the source is short, set | |
17449 | coding->result to CODING_RESULT_INSUFFICIENT_SRC. | |
17450 | (decode_coding_gap): Set CODING_MODE_LAST_BLOCK after the call of | |
17451 | detect_coding. | |
17452 | (emacs_mule_char): Handle old style (Emacs 20) component character | |
17453 | of a composition. | |
17454 | (DECODE_EMACS_MULE_COMPOSITION_RULE_20) | |
17455 | (DECODE_EMACS_MULE_20_RULEBASE_COMPOSITION): Fix parsing a | |
17456 | composition rule. | |
17457 | (decode_coding_emacs_mule): Handle invalid bytes correctly. | |
17458 | ||
17459 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17460 | ||
17461 | * coding.c (encode_coding_ccl): Allocate destination dynamically | |
17462 | when necessary. | |
17463 | ||
17464 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17465 | ||
17466 | * ccl.c (Fccl_execute_on_string): Fix the condition of terminating | |
17467 | the loop. When quitted, show a proper error message. | |
17468 | ||
17469 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17470 | ||
17471 | * xterm.c (x_set_glyph_string_clipping_exactly): Set | |
17472 | src->clip_head and src->clip_tail temporarily instead of src->hl. | |
17473 | ||
17474 | * ccl.c (CCL_WRITE_STRING): Handle a flag bit for multibyte | |
17475 | character sequence. | |
17476 | (Fccl_execute_on_string): Use ASET, not XSET. | |
17477 | ||
17478 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17479 | ||
17480 | * search.c (search_buffer): Fix handling of "\\" in a trivial regexp. | |
17481 | ||
17482 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17483 | ||
17484 | * coding.c (decode_coding): Fix the condition of terminating the | |
17485 | decoding loop. | |
17486 | ||
17487 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17488 | ||
17489 | * data.c (Faset): On setting a character bigger than 255 in a | |
17490 | unibyte string, signal an error instead of make the string multibyte. | |
17491 | ||
17492 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17493 | ||
17494 | * charset.c (map_charset_chars): Fix for ascii-compatible charset | |
17495 | made by a mapping table. | |
17496 | ||
17497 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17498 | ||
17499 | * xdisp.c (fill_composite_glyph_string): Check s->face is NULL or | |
17500 | not. | |
17501 | (BUILD_COMPOSITE_GLYPH_STRING): If C is TAB, set s->face to NULL. | |
17502 | (x_produce_glyphs): If CH is TAB, set cmp->offsets properly. | |
17503 | ||
17504 | * xterm.c (x_draw_composite_glyph_string_foreground): Check | |
17505 | s->face is NULL or not. | |
17506 | ||
17507 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17508 | ||
17509 | * xterm.c (x_set_glyph_string_clipping_exactly): New function. | |
17510 | (x_draw_glyph_string): Fix drawing of right_overhang and | |
17511 | left_overhang around/on cursor. | |
17512 | ||
17513 | * xdisp.c (draw_glyphs): Fix inclusion of right_overwriting glyphs. | |
17514 | ||
17515 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17516 | ||
17517 | * xdisp.c (x_produce_glyphs): Handle composition with TAB. | |
17518 | ||
17519 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17520 | ||
17521 | * coding.c (Fdefine_coding_system_internal) | |
17522 | (Fdefine_coding_system_alias): Avoid a duplicated element in | |
17523 | Vcoding_system_alist. | |
17524 | ||
17525 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17526 | ||
17527 | * xterm.c (handle_one_xevent): Handle keysyms 0x1000000..0x10000FF. | |
17528 | ||
17529 | * coding.c (Qcoding_system_define_form): New variable. | |
17530 | (syms_of_coding): Intern and staticpro it. | |
17531 | (Fcoding_system_p): Check Qcoding_system_define_form. | |
17532 | (Fcheck_coding_system): Try to autoload the definition of CODING-SYSTEM. | |
17533 | ||
17534 | * coding.h (CODING_SYSTEM_P): If ID is not available, call | |
17535 | Fcoding_system_p. | |
17536 | (CHECK_CODING_SYSTEM): If ID is not available, call | |
17537 | Fcheck_coding_system. | |
17538 | (CHECK_CODING_SYSTEM_GET_SPEC, CHECK_CODING_SYSTEM_GET_ID): | |
17539 | Try also Fcheck_coding_system. | |
17540 | ||
17541 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17542 | ||
17543 | * coding.c (code_conversion_restore): GCPRO arg. | |
17544 | ||
17545 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17546 | ||
17547 | * character.c (lisp_string_width): Check multibyteness of STRING. | |
17548 | ||
17549 | 2008-02-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
17550 | ||
17551 | * macterm.c (mac_encode_char): Call ccl_driver with the last arg | |
17552 | Qnil. Use JIS_TO_SJIS instead of ENCODE_SJIS. | |
17553 | (decode_mac_font_name): Use decode_coding_c_string instead of | |
17554 | decode_coding. | |
17555 | (x_load_font): Initialize fontp->fontset to -1. Set | |
17556 | fontp->encoding_type. | |
17557 | ||
17558 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17559 | ||
17560 | * search.c (search_buffer): Give up BM search on case-fold-search | |
17561 | if one of a target character has a case-equivalence of different | |
17562 | byte length even if that target charcter is an ASCII. | |
17563 | (simple_search): Fix calculation of byte length of matched text. | |
17564 | (boyer_moore): Fix handling of case-equivalent multibyte characters. | |
17565 | ||
17566 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17567 | ||
17568 | * coding.c (decode_coding): Fix handling of invalid bytes. | |
17569 | ||
17570 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17571 | ||
17572 | * xterm.c (handle_one_xevent): Handle keysyms directly mapped to | |
17573 | Unicode characters. | |
17574 | ||
17575 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17576 | ||
17577 | * coding.c (encode_coding_object): If a pre-write-conversion | |
17578 | function makes a new buffer, kill it. | |
17579 | ||
17580 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17581 | ||
17582 | * coding.c (QCascii_compatible_p): New variable. | |
17583 | (syms_of_coding): Initialize it. | |
17584 | (ONE_MORE_BYTE, ONE_MORE_BYTE_NO_CHECK): Decrement `src' before | |
17585 | calling string_char. | |
17586 | (record_conversion_result): Add `default:' case. | |
17587 | (coding_charset_list): Delete unused variable `coding_type'. | |
17588 | (Fdefine_coding_system_internal): Add `ascii-compatible-p' | |
17589 | property in the plist of the coding system. | |
17590 | (Fcoding_system_put): Check QCascii_compatible_p. | |
17591 | ||
17592 | 2008-02-01 Miles Bader <miles@gnu.org> | |
17593 | ||
17594 | * xfaces.c (Finternal_lisp_face_equal_p): Restore previously | |
17595 | removed calculation of frame `f', as it's now used. | |
17596 | ||
17597 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17598 | ||
17599 | * Makefile.in (RUN_TEMACS): Include "-nl" if HAVE_SHM is defined. | |
17600 | (emacs${EXEEXT}): Run $(RUN_TEMACS) unconditionally. | |
17601 | (UNIDATA): New variable. | |
17602 | (${lispsource}international/charprop.el): Depends on ${UNIDATA}. | |
17603 | (bootstrap-emacs${EXEEXT}): Depends on charprop.el. Run | |
17604 | $(RUN_TEMACS) unconditionally. | |
17605 | ||
17606 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17607 | ||
17608 | * Makefile.in (temacs${EXEEXT}): Build charprop.el if necessary. | |
17609 | (admindir): New variable. | |
17610 | ($(lispsource)international/charprop.el): New target. | |
17611 | ||
17612 | 2008-02-01 Miles Bader <miles@gnu.org> | |
17613 | ||
17614 | * character.c (chars-in-region): Remove obsolete function. | |
17615 | (syms_of_character): Remove its initialization. | |
17616 | ||
17617 | 2008-02-01 Benjamin Riefenstahl <b.riefenstahl@turtle-trading.net> | |
17618 | ||
17619 | * w32select.c (validate_coding_system) | |
17620 | (setup_windows_coding_system): New functions. | |
17621 | (convert_to_handle_as_coded, Fw32_get_clipboard_data): Use | |
17622 | setup_windows_coding_system. | |
17623 | (setup_config, Fw32_get_clipboard_data): Use | |
17624 | validate_coding_system. | |
17625 | (Fx_selection_exists): Move call to setup_config to a place | |
17626 | where signals are allowed. | |
17627 | ||
17628 | * lisp.h (Fcoding_system_base, Fcoding_system_eol_type) | |
17629 | (Fcheck_coding_system): Add declarations. | |
17630 | ||
17631 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17632 | ||
17633 | * charset.c (load_charset_map_from_vector): Fix for the first iteration. | |
17634 | ||
17635 | 2008-02-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
17636 | ||
17637 | * macfns.c (Fx_create_frame, x_create_tip_frame): Pass Lisp | |
17638 | string as the second argument for x_new_fontset. | |
17639 | ||
17640 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17641 | ||
17642 | * coding.c (decode_coding_object): Use safe_call1 instead of call1. | |
17643 | (encode_coding_object): Use safe_call instead of call2. | |
17644 | ||
17645 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17646 | ||
17647 | * fontset.c (Fset_fontset_font): Check family element of a given vector. | |
17648 | ||
17649 | * Makefile.in (lisp): Include charprop.el. | |
17650 | ||
17651 | 2008-02-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
17652 | ||
17653 | * macfns.c (Fx_create_frame, x_create_tip_frame): Fix crash. | |
17654 | Not sure if it's unnecessary. | |
17655 | ||
17656 | 2008-02-01 Steven Tamm <steventamm@mac.com> | |
17657 | ||
17658 | * macfns.c (Fx_create_frame, x_create_tip_frame): ifdef'd out | |
17659 | some possibly unnecessary fontset checking code that crashed | |
17660 | when creating a new frame. | |
17661 | ||
17662 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17663 | ||
17664 | * xfaces.c (merge_faces): Fix argument to lookup_derived_face and | |
17665 | lookup_face. | |
17666 | ||
17667 | * xdisp.c (Fformat_mode_line): Fix argument to lookup_named_face. | |
17668 | ||
17669 | * fringe.c (draw_fringe_bitmap_1): Fix argument to lookup_named_face. | |
17670 | ||
17671 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17672 | ||
17673 | * coding.c: Cancel the change done in HEAD on 2008-02-01. | |
17674 | (coding_charset_list): New function. | |
17675 | ||
17676 | * coding.h (coding_charset_list): Extern it. | |
17677 | ||
17678 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17679 | ||
17680 | * fontset.c (Fset_fontset_font): Call find_font_encoding with | |
17681 | concatenation of family and registry. | |
17682 | ||
17683 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17684 | ||
17685 | * character.h (BYTE8_STRING): Fix typo. | |
17686 | ||
17687 | * editfns.c (Ftranslate_region_internal): Don't convert unibyte | |
17688 | string to multibyte (sync to HEAD). | |
17689 | ||
17690 | * casefiddle.c (casify_region): Handle changes in byte-length | |
17691 | using replace_range_2 (sync to HEAD). | |
17692 | ||
17693 | 2008-02-01 Andreas Schwab <schwab@suse.de> | |
17694 | ||
17695 | * chartab.c (map_char_table): GCPRO table and arg. | |
17696 | ||
17697 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17698 | ||
17699 | * syntax.c (skip_syntaxes): Return lispy 0 (not nil) if point is | |
17700 | already at limit. | |
17701 | ||
17702 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17703 | ||
17704 | * fontset.c (fs_load_font): Use fast_string_match_ignore_case | |
17705 | instead of fast_c_string_match_ignore_case. | |
17706 | (find_font_encoding): Change argument to Lisp_Object. Use | |
17707 | fast_string_match_ignore_case instead of | |
17708 | fast_c_string_match_ignore_case. Change caller. | |
17709 | ||
17710 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17711 | ||
17712 | * xdisp.c (get_next_display_element): In unibyte case, decide to | |
17713 | display in octal form by checking a character by | |
17714 | UNIBYTE_CHAR_HAS_MULTIBYTE_P. | |
17715 | ||
17716 | * charset.c (Fset_unibyte_charset): Setup unibyte_has_multibyte_table. | |
17717 | ||
17718 | * character.c (unibyte_has_multibyte_table): New variable. | |
17719 | ||
17720 | * character.h (unibyte_has_multibyte_table): Extern it. | |
17721 | (UNIBYTE_CHAR_HAS_MULTIBYTE_P): New macro. | |
17722 | ||
17723 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17724 | ||
17725 | * coding.c (encode_coding_iso_2022): Fix handling of charset | |
17726 | annotation. | |
17727 | ||
17728 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17729 | ||
17730 | * coding.c (setup_coding_system): If coding_system is nil, use | |
17731 | Qundecided. | |
17732 | (Fterminal_coding_system): Return nil if terminal coding system is | |
17733 | `undecided'. | |
17734 | (syms_of_coding): Define coding-system `undecided' here. Setup | |
17735 | terminal_coding as `undecided'. | |
17736 | ||
17737 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17738 | ||
17739 | * xdisp.c (message_dolog, set_message_1): Call | |
17740 | unibyte_char_to_multibyte with arg type int. | |
17741 | ||
17742 | * lread.c (read1): Fix reading of a char-table. | |
17743 | ||
17744 | * print.c (print_object): Include sub char-table in circularities | |
17745 | detection. | |
17746 | ||
17747 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17748 | ||
17749 | * keymap.c (where_is_internal_2): Fix for the case that KEY is a cons. | |
17750 | Append the found sequences in car of ARGS instead of prepending. | |
17751 | ||
17752 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17753 | ||
17754 | * fileio.c (report_file_error): Make a unibyte string from | |
17755 | strerror (errorno). | |
17756 | (Fsubstitute_in_file_name): Fix the arg to | |
17757 | unibyte_char_to_multibyte. It is evaluated twice. | |
17758 | ||
17759 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17760 | ||
17761 | * charset.h (CHAR_CHARSET): Shortcut for ASCII case. | |
17762 | ||
17763 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17764 | ||
17765 | * coding.c (detect_coding_utf_16): Don't set detect_info->found if | |
17766 | BOM is not found. | |
17767 | (detect_coding, detect_coding_system): Optimization for ISO-2022 | |
17768 | when no 8-bit data is found. | |
17769 | ||
17770 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
17771 | ||
17772 | * w32fns.c (x_to_w32_font): Update to use new coding struct. | |
17773 | ||
17774 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17775 | ||
17776 | * charset.c (Fdeclare_equiv_charset, Fiso_charset): Fix handing of | |
17777 | CHARS. | |
17778 | ||
17779 | 2008-02-01 Steven Tamm <steventamm@mac.com> | |
17780 | ||
17781 | * macterm.c (mac_encode_char): Add charset argument and update | |
17782 | to use encoding_type. | |
17783 | (x_new_font, x_new_fontset): Merge in changes from xterm.c; | |
17784 | switch to pure fontset. | |
17785 | (decode_mac_font_name): Temporarily remove decoding. | |
17786 | (x_font_name_to_mac_font_name): Temporarily remove encoding. | |
17787 | (x_load_font): Temporarily remove encoding. | |
17788 | ||
17789 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17790 | ||
17791 | * xfaces.c (Fface_font): If frame is not on a window system, | |
17792 | ignore CHARACTER arg. If HAVE_WINDOW_SYSTEM is not defined, don't | |
17793 | refer to face->font. | |
17794 | (split_font_name_into_vector, build_font_name_from_vector) | |
17795 | (lookup_non_ascii_face, realize_non_ascii_face): Define them only | |
17796 | when HAVE_WINDOW_SYSTEM is defined. | |
17797 | ||
17798 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17799 | ||
17800 | * xdisp.c (BUILD_GLYPH_STRINGS): Check if s is NULL. | |
17801 | (x_produce_glyphs): Fix setting of members of cmp in case | |
17802 | cmp->glyph_len is zero. | |
17803 | ||
17804 | * fontset.c (Fset_fontset_font): Fix docstring. | |
17805 | (Ffontset_info): Make it backward compatible. New arg ALL. | |
17806 | ||
17807 | 2008-02-01 Kim F. Storm <storm@cua.dk> | |
17808 | ||
17809 | * process.c (read_process_output): Grow decoding_buf when needed; | |
17810 | this could cause a crash in allocate_string and compact_small_strings. | |
17811 | ||
17812 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17813 | ||
17814 | * fileio.c (WRITE_BUF_SIZE): Delete this macro. | |
17815 | ||
17816 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17817 | ||
17818 | * coding.c (setup_coding_system): Set coding->common_flags | |
17819 | correctly for raw-text. | |
17820 | (consume_chars): On encoding unibyte text by raw-text, don't check | |
17821 | multibyte form. | |
17822 | (encode_coding): On encoding by raw-text, never use translation tables. | |
17823 | ||
17824 | * fileio.c (e_write): Short cut for the case of no encoding. | |
17825 | ||
17826 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17827 | ||
17828 | * coding.c (detect_coding, detect_coding_system): Delete unused | |
17829 | variables. | |
17830 | ||
17831 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17832 | ||
17833 | * coding.c (encode_coding_utf_8): Fix handling of raw-byte char. | |
17834 | (consume_chars): Fix handling of 8-bit bytes in unibyte source. | |
17835 | ||
17836 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17837 | ||
17838 | * coding.c (Ffind_coding_systems_region_internal): Include | |
17839 | raw-text and no-conversion in the result. | |
17840 | ||
17841 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17842 | ||
17843 | * fontset.c (find_font_encoding): Return `ascii' for unknown encoding. | |
17844 | (load_font_get_repertory): Delete unnecessary check of ENCODING of | |
17845 | FONT_DEF. | |
17846 | (font_def_arg, add_arg, from_arg, to_arg): New args. | |
17847 | (set_fontset_font): Change argument. | |
17848 | (Fset_fontset_font): Fix for the case that TARGET is a script | |
17849 | name and charset name. | |
17850 | (new_fontset_from_font_name): Fix argument to Fnew_fontset. | |
17851 | ||
17852 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17853 | ||
17854 | * fontset.c (fontset_font): Rename from fontset_face. Change return | |
17855 | value. | |
17856 | (face_suitable_for_char_p, face_for_char): Adjust for the change | |
17857 | of fontset_font. | |
17858 | (make_fontset_for_ascii_face): Fix setting of the fontset element | |
17859 | for ASCII. | |
17860 | (Finternal_char_font): Use fontset_font instead of FACE_FOR_CHAR | |
17861 | to get a font name. | |
17862 | (Ffontset_info): Adjust for the change of fontset_font. | |
17863 | ||
17864 | * coding.c (emacs_mule_char): Check invalid code more rigidly. | |
17865 | ||
17866 | * character.h (LEADING_CODE_LATIN_1_MIN) | |
17867 | (LEADING_CODE_LATIN_1_MAX): Delete these macros. | |
17868 | ||
17869 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17870 | ||
17871 | * editfns.c (check_translation): New function. | |
17872 | (Ftranslate_region_internal): Handle M:N mapping. | |
17873 | ||
17874 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17875 | ||
17876 | * xfaces.c (xlfd_point_size): Set font->numeric[XLFD_PIXEL_SIZE]. | |
17877 | ||
17878 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17879 | ||
17880 | * coding.c (DECODE_DESIGNATION): Set chars_96 to -1 instead of | |
17881 | goto invalid_code. | |
17882 | (decode_coding_iso_2022): Fix handling of invalid designation. | |
17883 | ||
17884 | * fileio.c (Finsert_file_contents): Be sure to call unbind_to | |
17885 | after calling code_conversion_save. | |
17886 | ||
17887 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17888 | ||
17889 | * xdisp.c (handle_auto_composed_prop): Fix Lisp_Object/int mixup. | |
17890 | ||
17891 | * print.c (print_prune_string_charset): Fix Lisp_Object/int mixup. | |
17892 | ||
17893 | * fontset.c: Include "intervals.h". | |
17894 | (fontset_face): Fix comparing of Lisp_Objects. | |
17895 | (free_face_fontset, new_fontset_from_font_name): Fix | |
17896 | Lisp_Object/int mixup. | |
17897 | ||
17898 | * editfns.c (Ftranslate_region_internal): Fix Lisp_Object/int mixup. | |
17899 | ||
17900 | * coding.c: Add many prototypes for static functions. | |
17901 | (get_translation_table): Allow max_lookup to be NULL. | |
17902 | (decode_coding, Ffind_coding_systems_region_internal) | |
17903 | (Funencodable_char_position, Fcheck_coding_systems_region): Call | |
17904 | get_translation_table with max_lookup NULL. | |
17905 | ||
17906 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17907 | ||
17908 | * coding.c (get_translation_table): Declare it as Lisp_Object. | |
17909 | (LOOKUP_TRANSLATION_TABLE): New macro. | |
17910 | (produce_chars, consume_chars): Use LOOKUP_TRANSLATION_TABLE | |
17911 | instead of CHAR_TABLE_REF. | |
17912 | ||
17913 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17914 | ||
17915 | * coding.c (MAX_ANNOTATION_LENGTH): Adjust for the change of | |
17916 | annotation data format. | |
17917 | (ADD_ANNOTATION_DATA, ADD_COMPOSITION_DATA, ADD_CHARSET_DATA): | |
17918 | Change arguments FROM and TO to single argument NCHARS. Change caller. | |
17919 | (decode_coding_utf_8, decode_coding_utf_16, decode_coding_emacs_mule) | |
17920 | (decode_coding_iso_2022, decode_coding_sjis, decode_coding_big5) | |
17921 | (decode_coding_ccl, decode_coding_charset): Pay attention to | |
17922 | coding->charbuf_used. | |
17923 | (get_translation): New function. | |
17924 | (produce_chars): New arguments translation_table and last_block. | |
17925 | Translate characters here. Return number of carryover chars. | |
17926 | Change caller. | |
17927 | (produce_composition): New argument pos. Change caller. | |
17928 | Adjust for the change of annotation data format. | |
17929 | (produce_charset, produce_annotation): Likewise. | |
17930 | (decode_coding, encode_coding): Don't call translate_chars. | |
17931 | (consume_chars): New arg translation_table. Change caller. | |
17932 | (translate_chars): Delete. | |
17933 | (syms_of_coding): Make translation-table's number of extra slots 2. | |
17934 | ||
17935 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17936 | ||
17937 | * search.c (simple_search): Fix setting this_pos_byte in backward | |
17938 | search. | |
17939 | ||
17940 | * coding.c (detect_coding_emacs_mule): Fix counting of encoded | |
17941 | byte sequence. | |
17942 | (detect_coding_ccl): Fix setting of the variable valids. | |
17943 | ||
17944 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17945 | ||
17946 | * xterm.c (x_list_fonts): Fix the detection of an auto-scaled font. | |
17947 | ||
17948 | * coding.c (decode_coding_utf_16): Fix handling of surrogate pair. | |
17949 | ||
17950 | * editfns.c (Ftranslate_region_internal): Rename from | |
17951 | Ftranslate_region. Accept a char-table in TABLE. | |
17952 | (syms_of_editfns): Defsubr Stranslate_region_internal. | |
17953 | ||
17954 | * xfaces.c (set_lface_from_font_name): If a font is specified for | |
17955 | a frame, generate a fontset from the font. | |
17956 | (build_scalable_font_name): If the scalable font is requested for | |
17957 | a specific size, don't change that size. | |
17958 | (try_font_list): Try a scalable font also in the case that a | |
17959 | pattern string is specified. | |
17960 | ||
17961 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17962 | ||
17963 | * xfaces.c (Fface_font): New optional arg CHARACTER. | |
17964 | ||
17965 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17966 | ||
17967 | * charset.h (CHARSET_OFFSET): New macro. | |
17968 | ||
17969 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17970 | ||
17971 | * xterm.c (x_get_font_repertory): Fix for non-Unicode-bmp charset. | |
17972 | ||
17973 | * fontset.c (fontset_face): Handle the case that repertory is a | |
17974 | char-table. | |
17975 | (find_font_encoding): Return nil for unknown encoding. | |
17976 | (Fset_fontset_font): Ignore a font of unknown encoding. | |
17977 | ||
17978 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17979 | ||
17980 | * keymap.c (describe_vector): Handle default value of a char table. | |
17981 | ||
17982 | * fontset.c (fontset_face): Handle fallback fonts correctly. | |
17983 | (Ffontset_info): Return infomation about fallback fonts. | |
17984 | ||
17985 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17986 | ||
17987 | * fontset.c (FONTSET_DEFAULT): New macro. | |
17988 | (FONTSET_ADD, fontset_add): Handle the case that range is nil. | |
17989 | (Fset_fontset_font): Change the 2nd arg name to TARGET, and handle | |
17990 | the case that it is nil. | |
17991 | (dump_fontset): Call FONTSET_DEFAULT, not FONTSET_FALLBACK. | |
17992 | (syms_of_fontset): Set char-table-extra-slots property of fontset to 9. | |
17993 | ||
17994 | * charset.h (CHAR_CHARSET_P): Fix for the case that the method is | |
17995 | subset or superset. | |
17996 | ||
17997 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
17998 | ||
17999 | * emacs.c (main): Call init_charset after syms_of_XXX. | |
18000 | ||
18001 | * charset.c (Vcharset_map_directory): Delete. | |
18002 | (Vcharset_map_path): New variable. | |
18003 | (load_charset_map_from_file): Use Vcharset_map_path instead. | |
18004 | (init_charset): Initialize Vcharset_map_path. | |
18005 | (syms_of_charset): Delete declaration of "charset-map-directory", | |
18006 | add declaration of "charset-map-path". | |
18007 | ||
18008 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18009 | ||
18010 | * fns.c (string_char_to_byte, string_byte_to_char): Optimize for | |
18011 | ASCII only string. | |
18012 | ||
18013 | * fileio.c (Finsert_file_contents): Avoid detecting a code twice. | |
18014 | ||
18015 | * coding.c (detect_coding_iso_2022): Fix handling of SS2 and SS3. | |
18016 | (detect_coding, detect_coding_system): Treat '\0' as normal ASCII byte. | |
18017 | ||
18018 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18019 | ||
18020 | * coding.h (SJIS_TO_JIS2, JIS_TO_SJIS2): New macros. | |
18021 | ||
18022 | * coding.c (QCmnemonic, QCdefalut_char) | |
18023 | (QCdecode_translation_table, QCencode_translation_table) | |
18024 | (QCpost_read_conversion, QCpre_write_conversion): New variables. | |
18025 | (get_translation_table): Return a list of translation tables if | |
18026 | necessary. | |
18027 | (decode_coding): Call get_translation_table with ENCODEP 0. | |
18028 | (char_encodable_p): If translation_table is non-nil, always call | |
18029 | translate_char. | |
18030 | (Fdefine_coding_system_internal): Accept list of translation | |
18031 | tables as :encode-translation-table and :decode-translation-table. | |
18032 | (Fcoding_system_put): New function. | |
18033 | (syms_of_coding): Declare new symbols. Defsubr | |
18034 | Scoding_system_put. | |
18035 | (decode_coding_sjis, encode_coding_sjis): Handle 4th charset, | |
18036 | typically JISX0212. | |
18037 | ||
18038 | * charset.c (map_charset_chars): Fix arg to map_charset_chars in | |
18039 | when the charset is superset type. | |
18040 | ||
18041 | * character.c (translate_char): Accept list of translation tables. | |
18042 | ||
18043 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18044 | ||
18045 | * coding.h (enum coding_attr_index): New member coding_attr_trans_tbl. | |
18046 | (CODING_ATTR_TRANS_TBL): New macro. | |
18047 | ||
18048 | * coding.c (get_translation_table): New function. | |
18049 | (translate_chars): Fix the bug of skipping annotation data. | |
18050 | (decode_coding, encode_coding): Utilize get_translation_table. | |
18051 | (char_encodable_p, Funencodable_char_position): Translate char if | |
18052 | necessary. | |
18053 | (Ffind_coding_systems_region_internal) | |
18054 | (Fcheck_coding_systems_region): Setup translation table for encode | |
18055 | in a coding system attribute vector in advance. | |
18056 | (Fdefine_coding_system_internal): Allow a symbol as translation | |
18057 | table. For shift-jis type coding system, allow 4th charset. | |
18058 | ||
18059 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18060 | ||
18061 | * coding.c (decode_coding_sjis): Check the first byte rigidly. | |
18062 | ||
18063 | * xdisp.c (get_next_display_element): Pass -1 as POS to | |
18064 | FACE_FOR_CHAR if displaying a C-string. | |
18065 | ||
18066 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18067 | ||
18068 | * composite.c (get_composition_id): Handle xoff and yoff in a | |
18069 | composition rule. | |
18070 | ||
18071 | * composite.h (COMPOSITION_DECODE_RULE): New arg xoff and yoff. | |
18072 | (struct composition): New member lbearing and rbearing. | |
18073 | ||
18074 | * xdisp.c (move_it_to): Optimize for the case (op & MOVE_TO_Y). | |
18075 | (x_get_glyph_overhangs): Handle a composition glyph. | |
18076 | (x_produce_glyphs): Setup lbearing and rbreaing for a composition glyph. | |
18077 | ||
18078 | * xterm.c (x_compute_glyph_string_overhangs): Handle also a | |
18079 | composition glyph. | |
18080 | ||
18081 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18082 | ||
18083 | * print.c: Include charset.h. | |
18084 | (Vprint_charset_text_property): New variable. | |
18085 | (Qdefault): Extern it. | |
18086 | (PRINT_STRING_NON_CHARSET_FOUND) | |
18087 | (PRINT_STRING_UNSAFE_CHARSET_FOUND): New macros. | |
18088 | (print_check_string_result): New variable. | |
18089 | (print_check_string_charset_prop): New function. | |
18090 | (print_prune_charset_plist): New variable. | |
18091 | (print_prune_string_charset): New function. | |
18092 | (print_object): Call print_prune_string_charset if | |
18093 | Vprint_charset_text_property is not t. | |
18094 | (print_interval): Print nothing if interval->plist is nil. | |
18095 | (syms_of_print): Declare Vprint_charset_text_property as a lisp | |
18096 | variable. Init and staticpro print_prune_charset_plist. | |
18097 | ||
18098 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18099 | ||
18100 | * fontset.c (new_fontset_from_font_name): Use the specified font | |
18101 | for all characters in the new fontset. | |
18102 | ||
18103 | * macterm.c (x_set_mouse_face_gc): Call FACE_FOR_CHAR with POS and | |
18104 | OBJECT args. | |
18105 | ||
18106 | * xdisp.c (x_produce_glyphs): Call FACE_FOR_CHAR with POS and | |
18107 | OBJECT args for composition too. | |
18108 | ||
18109 | * w32term.c (x_set_mouse_face_gc): Call FACE_FOR_CHAR with POS and | |
18110 | OBJECT args. | |
18111 | ||
18112 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18113 | ||
18114 | * dispextern.h (FACE_FOR_CHAR): New args POS and OBJECT. | |
18115 | ||
18116 | * fontset.c (reorder_font_vector): Adjust for the change of | |
18117 | FONT_DEF format. | |
18118 | (fontset_face): New arg id. Change caller. | |
18119 | (face_for_char): New args pos and object. | |
18120 | (make_fontset_for_ascii_face): Adjust for the change of FONT_DEF format. | |
18121 | (fs_query_fontset): Check NAME by Fassoc too. | |
18122 | (Fset_fontset_font): Allow non-XLFD font name. | |
18123 | (Ffontset_info): Adjust for the change of FONT_DEF format. | |
18124 | ||
18125 | * fontset.h (face_for_char): Adjust prototype. | |
18126 | ||
18127 | * xdisp.c (face_before_or_after_it_pos, get_next_display_element) | |
18128 | (append_space, extend_face_to_end_of_line) | |
18129 | (get_char_face_and_encoding, BUILD_COMPOSITE_GLYPH_STRING) | |
18130 | (x_produce_glyphs): Call FACE_FOR_CHAR with POS and OBJECT args. | |
18131 | ||
18132 | * xfaces.c (compute_char_face): Call FACE_FOR_CHAR with | |
18133 | POS and OBJECT args. | |
18134 | ||
18135 | * xterm.c (x_set_mouse_face_gc): Call FACE_FOR_CHAR with | |
18136 | POS and OBJECT args. | |
18137 | ||
18138 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
18139 | ||
18140 | * w32select.c (Fw32_set_clipboard_data): Avoid potential realloc | |
18141 | of GlobalAlloc'ed memory. | |
18142 | ||
18143 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18144 | ||
18145 | * ccl.c (Fccl_execute_on_string): Fix the condition of loop. | |
18146 | ||
18147 | * charset.h (charset_table_used): Delete extern. | |
18148 | ||
18149 | * charset.c (charset_table_used): Make it static. | |
18150 | (map_charset_chars): Fix args to c_function with. | |
18151 | ||
18152 | * chartab.c (map_sub_char_table_for_charset): Fix args to | |
18153 | c_function with. | |
18154 | ||
18155 | * coding.h (enum coding_result_code): Delete | |
18156 | CODING_RESULT_INSUFFICIENT_CMP, add CODING_RESULT_INVALID_SRC. | |
18157 | ||
18158 | * coding.c (Qinsufficient_source, Qinconsistent_eol) | |
18159 | (Qinvalid_source, Qinterrupted, Qinsufficient_memory): New variables. | |
18160 | (Vlast_code_conversion_error): New variables. | |
18161 | (syms_of_coding): DEFSYM or DEFVAR_LISP them. | |
18162 | (ONE_MORE_BYTE): Record error if any instead of signaling an | |
18163 | error. If non-ASCII multibyte char is found, return the negative | |
18164 | value of the code. All callers changed to check it. | |
18165 | (ONE_MORE_BYTE_NO_CHECK): Likewise. | |
18166 | (record_conversion_result): New function. Change all codes setting | |
18167 | coding->result to call this function. | |
18168 | (detect_coding_utf_8, decode_coding_utf_8) | |
18169 | (detect_coding_emacs_mule, detect_coding_sji, detect_coding_big5): | |
18170 | Don't use the local variable incomplete. | |
18171 | (emacs_mule_char): Change the second arg to `const'. | |
18172 | (decode_coding): Fix of flushing out unprocessed data. | |
18173 | (make_conversion_work_buffer): Fix making of a work buffer. | |
18174 | (decode_coding_object): Return coding->dst_object. | |
18175 | ||
18176 | * fontset.c (set_fontset_font): Fix args. | |
18177 | ||
18178 | * lisp.h (CHARACTERBITS): Define as 22. | |
18179 | ||
18180 | * process.c (send_process): Be sure to set coding->src_multibyte. | |
18181 | ||
18182 | * xdisp.c (handle_auto_composed_prop): Fix setting of limit. | |
18183 | ||
18184 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18185 | ||
18186 | * xdisp.c (handle_auto_composed_prop): Give limit to | |
18187 | Fnext_single_char_property_change. | |
18188 | ||
18189 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18190 | ||
18191 | * composite.c (syms_of_composite): Don't make the composition hash | |
18192 | table weak. | |
18193 | ||
18194 | * fontset.c (Fset_fontset_font): Fix docstring. | |
18195 | ||
18196 | * lisp.h (detect_coding_system): Adjust prototype. | |
18197 | ||
18198 | * fileio.c (kill_workbuf_unwind): Delete this function. | |
18199 | (Finsert_file_contents): Adjust the call of detect_coding_system. | |
18200 | Get conversion_buffer by code_conversion_save. Use the macro | |
18201 | CODING_MAY_REQUIRE_DECODING. After decoding, update | |
18202 | coding_system. | |
18203 | ||
18204 | * coding.h (make_conversion_work_buffer): Delete extern. | |
18205 | (code_conversion_save): Extern it. | |
18206 | ||
18207 | * coding.c (enum iso_code_class_type): Delete ISO_carriage_return. | |
18208 | (CODING_GET_INFO): Delete argument eol_type. Change callers. | |
18209 | (decode_coding_utf_8): Don't do eol converion. | |
18210 | (detect_coding_utf_16): Check coding->src_chars, not | |
18211 | coding->src_bytes. Add heuristics for those that have no signature. | |
18212 | (decode_coding_emacs_mule, decode_coding_iso_2022) | |
18213 | (decode_coding_sjis, decode_coding_big5, decode_coding_charset): | |
18214 | Don't do eol converion. | |
18215 | (adjust_coding_eol_type): Return a new coding system. | |
18216 | (detect_coding): Don't detect eol. Fix for utf-16 detection. | |
18217 | (decode_eol): In case of CRLF->LF conversion, use del_range_2 on | |
18218 | each change. | |
18219 | (decode_coding): Pay attention to undo_list. Do eol conversion for | |
18220 | all types of coding-systems (if necessary). | |
18221 | (Vcode_conversion_work_buf_list): Delete it. | |
18222 | (Vcode_conversion_reused_workbuf): Rename from | |
18223 | Vcode_conversion_reused_work_buf. | |
18224 | (Vcode_conversion_workbuf_name): New variable. | |
18225 | (reused_workbuf_in_use): New variable. | |
18226 | (make_conversion_work_buffer): Delete the arg DEPTH. | |
18227 | (code_conversion_restore): Change argument to cons. | |
18228 | (code_conversion_save): Delete the argument BUFFER. Change callers. | |
18229 | (detect_coding_system): New argument src_chars. Change callers. | |
18230 | Fix for utf-16 detection. | |
18231 | (init_coding_once): Don't use ISO_carriage_return. | |
18232 | (syms_of_coding): Initialize Vcode_conversion_workbuf_name and | |
18233 | reused_workbuf_in_use. | |
18234 | ||
18235 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18236 | ||
18237 | * keymap.c (store_in_keymap): Pay attention to the case that idx | |
18238 | is a cons specifying a character range. | |
18239 | ||
18240 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18241 | ||
18242 | * xdisp.c (handle_auto_composed_prop): Fix the case of returning | |
18243 | HANDLED_RECOMPUTE_PROPS. | |
18244 | ||
18245 | * coding.c (Fdefine_coding_system_internal): Fix checking of | |
18246 | ascii compatibility. | |
18247 | ||
18248 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18249 | ||
18250 | * charset.c (find_charsets_in_text): Delete unused locale variable. | |
18251 | (Fset_charset_priority): Update Vemacs_mule_charset_list too. | |
18252 | ||
18253 | * coding.c (encode_coding_emacs_mule): Emit bytes with MSB. | |
18254 | Resync charset_list to Vemacs_mule_charset_list. | |
18255 | ||
18256 | * keymap.c (store_in_keymap): Pay attention to the case that idx | |
18257 | is a cons specifying a character range. | |
18258 | ||
18259 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18260 | ||
18261 | * composite.c (update_compositions): Bind inhibit-read-only, etc | |
18262 | to t before calling remove-list-of-text-properties. | |
18263 | ||
18264 | * print.c (print_object): Always print ASCII chars as is. | |
18265 | ||
18266 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18267 | ||
18268 | * keymap.c (Fdefine_key): Fix handling of Lucid style event type list. | |
18269 | ||
18270 | * fns.c (Fmapconcat, Fmapcar, Fmapc): Signal an error if SEQUENCE | |
18271 | is a char table. | |
18272 | ||
18273 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18274 | ||
18275 | * syntax.c (skip_chars): Be sure to alloca char_ranges when necessary. | |
18276 | ||
18277 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18278 | ||
18279 | * xfaces.c (set_lface_from_font_name): Fix for the case that | |
18280 | FONTNAME is not fontset name. | |
18281 | ||
18282 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18283 | ||
18284 | * fns.c (base64_encode_1): Fix previous change. | |
18285 | ||
18286 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18287 | ||
18288 | * fontset.c (set_fontset_font): New function. | |
18289 | (Fset_fontset_font): If a font is specified for a charset, use | |
18290 | map_charset_chars to store the font spec in a fontset. | |
18291 | ||
18292 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18293 | ||
18294 | * fontset.c (fontset_face): Create a fallback fontset on demand. | |
18295 | (make_fontset): Don't create a fallback fontset here. | |
18296 | (free_face_fontset): Free a fallback fontset (if any) too. | |
18297 | (n_auto_fontsets): Delete this variable. | |
18298 | (auto_fontset_alist): New variable. | |
18299 | (new_fontset_from_font_name): Check auto_fontset_alist. | |
18300 | (dump_fontset) [FONTSET_DEBUG]: Fully re-written. | |
18301 | (Ffontset_list_all) [FONTSET_DEBUG]: New function. | |
18302 | (syms_of_fontset): Initialize and staticpro auto_fontset_alist. | |
18303 | Defsubr Sfontset_list_all. | |
18304 | ||
18305 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18306 | ||
18307 | * xterm.c (x_list_fonts): Fix excluding of auto-scaled fonts. | |
18308 | ||
18309 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18310 | ||
18311 | * fontset.c (Fnew_fontset): Check NAME more rigidly. | |
18312 | ||
18313 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18314 | ||
18315 | * editfns.c (Fgoto_char): Fix docstring. | |
18316 | ||
18317 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18318 | ||
18319 | * insdel.c (insert_from_gap): Adjust intervals correctly. | |
18320 | ||
18321 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
18322 | ||
18323 | * w32term.c (GLYPHSET, WCRANGE): Define if system headers don't. | |
18324 | (pfnGetFontUnicodeRanges): New dynamically loaded function. | |
18325 | (w32_initialize): Try to load it. | |
18326 | (x_get_font_repertory): Use it if available. | |
18327 | (w32_encode_char): Add shortcut for unicode output. | |
18328 | ||
18329 | * w32fns.c (w32_load_system_font): Default charset to -1. | |
18330 | (x_to_w32_charset): Match all fonts for unicode. | |
18331 | (w32_to_x_charset): New parameter matching. Don't return partial | |
18332 | or wildcard charsets. | |
18333 | (w32_to_all_x_charsets): Don't return partial or wildcard charsets. | |
18334 | (w32_codepage_for_font): Return CP_UNICODE for unicode. | |
18335 | (w32_to_x_font): Match charset to real charset. | |
18336 | (enum_font_cb2): Always list unicode versions. | |
18337 | ||
18338 | * makefile.w32-in (temacs): Increase EMHEAP. | |
18339 | ||
18340 | 2008-02-01 Jason Rumney <jasonr@gnu.org> | |
18341 | ||
18342 | * w32term.c (w32_encode_char): New charset parameter. | |
18343 | font_info.encoding becomes encoding_type. | |
18344 | (x_get_font_repertory): New function. Warning: stub only! | |
18345 | (x_new_font): Return quickly if font already set. | |
18346 | (x_new_fontset): fontsetname parameter is Lisp_Object. | |
18347 | Use new fs_query_fontset. Try new_fontset_from_font_name. | |
18348 | Use fontset_name for return value. | |
18349 | ||
18350 | * w32term.h: Declare x_get_font_repertory. | |
18351 | ||
18352 | * w32select.c (Fw32_set_clipboard_data): Use string_x_string_p in | |
18353 | place of find_charset_in_text. Use encode_coding_object in place | |
18354 | of encode_coding. | |
18355 | (Fw32_get_clipboard_data): Use decode_coding_c_string in place of | |
18356 | decode_coding. | |
18357 | ||
18358 | * w32fns.c (Fx_create_frame, x_create_tip_frame): Use new version | |
18359 | of x_new_fontset. | |
18360 | (w32_load_system_font): Initialize charset as unicode. | |
18361 | font_info.encoding becomes encoding_type. | |
18362 | (w32_to_x_font): Use decode_coding_c_string in place of decode_coding. | |
18363 | (x_to_w32_font): Use encode_coding_object in place of encode_coding. | |
18364 | (syms_of_w32fns): Set get_font_repertory_func. | |
18365 | ||
18366 | * w32console.c: Include character.h. Use terminal_encode_buffer | |
18367 | from term.c. | |
18368 | (write_glyphs): Use new version of encode_terminal_code. Use | |
18369 | encode_coding_object in place of encode_coding. | |
18370 | ||
18371 | * w32bdf.c (w32_load_bdf_font): Clear font_info before filling. | |
18372 | encoding becomes encoding_type. | |
18373 | ||
18374 | * term.c (terminal_encode_buffer): Make externally visible. | |
18375 | ||
18376 | * makefile.w32-in: Add character.h dependancies. | |
18377 | (character.o, chartab.o): New targets. | |
18378 | ||
18379 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18380 | ||
18381 | * fileio.c (Finsert_file_contents) [DOS_NT]: Use the macro | |
18382 | CODING_ID_EOL_TYPE. | |
18383 | ||
18384 | 2008-02-01 Andreas Schwab <schwab@suse.de> | |
18385 | ||
18386 | * coding.c (produce_chars): Revert last change. | |
18387 | ||
18388 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18389 | ||
18390 | * charset.h (charset_unicode): Extern it. | |
18391 | ||
18392 | * charset.c (string_xstring_p): Check by (C >= 0x100). | |
18393 | (find_charsets_in_text): Change format of the arc CHARSETS. New | |
18394 | arg MULTIBYTE. | |
18395 | (Ffind_charset_region, Ffind_charset_string): Adjust for the | |
18396 | change of find_charsets_in_text. | |
18397 | (Fsplit_char): Fix doc. Never return unknown. | |
18398 | ||
18399 | * chartab.c (char_table_translate): Use CHARACTERP, not INTEGERP. | |
18400 | ||
18401 | * coding.c (Fdefine_coding_system_alias): Update | |
18402 | Vcoding_system_list. | |
18403 | ||
18404 | * fontset.c (load_font_get_repertory): Pay attention to the case | |
18405 | that ENCODING of a font is specified by a char-table. | |
18406 | ||
18407 | * xterm.c (x_get_font_repertory): Handle the case that the | |
18408 | encoding of font is other than Unicode. | |
18409 | ||
18410 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18411 | ||
18412 | * term.c (encode_terminal_code): Don't handle glyph-table. Check | |
18413 | if a character is encodable by the terminal coding system. If | |
18414 | not, produces proper number of `?'s. Update | |
18415 | terminal_encode_buffer and terminal_encode_buf_size if necessary. | |
18416 | (produce_glyphs): Check by CHAR_BYTE8_P, not SINGLE_BYTE_CHAR_P. | |
18417 | ||
18418 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18419 | ||
18420 | * term.c (terminal_encode_buffer, terminal_encode_buf_size): New | |
18421 | variables. | |
18422 | (encode_terminal_code): Change argument. Encode multiple | |
18423 | characters at once. Store the result of encoding in | |
18424 | terminal_encode_buffer. | |
18425 | (write_glyphs, insert_glyphs): Adjust for the change of | |
18426 | encode_terminal_code. | |
18427 | (term_init): Initialize terminal_encode_buffer and | |
18428 | terminal_encode_buf_size. | |
18429 | ||
18430 | * coding.c (consume_chars): If coding->src_object is nil, don't | |
18431 | check annotation. | |
18432 | ||
18433 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18434 | ||
18435 | * character.c (char_string): Use ASCII_CHAR_P instead of | |
18436 | SINGLE_BYTE_CHAR_P. | |
18437 | ||
18438 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18439 | ||
18440 | * xdisp.c (handle_auto_composed_prop): Check if the last | |
18441 | characters of auto-composed region is newly composed with the | |
18442 | following characters. | |
18443 | (handle_composition_prop): Fix checking of point being inside | |
18444 | composition. | |
18445 | ||
18446 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18447 | ||
18448 | * fns.c (concat): Don't change multibyteness of the result by | |
18449 | concatenating an 8-bit character. | |
18450 | ||
18451 | * data.c (Faset): Check newelt by CHECK_CHARACTER. Don't change | |
18452 | multibyteness of the result when newelt is an 8-bit character. | |
18453 | ||
18454 | 2008-02-01 Dave Love <fx@gnu.org> | |
18455 | ||
18456 | * xmenu.c (find_and_call_menu_selection): Make menu_bar_items_used | |
18457 | EMACS_INT. | |
18458 | ||
18459 | * xfns.c (DefaultDepthOfScreen, x_encode_text): Remove unused vars. | |
18460 | ||
18461 | * xfaces.c (face_numeric_value): Declare dim size_t. | |
18462 | (Finternal_lisp_face_equal_p): Remove unused f. | |
18463 | ||
18464 | * xdisp.c (BUILD_CHAR_GLYPH_STRINGS, display_and_set_cursor) | |
18465 | (MATRIX_ROW): Remove unused vars. | |
18466 | (draw_glyphs, x_insert_glyphs, fast_find_position) | |
18467 | (fast_find_position, fast_find_string_pos): Use EMACS_INT for | |
18468 | byte/char counts. | |
18469 | ||
18470 | * regex.c (regex_compile): Remove unused var. | |
18471 | ||
18472 | * minibuf.c (Fminibuffer_complete_word): Remove unused var. | |
18473 | ||
18474 | * keymap.c (Fset_keymap_parent, map_keymap, Fcopy_keymap) | |
18475 | (Faccessible_keymaps, where_is_internal): Remove unused vars. | |
18476 | ||
18477 | * keyboard.c (cancel_hourglass_unwind): Return Qnil. | |
18478 | ||
18479 | * frame.c (frame_name_fnn_p): Make len EMACS_INT. | |
18480 | ||
18481 | * fileio.c (Fwrite_region): Remove unused var. | |
18482 | ||
18483 | * dispnew.c (adjust_frame_glyphs_for_frame_redisplay) | |
18484 | (adjust_frame_glyphs_for_window_redisplay): Remove unused ch_dim. | |
18485 | ||
18486 | * composite.c (Fremove_list_of_text_properties): Declare. | |
18487 | ||
18488 | * coding.c (inhibit_pre_post_conversion): Remove (unused). | |
18489 | (alloc_destination, produce_chars): Use EMACS_INT for byte/char counts. | |
18490 | (coding_inherit_eol_type): Remove unused attrs. | |
18491 | (detect_coding): Cast arg of detect_eol. | |
18492 | ||
18493 | * charset.c (syms_of_charset): Remove unused var p. | |
18494 | (find_charsets_in_text, Ffind_charset_region): Use EMACS_INT for | |
18495 | byte/char counts. | |
18496 | ||
18497 | * casetab.c (set_case_table): Remove unused var. | |
18498 | ||
18499 | * window.c (Fdisplay_buffer, Fframe_selected_window): Remove | |
18500 | unused vars. | |
18501 | ||
18502 | 2008-02-01 Dave Love <fx@gnu.org> | |
18503 | ||
18504 | * xterm.c (x_bitmap_mask): Declare. | |
18505 | ||
18506 | 2008-02-01 Dave Love <fx@gnu.org> | |
18507 | ||
18508 | * xterm.c (x_term_init): Fix type error. | |
18509 | ||
18510 | * lisp.h: Add Funibyte_char_to_multibyte. | |
18511 | ||
18512 | * coding.c (Fread_coding_system): Fix arg of XSETSTRING. | |
18513 | (Fset_coding_system_priority): Doc fix. | |
18514 | ||
18515 | * ccl.c (ccl_driver): Fix arg of CHARACTERP. | |
18516 | ||
18517 | * indent.c (check_composition): Make start and end EMACS_INT. | |
18518 | ||
18519 | * character.c (lisp_string_width): Make ignore and end EMACS_INT. | |
18520 | ||
18521 | * xdisp.c (handle_composition_prop, check_point_in_composition): | |
18522 | Make buffer positions EMACS_INT. | |
18523 | ||
18524 | * composite.c (find_composition, run_composition_function) | |
18525 | (update_compositions, Ffind_composition_internal): Make buffer | |
18526 | positions EMACS_INT. | |
18527 | ||
18528 | * composite.h (find_composition, update_compositions): Make | |
18529 | position args EMACS_INT. | |
18530 | ||
18531 | * keyboard.c (adjust_point_for_property): Make beg and end EMACS_INT. | |
18532 | ||
18533 | * intervals.c (get_property_and_range): | |
18534 | * intervals.h (get_property_and_range): Make start and end EMACS_INT. | |
18535 | ||
18536 | * unexalpha.c: Don't include varargs.h. | |
18537 | ||
18538 | 2008-02-01 Dave Love <fx@gnu.org> | |
18539 | ||
18540 | * coding.h (ENCODE_UTF_8): New. | |
18541 | ||
18542 | * Makefile.in (gtkutil.o): Depend on coding.h. | |
18543 | ||
18544 | * coding.c (Fset_coding_system_priority): Doc fix. | |
18545 | ||
18546 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18547 | ||
18548 | * fileio.c (Finsert_file_contents): Call setup_coding_system in | |
18549 | the case of auto saving. | |
18550 | ||
18551 | 2008-02-01 Andreas Schwab <schwab@suse.de> | |
18552 | ||
18553 | * chartab.c (map_char_table, map_char_table_for_charset): Protect | |
18554 | `range' from GC. | |
18555 | ||
18556 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18557 | ||
18558 | * coding.c (decode_coding_sjis): Check bytes more rigidly. | |
18559 | ||
18560 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18561 | ||
18562 | * fileio.c (choose_write_coding_system): Return a decided coding system. | |
18563 | (Fwrite_region): Set Vlast_coding_system_used to the return value | |
18564 | of choose_write_coding_system. | |
18565 | ||
18566 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18567 | ||
18568 | * charset.c (Fset_charset_priority): Pay attention to duplicated | |
18569 | arguments. | |
18570 | ||
18571 | * coding.c (QCcategory): New variable. | |
18572 | (syms_of_coding): Defsym it. Set all elements of | |
18573 | Vcoding_category_table and their symbol values. | |
18574 | (Fset_coding_system_priority): Doc fix. Update symbol qvalues of | |
18575 | coding-category-XXX, and coding-category-list. | |
18576 | (Fdefine_coding_system_internal): Add category in the plist. | |
18577 | ||
18578 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18579 | ||
18580 | * callproc.c (Fcall_process): Handle carryover correctly. | |
18581 | ||
18582 | * coding.c (decode_coding_iso_2022): Fix handling of invalid bytes. | |
18583 | (raw_text_coding_system): Check NILP (coding_system). | |
18584 | (coding_inherit_eol_type): Check NILP (coding_system) and | |
18585 | NILP (parent). | |
18586 | (consume_chars): Fix for the case of raw-text. | |
18587 | ||
18588 | * process.c (read_process_output): Handle carryover correctly. | |
18589 | ||
18590 | 2008-02-01 Dave Love <fx@gnu.org> | |
18591 | ||
18592 | * regex.c (re_search_2): Fix last change. | |
18593 | ||
18594 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18595 | ||
18596 | * regex.c (GET_CHAR_BEFORE_2): Check multibyte, not | |
18597 | target_multibyte. Even in a unibyte case, return a converted | |
18598 | multibyte char. | |
18599 | (GET_CHAR_AFTER): New macro. | |
18600 | (PATFETCH): Translate via multibyte char. | |
18601 | (HANDLE_UNIBYTE_RANGE): Delete this macro. | |
18602 | (SETUP_MULTIBYTE_RANGE): New macro. | |
18603 | (regex_compile): Setup compiled code so that its multibyteness | |
18604 | matches that of a target. Fix the handling of "[X-YZ]" using | |
18605 | SETUP_MULTIBYTE_RANGE. | |
18606 | (analyse_first) <charset>: For filling fastmap for all multibyte | |
18607 | characters, don't check by BASE_LEADING_CODE_P. | |
18608 | (re_search_2): Don't check RE_TARGET_MULTIBYTE_P (bufp). It is | |
18609 | the same as RE_MULTIBYTE_P (bufp) now. | |
18610 | (mutually_exclusive_p): Check by (! multibyte || IS_REAL_ASCII (c)). | |
18611 | (TARGET_CHAR_AND_LENGTH): Delete this macro. | |
18612 | (TRANSLATE_VIA_MULTIBYTE): New macro. | |
18613 | (re_match_2_internal): Don't check RE_TARGET_MULTIBYTE_P (bufp). | |
18614 | It is the same as RE_MULTIBYTE_P (bufp) now. | |
18615 | <exactn>: Translate via multibyte. | |
18616 | <anychar>: Fetch a character by RE_STRING_CHAR_AND_LENGTH. Don't | |
18617 | translate it. | |
18618 | <charset, charset_not>: Fetch a character by | |
18619 | RE_STRING_CHAR_AND_LENGTH. Translate via multibyte. | |
18620 | <duplicate>: Call bcmp_translate with the last arg `multibyte'. | |
18621 | <wordbound, notwordbound, wordbeg, wordend, syntaxspec, | |
18622 | notsyntaxspec, categoryspec, notcategoryspec> Fetch a character | |
18623 | by GET_CHAR_AFTER. | |
18624 | (bcmp_translate): Likewise. | |
18625 | ||
18626 | * search.c (compile_pattern): Check the member target_multibyte, | |
18627 | not the member multibyte of buf. | |
18628 | ||
18629 | * lread.c (read1): While reading a string, set force_singlebyte | |
18630 | and force_multibyte correctly. | |
18631 | ||
18632 | * charset.c (Fset_unibyte_charset, init_charset_once): Fix setting | |
18633 | up of unibyte_to_multibyte_table. | |
18634 | ||
18635 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18636 | ||
18637 | * coding.c (setup_coding_system): If coding has | |
18638 | post-read-conversion or pre-write-conversion, set | |
18639 | CODING_REQUIRE_DECODING_MASK and CODING_REQUIRE_ENCODING_MASK | |
18640 | respectively. | |
18641 | (decode_coding_gap): Run post-read-conversion if any. | |
18642 | ||
18643 | * fileio.c (Finsert_file_contents): Even if we read into a | |
18644 | unibyte buffer, check if we must decode the result or not. | |
18645 | ||
18646 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18647 | ||
18648 | * coding.c (make_conversion_work_buffer): Change the work buffer | |
18649 | name to the same one as that of Emacs 21. | |
18650 | ||
18651 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18652 | ||
18653 | * coding.h (make_conversion_work_buffer): Adjust prototype. | |
18654 | (code_conversion_restore): Don't extern it. | |
18655 | ||
18656 | * coding.c (detected_mask): Delete unused variable. | |
18657 | (decode_coding_iso_2022): Pay attention to the byte sequence of | |
18658 | CTEXT extended segment, and retain those bytes as is. | |
18659 | (decode_coding_ccl): Delete unused variable `valids'. | |
18660 | (setup_coding_system): Delete unused variable `category'. | |
18661 | (consume_chars): Delete unused variable `category'. Make it work | |
18662 | for non-multibyte case. | |
18663 | (make_conversion_work_buffer): Change argument. | |
18664 | (saved_coding): Delete unused variable. | |
18665 | (code_conversion_restore): Don't check saved_coding->destination. | |
18666 | (code_conversion_save): New function. | |
18667 | (decode_coding_gap, encode_coding_gap): Call code_conversion_save | |
18668 | instead of record_unwind_protect. | |
18669 | (decode_coding_object, encode_coding_object): Likewise. Recover PT. | |
18670 | (detect_coding_system): Delete unused variable `mask'. | |
18671 | (Fdefine_coding_system_internal): Delete unused variable id. | |
18672 | ||
18673 | * fileio.c (kill_workbuf_unwind): New function. | |
18674 | (Finsert_file_contents): On replacing, call | |
18675 | make_conversion_work_buffer with correct args, and call | |
18676 | record_unwind_protect with the first arg kill_workbuf_unwind. | |
18677 | ||
18678 | * lisp.h (Fgenerate_new_buffer_name): EXFUN it. | |
18679 | ||
18680 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18681 | ||
18682 | * fontset.c (BASE_FONTSET_P): Check FONTSET_BASE, not FONTSET_NAME. | |
18683 | (fontset_add): Fix for the case that TO is less than TO1. | |
18684 | (Ffontset_info): Don't use fallback fontset on checking the | |
18685 | default fontset. | |
18686 | (dump_fontset): New function for debugging. | |
18687 | ||
18688 | * coding.c (Fdefine_coding_system_internal): Fix for the case that | |
18689 | coding_type is Qcharset. | |
18690 | ||
18691 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18692 | ||
18693 | * chartab.c (map_sub_char_table): New argument DEFAULT_VAL. | |
18694 | (map_char_table): Don't inherit the value from the parent on | |
18695 | initializing VAL. Adjust for the above change. | |
18696 | ||
18697 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18698 | ||
18699 | * coding.c (Qsignature, Qendian): Delete these variables. | |
18700 | (syms_of_coding): Don't initialize them. | |
18701 | (CATEGORY_MASK_UTF_16_AUTO): New macro. | |
18702 | (detect_coding_utf_16): Add CATEGORY_MASK_UTF_16_AUTO in | |
18703 | detect_info->found. | |
18704 | (decode_coding_utf_16): Don't detect BOM here. | |
18705 | (encode_coding_utf_16): Produce BOM if CODING_UTF_16_BOM (coding) | |
18706 | is NOT utf_16_without_bom. | |
18707 | (setup_coding_system): For a coding system of type utf-16, check | |
18708 | if the attribute :endian is Qbig or not (not nil or not), and set | |
18709 | CODING_REQUIRE_DETECTION_MASK if BOM detection is required. | |
18710 | (detect_coding): If coding type is utf-16 and BOM detection is | |
18711 | required, detect it. | |
18712 | (Fdefine_coding_system_internal): For a coding system of type | |
18713 | utf-16, check if the attribute :endian is Qbig or not (not nil or not). | |
18714 | ||
18715 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18716 | ||
18717 | * coding.c (coding_set_source): Fix for the case that the current | |
18718 | buffer is different from coding->src_object. | |
18719 | (decode_coding_object): Don't use the conversion work buffer if | |
18720 | DST_OBJECT is a buffer. | |
18721 | ||
18722 | 2008-02-01 Dave Love <fx@gnu.org> | |
18723 | ||
18724 | * lread.c (read_emacs_mule_char) [len==2]: Index | |
18725 | emacs_mule_charset correctly. | |
18726 | ||
18727 | 2008-02-01 Dave Love <fx@gnu.org> | |
18728 | ||
18729 | * coding.c (Qbig5, Vbig5_coding_system, CATEGORY_MASK_BIG5) | |
18730 | (detect_coding_big5, decode_coding_big5, encode_coding_big5) | |
18731 | (Fdecode_big5_char, Fencode_big5_char): Delete. (Big5 no longer | |
18732 | treated specially.) | |
18733 | (setup_coding_system, coding_category, CATEGORY_MASK_ANY) | |
18734 | (detected_mask): Remove Big5 bits. | |
18735 | ||
18736 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18737 | ||
18738 | The following changes are to make the font rescaling facility | |
18739 | compatible with Emacs 21. | |
18740 | ||
18741 | * xfaces.c (Vface_font_rescale_alist): Rename from | |
18742 | Vface_resizing_fonts. | |
18743 | (struct font_name): Rename member resizing_ratio to rescale_ratio. | |
18744 | (font_rescale_ratio): Rename from font_resizing_ratio. | |
18745 | (split_font_name): Set font->rescale_ratio. | |
18746 | (better_font_p): Pay attention to font->rescale_ratio. | |
18747 | (build_scalable_font_name): Likewise. Change RESX, and RESY | |
18748 | fields. | |
18749 | (syms_of_xfaces): Declare Vface_font_rescale_alist as a Lisp variable. | |
18750 | ||
18751 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18752 | ||
18753 | * coding.c (Qutf_16_be_nosig, Qutf_16_be, Qutf_16_le_nosig) | |
18754 | (Qutf_16_le): Remove these variables. | |
18755 | (syms_of_coding): Don't DEFSYM them. | |
18756 | (decode_coding_utf_16): Fix handling of BOM. | |
18757 | (encode_coding_utf_16): Fix handling of BOM. | |
18758 | ||
18759 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18760 | ||
18761 | * fileio.c (Finsert_file_contents): On replacing, before decoding | |
18762 | the file into the work buffer, set point of the work buffer to the end. | |
18763 | ||
18764 | 2008-02-01 Dave Love <fx@gnu.org> | |
18765 | ||
18766 | * coding.c (Fcheck_coding_systems_region): Fix type errors. | |
18767 | ||
18768 | 2008-02-01 Dave Love <fx@gnu.org> | |
18769 | ||
18770 | * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table | |
18771 | and fix C types. | |
18772 | ||
18773 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18774 | ||
18775 | * xdisp.c (SKIP_GLYPHS): New macro. | |
18776 | (set_cursor_from_row): Pay attention to string display properties. | |
18777 | ||
18778 | * category.c (copy_category_entry): Fix for the case that RANGE | |
18779 | is an integer. | |
18780 | ||
18781 | * xterm.c (x_encode_char): Call ccl_driver with the last arg Qnil. | |
18782 | ||
18783 | * w32term.c (w32_encode_char): Call ccl_driver with the last arg Qnil. | |
18784 | ||
18785 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18786 | ||
18787 | * charset.c (Fcharset_id_internal): New function. | |
18788 | (syms_of_charset): Defsubr it. | |
18789 | ||
18790 | * coding.c (decode_coding_ccl, encode_coding_ccl): Call ccl_driver | |
18791 | with the last arg charset_list acquired from coding. | |
18792 | (Fdefine_coding_system_internal): For ccl-based coding system, fix | |
18793 | the attribute coding_attr_ccl_valids. | |
18794 | ||
18795 | * coding.h (enum define_coding_ccl_arg_index): Set the first | |
18796 | member coding_arg_ccl_decoder to coding_arg_max. | |
18797 | ||
18798 | * ccl.h (ccl_driver): Adjust prototype. | |
18799 | ||
18800 | * ccl.c (CCL_DECODE_CHAR, CCL_ENCODE_CHAR): New macros. | |
18801 | (ccl_driver): New arg CHARSET_LIST. Use the above macros instead | |
60612c8f | 18802 | of DECODE_CHAR, ENCODE_CHAR, CHAR_CHARSET. |
aac0c6e3 MR |
18803 | (Fccl_execute, Fccl_execute_on_string): Call ccl_driver with the |
18804 | last arg Qnil. | |
18805 | ||
18806 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18807 | ||
18808 | * charset.h (ENCODE_CHAR): If the method is SUBSET or SUPERSET, | |
18809 | call encode_char. | |
18810 | ||
18811 | * charset.c (encode_char): Fix handling of methods SUBSET and SUPERSET. | |
18812 | ||
18813 | 2008-02-01 Dave Love <fx@gnu.org> | |
18814 | ||
18815 | * composite.c (syms_of_composite): Make composition_hash_table weak. | |
18816 | ||
18817 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18818 | ||
18819 | * dispextern.h (check_face_attributes, generate_ascii_font_name) | |
18820 | (font_name_registry): Don't extern them. | |
18821 | (split_font_name_into_vector, build_font_name_from_vector): Extern them. | |
18822 | ||
18823 | * fontset.h (Qfontset): Don't extern it. | |
18824 | (new_fontset_from_font_name): Extern it. | |
18825 | ||
18826 | * fontset.c: Give 8 extra slots to fontset objects. | |
18827 | (Qfontset_info): New variable. | |
18828 | (syms_of_fontset): Defsym it. | |
18829 | (FONTSET_FALLBACK): New macro. | |
18830 | (fontset_face): Try also the default fontset. | |
18831 | (make_fontset): Realize a fallback fontset from the default fontset. | |
18832 | (generate_ascii_font_name): Move from xfaces.c. Rewritten by | |
18833 | using split_font_name_into_vector and build_font_name_from_vector. | |
18834 | (Fset_fontset_font): Access the elements of font_spec by enum | |
18835 | FONT_SPEC_INDEX. If font_spec is a string, extract the registry | |
18836 | name by using split_font_name_into_vector. | |
18837 | (Fnew_fontset): If no ASCII font is specified in FONTLIST, | |
18838 | generate a proper font name from the fontset name. Update | |
18839 | Vfontset_alias_alist. | |
18840 | (n_auto_fontsets): New variable. | |
18841 | (new_fontset_from_font_name): New function. | |
18842 | (Ffont_info): Store the information about fonts generated from the | |
18843 | default fontset in the first extra slot of the returned char-table. | |
18844 | ||
18845 | * xfaces.c (generate_ascii_font_name): Move to fontset.c. | |
18846 | (font_name_registry): Delete function. | |
18847 | (split_font_name_into_vector): New function. | |
18848 | (build_font_name_from_vector): New function. | |
18849 | (font_list): The argument REGISTRY is now a list of registry names. | |
18850 | (choose_face_font): If we are choosing an ASCII font, and ATTRS | |
18851 | specifies an explicit font name, return the name as is. Make a | |
18852 | list of registy names. | |
18853 | ||
18854 | * xfns.c (x_set_font, x_create_tip_frame): Adjust for the change | |
18855 | of x_new_fontset. | |
18856 | (Fx_create_frame): Don't call x_new_fontset here. Just use | |
18857 | x_list_fonts to check the existence of fonts. | |
18858 | ||
18859 | * xterm.h (x_new_fontset): Adjust prototype. | |
18860 | ||
18861 | * xterm.c (x_new_fontset): Change the arg FONTSETNAME to Lisp | |
18862 | string. Use new_fontset_from_font_name to create a fontset from a | |
18863 | font name. | |
18864 | ||
18865 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18866 | ||
18867 | * syntax.c (Vfind_word_boundary_function_table): New name for | |
18868 | Vnext_word_boundary_function_table. | |
18869 | (find-word-boundary-function-table): New name for | |
18870 | next-word-boundary-function-table. | |
18871 | ||
18872 | 2008-02-01 Dave Love <fx@gnu.org> | |
18873 | ||
18874 | * Makefile.in: Fix some dependencies. | |
18875 | ||
18876 | * keymap.c (Fapropos_internal): Don't gcpro apropos_predicate but | |
18877 | set it to nil before returning. | |
18878 | ||
18879 | * composite.c (update_compositions): Fix type error. | |
18880 | ||
18881 | * syntax.c (skip_chars, skip_syntaxes): Fix type errors. | |
18882 | ||
18883 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18884 | ||
18885 | * xterm.c (x_new_font): Optimize for the case that the font is | |
18886 | already set for the frame. | |
18887 | ||
18888 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18889 | ||
18890 | * chartab.c (char_table_ascii): Check if the char table contents | |
18891 | is sub-char-table or not. | |
18892 | (char_table_set, char_table_set_range): Fix argument to | |
18893 | char_table_ascii. | |
18894 | ||
18895 | * coding.c (CATEGORY_MASK_RAW_TEXT): New macro. | |
18896 | (detect_coding_utf_8, detect_coding_utf_16) | |
18897 | (detect_coding_emacs_mule, detect_coding_iso_2022) | |
18898 | (detect_coding_sjis, detect_coding_big5) | |
18899 | (detect_coding_ccl, detect_coding_charset): Change argument MASK | |
18900 | to DETECT_INFO. Update DETECT_INFO and return 1 if the byte | |
18901 | sequence is valid in this coding system. Change callers. | |
18902 | (MAX_ANNOTATION_LENGTH): New macro. | |
18903 | (ADD_ANNOTATION_DATA): New macro. | |
18904 | (ADD_COMPOSITION_DATA): Change argument. Change callers. Call | |
18905 | ADD_ANNOTATION_DATA. Change the format of annotation data. | |
18906 | (ADD_CHARSET_DATA): New macro. | |
18907 | (emacs_mule_char): New argument ID. Change callers. | |
18908 | (decode_coding_emacs_mule, decode_coding_iso_2022) | |
18909 | (decode_coding_sjis, decode_coding_big5, decode_coding_charset): | |
18910 | Produce charset annotation data in coding->charbuf. | |
18911 | (encode_coding_emacs_mule, encode_coding_iso_2022): Pay attention | |
18912 | to charset annotation data in coding->charbuf. | |
18913 | (setup_coding_system): Add CODING_ANNOTATE_CHARSET_MASK | |
18914 | coding->common_flags if the coding system is iso-2022 based and | |
18915 | uses designation. | |
18916 | (produce_composition): Adjust for the new annotation data format. | |
18917 | (produce_charset): New function. | |
18918 | (produce_annotation): Handle charset annotation. | |
18919 | (handle_composition_annotation, handle_charset_annotation): New | |
18920 | functions. | |
18921 | (consume_chars): Handle charset annotation. Utilize the above two | |
18922 | functions. | |
18923 | (encode_coding_object): If SRC_OBJECT and DST_OBJECT are the same | |
18924 | buffer, get the deleted text as a string and set | |
18925 | coding->src_object to that string. | |
18926 | (detect_coding, detect_coding_system): Use the new struct | |
18927 | coding_detection_info. | |
18928 | ||
18929 | * coding.h (struct coding_detection_info): New structure. | |
18930 | (struct coding_system): Adjust prototype of the member `detector'. | |
18931 | (CODING_ANNOTATE_CHARSET_MASK): New macro. | |
18932 | ||
18933 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18934 | ||
18935 | * insdel.c (insert_from_gap): Fix argument to offset_intervals. | |
18936 | ||
18937 | 2008-02-01 Dave Love <fx@gnu.org> | |
18938 | ||
18939 | * keymap.c (apropos_predicate, apropos_accumulate): Declare static. | |
18940 | (Fapropos_internal): Don't gcpro apropos_accumulate. Set result | |
18941 | to new local and nullify apropos_accumulate before returning. | |
18942 | (syms_of_keymap): Staticpro and initialize apropos_accumulate. | |
18943 | ||
18944 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18945 | ||
18946 | * charset.c (Fdefine_charset_internal): Setup charset.fast_map | |
18947 | correctly. | |
e3eea1fc | 18948 | |
aac0c6e3 MR |
18949 | 2008-02-01 Dave Love <fx@gnu.org> |
18950 | ||
18951 | * fns.c (Flanginfo): Call synchronize_system_time_locale. | |
18952 | ||
18953 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18954 | ||
18955 | The following changes are to make character composition happen | |
18956 | automatically on displaying. | |
18957 | ||
18958 | * Makefile.in (lisp, shortlisp): Add composite.elc. | |
18959 | ||
18960 | * composite.h (Qauto_composed, Vauto_composition_function) | |
18961 | (Qauto_composition_function): Extern them. | |
18962 | ||
18963 | * composite.c (Vcomposition_function_table) | |
18964 | (Qcomposition_function_table): Delete variables. | |
18965 | (Qauto_composed, Vauto_composition_function) | |
18966 | (Qauto_composition_function): New variables. | |
18967 | (run_composition_function): Don't call | |
18968 | compose-chars-after-function. | |
18969 | (update_compositions): Clear `auto-composed' text property. | |
18970 | (compose_chars_in_text): Delete this function. | |
18971 | (syms_of_composite): Staticpro Qauto_composed and | |
18972 | Qauto_composition_function. Declare Vauto_composition_function as | |
18973 | a Lisp variable. | |
18974 | ||
18975 | * dispextern.h (enum prop_idx): Add member AUTO_COMPOSED_PROP_IDX. | |
18976 | ||
18977 | * xdisp.c (it_props): Add an entry for Qauto_composed. | |
18978 | (handle_auto_composed_prop): New function. | |
18979 | ||
18980 | * xselect.c (selection_data_to_lisp_data): Don't call | |
18981 | compose_chars_in_text. | |
18982 | ||
18983 | 2008-02-01 Dave Love <fx@gnu.org> | |
18984 | ||
18985 | * keyboard.c (read_char): Modify checking around use of | |
18986 | Vkeyboard_translate_table. | |
18987 | ||
18988 | * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table | |
18989 | and fix C types. | |
18990 | ||
18991 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
18992 | ||
18993 | * coding.c (decode_coding_utf_8, decode_coding_emacs_mule) | |
18994 | (decode_coding_iso_2022, decode_coding_sjis, decode_coding_big5) | |
18995 | (decode_coding_charset, produce_chars): When eol_type is Qdos, handle | |
18996 | the case that the last byte is '\r' correctly. | |
18997 | (decode_coding): Flush out the unprocessed data correctly. | |
18998 | (decode_coding_gap): Set CODING_MODE_LAST_BLOCK bit of coding->mode. | |
18999 | ||
19000 | 2008-02-01 Dave Love <fx@gnu.org> | |
19001 | ||
19002 | * xterm.c (XTread_socket): Fix changes for defined keysyms. | |
19003 | Add XK_ISO... case. | |
19004 | (xaw_scroll_callback): Revert last change. | |
19005 | ||
19006 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19007 | ||
19008 | * charset.c (Fset_charset_priority): Update Viso_2022_charset_list. | |
19009 | ||
19010 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19011 | ||
19012 | * xfaces.c (Vface_resizing_fonts): New variable. | |
19013 | (struct font_name): New member `resizing_ratio'. | |
19014 | (font_resizing_ratio): New function. | |
19015 | (split_font_name): Set font->resizing_ratio. | |
19016 | (better_font_p): Pay attention to font->resizing_ratio. | |
19017 | (build_scalable_font_name): Likewise. Don't change POINT_SIZE, | |
19018 | RESX, and RESY fields. | |
19019 | (try_alternative_families): Try scalable fonts if | |
19020 | Vscalable_fonts_allowed is not Qt. | |
19021 | (syms_of_xfaces): Declare Vface_resizing_fonts as a Lisp variable. | |
19022 | ||
19023 | 2008-02-01 Dave Love <fx@gnu.org> | |
19024 | ||
19025 | * xterm.c (xaw_scroll_callback): Cast correctly. | |
19026 | ||
19027 | 2008-02-01 Dave Love <fx@gnu.org> | |
19028 | ||
19029 | * keyboard.c (lispy_accent_codes, lispy_accent_keys): Extend. | |
19030 | (lispy_kana_keys): Comment out. | |
19031 | (make_lispy_event) [XK_kana_A]: Comment out. | |
19032 | ||
19033 | * xterm.c (xaw_scroll_callback): Cast call_data. | |
19034 | (XTread_socket): Deal with ASCII keysyms. | |
19035 | (syms_of_xterm) <Vx_keysym_table>: Fix args of make_hash_table. | |
19036 | ||
19037 | 2008-02-01 Dave Love <fx@gnu.org> | |
19038 | ||
19039 | * xterm.c (Vx_keysym_table): New. | |
19040 | (syms_of_xterm): Initialize it. | |
19041 | (XTread_socket): Use it. | |
19042 | From head: Eliminate incorrect optimization that tried to avoid | |
19043 | decoding the output of X*LookupString. | |
19044 | (x_get_font_repertory): Delete charset declaration. | |
19045 | ||
19046 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19047 | ||
19048 | * coding.c (detect_coding_charset): If only ASCII bytes are found, | |
19049 | return 0. | |
19050 | (Fdefine_coding_system_internal): Setup | |
19051 | CODING_ATTR_ASCII_COMPAT (attrs) correctly. | |
19052 | ||
19053 | 2008-02-01 Dave Love <fx@gnu.org> | |
19054 | ||
19055 | * coding.c (Fcheck_coding_system): Doc fix. | |
19056 | ||
19057 | * editfns.c (Finsert_byte): Return a proper value. | |
19058 | ||
19059 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19060 | ||
19061 | * coding.c (decode_coding): Fix args to translate_chars. Pay | |
19062 | attention to Vstandard_translation_table_for_decode. | |
19063 | (encode_coding): Fix args to translate_chars. Pay attention to | |
19064 | Vstandard_translation_table_for_encode. | |
19065 | ||
19066 | * data.c (Faset): Check NEWELT by ASCII_CHAR_P, not by | |
19067 | SINGLE_BYTE_CHAR_P. | |
19068 | ||
19069 | * editfns.c (general_insert_function): Check VAL by ASCII_CHAR_P, | |
19070 | not by SINGLE_BYTE_CHAR_P. | |
19071 | ||
19072 | * fns.c (concat): Check CH by ASCII_CHAR_P, not by | |
19073 | SINGLE_BYTE_CHAR_P. | |
19074 | ||
19075 | * insdel.c (copy_text): Check C by ASCII_CHAR_P, not by | |
19076 | SINGLE_BYTE_CHAR_P. | |
19077 | ||
19078 | * keymap.c (Ftext_char_description): Check C by ASCII_CHAR_P, not | |
19079 | by SINGLE_BYTE_CHAR_P. | |
19080 | ||
19081 | * search.c (Freplace_match): Check C by ASCII_CHAR_P, not by | |
19082 | SINGLE_BYTE_CHAR_P. | |
19083 | ||
19084 | 2008-02-01 Dave Love <fx@gnu.org> | |
19085 | ||
19086 | * fns.c (Fstring_as_multibyte, Fstring_to_multibyte): Doc fix. | |
19087 | ||
19088 | 2008-02-01 Dave Love <fx@gnu.org> | |
19089 | ||
19090 | * fns.c (Flanginfo): Fix typo. | |
19091 | ||
19092 | * unexelf.c (unexec): Make last change conditional on Irix 6.5. | |
19093 | ||
19094 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19095 | ||
19096 | * coding.c (detect_coding_utf_8, detect_coding_utf_16) | |
19097 | (detect_coding_emacs_mule, detect_coding_iso_2022) | |
19098 | (detect_coding_sjis, detect_coding_big5, detect_coding_ccl): Check | |
19099 | incomplete byte sequence. Don't update *mask when correctly detected. | |
19100 | (decode_coding_sjis): Fix decoding of katakana-jisx0201. | |
19101 | (detect_eol): Delete the argument CODING, and add the argument CATEGORY. | |
19102 | (detect_coding, detect_coding_system): Adjust for the changes above. | |
19103 | ||
19104 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19105 | ||
19106 | * character.c (char_string): Rename from | |
19107 | char_string_with_unification. Pay attention to CHAR_MODIFIER_MASK. | |
19108 | (string_char): Rename from string_char. | |
19109 | ||
19110 | * character.h (CHAR_STRING, CHAR_STRING_ADVANCE): Call char_string | |
19111 | if C is greater than MAX_3_BYTE_CHAR. | |
19112 | (STRING_CHAR, STRING_CHAR_AND_LENGTH, STRING_CHAR_ADVANCE): Call | |
19113 | string_char instead of string_char_with_unification. | |
19114 | ||
19115 | 2008-02-01 Dave Love <fx@gnu.org> | |
19116 | ||
19117 | * coding.c (decode_coding_utf_8): Treat surrogates as invalid. | |
19118 | ||
19119 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19120 | ||
19121 | * keymap.c (push_key_description): Pay attention to force_multibyte. | |
19122 | ||
19123 | * regex.c (re_search_2): Fix for the case of unibyte buffer. | |
19124 | ||
19125 | 2008-02-01 Dave Love <fx@gnu.org> | |
19126 | ||
19127 | * charset.c (define_charset_internal): Rename `supprementary'. | |
19128 | ||
19129 | * Makefile.in (lisp, shortlisp): Remove latin-N. | |
19130 | ||
19131 | 2008-02-01 Dave Love <fx@gnu.org> | |
19132 | ||
19133 | * xfns.c (x_window, x_window): Use use_xim. | |
19134 | ||
19135 | * xterm.c (use_xim): Initialize. | |
19136 | (xim_open_dpy, xim_initialize, xim_close_dpy): Use use_xim. | |
19137 | (x_term_init): Maybe set use_xim. | |
19138 | ||
19139 | * xterm.h (use_xim) [HAVE_X_I18N]: Declare. | |
19140 | ||
19141 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19142 | ||
19143 | * search.c (search_buffer): Fix case-fold-search of multibyte | |
19144 | characters. | |
19145 | (boyer_moore): Rename the last argument to char_high_bits. | |
19146 | ||
19147 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19148 | ||
19149 | * xdisp.c (display_string): Fix for the case of zero width glyph. | |
19150 | ||
19151 | * xfns.c (x_set_font): Change the error message of the case that | |
19152 | x_new_fontset returns Qt. | |
19153 | ||
19154 | * xfaces.c (set_lface_from_font_name): Reject the default fontset. | |
19155 | (Finternal_set_lisp_face_attribute): Use signal_error for the | |
19156 | error of invalid fontset. | |
19157 | ||
19158 | * xterm.c (x_new_fontset): If FONTSETNAME specifies the default | |
19159 | fontset, return Qt. | |
19160 | ||
19161 | 2008-02-01 Dave Love <fx@gnu.org> | |
19162 | ||
19163 | * unexelf.c (unexec): Make .got handling not SGI-specific. | |
19164 | ||
19165 | * syntax.c (syms_of_syntax) <multibyte-syntax-as-symbol>: Doc fix. | |
19166 | ||
19167 | * regex.c: Use `ifdef HAVE_ALLOCA_H', not `if HAVE_ALLOCA_H'. | |
19168 | ||
19169 | * keyboard.c (read_key_sequence): Fix type error. | |
19170 | ||
19171 | * buffer.c (Fset_buffer_multibyte, Fset_buffer_multibyte): Fix | |
19172 | type error. | |
19173 | ||
19174 | * fontset.c (fontset_add): Return Lisp_Object. | |
19175 | ||
19176 | 2008-02-01 Dave Love <fx@gnu.org> | |
19177 | ||
19178 | * charset.h (charset_ordered_list_tick): Declare extern. | |
19179 | ||
19180 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19181 | ||
19182 | The following changes (and some of 2008-02-01 changes of mine) are | |
19183 | for handling syntax, category, and case conversion for unibyte | |
19184 | characters by converting them to multibyte on the fly. With these | |
19185 | changes, we don't have to setup syntax and case tables for unibyte | |
19186 | characters in each language environment. | |
19187 | ||
19188 | * abbrev.c (Fexpand_abbrev): Convert a unibyte character to | |
19189 | multibyte if necessary. | |
19190 | ||
19191 | * bytecode.c (Fbyte_code): Likewise. | |
19192 | ||
19193 | * character.h (LEADING_CODE_LATIN_1_MIN) | |
19194 | (LEADING_CODE_LATIN_1_MAX): New macros. | |
19195 | (unibyte_to_multibyte_table): Extern it. | |
19196 | (unibyte_char_to_multibyte): New macro. | |
19197 | (MAKE_CHAR_MULTIBYTE): Use unibyte_to_multibyte_table. | |
19198 | (CHAR_LEADING_CODE): New macro. | |
19199 | (FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE): New macro. | |
19200 | ||
19201 | * character.c (unibyte_to_multibyte_table): New variable. | |
19202 | (unibyte_char_to_multibyte): Move to character.h and define as macro. | |
19203 | (multibyte_char_to_unibyte): If C is an eight-bit character, | |
19204 | convert it to the corresponding byte value. | |
19205 | ||
19206 | * charset.c (Fset_unibyte_charset): If the dimension of CHARSET is | |
19207 | not 1, signals an error. Update the elements of | |
19208 | unibyte_to_multibyte_table. | |
19209 | (init_charset_once): Initialize unibyte_to_multibyte_table. | |
19210 | (syms_of_charset): Define the charset `iso-8859-1'. | |
19211 | ||
19212 | * cmds.c (internal_self_insert): In a multibyte buffer, insert C | |
19213 | as is without converting it to unibyte. In a unibyte buffer, | |
19214 | convert C to multibyte before checking the syntax. | |
19215 | ||
19216 | * lisp.h (unibyte_char_to_multibyte): Delete extern. | |
19217 | ||
19218 | * minibuf.c (Fminibuffer_complete_word): Use the macro | |
19219 | FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE. | |
19220 | ||
19221 | * regex.h (struct re_pattern_buffer): New member target_multibyte. | |
19222 | ||
19223 | * regex.c (RE_TARGET_MULTIBYTE_P): New macro. | |
19224 | (GET_CHAR_BEFORE_2): Check target_multibyte, not multibyte. If | |
19225 | that is zero, convert an eight-bit char to multibyte. | |
19226 | (MAKE_CHAR_MULTIBYTE, CHAR_LEADING_CODE): New dummy new macros for | |
19227 | non-emacs case. | |
19228 | (PATFETCH): Convert an eight-bit char to multibyte. | |
19229 | (HANDLE_UNIBYTE_RANGE): New macro. | |
19230 | (regex_compile): Setup the compiled pattern for multibyte chars | |
19231 | even if the given regex string is unibyte. Use PATFETCH_RAW | |
19232 | instead of PATFETCH in many places. To handle `charset' | |
19233 | specification of unibyte, call HANDLE_UNIBYTE_RANGE. Use bitmap | |
19234 | only for ASCII chars. | |
19235 | (analyse_first) <exactn>: Simplify because the compiled pattern | |
19236 | is multibyte. | |
19237 | <charset_not>: Setup fastmap from bitmap only for ASCII chars. | |
19238 | <charset>: Use CHAR_LEADING_CODE to get leading codes. | |
19239 | <categoryspec>: If multibyte, setup fastmap only for ASCII chars here. | |
19240 | (re_compile_fastmap) [emacs]: Call analyse_first with the arg | |
19241 | multibyte always 1. | |
19242 | (re_search_2): In emacs, set the locale variable multibyte to 1, | |
19243 | otherwise to 0. New local variable target_multibyte. Check it | |
19244 | to decide the multibyteness of STR1 and STR2. If | |
19245 | target_multibyte is zero, convert unibyte chars to multibyte | |
19246 | before translating and checking fastmap. | |
19247 | (TARGET_CHAR_AND_LENGTH): New macro. | |
19248 | (re_match_2_internal): In emacs, set the locale variable multibyte | |
19249 | to 1, otherwise to 0. New local variable target_multibyte. Check | |
19250 | it to decide the multibyteness of STR1 and STR2. Use | |
19251 | TARGET_CHAR_AND_LENGTH to fetch a character from D. | |
19252 | <charset, charset_not>: If multibyte is nonzero, check fastmap | |
19253 | only for ASCII chars. Call bcmp_translate with | |
19254 | target_multibyte, not with multibyte. | |
19255 | <begline>: Declare the local variable C as `unsigned'. | |
19256 | (bcmp_translate): Change the last arg name to target_multibyte. | |
19257 | ||
19258 | * search.c (compile_pattern_1): Don't adjust the multibyteness of | |
19259 | the regexp pattern and the matching target. Set cp->buf.multibyte | |
19260 | to the multibyteness of the regexp pattern. Set | |
19261 | cp->but.target_multibyte to the multibyteness of the matching target. | |
19262 | (wordify): Use FETCH_STRING_CHAR_AS_MULTIBYTE_ADVANCE instead of | |
19263 | FETCH_STRING_CHAR_ADVANCE. | |
19264 | (Freplace_match): Convert unibyte chars to multibyte. | |
19265 | ||
19266 | * syntax.c (char_quoted, back_comment, scan_words) | |
19267 | (Fforward_comment, scan_lists, Fbackward_prefix_chars) | |
19268 | (scan_sexps_forward): Use FETCH_CHAR_AS_MULTIBYTE to convert | |
19269 | unibyte chars to multibyte. | |
19270 | (skip_chars): Delete the arg syntaxp, and move the code for | |
19271 | handling syntaxes to skip_syntaxes. Change callers. | |
19272 | Fix the case that the multibyteness of STRING and the current | |
19273 | buffer doesn't match. | |
19274 | (skip_syntaxes): New function. | |
19275 | (SYNTAX_WITH_MULTIBYTE_CHECK): Check C by ASCII_CHAR_P, not by | |
19276 | SINGLE_BYTE_CHAR_P. | |
19277 | ||
19278 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19279 | ||
19280 | * xfaces.c (QCfontset): New variable. | |
19281 | (LFACE_FONTSET): New macro. | |
19282 | (check_lface_attrs): Check also LFACE_FONTSET_INDEX. | |
19283 | (set_lface_from_font_name): Setup LFACE_FONTSET (lface). | |
19284 | (Finternal_set_lisp_face_attribute) | |
19285 | (Finternal_get_lisp_face_attribute): Handle QCfontset. | |
19286 | (lface_same_font_attributes_p): Fix checking of LFACE_FONT_INDEX, | |
19287 | check also LFACE_FONTSET_INDEX. | |
19288 | (face_fontset): Check attrs[LFACE_FONTSET_INDEX], not | |
19289 | attrs[LFACE_FONT_INDEX]. | |
19290 | (syms_of_xfaces): Intern and staticpro QCfontset. | |
19291 | ||
19292 | * dispextern.h (enum lface_attribute_index): New member | |
19293 | LFACE_FONTSET_INDEX. | |
19294 | ||
19295 | * fns.c (base64_encode_1): Handle eight-bit chars correctly. | |
19296 | ||
19297 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19298 | ||
19299 | * coding.c (coding_set_destination): Fix coding->destination for | |
19300 | the case converting a region. | |
19301 | (encode_coding_utf_8): Encode eight-bit chars as single byte. | |
19302 | (encode_coding_object): Fix coding->dst_pos and | |
19303 | coding->dst_pos_byte for the case converting a region. | |
19304 | ||
19305 | * insdel.c (insert_from_gap): Make it work even if PT != GTP. | |
19306 | ||
19307 | * character.h (BYTE8_STRING): New macro. | |
19308 | ||
19309 | * fns.c (base64_decode_1): Insert eight-bit chars correctly. | |
19310 | ||
19311 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19312 | ||
19313 | * xdisp.c (get_next_display_element): Don't display unibyte 8-bit | |
19314 | characters by octal form. | |
19315 | ||
19316 | * abbrev.c (Fexpand_abbrev): Fix for the multibyte case. | |
19317 | ||
19318 | * buffer.h (_fetch_multibyte_char_len): Delete extern. | |
19319 | (FETCH_MULTIBYTE_CHAR, BUF_FETCH_MULTIBYTE_CHAR): Don't use | |
19320 | _fetch_multibyte_char_len. | |
19321 | (FETCH_CHAR_AS_MULTIBYTE): New macro. | |
19322 | ||
19323 | * casetab.c (set_canon, set_identity, shuffle): Simplify. | |
19324 | ||
19325 | * casefiddle.c (casify_object): Simplify. Handle the case that | |
19326 | the case conversion change the byte length. | |
19327 | (casify_region): Likewise. | |
19328 | ||
19329 | * character.h (MAKE_CHAR_UNIBYTE, MAKE_CHAR_MULTIBYTE): New macros. | |
19330 | ||
19331 | * character.c (_fetch_multibyte_char_len): Delete this variable. | |
19332 | (syms_of_character): Setup Vprintable_chars. | |
19333 | ||
19334 | * editfns.c (Fchar_equal): Fix for the unibyte case. | |
19335 | (Finsert_byte): New function. | |
19336 | (syms_of_editfns): Defsubr it. | |
19337 | ||
19338 | * keyboard.c (read_key_sequence): Use ~CHAR_MODIFIER_MASK instead | |
19339 | of direct code 0x3ffff. | |
19340 | ||
19341 | * search.c (Freplace_match): Fix for the unibyte case. | |
19342 | ||
19343 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19344 | ||
19345 | * lread.c (safe_to_load_p): Fix the logic. | |
19346 | ||
19347 | * syntax.c (scan_words): Don't treat characters belonging to | |
19348 | different scripts as constituting a word. | |
19349 | ||
19350 | * editfns.c (Fformat): Use ASCII_CHAR_P, not SINGLE_BYTE_CHAR_P. | |
19351 | ||
19352 | * fontset.c (Fset_fontset_font): Treat `ascii' as charset, not script. | |
19353 | ||
19354 | * emacs.c (main): In the case of --unibyte, instead of aborting on | |
19355 | finding non-empty buffer, make it unibyte. | |
19356 | ||
19357 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19358 | ||
19359 | * xterm.c (x_new_fontset): Call `create-fontset-from-ascii-font' | |
19360 | to create a fontset. | |
19361 | ||
19362 | 2008-02-01 Dave Love <fx@gnu.org> | |
19363 | ||
19364 | * character.c (Funibyte_char_to_multibyte): Doc fix. | |
19365 | ||
19366 | * xfns.c [HAVE_STDLIB_H]: Fix last change. | |
19367 | ||
19368 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19369 | ||
19370 | * fontset.c (fontset_add): Make the type `int'. | |
19371 | (fontset_id_valid_p): Define it if FONTSET_DEBUG is defined. | |
19372 | ||
19373 | * character.c (unibyte_char_to_multibyte) | |
19374 | (multibyte_char_to_unibyte, Funibyte_char_to_multibyte): Refer to | |
19375 | charset_unibyte, not charset_primary. | |
19376 | ||
19377 | * charset.h (charset_unibyte): Extern it instead of charset_primary. | |
19378 | ||
19379 | * charset.c (charset_unibyte): Rename from charset_primary. | |
19380 | (Funibyte_charset): Rename from Fprimary_charset. | |
19381 | (Fset_unibyte_charset): Rename from Fset_primary_charset. | |
19382 | (syms_of_charset): Adjust for the above changes. | |
19383 | ||
19384 | * w32term.c (x_produce_glyphs): Use ASCII_CHAR_P, not | |
19385 | SINGLE_BYTE_CHAR_P. Fix the logic of handling non-ASCII char when | |
19386 | it->multibyte_p is zero. | |
19387 | ||
19388 | * lisp.h (nonascii_insert_offset, Vnonascii_translation_table): | |
19389 | Delete extern. | |
19390 | ||
19391 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19392 | ||
19393 | * coding.c (Fdefine_coding_system_internal): Fix category setting | |
19394 | for a coding system of type iso-2022. | |
19395 | ||
19396 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19397 | ||
19398 | * fontset.h (FS_LOAD_FONT): Call fs_load_font with the arg CHARSET -1. | |
19399 | ||
19400 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19401 | ||
19402 | * syntax.c (Vnext_word_boundary_function_table): New variable. | |
19403 | (next-word-boundary-function-table): Declare it as a Lisp variable | |
19404 | in syms_of_syntax. | |
19405 | (scan_words): Call functions in Vnext_word_boundary_function_table | |
19406 | if any. | |
19407 | ||
19408 | * xterm.c (x_load_font): Initialize fontp->fontset to -1. | |
19409 | ||
19410 | * fontset.c (fs_load_font): If fontp->charset is not negative, | |
19411 | return fontp without setting its members. | |
19412 | ||
19413 | 2008-02-01 Dave Love <fx@gnu.org> | |
19414 | ||
19415 | * xfns.c [HAVE_STDLIB_H]: Change logic (instead of fixing typo). | |
19416 | ||
19417 | * m/sparc.h (HAVE_ALLOCA): Delete. | |
19418 | ||
19419 | * s/irix6-5.h: Don't include strings.h. | |
19420 | (bcopy, bzero, bcmp): Don't undef. | |
19421 | ||
19422 | * s/irix6-0.h (bcopy, bzero, bcmp): Don't undef. | |
19423 | ||
19424 | * s/usg5-4.h (NO_SIOCTL_H): Don't define. | |
19425 | (TIOCSIGSEND): Don't test IRIX6. | |
19426 | (bcopy, bzero, bcmp): Define conditionally. | |
19427 | ||
19428 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19429 | ||
19430 | * buffer.c (Qas, Qmake, Qto): New variables. | |
19431 | (Fset_buffer_multibyte): New optional arg METHOD. Change caller. | |
19432 | (syms_of_buffer): Intern and staticpro Qas, Qmake, and Qto. | |
19433 | ||
19434 | * callproc.c (Fcall_process): Don't call insert_1_both directly if | |
19435 | we are inserting a process output into a multibyte buffer. | |
19436 | ||
19437 | * character.h (CHAR_TO_BYTE8): If C is not eight-bit char, call | |
19438 | multibyte_char_to_unibyte. | |
19439 | ||
19440 | * character.c (Funibyte_char_to_multibyte): If C can't be decoded | |
19441 | by the primary charset, make it eight-bit char. | |
19442 | (Fmultibyte_char_to_unibyte): Call CHAR_TO_BYTE8. | |
19443 | ||
19444 | * charset.c (charset_eight_bit, Qeight_bit_control): New variables. | |
19445 | (charset_8_bit__control, charset_8_bit_graphic) | |
19446 | (Qeight_bit_control, Qeight_bit_graphic): Delete these variables. | |
19447 | (define_charset_internal): New function. | |
19448 | (syms_of_charset): Call define_charset_internal for pre-defined | |
19449 | charsets. | |
19450 | ||
19451 | * charset.h (charset_8_bit): Extern it. | |
19452 | ||
19453 | * coding.c (make_conversion_work_buffer): Adjust for the change | |
19454 | of Fset_buffer_multibyte. | |
19455 | (encode_coding_raw_text): Increment p0 in the loop. | |
19456 | ||
19457 | * lisp.h (Fset_buffer_multibyte): Adjust prototype. | |
19458 | ||
19459 | * xdisp.c (setup_echo_area_for_printing, set_message_1): Adjust | |
19460 | for the change of Fset_buffer_multibyte. | |
19461 | ||
19462 | * fns.c (Fstring_to_multibyte): New function. | |
19463 | (syms_of_fns): Declare Fstring_to_multibyte as Lisp subroutine. | |
19464 | ||
19465 | 2008-02-01 Dave Love <fx@gnu.org> | |
19466 | ||
19467 | * xfns.c (x_put_x_image): Declare args. | |
19468 | ||
19469 | * xfaces.c (font_name_registry, choose_face_font): Delete unused vars. | |
19470 | (try_font_list): Declare an arg. | |
19471 | ||
19472 | * xdisp.c (message2_nolog, set_message): Declare an arg. | |
19473 | ||
19474 | * terminfo.c (tparam): Declare an arg. Use P_ to declare tparm. | |
19475 | ||
19476 | * syntax.c (scan_sexps_forward): Declare an arg. | |
19477 | ||
19478 | * scroll.c (calculate_scrolling, calculate_direct_scrolling): | |
19479 | Declare an arg. | |
19480 | ||
19481 | * lisp.h (Fnew_fontset): Declare. | |
19482 | ||
19483 | * keymap.c (push_key_description): Call CHARACTERP correctly. | |
19484 | ||
19485 | * fontset.c (fontset_add): Declare args. Call make_number correctly. | |
19486 | (face_for_char): Delete unused vars. | |
19487 | (Fset_fontset_font): Doc fix. Delete unused vars. | |
19488 | ||
19489 | * doc.c (Fsubstitute_command_keys): Delete unused vars. | |
19490 | ||
19491 | * composite.c (update_compositions): Declare arg. | |
19492 | ||
19493 | * cm.c (calccost, cmgoto): Declare args. | |
19494 | ||
19495 | * charset.c: Remove `emacs' conditional. Doc fixes. | |
19496 | (map_char_table_for_charset): Declare. | |
19497 | ||
19498 | * character.c (syms_of_character) <translation-table-vector>: Doc fix. | |
19499 | ||
19500 | * ccl.c: Remove `emacs' conditional. | |
19501 | ||
19502 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19503 | ||
19504 | The following changes are to allow specifying multiple font | |
19505 | patterns for a character range (specified by script or charset). | |
19506 | ||
19507 | * Makefile.in (abbrev.o): Depend on syntax.h. | |
19508 | (xfaces.o): Depend on charset.h. | |
19509 | ||
19510 | * alloc.c (Fmake_string): Use ASCII_CHAR_P, not | |
19511 | SINGLE_BYTE_CHAR_P. | |
19512 | ||
19513 | * ccl.c (Fccl_execute_on_string): Add `const' to local variables. | |
19514 | ||
19515 | * character.h (Vchar_script_table): Extern it. | |
19516 | ||
19517 | * character.c (Vscript_alist): Delete. | |
19518 | (Vchar_script_table, Qchar_script_table): New variable. | |
19519 | (syms_of_character): Declare Vchar_script_table as a lisp variable | |
19520 | and initialize it. | |
19521 | ||
19522 | * chartab.c (Fmake_char_table): Doc fix. If PURPOSE doesn't | |
19523 | have property char-table-extra-slots, make no extra slot. | |
19524 | ||
19525 | * dispextern.h (struct face): Delete member `charset'. | |
19526 | (FACE_SUITABLE_FOR_CHAR_P, FACE_FOR): Use ASCII_CHAR_P, not | |
19527 | SINGLE_BYTE_CHAR_P. | |
19528 | (choose_face_font, lookup_non_ascii_face, font_name_registry): | |
19529 | Add prototypes. | |
19530 | (lookup_face, lookup_named_face, lookup_derived_face): Fix prototype. | |
19531 | (generate_ascii_font_name): Rename from generate_ascii_font. | |
19532 | ||
19533 | * fontset.h (get_font_repertory_func): New prototype. | |
19534 | (make_fontset_for_ascii_face, fs_load_font): Fix prototypes. | |
19535 | (FS_LOAD_FONT): Call fs_load_font with the 3rd arg charset_ascii. | |
19536 | ||
19537 | * fontset.c (Qprepend, Qappend): New variables. | |
19538 | (FONTSET_CHARSET_ALIST, FONTSET_FACE_ALIST): Delete. | |
19539 | (FONTSET_NOFONT_FACE, FONTSET_REPERTORY): New macros. | |
19540 | (FONTSET_REF): Optimize if FONTSET is Vdefault_fontset. | |
19541 | (FONTSET_REF_AND_RANGE, FONTSET_ADD): New macros. | |
19542 | (fontset_ref_and_range, fontset_add, reorder_font_vector) | |
19543 | (load_font_get_repertory): New functions. | |
19544 | (fontset_set): Delete. | |
19545 | (fontset_face): New arg FACE. Return face ID, not face. | |
19546 | Complete re-write to handle new fontset structure. Change caller. | |
19547 | (free_face_fontset): Use ASET istead of AREF (X) = Y. | |
19548 | (face_for_char): Don't call lookup_face. | |
19549 | (make_fontset_for_ascii_face): New arg FACE. | |
19550 | (fs_load_font): New arg CHARSET_ID. Don't check | |
19551 | Vfont_encoding_alist here. | |
19552 | (find_font_encoding): New function. | |
19553 | (list_fontsets): Use STRINGP, not ! NILP. | |
19554 | (accumulate_script_ranges): New function. | |
19555 | (Fset_fontset_font, Fnew_fontset, Ffontset_info): Completely | |
19556 | re-written to handle new fontset structure. | |
19557 | (Ffontset_font): Return a copy of element. | |
19558 | (syms_of_fontset): Define symbols Qprepend and Qappend. Fix | |
19559 | docstring of font-encoding-alist. | |
19560 | ||
19561 | * lisp.h (CHAR_TABLE_REF): Remove unnecessary check (IDX >= 0). | |
19562 | (Fset_fotset_font): Fix arguments to 5. | |
19563 | ||
19564 | * msdos.c (XMenuActivate): Adjust for the change of lookup_derived_face. | |
19565 | ||
19566 | * xdisp.c (message_dolog, set_message_1, extend_face_to_end_of_line): | |
19567 | Use ASCII_CHAR_P, not SINGLE_BYTE_CHAR_P. | |
19568 | (highlight_trailing_whitespace): Adjust for the change of | |
19569 | lookup_named_face. | |
19570 | ||
19571 | * xfaces.c: Include charset.h. | |
19572 | (load_face_font): Delete argument C. Change caller. | |
19573 | (generate_ascii_font_name): Rename from generate_ascii_font. | |
19574 | (font_name_registry): New function. | |
19575 | (cache_face): Store ascii faces before non-ascii faces in buckets. | |
19576 | (lookup_face): Delete arguments C and BASE_FACE. Change caller. | |
19577 | Lookup only ascii faces. | |
19578 | (lookup_non_ascii_face): New function. | |
19579 | (lookup_named_face): Delete argument C. Change caller. | |
19580 | (lookup_derived_face): Delete argument C. Change caller. | |
19581 | (try_font_list): New arg PATTERN. Change caller. If PATTERN is | |
19582 | a string, just call font_list with it. | |
19583 | (choose_face_font): Delete arguments FACE and C. New arg | |
19584 | FONT_SPEC. Change caller. | |
19585 | (realize_face, realize_x_face): Delete arguments C and BASE_FACE. | |
19586 | Change caller. | |
19587 | (realize_non_ascii_face): New function. | |
19588 | (realize_x_face): Call load_face_font here. | |
19589 | (realize_tty_face): Delete argument C. Change caller. | |
19590 | (compute_char_face): If CH is not ascii, call FACE_FOR_CHAR to | |
19591 | get a face ID. | |
19592 | (dump_realized_face): Don't print charset of FACE. | |
19593 | ||
19594 | * xfns.c (x_set_font): Always call x_new_fontset and | |
19595 | store_frame_parameter. | |
19596 | (Fx_create_frame): Call x_new_fontset, not x_new_font. | |
19597 | (syms_of_xfns): Set get_font_repertory_func to x_get_font_repertory. | |
19598 | ||
19599 | * xterm.h (x_get_font_repertory): Extern it. | |
19600 | ||
19601 | * xterm.c (x_produce_glyphs): Use ASCII_CHAR_P, not | |
19602 | SINGLE_BYTE_CHAR_P. Fix the logic of handling non-ASCII char when | |
19603 | it->multibyte_p is zero. | |
19604 | (XTread_socket): Use ASCII_CHAR_P, not SINGLE_BYTE_CHAR_P. | |
19605 | (x_new_fontset): If FONTSETNAME doesn't match any existing | |
19606 | fontsets, create a new one. | |
19607 | (x_get_font_repertory): New function. | |
19608 | ||
19609 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19610 | ||
19611 | * coding.c (Ffind_coding_systems_region_internal): Detect an | |
19612 | ASCII only string correctly. | |
19613 | ||
19614 | * lread.c (Fload): Don't load with Qload_force_doc_strings t if | |
19615 | version is 0. | |
19616 | ||
19617 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19618 | ||
19619 | * lread.c: Include "coding.h". | |
19620 | (Qget_emacs_mule_file_char, Qload_force_doc_strings) | |
19621 | (load_each_byte, unread_char): New variables. | |
19622 | (readchar_backlog): Delete. | |
19623 | (readchar): Return a character unless load_each_byte is nonzero. | |
19624 | Handle the case that readcharfun is Qget_emacs_mule_file_char or a | |
19625 | cons. If unread_char is not -1, simply return it. | |
19626 | (unreadchar): Handle the case that readcharfun is | |
19627 | Qget_emacs_mule_file_char or a cons. Set unread_char if necessary. | |
19628 | (read_multibyte): Delete. | |
19629 | (readbyte_for_lambda, readbyte_from_file, readbyte_from_string) | |
19630 | (read_emacs_mule_char): New functions. | |
19631 | (Fload): Even if the file doesn't have the extension ".elc", if | |
19632 | safe_to_load_p returns a positive version number, assume that the | |
19633 | file contains bytecompiled code. If the version is less than 22, | |
19634 | load the file while decoding multibyte sequences by emacs-mule. | |
19635 | (readevalloop): Don't use readchar_backlog. | |
19636 | (Fread): Likewise. Pay attention to the case that STREAM is a cons. | |
19637 | (Fread_from_string): Pay attention to the case that STREAM is a cons. | |
19638 | (read_escape): Delete the arg BYTEREP. | |
19639 | (read1): Set load_each_byte to 1 temporarily while handling | |
19640 | #@NUMBER. Don't call read_multibyte. | |
19641 | (read_vector): Call Fread with a cons. If readcharfun is | |
19642 | Qget_emacs_mule_file_char, decode the read string by emacs-mule. | |
19643 | (read_list): If doc_reference is 2, make the cdr part string as unibyte. | |
19644 | (syms_of_lread): Intern and staticpro Qget_emacs_mule_file_char | |
19645 | and Qload_force_doc_strings. | |
19646 | ||
19647 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19648 | ||
19649 | * xdisp.c (face_before_or_after_it_pos): Call | |
19650 | FETCH_MULTIBYTE_CHAR with byte postion, not char position. | |
19651 | ||
19652 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19653 | ||
19654 | * character.h (TRAILING_CODE_P): New macro. | |
19655 | (MAYBE_UNIFY_CHAR): Adjust for the change of Funify_charset. | |
19656 | (string_char_with_unification): Fix prototype. | |
19657 | (Vscript_alist): Extern it. | |
19658 | ||
19659 | * character.c (Vscript_alist): New variable. | |
19660 | (string_char_with_unification, str_as_unibyte) | |
19661 | (string_escape_byte8): Add `const' to local variables. | |
19662 | (syms_of_character): Declare script-alist as a Lisp variable. | |
19663 | ||
19664 | * charset.h (Vcharset_ordered_list): Extern it. | |
19665 | (charset_ordered_list_tick): Extern it. | |
19666 | (EMACS_MULE_LEADING_CODE_PRIVATE_11) | |
19667 | (EMACS_MULE_LEADING_CODE_PRIVATE_12) | |
19668 | (EMACS_MULE_LEADING_CODE_PRIVATE_21) | |
19669 | (EMACS_MULE_LEADING_CODE_PRIVATE_22): New macros. | |
19670 | (Funify_charset): Adjust for the change of Funify_charset. | |
19671 | ||
19672 | * charset.c (charset_ordered_list_tick): New variable. | |
19673 | (Fdefine_charset_internal): Increment charset_ordered_list_tick. | |
19674 | (Funify_charset): New optional arg DEUNIFY. If it is non-nil, | |
19675 | deunify intead of unify a charset. | |
19676 | (string_xstring_p): Add `const' to local variables. | |
19677 | (find_charsets_in_text): Add `const' to arguments and local variables. | |
19678 | (encode_char): Adjust for the change of Funify_charset. Fix | |
19679 | detecting of invalid code. | |
19680 | (Fset_charset_priority): Increment charset_ordered_list_tick. | |
19681 | (Fmap_charset_chars): Fix handling of default value for FROM_CODE | |
19682 | and TO_CODE. | |
19683 | ||
19684 | * coding.c (LEADING_CODE_PRIVATE_11, LEADING_CODE_PRIVATE_12) | |
19685 | (LEADING_CODE_PRIVATE_21, LEADING_CODE_PRIVATE_22): Delete macros. | |
19686 | Changed callers to use EMACS_MULE_LEADING_CODE_PRIVATE_11, etc. | |
19687 | (decode_coding_ccl, consume_chars) | |
19688 | (Ffind_coding_systems_region_internal) | |
19689 | (Fcheck_coding_systems_region): Add `const' to local variables. | |
19690 | ||
19691 | * print.c (print_object): Use octal form for printing the | |
19692 | contents of a bool vector. | |
19693 | ||
19694 | 2008-02-01 Dave Love <fx@gnu.org> | |
19695 | ||
19696 | * lread.c (Fload) <!load_dangerous_libraries>: Don't leak fd. | |
19697 | <version == 20>: Refuse to load. | |
19698 | ||
19699 | 2008-02-01 Dave Love <fx@gnu.org> | |
19700 | ||
19701 | * fns.c: Move coding.h. | |
19702 | (Qcodeset, Qdays, Qmonths): New. | |
19703 | (concat): Use CHARACTERP instead of INTEGERP. | |
19704 | (Flocale_codeset): Delete. | |
19705 | (Flanginfo): New function. | |
19706 | (syms_of_fns): Change accordingly. | |
19707 | ||
19708 | * coding.c (adjust_coding_eol_type): Fix eol_type/eol_seen mixup. | |
19709 | ||
19710 | 2008-02-01 Dave Love <fx@gnu.org> | |
19711 | ||
19712 | * casetab.c (init_casetab_once, init_casetab_once): Fix | |
19713 | CHAR_TABLE_SET call. | |
19714 | ||
19715 | * category.c (Fmodify_category_entry): Fix CATEGORY_MEMBER call. | |
19716 | ||
19717 | * character.c (syms_of_character): Fix CHAR_TABLE_SET call. | |
19718 | ||
19719 | * charset.c (Fmap_charset_chars): Check args. Convert Lisp types. | |
19720 | (load_charset_map, Fdeclare_equiv_charset, Fencode_char) | |
19721 | (Fset_charset_priority, syms_of_charset): Convert Lisp types. | |
19722 | ||
19723 | * charset.h (CHECK_CHARSET_GET_ID): Use XINT on AREF result. | |
19724 | ||
19725 | * coding.c (ENCODE_DESIGNATION, decode_eol) | |
19726 | (make_conversion_work_buffer, code_conversion_restore) | |
19727 | (Fdefine_coding_system_internal): Convert Lisp types. | |
19728 | (code_conversion_restore): Use EQ, not ==. | |
19729 | (Fencode_coding_string): Fix code_convert_string call. | |
19730 | ||
19731 | * coding.h (code_convert_region): Fix prototype. | |
19732 | ||
19733 | * dispextern.h (redraw_frame, redraw_garbaged_frames): Remove. | |
19734 | ||
19735 | * fontset.c (fontset_ref, fontset_set, fs_load_font) | |
19736 | (Ffontset_info): Convert Lisp types. | |
19737 | ||
19738 | * syntax.h (SYNTAX_ENTRY_INT): Don't use make_number. | |
19739 | ||
19740 | * xterm.c (note_mouse_movement): Fix call of window_from_coordinates. | |
19741 | ||
19742 | * xdisp.c (display_mode_element): Fix call of Fset_text_properties. | |
19743 | ||
19744 | * chartab.c: Include "...h", not <...h> in some cases. | |
19745 | ||
19746 | * callproc.c (Fcall_process): Remove unused variables. | |
19747 | ||
19748 | 2008-02-01 Dave Love <fx@gnu.org> | |
19749 | ||
19750 | * coding.c (Fset_coding_system_priority): Allow null arg list. | |
19751 | ||
19752 | 2008-02-01 Dave Love <fx@gnu.org> | |
19753 | ||
19754 | * minibuf.c (Fminibuffer_complete_word): Remove unused var. | |
19755 | (Fself_insert_and_exit): Use CHARACTERP. | |
19756 | ||
19757 | * callproc.c (Fcall_process): Remove unused vars. | |
19758 | ||
19759 | * xterm.c (XTread_socket): Add extra dead keysyms. | |
19760 | ||
19761 | * xdisp.c (decode_mode_spec_coding): Use CHARACTERP. | |
19762 | ||
19763 | * dispextern.h: Remove prototypes for redraw_frame, | |
19764 | redraw_garbaged_frames. | |
19765 | ||
19766 | * cmds.c (Fself_insert_command): Use CHARACTERP. | |
19767 | ||
19768 | * chartab.c (make_sub_char_table): Remove unused var. | |
19769 | (Fset_char_table_default, Fmap_char_table): Doc fix. | |
19770 | ||
19771 | * keymap.c (access_keymap): Remove generic char code. | |
19772 | (push_key_description): Use CHARACTERP. | |
19773 | ||
19774 | 2008-02-01 Dave Love <fx@gnu.org> | |
19775 | ||
19776 | * charset.c: Doc fixes. | |
19777 | (Funify_charset): Extra checking. | |
19778 | ||
19779 | 2008-02-01 Dave Love <fx@gnu.org> | |
19780 | ||
19781 | * lread.c: Remove some unused variables. | |
19782 | (safe_to_load_p): If safe, return the magic number version byte. | |
19783 | (Fload): Maybe use load-with-code-conversion. | |
19784 | ||
19785 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19786 | ||
19787 | * category.c (Fmodify_category_entry): Don't modify the contents | |
19788 | of category_set for characters out of the range. Avoid | |
19789 | unnecessary modification. | |
19790 | ||
19791 | * character.h (MAYBE_UNIFY_CHAR): Adjust for the change of | |
19792 | Vchar_unify_table. The default value of the table is now nil. | |
19793 | ||
19794 | * character.c (syms_of_character): Setup Vchar_width_table for | |
19795 | eight-bit-control and raw-byte chars. | |
19796 | ||
19797 | * charset.h (enum define_charset_arg_index): Delete | |
19798 | charset_arg_parents and add charset_arg_subset and | |
19799 | charset_arg_superset. | |
19800 | (enum charset_attr_index): Delete charset_parents and add | |
19801 | charset_subset and charset_superset. | |
19802 | (enum charset_method): Delete CHARSET_METHOD_INHERIT and add | |
19803 | CHARSET_METHOD_SUBSET and CHARSET_METHOD_SUPERSET. | |
19804 | (CHARSET_ATTR_PARENTS, CHARSET_PARENTS): Delete. | |
19805 | (CHARSET_ATTR_SUBSET, CHARSET_ATTR_SUPERSET, CHARSET_SUBSET) | |
19806 | (CHARSET_SUPERSET): New macros. | |
19807 | (charset_work): Extern it. | |
19808 | (ENCODE_CHAR): Use charset_work. | |
19809 | (CHAR_CHARSET_P): Adjust for the change of encoder format. | |
19810 | (map_charset_chars): Extern it. | |
19811 | ||
19812 | * charset.c (load_charset_map): Set the default value of encoder | |
19813 | and deunifier char-tables to nil. | |
19814 | (map_charset_chars): Change argument. Change callers. Use | |
19815 | map_char_table_for_charset instead of map_char_table. | |
19816 | (Fmap_charset_chars): New optional args from_code and to_code. | |
19817 | (Fdefine_charset_internal): Adjust for the change of | |
19818 | `define-charset' (:parents -> :subset or :superset). | |
19819 | (charset_work): New variable. | |
19820 | (encode_char, syms_of_charset): Adjust for the change of | |
19821 | Fdefine_charset_internal. | |
19822 | (Ffind_charset_string): Setup the vector `charsets' correctly. | |
19823 | ||
19824 | * chartab.c (sub_char_table_ref_and_range): New arg default. Fix | |
19825 | the previous change. | |
19826 | (char_table_ref_and_range): Adjust for the above change. | |
19827 | (map_sub_char_table_for_charset): New function. | |
19828 | (map_char_table_for_charset): New function. | |
19829 | ||
19830 | * keymap.c (describe_vector): Handle a char-table directly here. | |
19831 | (describe_char_table): Delete. | |
19832 | ||
19833 | * lisp.h (map_charset_chars): Delete. | |
19834 | ||
19835 | 2008-02-01 Dave Love <fx@gnu.org> | |
19836 | ||
19837 | * fns.c (count_combining): Comment out (unused). | |
19838 | (Flocale_codeset): New. | |
19839 | (syms_of_fns): Defsubr it. | |
19840 | ||
19841 | * config.in (HAVE_PTY_H, HAVE_SIZE_T, HAVE_LANGINFO_CODESET): New. | |
19842 | (size_t): Remove. | |
19843 | ||
19844 | 2008-02-01 Dave Love <fx@gnu.org> | |
19845 | ||
19846 | * Makefile.in (chartab.o): Depend on charset.h. | |
19847 | ||
19848 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19849 | ||
19850 | * character.c (syms_of_character): Set the default value of | |
19851 | Vprintable_chars to Qnil. | |
19852 | ||
19853 | 2008-02-01 Dave Love <fx@gnu.org> | |
19854 | ||
19855 | * Makefile.in (lisp, shortlisp): Change indian.elc to indian.el. | |
19856 | ||
19857 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19858 | ||
19859 | * charset.c (load_charset_map): Handle the case that from < to | |
19860 | correctly. | |
19861 | ||
19862 | * coding.c (encode_coding_emacs_mule, encode_coding_iso_2022) | |
19863 | (encode_coding_sjis, encode_coding_big5, encode_coding_charset): | |
19864 | Pay attention to raw-8-bit chars. | |
19865 | ||
19866 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19867 | ||
19868 | * Makefile.in (lisp, shortlisp): Change chinese.elc to chinese.el. | |
19869 | It is not bytecompiled now. | |
19870 | ||
19871 | * charset.c (charset_jisx0201_roman, charset_jisx0208_1978) | |
19872 | (charset_jisx0208): New variables. | |
19873 | (Fdefine_charset_internal): Setup them if appropriate. | |
19874 | (init_charset_once): Initialize them to -1. | |
19875 | ||
19876 | * charset.h (charset_jisx0201_roman, charset_jisx0208_1978) | |
19877 | (charset_jisx0208): Extern them. | |
19878 | ||
19879 | * coding.c (CODING_ISO_FLAG_USE_ROMAN): New macro. | |
19880 | (CODING_ISO_FLAG_USE_OLDJIS): New macro. | |
19881 | (CODING_ISO_FLAG_FULL_SUPPORT): Change macro definition. | |
19882 | (setup_iso_safe_charsets): Fix arguments to Fassq. | |
19883 | (DECODE_DESIGNATION, ENCODE_ISO_CHARACTER_DIMENSION1) | |
19884 | (ENCODE_ISO_CHARACTER_DIMENSION2): Pay attention to | |
19885 | CODING_ISO_FLAG_USE_ROMAN and CODING_ISO_FLAG_USE_OLDJIS. | |
19886 | (encode_coding_iso_2022): Change the 1st arg to | |
19887 | ENCODE_ISO_CHARACTER to a variable. | |
19888 | ||
19889 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19890 | ||
19891 | * charset.h (enum define_charset_arg_index): New enums | |
19892 | charset_arg_min_code and charset_arg_max_code. | |
19893 | (struct charset): New member char_index_offset. | |
19894 | ||
19895 | * charset.c (CODE_POINT_TO_INDEX, INDEX_TO_CODE_POINT): | |
19896 | Take charset->char_index_offset into account. | |
19897 | (Fdefine_charset_internal): Handle args[charset_arg_min_code] and | |
19898 | args[charset_arg_max_code]. Setup charset.char_index_offset. | |
19899 | (syms_of_charset): Fix args to Fdefine_charset_internal. | |
19900 | ||
19901 | 2008-02-01 Dave Love <fx@gnu.org> | |
19902 | ||
19903 | * coding.c (decode_coding_utf_8): Reject overlong sequences. | |
19904 | ||
19905 | 2008-02-01 Dave Love <fx@gnu.org> | |
19906 | ||
19907 | * coding.c: Doc fixes. | |
19908 | (Fcoding_system_aliases): Fix return value. | |
19909 | (Qmac): Remove (duplicated) definition. | |
19910 | ||
19911 | 2008-02-01 Dave Love <fx@gnu.org> | |
19912 | ||
362654a6 JB |
19913 | * charset.c (Fcharset_priority_list, Fset_charset_priority): |
19914 | New functions. | |
aac0c6e3 MR |
19915 | |
19916 | * character.c (Fstring): Doc fix. | |
19917 | ||
19918 | * charset.c (Fdefine_charset_alias): Update Vcharset_list. | |
19919 | ||
362654a6 | 19920 | * fontset.c (Ffontset_info): Doc fix. Return charset names, not ids. |
aac0c6e3 MR |
19921 | (font-encoding-alist): Doc fix. |
19922 | ||
19923 | 2008-02-01 Dave Love <fx@gnu.org> | |
19924 | ||
19925 | * term.c (costs_set): Declare static, non-initialized for pcc. | |
19926 | (encode_terminal_code): Remove unused var. | |
19927 | ||
19928 | * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal decl | |
19929 | for K&R. | |
19930 | ||
19931 | * xterm.c (xlwmenu_window_p): Fix prototype for K&R. | |
19932 | ||
19933 | * coding.c (setup_iso_safe_charsets): Fix arg decl for K&R. | |
19934 | (suffixes): Move out of make_subsidiaries for K&R. | |
19935 | ||
19936 | * charset.c (map_charset_chars): Fix c_function declaration for K&R. | |
19937 | ||
19938 | * lisp.h (DEFUN) [!PROTOTYPES]: Remove spurious `args'. | |
19939 | ||
19940 | 2008-02-01 Dave Love <fx@gnu.org> | |
19941 | ||
19942 | * data.c (Fchar_or_string_p): Doc fix. Use CHARACTERP. | |
19943 | ||
19944 | * category.c (Fmodify_category_entry): Doc fix. Remove unused vars. | |
19945 | ||
19946 | 2008-02-01 Yong Lu <lyongu@asia-infonet.com> | |
19947 | ||
19948 | * charset.c (Fdefine_charset_internal): Fix argument to bzero. | |
19949 | ||
19950 | * coding.c (decode_coding_charset): Workaround for the bug of GCC 2.96. | |
19951 | ||
19952 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19953 | ||
19954 | * Makefile.in (lisp, shortlisp): Change cyrillic.elc to cyrillic.el, | |
19955 | vietnamese.elc to vietnamese.el. They are not bytecompiled now. | |
19956 | ||
19957 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19958 | ||
19959 | * coding.c (decode_coding_charset): Adjust for the change of | |
19960 | Fdefine_coding_system_internal. | |
19961 | (Fdefine_coding_system_internal): For a coding system of | |
19962 | `charset' type, store a list of charset IDs in | |
19963 | `charset_attr_charset_valids' element of coding attributes. | |
19964 | ||
19965 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19966 | ||
19967 | * coding.c (ONE_MORE_BYTE_NO_CHECK): Increment consumed_chars. | |
19968 | (emacs_mule_char): New arg src. Delete arg `composition'. Change | |
19969 | caller. Handle 2-byte and 3-byte charsets correctly. | |
19970 | (DECODE_EMACS_MULE_COMPOSITION_RULE_20): Rename from | |
19971 | DECODE_EMACS_MULE_COMPOSITION_RULE. Change caller. | |
19972 | (DECODE_EMACS_MULE_COMPOSITION_RULE_21): New macro. | |
19973 | (DECODE_EMACS_MULE_21_COMPOSITION): Call | |
19974 | DECODE_EMACS_MULE_COMPOSITION_RULE_21. Produce correct annotation | |
19975 | sequence. | |
19976 | (decode_coding_emacs_mule): Handle composition correctly. Rewind | |
19977 | `src' and `consumed_chars' correctly before calling emacs_mule_char. | |
19978 | (DECODE_COMPOSITION_START): Correctly handle the case of altchar | |
19979 | and alt&rule composition. | |
19980 | (decode_coding_iso_2022): Handle composition correctly. | |
19981 | (init_coding_once): Setup emacs_mule_bytes for private charsets. | |
19982 | ||
19983 | * charset.c (Fdefine_charset_internal): Fix bug for the case of | |
19984 | re-defining a charset. If the charset has :emacs-mule-id, setup | |
19985 | emacs_mule_bytes. | |
19986 | (Fmake_char): If CODE1 is nil, use the minimum code of the charset. | |
19987 | ||
19988 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
19989 | ||
19990 | * coding.c (encode_coding_iso_2022, encode_coding_sjis) | |
19991 | (encode_coding_big5, encode_coding_charset): If coding requires safe | |
19992 | encoding, produce a character specified by | |
19993 | CODING_INHIBIT_CHARACTER_SUBSTITUTION. | |
19994 | ||
19995 | 2008-02-01 Dave Love <fx@gnu.org> | |
19996 | ||
19997 | * xterm.c (XSetIMValues): Declare. | |
19998 | ||
19999 | * process.c: Conditionally include sys/wait.h, pty.h. | |
20000 | ||
20001 | * print.c (print_object): Fix print format for 64-bit systems. | |
20002 | ||
20003 | * keyboard.c (modify_event_symbol): Fix print format for 64-bit systems. | |
20004 | ||
20005 | * buffer.c (emacs_strerror): Declare. | |
20006 | ||
20007 | * fontset.c (Fclear_face_cache): Declare. | |
20008 | (accumulate_font_info): Comment-out (unused). | |
20009 | (face_for_char, Fset_fontset_font, Ffontset_info): Remove unused | |
20010 | variables. | |
20011 | ||
20012 | * character.h (string_escape_byte8): Declare. | |
20013 | ||
20014 | * charset.c (load_charset_map, load_charset_map_from_file): Remove | |
20015 | unused vars. | |
20016 | (Fdefine_charset_internal, Fsplit_char, syms_of_charset) | |
20017 | (Fmap_charset_chars): Doc fix. | |
20018 | ||
20019 | * coding.c (Vchar_coding_system_table, Qchar_coding_system): Remove. | |
20020 | (Fset_coding_system_priority, Fset_coding_system_priority) | |
20021 | (Fdefine_coding_system_internal): Doc fix. | |
20022 | ||
20023 | 2008-02-01 Dave Love <fx@gnu.org> | |
20024 | ||
20025 | * s/osf5-0.h (C_SWITCH_SYSTEM) [!__GNUC__]: Remove -nointrinsics. | |
20026 | ||
20027 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
20028 | ||
20029 | * character.c (string_escape_byte8): Make multibyte string with | |
20030 | correct size. | |
20031 | ||
20032 | * charset.c (Fmake_char): Delete unnecessary code. | |
20033 | ||
20034 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
20035 | ||
20036 | * xfns.c (x_encode_text): Allocate coding.destination here, and | |
20037 | call encode_coding_object with dst_object Qnil. | |
20038 | ||
20039 | * buffer.c (Fset_buffer_multibyte): Convert 8-bit bytes to | |
20040 | multibyte form correctly. | |
20041 | ||
20042 | * fontset.c (fs_load_font): Check fontp->full_name (not fontname) | |
20043 | against Vfont_encoding_alist. | |
20044 | ||
20045 | * coding.c (Fdecode_sjis_char): Fix typo (0x7F->0xFF). Fix the | |
20046 | handling of charset list. | |
20047 | (encode_coding_iso_2022): Setup coding->safe_charsets in advance. | |
20048 | (decode_coding_object): Move point to coding->dst_pos before | |
20049 | calling post-read-conversion function. | |
20050 | (encode_coding_object): Give correct arguments to | |
20051 | pre-write-conversion. Ignore the return value of | |
20052 | pre-write-conversion function. Pay attention to the case that | |
20053 | pre-write-conversion changes the current buffer. If dst_object is | |
20054 | Qt, even if coding->src_bytes is zero, allocate at least one byte | |
20055 | to coding->destination. | |
20056 | ||
20057 | * coding.h (JIS_TO_SJIS): Fix typo (j1->s1, j2->s2). | |
20058 | ||
20059 | * charset.c (Fmake_char): Make it more backward compatible. | |
20060 | (Fmap_charset_chars): Fix docstring. | |
20061 | ||
20062 | 2008-02-01 Dave Love <fx@gnu.org> | |
20063 | ||
20064 | * coding.c: Doc fixes. | |
20065 | (Fdefine_coding_system_alias): Use names, not symbols, in | |
20066 | coding-system-alist. | |
20067 | ||
20068 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
20069 | ||
20070 | * fontset.c (free_realized_fontsets): Call Fclear_face_cache instead | |
20071 | of calling free_realized_face. | |
20072 | ||
20073 | 2008-02-01 Yong Lu <lyongu@asia-infonet.com> | |
20074 | ||
20075 | * charset.c (read_hex): Don't treat SPC as a comment starter. | |
20076 | (decode_char): If CODE_POINT_TO_INDEX returns -1, always return -1. | |
20077 | (Fdecode_char): Fix typo. | |
20078 | ||
20079 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
20080 | ||
20081 | * charset.h (struct charset): New member `code_space_mask'. | |
20082 | ||
20083 | * coding.c (coding_set_source): Delete the local variable beg_byte. | |
20084 | (encode_coding_charset, Fdefine_coding_system_internal): | |
20085 | Delete the local variable charset. | |
20086 | (Fdefine_coding_system_internal): Setup | |
20087 | attrs[coding_attr_charset_valids] correctly. | |
20088 | ||
20089 | * charset.c (CODE_POINT_TO_INDEX): Utilize `code_space_mask' | |
20090 | member to check if CODE is valid or not. | |
20091 | (Fdefine_charset_internal): Initialize `code_space_mask' member. | |
20092 | (encode_char): Before calling CODE_POINT_TO_INDEX, check if CODE | |
20093 | is within the range of charset->min_code and carset->max_code. | |
20094 | ||
20095 | 2008-02-01 Dave Love <fx@gnu.org> | |
20096 | ||
20097 | * syntax.h (syntax_temp) [!__GNUC__]: Declare. | |
20098 | ||
20099 | * dispextern.h (generate_ascii_font): Fix return type. | |
20100 | ||
20101 | * xfaces.c (generate_ascii_font): Fix arg declaration. | |
20102 | ||
20103 | * coding.c (coding_inherit_eol_type) | |
20104 | (Fset_terminal_coding_system_internal) | |
20105 | (Fset_safe_terminal_coding_system_internal): Fix arg declarations. | |
20106 | ||
20107 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
20108 | ||
20109 | * coding.c (decode_coding_charset, encode_coding_charset): Handle | |
20110 | multiple charsets correctly. | |
20111 | ||
20112 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
20113 | ||
20114 | * search.c (boyer_moore): Fix handling of multibyte character | |
20115 | translation. | |
20116 | ||
20117 | * xdisp.c (display_mode_element): When the variable `elt' is | |
20118 | changed, update `this' and `lisp_string'. | |
20119 | ||
20120 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
20121 | ||
20122 | * buffer.c (Fset_buffer_multibyte): Fix 8-bit char handling. | |
20123 | ||
20124 | * callproc.c (Fcall_process): Be sure to give the current buffer | |
20125 | to decode_coding_c_string. Update PT and PT_BYTE after the insertion. | |
20126 | ||
20127 | * charset.c (struct charset_map_entries): New struct. | |
20128 | (load_charset_map): Rename from parse_charset_map. New args | |
20129 | entries and n_entries. Change caller. | |
20130 | (load_charset_map_from_file): Rename from load_charset_map. | |
20131 | Change caller. New arg control_flag. Call load_charset_map at | |
20132 | the tail. | |
20133 | (load_charset_map_from_vector): New function. | |
20134 | (Fdefine_charset_internal): Setup charset.compact_codes_p. | |
20135 | (encode_char): If the charset is compact, change a character index | |
20136 | to a code point. | |
20137 | ||
20138 | * coding.c (coding_alloc_by_making_gap): Check the case that the | |
20139 | source and destination are the same correctly. | |
20140 | (decode_coding_raw_text): Set coding->consumed_char and | |
20141 | coding->consumed to 0. | |
20142 | (produce_chars): If coding->chars_at_source is nonzero, update | |
20143 | coding->consumed_char and coding->consumed before calling | |
20144 | alloc_destination. | |
20145 | (Fdefine_coding_system_alias): Register ALIAS in | |
20146 | Vcoding_system_alist. | |
20147 | (syms_of_coding): Define `no-conversion' coding system at the tail. | |
20148 | ||
20149 | * fileio.c (Finsert_file_contents): Set coding_system instead of | |
20150 | val. If the current buffer is multibyte, always call | |
20151 | decode_coding_gap. | |
20152 | ||
20153 | * xfaces.c (try_font_list): Give higher priority to fontset's | |
20154 | family than face's family. | |
20155 | ||
20156 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
20157 | ||
20158 | * callproc.c (Fcall_process): Be sure to give the current buffer | |
20159 | to decode_coding_c_string. | |
20160 | ||
20161 | * xfaces.c (try_font_list): Give a family specified in a fontset | |
20162 | higher priority than a family specified in a face. | |
20163 | ||
20164 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
20165 | ||
20166 | * fileio.c (Finsert_file_contents): Fix calculation of `inserted'. | |
20167 | Fix arguments to insert_from_buffer. | |
20168 | ||
20169 | * xdisp.c (display_mode_element): Fix calculation of `bytepos'. | |
20170 | ||
20171 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
20172 | ||
20173 | * coding.c (produce_chars): Set the variable `multibytep' correctly. | |
20174 | (decode_coding_gap): Set coding->dst_multibyte correctly. | |
20175 | ||
20176 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
20177 | ||
20178 | * coding.c (encode_coding_utf_8): Initialize produced_chars to 0. | |
20179 | (decode_coding_utf_16): Fix converting high and low bytes to code-point. | |
20180 | (encode_coding_utf_16): Substitute coding->default_char for | |
20181 | non-Unicode characters. | |
20182 | (decode_coding): Don't call record_insert here. | |
20183 | (setup_coding_system): Initialize `surrogate' of | |
20184 | coding->spec.utf_16 to 0. | |
20185 | (EMIT_ONE_BYTE): Fix for multibyte case. | |
20186 | ||
20187 | * insdel.c (insert_from_gap): Call record_insert. | |
20188 | ||
20189 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
20190 | ||
20191 | * casefiddle.c (casify_region): Fix multibyte case. | |
20192 | ||
20193 | * character.c (c_string_width): Add return type `int'. | |
20194 | (char_string_with_unification): Delete arg ADVANCED. | |
20195 | ||
20196 | * character.h (CHAR_VALID_P): Don't call CHARACTERP. | |
20197 | (CHAR_STRING): Adjust for the change of char_string_with_unification. | |
20198 | (CHAR_STRING_ADVANCE): Make it do-while statement. | |
20199 | ||
20200 | * chartab.c (sub_char_table_set_range): Optimize for the case | |
20201 | DEPTH == 3. Add workaround code for a GCC optimization bug. | |
20202 | ||
20203 | * charset.c (parse_charset_map): Remove an unused variable. | |
20204 | ||
20205 | * coding.c: Delete unused variables. | |
20206 | ||
20207 | * fileio.c (Finsert_file_contents): Set coding_system to Qnil | |
20208 | earlier. If inserted is zero and the coding system doesn't | |
20209 | require flushing, don't call decode_coding_gap. | |
20210 | ||
20211 | * syntax.h (SET_RAW_SYNTAX_ENTRY): Don't call make_number. | |
20212 | ||
20213 | 2008-02-01 Kenichi Handa <handa@m17n.org> | |
20214 | ||
20215 | The following changes are for using Unicode as an internal | |
20216 | character model, and use UTF-8 format for buffer/string | |
20217 | representation. | |
20218 | ||
20219 | * .gdbinit (xchartable): Adjust for the change of char table structure. | |
20220 | (xsubchartable, xcoding, xcharset, xcurbuf): New commands. | |
20221 | ||
20222 | * Makefile.in (obj): Add character.o and chartab.o. | |
20223 | (lisp, shortlisp): Remove utf-8.elc. | |
20224 | (*.o): For many files, change dependency on charset.h to | |
20225 | character.h, and add dependency on character.h. | |
20226 | (character.o, chartab.o): New targets. | |
20227 | ||
20228 | * abbrev.c, bytecode.c, casefiddle.c, cmds.c, dispnew.c, doc.c: | |
20229 | * doprnt.c, dosfns.c, frame.c, marker.c, minibuf.c, msdos.c: | |
20230 | * w16select.c, w32bdf.c, w32console.c: Include "character.h" instead | |
20231 | of "charset.h". | |
20232 | ||
20233 | * dired.c, filelock.c: Include "character.h". | |
20234 | ||
20235 | * alloc.c: Include "character.h" instead of "charset.h". | |
20236 | (Fmake_char_table, make_sub_char_table): Move to chartab.c. | |
20237 | (syms_of_alloc): Remove defsubr for Smake_char_table. | |
20238 | ||
20239 | * buffer.c: Include "character.h" instead of "charset.h", don't | |
20240 | include "coding.h". | |
20241 | (Fset_buffer_multibyte): Adjust for UTF-8. | |
20242 | ||
20243 | * buffer.h: EXFUN Fbuffer_live_p. | |
20244 | ||
20245 | * callproc.c: Include "character.h" instead of "charset.h". | |
20246 | (Fcall_process): Big change for the new code-conversion APIs. | |
20247 | ||
20248 | * casetab.c: Include "character.h" instead of "charset.h". | |
20249 | (set_canon, set_identity, shuffle): Adjust for the new | |
20250 | map_char_table spec. | |
20251 | (init_casetab_once): Call CHAR_TABLE_SET instead of directly | |
20252 | accessing the char table structure. | |
20253 | ||
20254 | * chartab.c: New file that implements char table. | |
20255 | ||
20256 | * category.c: Include "character.h". | |
20257 | (copy_category_entry): New function. | |
20258 | (copy_category_table): Call map_char_table and copy_category_entry. | |
20259 | (Fmake_category_table): Initialize all top-level slots. | |
20260 | (char_category_set): New function. | |
20261 | (modify_lower_category_set): Delete. | |
20262 | (Fmodify_category_entry): Call char_table_ref_and_range. | |
20263 | ||
20264 | * category.h (CATEGORY_SET): Just call char_category_set. | |
20265 | ||
20266 | * ccl.c: Include "character.h". | |
20267 | (Qccl, Qcclp): New variables. | |
20268 | (CCL_WRITE_CHAR): Alway treat the arg CH as a character even if | |
20269 | it's less than 256. | |
20270 | (CCL_WRITE_MULTIBYTE_CHAR): Delete. | |
20271 | (CCL_WRITE_STRING, CCL_READ_CHAR): Adjust for the change of SRC | |
20272 | and DST type. | |
20273 | (ccl_driver): Change types of argument, adjust code accordingly. | |
20274 | (Fccl_execute, Fccl_execute_on_string): Adjust for the change of | |
20275 | ccl_driver. | |
20276 | (syms_of_ccl): Intern and staticpro Qccl and Qcclp. | |
20277 | ||
20278 | * ccl.h (struct ccl_program): Delete members eol_type and multibyte. | |
20279 | New members src_multibyte, dst_multibyte, consumed, and produced. | |
20280 | (struct ccl_spec): Delete members decoder and encoder. New member ccl. | |
20281 | (CODING_SPEC_CCL_PROGRAM): New macro. | |
20282 | (ccl_driver): Update prototype. | |
20283 | (Qccl, Qcclp, Fccl_program_p): Extern them. | |
20284 | (CHECK_CCL_PROGRAM): New macro. | |
20285 | ||
20286 | * character.c, character.h, chartab.c: New files. | |
20287 | ||
20288 | * charset.c: Mostly re-written. Move character and multibyte sequence | |
20289 | handling codes to character.c. | |
20290 | ||
20291 | * charset.h: Mostly re-written. Move character and multibyte sequence | |
20292 | handling codes to character.h. | |
20293 | ||
20294 | * coding.c, coding.h: Mostly re-written. | |
20295 | ||
20296 | * composite.c: Include "character.h" instead of "charset.h". | |
20297 | (CHAR_WIDTH): Move to character.h. | |
20298 | (HASH_KEY, HASH_VALUE): Delete. | |
20299 | ||
20300 | * composite.h (enum composition_method): Change order of enumeration | |
20301 | symbols. | |
20302 | ||
20303 | * data.c: Include "character.h" instead of "charset.h". | |
20304 | (Faref): Call CHAR_TABLE_REF for a char table. | |
20305 | (Faset): Call CHAR_TABLE_SET for a char table. | |
20306 | ||
20307 | * dispextern.h (free_realized_face, check_face_attribytes) | |
20308 | (generate_ascii_font): Extern them. | |
20309 | (free_realized_multibyte_face): Delete extern. | |
20310 | ||
20311 | * disptab.h (DISP_CHAR_VECTOR): Adjust for the change of char | |
20312 | table structure. | |
20313 | ||
20314 | * editfns.c: Include "character.h" instead of "charset.h". | |
20315 | (Fchar_to_string): Always call CHAR_STRING. | |
20316 | ||
20317 | * emacs.c (main): Call init_charset_once, init_charset, | |
20318 | syms_of_chartab, and syms_of_character. | |
20319 | ||
20320 | * fileio.c: Include "character.h" instead of "charset.h". | |
20321 | (Finsert_file_contents): Big change for the new code-conversion API. | |
20322 | (choose_write_coding_system, Fwrite_region): Likewise. | |
20323 | (build_annotations_2): Delete. | |
20324 | (e_write): Big change for the new code-conversion API. | |
20325 | ||
20326 | * fns.c: Include "character.h" instead of "charset.h". | |
20327 | (copy_sub_char_table): Move to chartab.c. | |
20328 | (Fcopy_sequence): Call copy_char_table for a char table. | |
20329 | (concat): Delete codes calling count_multibyte. | |
20330 | (string_char_to_byte, string_byte_to_char): Adjust for the new | |
20331 | multibyte form. | |
20332 | (internal_equal): Adjust for the change of char table structure. | |
20333 | (Fchar_table_subtype, Fchar_table_parent, Fset_char_table_parent) | |
20334 | (Fchar_table_extra_slot, Fset_char_table_extra_slot) | |
20335 | (Fchar_table_range, Fset_char_table_range, Fset_char_table_default) | |
20336 | (char_table_translate, optimize_sub_char_table) | |
20337 | (Foptimize_char_table, map_char_table, Fmap_char_table): Move to | |
20338 | chartab.c. | |
20339 | (char_table_ref_and_index): Delete. | |
20340 | (HASH_KEY, HASH_VALUE): Move to lisp.h. | |
20341 | (Fmd5): Call preferred_coding_system instead of accessing | |
20342 | Vcoding_category_list. Adjust for the new code-conversion API. | |
20343 | (syms_of_fns): Move defsubr for char table related functions to | |
20344 | chartab.c. | |
20345 | ||
20346 | * fontset.c: Mostly re-written. | |
20347 | ||
20348 | * fontset.h (struct font_info): Change type of the member encoding_type. | |
20349 | (enum FONT_SPEC_INDEX): New enum. | |
20350 | (fontset_font_pattern, fs_load_font): Update prototype. | |
20351 | (FS_LOAD_FONT): Adjust for the change of fs_load_font. | |
20352 | ||
20353 | * indent.c: Include "character.h" instead of "charset.h". | |
20354 | (MULTIBYTE_BYTES_WIDTH): Call CHAR_WIDTH instead of WIDTH_BY_CHAR_HEAD. | |
20355 | ||
20356 | * insdel.c: Include "character.h" instead of "charset.h". | |
20357 | (copy_text): Don't refer to Vnonascii_translation_table. | |
20358 | (insert_from_gap): New function. | |
20359 | ||
20360 | * keyboard.c: Include "character.h" instead of "charset.h". | |
20361 | (command_loop_1): Never call direct_output_forward_char before | |
20362 | a non-ASCII character. | |
20363 | (read_char): If Vkeyboard_translate_table is a char table, always | |
20364 | translate a character. | |
20365 | ||
20366 | * keymap.c: Include "character.h". | |
20367 | (store_in_keymap): Handle the case that IDX is a cons. | |
20368 | (Fdefine_key): Handle the case that KEY is a cons and the car part | |
20369 | is also a cons (range). | |
20370 | (push_key_description): Adjust for the new character code. | |
20371 | (describe_vector): Call describe_char_table for a char table. | |
20372 | (describe_char_table): New function. | |
20373 | ||
20374 | * keymap.h (describe_char_table): Extern it. | |
20375 | ||
20376 | * lisp.h (enum pvec_type): New member PVEC_SUB_CHAR_TABLE. | |
20377 | (XSUB_CHAR_TABLE, XSETSUB_CHAR_TABLE): New macros. | |
20378 | (CHAR_TABLE_ORDINARY_SLOTS, CHAR_TABLE_SINGLE_BYTE_SLOTS) | |
20379 | (SUB_CHAR_TABLE_ORDINARY_SLOTS, SUB_CHAR_TABLE_STANDARD_SLOTS): | |
20380 | Delete. | |
20381 | (CHAR_TABLE_REF, CHAR_TABLE_SET): Adjust for the new char table | |
20382 | structure. | |
20383 | (CHAR_TABLE_TRANSLATE): Just call char_table_translate. | |
20384 | (CHARTAB_SIZE_BITS_0, CHARTAB_SIZE_BITS_1, CHARTAB_SIZE_BITS_2) | |
20385 | (CHARTAB_SIZE_BITS_3): New macros. | |
20386 | (chartab_size): Extern it. | |
20387 | (struct Lisp_Char_Table): Re-design. | |
20388 | (struct Lisp_Sub_Char_Table): New structure. | |
20389 | (HASH_KEY, HASH_VALUE): Move from fns.c. | |
20390 | (CHARACTERBITS): Define as 22. | |
20391 | (GLYPH_MASK_FACE, GLYPH_MASK_CHAR): Adjust for the above change. | |
20392 | (SUB_CHAR_TABLE_P): Check PVEC_CHAR_TABLE. | |
20393 | (GC_SUB_CHAR_TABLE_P): New macro. | |
20394 | (Fencode_coding_string, Fdecode_coding_string): Update EXFUN. | |
20395 | (code_convert_string_norecord): Deleted extern. | |
20396 | (init_character_once, syms_of_character, init_charset) | |
20397 | (syms_of_composite, Qeq, Fmakehash, insert_from_gap): Extern them. | |
20398 | ||
20399 | * lread.c: Include "character.h". | |
20400 | (read_multibyte): New arg NBYTES. | |
20401 | (read_escape): Change the meaning of returned *BYTEREP. | |
20402 | (to_multibyte): Delete. | |
20403 | (read1): Adjust the handling of char table and string. | |
20404 | ||
20405 | * print.c: Include "character.h" instead of "charset.h". | |
20406 | (print_string): Convert 8-bit raw bytes to octal form by | |
20407 | string_escape_byte8. | |
20408 | (print_object): Adjust for the new multibyte form. Print 8-bit | |
20409 | raw bytes always in octal form. Handle sub char table correctly. | |
20410 | ||
20411 | * process.c: Include "character.h" instead of "charset.h". | |
20412 | (read_process_output, send_process): Adjust for the new | |
20413 | code-conversion API. | |
20414 | ||
20415 | * puresize.h (BASE_PURESIZE): Increase. | |
20416 | ||
20417 | * regex.c: Include "character.h" instead of "charset.h". | |
20418 | (BYTE8_TO_CHAR, CHAR_BYTE8_P) [not emacs]: New dummy macros. | |
20419 | (regex_compile): Accept a range whose starting and ending | |
20420 | character have different leading bytes. | |
20421 | (analyse_first): Adjust for the above change. | |
20422 | ||
20423 | * search.c: Include "character.h" instead of "charset.h". | |
20424 | (search_buffer, boyer_moore): Adjust for the new multibyte form. | |
20425 | (Freplace_match): Adjust for the change of multibyte_char_to_unibyte. | |
20426 | ||
20427 | * syntax.c: Include "character.h" instead of "charset.h". | |
20428 | (syntax_parent_lookup): Delete. | |
20429 | (Fmodify_syntax_entry): Accept a cons as CHAR. | |
20430 | (skip_chars): Adjust for the new multibyte form. | |
20431 | (init_syntax_once): Call char_table_set_range instead of directly | |
20432 | accessing the structure of a char table. | |
20433 | ||
20434 | * syntax.h (SET_RAW_SYNTAX_ENTRY): Call CHAR_TABLE_SET. | |
20435 | (SYNTAX_ENTRY_FOLLOW_PARENT): Delete macro. | |
20436 | (SET_RAW_SYNTAX_ENTRY_RANGE): New macro. | |
20437 | (SYNTAX_ENTRY_INT): Call CHAR_TABLE_REF. | |
20438 | ||
20439 | * term.c: Include "buffer.h" and "character.h". | |
20440 | (encode_terminal_code, write_glyphs): Adjust for the new | |
20441 | code-conversion API. | |
20442 | (produce_glyphs): Call CHAR_WIDTH instead of CHARSET_WIDTH. | |
20443 | ||
20444 | * w32term.c (x_new_font): Adjust for the change of FS_LOAD_FONT. | |
20445 | ||
20446 | * xdisp.c: Include "character.h". | |
20447 | (get_next_display_element): Adjust for the new multibyte form. | |
20448 | (disp_char_vector): Adjust for the new char table structure. | |
20449 | (decode_mode_spec_coding): Adjust for the new structure of | |
20450 | coding system. | |
20451 | (decode_mode_spec): Adjust for the new code-conversion API. | |
20452 | ||
20453 | * xfaces.c: Include "character.h" instead of "charset.h". | |
20454 | (load_face_font): Adjust for the change of choose_face_font and | |
20455 | FS_LOAD_FONT. | |
20456 | (generate_ascii_font): New function. | |
20457 | (set_lface_from_font_name): Adjust for the change of FS_LOAD_FONT. | |
20458 | (set_font_frame_param): Adjust for the change of choose_face_font. | |
20459 | (free_realized_face): Make it public. | |
20460 | (free_realized_faces_for_fontset): Rename from | |
20461 | free_realized_multibyte_face. Free also faces realized for ASCII. | |
20462 | (choose_face_font): Change arguments. Adjust for the change of | |
20463 | fontset_font_pattern and FS_LOAD_FONT. | |
20464 | ||
20465 | * xfns.c: Include "character.h". | |
20466 | (x_encode_text): Adjust for the new code-conversion API. | |
20467 | ||
20468 | * xselect.c: Don't include "charset.h". | |
20469 | (selection_data_to_lisp_data): Adjust for the new code conversion API. | |
20470 | ||
20471 | * xterm.c: Include "character.h". | |
20472 | (x_encode_char): New argument CHARSET. Change caller. | |
20473 | (x_get_char_face_and_encoding, x_get_glyph_face_and_encoding): | |
20474 | Call ENCODE_CHAR instead of SPLIT_CHAR. | |
20475 | (x_produce_glyphs): Don't check Vnonascii_translation_table Call | |
20476 | CHAR_WIDTH instead of CHARSET_WIDTH. | |
20477 | (XTread_socket): Adjust for the new code-conversion API. | |
20478 | (x_new_font): Adjust for the change of FS_LOAD_FONT. | |
20479 | (x_load_font): Adjust for the change of struct font. | |
20480 | ||
20481 | 2008-02-01 Stefan Monnier <monnier@iro.umontreal.ca> | |
20482 | ||
20483 | * xfaces.c (face_at_buffer_position): Remove unused vars. | |
20484 | ||
20485 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
20486 | ||
20487 | * ccl.c (CCL_WRITE_CHAR, CCL_WRITE_MULTIBYTE_CHAR): | |
20488 | Fix overflow checking. | |
20489 | ||
20490 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> | |
20491 | ||
20492 | * ccl.c (CCL_WRITE_CHAR, CCL_WRITE_MULTIBYTE_CHAR, ccl_driver): | |
20493 | Cancel previous change. | |
20494 | ||
20495 | 2008-01-31 Kenichi Handa <handa@ni.aist.go.jp> | |
20496 | ||
20497 | * ccl.c (CCL_WRITE_CHAR): Increment extra_bytes only when | |
20498 | ccl->eight_bit_control. Fix check for buffer overflow. | |
20499 | (CCL_WRITE_MULTIBYTE_CHAR): Fix check for buffer overflow. | |
20500 | (ccl_driver): Initialize extra_bytes to 0. | |
20501 | ||
20502 | 2008-01-31 Kenichi Handa <handa@ni.aist.go.jp> | |
20503 | ||
20504 | * keyboard.c (make_ctrl_char): If C is a multibyte character, just | |
20505 | return it ORed with ctrl_modifier. | |
20506 | ||
20507 | 2008-01-29 Miles Bader <miles@gnu.org> | |
20508 | ||
20509 | * macterm.c (XTset_vertical_scroll_bar): Fix merge mistake. | |
20510 | ||
20511 | 2008-01-28 Jason Rumney <jasonr@gnu.org> | |
20512 | ||
20513 | * w32.c (stat): Don't double check for networked drive. | |
20514 | ||
20515 | 2008-01-28 Stefan Monnier <monnier@iro.umontreal.ca> | |
20516 | ||
20517 | * window.c (run_window_configuration_change_hook): New function. | |
20518 | Code extracted from set_window_buffer. Set the selected frame. | |
20519 | (set_window_buffer): Use it. | |
20520 | * window.h (run_window_configuration_change_hook): Declare. | |
20521 | * dispnew.c (change_frame_size_1): Use it instead of set-window-buffer. | |
20522 | ||
20523 | * keyboard.c (read_char): Yet another int/Lisp_Object mixup (YAILOM). | |
20524 | ||
20525 | 2008-01-27 Dan Nicolaescu <dann@ics.uci.edu> | |
20526 | ||
20527 | * Makefile.in: Remove references to unused macros. | |
20528 | ||
20529 | 2008-01-26 Eli Zaretskii <eliz@gnu.org> | |
20530 | ||
20531 | * w32.c (g_b_init_get_sid_sub_authority) | |
20532 | (g_b_init_get_sid_sub_authority_count): New static variables. | |
20533 | (GetSidSubAuthority_Proc, GetSidSubAuthorityCount_Proc): New typedefs. | |
20534 | (get_sid_sub_authority, get_sid_sub_authority_count): New functions. | |
20535 | (init_user_info): Use them to retrieve uid and gid. | |
20536 | Use 500/513, the Windows defaults, as Administrator's uid/gid. | |
20537 | (fstat): Use pw_uid and pw_gid from the_passwd structure for | |
20538 | st_uid and st_gid of the file. | |
20539 | ||
20540 | 2008-01-26 Jason Rumney <jasonr@gnu.org> | |
20541 | ||
20542 | * w32.c (logon_network_drive): New function. | |
20543 | (stat): Use it. | |
20544 | ||
20545 | 2008-01-26 Chong Yidong <cyd@stupidchicken.com> | |
20546 | ||
20547 | * xdisp.c (pos_visible_p): Handle the case where charpos falls on | |
20548 | invisible text covered with an ellipsis. | |
20549 | ||
20550 | 2008-01-25 Richard Stallman <rms@gnu.org> | |
20551 | ||
20552 | * xdisp.c (redisplay_window): Run Qwindow_text_change_functions and | |
20553 | jump back to beginning. Move some other initializations after that. | |
20554 | (Qwindow_text_change_functions, Vwindow_text_change_functions): | |
20555 | New variables. | |
20556 | (syms_of_xdisp): Init them. | |
20557 | ||
20558 | * keyboard.c (read_char): Restore echo_message_buffer after redisplay. | |
20559 | ||
20560 | * buffer.c (reset_buffer_local_variables): | |
20561 | Implement `permanent-local-hook'. | |
20562 | (Qpermanent_local_hook): New variable. | |
20563 | (syms_of_buffer): Init and staticpro it. | |
20564 | ||
20565 | 2008-01-25 Michael Albinus <michael.albinus@gmx.de> | |
20566 | ||
20567 | * dbusbind.c (xd_retrieve_arg): Pacify GCC on x86_64 GNU/Linux. | |
20568 | ||
20569 | 2008-01-25 Thien-Thi Nguyen <ttn@gnuvola.org> | |
20570 | ||
20571 | * fns.c (Fclrhash): Return TABLE. | |
20572 | ||
20573 | 2008-01-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
20574 | ||
20575 | * macterm.c (x_scroll_bar_create): Initialize bar->redraw_needed_p. | |
20576 | (XTset_vertical_scroll_bar): Redraw scroll bar if bar->redraw_needed_p | |
20577 | is set even without positional changes. | |
20578 | (x_scroll_bar_clear): Set bar->redraw_needed_p. | |
20579 | ||
20580 | * macterm.h (struct scroll_bar): New member `redraw_needed_p'. | |
20581 | ||
20582 | 2008-01-23 Jason Rumney <jasonr@gnu.org> | |
20583 | ||
20584 | * xterm.c (handle_one_xevent): Revert to counting chars not bytes. | |
20585 | ||
20586 | * w32term.c (w32_read_socket) <WM_CHAR>: Decode characters outside | |
20587 | the unicode range available in MULE by locale-coding-system. | |
20588 | Improve dbcs lead byte detection. Set event timestamp and modifiers | |
20589 | earlier. | |
20590 | ||
20591 | 2008-01-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
20592 | ||
20593 | * mac.c (mac_emacs_pid) [MAC_OSX]: New variable. | |
20594 | [MAC_OSX] (init_mac_osx_environment): Initialize it. | |
20595 | [MAC_OSX] (mac_try_close_socket) [SELECT_USE_CFSOCKET]: Return 0 | |
20596 | when used on child processes. | |
20597 | ||
20598 | 2008-01-21 Michael Albinus <michael.albinus@gmx.de> | |
20599 | ||
20600 | * dbusbind.c (Fdbus_method_return_internal): Rename from | |
20601 | Fdbus_method_return. | |
20602 | (Fdbus_unregister_object): Move to dbus.el. | |
20603 | (Fdbus_call_method, Fdbus_method_return_internal) | |
20604 | (Fdbus_send_signal): Improve debug messages. | |
20605 | ||
20606 | 2008-01-20 Martin Rudalics <rudalics@gmx.at> | |
20607 | ||
20608 | * undo.c (undo_inhibit_record_point): New variable. | |
20609 | (syms_of_undo): Initialize it. | |
20610 | (record_point): Don't record point when undo_inhibit_record_point | |
20611 | is set. | |
20612 | ||
20613 | 2008-01-19 Stefan Monnier <monnier@iro.umontreal.ca> | |
20614 | ||
20615 | * process.c (list_processes_1): Don't use SCHARS on a nil buffer name. | |
20616 | ||
20617 | * xdisp.c (Qauto_hscroll_mode): New var. | |
20618 | (syms_of_xdisp): Initialize it. | |
20619 | (hscroll_window_tree): Use it to lookup `auto-hscroll-mode' in each | |
20620 | window's buffer. | |
20621 | (hscroll_windows): Don't check automatic_hscrolling_p here. | |
20622 | ||
20623 | * window.c (set_window_buffer): Don't unnecessarily reset hscroll and | |
20624 | vscroll if we're setting window-buffer to the value it already has. | |
20625 | ||
20626 | 2008-01-18 Dan Nicolaescu <dann@ics.uci.edu> | |
20627 | ||
20628 | * m/intel386.h: Remove references to XENIX. | |
20629 | ||
20630 | 2008-01-17 Andreas Schwab <schwab@suse.de> | |
20631 | ||
20632 | * m/amdx86-64.h (START_FILES, LIB_STANDARD): Use HAVE_LIB64_DIR | |
20633 | instead of HAVE_X86_64_LIB64_DIR. | |
20634 | * m/ibms390x.h (START_FILES, LIB_STANDARD): Likewise. | |
20635 | ||
20636 | 2008-01-17 Glenn Morris <rgm@gnu.org> | |
20637 | ||
20638 | * m/ibms390x.h (START_FILES, LIB_STANDARD): Adjust value according | |
20639 | to HAVE_X86_64_LIB64_DIR. | |
20640 | ||
20641 | 2008-01-16 Dan Nicolaescu <dann@ics.uci.edu> | |
20642 | ||
20643 | * s/irix3-3.h: | |
20644 | * s/irix4-0.h: | |
20645 | * s/386-ix.h: | |
20646 | * s/domain.h: | |
20647 | * s/hpux9-x11r4.h: | |
20648 | * s/hpux9shxr4.h: Remove files for systems no longer supported. | |
20649 | ||
20650 | * sysdep.c: Remove code containing references to symbols defined | |
20651 | by unsupported systems. | |
20652 | ||
20653 | 2008-01-16 Glenn Morris <rgm@gnu.org> | |
20654 | ||
20655 | * coding.c (select-safe-coding-system-function): Doc fix. | |
20656 | ||
20657 | 2008-01-15 Glenn Morris <rgm@gnu.org> | |
20658 | ||
20659 | * config.in: Revert 2008-01-13 change: this is a generated file. | |
20660 | ||
20661 | 2008-01-13 Tom Tromey <tromey@redhat.com> | |
20662 | ||
20663 | * lisp.h: Fix typo. | |
20664 | ||
20665 | 2008-01-13 Dan Nicolaescu <dann@ics.uci.edu> | |
20666 | ||
20667 | * m/sequent-ptx.h: | |
20668 | * m/sequent.h: | |
20669 | * s/ptx.h: | |
20670 | * s/ptx4-2.h: | |
20671 | * s/ptx4.h: Remove files for systems no longer supported. | |
20672 | ||
20673 | * callproc.c (Fcall_process): Fix previous change. | |
20674 | ||
20675 | 2008-01-13 Dan Nicolaescu <dann@ics.uci.edu> | |
20676 | ||
20677 | * unexsunos4.c: Remove file, system not supported anymore. | |
20678 | ||
20679 | * m/mips.h: | |
20680 | * m/intel386.h: | |
20681 | * callproc.c: | |
20682 | * config.in: | |
20683 | * ecrt0.c: | |
20684 | * emacs.c: | |
20685 | * fileio.c: | |
20686 | * frame.c: | |
20687 | * getpagesize.h: | |
20688 | * keyboard.c: | |
20689 | * lread.c: | |
20690 | * process.c: | |
20691 | * puresize.h: | |
20692 | * sysdep.c: | |
20693 | * systty.h: | |
20694 | * syswait.h: | |
20695 | * unexec.c: | |
20696 | * xdisp.c: | |
20697 | * alloc.c: Remove code containing references to symbols defined by | |
20698 | unsupported systems. | |
20699 | ||
20700 | 2008-01-11 Kenichi Handa <handa@ni.aist.go.jp> | |
20701 | ||
20702 | * coding.c (detect_coding_mask): Fix previous change. | |
20703 | ||
20704 | 2008-01-09 Kenichi Handa <handa@ni.aist.go.jp> | |
20705 | ||
20706 | * coding.c (detect_coding_iso2022): New arg | |
20707 | latin_extra_code_state. Allow Latin extra codes only | |
20708 | when *latin_extra_code_state is nonzero. | |
20709 | (detect_coding_mask): If there is a NULL byte, detect the encoding | |
20710 | as UTF-16 or binary. If Latin extra codes exist, detect the | |
20711 | encoding as ISO-2022 only when there's no other proper encoding is | |
20712 | found. | |
20713 | ||
20714 | 2008-01-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
20715 | ||
20716 | * frame.c (Fmake_terminal_frame): Use #ifdef MAC_OS8 instead of | |
20717 | #ifdef MAC_OS. | |
20718 | ||
20719 | 2008-01-08 Richard Stallman <rms@gnu.org> | |
20720 | ||
20721 | * fileio.c (Ffile_name_directory, Fexpand_file_name): Doc fixes. | |
20722 | ||
20723 | 2008-01-06 Nick Roberts <nickrob@snap.net.nz> | |
20724 | ||
20725 | * keyboard.c (parse_menu_item): Don't enclose key bindings on | |
20726 | menu bar in parentheses. | |
20727 | ||
20728 | 2008-01-06 Dan Nicolaescu <dann@ics.uci.edu> | |
20729 | ||
20730 | * m/7300.h: | |
20731 | * m/acorn.h: | |
20732 | * m/alliant-2800.h: | |
20733 | * m/alliant.h: | |
20734 | * m/alliant1.h: | |
20735 | * m/alliant4.h: | |
20736 | * m/altos.h: | |
20737 | * m/amdahl.h: | |
20738 | * m/apollo.h: | |
20739 | * m/att3b.h: | |
20740 | * m/aviion-intel.h: | |
20741 | * m/aviion.h: | |
20742 | * m/celerity.h: | |
20743 | * m/clipper.h: | |
20744 | * m/cnvrgnt.h: | |
20745 | * m/convex.h: | |
20746 | * m/cydra5.h: | |
20747 | * m/delta88k.h: | |
20748 | * m/dpx2.h: | |
20749 | * m/dual.h: | |
20750 | * m/elxsi.h: | |
20751 | * m/f301.h: | |
20752 | * m/gould-np1.h: | |
20753 | * m/gould.h: | |
20754 | * m/i860.h: | |
20755 | * m/ibmps2-aix.h: | |
20756 | * m/ibmrt-aix.h: | |
20757 | * m/ibmrt.h: | |
20758 | * m/irist.h: | |
20759 | * m/is386.h: | |
20760 | * m/isi-ov.h: | |
20761 | * m/mega68.h: | |
20762 | * m/mg1.h: | |
20763 | * m/news-r6.h: | |
20764 | * m/news-risc.h: | |
20765 | * m/news.h: | |
20766 | * m/nh3000.h: | |
20767 | * m/nh4000.h: | |
20768 | * m/ns16000.h: | |
20769 | * m/ns32000.h: | |
20770 | * m/nu.h: | |
20771 | * m/orion.h: | |
20772 | * m/orion105.h: | |
20773 | * m/paragon.h: | |
20774 | * m/pfa50.h: | |
20775 | * m/plexus.h: | |
20776 | * m/pyramid.h: | |
20777 | * m/pyrmips.h: | |
20778 | * m/sh3el.h: | |
20779 | * m/sps7.h: | |
20780 | * m/sr2k.h: | |
20781 | * m/stride.h: | |
20782 | * m/sun1.h: | |
20783 | * m/sun2.h: | |
20784 | * m/sun3-68881.h: | |
20785 | * m/sun3-fpa.h: | |
20786 | * m/sun3-soft.h: | |
20787 | * m/sun3.h: | |
20788 | * m/sun386.h: | |
20789 | * m/symmetry.h: | |
20790 | * m/tad68k.h: | |
20791 | * m/tahoe.h: | |
20792 | * m/targon31.h: | |
20793 | * m/tek4300.h: | |
20794 | * m/tekxd88.h: | |
20795 | * m/tower32.h: | |
20796 | * m/tower32v3.h: | |
20797 | * m/ustation.h: | |
20798 | * m/wicat.h: | |
20799 | * m/xps100.h: | |
20800 | * s/cxux.h: | |
20801 | * s/cxux7.h: | |
20802 | * s/dgux.h: | |
20803 | * s/dgux4.h: | |
20804 | * s/dgux5-4-3.h: | |
20805 | * s/dgux5-4r2.h: | |
20806 | * s/esix.h: | |
20807 | * s/esix5r4.h: | |
20808 | * s/hiuxmpp.h: | |
20809 | * s/hiuxwe2.h: | |
20810 | * s/iris3-5.h: | |
20811 | * s/iris3-6.h: | |
20812 | * s/isc2-2.h: | |
20813 | * s/isc3-0.h: | |
20814 | * s/isc4-0.h: | |
20815 | * s/isc4-1.h: | |
20816 | * s/newsos5.h: | |
20817 | * s/newsos6.h: | |
20818 | * s/osf1.h: | |
20819 | * s/osf5-0.h: | |
20820 | * s/riscix1-1.h: | |
20821 | * s/riscix12.h: | |
20822 | * s/sco4.h: | |
20823 | * s/sco5.h: | |
20824 | * s/sunos4-0.h: | |
20825 | * s/sunos4-1.h: | |
20826 | * s/sunos413.h: | |
20827 | * s/sunos4shr.h: | |
20828 | * s/umax.h: | |
20829 | * s/unipl5-2.h: | |
20830 | * s/xenix.h: | |
20831 | * cxux-crt0.s: | |
20832 | * unexapollo.c: | |
20833 | * unexconvex.c: | |
20834 | * unexenix.c: | |
20835 | * unexsni.c: Remove files for systems no longer supported. | |
20836 | ||
20837 | * m/intel386.h: Remove references to unsupported systems. | |
20838 | ||
20839 | * w32.c (get_emacs_configuration): Remove reference to i860. | |
20840 | ||
20841 | * sysdep.c: Remove dead code. | |
20842 | ||
20843 | 2008-01-05 Dan Nicolaescu <dann@ics.uci.edu> | |
20844 | ||
20845 | * s/rtu.h: | |
20846 | * m/masscomp.h: Remove files. Platform is obsolete. | |
20847 | ||
20848 | 2008-01-04 Michael Albinus <michael.albinus@gmx.de> | |
20849 | ||
20850 | * dbusbind.c (Fdbus_method_return): New function. | |
20851 | (xd_read_message): Add the serial number to the event. | |
20852 | (Fdbus_register_method): Activate the function. | |
20853 | ||
20854 | 2008-01-03 Stefan Monnier <monnier@iro.umontreal.ca> | |
20855 | ||
20856 | * keyboard.c (read_key_sequence): Fix typo. | |
20857 | ||
20858 | 2008-01-03 Michael Albinus <michael.albinus@gmx.de> | |
20859 | ||
20860 | * dbusbind.c (all): Replace XCAR by CAR_SAFE and XCDR by CDR_SAFE. | |
20861 | (xd_signature, xd_append_arg): Handle element type detection for | |
20862 | empty arrays. | |
20863 | (Fdbus_call_method, Fdbus_send_signal): Undo type casting for | |
20864 | SDATA () calls; this must be solved more general. | |
20865 | (Fdbus_register_signal): Use SBYTES instead of strlen. | |
20866 | ||
20867 | 2008-01-03 Magnus Henoch <magnus@zemdatav> | |
20868 | ||
20869 | * dbusbind.c (xd_append_arg): Use unsigned char instead of | |
20870 | unsigned int for byte values (necessary for big-endian platform). | |
20871 | (Fdbus_call_method): Handle the case of no returned arguments. | |
20872 | ||
20873 | 2007-12-31 Tom Tromey <tromey@redhat.com> (tiny change) | |
20874 | ||
20875 | * dbusbind.c (xd_read_message): Use non-static input_event struct. | |
20876 | ||
20877 | 2007-12-31 Magnus Henoch <mange@freemail.hu> | |
20878 | ||
20879 | * dbusbind.c (xd_signature): Signature of variant is just "v". | |
20880 | ||
20881 | 2007-12-30 Michael Albinus <michael.albinus@gmx.de> | |
20882 | ||
20883 | * dbusbind.c: Fix several errors and compiler warnings. | |
20884 | Reported by Tom Tromey <tromey@redhat.com>. | |
20885 | (XD_ERROR, XD_DEBUG_MESSAGE) | |
20886 | (XD_DEBUG_VALID_LISP_OBJECT_P): Wrap code with "do ... while (0)". | |
20887 | (xd_append_arg): Part for basic D-Bus types rewritten. | |
20888 | (xd_retrieve_arg): Split implementation of DBUS_TYPE_BYTE and | |
20889 | DBUS_TYPE_(U)INT16. Don't call XD_DEBUG_MESSAGE with "%f" if not | |
20890 | appropriate. | |
20891 | (xd_read_message): Return Qnil. Don't signal an error; it is not | |
20892 | useful during event reading. | |
20893 | (Fdbus_register_signal): Signal an error if the check for | |
20894 | FUNCTIONP fails. | |
20895 | (Fdbus_register_method): New function. The implementation is not | |
20896 | complete, the call of the function signals an error therefore. | |
20897 | (Fdbus_unregister_object): New function, renamed from | |
20898 | Fdbus_unregister_signal. The initial check signals an error, if | |
20899 | the object is not well formed. | |
20900 | ||
20901 | 2007-12-30 Richard Stallman <rms@gnu.org> | |
20902 | ||
20903 | * textprop.c (get_char_property_and_overlay): | |
20904 | Signal error if POSITION is out of range in a buffer. | |
20905 | ||
20906 | 2007-12-29 Martin Rudalics <rudalics@gmx.at> | |
20907 | ||
20908 | * w32fns.c (Fx_create_frame): Make copy of frame parameters | |
20909 | because the original parameters are in pure storage now. | |
20910 | ||
20911 | 2007-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
20912 | ||
20913 | * xdisp.c (phys_cursor_in_rect_p): Check if cursor is in fringe area. | |
20914 | ||
20915 | 2007-12-22 Eli Zaretskii <eliz@gnu.org> | |
20916 | ||
20917 | * callint.c (syms_of_callint) <command-history>: Add reference to | |
20918 | history-length in the doc string. | |
20919 | ||
20920 | 2007-12-17 Jason Rumney <jasonr@gnu.org> | |
20921 | ||
20922 | * w32fns.c (w32_wnd_proc) <WM_KEYDOWN>: Cast char to unsigned | |
20923 | before passing as wParam. | |
20924 | ||
20925 | 2007-12-22 Michael Albinus <michael.albinus@gmx.de> | |
20926 | ||
20927 | * dbusbind.c (xd_retrieve_arg): Handle DBUS_TYPE_BYTE, | |
20928 | DBUS_TYPE_INT16, DBUS_TYPE_UINT16, DBUS_TYPE_INT64, | |
20929 | DBUS_TYPE_UINT64, DBUS_TYPE_DOUBLE and DBUS_TYPE_SIGNATURE. | |
20930 | Return float when DBUS_TYPE_INT32 or DBUS_TYPE_UINT32 do not fit | |
20931 | as number. | |
20932 | (Fdbus_call_method): Fix docstring. | |
20933 | ||
20934 | 2007-12-21 Michael Albinus <michael.albinus@gmx.de> | |
20935 | ||
20936 | * dbusbind.c (XD_BASIC_DBUS_TYPE, XD_DBUS_TYPE_P, XD_NEXT_VALUE): | |
20937 | New macros. | |
20938 | (XD_SYMBOL_TO_DBUS_TYPE): Rename from XD_LISP_SYMBOL_TO_DBUS_TYPE. | |
20939 | (XD_OBJECT_TO_DBUS_TYPE): Rename from XD_LISP_OBJECT_TO_DBUS_TYPE. | |
20940 | Simplify. | |
20941 | (xd_signature): New function. | |
20942 | (xd_append_arg): Compute also signatures. Major rewrite. | |
20943 | (xd_retrieve_arg): Make debug messages friendly. | |
20944 | (Fdbus_call_method, Fdbus_send_signal): Extend docstring. | |
20945 | Check for signatures of arguments. | |
20946 | ||
20947 | 2007-12-19 Michael Albinus <michael.albinus@gmx.de> | |
20948 | ||
20949 | * dbusbind.c (QCdbus_type_byte, QCdbus_type_boolean) | |
20950 | (QCdbus_type_int16, QCdbus_type_uint16, QCdbus_type_int32) | |
20951 | (QCdbus_type_uint32, QCdbus_type_int64, QCdbus_type_uint64) | |
20952 | (QCdbus_type_double, QCdbus_type_string, QCdbus_type_object_path) | |
20953 | (QCdbus_type_signature, QCdbus_type_array, QCdbus_type_variant) | |
20954 | (QCdbus_type_struct, QCdbus_type_dict_entry): New D-Bus type symbols. | |
20955 | (XD_LISP_SYMBOL_TO_DBUS_TYPE): New macro. | |
20956 | (XD_LISP_OBJECT_TO_DBUS_TYPE): Add compound types. | |
20957 | (xd_retrieve_value): Remove. Functionality included in ... | |
20958 | (xd_append_arg): New function. | |
20959 | (Fdbus_call_method, Fdbus_send_signal): Apply it. | |
20960 | ||
20961 | 2007-12-16 Michael Albinus <michael.albinus@gmx.de> | |
20962 | ||
20963 | * dbusbind.c (top): Include <stdio.h>. | |
20964 | (Fdbus_call_method, Fdbus_send_signal): Apply type cast in | |
20965 | dbus_message_new_method_call and dbus_message_new_signal. | |
20966 | (Fdbus_register_signal): Rename unique_name to uname. | |
20967 | Check handler for FUNCTIONP instead of CHECK_SYMBOL. Handle case of | |
20968 | non-existing unique name. Fix typos in matching rule. Return an | |
20969 | object which is useful in Fdbus_unregister_signal. | |
20970 | (Fdbus_unregister_signal): Reimplementation, in order to remove | |
20971 | only the corresponding entry. | |
20972 | (Vdbus_registered_functions_table): Change the order of entries. | |
20973 | Apply these changes in xd_read_message and Fdbus_register_signal. | |
20974 | ||
20975 | 2007-12-16 Andreas Schwab <schwab@suse.de> | |
20976 | ||
20977 | * fileio.c (Finsert_file_contents): Fix overflow check to not | |
20978 | depend on undefined integer overflow. | |
20979 | ||
20980 | 2007-12-14 Jason Rumney <jasonr@gnu.org> | |
20981 | ||
20982 | * w32term.c (w32_read_socket): Use MULTIBYTE_CHAR_KEYSTROKE_EVENT | |
20983 | for characters above 127. | |
20984 | ||
20985 | 2007-12-13 Jason Rumney <jasonr@gnu.org> | |
20986 | ||
20987 | * w32fns.c (w32_wnd_proc, Fw32_reconstruct_hot_key): Range check | |
20988 | before dereferencing array. | |
20989 | (lookup_vk_code): Remove zero comparison. | |
20990 | ||
20991 | 2007-12-14 Michael Albinus <michael.albinus@gmx.de> | |
20992 | ||
20993 | * dbusbind.c (xd_retrieve_value, xd_retrieve_arg) | |
20994 | (Fdbus_call_method, Fdbus_send_signal, xd_read_message): | |
20995 | Use `unsigned int' instead of `uint'. | |
20996 | (xd_read_message, Fdbus_register_signal): Split expressions into | |
20997 | multiple lines before operators "&&" and "||", according to the | |
20998 | GNU Coding Standards. | |
20999 | ||
21000 | 2007-12-14 Eli Zaretskii <eliz@gnu.org> | |
21001 | ||
21002 | * dispextern.h (WINDOWS_NT): Fix incorrect spelling of WINDOWSNT. | |
21003 | ||
21004 | 2007-12-12 Juri Linkov <juri@jurta.org> | |
21005 | ||
21006 | * buffer.c (Frename_buffer): In interactive spec replace | |
21007 | `read-buffer' with `read-string' that uses `buffer-name-history' | |
21008 | as history, and the current buffer's name as default. | |
21009 | ||
21010 | 2007-12-10 Stefan Monnier <monnier@iro.umontreal.ca> | |
21011 | ||
21012 | * keyboard.c (Fcommand_execute): Call Qcall_interactively instead of | |
21013 | manipulating the backtrace manually. | |
21014 | (make_lispy_event): Merge the ASCII and MULTIBYTE cases. | |
21015 | (struct backtrace, backtrace_list): Remove. | |
21016 | (command_loop_1): Remove dead var `no_direct'. | |
21017 | ||
21018 | * buffer.c (reset_buffer_local_variables): If permanent_too is 0, also | |
21019 | preserve non-built-in buffer-local variables. | |
21020 | (Fkill_all_local_variables): Don't re-create&re-set permanent | |
21021 | buffer-local variables. | |
21022 | ||
21023 | 2007-12-09 Juri Linkov <juri@jurta.org> | |
21024 | ||
21025 | * buffer.c (Frename_buffer): Change interactive spec from "s" to | |
21026 | Lisp code that uses `read-buffer' with current buffer as default. | |
21027 | ||
21028 | 2007-12-08 Michael Albinus <michael.albinus@gmx.de> | |
21029 | ||
21030 | * dbusbind.c (xd_read_message): Generate an event for every | |
21031 | registered handler. There might be several handlers registered | |
21032 | for the same signal. | |
21033 | (Fdbus_register_signal): Don't overwrite a registration for the | |
21034 | same signal. Add a new registration if handlers are different. | |
21035 | (Vdbus_registered_functions_table): Rework doc string. | |
21036 | ||
21037 | 2007-12-07 Michael Albinus <michael.albinus@gmx.de> | |
21038 | ||
21039 | * dbusbind.c (Fdbus_get_unique_name, xd_read_message) | |
21040 | (Fdbus_register_signal): Use DBUS_MAXIMUM_NAME_LENGTH and | |
21041 | DBUS_MAXIMUM_MATCH_RULE_LENGTH for string lengths. | |
21042 | (Fdbus_call_method, Fdbus_send_signal, Fdbus_register_signal): | |
21043 | Unify argument lists. | |
21044 | (xd_read_message, Fdbus_register_signal): Reorder and extend event | |
21045 | arguments and hash table keys. Use unique name for service. | |
21046 | (Fdbus_unregister_signal): Remove checks. | |
21047 | (Vdbus_registered_functions_table): Fix doc string. | |
21048 | ||
21049 | 2007-12-05 Magnus Henoch <mange@freemail.hu> | |
21050 | ||
21051 | * process.c (make_process): Initialize pty_flag to 0. | |
21052 | ||
21053 | 2007-12-05 Jason Rumney <jasonr@gnu.org> | |
21054 | ||
21055 | * image.c (xbm_load) [WINDOWSNT]: Shuffle the bits of directly | |
21056 | specified XBMs. | |
21057 | ||
21058 | 2007-12-05 Richard Stallman <rms@gnu.org> | |
21059 | ||
21060 | * xdisp.c (syms_of_xdisp) <scroll-conservatively>: Doc fix. | |
21061 | ||
21062 | 2007-12-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
21063 | ||
21064 | * mac.c (cfsockets_for_select) [MAC_OSX && SELECT_USE_CFSOCKET]: | |
21065 | New variable. | |
21066 | (mac_try_close_socket) [MAC_OSX]: New function. | |
21067 | [MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: | |
21068 | Update cfsockets_for_select. Replace invalid CFRunLoop source. | |
21069 | ||
21070 | * sysdep.c (emacs_close) [MAC_OSX && HAVE_CARBON]: | |
21071 | Use mac_try_close_socket. | |
21072 | ||
21073 | 2007-12-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
21074 | ||
21075 | * unexmacosx.c (unrelocate): New argument BASE. Use it instead of | |
21076 | reloc_base. | |
21077 | (copy_dysymtab): Compute relocation base here. | |
21078 | (rebase_reloc_address) [__ppc64__]: New function. | |
21079 | (copy_dysymtab) [__ppc64__]: Use it if relocation base needs to be | |
21080 | changed. | |
21081 | ||
21082 | 2007-12-05 Jason Rumney <jasonr@gnu.org> | |
21083 | ||
21084 | * w32proc.c (sys_spawnve): Quote args with wildcards. | |
21085 | ||
21086 | 2007-12-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
21087 | ||
21088 | * unexmacosx.c (copy_data_segment): Also copy __gcc_except_tab and | |
21089 | __objc_* sections. | |
21090 | (unrelocate) [_LP64]: Set relocation base to address of data segment. | |
21091 | ||
21092 | 2007-12-05 Michael Albinus <michael.albinus@gmx.de> | |
21093 | ||
21094 | * dbusbind.c (xd_read_message): Return value is a Lisp_Object. | |
21095 | Move check for Vdbus_registered_functions_table to | |
21096 | xd_read_queued_messages. | |
21097 | (xd_read_queued_messages): Protect xd_read_message calls by | |
21098 | internal_condition_case_1. | |
21099 | ||
21100 | 2007-12-04 Michael Albinus <michael.albinus@gmx.de> | |
21101 | ||
21102 | * dbusbind.c (QCdbus_system_bus, QCdbus_session_bus): Rename from | |
21103 | Qdbus_system_bus and Qdbus_session_bus, respectively. | |
21104 | (Vdbus_intern_symbols): Remove. | |
21105 | (Vdbus_registered_functions_table): New hash table. | |
21106 | (XD_SYMBOL_INTERN_SYMBOL): Remove. | |
21107 | (xd_read_message, Fdbus_register_signal, Fdbus_unregister_signal): | |
21108 | Rewrite in order to manage registered functions by hash table | |
21109 | Vdbus_registered_functions_table. | |
21110 | ||
21111 | 2007-12-03 Jan Djärv <jan.h.d@swipnet.se> | |
21112 | ||
21113 | * xterm.c: Update URL to Window Manager Specification in comment. | |
21114 | ||
21115 | 2007-12-02 Michael Albinus <michael.albinus@gmx.de> | |
21116 | ||
21117 | * config.in (HAVE_DBUS): Add. | |
21118 | ||
21119 | * Makefile.in (HAVE_DBUS): Add D-Bus definitions if defined. | |
21120 | (ALL_CFLAGS): Add ${DBUS_CFLAGS}. | |
21121 | (obj): Add $(DBUS_OBJ). | |
21122 | (LIBES): Add $(DBUS_LIBS). | |
21123 | (dbusbind.o): New target. | |
21124 | ||
21125 | * dbusbind.c: New file. | |
21126 | ||
21127 | * emacs.c (main): Call syms_of_dbusbind when HAVE_DBUS is defined. | |
21128 | ||
21129 | * keyboard.c: All D-Bus related code is wrapped by "#ifdef HAVE_DBUS". | |
21130 | (Qdbus_event): New Lisp symbol. | |
21131 | (kbd_buffer_get_event, make_lispy_event): Handle DBUS_EVENT. | |
21132 | (gobble_input): Call xd_read_queued_messages, reading D-Bus messages. | |
b97439ce | 21133 | (keys_of_keyboard): Define dbus-event. |
aac0c6e3 MR |
21134 | |
21135 | * termhooks.h (event_kind): Add DBUS_EVENT when HAVE_DBUS is defined. | |
21136 | ||
21137 | 2007-12-01 Richard Stallman <rms@gnu.org> | |
21138 | ||
21139 | * search.c (syms_of_search) <inhibit-changing-match-data>: Doc fix. | |
21140 | ||
21141 | 2007-11-30 Jason Rumney <jasonr@gnu.org> | |
21142 | ||
21143 | * w32console.c (w32con_ins_del_lines, scroll_line): Clip to window. | |
21144 | (w32con_reset_terminal_modes): Clear screen buffer. | |
21145 | (w32_face_attributes): Don't use color indexes that are out of range. | |
21146 | Only reverse the default colors. | |
21147 | ||
21148 | * xfaces.c (map_tty_color, tty_color_name): Remove special case for | |
21149 | WINDOWSNT. | |
21150 | ||
21151 | * w32console.c, w32term.h (vga_stdcolor_name): Remove. | |
21152 | ||
21153 | 2007-11-29 Jason Rumney <jasonr@gnu.org> | |
21154 | ||
21155 | * w32console.c: Leave HAVE_WINDOW_SYSTEM defined. | |
21156 | (w32_face_attributes): Use Vtty_defined_color_alist to determine | |
21157 | if the terminal colors are initialized. | |
21158 | (unspecified_fg, unspecified_bg): Remove unused declarations. | |
21159 | ||
21160 | 2007-11-29 Andreas Schwab <schwab@suse.de> | |
21161 | ||
21162 | * keyboard.c (apply_modifiers): Fix typo. | |
21163 | ||
21164 | 2007-11-29 Richard Stallman <rms@gnu.org> | |
21165 | ||
21166 | * keymap.c (Fcurrent_local_map): Doc fix. | |
21167 | ||
21168 | 2007-11-28 Petr Salinger <Petr.Salinger@seznam.cz> (tiny change) | |
21169 | ||
21170 | * s/gnu-kfreebsd.h: New file. | |
21171 | ||
21172 | 2007-11-28 Stefan Monnier <monnier@iro.umontreal.ca> | |
21173 | ||
21174 | * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): | |
21175 | Don't cast redundantly. | |
21176 | ||
21177 | * keyboard.c (KEY_TO_CHAR): New macro. | |
21178 | (parse_modifiers, apply_modifiers): Accept integer arguments. | |
21179 | (read_key_sequence): Use them to unify the "shift->unshift" mapping | |
21180 | for chars and symbol keys. | |
21181 | After doing such remapping, apply function-key-map again. | |
21182 | ||
21183 | 2007-11-27 Dan Nicolaescu <dann@ics.uci.edu> | |
21184 | ||
21185 | * Makefile.in (SOME_MACHINE_LISP): Remove VMS files, they are not | |
21186 | compiled anymore. | |
21187 | ||
21188 | 2007-11-26 Andreas Schwab <schwab@suse.de> | |
21189 | ||
21190 | * process.c (list_processes_1): Fix indentation level of the | |
21191 | command column. | |
21192 | ||
21193 | 2007-11-23 Andreas Schwab <schwab@suse.de> | |
21194 | ||
21195 | * editfns.c (Fformat): Handle %c specially since it requires the | |
21196 | argument to be of type int. | |
21197 | ||
21198 | 2007-11-23 Markus Triska <markus.triska@gmx.at> | |
21199 | ||
21200 | * emacs.c (main): Call init_editfns before init_process, since | |
21201 | init_process sets Vprocess_connection_type depending on OS release. | |
21202 | ||
21203 | 2007-11-22 Stefan Monnier <monnier@iro.umontreal.ca> | |
21204 | ||
21205 | * data.c (do_symval_forwarding): Use same code as in find_symbol_value. | |
21206 | (find_symbol_value): Use do_symval_forwarding. | |
21207 | ||
21208 | * data.c (set_internal): Set the value in the `cons-cell' (for | |
21209 | Buffer_Local_values) not only for frame-local variables. | |
21210 | ||
21211 | 2007-11-22 Andreas Schwab <schwab@suse.de> | |
21212 | ||
21213 | * data.c (Fnumber_to_string): Add cast when passing EMACS_INT | |
21214 | values to sprintf. | |
21215 | * keymap.c (Fsingle_key_description): Likewise. | |
21216 | * print.c (print_object): Likewise. | |
21217 | ||
21218 | 2007-11-22 Jan Djärv <jan.h.d@swipnet.se> | |
21219 | ||
21220 | * gtkutil.c (update_frame_tool_bar): Don't call x-gtk-map-stock if | |
21221 | file for image is nil. | |
21222 | ||
21223 | 2007-11-22 Dan Nicolaescu <dann@ics.uci.edu> | |
21224 | ||
21225 | * term.c: Include stdarg.h. | |
21226 | (fatal): Implement using varargs. | |
21227 | * lisp.h (fatal): Add argument types. (Restore 2005-09-30 change). | |
21228 | ||
21229 | 2007-11-21 Stefan Monnier <monnier@iro.umontreal.ca> | |
21230 | ||
21231 | * lisp.h (struct Lisp_Buffer_Objfwd): Add a `slottype' field. | |
21232 | * data.c (store_symval_forwarding): Get type from buffer_objfwd. | |
21233 | Update call to buffer_slot_type_mismatch. | |
21234 | * buffer.h (buffer_local_types, PER_BUFFER_TYPE): Remove. | |
21235 | (buffer_slot_type_mismatch): Update. | |
21236 | * buffer.c (buffer_local_types): Remove. | |
21237 | (buffer_slot_type_mismatch): Get the symbol and type as arguments. | |
21238 | (defvar_per_buffer): Set the type in the buffer_objfwd. | |
21239 | ||
21240 | 2007-11-21 Jason Rumney <jasonr@gnu.org> | |
21241 | ||
21242 | * w32bdf.c (w32_init_bdf_font, w32_BDF_to_x_font): | |
21243 | CreateFileMapping returns NULL on failure. | |
21244 | ||
21245 | 2007-11-21 Stefan Monnier <monnier@iro.umontreal.ca> | |
21246 | ||
21247 | * search.c (Fset_match_data): Remove the `evaporate' feature. | |
21248 | (unwind_set_match_data): Don't use the `evaporate' feature. | |
21249 | ||
21250 | 2007-11-21 Jason Rumney <jasonr@gnu.org> | |
21251 | ||
21252 | * dispnew.c (init_display) [WINDOWSNT]: Hardcode terminal_type. | |
21253 | ||
21254 | * w32console.c (w32con_write_glyphs): Remove unused variables. | |
21255 | ||
21256 | 2007-11-20 Dan Nicolaescu <dann@ics.uci.edu> | |
21257 | ||
21258 | * macterm.c (mac_term_init): Call add_keyboard_wait_descriptor. | |
21259 | ||
21260 | * s/darwin.h (MULTI_KBOARD): Remove. | |
21261 | ||
21262 | * macfns.c (x_create_tip_frame, Fx_create_frame) | |
21263 | (x_create_tip_frame): Don't deal with MULTI_KBOARD. | |
21264 | ||
21265 | 2007-11-19 Stefan Monnier <monnier@iro.umontreal.ca> | |
21266 | ||
21267 | * buffer.c (Fbuffer_local_value): Remove redundant test. | |
21268 | (swap_out_buffer_local_variables): Swap out binding in `buffer' rather | |
21269 | than in `current-buffer' to match the comment. | |
21270 | Do the swap using swap_in_global_binding. | |
21271 | ||
21272 | * data.c (store_symval_forwarding, set_internal): | |
21273 | * eval.c (specbind): Remove dead code. | |
21274 | ||
21275 | * coding.c (detect_coding, Fupdate_coding_systems_internal): | |
21276 | * fns.c (Fmd5): Use find_symbol_value rather than SYMBOL_VALUE | |
21277 | Since we do not want to see internal Lisp_*fwd objects here. | |
21278 | ||
21279 | 2007-11-18 Jan Djärv <jan.h.d@swipnet.se> | |
21280 | ||
21281 | * sysdep.c (init_system_name): Use getaddrinfo if available. | |
21282 | ||
21283 | * xterm.c (x_scroll_bar_set_handle, x_scroll_bar_handle_click) | |
21284 | (x_scroll_bar_note_movement): start, end, with, height in struct | |
21285 | scroll_bar are integers and not Lisp_Object, so remove XINT for them. | |
21286 | ||
21287 | 2007-11-17 Dan Nicolaescu <dann@ics.uci.edu> | |
21288 | ||
21289 | * puresize.h (BASE_PURESIZE): Increase to 1190000. | |
21290 | ||
21291 | 2007-11-16 Stefan Monnier <monnier@iro.umontreal.ca> | |
21292 | ||
21293 | * buffer.h (struct buffer): Move `undo_list' back to before `name'. | |
21294 | This undoes Richard's change of 14-Oct-2002. | |
21295 | ||
21296 | * alloc.c (allocate_other_vector): | |
21297 | * lisp.h (allocate_other_vector): Remove. | |
21298 | ||
21299 | * window.c (struct save_window_data): Move non-lisp data to the end | |
21300 | and make it `int' rather than Lisp_Object. | |
21301 | (Fcurrent_window_configuration): Use ALLOCATE_PSEUDOVECTOR. | |
21302 | Done wrap/unwrap integer values. | |
21303 | (Fset_window_configuration, compare_window_configurations): | |
21304 | Update use of fields to their new types. | |
21305 | ||
21306 | * xterm.h (struct scroll_bar): Only use Lisp_Object for lisp data. | |
21307 | Turn integer fields into `int'. Merge x_window_low and x_window_high. | |
21308 | (SCROLL_BAR_PACK, SCROLL_BAR_UNPACK, SCROLL_BAR_X_WINDOW) | |
21309 | (SET_SCROLL_BAR_X_WINDOW): Remove. | |
21310 | (SCROLL_BAR_X_WIDGET, SET_SCROLL_BAR_X_WIDGET): | |
21311 | Access the new x_window field directly. | |
21312 | * xterm.c (x_scroll_bar_create): Use a pseudovector. | |
21313 | Don't wrap/unwrap integers into Lisp_Objects. | |
21314 | (XTset_vertical_scroll_bar, x_scroll_bar_handle_click) | |
21315 | (x_scroll_bar_report_motion): | |
21316 | Don't wrap/unwrap integers into Lisp_Objects. | |
21317 | (x_term_init): Use SDATA. | |
21318 | (x_window_to_scroll_bar, x_create_toolkit_scroll_bar) | |
21319 | (x_scroll_bar_set_handle, x_scroll_bar_remove) | |
21320 | (XTset_vertical_scroll_bar, x_scroll_bar_expose) | |
21321 | (x_scroll_bar_report_motion, x_scroll_bar_clear): | |
21322 | * xfns.c (x_set_background_color): | |
21323 | * gtkutil.c (xg_create_scroll_bar, xg_set_toolkit_scroll_bar_thumb): | |
21324 | Access the new x_window field directly. | |
21325 | ||
21326 | * alloc.c (ALLOCATE_PSEUDOVECTOR): Move to lisp.h. | |
21327 | (allocate_pseudovector): Make non-static. | |
21328 | ||
21329 | * lisp.h (enum pvec_type): New tag PVEC_OTHER. | |
21330 | (allocate_pseudovector): Declare. | |
21331 | (ALLOCATE_PSEUDOVECTOR): Move from alloc.c. | |
21332 | ||
21333 | 2007-11-15 Andreas Schwab <schwab@suse.de> | |
21334 | ||
21335 | * editfns.c (Fformat): Correctly format EMACS_INT values. | |
21336 | Also take precision into account when formatting an integer. | |
21337 | ||
21338 | * keyboard.c (Fevent_symbol_parse_modifiers): Fix declaration. | |
21339 | ||
21340 | 2007-11-15 Stefan Monnier <monnier@iro.umontreal.ca> | |
21341 | ||
21342 | * keyboard.c (Fevent_symbol_parse_modifiers): New function. | |
21343 | (syms_of_keyboard): Defsubr it. | |
21344 | ||
21345 | * data.c (swap_in_global_binding): Fix longstanding bug where | |
21346 | store_symval_forwarding was not called with the right second argument, | |
21347 | thus causing objfwd-ing from being dropped. | |
21348 | ||
21349 | 2007-11-14 Juanma Barranquero <lekktu@gmail.com> | |
21350 | ||
21351 | * macfns.c (Fx_create_frame, Fx_display_pixel_width) | |
21352 | (Fx_display_pixel_height, Fx_display_planes) | |
21353 | (Fx_display_color_cells, Fx_server_max_request_size) | |
21354 | (Fx_server_vendor, Fx_server_version, Fx_display_backing_store) | |
21355 | (Fx_display_visual_class, Fx_display_save_under): | |
21356 | * w32fns.c (Fx_create_frame, Fx_display_pixel_width) | |
21357 | (Fx_display_pixel_height, Fx_display_planes) | |
21358 | (Fx_display_color_cells, Fx_server_max_request_size) | |
21359 | (Fx_server_vendor, Fx_server_version, Fx_display_screens) | |
21360 | (Fx_display_mm_height, Fx_display_mm_width) | |
21361 | (Fx_display_backing_store, Fx_display_visual_class) | |
21362 | (Fw32_select_font, Fx_display_save_under): | |
21363 | * xfns.c (Fx_create_frame, Fx_display_pixel_width) | |
21364 | (Fx_display_pixel_height, Fx_display_planes) | |
21365 | (Fx_display_color_cells, Fx_server_max_request_size) | |
21366 | (Fx_server_vendor, Fx_server_version, Fx_display_backing_store) | |
21367 | (Fx_display_save_under): Fix typos in docstrings. | |
21368 | ||
21369 | 2007-11-14 Juanma Barranquero <lekktu@gmail.com> | |
21370 | ||
21371 | * w32fns.c (Fw32_registered_hot_keys): Don't return the nil values | |
21372 | corresponding to deleted entries; they are an implementation detail. | |
21373 | (gray_bitmap_width, gray_bitmap_height, gray_bitmap_bits): | |
21374 | Remove variables. | |
21375 | (w32_pass_extra_mouse_buttons_to_system, w32_strict_fontnames) | |
21376 | (w32_pass_multimedia_buttons_to_system, w32_strict_painting) | |
21377 | (Vw32_charset_info_alist, w32_to_x_color, w32_init_class) | |
21378 | (w32_createscrollbar, w32_createwindow, my_post_msg, w32_get_modifiers) | |
21379 | (w32_grabbed_keys, cancel_all_deferred_msgs): Make static. | |
21380 | (Fw32_define_rgb_color, Fw32_load_color_file) | |
21381 | (syms_of_w32fns) <w32-pass-multimedia-buttons-to-system>: | |
21382 | Fix typos in docstrings. | |
21383 | (Fx_server_version): Reflow docstring. | |
21384 | (Fw32_shell_execute): Doc fixes. | |
21385 | ||
21386 | 2007-11-13 Juanma Barranquero <lekktu@gmail.com> | |
21387 | ||
21388 | * w32fns.c (Fw32_register_hot_key): Don't try to register hot key | |
21389 | if w32_parse_hot_key returned nil. | |
21390 | ||
21391 | 2007-11-10 Stefan Monnier <monnier@iro.umontreal.ca> | |
21392 | ||
21393 | * xdisp.c (load_overlay_strings): Fix copy&paste typo. | |
21394 | ||
21395 | 2007-11-09 Jason Rumney <jasonr@gnu.org> | |
d6c952f8 | 21396 | |
aac0c6e3 MR |
21397 | * s/ms-w32.c (USE_TOOLKIT_SCROLL_BARS): Define. |
21398 | ||
21399 | * w32term.c (w32_scroll_bar_handle_click): Use SCROLL_BAR_CLICK_EVENT. | |
21400 | ||
21401 | * keyboard.c (discard_mouse_events, make_lispy_event) [WINDOWSNT]: | |
21402 | Remove W32_SCROLL_BAR_CLICK_EVENT. | |
21403 | ||
21404 | * termhooks.h (enum event_kind) [WINDOWSNT]: Likewise. | |
21405 | Add MULTIMEDIA_KEY_EVENT. | |
21406 | ||
21407 | * keyboard.c (lispy_function_keys) [WINDOWSNT]: Add more keys. | |
21408 | (lispy_multimedia_keys) [WINDOWSNT]: New array. | |
21409 | (make_lispy_event) [WINDOWSNT]: Use it to translate | |
21410 | MULTIMEDIA_KEY_EVENT. | |
21411 | ||
21412 | * w32term.h (WM_APPCOMMAND): Define if not already. | |
21413 | (GET_APPCOMMAND_LPARAM): Likewise. | |
21414 | ||
21415 | * w32term.c (w32_read_socket): Generate MULTIMEDIA_KEY_EVENT from | |
21416 | WM_APPCOMMAND. | |
21417 | ||
21418 | * w32fns.c (w32_pass_multimedia_buttons_to_system): New user option. | |
21419 | (syms_of_w32fns): Export and initialize it. | |
21420 | (w32_wnd_proc): Pass WM_APPCOMMAND on to w32_read_socket. | |
21421 | ||
21422 | 2007-11-09 Chong Yidong <cyd@stupidchicken.com> | |
21423 | ||
21424 | * dispextern.h (struct it): Don't define OVERLAY_STRING_CHUNK_SIZE | |
21425 | twice. | |
21426 | ||
21427 | * xdisp.c (handle_face_prop): Fix last change. | |
21428 | ||
21429 | 2007-11-09 Richard Stallman <rms@gnu.org> | |
21430 | ||
21431 | * xdisp.c (handle_face_prop): Test for strings that came from overlays, | |
21432 | not just for after-strings and before-strings. | |
21433 | Call face_for_overlay_string and pass the overlay to it. | |
21434 | (handle_display_prop): Determine whether property came from an overlay. | |
21435 | Pass OVERLAY arg to handle_single_display_spec. | |
21436 | (handle_single_display_spec): New arg OVERLAY sets it->from_overlay. | |
21437 | (load_overlay_strings): Fill in it->string_overlays. | |
21438 | (get_overlay_strings_1, push_it, pop_it): Handle it->from_overlays. | |
21439 | ||
21440 | * xfaces.c (face_for_overlay_string): Function renamed from | |
21441 | face_at_buffer_position_no_overlays, and add arg OVERLAY. | |
21442 | ||
21443 | * dispextern.h (struct it): New elt string_overlays. | |
21444 | New elt from_overlay, also in stack. | |
21445 | Rearrange a few elements. | |
21446 | (face_for_overlay_string): Decl renamed from | |
21447 | face_at_buffer_position_no_overlays, and add argument. | |
21448 | ||
21449 | 2007-11-09 Richard Stallman <rms@gnu.org> | |
21450 | ||
21451 | * xdisp.c (handle_face_prop): Use face_at_buffer_position_no_overlays | |
21452 | to get the base face for an overlay string. | |
21453 | ||
21454 | * dispextern.h (face_at_buffer_position_no_overlays): Add decl. | |
21455 | ||
21456 | * xfaces.c (face_at_buffer_position_no_overlays): New function. | |
21457 | ||
21458 | * xdisp.c (handle_stop): Move some code out of loop. | |
21459 | ||
21460 | 2007-11-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
21461 | ||
21462 | * macfns.c [USE_ATSUI] (Fmac_atsu_font_face_attributes): | |
21463 | Fix conversion from Lisp object to ATSUFontID. | |
21464 | ||
21465 | 2007-11-09 Jason Rumney <jasonr@gnu.org> | |
21466 | ||
21467 | * xdisp.c (Fformat_mode_line): Do nothing when noninteractive. | |
21468 | ||
21469 | 2007-11-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
21470 | ||
21471 | * unexmacosx.c (unexec_regions_recorder, unexec_regions_merge): | |
21472 | Don't assume regions are aligned to page boundary. | |
21473 | (print_load_command_name): Add LC_UUID if defined. | |
21474 | ||
21475 | 2007-11-09 Richard Stallman <rms@gnu.org> | |
21476 | ||
21477 | * emacs.c (syms_of_emacs) <installation-directory>: Reflow docstring. | |
21478 | ||
21479 | 2007-11-07 Jason Rumney <jasonr@gnu.org> | |
21480 | ||
21481 | * s/windows95.h: Remove. | |
21482 | ||
21483 | 2007-11-06 Jan Djärv <jan.h.d@swipnet.se> | |
21484 | ||
21485 | * gtkutil.c (xg_tool_bar_menu_proxy): Handle GTK_IMAGE_ICON_NAME and | |
21486 | abort with a message on unhandled store_type values. | |
21487 | ||
21488 | 2007-11-01 Jan Djärv <jan.h.d@swipnet.se> | |
21489 | ||
21490 | * xterm.c, xfns.c, xselect.c, xterm.h, s/msdos.h, s/sco4.h, s/sco5.h: | |
21491 | Remove HAVE_X11R5 and HAVE_X11R4. | |
21492 | ||
21493 | 2007-11-01 Dan Nicolaescu <dann@ics.uci.edu> | |
21494 | ||
21495 | * Makefile.in: Remove references to sunfns.c and sunfns.o. | |
21496 | ||
21497 | 2007-11-01 Johan Bockgård <bojohan@gnu.org> | |
21498 | ||
21499 | * macterm.c, w32term.c, xterm.c (x_draw_stretch_glyph_string): | |
21500 | Don't set s->stippled_p here, since it has already been set by | |
21501 | x_set_glyph_string_gc from x_draw_glyph_string. | |
21502 | ||
21503 | 2007-11-01 Dan Nicolaescu <dann@ics.uci.edu> | |
21504 | ||
21505 | * sunfns.c: Remove file. | |
21506 | ||
21507 | * m/sun386.h: | |
21508 | * m/sun2.h: | |
21509 | * m/sparc.h: Remove Sun windows code. | |
21510 | ||
21511 | 2007-10-31 Stefan Monnier <monnier@iro.umontreal.ca> | |
21512 | ||
21513 | * keyboard.c (syms_of_keyboard): Initialize the initial_kboard. | |
21514 | (init_keyboard): Set current_kboard's window-system to nil. | |
21515 | (tty_read_avail_input): Typo. | |
21516 | * frame.c (make_initial_frame): Don't initialize the initial_kboard. | |
21517 | ||
21518 | 2007-10-31 Dan Nicolaescu <dann@ics.uci.edu> | |
21519 | ||
21520 | * s/usg5-4.h: | |
21521 | * s/usg5-3.h: | |
21522 | * s/ptx.h: | |
21523 | * m/is386.h: | |
21524 | * m/ibmps2-aix.h: | |
21525 | * Makefile.in: Remove all mentions of X10. | |
21526 | ||
21527 | * dispnew.c (syms_of_display): Don't mention version 10. | |
21528 | ||
21529 | 2007-10-28 Juanma Barranquero <lekktu@gmail.com> | |
21530 | ||
21531 | * makefile.w32-in (OBJ1): Remove abbrev.$(O). | |
21532 | ($(BLD)/abbrev.$(O)): Remove. | |
21533 | ||
21534 | 2007-10-28 Stefan Monnier <monnier@iro.umontreal.ca> | |
21535 | ||
21536 | Rewrite abbrev.c in Elisp. | |
21537 | * image.c (Qcount): Don't declare as extern. | |
21538 | (syms_of_image): Initialize and staticpro `Qcount'. | |
21539 | * puresize.h (BASE_PURESIZE): Increase for the new abbrev.el functions. | |
21540 | * emacs.c (main): Don't call syms_of_abbrev. | |
21541 | * Makefile.in (obj): Remove abbrev.o. | |
21542 | (abbrev.o): Remove. | |
21543 | * abbrev.c: Remove. | |
21544 | ||
21545 | 2007-10-26 Martin Rudalics <rudalics@gmx.at> | |
21546 | ||
21547 | * window.c (window_min_size_2): Don't count header-line. | |
21548 | ||
21549 | 2007-10-26 Dan Nicolaescu <dann@ics.uci.edu> | |
21550 | ||
21551 | * frame.h (struct frame): Move all bit fields after the first bit | |
21552 | field to take advantage of the available space. Group all the | |
21553 | chars together to reduce wasted space due to padding. | |
21554 | ||
21555 | 2007-10-26 Juanma Barranquero <lekktu@gmail.com> | |
21556 | ||
21557 | * minibuf.c (Fread_minibuffer, Feval_minibuffer): Reflow docstrings. | |
21558 | ||
21559 | * alloc.c (spare_memory, stack_copy, stack_copy_size, ignore_warnings) | |
21560 | (Vdead, dont_register_blocks, staticvec, staticidx, interval_block) | |
21561 | (n_interval_blocks, init_strings, check_string_bytes, check_sblock) | |
21562 | (init_float, free_float, n_cons_blocks, init_cons, all_vectors) | |
21563 | (n_vectors, symbol_block, symbol_block_index, symbol_free_list) | |
21564 | (n_symbol_blocks, init_symbol, marker_block, marker_free_list) | |
21565 | (n_marker_blocks, init_marker, valid_pointer_p, make_pure_float) | |
21566 | (last_marked, mark_object_loop_halt): Make static. | |
21567 | ||
21568 | * frame.c (syms_of_frame) <delete-frame-functions>: | |
21569 | Fix typo in docstring. | |
21570 | ||
21571 | 2007-10-25 Juanma Barranquero <lekktu@gmail.com> | |
21572 | ||
21573 | * w32.c (init_environment): Fix tiny memory leak. | |
21574 | (w32_get_resource): Remove unused variable `ok'. | |
21575 | ||
21576 | 2007-10-25 Stefan Monnier <monnier@iro.umontreal.ca> | |
21577 | ||
21578 | Make `window-system' into a keyboard-local variable (rather than | |
21579 | frame-local as done originally by multi-tty). | |
21580 | ||
21581 | * keyboard.h (struct kboard): Add Vwindow_system. | |
21582 | * keyboard.c (init_kboard): Set a default for Vwindow_system. | |
21583 | (mark_kboards): Mark Vwindow_system. | |
21584 | ||
21585 | * dispnew.c (syms_of_display) <window-system>: Declare terminal-local. | |
21586 | (init_display): Don't set the obsolete `window-system' frame-param. | |
21587 | ||
21588 | * xterm.c (x_term_init): | |
21589 | * w32term.c (w32_create_terminal): | |
21590 | * term.c (init_tty): Set Vwindow_system. | |
21591 | * macterm.c (mac_create_terminal): Set a keyboard (missing piece of the | |
21592 | multi-tty merge maybe?), copied from w32term.c. Set Vwindow_system. | |
21593 | ||
21594 | * xfns.c (Fx_create_frame, x_create_tip_frame): | |
21595 | * w32fns.c (Fx_create_frame, x_create_tip_frame): | |
21596 | * macfns.c (Fx_create_frame): | |
21597 | Don't set the obsolete `window-system' frame-param. | |
21598 | ||
21599 | * frame.h (Qwindow_system): Remove. | |
21600 | * frame.c (Qwindow_system): Remove. In `syms_of_frame' as well. | |
21601 | (Fmake_terminal_frame): Don't set obsolete `window-system' frame-param. | |
21602 | ||
21603 | 2007-10-24 Richard Stallman <rms@gnu.org> | |
21604 | ||
21605 | * frame.c (x_figure_window_size): For fullscreen case, | |
21606 | set USPosition | PPosition without clobbering rest of window_prompting. | |
21607 | ||
21608 | * keyboard.c (Fcurrent_idle_time): Doc fix. | |
21609 | ||
21610 | * print.c (Fwith_output_to_temp_buffer): Doc fix. | |
21611 | ||
21612 | 2007-10-23 Stefan Monnier <monnier@iro.umontreal.ca> | |
21613 | ||
21614 | * process.c (unwind_request_sigio): Only define if __ultrix__. | |
21615 | ||
21616 | * callproc.c (child_setup): Remove spurious *. | |
21617 | ||
21618 | * lisp.h (Fget_text_property): Declare. | |
21619 | (have_menus_p): Declare it here rather than in sys-dep header files. | |
21620 | * macterm.h (have_menus_p): | |
21621 | * msdos.h (have_menus_p): | |
21622 | * xterm.h (have_menus_p): Remove. | |
21623 | ||
21624 | * data.c (Fmake_variable_buffer_local, Fmake_local_variable) | |
21625 | (Fmake_variable_frame_local): Just check the variable's const-ness | |
21626 | rather than checking nil or t. | |
21627 | ||
21628 | 2007-10-22 Jason Rumney <jasonr@gnu.org> | |
21629 | ||
21630 | * w32fns.c: Include math.h. | |
21631 | (w32_abort): Declaration moved to nt/config.nt. | |
21632 | ||
21633 | * s/ms-w32.h (HAVE_STDLIB_H): Define. | |
21634 | (abort): Redefinition moved to nt/config.nt. | |
21635 | ||
21636 | * m/windowsnt.h: Remove. | |
21637 | ||
21638 | 2007-10-22 Juanma Barranquero <lekktu@gmail.com> | |
21639 | ||
21640 | * emacs.c (Fdump_emacs): Fix typo in message. | |
21641 | (syms_of_emacs) <kill-emacs-hook>: Fix typo in docstring. | |
21642 | <installation-directory>: Reflow docstring. | |
21643 | ||
21644 | 2007-10-22 Juri Linkov <juri@jurta.org> | |
21645 | ||
21646 | * minibuf.c: Allow minibuffer default to be a list of default values. | |
21647 | With empty input use the first element of this list as returned default. | |
21648 | (string_to_object) | |
21649 | (read_minibuf_noninteractive): If defalt is cons, set val to its car. | |
21650 | (read_minibuf): If defalt is cons, set histstring to its car. | |
21651 | (Fread_string): If default_value is cons, set val to its car. | |
21652 | (Fread_buffer): If def is cons, use its car. | |
21653 | (Fcompleting_read): If defalt is cons, set val to its car. | |
21654 | ||
21655 | 2007-10-21 Michael Albinus <michael.albinus@gmx.de> | |
21656 | ||
21657 | * fileio.c (Fcopy_file): Call file name handler with preserve_uid_gid. | |
21658 | ||
21659 | 2007-10-20 Juanma Barranquero <lekktu@gmail.com> | |
21660 | ||
21661 | * doc.c (Fdocumentation): Check for advice in all cases. | |
21662 | ||
21663 | 2007-10-19 Chong Yidong <cyd@stupidchicken.com> | |
21664 | ||
21665 | * Makefile.in [HAVE_LIBRESOLV]: Add -lresolv to linker flags. | |
21666 | ||
21667 | 2007-10-19 Richard Stallman <rms@gnu.org> | |
21668 | ||
21669 | * doc.c (Fdocumentation): Check for and handle an advised function. | |
21670 | ||
21671 | 2007-10-19 Juanma Barranquero <lekktu@gmail.com> | |
21672 | ||
21673 | * process.c (Fset_process_filter): Doc fix. | |
21674 | ||
21675 | 2007-10-18 Stefan Monnier <monnier@iro.umontreal.ca> | |
21676 | ||
21677 | * keyboard.c (read_key_sequence): Undo a change introduced by multi-tty | |
21678 | which caused key-translation-map to applied repeatedly (thus breaking | |
21679 | double-mode). | |
21680 | ||
21681 | 2007-10-17 Stefan Monnier <monnier@iro.umontreal.ca> | |
21682 | ||
21683 | * xselect.c (x_own_selection, x_handle_selection_clear) | |
21684 | (x_clear_frame_selections): | |
21685 | * w32menu.c (list_of_panes, list_of_items): | |
21686 | * w32fns.c (w32_color_map_lookup, Fx_create_frame, Fx_display_list): | |
21687 | * textprop.c (validate_plist, interval_has_all_properties) | |
21688 | (interval_has_some_properties, interval_has_some_properties_list) | |
21689 | (add_properties, text_property_list): | |
21690 | * process.c (Fget_buffer_process, list_processes_1, status_notify): | |
21691 | * minibuf.c (Fassoc_string): | |
21692 | * macselect.c (x_own_selection, x_clear_frame_selections) | |
21693 | (Fx_disown_selection_internal): | |
21694 | * keymap.c (Fcommand_remapping, where_is_internal, describe_map_tree): | |
21695 | Use CONSP rather than !NILP and XC[AD]R rather than Fc[ad]r. | |
21696 | ||
21697 | 2007-10-17 Chong Yidong <cyd@stupidchicken.com> | |
21698 | ||
21699 | * process.c: Link to libs for calling res_init() if available. | |
21700 | (Fmake_network_process): Call res_init() before getaddrinfo or | |
21701 | gethostbyname, if possible. | |
21702 | ||
21703 | 2007-10-17 Stefan Monnier <monnier@iro.umontreal.ca> | |
21704 | ||
21705 | * lread.c (read1): Set pvectype for char_tables. | |
21706 | ||
21707 | * lisp.h (XMISCANY, XMARKER, XINTFWD, XBOOLFWD, XOBJFWD, XOVERLAY) | |
21708 | (XBUFFER_OBJFWD, XBUFFER_LOCAL_VALUE, XKBOARD_OBJFWD, XSAVE_VALUE): | |
21709 | Add type checks. | |
21710 | (SOME_BUFFER_LOCAL_VALUEP, GC_SOME_BUFFER_LOCAL_VALUEP): Remove. | |
21711 | ||
21712 | * alloc.c (free_misc): Use XMISCTYPE. | |
21713 | (live_misc_p, gc_sweep): Use Lisp_Misc_Any. | |
21714 | ||
21715 | 2007-10-17 Glenn Morris <rgm@gnu.org> | |
21716 | ||
21717 | * minibuf.c (Qcompletion_ignore_case): New Lisp_Object. | |
21718 | (syms_of_minibuf): Add Qcompletion_ignore_case. | |
21719 | * dired.c (Qcompletion_ignore_case): Change to external. | |
21720 | (syms_of_dired) [VMS]: Remove Qcompletion_ignore_case. | |
21721 | * fileio.c (Qcompletion_ignore_case): New external Lisp_Object. | |
21722 | (Fread_file_name): Use it rather than intern'ing. | |
21723 | ||
21724 | * coding.c (Qcompletion_ignore_case): New external Lisp_Object. | |
21725 | (Fread_coding_system): Ignore case of user input. | |
21726 | ||
21727 | 2007-10-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
21728 | ||
21729 | * xdisp.c (handle_display_prop): Ignore display specs after | |
21730 | replacing one when string text is being replaced. | |
21731 | (handle_single_display_spec): Pretend as if characters with display | |
21732 | property haven't been consumed only when buffer text is being replaced. | |
21733 | ||
21734 | 2007-10-16 Stefan Monnier <monnier@iro.umontreal.ca> | |
21735 | ||
21736 | * xfns.c (Fx_create_frame, Fx_display_list): | |
21737 | * window.c (window_fixed_size_p, enlarge_window) | |
21738 | (shrink_window_lowest_first): | |
21739 | * macterm.c (init_font_name_table): | |
21740 | * macfns.c (Fx_create_frame, Fx_display_list): | |
21741 | * lread.c (close_load_descs): | |
21742 | * keyboard.c (read_char_x_menu_prompt): | |
21743 | * fns.c (Fmember, Fmemql, Fdelete, Fset_char_table_parent): | |
21744 | * coding.c (code_convert_region_unwind): Test the type of an object | |
21745 | rather than just !NILP before extracting data from it. | |
21746 | ||
21747 | * alloc.c (Fpurecopy): Set the pvec tag on pseudo vectors. | |
21748 | ||
21749 | * lisp.h (enum Lisp_Misc_Type): Del Lisp_Misc_Some_Buffer_Local_Value. | |
21750 | (XMISCANY): New macro. | |
21751 | (XMISCTYPE): Use it. | |
21752 | (struct Lisp_Misc_Any): New type. | |
21753 | (union Lisp_Misc): Use it. | |
21754 | (struct Lisp_Buffer_Local_Value): Add `local_if_set' bit. | |
21755 | * data.c (Fboundp, store_symval_forwarding, swap_in_global_binding) | |
21756 | (find_symbol_value, set_internal, default_value, Fset_default) | |
21757 | (Fmake_variable_buffer_local, Fmake_local_variable) | |
21758 | (Fkill_local_variable, Fmake_variable_frame_local, Flocal_variable_p) | |
21759 | (Flocal_variable_if_set_p, Fvariable_binding_locus): | |
21760 | The SOME_BUFFER_LOCAL_VALUEP distinction is replaced by local_if_set. | |
21761 | * alloc.c (allocate_buffer): Set the size and tag. | |
21762 | (allocate_misc, mark_maybe_object, mark_object, survives_gc_p): | |
21763 | Use XMISCANY. | |
21764 | (die): Follow the GNU convention for error messages. | |
21765 | * print.c (print_object): SOME_BUFFER_LOCAL_VALUEP -> local_if_set. | |
21766 | * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Don't set the | |
21767 | tag any more. | |
21768 | (set_buffer_internal_1): | |
21769 | * frame.c (store_frame_param): | |
21770 | * eval.c (specbind): | |
21771 | * xdisp.c (select_frame_for_redisplay): Drop SOME_BUFFER_LOCAL_VALUEP. | |
21772 | ||
21773 | * doc.c (Fsnarf_documentation): Simplify. | |
21774 | ||
21775 | 2007-10-14 Juanma Barranquero <lekktu@gmail.com> | |
21776 | ||
21777 | * w32term.c (w32_font_is_double_byte, my_create_scrollbar): Make static. | |
21778 | (syms_of_w32term) <w32-enable-unicode-output>: Fix typo in docstring. | |
21779 | ||
21780 | 2007-10-14 Stefan Monnier <monnier@iro.umontreal.ca> | |
21781 | ||
21782 | * buffer.c (Fmake_indirect_buffer): Set the buffer's tag. | |
21783 | ||
21784 | 2007-10-14 Juanma Barranquero <lekktu@gmail.com> | |
21785 | ||
21786 | * eval.c (do_autoload): Don't save autoloads. | |
21787 | ||
21788 | * data.c (Ffset): Save autoload of the function being set. | |
21789 | ||
21790 | 2007-10-07 John Paul Wallington <jpw@pobox.com> | |
21791 | ||
21792 | * xfns.c (x_create_tip_frame): Set the `display-type' frame | |
21793 | parameter before setting up faces. | |
21794 | ||
21795 | 2007-10-13 Eli Zaretskii <eliz@gnu.org> | |
21796 | ||
21797 | * ccl.c (Fregister_code_conversion_map): | |
21798 | * keyboard.c (append_tool_bar_item): Reformat last change. | |
21799 | ||
21800 | * lisp.h (eabs): Rename from `abs'. All callers changed. | |
21801 | ||
21802 | 2007-10-05 Dmitry Antipov <dmantipov@yandex.ru> | |
21803 | ||
21804 | * buffer.c (add_overlay_mod_hooklist): | |
21805 | * ccl.c (Fregister_ccl_program, Fregister_code_conversion_map): | |
21806 | * fontset.c (make_fontset): | |
21807 | * keyboard.c (GROW_RAW_KEYBUF, menu_bar_items, menu_bar_item) | |
21808 | (append_tool_bar_item): | |
21809 | * macmenu.c (grow_menu_items): | |
21810 | * w32menu.c (grow_menu_items): | |
21811 | * xmenu.c (grow_menu_items): Use larger_vector. | |
21812 | ||
21813 | 2007-10-13 Eli Zaretskii <eliz@gnu.org> | |
21814 | ||
21815 | * msdos.c (dos_rawgetc): Undo last change (there's no ``leaving | |
21816 | selected frame'' on MSDOS). | |
21817 | ||
21818 | 2007-10-12 Martin Rudalics <rudalics@gmx.at> | |
21819 | ||
21820 | * frame.c (Qexplicit_name): New variable. | |
21821 | (x_report_frame_params): Report it in parameter alist. | |
21822 | (syms_of_frame): Intern and staticpro it. | |
21823 | ||
21824 | 2007-10-10 Patrick Mahan <mahan@mahan.org> (tiny change) | |
21825 | ||
21826 | * macfns.c (x_create_tip_frame): Set terminal for frame. | |
21827 | ||
21828 | 2007-10-10 Stefan Monnier <monnier@iro.umontreal.ca> | |
21829 | ||
21830 | * frame.c (Qenvironment): Remove. | |
21831 | (syms_of_frame) <Qenvironment>: Don't initialize. | |
21832 | (Fdelete_frame): Don't treat the `environment' param specially. | |
21833 | * frame.h (Qenvironment): Don't declare. | |
21834 | * callproc.c (set_initial_environment): Don't set unused frame param. | |
21835 | ||
21836 | * frame.c (Fframe_with_environment): Remove. | |
21837 | (syms_of_frame) <Sframe_with_environment>: Don't declare. | |
21838 | ||
21839 | * lisp.h (Fframe_with_environment): Don't declare. | |
21840 | ||
21841 | 2007-10-10 Juanma Barranquero <lekktu@gmail.com> | |
21842 | ||
21843 | * indent.c (indent_tabs_mode, last_known_column) | |
21844 | (last_known_column_modified): Make static. | |
21845 | (syms_of_indent) <indent-tabs-mode>: Remove redundant info in docstring. | |
21846 | ||
21847 | 2007-10-10 Katsumi Yamaoka <yamaoka@jpl.org> | |
21848 | ||
21849 | * puresize.h (BASE_PURESIZE): Increase to 1170000. | |
21850 | ||
21851 | 2007-10-09 Jason Rumney <jasonr@gnu.org> | |
21852 | ||
21853 | * w32term.c (x_set_window_size): Disable code that attempts to tell | |
21854 | Lisp code about a size change before it actually happens. | |
21855 | ||
21856 | 2007-10-09 Richard Stallman <rms@gnu.org> | |
21857 | ||
21858 | * xdisp.c (handle_invisible_prop): After setting up an ellipsis, | |
21859 | return HANDLED_RETURN. | |
21860 | ||
21861 | 2007-10-08 Martin Rudalics <rudalics@gmx.at> | |
21862 | ||
21863 | * keyboard.c (kbd_buffer_get_event): Break loop waiting for input | |
21864 | when there's an unread command event. | |
21865 | ||
21866 | * frame.c (focus_follows_mouse): Move here from frame.el to allow | |
21867 | window autoselection act appropriately when leaving selected frame. | |
21868 | (syms_of_frame): Initialize focus_follows_mouse. | |
21869 | * frame.h (focus_follows_mouse): Extern it. | |
21870 | * macterm.c (XTread_socket): When focus_follows_mouse is nil | |
21871 | make SELECT_WINDOW_EVENT only if we don't leave the selected frame. | |
21872 | * msdos.c (dos_rawgetc): Likewise. | |
21873 | * w32term.c (w32_read_socket): Likewise. | |
21874 | * xterm.c (handle_one_xevent): Likewise. | |
21875 | * xdisp.c (syms_of_xdisp): In doc-string of | |
21876 | mouse-autoselect-window mention focus-follows-mouse. | |
21877 | ||
21878 | 2007-10-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
21879 | ||
21880 | * macterm.c (mac_load_query_font): Fix missing return value. | |
21881 | [USE_CG_DRAWING] (mac_define_fringe_bitmap, mac_destroy_fringe_bitmap): | |
21882 | Add BLOCK_INPUT. | |
21883 | ||
21884 | 2007-10-08 Richard Stallman <rms@gnu.org> | |
21885 | ||
21886 | * xdisp.c (get_window_cursor_type): Implement documented behavior | |
21887 | for cursor-in-non-selected-windows = t. | |
21888 | ||
21889 | 2007-10-08 Jason Rumney <jasonr@gnu.org> | |
21890 | ||
21891 | * w32.c (w32_get_resource): Always close registry keys. | |
21892 | ||
21893 | 2007-10-08 Jason Rumney <jasonr@gnu.org> | |
21894 | ||
21895 | * makefile.w32-in (LIBS): Add COMCTL32. | |
21896 | ||
21897 | * w32fns.c (globals_of_w32fns): Init common controls. | |
21898 | ||
21899 | 2007-10-08 Richard Stallman <rms@gnu.org> | |
21900 | ||
21901 | * image.c (our_memory_buffer): Rename from omfib_buffer. | |
21902 | ||
21903 | 2007-10-08 Richard Stallman <rms@gnu.org> | |
21904 | ||
21905 | * buffer.c (Foverlays_at): Doc fix. | |
21906 | ||
21907 | 2007-10-08 Stefan Monnier <monnier@iro.umontreal.ca> | |
21908 | ||
21909 | * fns.c (Fplist_put): Preserve uneven tail data. | |
21910 | ||
21911 | 2007-10-08 Peter O'Gorman <bug-gnu-emacs@mlists.thewrittenword.com> (tiny change) | |
21912 | ||
21913 | * termhooks.h (enum event_kind): Remove trailing comma. | |
21914 | ||
21915 | * frame.h (enum): Remove trailing comma. | |
21916 | ||
21917 | 2007-10-08 Dhruva Krishnamurthy <dhruvakm@gmail.com> (tiny change) | |
21918 | ||
21919 | * w32proc.c (delete_child): Don't terminate threads of zombies. | |
21920 | ||
21921 | 2007-10-08 Martin Rudalics <rudalics@gmx.at> | |
21922 | ||
21923 | * keyboard.h (struct kboard): New elt Vlast_repeatable_command. | |
21924 | ||
21925 | * keyboard.c (syms_of_keyboard): Set up new Lisp variable | |
21926 | last-repeatable-command. | |
21927 | (init_kboard): Initialize Vlast_repeatable_command. | |
21928 | (command_loop_1): Set it to real_this_command unless that was | |
21929 | bound to an input event. | |
21930 | (mark_kboards): Mark it. | |
21931 | ||
21932 | 2007-10-08 Richard Stallman <rms@gnu.org> | |
21933 | ||
21934 | * eval.c (condition-case): Doc fix. | |
21935 | ||
21936 | 2007-10-08 Masatake YAMATO <jet@gyve.org> | |
21937 | ||
21938 | * xfaces.c (tty_supports_face_attributes_p): Fix code | |
21939 | for LFACE_INVERSE_INDEX and LFACE_BACKGROUND_INDEX; code | |
21940 | was copied and not edited. | |
21941 | ||
21942 | 2007-10-09 Stefan Monnier <monnier@iro.umontreal.ca> | |
21943 | ||
21944 | Add new `input-decode-map' keymap and use it for terminal | |
21945 | escape sequences. | |
21946 | * keyboard.h (struct kboard): Add Vinput_decode_map. | |
21947 | Remove Vlocal_key_translation_map. | |
21948 | * keyboard.c (read_key_sequence): Add support for input-decode-map. | |
21949 | (init_kboard): Init input-decode-map. | |
21950 | Replace local-key-translation-map back with key-translation-map. | |
21951 | (syms_of_keyboard): Declare input-decode-map. | |
21952 | Remove local-key-translation-map. Update docstrings. | |
21953 | (mark_kboards): Mark Vinput_decode_map. | |
21954 | Don't mark Vlocal_key_translation_map. | |
21955 | * keymap.c (Fdescribe_buffer_bindings): Describe input-decode-map. | |
21956 | Replace local-key-translation-map back with key-translation-map. | |
21957 | * term.c (term_get_fkeys_1, CONDITIONAL_REASSIGN): | |
21958 | Bind in input-decode-map rather than function-key-map. | |
21959 | ||
21960 | * lisp.h (XSETPSEUDOVECTOR): Don't set the tag anymore. | |
21961 | This was made redundant by the previous introduction of XSETPVECTYPE. | |
21962 | ||
21963 | 2007-10-09 Richard Stallman <rms@gnu.org> | |
21964 | ||
21965 | * image.c (free_bitmap_record): Rename from Free_Bitmap_Record. | |
21966 | ||
21967 | 2007-09-29 Richard Stallman <rms@gnu.org> | |
21968 | ||
21969 | * eval.c (internal_condition_case_2, internal_condition_case_1) | |
21970 | (internal_condition_case): Reenable abort if x_catching_errors () | |
21971 | to see if that really happens and why. | |
21972 | ||
21973 | 2007-10-06 Andreas Schwab <schwab@suse.de> | |
21974 | ||
21975 | * fileio.c (Fwrite_region): Ignore EINVAL error from fsync. | |
21976 | ||
21977 | 2007-10-04 Juanma Barranquero <lekktu@gmail.com> | |
21978 | ||
21979 | * image.c (syms_of_image) <image-types>: Fix typo in docstring. | |
21980 | ||
21981 | 2007-10-03 Stefan Monnier <monnier@iro.umontreal.ca> | |
21982 | ||
21983 | * frame.h (struct frame): Don't try to GC-mark menu_bar_items_used. | |
21984 | ||
21985 | 2007-10-02 Stefan Monnier <monnier@iro.umontreal.ca> | |
21986 | ||
21987 | * window.h (struct window): | |
21988 | * window.c (struct save_window_data, struct saved_window): | |
21989 | * termhooks.h (struct terminal): | |
21990 | * process.h (struct Lisp_Process): | |
21991 | * frame.h (struct frame): | |
21992 | * buffer.h (struct buffer): | |
21993 | * lisp.h (struct Lisp_Vector, struct Lisp_Char_Table) | |
21994 | (struct Lisp_Bool_Vector, struct Lisp_Subr, struct Lisp_Hash_Table): | |
21995 | The size field of (pseudo)vectors is now unsigned. | |
21996 | (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG): Simplify accordingly. | |
21997 | ||
21998 | * lisp.h (struct Lisp_Hash_Table): Move non-traced elements at the end. | |
21999 | Turn `count' into an integer. | |
22000 | ||
22001 | * fns.c (make_hash_table, hash_put, hash_remove, hash_clear) | |
22002 | (sweep_weak_table, sweep_weak_hash_tables, Fhash_table_count): | |
22003 | * print.c (print_object) <HASH_TABLE_P>: `count' is an int. | |
22004 | * alloc.c (allocate_hash_table): Use ALLOCATE_PSEUDOVECTOR. | |
22005 | (mark_object) <HASH_TABLE_P>: Use mark_vectorlike. | |
22006 | ||
22007 | * alloc.c (allocate_pseudovector): New fun. | |
22008 | (ALLOCATE_PSEUDOVECTOR): New macro. | |
22009 | (allocate_window, allocate_terminal, allocate_frame) | |
22010 | (allocate_process): Use it. | |
22011 | (mark_vectorlike): New function. | |
22012 | (mark_object) <FRAMEP, WINDOWP, BOOL_VECTOR_P, VECTORP>: Use it. | |
22013 | (mark_terminals): Use it. | |
22014 | (Fmake_bool_vector, Fmake_char_table, make_sub_char_table) | |
22015 | (Fmake_byte_code): Use XSETPVECTYPE. | |
22016 | ||
22017 | * frame.c (Fframe_parameters): Minor simplification. | |
22018 | ||
22019 | * insdel.c (adjust_markers_for_insert): Generalize assertion checks. | |
22020 | ||
22021 | * marker.c (Fmarker_buffer): Make test for odd case into a failure. | |
22022 | ||
22023 | * buffer.c (Fget_buffer_create, init_buffer_once): | |
22024 | * lread.c (defsubr): | |
22025 | * window.c (Fcurrent_window_configuration): Use XSETPVECTYPE. | |
22026 | ||
22027 | * lisp.h (ARRAY_MARK_FLAG, PSEUDOVECTOR_FLAG): Don't let them be | |
22028 | defined differently in the m/*.h files. | |
22029 | (XCHAR_TABLE, XBOOL_VECTOR): Add assertion checking. | |
22030 | (XSETPVECTYPE): New macro. | |
22031 | (XSETPSEUDOVECTOR): Use it. | |
22032 | ||
22033 | * buffer.c (syms_of_buffer) <local-abbrev-table>: Move from abbrev.c. | |
22034 | (DEFVAR_PER_BUFFER, defvar_per_buffer): Move from lisp.h and lread.c. | |
22035 | ||
22036 | * lisp.h (defvar_per_buffer, DEFVAR_PER_BUFFER): | |
22037 | * lread.c (defvar_per_buffer): | |
22038 | * abbrev.c (syms_of_abbrev) <local-abbrev-tabl>: Move to buffer.c. | |
22039 | ||
22040 | * window.c (candidate_window_p): Only consider as visible frames that | |
22041 | are on the same terminal. | |
22042 | ||
22043 | * m/ibms390x.h (MARKBIT): Remove unused macro. | |
22044 | ||
22045 | 2007-10-01 Juanma Barranquero <lekktu@gmail.com> | |
22046 | ||
22047 | * lread.c (Fload): Fix typo in docstring. | |
22048 | ||
22049 | 2007-10-01 Michaël Cadilhac <michael@cadilhac.name> | |
22050 | ||
22051 | * floatfns.c (Fexpt): Manually check for overflows, so that a power | |
22052 | of a non-zero value can't yield zero. | |
22053 | ||
22054 | 2007-09-29 Stefan Monnier <monnier@iro.umontreal.ca> | |
22055 | ||
22056 | * term.c (term_clear_mouse_face, term_mouse_highlight) | |
22057 | (tty_write_glyphs_with_face): Only define is HAVE_GPM. | |
22058 | ||
22059 | * print.c (safe_debug_print): Use XHASH. | |
22060 | ||
22061 | * lisp.h (DECL_ALIGN, USE_LSB_TAG): Move logic to before definition of | |
22062 | Lisp elements such as tags. | |
22063 | (XHASH): New macro. | |
22064 | (EQ): Use it. | |
22065 | (SREF, SSET, STRING_COPYIN): Use SDATA. | |
22066 | (VOID_TO_LISP, CVOID_TO_LISP, LISP_TO_VOID, LISP_TO_CVOID): Remove. | |
22067 | ||
22068 | * alloc.c (mark_terminal): Remove left-over declaration. | |
22069 | (enum mem_type): Replace all vector subtypes -> MEM_TYPE_VECTORLIKE. | |
22070 | (allocate_vectorlike): Remove type argument. Adjust callers. | |
22071 | (live_vector_p, mark_maybe_pointer, valid_lisp_object_p): | |
22072 | Only handle the one remaining MEM_TYPE_VECTORLIKE. | |
22073 | ||
22074 | * alloc.c (MALLOC_BLOCK_INPUT, MALLOC_UNBLOCK_INPUT): New macros | |
22075 | to avoid unnecessary BLOCK_INPUTs when SYNC_INPUT is used. | |
22076 | (xmalloc, xrealloc, xfree, lisp_malloc, lisp_free, lisp_align_malloc) | |
22077 | (lisp_align_free, make_interval, allocate_string, allocate_string_data) | |
22078 | (make_float, Fcons, allocate_vectorlike, Fmake_symbol, allocate_misc): | |
22079 | Use them. | |
22080 | ||
22081 | * xfaces.c (load_face_font, free_realized_face, clear_face_gcs): | |
22082 | Don't let signal handlers run when a GC is freed but not yet NULL'ed. | |
22083 | (x_free_gc): Remove BLOCK_INPUT since it's now redundant. | |
22084 | ||
22085 | 2007-09-28 Dan Nicolaescu <dann@ics.uci.edu> | |
22086 | ||
22087 | * Makefile.in (lisp, shortlisp): Delete server.elc, it is not | |
22088 | loaded by default. | |
22089 | ||
22090 | 2007-09-28 Stefan Monnier <monnier@iro.umontreal.ca> | |
22091 | ||
22092 | * term.c (Fgpm_mouse_start): Don't signal an error if already activated | |
22093 | on this tty. | |
22094 | (Fgpm_mouse_stop): Only deactivate if it was activated on this tty. | |
22095 | ||
22096 | * term.c (mouse_face_window): Rename from Qmouse_face_window. | |
22097 | Update all users. | |
22098 | (handle_one_term_event): Use Gpm_DrawPointer. | |
22099 | (Fgpm_mouse_start): Rename from Fterm_open_connection. | |
22100 | Signal errors instead of returning nil. Always return nil. | |
22101 | (Fgpm_mouse_stop): Rename from Fterm_close_connection. | |
22102 | Make it a noop if gpm-mouse was not activated. | |
22103 | (syms_of_term): Update names. | |
22104 | ||
22105 | 2007-09-27 Stefan Monnier <monnier@iro.umontreal.ca> | |
22106 | ||
22107 | * sysdep.c (narrow_foreground_group, widen_foreground_group): Static. | |
22108 | (init_sys_modes): Check that gpm_tty is the current tty. | |
22109 | ||
22110 | * alloc.c (allocate_terminal): Set the vector size to only count the | |
22111 | lisp fields. Initialize those to nil. | |
22112 | (mark_object): Don't treat terminals specially. | |
22113 | (mark_terminal): Remove. | |
22114 | (mark_terminals): Use mark_object instead. | |
22115 | ||
22116 | * termhooks.h (struct terminal): Move all Lisp_Object fields traced by | |
22117 | the GC to the beginning. | |
22118 | ||
22119 | * indent.h: | |
22120 | * indent.c: Use EMACS_INT for ints coming from Elisp data. | |
22121 | ||
22122 | * indent.c (Fmove_to_column): Use EMACS_INT for buffer positions. | |
22123 | ||
22124 | 2007-09-25 Jason Rumney <jasonr@gnu.org> | |
22125 | ||
22126 | * frame.c (make_terminal_frame): Remove special case for WINDOWSNT. | |
22127 | ||
22128 | * w32console.c (create_w32cons_output): Remove. | |
22129 | ||
22130 | * term.c (init_tty): Call init_sys_modes on WINDOWSNT also. | |
22131 | ||
22132 | * sysdep.c (init_sys_modes): Use set_terminal_modes_hook. | |
22133 | (reset_sys_modes): Use reset_terminal_modes_hook. | |
22134 | ||
22135 | 2007-09-24 Stefan Monnier <monnier@iro.umontreal.ca> | |
22136 | ||
22137 | * eval.c (do_autoload): Don't output any message. | |
22138 | ||
22139 | 2007-09-24 Juri Linkov <juri@jurta.org> | |
22140 | ||
22141 | * emacs.c (standard_args): Change priority of "--no-splash" | |
22142 | from 40 to 3. Add "--no-desktop" with the same priority. | |
22143 | ||
22144 | 2007-09-23 Dmitry Antipov <dmantipov@yandex.ru> | |
22145 | ||
22146 | * alloc.c (gc_sweep): Check cons cell mark bits word by word | |
22147 | and optimize the case where they are all 1. | |
22148 | ||
22149 | 2007-09-23 Johannes Weiner <hannes@saeurebad.de> | |
22150 | ||
22151 | * lisp.h (abs): Define if not defined. | |
22152 | * keyboard.c, sound.c, w32term.c, xfaces.c, xterm.c: | |
22153 | Don't define `abs', since it's defined in lisp.h. | |
22154 | ||
22155 | 2007-09-22 Eli Zaretskii <eliz@gnu.org> | |
22156 | ||
22157 | * term.c (DEV_TTY): New macro. Provide a definition for MS-Windows. | |
22158 | (FRAME_TERMCAP_P) [WINDOWSNT]: Don't define to zero. | |
22159 | (Fcontrolling_tty_p, Fresume_tty, dissociate_if_controlling_tty) | |
22160 | (init_tty): Use DEV_TTY instead of "/dev/tty". | |
22161 | [WINDOWSNT]: No need to protect from NAME arg being null. | |
22162 | ||
22163 | 2007-09-21 Dan Nicolaescu <dann@ics.uci.edu> | |
22164 | ||
22165 | * term.c (Fsuspend_tty): Run suspend-tty-functions before cleaning | |
22166 | up the tty state. | |
22167 | ||
22168 | 2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca> | |
22169 | ||
22170 | * termhooks.h (term_gpm): Delete. Use gpm_tty's NULLness instead. | |
22171 | (gpm_tty): Change its type. | |
22172 | * term.c (term_gpm): Delete. Use gpm_tty's NULLness instead. | |
22173 | (gpm_tty): Change its type and initialize it. | |
22174 | (Fterm_open_connection): Check the frame is indeed a tty. | |
22175 | Use the new gpm_tty. | |
22176 | (Fterm_close_connection): Use the new gpm_tty. | |
22177 | * keyboard.c (tty_read_avail_input): Use the new gpm_tty. | |
22178 | * sysdep.c (init_sys_modes): term_gpm -> gpm_tty. | |
22179 | ||
22180 | 2007-09-21 Juanma Barranquero <lekktu@gmail.com> | |
22181 | ||
22182 | * w32term.c (x_draw_glyph_string): Use strike_through_color, not | |
22183 | underline_color, to draw strike-through. | |
22184 | ||
22185 | 2007-09-21 Stefan Monnier <monnier@iro.umontreal.ca> | |
22186 | ||
22187 | * lisp.h (allocate_terminal): Declare. | |
22188 | ||
22189 | * window.c (candidate_window_p): Consider frames that are being placed | |
22190 | by the user as somewhere between visible and iconified. | |
22191 | (window_loop): Prefer windows on the current frame. | |
22192 | (Fselect_window): Move the use of select-frame to the beginning so we | |
22193 | can just delegate all the work (it'll call us back anyway). | |
22194 | ||
22195 | * frame.c (Qdisplay_environment_variable): | |
22196 | * frame.h (Qdisplay_environment_variable): Delete. | |
22197 | ||
22198 | * .gdbinit (xbacktrace): Print the arg's address rather than the value | |
22199 | of the first arg, since that value may be a union. | |
22200 | ||
22201 | * callproc.c (child_setup, getenv_internal): Use the frame's `display' | |
22202 | parameter rather than Qdisplay_environment_variable. If all else | |
22203 | fails, look for DISPLAY in initial-environment. | |
22204 | ||
22205 | 2007-09-21 Glenn Morris <rgm@gnu.org> | |
22206 | ||
22207 | * Makefile.in (emacstool): Remove target. | |
22208 | (lisp, shortlisp): Remove termdev.elc. | |
22209 | ||
22210 | 2007-09-21 Markus Triska <markus.triska@gmx.at> | |
22211 | ||
22212 | * xterm.c (x_delete_display): Compile session management conditionally. | |
22213 | ||
22214 | 2007-09-20 Stefan Monnier <monnier@iro.umontreal.ca> | |
22215 | ||
22216 | * callproc.c (getenv_internal_1): New function. | |
22217 | (getenv_internal): Use it. | |
22218 | (Fgetenv_internal): Use it. Accept an env-list as optional arg. | |
22219 | ||
22220 | * terminal.c (get_terminal): Don't accept ints to represent terminals. | |
22221 | (Fterminal_name, Fterminal_parameters, Fterminal_parameter) | |
22222 | (Fset_terminal_parameter): Work with dead terminals as well. | |
22223 | (Fmodify_terminal_parameters): Remove. | |
22224 | ||
22225 | * terminal.c (get_terminal): Handle terminals. | |
22226 | Make sure the terminal returned is live. | |
22227 | (create_terminal): Use allocate_terminal. | |
22228 | (mark_terminals): Move to alloc.c. | |
22229 | (delete_terminal): Use terminal->name as liveness status. | |
22230 | NULL out fields after freeing their contents. | |
22231 | Don't deallocate the object. | |
22232 | (Fframe_terminal): Use FRAME_TERMINAL. Return the terminal object | |
22233 | rather than an int. | |
22234 | (Fterminal_live_p): Accept non-integer arguments. | |
22235 | (Fterminal_list): Return terminal objects rather than an ints. | |
22236 | ||
22237 | * alloc.c (enum mem_type): New member for `terminal' objects. | |
22238 | (allocate_terminal): New function. | |
22239 | (mark_maybe_pointer, valid_lisp_object_p, mark_object): | |
22240 | Handle terminals. | |
22241 | (mark_terminal): New fun. | |
22242 | (mark_terminals): Move from terminal.c. | |
22243 | ||
22244 | * term.c (get_tty_terminal): Don't treat output_initial specially. | |
22245 | (Fsuspend_tty, Fresume_tty): Use terminal objects rather than ints. | |
22246 | (delete_tty): Use terminal->name as liveness status. | |
22247 | ||
22248 | * termhooks.h (struct terminal): Make it into a pseudovector. | |
22249 | Remove `deleted' replaced by checking `name's nullness. | |
22250 | ||
22251 | * print.c (print_object): Handle terminals. | |
22252 | ||
22253 | * lisp.h (enum pvec_type): New `terminal' pseudovector. | |
22254 | (XTERMINAL, XSETTERMINAL, TERMINALP, GC_TERMINALP): New macros. | |
22255 | ||
22256 | * frame.c (make_terminal_frame): | |
22257 | * keyboard.c (tty_read_avail_input): | |
22258 | * w32term.c (x_delete_terminal): | |
22259 | * xfns.c (Fx_create_frame, x_create_tip_frame): | |
22260 | * xterm.c (x_delete_terminal): Use terminal->name as liveness status. | |
22261 | ||
22262 | 2007-09-20 Glenn Morris <rgm@gnu.org> | |
22263 | ||
22264 | * process.c (Fmake_network_process): Doc fix. | |
22265 | ||
22266 | 2007-09-19 Jason Rumney <jasonr@gnu.org> | |
22267 | ||
22268 | * dispextern.h (w32_init_fringe, mac_init_fringe): Declare rif argument. | |
22269 | ||
22270 | 2007-09-19 Michaël Cadilhac <michael@cadilhac.name> | |
22271 | ||
22272 | * coding.c (detect_eol_type, detect_eol_type_in_2_octet_form): | |
22273 | Fix a C warning regarding variable constness. | |
22274 | ||
22275 | * xterm.c (handle_one_xevent): Fix a C warning. | |
22276 | ||
22277 | 2007-09-18 Jason Rumney <jasonr@gnu.org> | |
22278 | ||
22279 | * w32fns.c (Fx_focus_frame): Rename from Fw32_focus_frame. | |
22280 | ||
22281 | 2007-09-17 Jan Djärv <jan.h.d@swipnet.se> | |
22282 | ||
22283 | * gtkutil.c (gdpy_def): New variable. | |
22284 | (xg_initialize): Initialize gdpy_def. | |
22285 | (xg_display_close): If no other display exists, set gdpy_def to a | |
22286 | new connection. | |
22287 | ||
22288 | 2007-09-16 Jan Djärv <jan.h.d@swipnet.se> | |
22289 | ||
22290 | * gtkutil.c (xg_get_image_for_pixmap): Always create a GdkPixbuf | |
22291 | when we have no file name for the icon. | |
22292 | (xg_tool_bar_expose_callback): Remove. | |
22293 | (xg_create_tool_bar): Don't connect expose signal to | |
22294 | xg_tool_bar_expose_callback. | |
22295 | (xg_get_file_with_chooser): Move GCPRO1 after declarations. | |
22296 | ||
22297 | 2007-09-16 Andreas Schwab <schwab@suse.de> | |
22298 | ||
22299 | * alloc.c (reset_malloc_hooks): Set the hooks to the previous | |
22300 | values instead of zapping them. | |
22301 | ||
22302 | 2007-09-14 Glenn Morris <rgm@gnu.org> | |
22303 | ||
22304 | * fringe.c (init_fringe_bitmap) <swap_nibble>: Move to file scope. | |
22305 | * gtkutil.c (xg_separator_p) <separator_names>: Move to file scope. | |
22306 | * image.c (our_memory_fill_input_buffer) <buffer>: Move to file | |
22307 | scope and rename to omfib_buffer for clarity. | |
22308 | (gif_load) <interlace_start, interlace_increment>: Move to file scope. | |
22309 | ||
22310 | 2007-09-14 Kenichi Handa <handa@m17n.org> | |
22311 | ||
22312 | * xterm.c (handle_one_xevent): Skip decoding if nbytes is zero. | |
22313 | ||
22314 | 2007-09-13 Jason Rumney <jasonr@gnu.org> | |
22315 | ||
22316 | * fringe.c (w32_init_fringe, mac_init_fringe): Add rif argument. | |
22317 | ||
22318 | * w32term.c (w32_term_init): Pass rif to w32_init_fringe. | |
22319 | ||
22320 | * macterm.c (mac_initialize): Don't call mac_init_fringe here. | |
22321 | (mac_term_init): Call here instead, passing rif. | |
22322 | ||
22323 | 2007-09-13 Glenn Morris <rgm@gnu.org> | |
22324 | ||
22325 | * s/hpux.h: No longer define `static' as nothing. | |
22326 | ||
22327 | 2007-09-13 Johan Bockgård <bojohan@gnu.org> | |
22328 | ||
22329 | * callint.c (Fcall_interactively): Remove unused var `fun'. | |
22330 | ||
22331 | 2007-09-12 Romain Francoise <romain@orebokech.com> | |
22332 | ||
22333 | * window.c (prefer_window_split_horizontally, display_buffer): | |
22334 | Revert 2007-09-08 change. | |
22335 | ||
22336 | 2007-09-12 Glenn Morris <rgm@gnu.org> | |
22337 | ||
22338 | * alloca.c: Remove file. | |
22339 | * Makefile.in (alloca): Do not undef. | |
22340 | (allocaobj, alloca.o): Remove. | |
22341 | (otherobj): Remove allocaobj. | |
22342 | * keyboard.c (command_loop_1): Remove #ifdef C_ALLOCA block. | |
22343 | * regex.c (C_ALLOCA): Remove all references and code that was only | |
22344 | used when this was defined. | |
22345 | * search.c (boyer_moore): Remove #ifdef C_ALLOCA block. | |
22346 | * xmenu.c (xmenu_show): Remove #ifdef C_ALLOCA block. | |
22347 | * m/ibms390x.h, m/sh3el.h (C_ALLOCA): Remove references to this. | |
22348 | ||
22349 | * Makefile.in (SOURCES, unlock, relock): Delete. | |
22350 | ||
22351 | * gtkutil.c (cnt): Rename to menu_grab_callback_cnt for clarity. | |
22352 | (menu_grab_callback): All uses changed. | |
22353 | ||
22354 | * xselect.c (cnt): Rename to x_reply_selection_request_cnt for clarity. | |
22355 | (x_reply_selection_request): All uses changed. | |
22356 | ||
22357 | 2007-09-11 Stefan Monnier <monnier@iro.umontreal.ca> | |
22358 | ||
22359 | * lread.c (load_warn_old_style_backquotes): Change message to look | |
22360 | better when it appears in the middle of byte-compiler messages. | |
22361 | ||
22362 | 2007-09-10 Dan Nicolaescu <dann@ics.uci.edu> | |
22363 | ||
22364 | * s/darwin.h (MULTI_KBOARD): Only define for Carbon. | |
22365 | ||
22366 | * xterm.c (x_create_terminal): Add comment. | |
22367 | ||
22368 | * term.c (clear_tty_hooks, set_tty_hooks): Add comments. | |
22369 | ||
22370 | 2007-09-10 Richard Stallman <rms@gnu.org> | |
22371 | ||
22372 | * xterm.c (x_term_init): Give error if can't open DISPLAY_NAME. | |
22373 | ||
22374 | 2007-09-10 Michaël Cadilhac <michael@cadilhac.name> | |
22375 | ||
22376 | * lisp.h (struct Lisp_Subr): Rename `prompt' field to `intspec'. | |
22377 | (DEFUN): Document `intspec', use it instead of `prompt'. | |
22378 | ||
22379 | * eval.c (Fcommandp): Change `->prompt' to `->intspec'. | |
22380 | ||
22381 | * data.c (Finteractive_form): If the interactive specification starts | |
22382 | with a `(', use it as a Lisp form. | |
22383 | ||
22384 | * fileio.c (Fset_file_modes): Add an interactive spec that reads a file | |
22385 | name and file modes. | |
22386 | ||
22387 | * callint.c (Fcall_interactively): Comment fixes. | |
22388 | ||
22389 | 2007-09-10 Stefan Monnier <monnier@iro.umontreal.ca> | |
22390 | ||
22391 | * callint.c (Fcall_interactively): Use Finteractive_form also for subrs | |
22392 | and compiled functions. | |
22393 | ||
22394 | 2007-09-08 Fredrik Axelsson <f.axelsson@gmail.com> | |
22395 | ||
22396 | * window.c (prefer_window_split_horizontally): New variable. | |
22397 | (display_buffer): Consider splitting window horizontally depending | |
22398 | on prefer_window_split_horizontally. | |
22399 | ||
22400 | 2007-09-08 Eli Zaretskii <eliz@gnu.org> | |
22401 | ||
22402 | * sysdep.c [WINDOWSNT]: Don't include sysselect.h. | |
22403 | ||
22404 | 2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca> | |
22405 | ||
22406 | * s/cygwin.h (GC_MARK_STACK): Enable conservative stack marking. | |
22407 | ||
22408 | * frame.c (x_set_frame_parameters): Check number is positive before | |
22409 | using XFASTINT. | |
22410 | ||
22411 | * window.c (freeze_window_start): Don't presume selected_window holds | |
22412 | a window object. | |
22413 | (Fdisplay_buffer): Remove `register' since `buffer' needs to be gcpro'd. | |
22414 | ||
22415 | 2007-09-07 Angelo Graziosi <Angelo.Graziosi@roma1.infn.it> (tiny change) | |
22416 | ||
22417 | * term.c (dissociate_if_controlling_tty): Call setsid on CYGWIN. | |
22418 | ||
22419 | 2007-09-07 Stefan Monnier <monnier@iro.umontreal.ca> | |
22420 | ||
22421 | * window.c (Vsplit_window_preferred_function): New var. | |
22422 | (Fdisplay_buffer): Use it. | |
22423 | (syms_of_window): Export, and initialize it. | |
22424 | ||
22425 | 2007-09-06 Pixel <pixel@mandriva.com> (tiny change) | |
22426 | ||
22427 | * image.c (gif_load): Fix bug: Handle nonexistent colormap. | |
22428 | ||
22429 | 2007-09-06 Glenn Morris <rgm@gnu.org> | |
22430 | ||
22431 | * gtkutil.c (menu_grab_callback) <cnt>: | |
22432 | * xselect.c (x_reply_selection_request) <cnt>: Move static | |
22433 | variable to file scope. | |
22434 | ||
22435 | 2007-09-06 Stefan Monnier <monnier@iro.umontreal.ca> | |
22436 | ||
22437 | * xdisp.c (redisplay_internal): Make sure Elisp code always sees | |
22438 | consistent values of selected_frame and selected_window. | |
22439 | ||
22440 | 2007-09-04 Jason Rumney <jasonr@gnu.org> | |
22441 | ||
22442 | * w32console.c (initialize_w32_display): Zero unused hooks. | |
22443 | ||
22444 | 2007-09-04 Dan Nicolaescu <dann@ics.uci.edu> | |
22445 | ||
22446 | * term.c (Vsuspend_tty_functions, Vresume_tty_functions) | |
22447 | (syms_of_term, Fsuspend_tty, Fresume_tty): Undo previous change. | |
22448 | ||
22449 | 2007-09-04 Jason Rumney <jasonr@gnu.org> | |
22450 | ||
22451 | * term.c (init_tty) [WINDOWSNT]: Add hooks that are not accessible | |
22452 | in w32console.c. Set up input. Remove XXX comments that have been | |
22453 | confirmed as correct. | |
22454 | ||
22455 | * s/ms-w32.h (MULTI_KBOARD): Define. | |
22456 | ||
22457 | * w32console.c (one_and_only_w32cons): Remove. | |
22458 | (initialize_w32_display): Take terminal argument. | |
22459 | ||
22460 | * term.c (init_tty) [WINDOWSNT]: Pass terminal to | |
22461 | initialize_w32_display. | |
22462 | (init_tty) [MULTI_KBOARD]: Include this code on WINDOWSNT too. | |
22463 | ||
22464 | * termhooks.h (enum event_kind) <HORIZ_WHEEL_EVENT>: New event. | |
22465 | ||
22466 | * keyboard.c (discard_mouse_events): Discard it. | |
22467 | (make_lispy_event): Translate it to a lisp event. | |
22468 | (lispy_wheel_names): Add wheel-left and right events. | |
22469 | (syms_of_keyboard): Enlarge wheel_syms. | |
22470 | ||
22471 | * w32fns.c (w32_wnd_proc) <WM_DROPFILES>: Merge with WM_MOUSEWHEEL. | |
22472 | <WM_MOUSEHWHEEL>: Pass new system message to lisp. | |
22473 | ||
22474 | * w32term.h (WM_MOUSEHWHEEL): Define if system headers don't. | |
22475 | ||
22476 | * w32term.c (construct_mouse_wheel): Make HORIZ_WHEEL_EVENT | |
22477 | from WM_MOUSEHWHEEL. | |
22478 | (w32_read_socket) <WM_MOUSEHWHEEL>: Treat as WM_MOUSEWHEEL. | |
22479 | ||
22480 | * w32fns.c (x_create_tip_frame) [MULTI_KBOARD]: Get keyboard from | |
22481 | terminal. | |
22482 | ||
22483 | * w32term.c (w32_create_terminal) [MULTI_KBOARD]: Create a new | |
22484 | keyboard for the terminal. | |
22485 | ||
22486 | 2007-09-04 Dan Nicolaescu <dann@ics.uci.edu> | |
22487 | ||
22488 | * term.c (Vsuspend_tty_hook): Rename from Vsuspend_tty_functions. | |
22489 | (Vresume_tty_hook): Rename from Vresume_tty_functions. | |
22490 | (syms_of_term): Rename suspend-tty-functions to suspend-tty-hook | |
22491 | and resume-tty-function to resume-tty-hook. | |
22492 | (Fsuspend_tty, Fresume_tty): Use new names. | |
22493 | ||
22494 | 2007-09-02 Jan Djärv <jan.h.d@swipnet.se> | |
22495 | ||
22496 | * gtkutil.c (update_frame_tool_bar): Handle stock name as a named icon | |
22497 | if it starts with "n:". | |
22498 | ||
22499 | 2007-08-31 Jan Djärv <jan.h.d@swipnet.se> | |
22500 | ||
22501 | * gtkutil.c (update_frame_tool_bar): Initialize wbutton to NULL. | |
22502 | ||
22503 | 2007-08-31 Stefan Monnier <monnier@iro.umontreal.ca> | |
22504 | ||
22505 | * frame.h: | |
22506 | * frame.c (Qterm_environment_variable): Remove. | |
22507 | (syms_of_frame): Don't init and staticpro it. | |
22508 | ||
22509 | * callproc.c (getenv_internal): Remove special case for $TERM. | |
22510 | ||
22511 | * callproc.c (Vinitial_environment): New variable. | |
22512 | (set_initial_environment): Initialize it. | |
22513 | (syms_of_callproc): Declare it. | |
22514 | (child_setup): Don't mess with TERM via Qterm_environment_variable; the | |
22515 | TERM under which a process runs is never related to the TERM in which | |
22516 | Emacs is running. | |
22517 | ||
22518 | 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu> | |
22519 | ||
22520 | * config.in (HAVE_WINDOW_SYSTEM): Don't undef MULTI_KBOARD here... | |
22521 | * s/darwin.h: ... do it here. | |
22522 | ||
22523 | 2007-08-29 Stefan Monnier <monnier@iro.umontreal.ca> | |
22524 | ||
22525 | * lisp.h (set_initial_environment): Rename from set_global_environment. | |
22526 | ||
22527 | * Makefile.in (${etc}DOC): Re-add a ${EXEEXT} which seems to have been | |
22528 | removed by mistake on the multi-tty branch. | |
22529 | ||
22530 | * frame.c (make_terminal_frame): Yet Another Int/Lisp_Object Mixup. | |
22531 | (Fmodify_frame_parameters): Return a value. | |
22532 | ||
22533 | * image.c (png_load): Comment-out var only used in commented-out code. | |
22534 | ||
22535 | * term.c (mark_ttys): Don't bother checking top_frame (incorrectly) | |
22536 | before passing it to mark_object. | |
22537 | ||
22538 | * xfaces.c (internal_resolve_face_name): Return a value. | |
22539 | (internal_resolve_face_name, resolve_face_name_error): Comment out. | |
22540 | ||
22541 | * xfns.c (check_x_display_info): Yet Another Int/Lisp_Object Mixup. | |
22542 | (x_icon): Comment-out var only used in commented-out code. | |
22543 | ||
22544 | 2007-08-29 Romain Francoise <romain@orebokech.com> | |
22545 | ||
22546 | * keyboard.c (Fset_input_mode): Don't call `Fset_quit_char' if | |
22547 | QUIT hasn't been provided. | |
22548 | ||
22549 | 2007-08-29 Dan Nicolaescu <dann@ics.uci.edu> | |
22550 | ||
22551 | * callproc.c (child_setup, getenv_internal): Use the | |
22552 | display-environment-variable and term-environment-variable frame params. | |
22553 | (set_initial_environment): Initialise Vprocess_environment. | |
22554 | ||
22555 | * config.in: Disable multi-keyboard support on a mac. | |
22556 | ||
22557 | * frame.c (Qterm_environment_variable) | |
22558 | (Qdisplay_environment_variable): New variables. | |
22559 | (syms_of_frame): Intern and staticpro them. | |
22560 | (Fmake_terminal_frame): Disable output method test. | |
22561 | ||
22562 | * frame.h: Declare them here. | |
22563 | ||
22564 | * macfns.c (x_set_mouse_color): Get rif from the frame. | |
22565 | (x_set_tool_bar_lines): Don't use updating_frame. | |
22566 | (mac_window): Add 2 new parameters for consistency with other systems. | |
22567 | (Fx_create_frame): Fix doc string. Rename the parameter. Set the | |
22568 | frame parameters following what is done in X11 and w32. Don't use | |
22569 | FRAME_MAC_DISPLAY_INFO. | |
22570 | (Fx_open_connection, start_hourglass): Remove window-system check. | |
22571 | (x_create_tip_frame): Get the keyboard from the terminal. | |
22572 | ||
22573 | * macmenu.c: Reorder includes. | |
22574 | (Fx_popup_menu): Use terminal specific mouse_position_hook. | |
22575 | ||
22576 | * macterm.c (XTset_terminal_modes, XTreset_terminal_modes): Add a | |
22577 | terminal parameter. | |
22578 | (x_clear_frame): Add a frame parameter. | |
22579 | (note_mouse_movement): Get rif from the frame. | |
22580 | (mac_term_init): Initialize the terminal. | |
22581 | (mac_initialize): Make static and move terminal initialization ... | |
22582 | (mac_create_terminal): ... to this new function. | |
22583 | ||
22584 | * macterm.h (struct mac_display_info): Add terminal. | |
22585 | (mac_initialize): Delete declaration. | |
22586 | ||
22587 | * puresize.h (BASE_PURESIZE): Increase base value to 1164000. | |
22588 | ||
22589 | * sysdep.c: Comment out text after #endif. | |
22590 | ||
22591 | * term.c (init_tty): Only use terminal->kboard when MULTI_KBOARD | |
22592 | is defined. Better initialize ttys in windows. Use terminal | |
22593 | specific mouse_position_hook. | |
22594 | ||
22595 | * termhooks.h (union display_info): Add mac_display_info. | |
22596 | ||
22597 | * w32fns.c (Fx_create_frame): Use kboard from the terminal. | |
22598 | Set the default minibuffer frame, window_system and the rest of the | |
22599 | frame parameters following what is done in X11. | |
22600 | ||
22601 | * w32term.c (w32_initialize): Make static. | |
22602 | ||
22603 | * xselect.c (x_handle_selection_clear): Only access | |
22604 | terminal->kboard when MULTI_KBOARD is defined. | |
22605 | ||
22606 | * s/darwin.h (SYSTEM_PURESIZE_EXTRA): Define here. | |
22607 | (SYSTEM_PURESIZE_EXTRA): Only define on Carbon. | |
22608 | ||
22609 | 2007-08-29 Jason Rumney <jasonr@gnu.org> | |
22610 | ||
22611 | * frame.c (Fdelete_frame): Only get kboard when MULTI_KBOARD defined. | |
22612 | (make_terminal_frame) [WINDOWSNT]: Initialize terminal. | |
22613 | ||
22614 | * fringe.c (w32_init_fringe w32_reset_fringes) [HAVE_NTGUI]: | |
22615 | (mac_init_fringe) [MAC_OS]: Get rif from selected_frame. | |
22616 | ||
22617 | * keyboard.c (restore_kboard_configuration): Only define when | |
22618 | MULTI_KBOARD defined. | |
22619 | ||
22620 | * makefile.w32-in: Update dependancies from Makefile.in. | |
22621 | (OBJ1): Add terminal.$(O) | |
22622 | ||
22623 | * term.c (dissociate_if_controlling_tty) [WINDOWSNT]: | |
22624 | Don't define function body. | |
22625 | (init_tty) [WINDOWSNT]: Use selected_frame for initializing. | |
22626 | ||
22627 | * termhooks.h (display_info) [WINDOWSNT]: Add w32. | |
22628 | ||
22629 | * w32.c (request_sigio, unrequest_sigio): Remove. | |
22630 | ||
22631 | * w32console.c (w32con_move_cursor, w32con_clear_to_end) | |
22632 | (w32con_clear_frame, w32con_clear_end_of_line) | |
22633 | (w32con_ins_del_lines, w32con_insert_glyphs, w32con_write_glyphs) | |
22634 | (w32con_delete_glyphs, w32con_set_terminal_window) | |
22635 | (scroll_line, w32_sys_ring_bell): Add frame arg. | |
22636 | (w32con_set_terminal_modes, w32con_reset_terminal_modes): | |
22637 | Add terminal arg. | |
22638 | (PICK_FRAME): Remove. | |
22639 | (w32con_write_glyphs): Use frame specific terminal coding. | |
22640 | (one_and_only_w32cons): New global variable. | |
22641 | (initialize_w32_display): Use it for storing hooks. | |
22642 | (create_w32cons_output): New function. | |
22643 | ||
22644 | * w32inevt.c, w32inevt.h (w32_console_read_socket): Make first | |
22645 | arg a frame. | |
22646 | ||
22647 | * w32fns.c (x_create_tip_frame): Set terminal and ref count. | |
22648 | Set window_system. | |
22649 | (x_set_tool_bar_lines): Don't use updating_frame. | |
22650 | (Fx_create_frame): Set terminal and ref count. | |
22651 | (Fx_open_connection): Remove window-system check. | |
22652 | ||
22653 | * w32menu.c (Fx_popup_menu): Use terminal specific mouse_position_hook. | |
22654 | ||
22655 | * w32term.c (w32_term_init): Call add_keyboard_wait_descriptor. | |
22656 | (w32_set_terminal_modes, w32_reset_terminal_modes): Add terminal arg. | |
22657 | (x_clear_frame, x_delete_glyphs, w32_ring_bell, x_ins_del_lines): | |
22658 | Add frame arg. | |
22659 | (x_delete_terminal, w32_create_terminal): New functions. | |
22660 | (w32_term_init): Create a terminal. | |
22661 | (w32_initialize): Move terminal specific initialization to | |
22662 | w32_create_terminal. | |
22663 | ||
22664 | * w32term.h (x_output): Remove foreground_pixel and background_pixel. | |
22665 | (w32_clear_rect, w32_clear_area): Use background from frame. | |
22666 | (w32_display_info): Add terminal. | |
22667 | (w32_sys_ring_bell, x_delete_display): Declare here. | |
22668 | ||
22669 | * xdisp.c (display_menu_bar) [HAVE_NTGUI]: Check frame type. | |
22670 | ||
22671 | * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Bump to 50k. | |
22672 | ||
22673 | 2007-08-29 Kalle Olavi Niemitalo <kon@iki.fi> (tiny change) | |
22674 | ||
22675 | * keyboard.c (interrupt_signal, handle_interrupt, Fset_quit_char): | |
22676 | Fix get_named_tty calls for the controlling tty. | |
22677 | ||
22678 | 2007-08-29 ARISAWA Akihiro <ari@mbf.ocn.ne.jp> (tiny change) | |
22679 | ||
194d44e7 | 22680 | * term.c (dissociate_if_controlling_tty) [USG]: Fix parse error. |
aac0c6e3 MR |
22681 | |
22682 | 2007-08-29 Yoshiaki Kasahara <kasahara@nc.kyushu-u.ac.jp> (tiny change) | |
22683 | ||
22684 | * term.c (tty_insert_glyphs): Add missing first parameter. | |
22685 | ||
22686 | 2007-08-29 Károly Lőrentey <karoly@lorentey.hu> | |
22687 | ||
22688 | * buffer.c (Fbuffer_list, Fbury_buffer): | |
22689 | Take frame->buried_buffer_list into account. | |
22690 | ||
22691 | * cm.c (current_tty): New variable, for cmputc(). | |
22692 | (cmputc): Use it. | |
22693 | (cmcheckmagic): Add tty parameter, look up terminal streams there. | |
22694 | (calccost): Add tty parameter. Use emacs_tputs() instead of tputs(). | |
22695 | (cmgoto): Add tty parameter. Pass it on to calccost(). | |
22696 | Use emacs_tputs() instead of tputs(). | |
22697 | ||
22698 | * cm.h (emacs_tputs): New macro to set current_tty, and then call | |
22699 | tputs(). | |
22700 | (current_tty): New variable, for cmputc(). | |
22701 | (cmcheckmagic, cmputc, cmgoto): Add prototypes. | |
22702 | ||
22703 | * eval.c (unwind_to_catch): Don't call x_fully_uncatch_errors. | |
22704 | (internal_condition_case, internal_condition_case_1) | |
22705 | (internal_condition_case_2): Don't abort when x_catching_errors. | |
22706 | ||
22707 | * fns.c (Fyes_or_no_p): Don't try to open an X dialog on tty terminals. | |
22708 | (Fy_or_n_p): Likewise. Use temporarily_switch_to_single_kboard to | |
22709 | prevent crashes caused by bogus longjmps in read_char. | |
22710 | ||
22711 | * keymap.h (Fset_keymap_parent): Add EXFUN. | |
22712 | ||
22713 | * macterm.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL) | |
22714 | * w32term.h (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): | |
22715 | Remove redundant definition. | |
22716 | ||
22717 | * macfns.c (x_set_mouse_color, x_make_gc): | |
22718 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | |
22719 | ||
22720 | * w32term.c (x_free_frame_resources): | |
22721 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | |
22722 | (w32_initialize): Use the accessor macros for terminal characteristics. | |
22723 | ||
22724 | * macterm.c (mac_initialize): Use Fset_input_interrupt_mode. | |
22725 | Use the accessor macros for terminal characteristics. | |
22726 | * msdos.c (internal_terminal_init): Use the accessor macros for | |
22727 | terminal characteristics. | |
22728 | (ScreenVisualBell, internal_terminal_init): | |
22729 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | |
22730 | ||
22731 | * termopts.h (no_redraw_on_reenter): Declare. | |
22732 | ||
22733 | * alloc.c (emacs_blocked_malloc): Disable mallopt call. | |
22734 | (mark_terminals, mark_ttys): Declare. | |
22735 | (Fgarbage_collect): Call them. | |
22736 | (mark_object): Mark buried_buffer_list. | |
22737 | ||
22738 | * prefix-args.c: Include stdlib.h for exit. | |
22739 | ||
22740 | * syssignal.h: Add comment. | |
22741 | ||
22742 | * indent.c: Include stdio.h. | |
22743 | ||
22744 | * window.h (Vinitial_window_system): Declare. | |
22745 | (Vwindow_system): Delete declaration. | |
22746 | ||
22747 | * fontset.c (Finternal_char_font): Use FRAME_RIF. | |
22748 | ||
22749 | * image.c (lookup_image): Don't initialize `c' until the xasserts | |
22750 | have been run. | |
22751 | ||
22752 | * gtkutil.c (xg_create_frame_widgets): Use FRAME_BACKGROUND_PIXEL and | |
22753 | FRAME_FOREGROUND_PIXEL. | |
22754 | ||
22755 | * print.c (print_preprocess): Don't lose print_depth levels while | |
22756 | iterating. | |
22757 | ||
22758 | * widget.c (update_from_various_frame_slots): | |
22759 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | |
22760 | ||
22761 | * window.c (set_window_buffer): Don't call clear_mouse_face on tty | |
22762 | frames. | |
22763 | (window_internal_height): Remove bogus make_number call. | |
22764 | (init_window_once): Call make_terminal_frame with two zero parameters. | |
22765 | ||
22766 | * fileio.c (Fread_file_name): Update comment. | |
22767 | ||
22768 | * callint.c (Fcall_interactively): | |
22769 | Use temporarily_switch_to_single_kboard instead of single_kboard_state. | |
22770 | Make sure it is correctly unwound. | |
22771 | ||
22772 | * xsmfns.c (x_session_close): New function. | |
22773 | ||
22774 | * coding.h (terminal_coding, safe_terminal_coding, keyboard_coding): | |
22775 | Delete declarations. | |
22776 | ||
22777 | * xterm.h: Remove declaration for x_fully_uncatch_errors. | |
22778 | (x_output): Remove background_pixel and foreground_pixel fields. | |
22779 | (x_display_info): Add new field TERMINAL. Remove KBOARD field. | |
22780 | (x_delete_device, x_session_close): Declare. | |
22781 | ||
22782 | * lread.c: Include setjmp.h. Update declaration of `read_char'. | |
22783 | (read_filtered_event): Call `read_char' with a local | |
22784 | `wrong_kboard_jmpbuf'. | |
22785 | ||
22786 | * minibuf.c (read_minibuf): Call temporarily_switch_to_single_kboard. | |
22787 | Don't call single_kboard_state. Use FRAME_RIF. | |
22788 | ||
22789 | * process.c (Fmake_network_process): Don't unrequest_sigio on modern | |
22790 | systems. | |
22791 | ||
22792 | * lisp.h (set_process_environment): Rename to `set_global_environment'. | |
22793 | (Fframe_with_environment, Fset_input_meta_mode) | |
22794 | (Fset_quit_char): EXFUN. | |
22795 | (x_create_device, tty_output, terminal, tty_display_info): Declare. | |
22796 | (init_sys_modes, reset_sys_modes): Update prototypes. | |
22797 | (init_all_sys_modes, reset_all_sys_modes): New prototypes. | |
22798 | ||
22799 | * keyboard.h (struct kboard): Add new fields Vlocal_function_key_map, | |
22800 | Vlocal_key_translation_map, and Vkeyboard_translate_table. | |
22801 | (Vfunction_key_map, Vkeyboard_translate_table, single_kboard_state): | |
22802 | Delete declarations. | |
22803 | (Vfunction_key_map, Vkey_translation_map, push_kboard, pop_kboard) | |
22804 | (temporarily_switch_to_single_kboard, tty_read_avail_input): | |
22805 | New declarations. | |
22806 | ||
22807 | * emacs.c (main): Don't call init_sys_modes(), the new term_init() | |
22808 | already does that during init_display(). Call syms_of_keymap | |
22809 | before syms_of_keyboard. Call `syms_of_terminal'. | |
22810 | Call set_initial_environment, not set_process_environment. | |
22811 | (shut_down_emacs): Call reset_all_sys_modes() instead of | |
22812 | reset_sys_modes(). | |
22813 | ||
22814 | * xfaces.c (x_free_gc): Protect xassert with GLYPH_DEBUG. | |
22815 | (internal_resolve_face_name, resolve_face_name_error): New functions. | |
22816 | (resolve_face_name): Protect against loops and errors thrown by Fget. | |
22817 | (realize_default_face): Don't use FRAME_FONT unless frame is an X frame. | |
22818 | (Ftty_supports_face_attributes_p): Update tty_capable_p call. | |
22819 | ||
22820 | * scroll.c: Replace CURTTY() with local variables throughout the | |
22821 | file (where applicable). | |
22822 | (calculate_scrolling, calculate_direct_scrolling) | |
22823 | (scrolling_1, scroll_cost): Use the accessor macros for terminal | |
22824 | characteristics. | |
22825 | ||
22826 | * keymap.c (Vfunction_key_map): Remove. | |
22827 | (Fdescribe_buffer_bindings): Update references to Vfunction_key_map. | |
22828 | (syms_of_keymap): Remove DEFVAR for Vfunction_key_map. | |
22829 | (Vkey_translation_map): Remove. | |
22830 | (syms_of_keymap): Remove DEFVAR for key-translation-map. | |
22831 | (Fdescribe_buffer_bindings) | |
22832 | (read_key_sequence, init_kboard, syms_of_keyboard, mark_kboards): | |
22833 | Update for terminal-local key-translation-map. | |
22834 | ||
22835 | * Makefile.in (callproc.o): Update dependencies. | |
22836 | (lisp, shortlisp): Add termdev.elc. | |
22837 | (obj): Add terminal.o. | |
22838 | (terminal.o): Add dependencies. | |
22839 | [HAVE_CARBON]: Make terminal.o depend on macgui.h. | |
22840 | (data.o, fns.o): Add termhooks.h dependency. | |
22841 | (SOME_MACHINE_LISP): Add dnd.elc. | |
22842 | (minibuf.o): Fix typo. | |
22843 | Update dependencies. | |
22844 | ||
22845 | * data.c (do_symval_forwarding, store_symval_forwarding) | |
22846 | (find_symbol_value): Use the selected frame's keyboard, not | |
22847 | current_kboard. | |
22848 | ||
22849 | * .gdbinit (init_sys_modes): Use Vinitial_window_system instead of | |
22850 | Vwindow_system. | |
22851 | ||
22852 | * xmenu.c (Fx_menu_bar_open) [USE_X_TOOLKIT, USE_GTK]: Rename from | |
22853 | Fmenu_bar_open. | |
22854 | (syms_of_xmenu): Update defsubr. | |
22855 | (mouse_position_for_popup, Fx_popup_menu) | |
22856 | (Fx_popup_dialog, x_activate_menubar, update_frame_menubar) | |
22857 | (set_frame_menubar, free_frame_menubar) | |
b97439ce | 22858 | (create_and_show_popup_menu, xmenu_show) |
aac0c6e3 MR |
22859 | (create_and_show_dialog, xdialog_show, xmenu_show): Abort if not |
22860 | an X frame. | |
22861 | ||
22862 | * xselect.c (x_own_selection): Abort if not an X frame. | |
22863 | (some_frame_on_display): Check if it is an X frame. | |
22864 | (x_handle_selection_clear): Deal with MULTI_KBOARD. | |
22865 | ||
22866 | * coding.c: Include frame.h and termhooks.h. | |
22867 | (terminal_coding, keyboard_coding): Delete. | |
22868 | (Fset_terminal_coding_system_internal) | |
22869 | (Fset_keyboard_coding_system_internal) | |
22870 | (Fkeyboard_coding_system) | |
22871 | (Fterminal_coding_system): Add a terminal parameter. | |
22872 | Get terminal_coding from the terminal. | |
22873 | (init_coding_once): Don't call setup_coding_system here. | |
22874 | ||
22875 | * dispextern.h (set_scroll_region, turn_off_insert) | |
22876 | (turn_off_highlight, background_highlight, clear_end_of_line_raw) | |
22877 | (tty_clear_end_of_line, tty_setup_colors) | |
22878 | (delete_tty, updating_frame) | |
22879 | (produce_special_glyphs, produce_glyphs, write_glyphs) | |
22880 | (insert_glyphs): Remove. | |
22881 | (raw_cursor_to, clear_to_end, tty_turn_off_insert) | |
22882 | (tty_turn_off_highlight, get_tty_size): Add declaration. | |
22883 | (tabs_safe_p, init_baud_rate, get_tty_terminal): Update prototypes. | |
22884 | ||
22885 | * frame.h (enum output_method): Add output_initial. | |
22886 | (struct x_output): Delete. | |
22887 | (FRAME_FOREGROUND_PIXEL, FRAME_BACKGROUND_PIXEL): | |
22888 | Access foreground_pixel and background_pixel directly from the frame. | |
22889 | (tty_display): Delete. | |
22890 | (struct frame): Add buried_buffer_list, foreground_pixel, | |
22891 | background_pixel and terminal. Delete kboard. | |
22892 | (union output_data): Add tty. | |
22893 | (FRAME_KBOARD): Get the kboard from the terminal. | |
22894 | (FRAME_INITIAL_P): New macro. | |
22895 | (Qtty, Qtty_type, Qterminal, Qterminal_live_p, Qenvironment) | |
22896 | (Qterm_environment_variable, Qdisplay_environment_variable) | |
22897 | (make_terminal_frame, Qburied_buffer_list, Qwindow_system): | |
22898 | New declarations. | |
22899 | ||
22900 | * termchar.h (tty_output, tty_display_info): New structures. | |
22901 | (tty_list): Declare. | |
22902 | (FRAME_TTY, CURTTY): New macros. | |
22903 | (must_write_spaces, min_padding_speed, fast_clear_end_of_line) | |
22904 | (line_ins_del_ok, char_ins_del_ok, scroll_region_ok) | |
22905 | (scroll_region_cost, memory_below_frame, fast_clear_end_of_line) | |
22906 | (dont_calculate_costs, no_redraw_on_reenter): Remove declarations. | |
22907 | ||
22908 | * callproc.c: Include frame.h and termhooks.h, for terminal | |
22909 | parameters. | |
22910 | (add_env): New function. | |
22911 | (child_setup): Use it. | |
22912 | (child_setup, getenv_internal): Handle the new Vprocess_environment. | |
22913 | (getenv_internal): Fix get_terminal_param call. | |
22914 | (Fgetenv_internal, egetenv): Update doc. | |
22915 | (syms_of_callproc): Initialize Vprocess_environment to nil. | |
22916 | Register and initialize them. Remove obsolete defvars. Update doc | |
22917 | strings. | |
22918 | (child_setup): Handle Vlocal_environment_variables. | |
22919 | (getenv_internal): Add terminal parameter. | |
22920 | Handle Vlocal_environment_variables. | |
22921 | (Fgetenv_internal): Add terminal parameter. | |
22922 | (child_setup, getenv_internal, Fgetenv_internal): Store the local | |
22923 | environment in a frame (not terminal) parameter. Update doc strings. | |
22924 | (set_initial_environment): Rename from set_global_environment. | |
22925 | Store Emacs environment in initial frame parameter. | |
22926 | ||
22927 | * xdisp.c (redisplay_internal): Update references to | |
22928 | `previous_terminal_frame'. | |
22929 | (display_mode_line, Fformat_mode_line): Replace calls to | |
22930 | `push_frame_kboard' with `push_kboard'. | |
22931 | (get_glyph_string_clip_rects): Add extra parentheses and | |
22932 | braces to prevent compiler warnings. | |
22933 | (calc_pixel_width_or_height): Add xassert to check that the | |
22934 | frame is alive. Don't call `lookup_image' on a termcap frame. | |
22935 | (message2_nolog, message3_nolog, redisplay_internal) | |
22936 | (set_vertical_scroll_bar, redisplay_window, check_x_display_info) | |
22937 | (x_set_scroll_bar_foreground, x_set_scroll_bar_background) | |
22938 | (Fx_create_frame, Fxw_display_color_p, Fx_display_grayscale_p) | |
22939 | (Fx_display_pixel_width, Fx_display_pixel_height) | |
22940 | (Fx_display_planes, Fx_display_color_cells) | |
22941 | (Fx_server_max_request_size, Fx_server_vendor, Fx_server_version) | |
22942 | (Fx_display_screens, Fx_display_mm_height, Fx_display_mm_width) | |
22943 | (Fx_display_backing_store, Fx_display_visual_class) | |
22944 | (Fx_display_save_under, Fx_close_connection, x_create_tip_frame): | |
22945 | Use FRAME_TERMINAL_P, FRAME_WINDOW_P, FRAME_TTY and FRAME_RIF. | |
22946 | ||
22947 | * xfns.c (x_set_foreground_color x_set_background_color) | |
22948 | (x_set_mouse_color, x_set_cursor_color, x_make_gc): | |
22949 | Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | |
22950 | (Fx_create_frame, x_create_tip_frame, build_string, x_window) | |
22951 | (Fx_create_frame, x_create_tip_frame): Don't create frames on a | |
22952 | terminal that is being deleted. | |
22953 | (Fx_create_frame): Use `store_frame_param' to set `window-system' | |
22954 | frame parameter, and make sure it overrides any user-supplied setting. | |
22955 | (Fx_close_connection, Fx_synchronize): Unify argument names with | |
22956 | the rest of the DEFUNs. | |
22957 | ||
22958 | * dispnew.c (Fsend_string_to_terminal): Update call to | |
22959 | `get_tty_terminal'. | |
22960 | (Fredraw_frame, Fsend_string_to_terminal) | |
22961 | (Fsend_string_to_terminal, init_display): Use FRAME_RIF, | |
22962 | FRAME_TERMCAP_P and FRAME_TTY. | |
22963 | (window_change_signal): Don't believe width/height values that are | |
22964 | impossibly small. | |
22965 | (Vinitial_window_system): Rename from Vwindow_system. | |
22966 | (termscript, Wcm, rif): Delete. | |
22967 | ||
22968 | * termhooks.h (struct terminal): New struct containing the | |
22969 | previously global text display hooks and new members NAME, | |
22970 | DELETED and PARAM_ALIST. | |
22971 | (FRAME_TERMINAL, TERMINAL_TERMINAL_CODING) | |
22972 | (TERMINAL_KEYBOARD_CODING, TERMINAL_ACTIVE_P, FRAME_WINDOW_P) | |
22973 | (FRAME_RIF): New macros. | |
22974 | (get_terminal_param, get_device): New declarations. | |
22975 | (termscript): Delete declaration. | |
22976 | ||
22977 | * xterm.c (x_initialize): Use Fset_input_interrupt_mode. | |
22978 | (XTflash, x_free_frame_resources, x_scroll_bar_create) | |
22979 | (x_scroll_bar_set_handle): Use FRAME_BACKGROUND_PIXEL and | |
22980 | FRAME_FOREGROUND_PIXEL. | |
22981 | (x_fully_uncatch_errors): Disable definition. | |
22982 | (x_scroll_bar_expose): Fix reference to foreground pixel. | |
22983 | (XTread_socket): Disable loop on all X displays. | |
22984 | (x_delete_terminal): Don't set terminal->deleted and let | |
22985 | delete_terminal delete the frames on the terminal. | |
22986 | (x_delete_display): Doc update to reflect changes in | |
22987 | delete_terminal. | |
22988 | (x_display_info) <terminal>: Move member earlier in the struct. | |
22989 | (deleting_tty): Remove old variable. | |
22990 | (Fsuspend_tty): Call clear_tty_hooks. | |
22991 | (Fresume_tty, init_tty): Call set_tty_hooks. | |
22992 | (Ftty_display_color_p, Ftty_display_color_cells): Don't throw | |
22993 | errors on X frames. | |
22994 | (x_catch_errors_unwind): Abort if x_error_message is NULL. | |
22995 | (handle_one_xevent): Initialize `f' to NULL. | |
22996 | (x_delete_terminal, x_create_terminal): New functions. | |
22997 | (XTset_terminal_modes, XTreset_terminal_modes) | |
22998 | (XTread_socket, x_connection_closed, x_term_init) | |
22999 | (x_term_init, x_delete_display): Add terminal parameter. | |
23000 | (x_term_init) [!HAVE_GTK_MULTIDISPLAY]: Refuse to create secondary | |
23001 | X connections. | |
23002 | ||
23003 | * frame.c: Include termchar.h. | |
23004 | (Qterminal, Qterminal_live_p, Qburied_buffer_list, Qtty, Qtty_type) | |
23005 | (Qwindow_system, Qenvironment, Qterm_environment_variable) | |
23006 | (Qdisplay_environment_variable): New vars. | |
23007 | (Fframep): Deal with output_initial. | |
23008 | (Fframe-live-p): Doc fix. | |
23009 | (Fwindow-system): New function. | |
23010 | (x_set_screen_gamma, store_frame_param): Fix compilation errors. | |
23011 | (make_terminal_frame): Don't create frames on a terminal that is | |
23012 | being deleted. Use FRAME_BACKGROUND_PIXEL and FRAME_FOREGROUND_PIXEL. | |
23013 | (store_frame_param): Check for found_for_frame before calling XFRAME. | |
23014 | (Fmake_terminal_frame): Handle NULL tty names correctly. | |
23015 | (syms_of_frame): Enhance doc string of `default-frame-alist'. | |
23016 | (Fdelete_frame): Remove unused variable `count'. Don't allow other | |
23017 | frames to refer to a deleted frame in their 'environment parameter. | |
23018 | (Fframe_with_environment): New function. | |
23019 | (syms_of_frame): Defsubr it. Initialize and staticpro Qenvironment. | |
23020 | (get_future_frame_param): New function. | |
23021 | (Fmake_terminal_frame): Use it. | |
23022 | (x_set_frame_parameters, x_set_screen_gamma): Use FRAME_RIF. | |
23023 | ||
23024 | * sysdep.c (init_sys_modes, reset_sys_modes): Update for renames. | |
23025 | * sysdep.c (reset_sys_modes): Update for renames. | |
23026 | ||
23027 | * keyboard.c (tty_read_avail_input): New function. | |
23028 | (Fset_input_interrupt_mode, Fset_output_flow_control): New functions. | |
23029 | (syms_of_keyboard): Defsubr them. | |
23030 | (Fset_input_meta_mode, Fset_quit_char): New functions. | |
23031 | (Fset_input_mode): Split to above functions. | |
23032 | (read_char_minibuf_menu_prompt): Add wrong_kboard_jmpbuf | |
23033 | parameter. Use it in call to `read_char'. | |
23034 | (read_char): Declare. Update call to `read_char_minibuf_menu_prompt'. | |
23035 | Set wrong_kboard_jmpbuf correctly in recursive calls. | |
23036 | Use current_kboard to access Vkeyboard_translate_table. | |
23037 | Enhance comment before extra longjmp to wrong_kboard_jmpbuf. | |
23038 | Add wrong_kboard_jmpbuf parameter to allow for recursive calls. | |
23039 | Update longjmp invocations. Remember the original current_kboard, | |
23040 | and longjmp to `wrong_kboard_jmpbuf' when a filter, timer or sentinel | |
23041 | changes it. Comment out unnecessary calls to | |
23042 | `record_single_kboard_state' and `any_kboard_state'. | |
23043 | Update recursive calls. | |
23044 | (wrong_kboard_jmpbuf): Remove global variable. | |
23045 | (read_key_sequence): Remove unused variable wrong_kboard_jmpbuf. | |
23046 | Handle deleted interrupted_kboards correctly; that is a legal | |
23047 | case. Add `wrong_kboard_jmpbuf' local variable. Update setjmp | |
23048 | and read_char calls. Abort if interrupted_kboard died in read_char. | |
23049 | (any_kboard_state, single_kboard_state) | |
23050 | (push_frame_kboard): Remove function. | |
23051 | (pop_kboard): Switch out of single_kboard mode if the kboard has | |
23052 | been deleted. Remove unused variable. Help debugging by not | |
23053 | changing current_kboard unnecessarily. Set current_kboard to the | |
23054 | kboard of the selected frame when the stored kboard object has | |
23055 | been deleted before pop_kboard. | |
23056 | (temporarily_switch_to_single_kboard): Change first parameter to a | |
23057 | frame pointer. Throw an error when caller wants to change kboards | |
23058 | while in single_kboard mode. Don't push_kboard if we weren't in | |
23059 | single kboard state. Don't pop_kboard if we popped into any | |
23060 | kboard state. | |
23061 | (restore_kboard_configuration): Abort if pop_kboard changed the | |
23062 | kboard in single_kboard mode. Call pop_kboard only after setting | |
23063 | up single_kboard mode. | |
23064 | (Frecursive_edit): Switch to single_kboard mode only in nested | |
23065 | command loops. | |
23066 | (cmd_error, command_loop, command_loop_1, timer_check): | |
23067 | Comment out unnecessary call to `any_kboard_state' and | |
23068 | `record_single_kboard_state'. | |
23069 | (delete_kboard): Exit single_kboard mode if we have just deleted | |
23070 | that kboard. Use FRAME_KBOARD. | |
23071 | (interrupt_signal): Use `Fkill_emacs' to exit Emacs, not | |
23072 | `fatal_error_signal'. | |
23073 | (record_single_kboard_state): Don't push_kboard if we weren't in | |
23074 | single kboard state. Don't pop_kboard if we popped into any | |
23075 | kboard state. | |
23076 | (push_frame_kboard): Rename to push_kboard. | |
23077 | (kbd_buffer_get_event): Use FRAME_TERMINAL. | |
23078 | (read_avail_input): Read input from all terminals. | |
23079 | (mark_kboards): Also mark Vkeyboard_translate_table. | |
23080 | (kbd_buffer_store_event_hold): Simplify condition. | |
23081 | (read_key_sequence): Reinitialize fkey and keytran at each replay. | |
23082 | (Vkeyboard_translate_table): Move to struct kboard. | |
23083 | (init_kboard): Initialize Vkeyboard_translate_table. | |
23084 | (syms_of_keyboard): Use DEFVAR_KBOARD to define | |
23085 | Vkeyboard_translate_table. Update doc strings. Update docs of | |
23086 | local-function-key-map and function-key-map. | |
23087 | ||
23088 | * terminal.c: New file. | |
23089 | ||
23090 | * term.c: Include errno.h. | |
23091 | (Vring_bell_function, device_list, initial_device) | |
23092 | (next_device_id, ring_bell, update_begin, update_end) | |
23093 | (set_terminal_window, cursor_to, raw_cursor_to) | |
23094 | (clear_to_end, clear_frame, clear_end_of_line) | |
23095 | (write_glyphs, insert_glyphs, delete_glyphs, ins_del_lines) | |
23096 | (Fdisplay_name, create_device, delete_device): Move to terminal.c. | |
23097 | (syms_of_term): Move their initialization to terminal.c. | |
23098 | (get_tty_terminal, Fdisplay_tty_type, Ftty_display_color_p) | |
23099 | (Ftty_display_color_cells) | |
23100 | (Ftty_no_underline, Fsuspend_tty, Fresume_tty, create_tty_output) | |
23101 | (clear_tty_hooks, set_tty_hooks) | |
23102 | (init_tty, maybe_fatal): New functions. | |
23103 | (Ftty_type): Return nil if terminal is not on a tty instead of | |
23104 | throwing an error. Doc update. | |
23105 | (syms_of_term) <Vsuspend_tty_functions, Vresume_tty_functions>: | |
23106 | Doc update. Initialize new subrs and variables. | |
23107 | (delete_tty): Use terminal->deleted. | |
23108 | (tty_set_terminal_modes): Rename from set_terminal_modes. | |
23109 | (tty_reset_terminal_modes): Rename from reset_terminal_modes. | |
23110 | (set_scroll_region): Rename to `tty_set_scroll_region'. | |
23111 | (turn_on_insert): Rename to `tty_turn_on_insert'. | |
23112 | (turn_off_insert): Rename to `tty_turn_off_insert'. | |
23113 | (turn_off_highlight): Rename to `tty_turn_off_highlight'. | |
23114 | (turn_on_highlight): Rename to `tty_turn_on_highlight'. | |
23115 | (toggle_highligh): Rename to `tty_toggle_highlight'. | |
23116 | (background_highlight): Rename to `tty_background_highlight'. | |
23117 | (highlight_if_desired): Rename to `tty_highlight_if_desired'. | |
23118 | (tty_ring_bell, tty_update_end, tty_set_terminal_window) | |
23119 | (tty_set_scroll_region, tty_background_highlight) | |
23120 | (tty_cursor_to, tty_raw_cursor_to, tty_clear_to_end) | |
23121 | (tty_clear_frame, tty_clear_end_of_line, tty_write_glyphs) | |
23122 | (tty_insert_glyphs, tty_delete_glyphs, tty_ins_del_lines) | |
23123 | (term_get_fkeys, tty_setup_colors, dissociate_if_controlling_tty): | |
23124 | Add static modifier. | |
23125 | (tty_reset_terminal_modes, tty_set_terminal_window) | |
23126 | (tty_set_scroll_region, tty_background_highlight) | |
23127 | (tty_highlight_if_desired, tty_cursor_to) | |
23128 | (tty_raw_cursor_to, tty_clear_to_end, tty_clear_frame) | |
23129 | (tty_clear_end_of_line, tty_write_glyphs, tty_insert_glyphs) | |
23130 | (tty_delete_glyphs, tty_ins_del_lines, turn_on_face): Update for | |
23131 | renames. | |
23132 | ||
23133 | 2007-08-28 Jan Djärv <jan.h.d@swipnet.se> | |
23134 | ||
23135 | * keyboard.c: Qrtl is new. | |
23136 | (parse_tool_bar_item): Handle :rtl keyword. | |
23137 | (syms_of_keyboard): Intern :rtl keyword. | |
23138 | ||
23139 | * dispextern.h (enum tool_bar_item_idx): Add TOOL_BAR_ITEM_RTL_IMAGE. | |
23140 | ||
23141 | * gtkutil.c (xg_tool_bar_expose_callback): Just do SET_FRAME_GARBAGED | |
23142 | so no Lisp code is executed. | |
23143 | (file_for_image, find_rtl_image): New functions. | |
23144 | (xg_get_image_for_pixmap): Use file_for_image. | |
23145 | (update_frame_tool_bar): If direction is RTL, use RTL image if | |
23146 | defined. Use Gtk stock images if defined. | |
23147 | ||
23148 | 2007-08-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
23149 | ||
23150 | * macterm.c (x_draw_composite_glyph_string_foreground): Draw rectangle | |
23151 | for nonexistent or zero-width glyph in composition glyph. | |
23152 | ||
23153 | 2007-08-25 Stefan Monnier <monnier@iro.umontreal.ca> | |
23154 | ||
23155 | * m/amdx86-64.h: Redirect to intel386.h if compiling for i386. | |
23156 | ||
23157 | * xdisp.c (Finvisible_p): New function. | |
23158 | (syms_of_xdisp): defsubr it. | |
23159 | ||
23160 | 2007-08-24 Juanma Barranquero <lekktu@gmail.com> | |
23161 | ||
23162 | * image.c (syms_of_image) <image-library-alist, cross-disabled-images>: | |
23163 | Doc fixes. | |
23164 | ||
23165 | 2007-08-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
23166 | ||
23167 | * mac.c [MAC_OSX] (select_and_poll_event, sys_select): Fix last changes. | |
23168 | ||
23169 | 2007-08-24 Martin Rudalics <rudalics@gmx.at> | |
23170 | ||
23171 | * fileio.c (Finsert_file_contents): Consult CHARS_MODIFF to tell | |
23172 | whether decoding has modified buffer contents. | |
23173 | ||
23174 | 2007-08-24 Jason Rumney <jasonr@gnu.org> | |
23175 | ||
23176 | * image.c [HAVE_NTGUI]: Define dynamic loaded functions for SVG. | |
23177 | (Qgdk_pixbuf, Qglib) [HAVE_NTGUI]: New symbols. | |
23178 | (syms_of_image) [HAVE_NTGUI]: Intern and staticpro them. | |
23179 | (init_svg_functions) [HAVE_NTGUI]: New function. | |
23180 | (fn_g_type_init, fn_g_object_unref, fn_g_error_free): New #defines. | |
23181 | (svg_load_image): Use them. | |
23182 | (svg_load_image) [HAVE_NTGUI]: Implement background. | |
23183 | ||
23184 | 2007-08-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
23185 | ||
23186 | * Makefile.in (RSVG_LIBS, RSVG_CFLAGS): New variables. | |
23187 | (ALL_CFLAGS): Use ${RSVG_CFLAGS} instead of @RSVG_CFLAGS@. | |
23188 | (LIBX): Remove @RSVG_LIBS@. | |
23189 | (LIBES): Add $(RSVG_LIBS). | |
23190 | ||
23191 | * image.c (svg_load_image): Blend with specified background if exists. | |
23192 | Use IMAGE_BACKGROUND. Add Mac OS Support. | |
23193 | ||
23194 | * mac.c (wakeup_from_rne_enabled_p) [MAC_OSX]: Remove variable. | |
23195 | (ENABLE_WAKEUP_FROM_RNE, DISABLE_WAKEUP_FROM_RNE) [MAC_OSX]: | |
23196 | Remove macros. | |
23197 | [MAC_OSX] (socket_callback): Do nothing. | |
23198 | [MAC_OSX] (select_and_poll_event): Use CFRunLoopRunInMode instead of | |
23199 | ReceiveNextEvent. | |
23200 | [MAC_OSX] (sys_select): Likewise. Don't set context as argument to | |
23201 | socket_callback. | |
23202 | (mac_wakeup_from_rne) [MAC_OSX]: Do nothing. | |
23203 | ||
23204 | 2007-08-22 Glenn Morris <rgm@gnu.org> | |
23205 | ||
23206 | * image.c (x_find_image_file): Search in etc/images/ rather than etc/. | |
23207 | ||
23208 | 2007-08-22 Paul Pogonyshev <pogonyshev@gmx.net> | |
23209 | ||
23210 | * Makefile.in (ALL_CFLAGS, LIBX): Add RSVG_LIBS. | |
23211 | ||
23212 | * image.c: Add support for SVG images. Some additional comments | |
23213 | by Joakim Verona <joakim@verona.se>. When HAVE_RSVG is defined: | |
23214 | (svg_image_p): New function to test for SVG image. | |
23215 | (svg_load): New function to load SVG image. | |
23216 | (svg_load_image): New function, helper for svg_load. | |
23217 | (Qsvg): New Lisp_object. | |
23218 | (svg_keyword_index): New enum. | |
23219 | (svg_format): New static `image_keyword' struct. | |
23220 | (svg_type): New static `image_type' struct. | |
23221 | (librsvg/rsvg.h): Include it. | |
23222 | ||
23223 | 2007-08-23 Stefan Monnier <monnier@iro.umontreal.ca> | |
23224 | ||
23225 | * lread.c (load_warn_old_style_backquotes): Fix up array size typo. | |
23226 | ||
23227 | 2007-08-22 Stefan Monnier <monnier@iro.umontreal.ca> | |
23228 | ||
23229 | * lread.c (Qold_style_backquotes): New var. | |
23230 | (syms_of_lread): Init and staticpro it. | |
23231 | (load_warn_old_style_backquotes): New fun. | |
23232 | (Fload): Use them to warn about old style backquotes. | |
23233 | (end_of_file_error, Fload): Remove unused vars. | |
23234 | ||
23235 | * lisp.h (Fclear_face_cache, Fx_send_client_event): Declare. | |
23236 | ||
23237 | * lread.c (Vold_style_backquotes): New var. | |
23238 | (syms_of_lread): Init and export it to Elisp. | |
23239 | (read1): Set it when we find an old-style (back)quote. | |
23240 | ||
23241 | 2007-08-22 Jason Rumney <jasonr@gnu.org> | |
23242 | ||
23243 | * w32reg.c (SYSTEM_DEFAULT_RESOURCES): Add missing NULL terminator. | |
23244 | ||
23245 | 2007-08-22 Katsumi Yamaoka <yamaoka@jpl.org> | |
23246 | ||
23247 | * puresize.h (BASE_PURESIZE): Increase to 1140000. | |
23248 | ||
23249 | 2007-08-19 Richard Stallman <rms@gnu.org> | |
23250 | ||
23251 | * eval.c (Ffunction, Fquote): Signal error if not 1 argument. | |
23252 | ||
23253 | 2007-08-19 Andreas Schwab <schwab@suse.de> | |
23254 | ||
23255 | * alloc.c (pure): Round PURESIZE up. | |
23256 | ||
23257 | 2007-08-17 Jan Djärv <jan.h.d@swipnet.se> | |
23258 | ||
23259 | * xterm.c (handle_one_xevent): Remove check that mouse click is in | |
23260 | active frame. | |
23261 | ||
23262 | 2007-08-16 Richard Stallman <rms@gnu.org> | |
23263 | ||
23264 | * eval.c (Fcommandp): Add parens to clarify. | |
23265 | ||
23266 | * minibuf.c (Fall_completions): Use enum for type of table. | |
23267 | ||
23268 | * emacs.c (USAGE2): Improve text. | |
23269 | ||
23270 | 2007-08-15 Philippe Waroquiers <philippe.waroquiers@eurocontrol.int> | |
23271 | ||
23272 | * term.c (tty_default_color_capabilities): Declare static | |
23273 | variables in file scope, to avoid HPUX compiler problem. | |
23274 | ||
23275 | 2007-08-13 Jan Djärv <jan.h.d@swipnet.se> | |
23276 | ||
23277 | * gtkutil.c (update_frame_tool_bar): Use -1 as index | |
23278 | to gtk_toolbar_insert. | |
23279 | ||
23280 | 2007-08-13 Stefan Monnier <monnier@iro.umontreal.ca> | |
23281 | ||
23282 | * fileio.c (Finsert_file_contents): Yet Another Int/Lisp_Object Mixup. | |
23283 | ||
23284 | * insdel.c (reset_var_on_error): New fun. | |
23285 | (signal_before_change, signal_after_change): | |
23286 | Use it to reset (after|before)-change-functions to nil in case of error. | |
23287 | Bind inhibit-modification-hooks to t. | |
23288 | Don't bind (after|before)-change-functions to nil while they run. | |
23289 | ||
23290 | 2007-08-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
23291 | ||
23292 | * xterm.c (x_draw_image_glyph_string): Adjust stipple origin when | |
23293 | filling pixmap with stippled background. | |
23294 | ||
23295 | 2007-08-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
23296 | ||
23297 | * macterm.c [TARGET_API_MAC_CARBON] (mac_handle_window_event): | |
23298 | Don't use invisible frame as parent window for repositioning. | |
23299 | ||
23300 | 2007-08-10 Stefan Monnier <monnier@iro.umontreal.ca> | |
23301 | ||
23302 | * print.c (new_backquote_output): Rename from old_backquote_output. | |
23303 | (print): Inverse its logic (according to its name) so as to match the | |
23304 | behavior of new_backquote_flag in lread.c. | |
23305 | ||
23306 | 2007-08-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
23307 | ||
23308 | * gmalloc.c (posix_memalign): New function. | |
23309 | ||
23310 | * macterm.c (frame_highlight, frame_unhighlight): Don't call | |
23311 | ActivateControl/DeactivateControl here. | |
23312 | [USE_MAC_TOOLBAR] (free_frame_tool_bar): Suppress animation when | |
23313 | frame-notice-user-settings is non-nil. | |
23314 | [USE_MAC_FONT_PANEL] (mac_handle_font_event): Also record parameter | |
23315 | for kEventParamFMFontStyle. | |
23316 | [TARGET_API_MAC_CARBON] (mac_handle_keyboard_event): Don't check | |
23317 | mac_pass_command_to_system and mac_pass_control_to_system here. | |
23318 | (XTread_socket): Call ActivateControl/DeactivateControl here. | |
23319 | (XTread_socket) [TARGET_API_MAC_CARBON]: | |
23320 | Check mac_pass_command_to_system and mac_pass_control_to_system here. | |
23321 | (mac_handle_window_event) [USE_MAC_TOOLBAR]: Add further workaround | |
23322 | for window repositioning. | |
23323 | ||
23324 | 2007-08-08 Glenn Morris <rgm@gnu.org> | |
23325 | ||
23326 | * Replace `iff' in doc-strings and comments. | |
23327 | ||
23328 | 2007-08-07 Chong Yidong <cyd@stupidchicken.com> | |
23329 | ||
23330 | * xdisp.c (move_it_by_lines): Remove incorrect optimization. | |
23331 | ||
23332 | 2007-08-07 Martin Rudalics <rudalics@gmx.at> | |
23333 | ||
23334 | * fileio.c (Finsert_file_contents): Run format-decode and | |
23335 | after_insert_file_functions on entire buffer when REPLACE is | |
23336 | non-nil and inhibit modification_hooks and point_motion_hooks. | |
23337 | For consistency, run after_insert_file_functions iff something | |
23338 | got inserted. Move signal_after_change and update_compositions | |
23339 | after code running after_insert_file_functions. Make sure that | |
23340 | undo_list doesn't record intermediate steps of the decoding process. | |
23341 | ||
23342 | 2007-08-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
23343 | ||
23344 | * emacs.c (main) | |
23345 | [HAVE_GTK_AND_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]: | |
23346 | Call malloc_enable_thread on interactive startup. | |
23347 | ||
23348 | * gmalloc.c (_malloc_thread_enabled_p) [USE_PTHREAD]: New variable. | |
23349 | (LOCK, UNLOCK, LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS) | |
23350 | [USE_PTHREAD]: Conditionalize with it. | |
23351 | (malloc_atfork_handler_prepare, malloc_atfork_handler_parent) | |
23352 | (malloc_atfork_handler_child, malloc_enable_thread) [USE_PTHREAD]: | |
23353 | New functions. | |
23354 | ||
23355 | 2007-08-06 Chong Yidong <cyd@stupidchicken.com> | |
23356 | ||
23357 | * xdisp.c (redisplay_window): When restoring original buffer | |
23358 | position, make sure it is still valid. | |
23359 | ||
23360 | * image.c (png_load): Ignore png-supplied background color. | |
23361 | ||
23362 | 2007-08-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
23363 | ||
23364 | * mac.c [TARGET_API_MAC_CARBON] (cfdate_to_lisp): Obtain microsec value. | |
23365 | Use kCFAbsoluteTimeIntervalSince1970. | |
23366 | ||
23367 | * macmenu.c (quit_dialog_event_loop) [TARGET_API_MAC_CARBON]: | |
23368 | New variable. | |
23369 | [TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Set it if dialog | |
23370 | event loop should be quit. | |
23371 | [TARGET_API_MAC_CARBON] (create_and_show_dialog) [!MAC_OSX]: | |
23372 | Quit dialog event loop if quit_dialog_event_loop is set. | |
23373 | ||
23374 | * macselect.c [!TARGET_API_MAC_CARBON]: Include Scrap.h. | |
23375 | (Selection): New typedef. Use instead of ScrapRef. | |
23376 | (mac_get_selection_from_symbol): Rename from get_scrap_from_symbol. | |
23377 | (mac_valid_selection_target_p): Rename from valid_scrap_target_type_p. | |
23378 | (mac_clear_selection): Rename from clear_scrap. | |
23379 | (get_flavor_type_from_symbol): New argument SEL and subsume function of | |
23380 | scrap_has_target_type. All uses changed. | |
23381 | (mac_get_selection_ownership_info, mac_valid_selection_value_p) | |
23382 | (mac_selection_has_target_p): New functions. | |
23383 | (mac_put_selection_value): Rename from put_scrap_string. | |
23384 | (mac_get_selection_value): Rename from get_scrap_string. | |
23385 | (mac_get_selection_target_list): Rename from get_scrap_target_type_list. | |
23386 | (put_scrap_private_timestamp, scrap_has_target_type) | |
23387 | (get_scrap_private_timestamp): Remove functions. | |
23388 | (SCRAP_FLAVOR_TYPE_EMACS_TIMESTAMP): Remove define. | |
23389 | (x_own_selection, x_get_local_selection): | |
23390 | Use mac_valid_selection_value_p. | |
23391 | (x_own_selection): Don't use put_scrap_private_timestamp. | |
23392 | Record OWNERSHIP-INFO into Vselection_alist instead. | |
23393 | (x_get_local_selection): Don't check type if request is local. | |
23394 | (Fx_selection_owner_p): Don't use get_scrap_private_timestamp. | |
23395 | Detect ownership change with OWNERSHIP-INFO in Vselection_alist instead. | |
23396 | ||
23397 | 2007-08-04 Jan Djärv <jan.h.d@swipnet.se> | |
23398 | ||
23399 | * gtkutil.c (xg_tool_bar_callback): Generate two TOOL_BAR_EVENT:s, | |
23400 | add comment explaining why. | |
23401 | ||
23402 | 2007-08-03 Richard Stallman <rms@gnu.org> | |
23403 | ||
23404 | * fileio.c (Fvisited_file_modtime): Use make_time. | |
23405 | ||
23406 | 2007-08-01 Ryo Yoshitake <ryo@shiftmode.net> (tiny change) | |
23407 | ||
23408 | * mac.c (init_mac_osx_environment): Adjust load-path on self-contained | |
23409 | build. | |
23410 | ||
23411 | 2007-07-31 Stefan Monnier <monnier@iro.umontreal.ca> | |
23412 | ||
23413 | * gtkutil.c (xg_tool_bar_callback): Generate a single TOOL_BAR_EVENT. | |
23414 | ||
23415 | 2007-07-30 Katsumi Yamaoka <yamaoka@jpl.org> | |
23416 | ||
23417 | * puresize.h (BASE_PURESIZE): Increase to 1130000. | |
23418 | ||
23419 | 2007-07-30 Richard Stallman <rms@gnu.org> | |
23420 | ||
23421 | * lread.c (readevalloop, read1): Treat NBSP as whitespace. | |
23422 | ||
23423 | 2007-07-29 Jan Djärv <jan.h.d@swipnet.se> | |
23424 | ||
23425 | * gmalloc.c (__malloc_initialize): Remove pthread_once. Not needed. | |
23426 | ||
23427 | 2007-07-28 Nick Roberts <nickrob@snap.net.nz> | |
23428 | ||
23429 | * xdisp.c (decode_mode_spec): Use '@' instead of 'R' to test for | |
23430 | remote default-directory. | |
23431 | ||
23432 | * buffer.c (mode-line-format): Update doc string. | |
23433 | ||
23434 | 2007-07-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
23435 | ||
23436 | * w32term.c (w32_draw_fringe_bitmap): Extend fringe background to | |
23437 | scroll bar gap. | |
23438 | (x_scroll_bar_create): Set bar->fringe_extended_p. | |
23439 | (w32_set_vertical_scroll_bar): Put leftmost/rightmost scroll bars | |
23440 | on frame edge. Check fringe background extension. Don't clear | |
23441 | extended fringe background area. | |
23442 | ||
23443 | * w32term.h (struct scroll_bar): New member fringe_extended_p. | |
23444 | (w32_fill_area): Enclose multiple statements with do ... while (0). | |
23445 | ||
23446 | * xterm.c (x_draw_fringe_bitmap) [USE_TOOLKIT_SCROLL_BARS]: | |
23447 | Extend fringe background to scroll bar gap. | |
23448 | (x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS]: | |
23449 | Set bar->fringe_extended_p. | |
23450 | (XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: | |
23451 | Put leftmost/rightmost scroll bars on frame edge. Check fringe | |
23452 | background extension. Don't clear extended fringe background area. | |
23453 | ||
23454 | * xterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: | |
23455 | New member fringe_extended_p. | |
23456 | ||
23457 | 2007-07-25 Glenn Morris <rgm@gnu.org> | |
23458 | ||
23459 | * Relicense all FSF files to GPLv3 or later. | |
23460 | ||
23461 | * COPYING: Switch to GPLv3. | |
23462 | ||
23463 | 2007-07-25 Stefan Monnier <monnier@iro.umontreal.ca> | |
23464 | ||
23465 | * eval.c (Fcommandp): Pay attention to the `interactive-form' property. | |
23466 | ||
23467 | * data.c (Finteractive_form): Check for the presence of an | |
23468 | `interactive-form' symbol property more thoroughly. | |
23469 | ||
23470 | * data.c (Finteractive_form): Use an `interactive-form' property if | |
23471 | present, analogous to the function-documentation property. | |
23472 | ||
23473 | 2007-07-24 Jason Rumney <jasonr@gnu.org> | |
23474 | ||
23475 | * w32fns.c (x_real_positions): Get real position from OS instead of | |
23476 | calculating it. | |
23477 | ||
23478 | 2007-07-23 Jason Rumney <jasonr@gnu.org> | |
23479 | ||
23480 | * filelock.c (current_lock_owner): Allow for @ sign in username. | |
23481 | ||
23482 | 2007-07-22 Nick Roberts <nickrob@snap.net.nz> | |
23483 | ||
23484 | * xdisp.c (decode_mode_spec): Add case 'R' for to test for | |
23485 | remote default-directory. | |
23486 | ||
23487 | * buffer.c (mode-line-format): Describe above case in doc string. | |
23488 | ||
23489 | 2007-07-20 Eli Zaretskii <eliz@gnu.org> | |
23490 | ||
23491 | * w32proc.c (IMAGE_NT_OPTIONAL_HDR32_MAGIC, IMAGE_OPTIONAL_HEADER32): | |
23492 | Define if not defined. | |
23493 | ||
23494 | 2007-07-18 Jason Rumney <jasonr@gnu.org> | |
23495 | ||
23496 | * w32proc.c (w32_executable_type): Handle 64 bit executables. | |
23497 | ||
23498 | 2007-07-18 Richard Stallman <rms@gnu.org> | |
23499 | ||
23500 | * data.c (Fsetq_default): Doc fix. | |
23501 | ||
23502 | * eval.c (Fsetq): Doc fix. | |
23503 | ||
23504 | 2007-07-18 Juanma Barranquero <lekktu@gmail.com> | |
23505 | ||
23506 | * coding.c (Ffind_operation_coding_system): | |
23507 | * eval.c (For, Fand): Doc fixes. | |
23508 | Reported by Johan Bockgård. | |
23509 | ||
23510 | 2007-07-18 Jan Djärv <jan.h.d@swipnet.se> | |
23511 | ||
23512 | * xfns.c (Fx_focus_frame): Call x_ewmh_activate_frame. | |
23513 | ||
23514 | * xterm.h: Declare x_ewmh_activate_frame. | |
23515 | ||
23516 | * xterm.c (x_ewmh_activate_frame): New function. | |
23517 | (XTframe_raise_lower): Move code to x_ewmh_activate_frame. | |
23518 | ||
23519 | 2007-07-17 Martin Rudalics <rudalics@gmx.at> | |
23520 | ||
23521 | * window.c (Fdisplay_buffer): If largest or LRU window is the | |
23522 | only window, split it even if it is not eligible for splitting. | |
23523 | This restores the original behavior broken by the 2007-07-15 | |
23524 | change. | |
23525 | ||
23526 | 2007-07-17 Glenn Morris <rgm@gnu.org> | |
23527 | ||
23528 | * abbrev.c (abbrev_check_chars): New function. | |
23529 | (Fdefine_global_abbrev, Fdefine_mode_abbrev): | |
23530 | Call abbrev_check_chars to check abbrev characters are word | |
23531 | constituents. Doc fix. | |
23532 | ||
23533 | 2007-07-17 Stefan Monnier <monnier@iro.umontreal.ca> | |
23534 | ||
23535 | * process.c (Fstart_process, Fmake_network_process) | |
23536 | (read_process_output): Fix up last changes. | |
23537 | ||
23538 | 2007-07-16 Eli Zaretskii <eliz@gnu.org> | |
23539 | ||
23540 | * makefile.w32-in (clean): Don't delete *~. | |
23541 | ||
23542 | 2007-07-16 Andreas Schwab <schwab@suse.de> | |
23543 | ||
23544 | * window.c (Fdisplay_buffer): Use NILP. | |
23545 | (Fset_window_scroll_bars): Likewise. | |
23546 | ||
23547 | 2007-07-15 Martin Rudalics <rudalics@gmx.at> | |
23548 | ||
23549 | * window.c (window_min_size_2): New function. | |
23550 | (window_min_size_1, size_window, Fdisplay_buffer) | |
23551 | (Fsplit_window, adjust_window_trailing_edge): Use it to avoid | |
23552 | windows without mode- or header-lines when window-min-height is | |
23553 | too small. | |
23554 | (size_window): Reset nodelete_p after testing it, following an | |
23555 | earlier note by Kim F. Storm. | |
23556 | (display_buffer): Do not set split_height_threshold to twice the | |
23557 | value of window_min_height to avoid changing the value of a | |
23558 | customizable variable. Rather explicitly check whether the | |
23559 | height of the window that shall be splitted is at least as large | |
23560 | as split_height_threshold. | |
23561 | (Fwindow_full_width_p): New defun. | |
23562 | (syms_of_window): Defsubr it. | |
23563 | ||
23564 | * window.h: Add EXFUN for Fwindow_full_width_p. | |
23565 | ||
23566 | 2007-07-14 Jason Rumney <jasonr@gnu.org> | |
23567 | ||
23568 | * process.c [WINDOWSNT]: Don't undefine AF_INET6. | |
23569 | ||
23570 | 2007-07-14 Richard Stallman <rms@gnu.org> | |
23571 | ||
23572 | * eval.c (maybe_call_debugger): New function. | |
23573 | (find_handler_clause): Use maybe_call_debugger. | |
23574 | Call it when the handler says `debug'. | |
23575 | Eliminate DEBUGGER_VALUE_PTR. | |
23576 | (Fsignal): Eliminate debugger_value. | |
23577 | (Qdebug): New variable. | |
23578 | (syms_of_eval): Initialize it. | |
23579 | ||
23580 | 2007-07-14 Juanma Barranquero <lekktu@gmail.com> | |
23581 | ||
23582 | * eval.c (Fprogn): | |
23583 | * keyboard.c (Ftrack_mouse): | |
23584 | * print.c (Fwith_output_to_temp_buffer): | |
23585 | * window.c (Fsave_window_excursion): Doc fix. | |
23586 | ||
23587 | 2007-07-13 Stefan Monnier <monnier@iro.umontreal.ca> | |
23588 | ||
23589 | * eval.c (init_eval_once): Bump max_lisp_eval_depth to 400. | |
23590 | ||
23591 | 2007-07-12 Stefan Monnier <monnier@iro.umontreal.ca> | |
23592 | ||
23593 | * process.h (struct Lisp_Process): Turn slots infd, outfd, | |
23594 | kill_without_query, pty_flag, tick, update_tick, decoding_carryover, | |
23595 | inherit_coding_system_flag, filter_multibyte, adaptive_read_buffering, | |
23596 | read_output_delay, and read_output_skip from Lisp_Objects to ints. | |
23597 | Remove unused encoding_carryover. | |
23598 | * process.c: Adjust all functions accordingly. | |
23599 | ||
23600 | 2007-07-12 Richard Stallman <rms@gnu.org> | |
23601 | ||
23602 | * term.c: Include unistd.h only if HAVE_UNISTD_H. | |
23603 | ||
23604 | 2007-07-11 Jason Rumney <jasonr@gnu.org> | |
23605 | ||
23606 | * makefile.w32-in (LIBS): Include OLE32. | |
23607 | ||
23608 | * w32fns.c (w32_msg_pump) <WM_EMACS_CREATEWINDOW>: Initialize COM. | |
23609 | (w32_msg_pump) <WM_DESTROY>: Uninitialize COM. | |
23610 | ||
23611 | 2007-07-11 Stefan Monnier <monnier@iro.umontreal.ca> | |
23612 | ||
23613 | * lisp.h (struct Lisp_Hash_Table): Turn next_weak into a bare pointer. | |
23614 | * fns.c (weak_hash_tables): Rename from Vweak_hash_tables and turned | |
23615 | from a Lisp_Object into a bare pointer. | |
23616 | (make_hash_table, copy_hash_table, sweep_weak_hash_tables, init_fns): | |
23617 | Adjust the code correspondingly. | |
23618 | ||
23619 | * alloc.c (emacs_blocked_free): Remove unused var `bytes_used_now'. | |
23620 | ||
23621 | * term.c: Include unistd.h for ttyname, used in handle_one_term_event. | |
23622 | (term_show_mouse_face): Remove unused var `j'. | |
23623 | (handle_one_term_event): Remove unused vars `i' and `j'. | |
23624 | Don't cast return value of ttyname since it's not necessary. | |
23625 | ||
23626 | 2007-07-10 Stefan Monnier <monnier@iro.umontreal.ca> | |
23627 | ||
23628 | * alloc.c (mark_maybe_pointer): Enforce mult-of-8 alignment when using | |
23629 | USE_LSB_TAG. Suggested by Dmitry Antipov <dmantipov@yandex.ru>. | |
23630 | ||
23631 | * fns.c (map_char_table): Use an array of int for `indices' rather than | |
23632 | an array of Lisp_Objects (which are only ever integers anyway). | |
23633 | (Fmap_char_table): Update caller. | |
23634 | * lisp.h: Update prototype. | |
23635 | * keymap.c (Fset_keymap_parent, map_keymap, Fcopy_keymap): | |
23636 | * fontset.c (Ffontset_info): | |
23637 | * casetab.c (set_case_table): Update callers. | |
23638 | ||
23639 | * editfns.c (Ftranspose_regions): Use EMACS_INT for positions. | |
23640 | ||
23641 | * keymap.c (struct accessible_keymaps_data) | |
23642 | (struct where_is_internal_data): New structures. | |
23643 | (accessible_keymaps_1, where_is_internal_1): Use them to change | |
23644 | interface to adhere to the one used by map_keymap. | |
23645 | (Faccessible_keymaps, where_is_internal): Use map_keymap. | |
23646 | (accessible_keymaps_char_table, where_is_internal_2): Remove. | |
23647 | ||
23648 | * keymap.h (map_keymap_function_t): More informative prototype. | |
23649 | ||
23650 | 2007-07-10 Guanpeng Xu <herberteuler@hotmail.com> | |
23651 | ||
23652 | * search.c (Vinhibit_changing_match_data, search_regs_1): New vars. | |
23653 | (looking_at_1): Don't change search_regs and last_thing_searched | |
23654 | if `inhibit-changing-match-data' is non-nil. | |
23655 | (string_match_1, search_buffer, set_search_regs): Likewise. | |
23656 | (syms_of_search): Add Lisp level definition for | |
23657 | `inhibit-changing-match-data' and set it to nil. | |
23658 | (boyer_moore): If `inhibit-changing-match-data' is non-nil, compute | |
23659 | start and end of the match, instead of using values in search_regs. | |
23660 | ||
23661 | 2007-07-01 Stefan Monnier <monnier@iro.umontreal.ca> | |
23662 | ||
23663 | * minibuf.c (Fcompleting_read): New value `confirm-only' | |
23664 | for `require-match'. | |
23665 | ||
23666 | 2007-06-28 Stefan Monnier <monnier@iro.umontreal.ca> | |
23667 | ||
23668 | * fileio.c (Fdo_auto_save): Revert last patch installed unwillingly as | |
23669 | part of the 2007-06-27 change to syms_of_fileio. | |
23670 | ||
23671 | 2007-06-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
23672 | ||
23673 | * macterm.c [USE_MAC_TSM] (mac_handle_text_input_event): | |
23674 | Check WINDOWP before using XWINDOW. Consolidate return statements. | |
23675 | ||
23676 | 2007-06-27 Richard Stallman <rms@gnu.org> | |
23677 | ||
23678 | * fileio.c (syms_of_fileio) <after-insert-file-functions>: Doc fix. | |
23679 | ||
23680 | 2007-06-27 Juanma Barranquero <lekktu@gmail.com> | |
23681 | ||
23682 | * buffer.c (syms_of_buffer) <selective-display>: Fix typo in docstring. | |
23683 | ||
23684 | 2007-06-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
23685 | ||
23686 | * gmalloc.c [HAVE_GTK_AND_PTHREAD]: Check this after including config.h. | |
23687 | (_aligned_blocks_mutex) [USE_PTHREAD]: New variable. | |
23688 | (LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS): New macros. | |
23689 | (_free_internal, memalign): Use them. | |
23690 | (_malloc_mutex, _aligned_blocks_mutex) [USE_PTHREAD]: | |
23691 | Initialize to PTHREAD_MUTEX_INITIALIZER. | |
23692 | (malloc_initialize_1) [USE_PTHREAD]: Don't use recursive mutex. | |
23693 | (morecore_nolock): Rename from morecore. All uses changed. | |
23694 | Use only nolock versions of internal allocation functions. | |
23695 | (_malloc_internal_nolock, _realloc_internal_nolock) | |
23696 | (_free_internal_nolock): New functions created from | |
23697 | _malloc_internal, _realloc_internal, and _free_internal. | |
23698 | (_malloc_internal, _realloc_internal, _free_internal): Use them. | |
23699 | Copy hook value to automatic variable before its use. | |
23700 | (memalign): Copy hook value to automatic variable before its use. | |
23701 | ||
23702 | 2007-06-26 Kenichi Handa <handa@m17n.org> | |
23703 | ||
23704 | * coding.c (Ffind_operation_coding_system): Docstring improved. | |
23705 | (syms_of_coding): Docstring of `file-coding-system-alist' improved. | |
23706 | ||
23707 | 2007-06-25 David Kastrup <dak@gnu.org> | |
23708 | ||
23709 | * keymap.c (Fcurrent_active_maps): Add `position' argument. | |
23710 | (Fwhere_is_internal): Adjust call to `current-active-maps' to | |
23711 | cater for additional parameter. | |
23712 | ||
23713 | * keymap.h: Adjust number of parameters to `current-active-maps'. | |
23714 | ||
23715 | * doc.c (Fsubstitute_command_keys): Adjust call of | |
23716 | `current-active-maps'. | |
23717 | ||
23718 | 2007-06-25 David Kastrup <dak@gnu.org> | |
23719 | ||
23720 | * callint.c (Fcall_interactively): Make the parsing of interactive | |
23721 | specs somewhat more readable. | |
23722 | ||
23723 | 2007-06-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
23724 | ||
23725 | * macterm.c (x_draw_fringe_bitmap) [MAC_OSX]: Extend fringe background | |
23726 | to scroll bar gap also when bitmap fills fringe. Draw only foreground | |
23727 | if extended background has already been filled. | |
23728 | ||
23729 | 2007-06-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
23730 | ||
23731 | * macgui.h (USE_CG_DRAWING): Don't require USE_ATSUI. | |
23732 | (USE_MAC_TOOLBAR): Require USE_CG_DRAWING. | |
23733 | ||
23734 | * macmenu.c (mac_dialog_modal_filter, Fx_popup_dialog) [MAC_OSX]: | |
23735 | Put special treatment for Fmessage_box, Fyes_or_no_p, and Fy_or_n_p | |
23736 | in #if 0 as it is not compatible with y-or-n-p-with-timeout. | |
23737 | (timer_check) [TARGET_API_MAC_CARBON]: Add extern. | |
23738 | [TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Use QuitEventLoop | |
23739 | instead of QuitAppModalLoopForWindow. Consolidate QuitEventLoop calls. | |
23740 | (pop_down_dialog) [TARGET_API_MAC_CARBON]: New function. | |
23741 | [TARGET_API_MAC_CARBON] (create_and_show_dialog): Use it for unwind. | |
23742 | Run timers during dialog popup. | |
23743 | (Fmenu_or_popup_active_p) [TARGET_API_MAC_CARBON]: Use popup_activated. | |
23744 | ||
23745 | 2007-06-21 Jason Rumney <jasonr@gnu.org> | |
23746 | ||
23747 | * image.c (convert_mono_to_color_image): Swap fore and background. | |
23748 | ||
23749 | 2007-06-20 Jason Rumney <jasonr@gnu.org> | |
23750 | ||
23751 | * w32bdf.c (w32_BDF_to_x_font): Unmap memory when finished. | |
23752 | (w32_free_bdf_font): Unmap memory not handle. | |
23753 | ||
23754 | 2007-06-20 Sam Steingold <sds@gnu.org> | |
23755 | ||
23756 | * gmalloc.c (__morecore): Fix the declaration to comply with the | |
23757 | definition. | |
23758 | ||
23759 | 2007-06-20 Juanma Barranquero <lekktu@gmail.com> | |
23760 | ||
23761 | * w32term.c (w32_delete_display): Remove leftover declaration. | |
23762 | (w32_define_cursor, w32_initialize): Make static. | |
23763 | ||
23764 | * w32.c (_wsa_errlist): Fix typo in error message. | |
23765 | (init_environment): Ignore any environment variable from the | |
23766 | registry having a null value. | |
23767 | ||
23768 | 2007-06-20 Glenn Morris <rgm@gnu.org> | |
23769 | ||
23770 | * Makefile.in (LIBGIF): Default to -lgif. | |
23771 | ||
23772 | 2007-06-17 Jason Rumney <jasonr@gnu.org> | |
23773 | ||
23774 | * w32menu.c (add_menu_item): Don't use multibyte string functions on | |
23775 | unicode strings. | |
23776 | ||
23777 | 2007-06-16 Juanma Barranquero <lekktu@gmail.com> | |
23778 | ||
23779 | * xdisp.c (syms_of_xdisp) <auto-resize-tool-bars>: | |
23780 | Fix typo in docstring. | |
23781 | ||
23782 | 2007-06-16 Eli Zaretskii <eliz@gnu.org> | |
23783 | ||
23784 | * w32menu.c (add_menu_item): Escape `&' characters in menu items | |
23785 | and their keybindings. | |
23786 | ||
23787 | 2007-06-15 Chong Yidong <cyd@stupidchicken.com> | |
23788 | ||
23789 | * composite.c (update_compositions): Fix last fix. | |
23790 | ||
23791 | 2007-06-14 Jason Rumney <jasonr@gnu.org> | |
23792 | ||
23793 | * w32.c (get_process_times_fn): New function pointer. | |
23794 | (globals_of_w32): Intialize it if present in kernel32.dll. | |
23795 | (w32_get_internal_run_time): New function. | |
23796 | ||
23797 | * editfns.c (Fget_internal_run_time) [WINDOWSNT]: Use it. | |
23798 | ||
23799 | 2007-06-14 Kenichi Handa <handa@etlken.m17n.org> | |
23800 | ||
23801 | * composite.c (update_compositions): Check the validness of | |
23802 | compositions. | |
23803 | ||
23804 | 2007-06-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
23805 | ||
23806 | * frame.h (struct frame) [MAC_OS]: New member external_tool_bar. | |
23807 | (FRAME_EXTERNAL_TOOL_BAR) [MAC_OS]: Use it. | |
23808 | ||
23809 | * macfns.c (mac_window) [USE_MAC_TOOLBAR]: Set toolbar_win_gravity. | |
23810 | (x_set_tool_bar_lines) [USE_MAC_TOOLBAR]: Set FRAME_EXTERNAL_TOOL_BAR. | |
23811 | ||
23812 | * macgui.h (USE_MAC_TOOLBAR): New define. | |
23813 | ||
23814 | * macmenu.c [TARGET_API_MAC_CARBON] (menu_target_item_handler): | |
23815 | Return immediately unless popup is activated. | |
23816 | ||
23817 | * macterm.c (x_draw_fringe_bitmap) [MAC_OSX]: Extend fringe | |
23818 | background to scroll bar gap. | |
23819 | (x_scroll_bar_create) [MAC_OSX]: Set bar->fringe_extended_p. | |
23820 | (XTset_vertical_scroll_bar) [MAC_OSX]: Put leftmost/rightmost | |
23821 | scroll bars on frame edge. Check fringe background extension. | |
23822 | Don't clear extended fringe background area. | |
23823 | (TOOLBAR_IDENTIFIER, TOOLBAR_ICON_ITEM_IDENTIFIER) | |
23824 | (TOOLBAR_ITEM_COMMAND_ID_OFFSET, TOOLBAR_ITEM_COMMAND_ID_P) | |
23825 | (TOOLBAR_ITEM_COMMAND_ID_VALUE, TOOLBAR_ITEM_MAKE_COMMAND_ID): | |
23826 | [USE_MAC_TOOLBAR]: New macros. | |
23827 | (mac_move_window_with_gravity, mac_get_window_origin_with_gravity) | |
23828 | (mac_handle_toolbar_event, mac_image_spec_to_cg_image) | |
23829 | (mac_create_frame_tool_bar, update_frame_tool_bar, free_frame_tool_bar) | |
23830 | (mac_tool_bar_note_mouse_movement, mac_handle_toolbar_command_event) | |
23831 | [USE_MAC_TOOLBAR]: New functions. | |
23832 | (mac_handle_window_event) [USE_MAC_TOOLBAR]: Reposition window | |
23833 | manually if previous repositioning has failed. | |
23834 | (mac_handle_keyboard_event): Use precomputed event kind. | |
23835 | (XTread_socket) [USE_MAC_TOOLBAR]: Handle click in structure region | |
23836 | as tool bar item click. Handle mouse movement over tool bar items. | |
23837 | ||
23838 | * macterm.h (struct mac_output) [USE_MAC_TOOLBAR]: New member | |
23839 | toolbar_win_gravity. | |
23840 | (struct scroll_bar) [MAC_OSX]: New member fringe_extended_p. | |
23841 | (update_frame_tool_bar, free_frame_tool_bar) [USE_MAC_TOOLBAR]: | |
23842 | Add externs. | |
23843 | ||
23844 | * xdisp.c (update_tool_bar, redisplay_tool_bar, redisplay_window) | |
23845 | [USE_MAC_TOOLBAR]: Sync with GTK+ tool bar display. | |
23846 | ||
23847 | 2007-06-14 Chong Yidong <cyd@stupidchicken.com> | |
23848 | ||
23849 | * image.c (search_image_cache): Remove unused variable. | |
23850 | ||
23851 | 2007-06-13 Chong Yidong <cyd@stupidchicken.com> | |
23852 | ||
23853 | * xfns.c, xmenu.c: Link to xaw3d if available. | |
23854 | ||
23855 | 2007-06-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
23856 | ||
23857 | * dispextern.h (struct image) [HAVE_WINDOW_SYSTEM]: New members | |
23858 | frame_foreground and frame_background. | |
23859 | ||
23860 | * image.c (lookup_image): Save frame foreground and background colors. | |
23861 | (search_image_cache): Check if saved and current frame colors match. | |
23862 | ||
23863 | 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca> | |
23864 | ||
23865 | * regex.c (regex_compile): Remove the `regnum' counter. | |
23866 | Use bufp->re_nsub instead. Add support for \(?N:RE\). | |
23867 | ||
23868 | 2007-06-11 Stefan Monnier <monnier@iro.umontreal.ca> | |
23869 | ||
23870 | * term.c: Include intervals.h to declare Fget_text_property. | |
23871 | ||
23872 | 2007-06-10 Jason Rumney <jasonr@gnu.org> | |
23873 | ||
23874 | * w32fns.c (Fx_file_dialog): Take size from struct not pointer. | |
23875 | ||
23876 | 2007-06-08 Juanma Barranquero <lekktu@gmail.com> | |
23877 | ||
23878 | * callint.c (Fcall_interactively): | |
23879 | * editfns.c (Fdelete_and_extract_region): | |
23880 | * fileio.c (Fread_file_name): | |
23881 | * fns.c (Fmapconcat): | |
23882 | * keyboard.c (cmd_error_internal): | |
23883 | * keymap.c (Fkey_description): | |
23884 | * lread.c (openp): | |
23885 | * minibuf.c (read_minibuf): | |
23886 | * search.c (wordify): | |
23887 | * sunfns.c (sel_read): | |
23888 | * xdisp.c (Fformat_mode_line, syms_of_xdisp): | |
23889 | * xfns.c (x_default_scroll_bar_color_parameter): | |
23890 | * xmenu.c (menu_help_callback): | |
23891 | * xselect.c (Fx_get_atom_name): | |
23892 | * xterm.c (x_term_init): Use empty_unibyte_string. | |
23893 | ||
23894 | 2007-06-08 Dmitry Antipov <dmantipov@yandex.ru> (tiny change) | |
23895 | ||
23896 | * alloc.c (init_strings): Initialize canonical empty strings. | |
23897 | (make_uninit_string, make_uninit_multibyte_string): Return appropriate | |
23898 | canonical empty string when the requested size is 0. | |
23899 | ||
23900 | * emacs.c (empty_unibyte_string): Rename from empty_string. | |
23901 | (empty_multibyte_string): New canonical empty string. | |
23902 | (syms_of_emacs): Don't initialize empty_string. | |
23903 | ||
23904 | * lisp.h (STRING_SET_UNIBYTE): Return the canonical empty unibyte | |
23905 | string, if appropriate. | |
23906 | (empty_unibyte_string, empty_multibyte_string): New externs. | |
23907 | (empty_string): Remove extern. | |
23908 | ||
23909 | * lread.c (syms_of_lread): Use empty_unibyte_string. | |
23910 | ||
23911 | 2007-06-07 Jason Rumney <jasonr@gnu.org> | |
23912 | ||
23913 | * s/ms-w32.h: Don't define HAVE_TZNAME. | |
23914 | ||
23915 | * editfns.c (Fcurrent_time_zone): Remove hack for Japanese Windows. | |
23916 | ||
23917 | 2007-06-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
23918 | ||
23919 | * mac.c (xrm_get_preference_database): Remove BLOCK_INPUT. | |
23920 | ||
23921 | * macfns.c (mac_get_window_bounds): Move extern to macterm.h. | |
23922 | (compute_tip_xy) [TARGET_API_MAC_CARBON]: Use GetGlobalMouse. | |
23923 | ||
23924 | * macmenu.c [TARGET_API_MAC_CARBON] (menu_target_item_handler): | |
23925 | Don't call next handler. | |
23926 | [TARGET_API_MAC_CARBON] (install_menu_target_item_handler): | |
23927 | Remove argument. Install handler to application. | |
23928 | (set_frame_menubar): Don't change deep_p. | |
23929 | (mac_menu_show): Use FRAME_OUTER_TO_INNER_DIFF_X and | |
23930 | FRAME_OUTER_TO_INNER_DIFF_Y. | |
23931 | (DIALOG_BUTTON_COMMAND_ID_OFFSET, DIALOG_BUTTON_COMMAND_ID_P) | |
23932 | (DIALOG_BUTTON_COMMAND_ID_VALUE, DIALOG_BUTTON_MAKE_COMMAND_ID) | |
23933 | [HAVE_DIALOGS]: New macros. | |
23934 | [HAVE_DIALOGS] (mac_handle_dialog_event, create_and_show_dialog): | |
23935 | Use them. | |
23936 | (fill_menubar) [TARGET_API_MAC_CARBON]: Use CFString. | |
23937 | ||
23938 | * macselect.c [MAC_OSX] (install_service_handler): Rename from | |
23939 | init_service_handler. All callers changed. Return OSStatus value. | |
23940 | ||
23941 | * macterm.c (mac_begin_cg_clip): New arg F. Call SetPortWindowPort. | |
23942 | All callers changed so as not to call SetPortWindowPort. | |
23943 | (mac_begin_cg_clip) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. | |
23944 | (mac_draw_image_string_atsui) [USE_ATSUI]: New function created from | |
23945 | mac_draw_string_common. | |
23946 | (mac_draw_image_string_qd): Likewise. | |
23947 | (mac_draw_string_common): Use them. Add INLINE. | |
23948 | (XTmouse_position, x_scroll_bar_report_motion) [TARGET_API_MAC_CARBON]: | |
23949 | Use FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y, and | |
23950 | GetGlobalMouse. | |
23951 | (x_set_mouse_pixel_position) [MAC_OSX]: Use FRAME_OUTER_TO_INNER_DIFF_X | |
23952 | and FRAME_OUTER_TO_INNER_DIFF_Y. | |
23953 | [TARGET_API_MAC_CARBON] (mac_handle_mouse_event): Likewise. | |
23954 | [USE_MAC_TSM] (mac_handle_text_input_event): Likewise. | |
23955 | (x_make_frame_visible) [TARGET_API_MAC_CARBON]: Move code for | |
23956 | repositioning window to mac_handle_window_event. | |
23957 | (x_make_frame_invisible) [TARGET_API_MAC_CARBON]: Move code for | |
23958 | saving window location to mac_handle_window_event | |
23959 | [USE_MAC_FONT_PANEL] (mac_show_hide_font_panel): Install handler here. | |
23960 | (install_menu_target_item_handler): Remove argument in extern. | |
23961 | [TARGET_API_MAC_CARBON] (mac_event_to_emacs_modifiers): | |
23962 | Also accept command events. | |
23963 | (do_keystroke): New function created from XTread_socket. | |
23964 | (init_command_handler): Remove functions. | |
23965 | [TARGET_API_MAC_CARBON] (mac_handle_window_event): Reposition window | |
23966 | and save window location by kEventWindowShowing and kEventWindowHiding | |
23967 | handlers here. Don't call next handler for window state change and | |
23968 | focus events. | |
23969 | (mac_handle_application_event, mac_handle_keyboard_event) | |
23970 | [TARGET_API_MAC_CARBON]: New functions. | |
23971 | (install_window_handler) [TARGET_API_MAC_CARBON]: Register handlers for | |
23972 | kEventWindowShowing and kEventWindowHiding events. Move installation | |
23973 | of mouse, font, text input and menu target item handlers to | |
23974 | install_application_handler. | |
23975 | (install_application_handler) [TARGET_API_MAC_CARBON]: New function. | |
23976 | (mac_handle_cg_display_reconfig) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
23977 | New function. | |
23978 | (init_dm_notification_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
23979 | Register it. | |
23980 | (XTread_socket) [TARGET_API_MAC_CARBON]: | |
23981 | Consolidate SendEventToEventTarget calls. | |
23982 | Use FRAME_OUTER_TO_INNER_DIFF_X and FRAME_OUTER_TO_INNER_DIFF_Y. | |
23983 | Move application activation handler to mac_handle_application_event. | |
23984 | Move keyboard handler to mac_handle_keyboard_event. | |
23985 | (XTread_socket) [!TARGET_API_MAC_CARBON]: Use do_keystroke. | |
23986 | (mac_initialize) [TARGET_API_MAC_CARBON]: Don't call | |
23987 | init_command_handler. Call install_application_handler. | |
23988 | ||
23989 | * macterm.h (mac_get_window_bounds): Move extern from macfns.c. | |
23990 | (FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y): New macros. | |
23991 | ||
23992 | 2007-06-07 Glenn Morris <rgm@gnu.org> | |
23993 | ||
23994 | * emacs.c (main): Use `emacs-copyright' in --version output. | |
23995 | ||
23996 | 2007-06-06 Chong Yidong <cyd@stupidchicken.com> | |
23997 | ||
23998 | * image.c (xpm_load): Remove spurious call to xpm_init_color_cache. | |
23999 | ||
24000 | 2007-06-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
24001 | ||
24002 | * macfns.c (mac_window): Replace WindowPtr with WindowRef. | |
24003 | ||
24004 | * macgui.h: Replace WindowPtr with WindowRef. | |
24005 | ||
24006 | * macmenu.c: Replace MenuHandle and GetMenuHandle with MenuRef and | |
24007 | GetMenuRef, respectively. Replace WindowPtr with WindowRef. | |
24008 | Replace ControlHandle with ControlRef. | |
24009 | (install_menu_quit_handler): Rename arg MENU_HANDLE to ROOT_MENU. | |
24010 | ||
24011 | * macterm.c: Replace MenuHandle and GetMenuHandle with MenuRef and | |
24012 | GetMenuRef, respectively. Replace WindowPtr with WindowRef. | |
24013 | Replace ControlHandle with ControlRef. | |
24014 | (USE_CARBON_EVENTS): Remove. Use TARGET_API_MAC_CARBON instead. | |
24015 | [MAC_OS8] (do_get_menus): Rename variable `menu_handle' to `menu'. | |
24016 | ||
24017 | * macterm.h (struct scroll_bar): Rename member control_handle_low | |
24018 | and control_handle_high to control_ref_low and control_ref_high. | |
24019 | All uses changed. | |
24020 | (SCROLL_BAR_CONTROL_REF, SET_SCROLL_BAR_CONTROL_REF): Rename from | |
24021 | SCROLL_BAR_CONTROL_HANDLE and SET_SCROLL_BAR_CONTROL_HANDLE, | |
24022 | respectively. All uses changed. | |
24023 | (XCreatePixmap, XCreatePixmapFromBitmapData, XSetWindowBackground) | |
24024 | (install_window_handler, remove_window_handler): Replace WindowPtr | |
24025 | with WindowRef in externs. | |
24026 | ||
24027 | 2007-06-05 Juanma Barranquero <lekktu@gmail.com> | |
24028 | ||
24029 | * xfaces.c (Finternal_lisp_face_p): Signal error for face alias loops. | |
24030 | ||
24031 | 2007-06-03 Nick Roberts <nickrob@snap.net.nz> | |
24032 | ||
24033 | * keyboard.c (discard_mouse_events): Add GPM_CLICK_EVENT case. | |
24034 | ||
24035 | * frame.c (Fmouse_position, Fmouse_pixel_position): | |
24036 | Condition on HAVE_GPM too. | |
24037 | ||
24038 | * term.c (term_mouse_highlight): Remove unused variables. | |
24039 | (Fterm_open_connection): Set gpm_zerobased to 1. | |
24040 | (term_mouse_movement, term_mouse_click, handle_one_term_event): | |
24041 | Use zero based co-ordinates. | |
24042 | (handle_one_term_event): Report a drag as mouse movement too. | |
24043 | ||
24044 | * Makefile.in (MOUSE_SUPPORT): Define for HAVE_GPM. | |
24045 | ||
24046 | 2007-06-03 Chong Yidong <cyd@stupidchicken.com> | |
24047 | ||
24048 | * image.c (search_image_cache): New function. Require background | |
24049 | color match if background color is unspecified in the image spec. | |
24050 | (uncache_image, lookup_image): Use it. | |
24051 | ||
24052 | 2007-06-01 Juanma Barranquero <lekktu@gmail.com> | |
24053 | ||
24054 | * window.c (Fshrink_window): Reflow docstring. | |
24055 | ||
24056 | 2007-06-02 Chong Yidong <cyd@stupidchicken.com> | |
24057 | ||
24058 | * Version 22.1 released. | |
24059 | ||
24060 | 2007-06-01 Richard Stallman <rms@gnu.org> | |
24061 | ||
24062 | * xfns.c (x_encode_text): Add GCPRO. | |
24063 | ||
24064 | 2007-06-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
24065 | ||
24066 | * xfns.c (x_set_name_internal): Save encoded name before | |
24067 | x_encode_text in case string data is relocated. | |
24068 | ||
24069 | 2007-05-31 Richard Stallman <rms@gnu.org> | |
24070 | ||
24071 | * buffer.c (syms_of_buffer): Doc fix. | |
24072 | ||
24073 | 2007-05-30 Nick Roberts <nickrob@snap.net.nz> | |
24074 | ||
24075 | * sysdep.c (init_sys_modes): Add rather than replace with | |
24076 | O_NONBLOCK. | |
24077 | ||
24078 | * frame.c [HAVE_GPM] (Fset_mouse_pixel_position): Add call to | |
24079 | term_mouse_moveto. | |
24080 | ||
24081 | * termhooks.h (term_mouse_moveto): New extern. | |
24082 | ||
24083 | * term.c (mouse_face_window): Rename... | |
24084 | (Qmouse_face_window): ...to this. | |
24085 | (term_show_mouse_face, term_clear_mouse_face) | |
24086 | (term_mouse_highlight): Use Qmouse_face_window. | |
24087 | (term_mouse_moveto): New function. | |
24088 | (term_mouse_position): Make it work. | |
24089 | (syms_of_term): Uncomment assignment to mouse_position_hook. | |
24090 | Staticpro Qmouse_face_window. | |
24091 | ||
24092 | 2007-05-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
24093 | ||
24094 | * xdisp.c (redisplay_internal): Bind inhibit-point-motion-hooks to t | |
24095 | around current_column call. | |
24096 | ||
24097 | 2007-05-26 Dan Nicolaescu <dann@ics.uci.edu> | |
24098 | ||
24099 | * xfaces.c (syms_of_xfaces): Delete stray semicolon. | |
24100 | * xdisp.c (next_element_from_buffer): | |
24101 | * window.c (delete_window): | |
24102 | * term.c (term_mouse_highlight): | |
24103 | * msdos.c (getdefdir): | |
24104 | * macterm.c (mac_create_bitmap_from_bitmap_data) | |
24105 | (init_font_name_table): | |
24106 | * fns.c (Fsxhash): | |
24107 | * data.c (Fmake_local_variable): | |
24108 | * ccl.c (ccl_driver): Likewise. | |
24109 | ||
24110 | 2007-05-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
24111 | ||
24112 | * macterm.c [USE_CARBON_EVENTS] (mac_handle_window_event): | |
24113 | Call mac_wakeup_from_rne on window size change. | |
24114 | ||
24115 | 2007-05-25 Chong Yidong <cyd@stupidchicken.com> | |
24116 | ||
24117 | * image.c (uncache_image): Fix typo. | |
24118 | ||
24119 | 2007-05-23 Johannes Weiner <hannes@saeurebad.de> (tiny change) | |
24120 | ||
24121 | * keyboard.c (make_lispy_movement): Condition on HAVE_GPM too. | |
24122 | ||
24123 | 2007-05-22 Richard Stallman <rms@gnu.org> | |
24124 | ||
24125 | * xterm.c (x_connection_closed): Remove NO_RETURN. | |
24126 | ||
24127 | 2007-05-22 Martin Rudalics <rudalics@gmx.at> | |
24128 | ||
24129 | * syntax.c (scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD. | |
24130 | ||
24131 | 2007-05-21 Chong Yidong <cyd@stupidchicken.com> | |
24132 | ||
24133 | * image.c (uncache_image): New function. | |
24134 | (Fimage_refresh): New function. | |
24135 | ||
24136 | 2007-05-20 Jan Djärv <jan.h.d@swipnet.se> | |
24137 | ||
24138 | * Makefile.in: Move GPM check outside HAVE_X_WINDOWS. | |
24139 | ||
24140 | 2007-05-20 Nick Roberts <nickrob@snap.net.nz> | |
24141 | ||
24142 | * config.in, keyboard.c, Makefile.in, sysdep.c, term.c, | |
24143 | * termhooks.h: Use HAVE_GPM instead of HAVE_GPM_H. | |
24144 | ||
24145 | 2007-05-20 Nick Roberts <nickrob@snap.net.nz> | |
24146 | ||
24147 | * keyboard.c (make_lispy_event): Make case GPM_CLICK_EVENT | |
24148 | conditional on [HAVE_GPM_H]. | |
24149 | ||
24150 | 2007-05-19 Stefan Monnier <monnier@iro.umontreal.ca> | |
24151 | ||
24152 | * syntax.c (skip_chars): Update syntax-table only after we checked that | |
24153 | the new location is valid. | |
24154 | ||
24155 | 2007-05-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
24156 | ||
24157 | * macterm.c (x_calc_absolute_position): Add BLOCK_INPUT around | |
24158 | mac_get_window_bounds. | |
24159 | ||
24160 | 2007-05-20 Nick Roberts <nickrob@snap.net.nz> | |
24161 | ||
24162 | * Makefile.in (LIBGPM): Allow it to be set from configure. | |
24163 | If set then link Emacs with it. | |
24164 | ||
24165 | * config.in: Regenerate. | |
24166 | ||
24167 | * lisp.h (add_gpm_wait_descriptor, delete_gpm_wait_descriptor): | |
24168 | New externs. | |
24169 | ||
24170 | * termhooks.h [HAVE_GPM_H] (enum event_kind): Add GPM_CLICK_EVENT. | |
24171 | Include gpm.h. | |
24172 | (handle_one_term_event, term_gpm): New externs. | |
24173 | ||
24174 | * sysdep.c [HAVE_GPM_H] (init_sys_modes): Make gpm_fd nonblocking | |
24175 | and allow it to be interrupted by SIGIO. | |
24176 | ||
24177 | * process.c (gpm_wait_mask, max_gpm_desc): New variables. | |
24178 | (wait_reading_process_output): Wait on gpm_fd too. | |
24179 | (add_gpm_wait_descriptor, delete_gpm_wait_descriptor)): New functions. | |
24180 | (add_gpm_wait_descriptor_called_flag): New variable. | |
24181 | (delete_keyboard_wait_descriptor): Check gpm_wait_mask. | |
24182 | ||
24183 | * keyboard.c [HAVE_GPM_H] (Qmouse_fixup_help_message) | |
24184 | (make_lispy_movement, tracking_off, Ftrack_mouse, some_mouse_moved) | |
24185 | (show_help_echo, readable_events, kbd_buffer_get_event, init_keyboard): | |
24186 | Extend HAVE_MOUSE ifdefs to HAVE_GPM_H. | |
24187 | (make_lispy_event): Add case GPM_CLICK_EVENT. | |
24188 | (read_avail_input): Handle mouse input. | |
24189 | ||
24190 | * term.c (write_glyphs_with_face): New function. | |
24191 | [HAVE_GPM_H]: Include buffer.h, sys/fcntl.h. | |
24192 | (mouse_face_beg_row, mouse_face_beg_col, mouse_face_end_row) | |
24193 | (mouse_face_end_col, mouse_face_past_end, mouse_face_window) | |
24194 | (mouse_face_face_id, term_gpm, pos_x, pos_y) | |
24195 | (last_mouse_x, last_mouse_y): New variables. | |
24196 | (term_show_mouse_face, term_clear_mouse_face, fast_find_position) | |
24197 | (term_mouse_highlight, term_mouse_movement, term_mouse_position) | |
24198 | (term_mouse_click, handle_one_term_event, Fterm_open_connection) | |
24199 | (Fterm_close_connection): New functions. | |
24200 | (term_init): Initialise mouse_face_window. | |
24201 | ||
24202 | 2007-05-19 Chong Yidong <cyd@stupidchicken.com> | |
24203 | ||
24204 | * xdisp.c (redisplay_window): If first window line is a | |
24205 | continuation line, recompute the new window start instead of | |
24206 | recentering. | |
24207 | ||
24208 | 2007-05-18 Glenn Morris <rgm@gnu.org> | |
24209 | ||
24210 | * m/alpha.h (ORDINARY_LINK): No longer define on OpenBSD. | |
24211 | Suggested by Alfred M. Szmidt <ams@gnu.org>. | |
24212 | ||
24213 | 2007-05-17 Glenn Morris <rgm@gnu.org> | |
24214 | ||
24215 | * m/macppc.h (ORDINARY_LINK): No longer define on OpenBSD. | |
24216 | ||
24217 | 2007-05-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
24218 | ||
24219 | * macterm.c [USE_CARBON_EVENTS] (mac_convert_event_ref): Also convert | |
24220 | dead key repeat and up events. | |
24221 | ||
24222 | 2007-05-14 Chong Yidong <cyd@stupidchicken.com> | |
24223 | ||
24224 | * image.c (pbm_load): Check image size for monochrome pbm. | |
24225 | ||
24226 | 2007-05-13 Chong Yidong <cyd@stupidchicken.com> | |
24227 | ||
24228 | * xterm.c (XTread_socket): Revert last change. | |
24229 | ||
24230 | 2007-05-12 Chong Yidong <cyd@stupidchicken.com> | |
24231 | ||
24232 | * image.c (pbm_load): Correctly check image size for greyscale pbm. | |
24233 | ||
24234 | * xterm.c (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC). | |
24235 | ||
24236 | 2007-05-07 Stefan Monnier <monnier@iro.umontreal.ca> | |
24237 | ||
24238 | * editfns.c (Ftranspose_regions): Yet another int/Lisp_Object | |
24239 | mixup (YAILOM). | |
24240 | ||
24241 | 2007-05-07 Andreas Schwab <schwab@suse.de> | |
24242 | ||
24243 | * keymap.c (Flookup_key): Fix typo in last change. | |
24244 | ||
24245 | 2007-05-07 Stefan Monnier <monnier@iro.umontreal.ca> | |
24246 | ||
24247 | * keymap.c (Fdefine_key, Flookup_key): Only do the 0x80->meta_modifier | |
24248 | mapping for unibyte strings. | |
24249 | ||
24250 | 2007-05-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
24251 | ||
24252 | * macmenu.c (mac_dialog_show): Apply 2007-04-27 change for xmenu.c. | |
24253 | (Fx_popup_dialog) [MAC_OSX]: Likewise. | |
24254 | ||
24255 | 2007-04-29 Richard Stallman <rms@gnu.org> | |
24256 | ||
24257 | * insdel.c (replace_range): For undo, record insertion first. | |
24258 | ||
24259 | 2007-04-29 Andreas Schwab <schwab@suse.de> | |
24260 | ||
24261 | * lisp.h (VECSIZE): Use OFFSETOF. | |
24262 | ||
24263 | 2007-04-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
24264 | ||
24265 | * xdisp.c (try_window_reusing_current_matrix): Fix number of | |
24266 | disabled lines. | |
24267 | ||
24268 | 2007-04-28 Richard Stallman <rms@gnu.org> | |
24269 | ||
24270 | * lread.c (read_escape): In a string, \s is always space. | |
24271 | ||
24272 | 2007-04-27 Jan Djärv <jan.h.d@swipnet.se> | |
24273 | ||
24274 | * xmenu.c (xdialog_show): Call Fredisplay before showing the dialog. | |
24275 | ||
24276 | * gtkutil.c (xg_update_menubar, create_menus): Create empty | |
24277 | submenu for menu bar items. | |
24278 | ||
24279 | See ChangeLog.10 for earlier changes. | |
24280 | ||
24281 | ;; Local Variables: | |
24282 | ;; coding: utf-8 | |
24283 | ;; add-log-time-zone-rule: t | |
aac0c6e3 MR |
24284 | ;; End: |
24285 | ||
e3eb1dae | 24286 | Copyright (C) 2007, 2008, 2009, 2010 Free Software Foundation, Inc. |
aac0c6e3 MR |
24287 | |
24288 | This file is part of GNU Emacs. | |
24289 | ||
24290 | GNU Emacs is free software: you can redistribute it and/or modify | |
24291 | it under the terms of the GNU General Public License as published by | |
24292 | the Free Software Foundation, either version 3 of the License, or | |
24293 | (at your option) any later version. | |
24294 | ||
24295 | GNU Emacs is distributed in the hope that it will be useful, | |
24296 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
24297 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
24298 | GNU General Public License for more details. | |
24299 | ||
24300 | You should have received a copy of the GNU General Public License | |
24301 | along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. | |
24302 | ||
24303 | ;; arch-tag: dfb6ad96-1550-4905-9e53-d2059ee84c40 |