Commit | Line | Data |
---|---|---|
a1be1ce8 SM |
1 | 2007-07-10 Stefan Monnier <monnier@iro.umontreal.ca> |
2 | ||
8071c00f SM |
3 | * fns.c (map_char_table): Use an array of int for `indices' rather than |
4 | an array of Lisp_Objects (which are only ever integers anyway). | |
5 | (Fmap_char_table): Update caller. | |
6 | * lisp.h: Update prototype. | |
7 | * keymap.c (Fset_keymap_parent, map_keymap, Fcopy_keymap): | |
8 | * fontset.c (Ffontset_info): | |
9 | * casetab.c (set_case_table): Update callers. | |
10 | ||
11 | * editfns.c (Ftranspose_regions): Use EMACS_INT for positions. | |
12 | ||
fab84e3c SM |
13 | * keymap.c (struct accessible_keymaps_data) |
14 | (struct where_is_internal_data): New structures. | |
15 | (accessible_keymaps_1, where_is_internal_1): Use them to change | |
16 | interface to adhere to the one used by map_keymap. | |
17 | (Faccessible_keymaps, where_is_internal): Use map_keymap. | |
18 | (accessible_keymaps_char_table, where_is_internal_2): Remove. | |
19 | ||
a1be1ce8 SM |
20 | * keymap.h (map_keymap_function_t): More informative prototype. |
21 | ||
ef887810 RS |
22 | 2007-07-10 Guanpeng Xu <herberteuler@hotmail.com> |
23 | ||
24 | * search.c (Vinhibit_changing_match_data, search_regs_1): New vars. | |
25 | (looking_at_1): Don't change search_regs and last_thing_searched | |
26 | if `inhibit-changing-match-data' is non-nil. | |
27 | (string_match_1, search_buffer, set_search_regs): Likewise. | |
28 | (syms_of_search): Add Lisp level definition for | |
29 | `inhibit-changing-match-data' and set it to nil. | |
8071c00f SM |
30 | (boyer_moore): If `inhibit-changing-match-data' is non-nil, compute |
31 | start and end of the match, instead of using values in search_regs. | |
ef887810 | 32 | |
4d02fc25 SM |
33 | 2007-07-01 Stefan Monnier <monnier@iro.umontreal.ca> |
34 | ||
35 | * minibuf.c (Fcompleting_read): New value `confirm-only' | |
36 | for `require-match'. | |
37 | ||
fe45b81f SM |
38 | 2007-06-28 Stefan Monnier <monnier@iro.umontreal.ca> |
39 | ||
40 | * fileio.c (Fdo_auto_save): Revert last patch installed unwillingly as | |
41 | part of the 2007-06-27 change to syms_of_fileio. | |
42 | ||
a56dd283 YM |
43 | 2007-06-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
44 | ||
45 | * macterm.c [USE_MAC_TSM] (mac_handle_text_input_event): | |
46 | Check WINDOWP before using XWINDOW. Consolidate return statements. | |
47 | ||
0cf9f5b5 RS |
48 | 2007-06-27 Richard Stallman <rms@gnu.org> |
49 | ||
50 | * fileio.c (syms_of_fileio) <after-insert-file-functions>: Doc fix. | |
51 | ||
a66f285a JB |
52 | 2007-06-27 Juanma Barranquero <lekktu@gmail.com> |
53 | ||
54 | * buffer.c (syms_of_buffer) <selective-display>: Fix typo in docstring. | |
55 | ||
8d0d84d2 YM |
56 | 2007-06-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
57 | ||
58 | * gmalloc.c [HAVE_GTK_AND_PTHREAD]: Check this after including config.h. | |
59 | (_aligned_blocks_mutex) [USE_PTHREAD]: New variable. | |
60 | (LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS): New macros. | |
61 | (_free_internal, memalign): Use them. | |
62 | (_malloc_mutex, _aligned_blocks_mutex) [USE_PTHREAD]: | |
63 | Initialize to PTHREAD_MUTEX_INITIALIZER. | |
64 | (malloc_initialize_1) [USE_PTHREAD]: Don't use recursive mutex. | |
65 | (morecore_nolock): Rename from morecore. All uses changed. | |
66 | Use only nolock versions of internal allocation functions. | |
67 | (_malloc_internal_nolock, _realloc_internal_nolock) | |
68 | (_free_internal_nolock): New functions created from | |
69 | _malloc_internal, _realloc_internal, and _free_internal. | |
70 | (_malloc_internal, _realloc_internal, _free_internal): Use them. | |
71 | Copy hook value to automatic variable before its use. | |
72 | (memalign): Copy hook value to automatic variable before its use. | |
73 | ||
5a0bbd9a KH |
74 | 2007-06-26 Kenichi Handa <handa@m17n.org> |
75 | ||
76 | * coding.c (Ffind_operation_coding_system): Docstring improved. | |
77 | (syms_of_coding): Docstring of `file-coding-system-alist' improved. | |
78 | ||
9a51747b DK |
79 | 2007-06-25 David Kastrup <dak@gnu.org> |
80 | ||
81 | * keymap.c (Fcurrent_active_maps): Add `position' argument. | |
82 | (Fwhere_is_internal): Adjust call to `current-active-maps' to | |
83 | cater for additional parameter. | |
84 | ||
85 | * keymap.h: Adjust number of parameters to `current-active-maps'. | |
86 | ||
87 | * doc.c (Fsubstitute_command_keys): Adjust call of | |
88 | `current-active-maps'. | |
89 | ||
e4305426 DK |
90 | 2007-06-25 David Kastrup <dak@gnu.org> |
91 | ||
92 | * callint.c (Fcall_interactively): Make the parsing of interactive | |
93 | specs somewhat more readable. | |
94 | ||
511a18d9 YM |
95 | 2007-06-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
96 | ||
97 | * macterm.c (x_draw_fringe_bitmap) [MAC_OSX]: Extend fringe background | |
98 | to scroll bar gap also when bitmap fills fringe. Draw only foreground | |
99 | if extended background has already been filled. | |
100 | ||
512eb161 YM |
101 | 2007-06-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
102 | ||
103 | * macgui.h (USE_CG_DRAWING): Don't require USE_ATSUI. | |
104 | (USE_MAC_TOOLBAR): Require USE_CG_DRAWING. | |
105 | ||
106 | * macmenu.c (mac_dialog_modal_filter, Fx_popup_dialog) [MAC_OSX]: | |
107 | Put special treatment for Fmessage_box, Fyes_or_no_p, and Fy_or_n_p | |
108 | in #if 0 as it is not compatible with y-or-n-p-with-timeout. | |
109 | (timer_check) [TARGET_API_MAC_CARBON]: Add extern. | |
110 | [TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Use QuitEventLoop | |
111 | instead of QuitAppModalLoopForWindow. Consolidate QuitEventLoop calls. | |
112 | (pop_down_dialog) [TARGET_API_MAC_CARBON]: New function. | |
113 | [TARGET_API_MAC_CARBON] (create_and_show_dialog): Use it for unwind. | |
114 | Run timers during dialog popup. | |
115 | (Fmenu_or_popup_active_p) [TARGET_API_MAC_CARBON]: Use popup_activated. | |
116 | ||
2386b1f1 JR |
117 | 2007-06-21 Jason Rumney <jasonr@gnu.org> |
118 | ||
119 | * image.c (convert_mono_to_color_image): Swap fore and background. | |
120 | ||
fab8b787 JR |
121 | 2007-06-20 Jason Rumney <jasonr@gnu.org> |
122 | ||
123 | * w32bdf.c (w32_BDF_to_x_font): Unmap memory when finished. | |
124 | (w32_free_bdf_font): Unmap memory not handle. | |
125 | ||
15bdd7a0 | 126 | 2007-06-20 Sam Steingold <sds@gnu.org> |
3cacba85 SS |
127 | |
128 | * gmalloc.c (__morecore): Fix the declaration to comply with the | |
129 | definition. | |
130 | ||
1bb8a291 JB |
131 | 2007-06-20 Juanma Barranquero <lekktu@gmail.com> |
132 | ||
133 | * w32term.c (w32_delete_display): Remove leftover declaration. | |
134 | (w32_define_cursor, w32_initialize): Make static. | |
135 | ||
136 | * w32.c (_wsa_errlist): Fix typo in error message. | |
137 | (init_environment): Ignore any environment variable from the | |
138 | registry having a null value. | |
139 | ||
92648dea GM |
140 | 2007-06-20 Glenn Morris <rgm@gnu.org> |
141 | ||
142 | * Makefile.in (LIBGIF): Default to -lgif. | |
143 | ||
ff25d115 JR |
144 | 2007-06-17 Jason Rumney <jasonr@gnu.org> |
145 | ||
146 | * w32menu.c (add_menu_item): Don't use multibyte string functions on | |
147 | unicode strings. | |
148 | ||
a1a578a5 JB |
149 | 2007-06-16 Juanma Barranquero <lekktu@gmail.com> |
150 | ||
151 | * xdisp.c (syms_of_xdisp) <auto-resize-tool-bars>: | |
152 | Fix typo in docstring. | |
153 | ||
af41f8a8 EZ |
154 | 2007-06-16 Eli Zaretskii <eliz@gnu.org> |
155 | ||
156 | * w32menu.c (add_menu_item): Escape `&' characters in menu items | |
157 | and their keybindings. | |
158 | ||
8b29cab9 CY |
159 | 2007-06-15 Chong Yidong <cyd@stupidchicken.com> |
160 | ||
161 | * composite.c (update_compositions): Fix last fix. | |
162 | ||
c433c134 JR |
163 | 2007-06-14 Jason Rumney <jasonr@gnu.org> |
164 | ||
165 | * w32.c (get_process_times_fn): New function pointer. | |
166 | (globals_of_w32): Intialize it if present in kernel32.dll. | |
167 | (w32_get_internal_run_time): New function. | |
168 | ||
169 | * editfns.c (Fget_internal_run_time) [WINDOWSNT]: Use it. | |
170 | ||
553d3164 KH |
171 | 2007-06-14 Kenichi Handa <handa@etlken.m17n.org> |
172 | ||
173 | * composite.c (update_compositions): Check the validness of | |
174 | compositions. | |
175 | ||
446ba96f YM |
176 | 2007-06-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
177 | ||
178 | * frame.h (struct frame) [MAC_OS]: New member external_tool_bar. | |
179 | (FRAME_EXTERNAL_TOOL_BAR) [MAC_OS]: Use it. | |
180 | ||
181 | * macfns.c (mac_window) [USE_MAC_TOOLBAR]: Set toolbar_win_gravity. | |
182 | (x_set_tool_bar_lines) [USE_MAC_TOOLBAR]: Set FRAME_EXTERNAL_TOOL_BAR. | |
183 | ||
184 | * macgui.h (USE_MAC_TOOLBAR): New define. | |
185 | ||
186 | * macmenu.c [TARGET_API_MAC_CARBON] (menu_target_item_handler): | |
187 | Return immediately unless popup is activated. | |
188 | ||
189 | * macterm.c (x_draw_fringe_bitmap) [MAC_OSX]: Extend fringe | |
190 | background to scroll bar gap. | |
191 | (x_scroll_bar_create) [MAC_OSX]: Set bar->fringe_extended_p. | |
192 | (XTset_vertical_scroll_bar) [MAC_OSX]: Put leftmost/rightmost | |
193 | scroll bars on frame edge. Check fringe background extension. | |
194 | Don't clear extended fringe background area. | |
195 | (TOOLBAR_IDENTIFIER, TOOLBAR_ICON_ITEM_IDENTIFIER) | |
196 | (TOOLBAR_ITEM_COMMAND_ID_OFFSET, TOOLBAR_ITEM_COMMAND_ID_P) | |
197 | (TOOLBAR_ITEM_COMMAND_ID_VALUE, TOOLBAR_ITEM_MAKE_COMMAND_ID): | |
198 | [USE_MAC_TOOLBAR]: New macros. | |
199 | (mac_move_window_with_gravity, mac_get_window_origin_with_gravity) | |
200 | (mac_handle_toolbar_event, mac_image_spec_to_cg_image) | |
201 | (mac_create_frame_tool_bar, update_frame_tool_bar, free_frame_tool_bar) | |
202 | (mac_tool_bar_note_mouse_movement, mac_handle_toolbar_command_event) | |
203 | [USE_MAC_TOOLBAR]: New functions. | |
204 | (mac_handle_window_event) [USE_MAC_TOOLBAR]: Reposition window | |
205 | manually if previous repositioning has failed. | |
206 | (mac_handle_keyboard_event): Use precomputed event kind. | |
207 | (XTread_socket) [USE_MAC_TOOLBAR]: Handle click in structure region | |
208 | as tool bar item click. Handle mouse movement over tool bar items. | |
209 | ||
210 | * macterm.h (struct mac_output) [USE_MAC_TOOLBAR]: New member | |
211 | toolbar_win_gravity. | |
212 | (struct scroll_bar) [MAC_OSX]: New member fringe_extended_p. | |
213 | (update_frame_tool_bar, free_frame_tool_bar) [USE_MAC_TOOLBAR]: | |
214 | Add externs. | |
215 | ||
216 | * xdisp.c (update_tool_bar, redisplay_tool_bar, redisplay_window) | |
217 | [USE_MAC_TOOLBAR]: Sync with GTK+ tool bar display. | |
218 | ||
9720173f CY |
219 | 2007-06-14 Chong Yidong <cyd@stupidchicken.com> |
220 | ||
221 | * image.c (search_image_cache): Remove unused variable. | |
222 | ||
1217dd00 CY |
223 | 2007-06-13 Chong Yidong <cyd@stupidchicken.com> |
224 | ||
225 | * xfns.c, xmenu.c: Link to xaw3d if available. | |
226 | ||
c5b8e0ea YM |
227 | 2007-06-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
228 | ||
229 | * dispextern.h (struct image) [HAVE_WINDOW_SYSTEM]: New members | |
230 | frame_foreground and frame_background. | |
231 | ||
232 | * image.c (lookup_image): Save frame foreground and background colors. | |
233 | (search_image_cache): Check if saved and current frame colors match. | |
234 | ||
c69b0314 SM |
235 | 2007-06-12 Stefan Monnier <monnier@iro.umontreal.ca> |
236 | ||
237 | * regex.c (regex_compile): Remove the `regnum' counter. | |
238 | Use bufp->re_nsub instead. Add support for \(?N:RE\). | |
239 | ||
c9612b8e SM |
240 | 2007-06-11 Stefan Monnier <monnier@iro.umontreal.ca> |
241 | ||
242 | * term.c: Include intervals.h to declare Fget_text_property. | |
243 | ||
843d2458 JR |
244 | 2007-06-10 Jason Rumney <jasonr@gnu.org> |
245 | ||
246 | * w32fns.c (Fx_file_dialog): Take size from struct not pointer. | |
247 | ||
1e0d2d60 | 248 | 2007-06-08 Juanma Barranquero <lekktu@gmail.com> |
977f6cfb JB |
249 | |
250 | * callint.c (Fcall_interactively): | |
251 | * editfns.c (Fdelete_and_extract_region): | |
252 | * fileio.c (Fread_file_name): | |
253 | * fns.c (Fmapconcat): | |
254 | * keyboard.c (cmd_error_internal): | |
255 | * keymap.c (Fkey_description): | |
256 | * lread.c (openp): | |
257 | * minibuf.c (read_minibuf): | |
258 | * search.c (wordify): | |
259 | * sunfns.c (sel_read): | |
260 | * xdisp.c (Fformat_mode_line, syms_of_xdisp): | |
261 | * xfns.c (x_default_scroll_bar_color_parameter): | |
262 | * xmenu.c (menu_help_callback): | |
263 | * xselect.c (Fx_get_atom_name): | |
264 | * xterm.c (x_term_init): Use empty_unibyte_string. | |
265 | ||
15bdd7a0 | 266 | 2007-06-08 Dmitry Antipov <dmantipov@yandex.ru> (tiny change) |
977f6cfb JB |
267 | |
268 | * alloc.c (init_strings): Initialize canonical empty strings. | |
269 | (make_uninit_string, make_uninit_multibyte_string): Return appropriate | |
270 | canonical empty string when the requested size is 0. | |
271 | ||
272 | * emacs.c (empty_unibyte_string): Rename from empty_string. | |
273 | (empty_multibyte_string): New canonical empty string. | |
274 | (syms_of_emacs): Don't initialize empty_string. | |
275 | ||
276 | * lisp.h (STRING_SET_UNIBYTE): Return the canonical empty unibyte | |
277 | string, if appropriate. | |
278 | (empty_unibyte_string, empty_multibyte_string): New externs. | |
279 | (empty_string): Remove extern. | |
280 | ||
281 | * lread.c (syms_of_lread): Use empty_unibyte_string. | |
282 | ||
42c4c67a JR |
283 | 2007-06-07 Jason Rumney <jasonr@gnu.org> |
284 | ||
285 | * s/ms-w32.h: Don't define HAVE_TZNAME. | |
286 | ||
287 | * editfns.c (Fcurrent_time_zone): Remove hack for Japanese Windows. | |
288 | ||
aa8280d3 YM |
289 | 2007-06-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
290 | ||
291 | * mac.c (xrm_get_preference_database): Remove BLOCK_INPUT. | |
292 | ||
293 | * macfns.c (mac_get_window_bounds): Move extern to macterm.h. | |
294 | (compute_tip_xy) [TARGET_API_MAC_CARBON]: Use GetGlobalMouse. | |
295 | ||
296 | * macmenu.c [TARGET_API_MAC_CARBON] (menu_target_item_handler): | |
297 | Don't call next handler. | |
298 | [TARGET_API_MAC_CARBON] (install_menu_target_item_handler): | |
299 | Remove argument. Install handler to application. | |
300 | (set_frame_menubar): Don't change deep_p. | |
1e0d2d60 | 301 | (mac_menu_show): Use FRAME_OUTER_TO_INNER_DIFF_X and |
aa8280d3 YM |
302 | FRAME_OUTER_TO_INNER_DIFF_Y. |
303 | (DIALOG_BUTTON_COMMAND_ID_OFFSET, DIALOG_BUTTON_COMMAND_ID_P) | |
304 | (DIALOG_BUTTON_COMMAND_ID_VALUE, DIALOG_BUTTON_MAKE_COMMAND_ID) | |
305 | [HAVE_DIALOGS]: New macros. | |
306 | [HAVE_DIALOGS] (mac_handle_dialog_event, create_and_show_dialog): | |
307 | Use them. | |
308 | (fill_menubar) [TARGET_API_MAC_CARBON]: Use CFString. | |
309 | ||
310 | * macselect.c [MAC_OSX] (install_service_handler): Rename from | |
311 | init_service_handler. All callers changed. Return OSStatus value. | |
312 | ||
313 | * macterm.c (mac_begin_cg_clip): New arg F. Call SetPortWindowPort. | |
314 | All callers changed so as not to call SetPortWindowPort. | |
315 | (mac_begin_cg_clip) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. | |
316 | (mac_draw_image_string_atsui) [USE_ATSUI]: New function created from | |
317 | mac_draw_string_common. | |
318 | (mac_draw_image_string_qd): Likewise. | |
319 | (mac_draw_string_common): Use them. Add INLINE. | |
320 | (XTmouse_position, x_scroll_bar_report_motion) [TARGET_API_MAC_CARBON]: | |
321 | Use FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y, and | |
322 | GetGlobalMouse. | |
323 | (x_set_mouse_pixel_position) [MAC_OSX]: Use FRAME_OUTER_TO_INNER_DIFF_X | |
324 | and FRAME_OUTER_TO_INNER_DIFF_Y. | |
325 | [TARGET_API_MAC_CARBON] (mac_handle_mouse_event): Likewise. | |
326 | [USE_MAC_TSM] (mac_handle_text_input_event): Likewise. | |
327 | (x_make_frame_visible) [TARGET_API_MAC_CARBON]: Move code for | |
328 | repositioning window to mac_handle_window_event. | |
329 | (x_make_frame_invisible) [TARGET_API_MAC_CARBON]: Move code for | |
330 | saving window location to mac_handle_window_event | |
331 | [USE_MAC_FONT_PANEL] (mac_show_hide_font_panel): Install handler here. | |
332 | (install_menu_target_item_handler): Remove argument in extern. | |
333 | [TARGET_API_MAC_CARBON] (mac_event_to_emacs_modifiers): | |
334 | Also accept command events. | |
335 | (do_keystroke): New function created from XTread_socket. | |
336 | (init_command_handler): Remove functions. | |
337 | [TARGET_API_MAC_CARBON] (mac_handle_window_event): Reposition window | |
338 | and save window location by kEventWindowShowing and kEventWindowHiding | |
339 | handlers here. Don't call next handler for window state change and | |
340 | focus events. | |
341 | (mac_handle_application_event, mac_handle_keyboard_event) | |
342 | [TARGET_API_MAC_CARBON]: New functions. | |
343 | (install_window_handler) [TARGET_API_MAC_CARBON]: Register handlers for | |
344 | kEventWindowShowing and kEventWindowHiding events. Move installation | |
345 | of mouse, font, text input and menu target item handlers to | |
346 | install_application_handler. | |
347 | (install_application_handler) [TARGET_API_MAC_CARBON]: New function. | |
348 | (mac_handle_cg_display_reconfig) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
349 | New function. | |
350 | (init_dm_notification_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
351 | Register it. | |
c9612b8e SM |
352 | (XTread_socket) [TARGET_API_MAC_CARBON]: |
353 | Consolidate SendEventToEventTarget calls. | |
354 | Use FRAME_OUTER_TO_INNER_DIFF_X and FRAME_OUTER_TO_INNER_DIFF_Y. | |
355 | Move application activation handler to mac_handle_application_event. | |
356 | Move keyboard handler to mac_handle_keyboard_event. | |
aa8280d3 YM |
357 | (XTread_socket) [!TARGET_API_MAC_CARBON]: Use do_keystroke. |
358 | (mac_initialize) [TARGET_API_MAC_CARBON]: Don't call | |
359 | init_command_handler. Call install_application_handler. | |
360 | ||
361 | * macterm.h (mac_get_window_bounds): Move extern from macfns.c. | |
362 | (FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y): New macros. | |
363 | ||
6926c954 GM |
364 | 2007-06-07 Glenn Morris <rgm@gnu.org> |
365 | ||
366 | * emacs.c (main): Use `emacs-copyright' in --version output. | |
367 | ||
6fe04c89 CY |
368 | 2007-06-06 Chong Yidong <cyd@stupidchicken.com> |
369 | ||
c9612b8e | 370 | * image.c (xpm_load): Remove spurious call to xpm_init_color_cache. |
6fe04c89 | 371 | |
7eb0d727 YM |
372 | 2007-06-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
373 | ||
374 | * macfns.c (mac_window): Replace WindowPtr with WindowRef. | |
375 | ||
376 | * macgui.h: Replace WindowPtr with WindowRef. | |
377 | ||
378 | * macmenu.c: Replace MenuHandle and GetMenuHandle with MenuRef and | |
379 | GetMenuRef, respectively. Replace WindowPtr with WindowRef. | |
380 | Replace ControlHandle with ControlRef. | |
381 | (install_menu_quit_handler): Rename arg MENU_HANDLE to ROOT_MENU. | |
382 | ||
383 | * macterm.c: Replace MenuHandle and GetMenuHandle with MenuRef and | |
384 | GetMenuRef, respectively. Replace WindowPtr with WindowRef. | |
385 | Replace ControlHandle with ControlRef. | |
386 | (USE_CARBON_EVENTS): Remove. Use TARGET_API_MAC_CARBON instead. | |
387 | [MAC_OS8] (do_get_menus): Rename variable `menu_handle' to `menu'. | |
388 | ||
389 | * macterm.h (struct scroll_bar): Rename member control_handle_low | |
390 | and control_handle_high to control_ref_low and control_ref_high. | |
391 | All uses changed. | |
392 | (SCROLL_BAR_CONTROL_REF, SET_SCROLL_BAR_CONTROL_REF): Rename from | |
393 | SCROLL_BAR_CONTROL_HANDLE and SET_SCROLL_BAR_CONTROL_HANDLE, | |
394 | respectively. All uses changed. | |
395 | (XCreatePixmap, XCreatePixmapFromBitmapData, XSetWindowBackground) | |
396 | (install_window_handler, remove_window_handler): Replace WindowPtr | |
397 | with WindowRef in externs. | |
398 | ||
65fddb74 JB |
399 | 2007-06-05 Juanma Barranquero <lekktu@gmail.com> |
400 | ||
401 | * xfaces.c (Finternal_lisp_face_p): Signal error for face alias loops. | |
402 | ||
db1213a9 NR |
403 | 2007-06-03 Nick Roberts <nickrob@snap.net.nz> |
404 | ||
405 | * keyboard.c (discard_mouse_events): Add GPM_CLICK_EVENT case. | |
406 | ||
65fddb74 | 407 | * frame.c (Fmouse_position, Fmouse_pixel_position): |
db1213a9 NR |
408 | Condition on HAVE_GPM too. |
409 | ||
410 | * term.c (term_mouse_highlight): Remove unused variables. | |
411 | (Fterm_open_connection): Set gpm_zerobased to 1. | |
412 | (term_mouse_movement, term_mouse_click, handle_one_term_event): | |
413 | Use zero based co-ordinates. | |
414 | (handle_one_term_event): Report a drag as mouse movement too. | |
415 | ||
416 | * Makefile.in (MOUSE_SUPPORT): Define for HAVE_GPM. | |
417 | ||
d94df25b CY |
418 | 2007-06-03 Chong Yidong <cyd@stupidchicken.com> |
419 | ||
420 | * image.c (search_image_cache): New function. Require background | |
421 | color match if background color is unspecified in the image spec. | |
422 | (uncache_image, lookup_image): Use it. | |
423 | ||
4797b6d9 JB |
424 | 2007-06-01 Juanma Barranquero <lekktu@gmail.com> |
425 | ||
426 | * window.c (Fshrink_window): Reflow docstring. | |
427 | ||
2c5e0a10 CY |
428 | 2007-06-02 Chong Yidong <cyd@stupidchicken.com> |
429 | ||
7dfc4cda CY |
430 | * Version 22.1 released. |
431 | ||
2c5e0a10 CY |
432 | 2007-06-01 Richard Stallman <rms@gnu.org> |
433 | ||
434 | * xfns.c (x_encode_text): Add GCPRO. | |
2c5e0a10 | 435 | |
3d512e46 CY |
436 | 2007-06-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
437 | ||
438 | * xfns.c (x_set_name_internal): Save encoded name before | |
439 | x_encode_text in case string data is relocated. | |
440 | ||
b49dd850 RS |
441 | 2007-05-31 Richard Stallman <rms@gnu.org> |
442 | ||
443 | * buffer.c (syms_of_buffer): Doc fix. | |
444 | ||
5d3e6dc2 NR |
445 | 2007-05-30 Nick Roberts <nickrob@snap.net.nz> |
446 | ||
447 | * sysdep.c (init_sys_modes): Add rather than replace with | |
448 | O_NONBLOCK. | |
449 | ||
450 | * frame.c [HAVE_GPM] (Fset_mouse_pixel_position): Add call to | |
451 | term_mouse_moveto. | |
452 | ||
453 | * termhooks.h (term_mouse_moveto): New extern. | |
454 | ||
455 | * term.c (mouse_face_window): Rename... | |
456 | (Qmouse_face_window): ...to this. | |
457 | (term_show_mouse_face, term_clear_mouse_face) | |
458 | (term_mouse_highlight): Use Qmouse_face_window. | |
459 | (term_mouse_moveto): New function. | |
460 | (term_mouse_position): Make it work. | |
461 | (syms_of_term): Uncomment assignment to mouse_position_hook. | |
462 | Staticpro Qmouse_face_window. | |
463 | ||
4bde4d4f YM |
464 | 2007-05-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
465 | ||
466 | * xdisp.c (redisplay_internal): Bind inhibit-point-motion-hooks to t | |
467 | around current_column call. | |
468 | ||
3b8c0c70 DN |
469 | 2007-05-26 Dan Nicolaescu <dann@ics.uci.edu> |
470 | ||
471 | * xfaces.c (syms_of_xfaces): Delete stray semicolon. | |
4797b6d9 JB |
472 | * xdisp.c (next_element_from_buffer): |
473 | * window.c (delete_window): | |
474 | * term.c (term_mouse_highlight): | |
475 | * msdos.c (getdefdir): | |
3b8c0c70 | 476 | * macterm.c (mac_create_bitmap_from_bitmap_data) |
4797b6d9 JB |
477 | (init_font_name_table): |
478 | * fns.c (Fsxhash): | |
479 | * data.c (Fmake_local_variable): | |
3b8c0c70 DN |
480 | * ccl.c (ccl_driver): Likewise. |
481 | ||
5dfdf72f MB |
482 | 2007-05-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
483 | ||
484 | * macterm.c [USE_CARBON_EVENTS] (mac_handle_window_event): | |
485 | Call mac_wakeup_from_rne on window size change. | |
486 | ||
f0f80eb7 CY |
487 | 2007-05-25 Chong Yidong <cyd@stupidchicken.com> |
488 | ||
489 | * image.c (uncache_image): Fix typo. | |
490 | ||
4797b6d9 | 491 | 2007-05-23 Johannes Weiner <hannes@saeurebad.de> (tiny change) |
ff7cd3aa NR |
492 | |
493 | * keyboard.c (make_lispy_movement): Condition on HAVE_GPM too. | |
494 | ||
c81036c6 RS |
495 | 2007-05-22 Richard Stallman <rms@gnu.org> |
496 | ||
497 | * xterm.c (x_connection_closed): Remove NO_RETURN. | |
498 | ||
662b4cfc KH |
499 | 2007-05-22 Martin Rudalics <rudalics@gmx.at> |
500 | ||
501 | * syntax.c (scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD. | |
502 | ||
62b0f126 CY |
503 | 2007-05-21 Chong Yidong <cyd@stupidchicken.com> |
504 | ||
505 | * image.c (uncache_image): New function. | |
506 | (Fimage_refresh): New function. | |
507 | ||
26114bc0 JD |
508 | 2007-05-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
509 | ||
510 | * Makefile.in: Move GPM check outside HAVE_X_WINDOWS. | |
511 | ||
a8099827 NR |
512 | 2007-05-20 Nick Roberts <nickrob@snap.net.nz> |
513 | ||
514 | * config.in, keyboard.c, Makefile.in, sysdep.c, term.c, | |
515 | * termhooks.h: Use HAVE_GPM instead of HAVE_GPM_H. | |
516 | ||
59ffc604 NR |
517 | 2007-05-20 Nick Roberts <nickrob@snap.net.nz> |
518 | ||
519 | * keyboard.c (make_lispy_event): Make case GPM_CLICK_EVENT | |
520 | conditional on [HAVE_GPM_H]. | |
521 | ||
d46b87e9 SM |
522 | 2007-05-19 Stefan Monnier <monnier@iro.umontreal.ca> |
523 | ||
524 | * syntax.c (skip_chars): Update syntax-table only after we checked that | |
525 | the new location is valid. | |
526 | ||
1d5bcd55 YM |
527 | 2007-05-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
528 | ||
529 | * macterm.c (x_calc_absolute_position): Add BLOCK_INPUT around | |
530 | mac_get_window_bounds. | |
531 | ||
60889ffa NR |
532 | 2007-05-20 Nick Roberts <nickrob@snap.net.nz> |
533 | ||
534 | * Makefile.in (LIBGPM): Allow it to be set from configure. | |
535 | If set then link Emacs with it. | |
536 | ||
537 | * config.in: Regenerate. | |
538 | ||
539 | * lisp.h (add_gpm_wait_descriptor, delete_gpm_wait_descriptor): | |
540 | New externs. | |
541 | ||
542 | * termhooks.h [HAVE_GPM_H] (enum event_kind): Add GPM_CLICK_EVENT. | |
543 | Include gpm.h. | |
59d8a9dc | 544 | (handle_one_term_event, term_gpm): New externs. |
60889ffa NR |
545 | |
546 | * sysdep.c [HAVE_GPM_H] (init_sys_modes): Make gpm_fd nonblocking | |
547 | and allow it to be interrupted by SIGIO. | |
548 | ||
549 | * process.c (gpm_wait_mask, max_gpm_desc): New variables. | |
550 | (wait_reading_process_output): Wait on gpm_fd too. | |
551 | (add_gpm_wait_descriptor, delete_gpm_wait_descriptor)): New functions. | |
552 | (add_gpm_wait_descriptor_called_flag): New variable. | |
553 | (delete_keyboard_wait_descriptor): Check gpm_wait_mask. | |
554 | ||
555 | * keyboard.c [HAVE_GPM_H] (Qmouse_fixup_help_message) | |
556 | (make_lispy_movement, tracking_off, Ftrack_mouse, some_mouse_moved) | |
557 | (show_help_echo, readable_events, kbd_buffer_get_event, init_keyboard): | |
558 | Extend HAVE_MOUSE ifdefs to HAVE_GPM_H. | |
559 | (make_lispy_event): Add case GPM_CLICK_EVENT. | |
560 | (read_avail_input): Handle mouse input. | |
561 | ||
562 | * term.c (write_glyphs_with_face): New function. | |
563 | [HAVE_GPM_H]: Include buffer.h, sys/fcntl.h. | |
564 | (mouse_face_beg_row, mouse_face_beg_col, mouse_face_end_row) | |
565 | (mouse_face_end_col, mouse_face_past_end, mouse_face_window) | |
566 | (mouse_face_face_id, term_gpm, pos_x, pos_y) | |
567 | (last_mouse_x, last_mouse_y): New variables. | |
568 | (term_show_mouse_face, term_clear_mouse_face, fast_find_position) | |
569 | (term_mouse_highlight, term_mouse_movement, term_mouse_position) | |
570 | (term_mouse_click, handle_one_term_event, Fterm_open_connection) | |
571 | (Fterm_close_connection): New functions. | |
572 | (term_init): Initialise mouse_face_window. | |
573 | ||
f1765690 CY |
574 | 2007-05-19 Chong Yidong <cyd@stupidchicken.com> |
575 | ||
576 | * xdisp.c (redisplay_window): If first window line is a | |
577 | continuation line, recompute the new window start instead of | |
578 | recentering. | |
579 | ||
a5a99f93 GM |
580 | 2007-05-18 Glenn Morris <rgm@gnu.org> |
581 | ||
582 | * m/alpha.h (ORDINARY_LINK): No longer define on OpenBSD. | |
583 | Suggested by Alfred M. Szmidt <ams@gnu.org>. | |
584 | ||
48fdddbe GM |
585 | 2007-05-17 Glenn Morris <rgm@gnu.org> |
586 | ||
587 | * m/macppc.h (ORDINARY_LINK): No longer define on OpenBSD. | |
588 | ||
e4f5123f YM |
589 | 2007-05-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
590 | ||
591 | * macterm.c [USE_CARBON_EVENTS] (mac_convert_event_ref): Also convert | |
592 | dead key repeat and up events. | |
593 | ||
c38ffbcb CY |
594 | 2007-05-14 Chong Yidong <cyd@stupidchicken.com> |
595 | ||
596 | * image.c (pbm_load): Check image size for monochrome pbm. | |
597 | ||
37f3a4bb CY |
598 | 2007-05-13 Chong Yidong <cyd@stupidchicken.com> |
599 | ||
600 | * xterm.c (XTread_socket): Revert last change. | |
601 | ||
fd92bad9 CY |
602 | 2007-05-12 Chong Yidong <cyd@stupidchicken.com> |
603 | ||
7fb41737 CY |
604 | * image.c (pbm_load): Correctly check image size for greyscale pbm. |
605 | ||
e9c8d984 | 606 | * xterm.c (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC). |
fd92bad9 | 607 | |
c10b2810 SM |
608 | 2007-05-07 Stefan Monnier <monnier@iro.umontreal.ca> |
609 | ||
1ae8d759 JB |
610 | * editfns.c (Ftranspose_regions): Yet another int/Lisp_Object |
611 | mixup (YAILOM). | |
c10b2810 | 612 | |
d6d8548d AS |
613 | 2007-05-07 Andreas Schwab <schwab@suse.de> |
614 | ||
4797b6d9 | 615 | * keymap.c (Flookup_key): Fix typo in last change. |
d6d8548d | 616 | |
5df39998 SM |
617 | 2007-05-07 Stefan Monnier <monnier@iro.umontreal.ca> |
618 | ||
619 | * keymap.c (Fdefine_key, Flookup_key): Only do the 0x80->meta_modifier | |
620 | mapping for unibyte strings. | |
621 | ||
b28d7564 YM |
622 | 2007-05-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
623 | ||
624 | * macmenu.c (mac_dialog_show): Apply 2007-04-27 change for xmenu.c. | |
625 | (Fx_popup_dialog) [MAC_OSX]: Likewise. | |
626 | ||
78f0d1fc RS |
627 | 2007-04-29 Richard Stallman <rms@gnu.org> |
628 | ||
629 | * insdel.c (replace_range): For undo, record insertion first. | |
630 | ||
4bb7141c AS |
631 | 2007-04-29 Andreas Schwab <schwab@suse.de> |
632 | ||
633 | * lisp.h (VECSIZE): Use OFFSETOF. | |
634 | ||
207f10c6 YM |
635 | 2007-04-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
636 | ||
637 | * xdisp.c (try_window_reusing_current_matrix): Fix number of | |
638 | disabled lines. | |
639 | ||
157e3182 RS |
640 | 2007-04-28 Richard Stallman <rms@gnu.org> |
641 | ||
642 | * lread.c (read_escape): In a string, \s is always space. | |
643 | ||
9d1536a6 JD |
644 | 2007-04-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
645 | ||
f1f6b769 JD |
646 | * xmenu.c (xdialog_show): Call Fredisplay before showing the dialog. |
647 | ||
9d1536a6 JD |
648 | * gtkutil.c (xg_update_menubar, create_menus): Create empty |
649 | submenu for menu bar items. | |
650 | ||
d7504a3f NR |
651 | 2007-04-24 Chong Yidong <cyd@stupidchicken.com> |
652 | ||
653 | * Branch for 22.1. | |
654 | ||
53105662 CY |
655 | 2007-04-24 Chong Yidong <cyd@stupidchicken.com> |
656 | ||
657 | * xdisp.c (redisplay_window): Use BEG_UNCHANGED and END_UNCHANGED | |
658 | values of the actual window. | |
659 | ||
bdfeaf61 RS |
660 | 2007-04-23 Richard Stallman <rms@gnu.org> |
661 | ||
662 | * process.c (Fstart_process): Doc fix. | |
663 | ||
c9c3704c EZ |
664 | 2007-04-23 Eli Zaretskii <eliz@gnu.org> |
665 | ||
666 | * process.c (Fstart_process): Doc fix. | |
667 | ||
5fe751c9 RS |
668 | 2007-04-22 Richard Stallman <rms@gnu.org> |
669 | ||
670 | * abbrev.c (Fdefine_abbrev): Doc fix. | |
671 | ||
672 | * keymap.c (Fdefine_key): Minor doc fix. | |
673 | ||
b1e6882f GM |
674 | 2007-04-21 Glenn Morris <rgm@gnu.org> |
675 | ||
676 | * keymap.c (Fdefine_key): Fix info ref in doc string. | |
677 | ||
8ea8a516 CY |
678 | 2007-04-20 Glenn Morris <rgm@gnu.org> |
679 | ||
680 | * sysdep.c (init_system_name): Don't accept localhost.localdomain. | |
681 | ||
6cc62df0 JB |
682 | 2007-04-19 Juanma Barranquero <lekktu@gmail.com> |
683 | ||
684 | * minibuf.c (Fminibuffer_contents, Fminibuffer_contents_no_properties) | |
685 | (Fminibuffer_completion_contents, Fdelete_minibuffer_contents): | |
686 | Doc fixes. | |
687 | ||
837751ae CY |
688 | 2007-04-16 Chong Yidong <cyd@stupidchicken.com> |
689 | ||
5df39998 SM |
690 | * dispnew.c (adjust_frame_glyphs_for_frame_redisplay): |
691 | Set garbaged flag in presence of window margins. | |
30603ba1 CY |
692 | (showing_window_margins_p): New function. |
693 | ||
837751ae CY |
694 | * xdisp.c (cursor_row_p): Only end row on newline if it's a |
695 | display string. Suggested by Lennart Borgman. | |
696 | ||
add3c3ea YM |
697 | 2007-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
698 | ||
699 | * alloc.c (mem_insert): Set min_heap_address and max_heap_address | |
700 | if they are not yet initialized. | |
701 | ||
bc4aed8f CY |
702 | 2007-04-15 Chong Yidong <cyd@stupidchicken.com> |
703 | ||
704 | * xdisp.c (redisplay_window): When deciding whether or not to | |
705 | recenter, don't use the reset values of BEG_UNCHANGED and | |
706 | END_UNCHANGED. | |
707 | ||
42587578 KS |
708 | 2007-04-13 Kim F. Storm <storm@cua.dk> |
709 | ||
710 | * buffer.c (Fkill_buffer): gcpro BUF during kill_buffer_processes | |
711 | and check that buffer is still alive upon return. | |
712 | ||
19ee09cc YM |
713 | 2007-04-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
714 | ||
715 | * macterm.c [!TARGET_API_MAC_CARBON]: Include Displays.h. | |
716 | (mac_screen_config_changed): New variable. | |
717 | (mac_handle_dm_notification, init_dm_notification_handler) | |
718 | (mac_get_screen_info): New functions. | |
719 | [MAC_OS8] (main): Call init_dm_notification_handler. | |
720 | (mac_initialize) [MAC_OSX]: Likewise. | |
721 | (XTread_socket): Call mac_get_screen_info if screen config changed. | |
722 | (mac_initialized): Make static. | |
723 | (mac_initialize_display_info): Remove function. | |
42587578 | 724 | (mac_term_init): Call mac_get_screen_info. Add partial contents of |
19ee09cc YM |
725 | mac_initialize_display_info. |
726 | ||
2a953eae YM |
727 | 2007-04-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
728 | ||
729 | * mac.c (xrm_get_preference_database, Fmac_get_preference) | |
730 | [TARGET_API_MAC_CARBON]: Use CFPreferencesAppSynchronize. | |
731 | ||
732 | * macterm.c [TARGET_API_MAC_CARBON] (mac_post_mouse_moved_event): | |
733 | Use GetGlobalMouse instead of GetMouse and LocalToGlobal. | |
734 | (mac_initialize_display_info) [MAC_OSX]: Use CGRectZero. | |
735 | (mac_initialize_display_info) [!MAC_OSX]: dpyinfo->height and | |
736 | dpyinfo->width are those of whole screen. | |
737 | ||
63a4fc68 CY |
738 | 2007-04-10 Chong Yidong <cyd@stupidchicken.com> |
739 | ||
740 | * xdisp.c (note_mode_line_or_margin_highlight): Don't decrement | |
741 | glyph pointer before start of glyph row. | |
742 | ||
82608dd9 YM |
743 | 2007-04-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
744 | ||
745 | * s/darwin.h (__restrict, struct kboard): Remove outdated workarounds. | |
746 | (C_SWITCH_SYSTEM): Remove `-I../mac/src'. | |
747 | ||
4c669c09 RS |
748 | 2007-04-09 Martin Rudalics <rudalics@gmx.at> |
749 | ||
750 | * indent.c (Fmove_to_column): Set next_boundary with correct start pt. | |
751 | ||
aa9c7852 RS |
752 | 2007-04-08 Richard Stallman <rms@gnu.org> |
753 | ||
754 | * xdisp.c (syms_of_xdisp) <message-log-max>: Default 100. | |
755 | ||
b1e553b4 CY |
756 | 2007-04-07 Chong Yidong <cyd@stupidchicken.com> |
757 | ||
758 | * editfns.c (Ftranspose_regions): Validate interval before setting | |
759 | text properties. | |
760 | ||
06efaba2 EZ |
761 | 2007-04-03 Eli Zaretskii <eliz@gnu.org> |
762 | ||
763 | * emacs.c (main): Fix instructions for building Emacs for profiling. | |
764 | ||
0a194c92 JD |
765 | 2007-04-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
766 | ||
767 | * gtkutil.c (xg_update_menubar): Call g_list_next after moving | |
768 | menu bar item. | |
769 | ||
1a7de17e JB |
770 | 2007-04-02 Juanma Barranquero <lekktu@gmail.com> |
771 | ||
772 | * print.c (Fprin1_to_string): Use macro SPECPDL_INDEX. | |
773 | ||
50fcc399 CY |
774 | 2007-04-01 Chong Yidong <cyd@stupidchicken.com> |
775 | ||
f8c9f4b1 CY |
776 | * keymap.c (Fcommand_remapping): New optional argument. |
777 | (where_is_internal): Use new keymaps argument. | |
778 | (Fkey_binding): Caller changed. | |
779 | ||
780 | * keyboard.c (command_loop_1): Caller changed. | |
50fcc399 | 781 | |
89a4f43f EZ |
782 | 2007-03-31 Eli Zaretskii <eliz@gnu.org> |
783 | ||
784 | * window.c (Fget_lru_window): Doc fix. | |
785 | ||
6cf1226a CY |
786 | 2007-03-30 Chong Yidong <cyd@stupidchicken.com> |
787 | ||
788 | * undo.c (Fprimitive_undo): Give clearer error message when trying | |
789 | to change text properties outside accessible part of buffer. | |
790 | ||
1acc2cac KS |
791 | 2007-03-29 Kim F. Storm <storm@cua.dk> |
792 | ||
793 | * process.c (wait_reading_process_output) [HAVE_PTYS]: | |
794 | When EIO happens, clear channel from descriptor masks before raising | |
795 | SIGCHLD signal to avoid busy loop between read and sigchld_handler. | |
796 | (sigchld_handler): Remove sleep (2007-03-11 & 2007-03-26 changes). | |
797 | ||
cbf23adb JB |
798 | 2007-03-29 Juanma Barranquero <lekktu@gmail.com> |
799 | ||
ea4fddd8 JB |
800 | * buffer.c (Fset_buffer_major_mode): Check that BUFFER is valid. |
801 | ||
cbf23adb JB |
802 | * process.c (Fformat_network_address): Return nil when the |
803 | argument vector contains invalid values. | |
804 | ||
a0dd810b YM |
805 | 2007-03-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
806 | ||
807 | * gmalloc.c [HAVE_GTK_AND_PTHREAD]: Define USE_PTHREAD. | |
808 | [USE_PTHREAD]: Include pthread.h. | |
809 | (malloc_init_once_control, _malloc_mutex) [USE_PTHREAD]: New variables. | |
810 | (malloc_initialize_1): New function created from __malloc_initialize. | |
811 | (__malloc_initialize): Use it. | |
812 | (LOCK, UNLOCK): New macros to make malloc etc. thread safe. | |
813 | (_malloc_internal, _free_internal, _realloc_internal): Use them. | |
814 | ||
815 | * lread.c (readchar): Extend BLOCK_INPUT block to ferror/clearerr. | |
816 | ||
84e78f61 JB |
817 | 2007-03-27 Juanma Barranquero <lekktu@gmail.com> |
818 | ||
819 | * process.c (Fformat_network_address): Make args array big enough | |
820 | to format IPv6 addresses. | |
821 | ||
6afdff63 GM |
822 | 2007-03-27 Glenn Morris <rgm@gnu.org> |
823 | ||
824 | * m/hp800.h: Restore HP-UX support (removed 2007-01-29). | |
825 | ||
b51065cf YM |
826 | 2007-03-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
827 | ||
84e78f61 JB |
828 | * macfns.c (Fx_display_mm_height, Fx_display_mm_width): Scale whole |
829 | screen size in pixels by millimeters per pixel of main display. | |
b51065cf | 830 | |
84e78f61 JB |
831 | * macselect.c (get_scrap_target_type_list, x_own_selection): |
832 | Move assignments outside predicate macros. | |
b51065cf YM |
833 | (Vselection_converter_alist): Doc fix. |
834 | ||
835 | * macterm.c (create_text_encoding_info_alist): Move assignments | |
836 | outside predicate macros. | |
837 | (mac_initialize_display_info) [MAC_OSX]: dpyinfo->height and | |
838 | dpyinfo->width are those of whole screen. | |
839 | ||
8f0e1e44 SS |
840 | 2007-03-26 Sam Steingold <sds@gnu.org> |
841 | ||
842 | * process.c (sigchld_handler): Delay by 1ms instead of 1s to | |
843 | alleviate sluggishness (the original problem is still fixed). | |
844 | ||
aa95cbb5 KS |
845 | 2007-03-25 Kim F. Storm <storm@cua.dk> |
846 | ||
847 | * intervals.c (merge_properties): Use explicit loop instead of | |
848 | Fplist_member to avoid QUIT. Don't use Fcdr. | |
849 | (intervals_equal): Likewise. Rewrite loop to perform length check | |
850 | on the fly rather than calling Flength. Don't use Fcar. | |
851 | ||
61880ffe EZ |
852 | 2007-03-24 Eli Zaretskii <eliz@gnu.org> |
853 | ||
854 | * editfns.c (Fgoto_char): Doc fix. | |
855 | ||
856 | * indent.c (Findent_to): Doc fix. | |
857 | ||
159f7bef CY |
858 | 2007-03-24 Chong Yidong <cyd@stupidchicken.com> |
859 | ||
860 | * editfns.c (Ftranspose_regions): Use set_text_properties_1 | |
861 | instead of Fset_text_properties to avoid GC. Signal after change. | |
862 | ||
87c891c7 EZ |
863 | 2007-03-24 Eli Zaretskii <eliz@gnu.org> |
864 | ||
865 | * xfns.c (Fx_show_tip): Doc fix. | |
866 | ||
867 | * macfns.c (Fx_show_tip): Doc fix. | |
868 | ||
869 | * w32fns.c (Fx_show_tip): Doc fix. | |
870 | ||
be5ef8f0 KS |
871 | 2007-03-23 Kim F. Storm <storm@cua.dk> |
872 | ||
873 | * intervals.c (merge_properties, intervals_equal): | |
874 | Use Fplist_member instead of Fmemq to find properties. | |
875 | ||
6afdff63 GM |
876 | 2007-03-23 Glenn Morris <rgm@gnu.org> |
877 | ||
878 | * unexhp9k800.c: Restore file with clarified legal status. | |
879 | * m/sr2k.h: Restore since dependency unexhp9k800.c is restored. | |
880 | ||
96356799 CY |
881 | 2007-03-22 Chong Yidong <cyd@stupidchicken.com> |
882 | ||
883 | * widget.c (EmacsFrameSetCharSize): Catch X errors. | |
884 | ||
3ff2c161 KH |
885 | 2007-03-22 Kenichi Handa <handa@m17n.org> |
886 | ||
887 | * fileio.c (Fcopy_file): Call barf_or_query_if_file_exists with | |
888 | non-encoded file name. | |
889 | (Frename_file): Likewise. | |
890 | (Fadd_name_to_file): Likewise. | |
891 | (Fmake_symbolic_link): Likewise. | |
892 | ||
87f4728f YM |
893 | 2007-03-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
894 | ||
895 | * Makefile.in (alloca.o, gtkutil.o): Depend on systime.h. | |
896 | (dired.o, editfns.o, fileio.o, msdos.o): Depend on atimer.h. | |
897 | (dosfns.o, window.o, fns.o, macselect.o): Depend on atimer.h and | |
898 | systime.h. | |
899 | (term.o, print.o, lread.o): Depend on blockinput.h, atimer.h, and | |
900 | systime.h. | |
901 | (macfns.o): Remove duplicate dependency on systime.h. | |
902 | ||
903 | * dispnew.c (Fopen_termscript): Add BLOCK_INPUT around fclose. | |
904 | (Fsend_string_to_terminal): Add BLOCK_INPUT around fwrite. | |
905 | ||
906 | * fileio.c (do_auto_save_unwind): Add BLOCK_INPUT around fclose. | |
907 | (Fdo_auto_save): Add BLOCK_INPUT around fwrite. | |
908 | ||
909 | * keyboard.c (record_char): Add BLOCK_INPUT around fwrite. | |
910 | (Fopen_dribble_file): Add BLOCK_INPUT around fclose. | |
911 | ||
912 | * lread.c: Include blockinput.h. | |
913 | (readchar, Fget_file_char): Add BLOCK_INPUT around getc. | |
914 | (unreadchar): Add BLOCK_INPUT around ungetc. | |
915 | (load_unwind): Add BLOCK_INPUT around fclose. | |
916 | ||
917 | * print.c: Include blockinput.h. | |
918 | (Fredirect_debugging_output): Add BLOCK_INPUT around fclose. | |
919 | ||
523fc433 JB |
920 | * process.c (Fmake_network_process) [HAVE_GETADDRINFO]: |
921 | Clear immediate_quit before calling freeaddrinfo. | |
922 | Add BLOCK_INPUT around freeaddrinfo. | |
87f4728f YM |
923 | |
924 | * term.c: Include blockinput.h. | |
925 | (write_glyphs, insert_glyphs): Add BLOCK_INPUT around fwrite. | |
926 | ||
705959fc RS |
927 | 2007-03-19 Richard Stallman <rms@gnu.org> |
928 | ||
929 | * keyboard.c (NUM_RECENT_KEYS): Bump up to 300. | |
930 | ||
931 | * buffer.c (syms_of_buffer): Doc fix. | |
932 | ||
b55252e0 CY |
933 | 2007-03-18 Chong Yidong <cyd@stupidchicken.com> |
934 | ||
935 | * image.c (pbm_load): Signal error for invalid image size. | |
936 | ||
c601a8ed YM |
937 | 2007-03-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
938 | ||
939 | * macterm.c (note_mouse_movement): Don't return immediately for | |
940 | LeaveNotify case. | |
941 | ||
942 | * macmenu.c (popup_activated_flag): New variable. | |
943 | (x_activate_menubar, mac_menu_show): Set it during menu tracking. | |
944 | (popup_activated): New function. | |
945 | ||
84e78f61 JB |
946 | * xdisp.c (redisplay_internal, note_mouse_highlight): |
947 | Check popup_activated for MAC_OS. | |
c601a8ed | 948 | |
adbb3b05 | 949 | 2007-03-17 Juanma Barranquero <lekktu@gmail.com> |
e3a1ed3b | 950 | |
adbb3b05 JB |
951 | * buffer.c (syms_of_buffer) <buffer-display-table>: Doc fix. |
952 | Reported by Nikolaj Schumacher <n_schumacher@web.de>. | |
e338790f | 953 | |
b7f51ebb JB |
954 | 2007-03-17 Richard Stallman <rms@gnu.org> |
955 | ||
705959fc | 956 | * dired.c (file_name_completion): gcpro NAME. |
b7f51ebb | 957 | |
1c8f28b0 KS |
958 | 2007-03-17 Chong Yidong <cyd@stupidchicken.com> |
959 | ||
960 | * xdisp.c (try_window_id): Increment matrix positions if the | |
961 | buffer's byte count has increased, but not the character count. | |
962 | ||
8b60f44c CY |
963 | 2007-03-12 Andreas Schwab <schwab@suse.de> |
964 | ||
965 | * lisp.h: Declare check_obarray. | |
966 | ||
967 | * process.c (Fdelete_process): Properly handle deletion of first | |
968 | element of deleted_pid_list. | |
969 | (create_process): Declare pid as pid_t. | |
970 | ||
46adc7a5 CY |
971 | 2007-03-12 Kim F. Storm <storm@cua.dk> |
972 | ||
973 | * process.c (sigchld_handler): Change type of pid to pid_t. | |
974 | Scan deleted_pid_list explicitly to avoid using Fmember which don't | |
975 | know about mark bits and make_fixnum_or_float which may malloc. | |
976 | Reported by Andreas Schwab. | |
977 | ||
978 | * keyboard.c (read_key_sequence): Store original event into keybuf | |
979 | when replaying sequence with local keymap(s) from string. | |
980 | ||
7ad42042 GM |
981 | 2007-03-12 Glenn Morris <rgm@gnu.org> |
982 | ||
983 | * editfns.c (Fdecode_time, Fencode_time): Doc fix ("daylight | |
984 | savings" to "daylight saving"). | |
985 | ||
ece29e38 SS |
986 | 2007-03-11 Sam Steingold <sds@gnu.org> |
987 | ||
988 | * process.c (sigchld_handler): Sleep before wait3 to avoid a busyloop. | |
989 | ||
c13ba385 YM |
990 | 2007-03-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
991 | ||
992 | * macfns.c (Fx_server_vendor): Change vendor string to "Apple Inc.". | |
993 | ||
5bc21f35 YM |
994 | 2007-03-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
995 | ||
adbb3b05 JB |
996 | * macterm.c [USE_CARBON_EVENTS] (mac_handle_mouse_event): |
997 | Ignore mouse wheel movement on title bar or tool bar. | |
5bc21f35 | 998 | |
7469c0f9 CY |
999 | 2007-03-10 Chong Yidong <cyd@stupidchicken.com> |
1000 | ||
1001 | * keyboard.c (help_form_saved_window_configs): New var. | |
1002 | (read_char_help_form_unwind): New function. | |
1003 | (read_char): Don't restore window configuration if a mouse click | |
1004 | arrives while the help form is being displayed. | |
1005 | ||
eebe9a29 KS |
1006 | 2007-03-10 Kim F. Storm <storm@cua.dk> |
1007 | ||
1008 | * xdisp.c (redisplay_window): Don't automatically select a new window | |
1009 | start for a contination line during mouse-click. | |
1010 | ||
a3a44a5a JD |
1011 | 2007-03-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1012 | ||
1013 | * xterm.c (handle_one_xevent): Ignore buttons > 3 for the tool bar. | |
1014 | ||
49d92e9d JB |
1015 | 2007-03-09 Juanma Barranquero <lekktu@gmail.com> |
1016 | ||
1017 | * keymap.c (Fdescribe_buffer_bindings): Check that BUFFER is valid. | |
1018 | ||
7d8d0914 RS |
1019 | 2007-03-08 Richard Stallman <rms@gnu.org> |
1020 | ||
1021 | * keyboard.c (syms_of_keyboard): Doc fix. | |
1022 | ||
b033f7a7 CY |
1023 | 2007-03-08 Chong Yidong <cyd@stupidchicken.com> |
1024 | ||
1025 | * minibuf.c (Ftry_completion): Don't short circuit if | |
1026 | completion-ignore-case is non-nil. | |
1027 | ||
7a844a76 YM |
1028 | 2007-03-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1029 | ||
1030 | * macfns.c (mac_set_scroll_bar_width, mac_frame_parm_handlers): | |
1031 | Undo 2006-03-06 changes. | |
1032 | ||
1033 | * macterm.c (XTset_vertical_scroll_bar) [MAC_OSX]: Don't show scroll | |
1034 | bar if its width is smaller than that of Aqua small scroll bar. | |
1035 | ||
d9d7b298 SM |
1036 | 2007-03-07 Stefan Monnier <monnier@iro.umontreal.ca> |
1037 | ||
1038 | * minibuf.c (read_minibuf): Bind inhibit-read-only a bit longer so as | |
1039 | to handle correctly prompts with read-only property. | |
1040 | ||
a28de257 JD |
1041 | 2007-03-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1042 | ||
1043 | * sound.c (wav_play): Check header->data_length to see how much we | |
1044 | shall read. | |
1045 | (alsa_period_size): Convert ALSA period size in frames to bytes. | |
1046 | (alsa_write): Return if frames is zero. | |
1047 | ||
15c2ffb2 KH |
1048 | 2007-03-06 Kenichi Handa <handa@m17n.org> |
1049 | ||
1050 | * xselect.c (Vselection_coding_system): Documentation improved. | |
1051 | ||
2d21c780 YM |
1052 | 2007-03-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1053 | ||
1054 | * macterm.c (x_scroll_bar_create, XTread_socket): Replace #if | |
1055 | USE_TOOLKIT_SCROLL_BARS with #ifdef USE_TOOLKIT_SCROLL_BARS. | |
1056 | (x_set_window_size): Call SET_FRAME_GARBAGED. Clear window if | |
1057 | internal border width has changed. | |
1058 | ||
1059 | * macterm.h (struct mac_output): New member `internal_border_width'. | |
1060 | ||
d89abe75 RS |
1061 | 2007-03-04 Richard Stallman <rms@gnu.org> |
1062 | ||
1063 | * window.c (Fdisplay_buffer): Doc fix. | |
1064 | ||
046c4413 CY |
1065 | 2007-03-03 Glenn Morris <rgm@gnu.org> |
1066 | ||
1067 | * Makefile.in: Don't clear out LIB_X11_LIB, since XFT_LIBS does | |
1068 | not include -lX11 on Solaris. | |
1069 | ||
49d92e9d | 1070 | 2007-03-02 Stuart D. Herring <herring@lanl.gov> |
b9b26387 | 1071 | |
d9d7b298 | 1072 | * keymap.c (Fkey_binding): Don't consider one-element lists as events. |
b9b26387 | 1073 | |
faa6ce91 KH |
1074 | 2007-03-01 Kenichi Handa <handa@m17n.org> |
1075 | ||
1076 | * process.c (send_process_object): Check the process status and | |
1077 | signal an error if something is wrong. | |
1078 | ||
f79b31db CY |
1079 | 2007-02-28 Chong Yidong <cyd@stupidchicken.com> |
1080 | ||
1081 | * insdel.c (Fcombine_after_change_execute): Return nil if | |
1082 | combine_after_change_buffer has been invalidated. | |
1083 | ||
5f5a9e29 DN |
1084 | 2007-02-25 Dan Nicolaescu <dann@ics.uci.edu> |
1085 | ||
1086 | * m/xtensa.h: New file. | |
1087 | ||
d3332249 NR |
1088 | 2007-02-24 Nick Roberts <nickrob@snap.net.nz> |
1089 | ||
1090 | * .gdbinit (xprintstr): Ensure GDB (> 6.6) prints symbol name | |
1091 | as strings and not character arrays. | |
1092 | ||
cd2e3962 YM |
1093 | 2007-02-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1094 | ||
1095 | * macterm.c [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_drag) | |
1096 | (x_set_toolkit_scroll_bar_thumb): Add bar->min_handle as margin to | |
1097 | scroll bar handle size in order to avoid `scroll backward' problem. | |
1098 | (x_scroll_bar_create, XTset_vertical_scroll_bar) | |
1099 | [USE_TOOLKIT_SCROLL_BARS]: Initialize bar->min_handle. | |
1100 | ||
d9d7b298 SM |
1101 | * macterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: |
1102 | New member `min_handle'. | |
cd2e3962 | 1103 | |
948f7516 KS |
1104 | 2007-02-23 Kim F. Storm <storm@cua.dk> |
1105 | ||
1106 | * print.c (print): Reset print_number_index if Vprint_number_table | |
1107 | is nil. | |
1108 | ||
617a6756 EZ |
1109 | 2007-02-23 Eli Zaretskii <eliz@gnu.org> |
1110 | ||
1111 | * w32.c (stat, get_long_basename, is_unc_volume): Use _mbspbrk | |
1112 | instead of strpbrk. | |
1113 | ||
0efdda24 YM |
1114 | 2007-02-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1115 | ||
1116 | * macmenu.c (mac_menu_show): Call unbind_to early. Use variable | |
1117 | `menu_item_selection' as in W32 version. | |
1118 | [TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Add explicit | |
1119 | braces to avoid ambiguous `else'. | |
1120 | ||
1121 | * macterm.c (mac_display_info_for_display): Remove function. | |
1122 | (mac_flush_display_optional) [USE_CG_DRAWING]: New function. | |
1123 | (x_redisplay_interface) [USE_CG_DRAWING]: Set it as handler for | |
1124 | flush_display_optional. | |
d9d7b298 SM |
1125 | [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_press): |
1126 | New argument MOUSE_POS. All uses changed. Set bar->dragging to | |
0efdda24 | 1127 | negative integer if scroll bar handle is pressed. |
d9d7b298 SM |
1128 | [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_release): |
1129 | Negative bar->dragging means scroll bar handle is not dragged. | |
0efdda24 YM |
1130 | [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_drag): Get initial |
1131 | offset of scroll bar handle from negative bar->dragging. | |
1132 | (XTread_socket) [USE_TOOLKIT_SCROLL_BARS]: Modifiers for scroll | |
1133 | bar click is compared against mapped one. Set down/up_modifier | |
1134 | for scroll bar click event with control key. | |
1135 | ||
1136 | * macterm.h (x_display_info_for_display): Remove extern. | |
1137 | (SCROLL_BAR_UNPACK, SET_SCROLL_BAR_CONTROL_HANDLE): Don't limit | |
1138 | value to be unpacked to 32-bit on LP64 model. | |
1139 | ||
8d4e7254 KH |
1140 | 2007-02-23 Kenichi Handa <handa@m17n.org> |
1141 | ||
1142 | * process.c (send_process_object_unwind): New function. | |
1143 | (send_process_object): New function. | |
1144 | (Fprocess_send_region): Call send_process_object. | |
1145 | (Fprocess_send_string): Likewise. | |
1146 | ||
904700a0 JR |
1147 | 2007-02-22 Jason Rumney <jasonr@gnu.org> |
1148 | ||
2f028a74 JR |
1149 | * w32menu.c (w32_menu_show): Mark the frame's menu as inactive |
1150 | when popup menu finishes. | |
1151 | ||
58e55497 | 1152 | * w32fns.c (menubar_in_use): New flag. |
72a3a66a JR |
1153 | (w32_wnd_proc) [WM_INITMENU, WM_EXITMENULOOP, WM_TIMER, WM_COMMAND]: |
1154 | Use it. | |
1155 | ||
a67b5c3d JR |
1156 | * w32menu.c (Fx_popup_menu): Don't free menu strings here. |
1157 | (w32_menu_show): Do it here instead. | |
1158 | ||
ca21600d JB |
1159 | * w32fns.c (w32_wnd_proc) [WM_INITMENU]: Set menubar_active frame |
1160 | parameter. | |
90816b86 | 1161 | |
904700a0 JR |
1162 | * w32menu.c (current_popup_menu): Make available globally. |
1163 | (menubar_selection_callback): Free menu strings before pushing the | |
d9d7b298 | 1164 | menu event into the keyboard buffer. Remove menu_command_in_progress. |
904700a0 JR |
1165 | |
1166 | * w32fns.c (current_popup_menu): Use from w32menu.c. | |
90816b86 JR |
1167 | (w32_wnd_proc) [WM_EXITMENULOOP, WM_TIMER]: Use menubar_active |
1168 | and current_popup_menu to determine whether a menubar menu has | |
1169 | been cancelled. | |
904700a0 JR |
1170 | |
1171 | * w32term.h (w32_output): Remove menu_command_in_progress. | |
1172 | ||
d1eeefeb KS |
1173 | 2007-02-22 Kim F. Storm <storm@cua.dk> |
1174 | ||
1175 | * dispnew.c (update_frame, update_single_window): Set force_p here if | |
1176 | redisplay_dont_pause is set or Vredisplay_preemption_period is nil... | |
1177 | (update_window, update_frame_1): ... instead of here. | |
e973477d | 1178 | (update_text_area): Clear mouse face on header lines. |
d1eeefeb | 1179 | |
dfb1e36c KS |
1180 | 2007-02-21 Kim F. Storm <storm@cua.dk> |
1181 | ||
1182 | * minibuf.c (Fassoc_string): Doc fix. Allow symbol for KEY too. | |
1183 | ||
d8506697 YM |
1184 | 2007-02-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1185 | ||
1186 | * macterm.c (WINDOW_RESOURCE, TERM_WINDOW_RESOURCE): Remove macros. | |
1187 | [USE_MAC_TSM] (mac_handle_text_input_event): Remove unused variable | |
1188 | `mapped_modifiers'. | |
1189 | (XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1020]: Use Keyboard | |
1190 | Layout Services routines to get current Unicode keyboard layout. | |
1191 | ||
864a4ae7 CY |
1192 | 2007-02-20 Chong Yidong <cyd@stupidchicken.com> |
1193 | ||
ca21600d JB |
1194 | * frame.c (x_set_screen_gamma): Apply gamma value to the frame's |
1195 | bgcolor. | |
864a4ae7 | 1196 | |
86dcc2c3 KS |
1197 | 2007-02-19 Kim F. Storm <storm@cua.dk> |
1198 | ||
669b454d KS |
1199 | * minibuf.c (Fassoc_string): Allow symbols as keys. |
1200 | ||
86dcc2c3 KS |
1201 | * w32term.c (w32_set_scroll_bar_thumb): Don't resize scroll-bar |
1202 | handle while dragging, except when we get close to eob. | |
1203 | Fix position and size calculations so we don't scroll backwards | |
1204 | just by clicking on the handle. | |
1205 | ||
bc23733a YM |
1206 | 2007-02-17 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1207 | ||
1208 | * Makefile.in (${emacsapp}Contents/Resources/Emacs.rsrc) | |
1209 | [HAVE_CARBON]: Remove target. | |
1210 | (macosx-app) [HAVE_CARBON]: Don't depend on it. | |
1211 | ||
ebf24b59 JB |
1212 | 2007-02-17 Juanma Barranquero <lekktu@gmail.com> |
1213 | ||
1214 | * callproc.c (syms_of_callproc) <doc-directory>: | |
1215 | <configure-info-directory>: | |
1216 | (Fgetenv_internal): Fix typos in docstrings. | |
1217 | ||
1218 | * doc.c (Fsubstitute_command_keys): Fix typo in docstring. | |
1219 | ||
52b2c096 AS |
1220 | 2007-02-16 Andreas Schwab <schwab@suse.de> |
1221 | ||
3b58be21 AS |
1222 | * frame.c (Fmodify_frame_parameters): Return a value. |
1223 | ||
52b2c096 AS |
1224 | * editfns.c (Fformat): Add support for '+' flag. |
1225 | * doprnt.c (doprnt1): Likewise. Fix overflow checking. | |
1226 | ||
44713939 CY |
1227 | 2007-02-14 Chong Yidong <cyd@stupidchicken.com> |
1228 | ||
1229 | * s/umips.h: Unused file removed. | |
1230 | ||
424f6998 JB |
1231 | 2007-02-14 Juanma Barranquero <lekktu@gmail.com> |
1232 | ||
1233 | * xfaces.c (Fcolor_distance): Don't continue checking a color for | |
1234 | errors after it has been correctly parsed as an RGB list. | |
1235 | ||
6dac214c JD |
1236 | 2007-02-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1237 | ||
1238 | * xterm.c (do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN. | |
1239 | ||
409d2613 YM |
1240 | 2007-02-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1241 | ||
1242 | * macfns.c (Fx_focus_frame): Move current process to foreground if | |
1243 | it is not. | |
1244 | [TARGET_API_MAC_CARBON] (Fx_file_dialog): Replace #if MAC_OSX with | |
1245 | #ifdef MAC_OSX. | |
1246 | (Fmac_set_font_panel_visible_p) [USE_MAC_FONT_PANEL]: Rename from | |
1247 | Fmac_set_font_panel_visibility. All uses changed. Rename argument | |
1248 | VISIBLE to FLAG. | |
1249 | ||
1250 | * macterm.c (MakeMeTheFrontProcess) [MAC_OSX]: Remove function. | |
1251 | (mac_initialize) [MAC_OSX]: Call SetFrontProcess instead of | |
1252 | MakeMeTheFrontProcess. | |
1253 | ||
09efb30a CY |
1254 | 2007-02-12 Chong Yidong <cyd@stupidchicken.com> |
1255 | ||
1256 | * frame.c (x_set_screen_gamma): Clear face cache. | |
1257 | ||
550934c8 JB |
1258 | 2007-02-11 Juanma Barranquero <lekktu@gmail.com> |
1259 | ||
1260 | * buffer.c (Fgenerate_new_buffer_name, Fbuffer_modified_tick): | |
1261 | Reflow docstrings. | |
1262 | ||
3570640e EZ |
1263 | 2007-02-10 Eli Zaretskii <eliz@gnu.org> |
1264 | ||
1265 | * window.c (Fwindow_height, Fwindow_hscroll) | |
1266 | (Fwindow_redisplay_end_trigger, Fwindow_point, Fwindow_start) | |
1267 | (Fwindow_end, Fwindow_display_table, Fwindow_text_height): | |
1268 | Document the effect of WINDOW arg being nil. | |
1269 | ||
2b7ef867 KS |
1270 | 2007-02-08 Kim F. Storm <storm@cua.dk> |
1271 | ||
1272 | * minibuf.c (read_minibuf): Fix 2007-01-30 change. | |
550934c8 | 1273 | Use Qlambda as interim value of Vminibuffer_completing_file_name. |
ac6ee452 | 1274 | (Fcompleting_read): Use non-filename maps if value is Qlambda (or Qnil). |
2b7ef867 KS |
1275 | (syms_of_minibuf) <minibuffer-completing-file-name>: Document lambda. |
1276 | ||
8b57a7fd JB |
1277 | 2007-02-07 Juanma Barranquero <lekktu@gmail.com> |
1278 | ||
1279 | * makefile.w32-in ($(TRES)): Use literal "../nt/emacs.rc" instead | |
1280 | of $(ALL_DEPS). | |
1281 | ||
f3d5bd22 EZ |
1282 | 2007-02-07 Eli Zaretskii <eliz@gnu.org> |
1283 | ||
1284 | * makefile.w32-in ($(TRES)): Depend on stamp_BLD, since $(TRES) is | |
1285 | put into $(BLD). | |
1286 | ||
c9008e63 CY |
1287 | 2007-02-06 Chong Yidong <cyd@stupidchicken.com> |
1288 | ||
1289 | * frame.c (Fmodify_frame_parameters): Don't bind | |
1290 | Qinhibit_default_face_x_resources, which has no effect. | |
1291 | (Qinhibit_default_face_x_resources): Symbol deleted. | |
1292 | ||
77083ca3 EZ |
1293 | 2007-02-03 Eli Zaretskii <eliz@gnu.org> |
1294 | ||
1295 | * indent.c (Fmove_to_column): Document that the argument COLUMN is | |
1296 | taken from prefix numeric argument. | |
1297 | ||
191c4353 JB |
1298 | 2007-02-03 Juanma Barranquero <lekktu@gmail.com> |
1299 | ||
1300 | * lread.c (syms_of_lread) <load-history>: Doc fix. | |
1301 | ||
5e1a6e32 JB |
1302 | 2007-01-29 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> (tiny change) |
1303 | ||
1304 | * xterm.c [!USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_expose): | |
1305 | Use the foreground color of the scroll-bar face when drawing | |
1306 | the scroll-bar's border. | |
1024f9c0 | 1307 | |
849bb789 JD |
1308 | 2007-02-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1309 | ||
1310 | * xterm.c (do_ewmh_fullscreen): Check that what != NULL before | |
1311 | calling wm_supports. | |
1312 | ||
099de390 JB |
1313 | 2007-02-01 Juanma Barranquero <lekktu@gmail.com> |
1314 | ||
1315 | * lread.c (syms_of_lread) <user-init-file>: Doc fix. | |
1316 | Wording by Eli Zaretskii. | |
1317 | ||
0cba6386 JD |
1318 | 2007-01-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1319 | ||
1320 | * gtkutil.c (update_frame_tool_bar): Initialize h/vmargin to 0. | |
1321 | ||
25752d87 RS |
1322 | 2007-01-30 Richard Stallman <rms@gnu.org> |
1323 | ||
1324 | * minibuf.c (read_minibuf): | |
1325 | Save and clear Vminibuffer_completing_file_name. | |
1326 | (read_minibuf_unwind): Restore it. | |
1327 | (Vminibuffer_completion_table, Qminibuffer_completion_table) | |
1328 | (Vminibuffer_completion_predicate, Qminibuffer_completion_predicate) | |
1329 | (Vminibuffer_completion_confirm, Qminibuffer_completion_confirm) | |
1330 | (Vminibuffer_completing_file_name): Definitions moved up. | |
1331 | ||
956d1928 CY |
1332 | 2007-01-29 Chong Yidong <cyd@stupidchicken.com> |
1333 | ||
1334 | * m/hp800.h: Restore, removing HP-UX support. | |
1335 | ||
4abaeb50 JD |
1336 | 2007-01-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1337 | ||
1338 | * Makefile.in: Use a variable, XFT_LIBS, instead #define LIB_X11_LIB. | |
1339 | ||
d9380425 RS |
1340 | 2007-01-28 Richard Stallman <rms@gnu.org> |
1341 | ||
1342 | * minibuf.c (Ftry_completion, Fall_completions) | |
1343 | (Fcompleting_read, Ftest_completion): | |
1344 | Rename arg ALIST or TABLE to COLLECTION. | |
1345 | ||
b99e3557 CY |
1346 | 2007-01-27 Chong Yidong <cyd@stupidchicken.com> |
1347 | ||
1348 | * unexhp9k800.c: Remove due to lack of legal papers. | |
1349 | ||
1350 | * m/sr2k.h, m/hp800.h: Remove due to dependence on above. | |
1351 | ||
4fda07c1 EZ |
1352 | 2007-01-27 Eli Zaretskii <eliz@gnu.org> |
1353 | ||
65849ada EZ |
1354 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector): Doc fix. |
1355 | ||
4fda07c1 EZ |
1356 | * minibuf.c (Fcompleting_read): Doc fix. |
1357 | ||
aa4ff486 JD |
1358 | 2007-01-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1359 | ||
cddb7844 JD |
1360 | * gtkutil.c (xg_initialize): Call XftInit if HAVE_XFT. |
1361 | ||
aa4ff486 JD |
1362 | * Makefile.in: Use XFT_LIBS if defined. |
1363 | ||
3fb8b536 YM |
1364 | 2007-01-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1365 | ||
ca21600d JB |
1366 | * alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use |
1367 | BLOCK_INPUT/UNBLOCK_INPUT. | |
3fb8b536 YM |
1368 | |
1369 | * blockinput.h (interrupt_input_blocked): Declare volatile. | |
1370 | ||
1371 | * keyboard.c (interrupt_input_blocked): Declare volatile. | |
1372 | ||
1373 | * syssignal.h (SIGNAL_THREAD_CHECK): Use pthread_equal. | |
1374 | ||
ff40b263 KS |
1375 | 2007-01-24 Kim F. Storm <storm@cua.dk> |
1376 | ||
1377 | * keymap.c (describe_map): Don't consider prefix keys to be shadowed. | |
1378 | ||
9671c13a JB |
1379 | 2007-01-23 Juanma Barranquero <lekktu@gmail.com> |
1380 | ||
1381 | * editfns.c (Finsert_char): Doc fix. | |
1382 | (Fget_internal_run_time, Fdecode_time): Fix typos in docstrings. | |
1383 | ||
447466a5 YM |
1384 | 2007-01-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1385 | ||
523fc433 JB |
1386 | * macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag): |
1387 | Don't pass keyboard modifiers to mac_store_drag_event, but put | |
1388 | them as kEventParamKeyModifiers Apple event parameter. | |
447466a5 | 1389 | |
64401adc CY |
1390 | 2007-01-21 Chong Yidong <cyd@stupidchicken.com> |
1391 | ||
1392 | * xdisp.c (try_window): Revert previous change. | |
1393 | ||
1394 | * dispnew.c (update_text_area): Revert 2006-09-17 change. | |
1395 | Always redraw non-mode-line rows with mouse-face. | |
1396 | ||
7d100727 CY |
1397 | 2007-01-20 Chong Yidong <cyd@stupidchicken.com> |
1398 | ||
1399 | * xdisp.c (try_window): Clear mouse-face highlights first. | |
1400 | ||
1401 | * window.c (set_window_buffer): Revert 2006-11-22 change. | |
1402 | ||
4e251bd1 EZ |
1403 | 2007-01-20 Eli Zaretskii <eliz@gnu.org> |
1404 | ||
1405 | * .gdbinit (ppt, xtype, xmisctype, xint, xptr, xmarker, xframe) | |
1406 | (xbuffer, xcons, xcar, xcdr): Fix doc strings. | |
1407 | ||
25170427 CY |
1408 | 2007-01-20 Chong Yidong <cyd@stupidchicken.com> |
1409 | ||
1410 | * keyboard.c (read_key_sequence): Extract local map only if the | |
1411 | given position is in an accessible buffer region. | |
1412 | ||
acb38529 NR |
1413 | 2007-01-19 Nick Roberts <nickrob@snap.net.nz> |
1414 | ||
1415 | * .gdbinit: Reformat documentation so that first sentence | |
1416 | displays properly with "help user-defined" (like apropos). | |
1417 | ||
9671c13a | 1418 | 2007-01-18 Bruno Haible <bruno@clisp.org> (tiny change) |
4a75434a CY |
1419 | |
1420 | * epaths.in: Move PATH_DOC from local/info to local/share/info. | |
1421 | ||
a35c8b70 YM |
1422 | 2007-01-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1423 | ||
4e251bd1 | 1424 | * macmenu.c (create_and_show_dialog) [TARGET_API_MAC_CARBON]: |
a35c8b70 | 1425 | Create movable modal window instead of movable alert window. |
4e251bd1 EZ |
1426 | (create_and_show_dialog) [!MAC_OSX]: Use DeactivateControl instead |
1427 | of DisableControl. | |
a35c8b70 YM |
1428 | |
1429 | * macselect.c (Fmac_resume_apple_event): Set error number when | |
1430 | descriptor type of reply is non-null. | |
1431 | ||
28c96b4d YM |
1432 | 2007-01-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1433 | ||
d9d7b298 SM |
1434 | * macmenu.c (create_and_show_dialog) [TARGET_API_MAC_CARBON]: |
1435 | Use DisableControl for disabled items. Set default button to first | |
28c96b4d YM |
1436 | enabled one. Use icon of application in execution. |
1437 | ||
9bd1cd35 EZ |
1438 | 2007-01-13 Eli Zaretskii <eliz@gnu.org> |
1439 | ||
9671c13a JB |
1440 | * process.c (Fdelete_process, Fprocess_id, sigchld_handler): |
1441 | Copy PID into EMACS_INT to avoid GCC warnings. | |
d30fe779 | 1442 | |
9bd1cd35 EZ |
1443 | * fns.c (maybe_resize_hash_table): Copy new size of hash table |
1444 | into EMACS_INT to avoid GCC warnings. | |
1445 | ||
1446 | * editfns.c (Fuser_uid, Fuser_real_uid): Copy values returned by | |
1447 | geteuid and getuid into EMACS_INT to avoid GCC warnings. | |
1448 | ||
1449 | * dired.c (Ffile_attributes): Fix last change. | |
1450 | ||
b55445d6 EZ |
1451 | 2007-01-12 Eli Zaretskii <eliz@gnu.org> |
1452 | ||
1453 | * dired.c (Ffile_attributes): Copy some members of `struct stat' | |
1454 | into int's to avoid GCC warnings about limited range of short in | |
1455 | arguments to FIXNUM_OVERFLOW_P. | |
1456 | ||
37370cea YM |
1457 | 2007-01-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1458 | ||
1459 | * macmenu.c (HAVE_DIALOGS): Define if TARGET_API_MAC_CARBON. | |
1460 | (mac_handle_dialog_event, install_dialog_event_handler) | |
1461 | (create_and_show_dialog) [TARGET_API_MAC_CARBON]: New functions. | |
1462 | (DIALOG_LEFT_MARGIN, DIALOG_TOP_MARGIN, DIALOG_RIGHT_MARGIN) | |
1463 | (DIALOG_BOTTOM_MARGIN, DIALOG_MIN_INNER_WIDTH) | |
1464 | (DIALOG_MAX_INNER_WIDTH, DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE) | |
1465 | (DIALOG_BUTTON_BUTTON_VERTICAL_SPACE, DIALOG_BUTTON_MIN_WIDTH) | |
1466 | (DIALOG_TEXT_MIN_HEIGHT, DIALOG_TEXT_BUTTONS_VERTICAL_SPACE) | |
1467 | (DIALOG_ICON_WIDTH, DIALOG_ICON_HEIGHT, DIALOG_ICON_LEFT_MARGIN) | |
1468 | (DIALOG_ICON_TOP_MARGIN) [TARGET_API_MAC_CARBON]: New macros. | |
1469 | (mac_dialog) [TARGET_API_MAC_CARBON]: Remove function. | |
1470 | (mac_dialog_show) [TARGET_API_MAC_CARBON]: Use create_and_show_dialog. | |
1471 | ||
523fc433 JB |
1472 | * macterm.c (x_free_frame_resources) [USE_CG_DRAWING]: |
1473 | Call mac_prepare_for_quickdraw. | |
37370cea YM |
1474 | (quit_char, make_ctrl_char) [TARGET_API_MAC_CARBON]: Move externs |
1475 | outside #ifdef MAC_OSX. | |
1476 | (mac_quit_char_key_p) [TARGET_API_MAC_CARBON]: Move function | |
1477 | outside #ifdef MAC_OSX. | |
1478 | (mac_check_bundle) [MAC_OSX]: Remove unused function. | |
1479 | ||
1480 | * macterm.h (mac_quit_char_key_p): Move extern outside #ifdef MAC_OSX. | |
1481 | (HOURGLASS_WIDTH, HOURGLASS_HEIGHT): Parenthesize definitions. | |
1482 | ||
959dc601 JD |
1483 | 2007-01-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1484 | ||
1485 | * alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use pthread_equal, | |
1486 | block/unblock SIGIO. | |
1487 | ||
8b9ae6b0 SM |
1488 | 2007-01-10 Stefan Monnier <monnier@iro.umontreal.ca> |
1489 | ||
c5c6b2cc SM |
1490 | * editfns.c (Fformat): Allow integer-format to work with floats of size |
1491 | larger than most-positive-fixnum (but still smaller than MAXINT). | |
1492 | ||
8b9ae6b0 SM |
1493 | * dired.c (Ffile_attributes): Use floats for large uids/gids. |
1494 | ||
c7ed3276 EZ |
1495 | 2007-01-09 Eli Zaretskii <eliz@gnu.org> |
1496 | ||
1497 | * emacs.c (syms_of_emacs) <path-separator>: Doc fix. | |
1498 | ||
5d348d3f YM |
1499 | 2007-01-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1500 | ||
1501 | * callproc.c (Fcall_process_region) [HAVE_MKSTEMP]: Add BLOCK_INPUT | |
1502 | around mkstemp. | |
1503 | ||
1504 | * image.c (XDrawLine) [MAC_OS]: Remove macro. | |
1505 | (XCreateGC_pixmap) [!HAVE_NTGUI]: Likewise. | |
1506 | (x_disable_image) [!HAVE_NTGUI]: Use XCreateGC instead of | |
1507 | XCreateGC_pixmap. | |
1508 | ||
1509 | * macgui.h (Display): Typedef to opaque type. | |
1510 | ||
1511 | * macmenu.c (mac_dialog_modal_filter) [MAC_OSX]: New function. | |
1512 | (Fx_popup_dialog) [MAC_OSX]: Use standard alert if called from | |
1513 | Fmessage_box, Fyes_or_no_p, or Fy_or_n_p. | |
8b9ae6b0 SM |
1514 | [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030] (menu_quit_handler): |
1515 | Use mac_quit_char_key_p. | |
5d348d3f YM |
1516 | |
1517 | * macterm.c (XDrawLine): Rename from mac_draw_line_to_pixmap. | |
1518 | (XCreateGC): Change type of 2nd argument to void *. | |
1519 | (XFreeGC) [USE_CG_DRAWING && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
1520 | Fix last change. | |
1521 | (mac_to_emacs_modifiers): Change return type to int. | |
1522 | [USE_CARBON_EVENTS] (mac_event_to_emacs_modifiers): Likewise. | |
1523 | (mac_mapped_modifiers): New function. | |
1524 | (XTread_socket): Use it. | |
1525 | [USE_TSM] (mac_handle_text_input_event): Likewise. | |
1526 | (do_window_update) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. | |
8b9ae6b0 SM |
1527 | (mac_quit_char_modifiers, mac_quit_char_keycode) [MAC_OSX]: |
1528 | Remove variables. | |
5d348d3f YM |
1529 | (mac_determine_quit_char_modifiers, init_quit_char_handler) |
1530 | [MAC_OSX]: Remove functions. | |
1531 | (make_ctrl_char) [MAC_OSX]: Add extern. | |
1532 | (mac_quit_char_key_p) [MAC_OSX]: New function. | |
1533 | (mac_initialize) [MAC_OSX]: Don't call init_quit_char_handler. | |
1534 | ||
1535 | * macterm.h (FONT_MAX_WIDTH): Remove unused macro. | |
1536 | (XCreateGC): Change type in extern. | |
1537 | (XDrawLine): Rename from mac_draw_line_to_pixmap. | |
1538 | (mac_quit_char_key_p) [MAC_OSX]: Add extern. | |
1539 | ||
287110f5 JD |
1540 | 2007-01-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1541 | ||
4c180390 JD |
1542 | * keyboard.c (init_keyboard): Initialize interrupt_input_blocked and |
1543 | interrupt_input_pending. | |
1544 | ||
287110f5 JD |
1545 | * xterm.h (x_display_info): New: net_supported_atoms, |
1546 | nr_net_supported_atoms and net_supported_window. | |
1547 | ||
9671c13a | 1548 | * xterm.c (last_user_time): New variable. |
287110f5 JD |
1549 | (handle_one_xevent): Set last_user_time from events that have Time. |
1550 | Set net_supported_window to 0 when reparented. | |
1551 | (wm_supports): New function. | |
1552 | (do_ewmh_fullscreen): Use wm_supports to check for _NET_WM_STATE. | |
1553 | (x_term_init): Initialize net_supported_atoms, nr_net_supported_atoms | |
1554 | and net_supported_window. | |
1555 | ||
5be70981 KS |
1556 | 2007-01-05 Kim F. Storm <storm@cua.dk> |
1557 | ||
1558 | * indent.c (Fvertical_motion): Fix it overshoot check for overlay | |
1559 | strings without embedded newlines immediately followed by newline. | |
1560 | ||
1675bac7 YM |
1561 | 2007-01-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1562 | ||
1563 | * editfns.c (Fformat_time_string, Fdecode_time, Fencode_time) | |
1564 | (Fcurrent_time_string, Fcurrent_time_zone): Add BLOCK_INPUT around | |
1565 | gmtime/localtime/emacs_memftimeu/mktime. | |
1566 | ||
1567 | * mac.c (Fmac_set_file_creator): Use MAC_EMACS_CREATOR_CODE | |
1568 | instead of 'EMAx'. | |
1569 | [!MAC_OSX] (sys_open, sys_creat, sys_fopen): Likewise. | |
1570 | ||
1571 | * macgui.h (struct _XGC) [USE_CG_DRAWING | |
1572 | && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New members cg_fore_color | |
1573 | and cg_back_color. | |
1574 | ||
1575 | * macmenu.c (Vshow_help_function) [TARGET_API_MAC_CARBON]: Add extern. | |
1576 | (restore_show_help_function, menu_target_item_handler) | |
1577 | [TARGET_API_MAC_CARBON]: New functions. | |
1578 | (install_menu_target_item_handler): New function. | |
1579 | (add_menu_item) [TARGET_API_MAC_CARBON]: Set help string as menu | |
1580 | item property. | |
1581 | ||
1582 | * macterm.c (CG_SET_FILL_COLOR_MAYBE_WITH_CGCOLOR) | |
1583 | (CG_SET_FILL_COLOR_WITH_GC_FOREGROUND) | |
1584 | (CG_SET_FILL_COLOR_WITH_GC_BACKGROUND) | |
1585 | (CG_SET_STROKE_COLOR_MAYBE_WITH_CGCOLOR) | |
1586 | (CG_SET_STROKE_COLOR_WITH_GC_FOREGROUND): New macros. | |
1587 | (mac_cg_color_space_rgb) [USE_CG_DRAWING]: New variable. | |
1588 | (mac_cg_color_black) [USE_CG_DRAWING | |
1589 | && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New variable. | |
1590 | (init_cg_color) [USE_CG_DRAWING]: New function. | |
1591 | (mac_draw_line, mac_draw_rectangle) [USE_CG_DRAWING]: Use | |
1592 | CG_SET_STROKE_COLOR_WITH_GC_FOREGROUND instead of CG_SET_STROKE_COLOR. | |
1593 | (mac_erase_rectangle, mac_clear_window, mac_draw_cg_image) | |
1594 | (mac_fill_rectangle, mac_draw_image_string_cg) [USE_CG_DRAWING]: | |
1595 | Use CG_SET_FILL_COLOR_WITH_GC_FOREGROUND or | |
1596 | CG_SET_FILL_COLOR_WITH_GC_BACKGROUND instead of CG_SET_FILL_COLOR. | |
1597 | (mac_draw_string_common) [MAC_OSX && USE_ATSUI]: Likewise. | |
1598 | (XCreateGC, XFreeGC, XSetForeground, XSetBackground) [USE_CG_DRAWING | |
5e1a6e32 | 1599 | && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Use gc->cg_fore_color and/or |
1675bac7 YM |
1600 | gc->cg_back_color. |
1601 | (install_drag_handler, remove_drag_handler): Make extern. | |
1602 | (install_menu_target_item_handler): Add extern. | |
1603 | (install_window_handler): Call install_menu_target_item_handler. | |
1604 | [MAC_OS8] (main): Use MAC_EMACS_CREATOR_CODE instead of 'EMAx'. | |
5be70981 | 1605 | (mac_initialize) [USE_CG_DRAWING]: Call init_cg_color. |
1675bac7 YM |
1606 | |
1607 | * macterm.h (MAC_EMACS_CREATOR_CODE): New enumerator. | |
1608 | ||
4c9564e8 JB |
1609 | 2007-01-04 Juanma Barranquero <lekktu@gmail.com> |
1610 | ||
1611 | * window.c (Fwindow_end): Fix use of >= operator. | |
1612 | ||
c3295e7b RS |
1613 | 2007-01-03 Richard Stallman <rms@gnu.org> |
1614 | ||
1615 | * window.c (Fwindow_end): Check BUF_OVERLAY_MODIFF like BUF_MODIFF. | |
1616 | ||
0c5e9b06 JD |
1617 | 2007-01-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1618 | ||
1619 | * gtkutil.h (xg_menu_item_cb_data_): Remove highlight_id and | |
1620 | unhighlight_id. | |
1621 | ||
1622 | * gtkutil.c (menuitem_highlight_callback): Invoked widget is the | |
1623 | parent of the menu item. Get menu item widget from event. | |
1624 | (xg_create_one_menuitem, xg_update_menu_item): highlight_id and | |
1625 | unhighlight_id has been removed. | |
1626 | (create_menus): Connect enter/leave-notify-event to the menu instead | |
1627 | of individual items. | |
1628 | ||
1e0fe298 JD |
1629 | 2006-12-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1630 | ||
1631 | * gtkutil.c (update_frame_tool_bar): Connect create-menu-proxy with | |
1632 | xg_tool_bar_menu_proxy. | |
1633 | (xg_tool_bar_menu_proxy): New function. | |
1634 | (xg_tool_bar_proxy_callback): New function. | |
1635 | ||
6e1440e6 JD |
1636 | 2006-12-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1637 | ||
1638 | * gtkutil.c (xg_tool_bar_button_cb): Save last modifier on widget. | |
1639 | (xg_tool_bar_callback): Remove check for button. | |
1640 | (update_frame_tool_bar): Put an event box in the tool bar and a button | |
1641 | in the event box. Attach enter/leave-notify-event to the event box. | |
1642 | ||
dced1a73 RS |
1643 | 2006-12-30 Richard Stallman <rms@gnu.org> |
1644 | ||
1645 | * keymap.c (Fdefine_key): Doc fix. | |
1646 | ||
05a699b6 KS |
1647 | 2006-12-29 Kim F. Storm <storm@cua.dk> |
1648 | ||
1649 | * frame.h (struct frame): New member minimize_tool_bar_window_p. | |
1650 | ||
1651 | * xdisp.c (auto_resize_tool_bars_p): Replace with ... | |
1652 | (Vauto_resize_tool_bars): ... this. | |
1653 | (syms_of_xdisp): DEFVAR_LISP and initialize it. Update doc string | |
1654 | to describe new value `grow-only', and use of C-l. | |
1655 | (display_tool_bar_line): Only use default face for border below | |
1656 | toolbar if not grow-only (to get acceptable visual appearence). | |
1657 | Explicitly set visible_height for empty toolbar lines. | |
1658 | (redisplay_tool_bar): Handle `grow-only' setting. Check and clear | |
1659 | minimize_tool_bar_window_p flag. | |
1660 | ||
1661 | * window.c (Frecenter): Set minimize_tool_bar_window_p flag | |
1662 | when called without arg to redraw with minimum toolbar height. | |
1663 | Update doc string. | |
1664 | ||
e37b3faf JR |
1665 | 2006-12-29 Jason Rumney <jasonr@gnu.org> |
1666 | ||
1667 | * s/ms-w32.h (tzname): Do not define in msvc8. | |
40c41924 | 1668 | (utime): Do not define in msvc8. |
e37b3faf JR |
1669 | |
1670 | * regex.c (regerror): Change parameter name err_code. | |
1671 | ||
dbb8dfc7 RS |
1672 | 2006-12-26 Richard Stallman <rms@gnu.org> |
1673 | ||
e817cc9b RS |
1674 | * search.c (Fsearch_forward): Doc fix. |
1675 | ||
dbb8dfc7 RS |
1676 | * callint.c (Finteractive): Doc fix. |
1677 | ||
42f82ce7 KS |
1678 | 2006-12-25 Kim F. Storm <storm@cua.dk> |
1679 | ||
1680 | * s/ms-w32.h (BROKEN_DATAGRAM_SOCKETS): Define it. | |
1681 | ||
fa1f0a88 EZ |
1682 | 2006-12-23 Eli Zaretskii <eliz@gnu.org> |
1683 | ||
1684 | * keyboard.c (some_mouse_moved): Fix last change. | |
1685 | ||
453027ac EZ |
1686 | 2006-12-22 Eli Zaretskii <eliz@gnu.org> |
1687 | ||
1688 | * callproc.c (syms_of_callproc) <shell-file-name>: Doc fix. | |
1689 | ||
b9542c10 EZ |
1690 | 2006-12-22 Mark Davies <mark@mcs.vuw.ac.nz> |
1691 | ||
1692 | * m/amdx86-64.h, m/hp800.h: Add support for NetBSD. | |
1693 | * m/sh3el.h: New file. | |
1694 | ||
5e059fc1 EZ |
1695 | 2006-12-22 Eli Zaretskii <eliz@gnu.org> |
1696 | ||
ca21600d JB |
1697 | * makefile.w32-in (emacs, temacs): Depend on stamp_BLD instead of |
1698 | $(BLD). | |
5e059fc1 EZ |
1699 | ($(OBJ0) $(OBJ1) $(WIN32OBJ)): New dependency on stamp_BLD. |
1700 | (bootstrap-temacs): Pass $(XMFLAGS) to sub-make. | |
6808dce1 | 1701 | ($(OBJ0) $(OBJ1) $(WIN32OBJ)): Add lastfile.$(O) and firstfile.$(O). |
f278d4a6 | 1702 | (clean): Delete stamp_BLD. |
5e059fc1 | 1703 | |
2f0fd19a YM |
1704 | 2006-12-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1705 | ||
8b9ae6b0 SM |
1706 | * macfns.c (mac_update_title_bar) [TARGET_API_MAC_CARBON]: |
1707 | Call mac_update_proxy_icon also when buffer modification flag changed. | |
2f0fd19a YM |
1708 | [TARGET_API_MAC_CARBON] (mac_update_proxy_icon): Don't update alias, |
1709 | but compare FSRef/FSSpec of resolved alias. | |
1710 | ||
274fa194 KS |
1711 | 2006-12-21 Kim F. Storm <storm@cua.dk> |
1712 | ||
1713 | * w32.c (_sys_wait_accept): Fix handle leak. | |
1714 | ||
7fb24298 JD |
1715 | 2006-12-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1716 | ||
ca21600d JB |
1717 | * sound.c: Include <alsa/asoundlib.h> if ALSA_SUBDIR_INCLUDE is |
1718 | defined. | |
7fb24298 | 1719 | |
15d6777e KS |
1720 | 2006-12-20 Kim F. Storm <storm@cua.dk> |
1721 | ||
1722 | * s/ms-w32.h (BROKEN_NON_BLOCKING_CONNECT): Define it. | |
1723 | ||
209ceeef JB |
1724 | 2006-12-19 Juanma Barranquero <lekktu@gmail.com> |
1725 | ||
1726 | * keyboard.c (syms_of_keyboard) <double-click-time>: | |
1727 | * mac.c (Fmac_code_convert_string): | |
1728 | * search.c (Fsearch_forward): Doc fixes. | |
1729 | ||
36ff6d6f KS |
1730 | 2006-12-19 Kim F. Storm <storm@cua.dk> |
1731 | ||
1732 | Rework 2006-12-04 change. A SIGUSR1 (SIGUSR2) signal now generates | |
1733 | a sigusr1 event instead of [signal usr1] sequence, and signal events | |
1734 | are now supposed to be handled via special-event-map. | |
1735 | ||
1736 | * keyboard.c (kbd_buffer_store_event_hold): Undo 2006-12-04 change. | |
1737 | (make_lispy_event): Don't generate Qsignal prefix for code 0. | |
1738 | Abort if signal code is unknown. | |
1739 | (store_user_signal_events): Don't make Qsignal prefix (code 0). | |
1740 | (Qsignal): Move declaration back to process.c. | |
1741 | (syms_of_keyboard): Don't intern or staticpro it here. | |
1742 | ||
1743 | * process.c (Qsignal): Declare here. | |
1744 | (syms_of_process): Intern or staticpro it. | |
1745 | ||
1746 | * emacs.c (main): Rename user signals to sigusr1 and sigusr2. | |
1747 | ||
1748 | * .gdbinit: Pass on SIGUSR1 and SIGUSR2 to Emacs. | |
1749 | ||
6a28a84c JB |
1750 | 2006-12-19 Juanma Barranquero <lekktu@gmail.com> |
1751 | ||
ebf24b59 | 1752 | * buffer.c (syms_of_buffer) <buffer-display-table>: |
6a28a84c JB |
1753 | <scroll-up-aggressively, scroll-down-aggressively>: Doc fixes. |
1754 | ||
294f1c39 RS |
1755 | 2006-12-17 Richard Stallman <rms@gnu.org> |
1756 | ||
1757 | * fileio.c (Fread_file_name_internal): Pass Vread_file_name_predicate | |
1758 | to Ffile_name_completion. | |
1759 | ||
1760 | * dired.c (file_name_completion): New arg PREDICATE. Some cleanup. | |
6a28a84c | 1761 | (Ffile_name_completion): New arg PREDICATE. |
294f1c39 | 1762 | |
f6e22881 JB |
1763 | 2006-12-17 Juanma Barranquero <lekktu@gmail.com> |
1764 | ||
1765 | * buffer.c (Fkill_buffer): Doc fix. | |
1766 | (syms_of_buffer) <kill-buffer-query-functions>: Doc fix. | |
1767 | ||
f03c1894 JB |
1768 | 2006-12-16 Juanma Barranquero <lekktu@gmail.com> |
1769 | ||
1770 | * minibuf.c (Ftry_completion): Check that obarray buckets are symbols. | |
1771 | ||
04afd01e EZ |
1772 | 2006-12-16 Eli Zaretskii <eliz@gnu.org> |
1773 | ||
b58d0378 EZ |
1774 | * w32fns.c (w32-window-exists-p): New function. |
1775 | (syms_of_w32fns): Defsubr it. | |
1776 | ||
04afd01e EZ |
1777 | * prefix-args.c [STDC_HEADERS]: Include stdlib.h. |
1778 | ||
33202706 JB |
1779 | 2006-12-16 Juanma Barranquero <lekktu@gmail.com> |
1780 | ||
1781 | * minibuf.c (Ftry_completion): Use `check_obarray' if ALIST is a vector. | |
1782 | ||
75036d1c EZ |
1783 | 2006-12-15 Eli Zaretskii <eliz@gnu.org> |
1784 | ||
1785 | * emacs.c (USAGE3): Clarify documentation of --color. | |
1786 | ||
e71b26ec YM |
1787 | 2006-12-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1788 | ||
33202706 JB |
1789 | * mac.c (wakeup_from_rne_enabled_p) [TARGET_API_MAC_CARBON]: |
1790 | New variable. | |
e71b26ec YM |
1791 | (ENABLE_WAKEUP_FROM_RNE, DISABLE_WAKEUP_FROM_RNE): New macros. |
1792 | [!MAC_OSX] (select): Use them. | |
1793 | [MAC_OSX] (select_and_poll_event, sys_select): Likewise. | |
1794 | (mac_wakeup_from_rne) [TARGET_API_MAC_CARBON]: New function. | |
1795 | ||
1796 | * macfns.c (mac_atsu_font_face_attributes) [USE_ATSUI]: Add extern. | |
1797 | (Fmac_atsu_font_face_attributes) [USE_ATSUI]: New function. | |
1798 | (syms_of_macfns) [USE_ATSUI]: Defsubr it. | |
1799 | ||
8b9ae6b0 SM |
1800 | * macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag): |
1801 | Use mac_wakeup_from_rne instead of mac_post_mouse_moved_event. | |
e71b26ec YM |
1802 | |
1803 | * macterm.c (mac_query_char_extents) [USE_ATSUI]: Don't call | |
1804 | ATSUGetGlyphBounds if not necessary. | |
33202706 | 1805 | (Vmac_atsu_font_table) [USE_ATSUI]: Remove variable. |
e71b26ec YM |
1806 | (syms_of_macterm) [USE_ATSUI]: Don't defvar it. |
1807 | (fm_get_style_from_font, atsu_find_font_from_family_name) | |
1808 | (atsu_find_font_family_name, mac_atsu_font_face_attributes) | |
1809 | [USE_ATSUI]: New functions. | |
1810 | (init_font_name_table) [USE_ATSUI]: Use atsu_find_font_family_name. | |
1811 | (mac_load_query_font) [USE_ATSUI]: Use atsu_find_font_from_family_name. | |
1812 | Don't get metrics for Latin-1 right half characters. | |
1813 | (mac_load_query_font): Don't load font if space width is not positive. | |
8b9ae6b0 SM |
1814 | [TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event): |
1815 | Use mac_wakeup_from_rne instead of mac_post_mouse_moved_event. | |
e71b26ec YM |
1816 | (XTread_socket): Call SelectWindow when unfocused frame is clicked. |
1817 | ||
1818 | * macterm.h (mac_wakeup_from_rne) [TARGET_API_MAC_CARBON]: Add extern. | |
1819 | ||
cbaa9c44 KS |
1820 | 2006-12-15 Kim F. Storm <storm@cua.dk> |
1821 | ||
1822 | * keyboard.c (ignore_mouse_drag_p): New global var. | |
1823 | (some_mouse_moved): Return 0 if it is non-zero. | |
1824 | (make_lispy_event): Generate click event on mouse up if | |
1825 | ignore_mouse_drag_p is non-zero, even if mouse moved. | |
1826 | Clear ignore_mouse_drag_p on mouse down/up. | |
1827 | ||
1828 | * xdisp.c (redisplay_window): Set ignore_mouse_drag_p if tool-bar | |
1829 | is resized to avoid generating a mouse drag event. | |
1830 | ||
8a4c4c7f JB |
1831 | 2006-12-14 Juanma Barranquero <lekktu@gmail.com> |
1832 | ||
1833 | * w32fns.c (w32_wnd_proc): Force non-tooltip frames to respect the | |
1834 | minimum tracking size. Remove non-working old hack to do the same. | |
1835 | ||
b1c6aa6e YM |
1836 | 2006-12-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1837 | ||
1838 | * emacs.c (handle_user_signal): Move function to keyboard.c. | |
1839 | (main): Use add_user_signal for SIGUSR1 and SIGUSR2. | |
1840 | ||
1841 | * keyboard.c (make_lispy_event): Use find_user_signal_name. | |
1842 | (read_avail_input): Store pending user signal events. | |
1843 | (struct user_signal_info): New struct. | |
1844 | (user_signals): New variable. | |
e71b26ec YM |
1845 | (add_user_signal, store_user_signal_events) |
1846 | (find_user_signal_name): New functions. | |
b1c6aa6e YM |
1847 | (handle_user_signal): Move function from emacs.c. Don't store |
1848 | USER_SIGNAL_EVENT here, but increment number of pending signals. | |
1849 | ||
1850 | * keyboard.h (add_user_signals): Add extern. | |
1851 | ||
fc961256 JB |
1852 | 2006-12-11 Juanma Barranquero <lekktu@gmail.com> |
1853 | ||
1854 | * buffer.c (syms_of_buffer) <cursor-in-non-selected-windows>: | |
1855 | <default-scroll-up-aggressively, default-scroll-down-aggressively>: | |
1856 | <line-spacing, left-margin>: Doc fixes. | |
1857 | ||
53d45a17 JB |
1858 | * xdisp.c (syms_of_xdisp) <mode-line-inverse-video>: Doc fix. |
1859 | ||
df20dc2b KS |
1860 | 2006-12-10 Kim F. Storm <storm@cua.dk> |
1861 | ||
1862 | * xdisp.c (show_mouse_face): Never use text cursor in tool-bar. | |
1863 | ||
28e86dc4 JB |
1864 | 2006-12-10 Juanma Barranquero <lekktu@gmail.com> |
1865 | ||
1866 | * abbrev.c (syms_of_abbrev) <last-abbrev-text>: | |
1867 | * buffer.c (syms_of_buffer) <default-major-mode>: | |
1868 | * keymap.c (Flookup_key): | |
1869 | * lread.c (Feval_buffer, Feval_region): | |
1870 | * macterm.c (syms_of_macterm) <x-use-underline-position-properties>: | |
1871 | <x-underline-at-descent-line, mac-emulate-three-button-mouse>: | |
1872 | * marker.c (Fmarker_insertion_type): | |
1873 | * minibuf.c (syms_of_minibuf) <minibuffer-completion-table>: | |
1874 | * msdos.c (syms_of_msdos) <delete-exited-processes>: | |
1875 | * w32term.c (syms_of_w32term) <x-use-underline-position-properties>: | |
1876 | <x-underline-at-descent-line>: | |
1877 | * xdisp.c (format-mode-line): | |
1878 | * xterm.c (syms_of_xterm) <x-use-underline-position-properties>: | |
1879 | <x-underline-at-descent-line>: Doc fixes. | |
1880 | ||
64d962c1 AS |
1881 | 2006-12-10 Andreas Schwab <schwab@suse.de> |
1882 | ||
1883 | * systime.h (EMACS_GET_TIME): Remove check for | |
1884 | HAVE_STRUCT_TIMEZONE which is never defined. | |
1885 | ||
43726c05 AM |
1886 | 2006-12-10 Alan Mackenzie <acm@muc.de> |
1887 | ||
1888 | * syntax.c (Fpartial_parse_sexp): Correct Docco: Elt 8 of the | |
1889 | result is now neither the last elt nor optional for OLDSTATE. | |
1890 | ||
cbf9640e EZ |
1891 | 2006-12-09 Eli Zaretskii <eliz@gnu.org> |
1892 | ||
1893 | * process.c (Fsignal_process): Doc fix. Use XFLOAT_DATA to | |
1894 | extract the process ID from a Lisp float. | |
1895 | ||
3ca241e1 CY |
1896 | 2006-12-09 Chong Yidong <cyd@stupidchicken.com> |
1897 | ||
28e86dc4 | 1898 | * xterm.c (XTframe_raise_lower): Comment out _NET_ACTIVE_WINDOW code. |
3ca241e1 | 1899 | |
9e67e94f EZ |
1900 | 2006-12-08 Eli Zaretskii <eliz@gnu.org> |
1901 | ||
1902 | * frame.h (PIX_TYPE): Redefine as `unsigned long', for 64-bit | |
1903 | platforms where long is 64-bit. | |
1904 | ||
1905 | * msdos.h (PIX_TYPE): Redefine as `unsigned long'. | |
1906 | ||
28e86dc4 | 1907 | 2006-12-08 NAKAJI Hiroyuki <nakaji@jp.freebsd.org> (tiny change) |
a15fc3c3 CY |
1908 | |
1909 | * m/amdx86-64.h: Add support for Solaris 10 on x86-64. | |
1910 | ||
65fa9a64 KH |
1911 | 2006-12-08 Kenichi Handa <handa@m17n.org> |
1912 | ||
1913 | * xterm.c (x_query_font): Use xstricmp instead off strcasecmp. | |
1914 | ||
b4963755 JB |
1915 | 2006-12-08 Juanma Barranquero <lekktu@gmail.com> |
1916 | ||
1917 | * emacs.c (syms_of_emacs) <system-type>: Doc fix. | |
1918 | ||
f7a706cf KS |
1919 | 2006-12-07 Kim F. Storm <storm@cua.dk> |
1920 | ||
1921 | * process.c (parse_signal): Use xstricmp instead of strcasecmp. | |
1922 | (Fsignal_process): Don't use strncasecmp. | |
1923 | ||
da9109f7 GM |
1924 | 2006-12-05 Glenn Morris <rgm@gnu.org> |
1925 | ||
1926 | * abbrev.c (Qforce): New Lisp_Object. | |
1927 | (Fdefine_abbrev): Do not overwrite non-system abbrevs with system | |
1928 | abbrevs, unless 'force is applied. | |
1929 | (syms_of_abbrev): Add Qforce. | |
1930 | ||
5c35ec32 KS |
1931 | 2006-12-04 Kim F. Storm <storm@cua.dk> |
1932 | ||
55ba687b KS |
1933 | * process.c (parse_signal): Rename macro from handle_signal. |
1934 | (Fsignal_process): Also accept lower-case variants of signal | |
1935 | names (to align with signal names generated by Emacs itself). | |
1936 | ||
5c35ec32 KS |
1937 | * emacs.c (handle_USR1_signal, handle_USR2_signal): Replace by... |
1938 | (handle_user_signal): ... this, which generates two USER_SIGNAL_EVENTs | |
1939 | first with code == 0 [signal] and one with code == sig number. | |
1940 | (main): Use it as handler for SIGUR1 and SIGUSR2. | |
1941 | ||
1942 | * keyboard.c (kbd_buffer_store_event_hold): Don't throw-on-input | |
1943 | if first event in [signal xxx] sequence. | |
1944 | (lispy_user_signals, Qusr1_signal, Qusr2_signal): Remove. | |
1945 | (syms_of_keyboard): Don't intern and staticpro them. | |
9d8b24a2 KS |
1946 | (Qsignal): Declare here. |
1947 | (syms_of_keyboard): Intern and staticpro it. | |
1948 | (make_lispy_event): Use it. Intern symbols on the fly for other | |
1949 | USER_SIGNAL_EVENTs events. | |
5c35ec32 KS |
1950 | |
1951 | * process.c (Qsignal): Declare extern. | |
9d8b24a2 | 1952 | (syms_of_process): Don't intern/staticpro it here. |
5c35ec32 KS |
1953 | |
1954 | * process.c (read_process_output): Abort if carryover < 0. | |
1955 | ||
ee77eef5 YM |
1956 | 2006-12-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1957 | ||
1958 | * config.in: Regenerate. | |
1959 | ||
1960 | * fileio.c [__NetBSD__]: Don't define `unix'. | |
1961 | (Funix_sync, syms_of_fileio): Use `#ifdef HAVE_SYNC' instead of | |
1962 | `#ifdef unix'. | |
1963 | ||
4a3363c5 GM |
1964 | 2006-12-04 Glenn Morris <rgm@gnu.org> |
1965 | ||
1966 | * Makefile.in (version): New variable, set by configure. | |
1967 | (bootstrapclean, mostlyclean): Also remove emacs-${version}. | |
1968 | ||
a3893a90 JD |
1969 | 2006-12-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1970 | ||
1971 | * gtkutil.c (update_frame_tool_bar): Handle modifying a toolbar item | |
1972 | without an image. | |
1973 | ||
107fae8b EZ |
1974 | 2006-12-01 Eli Zaretskii <eliz@gnu.org> |
1975 | ||
1976 | * w32fns.c (Fw32_shell_execute): Doc fix. | |
1977 | ||
b88548b1 CY |
1978 | 2006-11-30 Chong Yidong <cyd@stupidchicken.com> |
1979 | ||
1980 | * xdisp.c (move_it_to): Correctly count tab glyphs for continued | |
1981 | lines ending in tab. | |
1982 | ||
65dc67a9 JD |
1983 | 2006-11-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1984 | ||
1985 | * xterm.c (x_raise_frame): Move setting of _NET_ACTIVE_WINDOW | |
1986 | property ... | |
1987 | (XTframe_raise_lower): ... to here. | |
1988 | ||
3aaab9a0 KH |
1989 | 2006-11-30 Kenichi Handa <handa@m17n.org> |
1990 | ||
1991 | * regex.c (regex_compile): Fix previous change. | |
1992 | ||
c6605d63 JB |
1993 | 2006-11-29 Juanma Barranquero <lekktu@gmail.com> |
1994 | ||
1995 | * sound.c (Fplay_sound_internal): Remove spurious newline in docstring. | |
1996 | ||
1a52930b CY |
1997 | 2006-11-28 Chong Yidong <cyd@stupidchicken.com> |
1998 | ||
1999 | * config.in: Regenerate. | |
2000 | ||
6358f8b2 KH |
2001 | 2006-11-28 Kenichi Handa <handa@m17n.org> |
2002 | ||
2003 | * regex.c (regex_compile): Don't call SET_LIST_BIT with a | |
2004 | multibyte character. | |
2005 | ||
55107ae5 CY |
2006 | 2006-11-27 Chong Yidong <cyd@stupidchicken.com> |
2007 | ||
2b8d8474 | 2008 | * s/aix4-2.h: Undefine _NO_PROTO. Suggested by Joe Buehler. |
55107ae5 | 2009 | |
89692b9a KS |
2010 | 2006-11-27 Kim F. Storm <storm@cua.dk> |
2011 | ||
2012 | * window.c (set_window_buffer): Refactor recent changes. | |
2013 | ||
7e993c06 JR |
2014 | 2006-11-27 Jason Rumney <jasonr@gnu.org> |
2015 | ||
2016 | * w32term.c (w32_msg_worker): Declare correctly. | |
2017 | (w32_initialize): Don't cast w32_msg_worker. | |
2018 | ||
2019 | * w32fns.c (w32_msg_worker): Define as WINAPI and arg as void pointer. | |
2020 | ||
fb873e6b CY |
2021 | 2006-11-26 Chong Yidong <cyd@stupidchicken.com> |
2022 | ||
2023 | * m/amdx86-64.h: Look for standard libs in /usr/lib64 only if that | |
2024 | directory exists. | |
2025 | ||
69a6e74d EZ |
2026 | 2006-11-25 Eli Zaretskii <eliz@gnu.org> |
2027 | ||
2028 | * w16select.c (Fw16_set_clipboard_data): Fix the call to sit_for | |
2029 | as per the calling sequence change on 2006-07-11. | |
2030 | ||
d496cfc0 CY |
2031 | 2006-11-25 Chong Yidong <cyd@stupidchicken.com> |
2032 | ||
2033 | * window.c (set_window_buffer): Use BLOCK_INPUT. | |
2034 | ||
5ee699a7 JB |
2035 | 2006-11-24 Juanma Barranquero <lekktu@gmail.com> |
2036 | ||
2037 | * fns.c (substring_both): Add missing address operator. | |
2038 | ||
7edbb0da SM |
2039 | 2006-11-24 Stefan Monnier <monnier@iro.umontreal.ca> |
2040 | ||
2041 | * fns.c: Use AREF/ASIZE macros. | |
2042 | (concat): Provide the full ANSI prototype. | |
2043 | ||
96215ace JB |
2044 | 2006-11-24 Juanma Barranquero <lekktu@gmail.com> |
2045 | ||
2046 | * buffer.c (syms_of_buffer) <buffer-undo-list>: Doc fix. | |
2047 | ||
09566666 NR |
2048 | 2006-11-23 William Smith <William.Smith@global360.com> (tiny change) |
2049 | ||
609b291d | 2050 | * strftime.c (HAVE_SYS__MBSTATE_T_H): Fix typo. |
09566666 | 2051 | |
550934c8 | 2052 | 2006-11-22 Alfred M. Szmidt <ams@gnu.org> (tiny change) |
6a022bd9 CY |
2053 | |
2054 | * s/openbsd.h (LD_SWITCH_SYSTEM): Remove /usr/pkg/lib and | |
2055 | /usr/pkg/lib from the library search path. | |
2056 | (LD_SWITCH_X_DEFAULT): New macro. | |
2057 | ||
63cb1543 CY |
2058 | 2006-11-22 Chong Yidong <cyd@stupidchicken.com> |
2059 | ||
2060 | * window.c (set_window_buffer): Clear mouse highlight if it is in | |
2061 | this window. | |
2062 | ||
ca612449 CY |
2063 | 2006-11-21 Chong Yidong <cyd@stupidchicken.com> |
2064 | ||
2065 | * xfaces.c (realize_default_face): Check if the default font name | |
2066 | exists on this display before trying to use it. | |
2067 | ||
a98d0b8e RS |
2068 | 2006-11-21 Richard Stallman <rms@gnu.org> |
2069 | ||
2070 | * fileio.c: Break line before &&, not after. | |
2071 | ||
1ce0a32d EZ |
2072 | 2006-11-20 Eli Zaretskii <eliz@gnu.org> |
2073 | ||
2074 | * fns.c (concat) [!__GNUC__]: Add prototype. | |
2075 | ||
565f08cd KH |
2076 | 2006-11-20 Kenichi Handa <handa@m17n.org> |
2077 | ||
2078 | * fileio.c (Fread_file_name_internal): Use SBYTES (not SCHARS) to | |
2079 | check the tailing slash of a filename. | |
2080 | ||
e15a0495 KH |
2081 | 2006-11-20 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> (tiny change) |
2082 | ||
2083 | * indent.c (Fvertical_motion): Include composition in the case of | |
2084 | overshoot expected. | |
2085 | ||
221439a0 AS |
2086 | 2006-11-19 Andreas Schwab <schwab@gnu.org> |
2087 | ||
7edbb0da | 2088 | * xfaces.c (Fdisplay_supports_face_attributes_p): Initialize supports. |
221439a0 AS |
2089 | |
2090 | * xmenu.c (Fx_popup_menu): Initialize selection. | |
2091 | ||
bcd7101a AS |
2092 | 2006-11-18 Andreas Schwab <schwab@suse.de> |
2093 | ||
7edbb0da | 2094 | * s/gnu-linux.h (GC_MARK_SECONDARY_STACK): Update call to mark_memory. |
bcd7101a | 2095 | |
118ddbdd JD |
2096 | 2006-11-17 Tetsurou Okazaki <okazaki@be.to> (tiny change) |
2097 | ||
2098 | * xterm.c (do_ewmh_fullscreen): Declare variable before XSETFRAME | |
2099 | to avoid gcc 2.96 error. | |
2100 | ||
347d9bbe KH |
2101 | 2006-11-17 NIIMI Satoshi <sa2c@sa2c.net> (tiny change) |
2102 | ||
2103 | * search.c (simple_search): In the loop of backward searching, | |
2104 | check also the byte position against the limit. | |
2105 | ||
d089c7a8 RF |
2106 | 2006-11-14 Romain Francoise <romain@orebokech.com> |
2107 | ||
2108 | * minibuf.c (Fcompleting_read): Fix typo in docstring. | |
2109 | ||
1364f420 KH |
2110 | 2006-11-14 Kenichi Handa <handa@m17n.org> |
2111 | ||
7edbb0da | 2112 | * coding.c (code_convert_region): Initialize coding->heading_ascii. |
1364f420 KH |
2113 | (decode_coding_string, code_convert_region): Likewise. |
2114 | ||
9b150aa2 YM |
2115 | 2006-11-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2116 | ||
2117 | * config.in: Regenerate. | |
2118 | ||
2119 | * macfns.c (Fx_display_mm_height, Fx_display_mm_width) | |
2120 | [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030 | |
2121 | && MAC_OS_X_VERSION_MIN_REQUIRED == 1020]: Check if | |
2122 | CGDisplayScreenSize is available. | |
2123 | ||
2124 | * macmenu.c (menu_quit_handler, install_menu_quit_handler): | |
2125 | Replace `#ifdef HAVE_CANCELMENUTRACKING' with | |
2126 | `#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1030'. | |
2127 | (install_menu_quit_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030 | |
2128 | && MAC_OS_X_VERSION_MIN_REQUIRED == 1020]: Check if | |
2129 | CancelMenuTracking is available. | |
2130 | ||
2131 | * macterm.c [USE_CG_TEXT_DRAWING] (mac_draw_image_string_cg) | |
2132 | [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030 | |
2133 | && MAC_OS_X_VERSION_MIN_REQUIRED == 1020]: Check if | |
2134 | CGContextShowGlyphsWithAdvances is available. | |
2135 | ||
52dcc2d0 JR |
2136 | 2006-11-13 Jason Rumney <jasonr@gnu.org> |
2137 | ||
2138 | * s/ms-w32.h: Define HAVE_INET_SOCKETS. | |
2139 | ||
55a314a5 YM |
2140 | 2006-11-13 Nozomu Ando <nand@mac.com> |
2141 | ||
2142 | * alloc.c (mark_memory): New argument OFFSET. All uses changed. | |
2143 | Fix address calculations for case END < START. | |
2144 | (mark_stack): Impose Lisp_Object alignment on jmp_buf. | |
2145 | ||
4cb8645c JB |
2146 | 2006-11-12 Juanma Barranquero <lekktu@gmail.com> |
2147 | ||
2148 | * coding.c (Fencode_sjis_char, Fencode_big5_char): | |
2149 | Improve argument/docstring consistency. | |
2150 | ||
2151 | * editfns.c (Fmessage): Doc fixes. | |
2152 | ||
2153 | * process.c (syms_of_process) <delete-exited-processes>: Doc fix. | |
2154 | ||
b071677f CY |
2155 | 2006-11-12 Chong Yidong <cyd@stupidchicken.com> |
2156 | ||
2157 | * xmenu.c (popup_activated): Define outside HAVE_MENUS. | |
2158 | ||
0924e3f6 RF |
2159 | 2006-11-12 Romain Francoise <romain@orebokech.com> |
2160 | ||
2161 | * xselect.c (selection-coding-system): Fix docstring. | |
2162 | ||
947129a2 JB |
2163 | 2006-11-12 Juanma Barranquero <lekktu@gmail.com> |
2164 | ||
2165 | * category.c (Fchar_category_set): Improve arg/docstring consistency. | |
2166 | ||
2167 | * data.c (Flogxor): | |
2168 | * fns.c (Frandom, Flength, Fsafe_length, Fstring_bytes) | |
2169 | (Fstring_equal, Fcompare_strings, Fstring_lessp, Fcopy_sequence) | |
2170 | (Fstring_make_unibyte): Fix typos in docstrings. | |
2171 | ||
b8e7655f JD |
2172 | 2006-11-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2173 | ||
2174 | * xterm.h (struct x_display_info): Fix indentation. | |
2175 | ||
2176 | * xterm.c (do_ewmh_fullscreen, XTfullscreen_hook): New functions. | |
2177 | (x_check_fullscreen): Call do_ewmh_fullscreen. | |
2178 | (x_initialize): Set fullscreen_hook to XTfullscreen_hook. | |
2179 | ||
2180 | * frame.c (x_set_fullscreen): Call fullscreen_hook if set. | |
2181 | ||
2182 | * term.c: Define fullscreen_hook. | |
2183 | (syms_of_term): Initialize fullscreen_hook to NULL. | |
2184 | ||
2185 | * termhooks.h: Add fullscreen_hook. | |
2186 | ||
eed1152f JB |
2187 | 2006-11-08 Juanma Barranquero <lekktu@gmail.com> |
2188 | ||
2189 | * bytecode.c (Fbyte_code): | |
2190 | * data.c (Fmakunbound): Use SYMBOL_CONSTANT_P macro. | |
2191 | ||
3dd428fa JB |
2192 | 2006-11-06 Juanma Barranquero <lekktu@gmail.com> |
2193 | ||
2194 | * lread.c (syms_of_lread): | |
2195 | * xsmfns.c (syms_of_xsmfns): Fix typo in docstring. | |
2196 | ||
e8407323 CY |
2197 | 2006-11-06 Martin Rudalics <rudalics@gmx.at> |
2198 | ||
2199 | * macmenu.c (Fmenu_or_popup_active_p): Define outside HAVE_MENUS. | |
2200 | ||
2201 | * w32menu.c (Fmenu_or_popup_active_p): Define outside HAVE_MENUS. | |
2202 | Return nil if building without menus. | |
2203 | ||
2204 | * xmenu.c (Fmenu_or_popup_active_p): Define outside HAVE_MENUS. | |
2205 | Return nil if building without menus. | |
2206 | ||
faefde36 RS |
2207 | 2006-11-05 Mark Davies <mark@mcs.vuw.ac.nz> (tiny change) |
2208 | ||
7edbb0da | 2209 | * s/netbsd.h (POSIX_SIGNALS): Define. |
faefde36 | 2210 | |
107709d4 EZ |
2211 | 2006-11-05 Martin Rudalics <rudalics@gmx.at> |
2212 | ||
2213 | * macmenu.c (Fmenu_or_popup_active_p): New function. | |
2214 | (syms_of_macmenu): Defsubr it. | |
2215 | ||
2216 | * w32menu.c (Fmenu_or_popup_active_p): New function. | |
2217 | (syms_of_w32menu): Defsubr it. | |
2218 | (popup_activated_flag, popup_activated): Remove. | |
2219 | ||
2220 | * xdisp.c (note_mouse_highlight) [HAVE_NTGUI]: Don't bother to | |
2221 | check popup_activated. | |
2222 | ||
2223 | * xmenu.c (Fmenu_or_popup_active_p): New function. | |
2224 | (syms_of_xmenu): Defsubr it. | |
2225 | ||
c57038f8 YM |
2226 | 2006-11-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2227 | ||
2228 | * unexmacosx.c (malloc_cookie): Remove unused variable. | |
2229 | (region_list_head, region_list_tail, lca, nlc, infile_lc_highest_addr) | |
2230 | (text_seg_lowest_offset, mh, curr_header_offset, infd, outfd) | |
2231 | (emacs_zone, data_segment_old_fileoff, data_segment_scp) | |
2232 | (num_unexec_regions, unexec_regions): Make variables static. | |
2233 | (print_regions, find_emacs_zone_regions): Make static. | |
2234 | (unexec_region_info): New typedef. | |
2235 | (unexec_regions): Change type from vm_range_t[] to unexec_region_info[]. | |
2236 | All uses changed. | |
2237 | (unexec_regions_recorder): Subtract size of trailing null pages from | |
2238 | filesize. Show filesize. | |
2239 | (unexec_regions_merge): Don't merge if null pages of preceding region | |
2240 | is not too small. Use long format in printf. | |
2241 | (copy_segment, copy_data_segment): Show filesize. | |
7edbb0da SM |
2242 | (copy_data_segment): Write filesize bytes of region data. |
2243 | Adjust filesize in segment command accordingly. | |
c57038f8 YM |
2244 | (dump_it): Use long format in printf. |
2245 | ||
60a294e2 JB |
2246 | 2006-11-05 Juanma Barranquero <lekktu@gmail.com> |
2247 | ||
2248 | * dosfns.c (Finsert_startup_screen): | |
2249 | * fns.c (Ffeaturep, syms_of_fns): | |
2250 | * frame.c (syms_of_frame): Fix typos in docstrings. | |
2251 | ||
2252 | * unexcw.c (unexec): Fix typo in output message. | |
2253 | ||
b20d6154 EZ |
2254 | 2006-11-04 Ralf Angeli <angeli@caeruleus.net> |
2255 | ||
2256 | * w32fns.c (w32_createwindow): Remove code for handling -geometry | |
2257 | command line option and `initial-frame-alist' which is superfluous | |
2258 | after the last change to `w32_createwindow'. | |
2259 | ||
ccc54d96 | 2260 | 2006-11-04 Slawomir Nowaczyk <slawek@cs.lth.se> (tiny change) |
3ac04ed0 | 2261 | |
ccc54d96 JB |
2262 | * w32proc.c (sys_wait): Only wait for processes with fd<0. |
2263 | Others should be handled by sys_select instead. Fixes problems | |
2264 | with (progn (start-process "" nil "ls") (call-process "ls")). | |
3ac04ed0 | 2265 | |
ccc54d96 | 2266 | 2006-11-04 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change) |
8630721e CY |
2267 | |
2268 | * xmenu.c (Fmenu_bar_open): Declare variable before BLOCK_INPUT to | |
2269 | avoid gcc 2.95 error. | |
2270 | ||
b20d6154 | 2271 | 2006-11-04 Chong Yidong <cyd@stupidchicken.com> |
ffbdf67b CY |
2272 | |
2273 | * gtkutil.c (update_frame_tool_bar): If icon image is invalid and | |
2274 | wicon is null, insert an empty button. | |
2275 | ||
45a26c42 JD |
2276 | 2006-11-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2277 | ||
ca21600d JB |
2278 | * xterm.c (x_raise_frame): Send _NET_ACTIVE_WINDOW when raising the |
2279 | window. | |
45a26c42 | 2280 | |
b224de9b JB |
2281 | 2006-11-02 Juanma Barranquero <lekktu@gmail.com> |
2282 | ||
2283 | * emacs.c (Fkill_emacs): Fix typo in docstring. | |
2284 | ||
73da71f9 YM |
2285 | 2006-11-02 Nozomu Ando <nand@mac.com> |
2286 | ||
2287 | * unexmacosx.c (mach_header, segment_command, vm_region, section) | |
2288 | [_LP64]: New defines. | |
2289 | (VM_REGION_BASIC_INFO_COUNT, VM_REGION_BASIC_INFO, LC_SEGMENT) | |
2290 | (MH_MAGIC) [_LP64]: Redefine. | |
2291 | (delta): Remove variable. | |
2292 | (curr_file_offset, pagesize): New variables. | |
2293 | (ROUNDUP_TO_PAGE_BOUNDARY): New macro. | |
2294 | (data_segment_old_fileoff): Initialize explicitly. | |
2295 | (print_region, unexec_regions_recorder, print_load_command_name) | |
2296 | (copy_segment, copy_data_segment): Use long format in printf. | |
2297 | (MAX_UNEXEC_REGIONS): Increase to 400. | |
2298 | (unexec_regions_recorder): Don't warn too many regions here. | |
2299 | (find_emacs_zone_regions): Warn too many regions here. | |
2300 | (print_load_command_name) [_LP64]: Show correct load command name. | |
2301 | (copy_segment, copy_data_segment): Use variable `curr_file_offset'. | |
2302 | Show starting virtual memory address. Don't show ending file offset. | |
2303 | (copy_symtab, copy_dysymtab, copy_twolevelhints): New argument DELTA. | |
2304 | (dump_it): Use new local variable `linkedit_delta' and pass to them. | |
2305 | Error if trying to handle multiple DATA segments. | |
2306 | (unexec): Initialize variable `pagesize'. | |
2307 | ||
ebc20ca0 JB |
2308 | 2006-11-01 Juanma Barranquero <lekktu@gmail.com> |
2309 | ||
2310 | * eval.c (Fcatch): Doc fix. | |
2311 | ||
6ceb8058 YM |
2312 | 2006-10-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2313 | ||
2314 | * image.c [MAC_OS] (image_load_qt_1, xpm_scan, xpm_make_color_table_v) | |
5e1a6e32 | 2315 | (xpm_put_color_table_v, xpm_get_color_table_v, xpm_make_color_table_h) |
6ceb8058 YM |
2316 | (xpm_put_color_table_h, xpm_get_color_table_h, xpm_str_to_color_key) |
2317 | (xpm_load_image): Add const qualifier to arguments. | |
2318 | [MAC_OS] (xpm_color_key_strings): Make static const. | |
2319 | ||
2320 | * mac.c (create_apple_event_from_event_ref) | |
2321 | (create_apple_event_from_drag_ref, skip_white_space, parse_comment) | |
2322 | (parse_include_file, parse_binding, parse_component) | |
2323 | (parse_resource_name, parse_value, parse_resource_line) | |
2324 | (xrm_merge_string_database, xrm_get_resource) | |
2325 | (xrm_get_preference_database): Add const qualifier to arguments. | |
2326 | [MAC_OSX] (sys_select): Make variable `context' static const. | |
2327 | ||
2328 | * macfns.c (mac_color_map): Make static const. | |
2329 | (mac_color_map_lookup): Add const qualifier to arguments. | |
2330 | ||
2331 | * macmenu.c (install_menu_quit_handler): Make variable `typesList' | |
2332 | static const. | |
2333 | (name_is_separator): Add const qualifier to arguments. | |
2334 | ||
ca21600d JB |
2335 | * macselect.c (init_service_handler): Make variable `specs' static |
2336 | const. | |
6ceb8058 YM |
2337 | |
2338 | * macterm.c (mac_create_bitmap_from_bitmap_data): Make variable | |
2339 | `swap_nibbles' static const. | |
2340 | (atsu_get_text_layout_with_text_ptr): Make variables `lengths', | |
2341 | `tags', `sizes', `values' static const. | |
7edbb0da SM |
2342 | (mac_draw_string_common): Make variables `context' static. |
2343 | Make variables `tags', `sizes', and `values' static const. | |
6ceb8058 YM |
2344 | (pcm_get_status, x_detect_focus_change, x_scroll_bar_handle_click) |
2345 | (xlfdpat_create, xlfdpat_block_match_1, xlfdpat_match) | |
2346 | (mac_to_x_fontname, parse_x_font_name, add_mac_font_name) | |
2347 | (mac_do_list_fonts, is_fully_specified_xlfd, do_grow_window) | |
2348 | (mac_store_event_ref_as_apple_event, mac_make_rdb): Add const | |
2349 | qualifier to arguments. | |
2350 | (xlfd_scalable_fields, keycode_to_xkeysym_table) | |
2351 | (fn_keycode_to_keycode_table): Make static const. | |
2352 | (mac_load_query_font): Make variables `tags', `sizes', `values', | |
2353 | `types', and `selectors' static const. | |
7edbb0da SM |
2354 | (mac_handle_command_event, mac_handle_window_event): |
2355 | Make variables `names' and `types' static const. | |
6ceb8058 YM |
2356 | (init_command_handler, install_window_handler): Make variables |
2357 | `specs*' static const. | |
2358 | (mac_handle_font_event, mac_handle_text_input_event) | |
2359 | (mac_store_service_event): Make variables `names' and `types' | |
2360 | const. Make variables `names_*' and `types_*' static const. | |
2361 | ||
2362 | * macterm.h (create_apple_event_from_event_ref) | |
2363 | (create_apple_event_from_drag_ref, xrm_merge_string_database) | |
2364 | (xrm_get_resource, xrm_get_preference_database): Add const | |
2365 | qualifier to arguments in externs. | |
2366 | ||
7147863a KH |
2367 | 2006-10-31 Kenichi Handa <handa@m17n.org> |
2368 | ||
2369 | * xfns.c (xic_create_xfontset): Fix previous change. | |
2370 | ||
78667db7 CY |
2371 | 2006-10-30 Chong Yidong <cyd@stupidchicken.com> |
2372 | ||
2373 | * s/openbsd.h (LD_SWITCH_SYSTEM): Add /usr/pkg/lib and | |
2374 | /usr/pkg/lib to library search path. | |
2375 | ||
ebc20ca0 | 2376 | 2006-10-29 Mark Davies <mark@mcs.vuw.ac.nz> (tiny change) |
8d31e373 CY |
2377 | |
2378 | * ralloc.c (relinquish): Use a long for excess space counter to | |
2379 | handle 64-bit case correctly. | |
2380 | ||
1dbfd8e3 CY |
2381 | 2006-10-29 Jeramey Crawford <jeramey@jeramey.com> |
2382 | ||
2383 | * m/amdx86-64.h: Add defines for OpenBSD x86-64. | |
2384 | ||
856bb2b0 JB |
2385 | 2006-10-29 Juanma Barranquero <lekktu@gmail.com> |
2386 | ||
2387 | * window.c (Fdisplay_buffer): Fix typo in docstring. | |
2388 | ||
4975e695 JB |
2389 | 2006-10-27 Ben North <ben@redfrontdoor.org> (tiny change) |
2390 | ||
2391 | * w32term.c (x_draw_glyph_string_foreground): Set background mode | |
2392 | to TRANSPARENT before using overstrike to simulate bold faces. | |
2393 | ||
2394 | * xfaces.c (best_matching_font): Fix logic to decide whether to | |
2395 | use overstriking to simulate bold-face (it was reversed). | |
2396 | ||
cbfe778a KS |
2397 | 2006-10-23 Kim F. Storm <storm@cua.dk> |
2398 | ||
ca21600d JB |
2399 | * xdisp.c (remember_mouse_glyph): Do nothing if glyphs are not |
2400 | initialized. | |
a4614668 | 2401 | |
cbfe778a KS |
2402 | * keyboard.c (read_char): Make an element (t . EVENT) in |
2403 | unread-command-events add EVENT to the current command's key sequence. | |
2404 | (syms_of_keyboard) <unread-command-events>: Update doc. | |
2405 | ||
627fb581 RS |
2406 | 2006-10-21 Richard Stallman <rms@gnu.org> |
2407 | ||
2408 | * minibuf.c (Vread_expression_map): Define here. | |
2409 | (Qread_expression_history): New variable. | |
2410 | (syms_of_minibuf): Initialize them. | |
2411 | (Feval_minibuffer): Use Vread_expression_map and | |
2412 | Qread_expression_history. | |
2413 | ||
cd987aaa KH |
2414 | 2006-10-21 Kenichi Handa <handa@m17n.org> |
2415 | ||
2416 | * xfns.c (xic_create_fontsetname): If ADSTYLE field is not a wild | |
2417 | card, change it to "*". | |
2418 | (xic_create_xfontset): Call XCreateFontSet for each single | |
2419 | fontname in fontsetname. | |
2420 | ||
55b41ef5 CY |
2421 | 2006-10-19 Chong Yidong <cyd@stupidchicken.com> |
2422 | ||
2423 | * callint.c (callint_message): Convert to a Lisp string. | |
2424 | (syms_of_callint): Initialize it. | |
2425 | (callint_message_size): Var deleted. | |
2426 | (Fcall_interactively): Use Fformat instead of doprnt to construct | |
2427 | prompt string. | |
2428 | ||
cc7aa8dc KS |
2429 | 2006-10-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2430 | ||
2431 | * xdisp.c (display_mode_line): Clear enabled_p flag on mode-line row. | |
2432 | ||
045b1908 YM |
2433 | 2006-10-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2434 | ||
2435 | * macfns.c (Vmac_carbon_version_string) [TARGET_API_MAC_CARBON]: | |
2436 | New variable. | |
2437 | (syms_of_macfns) [TARGET_API_MAC_CARBON]: Defvar it. | |
2438 | ||
866f8518 JD |
2439 | 2006-10-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2440 | ||
2441 | * xselect.c (x_handle_selection_request): If the converted_selection | |
14a56a1b | 2442 | is nil or XCDR (converted_selection) is nil, decline the request. |
866f8518 | 2443 | |
b43da352 JD |
2444 | 2006-10-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2445 | ||
2446 | * gtkutil.c (get_utf8_string): Remove warnings with casts. | |
7edbb0da | 2447 | (xg_tool_bar_button_cb): Ditto. |
b43da352 JD |
2448 | (xg_tool_bar_callback): Ditto. |
2449 | ||
7c682cf1 YM |
2450 | 2006-10-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2451 | ||
2452 | * dispnew.c (adjust_frame_glyphs_for_frame_redisplay): Remove unused | |
2453 | variable ch_dim. | |
2454 | (adjust_frame_glyphs_for_window_redisplay): Likewise. Don't allocate | |
2455 | menu bar window matrices on non-X systems. | |
2456 | ||
2457 | * mac.c (Fmac_get_preference, Fmac_code_convert_string): Add GCPROs. | |
2458 | ||
2459 | * macterm.c (mac_query_char_extents): Don't return glyph ID if layout | |
2460 | adjustment is needed. | |
2461 | (mac_load_query_font): Check if width and height are positive. | |
2462 | ||
563964ae RS |
2463 | 2006-10-14 Richard Stallman <rms@gnu.org> |
2464 | ||
2465 | * sysdep.c (init_sys_modes): Delete DEFVAR_LISP in the wrong place. | |
2466 | ||
98721beb CY |
2467 | 2006-10-13 Chong Yidong <cyd@stupidchicken.com> |
2468 | ||
ca21600d JB |
2469 | * xdisp.c (decode_mode_spec): Ignore %c and %l constructs in frame |
2470 | title. | |
98721beb | 2471 | |
eae637ec CY |
2472 | 2006-10-12 Chong Yidong <cyd@stupidchicken.com> |
2473 | ||
2474 | * keymap.c (Fkey_binding): Check Lisp_Object types before doing | |
2475 | XCAR and XINT. | |
2476 | ||
431feaf6 RF |
2477 | 2006-10-12 Romain Francoise <romain@orebokech.com> |
2478 | ||
2479 | * image.c (xbm_read_bitmap_data): Delete extra semicolon. | |
2480 | ||
de9855d5 SM |
2481 | 2006-10-10 Stefan Monnier <monnier@iro.umontreal.ca> |
2482 | ||
b70e1a2b SM |
2483 | * eval.c: Include xterm.h for x_fully_uncatch_errors and friends. |
2484 | ||
2485 | * dispextern.h: Declare x_create_bitmap_from_xpm_data. | |
2486 | ||
2487 | * xterm.c (x_check_expected_move): Remove unused var `count'. | |
2488 | ||
de9855d5 SM |
2489 | * xmenu.c (syms_of_xmenu): Use Ffset rather than Fdefalias, since |
2490 | Fdefalias is not declared in any *.h file. | |
2491 | ||
394ccd7d CY |
2492 | 2006-10-09 Chong Yidong <cyd@stupidchicken.com> |
2493 | ||
2bcac766 CY |
2494 | * dispnew.c (sit_for): Sit forever if TIMEOUT is t. |
2495 | ||
2496 | * keyboard.c (command_loop_1): Handle non-number values of | |
2497 | `minibuffer-message-timeout'. | |
2498 | (Fexecute_extended_command): Fix typo. | |
2499 | ||
394ccd7d CY |
2500 | * minibuf.c (temp_echo_area_glyphs): Sit for |
2501 | `minibuffer-message-timeout' seconds. | |
2502 | ||
bb420759 YM |
2503 | 2006-10-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2504 | ||
de9855d5 SM |
2505 | * macterm.c (mac_draw_image_string, mac_draw_image_string_16): |
2506 | Add argument OVERSTRIKE_P. | |
bb420759 YM |
2507 | (mac_draw_string_common, mac_draw_image_string_cg): Likewise. |
2508 | Support overstrike. | |
2509 | (mac_draw_string, mac_draw_string_16): Remove functions. | |
2510 | (x_draw_glyph_string_foreground): Use overstrike when needed. | |
de9855d5 SM |
2511 | (x_draw_composite_glyph_string_foreground): Likewise. |
2512 | Use mac_draw_image_string_16 instead of mac_draw_string_16. | |
4975e695 JB |
2513 | (mac_load_query_font): Rename from XLoadQueryFont. Take argument |
2514 | F instead of DPY. All uses changed. Don't save/restore font. | |
bb420759 | 2515 | |
2770d589 JR |
2516 | 2006-10-07 Ralf Angeli <angeli@caeruleus.net> |
2517 | ||
2518 | * w32fns.c (w32_createwindow): Honour left and top positions if | |
2519 | supplied explicitly. | |
2520 | ||
ee37d135 KS |
2521 | 2006-10-06 Kim F. Storm <storm@cua.dk> |
2522 | ||
2523 | * xdisp.c (pos_visible_p): Fix value when EOB is visible. | |
2524 | ||
26c34ec2 CY |
2525 | 2006-10-05 Chong Yidong <cyd@stupidchicken.com> |
2526 | ||
2527 | * frame.c (Qinhibit_face_set_after_frame_default): New var. | |
2528 | (syms_of_frame): Initialize it. | |
2529 | (x_set_frame_parameters): Avoid resetting :font attributes to the | |
2530 | new-frame defaults. | |
2531 | ||
54dd3310 SM |
2532 | 2006-10-03 Stefan Monnier <monnier@iro.umontreal.ca> |
2533 | ||
2534 | * lisp.h (clear_regexp_cache): Declare. | |
2535 | ||
2536 | * search.c (compile_pattern): Only check `cp->syntax_table' if needed. | |
2537 | (compile_pattern_1): Remember `used_syntax' in `cp->syntax_table'. | |
2538 | (clear_regexp_cache): Only flush those regexps which depend on | |
2539 | a syntax-table. | |
2540 | ||
2541 | * regex.c (regex_compile): Set the new `used_syntax' bit. | |
2542 | ||
2543 | * regex.h: Remove file local variables. | |
2544 | (struct re_pattern_buffer): New field `used_syntax'. | |
2545 | ||
73812be6 KS |
2546 | 2006-10-03 Kim F. Storm <storm@cua.dk> |
2547 | ||
2548 | * process.c (list_processes_1): Run sentinels before removing dead | |
2549 | processes. Also remove `closed' network connections. | |
2550 | ||
2201c41c SM |
2551 | 2006-10-01 Stefan Monnier <monnier@iro.umontreal.ca> |
2552 | ||
2553 | * xdisp.c (handle_fontified_prop): Don't fontify at EOB. | |
2554 | ||
79e01e93 EZ |
2555 | 2006-09-30 Eli Zaretskii <eliz@gnu.org> |
2556 | ||
4975e695 | 2557 | * config.in: Regenerated. |
79e01e93 | 2558 | |
f9df5f68 JL |
2559 | 2006-09-29 Juri Linkov <juri@jurta.org> |
2560 | ||
2561 | * buffer.c (syms_of_buffer): Reorder coding systems in the | |
2562 | docstring of %z to the real order displayed in the modeline. | |
2563 | ||
7ae8428d SM |
2564 | 2006-09-28 Stefan Monnier <monnier@iro.umontreal.ca> |
2565 | ||
2566 | * keymap.c (Fdefine_key): Yet another int/Lisp_Object mixup (YAILOM). | |
2567 | ||
14a7cabf CY |
2568 | 2006-09-26 Chong Yidong <cyd@stupidchicken.com> |
2569 | ||
2570 | * indent.c (Fvertical_motion): Do move back if the Lisp string | |
2571 | being displayed contains newlines. | |
2572 | ||
444a42fd YM |
2573 | 2006-09-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2574 | ||
2575 | * macterm.c (mac_compute_glyph_string_overhangs, XLoadQueryFont) | |
2576 | [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw before QDTextBounds. | |
2577 | ||
4ccaff67 KH |
2578 | 2006-09-26 Kenichi Handa <handa@m17n.org> |
2579 | ||
2580 | * keymap.c (Fsingle_key_description): For an invalid char, return | |
2581 | "Invalid char code NNNNN". | |
2582 | ||
2a95a27c CY |
2583 | 2006-09-25 Chong Yidong <cyd@stupidchicken.com> |
2584 | ||
2585 | * callint.c (Fcall_interactively): Doc fix. | |
2586 | ||
cf2c6835 YM |
2587 | 2006-09-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2588 | ||
2589 | * macterm.c (x_underline_at_descent_line): New variable. | |
2590 | (syms_of_macterm): DEFVAR_BOOL it. | |
2591 | (x_draw_glyph_string): Use it. | |
2592 | (XLoadQueryFont): Calculate min_bounds.descent and max_bounds.descent. | |
2593 | ||
173517c6 KH |
2594 | 2006-09-25 Kenichi Handa <handa@m17n.org> |
2595 | ||
2596 | * keymap.c (Fsingle_key_description): Return unique names for | |
2597 | generic characters. | |
2598 | ||
45c912f2 RS |
2599 | 2006-09-24 Richard Stallman <rms@gnu.org> |
2600 | ||
2601 | * search.c (compile_pattern_1): Don't BLOCK_INPUT. | |
2602 | ||
1133f8e7 EZ |
2603 | 2006-09-24 Eli Zaretskii <eliz@gnu.org> |
2604 | ||
de9855d5 SM |
2605 | * makefile.w32-in ($(BLD)/fns.$(O), $(BLD)/w32proc.$(O)): |
2606 | Depend on nt/inc/langinfo.h and nt/inc/nl_types.h. | |
8f59d602 EZ |
2607 | |
2608 | * w32proc.c (nl_langinfo): New function. | |
2609 | ||
1133f8e7 EZ |
2610 | * w32fns.c (w32-pass-alt-to-system, w32-alt-is-meta) |
2611 | (w32-pass-lwindow-to-system, w32-enable-num-lock) | |
2612 | (w32-enable-caps-lock, w32-scroll-lock-modifier) | |
2613 | (w32-lwindow-modifier, w32-rwindow-modifier) | |
2614 | (w32-apps-modifier, w32-mouse-button-tolerance): Doc fix. | |
2615 | ||
ba5524f4 JB |
2616 | 2006-09-23 Juanma Barranquero <lekktu@gmail.com> |
2617 | ||
2618 | * minibuf.c (Finternal_complete_buffer, Fread_minibuffer) | |
2619 | (Fdisplay_completion_list): Fix typos in docstrings. | |
2620 | ||
47a0ee40 RF |
2621 | 2006-09-23 Romain Francoise <romain@orebokech.com> |
2622 | ||
2623 | * s/gnu-linux.h (MAIL_USE_FLOCK): Check for HAVE_LIBLOCKFILE too. | |
2624 | ||
5dfe789c KH |
2625 | 2006-09-23 Kenichi Handa <handa@m17n.org> |
2626 | ||
ba5524f4 | 2627 | * keymap.c (Fmap_keymap): Docstring mentions about generic character. |
5dfe789c | 2628 | |
4560a582 SM |
2629 | 2006-09-22 Stefan Monnier <monnier@iro.umontreal.ca> |
2630 | ||
2631 | * regex.c (analyse_first): For eight-bit-control chars, mark both the | |
2632 | char's value and its leading byte in the fastmap. | |
2633 | (re_search_2): When fast-scanning without translation, be careful to | |
2634 | check that we only match the leading byte of a multibyte char. | |
2635 | ||
2636 | * charset.h (PREV_CHAR_BOUNDARY): Make it work from within a char's | |
2637 | byte sequence. | |
2638 | (AT_CHAR_BOUNDARY): New macro. | |
2639 | ||
2e77924d KH |
2640 | 2006-09-22 Kenichi Handa <handa@m17n.org> |
2641 | ||
2642 | * fns.c (optimize_sub_char_table): Don't optimize a sub-char-table | |
2643 | whose default value is non-nil. | |
2644 | ||
66687b7c JD |
2645 | 2006-09-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2646 | ||
db4fd914 | 2647 | * gtkutil.c (xg_get_file_with_chooser): Only show C-l help for |
782447bd JD |
2648 | Gtk+ versions < 2.10. |
2649 | ||
66687b7c JD |
2650 | * xfns.c (syms_of_xfns): Fix typo in help text for |
2651 | x-gtk-file-dialog-help-text. | |
2652 | ||
b521ddce KS |
2653 | 2006-09-21 Kim F. Storm <storm@cua.dk> |
2654 | ||
2655 | * fns.c (Fmemq): Refill doc string. | |
2656 | (Fmemql): New defun, like memq but using eql. | |
2657 | (syms_of_fns): Defsubr it. | |
2658 | ||
d0e0bd5f KS |
2659 | 2006-09-20 Kim F. Storm <storm@cua.dk> |
2660 | ||
2661 | * xdisp.c (pos_visible_p): CHARPOS < 0 means return info for | |
2662 | last visible glyph in window. | |
2663 | ||
a4df1f8b | 2664 | * window.c (Fset_window_hscroll, Fwindow_line_height): |
d0e0bd5f KS |
2665 | Doc fix. Use "off-window" instead of "off-screen". |
2666 | (Fpos_visible_in_window_p): Likewise. | |
2667 | If POS is t, return info for last visible glyph in window. | |
2668 | ||
b69e3c18 CY |
2669 | 2006-09-19 Chong Yidong <cyd@stupidchicken.com> |
2670 | ||
2671 | * search.c (struct regexp_cache): New entry syntax_table. | |
2672 | (compile_pattern_1): Set it. | |
2673 | (syms_of_search): Initialize it. | |
2674 | (compile_pattern): Require the syntax_table entry of the cache | |
2675 | element to match the current syntax table entry. | |
2676 | ||
31790df3 SM |
2677 | 2006-09-19 Stefan Monnier <monnier@iro.umontreal.ca> |
2678 | ||
2679 | * window.c (Fwindow_end): Fix recent change. | |
2680 | ||
06e6b4be KS |
2681 | 2006-09-19 Kim F. Storm <storm@cua.dk> |
2682 | ||
2683 | * window.c (Fset_window_hscroll, Fpos_visible_in_window_p): | |
2684 | Doc fix. Use "off-screen" instead of "invisible". | |
2685 | (Fwindow_line_height): Make line numbers 0-based. Make line arg | |
2686 | optional; if nil, use current cursor row. Handle text terminals | |
2687 | properly. Return nil if non-interactive or pseudo-window. | |
2688 | ||
08e26e8b SM |
2689 | 2006-09-19 Stefan Monnier <monnier@iro.umontreal.ca> |
2690 | ||
2691 | * keymap.c: Include alloca.h if available. | |
2692 | (Fkey_binding): Only use AREF after checking it's a vector. | |
2693 | Remove unused var `window'. | |
2694 | ||
61973eb6 YM |
2695 | 2006-09-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2696 | ||
ca21600d JB |
2697 | * emacs.c (shut_down_emacs) [!subprocesses]: Don't set |
2698 | inhibit_sentinels. | |
61973eb6 YM |
2699 | |
2700 | * mac.c [!MAC_OSX] (select): Fix argument name. | |
2701 | ||
2702 | * macmenu.c (enum mac_menu_kind, min_menu_id): New enumerator and | |
2703 | menu ID for Apple menu. | |
2704 | (menubar_selection_callback): Remove function. | |
2705 | (find_and_call_menu_selection): New function from xmenu.c. | |
2706 | (x_activate_menubar): Use it. | |
2707 | (set_frame_menubar): Don't use f->output_data.mac->menubar_active. | |
2708 | ||
2709 | * macterm.c (menubar_selection_callback): Remove extern. | |
2710 | (M_APPLE): Change to 234. | |
2711 | (do_apple_menu) [!TARGET_API_MAC_CARBON]: Make non-static. | |
2712 | (do_menu_choice): Remove function. | |
2713 | ||
2714 | * macterm.h (struct mac_output): Remove member menubar_active. | |
2715 | (do_menu_choice): Remove extern. | |
2716 | (do_apple_menu) [!TARGET_API_MAC_CARBON]: Add extern. | |
2717 | ||
1dd3c9b6 JD |
2718 | 2006-09-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2719 | ||
1a2b3a9f JD |
2720 | * xfns.c (syms_of_xfns): Rename x_gtk_show_chooser_help_text to |
2721 | x_gtk_file_dialog_help_text. | |
2722 | ||
1dd3c9b6 JD |
2723 | * gtkutil.c (xg_uses_old_file_dialog): Rename x-use-old-gtk-file-dialog |
2724 | to x-gtk-use-old-file-dialog. | |
1a2b3a9f JD |
2725 | (xg_get_file_with_chooser): Rename x_gtk_show_chooser_help_text to |
2726 | x_gtk_file_dialog_help_text. | |
1dd3c9b6 JD |
2727 | |
2728 | * xfns.c (syms_of_xfns): Ditto. | |
2729 | ||
661bdc06 KS |
2730 | 2006-09-18 Kim F. Storm <storm@cua.dk> |
2731 | ||
2732 | * window.c (Fwindow_line_visibility): Remove. | |
2733 | (Fwindow_line_height): New defun replacing it. | |
2734 | (syms_of_window): Defsubr it. | |
2735 | ||
37228c38 YM |
2736 | 2006-09-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2737 | ||
2738 | * mac.c (SELECT_USE_CFSOCKET) [MAC_OSX]: Set default to 1. | |
2739 | [MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Fix pointer type. | |
2740 | ||
a688d8b5 JB |
2741 | 2006-09-17 Jay Belanger <belanger@truman.edu> |
2742 | ||
2743 | * gmalloc.c: | |
2744 | * md5.c: | |
2745 | * md5.h: | |
2746 | * strftime.c: Replace "GNU Library General Public License" by "GNU | |
2747 | General Public License" throughout. | |
2748 | ||
059fd1a1 KS |
2749 | 2006-09-17 Kim F. Storm <storm@cua.dk> |
2750 | ||
2751 | * dispnew.c (update_text_area): Undo 2000-07-18 change. | |
2752 | Always redrawing whole row if line has mouse-face in it causes | |
2753 | excessive flickering of the mode line. | |
2754 | ||
e5b94d44 CY |
2755 | 2006-09-17 Chong Yidong <cyd@stupidchicken.com> |
2756 | ||
2757 | * search.c (clear_regexp_cache): New function. | |
2758 | ||
2759 | * syntax.c (Fmodify_syntax_entry): Clear regexp cache. | |
2760 | ||
241ad3ca JD |
2761 | 2006-09-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2762 | ||
31790df3 SM |
2763 | * gtkutil.c (xg_get_file_with_chooser): |
2764 | Check x-gtk-show-chooser-help-text before adding the help text. | |
fbce5860 JD |
2765 | |
2766 | * xfns.c (syms_of_xfns): New variable: x-gtk-show-chooser-help-text. | |
2767 | ||
241ad3ca JD |
2768 | * gtkutil.c (get_utf8_string): Try harder to convert to UTF8. Gtk+ |
2769 | will simply crash if we fail. | |
2770 | ||
6875fe9a RS |
2771 | 2006-09-16 Richard Stallman <rms@gnu.org> |
2772 | ||
2773 | * regex.c (re_compile_pattern): Set gl_state.current_syntax_table. | |
2774 | ||
0c9337fb KS |
2775 | 2006-09-15 Kim F. Storm <storm@cua.dk> |
2776 | ||
2777 | * window.c (Fwindow_line_visibility): New defun for line-move-partial. | |
2778 | (syms_of_window): Defsubr it. | |
2779 | (Fwindow_end): Use window's buffer rather than current buffer. | |
2780 | ||
45a2056c JB |
2781 | 2006-09-15 Jay Belanger <belanger@truman.edu> |
2782 | ||
2783 | * COPYING: Replace "Library Public License" by "Lesser Public | |
2784 | License" throughout. | |
2785 | ||
b74e16a3 DK |
2786 | 2006-09-15 David Kastrup <dak@gnu.org> |
2787 | ||
de9855d5 | 2788 | * Makefile.in (keymap.o): Add "keymap.h" and "window.h" dependencies. |
b74e16a3 DK |
2789 | |
2790 | * keymap.c: include "window.h". | |
2791 | (Fcommand_remapping): New optional POSITION argument. | |
2792 | (Fkey_binding): New optional POSITION argument. Completely rework | |
2793 | handling of mouse clicks to get the same order of keymaps as | |
2794 | `read-key-sequence' and heed POSITION. Also temporarily switch | |
2795 | buffers to location of mouse click and back. | |
2796 | ||
2797 | * keyboard.c (command_loop_1): Adjust call of `Fcommand_remapping' | |
2798 | for additional argument. | |
ca21600d JB |
2799 | (parse_menu_item): Adjust call of `Fkey_binding' for additional |
2800 | argument. | |
b74e16a3 DK |
2801 | (read_key_sequence): If there are both `local-map' and `keymap' |
2802 | text properties at some buffer position, heed both. | |
2803 | ||
2804 | * keymap.h: Declare additional optional arguments of | |
2805 | `Fcommand_remapping' and `Fkey_binding'. | |
2806 | ||
6cb66a31 JB |
2807 | 2006-09-15 Juanma Barranquero <lekktu@gmail.com> |
2808 | ||
2809 | * indent.c (Fcurrent_column, Findent_to): Fix typos in docstring. | |
2810 | ||
cd3587c1 AS |
2811 | 2006-09-14 Andreas Schwab <schwab@suse.de> |
2812 | ||
2813 | * print.c: Whitespace fixup. | |
2814 | ||
84be646f KS |
2815 | 2006-09-14 Kim F. Storm <storm@cua.dk> |
2816 | ||
2817 | * xdisp.c (produce_image_glyph): Automatically crop wide images at | |
2818 | right window edge so we can draw the cursor on the same row to | |
2819 | avoid confusing redisplay by placing the cursor outside the visible | |
2820 | window area. | |
2821 | ||
856bb2b0 | 2822 | 2006-09-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
98a20c65 CY |
2823 | |
2824 | * xterm.c (x_initialize): Don't install Xt event timer here. | |
2825 | (x_timeout_atimer_activated_flag): New var. | |
2826 | (x_activate_timeout_atimer): New function to install Xt timer. | |
2827 | (x_send_scroll_bar_event, x_process_timeouts): Use it. | |
2828 | ||
2829 | * xmenu.c (x_menu_set_in_use, popup_activate_callback) | |
2830 | (create_and_show_popup_menu, create_and_show_dialog): Use it. | |
2831 | ||
2371cbe9 | 2832 | * xterm.h (x_activate_timeout_atimer): Add prototype. |
98a20c65 | 2833 | |
efb15f96 RS |
2834 | 2006-09-13 Richard Stallman <rms@gnu.org> |
2835 | ||
2836 | * print.c (print_string): When printcharfun is t, | |
2837 | copy string contents and call strout on the copy. | |
2838 | ||
2839 | * keyboard.c (read_char): If end_time specified, don't put the | |
2840 | event into this_command_keys. | |
2841 | (read_key_sequence): If Voverriding_terminal_local_map is specified, | |
2842 | don't check Voverriding_local_map at all. | |
2843 | ||
1baa749c | 2844 | 2006-09-12 Stefan Monnier <monnier@iro.umontreal.ca> |
52c0f270 CY |
2845 | |
2846 | * textprop.c (Fnext_property_change, Fnext_single_property_change) | |
2847 | (Fprevious_property_change, Fprevious_single_property_change): | |
2848 | Avoid changing limit, so we can correctly catch the case where the | |
2849 | property is constant up to limit. | |
2850 | ||
eee81f5d YM |
2851 | 2006-09-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2852 | ||
2853 | * macfns.c (mac_window) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
2854 | * macterm.c (XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
2855 | Undo 2006-09-08 change. | |
2856 | ||
91197db4 CY |
2857 | 2006-09-11 Chong Yidong <cyd@stupidchicken.com> |
2858 | ||
2859 | * keymap.c (Fkey_binding): Use string position for string objects. | |
2860 | ||
83279b3e KS |
2861 | 2006-09-11 Kim F. Storm <storm@cua.dk> |
2862 | ||
9a71d7de KS |
2863 | * keymap.c (Fkey_binding): Fix last change. |
2864 | ||
83279b3e KS |
2865 | * editfns.c (Fmessage): Recommend using (message "%s" ...). |
2866 | ||
b067ddb6 CY |
2867 | 2006-09-10 Chong Yidong <cyd@stupidchicken.com> |
2868 | ||
ca21600d JB |
2869 | * keymap.c (Fkey_binding): Check for local keymap for mouse click |
2870 | events. | |
b067ddb6 | 2871 | |
322dd254 KS |
2872 | 2006-09-10 Kim F. Storm <storm@cua.dk> |
2873 | ||
606fd469 KS |
2874 | * keyboard.c (Finput_pending_p): Check Vunread_input_method_events |
2875 | and Vunread_post_input_method_events. | |
2876 | ||
322dd254 KS |
2877 | * dispnew.c (Fredisplay): Document return value. |
2878 | ||
437b2a15 JD |
2879 | 2006-09-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2880 | ||
2881 | * xfns.c (Fx_close_connection): Call xg_display_close when USE_GTK. | |
2882 | ||
2883 | * gtkutil.c (xg_display_close): Always change default display if needed, | |
2884 | check for < Gtk+ version 2.10 before calling gdk_display_close. | |
2885 | ||
6eeee4d6 YM |
2886 | 2006-09-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2887 | ||
eee81f5d YM |
2888 | * mac.c [MAC_OSX] (sys_select): Check argument `nfds' more rigidly. |
2889 | Make variable `ofds' static. Remove variable `maxfd'. | |
6eeee4d6 | 2890 | |
6cb66a31 JB |
2891 | * macfns.c (Fx_file_dialog): Remove unused variable `f'. |
2892 | Call check_mac. | |
6eeee4d6 | 2893 | |
eee81f5d | 2894 | * macmenu.c (Vmenu_updating_frame, syms_of_macmenu): |
6cb66a31 JB |
2895 | * w32menu.c (Vmenu_updating_frame, syms_of_w32menu): |
2896 | Apply 2006-09-08 change for xmenu.c. | |
6eeee4d6 | 2897 | |
d7b1ea44 | 2898 | * xfns.c (Fx_file_dialog): Call check_x. |
6eeee4d6 | 2899 | |
f90660aa KS |
2900 | 2006-09-10 Kim F. Storm <storm@cua.dk> |
2901 | ||
2902 | * xdisp.c (get_window_cursor_type): Use hollow cursor on | |
2903 | non-transparent images. | |
2904 | ||
c048d606 EZ |
2905 | 2006-09-09 Eli Zaretskii <eliz@gnu.org> |
2906 | ||
2907 | * editfns.c (Fsystem_name): Mention "host" in the doc string. | |
2908 | (syms_of_editfns) <system-name>: Likewise. | |
2909 | ||
f4cfdbbe | 2910 | 2006-09-08 Martin Rudalics <rudalics@gmx.at> |
92b23323 | 2911 | |
4560a582 | 2912 | * xdisp.c (mouse_autoselect_window): Remove. |
92b23323 CY |
2913 | (Vmouse_autoselect_window): New variable. DEFVAR_LISP it. |
2914 | ||
2915 | * dispextern.h (mouse_autoselect_window): Remove extern. | |
2916 | (Vmouse_autoselect_window): Add extern. | |
2917 | ||
2918 | * macterm.c (XTread_socket): Test Vmouse_autoselect_window | |
2919 | instead of mouse_autoselect_window. | |
2920 | ||
2921 | * msdos.c (dos_rawgetc): Likewise. | |
2922 | ||
2923 | * w32term.c (w32_read_socket): Likewise. | |
2924 | ||
2925 | * xterm.c (handle_one_xevent): Likewise. | |
2926 | ||
d799329b RS |
2927 | 2006-09-08 Richard Stallman <rms@gnu.org> |
2928 | ||
af09dd78 RS |
2929 | * xdisp.c (Vmenu_updating_frame): Define here. |
2930 | (syms_of_xdisp): DEFVAR it here. | |
2931 | (update_menu_bar): Always return hooks_run. | |
2932 | Set Vmenu_updating_frame. | |
c989bc87 | 2933 | |
af09dd78 RS |
2934 | * xdisp.c (redisplay_internal): Test Vinhibit_redisplay |
2935 | before calculating SELECTED_FRAME. | |
2936 | ||
2937 | * xmenu.c (Vmenu_updating_frame): Don't define here. | |
2938 | (syms_of_xmenu): Don't DEFVAR it here. | |
2939 | ||
2940 | * xterm.c (x_error_quitter): For BadName error, just return. | |
2941 | ||
d799329b RS |
2942 | * eval.c (find_handler_clause): Give up on debugger if INPUT_BLOCKED_P. |
2943 | ||
2944 | * casetab.c (init_casetab_once): Call set_case_table. | |
2945 | ||
2946 | * emacs.c (shut_down_emacs): Set inhibit_sentinels. | |
2947 | ||
2948 | * process.c (inhibit_sentinels): New variable. | |
2949 | (exec_sentinel): Test inhibit_sentinels. | |
2950 | (init_process): Initialize it. | |
2951 | ||
2952 | * process.h (inhibit_sentinels): Add decl. | |
2953 | ||
2954 | * search.c (looking_at_1, string_match_1, search_command): | |
2955 | Make syntax table's canon table point to eqv table. | |
2956 | ||
bcdbfd36 AS |
2957 | 2006-09-08 Andreas Schwab <schwab@suse.de> |
2958 | ||
2959 | * print.c (strout): Fix whitespace. | |
2960 | ||
70c6267a KS |
2961 | 2006-09-08 Kim F. Storm <storm@cua.dk> |
2962 | ||
2963 | * xterm.c (x_draw_glyph_string): Fix 2006-08-24 change. | |
2964 | ||
9deaefb7 YM |
2965 | 2006-09-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2966 | ||
2967 | * mac.c [!MAC_OSX]: Don't include keyboard.h. | |
2968 | [!MAC_OSX] (select): Try detect_input_pending before ReceiveNextEvent | |
2969 | in the same BLOCK_INPUT block, in case that some input has already | |
2970 | been read asynchronously. Pretend to be interrupted by a signal | |
2971 | if some input is available. | |
2972 | [MAC_OSX] (select_and_poll_event, sys_select): Likewise. | |
2973 | (SELECT_POLLING_PERIOD_USEC) [SELECT_USE_CFSOCKET]: Change to 100000. | |
2974 | Now used for ReceiveNextEvent timeout instead of select timeout. | |
2975 | (EVENT_CLASS_SOCK) [SELECT_USE_CFSOCKET]: Remove macro. | |
2976 | [SELECT_USE_CFSOCKET] (socket_callback): Add non-blocking connect | |
2977 | support. Quit event loop. | |
2978 | [MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Add non-blocking | |
2979 | connect support. Reuse previously allocated CFRunLoopSource. | |
2980 | (Fmac_process_hi_command) [TARGET_API_MAC_CARBON]: New function. | |
2981 | (syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it. | |
2982 | ||
2983 | * macfns.c (mac_window) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
2984 | Specify kWindowAsyncDragAttribute. | |
2985 | ||
2986 | * macterm.c (mac_handle_origin_change, mac_handle_size_change) | |
2987 | (mac_get_ideal_size): New functions. | |
2988 | (x_set_offset, x_set_window_size, x_make_frame_visible) | |
2989 | (do_zoom_window, mac_handle_window_event, XTread_socket): Use them. | |
2990 | (install_window_handler, mac_handle_window_event) | |
2991 | [USE_CARBON_EVENTS]: Handle kEventWindowGetIdealSize and | |
2992 | kEventWindowBoundsChanged. | |
ca21600d JB |
2993 | (XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Don't call |
2994 | DragWindow. | |
70c6267a | 2995 | |
d7695a63 AS |
2996 | 2006-09-07 Andreas Schwab <schwab@suse.de> |
2997 | ||
2998 | * m/ibms390x.h (START_FILES, LIB_STANDARD): Override to | |
2999 | use lib64 instead of lib. | |
3000 | ||
be9b5a60 SM |
3001 | 2006-09-06 Stefan Monnier <monnier@iro.umontreal.ca> |
3002 | ||
3003 | * Makefile.in: Avoid double quotes when possible. | |
3004 | ||
04e28558 KH |
3005 | 2006-09-06 Kenichi Handa <handa@m17n.org> |
3006 | ||
3007 | * editfns.c (Fformat_time_string): Use make_unibyte_string to make | |
3008 | a Lisp string from the result of emacs_memftimeu call. | |
3009 | ||
902f06ed KS |
3010 | 2006-09-06 Kim F. Storm <storm@cua.dk> |
3011 | ||
3012 | * xdisp.c (pos_visible_p): Remove exact_mode_line_heights_p arg; | |
f90660aa KS |
3013 | so calculate heights even when pos-visible-in-window-p is called |
3014 | with partially = t. Don't overshoot last_visible_y in move_it_to. | |
3015 | Return row height and row number in new rowh and vpos args. | |
3016 | (cursor_row_fully_visible_p): First line is always "fully visible". | |
902f06ed KS |
3017 | (try_window): Don't clear matrix if vscrolled. |
3018 | ||
3019 | * lisp.h (pos_visible_p): Update prototype. | |
3020 | ||
3021 | * window.c (Fpos_visible_in_window_p): Adapt to new pos_visible_p. | |
3022 | Return row height and row number for partially visible rows. | |
647b07d1 AS |
3023 | Modify return value to a 2 element list for fully visible rows and |
3024 | 6 for partially visible row. | |
902f06ed | 3025 | (window_scroll_pixel_based): Use pos_visible_p directly instead of |
647b07d1 AS |
3026 | Fpos_visible_in_window_p. Fix auto vscrolling for partially |
3027 | visible lines. Only vscroll backwards if already vscrolled | |
3028 | forwards. Unconditionally vscroll forwards if PT is first (and | |
3029 | only) line. Set new window start instead of scrolling at | |
3030 | start/end of tall line. | |
902f06ed | 3031 | |
750a6cf4 YM |
3032 | 2006-09-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3033 | ||
3034 | * macterm.c (install_window_handler, mac_handle_window_event) | |
3035 | [USE_CARBON_EVENTS]: Handle kEventWindowClose. | |
3036 | [USE_MAC_TSM] (mac_handle_text_input_event): Set modifiers for | |
3037 | ASCII keystroke event. | |
3038 | ||
ae6c1c19 JD |
3039 | 2006-09-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3040 | ||
3041 | * gtkutil.c (xg_get_file_with_chooser): Don't mention specific keys in | |
3042 | the file chooser message. Only call gtk_file_chooser_set_current_name | |
3043 | when action is SAVE. | |
3044 | ||
5aa17bb2 AS |
3045 | 2006-09-04 Andreas Schwab <schwab@suse.de> |
3046 | ||
3047 | * Makefile.in: Double all single and back quotes in C-style | |
3048 | comments to help fontifier. | |
3049 | ||
934db434 JR |
3050 | 2006-09-03 Jason Rumney <jasonr@gnu.org> |
3051 | ||
3052 | * w32.c (shutdown_handler): New function to exit cleanly on shutdown. | |
3053 | (globals_of_w32): Register it as a signal handler. | |
3054 | ||
6a8c7cfe JL |
3055 | 2006-09-02 Juri Linkov <juri@jurta.org> |
3056 | ||
3057 | * marker.c (Fmarker_position): Doc fix. | |
3058 | ||
5c4aaa79 EZ |
3059 | 2006-09-03 Eli Zaretskii <eliz@gnu.org> |
3060 | ||
3061 | * window.c (syms_of_window) <split-height-threshold>: | |
3062 | <window-min-height, window-min-width>: Doc fix. | |
3063 | ||
655ea21c JD |
3064 | 2006-09-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3065 | ||
4f3097d8 JD |
3066 | * gtkutil.c (xg_get_file_with_chooser): Change file chooser message |
3067 | for writing files. Call gtk_file_chooser_set_current_name to keep | |
3068 | default filename. | |
3069 | ||
1ae8d759 | 3070 | * minibuf.c (Finternal_complete_buffer): Move after DEFUN:s it calls. |
655ea21c | 3071 | |
79f6ba1f EZ |
3072 | 2006-09-02 Jindrich Makovicka <makovick@gmail.com> (tiny change) |
3073 | ||
ca21600d JB |
3074 | * fns.c (concat) [__GNUC__]: Declare with |
3075 | `__attribute__((noinline))'. | |
79f6ba1f EZ |
3076 | |
3077 | * eval.c (apply1, call2) [__GNUC__]: Declare with | |
3078 | `__attribute__((noinline))'. | |
3079 | ||
ebc80ddf EZ |
3080 | 2006-09-02 Stuart D. Herring <herring@lanl.gov> |
3081 | ||
3082 | * minibuf.c (Finternal_complete_buffer): New function. | |
3083 | (syms_of_minibuf): Defsubr it. | |
3084 | (Fread_buffer): Use it, instead of Vbuffer_alist. | |
3085 | ||
5deb7a51 | 3086 | 2006-09-01 Martin Rudalics <rudalics@gmx.at> |
3e145152 | 3087 | |
5deb7a51 RF |
3088 | * buffer.h (struct buffer_text): New field chars_modiff. |
3089 | (CHARS_MODIFF, BUF_CHARS_MODIFF): New macros. | |
3090 | * buffer.c (Fbuffer_chars_modified_tick): New function returning | |
3091 | value of BUF_CHARS_MODIFF. | |
3092 | (syms_of_buffer): Defsubr it. | |
3093 | (Fget_buffer_create): Initialize BUF_CHARS_MODIFF. | |
3094 | * insdel.c (modify_region): New argument preserve_chars_modiff. | |
3095 | Set CHARS_MODIFF to MODIFF provided preserve_chars_modiff is zero. | |
3096 | (insert_1_both, insert_from_string_1, insert_from_buffer_1) | |
3097 | (adjust_after_replace, adjust_after_replace_noundo) | |
3098 | (replace_range, replace_range_2, del_range_2): Reset CHARS_MODIFF. | |
3099 | * lisp.h (modify_region): Add fourth argument in extern. | |
3100 | * casefiddle.c (casify_region): Call modify_region with fourth | |
3101 | argument zero to assert that CHARS_MODIFF is updated. | |
3102 | * editfns.c (Fsubst_char_in_region, Ftranslate_region_internal) | |
3103 | (Ftranspose_regions): Likewise. | |
3104 | * textprop.c (Fadd_text_properties, Fset_text_properties) | |
3105 | (Fremove_text_properties, Fremove_list_of_text_properties): | |
3106 | Call modify_region with fourth argument 1 to avoid that | |
3107 | CHARS_MODIFF is updated. | |
3e145152 | 3108 | |
80e0572b RS |
3109 | 2006-08-31 Richard Stallman <rms@gnu.org> |
3110 | ||
3111 | * editfns.c (Fformat): Don't sign-extend for %o or %x. | |
3112 | ||
41d24b39 CY |
3113 | 2006-08-29 Chong Yidong <cyd@stupidchicken.com> |
3114 | ||
3115 | * indent.c (Fvertical_motion): Don't move back if we were | |
3116 | displaying a Lisp string, either. | |
3117 | ||
62d108d4 KS |
3118 | 2006-08-28 Kim F. Storm <storm@cua.dk> |
3119 | ||
3120 | * xdisp.c (get_window_cursor_type) [!HAVE_WINDOW_SYSTEM]: | |
3121 | Don't attempt to replace cursor on image glyphs. | |
3122 | ||
c6f8bb3a KH |
3123 | 2006-08-28 Kenichi Handa <handa@m17n.org> |
3124 | ||
523fc433 JB |
3125 | * coding.c (Fdetect_coding_region, Fdetect_coding_string): |
3126 | Fix docstring about ISO-2022 control characters. | |
c6f8bb3a | 3127 | |
7b9c9125 KS |
3128 | 2006-08-28 Kim F. Storm <storm@cua.dk> |
3129 | ||
3130 | * xdisp.c (get_window_cursor_type): Replace BOX cursor on images | |
3131 | with a hollow box cursor if image is larger than 32x32 (or the default | |
3132 | frame font if that is bigger). Replace any other cursor on images | |
3133 | with hollow box cursor, as redisplay doesn't support bar and hbar | |
3134 | cursors on images. | |
3135 | ||
eb411049 YM |
3136 | 2006-08-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3137 | ||
3138 | * alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Undo previous | |
3139 | change. Move mutex lock/unlock operations inside BLOCK_INPUT. | |
3140 | ||
3141 | * dired.c (directory_files_internal_unwind, directory_files_internal) | |
3142 | (file_name_completion): Add BLOCK_INPUT around opendir/closedir. | |
3143 | ||
3144 | * image.c [MAC_OS] (image_load_qt_1): Use ComponentResult instead | |
3145 | of OSErr. | |
3146 | ||
3147 | * keyboard.c (in_sighandler): Remove variable. | |
3148 | (Fcurrent_idle_time): Add missing `doc:'. | |
3149 | (input_available_signal, init_keyboard): Undo previous change. | |
3150 | ||
3151 | * keyboard.h (in_sighandler): Remove extern. | |
3152 | ||
3153 | * mac.c (create_apple_event_from_event_ref, select) | |
3154 | (Fmac_get_file_creator, Fmac_get_file_type, Fmac_set_file_creator) | |
3155 | (Fmac_set_file_type, cfstring_create_normalized) | |
6cb66a31 JB |
3156 | (mac_get_system_locale, select_and_poll_event, sys_select): |
3157 | Use OSStatus instead of OSErr. | |
eb411049 | 3158 | |
6cb66a31 JB |
3159 | * macfns.c [TARGET_API_MAC_CARBON] (mac_update_proxy_icon): |
3160 | Don't use FRAME_FILE_NAME. Use (FS)UpdateAlias. | |
eb411049 YM |
3161 | (Fx_create_frame): Apply 2006-07-03 for xfns.c. |
3162 | ||
3163 | * macselect.c (get_scrap_from_symbol, clear_scrap, put_scrap_string) | |
3164 | (put_scrap_private_timestamp, scrap_has_target_type, get_scrap_string) | |
3165 | (get_scrap_private_timestamp, get_scrap_target_type_list) | |
3166 | (x_own_selection, x_get_foreign_selection) | |
3167 | (Fx_disown_selection_internal, Fx_selection_owner_p) | |
3168 | (Fx_selection_exists_p): Use OSStatus instead of OSErr. | |
3169 | ||
3170 | * macterm.c (mac_draw_string_common, mac_query_char_extents) | |
3171 | (x_iconify_frame, XLoadQueryFont, install_window_handler) | |
3172 | (mac_handle_command_event, init_command_handler, init_menu_bar): | |
3173 | Use OSStatus instead of OSErr. | |
ca21600d JB |
3174 | (x_free_frame_resources) [TARGET_API_MAC_CARBON]: Don't use |
3175 | FRAME_FILE_NAME. | |
eb411049 YM |
3176 | (x_query_font): Apply 2006-08-04 change for xterm.c. |
3177 | (Qhi_command): Rename from Qhicommand. All uses changed. | |
3178 | ||
ca21600d JB |
3179 | * macterm.h (struct mac_output) [TARGET_API_MAC_CARBON]: Remove member |
3180 | file_name. | |
eb411049 YM |
3181 | (FRAME_FILE_NAME): Remove macro. |
3182 | (install_window_handler, create_apple_event_from_event_ref): | |
3183 | Return OSStatus instead of OSErr. | |
3184 | ||
d489b9c5 KS |
3185 | 2006-08-26 Kim F. Storm <storm@cua.dk> |
3186 | ||
3187 | * buffer.c (Fset_buffer_multibyte): | |
3188 | * editfns.c (Fcurrent_time, Fget_internal_run_time): | |
3189 | * macfns.c (Fxw_color_values): | |
3190 | * w32fns.c (Fxw_color_values): | |
3191 | * xfns.c (Fxw_color_values): Simplify; use list3. | |
3192 | ||
3193 | * fileio.c (Fmake_directory_internal, Fdelete_directory) | |
3194 | (Fdelete_file): Simplify; use list1. | |
3195 | (Frename_file, Fadd_name_to_file, Fmake_symbolic_link): | |
3196 | Simplify; remove NO_ARG_ARRAY stuff, use list2. | |
3197 | ||
24d8984e RS |
3198 | 2006-08-25 Richard Stallman <rms@gnu.org> |
3199 | ||
3200 | * buffer.c (Fswitch_to_buffer): Fix previous change. | |
3201 | ||
16fb6ded KS |
3202 | 2006-08-25 Kim F. Storm <storm@cua.dk> |
3203 | ||
3204 | * keyboard.c (Fcurrent_idle_time): Simplify. | |
3205 | ||
3e04a8fc RS |
3206 | 2006-08-25 Richard Stallman <rms@gnu.org> |
3207 | ||
3208 | * fns.c (sxhash_string): Rotate properly; don't lose bits. | |
3209 | ||
8d8dafeb KS |
3210 | 2006-08-24 Francesc Rocher <francesc.rocher@gmail.com> |
3211 | ||
3212 | * xdisp.c (overline_margin): New variable. | |
3213 | (x_produce_glyphs): Use it. | |
3214 | (syms_of_xdisp): DEFVAR_INT it. | |
3215 | ||
3216 | * xterm.c (x_underline_at_descent_line): New variable. | |
3217 | (syms_of_xterm): DEFVAR_BOOL it. | |
3218 | (x_draw_glyph_string): Use it. | |
3219 | Draw underline and overline up to the end of line if the face | |
3220 | extends to the end of line. | |
3221 | ||
3222 | * macterm.c: Likewise. | |
3223 | ||
3224 | * w32term.c: Likewise. | |
3225 | ||
3226 | 2006-08-24 Nick Roberts <nickrob@snap.net.nz> | |
6410aac9 NR |
3227 | |
3228 | * buffer.c (Fswitch_to_buffer): Move buffer to front of | |
3229 | buffer-alist if necessary. | |
3230 | ||
6b4d8762 KS |
3231 | 2006-08-22 Kim F. Storm <storm@cua.dk> |
3232 | ||
3233 | * xdisp.c (update_tool_bar): Redisplay toolbar also when only | |
3234 | number of items changes. | |
3235 | ||
7e1de68d KS |
3236 | 2006-08-22 Stefan Monnier <monnier@iro.umontreal.ca> |
3237 | ||
3238 | * buffer.c (Fset_buffer_multibyte): Record proper undo entry. | |
3239 | ||
f73858ce JD |
3240 | 2006-08-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3241 | ||
3242 | * keyboard.c: Clarify difference between in_sighandler and | |
3243 | handling_signal. | |
3244 | ||
c58790e6 KS |
3245 | 2006-08-21 Kim F. Storm <storm@cua.dk> |
3246 | ||
3247 | * macterm.c (x_draw_stretch_glyph_string): | |
3248 | * w32term.c (x_draw_stretch_glyph_string): | |
3249 | * xterm.c (x_draw_stretch_glyph_string): It is ok to draw a | |
5e1a6e32 | 3250 | stretch glyph in left marginal areas on header and mode lines. |
c58790e6 | 3251 | |
748726f4 KH |
3252 | 2006-08-21 Kenichi Handa <handa@m17n.org> |
3253 | ||
3254 | * keyboard.c (syms_of_keyboard): Docstring of | |
ca21600d JB |
3255 | Vunread_post_input_method_events and Vunread_input_method_events |
3256 | fixed. | |
748726f4 | 3257 | |
c5b76d6c CY |
3258 | 2006-08-20 Chong Yidong <cyd@stupidchicken.com> |
3259 | ||
3260 | * keyboard.c (show_help_echo): Preserve mouse movement flag if | |
3261 | tracking mouse. | |
3262 | ||
ce629713 RS |
3263 | 2006-08-20 Richard Stallman <rms@gnu.org> |
3264 | ||
3265 | * xfaces.c (load_pixmap): Add quotes in error message. | |
3266 | ||
3267 | * keyboard.c (Fcurrent_idle_time): New function. | |
3268 | (syms_of_keyboard): defsubr it. | |
3269 | ||
454e31b3 NR |
3270 | 2006-08-18 Nick Roberts <nickrob@snap.net.nz> |
3271 | ||
3272 | * window.c (Fset_window_fringes): Do nothing on a tty. | |
3273 | (Fwindow_fringes): Put ? operator after the line break. | |
3274 | ||
dae581bf AS |
3275 | 2006-08-16 Andreas Schwab <schwab@suse.de> |
3276 | ||
3277 | * print.c (debug_output_compilation_hack): Fix return type. | |
3278 | ||
3cb74cd1 RS |
3279 | 2006-08-16 Richard Stallman <rms@gnu.org> |
3280 | ||
3281 | * print.c (debug_output_compilation_hack): New function. | |
3282 | ||
29cbc482 KH |
3283 | 2006-08-16 Kenichi Handa <handa@m17n.org> |
3284 | ||
3285 | * fileio.c (choose_write_coding_system): Use LF for end-of-line | |
3286 | in auto-saving. | |
3287 | ||
3236e6b8 CY |
3288 | 2006-08-15 Chong Yidong <cyd@stupidchicken.com> |
3289 | ||
3290 | * keyboard.c (read_char): Don't change idle timer state at all if | |
3291 | end_time is supplied. | |
3292 | ||
8db1f9fa KH |
3293 | 2006-08-15 Kenichi Handa <handa@m17n.org> |
3294 | ||
3295 | * coding.c (ONE_MORE_BYTE_CHECK_MULTIBYTE): New arg RET. If SRC | |
3296 | is exhausted, return with RET. | |
3297 | (detect_coding_emacs_mule, detect_coding_iso2022) | |
3298 | (detect_coding_sjis, detect_coding_big5, detect_coding_utf_8) | |
ca21600d JB |
3299 | (detect_coding_utf_16, detect_coding_ccl): Adjusted for the above |
3300 | change. | |
8db1f9fa | 3301 | |
70282fce CY |
3302 | 2006-08-14 Chong Yidong <cyd@stupidchicken.com> |
3303 | ||
3304 | * keyboard.c (read_char): Don't reset idle timers if a time limit | |
3305 | is supplied. | |
3306 | ||
9bdc2a5d KS |
3307 | 2006-08-14 Kim F. Storm <storm@cua.dk> |
3308 | ||
3309 | * .gdbinit (pitx): Print iterator position. | |
3310 | Limit stack dump in case iterator is not initialized. | |
3311 | ||
e6b8d662 EZ |
3312 | 2006-08-12 Eli Zaretskii <eliz@gnu.org> |
3313 | ||
3314 | * frame.c (Fmouse_position, Fmouse_pixel_position) | |
3315 | (Fset_mouse_position, Fset_mouse_pixel_position): Doc fix. | |
3316 | ||
0c584069 JD |
3317 | 2006-08-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3318 | ||
3319 | * xselect.c (Fx_register_dnd_atom): New function. | |
3320 | (syms_of_xselect): Defsubr it. | |
9bdc2a5d | 3321 | (x_handle_dnd_message): Check that message_type is in |
0c584069 JD |
3322 | dpyinfo->x_dnd_atoms before generating lisp event. |
3323 | ||
3324 | * xterm.h (struct x_display_info): Add x_dnd_atoms* to keep track | |
3325 | of drag and drop Atoms. | |
3326 | ||
1ae8d759 | 3327 | * xterm.c (x_term_init): Initialize dpyinfo->x_dnd_atoms*. |
0c584069 | 3328 | |
abef1dd7 JD |
3329 | 2006-08-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3330 | ||
3331 | * keyboard.c: Define in_sighandler. | |
3332 | (input_available_signal): Set in_sighandler. | |
3333 | (init_keyboard): Initialize in_sighandler. | |
3334 | ||
3335 | * keyboard.h: Declare in_sighandler. | |
3336 | ||
3337 | * alloc.c (UNBLOCK_INPUT_ALLOC, BLOCK_INPUT_ALLOC): Use in_sighandler | |
3338 | to check if mutex should be locked or not. | |
3339 | ||
c2028ac6 RS |
3340 | 2006-08-09 Richard Stallman <rms@gnu.org> |
3341 | ||
3342 | * keyboard.c (keyremap_step): No-op if fkey->parent = nil. | |
3343 | (read_key_sequence): Always start fkey.start and fkey.end at 0, | |
3344 | and likewise for keytran. | |
3345 | ||
bb0825cb KH |
3346 | 2006-08-09 Kenichi Handa <handa@m17n.org> |
3347 | ||
3348 | * coding.c (syms_of_coding): Improve the docstring | |
1a7de17e | 3349 | of file-coding-system-alist. |
bb0825cb | 3350 | |
61486999 AS |
3351 | 2006-08-07 Andreas Schwab <schwab@suse.de> |
3352 | ||
3353 | * puresize.h (BASE_PURESIZE): Increase to 1120000. | |
3354 | ||
43ed3b8d CY |
3355 | 2006-08-06 Chong Yidong <cyd@stupidchicken.com> |
3356 | ||
3357 | * buffer.c (Vchange_major_mode_hook, Qchange_major_mode_hook): New vars. | |
3358 | (Fkill_all_local_variables): Use it. | |
3359 | (syms_of_buffer): Defvar it. | |
3360 | ||
6b657e42 EZ |
3361 | 2006-08-05 Eli Zaretskii <eliz@gnu.org> |
3362 | ||
0a3297f7 EZ |
3363 | * w32.c (w32_valid_pointer_p): New function. |
3364 | ||
3365 | * w32.h: Add prototype for w32_valid_pointer_p. | |
3366 | ||
3367 | * alloc.c: Include w32.h. | |
3368 | (valid_lisp_object_p) [WINDOWSNT]: Call w32_valid_pointer_p to do | |
3369 | the job. | |
3370 | ||
6b657e42 EZ |
3371 | * keyboard.c (kbd_buffer_get_event): Return Qnil when current time |
3372 | is exactly equal to end_time, not only when it is past that. | |
3373 | ||
092869b9 CY |
3374 | 2006-08-04 Chong Yidong <cyd@stupidchicken.com> |
3375 | ||
3376 | * keyboard.c (read_char): Rebalance specpdl after receiving jump. | |
3377 | ||
3378 | * process.c: Reapply 2006-08-01 change. | |
3379 | ||
3046c3f9 EZ |
3380 | 2006-08-04 Eli Zaretskii <eliz@gnu.org> |
3381 | ||
3382 | * w32fns.c (w32_query_font): Fix last change: use stricmp. | |
3383 | ||
0f2e2a3b SM |
3384 | 2006-08-04 Stefan Monnier <monnier@iro.umontreal.ca> |
3385 | ||
3386 | * editfns.c (Fsubst_char_in_region): Redo the setup work after running | |
3387 | the before-change-functions since they may have altered the buffer. | |
3388 | ||
316a275a EZ |
3389 | 2006-08-04 Ralf Angeli <angeli@caeruleus.net> |
3390 | ||
3391 | * w32fns.c (w32_createwindow): Handle -geometry command line option | |
3392 | and the geometry settings in the Registry. | |
3393 | ||
ef8f7cdd KH |
3394 | 2006-08-04 Kenichi Handa <handa@m17n.org> |
3395 | ||
6f64cebf KH |
3396 | * w32fns.c (w32_query_font): Compare names by ignoring case. |
3397 | ||
ef8f7cdd KH |
3398 | * xterm.c (x_query_font): Compare names by ignoring case. |
3399 | ||
f3e0a6de JR |
3400 | 2006-08-03 Jason Rumney <jasonr@gnu.org> |
3401 | ||
3402 | * w32menu.c (w32_menu_show, w32_dialog_show): Call Fsignal to quit | |
3403 | when no option selected. | |
3404 | ||
d634a670 CY |
3405 | 2006-08-03 Chong Yidong <cyd@stupidchicken.com> |
3406 | ||
3407 | * process.c: Revert last change. | |
3408 | ||
0885202f KS |
3409 | 2006-08-01 Kim F. Storm <storm@cua.dk> |
3410 | ||
3411 | * process.c (wait_reading_process_output_unwind): New function. | |
3412 | Restores waiting_for_user_input_p to saved value. | |
3413 | (wait_reading_process_output): Unwind protect waiting_for_user_input_p | |
3414 | instead of save/restore old value on stack. | |
3415 | ||
0f42ea76 TTN |
3416 | 2006-07-30 Thien-Thi Nguyen <ttn@gnu.org> |
3417 | ||
3418 | * editfns.c: Undo 2006-06-27 change. | |
3419 | ||
69666f77 EZ |
3420 | 2006-07-29 Eli Zaretskii <eliz@gnu.org> |
3421 | ||
cfb37af8 EZ |
3422 | * coding.c (Ffind_operation_coding_system): Revert the change from |
3423 | 2006-05-29. | |
3424 | ||
69666f77 EZ |
3425 | * alloc.c [WINDOWSNT]: Include fcntl.h, to fix last change. |
3426 | ||
0de8dcc9 RS |
3427 | 2006-07-28 Richard Stallman <rms@gnu.org> |
3428 | ||
0f42ea76 | 3429 | * xfaces.c (lookup_named_face, Fdisplay_supports_face_attributes_p): |
0de8dcc9 RS |
3430 | Add conditional aborts for clarity. |
3431 | ||
3432 | * xdisp.c (update_menu_bar): New arg HOOKS_RUN. Callers changed. | |
3433 | Used to avoid running the hooks over and over for each frame. | |
3434 | (prepare_menu_bars): Pass value from update_menu_bar | |
3435 | as HOOKS_RUN of next call. | |
3436 | ||
3437 | * keyboard.c (safe_run_hooks_1): Don't crash if Vrun_hooks is nil. | |
3438 | ||
4dbdb9eb KS |
3439 | 2006-07-28 Kim F. Storm <storm@cua.dk> |
3440 | ||
3441 | * alloc.c (valid_pointer_p): New function (from valid_lisp_object_p). | |
3442 | (valid_lisp_object_p): Use it to check for valid SUBRP obj. | |
3443 | ||
2f1950bf CY |
3444 | 2006-07-26 Chong Yidong <cyd@stupidchicken.com> |
3445 | ||
3446 | * keyboard.c (read_char): New arg END_TIME specifying timeout. | |
3447 | All callers changed. Turn off echoing if END_TIME is non-NULL. | |
3448 | (kbd_buffer_get_event): New arg END_TIME. | |
3449 | ||
3450 | * lread.c (read_filtered_event): New arg SECONDS to wait until. | |
3451 | (Fread_char, Fread_event, Fread_char_exclusive): New arg SECONDS. | |
3452 | ||
3453 | * lisp.h: Update read-char, read-event, and read_filtered_event | |
3454 | prototypes. | |
3455 | ||
3456 | * keyboard.h: Include systime.h. Update read_char prototype. | |
3457 | ||
55a90501 YM |
3458 | 2006-07-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3459 | ||
3460 | * alloc.c (find_string_data_in_pure): New function. | |
3461 | (make_pure_string): Use it to reuse existing string data if possible. | |
3462 | ||
3463 | * puresize.h (BASE_PURESIZE): Decrease to 1102000. | |
3464 | ||
2db8f173 SM |
3465 | 2006-07-22 Stefan Monnier <monnier@iro.umontreal.ca> |
3466 | ||
3467 | * keymap.c (Fdefine_key): If the key binding definition looks like an | |
3468 | XEmacs-style key sequence, convert it to Emacs's format. | |
3469 | ||
272f22eb EZ |
3470 | 2006-07-22 Ralf Angeli <angeli@caeruleus.net> |
3471 | ||
ca21600d JB |
3472 | * w32fns.c (w32_createwindow): If `left' and/or `top' frame |
3473 | parameters are bound to some values, use that instead of | |
3474 | CW_USEDEFAULT. | |
272f22eb | 3475 | |
69b72317 EZ |
3476 | 2006-07-21 Eli Zaretskii <eliz@gnu.org> |
3477 | ||
3478 | * w32.c (convert_time): Use explicit long double constants to | |
3479 | ensure long double arithmetics is used throughout. | |
3480 | ||
14eee502 YM |
3481 | 2006-07-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3482 | ||
5e1a6e32 | 3483 | * alloc.c (pure_bytes_used_lisp, pure_bytes_used_non_lisp): New vars. |
14eee502 YM |
3484 | (init_alloc_once): Initialize them. |
3485 | (pure_alloc): Allocate non-Lisp objects from the end of pure storage | |
3486 | without alignment. | |
3487 | ||
3488 | * puresize.h (BASE_PURESIZE): Decrease to 1141000. | |
3489 | ||
eeeda6f1 KS |
3490 | 2006-07-18 Francis Litterio <franl@world.std.com> |
3491 | ||
3492 | * w32term.c (x_calc_absolute_position): Fix frame positioning | |
3493 | with negative X/Y coordinates. | |
3494 | ||
2381d38d DN |
3495 | 2006-07-18 Dan Nicolaescu <dann@ics.uci.edu> |
3496 | ||
3497 | * xterm.c (x_connection_closed, x_error_quitter): Mark as NO_RETURN. | |
3498 | ||
3499 | * textprop.c (text_read_only): Likewise. | |
3500 | ||
3501 | * lread.c (end_of_file_error): Likewise. | |
3502 | ||
3503 | * lisp.h (circular_list_error, memory_full, buffer_memory_full): | |
3504 | Likewise. | |
3505 | ||
3506 | * eval.c (unwind_to_catch): Likewise. | |
3507 | ||
3508 | * buffer.h (buffer_slot_type_mismatch): Likewise. | |
3509 | ||
5b5fca28 KS |
3510 | 2006-07-18 Kim F. Storm <storm@cua.dk> |
3511 | ||
3512 | Cleanup Fsignal calls that never returns; now only use it for Qquit. | |
3513 | ||
3514 | * eval.c (xsignal): New func. Like Fsignal, but marked no-return. | |
3515 | (xsignal0, xsignal1, xsignal2, xsignal3): New no-return functions. | |
3516 | (signal_error): New no-return function (from xfaces.c). | |
3517 | (Fthrow): Use xsignal2 instead of Fsignal + abort. | |
3518 | (error): Use xsignal1 instead of Fsignal + abort. | |
3519 | (FletX, Flet, grow_specpdl): Use signal_error. | |
3520 | (Feval, Ffuncall, funcall_lambda): Use xsignal1, xsignal2. | |
3521 | ||
6cb66a31 | 3522 | * alloc.c (buffer_memory_full, memory_full): Use xsignal. Remove loop. |
5b5fca28 KS |
3523 | (list1): New function. |
3524 | ||
3525 | * lisp.h (list1): Add EXFUN. | |
3526 | (xsignal, xsignal0, xsignal1, xsignal2, xsignal3, signal_error): | |
3527 | Add prototypes. Mark them as no-return. | |
3528 | ||
3529 | * buffer.c (Fbuffer_local_value, Fbarf_if_buffer_read_only): | |
3530 | Use xsignal1. | |
3531 | ||
3532 | * callint.c (check_mark): Use xsignal0. | |
3533 | ||
3534 | * casefiddle.c (casify_object): wrong_type_argument is no-return. | |
3535 | ||
3536 | * cmds.c (Fforward_char, Fdelete_char): Use xsignal0. | |
3537 | ||
3538 | * coding.c (Fcheck_coding_system): Use xsignal1. Remove loop. | |
3539 | (Fdefine_coding_system_internal): Use xsignal1. | |
3540 | ||
3541 | * data.c (circular_list_error): Use xsignal. | |
3542 | (wrong_type_argument): Use xsignal2. Don't care about return value. | |
3543 | (args_out_of_range, args_out_of_range_3): Use xsignal2, xsignal3. | |
3544 | Remove loop around Fsignal. | |
3545 | (indirect_variable, Fsymbol_value, set_internal, Fdefault_value) | |
3546 | (indirect_function, Findirect_function, Fstring_to_number) | |
3547 | (Fmakunbound, Ffmakunbound, Fsymbol_function, Ffset): Use xsignal1. | |
3548 | (arith_driver, float_arith_driver, Frem, Fmod, arith_error): | |
3549 | Use xsignal0. | |
3550 | ||
3551 | * doc.c (Fdocumentation): Use xsignal1. | |
3552 | ||
3553 | * editfns.c (region_limit, Fget_internal_run_time): Use xsignal0. | |
3554 | ||
3555 | * fileio.c (report_file_error): Use xsignal. | |
3556 | (barf_or_query_if_file_exists, Fcopy_file, Fdelete_file) | |
3557 | (Finsert_file_contents): Use xsignal2. | |
3558 | (syms_of_fileio): Use list2, list3. | |
3559 | ||
3560 | * floatfns.c (arith_error, range_error, domain_error): Use xsignal2. | |
3561 | (range_error2, domain_error2): Use xsignal3. | |
3562 | (rounding_driver, fmod_float): Use xsignal0. | |
3563 | (float_error): Use xsignal1. | |
3564 | (matherr): Use xsignal. | |
3565 | ||
3566 | * fns.c (Flength): wrong_type_argument is no-return. | |
3567 | (hashfn_user_defined, Fmake_hash_table): Use signal_error. | |
3568 | (Fmd5): Use xsignal1. | |
3569 | ||
3570 | * frame.c (x_set_line_spacing, x_set_screen_gamma): Use signal_error. | |
3571 | ||
3572 | * keyboard.c (recursive_edit_1): Use xsignal1. | |
3573 | ||
3574 | * keymap.c (Fmap_keymap): Use xsignal1. | |
3575 | ||
3576 | * lread.c (Fload): Use xsignal2, signal_error. | |
3577 | (end_of_file_error): Use xsignal0, xsignal1. | |
3578 | (read0): Use xsignal1. | |
3579 | (invalid_syntax): New error function marked no-return. | |
3580 | (read_integer, read1, read_list): Use it. | |
3581 | ||
3582 | * macselect.c (x_get_local_selection): Use signal_error. | |
3583 | ||
3584 | * msdos.c (Fmsdos_set_mouse_buttons): Use xsignal2. | |
3585 | ||
3586 | * search.c (compile_pattern_1): Use xsignal1. | |
3587 | (signal_failure): Remove (was only called once). | |
3588 | (search_command): Use xsignal1 instead of signal_failure. | |
3589 | ||
3590 | * syntax.c (scan_lists): Use xsignal3. | |
3591 | ||
3592 | * textprop.c (text_read_only): Use xsignal0, xsignal1. | |
3593 | ||
3594 | * unexsol.c (unexec): Use xsignal. | |
3595 | ||
3596 | * window.c (window_scroll_pixel_based, window_scroll_line_based): | |
3597 | Use xsignal0. | |
3598 | ||
3599 | * xfaces.c (signal_error): Move to eval.c. | |
3600 | (resolve_face_name): Use xsignal1. | |
3601 | ||
3602 | * xfns.c (x_decode_color): Use signal_error. | |
3603 | ||
3604 | * xselect.c (x_get_local_selection, copy_multiple_data) | |
3605 | (x_get_window_property_as_lisp_data) | |
3606 | (lisp_data_to_selection_data, CHECK_CUT_BUFFER) | |
3607 | (Fx_get_cut_buffer_internal): Use signal_error. | |
3608 | ||
d3f31bc5 YM |
3609 | 2006-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3610 | ||
3611 | * macterm.c (XTread_socket): Undo previous change. | |
3612 | ||
1e53bd0e YM |
3613 | 2006-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3614 | ||
3615 | * macterm.c (keycode_to_xkeysym): Remove function. All uses now | |
3616 | directly lookup keycode_to_xkeysym_table. | |
3617 | [USE_MAC_TSM] (mac_handle_text_input_event): Don't construct | |
3618 | ASCII_KEYSTROKE_EVENT for non-zero keycode_to_xkeysym_table entries. | |
3619 | (XTread_socket): Use character codes to construct keypad key events. | |
3620 | (mac_initialize_display_info) [MAC_OSX]: Use CGDisplaySamplesPerPixel. | |
3621 | (x_delete_display): Apply 2006-07-04 change for xterm.c. | |
3622 | ||
0de8dcc9 RS |
3623 | 2006-07-17 Richard Stallman <rms@gnu.org> |
3624 | ||
3625 | * keyboard.c (Vcommand_error_function): New variable. | |
3626 | (syms_of_keyboard): Defvar it. | |
3627 | (cmd_error_internal): Simplify, and handle Vcommand_error_function. | |
3628 | ||
3629 | * dispnew.c (init_display): Mention DISPLAY as well as TERM in err msg. | |
3630 | ||
55dc982c KS |
3631 | 2006-07-17 Kim F. Storm <storm@cua.dk> |
3632 | ||
3633 | * xdisp.c (handle_single_display_spec): Ensure the right value of | |
3634 | it->position is saved by push_it. | |
3635 | (pop_it): Restore it->object for GET_FROM_BUFFER and GET_FROM_STRING. | |
3636 | (reseat_1): Don't setup it->object twice. | |
3637 | (set_iterator_to_next): No need to set it->object after pop_it. | |
3638 | (move_it_to): Explicitly check to see if last move reached to_charpos. | |
3639 | ||
ce7d5efe TTN |
3640 | 2006-07-17 Thien-Thi Nguyen <ttn@gnu.org> |
3641 | ||
3642 | * xdisp.c (display_mode_line): Preserve match data. | |
3643 | ||
d753d9b7 KS |
3644 | 2006-07-14 Kim F. Storm <storm@cua.dk> |
3645 | ||
3646 | * w32.c (pfn_WSACreateEvent, pfn_WSACloseEvent): New func ptrs. | |
3647 | (init_winsock): Load them. Use ws2_32.dll. | |
3648 | (sys_listen): Undo last change. Just set FILE_LISTEN flag. | |
3649 | (sys_accept): Undo last change. Instead, set child status to | |
3650 | STATUS_READ_ACKNOWLEDGED and reset char_avail event so next | |
3651 | sys_select will wakeup the reader thread. | |
3652 | (_sys_wait_accept): New function used by reader thread to wait for | |
3653 | an incoming connection on a server socket. | |
3654 | ||
3655 | * w32.h (_sys_read_ahead, _sys_wait_accept): Add prototypes. | |
3656 | ||
3657 | * w32proc.c (reader_thread): Use _sys_wait_accept to wait on a | |
3658 | server socket (FILE_LISTEN flag). | |
3659 | ||
dcc88121 JD |
3660 | 2006-07-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3661 | ||
3662 | * sound.c (alsa_init): Call snd_pcm_close after successful snd_pcm_open. | |
3663 | ||
8a8476f9 KS |
3664 | 2006-07-14 Kim F. Storm <storm@cua.dk> |
3665 | ||
3666 | * w32.c: Fix high cpu load for server sockets. | |
3667 | (pfn_WSAEventSelect): New function ptr. | |
3668 | (init_winsock): Load it. | |
3669 | (sys_listen): Set FILE_LISTEN flag. Set event mask for socket's | |
3670 | char_avail event object to FD_ACCEPT. | |
3671 | (sys_accept): Check FILE_LISTEN flag. Set event mask on new | |
3672 | socket's char_avail event object to FD_READ|FD_CLOSE. | |
3673 | ||
3674 | * w32.h (FILE_LISTEN): New filedesc flag value. | |
3675 | ||
f3500bbe KS |
3676 | 2006-07-13 Kim F. Storm <storm@cua.dk> |
3677 | ||
3678 | * bytecode.c (Fbyte_code): Use CAR, CDR for Bcar, Bcdr. | |
3679 | Use CAR_SAFE, CDR_SAFE for Bcar_safe, Bcdr_safe. | |
3680 | Simplify loops and use CAR for Bnth and Belt. | |
3681 | ||
3682 | * data.c (Findirect_function): Optimize for no indirection. | |
3683 | ||
3684 | * eval.c (Fthrow): Remove loop around Fsignal. | |
3685 | (Feval, Fapply, Ffuncall): Optimize for no function indirection. | |
3686 | Use original function name in all signaled errors. | |
3687 | Simplify Fsignal calls (no return). | |
3688 | (funcall_lambda): Simplify Fsignal calls (no return). | |
3689 | ||
60c86a83 AS |
3690 | 2006-07-13 Andreas Schwab <schwab@suse.de> |
3691 | ||
3692 | * syntax.c (scan_sexps_forward): Use EMACS_INT for out_bytepos and | |
3693 | out_charpos. | |
3694 | ||
d40ec4a0 KH |
3695 | 2006-07-13 Kenichi Handa <handa@m17n.org> |
3696 | ||
3697 | * editfns.c (Fformat): Fix calculation of text property positions | |
3698 | of format string. | |
3699 | ||
b8a6aaa7 KS |
3700 | 2006-07-12 Kim F. Storm <storm@cua.dk> |
3701 | ||
3702 | * lisp.h (CHECK_TYPE): New macro for generic type checking. | |
3703 | (CAR_SAFE, CDR_SAFE): New macros. | |
3704 | (ARRAYP, CHECK_ARRAY): New macros. | |
3705 | (CHECK_VECTOR_OR_STRING, CHECK_SUBR): New macros. | |
3706 | (CHECK_WINDOW_CONFIGURATION): New macro. | |
3707 | (CHECK_LIST_CONS, CHECK_LIST_END): New checks for list traversal. | |
3708 | (CHECK_STRING_OR_BUFFER, CHECK_HASH_TABLE, CHECK_LIST) | |
3709 | (CHECK_STRING, CHECK_STRING_CAR, CHECK_CONS, CHECK_SYMBOL) | |
3710 | (CHECK_CHAR_TABLE, CHECK_VECTOR, CHECK_VECTOR_OR_CHAR_TABLE) | |
3711 | (CHECK_BUFFER, CHECK_WINDOW, CHECK_LIVE_WINDOW, CHECK_PROCESS) | |
3712 | (CHECK_NUMBER, CHECK_NATNUM, CHECK_MARKER, CHECK_OVERLAY) | |
3713 | (CHECK_NUMBER_COERCE_MARKER, CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT) | |
3714 | (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER): Use CHECK_TYPE. | |
3715 | ||
3716 | * category.h (CHECK_CATEGORY, CHECK_CATEGORY_SET): | |
3717 | * frame.h (CHECK_FRAME, CHECK_LIVE_FRAME): Use CHECK_TYPE. | |
3718 | ||
3719 | * callint.c (Fcall_interactively): | |
3720 | * casefiddle.c (casify_object): | |
3721 | * editfns.c (general_insert_function): | |
3722 | * fns.c (Flength, Felt, Ffillarray): | |
3723 | * data.c (Fcar, Fcdr): Remove loop around wrong_type_argument. | |
3724 | ||
3725 | * data.c (wrong_type_argument): Remove loop around Fsignal. | |
3726 | (Farrayp, Fsequencep): Use ARRAYP. | |
3727 | (Fcar): Use CAR. | |
3728 | (Fcar_safe): Use CAR_SAFE. | |
3729 | (Fcdr): Use CDR. | |
3730 | (Fcdr_safe): Use CDR_SAFE. | |
3731 | (Fsetcar, Fsetcdr): Use CHECK_CONS. | |
3732 | (Fsubr_arity, Fsubr_name): Use CHECK_SUBR. | |
3733 | (Faset): Use CHECK_ARRAY. | |
3734 | ||
3735 | * fns.c (Felt): Use CHECK_ARRAY. | |
3736 | (concat): Use CHECK_NUMBER. | |
3737 | (Fsubstring, substring_both): Use CHECK_VECTOR_OR_STRING. | |
3738 | (Fmemq): Use CHECK_LIST. | |
3739 | (Fassq, Fassoc, Frassq, Frassoc): Use CAR. | |
3740 | (assq_no_quit): Use CAR_SAFE. | |
3741 | (Fnthcdr, Fmember, Fdelq, Fdelete, Fnreverse, Fnconc): | |
3742 | Use CHECK_LIST_CONS. | |
3743 | (Freverse, Fplist_get, Flax_plist_get): Use CHECK_LIST_END. | |
3744 | ||
3745 | * bytecode.c (Fbyte_code): Use CHECK_VECTOR. | |
3746 | ||
3747 | * casetab.c (check_case_table): | |
3748 | * category.c (check_category_table): | |
3749 | * marker.c (Fcopy_marker): | |
3750 | * syntax.c (check_syntax_table): | |
3751 | * xfaces.c (load_pixmap): Use CHECK_TYPE. | |
3752 | ||
3753 | * fns.c (Fcopy_sequence, concat): | |
3754 | * fringe.c (Fdefine_fringe_bitmap): | |
3755 | * lread.c (check_obarray): Cleanup wrong_type_argument use. | |
3756 | ||
e55deb0b KS |
3757 | * keyboard.c (access_keymap_keyremap): Use ARRAYP. |
3758 | ||
b8a6aaa7 KS |
3759 | * keymap.c (Fdefine_key, Flookup_key): |
3760 | * macros.c (Fstart_kbd_macro): Use CHECK_VECTOR_OR_STRING. | |
3761 | ||
3762 | * mac.c (Fmac_get_preference): Use CHECK_LIST_END. | |
3763 | ||
3764 | * search.c (Fset_match_data): Use CHECK_LIST. | |
3765 | ||
3766 | * sunfns.c (sun_item_create): Use CHECK_LIST_CONS. | |
3767 | ||
3768 | * window.c (Fwindow_configuration_frame, Fset_window_configuration): | |
3769 | (compare_window_configurations): Use CHECK_WINDOW_CONFIGURATION. | |
3770 | ||
099d4201 YM |
3771 | 2006-07-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3772 | ||
3773 | * Makefile.in (dired.o, editfns.o, fileio.o): Depend on blockinput.h. | |
3774 | ||
3775 | * dired.c: Include blockinput.h. | |
3776 | (Ffile_attributes): Add BLOCK_INPUT around getpwuid/getgrgid. | |
3777 | ||
3778 | * editfns.c: Include blockinput.h. | |
3779 | (Fuser_login_name, Fuser_full_name): Add BLOCK_INPUT around | |
3780 | getpwuid/getpwnam. | |
3781 | ||
3782 | * fileio.c: Include blockinput.h. | |
3783 | (Fexpand_file_name, search_embedded_absfilename): Add BLOCK_INPUT | |
3784 | around getpwnam. | |
3785 | (search_embedded_absfilename): Remove spurious xfree. | |
3786 | ||
2e42ee7b KS |
3787 | 2006-07-11 Kim F. Storm <storm@cua.dk> |
3788 | ||
3789 | * dispnew.c (sit_for): Reduce number of args from 5 to 3. | |
3790 | Now just one TIMEOUT arg that can be a Lisp float or Lisp int. | |
3791 | Combine args DISPLAY and INITIAL_DISPLAY into one arg DO_DISPLAY. | |
8e09f23f | 3792 | Signal error if TIMEOUT is not a number. |
2e42ee7b KS |
3793 | Undo 2006-06-14 change for non-preemptive display if TIMEOUT < 0. |
3794 | The rework of sit_for args also fixes several incorrect Qt args | |
3795 | which should have been 1. | |
3796 | (Fredisplay): Pass 1 instead of Qt to swallow_events and | |
3797 | detect_input_pending_run_timers. | |
3798 | ||
3799 | * lisp.h (sit_for): Update prototype. | |
3800 | (Fredisplay): Add EXFUN. | |
3801 | ||
3802 | * dispextern.h (sit_for): Remove prototype. | |
3803 | ||
3804 | * callint.c (Fcall_interactively): | |
3805 | * minibuf.c (temp_echo_area_glyphs): | |
3806 | * keyboard.c (command_loop_1, read_char, Fexecute_extended_command): | |
3807 | * fileio.c (Fdo_auto_save): Update/simplify sit_for calls. | |
3808 | ||
a0aa7fcf SM |
3809 | 2006-07-11 Stefan Monnier <monnier@iro.umontreal.ca> |
3810 | ||
3811 | * syntax.c (forw_comment): Also use EMACS_INT for buffer positions. | |
3812 | ||
ff97f952 KS |
3813 | 2006-07-11 Kim F. Storm <storm@cua.dk> |
3814 | ||
68ade564 | 3815 | * dispnew.c (Fredisplay): Add FORCE argument to force redisplay when |
ff97f952 KS |
3816 | input is available. Fix test for redisplay_dont_pause non-nil. |
3817 | Specbind redisplay-dont-pause to t if FORCE non-nil. | |
3818 | ||
7ba07a1a CY |
3819 | 2006-07-10 Chong Yidong <cyd@stupidchicken.com> |
3820 | ||
3821 | * puresize.h (BASE_PURESIZE): Increment to 1211000. | |
3822 | ||
3823 | * dispnew.c (Fredisplay): New function, equivalent to (sit-for 0). | |
3824 | (Fsit_for): Function deleted. | |
3825 | ||
a0aa7fcf SM |
3826 | * keyboard.c (command_loop_1, Fexecute_extended_command): |
3827 | Call sit_for instead of Fsit_for. | |
7ba07a1a CY |
3828 | |
3829 | * minibuf.c (temp_echo_area_glyphs): Likewise. | |
3830 | ||
2312c580 SM |
3831 | 2006-07-09 Stefan Monnier <monnier@iro.umontreal.ca> |
3832 | ||
3833 | * syntax.c (Fforward_comment): Revert the reversion. | |
932e6895 | 3834 | (back_comment, scan_lists): Also use EMACS_INT for buffer positions. |
2312c580 | 3835 | |
bf88ca63 JPW |
3836 | 2006-07-09 John Paul Wallington <jpw@pobox.com> |
3837 | ||
3838 | * syntax.c (Fforward_comment): Revert previous change. | |
3839 | ||
08b17d37 KS |
3840 | 2006-07-09 Kim F. Storm <storm@cua.dk> |
3841 | ||
3842 | * window.c (Fforce_window_update): Doc fix. | |
3843 | ||
26816cbf SG |
3844 | 2006-07-08 Stephen Gildea <gildea@stop.mail-abuse.org> |
3845 | ||
3846 | * fileio.c (do_auto_save_make_dir): Make the auto-save-list-file | |
3847 | directory unreadable for better user privacy. | |
3848 | ||
4332cf50 SM |
3849 | 2006-07-07 Stefan Monnier <monnier@iro.umontreal.ca> |
3850 | ||
dd9f0dcd SM |
3851 | * syntax.c (Fforward_comment): Fix int-32 vs EMACS_INT-64 mixup. |
3852 | ||
4332cf50 SM |
3853 | * lread.c (read_filtered_event): Remove `register' qualifier because it |
3854 | causes compilation problem with gcc-4.0.2-20051125 on amd64. | |
91fe9496 SM |
3855 | (readevalloop): Remove unused var `bpos'. |
3856 | Yet another int/Lisp_Object mixup (YAILOM). | |
4332cf50 | 3857 | |
dfb4bff5 EZ |
3858 | 2006-07-07 Eli Zaretskii <eliz@gnu.org> |
3859 | ||
3860 | * keyboard.c (Fexecute_extended_command): Mention the argument | |
3861 | PREFIXARG in the doc string. | |
3862 | ||
efaed3b0 KS |
3863 | 2006-07-07 Kim F. Storm <storm@cua.dk> |
3864 | ||
3865 | * fringe.c (Fdefine_fringe_bitmap): Doc fix. | |
3866 | ||
e2e6e4d2 CY |
3867 | 2006-07-05 Chong Yidong <cyd@stupidchicken.com> |
3868 | ||
234fb773 CY |
3869 | * insdel.c (prepare_to_modify_buffer): For an indirect buffer, do |
3870 | clash detection using the base buffer. | |
3871 | ||
e2e6e4d2 CY |
3872 | * puresize.h (BASE_PURESIZE): Increment to 1210500. |
3873 | ||
e128be55 KS |
3874 | 2006-07-04 Kim F. Storm <storm@cua.dk> |
3875 | ||
3876 | * xterm.c (x_delete_display): Don't free or derefence NULL pointers. | |
3877 | ||
2462bc66 KH |
3878 | 2006-07-04 Kenichi Handa <handa@m17n.org> |
3879 | ||
3880 | * fontset.c (Fset_overriding_fontspec_internal): Check if we need | |
3881 | to update Voverriding_fontspec_alist. | |
3882 | ||
9ca24617 RS |
3883 | 2006-07-03 Richard Stallman <rms@gnu.org> |
3884 | ||
3885 | * xfns.c (Fx_create_frame): Move unwind_create_frame setup down. | |
3886 | ||
3887 | * xfaces.c (Fface_attribute_relative_p): Doc fix. | |
3888 | ||
3889 | * textprop.c (Fget_char_property_and_overlay): Doc fix. | |
3890 | ||
3891 | * eval.c (Fdefvaralias): Doc fix. | |
3892 | ||
d8ab3c6d KS |
3893 | 2006-07-03 Kim F. Storm <storm@cua.dk> |
3894 | ||
3895 | * dispnew.c (sit_for): Fix preempt condition. | |
3896 | ||
ca77ee45 SM |
3897 | 2006-07-02 Stefan Monnier <monnier@iro.umontreal.ca> |
3898 | ||
3899 | * lread.c (read_filtered_event): Treat select-window just like | |
3900 | switch-frame. | |
3901 | ||
8cb72de5 KS |
3902 | 2006-07-02 Kim F. Storm <storm@cua.dk> |
3903 | ||
3904 | * xdisp.c (display_tool_bar_line): Skip glyphs which are too big | |
3905 | to ever fit the tool-bar, | |
3906 | (MAX_FRAME_TOOL_BAR_HEIGHT): New macro. | |
3907 | (tool_bar_lines_needed): Use unused mode-line row as temp_row. | |
3908 | (redisplay_tool_bar): Only clear desired matrix if we actually | |
3909 | change the tool-bar window height. Only try to make the tool-bar | |
3910 | window bigger if there is actually room for it. | |
3911 | ||
6407e67c EZ |
3912 | 2006-06-30 Ralf Angeli <angeli@caeruleus.net> |
3913 | ||
3914 | * w32term.c (x_make_frame_visible): Use SystemParametersInfo with | |
3915 | SPI_GETWORKAREA to find the dimensions of the screen work area, | |
3916 | and adjust vertical position of the frame in order to avoid being | |
3917 | covered by the task bar. | |
3918 | ||
3919 | * w32fns.c (w32_createwindow): Use CW_USEDEFAULT instead of | |
3920 | f->left_pos and SH_SHOW instead of f->top_pos in the call to | |
3921 | CreateWindow. Record the actual position in f->left_pos and | |
3922 | f->top_pos. | |
3923 | ||
639804b3 JPW |
3924 | 2006-06-30 John Paul Wallington <jpw@pobox.com> |
3925 | ||
3926 | * w32console.c (syms_of_ntterm) <w32-use-full-screen-buffer>: | |
3927 | Doc fix - default value has changed. | |
3928 | ||
3ff05183 YM |
3929 | 2006-06-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3930 | ||
3931 | * mac.c [!TARGET_API_MAC_CARBON]: Don't include FixMath.h or Scrap.h. | |
3932 | ||
3933 | * macfns.c (Fx_create_frame): Apply 2006-06-24 change for xfns.c. | |
3934 | ||
3935 | * macgui.h (USE_MAC_TSM) [TARGET_API_MAC_CARBON]: Set default to 1. | |
3936 | ||
3937 | * macterm.c (Qeql): Add extern. | |
3938 | (x_set_mouse_pixel_position) [MAC_OSX]: Use CGWarpMouseCursorPosition. | |
3939 | (fm_style_face_attributes_alist) [USE_ATSUI]: New variable. | |
3940 | (syms_of_macterm) [USE_ATSUI]: Initialize and staticpro it. | |
3941 | Change keys of Vmac_atsu_font_table from strings to numbers. | |
3942 | (fm_style_to_face_attributes) [USE_ATSUI]: New function. | |
3943 | (init_font_name_table) [USE_ATSUI]: Use it. | |
3944 | (saved_ts_script_language_on_focus) [USE_MAC_TSM]: New variable. | |
3945 | (syms_of_macterm) [USE_MAC_TSM]: Initialize and staticpro it. | |
3946 | [USE_MAC_TSM] (mac_tsm_resume): Restore script and language codes | |
3947 | only when saved_ts_script_language_on_focus coincides with | |
3948 | Vmac_ts_script_language_on_focus. | |
3949 | [USE_MAC_TSM] (mac_tsm_suspend): Save value of | |
3950 | Vmac_ts_script_language_on_focus to saved_ts_script_language_on_focus. | |
3951 | (XTread_socket) [USE_MAC_TSM]: Add Mac OS Classic support. | |
3952 | [USE_MAC_TSM] (mac_handle_text_input_event, init_tsm): Likewise. | |
3953 | ||
df8ffa05 CY |
3954 | 2006-06-27 Chong Yidong <cyd@stupidchicken.com> |
3955 | ||
3956 | * editfns.c (Fdelete_field, Ffield_string, Ffield_beginning) | |
3957 | (Ffield_string_no_properties, Ffield_end): Mention | |
3958 | args-out-of-range error condition in docstring. | |
3959 | ||
04405ad9 KS |
3960 | 2006-06-27 Kim F. Storm <storm@cua.dk> |
3961 | ||
3962 | * xdisp.c (handle_composition_prop): Set stop_charpos before push_it. | |
3963 | ||
f8e83735 KS |
3964 | 2006-06-25 Kim F. Storm <storm@cua.dk> |
3965 | ||
3966 | * s/gnu-linux.h (SIGNALS_VIA_CHARACTERS): Define for Linux kernel | |
3967 | version 2.4 and later. | |
3968 | ||
86b2ba0d CY |
3969 | 2006-06-24 Chong Yidong <cyd@stupidchicken.com> |
3970 | ||
3971 | * xfns.c (Fx_create_frame): Set font parameter directly instead of | |
3972 | using x_default_parameter, since x_get_args clears the parm alist. | |
3973 | ||
eff6bfea EZ |
3974 | 2006-06-24 Eli Zaretskii <eliz@gnu.org> |
3975 | ||
3976 | * dired.c (directory_files_internal) [WINDOWSNT]: Find files | |
3977 | case-insensitively. | |
3978 | ||
d9034473 EZ |
3979 | 2006-06-24 Aidan Kehoe <kehoea@parhasard.net> |
3980 | ||
3981 | * lread.c (read_escape): When an unknown Unicode code point is | |
3982 | encountered as a string or character escape, signal an error. | |
3983 | ||
8800bd5c KS |
3984 | 2006-06-23 Kim F. Storm <storm@cua.dk> |
3985 | ||
31005921 KS |
3986 | * .gdbinit (pitx): Dump iterator stack. |
3987 | ||
8800bd5c KS |
3988 | * xdisp.c (handle_composition_prop): Push iterator on stack. |
3989 | (set_iterator_to_next): Pop iterator at end of composition. | |
3990 | ||
28fa06ea EZ |
3991 | 2006-06-23 Martin Rudalics <rudalics@gmx.at> |
3992 | ||
3993 | * fileio.c (Frename_file) [DOS_NT]: Don't try to move directory to | |
3994 | itself on DOS_NT platforms, if the old and new names are identical | |
3995 | but for the letter-case. | |
3996 | ||
43a37241 KS |
3997 | 2006-06-21 Kim F. Storm <storm@cua.dk> |
3998 | ||
3999 | * dispextern.h (struct it): Add `position' member to iterator stack. | |
4000 | Rename `pos' member to `current'. Rearrange and add comments. | |
4001 | ||
4002 | * xdisp.c (handle_stop): Set it->ignore_overlay_strings_at_pos_p | |
4003 | if we get any overlays. | |
4004 | (set_cursor_from_row): Don't clobber `end' if we rescan from | |
4005 | start_string. | |
4006 | (push_it, pop_it): Save it->position. | |
4007 | ||
a5bd14d3 RS |
4008 | 2006-06-19 Richard Stallman <rms@gnu.org> |
4009 | ||
4010 | * window.c (size_window): New arg FIRST_ONLY. All callers changed. | |
4011 | (adjust_window_trailing_edge): Specially compute FIRST_PARALLEL | |
4012 | for the case of a top-level window and the following minibuffer. | |
4013 | Don't exit because of no `next' when there is a parent. | |
4014 | Use the FIRST_ONLY feature when resizing following windows. | |
eb85ecac | 4015 | |
a5bd14d3 RS |
4016 | * syntax.c (init_syntax_once): Give most control chars' syntax Spunct. |
4017 | ||
a3efc408 KS |
4018 | 2006-06-17 Kim F. Storm <storm@cua.dk> |
4019 | ||
4020 | * dispnew.c (update_frame): Check for input pending on entry. | |
4021 | (update_window, update_frame_1): Break loop if input is detected. | |
4022 | ||
d692a3d5 JD |
4023 | 2006-06-16 Francis Litterio <flitterio@gmail.com> |
4024 | ||
4025 | * xterm.c (x_check_expected_move, handle_one_xevent) | |
4026 | (x_set_offset, x_check_fullscreen): Extensive changes to make | |
4027 | frame positioning deterministic under X. | |
4028 | ||
b70e1a2b | 4029 | * xterm.h (x_output): Add members left_before_move and |
d692a3d5 JD |
4030 | top_before_move. Removed members expected_left and expected_top. |
4031 | ||
df05d913 KS |
4032 | 2006-06-16 Kim F. Storm <storm@cua.dk> |
4033 | ||
626c7c71 KS |
4034 | * dispextern.h (struct it): Add union to iterator stack to save |
4035 | image, composition, and stretch specific paramters. | |
4036 | ||
4037 | * xdisp.c (next_overlay_string): Fix assert. | |
4038 | (push_it, pop_it): Handle composition and stretch specific values. | |
4039 | Only handle it->slice in image (for now). | |
4040 | (back_to_previous_visible_line_start): Continue search if newline is | |
4041 | part of a compisition. Simplify. | |
4042 | (reseat_1): Set it->object to buffer. | |
4043 | (set_iterator_to_next): Set it->object to string or buffer, when | |
4044 | setting it->method to GET_FROM_STRING or GET_FROM_BUFFER. | |
4045 | (next_element_from_composition): Set it->object to buffer if not | |
4046 | from string. | |
4047 | (set_cursor_from_row): Only save start of string if not already | |
4048 | done to handle multiple strings in a row. | |
4049 | ||
df05d913 KS |
4050 | * .gdbinit (pitx): Show composition parameters. |
4051 | (pgx, pg): New commands to print a glyph structure. | |
4052 | (pgi, pgn): New commands to print specific/next glyph. | |
4053 | (pgrowx, pgrow): New commands to print all glyphs in a row. | |
4054 | ||
aa2f234a YM |
4055 | 2006-06-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4056 | ||
4057 | * macfns.c (Fx_display_mm_height, Fx_display_mm_width) | |
4058 | [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Use CGDisplayScreenSize. | |
4059 | ||
4060 | * macterm.c (do_app_resume, do_app_suspend): Remove functions. | |
4061 | (mac_tsm_resume, mac_tsm_suspend) [USE_MAC_TSM]: New functions. | |
4062 | (mac_handle_window_event, XTread_socket) [USE_MAC_TSM]: Use them. | |
4063 | (Vmac_ts_script_language_on_focus) [USE_MAC_TSM]: New variable. | |
4064 | (syms_of_macterm) [USE_MAC_TSM]: Defvar it. | |
4065 | (saved_ts_language, saved_ts_component) [USE_MAC_TSM]: New variables. | |
4066 | (mac_initialize_display_info) [MAC_OSX]: Use Quartz Display | |
4067 | Services functions to get size of main display in pixels. | |
4068 | ||
633e63ca CY |
4069 | 2006-06-14 Chong Yidong <cyd@stupidchicken.com> |
4070 | ||
d0f891a7 SM |
4071 | * xdisp.c (back_to_previous_visible_line_start): |
4072 | Reset it->continuation_lines_width. | |
633e63ca | 4073 | |
cac9d766 RS |
4074 | 2006-06-14 Richard Stallman <rms@gnu.org> |
4075 | ||
4076 | * eval.c (Fdefconst): Mark variable as risky. | |
4077 | ||
4078 | * callproc.c (Fcall_process): Doc fix. | |
4079 | ||
4080 | * window.c (adjust_window_trailing_edge): Don't break out of the loop | |
4081 | because there's no next window, if there are parallel windows. | |
4082 | Do break out when WINDOW is nil. | |
df05d913 | 4083 | |
bae1ed29 KS |
4084 | 2006-06-14 Kim F. Storm <storm@cua.dk> |
4085 | ||
1bb32610 KS |
4086 | * dispextern.h (IT_STACK_SIZE): New macro specifying size of |
4087 | iterator stack (instead of hardcoded number). Increase from 2 to | |
4088 | 4 to make room for propertized overlay strings before and after a | |
4089 | display string, image or composition. | |
4090 | (struct it): Add image_id and method members to iterator stack. | |
4091 | ||
4092 | * xdisp.c (init_from_display_pos): Don't set it->method and | |
4093 | overlay_string_index after pop_it. Add asserts. | |
4094 | (handle_stop): Look for overlay strings around a display string, | |
4095 | image, or composition. Handle properties on those strings. | |
4096 | (next_overlay_string): Don't set string, pos or method after pop_it. | |
4097 | (get_overlay_strings_1): Split from get_overlay_strings; don't | |
4098 | modify it if no overlay strings are found. | |
4099 | (get_overlay_strings): Use get_overlay_strings_1. Always set | |
4100 | it->string and it->method. | |
4101 | (push_it): Push it->image_id and it->method. Push it->object | |
4102 | instead of it->string if method is GET_FROM_IMAGE. | |
4103 | (pop_it): Pop it->image_id and it->method. Ppo it->object | |
4104 | instead of it->string if method is GET_FROM_IMAGE. | |
4105 | Reset it->current.string_pos if popped it->string is nil. | |
4106 | (reseat_1): Remove comment dated 19 May 2003. It expressed doubt | |
4107 | whether a given change was correct; but the change is correct. | |
4108 | Clear it->string_from_display_prop_p. | |
4109 | (set_iterator_to_next): Rely on it->method and it->image_id from | |
4110 | iterator stack, instead of setting them explicitly after pop_it. | |
4111 | ||
bae1ed29 KS |
4112 | * dispnew.c (sit_for): Undo 2006-06-01 change. Instead, a |
4113 | negative time forces redisplay even when input is available. | |
4114 | (Fsit_for): Doc fix. | |
4115 | ||
8eb2b87f KS |
4116 | 2006-06-13 Kim F. Storm <storm@cua.dk> |
4117 | ||
4118 | * dispnew.c: Modify preemptive redisplay to be based on periodic | |
4119 | checks for input. | |
4120 | (PERIODIC_PREEMPTION_CHECKING): Define to 1 iff EMACS_HAS_USECS. | |
4121 | (Vredisplay_preemption_period): New variable. | |
4122 | (syms_of_display): DEFVAR_LISP and initialize it. | |
4123 | (preemption_period, preemption_next_check): New variables. | |
4124 | (update_frame, update_single_window): Initialize them based on | |
4125 | Vredisplay_preemption_period if !force_p. | |
4126 | (update_window, update_frame_1): Use them to determine when to | |
4127 | check for input. | |
4128 | ||
7cb93181 EZ |
4129 | 2006-06-03 Aidan Kehoe <kehoea@parhasard.net> |
4130 | ||
4131 | * lread.c (read_escape): Provide a Unicode character escape | |
4132 | syntax; \u followed by exactly four or \U followed by exactly | |
4133 | eight hex digits in a comment or string is read as a Unicode | |
4134 | character with that code point. | |
4135 | ||
cf402f3f EZ |
4136 | 2006-06-09 Eli Zaretskii <eliz@gnu.org> |
4137 | ||
4138 | * window.c (window_scroll_pixel_based): Signal "Beginning of | |
4139 | buffer" when scroll-down at the beginning of an empty buffer. | |
4140 | ||
67b5f809 YM |
4141 | 2006-06-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4142 | ||
d0f891a7 SM |
4143 | * macterm.c [USE_MAC_TSM] (mac_handle_text_input_event): |
4144 | Exclude 0x7f from ASCII range. | |
67b5f809 | 4145 | |
94856834 JR |
4146 | 2006-06-05 Jason Rumney <jasonr@gnu.org> |
4147 | ||
4148 | * w32term.c (w32_set_scroll_bar_thumb, x_scroll_bar_create) | |
4149 | (w32_set_vertical_scroll_bar, w32_scroll_bar_handle_click) | |
4150 | (x_scroll_bar_report_motion): Remove workarounds for | |
4151 | versions of Windows NT < 3.51. | |
4152 | [!SIF_ALL]: Remove. | |
4153 | (pfnSetScrollInfo, pfnGetScrollInfo): Remove. | |
4154 | (w32_initialize): Don't dynamically load Get/SetScrollInfo. | |
4155 | ||
d495ccfc DK |
4156 | 2006-06-04 David Kastrup <dak@gnu.org> |
4157 | ||
ca21600d JB |
4158 | * dispnew.c: Mention `redisplay-dont-pause' in doc string of |
4159 | `sit-for'. | |
d495ccfc | 4160 | |
fabcf455 YM |
4161 | 2006-06-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4162 | ||
4163 | * macfns.c (x_set_icon_name): Apply 2006-06-02 change for xfns.c. | |
4164 | ||
4165 | * macgui.h (USE_MAC_TSM): Set default to 1 on Mac OS X. | |
4166 | ||
4167 | * macterm.c (tsm_document_id) [USE_MAC_TSM]: New variable. | |
4168 | (Qtext_input, Qupdate_active_input_area, Qunicode_for_key_event) | |
4169 | [USE_MAC_TSM]: Likewise. | |
4170 | (syms_of_macterm) [USE_MAC_TSM]: Intern and staticpro them. | |
4171 | (Qbefore_string) [USE_MAC_TSM]: Add extern. | |
ca21600d JB |
4172 | (do_app_resume, do_app_suspend) [USE_MAC_TSM]: Call |
4173 | ActivateTSMDocument/DeactivateTSMDocument. | |
fabcf455 | 4174 | (mac_store_event_ref_as_apple_event): Call mac_post_mouse_moved_event. |
ca21600d JB |
4175 | (mac_handle_window_event) [USE_MAC_TSM]: Handle |
4176 | kEventWindowFocusAcquired/kEventWindowFocusRelinquish. | |
fabcf455 YM |
4177 | (mac_handle_text_input_event) [USE_MAC_TSM]: New function. |
4178 | (install_window_handler) [USE_MAC_TSM]: Install it. Register | |
4179 | kEventWindowFocusAcquired/kEventWindowFocusRelinquish. | |
4180 | (keycode_to_xkeysym_table): Add entry for f16. | |
4181 | (XTread_socket) [USE_MAC_TSM]: Set/reset read_socket_inev | |
4182 | before/after passing keystroke event to toolbox dispatcher. | |
4183 | (init_tsm) [USE_MAC_TSM]: New function. | |
4184 | (mac_initialize) [USE_MAC_TSM]: Call it. | |
4185 | (Vmac_ts_active_input_overlay) [USE_MAC_TSM]: New defvar. | |
4186 | ||
4187 | * macterm.h (EVENT_PARAM_TEXT_INPUT_SEQUENCE_NUMBER): New enumerator. | |
4188 | ||
4985dde2 JPW |
4189 | 2006-06-02 John Paul Wallington <jpw@gnu.org> |
4190 | ||
4191 | * xfns.c (x_set_name_internal): Set icon to `text', derived from | |
4192 | name, when frame's icon_name isn't a string rather than only when | |
4193 | it is nil. | |
4194 | ||
3f65d6f5 EZ |
4195 | 2006-06-03 Eli Zaretskii <eliz@gnu.org> |
4196 | ||
4197 | * w32fns.c (x_set_icon_name): Don't use arg if it's not a string | |
4198 | and not nil. | |
4199 | ||
56f41f98 CY |
4200 | 2006-06-02 Chong Yidong <cyd@stupidchicken.com> |
4201 | ||
ca21600d JB |
4202 | * xfns.c (x_set_icon_name): No-op if arg is non-nil and not a |
4203 | string. | |
56f41f98 | 4204 | |
70a4cae4 YM |
4205 | 2006-06-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4206 | ||
4207 | * xdisp.c (next_element_from_composition): Set it->object to | |
4208 | it->string if composition is coming from string. | |
4209 | (set_cursor_from_row): Don't return 0 unless row displays a | |
4210 | continued line. | |
4211 | (dump_glyph): Dump composite glyph. | |
06c7827a | 4212 | |
8b2b00f5 JD |
4213 | 2006-06-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4214 | ||
4215 | * gtkutil.c (menu_nav_ended): Check that menubar_widget is not NULL. | |
4216 | ||
963128f3 RS |
4217 | 2006-06-01 Richard Stallman <rms@gnu.org> |
4218 | ||
4219 | * window.c (Fsplit_window): Doc fix. | |
4220 | ||
24a71bb1 KS |
4221 | 2006-06-01 Micha\e,Ak\e(Bl Cadilhac <michael.cadilhac@lrde.org> |
4222 | ||
4223 | * process.c (deleted_pid_list): New variable to store the pids | |
4224 | of deleted processes. Declare it only if SIGCHLD is defined. | |
4225 | (init_process): Initialize it. | |
4226 | (syms_of_process): Staticpro it. | |
4227 | (Fdelete_process): Add pid of the deleted process to it. Check after | |
4228 | the addition and before the kill if the process is already stopped, | |
4229 | in which case it is deleted from the list and not killed. | |
4230 | (sigchld_handler): Define it only if SIGCHLD is. Search the process | |
4231 | that signaled Emacs in `deleted_pid_list' before `Vprocess_alist'. | |
4232 | Original idea by Stefan Monnier. | |
4233 | ||
a71a7704 KS |
4234 | 2006-06-01 Kim F. Storm <storm@cua.dk> |
4235 | ||
4236 | * dispnew.c (sit_for): Perform redisplay even if input is pending | |
4237 | when redisplay-dont-pause is non-nil. | |
4238 | ||
36f0107c YM |
4239 | 2006-06-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4240 | ||
4241 | * macterm.c (mac_handle_visibility_change): Set buf.arg to Qnil. | |
4242 | (XTread_socket): Remove obsolete comment. | |
4243 | ||
2e92a7cb JD |
4244 | 2006-06-01 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4245 | ||
4246 | * xmenu.c (syms_of_xmenu): Make accelerate-menu an alias for | |
4247 | menu-bar-open. | |
4248 | ||
c9467aaa JD |
4249 | 2006-06-01 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4250 | ||
4251 | * xmenu.c (Fmenu_bar_open, syms_of_xmenu): Change menu-bar-start to | |
4252 | menu-bar-open. | |
4253 | ||
4254 | * gtkutil.c (menu_nav_ended): Change x-menu-bar-start to menu-bar-open. | |
4255 | ||
82db8fa7 JL |
4256 | 2006-05-31 Juri Linkov <juri@jurta.org> |
4257 | ||
4258 | * minibuf.c (Vhistory_add_new_input): New variable. | |
4259 | (read_minibuf): Use it. | |
4260 | (syms_of_minibuf) <history-add-new-input>: New Lisp variable. | |
4261 | (syms_of_minibuf) <history-delete-duplicates>: Doc fix. | |
4262 | ||
360fecca KS |
4263 | 2006-05-31 Kim F. Storm <storm@cua.dk> |
4264 | ||
4265 | * process.c (select_wrapper): Add wrapper around select to work around | |
4266 | "incomplete backtrace" bug in gdb 5.3, when emacs is stopped inside | |
4267 | select called from wait_reading_process_output. | |
4268 | ||
303e108c AS |
4269 | 2006-05-30 Andreas Schwab <schwab@suse.de> |
4270 | ||
4271 | * xmenu.c (Fmenu_bar_start): Return a value. | |
4272 | ||
d9e8091d RS |
4273 | 2006-05-30 Richard Stallman <rms@gnu.org> |
4274 | ||
4275 | * coding.c (Ffind_operation_coding_system): Doc fix. | |
4276 | ||
7c42b3e0 EZ |
4277 | 2006-05-30 Eli Zaretskii <eliz@gnu.org> |
4278 | ||
4279 | * w32term.c (x_draw_hollow_cursor): Fix last change. | |
4280 | ||
73af0716 KS |
4281 | 2006-05-29 Kim F. Storm <storm@cua.dk> |
4282 | ||
4283 | * w32term.c (x_draw_stretch_glyph_string): Fix last change. | |
4284 | ||
4285 | 2006-05-29 Eli Zaretskii <eliz@gnu.org> | |
a952cebe EZ |
4286 | |
4287 | * coding.c (Ffind_operation_coding_system): Doc fix. | |
4288 | ||
ffd71266 YM |
4289 | 2006-05-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4290 | ||
4291 | * macfns.c [USE_MAC_FONT_PANEL] (Fmac_set_font_panel_visibility): | |
4292 | Call mac_set_font_info_for_selection if font panel is made visible. | |
4293 | ||
4294 | * macterm.c (font_panel_shown_p) [USE_MAC_FONT_PANEL]: New variable. | |
4295 | (mac_font_panel_visible_p, mac_show_hide_font_panel) | |
4296 | [USE_MAC_FONT_PANEL]: New functions. | |
523fc433 JB |
4297 | [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): |
4298 | Return immediately if font panel is not visible. | |
ffd71266 YM |
4299 | |
4300 | * macterm.h (mac_font_panel_visible_p, mac_show_hide_font_panel): | |
4301 | Add externs. | |
4302 | ||
01d09305 DN |
4303 | 2006-05-29 Dan Nicolaescu <dann@ics.uci.edu> |
4304 | ||
4305 | * search.c (matcher_overflow): Mark as NO_RETURN. | |
4306 | ||
4307 | * xterm.c (x_connection_closed): Likewise. | |
4308 | ||
4309 | * sysdep.c (croak): Likewise. | |
4310 | ||
4311 | * sound.c (sound_perror, alsa_sound_perror): Likewise. | |
4312 | ||
4313 | * lisp.h (die, nsberror): Likewise. | |
4314 | ||
c1c032a3 JD |
4315 | 2006-05-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4316 | ||
523fc433 JB |
4317 | * sound.c (alsa_open, alsa_configure, alsa_write): |
4318 | Move assignment to err out of if-statement. | |
3fc7a865 | 4319 | |
c1c032a3 | 4320 | * gtkutil.c (menu_nav_ended): New function. |
ca21600d JB |
4321 | (create_menus): Connect menu_nav_ended to "selection-done" to fix |
4322 | grabs. | |
c1c032a3 JD |
4323 | |
4324 | * xmenu.c (Fmenu_bar_start): New function for USE_GTK and USE_X_TOOLKIT. | |
4325 | ||
345b3483 DN |
4326 | 2006-05-28 Dan Nicolaescu <dann@ics.uci.edu> |
4327 | ||
4328 | * charset.h (invalid_character): Mark as NO_RETURN. | |
4329 | ||
7311509e KH |
4330 | 2006-05-29 Kenichi Handa <handa@m17n.org> |
4331 | ||
4332 | * coding.c (Ffind_operation_coding_system): Call a function by | |
4333 | safe_call1 instead of call1. | |
4334 | ||
6ad0381c SM |
4335 | 2006-05-28 Stefan Monnier <monnier@iro.umontreal.ca> |
4336 | ||
4337 | * window.c (struct saved_window): Add `dedicated'. | |
4338 | (Fset_window_configuration, save_window_save): Save/restore the | |
4339 | `dedicated' flag. | |
4340 | ||
794033ae KS |
4341 | 2006-05-28 Kim F. Storm <storm@cua.dk> |
4342 | ||
4343 | * xdisp.c (set_cursor_from_row): If cursor cannot be set in row, | |
4344 | don't update w->cursor and return 0. Return 1 on success. | |
4345 | (try_cursor_movement): Repeat set_cursor_from_row on successive rows | |
4346 | until it succeeds. | |
4347 | ||
4348 | * dispextern.h (set_cursor_from_row): Update prototype. | |
4349 | ||
26837cd3 KS |
4350 | 2006-05-28 Kim F. Storm <storm@cua.dk> |
4351 | ||
4352 | * xdisp.c (get_phys_cursor_geometry): Return computed x and y through | |
4353 | parameters. Adjust x and width in case cursor in on a partially | |
4354 | visible stretch glyph on the left edge. | |
4355 | (erase_phys_cursor): Don't erase into left fringe/margin in case | |
4356 | previous cursor glyph is a partially visible stretch glyph on left. | |
4357 | ||
4358 | * dispextern.h (get_phys_cursor_geometry): Update prototype. | |
4359 | ||
4360 | * xterm.c (x_draw_stretch_glyph_string): Fix problems with invisible | |
4361 | cursor and erasing cursor on partially visible stretch glyph on left. | |
4362 | (x_draw_hollow_cursor): Compute x via get_phys_cursor_geometry. | |
4363 | ||
4364 | * macterm.c: Likewise. | |
4365 | ||
4366 | * w32term.c: Likewise. | |
4367 | ||
412f3f18 YM |
4368 | 2006-05-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4369 | ||
6ad0381c SM |
4370 | * macselect.c (mac_handle_apple_event): |
4371 | Return errAEEventNotHandled if key binding is not found. | |
412f3f18 | 4372 | |
0f7078f0 EZ |
4373 | 2006-05-26 Eli Zaretskii <eliz@gnu.org> |
4374 | ||
4375 | * emacs.c (main) [PROFILING]: Enable also for __MINGW32__. | |
4376 | [__MINGW32__]: MinGW-specific declaration of `etext'. | |
4377 | ||
4378 | * w32heap.c (etext, edata): Remove unused definitions. | |
4379 | ||
795c20df CY |
4380 | 2006-05-26 Chong Yidong <cyd@stupidchicken.com> |
4381 | ||
6ad0381c SM |
4382 | * fileio.c (Fcopy_file): Delete argument MUSTBENEW. |
4383 | Incorporate the exclusive file-opening functionality into the behavior | |
4384 | when OK-IF-ALREADY-EXISTS is nil. | |
795c20df CY |
4385 | (Frename_file): Call Fcopy_file without MUSTBENEW argument. |
4386 | ||
07a7837c JD |
4387 | 2006-05-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4388 | ||
4389 | * sound.c (alsa_configure): Move get period/buffer_size after | |
4390 | setting hwparams. | |
4391 | ||
f1c582b4 KH |
4392 | 2006-05-26 Kenichi Handa <handa@m17n.org> |
4393 | ||
4394 | * coding.c (Ffind_operation_coding_system): Allow (FILENAME | |
4395 | . BUFFER) in TARGET. | |
4396 | ||
3165e450 CY |
4397 | 2006-05-25 Chong Yidong <cyd@stupidchicken.com> |
4398 | ||
4399 | * image.c (png_load): Don't call fclose on NULL. | |
4400 | ||
d579f53b LT |
4401 | 2006-05-25 Luc Teirlinck <teirllm@auburn.edu> |
4402 | ||
4403 | * fns.c (Fyes_or_no_p): | |
4404 | * callint.c (Fcall_interactively): Fread_from_minibuffer now takes | |
4405 | only seven args. | |
4406 | ||
abeb5483 JL |
4407 | 2006-05-25 Juri Linkov <juri@jurta.org> |
4408 | ||
4409 | * lisp.h (Fread_from_minibuffer): Decrement number of args. | |
4410 | ||
4411 | * minibuf.c (read_minibuf): Remove arg KEEP_ALL. Callers changed. | |
4412 | (Fread_from_minibuffer): Remove arg KEEP_ALL. Callers changed. | |
4413 | ||
4414 | * buffer.c (mode-line-format): Fix docstring. | |
4415 | ||
403a7bca RS |
4416 | 2006-05-25 Richard Stallman <rms@gnu.org> |
4417 | ||
4418 | * emacs.c (main, Fdump_emacs): Don't test __linux or __linux__. | |
4419 | ||
24b0232f LT |
4420 | 2006-05-24 Luc Teirlinck <teirllm@auburn.edu> |
4421 | ||
4422 | * puresize.h (BASE_PURESIZE): Increase to 1210000. | |
4423 | ||
ac9f37df AM |
4424 | 2006-05-24 Alan Mackenzie <acm@muc.de> |
4425 | ||
4426 | * lread.c (Vload_history): Enhance doc-string to say that the file | |
4427 | is the absolute truename of the loaded file. | |
4428 | ||
4429 | * lread.c (Vafter_load_alist): doc-string: state that an element | |
4430 | now has a regexp to match file names, not a file name as such. | |
4431 | ||
4432 | * lread.c (readevalloop): Call file-truename on the name for | |
4433 | load-history, except at preloading time. | |
4434 | ||
4435 | * lread.c (Fload): At preloading time, preserve the extension of | |
6ad0381c | 4436 | the filename which goes into load-history. New var hist_file_name. |
ac9f37df AM |
4437 | |
4438 | * lread.c (Fload): Do eval-after-load stuff by calling the lisp | |
4439 | function do-after-load-evaluation. | |
4440 | ||
e4dff88d YM |
4441 | 2006-05-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4442 | ||
4443 | * mac.c (ae_attr_table): New variable. | |
4444 | (syms_of_mac): Intern and staticpro its elements. | |
4445 | (mac_aelist_to_lisp): Also convert Apple event attributes. | |
4446 | (mac_ae_put_lisp): New function. | |
4447 | (create_apple_event_from_event_ref) [MAC_OSX]: Use typeUTF8Text. | |
4448 | ||
4449 | * macfns.c (Fx_server_version): Use gestaltSystemVersionMajor etc. | |
4450 | ||
4451 | * macselect.c (Qemacs_suspension_id): New variable. | |
4452 | (syms_of_macselect): Intern and staticpro it. | |
4453 | (struct suspended_ae_info): New struct. | |
4454 | (deferred_apple_events, defer_apple_events) | |
4455 | (Fmac_process_deferred_apple_events): Use it. | |
4456 | (suspended_apple_events): New variable. | |
4457 | (mac_handle_apple_event_1): New function. | |
4458 | (mac_handle_apple_event): Use it. Don't process previously | |
4459 | suspended events. | |
412f3f18 | 4460 | (cleanup_suspended_apple_events, get_suspension_id) |
e4dff88d YM |
4461 | (cleanup_all_suspended_apple_events): New functions. |
4462 | (init_apple_event_handler): Call cleanup_all_suspended_apple_events | |
4463 | at exit. | |
4464 | (Fmac_cleanup_expired_apple_events, Fmac_ae_set_reply_parameter) | |
4465 | (Fmac_resume_apple_event): New defuns. | |
4466 | (syms_of_macselect): Defsubr them. | |
4467 | ||
4468 | * macterm.c (fn_keycode_to_keycode_table, XTread_socket) [MAC_OSX]: | |
4469 | Fix last change. Don't map `fn' modifier if pressed with F1 ... F12. | |
4470 | ||
4471 | * macterm.h (TYPE_FILE_NAME): Change from macro to enumerator. | |
4472 | (KEY_EMACS_SUSPENSION_ID_ATTR): New enumerator. | |
4473 | (keyReplyRequestedAttr) [MAC_OS_X_VERSION_MAX_ALLOWED < 1030]: Likewise. | |
4474 | (gestaltSystemVersionMajor, gestaltSystemVersionMinor) | |
4475 | (gestaltSystemVersionBugFix) [MAC_OS_X_VERSION_MAX_ALLOWED < 1040]: | |
4476 | Likewise. | |
4477 | (typeUTF8Text, kEventParamWindowMouseLocation) | |
4478 | [MAC_OSX && MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Likewise. | |
4479 | (x_get_focus_frame, mac_ae_put_lisp): Add externs. | |
4480 | ||
b8c6940e YM |
4481 | 2006-05-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4482 | ||
4483 | * macterm.c (fn_keycode_to_xkeysym_table, convert_fn_keycode): Remove. | |
4484 | (fn_keycode_to_keycode_table) [MAC_OSX]: New variable. | |
4485 | (mac_set_unicode_keystroke_event) [TARGET_API_MAC_CARBON]: New function. | |
4486 | (XTread_socket) [TARGET_API_MAC_CARBON]: Use it. | |
4487 | (XTread_socket) [MAC_OSX]: Try 'uchr' Unicode keyboard-layout | |
4488 | resource to backtranslate key with modifiers. | |
4489 | (XTread_socket): Don't set read_socket_inev around AEProcessAppleEvent. | |
4490 | ||
0277e36c JD |
4491 | 2006-05-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4492 | ||
1ae8d759 | 4493 | * xterm.c: Remove declarations already in xterm.h. |
0277e36c JD |
4494 | |
4495 | * xterm.h: Add extern declarations for x_clear_errors, | |
26837cd3 | 4496 | x_fully_uncatch_errors, x_catching_errors and |
0277e36c JD |
4497 | x_alloc_lighter_color_for_widget. Remove duplicated declarations. |
4498 | ||
63af6055 RS |
4499 | 2006-05-21 Richard Stallman <rms@gnu.org> |
4500 | ||
55815819 RS |
4501 | * xfaces.c (best_matching_font): Abort for best == NULL |
4502 | before we start to use it. | |
4503 | ||
63af6055 RS |
4504 | * buffer.c (syms_of_buffer, Fmake_overlay): Doc fixes. |
4505 | ||
5748161e KS |
4506 | 2006-05-20 Kim F. Storm <storm@cua.dk> |
4507 | ||
4508 | * xfaces.c (best_matching_font): Fix crash in 2006-05-17 change. | |
4509 | ||
431225c6 YM |
4510 | 2006-05-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4511 | ||
4512 | * macterm.c (convert_fn_keycode): Fix last change. | |
4513 | ||
e00b99c8 EZ |
4514 | 2006-05-19 Eli Zaretskii <eliz@gnu.org> |
4515 | ||
4516 | * w32.c (init_environment): Perform the processing of environment | |
4517 | variables on a copy of default variables and their values, not on | |
75e3b957 EZ |
4518 | the original. Simplify code that calls ExpandEnvironmentStrings |
4519 | and make buf1[] and buf2[] more visible for easier debugging. | |
e00b99c8 | 4520 | |
689840b9 YM |
4521 | 2006-05-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4522 | ||
4523 | * frame.c (x_set_border_width): Remove #ifndef MAC_OS. | |
4524 | ||
4525 | * image.c [MAC_OS] (gif_load): Allocate Lisp string first. | |
4526 | ||
4527 | * macfns.c (Fx_focus_frame): Don't check dpyinfo->x_focus_frame. | |
4528 | ||
4529 | * macterm.c (XTread_socket) [TARGET_API_MAC_CARBON && MAC_OSX]: | |
4530 | Forward keyUp events to toolbox_dispatcher. | |
4531 | ||
4532 | * window.c (foreach_window): Check WINDOWP (FRAME_ROOT_WINDOW (f)). | |
4533 | ||
a940e2c6 JD |
4534 | 2006-05-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4535 | ||
4536 | * config.in: Regenerated (HAVE_ALSA). | |
4537 | ||
4538 | * sound.c (alsa_sound_perror, alsa_open, alsa_period_size) | |
4539 | (alsa_configure, alsa_close, alsa_choose_format, alsa_write) | |
4540 | (snd_error_quiet, alsa_init): New functions. | |
4541 | (vox_init): Return 0 if unable to open device. | |
4542 | (Fplay_sound_internal): Test for alsa first and use vox (oss) as | |
4543 | a fallback. | |
4544 | (struct sound_device): Add period_size. | |
4545 | (wav_play, au_play): Use period_size if set. | |
4546 | ||
14a56a1b JB |
4547 | * Makefile.in (CFLAGS_SOUND): New flags for ALSA. |
4548 | (ALL_CFLAGS): Add CFLAGS_SOUND. | |
a940e2c6 | 4549 | |
8acb7dad KH |
4550 | 2006-05-18 Kenichi Handa <handa@m17n.org> |
4551 | ||
4552 | * callproc.c (Fcall_process): Reject encoding arguments by | |
4553 | ascii-incompatible coding systems (e.g. utf-16). | |
4554 | ||
4555 | * coding.c (Qascii_incompatible): New variable. | |
4556 | (syms_of_coding): Setup Qascii_incompatible. | |
4557 | (setup_coding_system): Be sure to initialize coding->common_flags. | |
4558 | Check `ascii-incompatible' property of the coding system. | |
4559 | ||
4560 | * coding.h (CODING_ASCII_INCOMPATIBLE_MASK): New macro. | |
4561 | ||
f5ecbcee KS |
4562 | 2006-05-18 Kim F. Storm <storm@cua.dk> |
4563 | ||
647b07d1 AS |
4564 | * xdisp.c (display_tool_bar_line): Restore entire tool-bar |
4565 | geometry when backtracking in case last image doesn't fit on line. | |
f5ecbcee | 4566 | |
856bb2b0 | 4567 | 2006-05-18 MIYOSHI Masanori <miyoshi@meadowy.org> (tiny change) |
f5ecbcee | 4568 | |
647b07d1 AS |
4569 | * xdisp.c (display_tool_bar_line): Don't adjust tool-bar height by |
4570 | more than height of one frame default line. | |
f5ecbcee | 4571 | |
5748161e KS |
4572 | 2006-05-17 Richard Stallman <rms@gnu.org> |
4573 | ||
4574 | * xfaces.c (better_font_p): Any font beats no font. | |
4575 | (best_matching_font): Simplify based on above change. | |
26837cd3 | 4576 | |
6f5c4cc9 | 4577 | * buffer.c (Fprevious_overlay_change, Fnext_overlay_change): Doc fixes. |
5748161e | 4578 | |
b3abe3a5 KS |
4579 | 2006-05-16 Kim F. Storm <storm@cua.dk> |
4580 | ||
4581 | * xterm.c (handle_one_xevent): Check that f is not NULL before | |
4582 | calling x_kill_gs_process. | |
4583 | ||
46a2df8e RS |
4584 | 2006-05-14 Richard Stallman <rms@gnu.org> |
4585 | ||
4586 | * textprop.c (Fnext_single_char_property_change) | |
4587 | (Fprevious_single_char_property_change): Don't allow returning | |
4588 | value beyond LIMIT in any cases. | |
4589 | (Fnext_char_property_change, Fprevious_char_property_change): Doc fix. | |
b3abe3a5 | 4590 | |
46a2df8e RS |
4591 | * intervals.c (get_local_map): Abort if POSITION outside BEGV, ZV. |
4592 | ||
79fb0ab7 JD |
4593 | 2006-05-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4594 | ||
4595 | * xterm.c (handle_one_xevent): Check that f is not NULL before | |
4596 | calling _XEditResCheckMessages. | |
4597 | ||
0f479f06 KS |
4598 | 2006-05-14 Kim F. Storm <storm@cua.dk> |
4599 | ||
4600 | * xterm.c (handle_one_xevent): Fix crash in 2006-03-24 change. | |
4601 | ||
642c61f3 EZ |
4602 | 2006-05-13 Eli Zaretskii <eliz@gnu.org> |
4603 | ||
dac85f4b EZ |
4604 | * frame.c (x_set_border_width): Fix error message to say "frame", |
4605 | not "window". | |
4606 | ||
642c61f3 EZ |
4607 | * Makefile.in (SOME_MACHINE_LISP): Add fringe.elc. |
4608 | ||
4e8f005c CY |
4609 | 2006-05-12 Chong Yidong <cyd@stupidchicken.com> |
4610 | ||
4611 | * intervals.c (set_point_both): Fix mixup before before and after | |
4612 | in variable names. | |
4613 | ||
4614 | * editfns.c (Fline_beginning_position): Inhibit point-motion hooks | |
4615 | while setting point temporarily. | |
4616 | ||
1ed7b9ae RS |
4617 | 2006-05-11 Richard Stallman <rms@gnu.org> |
4618 | ||
4619 | * lread.c (readevalloop): Abort if START non-nil for non-buffer input. | |
4620 | ||
f46f3e21 KS |
4621 | 2006-05-11 Kim F. Storm <storm@cua.dk> |
4622 | ||
4623 | * xdisp.c (redisplay_tool_bar): Handle large tool-bar-border values. | |
4624 | ||
17ad716a KH |
4625 | 2006-05-11 Kenichi Handa <handa@m17n.org> |
4626 | ||
4627 | * fileio.c (Finsert_file_contents): Fix for the case of IO error | |
4628 | while handling replace operation. | |
4629 | ||
4da9c136 KH |
4630 | 2006-05-10 Kenichi Handa <handa@m17n.org> |
4631 | ||
4632 | * xfaces.c (realize_default_face) [HAVE_X_WINDOWS]: If the font | |
4633 | chosen for the default face was different from the frame font, | |
4634 | adjust the frame font. | |
4635 | ||
dec94049 YM |
4636 | 2006-05-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4637 | ||
4638 | * image.c (Qduration) [MAC_OS]: Undo previous change. | |
4639 | (syms_of_image) [MAC_OS]: Likewise. | |
4640 | [MAC_OS] (gif_load): Emulate Graphic Control Extension block. | |
4641 | ||
4642 | * macfns.c (x_to_mac_color): Fix shift amount change. | |
b8c6940e | 4643 | (mac_set_font) [USE_MAC_FONT_PANEL]: Use x_get_focus_frame. |
dec94049 YM |
4644 | [USE_MAC_FONT_PANEL] (Fmac_set_font_panel_visibility): Doc fix. |
4645 | ||
4646 | * macselect.c (Vmac_service_selection) [MAC_OSX]: Rename from | |
4647 | Vmac_services_selection. All uses changed. | |
4648 | (mac_store_service_event): Rename from mac_store_services_event in | |
4649 | extern and calls. | |
4650 | ||
ca21600d JB |
4651 | * macterm.c (Qservice) [MAC_OSX]: Rename from Qservices. All uses |
4652 | changed. | |
dec94049 YM |
4653 | [MAC_OSX] (mac_store_service_event): Rename from |
4654 | mac_store_services_event. All callers changed. | |
4655 | [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): Add args | |
4656 | FACE_ID and C. All callers changed. | |
ca21600d JB |
4657 | (x_free_frame_resources) [USE_MAC_FONT_PANEL]: Call |
4658 | mac_set_font_info_for_selection when focus frame is destroyed. | |
dec94049 YM |
4659 | (XTread_socket): Revert to FrontNonFloatingWindow/FrontWindow. |
4660 | ||
4661 | * macterm.h (mac_set_font_info_for_selection): Add 2nd and 3rd | |
4662 | args in extern. | |
4663 | ||
d3ee989e CY |
4664 | 2006-05-09 Chong Yidong <cyd@stupidchicken.com> |
4665 | ||
4666 | * keymap.c (describe_map): Avoid generating duplicate entries if | |
4667 | the shadowed binding has the same definition. | |
4668 | ||
5f2c7b2a KH |
4669 | 2006-05-09 Kenichi Handa <handa@m17n.org> |
4670 | ||
4671 | * keymap.c (push_key_description): Handle invalid character key. | |
4672 | ||
76a25e79 KH |
4673 | 2006-05-08 Kenichi Handa <handa@m17n.org> |
4674 | ||
4675 | * callproc.c (Fcall_process): Use system_eol_type for encoding | |
4676 | arguments if eol_type is not yet decided. | |
4677 | ||
4678 | * coding.h (system_eol_type): Extern it. | |
4679 | ||
4680 | * coding.c (setup_coding_system): For invalid coding-system, set | |
4681 | coding->eol_type to CODING_EOL_UNDECIDED. | |
4682 | (encode_coding): Cancel previous change. | |
4683 | (shrink_encoding_region): Likewise. | |
4684 | (code_convert_region1): Likewise. | |
4685 | (code_convert_string1): Likewise. | |
4686 | (code_convert_string_norecord): Likewise. | |
4687 | ||
4688 | * fileio.c (choose_write_coding_system): Use system_eol_type for | |
4689 | encoding if eol_type is not yet decided. | |
4690 | ||
4691 | * process.c (setup_process_coding_systems): Use system_eol_type | |
4692 | for encoding if eol_type is not yet decided. | |
4693 | (read_process_output): Likewise. | |
4694 | (send_process): Likewise. | |
4695 | ||
f4b46bb9 JB |
4696 | 2006-05-07 Juanma Barranquero <lekktu@gmail.com> |
4697 | ||
4698 | * minibuf.c (syms_of_minibuf) <history-length>: Fix typo in doc. | |
4699 | ||
cc9945f2 YM |
4700 | 2006-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4701 | ||
4702 | * mac.c (Fmac_clear_font_name_table): Move defun to macfns.c. | |
4703 | (syms_of_mac): Likewise for defsubr. | |
4704 | ||
4705 | * macfns.c (mac_set_font): New function. | |
4706 | (mac_frame_parm_handlers, syms_of_macfns): Replace x_set_font with it. | |
4707 | (mac_window) [TARGET_API_MAC_CARBON && MAC_OSX]: Specify | |
4708 | kWindowToolbarButtonAttribute when creating window. | |
4709 | (Fmac_clear_font_name_table): Move from macfns.c. | |
4710 | (syms_of_macfns): Likewise for defsubr. | |
4711 | [USE_MAC_FONT_PANEL] (Fmac_set_font_panel_visibility): New defun. | |
4712 | (syms_of_macfns) [USE_MAC_FONT_PANEL]: Defsubr it. | |
4713 | ||
4714 | * macgui.h (USE_MAC_FONT_PANEL): Define to 1 if USE_ATSUI is set | |
4715 | and build is done on Mac OS X 10.2 and later. | |
4716 | ||
4717 | * macselect.c (mac_do_receive_drag): Remove unused variable `index'. | |
4718 | (mac_store_services_event): Change return type in extern. | |
4719 | ||
dec94049 YM |
4720 | * macterm.c (XLoadQueryFont) [USE_ATSUI]: Set font->mac_fontnum to |
4721 | FMFontFamily value. | |
cc9945f2 YM |
4722 | [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): New function. |
4723 | (x_new_focus_frame) [USE_MAC_FONT_PANEL]: Use it. | |
4724 | (QCfamily, QCweight, QCslant, Qnormal, Qbold, Qitalic): Add extern. | |
4725 | (QWindow) [MAC_OSX]: Likewise. | |
4726 | (Qfont) [USE_MAC_FONT_PANEL]: Likewise. | |
4727 | (Vmac_atsu_font_table) [USE_ATSUI]: New variable. | |
4728 | (syms_of_macterm) [USE_ATSUI]: Defvar it. | |
4729 | (Qtoolbar_switch_mode) [MAC_OSX]: New variable. | |
4730 | (Qpanel_closed, Qselection) [USE_MAC_FONT_PANEL]: Likewise. | |
4731 | (syms_of_macterm): Intern and staticpro them. | |
dec94049 | 4732 | (init_font_name_table) [USE_ATSUI]: Add data to Vmac_atsu_font_table. |
523fc433 JB |
4733 | [TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event): |
4734 | New function. | |
cc9945f2 YM |
4735 | [USE_CARBON_EVENTS] (mac_handle_command_event): Use it. |
4736 | [MAC_OSX] (mac_store_services_event): Likewise. | |
4737 | [USE_CARBON_EVENTS] (mac_handle_window_event) [MAC_OSX]: Handle | |
4738 | kEventWindowToolbarSwitchMode event. | |
4739 | (install_window_handler) [USE_CARBON_EVENTS && MAC_OSX]: Register it. | |
4740 | [MAC_OSX] (mac_store_services_event): Change return type to OSStatus. | |
4741 | [USE_MAC_FONT_PANEL] (mac_handle_font_event): New function. | |
4742 | (install_window_handler) [USE_MAC_FONT_PANEL]: Install it. | |
4743 | (XTread_socket): Select window on mouse click if x_focus_frame is NULL. | |
4744 | ||
4745 | * macterm.h (mac_set_font_info_for_selection): Add extern. | |
4746 | ||
41f7a85e YM |
4747 | 2006-05-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4748 | ||
4749 | * image.c (Qduration) [MAC_OS]: New variable. | |
4750 | (syms_of_image) [MAC_OS]: Intern and staticpro it. | |
4751 | [MAC_OS] (gif_load): Save image extension data in img->data.lisp_val. | |
4752 | [MAC_OSX] (image_load_quartz2d): Use cfstring_create_with_utf8_cstring | |
4753 | instead of cfstring_create_with_string. | |
4754 | ||
a1dfdf24 KS |
4755 | 2006-05-06 Kim F. Storm <storm@cua.dk> |
4756 | ||
4757 | * .gdbinit (xframe): Print frame name. | |
4758 | (xlist): New command to print a list (max 10 elements). | |
4759 | (xpr): Print lisp object of any type. | |
4760 | (pitx): Print it->pixel_width. | |
4761 | ||
37e21325 KH |
4762 | 2006-05-05 Kenichi Handa <handa@m17n.org> |
4763 | ||
4764 | * xdisp.c (handle_composition_prop): Fix for the case of empty | |
4765 | composition component. | |
4766 | ||
ef0154b5 YM |
4767 | 2006-05-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4768 | ||
4769 | * keyboard.c (make_lispy_event) [MAC_OS]: Get Apple event info | |
4770 | from event->arg. | |
4771 | ||
4772 | * termhooks.h (enum event_kind) [MAC_OS]: Update comment for | |
4773 | MAC_APPLE_EVENT. | |
4774 | ||
4775 | * macterm.h (mac_make_lispy_event_code): Remove extern. | |
4776 | (mac_post_mouse_moved_event): Add extern. | |
4777 | (mac_aelist_to_lisp, mac_aedesc_to_lisp): Change arg 1 to | |
4778 | `const AEDesc *' in externs. | |
4779 | (create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]: New extern. | |
4780 | ||
4781 | * mac.c (mac_aelist_to_lisp, mac_aedesc_to_lisp): Change arg 1 to | |
4782 | `const AEDesc *'. | |
4783 | [TARGET_API_MAC_CARBON] (create_apple_event): New function. | |
4784 | [TARGET_API_MAC_CARBON] (create_apple_event_from_event_ref): Use it. | |
4785 | Use xrealloc instead of repeated xmalloc/xfree. | |
523fc433 JB |
4786 | [TARGET_API_MAC_CARBON] (create_apple_event_from_drag_ref): |
4787 | New function. | |
ef0154b5 YM |
4788 | |
4789 | * macmenu.c (restore_menu_items, cleanup_popup_menu): Return a value. | |
4790 | ||
4791 | * macselect.c: Update copyright year. | |
4792 | (mac_store_apple_event): Change return type to void in extern. | |
4793 | (mac_handle_apple_event): Don't get return value from | |
4794 | mac_store_apple_event. | |
4795 | [TARGET_API_MAC_CARBON] (Vmac_dnd_known_types): New variable. | |
4796 | (syms_of_macselect) [TARGET_API_MAC_CARBON]: Defvar it. | |
4797 | [TARGET_API_MAC_CARBON] (mac_do_track_drag): Move function from | |
4798 | macterm.c. Use Vmac_dnd_known_types as acceptable flavors. | |
4799 | [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Likewise. New | |
4800 | implementation using create_apple_event_from_drag_ref. | |
4801 | [TARGET_API_MAC_CARBON] (mac_do_track_dragUPP) | |
4802 | (mac_do_receive_dragUPP): Move variables from macterm.c. | |
4803 | (install_drag_handler, remove_drag_handler): New functions. | |
4804 | ||
4805 | * macterm.c (XTread_socket) [TARGET_API_MAC_CARBON]: Try window | |
4806 | path select also for proxy icon click. | |
4807 | [TARGET_API_MAC_CARBON] (mac_post_mouse_moved_event): New function. | |
4808 | [USE_TOOLKIT_SCROLL_BARS] (scroll_bar_timer_callback): Use it. | |
4809 | (xlfdpat_create): Remove unused label `error' and trailing sentences. | |
4810 | (mac_do_track_drag, mac_do_receive_drag): Move functions to macselect.c. | |
4811 | (mac_do_track_dragUPP, mac_do_receive_dragUPP): Move variables to | |
4812 | macselect.c. | |
4813 | (install_drag_handler, remove_drag_handler): Add extern. | |
4814 | (mac_store_apple_event): Change return type to void. All uses changed. | |
4815 | Create Lisp object from Apple event and store it into input event. | |
4816 | (mac_make_lispy_event_code): Remove function. | |
4817 | [TARGET_API_MAC_CARBON] (mac_store_drag_event): New function. | |
4818 | (install_window_handler): Call install_drag_handler. | |
4819 | (remove_window_handler): Call remove_drag_handler. | |
4820 | ||
8b0ba111 RS |
4821 | 2006-05-03 Richard Stallman <rms@gnu.org> |
4822 | ||
e4a9a1cf RS |
4823 | * sound.c (Fplay_sound_internal): Dynamically allocate |
4824 | current_sound_device and current_sound. | |
4825 | (sound_cleanup): Free them. | |
4826 | ||
8b0ba111 RS |
4827 | * minibuf.c (read_minibuf): Don't use read_minibuf_noninteractive |
4828 | when inside a keyboard macro. | |
4829 | ||
64ec8b2f AS |
4830 | 2006-05-02 Andreas Schwab <schwab@suse.de> |
4831 | ||
4832 | * xmenu.c (restore_menu_items): Return a value. | |
4833 | ||
fcdd4585 SM |
4834 | 2006-05-01 Martin Rudalics <rudalics@gmx.at> |
4835 | ||
4836 | * syntax.c (Fforward_comment): Detect generic comment at beginning of | |
4837 | buffer when moving backwards. | |
4838 | ||
c1eb34c2 YM |
4839 | 2006-05-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4840 | ||
4841 | * dispnew.c (update_window): Don't set changed_p when mode/header | |
4842 | line is updated. | |
4843 | ||
4844 | * xdisp.c (prepare_menu_bars) [MAC_OS]: Call mac_update_title_bar. | |
fcdd4585 SM |
4845 | (get_glyph_face_and_encoding, get_char_face_and_encoding): |
4846 | Don't distinguish known faces from others. | |
c1eb34c2 YM |
4847 | |
4848 | * mac.c (mac_coerce_file_name_ptr): Try typeFSRef if coercion | |
4849 | through typeFileURL failed. | |
4850 | ||
4851 | * macfns.c (mac_update_title_bar): New function. | |
4852 | [TARGET_API_MAC_CARBON] (mac_update_proxy_icon): New function. | |
fcdd4585 SM |
4853 | (show_hourglass, hide_hourglass) [USE_CG_DRAWING]: |
4854 | Call mac_prepare_for_quickdraw. | |
c1eb34c2 YM |
4855 | |
4856 | * macgui.h (USE_ATSUI): Set default to 1 if MAC_OSX is defined. | |
4857 | (USE_CG_DRAWING): Don't define if compiled on Mac OS X 10.1. | |
4858 | (enum pcm_status): New enum. | |
4859 | (XCHARSTRUCTROW_CHAR_VALID_P, XCHARSTRUCTROW_SET_CHAR_VALID) | |
4860 | (XCharStructRow): Remove. Now validity is represented by | |
4861 | non-negativeness of sum of ascent and descent. | |
4862 | (struct MacFontStruct): Change type of member `rows'. | |
4863 | (struct _XGC) [USE_CG_DRAWING]: Add member `clip_rects'. | |
4864 | ||
fcdd4585 SM |
4865 | * macterm.c (mac_draw_line, mac_draw_line_to_pixmap): |
4866 | Adjust endpoints of strictly horizontal/vertical lines. | |
c1eb34c2 YM |
4867 | (mac_set_clip_rectangles) [USE_CG_DRAWING]: Set clip_rects. |
4868 | (pcm_init, pcm_get_status): New functions. | |
4869 | (x_per_char_metric, XLoadQueryFont): Use them instead of | |
4870 | XCharStructRow and related macros. | |
4871 | (x_draw_relief_rect): Don't adjust arguments of mac_draw_line. | |
4872 | (x_free_frame_resources) [TARGET_API_MAC_CARBON]: Free FRAME_FILE_NAME. | |
4873 | (XTread_socket) [TARGET_API_MAC_CARBON]: Handle proxy icon drag | |
4874 | and window path pop-up menu on title bar. | |
4875 | (mac_use_core_graphics) [USE_CG_DRAWING]: Set default to 1. | |
4876 | ||
4877 | * macterm.h (mac_update_title_bar): Add extern. | |
4878 | (struct mac_output) [TARGET_API_MAC_CARBON]: New member `file_name'. | |
4879 | (FRAME_FILE_NAME): New macro. | |
4880 | ||
4881 | * unexmacosx.c (unexec): Error if trying unexec from dumped executable. | |
4882 | ||
9abc5f45 RS |
4883 | 2006-04-30 Richard Stallman <rms@gnu.org> |
4884 | ||
4885 | * keymap.c (Fdefine_key): Improve error message | |
4886 | when KEY begins with a non-prefix key. | |
4887 | ||
5fed8c15 | 4888 | 2006-04-30 Martin Rudalics <rudalics@gmx.at> |
39c41ad4 SM |
4889 | |
4890 | * syntax.c (Fforward_comment): Don't forget to break out of the loop | |
4891 | when we skipped backward over a generic comment. | |
4892 | ||
4a113e3f NR |
4893 | 2006-04-27 Nick Roberts <nickrob@snap.net.nz> |
4894 | ||
4895 | * .gdbinit (pp1, pv1): Only print value as expression is now | |
4896 | printed out by gud-print. | |
4897 | (pv1): Correct doc string. | |
4898 | ||
e89e07cc SM |
4899 | 2006-04-26 Stefan Monnier <monnier@iro.umontreal.ca> |
4900 | ||
4901 | * keymap.c (store_in_keymap): Change `def' arg to not be `register'. | |
4902 | Seems to trigger a bug in gcc-amd64 4.0.2 20051125 (Red Hat 4.0.2-8): | |
4903 | keymap.c:895: error: address of register variable `def' requested. | |
4904 | ||
7d6f8c68 JR |
4905 | 2006-04-26 Jason Rumney <jasonr@gnu.org> |
4906 | ||
8b03732e JR |
4907 | * w32term.c (construct_mouse_wheel): Handle negative coordinates. |
4908 | ||
7d6f8c68 JR |
4909 | * w32fns.c (w32_wnd_proc) <WM_LBUTTONDOWN, WM_RBUTTONDOWN>: |
4910 | <WM_LBUTTONUP, WM_RBUTTONUP>: Call signal_user_input in the cases | |
4911 | where we preempt mouse_button_timer. | |
4912 | ||
51d793da MB |
4913 | 2006-04-25 Miles Bader <miles@gnu.org> |
4914 | ||
4915 | * editfns.c (Ffield_beginning, find_field): Undo change of 2006-04-23. | |
4916 | ||
a9ec7317 SM |
4917 | 2006-04-24 Stefan Monnier <monnier@iro.umontreal.ca> |
4918 | ||
4919 | * process.h: Include headers for pid_t. | |
4920 | ||
e9346494 KS |
4921 | 2006-04-24 Kim F. Storm <storm@cua.dk> |
4922 | ||
1ada896b KS |
4923 | * xdisp.c (fill_stretch_glyph_string): Set s->nchars = 1 for code which |
4924 | does last_glyph=s->first_glyph+s->nchars-1, e.g. if stretch has relief. | |
6fcd305c | 4925 | (produce_stretch_glyph): Assume that face box height and width is |
5e1a6e32 | 4926 | already included in stretch glyph size so caller doesn't have to |
6fcd305c | 4927 | consider the extra space otherwise added (fixes problem in ses.el). |
1ada896b | 4928 | |
e9346494 KS |
4929 | * frame.c (x_set_font): Clear f->n_tool_bar_rows and current frame |
4930 | matrices to force recalculation of tool-bar height after font change. | |
4931 | ||
4932 | * xdisp.c (tool_bar_lines_needed): New local `temp_row' for clarity. | |
14922abe KS |
4933 | Clear it when done, so we don't accidentally draw a second copy of |
4934 | the tool-bar after resetting f->n_tool_bar_rows. | |
e9346494 KS |
4935 | (redisplay_tool_bar): Update tool-bar-lines frame parameter whenever |
4936 | we recalculate f->n_tool_bar_rows. | |
4937 | ||
4f261b99 RF |
4938 | 2006-04-23 Lars Hansen <larsh@soem.dk> |
4939 | ||
59062dce LH |
4940 | * editfns.c (find_field): Fix comment. |
4941 | (Ffield_beginning): Fix bug when POS is at field beginning. | |
4942 | ||
3705332d EZ |
4943 | 2006-04-22 Eli Zaretskii <eliz@gnu.org> |
4944 | ||
4945 | * puresize.h (BASE_PURESIZE): Increase to 1205000. | |
4946 | ||
cdd2341c KS |
4947 | 2006-04-21 Kim F. Storm <storm@cua.dk> |
4948 | ||
95797ede KS |
4949 | * xdisp.c (redisplay_window): Fix last change. Don't recenter if |
4950 | window start is at BEGV. | |
4951 | ||
cdd2341c KS |
4952 | * dispextern.h (struct image): New member `corners'. |
4953 | (TOP_CORNER, LEFT_CORNER, BOT_CORNER, RIGHT_CORNER): New macros. | |
4954 | ||
4955 | * image.c (four_corners_best): New arg CORNERS specifies what pixels | |
4956 | to look at in case image has margin. | |
4957 | (x_create_bitmap_mask): Pass NULL for CORNERS to four_corners_best. | |
4958 | (image_background, image_background_transparent) | |
4959 | (x_build_heuristic_mask): Pass img->corners to four_corners_best. | |
4960 | (gif_load): Set img->corners according to image's margin spec. | |
4961 | Use img->corners values directly where applicable. | |
4962 | Save image extension data in img->data.lisp_val. | |
4963 | (gif_clear_image): New function to free img->data.lisp_val. | |
4964 | (gif_type): Use it instead of generic x_clear_image. | |
4965 | (Fimage_extension_data): New defun. | |
4966 | (syms_of_image): Defsubr it. | |
4967 | ||
72ffd9d0 EZ |
4968 | 2006-04-21 John Sullivan <john@wjsullivan.net> (tiny change) |
4969 | ||
4970 | * window.c (Fdisplay_buffer): Doc fix. | |
4971 | ||
0d95f6b2 EZ |
4972 | 2006-04-21 Eli Zaretskii <eliz@gnu.org> |
4973 | ||
4974 | * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Increase to 25000. | |
4975 | ||
a0c62ca2 YM |
4976 | 2006-04-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4977 | ||
4978 | * image.c [MAC_OS] (xpm_load_image): Fill in background field | |
4979 | while we have ximg handy. | |
4980 | ||
4981 | * macmenu.c (restore_menu_items, save_menu_items): New functions | |
4982 | from xmenu.c. | |
4983 | (set_frame_menubar, digest_single_submenu): Apply 2006-04-18 | |
4984 | changes for xmenu.c. | |
4985 | ||
4986 | * macterm.c (x_per_char_metric): Return NULL if glyph width is 0. | |
4987 | (add_mac_font_name): New function. | |
4988 | (init_font_name_table): Use it. Adopt the first found font from | |
4989 | those having the same family name. | |
4990 | ||
bf49275d NR |
4991 | 2006-04-21 Nick Roberts <nickrob@snap.net.nz> |
4992 | ||
4993 | * xdisp.c (note_mouse_highlight): Use build_string. | |
4994 | ||
570fab6c LH |
4995 | 2006-04-20 Lars Hansen <larsh@soem.dk> |
4996 | ||
a9ec7317 SM |
4997 | * textprop.c (Fremove_list_of_text_properties): |
4998 | Ensure modify_region is called only when buffer is modified and that | |
570fab6c LH |
4999 | signal_after_change is allways called in that case. |
5000 | ||
5001 | * print.c (PRINTFINISH): Call signal_after_change. | |
5002 | ||
7f32b80b KS |
5003 | 2006-04-20 Kim F. Storm <storm@cua.dk> |
5004 | ||
bdb60d06 KS |
5005 | * xdisp.c (redisplay_window): Fix last change. |
5006 | ||
5e1a6e32 | 5007 | * xdisp.c (redisplay_window): If current window start is not at the |
7f32b80b KS |
5008 | beginning of a line, select a new window start if buffer is modified |
5009 | and window start is in the modified region, but the first change is | |
5010 | before window start. | |
5011 | ||
290e4aae RS |
5012 | 2006-04-18 Richard Stallman <rms@gnu.org> |
5013 | ||
5014 | * xmenu.c (restore_menu_items, save_menu_items): New fns. | |
5015 | (set_frame_menubar): Use save_menu_items. Save updated vector in | |
a9ec7317 SM |
5016 | the frame before unwinding it. Don't use unuse_menu_items. |
5017 | Don't use discard_menu_items. | |
290e4aae RS |
5018 | (digest_single_submenu): Abort if an item is not in a pane. |
5019 | (init_menu_items): Put the error check at the top. | |
5020 | ||
5021 | * keymap.c (describe_map): Make "shadowed" warning more verbose. | |
5022 | ||
5023 | * window.c (adjust_window_trailing_edge): Correctly distinguish | |
5024 | series vs parallel cases, even when window has no parent. | |
5025 | ||
5026 | * abbrev.c (record_symbol): New function. | |
5027 | (Finsert_abbrev_table_description): Sort the abbrevs alphabetically. | |
5028 | ||
b96fe6ea YM |
5029 | 2006-04-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5030 | ||
5031 | * image.c (x_create_bitmap_from_data) [MAC_OS]: Don't check return | |
5032 | value of xmalloc. | |
5033 | ||
5034 | * mac.c (mac_coerce_file_name_ptr, mac_coerce_file_name_desc) | |
5035 | (create_apple_event_from_event_ref, xrm_get_preference_database) | |
5036 | (cfstring_create_normalized): Don't check return value of xmalloc. | |
5037 | ||
5038 | * macselect.c (get_scrap_target_type_list, defer_apple_events) | |
5039 | (copy_scrap_flavor_data, mac_handle_service_event): Don't check | |
5040 | return value of xmalloc/xrealloc. | |
5041 | ||
5042 | * macterm.c (XCreateGC, x_per_char_metric, xlfdpat_create) | |
5043 | (init_font_name_table, init_font_name_table, mac_do_list_fonts) | |
a0c62ca2 YM |
5044 | (XLoadQueryFont, mac_store_apple_event): Don't check return value |
5045 | of xmalloc. | |
b96fe6ea | 5046 | |
6c7809b3 NR |
5047 | 2006-04-17 Kim F. Storm <storm@cua.dk> |
5048 | ||
5049 | * window.c (coordinates_in_window): On the vertical border, | |
5050 | calculate the row number measured from the top of the window, not | |
5051 | the top of the frame. | |
39d78835 KS |
5052 | (window_loop): Test w->dedicated with !NILP instead of EQ Qt. |
5053 | (window_scroll_pixel_based): Fix off-by-one bug in 2002-12-23 change. | |
6c7809b3 | 5054 | |
4bba3064 EZ |
5055 | 2006-04-16 Eli Zaretskii <eliz@gnu.org> |
5056 | ||
5057 | * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Reduce to 24000. | |
5058 | ||
8d95636b RF |
5059 | 2006-04-16 Romain Francoise <romain@orebokech.com> |
5060 | ||
5061 | * puresize.h (BASE_PURESIZE): Decrement back to 1200000. | |
5062 | ||
6a258a33 AS |
5063 | 2006-04-16 Andreas Schwab <schwab@suse.de> |
5064 | ||
5065 | * puresize.h (PURESIZE_RATIO): Reduce to 10/6. | |
5066 | ||
f70a96b0 RF |
5067 | 2006-04-15 Romain Francoise <romain@orebokech.com> |
5068 | ||
5069 | * puresize.h (BASE_PURESIZE): Increment to 1210000. | |
5070 | ||
28b257dc | 5071 | 2006-04-13 Micha\e,Ak\e(Bl Cadilhac <michael.cadilhac@lrde.org> |
cda4c00b EZ |
5072 | |
5073 | * print.c (Fprin1_to_string): Mention in the `doc' that the | |
5074 | behavior is modified by `print-level' and `print-length'. | |
5075 | ||
6e9715ae KH |
5076 | 2006-04-13 Kenichi Handa <handa@m17n.org> |
5077 | ||
5078 | * coding.c (setup_coding_system): If eol-type is not yet decided | |
5079 | and system_eol_type is not LF, set CODING_REQUIRE_ENCODING_MASK. | |
5080 | If coding_system is nil, return 0. | |
5081 | (code_convert_region1): Even if coding_system is nil, don't skip | |
5082 | conversion if system_eol_type is not LF. | |
5083 | (code_convert_string1): Likewise. | |
5084 | (code_convert_string_norecord): Likewise. | |
5085 | ||
2b89a53f KH |
5086 | 2006-04-13 Kenichi Handa <handa@m17n.org> |
5087 | ||
5088 | * coding.c (setup_coding_system): Fix previous change. | |
a9ec7317 | 5089 | (encode_coding): If eol_type is not yet decided, use system_eol_type. |
73ec0f89 KH |
5090 | (shrink_encoding_region): If eol_type is not yet decided and |
5091 | system_eol_type is not LF, don't shrink. | |
2b89a53f | 5092 | |
5c24517a NR |
5093 | 2006-04-13 Nick Roberts <nickrob@snap.net.nz> |
5094 | ||
ca21600d JB |
5095 | * xdisp.c (note_mouse_highlight): Add help echo for dragging vertical |
5096 | line. | |
5c24517a | 5097 | |
9d1a8e5d RS |
5098 | 2006-04-12 Richard Stallman <rms@gnu.org> |
5099 | ||
a53fe666 RS |
5100 | * keyboard.c (read_key_sequence): Explicitly avoid keybuf[-1]. |
5101 | ||
9d1a8e5d RS |
5102 | * process.c (conv_lisp_to_sockaddr): If FAMILY unknown, just return. |
5103 | (Fprocess_send_eof): Abort if fail to open null device. | |
5104 | ||
190998d8 YM |
5105 | 2006-04-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5106 | ||
5107 | * fns.c [HAVE_MENUS && MAC_OS]: Include macterm.h. | |
5108 | ||
5109 | * image.c [MAC_OS] (xpm_load_image): Add parentheses around | |
5110 | assignment used as truth value. Add explicit braces to avoid | |
5111 | ambiguous `else'. | |
5112 | [MAC_OS] (gif_load): Remove unused variable `gcpro1'. | |
5113 | ||
5114 | * lisp.h (syms_of_fontset, Fset_fontset_font): Put extern and | |
5115 | EXFUN in #ifdef HAVE_WINDOW_SYSTEM. | |
5116 | (syms_of_xfns, syms_of_xsmfns, syms_of_xselect, syms_of_xterm): | |
5117 | Put externs in #ifdef HAVE_X_WINDOWS. | |
5118 | (syms_of_macfns, syms_of_macselect, syms_of_macterm) | |
5119 | (syms_of_macmenu, syms_of_mac) [MAC_OS]: Add externs. | |
5120 | (init_mac_osx_environment) [MAC_OSX]: Add extern. | |
5121 | ||
5122 | * mac.c (init_process): Remove undef. | |
5123 | (select) [MAC_OSX]: Undefine before including sysselect.h. | |
5124 | (posix_pathname_to_fsspec, fsspec_to_posix_pathname) [MAC_OSX]: | |
5125 | Remove functions and prototypes. | |
5126 | (parse_value): Add parentheses around + inside shift. | |
5127 | (path_from_vol_dir_name): Make static. | |
5128 | (get_temp_dir_name): Remove unused variables `cpb' and `dir_name'. | |
5129 | [!MAC_OSX] (get_path_to_system_folder): Likewise. | |
5130 | (Fmac_get_file_creator, Fmac_get_file_type): Remove unused | |
5131 | variable `cCode'. | |
5132 | (Fmac_coerce_ae_data): Remove unused variables `fref' and `fs'. | |
5133 | (Fmac_get_preference): Add explicit braces to avoid ambiguous `else'. | |
5134 | ||
5135 | * macfns.c (x_to_mac_color): Remove unused variable `tail'. | |
5136 | (x_set_mouse_color): Remove unused variable `dpy'. | |
5137 | (Fx_create_frame): Remove unused variable `x_frame_count'. | |
5138 | (Fx_server_version): Add explicit braces to avoid ambiguous `else'. | |
5139 | (x_sync): Move from macterm.c. | |
5140 | (Fx_file_dialog): Remove unused variable `default_filter_index'. | |
5141 | ||
5142 | * macmenu.c (min_menu_id): Make element type explicit. | |
5143 | ||
5144 | * macselect.c (get_flavor_type_from_symbol): Remove unused | |
5145 | variable `val'. | |
5146 | (get_scrap_private_timestamp, x_get_foreign_selection) | |
5147 | (copy_scrap_flavor_data): Add explicit braces to avoid ambiguous `else'. | |
5148 | (Fmac_process_deferred_apple_events): Remove unused variables | |
5149 | `keyword', `reply', `apple_event', `count', and `err'. | |
5150 | ||
5151 | * macterm.c: Don't include gnu.h. | |
5152 | (x_io_error_quitter, x_draw_image_foreground_1): Remove prototypes. | |
5153 | (x_sync): Move to macfns.c. | |
5154 | [USE_CG_DRAWING] (mac_define_fringe_bitmap): Remove unused | |
5155 | variable `mask_bits'. | |
5156 | (mac_compute_glyph_string_overhangs): Avoid ambiguous `else'. | |
5157 | (x_draw_image_glyph_string): Remove unused variable `pixmap'. | |
5158 | (x_mac_to_emacs_modifiers): Remove function. | |
5159 | (XTset_vertical_scroll_bar, mac_handle_visibility_change) | |
5160 | (x_make_frame_visible, xlfdpat_create, mac_handle_command_event): | |
5161 | Add explicit braces to avoid ambiguous `else'. | |
5162 | (x_make_frame_visible): Remove unused variables `type', | |
5163 | `original_top', and `original_left'. | |
5164 | (mac_do_list_fonts, XTread_socket): Add parentheses around && within ||. | |
5165 | (x_load_font): Remove unused variables `full_name', and `value'. | |
5166 | (do_get_menus, do_init_managers, do_check_ram_size) [!MAC_OS8]: | |
5167 | Remove functions. | |
5168 | (do_zoom_window): Reorganize variables with respect to conditionals. | |
5169 | (init_command_handler): Remove unused variable `err'. | |
5170 | [MAC_OSX] (mac_check_bundle): Remove unused variable `child'. | |
5171 | ||
5172 | * macterm.h (x_set_mouse_position, x_set_mouse_pixel_position) | |
5173 | (x_make_frame_invisible, x_iconify_frame, x_free_frame_resources) | |
5174 | (x_destroy_window, x_wm_set_size_hint, x_delete_display, XFreeGC) | |
5175 | (do_menu_choice, have_menus_p, x_real_positions) | |
5176 | (x_set_menu_bar_lines, x_pixel_width, x_pixel_height, x_char_width) | |
5177 | (x_char_height, x_sync, x_set_tool_bar_lines, x_activate_menubar) | |
5178 | (free_frame_menubar): Add externs. | |
5179 | ||
5180 | * unexmacosx.c: Include config.h before using HAVE_MALLOC_MALLOC_H. | |
5181 | (malloc, realloc, free): Add undefs. | |
5182 | (read_load_commands): Remove unused variable `n' and `j'. | |
5183 | (copy_data_segment): Remove unused variable `r'. | |
5184 | ||
5185 | * xdisp.c (get_glyph_string_clip_rects): Add parentheses around && | |
5186 | within ||. Add explicit braces to avoid ambiguous `else'. | |
5187 | (dump_glyph_row): Remove label for `inverse_p' from legend. | |
5188 | ||
a9ec7317 SM |
5189 | * xfaces.c (Finternal_merge_in_global_face, try_font_list): |
5190 | Add explicit braces to avoid ambiguous `else'. | |
190998d8 | 5191 | |
28b257dc | 5192 | 2006-04-11 Micha\e,Ak\e(Bl Cadilhac <michael.cadilhac@lrde.org> |
00d70d57 JD |
5193 | |
5194 | * dispnew.c (init_display): Don't init X display if the user asked | |
5195 | for a non-X display. | |
7e37cb69 | 5196 | |
957b3c5f KH |
5197 | 2006-04-12 Kenichi Handa <handa@m17n.org> |
5198 | ||
5199 | * coding.c (setup_coding_system): Use system_eol_type for default | |
5200 | coding->eol_type. | |
5201 | ||
db926d80 DN |
5202 | 2006-04-11 Dan Nicolaescu <dann@ics.uci.edu> |
5203 | ||
5204 | * lisp.h (wrong_type_argument): Mark as NO_RETURN. | |
5205 | ||
5206 | * data.c (wrong_type_argument): Try to avoid compiler warnings due | |
5207 | to the fact the function is now marked as NO_RETURN. | |
5208 | ||
978781a5 EZ |
5209 | 2006-04-10 Eli Zaretskii <eliz@gnu.org> |
5210 | ||
5211 | * s/ms-w32.h (pid_t) [_MSC_VER]: New typedef. | |
5212 | ||
8fd0f424 RF |
5213 | 2006-04-10 Romain Francoise <romain@orebokech.com> |
5214 | ||
5215 | * xrdb.c (gethomedir): Use xstrdup. | |
5216 | ||
f8f10777 AS |
5217 | 2006-04-10 Andreas Schwab <schwab@suse.de> |
5218 | ||
5219 | * xrdb.c (gethomedir): Make sure to always return a pointer that | |
5220 | can be passed to free. | |
5221 | ||
2a8da555 RS |
5222 | 2006-04-09 Richard Stallman <rms@gnu.org> |
5223 | ||
5224 | * lisp.h (Fkill_emacs): Undo previous change. | |
5225 | ||
5226 | 2006-04-08 Richard Stallman <rms@gnu.org> | |
5227 | ||
5228 | * search.c (boyer_moore): Test ch >= 0400, not >. | |
5229 | ||
404be028 DN |
5230 | 2006-04-09 Dan Nicolaescu <dann@ics.uci.edu> |
5231 | ||
5232 | * puresize.h (pure_write_error): Mark as NO_RETURN. | |
5233 | ||
1ae8d759 JB |
5234 | * lisp.h (args_out_of_range, args_out_of_range_3, Fkill_emacs): |
5235 | Likewise. | |
404be028 | 5236 | |
f93bd8e4 EZ |
5237 | 2006-04-08 Eli Zaretskii <eliz@gnu.org> |
5238 | ||
5239 | * w32fns.c (w32_wnd_proc) <WM_MOUSEMOVE>: Ignore mouse movements | |
5240 | if a menu is active on this frame. | |
5241 | ||
31a4f621 DN |
5242 | 2006-04-08 Dan Nicolaescu <dann@ics.uci.edu> |
5243 | ||
5244 | * lisp.h (report_file_error): Mark as NO_RETURN. | |
5245 | ||
7e773529 EZ |
5246 | 2006-04-08 Eli Zaretskii <eliz@gnu.org> |
5247 | ||
4f27350a EZ |
5248 | * alloc.c [STDC_HEADERS]: Include stddef.h. |
5249 | ||
7e773529 EZ |
5250 | * lisp.h (PSEUDOVECSIZE): Fix last change. |
5251 | ||
6bfd98e7 SM |
5252 | 2006-04-08 Stefan Monnier <monnier@iro.umontreal.ca> |
5253 | ||
5254 | * process.h (struct Lisp_Process): Replace Lisp_Objects `pid', | |
5255 | `raw_status_high', and `raw_status_low' with plain integers, and move | |
5256 | them to the end of the structure. | |
5257 | ||
5258 | * alloc.c (allocate_process): Use PSEUDOVECSIZE to initialize the | |
5259 | pseudovector's size field so only the Lisp_Object fields get GC'd. | |
5260 | ||
5261 | * process.c (update_status, make_process, Fdelete_process) | |
5262 | (Fprocess_status, list_processes_1, start_process_unwind) | |
5263 | (create_process, Fmake_network_process, server_accept_connection) | |
5264 | (wait_reading_process_output, send_process, Fprocess_running_child_p) | |
5265 | (process_send_signal, proc_encode_coding_system, Fprocess_send_eof) | |
5266 | (sigchld_handler, status_notify): Adjust to new non-Lisp fields for | |
5267 | `pid' and `raw_status'. | |
5268 | (Fprocess_id, Fsignal_process): Same, and additionally use floats when | |
5269 | representing PIDs that are larger than most-positive-fixnum. | |
5270 | ||
5271 | * keymap.c (describe_map): Only use XINT if we checked INTEGERP. | |
5272 | ||
5273 | * lisp.h (OFFSETOF, PSEUDOVECSIZE): New macros. | |
5274 | ||
1d79e521 EZ |
5275 | 2006-04-08 Eli Zaretskii <eliz@gnu.org> |
5276 | ||
5277 | * w32fns.c (Fx_show_tip): Add 3 to the 5th arg of SetWindowPos. | |
5278 | ||
d65b4235 PE |
5279 | 2006-04-03 Paul Eggert <eggert@cs.ucla.edu> |
5280 | ||
5281 | * editfns.c (TM_YEAR_IN_ASCTIME_RANGE): New macro, identical to | |
5282 | ../lib-src/b2m.c and ../lib-src/editfns.c. | |
5283 | (Fcurrent_time_string): Use it. | |
5284 | Document that the year might not consume 4 columns if it's outside | |
5285 | the range 1000-9999. | |
5286 | Check for asctime failure. | |
5287 | Don't assume that the output string length is always exactly 24. | |
5288 | ||
fc9f8d15 YM |
5289 | 2006-04-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5290 | ||
5291 | * macterm.c (XTread_socket): Initialize variable `f' before its use. | |
5292 | ||
022af124 KH |
5293 | 2006-04-03 Kenichi Handa <handa@m17n.org> |
5294 | ||
5295 | * image.c: Include "charset.h" and "coding.h". | |
5296 | (x_find_image_file): Return an encoded file name. | |
5297 | ||
61be4a8a EZ |
5298 | 2006-04-01 Eli Zaretskii <eliz@gnu.org> |
5299 | ||
5300 | * configure: Regenerated. | |
5301 | ||
a869edd4 KH |
5302 | 2006-03-31 Kenichi Handa <handa@m17n.org> |
5303 | ||
5304 | * xfns.c (xg_set_icon): Delete superfluous UNGCPRO. | |
5305 | ||
29444a2f DN |
5306 | 2006-03-30 Dan Nicolaescu <dann@ics.uci.edu> |
5307 | ||
5308 | * xdisp.c (syms_of_xdisp): Fix variable name. | |
5309 | ||
3c5f9492 KH |
5310 | 2006-03-30 Kenichi Handa <handa@m17n.org> |
5311 | ||
5312 | * xterm.c (x_term_init): Delete superfluous UNGCPRO. | |
5313 | ||
267ee78f JB |
5314 | 2006-03-29 Juanma Barranquero <lekktu@gmail.com> |
5315 | ||
5316 | * keyboard.c (process_tool_bar_item): Reorder dummy args. | |
5317 | ||
293bd733 SM |
5318 | 2006-03-29 Stefan Monnier <monnier@iro.umontreal.ca> |
5319 | ||
5320 | * keyboard.c (tool_bar_items): Use map_keymap. | |
5321 | (process_tool_bar_item): Add dummy args to fit the required interface. | |
5322 | ||
4fccedb5 EZ |
5323 | 2006-03-25 Eli Zaretskii <eliz@gnu.org> |
5324 | ||
5325 | * .gdbinit (pr, pp, pp1, pv, pv1): Force print_output_debug_flag | |
5326 | to zero before calling debug_print or safe_debug_print. | |
5327 | ||
5328 | * print.c (print_output_debug_flag): New global variable. | |
5329 | (Fexternal_debugging_output) [WINDOWSNT]: Don't call | |
5330 | OutputDebugString if print_output_debug_flag is zero. | |
5331 | ||
aac18aa4 PE |
5332 | 2006-03-24 Paul Eggert <eggert@cs.ucla.edu> |
5333 | ||
71c3f28f | 5334 | * editfns.c (TM_YEAR_BASE): Move up, so the changes below can use it. |
aac18aa4 | 5335 | (Fdecode_time, Fencode_time): Use TM_YEAR_BASE instead of 1900. |
71c3f28f EZ |
5336 | (Fdecode_time): Cast tm_year to EMACS_INT. |
5337 | (Fcurrent_time_string): Report an invalid time specification if | |
293bd733 | 5338 | the argument is invalid. Also, check for out-of-range time stamps. |
aac18aa4 | 5339 | |
0ef4f79b KS |
5340 | 2006-03-24 Kim F. Storm <storm@cua.dk> |
5341 | ||
95d8aa28 KS |
5342 | * xterm.c (handle_one_xevent): |
5343 | * w32term.c (w32_read_socket): | |
95d8aa28 KS |
5344 | * macterm.c (XTread_socket): Don't let key-press clear mouse face |
5345 | on in toolbar window if mouse-highlight is an integer. | |
5346 | ||
0ef4f79b KS |
5347 | * fns.c (sxhash_list): Include last non-nil CDR in hash. |
5348 | ||
e2e206ae YM |
5349 | 2006-03-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5350 | ||
5351 | * macmenu.c (enum mac_menu_kind): New enum. | |
5352 | (min_menu_id): New variable. | |
5353 | (POPUP_SUBMENU_ID, MIN_POPUP_SUBMENU_ID, MIN_MENU_ID) | |
5354 | (MIN_SUBMENU_ID): Remove defines. All uses are replaced with | |
5355 | min_menu_id and enumerators in enum mac_menu_kind. | |
5356 | (fill_menu, dispose_menus, install_menu_quit_handler): New arg KIND. | |
5357 | All uses changed. Add range check for menu ID. | |
5358 | (fill_menubar): Add range check for menu ID. | |
5359 | [HAVE_CANCELMENUTRACKING] (menu_quit_handler): Check error code of | |
5360 | GetEventParameter. | |
5361 | (set_frame_menubar, mac_menu_show): Call install_menu_quit_handler | |
5362 | for each menu kind. | |
5363 | ||
5a32a2f2 KS |
5364 | 2006-03-22 Kim F. Storm <storm@cua.dk> |
5365 | ||
ea049c5e KS |
5366 | * xdisp.c: Undo 2006-03-21 change. |
5367 | ||
5368 | * term.c: Define aliases for append_glyph and produce_stretch_glyph | |
5369 | when `static' is defined to avoid name clash with those in xdisp.c. | |
5370 | ||
647b07d1 AS |
5371 | * process.c (Faccept_process_output): Fix to comply with lisp |
5372 | reference. Change arg "timeout" to "seconds" and allow both | |
5373 | integer and float value. Change arg "timeout-msec" to "millisec" | |
5374 | and interpret" as milliseconds rather than microseconds. Fix doc | |
5375 | string accordingly. | |
5a32a2f2 | 5376 | |
d63cd766 KR |
5377 | 2006-03-21 Ken Raeburn <raeburn@raeburn.org> |
5378 | ||
293bd733 SM |
5379 | * xdisp.c (store_next_glyph): Rename from append_glyph. |
5380 | (generate_stretch_glyph): Rename from produce_stretch_glyph. | |
d63cd766 KR |
5381 | All callers changed accordingly. |
5382 | ||
11e887e2 JD |
5383 | 2006-03-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5384 | ||
5385 | * xterm.c: x_session_initialized new variable. | |
5386 | (x_term_init): Use x_session_initialized to check if | |
5387 | x_session_initialize should be called. | |
5388 | (x_initialize): Initialize x_session_initialized. | |
5389 | ||
52bd2f43 KS |
5390 | 2006-03-21 Kim F. Storm <storm@cua.dk> |
5391 | ||
5392 | * fringe.c (draw_fringe_bitmap): Don't calculate default overlay arrow | |
5393 | bitmap here, but ... | |
5394 | (update_window_fringes): ... here, so we can test if it has changed. | |
5395 | ||
c1fc674b AS |
5396 | 2006-03-20 Andreas Schwab <schwab@suse.de> |
5397 | ||
5398 | * dispnew.c (init_display): Check DISPLAY here. | |
5399 | ||
5400 | * emacs.c (main): Don't check here. | |
5401 | ||
5402 | * xterm.c (x_display_ok): Don't use DISPLAY env var. | |
5403 | ||
7d619454 SM |
5404 | 2006-03-20 Stefan Monnier <monnier@iro.umontreal.ca> |
5405 | ||
5406 | * window.c (window_scroll_pixel_based): Yet another int/Lisp_Object | |
5407 | mixup (YAILOM). | |
5408 | ||
e2916251 EZ |
5409 | 2006-03-20 Eli Zaretskii <eliz@gnu.org> |
5410 | ||
5411 | * emacs.c (main): Fix last change. | |
5412 | ||
95c1c901 KH |
5413 | 2006-03-20 Kenichi Handa <handa@m17n.org> |
5414 | ||
7d619454 | 5415 | * fileio.c (Fwrite_region): Set visit_file to Qnil before GCPRO it. |
95c1c901 KH |
5416 | |
5417 | * keymap.c (map_keymap): Set tail to Qnil before GCPRO it. | |
5418 | ||
5419 | * xfns.c (xg_set_icon): Remove unnecessary GCPRO. | |
5420 | ||
5421 | * xterm.c (x_term_init): Remove unnecessary GCPRO. | |
5422 | ||
45c1c789 KS |
5423 | 2006-03-19 Kim F. Storm <storm@cua.dk> |
5424 | ||
5e1a6e32 | 5425 | * xdisp.c (set_cursor_from_row): Fix cursor property on overlay string, |
45c1c789 KS |
5426 | so it doesn't associate overlay string with following glyph by default. |
5427 | Allow integer property value to specify explicit number of buffer | |
5428 | positions associate with overlay string. | |
5429 | ||
11aaf447 CY |
5430 | 2006-03-18 Chong Yidong <cyd@stupidchicken.com> |
5431 | ||
5432 | * xterm.c (x_display_ok): Fix minor bug and compilation warnings. | |
5433 | ||
e4d181dc EZ |
5434 | 2006-03-18 Nozomu Ando <nand@mac.com> |
5435 | ||
5436 | * m/pmax.h (BROKEN_NOCOMBRELOC) [__NetBSD__]: Define. | |
5437 | (LIB_STANDARD, START_FILES) [__NetBSD__]: Don't define. | |
5438 | (START_FILES, RUN_TIME_REMAP, UNEXEC) [__NetBSD__, __OpenBSD__]: | |
5439 | Don't redefine. | |
5440 | ||
5441 | * m/mips.h: Don't use unexmips on NetBSD. | |
5442 | (LIBS_MACHINE): Move definition lower, so it doesn't use | |
5443 | LD_SWITCH_MACHINE, START_FILES, LIB_STANDARD, LIBS_TERMCAP, | |
5444 | C_SWITCH_MACHINE, and C_DEBUG_SWITCH. | |
5445 | ||
5446 | * unexelf.c [BROKEN_NOCOMBRELOC]: Include assert.h. | |
5447 | (unexec) [BROKEN_NOCOMBRELOC]: Handle platforms whose nocombreloc | |
5448 | option is broken (e.g., MIPS/NetBSD). | |
5449 | ||
50f9edc2 EZ |
5450 | 2006-03-18 Craig McDaniel <craigmcd@gmail.com> (tiny change) |
5451 | ||
5452 | * sheap.c (STATIC_HEAP_SIZE): Enlarge STATIC_HEAP_SIZE to 12MB. | |
7b833ed1 | 5453 | Remove the HAVE_X_WINDOWS conditional. |
50f9edc2 | 5454 | |
7e37c7c0 EZ |
5455 | 2006-03-18 Vivek Dasmohapatra <vivek@etla.org> (tiny change) |
5456 | ||
5457 | * emacs.c (main): If user asks for a display that is unavailable, | |
5458 | simulate -nw. | |
5459 | ||
5460 | * xterm.c (x_display_ok): New function. | |
5461 | ||
5462 | * xterm.h: Add prototype for x_display_ok. | |
5463 | ||
c85eab3a EZ |
5464 | 2006-03-18 Eli Zaretskii <eliz@gnu.org> |
5465 | ||
5466 | * w32fns.c (Fw32_select_font): Doc fix. | |
5467 | ||
e09ce637 YM |
5468 | 2006-03-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5469 | ||
5470 | * image.c [MAC_OS] (XPutPixel, XGetPixel) | |
5471 | [!WORDS_BIG_ENDIAN && USE_CG_DRAWING]: Don't use specialized | |
5472 | version when depth is 32. | |
7d619454 SM |
5473 | (mac_create_cg_image_from_image) [MAC_OS && USE_CG_DRAWING]: |
5474 | New function. | |
e09ce637 YM |
5475 | (prepare_image_for_display) [MAC_OS && USE_CG_DRAWING]: Use it. |
5476 | (x_clear_image_1) [MAC_OS && USE_CG_DRAWING]: Release CGImage. | |
5477 | ||
5478 | * macterm.c (XCreatePixmap) [!WORDS_BIG_ENDIAN && USE_CG_DRAWING]: | |
5479 | Create GWorld in ARGB pixel format. | |
7d619454 SM |
5480 | (mac_copy_area, mac_copy_area_with_mask) [USE_CG_DRAWING]: |
5481 | Remove functions. | |
e09ce637 YM |
5482 | (x_draw_image_foreground) [USE_CG_DRAWING]: Use mac_draw_cg_image |
5483 | instead of mac_copy_area/mac_copy_area_with_mask. | |
5484 | ||
b0896280 KS |
5485 | 2006-03-15 Kim F. Storm <storm@cua.dk> |
5486 | ||
5487 | * xdisp.c (extend_face_to_end_of_line): Always add space glyph to | |
5488 | empty row. Fixes memory corruption revealed by 2006-03-02 change. | |
5489 | (display_tool_bar_line): Skip empty tool-bar line if HEIGHT < 0. | |
5490 | (tool_bar_lines_needed): Fix tool-bar display in case the tool-bar | |
5491 | width is exactly the same as the window width. Don't count a final | |
5492 | empty tool-bar line (pass HEIGHT = -1 to display_tool_bar_line). | |
5493 | ||
713cb18d JB |
5494 | 2006-03-15 Juanma Barranquero <lekktu@gmail.com> |
5495 | ||
364d0cf8 | 5496 | * fringe.c (w32_init_fringe, w32_reset_fringes): Revert to being |
713cb18d JB |
5497 | conditional on HAVE_NTGUI, not WINDOWS_NT. |
5498 | ||
ad21830e YM |
5499 | 2006-03-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5500 | ||
5501 | * dispextern.h (mac_init_fringe) [MAC_OS]: Add prototype. | |
5502 | ||
5503 | * fringe.c (mac_init_fringe) [MAC_OS]: New function. | |
5504 | ||
5505 | * macterm.c (mac_initialize) [USE_CG_DRAWING]: Call mac_init_fringe. | |
5506 | (max_fringe_bmp, fringe_bmp) [USE_CG_DRAWING]: New variables. | |
5507 | (mac_define_fringe_bitmap, mac_destroy_fringe_bitmap) | |
5508 | (mac_draw_cg_image) [USE_CG_DRAWING]: New functions. | |
5509 | (mac_draw_bitmap) [USE_CG_DRAWING]: Remove function. | |
5510 | (x_draw_fringe_bitmap) [USE_CG_DRAWING]: Use mac_draw_cg_image | |
5511 | instead of mac_draw_bitmap. | |
5512 | (x_redisplay_interface) [USE_CG_DRAWING]: Set handlers for | |
5513 | define_fringe_bitmap and destroy_fringe_bitmap. | |
5514 | ||
8a34117e CY |
5515 | 2006-03-14 Chong Yidong <cyd@stupidchicken.com> |
5516 | ||
5517 | * xterm.c (x_uncatch_errors): Block input for entire function. | |
5518 | ||
ab68b375 JR |
5519 | 2006-03-12 Jason Rumney <jasonr@gnu.org> |
5520 | ||
92cc46af | 5521 | * w32fns.c (Fx_create_frame): Remove call to |
364d0cf8 | 5522 | Qface_set_after_frame_default (from xfns.c 2003-05-26). |
92cc46af | 5523 | |
335be36b JR |
5524 | * w32menu.c (Fx_popup_menu): Call w32_free_menu_strings when |
5525 | finished with the menu. | |
5526 | ||
ab68b375 JR |
5527 | * w32term.c: Sync 2005-10-24 xterm.c changes. |
5528 | (last_mouse_glyph_frame): New var. | |
5529 | (note_mouse_movement): Say mouse moved if current frame differs | |
5530 | from last_mouse_glyph_frame, and update last_mouse_glyph_frame. | |
5531 | (w32_mouse_position): Set last_mouse_glyph_frame. | |
875e613d | 5532 | Remove OLD_REDISPLAY_CODE block. |
ab68b375 | 5533 | |
204b78de YM |
5534 | 2006-03-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5535 | ||
5536 | * macgui.h [USE_ATSUI && MAC_OSX]: Define USE_CG_TEXT_DRAWING to 1. | |
5537 | ||
5538 | * macterm.h (struct mac_output) [USE_CG_DRAWING]: New member cg_context. | |
5539 | (mac_prepare_for_quickdraw) [USE_CG_DRAWING]: Add prototype. | |
5540 | ||
5541 | * mac.c (sys_select) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. | |
5542 | ||
5543 | * macfns.c (x_create_tip_frame): Apply 2006-03-11 change for xfns.c. | |
5544 | ||
5545 | * macterm.c (mac_draw_rectangle, x_draw_glyph_string_foreground) | |
5546 | (x_draw_composite_glyph_string_foreground) | |
5547 | (x_draw_image_foreground): Undo previous changes. | |
5548 | (x_draw_hollow_cursor): Likewise. Subtract 1 from the last | |
5549 | argument of mac_draw_rectangle. | |
5550 | (CG_SET_FILL_COLOR, CG_SET_STROKE_COLOR): New macros. | |
5551 | (mac_draw_string_common, mac_draw_image_string_cg): Use them. | |
5552 | (FRAME_CG_CONTEXT) [USE_CG_DRAWING]: New macro. | |
5553 | (mac_begin_cg_clip, mac_end_cg_clip, mac_prepare_for_quickdraw) | |
5554 | [USE_CG_DRAWING]: New functions. | |
5555 | (mac_draw_line, mac_erase_rectangle, mac_clear_window) | |
5556 | (mac_fill_rectangle, mac_draw_rectangle, mac_draw_string_common) | |
5557 | (mac_draw_image_string_cg) [USE_CG_DRAWING]: Add Quartz 2D drawing part. | |
5558 | (mac_draw_bitmap, mac_invert_rectangle, mac_draw_string_common) | |
5559 | (mac_copy_area, mac_scroll_area, x_scroll_bar_create) | |
5560 | (x_scroll_bar_remove, XTset_vertical_scroll_bar, x_set_window_size) | |
5561 | (XTread_socket) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. | |
5562 | ||
a9d54793 KL |
5563 | 2006-03-12 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu> |
5564 | ||
5565 | * xfns.c (x_icon): Disable redundant call to `x_wm_set_window_state'. | |
5566 | ||
b452fd7a JR |
5567 | 2006-03-11 Jason Rumney <jasonr@gnu.org> |
5568 | ||
5569 | * w32fns.c (signal_user_input): New function. | |
5570 | (post_character_message): Use it for keyboard input. | |
5571 | (w32_msg_pump): Use it for mouse input. | |
5572 | ||
f372bd5b LT |
5573 | 2006-03-11 Luc Teirlinck <teirllm@auburn.edu> |
5574 | ||
5575 | * window.c: Rename preserve_y to window_scroll_pixel_based_preserve_y. | |
5576 | (window_scroll_pixel_based, syms_of_window): Adapt to above change. | |
5577 | ||
2c1bd367 EZ |
5578 | 2006-03-11 Eli Zaretskii <eliz@gnu.org> |
5579 | ||
5580 | * w32fns.c (w32_wnd_proc): Ignore middle and extra button events | |
5581 | if a menu is already active (the menubar_active flag is on). | |
5582 | ||
f161146b EZ |
5583 | 2006-03-11 David Ponce <david@dponce.com> |
5584 | ||
7d619454 | 5585 | * xfns.c (x_create_tip_frame): Preserve received parms by copying them. |
f161146b | 5586 | |
9257b627 EZ |
5587 | 2006-03-11 Eli Zaretskii <eliz@gnu.org> |
5588 | ||
db3c0e9c EZ |
5589 | * w32term.c: Add x_fully_uncatch_errors and x_catching_errors to |
5590 | the list of unused display error handling functions. | |
5591 | ||
8887e8ec EZ |
5592 | * eval.c (unwind_to_catch): Call x_fully_uncatch_errors only if |
5593 | HAVE_X_WINDOWS. | |
5594 | (internal_condition_case, internal_condition_case_1) | |
5595 | (internal_condition_case_2): Call x_catching_errors only if | |
5596 | HAVE_X_WINDOWS. | |
5597 | ||
9257b627 EZ |
5598 | * vm-limit.c [HAVE_GETRLIMIT]: Don't define unconditionally. |
5599 | Don't include sys/resource.h unless defined. | |
5600 | ||
395d3972 RS |
5601 | 2006-03-11 Richard Stallman <rms@gnu.org> |
5602 | ||
5a893bff RS |
5603 | * keymap.c (describe_map): Shorten string to indicate shadowed binding. |
5604 | ||
395d3972 | 5605 | * vm-limit.c (get_lim_data, lim_data, data_space_start): |
7d619454 | 5606 | Move from mem-limits.h. |
395d3972 RS |
5607 | (enum warnlevel): New data type. |
5608 | (check_memory_limits): Rewrite the logic about warnings. | |
5609 | Use standard `struct rlimit'. Check return values for nonsense. | |
5610 | (memory_warnings): Always clear lim_data. | |
5611 | ||
5612 | * mem-limits.h (get_lim_data, lim_data, data_space_start): | |
7d619454 | 5613 | Move to vm-limit.c. |
395d3972 RS |
5614 | |
5615 | * xterm.c (x_fully_uncatch_errors, x_catching_errors): New functions. | |
5616 | ||
5617 | * eval.c (unwind_to_catch): Call x_fully_uncatch_errors. | |
f372bd5b | 5618 | (internal_condition_case_1, internal_condition_case_2): |
395d3972 RS |
5619 | Abort if within unclosed x_catch_errors. |
5620 | ||
635a3496 RF |
5621 | 2006-03-11 Romain Francoise <romain@orebokech.com> |
5622 | ||
5623 | * process.c (Vprocess_adaptive_read_buffering): Doc fix. | |
5624 | ||
306cea3a EZ |
5625 | 2006-03-11 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change) |
5626 | ||
5627 | * lisp.h: Remove duplicate prototypes. Make the prototype of | |
5628 | getloadavg be conditioned on HAVE_GETLOADAVG being undefined. | |
5629 | ||
97b5ae78 EZ |
5630 | 2006-03-11 Eli Zaretskii <eliz@gnu.org> |
5631 | ||
7325e714 EZ |
5632 | * xterm.c (x_draw_hollow_cursor): Subtract 1 from the last |
5633 | argument of XDrawRectangle. | |
5634 | ||
97b5ae78 EZ |
5635 | * xdisp.c (get_phys_cursor_geometry): Don't decrease height by 1. |
5636 | ||
5637 | * macterm.c (mac_draw_rectangle): Don't add 1 to width and height. | |
5638 | (x_draw_glyph_string_foreground) | |
5639 | (x_draw_composite_glyph_string_foreground) | |
5640 | (x_draw_image_foreground): Don't subtract 1 from width and height | |
5641 | arguments to mac_draw_rectangle. | |
5642 | (x_draw_hollow_cursor): Add 1 to w->phys_cursor_width. | |
5643 | ||
68f632a8 KS |
5644 | 2006-03-10 Kim F. Storm <storm@cua.dk> |
5645 | ||
5646 | * alloc.c (USE_POSIX_MEMALIGN): Fix last change. | |
5647 | ||
349a4500 SM |
5648 | 2006-03-09 Stefan Monnier <monnier@iro.umontreal.ca> |
5649 | ||
5650 | * alloc.c (USE_POSIX_MEMALIGN): New macro. | |
5651 | (ABLOCKS_BASE, lisp_align_malloc, lisp_align_free): Use it. | |
5652 | ||
53a5eba9 KH |
5653 | 2006-03-09 Kenichi Handa <handa@m17n.org> |
5654 | ||
5655 | * coding.c (DECODE_EMACS_MULE_COMPOSITION_CHAR): Fix decoding | |
5656 | ASCII component of a composition. | |
5657 | ||
629f023d LT |
5658 | 2006-03-08 Luc Teirlinck <teirllm@auburn.edu> |
5659 | ||
5660 | * window.c: Declare preserve_y as a static global variable. | |
5661 | (window_scroll_pixel_based): No longer declare preserve_y; | |
5662 | it is global now. | |
f945af42 | 5663 | (syms_of_window): Set preserve_y to -1. |
629f023d | 5664 | |
4cdffedf YM |
5665 | 2006-03-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5666 | ||
5667 | * image.c [MAC_OS] (XPutPixel): Set alpha channel bits if pixmap | |
5668 | depth is 32. | |
204b78de | 5669 | [MAC_OS] (XGetPixel): Strip off alpha channel bits if pixmap |
4cdffedf YM |
5670 | depth is 32. |
5671 | ||
45b5f35d CY |
5672 | 2006-03-06 Chong Yidong <cyd@stupidchicken.com> |
5673 | ||
5674 | * xdisp.c (handle_invisible_prop): Don't update it->position with | |
5675 | a buffer position if we're in a display string. | |
5676 | ||
48b60fa1 YM |
5677 | 2006-03-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5678 | ||
5679 | * macterm.h (MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH) | |
5680 | (MAC_AQUA_SMALL_VERTICAL_SCROLL_BAR_WIDTH): New defines. | |
5681 | ||
5682 | * macfns.c (x_default_scroll_bar_color_parameter) | |
349a4500 SM |
5683 | (x_set_scroll_bar_foreground, x_set_scroll_bar_background): |
5684 | Remove unnecessary prototypes. | |
5685 | (x_set_scroll_bar_default_width): | |
5686 | Use MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH. | |
48b60fa1 YM |
5687 | (mac_set_scroll_bar_width): New function. |
5688 | (mac_frame_parm_handlers): Set it as handler for scroll-bar-width. | |
5689 | ||
5690 | * macterm.c (get_control_part_bounds): Fix type of return value. | |
5691 | (x_set_toolkit_scroll_bar_thumb, x_scroll_bar_create) | |
5692 | (XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: Don't show | |
5693 | scroll bar if it is not tall enough to display scroll bar thumb. | |
5694 | [USE_CARBON_EVENTS] (mac_convert_event_ref) | |
5695 | (mac_handle_command_event, mac_handle_window_event) | |
5696 | (mac_handle_mouse_event): Check error code of GetEventParameter. | |
5697 | (convert_fn_keycode) [MAC_OSX]: Likewise. | |
f945af42 | 5698 | |
6f10509c AS |
5699 | 2006-03-05 Andreas Schwab <schwab@suse.de> |
5700 | ||
5701 | * xselect.c (x_catch_errors_unwind): Fix missing return value. | |
5702 | ||
f79bc642 KS |
5703 | 2006-03-02 Kim F. Storm <storm@cua.dk> |
5704 | ||
5705 | * frame.h (struct frame): New member n_tool_bar_rows. | |
5706 | ||
5707 | * xdisp.c: Minimize the unpleasent visual impact of the requirement | |
5708 | that non-toolkit tool-bars must occupy an integral number of screen | |
875e613d | 5709 | lines, by distributing the rows evenly over the tool-bar screen area. |
f79bc642 KS |
5710 | (Vtool_bar_border): New variable. |
5711 | (syms_of_xdisp): DEFVAR_LISP it. | |
349a4500 SM |
5712 | (display_tool_bar_line): Add HEIGHT arg for desired row height. |
5713 | Make tool-bar row the desired height. Use default face for border | |
5714 | below tool-bar. | |
f79bc642 KS |
5715 | (tool_bar_lines_needed): Add N_ROWS arg. Use it to return number of |
5716 | actual tool-bar rows. | |
5717 | (redisplay_tool_bar): Calculate f->n_tool_bar_rows initially. | |
5718 | Adjust the height of the tool-bar rows to fill tool-bar screen area. | |
5719 | (redisplay_tool_bar): Calculate f->n_tool_bar_rows when tool-bar area | |
5720 | is resized. | |
5721 | ||
0bbe0c9c LT |
5722 | 2006-03-01 Luc Teirlinck <teirllm@auburn.edu> |
5723 | ||
5724 | * search.c (Fregexp_quote): Do not precede a literal `]' with two | |
5725 | backslashes to try to make clear that it has a literal meaning; it | |
5726 | does not do that. (It could close a character alternative | |
5727 | containing a backslash.) | |
5728 | ||
c525d842 CY |
5729 | 2006-02-28 Chong Yidong <cyd@stupidchicken.com> |
5730 | ||
5731 | * xselect.c (x_catch_errors_unwind): New function. | |
5732 | (x_reply_selection_request): Put x_uncatch_errors in an unwind. | |
5733 | (Fx_get_atom_name): Call x_uncatch_errors earlier. | |
5734 | ||
5735 | * window.c (Qscroll_up, Qscroll_down): New syms. | |
5736 | (window_scroll_pixel_based): Make preserve_y static to avoid | |
5737 | getting point stuck when scrolling 1 line. | |
5738 | ||
4545fa20 CY |
5739 | 2006-02-26 Chong Yidong <cyd@stupidchicken.com> |
5740 | ||
349a4500 | 5741 | * xterm.h, xterm.c (x_uncatch_errors): Delete unneccessary argument. |
4545fa20 | 5742 | |
364d0cf8 JB |
5743 | * xterm.c (x_load_font, x_term_init, XTmouse_position) |
5744 | (handle_one_xevent, x_connection_closed, x_list_fonts): | |
5745 | No arg for x_uncatch_errors. | |
4545fa20 CY |
5746 | |
5747 | * xselect.c (x_own_selection, x_decline_selection_request) | |
5748 | (x_reply_selection_request, x_get_foreign_selection) | |
5749 | (Fx_get_atom_name, Fx_send_client_event): Likewise. | |
5750 | ||
5751 | * xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame): | |
5752 | Likewise. | |
5753 | ||
a5e25a4c LT |
5754 | 2006-02-26 Luc Teirlinck <teirllm@auburn.edu> |
5755 | ||
440cbd9e LT |
5756 | * lread.c: Declare Vload_file_rep_suffixes instead of |
5757 | deleted variable default_suffixes. | |
5758 | (Fget_load_suffixes): New function. | |
5759 | (Fload): Use Fget_load_suffixes and Vload_file_rep_suffixes. | |
5760 | No longer use deleted variable default_suffixes. Update docstring. | |
5761 | (syms_of_lread): defsubr Sget_load_suffixes. | |
5762 | Expand `load-suffixes' docstring. | |
5763 | Delete default_suffixes and DEFVAR_LISP the new variable | |
5764 | `load-file-rep-suffixes'. | |
5765 | ||
5766 | * w32.c (check_windows_init_file): Use Fget_load_suffixes instead | |
5767 | of Vload_suffixes. | |
5768 | ||
5769 | * lisp.h: EXFUN Fget_load_suffixes. | |
5770 | Extern Vload_file_rep_suffixes. | |
5771 | ||
a5e25a4c LT |
5772 | * eval.c (specpdl_ptr): Remove volatile qualifier for consistency |
5773 | with lisp.h. | |
5774 | ||
a7af5886 SM |
5775 | 2006-02-26 Stefan Monnier <monnier@iro.umontreal.ca> |
5776 | ||
5777 | * lisp.h (struct specbinding, specpdl_ptr): Remove the volatile | |
5778 | qualifier which was trying to avoid the bug that was fixed by | |
5779 | yesterday's changes to xterm.c. | |
5780 | ||
9ba8e10d CY |
5781 | 2006-02-25 Chong Yidong <cyd@stupidchicken.com> |
5782 | ||
5783 | * xterm.h (x_catch_errors) Return value changed to void. | |
4545fa20 | 5784 | (x_uncatch_errors): Delete unused count argument. |
a7af5886 | 5785 | |
9ba8e10d CY |
5786 | * xterm.c (x_catch_errors): Don't use record_unwind_protect, since |
5787 | it can be called in a signal handler. | |
5788 | (x_catch_errors_unwind): Function deleted. | |
5789 | (x_uncatch_errors): Deallocate last x_error_message_stack struct. | |
5790 | (x_check_errors): Call x_uncatch_errors before signalling error. | |
5791 | ||
5792 | (x_load_font, x_term_init, XTmouse_position, handle_one_xevent) | |
5793 | (x_connection_closed, x_list_fonts): Use new versions of | |
5794 | x_catch_errors and x_uncatch_errors. | |
5795 | ||
5796 | * xselect.c (x_own_selection, x_decline_selection_request) | |
5797 | (x_reply_selection_request, x_get_foreign_selection) | |
5798 | (Fx_get_atom_name, Fx_send_client_event): Likewise. | |
5799 | ||
5800 | * xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame): | |
5801 | Likewise. | |
5802 | ||
5803 | * eval.c (record_unwind_protect): Add an assertion. | |
5804 | ||
f523e0c3 SM |
5805 | 2006-02-25 Stefan Monnier <monnier@iro.umontreal.ca> |
5806 | ||
5807 | * process.c (Fmake_network_process): Init the process's mark. | |
5808 | ||
a7a7e1d7 KS |
5809 | 2006-02-25 Kim F. Storm <storm@cua.dk> |
5810 | ||
5811 | * buffer.c (modify_overlay): Force redisplay if we modify an | |
5812 | overlay at the end of the buffer. | |
5813 | ||
a821c035 JD |
5814 | 2006-02-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5815 | ||
ca21600d JB |
5816 | * gtkutil.c (xg_get_image_for_pixmap): If x_find_image_file returns |
5817 | nil the image file has been removed, in that case use the (cached) | |
5818 | pixmap. | |
a821c035 | 5819 | |
77343e1d KH |
5820 | 2006-02-24 Kenichi Handa <handa@m17n.org> |
5821 | ||
5822 | * fileio.c (Finsert_file_contents): When a text is replaced | |
5823 | partially, be sure to set point before the inserted characters. | |
5824 | ||
92fb5516 KH |
5825 | 2006-02-23 Zhang Wei <id.brep@gmail.com> (tiny change) |
5826 | ||
5827 | * xfns.c (Fx_file_dialog): Return a decoded file name. | |
5828 | ||
78897758 YM |
5829 | 2006-02-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5830 | ||
5831 | * dispnew.c (update_text_area): Avoid needless redraw of rightmost | |
5832 | glyph whose face is extended to the text area end. | |
5833 | ||
5b574e69 YM |
5834 | * macterm.c (x_set_toolkit_scroll_bar_thumb): Don't set control |
5835 | values if control is not visible or values are not changed. | |
5836 | ||
acc6289a SM |
5837 | 2006-02-22 Stefan Monnier <monnier@iro.umontreal.ca> |
5838 | ||
5839 | * window.c (Fwindow_list): Check `window' before doing XWINDOW. | |
5840 | The default `window' should not be "on a different frame". | |
5841 | ||
c4336e88 KS |
5842 | 2006-02-22 Kim F. Storm <storm@cua.dk> |
5843 | ||
5844 | * indent.c (Fvertical_motion): Only try to move back if we can. | |
5845 | ||
b6e3efe0 YM |
5846 | 2006-02-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5847 | ||
5848 | * macgui.h (struct _XGC) [!MAC_OSX || !USE_ATSUI]: New member | |
5849 | n_clip_rects. | |
5850 | ||
5851 | * macmenu.c (digest_single_submenu): Apply 2006-02-19 change for | |
5852 | xmenu.c. | |
5853 | ||
5854 | * macterm.c (GC_CLIP_REGION): Remove macro. | |
5855 | (mac_begin_clip, mac_end_clip): Take arg GC instead of REGION. | |
5856 | All uses changed. Don't do clipping if n_clip_rects is zero. | |
acc6289a SM |
5857 | (mac_set_clip_rectangles): Use xassert instead of abort. |
5858 | Set n_clip_rects. Don't make clip_region empty when number of | |
b6e3efe0 YM |
5859 | clipping rectangles is zero. |
5860 | (mac_reset_clip_rectangles): Set n_clip_rects directly instead of | |
5861 | calling mac_set_clip_rectangles. | |
5862 | (x_set_toolkit_scroll_bar_thumb): Temporarily hide scroll bar to | |
5863 | avoid multiple redraws. | |
5864 | ||
6f62a45e KS |
5865 | 2006-02-22 Kim F. Storm <storm@cua.dk> |
5866 | ||
5867 | * fringe.c (draw_fringe_bitmap): Fix overlay-arrow display. | |
5868 | ||
dd9959da KS |
5869 | 2006-02-21 Kim F. Storm <storm@cua.dk> |
5870 | ||
5871 | * fringe.c (syms_of_fringe) <fringe-bitmaps>: Doc fix. | |
5872 | ||
364d0cf8 | 5873 | 2006-02-21 Zhang Wei <brep@newsmth.org> |
a8f4bdc6 JD |
5874 | |
5875 | * xfns.c (Fx_file_dialog, Motif and GTK): DECODE_FILE before | |
5876 | returning it. | |
5877 | ||
dd9959da | 5878 | 2006-02-21 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change) |
9866a438 JB |
5879 | |
5880 | * fringe.c (horizontal_bar_bits): Rename from `horisontal_bar_bits'. | |
5881 | (standard_bitmaps): Use it. | |
5882 | ||
9fb446e3 YM |
5883 | 2006-02-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5884 | ||
5885 | * macterm.c (mac_draw_string_common): Remove arg MODE. New arg | |
5886 | BG_WIDTH. All uses changed. Draw background if BG_WIDTH is not zero. | |
5887 | (mac_draw_image_string, mac_draw_image_string_16): New arg BG_WIDTH. | |
5888 | [USE_CG_TEXT_DRAWING] (mac_draw_image_string_cg): Rename from | |
acc6289a SM |
5889 | mac_draw_string_cg. New arg BG_WIDTH. All uses changed. |
5890 | Draw background if BG_WIDTH is not zero. Use float constants as | |
9fb446e3 YM |
5891 | divisors instead of double. Use alloca instead of xmalloc/xfree. |
5892 | (x_draw_glyph_string_background, x_draw_glyph_string_foreground) | |
5893 | [!MAC_OS8 || USE_ATSUI]: Background may be drawn using | |
5894 | mac_draw_image_string* functions. | |
5895 | (XLoadQueryFont) [MAC_OS8 && USE_ATSUI]: Don't adjust heights of | |
5896 | some fonts when srcCopy text transfer mode might be used. | |
5897 | (mac_begin_clip, mac_end_clip): Check if region is empty. | |
5898 | (mac_set_clip_rectangles): When resetting clip region, make it | |
5899 | empty instead of disposing of it. | |
5900 | ||
49af2995 KS |
5901 | 2006-02-20 Kim F. Storm <storm@cua.dk> |
5902 | ||
5903 | * Makefile.in: Add fringe.elc to WINDOW_SUPPORT. | |
5904 | ||
5905 | * buffer.h (struct buffer): New members fringe_indicator_alist and | |
5906 | fringe_cursor_alist. | |
5907 | ||
5908 | * buffer.c (init_buffer_once): Set dummy default values for | |
5909 | fringe-indicator-alist and fringe-cursor-alist. The proper | |
5910 | default values are set by pre-loading fringe.el. | |
5911 | (syms_of_buffer): defvar_per_buffer new fringe-indicator-alist and | |
5912 | fringe-cursor-alist buffer-local variables and defvar_lisp_nopro | |
9866a438 | 5913 | corresponding default- variables. |
49af2995 KS |
5914 | |
5915 | * fringe.c (enum fringe_bitmap_type): Remove. Change all uses | |
5916 | to use `int'. | |
5917 | (NO_FRINGE_BITMAP, UNDEF_FRINGE_BITMAP, MAX_STANDARD_FRINGE_BITMAPS): | |
5918 | Define explicitly. | |
5919 | (Qtruncation, Qcontinuation, Qempty_line, Qtop_bottom) | |
5920 | (Qhollow_small): New variables. | |
5921 | (syms_of_fringe): Intern and staticpro them. | |
5922 | (question_mark_bits): Rename from unknown_bits. | |
5923 | (left_curly_arrow_bits): Rename from continuation_bits. | |
5924 | (right_curly_arrow_bits): Rename from continued_bits. | |
5925 | (left_triangle_bits): Rename from ov_bits. | |
acc6289a | 5926 | (right_triangle_bits): Add. |
49af2995 KS |
5927 | (filled_rectangle_bits): Rename from filled_box_cursor_bits. |
5928 | (hollow_rectangle_bits): Rename from hollow_box_cursor_bits. | |
acc6289a | 5929 | (filled_square_bits): Add. |
49af2995 | 5930 | (vertical_bar_bits): Rename from bar_cursor_bits. |
9866a438 | 5931 | (horizontal_bar_bits): Rename from hbar_cursor_bits. |
49af2995 KS |
5932 | (empty_line_bits): Rename from zv_bits. |
5933 | (standard_bitmaps): Update to use new names. | |
5934 | (draw_fringe_bitmap_1): Make static. | |
5935 | (get_logical_cursor_bitmap, get_logical_fringe_bitmap): New functions | |
5936 | to map from logical cursors and indicators to physical bitmaps. | |
875e613d | 5937 | (draw_fringe_bitmap): Resolve fringe cursor and overlay-arrow |
49af2995 KS |
5938 | bitmaps using symbol names instead of bitmap numbers. |
5939 | (update_window_fringes): Use logical indicator symbol names | |
5940 | instead of bitmap numbers for logical. Add bitmap cache. | |
5941 | (LEFT_FRINGE, RIGHT_FRINGE): New helper macros. | |
5942 | ||
a77f947b CY |
5943 | 2006-02-20 Chong Yidong <cyd@stupidchicken.com> |
5944 | ||
a073faa6 CY |
5945 | * regex.c: Revert 2006-02-19 change. |
5946 | (xmalloc, xrealloc): Define these when not linked to Emacs. | |
5947 | Redefine malloc -> xmalloc, realloc -> xrealloc as in Emacs case. | |
a77f947b | 5948 | |
2f90d2bc LT |
5949 | 2006-02-19 Luc Teirlinck <teirllm@auburn.edu> |
5950 | ||
5951 | * regex.c (extend_range_table_work_area): Fix typo. | |
5952 | ||
5498b6af RS |
5953 | 2006-02-19 Richard M. Stallman <rms@gnu.org> |
5954 | ||
7b1d7d66 RS |
5955 | * xterm.c (x_catch_errors): Use xmalloc. |
5956 | ||
5957 | * regex.c (extend_range_table_work_area): Call xmalloc and xrealloc. | |
5958 | (regex_compile): Likewise. | |
5959 | (regcomp): Use xmalloc. | |
5960 | ||
5961 | * gtkutil.c (malloc_widget_value): Use xmalloc. | |
5962 | ||
5498b6af RS |
5963 | * vm-limit.c [HAVE_GETRLIMIT]: Include sys/resource.h. |
5964 | (check_memory_limits) [HAVE_GETRLIMIT]: Use getrlimit. | |
5965 | ||
5966 | * xmenu.c (digest_single_submenu): When pane_string is empty, | |
5967 | do initialize save_wv. | |
5968 | ||
4f2f3214 YM |
5969 | 2006-02-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5970 | ||
5971 | * xdisp.c (update_menu_bar) [MAC_OS]: Don't set | |
5972 | w->update_mode_line if arg F is not the selected frame. | |
5973 | ||
5974 | * macmenu.c (popup_activated_flag, submenu_id) | |
5975 | (next_menubar_widget_id): Remove variables. | |
5976 | (initialize_frame_menubar): Remove function. | |
5977 | (pop_down_menu, mac_menu_show): Simplify save value. | |
5978 | (dispose_menus): New function. | |
5979 | (pop_down_menu, fill_menubar): Use it. | |
5980 | (fill_submenu): Remove function. All uses changed to fill_menu. | |
5981 | (add_menu_item): Remove args SUBMENU and FORCE_DISABLE. New arg | |
5982 | POS. Don't call SetMenuItemHierarchicalID here. | |
5983 | (fill_menu): Add arg SUBMENU_ID. Return submenu_id that is to be | |
5984 | used next. Call SetMenuItemHierarchicalID here. | |
5985 | (fill_menubar): Add arg DEEP_P. All uses changed. Clean up menu | |
5986 | objects if needed. Reuse existing menu bar titles if possible. | |
5987 | (set_frame_menubar): Don't clean up menu objects here. | |
5988 | ||
da7520de CY |
5989 | 2006-02-18 Chong Yidong <cyd@stupidchicken.com> |
5990 | ||
5991 | * window.c (window_min_size_1): Ensure room for the scroll bar and | |
5992 | fringes. | |
5993 | ||
a9c18b84 RF |
5994 | 2006-02-17 Romain Francoise <romain@orebokech.com> |
5995 | ||
5996 | * puresize.h (BASE_PURESIZE): Increment to 1200000. | |
5997 | ||
537407f0 SM |
5998 | 2006-02-17 Stefan Monnier <monnier@iro.umontreal.ca> |
5999 | ||
6000 | * alloc.c (Fmake_symbol): Comment-out left-over assert from before the | |
6001 | addition of the BLOCK_INPUTs. | |
6002 | ||
5bf3610f JB |
6003 | 2006-02-17 Juanma Barranquero <lekktu@gmail.com> |
6004 | ||
6005 | * window.c (Fset_window_scroll_bars): Doc fix. | |
6006 | ||
ed0218e2 KH |
6007 | 2006-02-17 Kenichi Handa <handa@m17n.org> |
6008 | ||
6009 | * xdisp.c (display_mode_element): Call display_string with correct | |
6010 | PREC arg (which must be a number of characters, not column width). | |
6011 | ||
f036d043 YM |
6012 | 2006-02-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6013 | ||
6014 | * frame.c (x_get_arg): Clear out PARAM in ALIST also on Mac. | |
6015 | ||
6016 | * macfns.c (x_set_menu_bar_lines): Menu bar is always shown on Mac. | |
6017 | ||
6018 | * macmenu.c (set_frame_menubar): Don't call DrawMenuBar. | |
6019 | ||
885f1975 RS |
6020 | 2006-02-14 Richard M. Stallman <rms@gnu.org> |
6021 | ||
9d8f542c RS |
6022 | * frame.c (x_get_arg): Clear out all occurrences of PARAM in ALIST. |
6023 | ||
885f1975 RS |
6024 | * m/ibms390x.h: New file. |
6025 | ||
26ebccfd JD |
6026 | 2006-02-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6027 | ||
6028 | * gtkutil.c (xg_tool_bar_detach_callback): Set show-arrow to the | |
6029 | value of x-gtk-whole-detached-tool-bar. | |
d8d3d48c | 6030 | (xg_tool_bar_attach_callback): Set show-arrow to TRUE. |
26ebccfd JD |
6031 | |
6032 | * xfns.c (syms_of_xfns): New variable: x-gtk-whole-detached-tool-bar. | |
6033 | ||
4d7637b8 | 6034 | 2006-02-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
58118de5 JD |
6035 | |
6036 | * xterm.c (x_x_to_emacs_modifiers): Make non-static. | |
6037 | ||
6038 | * xterm.h: Declare x_x_to_emacs_modifiers. | |
6039 | ||
6040 | * gtkutil.c (xg_tool_bar_button_cb): New function. | |
6041 | (xg_tool_bar_callback): Call x_x_to_emacs_modifiers to | |
6042 | store modifiers in event. | |
6043 | (update_frame_tool_bar): Connect button-release-event to | |
6044 | xg_tool_bar_button_cb. | |
6045 | ||
f8d775e1 RS |
6046 | 2006-02-13 Richard M. Stallman <rms@gnu.org> |
6047 | ||
6048 | * .gdbinit (xwindow): Update the code to show the window box. | |
6049 | ||
0c0351b5 JD |
6050 | 2006-02-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6051 | ||
6052 | * xterm.c (note_mouse_movement): Check for NULL FRAME_X_OUTPUT (frame). | |
6053 | ||
4d94dd9a RS |
6054 | 2006-02-12 Richard M. Stallman <rms@gnu.org> |
6055 | ||
6056 | * cmds.c (internal_self_insert): Handle weird auto-fill-function. | |
6057 | ||
c54fb9ef EZ |
6058 | 2006-02-11 Eli Zaretskii <eliz@gnu.org> |
6059 | ||
6060 | * keyboard.c (Venable_disabled_menus_and_buttons): New variable. | |
6061 | (syms_of_keyboard): DEVFAR_LISP and initialize it. | |
6062 | (parse_tool_bar_item, parse_menu_item): If that variable is | |
6063 | non-nil, don't disable menu items and tool-bar buttons. | |
6064 | ||
ac6a9b55 JB |
6065 | 2006-02-11 Juanma Barranquero <lekktu@gmail.com> |
6066 | ||
6067 | * doc.c (Fsubstitute_command_keys): Doc fix. | |
6068 | ||
0ddb0ae8 TTN |
6069 | 2006-02-10 Thien-Thi Nguyen <ttn@gnu.org> |
6070 | ||
6071 | * data.c (Findirect_function): Rewrite docstring. | |
6072 | Fix omission bug: Declare new arg NOERROR. | |
6073 | ||
cbd488c4 YM |
6074 | 2006-02-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6075 | ||
6076 | * macfns.c (x_set_mouse_color): Don't call rif->define_frame_cursor | |
6077 | if window_desc is not set yet. | |
6078 | (Fx_create_frame): Remove variable x_frame_name. Apply 2005-12-07 | |
6079 | and 2006-01-26 changes for xfns.c. Call x_iconify_frame if frame | |
6080 | parameter `visibility' is `icon'. | |
6081 | (Fx_create_frame, x_create_tip_frame): Use "fontset-standard" | |
6082 | instead of "fontset-mac". | |
6083 | (Fx_focus_frame): New defun. | |
6084 | (syms_of_macfns): Defsubr it. | |
6085 | ||
6086 | * macterm.c (mac_define_frame_cursor): Don't change pointer shape | |
6087 | for unfocused frame. | |
6088 | (x_raise_frame): Call BringToFront instead of SelectWindow. | |
6089 | (x_lower_frame): Use NULL instead of nil. | |
6090 | (x_make_frame_visible): Don't call SelectWindow. | |
6091 | (XTread_socket): Increment handling_signal at the start, decrement | |
6092 | it at the end. | |
6093 | [USE_CG_TEXT_DRAWING] (init_cg_text_anti_aliasing_threshold): Use | |
6094 | CFPreferencesGetAppIntegerValue instead of Fmac_get_preference. | |
6095 | ||
a7f96a35 KS |
6096 | 2006-02-10 Kim F. Storm <storm@cua.dk> |
6097 | ||
6098 | * data.c (Findirect_function): Add NOERROR arg. All callers changed | |
6099 | to pass Qnil for NOERROR. | |
6100 | ||
6101 | * keymap.c (current_minor_maps_error): Remove. | |
6102 | (current_minor_maps): Pass Qt for NOERROR to Findirect_function | |
6103 | instead of using internal_condition_case_1+current_minor_maps_error. | |
6104 | ||
1834d8e7 JD |
6105 | 2006-02-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6106 | ||
6107 | * xterm.c (handle_one_xevent): Must note mouse movement even for nil | |
6108 | frames for GTK, in that case it is the tool bar. This is so that | |
6109 | highlighted text get reset properly. | |
6110 | ||
cffc3472 JB |
6111 | 2006-02-09 Juanma Barranquero <lekktu@gmail.com> |
6112 | ||
6113 | * alloc.c (Fmake_bool_vector, Fpurecopy): Doc fixes. | |
6114 | ||
e99c7521 JD |
6115 | 2006-02-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6116 | ||
6117 | * window.c (adjust_window_trailing_edge): Check that shrinking | |
6118 | does not set a window to size zero or less. | |
6119 | ||
42ab8e36 MB |
6120 | 2006-02-08 Miles Bader <miles@gnu.org> |
6121 | ||
6122 | * editfns.c (Fconstrain_to_field): Use Fget_char_property instead | |
cffc3472 | 6123 | of Fget_text_property (other field functions work with overlays as |
42ab8e36 MB |
6124 | well as text-properties). |
6125 | ||
6a80c3ba KH |
6126 | 2006-02-07 Kenichi Handa <handa@m17n.org> |
6127 | ||
e1a67366 | 6128 | * dispextern.h (unibyte_display_via_language_environment): Extern it. |
6a80c3ba | 6129 | |
e1a67366 KS |
6130 | * xterm.h (unibyte_display_via_language_environment): |
6131 | * w32term.h (unibyte_display_via_language_environment): | |
6132 | * macterm.h (unibyte_display_via_language_environment): Delete extern. | |
6a80c3ba | 6133 | |
d2b4c17d KH |
6134 | 2006-02-07 Kenichi Handa <handa@m17n.org> |
6135 | ||
e1a67366 | 6136 | * term.c (append_glyph): Refer to it->char_to_display instead of it->c. |
d2b4c17d | 6137 | (produce_glyphs): Set the character to print in |
e1a67366 KS |
6138 | it->char_to_display. Handle unibyte-display-via-language-environment. |
6139 | (produce_stretch_glyph): Set character to print in it->char_to_display. | |
d2b4c17d | 6140 | |
8b9d426a KH |
6141 | 2006-02-06 Kenichi Handa <handa@m17n.org> |
6142 | ||
e1a67366 | 6143 | * lread.c (openp): Initialize encoded_fn before GCPRO it. |
8b9d426a | 6144 | |
d63b4018 KR |
6145 | 2006-02-05 Ken Raeburn <raeburn@raeburn.org> |
6146 | ||
6147 | * editfns.c (Fconstrain_to_field): Fix int/Lisp_Object mixup. | |
6148 | ||
98950fd6 KR |
6149 | * lisp.h (XPNTR) [!NO_UNION_TYPE && !HAVE_SHM && !DATA_SEG_BITS]: |
6150 | Cast bitfield value to EMACS_INT, to suppress gcc warning. | |
6151 | ||
ca21600d JB |
6152 | * xrdb.c (malloc, realloc, free) [emacs]: Undefine macros before |
6153 | defining. | |
0cf36656 | 6154 | |
ad02d7ea KS |
6155 | 2006-02-03 Kim F. Storm <storm@cua.dk> |
6156 | ||
6157 | * xdisp.c: Cache last merged escape glyph face. | |
6158 | (last_escape_glyph_frame, last_escape_glyph_face_id) | |
6159 | (last_escape_glyph_merged_face_id): New variables. | |
6160 | (get_next_display_element): Use/update them. | |
6161 | (redisplay_internal): Reset them before redisplay. | |
6162 | ||
6163 | * xdisp.c (set_iterator_to_next): Optimize 2004-12-13 fix. | |
6164 | Only recheck faces after displaying ellipsis. | |
6165 | ||
999a0fe5 KH |
6166 | 2006-02-02 Kenichi Handa <handa@m17n.org> |
6167 | ||
6168 | * coding.c (decode_composition_emacs_mule): Fix handling of | |
6169 | incorrect format data. | |
6170 | ||
cd7cd4ac JD |
6171 | 2006-01-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6172 | ||
14a56a1b JB |
6173 | * gtkutil.c (update_frame_tool_bar): Use new tool bar function |
6174 | gtk_toolbar_insert() so we can have tool bars of different sizes. | |
cd7cd4ac | 6175 | |
4cf7e99c LT |
6176 | 2006-01-30 Luc Teirlinck <teirllm@auburn.edu> |
6177 | ||
6178 | * data.c (Flistp): Doc fix. | |
6179 | ||
a3bc032f JB |
6180 | 2006-01-30 Juanma Barranquero <lekktu@gmail.com> |
6181 | ||
6182 | * window.c (Fother_window, Fwindow_vscroll, Fset_window_vscroll): | |
6183 | Fix typos in docstrings. | |
6184 | ||
6badf38c LT |
6185 | 2006-01-28 Luc Teirlinck <teirllm@auburn.edu> |
6186 | ||
1f2907ee | 6187 | * data.c (Fcar, Fcdr): Add links to Elisp manual to the docstrings. |
6badf38c | 6188 | |
e2984df0 CY |
6189 | 2006-01-27 Chong Yidong <cyd@stupidchicken.com> |
6190 | ||
6191 | * alloc.c (make_interval, allocate_string) | |
6192 | (allocate_string_data, make_float, Fcons, allocate_vectorlike) | |
6193 | (Fmake_symbol, allocate_misc): Use BLOCK_INPUT when accessing | |
6194 | global variables. | |
6195 | ||
dc86c16d EZ |
6196 | 2006-01-27 Eli Zaretskii <eliz@gnu.org> |
6197 | ||
6198 | * dired.c (DIRENTRY_NONEMPTY) [__CYGWIN__]: Don't use d_ino; use | |
6199 | the MSDOS definition. | |
6200 | ||
57436ee7 RS |
6201 | 2006-01-26 Richard M. Stallman <rms@gnu.org> |
6202 | ||
6203 | * alloc.c (check_pure_size): Make overflow message an "error message". | |
6204 | ||
6205 | * keymap.c (Fmap_keymap): Doc fix. | |
6206 | ||
6207 | * xfns.c (Fx_create_frame): Put all specified parms into f->param_alist | |
6208 | unless they were cleared out. | |
6209 | ||
6210 | * frame.c (x_get_arg): "Clear out" the parm in ALIST if found there. | |
6211 | ||
2cb3aec4 KL |
6212 | 2006-01-26 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu> |
6213 | ||
e477bb04 KL |
6214 | * editfns.c (Fconstrain_to_field): Fix behaviour on field boundaries. |
6215 | (find_field): Set before_field to after_field when pos is at BEGV. | |
293bd733 SM |
6216 | (Fline_beginning_position, Fline_end_position): |
6217 | Clarify confusing doc string. | |
2cb3aec4 | 6218 | |
ca21600d JB |
6219 | * cmds.c (Fbeginning_of_line, Fend_of_line): Clarify confusing doc |
6220 | string. | |
2cb3aec4 | 6221 | |
34b87689 KH |
6222 | 2006-01-26 Kenichi Handa <handa@m17n.org> |
6223 | ||
6224 | * callproc.c (Fcall_process): GCPRO error_file. Encode infile, | |
ca21600d JB |
6225 | current_dir, and error_file. On reporting an error, decode them |
6226 | back. | |
34b87689 | 6227 | |
1cee1e27 SM |
6228 | 2006-01-24 Stefan Monnier <monnier@iro.umontreal.ca> |
6229 | ||
6230 | * regex.c (IMMEDIATE_QUIT_CHECK): Use it with SYNC_INPUT as well. | |
6231 | (re_match_2_internal) <on_failure_jump, on_failure_jump_smart>: | |
6232 | Don't check for quit, since any loop will go through fail or jump. | |
6233 | ||
a0b08700 CY |
6234 | 2006-01-24 Chong Yidong <cyd@stupidchicken.com> |
6235 | ||
6236 | * alloc.c (allocate_string_data): Update next_free immediately, to | |
6237 | reduce risk of memory clobberage. | |
6238 | ||
bf7f1d30 KL |
6239 | 2006-01-24 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu> |
6240 | ||
6241 | * xdisp.c (handle_invisible_prop): Set it->position to fix cursor | |
6242 | display when point moves across an ellipsis. If there are | |
6243 | adjacent invisible texts, don't lose the second one's ellipsis. | |
6244 | (x_produce_glyphs): Doc fix. | |
6245 | ||
e5e26d8f SM |
6246 | 2006-01-23 Stefan Monnier <monnier@iro.umontreal.ca> |
6247 | ||
6248 | * xterm.c (x_catch_errors_unwind): Yet another int/Lisp_Object mixup. | |
6249 | ||
1ff4535b KS |
6250 | 2006-01-23 Kim F. Storm <storm@cua.dk> |
6251 | ||
6252 | * xdisp.c (handle_single_display_spec): Fix handling of space | |
6253 | property on char from string: set *position rather than | |
6254 | it->current.pos. | |
6255 | (produce_stretch_glyph): Reduce width of stretch glyphs so they | |
6256 | don't get wider than the window (unless truncate-lines is on). | |
6257 | ||
5badc98d SM |
6258 | 2006-01-22 Stefan Monnier <monnier@iro.umontreal.ca> |
6259 | ||
6260 | * xterm.c: Avoid allocating Lisp data from a signal handler. | |
6261 | (x_error_message): New var to replace x_error_message_string. | |
6262 | (x_error_catcher, x_catch_errors, x_catch_errors_unwind) | |
6263 | (x_check_errors, x_had_errors_p, x_clear_errors, x_error_handler) | |
6264 | (syms_of_xterm): Use it instead of x_error_message_string. | |
6265 | ||
6266 | * alloc.c (lisp_align_free): Add an assertion. | |
6267 | (make_interval, allocate_string, make_float, Fcons, Fmake_symbol) | |
6268 | (allocate_misc): If ENABLE_CHECKING is on, check we're not called from | |
6269 | a signal handler. | |
6270 | ||
638590e8 LT |
6271 | 2006-01-21 Luc Teirlinck <teirllm@auburn.edu> |
6272 | ||
6273 | * dired.c (syms_of_dired) <completion-ignored-extensions>: Doc fix. | |
6274 | ||
cde0a40c RF |
6275 | 2006-01-21 Romain Francoise <romain@orebokech.com> |
6276 | ||
6277 | * xdisp.c (get_window_cursor_type): Fix last change. | |
6278 | Update copyright year. | |
6279 | ||
ea5f3ad4 EZ |
6280 | 2006-01-20 Eli Zaretskii <eliz@gnu.org> |
6281 | ||
3fdf12ca EZ |
6282 | * lread.c (Fload): Don't leak the file descriptor returned by |
6283 | openp if we are going to signal an error. | |
6284 | ||
7559f399 EZ |
6285 | * w32.c (sys_close): If FD is outside [0..MAXDESC) limits, pass it |
6286 | directly to _close. | |
6287 | (sys_dup): Protect against new_fd larger than fd_info[] can handle. | |
6288 | (sys_read): If FD is outside [0..MAXDESC) limits, pass it directly | |
6289 | to _read. | |
cde0a40c | 6290 | (sys_write): If FD is outside [0..MAXDESC) limits, pass it |
7559f399 EZ |
6291 | directly to _write. |
6292 | ||
ea5f3ad4 EZ |
6293 | * .gdbinit: Don't dereference Vsystem_type's Lisp_Symbol pointer |
6294 | if it is NULL. | |
6295 | ||
ef8beec6 KH |
6296 | 2006-01-20 Kenichi Handa <handa@m17n.org> |
6297 | ||
6298 | * puresize.h (BASE_PURESIZE): Increment to 1190000. | |
6299 | ||
995f2df9 CY |
6300 | 2006-01-19 Chong Yidong <cyd@stupidchicken.com> |
6301 | ||
6302 | * xdisp.c (get_window_cursor_type): Use cursor type specified by | |
6303 | the selected buffer for the echo area too. | |
6304 | ||
c94c4d0a RS |
6305 | 2006-01-19 Richard M. Stallman <rms@gnu.org> |
6306 | ||
6307 | * keymap.c (Fmap_keymap): Doc fix. | |
6308 | ||
6309 | * s/irix6-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): New definitions. | |
6310 | ||
6311 | * keyboard.c (echo_char): Don't omit the space between first two | |
6312 | echoed chars. | |
6313 | ||
6314 | * minibuf.c (read_minibuf): Fix previous change. | |
6315 | ||
71578d4f KH |
6316 | 2006-01-19 Kenichi Handa <handa@m17n.org> |
6317 | ||
6318 | * xterm.c (handle_one_xevent): Handle keysyms 0x1000000..0x10000FF. | |
6319 | ||
edd1c685 RS |
6320 | 2006-01-17 Richard M. Stallman <rms@gnu.org> |
6321 | ||
6322 | * frame.c (x_frame_get_and_record_arg): Don't record Qunbound | |
6323 | value in f->param_alist. | |
6324 | ||
0501acd4 AS |
6325 | 2006-01-15 Andreas Schwab <schwab@suse.de> |
6326 | ||
6327 | * search.c (Freplace_match): Use UPPERCASEP instead of !NOCASEP. | |
6328 | ||
d33a7384 NR |
6329 | 2006-01-13 Richard M. Stallman <rms@gnu.org> |
6330 | ||
6331 | * Makefile.in: Define new macro WINDOW_SUPPORT. | |
6332 | (lisp): Use it. | |
6333 | (SOME_MACHINE_LISP): Add conditionally loaded files. | |
6334 | ||
2026418c YM |
6335 | 2006-01-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6336 | ||
6337 | * macterm.c [USE_ATSUI] (atsu_get_text_layout_with_text_ptr) | |
22e6707e | 6338 | [MAC_OS_X_VERSION_MAX_ALLOWED >= 1020]: Specify kATSLineUseQDRendering. |
2026418c YM |
6339 | (XLoadQueryFont) [USE_ATSUI]: Display diacritical marks in |
6340 | decomposed form. | |
6341 | ||
6342 | * process.c [HAVE_INTTYPES_H]: Include inttypes.h. | |
6343 | (ifflag_table): Fix typo (IFF_OACTIV -> IFF_OACTIVE). | |
6344 | (Fnetwork_interface_info): Use HAVE_STRUCT_IFREQ_IFR_NETMASK | |
6345 | macro. Also try member ifr_addr when getting netmask. | |
6346 | ||
b8f7f3be SM |
6347 | 2006-01-10 Stefan Monnier <monnier@iro.umontreal.ca> |
6348 | ||
6349 | * fileio.c (Fexpand_file_name): Remove redundant tests. | |
6350 | Fix elimination of // so that it doesn't prevent elimination of an | |
6351 | immediately following /. or /.. | |
6352 | ||
4c9ca1a3 JD |
6353 | 2006-01-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6354 | ||
6355 | * gtkutil.c (xg_toggle_notify_cb): New function. | |
6356 | (xg_toggle_visibility_cb): Move setting of x_gtk_show_hidden_files to | |
6357 | xg_toggle_notify_cb. | |
6358 | (xg_get_file_with_chooser): Add callback to xg_toggle_notify_cb when | |
6359 | parameter value changes so the toggle button gets updated. | |
6360 | ||
340bb2ea NR |
6361 | 2006-01-06 Nick Roberts <nickrob@snap.net.nz> |
6362 | ||
6363 | * .gdbinit: Fix typo. | |
6364 | ||
feaf060a EZ |
6365 | 2006-01-05 Eli Zaretskii <eliz@gnu.org> |
6366 | ||
6367 | * .gdbinit: Fix last change. | |
6368 | ||
c22cc558 KS |
6369 | 2006-01-05 Kim F. Storm <storm@cua.dk> |
6370 | ||
6371 | * process.c (Fmake_network_process): Use AF_INET instead of | |
22e6707e | 6372 | AF_UNSPEC when AF_INET6 is not defined. |
c22cc558 | 6373 | |
07f9b01c YM |
6374 | 2006-01-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6375 | ||
6376 | * mac.c (mac_coerce_file_name_ptr, mac_coerce_file_name_desc): | |
6377 | Don't check that the other type is known file-related one. | |
6378 | ||
6379 | * macfns.c (Fx_server_version): Use gestaltSystemVersionMajor, | |
6380 | gestaltSystemVersionMinor, and gestaltSystemVersionBugFix on Mac | |
6381 | OS X 10.4 and later. | |
6382 | ||
0facd9c3 JD |
6383 | 2006-01-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6384 | ||
6385 | * gtkutil.c (xg_get_image_for_pixmap): If the image is from a file, | |
6386 | let GTK do all image processing. Importing Emacs own pixmaps to GTK | |
6387 | looks bad for inactive tool bar items with some Gnome themes. | |
6388 | ||
805b0439 EZ |
6389 | 2006-01-04 Eli Zaretskii <eliz@gnu.org> |
6390 | ||
913645cd EZ |
6391 | * .gdbinit: Avoid a warning message when x_error_quitter is not |
6392 | compiled in. | |
6393 | ||
805b0439 EZ |
6394 | * process.c [WINDOWSNT]: Undef AF_INET6 to disable IPv6 support |
6395 | for w32. | |
6396 | ||
0f5642c2 KS |
6397 | 2006-01-04 Kim F. Storm <storm@cua.dk> |
6398 | ||
8a5db8ae KS |
6399 | * process.c: Add IPv6 support. |
6400 | (Qipv4, Qipv6): New vars. | |
6401 | (syms_of_process): Intern and staticpro them. | |
6402 | (Fformat_network_address): Handle 9 or 8 element vector as IPv6 address | |
6403 | with or without port number. Handle 4 element vector as IPv4 address | |
6404 | without port number. | |
6405 | (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size) | |
6406 | (conv_lisp_to_sockaddr): Handle IPv6 addresses. | |
6407 | (Fmake_network_process): Use :family 'ipv4 and 'ipv6 to explicitly | |
6408 | request that address family only. :family nil or omitted means to | |
6409 | determine address family from the specified :host and :service. | |
6410 | (ifflag_table): Add missing OpenBSD IFF_ flags. | |
6411 | (server_accept_connection): Handle IPv6 addresses. | |
6412 | (init_process): Add (:family ipv4) and (:family ipv6) sub-features. | |
6413 | ||
0f5642c2 KS |
6414 | * .gdbinit: Undo last change. Instead, look at Vsystem_type to |
6415 | determine which breakpoints to set. | |
6416 | ||
e7b394e1 SM |
6417 | 2006-01-03 Stefan Monnier <monnier@iro.umontreal.ca> |
6418 | ||
6419 | * keymap.c (describe_map_compare): Yet another int/Lisp_Object mixup. | |
6420 | ||
6421 | * window.h (Fwindow_minibuffer_p): Declare (for use in minibuf.c). | |
6422 | ||
dcc9b98d RF |
6423 | 2006-01-03 Romain Francoise <romain@orebokech.com> |
6424 | ||
6425 | * emacs.c (main): Update copyright year. | |
6426 | ||
6918ac24 | 6427 | 2006-01-03 Ken Raeburn <raeburn@gnu.org> |
1a271e14 KR |
6428 | |
6429 | * callproc.c (delete_temp_file): Bind file-name-handler-alist to | |
6430 | nil for the call to internal_delete_file. | |
6431 | ||
bb951f0e KR |
6432 | 2006-01-01 Ken Raeburn <raeburn@gnu.org> |
6433 | ||
6434 | * callproc.c (Fcall_process_region): Bind file-name-handler-alist | |
6435 | to nil for the call to Fwrite_region. | |
6436 | ||
b20de1cd RS |
6437 | 2005-12-31 Richard M. Stallman <rms@gnu.org> |
6438 | ||
6439 | * minibuf.c (read_minibuf): Clear out all other minibuffer windows. | |
6440 | ||
b5871831 EZ |
6441 | 2005-12-31 Eli Zaretskii <eliz@gnu.org> |
6442 | ||
6443 | * emacs.c (gdb_pvec_type): A dummy variable for GDB's sake. | |
6444 | ||
c26ec07f LT |
6445 | 2005-12-30 Luc Teirlinck <teirllm@auburn.edu> |
6446 | ||
6447 | * textprop.c (set_text_properties): Reword description of return value. | |
6448 | Return Qnil if caller wants to remove all text properties from a | |
6449 | string and the string already has no intervals. | |
6450 | ||
0db017c0 SM |
6451 | 2005-12-30 Stefan Monnier <monnier@iro.umontreal.ca> |
6452 | ||
6453 | * term.c (visible_cursor): New boolean var. | |
6454 | (set_terminal_modes, tty_show_cursor): Use "vs" or "ve" depending on | |
6455 | visible_cursor. | |
6456 | (syms_of_term): Export the new var as "visible-cursor". | |
6457 | ||
fc8dc7cf EZ |
6458 | 2005-12-30 Eli Zaretskii <eliz@gnu.org> |
6459 | ||
6460 | * .gdbinit: Tell users not to worry about GDB warnings that some | |
6461 | functions do not exist in the binary. | |
6462 | ||
82a80058 AS |
6463 | 2005-12-30 Andreas Schwab <schwab@suse.de> |
6464 | ||
6465 | * process.c (Fnetwork_interface_info): Correctly terminate the | |
6466 | loop over ifflag_table. | |
6467 | ||
c36238ee RS |
6468 | 2005-12-29 Richard M. Stallman <rms@gnu.org> |
6469 | ||
d11db2c8 RS |
6470 | * lread.c (readevalloop): Test for reading a whole buffer |
6471 | before actually reading anything. Handle all cases, including | |
6472 | START = END = nil and an already-narrowed buffer. | |
6473 | Convert END to a marker if it is a number. | |
6474 | ||
c36238ee RS |
6475 | * keymap.c (describe_map): Put sparse map elements into an array, |
6476 | sort them, then output a sequence of identical bindings on one line. | |
6477 | (struct describe_map_elt): New data type. | |
6478 | (describe_map_compare): New function. | |
6479 | ||
82bc1fd6 JD |
6480 | 2005-12-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6481 | ||
e7b394e1 | 6482 | * gtkutil.c (xg_get_file_with_chooser): Change message shown |
82bc1fd6 JD |
6483 | in file chooser. |
6484 | ||
fe5195e8 RS |
6485 | 2005-12-27 Richard M. Stallman <rms@gnu.org> |
6486 | ||
6281e1e8 RS |
6487 | * lread.c (readevalloop): Set PT and ZV in the proper buffer, |
6488 | not the current one. | |
6489 | ||
6490 | * minibuf.c (Fminibuffer_message): Doc fix. | |
6491 | (read_minibuf): Set current_buffer->enable_multibyte_characters sooner. | |
6492 | ||
fe5195e8 RS |
6493 | * eval.c (do_autoload): Ignore elements of Vautoload_queue |
6494 | where car is not symbol. | |
6495 | ||
0d9fb289 KH |
6496 | 2005-12-27 Kenichi Handa <handa@m17n.org> |
6497 | ||
6498 | * charset.c (lisp_string_width): Check multibyteness of STRING. | |
6499 | ||
ff9c9c59 JD |
6500 | 2005-12-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6501 | ||
14a56a1b | 6502 | * xfns.c (x_show_hidden_files): New variable. |
ff9c9c59 JD |
6503 | (syms_of_xfns): Defvar it. |
6504 | ||
6505 | * gtkutil.c (xg_toggle_visibility_cb): New function. | |
6506 | (xg_get_file_with_chooser): Add toggle hidden files and a message | |
6507 | to the new file chooser dialog. Show hidden files if | |
6508 | x_show_hidden_files is non-zero. | |
6509 | ||
d7504d5c RS |
6510 | 2005-12-26 Richard M. Stallman <rms@gnu.org> |
6511 | ||
6512 | * keyboard.h: Undo previous change. | |
6513 | ||
6514 | * Makefile.in (undo.o): Undo previous change. | |
6515 | ||
6516 | * undo.c: Undo previous change. | |
6517 | ||
0ad017ce LT |
6518 | 2005-12-26 Luc Teirlinck <teirllm@auburn.edu> |
6519 | ||
403c00a5 LT |
6520 | * keyboard.h: extern last_point_position_window. |
6521 | ||
0ad017ce LT |
6522 | * undo.c: include keyboard.h. |
6523 | ||
403c00a5 | 6524 | * Makefile.in (undo.o): Depend on keyboard.h. |
0ad017ce | 6525 | |
91e25f5e RS |
6526 | 2005-12-26 Richard M. Stallman <rms@gnu.org> |
6527 | ||
d7504d5c RS |
6528 | * commands.h (last_point_position_window): Declare. |
6529 | ||
91e25f5e RS |
6530 | * undo.c: Depend on window.h. |
6531 | (record_point): Save old point from the correct window. | |
6532 | ||
6533 | * keyboard.c (last_point_position_window): New variable. | |
6534 | (command_loop_1): Set last_point_position_window. | |
6535 | (syms_of_keyboard): Init it. | |
6536 | ||
6537 | * Makefile.in (undo.o): Depend on window.h. | |
6538 | ||
cad1051b RS |
6539 | 2005-12-25 Richard M. Stallman <rms@gnu.org> |
6540 | ||
6541 | * eval.c (un_autoload): Expect (0 . OFEATURES) in Vautoload_queue | |
6542 | to undo a `provide'. | |
6543 | ||
6544 | * fns.c (Fprovide): Store (0 . OFEATURES) in Vautoload_queue. | |
6545 | ||
d52c26e9 KB |
6546 | 2005-12-25 Giorgos Keramidas <keramida@ceid.upatras.gr> |
6547 | ||
6548 | * m/amdx86-64.h [__FreeBSD__] (START_FILES, LIB_STANDARD): | |
6549 | define for FreeBSD on this platform. | |
6550 | ||
14af1e44 YM |
6551 | 2005-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6552 | ||
6553 | * macterm.h (TYPE_FILE_NAME): New define. | |
6554 | (posix_pathname_to_fsspec, fsspec_to_posix_pathname): Remove externs. | |
6555 | ||
e7b394e1 SM |
6556 | * mac.c (posix_pathname_to_fsspec, fsspec_to_posix_pathname): |
6557 | Add prototypes. Make static. | |
14af1e44 YM |
6558 | (mac_aedesc_to_lisp): Initialize err to noErr. |
6559 | (mac_coerce_file_name_ptr, mac_coerce_file_name_desc) | |
6560 | (init_coercion_handler): New functions. | |
6561 | (Fmac_coerce_ae_data): Use coercion of Apple event data for | |
6562 | translation from/to file names. | |
6563 | ||
6564 | * macterm.c: Don't include sys/param.h. | |
6565 | (init_coercion_handler): Add extern. | |
6566 | [MAC_OS8] (main): Call init_coercion_handler. | |
6567 | (mac_initialize) [MAC_OSX]: Likewise. | |
6568 | [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Use coercion of | |
6569 | Apple event data for translation from/to file names. | |
6570 | ||
6571 | * macfns.c [TARGET_API_MAC_CARBON] (Fx_file_dialog): Likewise. | |
6572 | ||
6573 | * image.c [MAC_OS] (find_image_fsspec): Likewise. | |
6574 | ||
5fed8c15 | 6575 | 2005-12-23 Martin Rudalics <rudalics@gmx.at> |
bab3eee1 EZ |
6576 | |
6577 | * insdel.c (insert, insert_and_inherit, insert_before_markers) | |
6578 | (insert_before_markers_and_inherit): Make sure FROM is correct | |
6579 | when `after-change-functions' are called. | |
6580 | ||
90f2e16b JD |
6581 | 2005-12-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6582 | ||
6583 | * xfns.c (Fx_uses_old_gtk_dialog): New function. | |
6584 | ||
6585 | * gtkutil.c (xg_uses_old_file_dialog): New function. | |
6586 | (xg_get_file_name): Use xg_uses_old_file_dialog. | |
6587 | ||
6588 | * gtkutil.h: Declare xg_uses_old_file_dialog. | |
6589 | ||
0ee01fff RS |
6590 | 2005-12-22 Richard M. Stallman <rms@gnu.org> |
6591 | ||
6592 | * xmenu.c (xmenu_show): Call inhibit_garbage_collection. | |
6593 | ||
b73e4d84 YM |
6594 | 2005-12-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6595 | ||
6596 | * mac.c (Fmac_coerce_ae_data) [MAC_OSX]: Fix memory leak. | |
6597 | ||
6598 | * macgui.h (XCharStruct): Remove member `valid_p'. | |
6599 | (STORE_XCHARSTRUCT): Don't set member `valid_p'. | |
6600 | (XCharStructRow): New typedef. | |
e7b394e1 SM |
6601 | (XCHARSTRUCTROW_CHAR_VALID_P, XCHARSTRUCTROW_SET_CHAR_VALID): |
6602 | New macros. | |
b73e4d84 YM |
6603 | (struct MacFontStruct): Add member `bounds'. Remove member |
6604 | `per_char'. All uses for QuichDraw Text fonts are changed to | |
6605 | `bounds.per_char'. ATSUI font bounds are represented as an array | |
6606 | `bounds.rows' of XCharStructRow's, each of which consists of a | |
6607 | bitmap of valid entries and an array of char bounds. | |
6608 | ||
6609 | * macterm.c (mac_per_char_metric): Add prototype. | |
6610 | (x_per_char_metric) [USE_CG_TEXT_DRAWING]: Remove prototype. | |
6611 | (mac_query_char_extents): New function. | |
6612 | (x_per_char_metric): Use it. | |
6613 | (XLoadQueryFont): Likewise. Consolidate min/max_bounds calculations. | |
e7b394e1 SM |
6614 | [USE_CG_TEXT_DRAWING] (mac_draw_string_cg): |
6615 | Use mac_per_char_metric instead of x_per_char_metric. | |
b73e4d84 YM |
6616 | (mac_text_extents_16): New function. |
6617 | (mac_compute_glyph_string_overhangs): Use it. | |
6618 | (mac_unload_font): Free member `bounds' in struct MacFontStruct. | |
6619 | ||
a425bd03 SM |
6620 | 2005-12-21 Stefan Monnier <monnier@iro.umontreal.ca> |
6621 | ||
6622 | * minibuf.c (Fdisplay_completion_list): Use XCAR/XCDR. | |
6623 | (Fminibuffer_completion_help): Remove duplicates before display. | |
6624 | ||
aa0b0cd9 KL |
6625 | 2005-12-21 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu> |
6626 | ||
ca21600d JB |
6627 | * print.c (print_preprocess): Don't lose print_depth levels while |
6628 | iterating. | |
aa0b0cd9 | 6629 | |
5a61ec18 YM |
6630 | 2005-12-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6631 | ||
6632 | * macmenu.c (Qmac_apple_event): Add extern. | |
6633 | (set_frame_menubar, mac_menu_show keymp_panes) | |
6634 | (single_keymap_panes, list_of_panes, list_of_item) | |
6635 | (single_menu_item): Add argument types to prototypes. | |
6636 | (mac_dialog_show) [HAVE_DIALOGS]: Likewise. | |
6637 | (struct skp): New struct (from xmenu.c). | |
6638 | (single_keymap_panes, single_menu_item, list_of_panes) | |
6639 | (list_of_item): Sync with xmenu.c. | |
6640 | (Fx_popup_menu, Fx_popup_dialog): Likewise. Don't get window from | |
6641 | POSITION if it is mac-apple-event event. | |
6642 | (menubar_selection_callback): Don't use menu_command_in_progress. | |
6643 | (set_frame_menubar): First parse all submenus, then make | |
6644 | widget_value trees from them. Don't allocate any widget_value | |
6645 | objects until we are done with the parsing. | |
6646 | (parse_single_submenu, digest_single_submenu): New functions. | |
6647 | (single_submenu): Function deleted, replaced by those two. | |
523fc433 JB |
6648 | (install_menu_quit_handler) [HAVE_CANCELMENUTRACKING]: Don't create |
6649 | or dispose of EventHandlerUPP. Install hander to all submenus. | |
5a61ec18 YM |
6650 | (mac_menu_show) [!HAVE_MULTILINGUAL_MENU]: Use ENCODE_MENU_STRING |
6651 | instead of ENCODE_SYSTEM. | |
6652 | (free_frame_menubar, fill_submenu, fill_menu): Don't use NULL for | |
6653 | integer values. | |
6654 | [HAVE_DIALOGS] (mac_dialog_show): Sync with xdialog_show (in xmenu.c). | |
6655 | (add_menu_item) [TARGET_API_MAC_CARBON]: Use CFString functions to | |
6656 | format menu item string. Don't use NULL for integer value. | |
6657 | ||
6658 | * macterm.h (struct mac_output): Remove unused member | |
6659 | menu_command_in_progress. | |
6660 | ||
3bdba51d JL |
6661 | 2005-12-20 Juri Linkov <juri@jurta.org> |
6662 | ||
6663 | * xmenu.c (Fx_popup_menu): Set Vmenu_updating_frame to f if | |
6664 | position is non-nil, else set it to nil. | |
6665 | ||
6666 | * macmenu.c (Fx_popup_menu): Add `else' to set | |
6667 | Vmenu_updating_frame to nil only if position is nil. | |
6668 | ||
6669 | * w32menu.c (Fx_popup_menu): Add `else' to set | |
6670 | Vmenu_updating_frame to nil only if position is nil. | |
6671 | ||
d6a90a49 YM |
6672 | 2005-12-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6673 | ||
6674 | * keyboard.c (make_lispy_event): Drag-and-drop items are now | |
6675 | stored in member `args' of struct input_event. | |
6676 | ||
6677 | * termhooks.h (struct input_event): Fix comment for DRAG_N_DROP_EVENT. | |
6678 | ||
6679 | * xselect.c (x_handle_dnd_message): Drag-and-drop items are now | |
6680 | stored in member `args' of struct input_event. | |
6681 | ||
6682 | * w32term.c (construct_drag_n_drop): Likewise. | |
6683 | ||
6684 | * macterm.c (mac_do_receive_drag): Likewise. | |
6685 | (x_use_underline_position_properties): Undo 2005-07-13 change. | |
6686 | (syms_of_macterm) <x-use-underline-position-properties>: Likewise. | |
6687 | (mac_use_core_graphics, mac_wheel_button_is_mouse_2) | |
a425bd03 SM |
6688 | (mac_pass_command_to_system, mac_pass_control_to_system): |
6689 | New boolean variables renamed from Lisp_Object ones | |
d6a90a49 | 6690 | Vmac_use_core_graphics, Vmac_wheel_button_is_mouse_2, |
a425bd03 SM |
6691 | Vmac_pass_command_to_system, and Vmac_pass_control_to_system. |
6692 | All uses changed. | |
d6a90a49 YM |
6693 | (syms_of_macterm): DEFVAR_BOOL them. Remove previous DEFVAR_LISPs. |
6694 | Make them user options. | |
a425bd03 SM |
6695 | (mac_handle_command_event, mac_store_services_event): |
6696 | Call create_apple_event_from_event_ref without 5th argument. | |
d6a90a49 YM |
6697 | (backtranslate_modified_keycode): Mask off modifier keys that are |
6698 | mapped to some Emacs modifiers before passing it to KeyTranslate. | |
6699 | (syms_of_macterm): Make variables `mac-emulate-three-button-mouse', | |
6700 | `mac-wheel-button-is-mouse-2', and `mac-*-modifier' user options. | |
6701 | Fix docstrings of `mac-*-modifier'. | |
6702 | ||
6703 | * mac.c (create_apple_event_from_event_ref): Remove arg `types'. | |
a425bd03 SM |
6704 | (do_applescript): Change argument types to Lisp_Object. |
6705 | All uses changed. | |
d6a90a49 YM |
6706 | |
6707 | * macterm.h (create_apple_event_from_event_ref): Remove 5th | |
6708 | argument from extern. | |
6709 | ||
20d1c5c5 DN |
6710 | 2005-12-18 Dan Nicolaescu <dann@ics.uci.edu> |
6711 | ||
6712 | * xfns.c (Fx_backspace_delete_keys_p): In case we cannot determine | |
6713 | the answer, return `lambda', not nil. | |
6714 | ||
abeb5855 EZ |
6715 | 2005-12-17 Eli Zaretskii <eliz@gnu.org> |
6716 | ||
6717 | * makefile.w32-in (bootstrap-temacs): Warn that parts of commands | |
6718 | enclosed in $(ARGQUOTE)s should not be split between two lines, as | |
6719 | that will break with GNU Make >3.80, when sh.exe is used and | |
6720 | arg quoting is with '..'. | |
6721 | ||
6b8dfbf7 CY |
6722 | 2005-12-17 Chong Yidong <cyd@stupidchicken.com> |
6723 | ||
6724 | * print.c (print_preprocess): Just signal an error if print_depth | |
6725 | is exceeded. | |
6726 | ||
d912b87a EZ |
6727 | 2005-12-17 Eli Zaretskii <eliz@gnu.org> |
6728 | ||
6729 | * .gdbinit: Set a breakpoint on w32_abort. | |
6730 | ||
2a502a32 JL |
6731 | 2005-12-16 Juri Linkov <juri@jurta.org> |
6732 | ||
6733 | * minibuf.c (Fminibuffer_completion_contents): New Lisp function | |
6734 | created from minibuffer_completion_contents. | |
6735 | (minibuffer_completion_contents): Remove. | |
6736 | (do_completion, Fminibuffer_complete_word) | |
6737 | (Fminibuffer_completion_help): Replace minibuffer_completion_contents | |
6738 | with Fminibuffer_completion_contents. | |
6739 | (syms_of_minibuf): Add Sminibuffer_completion_contents. | |
6740 | (Fdisplay_completion_list): Doc fix. | |
6741 | (display_completion_list_1): Use `nil' for second arg of | |
6742 | `Fdisplay_completion_list'. | |
6743 | ||
bf63eb69 JD |
6744 | 2005-12-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6745 | ||
6746 | * xfns.c (compute_tip_xy): Handle negative dx and dy. | |
6747 | ||
a425bd03 | 6748 | * w32fns.c (compute_tip_xy): Ditto. |
bf63eb69 | 6749 | |
a425bd03 | 6750 | * macfns.c (compute_tip_xy): Ditto. |
bf63eb69 | 6751 | |
9b98e161 CY |
6752 | 2005-12-14 Chong Yidong <cyd@stupidchicken.com> |
6753 | ||
6754 | * print.c (print_preprocess): Go to a deeper print_depth to avoid | |
6755 | print_object loop. | |
6756 | ||
89aa725a KH |
6757 | 2005-12-14 Kyotaro HORIGUCHI <horiguti@meadowy.org> (tiny change) |
6758 | ||
6759 | * coding.c (code_convert_region_unwind): GCPRO arg. | |
6760 | ||
3b006f5b JD |
6761 | 2005-12-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6762 | ||
57134802 JD |
6763 | * xfns.c (compute_tip_xy): Calculate root_y the same way as root_x, |
6764 | i.e. dy is offset from top of frame instead of bottom. | |
6765 | ||
6766 | * macfns.c (compute_tip_xy): Ditto. | |
6767 | ||
6768 | * w32fns.c (compute_tip_xy): Ditto. | |
6769 | ||
3b006f5b JD |
6770 | * gtkutil.c (SSDATA): New macro to remove compiler warnings. |
6771 | (xg_get_image_for_pixmap, xg_create_frame_widgets) | |
6772 | (xg_get_file_with_chooser): Use SSDATA instead of SDATA. | |
6773 | ||
6774 | * xmenu.c (menubar_selection_callback): Do nothing if the callback | |
6775 | is for an unselected radio menu item. | |
6776 | ||
2cb33a98 RS |
6777 | 2005-12-11 Richard M. Stallman <rms@gnu.org> |
6778 | ||
6779 | * xdisp.c (syms_of_xdisp) <blink-cursor-alist>: Doc fix. | |
6780 | ||
6781 | * lisp.h [! NO_UNION_TYPE] (EQ): Use == so args are computed just once. | |
6782 | ||
6783 | * keymap.c (Fset_keymap_parent, store_in_keymap): Use CHECK_IMPURE. | |
6784 | (Flookup_key): Doc fix. | |
6785 | (syms_of_keymap) <function-key-map>: Doc fix. | |
6786 | ||
6787 | * fns.c (Frequire): Treat evaluating from a source file | |
6788 | like loading the file. | |
6789 | ||
6790 | * floatfns.c (Flog): Doc fix. | |
6791 | ||
6792 | * fileio.c (Finsert_file_contents): Set Vdeactivate_mark | |
6793 | when we change the buffer. | |
6794 | ||
d7d1f75e JL |
6795 | 2005-12-11 Juri Linkov <juri@jurta.org> |
6796 | ||
6797 | * minibuf.c (display_completion_list_1): | |
6798 | Call `minibuffer_completion_contents' instead of using `nil' as | |
6799 | second arg of `Fdisplay_completion_list'. | |
6800 | (keys_of_minibuf): Unbind SPC in | |
6801 | Vminibuffer_local_filename_completion_map (see also related | |
6802 | change on 2005-12-06). | |
6803 | ||
ac8fcf0f YM |
6804 | 2005-12-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6805 | ||
6806 | * emacs.c (main) [MAC_OS8]: Undo previous change. | |
6807 | ||
6808 | * macselect.c (syms_of_macselect) <mac-apple-event-map>: | |
6809 | Initialize to nil. Keymap is now created in lisp/term/mac-win.el. | |
6810 | ||
4b3eb407 YM |
6811 | 2005-12-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6812 | ||
6813 | * Makefile.in (macselect.o): Depend on keymap.h. | |
6814 | ||
6815 | * emacs.c (main) [MAC_OS8]: Call syms_of_keymap before | |
6816 | syms_of_macselect. | |
6817 | ||
6818 | * image.c (init_image) [MAC_OS]: Don't call EnterMovies. | |
6819 | [!HAVE_GIF && MAC_OS] (gif_load): Call EnterMovies. | |
6820 | ||
6821 | * keyboard.c (Qmac_apple_event) [MAC_OS]: New variable. | |
6822 | (syms_of_keyboard) [MAC_OS]: Initialize it. | |
6823 | (make_lispy_event) [MAC_OS]: Build lisp event for MAC_APPLE_EVENT. | |
6824 | ||
6825 | * mac.c (Qundecoded_file_name): New variable. | |
6826 | (syms_of_mac): Initialize it. | |
6827 | (mac_aelist_to_lisp, mac_aedesc_to_lisp): New functions. | |
a425bd03 | 6828 | [TARGET_API_MAC_CARBON] (create_apple_event_from_event_ref): New fun. |
4b3eb407 YM |
6829 | (Fmac_coerce_ae_data): New defun. |
6830 | (syms_of_mac): Defsubr it. | |
6831 | ||
6832 | * macselect.c: Include keymap.h. | |
6833 | (mac_ready_for_apple_events): New variable. | |
6834 | (Vmac_apple_event_map, Qmac_apple_event_class) | |
6835 | (Qmac_apple_event_id): New variables. | |
6836 | (syms_of_macselect): Initialize them. | |
6837 | (Qundefined, mac_store_apple_event): Add externs. | |
6838 | (struct apple_event_binding): New struct. | |
6839 | (find_event_binding_fun, find_event_binding) | |
6840 | (mac_find_apple_event_spec, defer_apple_events) | |
6841 | (mac_handle_apple_event, init_apple_event_handler) | |
6842 | (copy_scrap_flavor_data): New functions. | |
6843 | (Fmac_process_deferred_apple_events): New defun. | |
6844 | (syms_of_macselect): Defsubr it. | |
6845 | (mac_store_services_event): Fix extern. | |
6846 | (mac_handle_service_event): Don't allocate Lisp objects during | |
6847 | asynchronous input processing. Use mac_store_services_event | |
6848 | instead of mac_store_application_menu_event. | |
6849 | ||
6850 | * macterm.c (Qmac_ready_for_drag_n_drop, Qapplication, Qabout) | |
6851 | (Qpreferences): Remove variables. | |
59d8a9dc | 6852 | (syms_of_macterm): Don't initialize them. |
4b3eb407 YM |
6853 | (Qhicommand) [USE_CARBON_EVENTS]: New variable. |
6854 | (syms_of_macterm) [USE_CARBON_EVENTS]: Initialize it. | |
6855 | (init_required_apple_events, do_ae_open_application) | |
6856 | (do_ae_print_documents, do_ae_open_documents) | |
6857 | (do_ae_quit_application): Remove functions and prototypes. | |
6858 | (mac_ready_for_apple_events, Qundefined, init_apple_event_handler) | |
6859 | (mac_find_apple_event_spec): Add externs. | |
6860 | (mac_store_application_menu_event): Remove function. | |
6861 | (mac_store_apple_event, mac_make_lispy_event_code): New functions. | |
6862 | (mac_handle_command_event): Create Apple event from Carbon event. | |
6863 | Use mac_store_apple_event instead of mac_store_application_menu_event. | |
6864 | [MAC_OSX] (mac_store_services_event): Likewise. | |
6865 | (struct SelectionRange, SelectionRange): Remove struct and typedef. | |
6866 | [MAC_OS8] (main): Call init_apple_event_handler instead of | |
6867 | init_required_apple_events. | |
6868 | (mac_initialize) [MAC_OSX]: Likewise. | |
e7b394e1 SM |
6869 | [!USE_CARBON_EVENTS] (mac_wait_next_event): |
6870 | Use mac_ready_for_apple_events instead of Qmac_ready_for_drag_n_drop. | |
4b3eb407 | 6871 | |
e7b394e1 SM |
6872 | * macterm.h (mac_make_lispy_event_code, mac_aedesc_to_lisp): |
6873 | Add externs. | |
4b3eb407 YM |
6874 | (create_apple_event_from_event_ref) [TARGET_API_MAC_CARBON]: Likewise. |
6875 | (Fmac_get_preference): Add EXFUN. | |
6876 | ||
6877 | * termhooks.h (enum event_kind) [MAC_OS]: Add new MAC_APPLE_EVENT | |
6878 | event. | |
6879 | ||
e358e052 RS |
6880 | 2005-12-09 Richard M. Stallman <rms@gnu.org> |
6881 | ||
6882 | * xfns.c (Fx_create_frame): Reinstate previous change. | |
6883 | ||
9ea74bfb EZ |
6884 | 2005-12-09 Eli Zaretskii <eliz@gnu.org> |
6885 | ||
6886 | * w32fns.c (w32_abort) [__GNUC__]: Add instructions for attaching | |
6887 | GDB to the abort dialog. | |
6888 | ||
9dd28cae | 6889 | 2005-12-09 Kyotaro HORIGUCHI <horiguti@meadowy.org> (tiny change) |
84fdb82c KS |
6890 | |
6891 | * indent.c (Fvertical_motion): Force move if starting on | |
6892 | stretch glyph. | |
6893 | ||
2fda6977 RS |
6894 | 2005-12-08 Richard M. Stallman <rms@gnu.org> |
6895 | ||
2663a204 RS |
6896 | * lread.c (read_escape) <\s>: Don't treat strings specially. |
6897 | ||
2fda6977 RS |
6898 | * xfns.c (Fx_create_frame): Comment out previous change. |
6899 | ||
225c13a5 KL |
6900 | 2005-12-07 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu> |
6901 | ||
6902 | * xfns.c (Fx_create_frame): Initialize Vdefault_minibuffer_frame, | |
6903 | when needed. | |
6904 | ||
da8ec671 SM |
6905 | 2005-12-06 Stefan Monnier <monnier@iro.umontreal.ca> |
6906 | ||
6907 | * minibuf.c (keys_of_minibuf): Just unbind SPC in | |
6908 | Vminibuffer_local_filename_completion_map rather than forcing it | |
6909 | explicitly to the same binding as the global map. | |
6910 | ||
88fde92a KR |
6911 | 2005-12-06 Ken Raeburn <raeburn@gnu.org> |
6912 | ||
e7b394e1 | 6913 | * buffer.c (Fkill_buffer): Avoid dangerous side effects in NILP args. |
88fde92a | 6914 | * bytecode.c (Fbyte_code): Likewise. |
e7b394e1 | 6915 | * fileio.c (internal_delete_file, Fread_file_name_internal): Likewise. |
88fde92a KR |
6916 | * minibuf.c (Fminibuffer_complete_and_exit): Likewise. |
6917 | * undo.c (truncate_undo_list): Likewise. | |
6918 | ||
fa0d4d0c RS |
6919 | 2005-12-05 Richard M. Stallman <rms@gnu.org> |
6920 | ||
6921 | * window.c (enlarge_window): Eliminate arg preserve_before. | |
6922 | Assume it is 0. All callers changed. | |
6923 | (Fenlarge_window, Fshrink_window): Likewise. | |
6924 | ||
5a98616e EZ |
6925 | 2005-12-02 Eli Zaretskii <eliz@gnu.org> |
6926 | ||
6927 | * w32fns.c (compute_tip_xy): Put tip above pointer if it doesn't | |
6928 | fit below. | |
6929 | ||
1dbacb90 JD |
6930 | 2005-12-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6931 | ||
6932 | * xterm.h: Add prototype for xg_set_icon_from_xpm_data. | |
6933 | ||
6934 | * xfns.c (x_real_positions): int ign => unsigned int. | |
6935 | (xg_set_icon_from_xpm_data): Remove unused variable err. | |
6936 | (x_set_name_internal, Fx_create_frame, xg_set_icon): Add cast | |
6937 | to remove compiler warning. | |
6938 | (compute_tip_xy): Put tip above pointer if it doesn't fit below. | |
6939 | ||
0a79da1b EZ |
6940 | 2005-12-02 David Reitter <david.reitter@gmail.com> |
6941 | ||
6942 | * minibuf.c (Fcompleting_read): If Vminibuffer_completing_file_name is | |
6943 | non-nil, use the new keymaps Vminibuffer_local_filename_completion_map | |
6944 | and Vminibuffer_local_must_match_filename_map keymaps. | |
6945 | (keys_of_minibuf): Bind SPC in the new file-name completion keymaps. | |
6946 | ||
6947 | * keymap.c (Vminibuffer_local_filename_completion_map) | |
6948 | (Vminibuffer_local_must_match_filename_map): New variables. | |
6949 | (syms_of_keymap): DEFVAR_LISP them, initialize them, and set their | |
6950 | parent to be Vminibuffer_local_completion_map and | |
6951 | Vminibuffer_local_must_match_map, respectively. | |
6952 | ||
6953 | * commands.h (Vminibuffer_local_filename_completion_map) | |
6954 | (Vminibuffer_local_must_match_filename_map): Declare the new keymaps. | |
6955 | ||
e67a1dea SM |
6956 | 2005-12-01 Stefan Monnier <monnier@iro.umontreal.ca> |
6957 | ||
6958 | * window.c (Fset_window_configuration): Don't accidentally copy the | |
6959 | window-point of one window to another. | |
6960 | ||
6ad0f04d KL |
6961 | 2005-11-30 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu> |
6962 | ||
7854b2a3 | 6963 | * buffer.c (Fpop_to_buffer): Remove superfluous call to record_buffer. |
6ad0f04d | 6964 | |
4269a2fd KS |
6965 | 2005-11-30 Kim F. Storm <storm@cua.dk> |
6966 | ||
6967 | * alloc.c: Include fcntl.h. Define O_WRONLY if not defined. | |
6968 | (valid_lisp_object_p) [!GC_MARK_STACK]: Validate pointer by | |
6969 | passing it to `emacs_write'. | |
6970 | ||
96013ba9 SM |
6971 | 2005-11-29 Ari Roponen <arjuropo@cc.jyu.fi> (tiny change) |
6972 | ||
6973 | * atimer.c (stop_other_atimers): Fix loop to correctly compute `prev'. | |
6974 | ||
161ef3be RS |
6975 | 2005-11-27 Richard M. Stallman <rms@gnu.org> |
6976 | ||
6977 | * window.c (adjust_window_trailing_edge): New function. | |
6978 | (Fadjust_window_trailing_edge): New function. | |
96013ba9 | 6979 | (syms_of_window): Defsubr it. |
161ef3be RS |
6980 | (window_deletion_count): New variable. |
6981 | (delete_window): Update window_deletion_count. | |
6982 | ||
02b1a164 EZ |
6983 | 2005-11-26 Eli Zaretskii <eliz@gnu.org> |
6984 | ||
6985 | * minibuf.c (syms_of_minibuf): Mention the extension of | |
6986 | `completion-auto-help's meaning by complete.el. | |
6987 | ||
07908aec EZ |
6988 | 2005-11-26 Henrik Enberg <henrik.enberg@telia.com> |
6989 | ||
96013ba9 | 6990 | * xfaces.c (Finternal_set_lisp_face_attribute_from_resource): |
07908aec EZ |
6991 | Handle :inherit property as a lisp expression. |
6992 | ||
b9c7cbf9 YM |
6993 | 2005-11-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6994 | ||
6995 | * macterm.c (Qcontrol): Rename from Qctrl. All uses changed. | |
6996 | (syms_of_macterm): Staticpro Qcontrol, Qmeta, Qalt, Qhyper, | |
6997 | Qsuper, and Qmodifier_value. | |
6998 | (Vmac_control_modifier, Vmac_option_modifier) | |
6999 | (Vmac_command_modifier, Vmac_function_modifier) | |
7000 | (Vmac_emulate_three_button_mouse, Vmac_wheel_button_is_mouse_2) | |
7001 | (Vmac_pass_command_to_system, Vmac_pass_control_to_system) | |
7002 | (Vmac_charset_info_alist): Doc fixes. | |
7003 | ||
2c012c41 YM |
7004 | 2005-11-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7005 | ||
7006 | * emacs.c (main) [MAC_OSX]: Change working directory to home | |
7007 | directory if `-psn_*' option is specified. | |
7008 | ||
7009 | * mac.c (DECODE_UTF_8): Remove macro. | |
7010 | [TARGET_API_MAC_CARBON] (cfstring_to_lisp_nodecode): New function | |
7011 | created from cfstring_to_lisp. | |
7012 | [TARGET_API_MAC_CARBON] (cfstring_to_lisp): Use it. | |
7013 | (xrm_get_preference_database) [TARGET_API_MAC_CARBON]: Likewise. | |
7014 | ||
7015 | * macterm.h (cfstring_to_lisp_nodecode) [TARGET_API_MAC_CARBON]: | |
7016 | Add prototype. | |
7017 | ||
88fde92a | 7018 | 2005-11-21 Ken Raeburn <raeburn@gnu.org> |
d7c0be75 KR |
7019 | |
7020 | * keymap.c (shadow_lookup): Use make_number to pass a number to | |
7021 | Fsubstring. | |
7022 | ||
17c1971a JL |
7023 | 2005-11-21 Juri Linkov <juri@jurta.org> |
7024 | ||
7025 | * puresize.h (BASE_PURESIZE): Increment to 1180000. | |
7026 | ||
0268cef3 CY |
7027 | 2005-11-20 Chong Yidong <cyd@stupidchicken.com> |
7028 | ||
96013ba9 SM |
7029 | * xfaces.c (Finternal_set_lisp_face_attribute): |
7030 | Use :ignore-defface for new frame defaults when `unspecified' is | |
0268cef3 CY |
7031 | supplied. |
7032 | (Finternal_get_lisp_face_attribute): Hide :ignore-defface. | |
67d23e01 CY |
7033 | (merge_face_vectors): Don't do :ignore-defface overwriting here. |
7034 | (Finternal_merge_in_global_face): Do it here. | |
0268cef3 | 7035 | |
dd949173 JL |
7036 | 2005-11-20 Juri Linkov <juri@jurta.org> |
7037 | ||
7038 | * charset.c (invalid_character): Use Lisp-readable syntax | |
7039 | for octal and hex. Reorder decimal, octal and hex values. | |
7040 | ||
76986433 NR |
7041 | 2005-11-20 Nick Roberts <nickrob@snap.net.nz> |
7042 | ||
7043 | * lisp.h: Use typedef when Lisp_Object is EMACS_INT so that | |
7044 | this type is recognised when debugging. | |
7045 | ||
603add2d AS |
7046 | 2005-11-19 Andreas Schwab <schwab@suse.de> |
7047 | ||
7048 | * .gdbinit (nextcons, xcdr, xfloat): Update for changes in | |
7049 | Lisp_Cons and Lisp_Float. | |
7050 | ||
125ce9ec YM |
7051 | 2005-11-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7052 | ||
7053 | * macterm.c [USE_CG_TEXT_DRAWING] (cg_text_anti_aliasing_threshold): | |
7054 | New variable. | |
96013ba9 | 7055 | [USE_CG_TEXT_DRAWING] (init_cg_text_anti_aliasing_threshold): New fun. |
125ce9ec YM |
7056 | (init_font_name_table) [USE_ATSUI && USE_CG_TEXT_DRAWING]: Use it. |
7057 | [USE_CG_TEXT_DRAWING] (mac_draw_string_cg): Don't do antialiasing if | |
7058 | font size is smaller than or equal to cg_text_anti_aliasing_threshold. | |
7059 | ||
2ff10663 CY |
7060 | 2005-11-17 Chong Yidong <cyd@stupidchicken.com> |
7061 | ||
96013ba9 | 7062 | * image.c (x_create_bitmap_from_xpm_data): Free attributes on fail. |
fe45ad15 | 7063 | |
2ff10663 CY |
7064 | * xfaces.c (Qignore_defface): New variable. |
7065 | (syms_of_xfaces): Provide `:ignore-defface'. | |
7066 | (IGNORE_DEFFACE_P): New macro. | |
05338727 CY |
7067 | (check_lface_attrs, lface_fully_specified_p) |
7068 | (Finternal_set_lisp_face_attribute) | |
96013ba9 SM |
7069 | (Fface_attribute_relative_p, Fmerge_face_attribute): |
7070 | Handle Qignore_defface as a possible value. | |
2ff10663 CY |
7071 | (merge_face_vectors): The merged face is `unspecified' if the |
7072 | mergee specifies `:ignore-defface'. | |
7073 | ||
c01f0ed3 SM |
7074 | 2005-11-16 Stefan Monnier <monnier@iro.umontreal.ca> |
7075 | ||
7076 | * lread.c (readevalloop): Add missing GCPROs. | |
7077 | ||
786a43d6 CY |
7078 | 2005-11-16 Chong Yidong <cyd@stupidchicken.com> |
7079 | ||
9f7b984b CY |
7080 | * xfns.c (xg_set_icon_from_xpm_data): New function. |
7081 | ||
c01f0ed3 SM |
7082 | * gnu.h (gnu_xpm_bits): Rename from gnu_bits. |
7083 | (gnu_xbm_bits): Rename from gnu_bits (xbm version). | |
786a43d6 CY |
7084 | |
7085 | * xterm.c (x_bitmap_icon): Use the xpm if available. | |
7086 | ||
7087 | * image.c (x_create_bitmap_from_xpm_data): New function. | |
54188d8f | 7088 | (x_create_bitmap_from_xpm_data): Initialize XpmAttributes. |
786a43d6 | 7089 | |
8ab84823 LT |
7090 | 2005-11-15 Luc Teirlinck <teirllm@auburn.edu> |
7091 | ||
7092 | * Makefile.in (lisp, shortlisp): Add rfn-eshadow. | |
7093 | ||
3671718b NR |
7094 | 2005-11-16 Nick Roberts <nickrob@snap.net.nz> |
7095 | ||
7096 | * .gdbinit: Make SIGTSTP work like SIGINT normally does. | |
7097 | ||
28a099a4 AS |
7098 | 2005-11-15 Andreas Schwab <schwab@suse.de> |
7099 | ||
7100 | * lisp.h (struct Lisp_Cons): Make cdr a union. | |
7101 | (XCDR_AS_LVALUE): Adjust. | |
7102 | (struct Lisp_Float): Make data a union. | |
7103 | (XFLOAT_DATA): Adjust. | |
7104 | ||
7105 | * alloc.c (free_float): Make free list chaining aliasing-safe. | |
7106 | (make_float): Likewise. | |
7107 | (free_cons): Likewise. | |
7108 | (Fcons): Likewise. | |
7109 | (check_cons_list): Likewise. | |
7110 | (Fmake_symbol): Likewise. | |
7111 | (allocate_misc): Likewise. | |
7112 | (free_misc): Likewise. | |
7113 | (gc_sweep): Likewise. | |
7114 | ||
308a6607 YM |
7115 | 2005-11-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7116 | ||
fc09d07f YM |
7117 | * mac.c (HASHKEY_QUERY_CACHE): New define. |
7118 | (xrm_create_database, xrm_q_put_resource): Empty query cache. | |
7119 | (xrm_get_resource): Use query cache. | |
7120 | ||
308a6607 YM |
7121 | * image.c (init_image) [MAC_OS]: Don't call EnterMovies if |
7122 | inhibit_window_system is set. | |
7123 | ||
29b585db YM |
7124 | 2005-11-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7125 | ||
7126 | * macgui.h (USE_CG_TEXT_DRAWING): New define. | |
7127 | (struct MacFontStruct) [USE_CG_TEXT_DRAWING]: New members cg_font | |
7128 | and cg_glyphs. | |
7129 | ||
7130 | * macterm.c [USE_CG_TEXT_DRAWING] (mac_draw_string_cg): New function. | |
7131 | (x_draw_glyph_string_foreground) [USE_CG_TEXT_DRAWING]: Use it. | |
7132 | (XLoadQueryFont) [USE_CG_TEXT_DRAWING]: Set members cg_font and | |
7133 | cg_glyphs in struct MacFontStruct if synthesized bold or italic is | |
7134 | not used and font substitution never occurs for ASCII and Latin-1 | |
7135 | characters. | |
7136 | (XLoadQueryFont): Maximum and minimum metrics are now those among | |
7137 | ASCII characters. | |
7138 | (XLoadQueryFont) [!MAC_OS8 || USE_ATSUI]: Apply WebKit-style | |
7139 | height adjustments for Courier, Helvetica, and Times. | |
7140 | ||
7141 | * s/darwin.h (LIBS_CARBON) [!HAVE_CARBON]: Remove `-framework Carbon'. | |
7142 | ||
9dd28cae | 7143 | 2005-11-11 David Reitter <david.reitter@gmail.com> |
b02e3f7b | 7144 | |
dff79d04 | 7145 | * macterm.c (syms_of_macterm): Remove macCtrlKey, macShiftKey, |
267ee78f | 7146 | macMetaKey, macAltKey. Introduce Qctrl, Qmeta, |
dff79d04 ST |
7147 | Vmac_control_modifier / mac-control-modifier, |
7148 | Vmac_option_modifier / mac-option-modifier, | |
7149 | Vmac_command_modifier / mac-command-modifier. | |
7150 | (mac_to_emacs_modifiers): Use the new style modifier | |
c01f0ed3 SM |
7151 | variables. Return UInt32 (modifiers are longs now.) |
7152 | (backtranslate_modified_keycode): New function (refactoring). | |
7153 | (XTread_socket): Use new modifier variables and refactored function. | |
7154 | (mac_determine_quit_char_modifiers): Remove macMetaKey (there is | |
7155 | no dedicated meta key. Not in use anyway.) | |
b02e3f7b ST |
7156 | (convert_fn_keycode): Map Fn-keys to their original keycode |
7157 | using a table (english keyboard only). | |
b02e3f7b | 7158 | |
6a77a9f5 KS |
7159 | 2005-11-11 Kim F. Storm <storm@cua.dk> |
7160 | ||
ab4d879e KS |
7161 | * .gdbinit (pitx): Fix output format if n_overlay_strings > 0. |
7162 | Add post hook to "backtrace" to always dump lisp call stack to | |
7163 | increase chance of people sending it to us when reporting bugs. | |
7164 | ||
8c41220c KS |
7165 | * doc.c (Fsubstitute_command_keys): Doc fix. |
7166 | ||
6a77a9f5 KS |
7167 | * dispextern.h (struct it): New member ignore_overlay_strings_at_pos_p. |
7168 | ||
7169 | * xdisp.c (handle_stop): Skip overlay string handling if | |
7170 | ignore_overlay_strings_at_pos_p is set. | |
7171 | (set_iterator_to_next): At end of display vector, set | |
7172 | ignore_overlay_strings_at_pos_p if dpvec came from an overlay | |
7173 | string, so we skip those overlay strings at current pos. | |
7174 | ||
9dd28cae | 7175 | 2005-11-10 Lars Hansen <larsh@soem.dk> |
19a9c3b7 LH |
7176 | |
7177 | * fileio.c (file-regular-p): Doc fix. | |
7178 | ||
932954d1 KS |
7179 | 2005-11-10 Kim F. Storm <storm@cua.dk> |
7180 | ||
7181 | * alloc.c (valid_lisp_object_p): New function to validate that | |
7182 | an object is really a valid Lisp_Object. | |
7183 | ||
7184 | * lisp.h (valid_lisp_object_p): Add prototype. | |
7185 | ||
7186 | * print.c (safe_debug_print): New function to be called from gdb | |
7187 | to print Lisp objects; use valid_lisp_object_p to avoid crashing | |
7188 | if user tries to print something which is not a Lisp object. | |
7189 | ||
7190 | * .gdbinit (pp, pp1): Use safe_debug_print. | |
7191 | (pv, pv1): New commands to print value of a lisp variable. | |
7192 | ||
78e5988d NR |
7193 | 2005-11-10 Nick Roberts <nickrob@snap.net.nz> |
7194 | ||
7195 | * .gdbinit (pp1): New user-defined function. | |
7196 | ||
f56a5bd8 YM |
7197 | 2005-11-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7198 | ||
7199 | * image.c [MAC_OSX] (image_load_quartz2d): Fix memory leak. | |
7200 | ||
7201 | * mac.c [MAC_OSX] (init_mac_osx_environment): Reinitialize locale | |
7202 | related variables for dumped executable. | |
7203 | ||
7204 | * unexmacosx.c (unexec_write_zero): New function. | |
7205 | (copy_data_segment): Clear uninitialized local variables in | |
7206 | statically linked libraries. | |
7207 | ||
7208 | * s/darwin.h (C_SWITCH_SYSTEM): Remove -fno-common. | |
7209 | ||
58b6f884 JL |
7210 | 2005-11-09 Juri Linkov <juri@jurta.org> |
7211 | ||
7212 | * keymap.c (shadow_lookup): If Flookup_key returns a number, | |
7213 | call it again with a sub-key-sequence, and if its return value | |
7214 | is non-nil (sub-key is bound), return nil. | |
7215 | ||
1f5f957a KS |
7216 | 2005-11-08 Kim F. Storm <storm@cua.dk> |
7217 | ||
7218 | * process.c (Fsignal_process): Recognize signal names with and | |
7219 | without SIG prefix, e.g. SIGHUP and HUP. | |
7220 | ||
7221 | * search.c (search_buffer): No need to initialize base_pat. | |
7222 | ||
20b69789 SM |
7223 | 2005-11-04 Stefan Monnier <monnier@iro.umontreal.ca> |
7224 | ||
7225 | * window.c (Fget_lru_window, Fget_largest_window, window_loop): | |
7226 | Don't abuse the `mini' arg. Use the `obj' arg instead. | |
7227 | ||
7353f169 KS |
7228 | 2005-11-04 Kim F. Storm <storm@cua.dk> |
7229 | ||
7230 | * xdisp.c (show_mouse_face): Clear mouse face to eol. | |
7231 | ||
1f7b1131 DN |
7232 | 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu> |
7233 | ||
7234 | * Makefile.in (lisp, shortlisp): Add emacs-lisp/syntax.elc, | |
7235 | font-lock.elc and jit-lock.elc. | |
7236 | ||
e082564e RS |
7237 | 2005-11-03 Richard M. Stallman <rms@gnu.org> |
7238 | ||
7239 | * window.c (Fenlarge_window): Rename SIDE to HORIZONTAL. | |
7240 | (enlarge_window): Rename WIDTHFLAG to HORIZ_FLAG. | |
7241 | (CURBEG, CURSIZE): Use HORIZ_FLAG instead of WIDTHFLAG. | |
7242 | ||
7243 | * sheap.c (STATIC_HEAP_SIZE): Increment both definitions. | |
7244 | ||
7245 | * alloc.c (refill_memory_reserve): Move decl out of conditionals. | |
7246 | ||
49e99345 SM |
7247 | 2005-11-03 Stefan Monnier <monnier@iro.umontreal.ca> |
7248 | ||
7249 | * window.c (Fdisplay_buffer): Fix last change to not use | |
7250 | a dedicated window. | |
7251 | ||
8f15921b KS |
7252 | 2005-11-01 Kim F. Storm <storm@cua.dk> |
7253 | ||
7254 | * fringe.c (update_window_fringes): Undo 2005-10-27 change. | |
7255 | Instead, rotate the bottom angle bitmap 180 degrees to indicate | |
7256 | that the bottom row does not end in a newline. | |
7257 | ||
b4235a80 AS |
7258 | 2005-11-01 Andreas Schwab <schwab@suse.de> |
7259 | ||
7260 | * unexelf.c (unexec): Handle .plt section in BSS segment. | |
7261 | ||
3cbb13c8 SM |
7262 | 2005-11-01 Stefan Monnier <monnier@iro.umontreal.ca> |
7263 | ||
e5f64be2 SM |
7264 | * lread.c (readevalloop): Yet another int/Lisp_Object mixup (YAILOM). |
7265 | ||
3cbb13c8 SM |
7266 | * window.c (window_loop): For LRU and LARGEST, let the `mini' argument |
7267 | determine whether to consider dedicated windows as well. | |
7268 | (Fget_lru_window, Fget_largest_window): Add `dedicated' argument. | |
7269 | (Fdisplay_buffer): Do consider dedicated windows in those cases where | |
7270 | we will split the window rather than reuse it. | |
7271 | Don't try to use windows on other displays. | |
7272 | ||
c94f08ff DN |
7273 | 2005-10-31 Dan Nicolaescu <dann@ics.uci.edu> |
7274 | ||
7275 | * puresize.h (BASE_PURESIZE): Increment to 1170000. | |
7276 | ||
edf84ae9 RF |
7277 | 2005-10-31 Romain Francoise <romain@orebokech.com> |
7278 | ||
7279 | * macfns.c: Update copyright year. | |
7280 | * m/gould.h: Likewise. | |
7281 | ||
6f07f649 KS |
7282 | 2005-10-30 Kim F. Storm <storm@cua.dk> |
7283 | ||
7284 | * xdisp.c (display_line): Restore it->current_x and call | |
7285 | extend_face_to_end_of_line when last glyph doesn't fit on line. | |
9dd28cae | 7286 | (set_glyph_string_background_width): Remove specific tests here |
6f07f649 KS |
7287 | to see if face background should extend to end of line. Simplify. |
7288 | ||
4d74a5fc RS |
7289 | 2005-10-30 Richard M. Stallman <rms@gnu.org> |
7290 | ||
7291 | * alloc.c (BYTES_USED): Use uordblks, not arena. | |
7292 | (bytes_used_when_reconsidered): New variable. | |
7293 | (emacs_blocked_free): Set that. | |
7294 | ||
bccfb310 CY |
7295 | 2005-10-29 Chong Yidong <cyd@stupidchicken.com> |
7296 | ||
7297 | * alloc.c (emacs_blocked_free): Fix typo. | |
7298 | ||
f5b8d5f2 RS |
7299 | 2005-10-29 Richard M. Stallman <rms@gnu.org> |
7300 | ||
4d74a5fc RS |
7301 | * data.c (Fmake_variable_frame_local): Doc fix. |
7302 | ||
f5b8d5f2 RS |
7303 | * xdisp.c (handle_fontified_prop): Do nothing if memory full. |
7304 | (format_mode_line_unwind_data): New arg SAVE_PROPTRANS | |
7305 | controls whether to save and restore mode_line_proptrans_alist. | |
7306 | Callers changed. | |
7307 | (unwind_format_mode_line): Work with that feature. | |
7308 | (redisplay_internal): Don't call prepare_menu_bars if memory full. | |
7309 | (move_elt_to_front): New function. | |
7310 | (display_mode_element): Use move_elt_to_front. | |
7311 | Don't bother munging text props on a null string. | |
7312 | Delete obsolete elts from mode_line_proptrans_alist. | |
7313 | (decode_mode_spec): Test Vmemory_full, not spare_memory. | |
685abb98 | 7314 | (Fformat_mode_line): Clear mode_line_proptrans_alist after saving. |
f5b8d5f2 | 7315 | |
49e99345 SM |
7316 | * lisp.h (memory_full_cons_threshold): Declare. |
7317 | (internal_lisp_condition_case): Declare. | |
f5b8d5f2 RS |
7318 | |
7319 | * alloc.c (syms_of_alloc) <memory-full>: Doc fix. | |
7320 | (Fmemory_full_p): Function deleted. | |
7321 | (syms_of_alloc): Don't defsubr it. | |
7322 | (memory_full_cons_threshold): New variable. | |
7323 | (spare_memory): Now a vector of 7 elts. | |
7324 | (buffer_memory_full): Don't set Vmemory_full here. | |
7325 | (xfree): Don't try to refill here. | |
7326 | (emacs_blocked_free): Record BYTES_USED in local var. | |
7327 | (memory_full): Now free all the slots in spare_memory. | |
7328 | (refill_memory_reserve): Allocate each slot in spare_memory. | |
7329 | (init_alloc_once): Call refill_memory_reserve. | |
7330 | ||
7331 | * keyboard.c (command_loop_1): Don't set Vmemory_full here. | |
7332 | ||
7333 | * eval.c (internal_lisp_condition_case): New function. | |
7334 | (Fcondition_case): Use internal_lisp_condition_case. | |
7335 | (Feval): Test Vmemory_full and memory_full_cons_threshold. | |
7336 | (Ffuncall): Likewise. | |
7337 | ||
7338 | * bytecode.c (Fbyte_code): Use internal_lisp_condition_case. | |
7339 | ||
c390e28c SM |
7340 | 2005-10-29 Stefan Monnier <monnier@iro.umontreal.ca> |
7341 | ||
7342 | * syntax.c (Fparse_partial_sexp): Fix docstring. | |
7343 | ||
ab5d87b3 RF |
7344 | 2005-10-28 Romain Francoise <romain@orebokech.com> |
7345 | ||
c390e28c | 7346 | * puresize.h (BASE_PURESIZE): Increment to 1130000. |
ab5d87b3 | 7347 | |
107fb6c9 RS |
7348 | 2005-10-28 Richard M. Stallman <rms@gnu.org> |
7349 | ||
7350 | * xfns.c (syms_of_xfns): Provide `x' as feature. | |
7351 | ||
7352 | * xdisp.c (decode_mode_spec): Define %e to indicate memory full. | |
7353 | ||
7354 | * editfns.c (Fformat): Don't include string padding | |
7355 | between info[n].start and info[n].end. | |
7356 | ||
7357 | * alloc.c (spare_memory): No longer static. | |
7358 | (xfree) [!SYSTEM_MALLOC]: Call refill_memory_reserve. | |
7359 | ||
c390e28c | 7360 | * puresize.h (BASE_PURESIZE): Increment to 1120000. |
107fb6c9 | 7361 | |
f351b58b CY |
7362 | 2005-10-27 Chong Yidong <cyd@stupidchicken.com> |
7363 | ||
c390e28c | 7364 | * data.c (Fmake_variable_frame_local): Add clarification to docstring. |
437610c5 | 7365 | |
f351b58b CY |
7366 | * fringe.c (update_window_fringes): Handle case where buffer ends |
7367 | with a newline. | |
7368 | ||
581e7427 KH |
7369 | 2005-10-27 Kenichi Handa <handa@m17n.org> |
7370 | ||
7371 | * coding.h (DECODE_SYSTEM): Fix argument name; name->str. | |
7372 | ||
7373 | 2005-10-24 Kenichi Handa <handa@m17n.org> | |
7374 | ||
7375 | * charset.h (charset_mule_unicode_0100_24ff) | |
7376 | (charset_mule_unicode_2500_33ff, charset_mule_unicode_e000_ffff): | |
7377 | Extern them. | |
7378 | ||
7379 | * charset.c (charset_mule_unicode_0100_24ff) | |
7380 | (charset_mule_unicode_2500_33ff, charset_mule_unicode_e000_ffff): | |
7381 | New variables. | |
7382 | (Fsetup_special_charsets): Initialize them. | |
7383 | ||
7384 | * xterm.c (handle_one_xevent): Handle keysyms directly mapped to | |
7385 | supported Unicode characters. | |
7386 | ||
813fa8a8 JR |
7387 | 2005-10-25 Jason Rumney <jasonr@gnu.org> |
7388 | ||
7389 | * w32fns.c (w32_to_x_font): Avoid forcing font widths. | |
7390 | ||
05f7d868 YM |
7391 | 2005-10-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7392 | ||
7393 | * image.c [MAC_OS] (image_load_qt_1): Check image size. | |
7394 | Use GraphicsImportGetImageDescription instead of | |
7395 | GraphicsImportGetNaturalBounds. | |
7396 | [MAC_OSX] (image_load_quartz2d): Check image size. | |
7397 | [MAC_OS] (xpm_load_image): Likewise. | |
7398 | ||
7399 | * macterm.c (last_mouse_glyph_frame): New var. | |
7400 | (note_mouse_movement): Say mouse moved if current frame differs | |
7401 | from last_mouse_glyph_frame, and update last_mouse_glyph_frame. | |
7402 | (XTmouse_position): Set last_mouse_glyph_frame. | |
7403 | (XTread_socket): Clear last_mouse_glyph_frame on mouse up/down event. | |
29b585db | 7404 | (mac_draw_string_common) [USE_ATSUI && WORDS_BIG_ENDIAN]: Fix typo. |
05f7d868 YM |
7405 | Use EndianU16_BtoN. |
7406 | (mac_draw_string_common) [MAC_OSX]: Don't use ATSUClearLayoutControls. | |
7407 | (x_per_char_metric, XLoadQueryFont) | |
7408 | [MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Use device origins to get | |
7409 | glyph bounds. | |
7410 | (mac_to_x_fontname, mac_do_list_fonts) | |
7411 | (mac_initialize_display_info): Change screen resolutions to 72dpi. | |
7412 | ||
128e729d MY |
7413 | 2005-10-25 Masatake YAMATO <jet@gyve.org> |
7414 | ||
7415 | * minibuf.c (Fdisplay_completion_list): Small doc fix. | |
7416 | ||
59017afb KS |
7417 | 2005-10-24 Kim F. Storm <storm@cua.dk> |
7418 | ||
94717db1 KS |
7419 | * xterm.c: Undo 2005-10-23 change. |
7420 | (last_mouse_glyph_frame): New var. | |
7421 | (note_mouse_movement): Say mouse moved if current frame differs | |
7422 | from last_mouse_glyph_frame, and update last_mouse_glyph_frame. | |
7423 | (XTmouse_position): Set last_mouse_glyph_frame. | |
7424 | (handle_one_xevent): Clear last_mouse_glyph_frame [instead of | |
7425 | last_mouse_glyph] on mouse up/down event. | |
7426 | ||
59017afb KS |
7427 | * editfns.c (Fcompare_buffer_substrings): Fix last change. |
7428 | ||
7c5ba0d2 SM |
7429 | 2005-10-23 Stefan Monnier <monnier@iro.umontreal.ca> |
7430 | ||
7431 | * editfns.c (Fcompare_buffer_substrings): Handle multibyte chars. | |
7432 | ||
a4b0e228 JD |
7433 | 2005-10-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7434 | ||
7435 | * xterm.c (note_mouse_movement): Always call note_mouse_highlight | |
7436 | so tool tips don't interfere with press on tool bar button. | |
7437 | ||
f6a18aa2 RS |
7438 | 2005-10-23 Richard M. Stallman <rms@gnu.org> |
7439 | ||
7440 | * casetab.c (Fset_case_table): Doc fix. | |
7441 | ||
7442 | * lread.c (build_load_history): Replace STREAM arg with ENTIRE. | |
7443 | (readevalloop): Compute ENTIRE properly. | |
7444 | (syms_of_lread) <load-history>: Doc fix. | |
7445 | ||
45158e77 RS |
7446 | 2005-10-21 Richard M. Stallman <rms@gnu.org> |
7447 | ||
7448 | * lread.c (Fload): Simplify gcpro structure. | |
7449 | Gcpro FOUND as well as FILE, but not EFOUND. | |
7450 | Unless preloading, record FOUND instead of FILE in Vload_history. | |
7451 | Rename repeat local FILE to MSG_FILE. | |
7452 | (syms_of_lread) <load-history>: Doc fix. | |
7453 | ||
dfa1cd4d KH |
7454 | 2005-10-21 Kenichi Handa <handa@m17n.org> |
7455 | ||
96664fc0 | 7456 | * search.c (boyer_moore): Add parens to fix and/or precedence bug. |
dfa1cd4d | 7457 | |
1064a9ea KS |
7458 | 2005-10-20 Kim F. Storm <storm@cua.dk> |
7459 | ||
7460 | * buffer.c (clone_per_buffer_values): Remove unused var tem. | |
7461 | (init_buffer): Remove unused vars dotstat, pwdstat. | |
7462 | ||
7463 | * ccl.c (check_ccl_update): Remove unused var vp. | |
7464 | ||
7465 | * fileio.c (auto_save_error): Call SAFE_FREE. | |
7466 | ||
7467 | * fns.c (Fchar_table_range): Remove unused var i. | |
7468 | ||
7469 | * minibuf.c (display_completion_list_1): New wrapper function | |
7470 | for Fdisplay_completion_list. | |
7471 | (Fminibuffer_completion_help): Use it. | |
7472 | ||
7473 | * term.c (encode_terminal_code): Remove unused var src_start. | |
7474 | ||
7475 | * window.c (Fwindow_tree): Remove unused var alist. | |
7476 | ||
7477 | * xterm.c (x_calc_absolute_position): Remove unused vars win_x, win_y. | |
7478 | ||
ce13796f EZ |
7479 | 2005-10-20 Aubrey Jaffer <agj@alum.mit.edu> (tiny change) |
7480 | ||
20b69789 | 7481 | * unexelf.c (unexec): Fix calls to `fatal' with less than 3 arguments. |
ce13796f | 7482 | |
ad9c16d3 EZ |
7483 | 2005-10-20 Olli Savia <ops@iki.fi> (tiny change) |
7484 | ||
7485 | * syssignal.h [__Lynx__]: Undef SIGPOLL along with SIGIO. | |
7486 | ||
26e9d2cf AS |
7487 | 2005-10-20 Andreas Schwab <schwab@suse.de> |
7488 | ||
7489 | * minibuf.c (Fdisplay_completion_list): Doc fix. | |
7490 | ||
e50165ec KS |
7491 | 2005-10-19 Kim F. Storm <storm@cua.dk> |
7492 | ||
7493 | * image.c (check_image_size): Handle integer Vmax_image_size value | |
7494 | directly as max pixel value. Use default frame size for null frame. | |
7495 | (syms_of_image) <max-image-size>: Describe integer value. | |
7496 | ||
d7b94c98 RF |
7497 | 2005-10-19 Romain Francoise <romain@orebokech.com> |
7498 | ||
7499 | * emacs.c (main): Update copyright year. | |
7500 | ||
f1f25b99 CY |
7501 | 2005-10-18 Chong Yidong <cyd@stupidchicken.com> |
7502 | ||
7503 | * image.c (Vmax_image_size): New variable. | |
7504 | (check_image_size): New function. | |
7505 | (xbm_read_bitmap_data, pbm_load, png_load, jpeg_load, tiff_load) | |
7506 | (gif_load, gs_load): Use it. | |
7507 | (lookup_image): Try loading again if previous load failed. | |
7508 | (xbm_read_bitmap_data): Add a new argument, a pointer to the frame | |
7509 | to display in, NULL if none. | |
7510 | (xbm_load_image, xbm_file_p): Pass xbm_read_bitmap_data the new | |
7511 | argument. | |
7512 | ||
f42d19a2 RS |
7513 | 2005-10-18 Richard M. Stallman <rms@gnu.org> |
7514 | ||
7515 | * search.c (Fstring_match): Doc fix. | |
7516 | ||
bcbdafce YM |
7517 | 2005-10-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7518 | ||
7519 | * macterm.c (note_mouse_movement): Use PtInRect. | |
7520 | (XTread_socket): Also ignore mouse motion just before a button | |
7521 | release event. Don't process button release event when mouse is | |
7522 | not grabbed. | |
7523 | ||
f5fab556 MY |
7524 | 2005-10-16 Masatake YAMATO <jet@gyve.org> |
7525 | ||
7526 | * minibuf.c (Fdisplay_completion_list): Add new optional | |
e5f64be2 | 7527 | argument COMMON_SUBSTRING. Bind `completion-common-substring' |
f5fab556 MY |
7528 | to the optional argument during running `completion-setup-hook'. |
7529 | ||
2ef1363e YM |
7530 | 2005-10-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7531 | ||
7532 | * mac.c [TARGET_API_MAC_CARBON] (get_cfstring_encoding_from_lisp): | |
7533 | Allow nil as argument. | |
59d8a9dc | 7534 | [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): Regard nil |
2ef1363e YM |
7535 | for encoding arguments as UTF-16 in native byte order, no BOM. |
7536 | ||
7537 | * macfns.c (Fx_create_frame): Add debugging code. | |
7538 | (Fx_show_tip): Set frame pixel width and height. | |
7539 | ||
7540 | * macterm.c (MAC_WINDOW_NORMAL_GC): Remove macro. | |
7541 | (FRAME_NORMAL_GC): New macro. | |
7542 | (mac_draw_line, mac_clear_area, mac_clear_window) | |
7543 | (mac_fill_rectangle, mac_draw_string, mac_draw_string_16) | |
7544 | (mac_draw_image_string, mac_draw_image_string_16): Rename from | |
7545 | XDrawLine, XClearArea, XClearWindow, XFillRectangle, XDrawString, | |
7546 | XDrawString16, XDrawImageString, and XDrawImageString16, respectively. | |
7547 | All uses changed. | |
7548 | (mac_draw_line, mac_erase_rectangle, mac_clear_area) | |
7549 | (mac_clear_window, mac_draw_bitmap, mac_draw_rectangle) | |
7550 | (mac_invert_rectangle, mac_draw_string_common, mac_draw_string) | |
7551 | (mac_draw_string_16, mac_draw_image_string) | |
7552 | (mac_draw_image_string_16, mac_copy_area, mac_copy_area_with_mask) | |
7553 | (mac_scroll_area): Drawing functions now take frame as destination. | |
7554 | All uses changed. | |
7555 | (mac_draw_string_common): Get port height with FRAME_PIXEL_HEIGHT. | |
7556 | (x_draw_fringe_bitmap): Set clipping area in face->gc. | |
7557 | ||
7558 | * macterm.h (mac_clear_area): Add extern. | |
7559 | ||
fc5c7550 YM |
7560 | 2005-10-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7561 | ||
7562 | * macterm.c (note_mouse_movement, XTread_socket): Apply 2005-10-14 | |
7563 | changes for xterm.c. | |
7564 | ||
7565 | * w32term.c (note_mouse_movement, w32_read_socket): Likewise. | |
7566 | ||
fed91c38 KH |
7567 | 2005-10-14 Kenichi Handa <handa@m17n.org> |
7568 | ||
7569 | * search.c (search_buffer): Give up BM search on case-fold-search | |
7570 | if one of a target character has a case-equivalence of different | |
7571 | charset even if that target charcter is an ASCII. | |
7572 | ||
7573 | * casefiddle.c (casify_object): Fix for the case that case | |
7574 | conversion change the byte length. | |
7575 | ||
0ea1a8af KS |
7576 | 2005-10-14 Kim F. Storm <storm@cua.dk> |
7577 | ||
7578 | * xterm.c (note_mouse_movement): Return 1 if mouse moved; 0 otherwise. | |
7579 | (handle_one_xevent): Only clear help_echo_string; restore it if | |
7580 | note_mouse_movement didn't record any mouse movement. | |
7581 | ||
7582 | * xdisp.c (pos_visible_p): Convert w->hscroll to pixels before use. | |
7583 | (remember_mouse_glyph): Clear RECT if mouse is over an image glyph. | |
7584 | ||
647b07d1 AS |
7585 | * keyboard.c (make_lispy_position): Adjust wx for left margin if |
7586 | ON_TEXT. | |
0ea1a8af KS |
7587 | (Fposn_at_x_y): Fix calculation of x coordinate. |
7588 | (Fposn_at_point): Return nil if point is hscrolled out of view. | |
7589 | ||
6e5b2385 AS |
7590 | 2005-10-13 Andreas Schwab <schwab@suse.de> |
7591 | ||
7592 | * sysdep.c (request_sigio, unrequest_sigio): Do nothing in | |
7593 | non-interactive mode. | |
7594 | ||
6de0e1a2 YM |
7595 | 2005-10-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7596 | ||
7597 | * xterm.c, w32term.c, macterm.c (note_mouse_movement): Undo last change. | |
7598 | ||
78f3b91f KS |
7599 | 2005-10-12 Kim F. Storm <storm@cua.dk> |
7600 | ||
7601 | * xterm.c (handle_one_xevent): Clear last_mouse_glyph on mouse up/down. | |
7602 | ||
b639c9be RF |
7603 | 2005-10-12 Romain Francoise <romain@orebokech.com> |
7604 | ||
7605 | * buffer.c (init_buffer): Rename `rc' to `len' for clarity. | |
7606 | ||
76d8f04c YM |
7607 | 2005-10-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7608 | ||
7609 | * xdisp.c (remember_mouse_glyph): Use MATRIX_BOTTOM_TEXT_ROW to | |
7610 | get end of text rows. Obtain header-line/mode-line rows directly. | |
7611 | ||
96013ba9 SM |
7612 | * xterm.c, w32term.c, macterm.c (note_mouse_movement): |
7613 | Restore help_echo_string if mouse is moved inside last_mouse_glyph. | |
621036f9 | 7614 | |
d76432f5 KS |
7615 | 2005-10-12 Kim F. Storm <storm@cua.dk> |
7616 | ||
7a127784 KS |
7617 | * xdisp.c (remember_mouse_glyph): New generic version based on |
7618 | glyph_rect and remember_mouse_glyph from xterm.c enhanced to | |
7619 | properly handle all different window areas. | |
7620 | ||
7621 | * dispextern.h (remember_mouse_glyph): Add prototype. | |
7622 | ||
7623 | * xterm.c (glyph_rect, remember_mouse_glyph): Remove X versions. | |
7624 | (note_mouse_movement, XTmouse_position): Use generic | |
7625 | remember_mouse_glyph, add last_mouse_glyph arg. | |
7626 | ||
7627 | * w32term.c (note_mouse_movement): Fix last_mouse_glyph check. | |
7628 | (glyph_rect, remember_mouse_glyph): Remove w32 specific versions. | |
7629 | (note_mouse_movement, w32_mouse_position): Use generic | |
7630 | remember_mouse_glyph, add last_mouse_glyph arg. | |
7631 | ||
7632 | * macterm.c (note_mouse_movement): Add call to remember_mouse_glyph. | |
7633 | (glyph_rect, remember_mouse_glyph): Remove mac specific versions. | |
7634 | (XTmouse_position): Adapt to use generic remember_mouse_glyph | |
7635 | instead of pixel_to_glyph_coords. | |
7636 | ||
d76432f5 KS |
7637 | * window.c (coordinates_in_window): Fix x position for ON_RIGHT_MARGIN. |
7638 | Fix x position for ON_TEXT when left margin width > 0. | |
7639 | ||
55a4ac3e KS |
7640 | 2005-10-11 Kim F. Storm <storm@cua.dk> |
7641 | ||
d76432f5 | 7642 | * window.c (coordinates_in_window): Fix y position for ON_SCROLL_BAR. |
55a4ac3e KS |
7643 | |
7644 | * keyboard.c (make_lispy_position): Fix buffer calculations for | |
7645 | mouse click or movement in right fringe and the margins. | |
7646 | ||
2d4713aa JB |
7647 | 2005-10-11 Juanma Barranquero <lekktu@gmail.com> |
7648 | ||
7649 | * image.c (fn_jpeg_stdio_src): Don't define it. | |
7650 | (init_jpeg_functions): Don't initialize `fn_jpeg_stdio_src'. | |
7651 | (our_common_init_source): Rename from `our_init_source'. | |
7652 | (our_common_term_source): Rename from `our_term_source'. | |
7653 | (our_memory_fill_input_buffer): Rename from | |
7654 | `our_fill_input_buffer'. | |
7655 | (our_memory_skip_input_data): Rename from `our_skip_input_data'. | |
7656 | (jpeg_memory_src): Use the new names. | |
7657 | (struct jpeg_stdio_mgr): New struct. | |
7658 | (JPEG_STDIO_BUFFER_SIZE): New constant. | |
7659 | (our_stdio_fill_input_buffer, our_stdio_skip_input_data) | |
7660 | (jpeg_file_src): New functions. | |
7661 | (jpeg_load): Use `jpeg_file_src' instead of `fn_jpeg_stdio_src'. | |
7662 | ||
71b7a47f YM |
7663 | 2005-10-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7664 | ||
7665 | * macterm.c (PER_CHAR_METRIC): Remove unused macro. | |
7666 | (fm_font_family_alist): New variable. | |
7667 | (syms_of_macterm): Initialize and staticpro it. | |
7668 | (decode_mac_font_name): Replace '-' in family name with '_' if it | |
7669 | occurs just once. Lower family name. | |
7670 | (parse_x_font_name): Rename from x_font_name_to_mac_font_name. | |
7671 | All uses changed. Remove argument MF and code conversion for it. | |
7672 | Add argument SIZE. Rename argument MF_DECODED to FAMILY, and CS | |
7673 | to CHARSET. Parse font size. Lower family name. Return integer | |
7674 | value for status of parsing. | |
7675 | (init_font_name_table) [USE_ATSUI]: Use decode_mac_font_name. | |
7676 | Don't use Fdowncase because family name is already lowered by | |
7677 | decode_mac_font_name. | |
96013ba9 SM |
7678 | (init_font_name_table): Always call decode_mac_font_name. |
7679 | Add pair of family name and its reference to fm_font_family_alist. | |
71b7a47f YM |
7680 | (mac_clear_font_name_table): Clear fm_font_family_alist. |
7681 | (XLoadQueryFont): Move font size parsing part to parse_x_font_name. | |
7682 | Lookup fm_font_family_alist to get font family reference. | |
7683 | (XLoadQueryFont) [USE_ATSUI]: Don't use Fdowncase because family | |
7684 | name is already lowered by parse_x_font_name. | |
7685 | ||
74051a92 KS |
7686 | 2005-10-11 Kim F. Storm <storm@cua.dk> |
7687 | ||
31ab1f05 KS |
7688 | * xterm.c (glyph_rect): Return 0 if position is outside text area. |
7689 | ||
74051a92 KS |
7690 | * keyboard.c (make_lispy_position): Fix buffer position calculation for |
7691 | mouse click or movement in fringe. | |
7692 | ||
9b909870 JR |
7693 | 2005-10-10 Jason Rumney <jasonr@gnu.org> |
7694 | ||
7695 | * xterm.c (remember_mouse_glyph): New function. | |
58af5591 | 7696 | (note_mouse_movement): Use it to remember the current glyph if changed. |
9b909870 | 7697 | (XTmouse_position): Fix calculation of fake glyph under mouse. |
58af5591 | 7698 | Move code to calculate glyph under mouse into remember_mouse_glyph. |
9b909870 | 7699 | |
f9e36a6d JD |
7700 | 2005-10-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7701 | ||
58af5591 | 7702 | * emacs.c (USAGE3, standard_args): -nb => -nbi. |
f9e36a6d | 7703 | |
04bc7945 JB |
7704 | 2005-10-10 Juanma Barranquero <lekktu@gmail.com> |
7705 | ||
7706 | * frame.c (Fredirect_frame_focus): Fix typos in docstring. | |
7707 | (next_frame, prev_frame, set_term_frame_name): Make static. | |
7708 | ||
7709 | * window.c (Fwindow_tree): Fix spelling. | |
7710 | ||
41791a20 RF |
7711 | 2005-10-09 Romain Francoise <romain@orebokech.com> |
7712 | ||
7713 | * window.c (Fwindow_end): Don't try to redisplay if non-interactive. | |
7714 | ||
e313fc07 JD |
7715 | 2005-10-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7716 | ||
58af5591 KS |
7717 | * emacs.c (standard_args): Remove options -i, -itype, --icon-type. |
7718 | Add options -nb, --no-bitmap-icon. | |
e313fc07 JD |
7719 | |
7720 | * xfns.c (Fx_create_frame): Make bitmapIcon have default on. | |
7721 | ||
61e62f5f YM |
7722 | 2005-10-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7723 | ||
7724 | * macgui.h (MAX_CLIP_RECTS): New define. | |
7725 | (struct _XGC): New member clip_region. | |
7726 | (struct _XGC) [MAC_OSX && USE_ATSUI]: New members n_clip_rects and | |
7727 | clip_rects. | |
7728 | ||
7729 | * macterm.c (GC_CLIP_REGION): New macro. | |
7730 | (saved_port_clip_region): New variable. | |
7731 | (mac_begin_clip, mac_end_clip): New functions. | |
7732 | (XDrawLine, mac_erase_rectangle, mac_draw_bitmap, XFillRectangle) | |
7733 | (mac_draw_rectangle, mac_draw_string_common, mac_copy_area) | |
7734 | (mac_copy_area_with_mask, mac_scroll_area): Use them. | |
7735 | (mac_set_clip_rectangle, mac_reset_clipping): Remove functions. | |
7736 | [USE_ATSUI] (atsu_get_text_layout_with_text_ptr) | |
7737 | [MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Specify kATSLineFractDisable. | |
7738 | (mac_draw_string_common) [MAC_OSX && USE_ATSUI]: Clip to clipping | |
7739 | rectangles stored in gc. | |
71b7a47f | 7740 | (XFreeGC): Dispose of clipping region. |
61e62f5f YM |
7741 | (mac_set_clip_rectangles, mac_reset_clip_rectangles): New functions. |
7742 | (x_draw_fringe_bitmap, x_set_glyph_string_clipping) | |
7743 | (x_draw_relief_rect, x_draw_box_rect, x_draw_stretch_glyph_string) | |
7744 | (x_draw_glyph_string, x_clip_to_row, x_draw_hollow_cursor) | |
7745 | (x_draw_bar_cursor): Use them. | |
7746 | (x_set_glyph_string_clipping): Use get_glyph_string_clip_rects to | |
7747 | get multiple clipping rectangles. | |
7748 | ||
7749 | * macterm.h (mac_term_init): Add types to extern. | |
7750 | (struct mac_output): Remove members mWP and pending_menu_activation. | |
f7270128 | 7751 | Put members scroll_bar_foreground_pixel and |
61e62f5f YM |
7752 | scroll_bar_background_pixel in #if 0. |
7753 | (FRAME_MAC_WINDOW, FRAME_X_WINDOW): Use window_desc. | |
7754 | ||
7755 | * xfaces.c (x_create_gc, x_free_gc) [MAC_OS]: Add BLOCK_INPUT. | |
2ef1363e | 7756 | Add debugging code. |
61e62f5f | 7757 | |
ef1b4c9e KS |
7758 | 2005-10-08 Kim F. Storm <storm@cua.dk> |
7759 | ||
7760 | * window.c (window_tree, Fwindow_tree): Rename fns added 2005-10-04. | |
7761 | ||
f1010549 KS |
7762 | 2005-10-07 Kim F. Storm <storm@cua.dk> |
7763 | ||
7764 | * dispnew.c (redraw_overlapped_rows, redraw_overlapping_rows) | |
7765 | [!HAVE_WINDOW_SYSTEM]: Don't declare them... | |
7766 | (update_window) [!HAVE_WINDOW_SYSTEM]: ...and don't call them. | |
7767 | ||
c2ded1b7 YM |
7768 | 2005-10-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7769 | ||
7770 | * dispextern.h (struct glyph_string): Rename member for_overlaps_p | |
7771 | to for_overlaps. Now occupy 3 bits. | |
7772 | (OVERLAPS_PRED, OVERLAPS_SUCC, OVERLAPS_BOTH) | |
7773 | (OVERLAPS_ERASED_CURSOR): New defines. | |
7774 | (struct redisplay_interface): Add new OVERLAPS arg to member | |
7775 | fix_overlapping_area. | |
7776 | (x_fix_overlapping_area): Add new OVERLAPS arg. | |
7777 | (get_glyph_string_clip_rects): Add extern. | |
7778 | ||
96013ba9 SM |
7779 | * dispnew.c (redraw_overlapping_rows): |
7780 | Call rif->fix_overlapping_area with new OVERLAPS arg as redrawn part. | |
c2ded1b7 YM |
7781 | |
7782 | * xdisp.c: Rename member for_overlaps_p in struct glyph_string to | |
7783 | for_overlaps. | |
7784 | (get_glyph_string_clip_rects): New function created from | |
f1010549 KS |
7785 | get_glyph_string_clip_rect. Set clipping rectangles according to the |
7786 | value of for_overlaps. Enable to store multiple clipping rectangles. | |
c2ded1b7 YM |
7787 | (get_glyph_string_clip_rect): Use get_glyph_string_clip_rects. |
7788 | (fill_composite_glyph_string, fill_glyph_string, draw_glyphs): | |
7789 | Rename argument OVERLAPS_P to OVERLAPS. All uses in macros changed. | |
f7270128 | 7790 | (x_fix_overlapping_area): Add OVERLAPS arg. Pass it to draw_glyphs. |
c2ded1b7 | 7791 | (draw_phys_cursor_glyph): Set width of erased cursor to use it for |
f1010549 KS |
7792 | calculating clipping rectangles later. Call x_fix_overlapping_area |
7793 | with new OVERLAPS arg to draw only erased cursor area. | |
f7270128 | 7794 | (expose_overlaps): Call x_fix_overlapping_area with new OVERLAPS arg |
f1010549 | 7795 | to draw overlaps in both preceding and succeeding rows. |
c2ded1b7 YM |
7796 | |
7797 | * xterm.c, w32term.c, macterm.c: Rename member for_overlaps_p in | |
7798 | struct glyph_string to for_overlaps. | |
7799 | ||
a19a0003 RS |
7800 | 2005-10-04 Richard M. Stallman <rms@gnu.org> |
7801 | ||
7802 | * alloc.c (refill_memory_reserve): Conditionalize the body, | |
7803 | not the function's existence. | |
7804 | ||
abc8ce50 KS |
7805 | 2005-10-04 Kim F. Storm <storm@cua.dk> |
7806 | ||
7807 | * window.c (window_split_tree): New function. | |
7808 | (Fwindow_split_tree): New defun. | |
7809 | (syms_of_window): Defsubr it. | |
7810 | ||
66533b25 YM |
7811 | 2005-10-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7812 | ||
7813 | * macterm.c (mac_invert_rectangle): New function. | |
7814 | (XTflash): Use it. | |
7815 | ||
4156359e SM |
7816 | 2005-10-04 Stefan Monnier <monnier@iro.umontreal.ca> |
7817 | ||
4e2f601f SM |
7818 | * regex.h (re_char): Don't expose it in the interface. |
7819 | (re_set_whitespace_regexp): Adjust the arg's type to not use it. | |
7820 | ||
7821 | * regex.c (re_char): Move it back here. | |
7822 | (re_set_whitespace_regexp): Change the arg's type to not use it. | |
7823 | ||
4156359e SM |
7824 | * keyboard.c (make_lispy_event): If point has moved between down and up |
7825 | event, make it a drag, not a click, to mirror what | |
7826 | mouse-drag-region expects. | |
7827 | ||
eb27c2ca DN |
7828 | 2005-10-02 Dan Nicolaescu <dann@ics.uci.edu> |
7829 | ||
7830 | * lisp.h (fatal): Undo previous change. | |
7831 | * term.c (fatal): Undo previous change. | |
7832 | ||
b059f7d0 RS |
7833 | 2005-10-01 Richard M. Stallman <rms@gnu.org> |
7834 | ||
7835 | * xfaces.c (face_color_gray_p): Colors close to black count as gray. | |
7836 | ||
21a9a7be KS |
7837 | 2005-10-01 Kim F. Storm <storm@cua.dk> |
7838 | ||
7839 | * xdisp.c (try_window): Skip scroll-margin check if ZV is visible. | |
7840 | ||
ddcb7665 YM |
7841 | 2005-10-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7842 | ||
7843 | * keyboard.c (init_keyboard) [MAC_OSX]: Don't install SIGINT handler. | |
7844 | ||
7845 | * macfns.c (start_hourglass): Apply 2005-05-07 change for xfns.c. | |
2ef1363e | 7846 | (x_create_tip_frame) [GLYPH_DEBUG]: Uncomment debugging code. |
4156359e SM |
7847 | (Fx_create_frame, x_create_tip_frame) [USE_ATSUI]: |
7848 | Try ATSUI-compatible 12pt Monaco font first. | |
ddcb7665 YM |
7849 | |
7850 | * macgui.h (struct _XCharStruct): New member valid_p. | |
7851 | (STORE_XCHARSTRUCT): Set valid_p. | |
7852 | (struct MacFontStruct) [USE_ATSUI]: New member mac_style. | |
7853 | ||
7854 | * macterm.c (mac_draw_string_common, x_per_char_metric) | |
7855 | (mac_compute_glyph_string_overhangs, init_font_name_table) | |
7856 | (XLoadQueryFont, mac_unload_font) [USE_ATSUI]: Add ATSUI support. | |
7857 | (atsu_get_text_layout_with_text_ptr) [USE_ATSUI]: New function. | |
7858 | (x_draw_glyph_string_background) | |
7859 | (x_draw_glyph_string_foreground) [MAC_OS8 && USE_ATSUI]: Don't use | |
7860 | XDrawImageString. Always draw background and foreground separately. | |
7861 | (x_draw_glyph_string_foreground) [USE_ATSUI]: Don't use 8-bit | |
7862 | functions for one-byte chars when using ATSUI-compatible fonts. | |
7863 | (atsu_font_id_hash) [USE_ATSUI]: New variable. | |
7864 | (syms_of_macterm) [USE_ATSUI]: Initialize and staticpro it. | |
7865 | (XLoadQueryFont): Set min_byte1, max_byte1, min_char_or_byte2, and | |
7866 | max_char_or_byte2 more in detail. | |
7867 | (quit_char_comp, mac_check_for_quit_char) [MAC_OSX]: Remove functions. | |
7868 | ||
fa8459a3 DN |
7869 | 2005-09-30 Dan Nicolaescu <dann@ics.uci.edu> |
7870 | ||
4156359e | 7871 | * image.c (slurp_file, xbm_read_bitmap_data): Cast to the correct type. |
fa8459a3 DN |
7872 | * xterm.c (handle_one_xevent, handle_one_xevent): Likewise. |
7873 | ||
7874 | * unexelf.c (fatal): Fix prototype. | |
7875 | ||
7876 | * term.c (fatal): Implement using varargs. | |
7877 | ||
21a9a7be | 7878 | * regex.c (re_char): Move typedef ... |
fa8459a3 | 7879 | * regex.h (re_char): ... here. |
4156359e | 7880 | (re_iswctype, re_wctype, re_set_whitespace_regexp): New prototypes. |
fa8459a3 DN |
7881 | |
7882 | * emacs.c (malloc_set_state): Fix return type. | |
7883 | (endif): Fix type. | |
7884 | ||
7885 | * lisp.h (fatal): Add argument types. | |
7886 | ||
7887 | * dispextern.h (fatal): Delete prototype. | |
7888 | ||
9dd28cae | 7889 | * systime.h (make_time): Prototype moved from ... |
fa8459a3 DN |
7890 | * editfns.c (make_time): ... here. |
7891 | ||
7892 | * editfns.c: Move systime.h include after lisp.h. | |
21a9a7be KS |
7893 | * dired.c: |
7894 | * xsmfns.c: | |
fa8459a3 | 7895 | * process.c: Likewise. |
21a9a7be | 7896 | |
fa8459a3 DN |
7897 | * alloc.c (old_malloc_hook, old_realloc_hook, old_realloc_hook): |
7898 | Add parameter types. | |
7899 | (__malloc_hook, __realloc_hook, __free_hook): Fix prototypes. | |
7900 | (emacs_blocked_free): Change definition to match __free_hook. | |
7901 | (emacs_blocked_malloc): Change definition to match __malloc_hook. | |
4156359e | 7902 | (emacs_blocked_realloc): Change definition to match __realloc_hook. |
fa8459a3 | 7903 | |
97c3e4cc RF |
7904 | 2005-09-30 Romain Francoise <romain@orebokech.com> |
7905 | ||
7906 | * minibuf.c (Fread_buffer): Follow convention for reading from the | |
7907 | minibuffer with a default value. Doc fix. | |
7908 | ||
8ad8c5ce JL |
7909 | 2005-09-29 Juri Linkov <juri@jurta.org> |
7910 | ||
7911 | * editfns.c (Fmessage, Fmessage_box, Fmessage_or_box): | |
7912 | Rename argument name `string' to `format-string'. | |
7913 | (Fformat): Doc fix. | |
7914 | ||
64da5759 KS |
7915 | 2005-09-28 Kim F. Storm <storm@cua.dk> |
7916 | ||
7917 | * image.c (gif_load): Fix size of allocated image buffer | |
7918 | for images where a sub-image may be larger than the image's | |
7919 | total height/width specifications. | |
7920 | ||
eaf92438 YM |
7921 | 2005-09-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7922 | ||
7923 | * macgui.h (struct _XCharStruct): Each member now takes short value. | |
7924 | ||
43f15d4a DN |
7925 | 2005-09-27 Dan Nicolaescu <dann@ics.uci.edu> |
7926 | ||
7927 | * xfaces.c (lookup_derived_face): Add parameter type. | |
7928 | ||
7929 | * xdisp.c (cursor_row_fully_visible_p): Add parameter type. | |
7930 | ||
7931 | * marker.c (verify_bytepos): Add parameter type. | |
7932 | ||
7933 | * process.c (get_operating_system_release): Move prototype ... | |
7934 | ||
7935 | * systime.h (get_operating_system_release): ... here. | |
7936 | ||
04bc7945 JB |
7937 | * xterm.c (handle_one_xevent): Refer to union field to match the |
7938 | type required by the function definition. | |
7939 | (set_vertical_scroll_bar): Move prototype ... | |
43f15d4a DN |
7940 | |
7941 | * xterm.h: ... here. | |
7942 | ||
7943 | * fns.c (internal_equal, seed_random): Fix prototypes. | |
7944 | (internal_equal): Add missing parameter. | |
7945 | ||
c769dcac RS |
7946 | 2005-09-25 Richard M. Stallman <rms@gnu.org> |
7947 | ||
7948 | * keyboard.c (update_menu_bindings): Variable deleted. | |
7949 | (syms_of_keyboard): Don't defvar it. | |
7950 | (parse_menu_item): Don't test it. | |
7951 | ||
8dbf19c7 RS |
7952 | 2005-09-23 Richard M. Stallman <rms@gnu.org> |
7953 | ||
7954 | * editfns.c (Fformat): Explicitly test for end of format string | |
7955 | and don't use `index'. | |
7956 | ||
3480d92b DN |
7957 | 2005-09-23 Dan Nicolaescu <dann@ics.uci.edu> |
7958 | ||
4156359e SM |
7959 | * s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): |
7960 | Define BROKEN_GET_CURRENT_DIR_NAME. | |
3480d92b DN |
7961 | |
7962 | * sysdep.c (get_current_dir_name): Also define if | |
64da5759 | 7963 | BROKEN_GET_CURRENT_DIR_NAME. |
3480d92b DN |
7964 | |
7965 | * m/ibmrs6000.h: Test for USG5, not USG5_4. | |
7966 | ||
5db60f31 KS |
7967 | 2005-09-22 Kim F. Storm <storm@cua.dk> |
7968 | ||
7969 | * xdisp.c (message_dolog): Add warning about GC and Lisp strings. | |
7970 | (message2): Fix commentary. Ok to use alloca'ed memory. | |
7971 | Still not ok to use Lisp string data (because of GC). | |
7972 | (set_message): Add comment why GC cannot happen. | |
7973 | ||
7c3d233d YM |
7974 | 2005-09-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7975 | ||
7976 | * macterm.c (xlfdpat_block_match_1): Fix assertion. | |
7977 | (init_font_name_table) [TARGET_API_MAC_CARBON]: Don't add style | |
7978 | variants for a scalable font multiple times. | |
7979 | ||
acde1152 YM |
7980 | 2005-09-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7981 | ||
7982 | * process.c (create_process) [RTU || UNIPLUS || DONT_REOPEN_PTY]: | |
7983 | Setup slave tty options before forking. | |
7984 | ||
52d166e0 JD |
7985 | 2005-09-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7986 | ||
7987 | * gtkutil.c (xg_set_geometry): Do a gtk_window_move if program | |
7988 | positions have been set for the frame (as is done for frames in | |
7989 | special-display-buffer-names). | |
7990 | ||
12d10bc7 KS |
7991 | 2005-09-19 Kim F. Storm <storm@cua.dk> |
7992 | ||
7993 | * editfns.c (Fformat): Don't scan past end of format string that | |
7994 | ends in %. Reported by: Johan Bockg\e,Ae\e(Brd. | |
7995 | ||
9f1cf0e3 AS |
7996 | 2005-09-18 Andreas Schwab <schwab@suse.de> |
7997 | ||
7998 | * window.h (struct window): Remove height_fixed_p, no longer set. | |
7999 | ||
8000 | * window.c (make_window): Don't initialize height_fixed_p. | |
8001 | (window_fixed_size_p): Don't use it. | |
8002 | ||
8a658a52 JPW |
8003 | 2005-09-18 John Paul Wallington <jpw@pobox.com> |
8004 | ||
8005 | * data.c (Fdefalias): Signal an error if SYMBOL is not a symbol. | |
8006 | ||
be9bb408 YM |
8007 | 2005-09-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8008 | ||
8009 | * Makefile.in (SOME_MACHINE_OBJECTS): Undo previous change. | |
8010 | ||
8011 | * macfns.c (image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]: | |
8012 | New variables. | |
8013 | [TARGET_API_MAC_CARBON] (Fx_file_dialog): Don't allow multiple | |
8014 | file selection. | |
8015 | ||
8016 | * sysdep.c [MAC_OS8]: Don't include stdlib.h. Include sys/param.h. | |
8017 | ||
cbf223e1 EZ |
8018 | 2005-09-17 Eli Zaretskii <eliz@gnu.org> |
8019 | ||
8020 | * Makefile.in (XMENU_OBJ) [!HAVE_CARBON]: Reinstate variable. | |
8021 | (obj): Use XMENU_OBJ, not a literal xmenu.o. | |
8022 | ||
e3f509dd RF |
8023 | 2005-09-16 Romain Francoise <romain@orebokech.com> |
8024 | ||
8ccd3630 | 8025 | * fileio.c (syms_of_fileio) <write-region-inhibit-fsync>: Doc fix. |
e3f509dd | 8026 | |
5c4757d3 RS |
8027 | 2005-09-15 Richard M. Stallman <rms@gnu.org> |
8028 | ||
8029 | * xdisp.c (overlay_arrow_at_row): Add HAVE_WINDOW_SYSTEM conditional. | |
8030 | (display_mode_element): Instead of `lisp_string' and `this', | |
8031 | record `offset' and increment that. | |
8032 | `last_offset' replaces `last'. | |
8033 | ||
8034 | * Makefile.in (XMENU_OBJ): Variable deleted. | |
8035 | (obj): Use xmenu.o unconditionally. | |
8036 | (SOME_MACHINE_OBJECTS): Delete xmenu.o. | |
8037 | ||
8038 | * emacs.c (main): Don't conditionalize syms_of_xmenu on HAVE_XMENU. | |
8039 | ||
01978521 KS |
8040 | 2005-09-15 Kim F. Storm <storm@cua.dk> |
8041 | ||
8042 | * xdisp.c (move_it_vertically): Don't try to fetch byte BEGV-1. | |
8043 | (reseat_at_next_visible_line_start): Likewise (in xassert). | |
8044 | ||
ccf61795 RF |
8045 | 2005-09-14 Romain Francoise <romain@orebokech.com> |
8046 | ||
8047 | * fileio.c (write_region_inhibit_fsync): New variable. | |
8048 | (Fwrite_region): Use it to skip call to fsync. | |
8049 | (syms_of_fileio): Initialize it. | |
8050 | ||
2b046a72 KH |
8051 | 2005-09-14 Kenichi Handa <handa@m17n.org> |
8052 | ||
24a2b282 KH |
8053 | * coding.c (code_convert_region_unwind): Argument format changed. |
8054 | (run_pre_post_conversion_on_str): If pre-write-conversion function | |
8055 | changed the current buffer, delete the new buffer. | |
8056 | (run_pre_write_conversin_on_c_str): Likewise. | |
8057 | ||
2b046a72 KH |
8058 | * fileio.c (Fexpand_file_name): Check multibyteness of |
8059 | default_directory. | |
8060 | ||
d008f7b7 KH |
8061 | 2005-09-13 Kenichi Handa <handa@m17n.org> |
8062 | ||
8063 | * composite.c (compose_chars_in_text): Delete it. | |
8064 | ||
8065 | * composite.h (compose_chars_in_text): Delete extern. | |
8066 | ||
2ada8ac5 KS |
8067 | 2005-09-13 Kim F. Storm <storm@cua.dk> |
8068 | ||
8069 | * print.c (print_error_message): Fix last change. | |
8070 | ||
48c60938 KS |
8071 | 2005-09-12 Kim F. Storm <storm@cua.dk> |
8072 | ||
0fdbe302 KS |
8073 | * composite.c (compose_chars_in_text): Fix setup of `pend'. |
8074 | Unconditionally reload `ptr' and `pend' after eval. | |
8075 | ||
48c60938 KS |
8076 | * xdisp.c (message3): Pass copy of lisp string to message_dolog. |
8077 | ||
8078 | * print.c (print_error_message): Pass copy of caller name to | |
8079 | message_dolog. | |
8080 | ||
8081 | * fileio.c (auto_save_error): Pass copy of lisp string to message2. | |
8082 | ||
5add1986 KH |
8083 | 2005-09-12 Kenichi Handa <handa@m17n.org> |
8084 | ||
8085 | * xdisp.c (display_mode_element): Be sure to make variables THIS | |
8086 | and LISP_STRING point into a string data of ELT. | |
8087 | ||
18bb66c7 KS |
8088 | 2005-09-12 Kim F. Storm <storm@cua.dk> |
8089 | ||
8090 | * editfns.c (Ftranslate_region_internal): Reload `tt' after | |
8091 | signal_after_change that may have GC'ed. | |
8092 | (Fmessage, Fmessage_box, Fmessage_or_box): Doc fix. | |
8093 | ||
8094 | * keymap.c (Fdescribe_buffer_bindings): Reload `translate' | |
8095 | after insert while runs signal_after_change. | |
8096 | ||
8097 | * minibuf.c (Fminibuffer_complete_word): Move `completion_string' | |
8098 | declaration to where it is used. | |
8099 | ||
8100 | * w32.c (check_windows_init_file): Fix allocation of error buffer. | |
8101 | ||
8102 | * xfns.c (x_encode_text): Declare static. Add FREEP arg. | |
8103 | (x_set_name_internal): Call x_encode_text with new FREEP arg to | |
8104 | know if xfree is needed instead of guessing. | |
8105 | ||
8106 | * xterm.h (x_encode_text): Remove prototype. | |
8107 | ||
945a75f8 JR |
8108 | 2005-09-11 Chris Prince <cprince@gmail.com> (tiny change) |
8109 | ||
8110 | * w32term.c (x_bitmap_icon): Load small icons too. | |
8111 | ||
156bdb41 RF |
8112 | 2005-09-10 Romain Francoise <romain@orebokech.com> |
8113 | ||
8114 | * buffer.c (init_buffer): Grow buffer to add directory separator | |
f9962371 | 8115 | and terminal zero. Fix typos. |
156bdb41 | 8116 | |
67b8391b EZ |
8117 | 2005-09-10 Eli Zaretskii <eliz@gnu.org> |
8118 | ||
a17b5ed1 EZ |
8119 | * buffer.c (init_buffer): Fix error message for failed call to |
8120 | get_current_dir_name. | |
8121 | (get_current_dir_name): Remove prototype. | |
8122 | ||
9dd28cae | 8123 | * xsmfns.c (get_current_dir_name): Remove prototype. |
a17b5ed1 | 8124 | |
9dd28cae | 8125 | * lisp.h (get_current_dir_name) [!HAVE_GET_CURRENT_DIR_NAME]: |
96013ba9 | 8126 | Add prototype. |
a17b5ed1 | 8127 | |
ed326e35 | 8128 | * sysdep.c [WINDOWSNT]: Add prototype for getwd. |
b04a3120 | 8129 | Don't #undef NULL after including blockinput.h. |
ed326e35 | 8130 | |
67b8391b EZ |
8131 | * config.in: Regenerated. |
8132 | ||
c187839d EZ |
8133 | 2005-09-10 Giuseppe Scrivano <gscrivano@gmail.com> |
8134 | ||
8135 | Remove the MAXPATHLEN limitations: | |
8136 | ||
1486d036 EZ |
8137 | * sysdep.c (get_current_dir_name) [!HAVE_GET_CURRENT_DIR_NAME]: |
8138 | New function. | |
c187839d EZ |
8139 | |
8140 | * buffer.c (init_buffer): Use it. | |
8141 | ||
8142 | * xsmfns.c (smc_save_yourself_CB): Ditto. | |
8143 | ||
ae8a5689 KS |
8144 | 2005-09-09 Kim F. Storm <storm@cua.dk> |
8145 | ||
39cac6b3 KS |
8146 | * doc.c (Fsubstitute_command_keys): Lookup key binding for |
8147 | commands that are remapped from some other command. | |
8148 | ||
aeb55c44 KS |
8149 | * xdisp.c (try_window_reusing_current_matrix): Clear mode_line_p |
8150 | flag in disabled rows below the window. | |
8151 | ||
ae8a5689 KS |
8152 | * frame.h (struct frame): New member updated_p. |
8153 | ||
8154 | * xdisp.c (redisplay_internal): Mark updated frames in new updated_p | |
8155 | member. Remove local `updated' array and associated variables. | |
8156 | ||
821f6dae KS |
8157 | 2005-09-07 Kim F. Storm <storm@cua.dk> |
8158 | ||
6e5395f2 KS |
8159 | * xdisp.c (handle_display_prop): Respect overlay window property. |
8160 | ||
821f6dae KS |
8161 | * xdisp.c (try_window): Remove superfluous cursor_height calculation. |
8162 | Fixes crash reported by YAMAMOTO Mitsuharu. | |
8163 | ||
9655b404 YM |
8164 | 2005-09-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8165 | ||
8166 | * macterm.c (struct xlfdpat_block, struct xlfdpat): New structs. | |
8167 | (xlfdpat_destroy, xlfdpat_create, xlfdpat_exact_p) | |
8168 | (xlfdpat_block_match_1, xlfdpat_match): New functions. | |
8169 | (xlfdpat_block_match): New macro. | |
8170 | (mac_to_x_fontname): Don't use tolower for non-ASCII characters. | |
8171 | (x_font_name_to_mac_font_name): Set coding.dst_multibyte to 0. | |
8172 | (add_font_name_table_entry): Increase font_name_table_size more | |
8173 | rapidly. | |
8174 | (mac_c_string_match): Remove function. | |
8175 | (mac_do_list_fonts): Use XLFD pattern match instead of regular | |
8176 | expression match. | |
8177 | ||
8178 | * xfaces.c (xstrlwr): Don't use tolower for non-ASCII characters. | |
8179 | ||
d7ea8b71 RS |
8180 | 2005-09-03 Richard M. Stallman <rms@gnu.org> |
8181 | ||
8182 | * xdisp.c (redisplay_internal): Make UPDATED as long as needed. | |
8183 | (move_it_in_display_line_to): Stop after last char on line even | |
8184 | on a windowing terminal, if that's the specified stop position. | |
8185 | ||
8186 | * fns.c (Fsort): Doc fix. | |
8187 | ||
8188 | * editfns.c (Fpropertize): Don't insist that properties be symbols. | |
8189 | ||
1550ae60 SM |
8190 | 2005-09-02 Stefan Monnier <monnier@iro.umontreal.ca> |
8191 | ||
8192 | * dired.c (directory_files_internal_unwind, directory_files_internal) | |
8193 | (file_name_completion): Use a Save_Value object rather than a cons of | |
8194 | two 16bit ints to store the DIR*. | |
8195 | (directory_files_internal, file_name_completion): Handle both EINTR and | |
8196 | EAGAIN consistently after `readdir'. | |
8197 | ||
bdb4d6d8 SM |
8198 | 2005-09-01 Stefan Monnier <monnier@iro.umontreal.ca> |
8199 | ||
1550ae60 SM |
8200 | * intervals.c (update_interval): Add position info in error. |
8201 | ||
bdb4d6d8 SM |
8202 | * dispnew.c (window_to_frame_hpos, update_window): |
8203 | Avoid gcc warning about unused variable `f'. | |
8204 | ||
6bcc3ca4 JR |
8205 | 2005-08-31 Jason Rumney <jasonr@gnu.org> |
8206 | ||
8207 | * w32menu.c (add_menu_item): If unicode_append_menu returns an | |
8208 | error, revert to using AppendMenu. | |
8209 | ||
07c5948c YM |
8210 | 2005-08-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8211 | ||
bdb4d6d8 SM |
8212 | * image.c (PIX_MASK_DRAW, PIX_MASK_RETAIN): Remove argument. |
8213 | All uses changed. | |
07c5948c YM |
8214 | [MAC_OS] (XPutPixel, XGetPixel): Add efficient versions for common |
8215 | cases. | |
8216 | (x_create_x_image_and_pixmap) [MAC_OS]: Don't call x_destroy_x_image. | |
bdb4d6d8 SM |
8217 | [MAC_OS] (find_image_fsspec) [!MAC_OSX]: Don't use FSRef. |
8218 | Use posix_pathname_to_fsspec. | |
07c5948c YM |
8219 | [MAC_OS] (xpm_load_image): Fill in background_transparent field |
8220 | while we have mask. | |
8221 | ||
8222 | * macgui.h [!TARGET_API_MAC_CARBON] (GetPixDepth): New define. | |
8223 | ||
8224 | * macterm.h (PIX_MASK_DRAW, PIX_MASK_RETAIN): Move defines to image.c. | |
8225 | ||
5a774522 SM |
8226 | 2005-08-29 Stefan Monnier <monnier@iro.umontreal.ca> |
8227 | ||
8228 | * syntax.c (update_syntax_table): Properly reproduce the special +1 | |
8229 | setting of e_property at the end of the buffer when bumping into the | |
8230 | INTERVALS_AT_ONCE limit. | |
8231 | ||
0fb57cc0 EZ |
8232 | 2005-08-27 Eli Zaretskii <eliz@gnu.org> |
8233 | ||
8234 | * emacs.c (USAGE1): Fix the description of the -Q option. | |
8235 | ||
5a774522 SM |
8236 | 2005-08-26 Stefan Monnier <monnier@iro.umontreal.ca> |
8237 | ||
8238 | * xdisp.c (pos_visible_p): Yet another int/Lisp_Object mixup (YAILOM). | |
8239 | ||
4e6b8c5a KS |
8240 | 2005-08-26 Kim F. Storm <storm@cua.dk> |
8241 | ||
8242 | * xdisp.c (resize_mini_window): Fix 2005-08-20 change. | |
8243 | Don't move PT to new window start. | |
8244 | ||
1f98fbb4 YM |
8245 | 2005-08-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8246 | ||
8247 | * keyboard.c (kbd_buffer_get_event) [MAC_OS]: Make events for | |
8248 | ICONIFY/DEICONIFY_EVENT. | |
8249 | ||
5a774522 SM |
8250 | * macterm.c (mac_copy_area, mac_copy_area_with_mask): |
8251 | Restore background color. | |
1f98fbb4 YM |
8252 | (mac_handle_visibility_change): New function. |
8253 | (x_make_frame_invisible, x_iconify_frame) | |
8254 | (XTread_socket) [!USE_CARBON_EVENTS]: Use it. | |
8255 | [USE_CARBON_EVENTS] (mac_handle_window_event) | |
07c5948c | 8256 | (install_window_handler): Handle visibility change events. |
1f98fbb4 YM |
8257 | (x_make_frame_visible): Don't reposition window if it is iconified |
8258 | or asked for visible before. Select and uncollapse window when it | |
8259 | is made visible. | |
8260 | (x_make_frame_invisible): Don't reset x_highlight_frame. | |
8261 | (x_iconify_frame): Likewise. Make invisible frame visible before | |
8262 | it is iconified. | |
8263 | (read_socket_inev): Move variable outside #if USE_CARBON_EVENTS. | |
8264 | (do_window_update): Don't change visibility of invisible frame. | |
8265 | ||
16691d29 JL |
8266 | 2005-08-22 Juri Linkov <juri@jurta.org> |
8267 | ||
8268 | * term.c (turn_on_face): Check for TS_set_foreground and | |
8269 | TS_set_background depending on standout_mode. Simplify. | |
8270 | ||
7c3f805b KS |
8271 | 2005-08-21 Kim F. Storm <storm@cua.dk> |
8272 | ||
0f467468 KS |
8273 | * fringe.c (update_window_fringes): Only put TOP and BOTTOM |
8274 | bitmaps on fully visible rows. | |
8275 | ||
7c3f805b KS |
8276 | * fringe.c (update_window_fringes): Replace FORCE_P arg with |
8277 | KEEP_CURRENT_P arg; if non-zero, don't update current row fringes, | |
8278 | and return 0. | |
8279 | ||
8280 | * xdisp.c (redisplay_window): Call update_window_fringes with | |
8281 | KEEP_CURRENT_P non-0 if we are going to refresh fringes later. | |
8282 | ||
40b388f9 RS |
8283 | 2005-08-20 Richard M. Stallman <rms@gnu.org> |
8284 | ||
8285 | * xdisp.c (display_echo_area_1): Get display start pos from w->start. | |
8286 | (resize_mini_window): Set w->start, and PT, so as to display the tail | |
8287 | end of the buffer, if it doesn't all fit. | |
8288 | ||
581360f0 KS |
8289 | 2005-08-18 Kim F. Storm <storm@cua.dk> |
8290 | ||
8291 | * xdisp.c (calc_pixel_width_or_height): Use actual display | |
8292 | resolution when available instead of Vdisplay_pixels_per_inch. | |
8293 | ||
0eefa6fb KS |
8294 | 2005-08-17 Kim F. Storm <storm@cua.dk> |
8295 | ||
8296 | * xdisp.c (pos_visible_p): Adjust X value if window is hscrolled. | |
8297 | ||
8298 | * dispnew.c (buffer_posn_from_coords): Check that target row is | |
8299 | within matrix. | |
8300 | ||
ada192ba JD |
8301 | 2005-08-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8302 | ||
8303 | * xterm.c (x_wm_set_icon_pixmap): Move GTK specific code to | |
8304 | xg_set_frame_icon and call it. | |
8305 | ||
8306 | * gtkutil.c (xg_set_frame_icon): New function. | |
8307 | ||
0eefa6fb | 8308 | * gtkutil.h (xg_set_frame_icon): Declare it. |
ada192ba | 8309 | |
ab89a403 KS |
8310 | 2005-08-16 Kim F. Storm <storm@cua.dk> |
8311 | ||
8312 | * dispnew.c (increment_row_positions): Skip non-enabled rows. | |
8313 | ||
8314 | * window.c (SAVED_WINDOW_VECTOR_SIZE): Remove dangerous define. | |
8315 | (Fcurrent_window_configuration): Use VECSIZE macro instead. | |
8316 | ||
8d34b5e1 RS |
8317 | 2005-08-15 Richard M. Stallman <rms@gnu.org> |
8318 | ||
8319 | * xdisp.c (message3_nolog): Clear echo_message_buffer. | |
8320 | ||
71e37f3c KS |
8321 | 2005-08-15 Kim F. Storm <storm@cua.dk> |
8322 | ||
0781c303 KS |
8323 | * lisp.h (QUIT) [!SYNC_INPUT]: Throw t to Vthrow_on_input. |
8324 | ||
71e37f3c KS |
8325 | * process.c (deactivate_process, status_notify, read_process_output) |
8326 | (update_status, status_convert, decode_status, allocate_pty) | |
8327 | (make_process, remove_process, list_processes_1) | |
8328 | (create_process_1, unwind_request_sigio, read_process_output) | |
8329 | (send_process, keyboard_bit_set): Declare static. | |
8330 | (Fdelete_process): Simplify. Pass process to status_notify, so we | |
8331 | don't try to read output from it. | |
8332 | (status_notify): New arg deleting_process--don't try to read | |
8333 | output from that process. | |
8334 | ||
8335 | * lisp.h (deactivate_process, status_notify, read_process_output): | |
8336 | Remove prototypes. | |
8337 | ||
0bf14bfd RS |
8338 | 2005-08-14 Richard M. Stallman <rms@gnu.org> |
8339 | ||
bdb4d6d8 SM |
8340 | * image.c (syms_of_image): Init Qxbm, Qpbm before calling |
8341 | define_image_type. | |
0bf14bfd | 8342 | |
6c7eb721 JD |
8343 | 2005-08-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8344 | ||
8345 | * gtkutil.c (xg_get_pixbuf_from_pix_and_mask): New function. | |
8346 | (xg_get_image_for_pixmap): Move some code to | |
8347 | xg_get_pixbuf_from_pix_and_mask, and call it. | |
8348 | ||
8349 | * gtkutil.h (xg_get_pixbuf_from_pix_and_mask): Declare. | |
8350 | ||
8351 | * xterm.c (x_wm_set_icon_pixmap): Call xg_get_pixbuf_from_pix_and_mask | |
8352 | to get an GTK icon and set it with GTK functions to avoid having GTK | |
8353 | override an icon set with just X functions. | |
8354 | ||
6e2d14c8 RS |
8355 | 2005-08-11 Richard M. Stallman <rms@gnu.org> |
8356 | ||
bdb4d6d8 SM |
8357 | * image.c (syms_of_image): Init image_types here, and call |
8358 | define_image_type. | |
6e2d14c8 RS |
8359 | (init_image): Not here. |
8360 | ||
61298e17 RS |
8361 | 2005-08-09 Richard M. Stallman <rms@gnu.org> |
8362 | ||
8363 | * bytecode.c (BYTE_CODE_QUIT): Throw t to Vthrow_on_input. | |
8364 | ||
8365 | * lisp.h (QUIT): Throw t to Vthrow_on_input. | |
8366 | ||
5a9807a8 TTN |
8367 | 2005-08-09 Thien-Thi Nguyen <ttn@gnu.org> |
8368 | ||
8369 | * floatfns.c (Fexpt): Use floats for negative exponent. | |
8370 | ||
93469010 JD |
8371 | 2005-08-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8372 | ||
8373 | * gtkutil.c (xg_modify_menubar_widgets): Remove semicolon that | |
8374 | should not be there, causing menu display errors with GTK 2.6.9. | |
8375 | ||
44edd521 RS |
8376 | 2005-08-07 Richard M. Stallman <rms@gnu.org> |
8377 | ||
8b6a9551 RS |
8378 | * floatfns.c (Fexpt): Undo previous change. |
8379 | ||
44edd521 RS |
8380 | * dispnew.c (Fframe_or_buffer_changed_p): Take an arg |
8381 | so it can be used with various state vectors. | |
8382 | ||
8383 | * emacs.c (endif): Convert -script into -scriptload. | |
8384 | (standard_args): Add -scriptload. Allow -basic-display with one dash. | |
8385 | ||
8386 | * fns.c (syms_of_fns): Add `emacs' to features. | |
8387 | ||
8388 | * term.c (set_terminal_modes): If no TS_termcap_modes string, | |
8389 | output newlines to scroll the old screen contents off the screen. | |
8390 | ||
cac87e30 TTN |
8391 | 2005-08-06 Thien-Thi Nguyen <ttn@gnu.org> |
8392 | ||
2a205424 TTN |
8393 | * floatfns.c (Fexpt): Use floats for negative exponent. |
8394 | Reported by D Goel. | |
cac87e30 | 8395 | |
31b7cc74 JB |
8396 | 2005-08-02 Richard M. Stallman <rms@gnu.org> |
8397 | ||
8398 | * frame.c (Fframe_char_width): Doc fix. | |
8399 | ||
e2b64074 JB |
8400 | 2005-07-30 Juanma Barranquero <lekktu@gmail.com> |
8401 | ||
8402 | * xdisp.c (syms_of_xdisp) <redisplay-end-trigger-functions>: | |
8403 | Defvar it. | |
8404 | ||
0962822d JB |
8405 | 2005-07-28 Juanma Barranquero <lekktu@gmail.com> |
8406 | ||
8407 | * w32fns.c (my_set_window_pos, my_show_window): Don't declare. | |
8408 | (my_create_window, my_create_tip_window): Make static. | |
8409 | ||
8410 | * w32term.c (my_show_window, my_set_window_pos, my_set_focus) | |
8411 | (my_set_foreground_window, my_destroy_window): Make static. | |
8412 | ||
9eff9fe3 PE |
8413 | 2005-07-26 Paul Eggert <eggert@cs.ucla.edu> |
8414 | ||
8415 | Merge gnulib getopt implementation into Emacs. | |
8416 | ||
8417 | * s/cygwin.h (C_SWITCH_SYSTEM): Remove, since gettext.h is | |
8418 | now part of lib-src. | |
8419 | ||
1c9916a1 SM |
8420 | 2005-07-26 Stefan Monnier <monnier@iro.umontreal.ca> |
8421 | ||
8422 | * eval.c (Fdefvar): Allow (defvar enable-multibyte-characters). | |
8423 | ||
94c7f257 JR |
8424 | 2005-07-25 Jason Rumney <jasonr@gnu.org> |
8425 | ||
8426 | * w32menu.c (w32_menu_display_help): Suppress tooltip when | |
8427 | navigating menus with the keyboard. | |
8428 | ||
bf0bf758 RS |
8429 | 2005-07-23 Richard M. Stallman <rms@gnu.org> |
8430 | ||
8431 | * insdel.c (syms_of_insdel): staticpro combine_after_change_buffer. | |
8432 | ||
8433 | * bytecode.c (MAYBE_GC): Test gc_cons_threshold and | |
8434 | gc_relative_threshold, one by one. | |
8435 | ||
8436 | * keyboard.c (read_char): Test gc_cons_threshold. | |
8437 | (syms_of_keyboard): staticpro Qecho_area_clear_hook. | |
8438 | ||
8439 | * eval.c (Feval, Ffuncall): Test gc_cons_threshold and | |
8440 | gc_relative_threshold, one by one. | |
8441 | ||
8442 | * alloc.c (gc_cons_threshold): Not static. | |
8443 | (gc_cons_combined_threshold): Var deleted. | |
8444 | (gc_relative_threshold): New variable. | |
8445 | (Fgarbage_collect, init_alloc_once): Compute gc_relative_threshold | |
8446 | instead of gc_cons_combined_threshold. | |
8447 | ||
1c9916a1 | 8448 | * lisp.h (gc_cons_threshold, gc_relative_threshold): Declare. |
bf0bf758 RS |
8449 | (gc_cons_combined_threshold): Declaration deleted. |
8450 | ||
99f963e4 YM |
8451 | 2005-07-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8452 | ||
8453 | * mac.c: Don't include stdlib.h or string.h. | |
8454 | (Fdo_applescript, Fmac_file_name_to_posix) | |
8455 | (Fmac_file_name_to_posix): Doc fixes. | |
8456 | [TARGET_API_MAC_CARBON] (Fmac_get_preference) | |
8457 | (Fmac_code_convert_string): Likewise. | |
8458 | [MAC_OSX] (init_mac_osx_environment): Fall back on terminal mode | |
8459 | if the executable is not contained in a bundle. | |
8460 | ||
8461 | * macfns.c: Don't include stdlib.h or string.h. Include atimer.h. | |
8462 | (gray_width, gray_height): Remove defines. | |
8463 | (gray_bits, gray_bitmap_width, gray_bitmap_height) | |
8464 | (gray_bitmap_bits): Remove variables. | |
8465 | (lispy_function_keys): Remove extern. | |
8466 | (free_frame_menubar): Add extern. | |
8467 | (x_window_to_frame): Remove function. | |
8468 | (unwind_create_tip_frame): Add declaration. | |
8469 | (x_set_name_internal): New function. | |
8470 | (x_set_name, x_set_title): Use it. | |
8471 | (Fx_create_frame, Fx_display_grayscale_p, Fx_display_pixel_width) | |
8472 | (Fx_display_pixel_height, Fx_display_planes) | |
8473 | (Fx_display_color_cells, Fx_server_max_request_size) | |
8474 | (Fx_server_vendor, Fx_server_version, Fx_display_screens) | |
8475 | (Fx_display_mm_height, Fx_display_mm_width) | |
8476 | (Fx_display_backing_store, Fx_display_visual_class) | |
8477 | (Fx_display_save_under, Fx_synchronize, Fx_show_tip): Doc fixes. | |
8478 | ||
8479 | * macmenu.c (Fx_popup_menu, Fx_popup_dialog): Doc fixes. | |
8480 | ||
bdb4d6d8 | 8481 | * macselect.c (Fx_own_selection_internal): Follow error conventions. |
99f963e4 YM |
8482 | (Fx_get_selection_internal, Fx_selection_owner_p) |
8483 | (Fx_selection_exists_p): Doc fixes. | |
8484 | (syms_of_macselect) <selection-converter-alist>: Likewise. | |
8485 | ||
1d256714 JB |
8486 | 2005-07-21 Juanma Barranquero <lekktu@gmail.com> |
8487 | ||
8488 | * buffer.c (syms_of_buffer) <cursor-type>: Doc fix. | |
8489 | ||
8490 | * ccl.c (Fregister_ccl_program): Fix typos in docstring. | |
8491 | (Fccl_execute_on_string): Likewise; add usage info. | |
8492 | ||
8493 | * composite.c (Fcompose_region_internal) | |
8494 | (Fcompose_string_internal): | |
8495 | Improve argument/docstring consistency. | |
8496 | ||
8497 | * minibuf.c (Fminibuffer_prompt_end, Feval_minibuffer): | |
8498 | Fix typos in docstrings. | |
8499 | ||
8500 | * textprop.c (Fnext_char_property_change) | |
8501 | (Fprevious_char_property_change): Doc fixes. | |
8502 | ||
8503 | * window.c (Fset_window_margins, Fset_window_fringes): | |
8504 | Improve argument/docstring consistency. | |
8505 | ||
8506 | * xfaces.c (Finternal_lisp_face_p): Doc fix. | |
8507 | ||
538f78c3 AS |
8508 | 2005-07-21 Andreas Schwab <schwab@suse.de> |
8509 | ||
8510 | * eval.c (restore_stack_limits): Return a value. | |
8511 | ||
a5b5bf44 JB |
8512 | 2005-07-20 Juanma Barranquero <lekktu@gmail.com> |
8513 | ||
8514 | * eval.c (Fdefvar): Doc fix. | |
8515 | ||
ae643123 KS |
8516 | 2005-07-20 Kim F. Storm <storm@cua.dk> |
8517 | ||
0ed4bf15 KS |
8518 | * fileio.c (Fdo_auto_save, do_auto_save_unwind): |
8519 | Use make_save_value to unwind protect stream. | |
8520 | ||
8521 | * lread.c (Fload, load_unwind): | |
8522 | Use make_save_value to unwind protect stream. | |
ae643123 | 8523 | |
82fc29a1 JB |
8524 | 2005-07-19 Juanma Barranquero <lekktu@gmail.com> |
8525 | ||
8526 | * eval.c (Fprog2, Fcalled_interactively_p), | |
8527 | (syms_of_eval) <debug-on-quit>: Doc fixes. | |
8528 | (syms_of_eval) <max-specpdl-size>: | |
8529 | (Finteractive_p): Fix typos in docstrings. | |
8530 | ||
73b90087 KS |
8531 | 2005-07-19 Kim F. Storm <storm@cua.dk> |
8532 | ||
8533 | * w32fns.c (Vx_hand_shape): Variable removed. | |
8534 | (syms_of_w32fns): Intern and staticpro Qw32_charset_default. | |
8535 | ||
dfc434d0 KH |
8536 | 2005-07-19 Kenichi Handa <handa@m17n.org> |
8537 | ||
bdb4d6d8 | 8538 | * fns.c (Fstring_as_multibyte): Escape backslashes in the docstring. |
dfc434d0 | 8539 | |
bcd98331 SM |
8540 | 2005-07-18 Stefan Monnier <monnier@iro.umontreal.ca> |
8541 | ||
8542 | * buffer.h (Fgenerate_new_buffer_name): Declare (for use in coding.c). | |
8543 | ||
2a85a754 KS |
8544 | 2005-07-18 Kim F. Storm <storm@cua.dk> |
8545 | ||
8546 | * frame.h (struct frame): New member already_hscrolled_p. | |
8547 | ||
8548 | * xdisp.c (redisplay_internal): Only try to hscroll each frame once | |
8549 | to avoid redisplay looping hscrolling back and forth ad infinitum. | |
8550 | ||
426179e1 JL |
8551 | 2005-07-18 Juri Linkov <juri@jurta.org> |
8552 | ||
8553 | * buffer.c (scroll-up-aggressively, scroll-down-aggressively): | |
8554 | * keymap.c (Fminor_mode_key_binding): | |
8555 | * macterm.c (mac-emulate-three-button-mouse): | |
8556 | Delete duplicate duplicate words. | |
8557 | ||
9f4a578d KR |
8558 | 2005-07-18 Ken Raeburn <raeburn@gnu.org> |
8559 | ||
8560 | * minibuf.c (Ftest_completion): Fix odd syntax in test. | |
8561 | ||
d005338b YM |
8562 | 2005-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8563 | ||
bcd98331 | 8564 | * macfns.c (x_set_cursor_color): Use XSetBackground and XSetForeground. |
d005338b YM |
8565 | |
8566 | * macgui.h (struct _XGC): New struct. | |
8567 | (GC): Use it. | |
8568 | (GCForeground, GCBackground, GCFont): Use X11 mask values. | |
8569 | (XCreateGC, XParseGeometry): Move externs to macterm.h. | |
8570 | ||
bcd98331 | 8571 | * macterm.c (x_bitmap_icon, x_make_frame_visible): Remove declarations. |
d005338b | 8572 | (XSetFont): Add declaration. |
bcd98331 SM |
8573 | (mac_set_forecolor, mac_set_backcolor, mac_set_colors): |
8574 | Remove functions. | |
8575 | (GC_FORE_COLOR, GC_BACK_COLOR, GC_FONT, MAC_WINDOW_NORMAL_GC): | |
8576 | New defines. | |
d005338b YM |
8577 | (XDrawLine, mac_draw_line_to_pixmap, XClearWindow) |
8578 | (mac_draw_bitmap, XCreatePixmapFromBitmapData, XFillRectangle) | |
bcd98331 SM |
8579 | (mac_draw_rectangle, mac_draw_string_common, mac_scroll_area): |
8580 | Use them. | |
d005338b YM |
8581 | (mac_erase_rectangle): New function. |
8582 | (XClearArea, x_draw_fringe_bitmap, x_clear_glyph_string_rect) | |
8583 | (x_draw_stretch_glyph_string): Use it. | |
8584 | (XChangeGC, XCreateGC, XGetGCValues, XSetForeground) | |
8585 | (XSetBackground, XSetFont): Adjust for new GC implementation. | |
8586 | (x_draw_fringe_bitmap, x_draw_box_rect): Use GC to set colors. | |
8587 | (XTset_vertical_scroll_bar): Clear area under scroll bar. | |
8588 | ||
8589 | * macterm.h (struct mac_display_info): Change types of | |
8590 | scratch_cursor_gc black_relief.gc, and white_relief.gc to GC. | |
8591 | (XCreateGC, XParseGeometry): Move externs from macgui.h. | |
8592 | ||
8593 | * xfaces.c [MAC_OS] (XCreateGC): Remove extern. | |
8594 | ||
9b0c2c56 RS |
8595 | 2005-07-16 Richard M. Stallman <rms@gnu.org> |
8596 | ||
8597 | * buffer.c (Fmake_overlay): Doc fix. | |
8598 | ||
2e9c1c6d EZ |
8599 | 2005-07-16 Eli Zaretskii <eliz@gnu.org> |
8600 | ||
8601 | * w32proc.c (syms_of_ntproc): staticpro Qhigh, Qlow, | |
8602 | Vw32_valid_locale_ids, and Vw32_valid_codepages. | |
8603 | ||
407289a4 YM |
8604 | 2005-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8605 | ||
bcd98331 SM |
8606 | * mac.c [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): |
8607 | Use Fstring_as_unibyte instead of string_make_unibyte. | |
407289a4 | 8608 | |
e4b477a1 RS |
8609 | 2005-07-15 Richard M. Stallman <rms@gnu.org> |
8610 | ||
8611 | * xdisp.c (select_frame_for_redisplay): Use find_symbol_value. | |
8612 | ||
a8613adf KS |
8613 | 2005-07-15 Kim F. Storm <storm@cua.dk> |
8614 | ||
8615 | * xdisp.c: Fix redisplay loop in last change. | |
8616 | (IT_POS_VALID_AFTER_MOVE_P): New macro. | |
8617 | (move_it_vertically_backward, move_it_by_lines): Use it. | |
8618 | ||
2d5324c5 JR |
8619 | 2005-07-14 Jason Rumney <jasonr@gnu.org> |
8620 | ||
8621 | * w32.c (init_environment): Default HOME directory to user's | |
8622 | appdata directory if possible. | |
8623 | ||
3ed70dc4 KS |
8624 | 2005-07-14 Kim F. Storm <storm@cua.dk> |
8625 | ||
7b9389b0 KS |
8626 | * .gdbinit (pitx): Fix output format. Print string charpos. |
8627 | ||
3ed70dc4 KS |
8628 | * lread.c (syms_of_lread): Initialize seen_list. |
8629 | ||
8630 | * search.c (syms_of_search): Staticpro searchbuf.whitespace_regexp. | |
8631 | ||
8632 | * syntax.c (syms_of_syntax): Staticpro lisp objects in gl_state. | |
8633 | Staticpro re_match_object. | |
8634 | ||
ef029e5a YM |
8635 | 2005-07-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8636 | ||
8637 | * macselect.c (get_scrap_target_type_list): Avoid NULL pointer | |
8638 | dereference. | |
8639 | ||
8640 | * macterm.c (mac_window_to_frame): Remove duplicate define. | |
8641 | ||
16ef9c56 KH |
8642 | 2005-07-14 Kenichi Handa <handa@m17n.org> |
8643 | ||
8644 | * coding.c (code_convert_region_unwind): ARG is changed to a cons. | |
bcd98331 | 8645 | (code_convert_region): Adjust for the above change. |
16ef9c56 KH |
8646 | (set_conversion_work_buffer): If the work buffer is already in |
8647 | use, generate a new buffer and return it. Otherwise return Qnil. | |
bcd98331 | 8648 | (run_pre_post_conversion_on_str): Adjust for the above change. |
16ef9c56 KH |
8649 | (run_pre_write_conversin_on_c_str): Likewise. |
8650 | ||
098e1273 KS |
8651 | 2005-07-13 Kim F. Storm <storm@cua.dk> |
8652 | ||
010b9a45 KS |
8653 | * xdisp.c (start_display): Don't reseat to next visible line start |
8654 | if current start position is in a string or image. | |
8655 | (move_it_vertically_backward): Be sure to move out of strings and | |
8656 | images when moving it2 forward. | |
8657 | (move_it_by_lines): When moving forward, move to next buffer | |
8658 | position if we end up in a string or image. When moving backward, | |
8659 | count rows moved over when moving to start of current row in case | |
8660 | row starts in middle of a string or image. Also move further | |
8661 | backward if we end up in a string or image. | |
bcd98331 | 8662 | (try_cursor_movement): If overlay string spans multiple lines, |
010b9a45 KS |
8663 | move backward to set cursor on start of an overlay string. |
8664 | (cursor_row_p): Row is ok if cursor is at newline from string, but | |
8665 | string starts on this line (so we always position cursor at start | |
8666 | of string). | |
8667 | ||
8668 | * indent.c (Fvertical_motion): If start position is on an image, | |
8669 | don't move back if we move too far (that's almost certain to happen). | |
8670 | ||
098e1273 KS |
8671 | * xdisp.c (cursor_row_fully_visible_p): Allow partially visible |
8672 | row in minibuffer windows. | |
8673 | (try_window): Don't check margins in minibuffer windows. | |
8674 | ||
c229fb15 YM |
8675 | 2005-07-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8676 | ||
8677 | * macterm.c: Don't include stdlib.h or composite.h. | |
8678 | (x_use_underline_position_properties, last_mouse_press_frame) | |
8679 | (x_noop_count, Qvendor_specific_keysyms): Remove unused variables. | |
8680 | (syms_of_macterm, mac_initialize): Don't initialize them. | |
8681 | (waiting_for_input, initial_argv, initial_argc) | |
8682 | (Vcommand_line_args, Vx_no_window_manager, errno, window_scroll) | |
8683 | (set_frame_menubar, path_from_vol_dir_name): Remove externs. | |
8684 | (extra_keyboard_modifiers): Fix type in extern. | |
8685 | (x_window_to_frame, x_window_to_scroll_bar): Remove declarations. | |
8686 | (x_scroll_bar_report_motion): Add argument types to declaration. | |
8687 | (mac_compute_glyph_string_overhangs): Add declaration. | |
8688 | (disable_mouse_highlight): Remove unused variable. | |
8689 | [USE_TOOLKIT_SCROLL_BARS] (construct_scroll_bar_click) | |
8690 | (x_scroll_bar_handle_press, x_scroll_bar_handle_release) | |
bcd98331 SM |
8691 | (x_scroll_bar_handle_drag): Remove argument `timestamp'. |
8692 | All callers changed. | |
c229fb15 YM |
8693 | [USE_TOOLKIT_SCROLL_BARS] (construct_scroll_bar_click): Don't set |
8694 | timestamp. | |
8695 | [USE_CARBON_EVENTS] (mac_handle_mouse_event): Likewise. | |
8696 | (x_scroll_bar_create, XTset_vertical_scroll_bar): Show scroll bar | |
8697 | only when its width is less than the height. | |
8698 | (XTredeem_scroll_bar): Sync with xterm.c. | |
bcd98331 SM |
8699 | (font_name_table, font_name_table_size, font_name_count): |
8700 | Make static. | |
c229fb15 YM |
8701 | (drag_and_drop_file_list): Remove variable. Previous use is now |
8702 | local to function. | |
8703 | (do_ae_open_documents): Move DRAG_N_DROP event construction part | |
8704 | from XTread_socket. | |
bcd98331 SM |
8705 | (XTread_socket): Consolidate setting of event timestamp. |
8706 | Move DRAG_N_DROP event construction part to do_ae_open_documents. | |
c229fb15 YM |
8707 | Support extra_keyboard_modifiers. |
8708 | ||
8709 | * xfaces.c (try_font_list) [MAC_OS]: Try font family name | |
8710 | beginning with that for ASCII. | |
8711 | ||
69d05d83 SM |
8712 | 2005-07-13 Stefan Monnier <monnier@iro.umontreal.ca> |
8713 | ||
8714 | * alloc.c (gc_cons_combined_threshold, Vgc_cons_percentage): New vars. | |
8715 | (Fgarbage_collect, init_alloc_once): Set gc_cons_combined_threshold. | |
8716 | (syms_of_alloc): Declare gc-cons-percentage. | |
8717 | ||
8718 | * eval.c (Feval, Ffuncall): | |
8719 | * keyboard.c (read_char): | |
8720 | * bytecode.c (MAYBE_GC): Use gc_cons_combined_threshold. | |
8721 | ||
8722 | * lisp.h (gc_cons_combined_threshold): Declare. | |
8723 | ||
5c7f9de1 KS |
8724 | 2005-07-12 Kim F. Storm <storm@cua.dk> |
8725 | ||
8726 | * coding.c (Qprocess_argument): | |
8727 | * coding.h (Qprocess_argument): Remove unused var. | |
8728 | ||
8729 | * xselect.c (intern): Remove dup. intern and staticpro for QTIMESTAMP. | |
8730 | ||
c37efb7a YM |
8731 | 2005-07-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8732 | ||
8733 | * mac.c [!TARGET_API_MAC_CARBON]: Include charset.h, coding.h, and | |
8734 | Endian.h. | |
8735 | [!MAC_OSX] (fchmod, fchown): New functions. | |
8736 | (mac_get_code_from_arg): Don't accept Lisp integer as argument. | |
8737 | Use SBYTES and EndianU32_BtoN. | |
8738 | (mac_get_object_from_code): Return 4 byte string even if argument | |
8739 | is 0. Use make_unibyte_string and EndianU32_NtoB. | |
8740 | (Fmac_get_file_creator, Fmac_get_file_type, Fmac_set_file_creator) | |
8741 | (Fmac_set_file_type): Fix documents and argument declarations. | |
8742 | Don't specify kFSCatInfoNodeFlags. Support Mac OS Classic. | |
8743 | ||
a4429c5b SM |
8744 | 2005-07-11 Stefan Monnier <monnier@iro.umontreal.ca> |
8745 | ||
8746 | * window.c (Frecenter): Yet another int/Lisp_Object mixup (YAILOM). | |
8747 | ||
a2d7e722 JD |
8748 | 2005-07-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8749 | ||
8750 | * xfaces.c (x_update_menu_appearance): Use fontSet resource for | |
8751 | Lucid if X_I18N, font otherwise. | |
8752 | ||
9a4183e9 ST |
8753 | 2005-07-10 Steven Tamm <steventamm@mac.com> |
8754 | ||
a4429c5b SM |
8755 | * mac.c (Fmac_get_file_type, Fmac_get_file_creator): Add. |
8756 | (Fmac_set_file_type, Fmac_set_file_creator): Add. | |
8757 | (mac_get_object_from_code, mac_get_code_from_arg): Add. | |
9a4183e9 | 8758 | |
51f74c37 RS |
8759 | 2005-07-10 Richard M. Stallman <rms@gnu.org> |
8760 | ||
8761 | * lread.c (Qeval_buffer_list, Veval_buffer_list): New vars. | |
8762 | (syms_of_lread): Set up eval-buffer-list. | |
8763 | (Feval_buffer, Feval_region): Bind eval-buffer-list. | |
8764 | ||
93c7da4c RS |
8765 | 2005-07-08 Richard M. Stallman <rms@gnu.org> |
8766 | ||
8767 | * eval.c (Fdefvar): Allow defvaring a constant to itself quoted. | |
8768 | ||
64af5917 KS |
8769 | 2005-07-08 Kim F. Storm <storm@cua.dk> |
8770 | ||
8771 | * keyboard.c (menu_bar_items): Don't GCPRO menu_bar_items_vector here. | |
8772 | (syms_of_keyboard): Initialize and staticpro menu_bar_items_vector. | |
8773 | ||
a96b333c KS |
8774 | 2005-07-07 Kim F. Storm <storm@cua.dk> |
8775 | ||
8776 | * window.c (Frecenter): Fix last change (set iarg before use). | |
8777 | ||
dc2204be RS |
8778 | 2005-07-06 Richard M. Stallman <rms@gnu.org> |
8779 | ||
8780 | * window.c (Frecenter): When arg is inside the scroll margin, | |
8781 | move it out of the margin. | |
8782 | ||
3fb1d72b JR |
8783 | 2005-07-06 Jason Rumney <jasonr@gnu.org> |
8784 | ||
8785 | * w32console.c (initialize_w32_display): Detect when the console | |
8786 | dimensions are insane, and default to 80x25 instead. | |
14a56a1b | 8787 | (w32_use_full_screen_buffer): Default to nil. |
3fb1d72b | 8788 | |
dd15724d YM |
8789 | 2005-07-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8790 | ||
8791 | * macterm.c (mac_draw_vertical_window_border): Use foreground of | |
8792 | VERTICAL_BORDER_FACE_ID for vertical border line. | |
8793 | (mac_encode_char): Call check_ccl_update in advance. | |
8794 | (mac_to_x_fontname, x_font_name_to_mac_font_name) | |
a4429c5b SM |
8795 | (init_font_name_table, mac_do_list_fonts, XLoadQueryFont): |
8796 | Don't assume that font family length is less than 32. | |
dd15724d YM |
8797 | (x_compute_min_glyph_bounds): Make static. |
8798 | (x_load_font): Never set fonts_changed_p to zero. | |
a96b333c | 8799 | |
68003d6b LK |
8800 | 2005-07-04 Lute Kamstra <lute@gnu.org> |
8801 | ||
dc2204be | 8802 | * Update FSF's address in GPL notices. |
68003d6b | 8803 | |
3d393029 RS |
8804 | 2005-07-03 Richard M. Stallman <rms@gnu.org> |
8805 | ||
8806 | * xdisp.c (try_window): Fix previous change in how it handles | |
8807 | a partially-visible line or one only partly past the margin. | |
8808 | ||
8809 | * window.c (window_scroll_pixel_based): Take account | |
8810 | of this_scroll_margin when finding point when scrolling up. | |
8811 | ||
8812 | 2005-06-29 Ralf Angeli <angeli@iwi.uni-sb.de> | |
8813 | ||
8814 | * window.c (window_scroll_pixel_based, window_scroll_line_based): | |
8815 | Handle `scroll-preserve-screen-position' non-nil, non-t specially. | |
9dd28cae | 8816 | (syms_of_window) <scroll-preserve-screen-position>: Doc fix. |
3d393029 | 8817 | |
d6951bb4 EZ |
8818 | 2005-07-02 Juri Linkov <juri@jurta.org> |
8819 | ||
8820 | * w32term.c (w32_draw_vertical_window_border): Use foreground of | |
8821 | VERTICAL_BORDER_FACE_ID for vertical border line. | |
8822 | ||
b016179b EZ |
8823 | 2005-07-02 Eli Zaretskii <eliz@gnu.org> |
8824 | ||
8825 | * fileio.c (Fcopy_file): Rearrange the code that calls fchown and | |
8826 | fchmod so that chmod doesn't get called on MSDOS before the file | |
8827 | is closed. | |
8828 | ||
c2baa2b6 JR |
8829 | 2005-07-01 Jason Rumney <jasonr@gnu.org> |
8830 | ||
8831 | * w32term.c (cleartype_active): New flag for enabling sub-pixel | |
8832 | workaround. | |
8833 | (w32_initialize): Initialize it. | |
8834 | (w32_native_per_char_metric): Allow a couple of extra pixels when | |
8835 | Cleartype is active. | |
8836 | ||
8837 | * w32term.c (w32_initialize): Move check for screen reader here | |
8838 | from syms_of_w32term. | |
8839 | ||
a6d0ae55 JD |
8840 | 2005-06-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8841 | ||
8842 | * xterm.c (handle_one_xevent): bzero compose_status when nbytes | |
8843 | is not zero. | |
8844 | ||
711877f3 MY |
8845 | 2005-07-01 Masatake YAMATO <jet@gyve.org> |
8846 | ||
a4429c5b | 8847 | * emacs.c (main): Passing ADD_NO_RANDOMIZE to `personality'. |
711877f3 | 8848 | |
63f7ffb3 JL |
8849 | 2005-06-30 Juri Linkov <juri@jurta.org> |
8850 | ||
8851 | * xdisp.c (x_draw_vertical_border): If left fringe is not present | |
8852 | decrease x coord of vertical border by 1 pixel to not occupy text | |
8853 | area of the right window. | |
8854 | ||
8855 | * xterm.c (x_draw_vertical_window_border): Use foreground of | |
8856 | VERTICAL_BORDER_FACE_ID for vertical border line. | |
8857 | ||
8858 | * term.c (turn_on_face): In standout mode apply specified | |
8859 | fg to bg, and specified bg to fg (this makes the logic of | |
8860 | inversion on terminal consistent with X). | |
8861 | ||
b26860ad JB |
8862 | 2005-06-29 Juanma Barranquero <lekktu@gmail.com> |
8863 | ||
8864 | * eval.c (user_variable_p_eh): New function. | |
8865 | (Fuser_variable_p): Use it. Clarify docstring. | |
8866 | Return t for aliases of user options, nil for alias loops. | |
8867 | ||
3a1f1d79 RS |
8868 | 2005-06-27 Richard M. Stallman <rms@gnu.org> |
8869 | ||
8870 | * eval.c (Fdefvar): Improve error message. | |
8871 | ||
92de1e01 YM |
8872 | 2005-06-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8873 | ||
8874 | * macterm.c [USE_CARBON_EVENTS] (mac_convert_event_ref): Fix last | |
8875 | change. | |
8876 | ||
69410484 JB |
8877 | 2005-06-27 Juanma Barranquero <lekktu@gmail.com> |
8878 | ||
8879 | * eval.c (Fdefvar): Don't try to set constant symbols. | |
8880 | ||
09352e8f RS |
8881 | 2005-06-25 Richard M. Stallman <rms@gnu.org> |
8882 | ||
a68d870b RS |
8883 | * macfns.c (Fx_show_tip): Pass new arg to try_window. |
8884 | ||
8885 | * w32fns.c (Fx_show_tip): Pass new arg to try_window. | |
8886 | ||
8887 | * xfns.c (Fx_show_tip): Pass new arg to try_window. | |
8888 | ||
8889 | * xdisp.c (try_window): New arg CHECK_MARGINS. Calls changed. | |
8890 | (redisplay_window): Handle try_window reporting point in scroll margin. | |
8891 | ||
8892 | * dispextern.h (try_window): Declare new arg. | |
8893 | ||
8894 | * fileio.c (Fcopy_file): New arg PRESERVE_UID_GID. | |
8895 | Use fchmod to copy the file modes. | |
8896 | (Frename_file): Don't copy UID and GID here; | |
8897 | instead, specify t for PRESERVE_UID_GID when calling Fcopy_file. | |
8898 | ||
df13531d RS |
8899 | * eval.c (call_debugger): Take full care of extending stack limits |
8900 | to make space for the debugger, and restore the change afterward. | |
8901 | Bind debug-on-error to nil. | |
8902 | (restore_stack_limits): New subroutine. | |
8903 | (Fsignal): Extend specpdl bound along with eval depth bound, | |
8904 | for calling edebug. Don't do either one, for calling debugger. | |
8905 | (find_handler_clause): Don't bind debug-on-error here. | |
8906 | Don't unbind anything either. | |
8907 | Temporarily advance max_specpdl_size for calling | |
8908 | internal_with_output_to_temp_buffer. | |
8909 | (grow_specpdl): Don't alter max_specpdl_size before signaling | |
8910 | an error. | |
8911 | (syms_of_eval) <max-specpdl-size>: Doc fix. | |
8912 | ||
09352e8f RS |
8913 | * lread.c (read1): 0.0e+NaN should make a "positive" NaN. |
8914 | ||
90296dd3 EZ |
8915 | 2005-06-24 Eli Zaretskii <eliz@gnu.org> |
8916 | ||
8917 | * fileio.c (Frename_file): Undo last change: no need to ifdef away | |
8918 | chown on DOS_NT platforms. | |
8919 | ||
8920 | * w32.c (sys_chown): New function. | |
8921 | ||
8922 | * s/ms-w32.h (chown): New; define to sys_chown. | |
8923 | ||
c4f6ca24 JB |
8924 | 2005-06-24 Juanma Barranquero <lekktu@gmail.com> |
8925 | ||
3338c0ad JB |
8926 | * xdisp.c (syms_of_xdisp) <nobreak-char-display>: Doc fix. |
8927 | (syms_of_xdisp) <void-text-area-pointer>: Doc fix. | |
8928 | ||
9a1505e9 | 8929 | * fileio.c (Frename_file)[!DOS_NT]: Don't call chown on MSDOS/Windows. |
c4f6ca24 | 8930 | |
528b6abc RS |
8931 | 2005-06-23 Richard M. Stallman <rms@gnu.org> |
8932 | ||
8933 | * xdisp.c (get_next_display_element): Finish reversing the tests of | |
8934 | Vnobreak_char_display. | |
8935 | ||
9a1505e9 | 8936 | * xdisp.c (Vnobreak_char_display): Rename from Vshow_nonbreak_escape. |
528b6abc | 8937 | All uses changed. |
9a1505e9 | 8938 | (Qnobreak_space): Rename from Qno_break_space. All uses changed. |
528b6abc RS |
8939 | (syms_of_xdisp): Define nobreak-char-display and nobreak-space. |
8940 | ||
8941 | * fileio.c (Frename_file): Preserve owner and group, if possible, | |
8942 | when copying. | |
8943 | ||
1d1c7e75 JB |
8944 | 2005-06-23 Juanma Barranquero <lekktu@gmail.com> |
8945 | ||
253b2298 JB |
8946 | * abbrev.c (Funexpand_abbrev): |
8947 | * category.c (Fmake_category_set): | |
8948 | * dispnew.c (Fsleep_for, Fsit_for): | |
8949 | * editfns.c (Fsubst_char_in_region): | |
8950 | * eval.c (Fdefvar, Fdefconst, Feval, Ffuncall): | |
8951 | * frame.c (make_frame_without_minibuffer): | |
8952 | * lread.c (read_vector): | |
8953 | * macfns.c (check_x_frame): | |
8954 | * process.c (Fstop_process, Fcontinue_process): | |
8955 | * search.c (Freplace_match): | |
8956 | * syntax.c (Fstring_to_syntax): | |
8957 | * w32fns.c (check_x_frame, check_x_display_info): | |
8958 | * xfaces.c (x_supports_face_attributes_p): | |
8959 | * xselect.c (Fx_own_selection_internal): Follow error conventions. | |
8960 | ||
1d1c7e75 JB |
8961 | * image.c (fn_png_init_io): Don't define it. |
8962 | (init_png_functions) [HAVE_NTGUI]: Don't initialize fn_png_init_io. | |
8963 | (png_read_from_file): New function, based on png_read_from_memory. | |
8964 | (png_load): Use it, instead of fn_png_init_io. | |
8965 | ||
d1fab151 KS |
8966 | 2005-06-23 Kim F. Storm <storm@cua.dk> |
8967 | ||
8968 | * search.c (Fmatch_data): Remove evaporate option. | |
9d12e52b | 8969 | (Fset_match_data): Do not mention evaporate option in doc string. |
d1fab151 KS |
8970 | Add commentary explaining evaporate arg (for internal use only). |
8971 | (unwind_set_match_data): Add comment on evaporate use. | |
8972 | ||
53abc3bf MB |
8973 | 2005-06-22 Miles Bader <miles@gnu.org> |
8974 | ||
a4429c5b | 8975 | * xfaces.c (Qvertical_border): Rename from `Qvertical_divider'. |
53abc3bf MB |
8976 | (realize_basic_faces, syms_of_xfaces): Update references to it. |
8977 | * dispextern.h (enum face_id): Rename `VERTICAL_DIVIDER_FACE_ID' | |
8978 | to `VERTICAL_BORDER_FACE_ID'. | |
8979 | * dispnew.c (build_frame_matrix_from_leaf_window): Update references. | |
8980 | ||
36a3b076 JL |
8981 | 2005-06-21 Juri Linkov <juri@jurta.org> |
8982 | ||
8983 | * dispextern.h: Add extern Qframe_set_background_mode. | |
8984 | ||
8985 | * xfaces.c: Rename obsolete function Qframe_update_face_colors to | |
8986 | Qframe_set_background_mode. | |
8987 | ||
8988 | * frame.c (Fmodify_frame_parameters): | |
8989 | Call frame-set-background-mode after changing the background color | |
8990 | on non-window non-dos branch. | |
8991 | ||
23873c96 JB |
8992 | 2005-06-21 Juanma Barranquero <lekktu@gmail.com> |
8993 | ||
8994 | * fns.c (Fchar_table_range): | |
8995 | * process.c (Fmake_network_process): Fix spellings. | |
8996 | ||
b7d1f38f KS |
8997 | 2005-06-20 Kim F. Storm <storm@cua.dk> |
8998 | ||
8999 | * fns.c (Fsort): Doc fix. | |
9000 | ||
b4e49aee MB |
9001 | 2005-06-20 Miles Bader <miles@gnu.org> |
9002 | ||
9003 | * xfaces.c (Qvertical_divider): New variable. | |
9004 | (realize_basic_faces): Realize its face. | |
9005 | (syms_of_xfaces): Initialize it. | |
9006 | ||
9007 | * dispextern.h (enum face_id): Add `VERTICAL_DIVIDER_FACE_ID'. | |
9008 | ||
9009 | * dispnew.c (build_frame_matrix_from_leaf_window): Display vertical | |
9010 | window-separator on ttys using `vertical-divider' face by default. | |
9011 | ||
b7da00ba RS |
9012 | 2005-06-17 Richard M. Stallman <rms@gnu.org> |
9013 | ||
a4429c5b SM |
9014 | * xdisp.c (get_next_display_element): |
9015 | Reverse test of Vshow_nonbreak_escape. | |
b7da00ba RS |
9016 | |
9017 | * term.c (produce_special_glyphs): Use spec_glyph_lookup_face. | |
f19b57e3 RS |
9018 | (Ftty_no_underline): New function. |
9019 | (syms_of_term): defsubr it. | |
b7d1f38f | 9020 | |
b7da00ba RS |
9021 | * keyboard.c (read_char): Call restore_getcjmp after jump occurs. |
9022 | ||
9023 | * dispnew.c (spec_glyph_lookup_face): New function. | |
9024 | (build_frame_matrix_from_leaf_window): Use it. | |
9025 | ||
9026 | * dispextern.h (spec_glyph_lookup_face): Add declaration. | |
9027 | ||
9028 | * buffer.c (syms_of_buffer) <cursor-type>: Doc fix. | |
9029 | ||
9030 | 2005-06-12 Richard M. Stallman <rms@gnu.org> | |
9031 | ||
9032 | * keyboard.c (read_char): After catching a longjmp, | |
9033 | call restore_getcjmp. | |
9034 | ||
289824a3 JB |
9035 | 2005-06-17 Juanma Barranquero <lekktu@gmail.com> |
9036 | ||
9037 | * xselect.c (lisp_data_to_selection_data): Fix spelling. | |
9038 | ||
95085023 YM |
9039 | 2005-06-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9040 | ||
9041 | * macterm.c (mac_compute_glyph_string_overhangs): Don't set | |
9042 | overhangs unless the given glyph type is noncomposite CHAR_GLYPH. | |
9043 | [USE_CARBON_EVENTS] (mac_convert_event_ref): Convert dead key down | |
9044 | events. | |
9045 | (XTread_socket): Don't pass keyboard events with the option | |
9046 | modifier to the system when Vmac_command_key_is_meta is nil or | |
9047 | Vmac_option_modifier is non-nil. | |
9048 | [USE_CARBON_EVENTS] (read_socket_inev): New variable. | |
9049 | [USE_CARBON_EVENTS] (init_command_handler): Fix argument. | |
9050 | [USE_CARBON_EVENTS] (mac_handle_mouse_event): New Carbon event | |
9051 | handler function. | |
9052 | (install_window_handler) [USE_CARBON_EVENTS]: Install it. | |
9053 | (XTread_socket) [USE_CARBON_EVENTS]: Move mouse wheel event | |
9054 | handler part to mac_handle_mouse_event. | |
9055 | ||
4a9308b8 JB |
9056 | 2005-06-14 Juanma Barranquero <lekktu@gmail.com> |
9057 | ||
9058 | * eval.c (Fdefvaralias): Rename arguments SYMBOL and ALIASED to | |
9059 | NEW-ALIAS and BASE-VARIABLE, respectively. | |
9060 | ||
5aa6db57 SM |
9061 | 2005-06-13 Stefan Monnier <monnier@iro.umontreal.ca> |
9062 | ||
9063 | * xdisp.c (note_mode_line_or_margin_highlight): Lisp_Object/int mixup. | |
9064 | (get_phys_cursor_geometry, format_mode_line_unwind_data) | |
9065 | (get_line_height_property, x_produce_glyphs): Remove unused vars. | |
9066 | ||
9067 | * coding.c (run_pre_post_conversion_on_str): Remove unused var `buf'. | |
9068 | ||
0e0dddda EZ |
9069 | 2005-06-13 Eli Zaretskii <eliz@gnu.org> |
9070 | ||
9071 | * w32term.c (x_use_underline_position_properties): New variable. | |
9072 | (x_draw_glyph_string): Remind in a comment to change doc string of | |
9073 | x-use-underline-position-properties if/when underline positioning | |
9074 | is implemented. | |
9075 | (syms_of_w32term): DEFVAR_BOOL x-use-underline-position-properties, | |
9076 | and initialize it to nil. | |
9077 | ||
7f2b4738 JR |
9078 | 2005-06-12 Jason Rumney <jasonr@gnu.org> |
9079 | ||
9080 | * w32fns.c (NEWOPENFILENAME): New struct. | |
9081 | (Fx_file_dialog): Use it to trick the system into giving us up to | |
9082 | date dialogs on systems that are documented to support it. | |
9083 | Do not set OFN_FILEMUSTEXIST flag if looking for a directory. | |
9084 | ||
a1e8cad6 EZ |
9085 | 2005-06-12 Eli Zaretskii <eliz@gnu.org> |
9086 | ||
9087 | * w32fns.c (w32_abort): Use the MB_YESNO dialog instead of | |
9088 | MB_ABORTRETRYIGNORE. Never return, even if DebugBreak does. | |
9089 | ||
099a3eea EZ |
9090 | 2005-06-11 Eli Zaretskii <eliz@gnu.org> |
9091 | ||
2e09fef1 EZ |
9092 | * image.c (x_create_x_image_and_pixmap) [HAVE_NTGUI]: Cast 4th arg |
9093 | to CreateDIBSection to avoid a compiler warning. | |
9094 | (pbm_load): Cast 3rd arg to IMAGE_BACKGROUND to avoid a compiler | |
9095 | warning. | |
9096 | (png_load): Cast return values of fn_png_create_read_struct and | |
9097 | fn_png_create_info_struct, to avoid compiler warnings on W32. | |
9098 | Cast 3rd arg to IMAGE_BACKGROUND and image_background_transparent | |
9099 | to avoid compiler warnings. | |
9100 | (jpeg_load): Cast return value of fn_jpeg_std_error to avoid a | |
9101 | compiler warning on W32. Cast 3rd arg to IMAGE_BACKGROUND to | |
9102 | avoid a compiler warning. | |
9103 | (tiff_load): Cast return values of fn_TIFFOpen and | |
9104 | fn_TIFFClientOpen to avoid compiler warning on W32. Cast 3rd arg | |
9105 | to IMAGE_BACKGROUND to avoid a compiler warning. | |
9106 | (gif_load): Cast return values of fn_DGifOpenFileName and | |
9107 | fn_DGifOpen to avoid compiler warnings on W32. Cast 3rd arg to | |
9108 | IMAGE_BACKGROUND to avoid a compiler warning. | |
9109 | (DrawText) [HAVE_NTGUI || MAC_OS]: If already defined, undef | |
9110 | before redefining. | |
9111 | ||
099a3eea EZ |
9112 | * w32bdf.c (create_offscreen_bitmap): Cast `bitsp' to `void **' in |
9113 | the call to CreateDIBSection, to avoid a compiler warning. | |
9114 | ||
d11f8e1a JR |
9115 | 2005-06-11 Jason Rumney <jasonr@gnu.org> |
9116 | ||
9117 | * w32fns.c (Fx_file_dialog): Unblock input before falling back to | |
9118 | minibuffer. | |
9119 | * macfns.c (Fx_file_dialog): Likewise. | |
9120 | ||
cd4344a3 EZ |
9121 | 2005-06-10 Eli Zaretskii <eliz@gnu.org> |
9122 | ||
9123 | * makefile.w32-in ($(TEMACS)): Depend on addsection.exe. | |
9124 | ||
578c1340 JB |
9125 | 2005-06-10 Juanma Barranquero <lekktu@gmail.com> |
9126 | ||
9127 | * process.c (syms_of_process) [ADAPTIVE_READ_BUFFERING]: | |
9128 | * w32fns.c (syms_of_w32fns): Fix spellings. | |
9129 | ||
4162f25f EZ |
9130 | 2005-06-10 Eli Zaretskii <eliz@gnu.org> |
9131 | ||
9132 | * unexw32.c (COPY_CHUNK, COPY_PROC_CHUNK): Add a new argument | |
5aa6db57 SM |
9133 | `verbose'; print diagnostic messages only if it is non-zero. |
9134 | All callers changed to pass a zero value unless DEBUG_DUMP is defined | |
4162f25f EZ |
9135 | in the environment. |
9136 | (copy_executable_and_dump_data): Print section names with %.8s. | |
9137 | ||
121c59a3 MY |
9138 | 2005-06-10 Masatake YAMATO <jet@gyve.org> |
9139 | ||
9140 | * xdisp.c (note_mode_line_or_margin_highlight): Call clear_mouse_face | |
9141 | when mouse_face is not given. | |
121c59a3 | 9142 | |
c869384d LT |
9143 | 2005-06-09 Luc Teirlinck <teirllm@auburn.edu> |
9144 | ||
9145 | * window.c (Fselect_window): Adapt call to Fselect_frame. | |
9146 | ||
9147 | * lisp.h: Update EXFUN of Fselect_frame. | |
9148 | ||
9149 | * keyboard.c (command_loop_1): Adapt call to Fselect_frame. | |
9150 | ||
6ecf436d LT |
9151 | * frame.c (Fhandle_switch_frame, Fselect_frame): Delete unused arg |
9152 | no_enter. | |
9153 | (Fset_mouse_position, Fset_mouse_pixel_position, Ficonify_frame): | |
c869384d LT |
9154 | Adapt to above change. |
9155 | ||
c14ec135 JB |
9156 | 2005-06-10 Juanma Barranquero <lekktu@gmail.com> |
9157 | ||
9158 | * fns.c (Fmemq, Fmaphash): Doc fixes. | |
9159 | ||
9fed2905 JB |
9160 | 2005-06-09 Juanma Barranquero <lekktu@gmail.com> |
9161 | ||
9162 | * xfaces.c (Fdisplay_supports_face_attributes_p): | |
9163 | Fix typo in docstring. | |
9164 | ||
427c5b1b ST |
9165 | 2005-06-08 Steven Tamm <steventamm@mac.com> |
9166 | ||
9167 | * unexmacosx.c (copy_data_segment): Copy __la_sym_ptr2 section | |
9168 | used by gcc4 on intel mac. | |
9169 | ||
b7aae902 KS |
9170 | 2005-06-09 Kim F. Storm <storm@cua.dk> |
9171 | ||
9172 | * search.c (Fmatch_data): Add optional RESEAT arg. Unchain markers | |
9173 | in REUSE list if non-nil; free them if equal to evaporate. | |
5e1a6e32 | 9174 | (Fset_match_data): Add optional RESEAT arg. Unchain markers in LIST |
b7aae902 KS |
9175 | if non-nil; free them if equal to evaporate. Use XCAR/XCDR. |
9176 | (restore_search_regs): Rename from restore_match_data. Uses changed. | |
9177 | (unwind_set_match_data): New function. | |
9178 | (record_unwind_save_match_data): New function like save-match-data. | |
9179 | ||
9180 | * lisp.h (Fmatch_data, Fset_match_data): Fix EXFUN. | |
9181 | (record_unwind_save_match_data): Add prototype. | |
9182 | (restore_search_regs): Rename from restore_match_data. | |
9183 | ||
9184 | * composite.c (compose_chars_in_text): | |
9185 | * eval.c (do_autoload): | |
9186 | * macmenu.c (set_frame_menubar): | |
9187 | * process.c (read_process_output, exec_sentinel): | |
9188 | * xmenu.c (set_frame_menubar): | |
9189 | * xdisp.c (prepare_menu_bars, update_menu_bar, update_tool_bar): | |
9190 | * w32menu.c (set_frame_menubar): | |
9191 | Use record_unwind_save_match_data. | |
9192 | ||
547d2b37 RS |
9193 | 2005-06-08 Richard M. Stallman <rms@gnu.org> |
9194 | ||
9195 | * xdisp.c (get_next_display_element): Alter previous change: | |
9196 | Distinguish Vshow_nonbreak_escape = t or not t. | |
9197 | For t, use escape_glyph once again, as before previous change. | |
9198 | Use space or hyphen for display, instead of the non-ASCII char. | |
9199 | (syms_of_xdisp) <show-nonbreak-escape>: Doc fix. | |
9200 | ||
9201 | * process.c (Fstart_process): Don't touch command_channel_p slot. | |
9202 | ||
99598737 | 9203 | * process.h (struct process): Delete command_channel_p. |
547d2b37 | 9204 | |
602907ae MY |
9205 | 2005-06-07 Masatake YAMATO <jet@gyve.org> |
9206 | ||
5aa6db57 SM |
9207 | * xdisp.c (note_mode_line_or_margin_highlight): |
9208 | Check the overlapping of re-rendering area to avoid flickering. | |
b7aae902 | 9209 | (note_mouse_highlight): Call clear_mouse_face if PART |
602907ae MY |
9210 | is not ON_MODE_LINE nor ON_HEADER_LINE. |
9211 | ||
8b793bed KS |
9212 | 2005-06-07 Kim F. Storm <storm@cua.dk> |
9213 | ||
9214 | * process.c: Improve commentary for adaptive read buffering. | |
9215 | ||
3d031334 SM |
9216 | 2005-06-06 Stefan Monnier <monnier@iro.umontreal.ca> |
9217 | ||
9218 | * xterm.c (x_create_toolkit_scroll_bar): Use XtNarrowScrollbars | |
9219 | if available. | |
9220 | ||
16d2e704 JD |
9221 | 2005-06-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9222 | ||
5aa6db57 SM |
9223 | * macmenu.c (menu_quit_handler, install_menu_quit_handler): |
9224 | New functions for popping down menus on C-g. | |
16d2e704 JD |
9225 | (set_frame_menubar, mac_menu_show): Call install_menu_quit_handler. |
9226 | ||
9227 | * macterm.c: Make mac_quit_char_modifiers and mac_quit_char_keycode | |
9228 | non-static. | |
9229 | ||
9fed2905 | 9230 | * config.in: Add HAVE_CANCELMENUTRACKING. |
16d2e704 | 9231 | |
b6cc2ad0 EZ |
9232 | 2005-06-06 Eli Zaretskii <eliz@gnu.org> |
9233 | ||
9a1505e9 | 9234 | * w32heap.h (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_PTR): Remove macros. |
b6cc2ad0 | 9235 | |
5aa6db57 | 9236 | * unexw32.c (RVA_TO_PTR): Move here from w32heap.h. |
b6cc2ad0 EZ |
9237 | |
9238 | * w32proc.c (RVA_TO_PTR): New macro. | |
9239 | ||
9240 | * w32heap.c (RVA_TO_PTR): No need to #undef now. | |
9241 | ||
9242 | * makefile.w32-in ($(BLD)/emacs.$(O), $(BLD)/w32select.$(O)): | |
9243 | Depend on w32heap.h. | |
9244 | ||
24e55feb LT |
9245 | 2005-06-06 Luc Teirlinck <teirllm@auburn.edu> |
9246 | ||
9247 | * keyboard.c (command_loop_1): Update Vthis_original_command. | |
9248 | ||
ce6e10af RS |
9249 | 2005-06-06 Richard M. Stallman <rms@gnu.org> |
9250 | ||
9251 | * xmenu.c (popup_get_selection): Undo previous change. | |
9252 | ||
c476bcb0 JL |
9253 | 2005-06-06 Juri Linkov <juri@jurta.org> |
9254 | ||
9255 | * xdisp.c (Qno_break_space): New variable. | |
9256 | (syms_of_xdisp): Initialize it. | |
9257 | (get_next_display_element): Add no-break space and soft hypen | |
9258 | codes for iso8859-2 and iso8859-5. Don't add `\' for them. | |
9259 | Use `no-break-space' face for no-break spaces. | |
9260 | ||
5494d7bc JD |
9261 | 2005-06-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9262 | ||
9263 | * window.c (delete_window): Handle the case where a h/vchild has | |
9264 | a h/vchild. | |
9265 | ||
a0c38328 EZ |
9266 | 2005-06-05 Eli Zaretskii <eliz@gnu.org> |
9267 | ||
9268 | * w32.c (sys_setsockopt): Change arg 4 to `const void *'. In the | |
9269 | call to pfn_setsockopt, cast optval to `const char *'. | |
9270 | ||
91018229 EZ |
9271 | 2005-06-04 Eli Zaretskii <eliz@gnu.org> |
9272 | ||
1a8fb426 EZ |
9273 | * w32.c (gettimeofday): Use struct _timeb, not struct timeb. |
9274 | (open_unc_volume): Cast return value of map_w32_filename, to avoid | |
9275 | compiler warnings. | |
9276 | ||
b6f0a397 EZ |
9277 | * s/ms-w32.h (fileno): Don't define if already defined. |
9278 | ||
17a7c5c2 | 9279 | * emacs.c: Include w32heap.h, to avoid compiler warning about sbrk. |
d01a9710 | 9280 | |
91018229 EZ |
9281 | * makefile.w32-in (DOC): Define to point to the generated DOC-X. |
9282 | ||
196ac78c RS |
9283 | 2005-06-04 Richard M. Stallman <rms@gnu.org> |
9284 | ||
9285 | * xmenu.c (popup_get_selection): Click not in menu deactivates menu. | |
9286 | ||
b8987570 JD |
9287 | 2005-06-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9288 | ||
9289 | * macmenu.c (cleanup_popup_menu): New function. | |
2d4713aa | 9290 | (Fx_popup_menu): Unwind protect cleanup_popup_menu in case |
b8987570 JD |
9291 | mac_menu_show Quit:s. |
9292 | (mac_menu_show): Quit on cancel if not popped up on click (i.e. | |
9293 | a dialog). | |
9294 | ||
555228aa KS |
9295 | 2005-06-04 Kim F. Storm <storm@cua.dk> |
9296 | ||
9297 | * coding.c (decode_coding_string): Handle CODING_FINISH_INTERRUPT. | |
9298 | ||
9299 | * callproc.c (Fcall_process): Don't use alloca to gradually | |
9300 | increase size of buf, as it effectively uses twice the necessary | |
9301 | space on the stack. Instead, pre-allocate buf of full size, and | |
9302 | gradually increase the read size. | |
9303 | ||
9304 | * bytecode.c (BYTE_CODE_QUIT): Check Vthrow_on_input. | |
9305 | ||
9306 | * eval.c (unbind_to): Preserve value of Vquit_flag. | |
9307 | ||
9308 | * xterm.c (handle_one_xevent): Also ignore mouse motion just | |
9309 | before a button release event. | |
9310 | ||
6312e5f7 JB |
9311 | 2005-06-03 Juanma Barranquero <lekktu@gmail.com> |
9312 | ||
9313 | * xfaces.c (Finternal_lisp_face_equal_p): Really report | |
9314 | on faces in a frame, if the argument FRAME is non-nil. | |
9315 | Improve argument/docstring consistency. | |
9316 | ||
0493f7be KS |
9317 | 2005-06-02 Kim F. Storm <storm@cua.dk> |
9318 | ||
9319 | * xdisp.c (MODE_LINE_NOPROP_LEN): New macro. | |
9320 | (x_consider_frame_title, Fformat_mode_line): Save offset into | |
9321 | mode_line_noprop_buf rather than pointer, in case buffer is relocated. | |
9322 | ||
89fe657e KS |
9323 | 2005-06-01 Kim F. Storm <storm@cua.dk> |
9324 | ||
9325 | * fns.c (mapcar1): Maybe exit loop if original sequence was modified. | |
9326 | ||
02a6375c YM |
9327 | 2005-06-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9328 | ||
9329 | * macterm.c (mac_to_x_fontname, mac_do_list_fonts): Set XLFD | |
9330 | resolution fields for scalable fonts to 0. | |
9331 | ||
9332 | * xfaces.c (build_scalable_font_name): Round pixel size to the | |
9333 | nearest integer. | |
9334 | ||
95d4fad8 KS |
9335 | 2005-06-01 Kim F. Storm <storm@cua.dk> |
9336 | ||
9337 | * xdisp.c (display_mode_line): Support nested calls to redisplay | |
9338 | and format-mode-line. Set mode_line_target to MODE_LINE_DISPLAY. | |
9339 | ||
3c1b433a SM |
9340 | 2005-05-31 Stefan Monnier <monnier@iro.umontreal.ca> |
9341 | ||
9342 | * fileio.c (Finsert_file_contents): | |
9343 | * xdisp.c (note_mode_line_or_margin_highlight): Lisp_Object/int mixup. | |
9344 | ||
13cc7d61 KS |
9345 | 2005-05-31 Kim F. Storm <storm@cua.dk> |
9346 | ||
9347 | * xdisp.c (mode_line_noprop_buf, mode_line_noprop_buf_end) | |
9348 | (mode_line_noprop_ptr): Rename from frame_title_*. | |
9349 | (store_mode_line_noprop_char): Rename from store_frame_title_char. | |
9350 | (store_mode_line_noprop): Rename from store_frame_title. | |
3c1b433a | 9351 | (mode_line_target): New enum to specify current output target |
13cc7d61 KS |
9352 | for mode line formatting. |
9353 | (display_mode_element): Test it rather than frame_title_ptr and | |
9354 | mode_line_string_list to determine where output should go. | |
9355 | (mode_line_proptrans_alist, mode_line_string_alist): Make static. | |
9356 | (Vmode_line_unwind_vector): New variable. | |
3c1b433a SM |
9357 | (format_mode_line_unwind_data, unwind_format_mode_line): |
9358 | New functions for unwind protection in mode line formatting. | |
13cc7d61 | 9359 | (x_consider_frame_title): Use them and new local var 'title_start' |
5aa6db57 SM |
9360 | to support nested calls to format-mode-line and redisplay. |
9361 | Set mode_line_target to MODE_LINE_TITLE. | |
13cc7d61 | 9362 | (Fformat_mode_line): Use them and new local var 'string_start' to |
5aa6db57 SM |
9363 | support nested calls to format-mode-line and redisplay. |
9364 | Set mode_line_target to MODE_LINE_NOPROP or MODE_LINE_STRING. | |
95d4fad8 | 9365 | Don't trim trailing dashes. |
13cc7d61 KS |
9366 | (decode_mode_spec): Don't make infinite number of trailing dashes |
9367 | for MODE_LINE_NOPROP and MODE_LINE_STRING targets. | |
9368 | (syms_of_xdisp): Initialize and staticpro mode_line_string_face, | |
9369 | mode_line_string_face_prop, and Vmode_line_unwind_vector. | |
9370 | (init_xdisp): Initialize mode_line_noprop_ptr to start of _buf. | |
9371 | Initialize mode_line_target to MODE_LINE_DISPLAY. | |
9372 | ||
c16b1394 RS |
9373 | 2005-05-29 Richard M. Stallman <rms@gnu.org> |
9374 | ||
9375 | * buffer.c (Fbuffer_local_value): Call indirect_variable. | |
9376 | ||
edfaeb4e MY |
9377 | 2005-05-28 Masatake YAMATO <jet@gyve.org> |
9378 | ||
9379 | * xdisp.c (note_mode_line_or_margin_highlight): Change the | |
9380 | pointer to a hand cursor when hoovering over a mouse-face. | |
9381 | ||
7cf49add KH |
9382 | 2005-05-27 Kenichi Handa <handa@m17n.org> |
9383 | ||
9384 | * xterm.c (x_encode_char): Call check_ccl_update in advance. | |
9385 | ||
9386 | * ccl.c: Now an element of Vccl_program_table is a vector of | |
9387 | length 4, not 3. | |
3c1b433a SM |
9388 | (ccl_get_compiled_code): New arg idx. Caller changed. |
9389 | Adjust for the change of Vccl_program_table. | |
9390 | (setup_ccl_program): Adjust for the change of Vccl_program_table. | |
7cf49add KH |
9391 | (check_ccl_update): New function. |
9392 | (Fregister_ccl_program): Use ASET to set an element of a vector. | |
9393 | Adjusted for the change of Vccl_program_table. | |
9394 | ||
9395 | * ccl.h (struct ccl_program): New member idx. | |
9396 | (check_ccl_update): Extern it. | |
9397 | ||
5e2ad10b JB |
9398 | 2005-05-27 Juanma Barranquero <lekktu@gmail.com> |
9399 | ||
3c1b433a | 9400 | * image.c (Vimage_library_alist): Move from image.el. |
d5e1a786 JB |
9401 | (syms_of_image): Defvar it. |
9402 | (lookup_image_type): Use it. | |
9403 | ||
5e2ad10b JB |
9404 | * buffer.c (Fbuffer_local_value): Make argument name match its use |
9405 | in docstring. | |
9406 | ||
6e604a9b JB |
9407 | 2005-05-26 Juanma Barranquero <lekktu@gmail.com> |
9408 | ||
9409 | * keyboard.c (Frecursive_edit): Fix typo in docstring. | |
9410 | (Fposn_at_x_y): Make argument name match its use in docstring. | |
9411 | ||
59244a3f LK |
9412 | 2005-05-26 Lute Kamstra <lute@gnu.org> |
9413 | ||
9414 | * eval.c (Frun_hooks): Mention run-mode-hooks in docstring. | |
9415 | ||
55ce5058 MY |
9416 | 2005-05-24 Masatake YAMATO <jet@gyve.org> |
9417 | ||
9418 | * xdisp.c (note_mode_line_or_margin_highlight): Use b and e | |
9419 | as loop sentinels. | |
9420 | ||
cb5db137 NR |
9421 | 2005-05-24 Nick Roberts <nickrob@snap.net.nz> |
9422 | ||
9423 | * xmenu.c (Fx_popup_dialog): Add a third boolean argument to | |
9424 | select frame title ("Question"/"Information"). | |
9425 | (xdialog_show): Use it. | |
9426 | ||
13dcfc35 NR |
9427 | * macmenu.c (Fx_popup_dialog, mac_dialog_show): As for xmenu.c. |
9428 | ||
9429 | * w32menu.c (Fx_popup_dialog, w32_dialog_show): As for xmenu.c. | |
9430 | ||
d3393daa NR |
9431 | * fns.c (Fyes_or_no_p, Fy_or_n_p): Call Fx_popup_dialog with |
9432 | a third argument (Qnil). | |
9433 | ||
9434 | * lisp.h: x-popup-dialog can have three arguments. | |
cb5db137 NR |
9435 | |
9436 | * editfns.c (Fmessage_box): Use "Information" for frame title. | |
9437 | ||
71d4fba1 TTN |
9438 | 2005-05-23 Thien-Thi Nguyen <ttn@gnu.org> |
9439 | ||
9440 | * termcap.c [VMS]: Include <starlet.h>. | |
9441 | ||
359e4563 MY |
9442 | 2005-05-23 Masatake YAMATO <jet@gyve.org> |
9443 | ||
6e604a9b JB |
9444 | * xdisp.c (note_mode_line_or_margin_highlight): Add code |
9445 | for mouse-face. Change the type of the first argument from `window' | |
9446 | to `Lisp_Object'. | |
359e4563 MY |
9447 | (note_mouse_highlight): Call note_mode_line_or_margin_highlight with |
9448 | window instead of w. | |
9449 | ||
edceb51c AS |
9450 | 2005-05-22 Andreas Schwab <schwab@suse.de> |
9451 | ||
41c4895c | 9452 | * process.c (send_process): Move misplaced volatile. |
edceb51c | 9453 | |
5c213fcc RS |
9454 | 2005-05-21 Richard M. Stallman <rms@gnu.org> |
9455 | ||
9456 | * xdisp.c (display_mode_element): If we're processing a list and | |
9457 | padding is specified, put it after the last element. | |
9458 | ||
aa4060b9 EZ |
9459 | 2005-05-21 Eli Zaretskii <eliz@gnu.org> |
9460 | ||
9461 | * fileio.c (Fexpand_file_name) [DOS_NT]: Don't try to support | |
9462 | "superroot" on DOS_NT systems. | |
9463 | ||
a2c9aee6 EZ |
9464 | 2005-05-21 David Hunter <hunterd42@comcast.net> (tiny change) |
9465 | ||
9466 | * process.c (send_process): Restore the SIGPIPE handler if we | |
9467 | catch a SIGPIPE. | |
9468 | ||
09e8eb5b JB |
9469 | 2005-05-20 Juanma Barranquero <lekktu@gmail.com> |
9470 | ||
9471 | * image.c (lookup_image, png_read_from_memory): Remove hacks (and | |
9472 | misleading comments). | |
9473 | (DEF_IMGLIB_FN): Use C calling convention for image libraries. | |
9474 | ||
f3fbdb1f LK |
9475 | 2005-05-20 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
9476 | ||
9477 | * window.c (Fwindow_inside_edges, Fwindow_inside_pixel_edges): | |
9478 | Correct the right value. | |
9479 | ||
639ec765 NR |
9480 | 2005-05-19 Nick Roberts <nickrob@snap.net.nz> |
9481 | ||
240d926e | 9482 | * keyboard.c (syms_of_keyboard): Remove Lisp variables |
639ec765 NR |
9483 | post-command-idle-hook and post-command-idle-delay. |
9484 | (command_loop_1): Don't try to execute post-command-idle-hook. | |
9485 | ||
03d42907 KS |
9486 | 2005-05-16 Kim F. Storm <storm@cua.dk> |
9487 | ||
1cb83e13 KS |
9488 | * xdisp.c (handle_display_prop): Handle empty replacement. |
9489 | (handle_single_display_spec): Return -1 for empty replacement. | |
9490 | ||
9491 | * keyboard.c (adjust_point_for_property): Skip empty overlay string. | |
9492 | ||
03d42907 KS |
9493 | * .gdbinit (pitx): Print more info about iterator. |
9494 | ||
0da46b6e AS |
9495 | 2005-05-16 Andreas Schwab <schwab@suse.de> |
9496 | ||
3c1b433a | 9497 | * unexmacosx.c (unexec_realloc): Move declarations before statements. |
0da46b6e | 9498 | |
d06ba294 RS |
9499 | 2005-05-14 Richard M. Stallman <rms@gnu.org> |
9500 | ||
9501 | * xdisp.c (message3): Call cancel_echoing. | |
9502 | ||
9503 | * alloc.c (Fmemory_full_p): New function. | |
9504 | (syms_of_alloc): defsubr it. | |
9505 | ||
9506 | * process.c (send_process_trap): Unblock SIGPIPE. | |
9507 | (send_process): Reset SIGPIPE handler before reporting error. | |
9508 | ||
90713743 NR |
9509 | 2005-05-14 Nick Roberts <nickrob@snap.net.nz> |
9510 | ||
9511 | * emacs.c (syms_of_emacs): Fix doc string for system-type. | |
9512 | ||
68780e2a RS |
9513 | 2005-05-13 Richard M. Stallman <rms@gnu.org> |
9514 | ||
9515 | * fileio.c (Ffind_file_name_handler): Handle lambda-exp as handler. | |
9516 | (Finsert_file_contents): If we read 0 bytes from a special file, | |
9517 | unlock the visited file if we locked it. | |
9518 | (Fmake_symbolic_link, Frecent_auto_save_p): Doc fixes. | |
03d42907 | 9519 | (Ffile_exists_p, Ffile_symlink_p): Doc fixes. |
68780e2a | 9520 | |
5063dbbf YM |
9521 | 2005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9522 | ||
9523 | * emacs.c (main) [MAC_OS8]: Call init_atimer before mac_term_init. | |
9524 | ||
3c1b433a SM |
9525 | * keyboard.c (readable_events) [USE_TOOLKIT_SCROLL_BARS]: |
9526 | Regard toolkit scroll bar thumb drag events as squeezable and prevent | |
5063dbbf YM |
9527 | redisplay from being paused by them. |
9528 | ||
9529 | * mac.c [!MAC_OSX]: Include keyboard.h and syssignal.h. | |
9530 | [!MAC_OSX] (target_ticks): Remove variable. | |
9531 | [!MAC_OSX] (check_alarm, pause, index): Remove functions. | |
9532 | [!MAC_OSX && __MRC__] (sys_strftime): Likewise. | |
9533 | [!MAC_OSX] (select): If fd 0 is not set in rfds and some input | |
3c1b433a | 9534 | event occurs before timeout, behave as if the function were interrupted. |
5063dbbf YM |
9535 | [!MAC_OSX] (sigblock, sigsetmask, alarm): Simulate SIGALRM |
9536 | handling using Time Manager routines. | |
3c1b433a SM |
9537 | [!MAC_OSX] (mac_atimer_task, mac_atimer_qlink, signal_mask): |
9538 | New variables. | |
5063dbbf YM |
9539 | [!MAC_OSX] (mac_atimer_handler, set_mac_atimer, remove_mac_atimer) |
9540 | (setitimer): New functions. | |
9541 | ||
9542 | * macfns.c, macmenu.c: Don't include signal.h. | |
9543 | ||
9544 | * macterm.c [USE_TOOLKIT_SCROLL_BARS] (get_control_part_bounds): | |
9545 | Rename from get_control_part_bound. All callers changed. | |
9546 | (x_scroll_bar_clear): New function. | |
9547 | (x_clear_frame): Use it. | |
9548 | (XTset_vertical_scroll_bar): Don't call Draw1Control. | |
9549 | (x_scroll_bar_handle_click): Change type of second argument from | |
9550 | int to ControlPartCode. | |
9551 | (check_alarm): Remove declaration. | |
02a6375c YM |
9552 | (XTread_socket) [!TARGET_API_MAC_CARBON]: Don't call it. |
9553 | (XTread_socket): Use ControlPartCode instead of SInt16. | |
5063dbbf YM |
9554 | |
9555 | 2005-05-13 Nozomu Ando <nand@mac.com> | |
9556 | ||
9557 | * unexmacosx.c: Include assert.h. | |
9558 | (MACOSX_MALLOC_MULT16): New define. | |
9559 | [MACOSX_MALLOC_MULT16] (ptr_in_unexec_regions): Determine whether | |
9560 | ptr is in unexec regions by checking it is multiple of 16. | |
9561 | (unexec_malloc_header_t): New typedef. | |
9562 | (unexec_malloc, unexec_realloc, unexec_free): Store and use | |
9563 | allocated size information in unexec_malloc_header. | |
9564 | ||
d101bf56 RS |
9565 | 2005-05-10 Richard M. Stallman <rms@gnu.org> |
9566 | ||
9567 | * xterm.c (noinclude): Add #undef. | |
9568 | ||
9569 | * image.c, xfns.c, xmenu.c: Don't include signal.h. | |
9570 | ||
2f60660a JB |
9571 | 2005-05-09 Juanma Barranquero <lekktu@gmail.com> |
9572 | ||
f1701e65 JB |
9573 | * fileio.c (Fexpand_file_name, Frename_file, Fadd_name_to_file) |
9574 | (Fmake_symbolic_link, Faccess_file, Frecent_auto_save_p): | |
9575 | Doc fixes. | |
9576 | ||
2f60660a JB |
9577 | * dired.c (Ffile_name_completion): Make argument name |
9578 | match its use in docstring. | |
9579 | ||
9f29e806 LT |
9580 | 2005-05-08 Luc Teirlinck <teirllm@auburn.edu> |
9581 | ||
9582 | * eval.c (Fdefvaralias): Remove any pre-existing | |
9583 | variable-documentation property of the alias. | |
9584 | ||
a790bcd4 TTN |
9585 | 2005-05-07 Thien-Thi Nguyen <ttn@gnu.org> |
9586 | ||
9587 | * xfns.c (start_hourglass): Do nothing when running on a tty. | |
9588 | ||
d5fb8dab JB |
9589 | 2005-05-07 Juanma Barranquero <lekktu@gmail.com> |
9590 | ||
9591 | * fns.c (Fchar_table_range): Fix typos in docstring. | |
9592 | ||
7ec64183 SM |
9593 | 2005-05-06 Stefan Monnier <monnier@iro.umontreal.ca> |
9594 | ||
9595 | * fns.c (Fchar_table_range): Yet Another Int/Lisp_Object Mixup. | |
9596 | ||
6ff95f1d EZ |
9597 | 2005-05-06 Eli Zaretskii <eliz@gnu.org> |
9598 | ||
2c6b25c7 EZ |
9599 | * lread.c (Flocate_file_internal): Doc fix. |
9600 | ||
6ff95f1d EZ |
9601 | * Makefile.in (lisp, shortlisp): Add jka-cmpr-hook.elc. |
9602 | ||
17d28d26 YM |
9603 | 2005-05-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9604 | ||
9605 | * macselect.c (x_own_selection): Accept Lisp string as result of | |
9606 | selection converter function. | |
9607 | (x_clear_frame_selections): Don't call x-lost-selection-functions | |
9608 | if Emacs is not owner of the selection. | |
9609 | (Vmac_services_selection): Put variable and initialization in | |
9610 | #ifdef MAC_OSX. | |
9611 | (syms_of_macselect) [MAC_OSX]: Set default value of | |
9612 | Vmac_services_selection to PRIMARY. | |
9613 | ||
7ec64183 SM |
9614 | * macterm.c (toolkit_scroll_bar_interaction): Remove unused variable. |
9615 | (mac_handle_tool_bar_click): Remove unused function and declaration. | |
17d28d26 YM |
9616 | [USE_TOOLKIT_SCROLL_BARS] (scroll_bar_timer_callback) |
9617 | (install_scroll_bar_timer, set_scroll_bar_timer) | |
9618 | (control_part_code_to_scroll_bar_part, construct_scroll_bar_click) | |
9619 | (get_control_part_bound, x_scroll_bar_handle_press) | |
9620 | (x_scroll_bar_handle_release, x_scroll_bar_handle_drag) | |
9621 | (x_set_toolkit_scroll_bar_thumb): New functions and declarations. | |
9622 | [USE_TOOLKIT_SCROLL_BARS] (last_scroll_bar_part, scroll_bar_timer) | |
9623 | (scroll_bar_timer_event_posted_p): New variables. | |
9624 | [USE_TOOLKIT_SCROLL_BARS] (SCROLL_BAR_FIRST_DELAY) | |
9625 | (SCROLL_BAR_CONTINUOUS_DELAY): New macros. | |
9626 | (x_scroll_bar_create): Set control reference with NewControl. | |
7ec64183 SM |
9627 | (x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS]: |
9628 | Initialize track_top and track_height to nil. | |
9629 | (x_scroll_bar_set_handle, x_scroll_bar_note_movement): | |
9630 | Put functions in #ifndef USE_TOOLKIT_SCROLL_BARS. | |
17d28d26 YM |
9631 | (XTset_vertical_scroll_bar): Don't make space between scroll bar |
9632 | and associated window. | |
9633 | (XTset_vertical_scroll_bar) [MAC_OSX]: Get scroll bar area width | |
9634 | from window config. | |
7ec64183 SM |
9635 | (XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: |
9636 | Set track_top and track_height to nil when scroll bar size is changed. | |
17d28d26 YM |
9637 | Recalculate them if they are nil. |
9638 | (XTread_socket) [MAC_OSX]: Use control kind to determine if the | |
9639 | clicked control is a scroll bar. | |
9640 | (XTread_socket) [USE_TOOLKIT_SCROLL_BARS]: Use toolkit scroll bar | |
9641 | event handler functions. Don't add modifiers to scroll bar click | |
7ec64183 | 9642 | events. Call scroll bar release handler when window is deactivated. |
17d28d26 | 9643 | (mac_initialize): Remove unused code for X toolkit. |
7ec64183 SM |
9644 | (syms_of_macterm) [!USE_TOOLKIT_SCROLL_BARS]: |
9645 | Initialize Vx_toolkit_scroll_bars to nil. | |
17d28d26 | 9646 | |
7ec64183 SM |
9647 | * macterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: |
9648 | New members track_top and track_height. | |
17d28d26 YM |
9649 | |
9650 | * sysselect.h [DARWIN || MAC_OSX]: Temporarily undefine | |
9651 | init_process when including sys/select.h. | |
9652 | ||
643b4cf5 LT |
9653 | 2005-05-05 Luc Teirlinck <teirllm@auburn.edu> |
9654 | ||
9655 | * eval.c (Fdefvaralias): Doc fix. | |
9656 | ||
9657 | * xmenu.c (Fx_popup_menu, Fx_popup_dialog): Doc fixes. | |
9658 | ||
99bda128 KS |
9659 | 2005-05-05 Kim F. Storm <storm@cua.dk> |
9660 | ||
9661 | * buffer.c (init_buffer_once): Set cursor_in_non_selected_windows | |
9662 | default value. | |
9663 | (syms_of_buffer): Add default-cursor-in-non-selected-windows. | |
9664 | Fix type of cursor-in-non-selected-windows. | |
9665 | ||
3a3563e9 JD |
9666 | 2005-05-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9667 | ||
9668 | * mac.c: #undef init_process so not to conflict with system headers. | |
9669 | ||
0124c5bd RS |
9670 | 2005-05-02 Richard M. Stallman <rms@gnu.org> |
9671 | ||
9672 | * buffer.c (syms_of_buffer): Define cursor-in-non-selected-windows. | |
9673 | ||
9674 | * buffer.h (struct buffer): Add cursor_in_non_selected_windows slot. | |
9675 | ||
9676 | * xdisp.c (Vcursor_in_non_selected_windows) | |
9677 | (Qcursor_in_non_selected_windows): Vars deleted. | |
9678 | (syms_of_xdisp): Don't initialize them. | |
9679 | (get_window_cursor_type): Use cursor_in_non_selected_windows | |
9680 | buffer slot. | |
9681 | ||
4b3f161f KS |
9682 | 2005-05-02 Kim F. Storm <storm@cua.dk> |
9683 | ||
e40527dc KS |
9684 | * macros.c (executing_kbd_macro_index): Rename from |
9685 | executing_macro_index. All uses changed. | |
9686 | (executing_kbd_macro_iterations): Rename from | |
9687 | executing_macro_iterations. All uses changed. | |
9688 | (executing_kbd_macro): Rename from executing_macro. | |
9689 | All uses changed. | |
9690 | (syms_of_macros): Rename Lisp var executing-macro-index to | |
9691 | executing-kbd-macro-index. | |
9692 | ||
4b3f161f KS |
9693 | * xdisp.c (move_it_in_display_line_to): Fix last change. |
9694 | ||
4d49edf6 LT |
9695 | 2005-05-01 Luc Teirlinck <teirllm@auburn.edu> |
9696 | ||
f6b1b15a LT |
9697 | * xmenu.c (Fx_popup_menu): Doc fix. |
9698 | ||
4d49edf6 LT |
9699 | * charset.c (syms_of_charset): Delete defsubr for Schars_in_region. |
9700 | ||
4a766fe6 JR |
9701 | 2005-05-02 Jason Rumney <jasonr@gnu.org> |
9702 | ||
9703 | * emacs.c (USAGE3, USAGE4): Keep strings below 2048 bytes. | |
9704 | ||
c924d3ff TTN |
9705 | 2005-05-02 Nozomu Ando <nand@mac.com> |
9706 | ||
9707 | * sysselect.h: Fix typo. | |
9708 | ||
b161ea4e | 9709 | 2005-05-02 Nick Roberts <nickrob@snap.net.nz> |
5c2e5a5e | 9710 | |
b161ea4e NR |
9711 | * charset.c (Fchars_in_region): Remove as obsolete. |
9712 | ||
d37e919d | 9713 | 2005-05-01 Kim F. Storm <storm@cua.dk> |
b161ea4e NR |
9714 | |
9715 | * xdisp.c (move_it_in_display_line_to): Stop if we move beyond | |
7ec64183 | 9716 | TO_CHARPOS. This may happen if last glyphs was an image or stretch |
b161ea4e | 9717 | glyph. |
5c2e5a5e | 9718 | |
bec0b768 LT |
9719 | 2005-05-01 Luc Teirlinck <teirllm@auburn.edu> |
9720 | ||
9721 | * dispnew.c (sit_for): Vexecuting_macro -> Vexecuting_kbd_macro. | |
9722 | ||
ebbfa918 RS |
9723 | 2005-05-01 Richard M. Stallman <rms@gnu.org> |
9724 | ||
9725 | * xmenu.c [not HAVE_X_TOOLKIT] (xmenu_show): | |
9726 | If user cancels the menu, quit unless FOR_CLICK. | |
9727 | ||
7ec64183 | 9728 | * macros.c (Vexecuting_kbd_macro): Rename from Vexecuting_macro. |
ebbfa918 RS |
9729 | All uses changed. |
9730 | (syms_of_macros): Define only executing-kbd-macro, not executing-macro. | |
9731 | * keyboard.c: Change Vexecuting_macro to Vexecuting_kbd_macro. | |
9732 | * macros.h (Vexecuting_kbd_macro): Declare instead of Vexecuting_macro. | |
9733 | * commands.h (Vexecuting_kbd_macro): Likewise. | |
9734 | ||
a72c2d97 TTN |
9735 | 2005-05-01 Thien-Thi Nguyen <ttn@gnu.org> |
9736 | ||
9737 | * sysdep.c (get_frame_size) [VMS]: Use a fresh i/o channel. | |
9738 | ||
7e995a23 RS |
9739 | 2005-04-30 Richard M. Stallman <rms@gnu.org> |
9740 | ||
9741 | * fileio.c (Ffind_file_name_handler): Handle the `operations' | |
9742 | property of the file name handler. | |
9743 | (Qoperations): New variable. | |
9744 | (syms_of_fileio): Initialize and staticpro it. | |
9745 | ||
9746 | * xdisp.c (set_message_1): Delete xassert. | |
9747 | ||
7a92caf8 YM |
9748 | 2005-04-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9749 | ||
7ec64183 | 9750 | * mac.c: Don't include time.h. Include sysselect.h after systime.h. |
7a92caf8 YM |
9751 | |
9752 | * macfns.c (Fx_server_version): Add BLOCK_INPUT around Gestalt. | |
9753 | ||
9754 | * macgui.h [HAVE_CARBON && MAC_OSX]: Don't undefine/define mktime | |
9755 | before/after including Carbon.h if there is a working mktime. | |
9756 | ||
5ae91803 KS |
9757 | 2005-04-28 Kim F. Storm <storm@cua.dk> |
9758 | ||
9759 | * xfaces.c (resolve_face_name): Add arg SIGNAL_P. Calls changed. | |
9760 | Fix cyclic alias check. If alias loop is detected, signal | |
9761 | circular-list error if SIGNAL_P, and return Qdefault if !SIGNAL_P. | |
9762 | ||
d79b6c21 LK |
9763 | 2005-04-28 Lute Kamstra <lute@gnu.org> |
9764 | ||
9765 | * eval.c (do_autoload): Record only autoloads in the autoload | |
9766 | property of symbols. | |
9767 | ||
8c75afbf NR |
9768 | 2005-04-28 Nick Roberts <nickrob@snap.net.nz> |
9769 | ||
9770 | * emacs.c (USAGE1): Add --basic-display and --quick options. | |
9771 | ||
832e294f KS |
9772 | 2005-04-27 Kim F. Storm <storm@cua.dk> |
9773 | ||
9774 | * data.c (syms_of_data) Staticpro Qcyclic_variable_indirection. | |
9775 | ||
f03f317a RS |
9776 | 2005-04-26 Richard M. Stallman <rms@gnu.org> |
9777 | ||
c019856e RS |
9778 | * window.c (Fsame_window_p, Fspecial_display_p): Doc fixes. |
9779 | (syms_of_window): Doc fixes. | |
9780 | ||
f03f317a RS |
9781 | * indent.c (Fvertical_motion): Undo previous change. |
9782 | ||
38f60cd9 KH |
9783 | 2005-04-26 Kenichi Handa <handa@m17n.org> |
9784 | ||
9785 | * fns.c (char_table_range): New function. | |
9786 | (Fchar_table_range): Signal an error if characters in the range | |
9787 | have inconsistent values. Don't check the parent. | |
9788 | ||
87ede5a1 KH |
9789 | 2005-04-25 Kenichi Handa <handa@m17n.org> |
9790 | ||
9791 | * fontset.c (fontset_set): Fix previous change. | |
9792 | ||
a6390474 RS |
9793 | 2005-04-24 Richard M. Stallman <rms@gnu.org> |
9794 | ||
9795 | * indent.c (Fvertical_motion): Bind fontification-functions to nil. | |
9796 | ||
7fce7dfe EZ |
9797 | 2005-04-24 Eli Zaretskii <eliz@gnu.org> |
9798 | ||
cf1982d9 EZ |
9799 | * regex.c (re_search_2, re_match_2_internal): Convert second arg |
9800 | of RE_TRANSLATE to int, to shut up GCC warnings. | |
9801 | ||
7fce7dfe EZ |
9802 | * fileio.c (Fcopy_file): Doc fix. |
9803 | [MSDOS]: Fix call to emacs_open: buffer_file_type not defined and | |
9804 | not needed. | |
9805 | ||
49ed33c7 YM |
9806 | 2005-04-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9807 | ||
9808 | * Makefile.in [HAVE_CARBON] (MAC_OBJ): Add macselect.o. | |
9809 | (SOME_MACHINE_OBJECTS): Likewise. | |
9810 | (mac.o): Depend on ccl.h. | |
9811 | (macselect.o): New target. | |
9812 | ||
7ec64183 SM |
9813 | * emacs.c (main) [MAC_OS8 || MAC_OSX && HAVE_CARBON]: |
9814 | Call syms_of_macselect. | |
49ed33c7 YM |
9815 | |
9816 | * frame.c (Fdelete_frame) [MAC_OS]: Call x_clear_frame_selections. | |
9817 | ||
7ec64183 | 9818 | * mac.c [!TARGET_API_MAC_CARBON]: Don't include charset.h or coding.h. |
49ed33c7 YM |
9819 | (QCLIPBOARD): Remove variable. |
9820 | (syms_of_mac): Don't initialize it. | |
9821 | (Fmac_paste_function, Fmac_cut_function, Fx_selection_exists_p): | |
9822 | Remove functions. | |
9823 | (syms_of_mac): Don't defsubr them. | |
9824 | [TARGET_API_MAC_CARBON] (Qmime_charset, QNFD, QNFKD, QNFC, QNFKC) | |
9825 | (QHFS_plus_D, QHFS_plus_C): New variables. | |
9826 | (syms_of_mac) [TARGET_API_MAC_CARBON]: Initialize them. | |
9827 | [TARGET_API_MAC_CARBON] (get_cfstring_encoding_from_lisp) | |
9828 | (cfstring_create_normalized): New functions. | |
9829 | [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): Likewise. | |
9830 | (syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it. | |
9831 | ||
7ec64183 SM |
9832 | * macterm.c (handling_window_update, terminate_flag): |
9833 | Remove variables. | |
9834 | (do_window_update, do_ae_quit_application, XTread_socket): | |
9835 | Don't use them. | |
49ed33c7 YM |
9836 | (WNE_SLEEP_AT_SUSPEND, WNE_SLEEP_AT_RESUME): Don't define. |
9837 | [USE_CARBON_EVENTS && MAC_OSX] (mac_handle_service_event) | |
9838 | (init_service_handler): Move to macselect.c. Remove declarations. | |
9839 | [USE_CARBON_EVENTS && MAC_OSX] (init_service_handler): Add extern. | |
9840 | (Qapplication, Qabout): New variables. | |
9841 | (syms_of_mac): Initialize them. | |
9842 | [USE_CARBON_EVENTS && MAC_OSX] (Qpreferences, Qservices, Qpaste) | |
9843 | (Qperform): New variables. | |
9844 | (syms_of_mac) [USE_CARBON_EVENTS && MAC_OSX]: Initialize them. | |
7a92caf8 | 9845 | (do_get_menus) [TARGET_API_MAC_CARBON]: Don't call AppendResMenu. |
49ed33c7 YM |
9846 | (do_menu_choice): Unhighlight menu bar also when menu_id is 0. |
9847 | (mac_store_application_menu_event, init_menu_bar): New functions. | |
9848 | [USE_CARBON_EVENTS] (mac_handle_command_event) | |
9849 | (init_command_handler): New functions. | |
9850 | (mac_handle_window_event): Return noErr on window update event. | |
9851 | (do_ae_quit_application): Call mac_store_application_menu_event. | |
9852 | (mac_initialize) [USE_CARBON_EVENTS]: Call init_command_handler | |
9853 | and init_menu_bar. | |
9854 | ||
9855 | * macterm.h (x_clear_frame_selections): Add extern. | |
9856 | ||
9857 | * macselect.c: New file for selection processing on Mac OS. | |
9858 | ||
469bc679 RS |
9859 | 2005-04-23 Richard M. Stallman <rms@gnu.org> |
9860 | ||
9861 | * fileio.c (Fcopy_file): New arg MUSTBENEW. | |
9862 | (Frename_file): Pass new arg to Fcopy_file. | |
9863 | ||
9864 | * window.c (window_size_fixed): Variable deleted. | |
9865 | (syms_of_window): Initialize window-size-fixed to nil. | |
9866 | But don't DEFVAR window_size_fixed. | |
9867 | ||
d379c558 AS |
9868 | 2005-04-23 Andreas Schwab <schwab@suse.de> |
9869 | ||
9870 | * m/macppc.h (LD_SWITCH_MACHINE) [LINUX]: Don't define. | |
9871 | (START_FILES, LIB_STANDARD) [LINUX && _ARCH_PPC64]: Override to | |
9872 | use lib64 instead of lib. | |
9873 | (_LP64) [_ARCH_PPC64]: Define if not defined. | |
9874 | ||
007d105b TTN |
9875 | 2005-04-23 David Hunter <hunterd42@comcast.net> (tiny change) |
9876 | ||
9877 | * s/ms-w32.h (HAVE_PWD_H): Define. | |
9878 | ||
b9c15916 KH |
9879 | 2005-04-22 Kenichi Handa <handa@m17n.org> |
9880 | ||
9881 | * fns.c (copy_sub_char_table): Explicitly copy the default value | |
9882 | of the sub-chartable. | |
9883 | ||
9884 | * fontset.c (fontset_set): When a sub-chartable is created, | |
9885 | explicitly sets the defalt value. | |
9886 | ||
1ba52906 KS |
9887 | 2005-04-22 Kim F. Storm <storm@cua.dk> |
9888 | ||
9889 | * fns.c (Fplist_get): Replace by Fsafe_plist_get. | |
9890 | (Fsafe_plist_get): Rename to Fplist_get. | |
9891 | (Fsafe_get): Remove, as Fget now uses safe Fplist_get. | |
9892 | (defsubr): Remove defsubr for Fsafe_plist_get and Fsafe_get. | |
9893 | ||
9894 | * lisp.h (Fsafe_plist_get, Fsafe_get): Remove EXFUN. | |
9895 | ||
9896 | * xdisp.c (store_mode_line_string, produce_stretch_glyph) | |
9897 | (note_mode_line_or_margin_highlight, note_mouse_highlight): | |
9898 | Use Fplist_get instead of Fsafe_plist_get. | |
9899 | ||
9900 | * xfaces.c (resolve_face_name): Use Fget instead of Fsafe_get. | |
9901 | ||
e235145c MB |
9902 | 2005-04-21 Miles Bader <miles@gnu.org> |
9903 | ||
9904 | * xdisp.c (dump_glyph_row): Don't display overlay_arrow_p field. | |
9905 | ||
766c5349 TTN |
9906 | 2005-04-20 Thien-Thi Nguyen <ttn@gnu.org> |
9907 | ||
c164a7e6 TTN |
9908 | * sysdep.c: Remove reference to defunct vms-pwd.h. |
9909 | * dired.c: Likewise. Also, for pwd.h, use HAVE_PWD_H, not !VMS. | |
9910 | * editfns.c, fileio.c, filelock.c, sysdep.c, xrdb.c: Likewise. | |
9911 | ||
766c5349 TTN |
9912 | * config.in: Regenerate. |
9913 | ||
2b048bf5 KH |
9914 | 2005-04-20 Kenichi Handa <handa@m17n.org> |
9915 | ||
9916 | * lisp.h (CHAR_TABLE_DEFAULT_SLOT_ASCII): New macro. | |
9917 | (CHAR_TABLE_DEFAULT_SLOT_8_BIT_CONTROL): New macro. | |
9918 | (CHAR_TABLE_DEFAULT_SLOT_8_BIT_GRAPHIC): New macro. | |
9919 | ||
9920 | * alloc.c (make_sub_char_table): Argument changed to initial | |
9921 | value of the slots. | |
9922 | ||
9923 | * data.c (Faref): Handle special slots used as default values of | |
9924 | ascii, eight-bit-control, eight-bit-control. Don't ignore a | |
9925 | default value set for a group of characters. | |
9926 | (Faset): Signal an error if IDXVAL is not a valid character code. | |
9927 | Make a sub-chartable with correct initial value. | |
9928 | ||
9929 | * fns.c (Fset_char_table_range): Don't set slots used as default | |
7ec64183 SM |
9930 | values for ascii, eight-bit-control, eight-bit-graphic. |
9931 | Don't call Faref with charset-id. | |
2b048bf5 KH |
9932 | (Fset_char_table_default): Document how to treat normal character |
9933 | argument. Handle special slots used as default values of ascii, | |
9934 | eight-bit-control, eight-bit-control. Make a sub chartable if | |
9935 | necessary. | |
9936 | ||
b0a35939 KH |
9937 | 2005-04-20 Kenichi Handa <handa@m17n.org> |
9938 | ||
9939 | * search.c (boyer_moore): Fix previous change. | |
9940 | ||
98dde726 KS |
9941 | 2005-04-19 Kim F. Storm <storm@cua.dk> |
9942 | ||
9943 | * xdisp.c (setup_for_ellipsis): Reset saved_face_id to use default | |
9944 | face unless last visible char and first invisible char have the | |
9945 | same face. Also use default face if saved_face_id is undefined. | |
9946 | ||
327a3376 YM |
9947 | 2005-04-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9948 | ||
9949 | * macgui.h (MacFontStruct): Remove member `fontname'. Add member | |
9950 | `full_name'. | |
9951 | [TARGET_API_MAC_CARBON] (MacFontStruct): Use type int for | |
9952 | mac_scriptcode member. | |
9953 | ||
9954 | * macterm.c (Qbig5, Qcn_gb, Qsjis, Qeuc_kr): Remove variables. | |
9955 | (syms_of_mac): Don't initialize them. | |
9956 | (Vmac_charset_info_alist): New variable. | |
9957 | (syms_of_mac): Defvar it. | |
9958 | (create_text_encoding_info_alist): New function. | |
9959 | (decode_mac_font_name, mac_to_x_fontname) | |
9960 | (x_font_name_to_mac_font_name, init_font_name_table): Don't hard | |
9961 | code the correspondence among XLFD charsets, Mac script codes, and | |
9962 | Emacs coding systems. Use Vmac_charset_info_alist and result of | |
9963 | create_text_encoding_info_alist instead. | |
9964 | (init_font_name_table) [TARGET_API_MAC_CARBON]: Use Font Manager | |
9965 | routines also on Mac OS Classic. | |
7ec64183 SM |
9966 | (init_font_name_table) [!TARGET_API_MAC_CARBON]: |
9967 | Use add_font_name_table_entry. | |
327a3376 YM |
9968 | (mac_do_list_fonts): Regard 0 in XLFD scaleble fields as |
9969 | specified. Derive unspecified scalable fields from specified one. | |
9970 | (x_list_fonts): Consider Valternate_fontname_alist. | |
9971 | (kDefaultFontSize): Change value from 9 to 12. | |
9972 | (XLoadQueryFont): Get decoded font family, font face, and charset | |
9973 | from x_font_name_to_mac_font_name. Set full name of loaded font. | |
9974 | (mac_unload_font): Free `full_name' member. | |
9975 | (x_load_font): Don't try XLoadQueryFont if x_list_fonts returns | |
9976 | NULL. Copy full_name member of struct MacFontStruct to that of | |
9977 | struct font_info. | |
9978 | ||
d0636839 KS |
9979 | 2005-04-19 Kim F. Storm <storm@cua.dk> |
9980 | ||
5827e9d4 KS |
9981 | * xdisp.c (handle_stop): Set saved_face_id to current face if |
9982 | selective_display_ellipsis_p so ellipsis will be shown in same | |
9983 | face as preceding text. | |
9984 | (setup_for_ellipsis): Don't set saved_face_id here. | |
9985 | (next_element_from_display_vector): Default to saved_face_id. | |
9986 | ||
d0636839 KS |
9987 | * fns.c (Fsafe_get): New function. |
9988 | (syms_of_fns): Defsubr it. | |
9989 | ||
9990 | * lisp.h (Fsafe_get): EXFUN it. | |
9991 | ||
9992 | * xfaces.c (resolve_face_name): Use Fsafe_get to avoid redisplay | |
9993 | loops in case of bad face property lists. Limit number of face | |
9994 | alias lookups to 10 (in case of face alias loops). | |
9995 | ||
e5c78c9d KS |
9996 | 2005-04-18 Kim F. Storm <storm@cua.dk> |
9997 | ||
9998 | * dispextern.h (struct glyph_row): New member overlay_arrow_bitmap. | |
9999 | It replaces the corresponding member from struct window, as a | |
10000 | window may now show multiple overlay arrows. | |
10001 | Remove member overlay_arrow_p, superseeded by overlay_arrow_bitmap. | |
10002 | ||
10003 | * dispnew.c (row_equal_p, update_window_line, scrolling_window): | |
10004 | Compare overlay_arrow_bitmap than overlay_arrow_p members. | |
10005 | ||
10006 | * fringe.c (draw_fringe_bitmap): Use overlay_arrow_bitmap from row | |
10007 | rather than from window. | |
10008 | (update_window_fringes): Compare overlay_arrow_bitmap rather than | |
10009 | overlay_arrow_p members. | |
10010 | (Ffringe_bitmaps_at_pos): Return fringe overlay_arrow_bitmap name | |
10011 | if not default. | |
10012 | ||
10013 | * window.h (struct window): Remove member overlay_arrow_bitmap. | |
10014 | ||
10015 | * window.c (make_window): Don't initialize overlay_arrow_bitmap. | |
10016 | ||
10017 | * xdisp.c (overlay_arrow_string_or_property): Remove PBITMAP arg. | |
10018 | Calls changed. Don't check for overlay-arrow-bitmap property here. | |
10019 | (overlay_arrow_at_row): Remove PBITMAP arg. Instead, if left | |
10020 | fringe is present, return Lisp integer for bitmap (or -1 for default). | |
10021 | Fix value of overlay-arrow-bitmap property to be a symbol, use | |
10022 | lookup_fringe_bitmap to parse it. | |
10023 | (display_line): Change call to overlay_arrow_at_row. Store integer | |
10024 | return value as overlay bitmap in row rather than window. | |
10025 | Only show overlay arrow if row displays text, or if no other overlay | |
10026 | arrow is seen in window (if overlay marker is at point-max). | |
10027 | ||
7d603e3f TTN |
10028 | 2005-04-18 Thien-Thi Nguyen <ttn@gnu.org> |
10029 | ||
10030 | * xfaces.c (realize_x_face) [!HAVE_WINDOW_SYSTEM]: Return NULL. | |
10031 | ||
9942fa0c LK |
10032 | 2005-04-18 Lute Kamstra <lute@gnu.org> |
10033 | ||
10034 | * lread.c (Vloads_in_progress): Static. | |
10035 | * fns.c (Vloads_in_progress): Remove extern. | |
10036 | (load_in_progress): Add extern. | |
10037 | (Frequire): Use load_in_progress instead of Vloads_in_progress. | |
10038 | ||
999cdb8f TTN |
10039 | 2005-04-18 Thien-Thi Nguyen <ttn@gnu.org> |
10040 | ||
10041 | * xmenu.c (Fx_popup_menu): Initialize error_name to NULL. | |
10042 | ||
3f4413f8 YM |
10043 | 2005-04-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10044 | ||
10045 | * macterm.c (XTread_socket): Don't beep on keyboard input even if | |
10046 | no frame is visible. | |
10047 | ||
60ec7b7e DN |
10048 | 2005-04-16 Dan Nicolaescu <dann@ics.uci.edu> |
10049 | ||
10050 | * term.c (struct keys): Add support for shifted keys. | |
10051 | ||
a8a1c0ee RS |
10052 | 2005-04-16 Richard M. Stallman <rms@gnu.org> |
10053 | ||
10054 | * xdisp.c (with_echo_area_buffer): Delete WHICH < 0 case. | |
10055 | (set_message): Call with_echo_area_buffer with WHICH = 0. | |
10056 | (set_message_1): Erase the echo area buffer first thing. | |
10057 | (echo_area_display): Don't clear echo_message_buffer. | |
10058 | ||
f3cf04d3 YM |
10059 | 2005-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10060 | ||
10061 | * Makefile.in (mac.o): Depend on charset.h and coding.h. | |
10062 | ||
10063 | * mac.c: Include charset.h and coding.h. | |
10064 | [TARGET_API_MAC_CARBON] (Qutf_8): Remove extern. | |
7ec64183 | 10065 | [TARGET_API_MAC_CARBON] (cfstring_create_with_string): New function. |
f3cf04d3 YM |
10066 | [TARGET_API_MAC_CARBON] (Fmac_get_preference): Use it. |
10067 | ||
10068 | * macfns.c [TARGET_API_MAC_CARBON] (Fx_file_dialog): Likewise. | |
10069 | ||
10070 | * image.c [MAC_OSX] (image_load_quartz2d): Likewise. | |
10071 | ||
10072 | * macterm.c (x_autoselect_window_p): Remove variable. | |
10073 | (last_window): New variable. | |
7ec64183 SM |
10074 | (XTreassert_line_highlight, x_change_line_highlight): |
10075 | Remove declarations. | |
f3cf04d3 YM |
10076 | (mac_focus_changed, x_detect_focus_change): New functions and |
10077 | declarations. | |
10078 | (XTextExtents16, front_emacs_window): Remove function. | |
10079 | (mac_focus_frame): New function. | |
10080 | (XTmouse_position, do_menu_choice, do_zoom_window, XTread_socket) | |
10081 | (mac_check_for_quit_char): Use it instead of front_emacs_window. | |
10082 | (x_scroll_bar_report_motion): Obtain window from control owner. | |
10083 | (x_make_frame_invisible): Set window manager size hint. | |
10084 | (do_mouse_moved): Remove function. | |
10085 | (XTread_socket): Move its contents here. Generate select-window | |
10086 | event on mouse movement if needed. Use x_detect_focus_change on | |
10087 | activate/deactivate events. Don't deiconify frame or invalidate | |
7ec64183 SM |
10088 | window rectangle when dnd items are dropped. |
10089 | Don't activate/deactivate root control. | |
f3cf04d3 YM |
10090 | (frame_highlight, frame_unhighlight): Activate/deactivate root |
10091 | control here. | |
10092 | (syms_of_macterm): Delete DEFVAR_BOOL for x_autoselect_window_p. | |
10093 | ||
10094 | * macterm.h (cfstring_create_with_string) [TARGET_API_MAC_CARBON]: | |
10095 | New extern. | |
10096 | ||
9e5b2858 LT |
10097 | 2005-04-15 Luc Teirlinck <teirllm@auburn.edu> |
10098 | ||
10099 | * Makefile.in: Define new macro TOOLTIP_SUPPORT. | |
10100 | (lisp): Use it. | |
10101 | (SOME_MACHINE_LISP): Add tooltip. | |
10102 | ||
42c6741e YM |
10103 | 2005-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10104 | ||
7ec64183 SM |
10105 | * mac.c [!TARGET_API_MAC_CARBON]: Include MacLocales.h. |
10106 | Don't include TextEncodingConverter.h. | |
42c6741e YM |
10107 | (mac_system_script_code, Vmac_system_locale): New variables. |
10108 | (syms_of_mac): Defvar them. | |
10109 | (mac_get_system_locale): New function. | |
10110 | ||
7ec64183 SM |
10111 | * macfns.c (x_set_name, x_set_title) [!TARGET_API_MAC_CARBON]: |
10112 | Use ENCODE_SYSTEM to encode title bar string. | |
42c6741e | 10113 | (x_create_tip_frame): Apply 2005-03-18 change for xfns.c. |
7ec64183 SM |
10114 | (Fx_file_dialog) [TARGET_API_MAC_CARBON && !MAC_OSX]: |
10115 | Use CFStringGetSystemEncoding to get system default string encoding. | |
42c6741e YM |
10116 | |
10117 | * macterm.c [!TARGET_API_MAC_CARBON]: Don't include | |
10118 | TextEncodingConverter.h. | |
10119 | ||
0614c575 ST |
10120 | 2005-04-13 Steven Tamm <steventamm@mac.com> |
10121 | ||
7e26f91b KS |
10122 | * macterm.c (syms_of_macterm): Remove redundant definition of |
10123 | mac-pass-control-to-system. | |
0614c575 | 10124 | |
203eb0aa SM |
10125 | 2005-04-12 Stefan Monnier <monnier@iro.umontreal.ca> |
10126 | ||
10127 | * window.c (Fset_window_configuration): Be careful when you choose | |
10128 | among several possible points for the new_current_buffer. | |
10129 | ||
a56e6111 YM |
10130 | 2005-04-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10131 | ||
10132 | * keyboard.c (poll_for_input) [SYNC_INPUT]: Don't call | |
10133 | poll_for_input_1. Set interrupt_input_pending to 1 instead. | |
b7461be9 YM |
10134 | (Qlanguage_change) [MAC_OS]: New variable. |
10135 | (syms_of_keyboard) [MAC_OS]: Intern and staticpro it. | |
203eb0aa | 10136 | (kbd_buffer_get_event) [MAC_OS]: Make event for LANGUAGE_CHANGE_EVENT. |
b7461be9 YM |
10137 | |
10138 | * macterm.c (mac_keyboard_text_encoding) | |
10139 | (current_mac_keyboard_text_encoding): Remove variables. | |
5e1a6e32 | 10140 | (XTread_socket): Store language-change event if keyboard script change |
7e26f91b | 10141 | is detected. Don't convert input to `mac_keyboard_text_encoding'. |
203eb0aa | 10142 | (syms_of_macterm): Delete DEFVAR_INT for mac-keyboard-text-encoding. |
b7461be9 | 10143 | |
7e26f91b | 10144 | * termhooks.h (enum event_kind) [MAC_OS]: Add LANGUAGE_CHANGE_EVENT. |
a56e6111 | 10145 | |
6695c528 RS |
10146 | 2005-04-10 Richard M. Stallman <rms@gnu.org> |
10147 | ||
10148 | * emacs.c (standard_args): Rename --bare-bones to --quick. | |
10149 | Add -D aka --basic-display. | |
10150 | ||
10151 | * buffer.c (Fmake_indirect_buffer): Clear out some local variables. | |
10152 | ||
18e2d91f RS |
10153 | 2005-04-09 Richard M. Stallman <rms@gnu.org> |
10154 | ||
10155 | * keymap.c (where_is_internal): Convert a string used as event type | |
10156 | into "(any string)". | |
10157 | ||
10158 | * lread.c (Vloads_in_progress): Not static. | |
18e2d91f RS |
10159 | * fns.c (Vloads_in_progress): Add extern. |
10160 | (Frequire): Don't do LOADHIST_ATTACH if Vloads_in_progress is nil. | |
10161 | ||
10162 | 2005-04-09 Thien-Thi Nguyen <ttn@surf.glug.org> | |
10163 | ||
10164 | * dispnew.c (mirror_line_dance): Avoid crash if W2 is null. | |
10165 | ||
1cf21850 LK |
10166 | 2005-04-09 Lute Kamstra <lute@gnu.org> |
10167 | ||
10168 | * print.c (PRINTPREPARE): Check if the marker PRINTCHARFUN is | |
10169 | within the accessible part of the buffer. | |
10170 | ||
bfd93240 KS |
10171 | 2005-04-09 Kim F. Storm <storm@cua.dk> |
10172 | ||
10173 | * lread.c (readevalloop): Add args START and END as region in | |
10174 | current buffer to read. Callers changed. | |
10175 | When specified, narrow to this region only when reading, | |
10176 | not during eval. Track next point to read from during eval. | |
10177 | Also restore point to "real" buffer position before eval. | |
10178 | (Feval_region): Don't save excursion and restriction here, and | |
10179 | don't narrow to region. Just pass region to readevalloop. | |
10180 | Note: Point is now preserved even when PRINTFLAG is nil. | |
10181 | ||
9ba27690 KS |
10182 | 2005-04-08 Kim F. Storm <storm@cua.dk> |
10183 | ||
10184 | * xdisp.c (syms_of_xdisp): Init overlay-arrow-string to "=>". | |
10185 | ||
73f0d996 KS |
10186 | 2005-04-06 Kim F. Storm <storm@cua.dk> |
10187 | ||
10188 | * emacs.c (standard_args): Add -Q, --bare-bones, -bare-bones. | |
10189 | ||
369f76bb YM |
10190 | 2005-04-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10191 | ||
10192 | * mac.c (cfdate_to_lisp): Add `const' for variable `epoch_gdate'. | |
10193 | (Fmac_get_preference): Doc fix. | |
10194 | ||
203eb0aa SM |
10195 | * macfns.c (Fx_create_frame, x_create_tip_frame): |
10196 | Add "fontset-mac" to fallback font/fontsets. | |
369f76bb | 10197 | |
2ba613a6 KS |
10198 | 2005-04-04 Kim F. Storm <storm@cua.dk> |
10199 | ||
4d5ddddc KS |
10200 | * alloc.c (Fgarbage_collect): Call CHECK_CONS_LIST before and after gc. |
10201 | ||
2ba613a6 KS |
10202 | * eval.c (Ffuncall): Always call CHECK_CONS_LIST on entry. |
10203 | Call it again after autoload. | |
10204 | ||
1673df2e JD |
10205 | 2005-04-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10206 | ||
10207 | * alloc.c (allocate_string_data): Call BLOCK_INPUT before calling | |
10208 | mallopt. | |
10209 | ||
10210 | * ralloc.c (r_alloc_init): Ditto. | |
10211 | ||
41639988 KH |
10212 | 2005-04-01 Kenichi Handa <handa@m17n.org> |
10213 | ||
1cf21850 LK |
10214 | * lisp.h (Vascii_upcase_table, Vascii_canon_table) |
10215 | (Vascii_eqv_table): Extern them. | |
41639988 KH |
10216 | |
10217 | * casetab.c (set_case_table): If standard is nonzero, setup | |
10218 | Vascii_upcase_table, Vascii_canon_table, and Vascii_eqv_table. | |
10219 | ||
10220 | * search.c (looking_at_1): Use current_buffer->case_canon_table, | |
10221 | not DOWNCASE_TABLE. | |
10222 | (string_match_1): Likewise. | |
10223 | (fast_c_string_match_ignore_case): Use Vascii_canon_table, not | |
10224 | Vascii_downcase_table. | |
10225 | (fast_string_match_ignore_case): Likewise. | |
10226 | (search_buffer): Fix checking of boyer-moore usability. | |
203eb0aa SM |
10227 | (boyer_moore): Calculate translate_prev_byte1/2/3 in advance. |
10228 | No need of tranlating characters in PAT. Fix calculation of | |
41639988 KH |
10229 | simple_translate. |
10230 | ||
6ca53601 SM |
10231 | 2005-03-31 Stefan Monnier <monnier@iro.umontreal.ca> |
10232 | ||
10233 | * xterm.c [HAVE_XAW3D]: Include ThreeD.h for XtNbeNiceToColormap. | |
10234 | (x_create_toolkit_scroll_bar): Test XtNbeNiceToColormap before using it. | |
10235 | Use XtNtopShadowPixel and XtNbottomShadowPixel. | |
10236 | (x_set_toolkit_scroll_bar_thumb): Remove ugly old hack that didn't | |
10237 | really work and that breaks with some versions of Xaw3d. | |
10238 | ||
fafbb99d | 10239 | 2005-03-31 Kenichi Handa <handa@m17n.org> |
bf762c98 KH |
10240 | |
10241 | * coding.c (syms_of_coding): Fix previous change. | |
10242 | ||
6ca53601 SM |
10243 | 2005-03-30 Stefan Monnier <monnier@iro.umontreal.ca> |
10244 | ||
10245 | * fileio.c (search_embedded_absfilename): Fix last change. | |
10246 | ||
bf762c98 KH |
10247 | 2005-03-25 Kenichi Handa <handa@m17n.org> |
10248 | ||
10249 | * coding.c (syms_of_coding): Suggest to use set-coding-category in | |
10250 | the docstring of coding-category-list. | |
10251 | ||
f793f885 KS |
10252 | 2005-03-31 Kim F. Storm <storm@cua.dk> |
10253 | ||
10254 | * keyboard.c (Qmouse_fixup_help_message): New var. | |
10255 | (syms_of_keyboard): Intern and staticpro it. | |
10256 | (show_help_echo): Apply mouse-fixup-help-message to help string. | |
10257 | ||
c364fe19 KS |
10258 | 2005-03-30 Kim F. Storm <storm@cua.dk> |
10259 | ||
10260 | * xdisp.c (display_line): Allow multiple overlay arrows in window. | |
10261 | ||
c70a4df6 SM |
10262 | 2005-03-28 Stefan Monnier <monnier@iro.umontreal.ca> |
10263 | ||
10264 | * fileio.c (Fexpand_file_name): Use IS_DEVICE_SEP. | |
10265 | (file_name_absolute_p): New fun, extracted from Ffile_name_absolute_p. | |
10266 | (Ffile_name_absolute_p): Use it. | |
10267 | (search_embedded_absfilename): New fun, extracted from | |
10268 | Fsubstitute_in_file_name. Use file_name_absolute_p. | |
10269 | Free the pw data after use. | |
10270 | (Fsubstitute_in_file_name): Use it. | |
10271 | After cutting a prefix, re-check file-name-handler. | |
10272 | ||
6e7d0438 JR |
10273 | 2005-03-26 Lennart Borgman <lennart.borgman.073@student.lu.se> |
10274 | ||
6ca53601 | 10275 | * w32term.h (x_output): Add focus_state. |
6e7d0438 JR |
10276 | |
10277 | * w32term.c (x_focus_changed, w32_detect_focus_change): New functions. | |
10278 | (w32_read_socket) [WM_SETFOCUS]: Call w32_detect_focus_change. | |
10279 | ||
65671706 SM |
10280 | 2005-03-25 Stefan Monnier <monnier@iro.umontreal.ca> |
10281 | ||
10282 | * minibuf.c (Fminibuffer_complete_and_exit, Fself_insert_and_exit): | |
10283 | Use Fexit_minibuffer. | |
10284 | (Fexit_minibuffer): Mark it as no-return, deactivate the mark. | |
10285 | ||
0de4dad4 SM |
10286 | 2005-03-24 Stefan Monnier <monnier@iro.umontreal.ca> |
10287 | ||
781da985 SM |
10288 | * dired.c (Ffile_attributes): Add a missing gcpro. |
10289 | ||
0de4dad4 SM |
10290 | * alloc.c (make_number): The arg can be bigger than `int'. |
10291 | * lisp.h (make_number): Make prototype more precise. | |
10292 | ||
10293 | * process.c, dired.c (Vfile_name_coding_system) | |
10294 | (Vdefault_file_name_coding_system): | |
10295 | * callproc.c (Vdoc_file_name, Vfile_name_coding_system) | |
10296 | (Vdefault_file_name_coding_system): Remove unused declarations. | |
10297 | ||
ff18668f JD |
10298 | 2005-03-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10299 | ||
10300 | * xmenu.c (create_and_show_popup_menu): Just remove menu and return | |
10301 | if it failed to pop up (Gnome "show pointer on ctrl" option makes | |
10302 | menus fail to pop up). | |
10303 | ||
0de4dad4 | 10304 | 2005-03-24 Stefan Monnier <monnier@iro.umontreal.ca> |
66347da7 SM |
10305 | |
10306 | * xdisp.c (get_next_display_element): Also use `\ ' & `\-' for latin-9. | |
0de4dad4 | 10307 | Just prepend a backslash without replacing the NBSP by an SPC. |
66347da7 | 10308 | |
8df0ffbe KS |
10309 | 2005-03-22 Kim F. Storm <storm@cua.dk> |
10310 | ||
10311 | * xfaces.c (lookup_derived_face): Add arg SIGNAL_P. | |
10312 | * dispextern.h (lookup_derived_face): Fix prototype. | |
10313 | * msdos.c (XMenuActivate): Fix call to lookup_derived_face. | |
10314 | ||
10315 | * xdisp.c (handle_single_display_spec): Derive left-fringe and | |
10316 | right-fringe face from fringe face. | |
10317 | ||
10318 | * fringe.c (draw_fringe_bitmap_1, Fset_fringe_bitmap_face): | |
10319 | Derive face from fringe face. | |
10320 | ||
6ca30ba4 JD |
10321 | 2005-03-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10322 | ||
10323 | * xrdb.c (x_load_resources): Undo previous change (2005-03-18). | |
10324 | ||
d615870a DK |
10325 | 2005-03-22 David Kastrup <dak@gnu.org> |
10326 | ||
10327 | * textprop.c (Fnext_char_property_change) | |
66347da7 | 10328 | (Fprevious_char_property_change): Allow marker as limit. |
d615870a DK |
10329 | (Fnext_single_char_property_change) |
10330 | (Fprevious_single_char_property_change): Check that limit is a | |
10331 | number in strings. | |
10332 | (Fnext_single_char_property_change): Coerce position to integer. | |
10333 | (Fprevious_single_char_property_change): Same here. | |
10334 | ||
32b939ea TTN |
10335 | 2005-03-21 Thien-Thi Nguyen <ttn@gnu.org> |
10336 | ||
10337 | * s/openbsd.h (LD_SWITCH_SYSTEM_tmp): Define if undefined. | |
10338 | ||
6027e473 SM |
10339 | 2005-03-19 Stefan Monnier <monnier@iro.umontreal.ca> |
10340 | ||
10341 | * frame.c (Fignore_event): Remove. | |
10342 | (syms_of_frame): Don't defsubr it. | |
10343 | ||
10344 | * keyboard.c (keys_of_keyboard): Just use `ignore' instead of the | |
10345 | redundant `ignore-event'. | |
10346 | ||
730f4d72 EZ |
10347 | 2005-03-19 Eli Zaretskii <eliz@gnu.org> |
10348 | ||
10349 | * unexec.c (write_segment, unexec): Move these functions to avoid | |
10350 | forward references (which cause errors with "gcc -gcoff"). | |
10351 | ||
c7f6afd5 JD |
10352 | 2005-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10353 | ||
6027e473 | 10354 | * xfns.c (x_create_tip_frame): Remove setting of Vx_resource_name so |
9188be47 | 10355 | that it doesn't become "tooltip". The specbind is enough. |
8d5980cf | 10356 | |
c7f6afd5 JD |
10357 | * xrdb.c (x_load_resources): Use different char *helv when I18N |
10358 | is present. | |
10359 | ||
db328182 KH |
10360 | 2005-03-17 Kenichi Handa <handa@m17n.org> |
10361 | ||
66347da7 | 10362 | * coding.c (syms_of_coding): Docstring of coding-category-list fixed. |
db328182 | 10363 | |
211f2210 SM |
10364 | 2005-03-17 Stefan Monnier <monnier@iro.umontreal.ca> |
10365 | ||
10366 | * xfaces.c (x_update_menu_appearance) [HAVE_X_I18N]: | |
10367 | Use xic_create_fontsetname even for non-Motif menus. | |
10368 | Don't forget to free the fontsetname. | |
10369 | ||
10370 | * xfns.c (xic_create_fontsetname): Add a final catch-all font pattern. | |
10371 | ||
c7bd5d57 RS |
10372 | 2005-03-17 Richard M. Stallman <rms@gnu.org> |
10373 | ||
10374 | * dispnew.c (mirror_line_dance): Set W2 according to FRAME_FROM. | |
10375 | ||
10376 | * fileio.c (Fcopy_file, Frename_file, Fadd_name_to_file) | |
10377 | (Fmake_symbolic_link): Use G to read the new file name. | |
10378 | ||
10379 | * callint.c (Finteractive): Document G option. | |
10380 | (Fcall_interactively): Implement G option. | |
10381 | ||
10382 | * buffer.c (buffer_lisp_local_variables): New function, | |
10383 | broken out from Fbuffer_local_variables. | |
10384 | (clone_per_buffer_values): Use buffer_lisp_local_variables. | |
10385 | ||
888953f1 SM |
10386 | 2005-03-17 Stefan Monnier <monnier@iro.umontreal.ca> |
10387 | ||
3c916d65 SM |
10388 | * xfns.c (xic_create_fontsetname): Add `motif' argument. |
10389 | Always return a freshly allocated string. | |
10390 | (xic_create_xfontset): Adjust call. | |
10391 | ||
10392 | * xfaces.c (x_update_menu_appearance) [USE_MOTIF]: | |
10393 | Use xic_create_fontsetname to create a fontset so utf-8 locales work. | |
10394 | (dump_realized_face): Fix warning. | |
10395 | ||
9f9e5275 SM |
10396 | * emacs.c (Fkill_emacs): YAILOM. |
10397 | ||
888953f1 SM |
10398 | * frame.c (Fignore_event): Fix ancient obscure C-u handling bug. |
10399 | ||
48502d68 YM |
10400 | 2005-03-17 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10401 | ||
10402 | * mac.c (HASHKEY_TERMINAL): Remove. | |
10403 | (HASHKEY_MAX_NID): New macro. | |
10404 | (xrm_q_get_resource_1): Rename from xrm_q_get_resource. Add extra | |
10405 | argument. | |
888953f1 | 10406 | (xrm_q_get_resource): Call xrm_q_get_resource_1 with extra argument. |
48502d68 YM |
10407 | (xrm_create_database, xrm_q_put_resource) |
10408 | (xrm_merge_string_database, xrm_q_get_resource_1) | |
10409 | (xrm_q_get_resource): Change resource database representation so | |
10410 | that it may not use multiple hash tables for a single database. | |
10411 | [TARGET_API_MAC_CARBON] (xrm_cfproperty_list_to_value): YAILOM. | |
10412 | ||
d5161e8c SM |
10413 | 2005-03-16 Stefan Monnier <monnier@iro.umontreal.ca> |
10414 | ||
11a646cd SM |
10415 | * xmenu.c (ENCODE_MENU_STRING) [HAVE_X_I18N]: Use ENCODE_SYSTEM. |
10416 | ||
10417 | * coding.h (ENCODE_SYSTEM, DECODE_SYSTEM) [!WINDOWSNT]: Use the | |
10418 | locale-coding-system, as was already done for WINDOWSNT. | |
10419 | ||
d5161e8c SM |
10420 | * keyboard.c (read_char): Only do the 7-bit-meta -> 27-bit-meta |
10421 | translation for chars in the 0-255 range. | |
10422 | ||
568b6e41 LK |
10423 | 2005-03-16 Lute Kamstra <lute@gnu.org> |
10424 | ||
10425 | * floatfns.c (Ffloor): Doc fix. | |
10426 | ||
469fb3cf YM |
10427 | 2005-03-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10428 | ||
10429 | * mac.c: Include macterm.h instead of directly including Carbon.h. | |
10430 | [TARGET_API_MAC_CARBON] (Qstring, Qnumber, Qboolean, Qdate, Qdata) | |
10431 | (Qarray, Qdictionary): New variables. | |
10432 | (syms_of_mac) [TARGET_API_MAC_CARBON]: Initialize them. | |
10433 | [TARGET_API_MAC_CARBON] (Qutf_8): Add extern. | |
10434 | [TARGET_API_MAC_CARBON] (DECODE_UTF_8): New macro. | |
10435 | [TARGET_API_MAC_CARBON] (struct cfdict_context): New struct used | |
10436 | in callback for CFDictionaryApplyFunction. | |
10437 | [TARGET_API_MAC_CARBON] (cfdata_to_lisp, cfstring_to_lisp) | |
10438 | (cfnumber_to_lisp, cfdate_to_lisp, cfboolean_to_lisp) | |
10439 | (cfobject_desc_to_lisp, cfdictionary_add_to_list) | |
10440 | (cfdictionary_puthash, cfproperty_list_to_lisp): New functions. | |
10441 | [TARGET_API_MAC_CARBON] (Fmac_get_preference): New function. | |
10442 | (syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it. | |
10443 | (P, LOOSE_BINDING, SINGLE_COMPONENT, HASHKEY_TERMINAL): New macro. | |
3d454340 | 10444 | (skip_white_space, parse_comment, parse_include_file) |
469fb3cf YM |
10445 | (parse_binding, parse_component, parse_resource_name, parse_value) |
10446 | (parse_resource_line, xrm_create_database, xrm_q_put_resource) | |
10447 | (xrm_merge_string_database, xrm_q_get_resource, xrm_get_resource) | |
d5161e8c SM |
10448 | (xrm_cfproperty_list_to_value, xrm_get_preference_database): |
10449 | New functions. | |
469fb3cf YM |
10450 | |
10451 | * macfns.c (mac_get_rdb_resource): Remove function. | |
10452 | (x_get_string_resource): Use xrm_get_resource. | |
10453 | ||
10454 | * macgui.h (XrmDatabase): Typedef to Lisp_Object. | |
10455 | ||
10456 | * macterm.c (x_list_fonts): FONT-LIST-CACHE is now cadr part of | |
10457 | name_list_element. | |
10458 | (mac_make_rdb): Create resource database from preferences and | |
10459 | argument string. | |
10460 | (mac_term_init): Save resource database to cddr part of | |
10461 | name_list_element. | |
10462 | ||
10463 | * macterm.h (xrm_merge_string_database, xrm_get_resource) | |
10464 | (xrm_get_preference_database): Add externs. | |
10465 | [TARGET_API_MAC_CARBON] (cfdata_to_lisp, cfstring_to_lisp) | |
10466 | (cfnumber_to_lisp, cfdate_to_lisp, cfboolean_to_lisp) | |
10467 | (cfobject_desc_to_lisp, cfproperty_list_to_lisp): Likewise. | |
10468 | ||
10469 | * process.c (init_process): Change `#ifdef DARWIN' to `#if | |
1ae8d759 | 10470 | defined (DARWIN) || defined (MAC_OSX)'. |
469fb3cf YM |
10471 | |
10472 | * s/darwin.h (DARWIN): Don't define. | |
10473 | ||
6a3fac90 YM |
10474 | 2005-03-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10475 | ||
10476 | * macfns.c (Qhyper, Qsuper, Qmeta, Qalt, Qctrl, Qcontrol, Qshift): | |
10477 | Remove unused variables. | |
10478 | (syms_of_macfns): Don't initialize them. Likewise for | |
10479 | Qface_set_after_frame_default. Defvar and initialize | |
10480 | Vx_window_horizontal_drag_shape. | |
10481 | (x_set_mouse_color): Change mouse pointer shape. | |
10482 | (mac_window) [!MAC_OSX]: Create root control. | |
469fb3cf | 10483 | (Fx_create_frame): Remove initializations of mouse pointer shapes. |
6a3fac90 YM |
10484 | (hourglass_started): New function (from xfns.c). |
10485 | (start_hourglass, cancel_hourglass): Put function body in #ifdef | |
10486 | MAC_OSX. | |
10487 | (show_hourglass) [TARGET_API_MAC_CARBON]: Create progress | |
10488 | indicator for each non-tooltip frame if needed, and show it. | |
d5161e8c | 10489 | (hide_hourglass) [TARGET_API_MAC_CARBON]: Hide progress indicators. |
6a3fac90 YM |
10490 | |
10491 | * macgui.h [!TARGET_API_MAC_CARBON]: Include Appearance.h and | |
10492 | Controls.h. Use ThemeCursor instead of CursHandle. | |
10493 | ||
d5161e8c SM |
10494 | * macterm.c (activate_scroll_bars, deactivate_scroll_bars): |
10495 | Remove functions and declarations. | |
10496 | (mac_set_colors): Take argument for saving background color. | |
10497 | All callers changed. | |
6a3fac90 YM |
10498 | (XDrawLine, XClearArea, mac_draw_bitmap, XFillRectangle) |
10499 | (mac_draw_rectangle, mac_draw_string_common): Save and Restore | |
10500 | background color. | |
10501 | (x_update_end, mac_do_track_drag): Don't reset background color. | |
d5161e8c SM |
10502 | (mac_define_frame_cursor) [!TARGET_API_MAC_CARBON]: |
10503 | Use SetThemeCursor. | |
6a3fac90 YM |
10504 | (x_set_window_size) [TARGET_API_MAC_CARBON]: Move progress |
10505 | indicator control to the upper-right corner of the window. | |
10506 | (arrow_cursor) [!TARGET_API_MAC_CARBON]: Remove variable. | |
10507 | (do_init_managers) [!TARGET_API_MAC_CARBON]: Don't initialize it. | |
10508 | (do_window_update): Update controls after updating content area. | |
10509 | (mac_handle_window_event): Remove unused extern. | |
10510 | (XTread_socket): Check both control handle and control part code | |
10511 | to determine whether a scroll bar is clicked. Activate/deactivate | |
10512 | root control instead of contained scroll bar controls. | |
10513 | (make_mac_terminal_frame): Use ThemeCursor constants. | |
10514 | ||
d5161e8c SM |
10515 | * macterm.h (struct mac_output) [TARGET_API_MAC_CARBON]: |
10516 | New member hourglass_control. | |
6a3fac90 | 10517 | (HOURGLASS_WIDTH, HOURGLASS_HEIGHT): New defines. |
d5161e8c | 10518 | (activate_scroll_bars, deactivate_scroll_bars): Remove declarations. |
6a3fac90 | 10519 | |
a7321976 YM |
10520 | 2005-03-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10521 | ||
10522 | * macterm.c (keycode_to_xkeysym_table): Change mapping so that it | |
6a3fac90 | 10523 | coincides with that in Apple X11 except `clear', `enter' on |
a7321976 YM |
10524 | laptops, and fn + `enter' on laptops. |
10525 | ||
f7b758bd SM |
10526 | 2005-03-12 Stefan Monnier <monnier@iro.umontreal.ca> |
10527 | ||
10528 | * xmenu.c (ENCODE_MENU_STRING): Explicitly use string_make_unibyte. | |
10529 | (list_of_panes, list_of_items, Fx_popup_menu): Use XCAR/XCDR. | |
10530 | (digest_single_submenu, xmenu_show): Use ENCODE_MENU_STRING. | |
10531 | ||
10532 | * xfns.c (xic_defaut_fontset): New constant. | |
10533 | (xic_create_fontsetname): New function. | |
10534 | Extracted from create_frame_xic. Try to generate a slightly | |
10535 | better fontset. | |
10536 | (xic_create_xfontset): Use it. | |
10537 | (create_frame_xic): Simplify. | |
10538 | ||
dac24db4 SM |
10539 | 2005-03-11 Stefan Monnier <monnier@iro.umontreal.ca> |
10540 | ||
10541 | * fileio.c (Fmake_symbolic_link): Fix last change. | |
10542 | ||
e0402468 RS |
10543 | 2005-03-11 Richard M. Stallman <rms@gnu.org> |
10544 | ||
10545 | * fileio.c (Frename_file, Fadd_name_to_file) | |
10546 | (Fmake_symbolic_link): If NEWNAME or LINKNAME is a directory, | |
10547 | expand the basename of FILE relative to it. | |
10548 | ||
fa815b14 KH |
10549 | 2005-03-11 Kenichi Handa <handa@m17n.org> |
10550 | ||
10551 | * fileio.c (Finsert_file_contents): Call Fcheck_coding_system | |
10552 | before calling setup_coding_system so that autoloading of a coding | |
10553 | system work. | |
10554 | ||
817d354b JD |
10555 | 2005-03-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10556 | ||
68a505ef JD |
10557 | * xfns.c (hourglass_started): New function. |
10558 | ||
10559 | * dispextern.h: Declare hourglass_started. | |
10560 | ||
10561 | * keyboard.c (Fexecute_extended_command): Restart hourglass | |
10562 | after call to Fcompleting_read if already started. | |
10563 | ||
817d354b JD |
10564 | * gtkutil.c (xg_update_scrollbar_pos): Call x_sync so that the |
10565 | GTK main loop is entered in xterm.c, thus doing the redraw. | |
10566 | ||
b0a6f45c KS |
10567 | 2005-03-10 Kim F. Storm <storm@cua.dk> |
10568 | ||
10569 | * xdisp.c (pos_visible_p): Fix X value in last line of buffer. | |
10570 | ||
ee5d57b0 KH |
10571 | 2005-03-08 Kenichi Handa <handa@m17n.org> |
10572 | ||
10573 | * frame.c (x_set_font): Call set_default_ascii_font if an | |
10574 | available font is found. | |
10575 | ||
10576 | * fontset.c (set_default_ascii_font): New function. | |
dac24db4 | 10577 | (syms_of_fontset): Don't set FONTSET_ASCII (Vdefault_fontset) here. |
ee5d57b0 KH |
10578 | |
10579 | * fontset.h (set_default_ascii_font): Extern it. | |
10580 | ||
f30c4a5c KS |
10581 | 2005-03-07 Kim F. Storm <storm@cua.dk> |
10582 | ||
3fb26a86 KS |
10583 | * xdisp.c (CLEAR_IMAGE_CACHE_COUNT): New const. |
10584 | (clear_image_cache_count): New var. | |
10585 | (redisplay_internal): Don't clear face and image caches in the | |
10586 | middle of redisplay; do it afterwards. | |
10587 | ||
a54595d4 KS |
10588 | * blockinput.h (TOTALLY_UNBLOCK_INPUT): Avoid dangling else. |
10589 | ||
f30c4a5c KS |
10590 | * xdisp.c (notice_overwritten_cursor): Check that phys_cursor.vpos |
10591 | is valid. If not, clear phys_cursor_on_p and return. | |
10592 | ||
3d182f9d AS |
10593 | 2005-03-07 Andreas Schwab <schwab@suse.de> |
10594 | ||
10595 | * blockinput.h (UNBLOCK_INPUT_TO): Always call UNBLOCK_INPUT. | |
10596 | ||
85d964de RS |
10597 | 2005-03-06 Richard M. Stallman <rms@gnu.org> |
10598 | ||
10599 | * keyboard.c (Ftop_level): Let Fthrow deal with UNBLOCK_INPUT. | |
10600 | ||
10601 | * eval.c (unwind_to_catch): Use UNBLOCK_INPUT_TO. | |
10602 | (Feval, Ffuncall): Use CHECK_CONS_LIST. | |
10603 | ||
10604 | * lisp.h (CHECK_CONS_LIST): New macro (two definitions). | |
10605 | ||
10606 | * blockinput.h (UNBLOCK_INPUT_TO): New macro. | |
10607 | (TOTALLY_UNBLOCK_INPUT): Handle a pending signal if any. | |
10608 | ||
3ff96c81 JL |
10609 | 2005-03-05 Juri Linkov <juri@jurta.org> |
10610 | ||
10611 | * emacs.c (USAGE1): Replace Info node name "command arguments" | |
10612 | with "emacs invocation". | |
10613 | (USAGE3): Fix usage of `--color=MODE' which actually doesn't | |
10614 | allow arguments `--color' and `MODE' to be separated by space. | |
10615 | Add --no-blinking-cursor, -nbc. | |
10616 | (standard_args): Add -nbc, --no-blinking-cursor. | |
10617 | ||
64eb0083 TTN |
10618 | 2005-03-04 Thien-Thi Nguyen <ttn@gnu.org> |
10619 | ||
10620 | * s/vms.h: Define NO_HYPHENS_IN_FILENAMES. | |
10621 | * s/vms4-4.h, s/vms5-5.h: Undefine NO_HYPHENS_IN_FILENAMES. | |
10622 | * fileio.c (Fexpand_file_name) [VMS]: | |
10623 | Use NO_HYPHENS_IN_FILENAMES, not VMS4_4. | |
10624 | * doc.c (munge_doc_file_name) [VMS]: Likewise. | |
10625 | (Fsnarf_documentation): Call munge_doc_file_name. | |
10626 | ||
ad708ae5 TTN |
10627 | 2005-03-04 Thien-Thi Nguyen <ttn@gnu.org> |
10628 | ||
10629 | * s/vms.h (FILE_SYSTEM_CASE): New macro. | |
10630 | * fileio.c (Fexpand_file_name) [VMS]: Don't upcase the name | |
10631 | "manually"; this is now handled generally via FILE_SYSTEM_CASE. | |
10632 | ||
ba025f6d YM |
10633 | 2005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10634 | ||
10635 | * emacs.c (main): Change `#ifdef HAVE_CARBON' to `#if | |
10636 | defined (MAC_OSX) && defined (HAVE_CARBON)'. | |
ad708ae5 | 10637 | |
dac24db4 | 10638 | * image.c [!MAC_OSX && TARGET_API_MAC_CARBON]: Include QuickTime.h. |
ba025f6d YM |
10639 | |
10640 | * mac.c [!MAC_OSX && HAVE_CARBON]: Include Carbon.h. | |
10641 | [!MAC_OSX] (select) [TARGET_API_MAC_CARBON]: Use ReceiveNextEvent. | |
dac24db4 | 10642 | (posix_pathname_to_fsspec, fsspec_to_posix_pathname): New functions. |
ba025f6d YM |
10643 | (mac_clear_font_name_table): Move extern to macterm.h. |
10644 | ||
10645 | * macfns.c (install_window_handler): Move extern to macterm.h. | |
10646 | (Fx_file_dialog): Check STRINGP (default_filename) to see it is | |
10647 | valid. Don't check !NILP (dir) because it is already checked with | |
10648 | CHECK_STRING. | |
10649 | (Fx_file_dialog) [!MAC_OSX]: Use FSSpec instead of FSRef for | |
dac24db4 | 10650 | specifying the default location and obtaining the selected filename. |
ba025f6d YM |
10651 | |
10652 | * macgui.h [!MAC_OSX && HAVE_CARBON]: Include Carbon.h. | |
10653 | ||
2313f861 | 10654 | * macmenu.c [TARGET_API_MAC_CARBON]: Don't include headers that |
ba025f6d YM |
10655 | are included via Carbon.h. |
10656 | ||
dac24db4 SM |
10657 | * macterm.c [TARGET_API_MAC_CARBON && !MAC_OSX]: |
10658 | Define USE_CARBON_EVENTS to 1. | |
2313f861 | 10659 | (qd) [__MRC__ && TARGET_API_MAC_CARBON]: Don't declare. |
ba025f6d YM |
10660 | (x_free_frame_resources): Call remove_window_handler for |
10661 | non-tooltip windows. | |
10662 | [TARGET_API_MAC_CARBON]: Don't include headers that are included | |
10663 | via Carbon.h. | |
10664 | [TARGET_API_MAC_CARBON] (mac_do_track_dragUPP) | |
10665 | (mac_do_receive_dragUPP): New variables. | |
10666 | (mac_handle_service_event, init_service_handler): Put declarations | |
10667 | and definitions in #ifdef MAC_OSX. | |
10668 | (install_window_handler) [TARGET_API_MAC_CARBON]: Create UPPs for | |
10669 | drag-and-drop handler functions and register them. | |
10670 | (remove_window_handler): New function. | |
dac24db4 SM |
10671 | (do_ae_open_documents, mac_do_receive_drag) [!MAC_OSX]: |
10672 | Use fsspec_to_posix_pathname. | |
ba025f6d YM |
10673 | (main): Change #if !TARGET_API_MAC_CARBON to #ifdef MAC_OS8. |
10674 | (XTread_socket) [!MAC_OSX]: Don't pass keyboard events to TSM. | |
dac24db4 SM |
10675 | [MAC_OS8] (make_mac_terminal_frame) [TARGET_API_MAC_CARBON]: |
10676 | Set default cursors. | |
a66f285a | 10677 | (mac_initialize) [USE_CARBON_EVENTS && !MAC_OSX]: Don't call |
ba025f6d YM |
10678 | init_service_handler or init_quit_char_handler. |
10679 | (mac_initialize) [!MAC_OSX]: Don't call MakeMeTheFrontProcess. | |
10680 | ||
10681 | * macterm.h (install_window_handler, remove_window_handler) | |
10682 | (posix_pathname_to_fsspec, fsspec_to_posix_pathname) | |
10683 | (mac_clear_font_name_table): New externs. | |
ad708ae5 | 10684 | |
c1558952 TTN |
10685 | 2005-03-03 Thien-Thi Nguyen <ttn@gnu.org> |
10686 | ||
10687 | * fileio.c (FILE_SYSTEM_CASE): Define macro if not already defined. | |
10688 | (Ffile_name_directory): Use FILE_SYSTEM_CASE unconditionally. | |
10689 | (Fexpand_file_name): Likewise. | |
10690 | ||
fa439170 TTN |
10691 | 2005-03-03 Thien-Thi Nguyen <ttn@gnu.org> |
10692 | ||
10693 | * emacs.c (Fkill_emacs): Use EXIT_SUCCESS; | |
10694 | no longer special-case VMS. Add bogus return value. | |
10695 | ||
db2dacf6 KS |
10696 | 2005-03-02 Kim F. Storm <storm@cua.dk> |
10697 | ||
10698 | * dispextern.h (XASSERTS): Define to 0 if not already defined. | |
10699 | (xassert) [!XASSERTS]: Define dummy version. | |
10700 | ||
0870514c KS |
10701 | 2005-03-02 Kim F. Storm <storm@cua.dk> |
10702 | ||
10703 | * xdisp.c (redisplay_window): YABX (yet another bogus xassert). | |
10704 | Reported by David Kastrup. | |
10705 | ||
6b640092 KS |
10706 | 2005-03-01 Ehud Karni <ehud@unix.mvs.co.il> |
10707 | ||
10708 | * xdisp.c (get_next_display_element): Fix control and escape | |
10709 | glyph from display vector. | |
10710 | ||
f4a5a485 SM |
10711 | 2005-03-01 Stefan Monnier <monnier@iro.umontreal.ca> |
10712 | ||
10713 | * keyboard.c (Fposn_at_x_y): Check integerness of X and Y. | |
10714 | ||
85d964de RS |
10715 | 2005-02-27 Richard M. Stallman <rms@gnu.org> |
10716 | ||
10717 | * xdisp.c (fast_find_position): Rename END to BEG. | |
10718 | (syms_of_xdisp) <menu-bar-update-hook>: Doc fix. | |
10719 | ||
6e8db3ea JD |
10720 | 2005-02-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10721 | ||
f4a5a485 | 10722 | * gtkutil.c (xg_resize_outer_widget): Remove unneeded call to |
6e8db3ea JD |
10723 | gtk_window_resize and x_wm_set_size_hint. |
10724 | ||
0f465b55 KS |
10725 | 2005-02-25 Kim F. Storm <storm@cua.dk> |
10726 | ||
10727 | * dispextern.h (OVERLAY_STRING_CHUNK_SIZE): Increase from 3 to 16. | |
10728 | ||
10729 | * xdisp.c (init_from_display_pos): Don't read past end of | |
10730 | it->overlay_strings array. | |
10731 | ||
d5fb8dab | 10732 | 2005-02-25 Stephan Stahl <stahl@eos.franken.de> (tiny change) |
845a78b4 LK |
10733 | |
10734 | * buffer.c (syms_of_buffer): Fix typo. | |
10735 | ||
b02c3eed LK |
10736 | 2005-02-23 Lute Kamstra <lute@gnu.org> |
10737 | ||
10738 | * buffer.c (Foverlay_buffer): Doc fix. | |
10739 | ||
c8500765 KS |
10740 | 2005-02-22 Kim F. Storm <storm@cua.dk> |
10741 | ||
b686dd59 KS |
10742 | * minibuf.c (Ftry_completion, Fall_completions): Allow both string |
10743 | and symbol keys in alists and hash tables. | |
10744 | ||
c8500765 KS |
10745 | * xdisp.c (fast_find_position): Fix search for start of overlay. |
10746 | ||
81c85b53 KS |
10747 | 2005-02-21 Kim F. Storm <storm@cua.dk> |
10748 | ||
10749 | * window.c (window_scroll_pixel_based): When scrolling backwards, | |
10750 | handle partial visible line at end of window even when we hit PT. | |
10751 | ||
f4a5a485 | 10752 | 2005-02-21 Stefan Monnier <monnier@iro.umontreal.ca> |
9df747e1 SM |
10753 | |
10754 | * keymap.h: Declare Fcurrent_active_maps, used in doc.c. | |
10755 | ||
0dd5a842 KS |
10756 | 2005-02-21 Kim F. Storm <storm@cua.dk> |
10757 | ||
10758 | * xdisp.c (move_it_vertically_backward): Eliminate two xasserts. | |
10759 | I think those asserts are bogus if buffer contains invisible text | |
10760 | or images. | |
10761 | ||
d5fb8dab | 10762 | 2005-02-21 David Kastrup <dak@gnu.org> |
19e05d1f KS |
10763 | |
10764 | * gtkutil.c (xg_create_frame_widgets): UNBLOCK_INPUT on error. | |
10765 | ||
0fba9f25 KS |
10766 | 2005-02-20 Kim F. Storm <storm@cua.dk> |
10767 | ||
10768 | * xdisp.c (pos_visible_p): Be sure to move to the specified | |
10769 | position. Always get the full ascent / descent of the | |
10770 | corresponding row, to return reliable rtop and rbot values. | |
10771 | (back_to_previous_visible_line_start): Fix 2005-01-18 change. | |
10772 | Must look one character back, as back_to_previous_line_start | |
10773 | returns position after the newline. | |
10774 | (move_it_vertically_backward): Fix heuristic for when to move further | |
10775 | back in case line_height * 2/3 is larger than window height. | |
10776 | (cursor_row_fully_visible_p): Rename make_cursor_line_fully_visible_p | |
10777 | as it does not do anything anymore. Add arg current_matrix_p to | |
10778 | use current matrix rather than desired matrix when set. | |
10779 | (try_cursor_movement): Don't scroll to make cursor row fully | |
10780 | visible if cursor didn't move. This avoids unexpected recentering | |
10781 | in case of blinking cursor or accepting process output. | |
10782 | Use current matrix to check cursor row visibility. | |
10783 | (redisplay_window): Fix whether to recenter or move to top in case | |
10784 | cursor line is taller than window height. | |
10785 | (find_first_unchanged_at_end_row): Stop search if we reach a row | |
10786 | which not enabled (instead of abort). | |
10787 | ||
b1c2adc3 KS |
10788 | 2005-02-18 Kim F. Storm <storm@cua.dk> |
10789 | ||
c2ee48fb KS |
10790 | * xfaces.c (Finternal_set_lisp_face_attribute): Allow :color property |
10791 | to be nil in a :box attribute value list; customize prints that | |
10792 | as lisp value when no box color is specified. | |
10793 | ||
b1c2adc3 KS |
10794 | * .gdbinit (pitx, pit): Pretty print display iterator. |
10795 | (prowx, prow): Pretty print glyph row. | |
10796 | (pcursorx, pcursor): Pretty print a window cursor. | |
10797 | (pwinx, pwin): Pretty print struct window. | |
10798 | ||
f102186f SM |
10799 | 2005-02-18 Stefan Monnier <monnier@iro.umontreal.ca> |
10800 | ||
10801 | * alloc.c (BLOCK_BYTES): Harmless typo. | |
10802 | ||
9b516537 AS |
10803 | 2005-02-17 Andreas Schwab <schwab@suse.de> |
10804 | ||
10805 | * xfns.c (hack_wm_protocols): Use correct type for last parameter | |
10806 | of XGetWindowProperty to avoid aliasing issues. | |
10807 | (Fx_window_property): Likewise. | |
10808 | ||
10809 | * xselect.c (Fx_disown_selection_internal): Use union of struct | |
f4a5a485 | 10810 | input_event and struct selection_input_event to avoid aliasing issues. |
9b516537 AS |
10811 | |
10812 | * xterm.c (handle_one_xevent): Use union of struct input_event and | |
10813 | struct selection_input_event to avoid aliasing issues. | |
10814 | (SET_SAVED_MENU_EVENT): Adapt reference to inev. | |
10815 | ||
886b1418 KS |
10816 | 2005-02-17 Kim F. Storm <storm@cua.dk> |
10817 | ||
10818 | * dispextern.h (enum it_method): New enum. | |
10819 | (GET_FROM_*): Its members. | |
10820 | (struct it): Change member method from function pointer to enum. | |
10821 | ||
10822 | * xdisp.c (check_it, init_from_display_pos, handle_stop) | |
10823 | (setup_for_ellipsis, handle_single_display_spec) | |
10824 | (handle_composition_prop, next_overlay_string) | |
10825 | (get_overlay_strings, reseat_1, reseat_to_string) | |
10826 | (next_element_from_ellipsis, BUFFER_POS_REACHED_P) | |
10827 | (in_display_vector_p, display_line, get_next_display_element): | |
10828 | Change it->method from function pointer to enum. | |
10829 | (get_next_element): New array to map it->method to function. | |
10830 | (get_next_display_element): Use it. | |
10831 | (set_iterator_to_next): Use switch instead of if/else chain. | |
10832 | ||
99ee2c6a | 10833 | 2005-02-15 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> |
52c7f9ee JR |
10834 | |
10835 | * w32select.c: Summary: Thorough rework to implement Unicode | |
10836 | clipboard operations and delayed rendering. | |
10837 | ||
10838 | Drop last_clipboard_text and related code, keep track of | |
f4a5a485 | 10839 | ownership via clipboard_owner instead. Drop old #if0 sections. |
52c7f9ee JR |
10840 | |
10841 | (DEFAULT_LCID, ANSICP, OEMCP, QUNICODE, QANSICP, QOEMCP) | |
10842 | (clipboard_owner, modifying_clipboard, cfg_coding_system) | |
10843 | (cfg_codepage, cfg_lcid, cfg_clipboard_type, current_text) | |
10844 | (current_coding_system, current_requires_encoding) | |
f4a5a485 SM |
10845 | (current_num_nls, current_clipboard_type, current_lcid): |
10846 | New static variables. | |
52c7f9ee JR |
10847 | |
10848 | (convert_to_handle_as_ascii, convert_to_handle_as_coded) | |
10849 | (render, render_all, run_protected, lisp_error_handler) | |
10850 | (owner_callback, create_owner, setup_config) | |
f4a5a485 SM |
10851 | (enum_locale_callback, cp_from_locale, coding_from_cp): |
10852 | New local functions. | |
52c7f9ee JR |
10853 | |
10854 | (term_w32select, globals_of_w32select): New global functions. | |
10855 | ||
10856 | (Fw32_set_clipboard_data): Ignore parameter FRAME, use | |
10857 | clipboard_owner instead. Use delayed rendering and provide | |
10858 | all text formats. Provide CF_LOCALE if necessary. | |
10859 | ||
10860 | (Fw32_get_clipboard_data): Handle CF_UNICODETEXT and | |
10861 | CF_LOCALE. Fall back to CF_TEXT, if CF_UNICODETEXT is not | |
10862 | available. Force DOS line-ends for decoding. | |
10863 | ||
10864 | (Fx_selection_exists_p): Handle CF_UNICODETEXT. | |
10865 | ||
10866 | (syms_of_w32select): Init and register new variables. | |
10867 | ||
10868 | * w32.h: Add prototypes for globals_of_w32select and | |
10869 | term_w32select. Make the neighboring K&R declarations into | |
10870 | prototypes, too. | |
10871 | ||
10872 | * emacs.c: Include w32.h to get function prototypes. | |
10873 | (main): Call globals_of_w32select. | |
10874 | ||
886b1418 | 10875 | * w32.c (term_ntproc): Call term_w32select. |
52c7f9ee JR |
10876 | |
10877 | * s/ms-w32.h: Guard MSC-specific #pragmas with an #ifdef. | |
10878 | ||
86e61586 KS |
10879 | 2005-02-16 Kim F. Storm <storm@cua.dk> |
10880 | ||
10881 | * xdisp.c (BUFFER_POS_REACHED_P): Return true if pos reached and | |
10882 | at end of display vector. | |
10883 | ||
6407f07b RS |
10884 | 2005-02-15 Richard M. Stallman <rms@gnu.org> |
10885 | ||
10886 | * xdisp.c (get_next_display_element): Fix escape-glyph criterion | |
10887 | for mode and header lines. | |
10888 | ||
10889 | * lread.c (syms_of_lread) <user-init-file>: Doc fix. | |
10890 | ||
10891 | * keymap.h (describe_map_tree): Change decl. | |
10892 | ||
10893 | * keyboard.c (command_loop_1): Always use safe_run_hooks | |
10894 | to run Qdeferred_action_function. | |
10895 | ||
10896 | * keymap.c (describe_map_tree): New arg MENTION_SHADOW. Calls changed. | |
10897 | (describe_map, describe_vector): Likewise. When it's 1, | |
10898 | don't omit shadowed bindings, instead mark them as shadowed. | |
10899 | ||
10900 | * doc.c (Fsubstitute_command_keys): Compute list of shadowing maps | |
10901 | for describe_map_tree. Pass 1 for MENTION_SHADOW. | |
10902 | ||
10903 | * data.c (Fsetq_default): Allow no arg case. | |
10904 | ||
3bb917bf KH |
10905 | 2005-02-14 Kenichi Handa <handa@m17n.org> |
10906 | ||
10907 | * coding.c (encode_coding_string): Always return a unibyte string. | |
10908 | If NOCOPY is nonzero and there's no need of encoding, make STR | |
10909 | unibyte directly. | |
10910 | ||
10911 | * xselect.c (lisp_data_to_selection_data): If OBJ is a non-ASCII | |
10912 | multibyte string, signal an error instead of aborting. | |
10913 | ||
e31d908f DN |
10914 | 2005-02-12 Dan Nicolaescu <dann@ics.uci.edu> |
10915 | ||
10916 | * keyboard.c: If HAVE_FCNTL_H include fcntl.h. | |
10917 | ||
48e029b6 KS |
10918 | 2005-02-12 Kim F. Storm <storm@cua.dk> |
10919 | ||
10920 | * xdisp.c (expose_window): Don't fix overlaps for mode lines. | |
10921 | ||
c10bb00a KS |
10922 | 2005-02-10 Kim F. Storm <storm@cua.dk> |
10923 | ||
10924 | * xdisp.c (try_window_id): Set first_unchanged_at_end_row to NULL | |
10925 | if it moves outside window or it doesn't display text. | |
10926 | ||
9ca0f64a KS |
10927 | 2005-02-09 Kim F. Storm <storm@cua.dk> |
10928 | ||
10929 | * undo.c (Fprimitive_undo): Check that undo function does not | |
10930 | switch buffer. | |
10931 | ||
b8d6f4af JD |
10932 | 2005-02-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10933 | ||
10934 | * xselect.c (selection_data_to_lisp_data): For the special case | |
10935 | type == XA_ATOM, data contains array of int, not array of Atom. | |
d5161e8c SM |
10936 | (x_property_data_to_lisp, selection_data_to_lisp_data): |
10937 | Comment update: data must be array of int for format == 32. | |
b8d6f4af | 10938 | |
3419757d SM |
10939 | 2005-02-08 Stefan Monnier <monnier@iro.umontreal.ca> |
10940 | ||
10941 | * undo.c (Fprimitive_undo): Check veracity of delta,start,end. | |
10942 | ||
3a441526 JD |
10943 | 2005-02-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10944 | ||
fc34503b JD |
10945 | * xfns.c (Fx_change_window_property): Use long array when format is 32. |
10946 | (Fx_window_property): If format is 32 and long is bigger than 32 bits, | |
10947 | convert long array returned from XGetWindowProperty to an int array. | |
bae45dc3 JD |
10948 | (x_set_tool_bar_lines): Check that width and height is greater than |
10949 | zero before clearing area. | |
fc34503b JD |
10950 | |
10951 | * xselect.c (x_reply_selection_request): Pass long array to | |
10952 | XChangeProperty so that 64 bit longs are handeled correctly. | |
10953 | (x_get_window_property): If format is 32 and long is bigger than 32 | |
10954 | bits convert data from XGetWindowProperty from long array to int array. | |
10955 | (lisp_data_to_selection_data): When the input is a vector and the | |
10956 | format is 32, allocate a long array even if long is bigger than 32 bits. | |
10957 | (x_fill_property_data): Use char, short and long as the man page | |
10958 | for XChangeProperty specifies. This way the data returned is OK for | |
10959 | both 32 and 64 bit machines. | |
10960 | (x_handle_dnd_message): Calculate size correctly even for 64 bit | |
10961 | machines. | |
10962 | (Fx_send_client_event): Undo change from 2005-02-05, | |
10963 | x_fill_property_data now handles that case. | |
10964 | ||
3419757d | 10965 | * xfns.c (Fx_backspace_delete_keys_p): Add comment about the |
3a441526 JD |
10966 | reason for the approach in the code. |
10967 | ||
82ec225b KS |
10968 | 2005-02-07 Kim F. Storm <storm@cua.dk> |
10969 | ||
10970 | * undo.c (Fprimitive_undo): Record max one dummmy apply element. | |
10971 | ||
ba2c991c RS |
10972 | 2005-02-06 Richard M. Stallman <rms@gnu.org> |
10973 | ||
10974 | * eval.c (Frun_hook_with_args) | |
10975 | (Frun_hook_with_args_until_success) | |
10976 | (Frun_hook_with_args_until_failure): Doc fixes. | |
10977 | ||
e120ea40 AS |
10978 | 2005-02-05 Andreas Schwab <schwab@suse.de> |
10979 | ||
3419757d | 10980 | * sysdep.c (sys_subshell): Properly terminate execlp argument list. |
e120ea40 | 10981 | |
31f16913 JD |
10982 | 2005-02-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10983 | ||
10984 | * xselect.c (Fx_send_client_event, x_handle_dnd_message): Handle | |
10985 | the longs in a XClientMessageEvent correctly when long is 64 bits. | |
10986 | ||
6082a820 EZ |
10987 | 2005-02-05 Eli Zaretskii <eliz@gnu.org> |
10988 | ||
10989 | * xfaces.c (face_color_supported_p): Use HAVE_WINDOW_SYSTEM | |
10990 | instead of HAVE_X_WINDOWS, for non-X windowed sessions. | |
10991 | ||
0e95095b JD |
10992 | 2005-02-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10993 | ||
10994 | * xmenu.c (menubar_selection_callback): Force out GTK buffered | |
10995 | events so the menu event comes after them. This is to prevent sit-for | |
10996 | from exiting on buffered events directly after a menu selection, | |
10997 | lisp code for Help => About Emacs uses sit-for. | |
10998 | ||
10999 | * gtkutil.c (create_menus): Connect selection-done event instead of | |
11000 | the deactivate event to deactivate_cb. This will make the last | |
11001 | leave event come before the call to deactivate_cb, so the leave | |
11002 | event does not make sit-for exit after a menu selection. | |
11003 | ||
5bb6a3c1 KS |
11004 | 2005-02-03 Kim F. Storm <storm@cua.dk> |
11005 | ||
11006 | * dispnew.c (build_frame_matrix_from_leaf_window) | |
59d8a9dc | 11007 | [!GLYPH_DEBUG]: Fix xassert. |
5bb6a3c1 KS |
11008 | |
11009 | * xfaces.c (x_free_gc) [!GLYPH_DEBUG]: Fix xassert. | |
11010 | ||
11011 | * xfns.c (unwind_create_frame) [!GLYPH_DEBUG]: Fix xassert. | |
11012 | ||
e9859e26 YM |
11013 | 2005-02-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11014 | ||
11015 | * mac.c: Use MAC_OS_X_VERSION_MAX_ALLOWED to conditionalize by | |
11016 | the compiling OS version. | |
11017 | ||
11018 | * macfns.c (x_create_tip_frame): Likewise. | |
11019 | ||
3419757d | 11020 | * macterm.c (mac_draw_string_common, x_make_frame_visible): Likewise. |
e9859e26 | 11021 | |
4e07258f RS |
11022 | 2005-02-03 Richard M. Stallman <rms@gnu.org> |
11023 | ||
11024 | * xterm.c (x_error_quitter): On GCC 3 and up, specify noinline. | |
11025 | ||
11026 | * xdisp.c (echo_area_display): Clear echo_message_buffer. | |
11027 | ||
11028 | * buffer.c (Fbury_buffer): Doc fix. | |
11029 | ||
4a34b529 ST |
11030 | 2005-02-02 Steven Tamm <steventamm@mac.com> |
11031 | ||
7e26f91b | 11032 | * macfns.c (unwind_create_frame): Fix compile error due to |
f6c62d96 | 11033 | xassert being uncondition, but predicate is. |
7e26f91b | 11034 | * dispnew.c (update_window): Fix compile error due to |
f6c62d96 | 11035 | xassert being uncondition, but predicate is. |
4a34b529 | 11036 | |
d78f30b8 MB |
11037 | 2005-02-02 Miles Bader <miles@gnu.org> |
11038 | ||
11039 | * dispextern.h (xassert): Enable unconditionally. | |
11040 | ||
b044278d KS |
11041 | 2005-02-02 Kim F. Storm <storm@cua.dk> |
11042 | ||
11043 | * undo.c (Fprimitive_undo): Fix dummy apply undo entry. | |
11044 | ||
56072160 KH |
11045 | 2005-02-02 Kenichi Handa <handa@m17n.org> |
11046 | ||
11047 | * casefiddle.c (casify_object): Enable changing characters of | |
11048 | different byte length. | |
11049 | (casify_region): Fix loop condition, args to replace_range_2, and | |
11050 | update opoint_byte. | |
11051 | ||
f4a5a485 | 11052 | * insdel.c (replace_range_2): Fix bugs in adjusting markers and point. |
56072160 | 11053 | |
5e1674c5 KS |
11054 | 2005-02-01 Kim F. Storm <storm@cua.dk> |
11055 | ||
11056 | * xdisp.c (back_to_previous_visible_line_start): Reset iterator | |
11057 | stack before calling handle_display_prop. | |
11058 | ||
fb89c330 KS |
11059 | 2005-01-31 Kim F. Storm <storm@cua.dk> |
11060 | ||
11061 | * undo.c (Qapply): New lisp var. | |
11062 | (syms_of_undo): Intern and staticpro it. | |
11063 | (Fprimitive_undo): Support formats (apply FUNNAME . ARGS) and | |
11064 | (apply DELTA BEG END FUNNAME . ARGS) instead of (FUNNAME . ARGS). | |
11065 | ||
11066 | * buffer.c (syms_of_buffer) <buffer-undo-list>: Doc fix. | |
11067 | ||
7bf72fa6 JH |
11068 | 2005-01-30 Jesper Harder <harder@phys.au.dk> |
11069 | ||
a050b1a9 KS |
11070 | * macterm.c (syms_of_macterm) <mac-reverse-ctrl-meta> |
11071 | <mac-emulate-three-button-mouse>: Fix docstring indentation. | |
7bf72fa6 | 11072 | |
03c64f2e LT |
11073 | 2005-01-29 Luc Teirlinck <teirllm@auburn.edu> |
11074 | ||
11075 | * undo.c (syms_of_undo) <undo-outer-limit>: Doc update. | |
6de38aa3 | 11076 | Increase value to 3 Meg. |
03c64f2e | 11077 | |
49b8b5dc JD |
11078 | 2005-01-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11079 | ||
11080 | * xfns.c (show_hourglass): Use FRAME_X_WINDOW as parent for GTK, | |
11081 | button events are not received otherwise. | |
11082 | ||
5a92a9eb RS |
11083 | 2005-01-29 Richard M. Stallman <rms@gnu.org> |
11084 | ||
11085 | * buffer.c (syms_of_buffer) <buffer-undo-list>: Doc fix. | |
11086 | ||
11087 | * undo.c (Fprimitive_undo): Handle (FUNNAME . ARGS) by calling FUNNAME. | |
11088 | ||
5c243ee4 SM |
11089 | 2005-01-28 Stefan Monnier <monnier@iro.umontreal.ca> |
11090 | ||
11091 | * keymap.c (access_keymap): YAILOM. | |
11092 | ||
caf533af KS |
11093 | 2005-01-27 Kim F. Storm <storm@cua.dk> |
11094 | ||
11095 | * xdisp.c (get_phys_cursor_geometry): New function to calculate | |
11096 | phys cursor position and size for hollow cursor. Position is | |
11097 | aligned with get_glyph_string_clip_rect and ensures that a hollow | |
11098 | cursor is shown, even when the actual glyph is not visible. | |
11099 | ||
11100 | * dispextern.h (get_phys_cursor_geometry): Add prototype. | |
11101 | ||
11102 | * xterm.c (x_clip_to_row): Ensure y >= 0. | |
11103 | (x_draw_hollow_cursor): Use get_phys_cursor_geometry. | |
11104 | ||
11105 | * w32term.c (x_draw_hollow_cursor): Use get_phys_cursor_geometry. | |
11106 | ||
11107 | * macterm.c (x_draw_hollow_cursor): Use get_phys_cursor_geometry. | |
11108 | ||
043f7f73 SM |
11109 | 2005-01-27 Stefan Monnier <monnier@iro.umontreal.ca> |
11110 | ||
11111 | * xterm.c (x_error_quitter): Add a prototype. Make it static again. | |
11112 | ||
889f3641 KS |
11113 | 2005-01-27 Kim F. Storm <storm@cua.dk> |
11114 | ||
11115 | * xdisp.c (get_glyph_string_clip_rect): Always show a cursor | |
11116 | glyph, even when row is only partially visible and actual cursor | |
11117 | position is not visible. | |
11118 | ||
29099c2f RS |
11119 | 2005-01-24 Richard M. Stallman <rms@gnu.org> |
11120 | ||
11121 | * xterm.c (x_error_quitter): No longer static, and moved after | |
11122 | x_error_handler. | |
11123 | ||
6adb6f01 KS |
11124 | 2005-01-24 Kim F. Storm <storm@cua.dk> |
11125 | ||
11126 | * xdisp.c (move_it_by_lines): If we move forward after going too | |
11127 | far back, cancel move if end position is same as start position. | |
11128 | ||
4d904fa0 ST |
11129 | 2005-01-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11130 | ||
11131 | * dispextern.h (struct glyph_string): New members clip_head and | |
11132 | clip_tail. | |
6adb6f01 | 11133 | |
4d904fa0 ST |
11134 | * xdisp.c (get_glyph_string_clip_rect): Restrict horizontal clip |
11135 | region to the area between clip_head and clip_tail. | |
11136 | (draw_glyphs): Record the area that need to be actually redrawn to | |
11137 | the new variables clip_head and clip_tail when there are | |
11138 | overhangs. Set values of these variables to the corresponding | |
11139 | members in struct glyph_string. Refine x coordinates for | |
11140 | notice_overwritten_cursor using clip_head and clip_tail. | |
6adb6f01 | 11141 | |
4d904fa0 ST |
11142 | * macgui.h (STORE_XCHARSETSTRUCT): New macro. |
11143 | ||
11144 | * macterm.c (mac_compute_glyph_string_overhangs): Implement with | |
11145 | QDTextBounds. | |
11146 | (x_draw_glyph_string): Don't fill the background of the successor | |
6adb6f01 | 11147 | of a glyph with a right overhang if the successor will draw a cursor. |
4d904fa0 | 11148 | (XLoadQueryFont): Obtain font metrics using QDTextBounds. |
6adb6f01 | 11149 | (x_redisplay_interface): Add entry for compute_glyph_string_overhangs. |
4d904fa0 | 11150 | |
f2417699 KS |
11151 | 2005-01-24 Kim F. Storm <storm@cua.dk> |
11152 | ||
6f67f013 KS |
11153 | * window.c (window_scroll_pixel_based): Fix scrolling in the wrong |
11154 | direction if window height was smaller than next-screen-context-lines. | |
11155 | Now always scroll at least one line in the requested direction. | |
11156 | Ensure that we actually do scroll backwards when requested to do so. | |
11157 | ||
f2417699 KS |
11158 | * xdisp.c (redisplay_window): Only try to make cursor line fully |
11159 | visible once (to avoid redisplay loop). | |
11160 | ||
a354b72c KS |
11161 | 2005-01-23 Kim F. Storm <storm@cua.dk> |
11162 | ||
6b3d88f7 | 11163 | * window.c (Fpos_visible_in_window_p): Simplify return value for |
8f958b40 | 11164 | partially visible rows. |
6b3d88f7 KS |
11165 | (window_scroll_pixel_based): Adapt to that change. |
11166 | ||
5c20cae2 KS |
11167 | * window.c (window_scroll_pixel_based): Force moving to next line |
11168 | if scrolling doesn't move start point, e.g. if looking at tall image. | |
11169 | ||
a354b72c | 11170 | * xdisp.c (pos_visible_p): Return 0 if non-interactive. |
5c20cae2 KS |
11171 | Clear last_height before calling line_bottom_y to get real height. |
11172 | Fix calculation of y. | |
a354b72c | 11173 | |
d9e7c622 ST |
11174 | 2005-01-22 Steven Tamm <steventamm@mac.com> |
11175 | ||
11176 | * s/darwin.h: Removed PTY_ITERATION from here. | |
043f7f73 | 11177 | (DARWIN): Define. |
7e26f91b | 11178 | |
d9e7c622 ST |
11179 | * process.c (init_process): Default process-connection-type to |
11180 | nil on darwin 6 or less, t if it is 7 or higher. This way the | |
11181 | broken pty behavior is still allowed on darwin 6 for interactive | |
11182 | processes for people that know what they are doing. | |
11183 | ||
d00e399a KS |
11184 | 2005-01-22 Kim F. Storm <storm@cua.dk> |
11185 | ||
11186 | * window.c (auto_window_vscroll_p): New boolean. | |
11187 | (syms_of_window): DEFVAR_BOOL it. | |
11188 | (Fpos_visible_in_window_p): Extend return value to include RTOP | |
11189 | and RBOT values if FULLY is nil. | |
11190 | (window_scroll_pixel_based): Adjust vscroll for partially visible | |
11191 | rows if auto_window_vscroll_p is set. | |
11192 | (Fset_window_vscroll): Do nothing if vscroll is not modified. | |
11193 | ||
11194 | * xdisp.c (pos_visible_p): Replace FULLY arg by RTOP and RBOT args | |
11195 | to return number of partially invisible pixels at top and bottom | |
11196 | of the dislay row at POS. | |
11197 | ||
11198 | * lisp.h (pos_visible_p): Fix prototype. | |
11199 | ||
f95a20e7 RS |
11200 | 2005-01-21 Richard M. Stallman <rms@gnu.org> |
11201 | ||
11202 | * fileio.c (Fcopy_file): Doc fix. | |
11203 | ||
eee141ce JD |
11204 | 2005-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11205 | ||
11206 | * gtkutil.c (xg_tool_bar_detach_callback): Remove unused variable bw. | |
11207 | (xg_get_file_name): Move declaration ofx_use_old_gtk_file_dialog to | |
11208 | start of function for older compilers. | |
11209 | ||
6f771c32 RS |
11210 | 2005-01-20 Richard M. Stallman <rms@gnu.org> |
11211 | ||
11212 | * editfns.c (Fmessage): If arg is "", return "" (as before). | |
11213 | ||
11214 | * keymap.c (access_keymap): Protect from bad value of meta_prefix_char. | |
11215 | ||
11216 | * .gdbinit (xgetptr, xgetint, xgettype): Copy $arg0 into a temp | |
11217 | variable. | |
11218 | ||
a15252fd ST |
11219 | 2005-01-20 Steven Tamm <steventamm@mac.com> |
11220 | ||
043f7f73 | 11221 | * editfns.c (Voperating_system_release): Add. |
a15252fd ST |
11222 | (init_editfns): Assign new variable operating-system-release |
11223 | based on call to uname if available. | |
043f7f73 | 11224 | (get_operating_system_release): Add function to |
d00e399a | 11225 | allow c-level access to operating system release. |
a15252fd ST |
11226 | |
11227 | * config.h: Regenerated. | |
11228 | ||
043f7f73 SM |
11229 | * s/darwin.h (PTY_ITERATION): Don't allow PTYs on darwin 6 or less. |
11230 | (MIN_PTY_KERNEL_VERSION): Define minimum kernel version for | |
a15252fd ST |
11231 | using ptys as '7'. |
11232 | ||
3d6a4b2d KS |
11233 | 2005-01-20 Kim F. Storm <storm@cua.dk> |
11234 | ||
62fc9b0f KS |
11235 | * alloc.c (STRING_MARKED_P, VECTOR_MARKED_P): Return boolean. |
11236 | ||
c310aca4 KS |
11237 | * xterm.c (x_draw_glyph_string_box): Fix last_x for full width rows. |
11238 | Thanks to Chong Yidong <cyd@stupidchicken.com> for debugging this. | |
11239 | ||
11240 | * macterm.c (x_draw_glyph_string_box): Likewise. | |
11241 | ||
11242 | * w32term.c (x_draw_glyph_string_box): Likewise. | |
11243 | ||
3d6a4b2d KS |
11244 | * indent.c (Fvertical_motion): Temporarily disable selective display. |
11245 | ||
27c8be45 KS |
11246 | 2005-01-19 Kim F. Storm <storm@cua.dk> |
11247 | ||
77db5cf3 KS |
11248 | * xdisp.c (note_mode_line_or_margin_highlight): Fix :pointer |
11249 | image property. | |
11250 | ||
27c8be45 KS |
11251 | * fns.c (sweep_weak_table): Advance prev pointer when we keep a pair. |
11252 | ||
81f498dc KS |
11253 | 2005-01-18 Kim F. Storm <storm@cua.dk> |
11254 | ||
11255 | * xdisp.c (fast_find_position): Backtrack to find first row if | |
11256 | charpos is inside a display overlay that spans multiple lines. | |
11257 | ||
1cdb0707 KH |
11258 | 2005-01-18 Kenichi Handa <handa@m17n.org> |
11259 | ||
11260 | * coding.c (decode_coding_iso2022): Translate invalid codes if | |
11261 | translation-table is specified. | |
11262 | ||
677159ce KS |
11263 | 2005-01-18 Kim F. Storm <storm@cua.dk> |
11264 | ||
11265 | * xdisp.c (back_to_previous_visible_line_start): Undo 2004-12-28 | |
11266 | change. If handle_display_prop indicates newline is replaced by | |
11267 | image or text, move back to start of relevant overlay or interval | |
11268 | and continue scan from there. Simplify. | |
11269 | ||
977284cc KS |
11270 | 2005-01-17 Kim F. Storm <storm@cua.dk> |
11271 | ||
043f7f73 SM |
11272 | * dispnew.c (mode_line_string, marginal_area_string): |
11273 | Fix off-by-one error in search for glyph. | |
977284cc | 11274 | |
e24531b7 KS |
11275 | 2005-01-16 Kim F. Storm <storm@cua.dk> |
11276 | ||
11277 | * macterm.c (syms_of_macterm) <mac-allow-anti-aliasing>: Doc fix. | |
11278 | ||
5ddd7664 ST |
11279 | 2005-01-16 Steven Tamm <steventamm@mac.com> |
11280 | ||
043f7f73 | 11281 | * macterm.c (mac_to_x_fontname): Remove spurious argument. |
5ddd7664 | 11282 | |
fc2ff44b AS |
11283 | 2005-01-16 Andreas Schwab <schwab@suse.de> |
11284 | ||
11285 | * macterm.c (mac_draw_string_common): Fix compilation on OSX 10.1. | |
11286 | ||
50af5100 JD |
11287 | 2005-01-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11288 | ||
11289 | * fringe.c (Fdefine_fringe_bitmap, init_fringe): When assigning | |
11290 | fringe_faces, cast result from xmalloc/xrealloc to Lisp_Object *. | |
11291 | ||
a2d5fca0 JD |
11292 | 2005-01-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11293 | ||
11294 | * keyboard.c (READABLE_EVENTS_DO_TIMERS_NOW) | |
e24531b7 KS |
11295 | (READABLE_EVENTS_FILTER_EVENTS, READABLE_EVENTS_IGNORE_SQUEEZABLES): |
11296 | New flags for readable_events. | |
043f7f73 | 11297 | (get_filtered_input_pending, readable_filtered_events): Remove. |
a2d5fca0 JD |
11298 | (tracking_off): Call readable_events and get_input_pending with |
11299 | flag READABLE_EVENTS_DO_TIMERS_NOW. | |
11300 | (readable_events): Move code from old readable_filtered_events here, | |
11301 | but check new READABLE_EVENTS_* in argument flags instead of previous | |
11302 | two boolean arguments do_timers_now and filter_events. | |
11303 | If we are doing mouse tracking and the mouse moved, return only if | |
11304 | READABLE_EVENTS_IGNORE_SQUEEZABLES is not set in flags. | |
11305 | (swallow_events): Call get_input_pending with flag | |
11306 | READABLE_EVENTS_DO_TIMERS_NOW. | |
e24531b7 | 11307 | (get_input_pending): Move code from old get_filtered_input_pending |
a2d5fca0 JD |
11308 | here. Replace boolean arguments do_timers_now, filter_events with |
11309 | flags, and pass flags to readable_events. Document new | |
11310 | READABLE_EVENTS_* flags. | |
11311 | (detect_input_pending_ignore_squeezables): New function. | |
11312 | (detect_input_pending_run_timers): Call get_input_pending with flag | |
11313 | READABLE_EVENTS_DO_TIMERS_NOW. | |
11314 | (Finput_pending_p): Call get_input_pending with flags | |
11315 | READABLE_EVENTS_DO_TIMERS_NOW and READABLE_EVENTS_FILTER_EVENTS. | |
11316 | ||
11317 | * dispnew.c (update_window, update_frame_1): Replace calls to | |
11318 | detect_input_pending with detect_input_pending_ignore_squeezables | |
e24531b7 | 11319 | so that redisplay is not paused if the event queue contains only |
a2d5fca0 JD |
11320 | mouse movements. |
11321 | ||
11322 | * lisp.h: Declare detect_input_pending_ignore_squeezables. | |
11323 | ||
42afbcda ST |
11324 | 2005-01-15 Steven Tamm <steventamm@mac.com> |
11325 | ||
e24531b7 KS |
11326 | * macterm.c (Vmac_use_core_graphics): Declare variable for |
11327 | mac-allow-anti-aliasing. | |
11328 | (syms_of_macterm): DEFVAR_LISP and initialize it. | |
743d0696 | 11329 | (mac_draw_string_common): Use core graphics text rendering if |
0530c679 | 11330 | mac-allow-anti-aliasing is enabled. |
743d0696 | 11331 | |
42afbcda ST |
11332 | * macfns.c (Fx_file_dialog): Save As dialog includes only the |
11333 | file name in the text box. | |
11334 | ||
9cdd4884 ST |
11335 | 2005-01-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11336 | ||
043f7f73 SM |
11337 | * macfns.c (x_set_foreground_color, x_set_background_color): |
11338 | Sync with xfns.c. | |
9cdd4884 ST |
11339 | (mac_window, x_create_tip_frame): Use XSetWindowBackground. |
11340 | * macterm.c (XSetBackground, XSetWindowBackground): New functions. | |
11341 | * macterm.h (XSetBackground, XSetWindowBackground): Add externs. | |
11342 | ||
88948d55 KS |
11343 | 2005-01-14 Kim F. Storm <storm@cua.dk> |
11344 | ||
11345 | * keyboard.c (Fposn_at_x_y): Add optional arg WHOLE. | |
11346 | ||
20d6de82 RS |
11347 | 2005-01-13 Richard M. Stallman <rms@gnu.org> |
11348 | ||
11349 | * keymap.c (Fcurrent_active_maps): Ignore Voverriding_local_map | |
11350 | if Voverriding_terminal_local_map is non-nil. | |
11351 | ||
11352 | * keyboard.c (syms_of_keyboard): Doc fix. | |
11353 | ||
f75a592e KS |
11354 | 2005-01-13 Kim F. Storm <storm@cua.dk> |
11355 | ||
11356 | * xdisp.c (Fformat_mode_line): Fix last change. Remove NO_PROPS arg | |
52eb0373 | 11357 | (specify 0 for FACE instead). Reorder arg list. Doc fix. |
f75a592e | 11358 | |
28f94a34 RS |
11359 | 2005-01-12 Richard M. Stallman <rms@gnu.org> |
11360 | ||
11361 | * xdisp.c (Fformat_mode_line): New arg FACE specifies a default | |
11362 | face property for characters that don't specify one. | |
11363 | ||
11364 | * fns.c (Frequire): Record in load-history unconditionally. | |
11365 | ||
57a230b1 KS |
11366 | 2005-01-10 Kim F. Storm <storm@cua.dk> |
11367 | ||
11368 | * dispextern.h (merge_faces): Rename from merge_into_realized_face. | |
11369 | ||
11370 | * xfaces.c (merge_faces): Rename from merge_into_realized_face. | |
11371 | Callers changed. | |
11372 | Add support to merge with lisp face id too (if face_name is t). | |
11373 | ||
11374 | * xdisp.c (get_next_display_element, next_element_from_display_vector): | |
11375 | Don't lookup lface_id from display table glyphs here; instead use | |
11376 | merge_faces to merge the lisp face id into current face. | |
11377 | ||
8ab2c119 KS |
11378 | 2005-01-09 Kim F. Storm <storm@cua.dk> |
11379 | ||
11380 | * dispextern.h (struct it): New member dpvec_face_id. | |
11381 | (merge_into_realized_face): Add prototype. | |
11382 | ||
11383 | * xfaces.c (merge_into_realized_face): New function. Used to | |
5e1a6e32 | 11384 | merge escape-glyph face or face from display table into current face. |
8ab2c119 KS |
11385 | |
11386 | * xdisp.c (Vshow_nonbreak_escape): New lisp var. | |
11387 | (syms_of_xdisp): DEFVAR_LISP it. | |
11388 | (escape_glyph_face): Remove var. | |
11389 | (redisplay_window): Don't initialize it. | |
11390 | (setup_for_ellipsis, get_next_display_element): | |
11391 | Set it->dpvec_face_id to -1. | |
11392 | (get_next_display_element): Test Vshow_nonbreak_escape. | |
11393 | Do not setup escape_glyph_face. | |
11394 | Properly merge escape-glyph face or face from display table with | |
043f7f73 SM |
11395 | current face for escape and control characters. |
11396 | Set it->dpvec_face_id to relevant face id instead of adding it to each | |
8ab2c119 KS |
11397 | element of display vector. |
11398 | (next_element_from_display_vector): If it->dpvec_face_id is set, | |
11399 | use that instead of lface_id from glyph itself. | |
11400 | ||
e0910857 JD |
11401 | 2005-01-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11402 | ||
11403 | * xterm.h (struct x_output): New member, toolbar_detached. | |
11404 | ||
11405 | * gtkutil.c (xg_create_frame_widgets): Set initial tool bar height to | |
11406 | 38. | |
11407 | (xg_tool_bar_detach_callback): Set toolbar_detached to 1. | |
11408 | (xg_tool_bar_attach_callback): Set toolbar_detached to 0. | |
11409 | (xg_create_tool_bar): Initialize toolbar_detached. | |
11410 | (update_frame_tool_bar): Only set FRAME_TOOLBAR_HEIGHT (f) if | |
11411 | toolbar_detached is zero. | |
11412 | ||
ff59904a JD |
11413 | 2005-01-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11414 | ||
9b85e63d JD |
11415 | * xmenu.c (create_and_show_popup_menu): Pass zero as button to |
11416 | gtk_menu_popup if not for_click, so callbacks for the menu are called. | |
11417 | ||
ff59904a JD |
11418 | * gtkutil.c (xg_gtk_scroll_destroy, xg_create_scroll_bar) |
11419 | (xg_tool_bar_callback, xg_tool_bar_help_callback) | |
043f7f73 | 11420 | (update_frame_tool_bar): Cast to EMACS_INT to avoid compiler warning. |
ff59904a JD |
11421 | |
11422 | * xselect.c (x_get_foreign_selection, x_fill_property_data) | |
8ab2c119 | 11423 | (Fx_get_atom_name, Fx_send_client_event): Replace XFLOAT with |
ff59904a JD |
11424 | XFLOAT_DATA to get extract number from Lisp object. |
11425 | ||
f9a23a6f KS |
11426 | 2005-01-07 Kim F. Storm <storm@cua.dk> |
11427 | ||
11428 | * xdisp.c (set_iterator_to_next): Fix 2004-12-13 change. | |
11429 | Set stop_charpos to current charpos instead of 0. | |
11430 | ||
28f94a34 RS |
11431 | 2005-01-06 Nick Roberts <nickrob@snap.net.nz> |
11432 | ||
11433 | * xdisp.c (Fformat_mode_line): First arg now required. | |
11434 | ||
a6fffcdc ST |
11435 | 2005-01-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11436 | ||
11437 | * macterm.c (XLoadQueryFont): Correctly handle 0 size | |
11438 | font widths that are returned from some Japanese fonts. | |
11439 | ||
c35b0c6b KS |
11440 | 2005-01-06 Kim F. Storm <storm@cua.dk> |
11441 | ||
11442 | * fringe.c (fringe_faces): Change to Lisp_Object pointer. | |
11443 | (draw_fringe_bitmap_1): Lookup user defined fringe faces here. | |
11444 | (destroy_fringe_bitmap): Set fringe_faces element to nil. | |
11445 | (Fdefine_fringe_bitmap, init_fringe): Change allocation of | |
11446 | fringe_faces array and init elements to nil. | |
11447 | (Fset_fringe_bitmap_face): Set fringe_faces to face name instead of | |
11448 | non-persistent face id. | |
11449 | (mark_fringe_data): New function for GC. | |
11450 | ||
11451 | * alloc.c (mark_fringe_data): Declare extern. | |
11452 | (Fgarbage_collect): Call mark_fringe_data. | |
11453 | ||
11454 | * alloc.c (overrun_check_free): Invalidate freed memory if | |
11455 | XMALLOC_CLEAR_FREE_MEMORY is defined. | |
11456 | ||
e0e76ab9 ST |
11457 | 2005-01-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11458 | ||
11459 | * macfns.c: Include sys/param.h. | |
11460 | [TARGET_API_MAC_CARBON] (mac_nav_event_callback): New declaration | |
11461 | and function. | |
11462 | [TARGET_API_MAC_CARBON] (Fx_file_dialog): Use MAXPATHLEN for size | |
11463 | of filename string. Set event callback function when creating | |
11464 | dialog boxes. Add code conversions for filenames. Don't dispose | |
71b7a47f | 11465 | of apple event descriptor record if failed to create it. |
e0e76ab9 ST |
11466 | |
11467 | * macterm.c: Include sys/param.h. | |
11468 | [USE_CARBON_EVENTS] (mac_handle_window_event): Add handler for | |
11469 | kEventWindowUpdate. | |
11470 | (install_window_handler) [USE_CARBON_EVENTS]: Register it. | |
11471 | (do_ae_open_documents) [TARGET_API_MAC_CARBON]: Get FSRef instead | |
11472 | of FSSpec from apple event descriptor record. | |
11473 | (do_ae_open_documents) [TARGET_API_MAC_CARBON]: Use MAXPATHLEN for | |
11474 | size of filename string. | |
11475 | [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Likewise. | |
11476 | [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Return error when a | |
11477 | file dialog is in action. | |
043f7f73 SM |
11478 | [TARGET_API_MAC_CARBON] (mac_do_track_drag): Likewise. |
11479 | Reject only when there are no filename items. Set background color | |
e0e76ab9 | 11480 | before (un)highlighting the window below the dragged items. |
2313f861 | 11481 | (XTread_socket) [USE_CARBON_EVENTS]: Don't call do_window_update. |
e0e76ab9 | 11482 | |
043bc640 KH |
11483 | 2005-01-05 Romain Francoise <romain@orebokech.com> |
11484 | ||
11485 | * term.c (encode_terminal_code): Fix buffer size computation. | |
11486 | ||
dd496df6 RS |
11487 | 2005-01-04 Richard M. Stallman <rms@gnu.org> |
11488 | ||
11489 | * xdisp.c (Fformat_mode_line): Doc fix. | |
11490 | ||
026cdede SM |
11491 | 2005-01-04 Stefan Monnier <monnier@iro.umontreal.ca> |
11492 | ||
11493 | * alloc.c (refill_memory_reserve): Move. | |
11494 | (emacs_blocked_free, emacs_blocked_malloc, emacs_blocked_realloc) | |
11495 | (reset_malloc_hooks, uninterrupt_malloc) [SYNC_INPUT]: Don't define. | |
11496 | ||
d57c7572 RS |
11497 | 2005-01-03 Richard M. Stallman <rms@gnu.org> |
11498 | ||
11499 | * window.c (window_scroll_pixel_based): Don't correct preserve_y | |
11500 | for CURRENT_HEADER_LINE_HEIGHT when moving backwards. | |
11501 | ||
b14f868c JR |
11502 | 2005-01-03 Jason Rumney <jasonr@gnu.org> |
11503 | ||
11504 | * w32bdf.c (w32_load_bdf_font): Set fontp->average_width and | |
11505 | fontp->space_width to FONT_WIDTH so they are valid. | |
11506 | ||
11507 | * w32fns.c (w32_load_system_font): Set FONT_WIDTH to maximum, not | |
52eb0373 | 11508 | average width. Set fontp->average_width and fontp->space_width to |
b14f868c JR |
11509 | their appropriate values. |
11510 | ||
11511 | * w32term.c (x_new_font): Set FRAME_COLUMN_WIDTH to | |
11512 | fontp->average_width, not FONT_WIDTH. Set FRAME_SPACE_WIDTH to | |
11513 | fontp->space_width. | |
11514 | ||
e169f939 ST |
11515 | 2005-01-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11516 | ||
11517 | * macterm.c (x_new_font): Set FRAME_SPACE_WIDTH. | |
11518 | (x_font_min_bounds, XLoadQueryFont): Use the correct font width | |
11519 | metrics for max and min bounds. | |
11520 | (x_load_font): Correctly calculate average font width metrics. | |
11521 | ||
19996af4 RS |
11522 | 2005-01-02 Richard M. Stallman <rms@gnu.org> |
11523 | ||
11524 | * alloc.c (Fgarbage_collect): Don't truncate_undo_list on dead buffers. | |
11525 | ||
42d02da0 JD |
11526 | 2004-12-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11527 | ||
11528 | * xterm.c (handle_one_xevent): Clear area in expose event for GTK. | |
11529 | ||
1db7dd46 RS |
11530 | 2004-12-31 Richard M. Stallman <rms@gnu.org> |
11531 | ||
b437860a RS |
11532 | * xdisp.c (setup_for_ellipsis, get_next_display_element): |
11533 | Set it->ellipsis_p to 1 or 0. | |
11534 | (display_line): Record whether row ends in mid-ellipsis. | |
52eb0373 | 11535 | (set_cursor_from_row): If ends in ellipsis, find start of it. |
b437860a RS |
11536 | (cursor_row_p): If PT's at the end of the ellipsis the row |
11537 | ends within, don't display cursor on this row. | |
11538 | ||
11539 | * dispextern.h (struct it): New element ellipsis_p. | |
11540 | (struct glyph_row): New element ends_in_ellipsis_p. | |
11541 | ||
11542 | * xdisp.c (BUFFER_POS_REACHED_P): We haven't reached the specified | |
11543 | position if we're reading from something other than the buffer. | |
11544 | ||
1db7dd46 RS |
11545 | * window.c (window_scroll_pixel_based): Only look at |
11546 | Vscroll_preserve_screen_position if the old PT can't be kept. | |
11547 | (syms_of_window) <scroll-preserve-screen-position>: Doc fix. | |
11548 | ||
1225f637 KS |
11549 | 2004-12-30 Kim F. Storm <storm@cua.dk> |
11550 | ||
11551 | * xdisp.c (get_line_height_property): New function extracted from | |
11552 | original calc_line_height_property. | |
11553 | (calc_line_height_property): Rework. Handle t and (nil . ratio). | |
11554 | (x_produce_glyphs): Use them to handle line-height and | |
11555 | line-spacing according to new height spec. | |
11556 | (Qtotal): Remove. | |
33b2f4ea | 11557 | (syms_of_xdisp): Remove intern and staticpro for Qtotal. |
1225f637 | 11558 | |
c243063e KH |
11559 | 2004-12-30 Kenichi Handa <handa@m17n.org> |
11560 | ||
11561 | * fileio.c (Finsert_file_contents): Don't use | |
11562 | current_buffer->buffer_file_coding_system even if REPLACE is | |
043f7f73 | 11563 | non-nil. Call Qafter_insert_file_set_coding with the second arg VISIT. |
c243063e KH |
11564 | |
11565 | * fontset.h (struct font_info): New members space_width and | |
11566 | average_width. | |
11567 | ||
11568 | * frame.h (struct frame): New member space_width. | |
11569 | (FRAME_SPACE_WIDTH): New macro. | |
11570 | ||
11571 | * xterm.h (struct x_display_info): New member Xatom_AVERAGE_WIDTH. | |
11572 | ||
11573 | * xterm.c (x_new_font): Set FRAME_COLUMN_WIDTH to | |
11574 | fontp->average_width, not FONT_WIDTH. Set FRAME_SPACE_WIDTH to | |
b14f868c | 11575 | fontp->space_width. |
043f7f73 | 11576 | (x_load_font): Calculate fontp->space_width and fontp->average_width. |
c243063e KH |
11577 | (x_term_init): Initialize dpyinfo->Xatom_AVERAGE_WIDTH. |
11578 | ||
11579 | * xdisp.c (x_produce_glyphs): Calculate tab width by | |
11580 | FRAME_SPACE_WIDTH, not FRAME_COLUMN_WIDTH. | |
11581 | ||
456e761b ST |
11582 | 2004-12-29 Sanghyuk Suh <han9kin@mac.com> |
11583 | ||
11584 | * macterm.c (SelectionRange): Add Xcode position apple event struct. | |
043f7f73 | 11585 | (do_ae_open_documents): Handle Xcode-style file position open events. |
456e761b | 11586 | |
188577ce LT |
11587 | 2004-12-29 Luc Teirlinck <teirllm@auburn.edu> |
11588 | ||
11589 | * buffer.c (syms_of_buffer) <vertical-scroll-bar>: Correct typo. | |
11590 | ||
99ec74b9 RS |
11591 | 2004-12-29 Richard M. Stallman <rms@gnu.org> |
11592 | ||
11593 | * buffer.c (syms_of_buffer) <vertical-scroll-bar>: Doc fix. | |
11594 | ||
30c92fab ST |
11595 | 2004-12-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11596 | ||
11597 | * macfns.c (install_window_handler): Modify extern to return OSErr | |
11598 | value. | |
11599 | (mac_window): Handle return value of install_window_handler. | |
11600 | ||
11601 | * macterm.c (reflect_byte): Remove function. | |
11602 | (mac_create_bitmap_from_bitmap_data): Don't call reflect_byte. | |
11603 | Lookup table instead. | |
11604 | (mac_do_font_lists): Simplify calculation of the longest | |
11605 | nonspecial string. | |
5e1a6e32 | 11606 | (init_mac_drag_n_drop): Remove function and declaration. |
30c92fab ST |
11607 | (mac_initialize) [TARGET_API_MAC_CARBON]: Don't call |
11608 | init_mac_drag_n_drop. | |
11609 | (mac_do_track_drag): New function and declaration. | |
11610 | (install_window_handler): Return OSErr value. | |
043f7f73 SM |
11611 | (install_window_handler) [TARGET_API_MAC_CARBON]: |
11612 | Register handlers for tracking/receiving drag-and-drop items. | |
30c92fab | 11613 | (do_ae_open_documents): Generate unibyte strings for filenames. |
a66f285a | 11614 | (mac_do_receive_drag) [TARGET_API_MAC_CARBON]: Likewise. |
043f7f73 | 11615 | Reject only non-filename items. Set event modifiers, and return value. |
30c92fab | 11616 | |
4b982924 DN |
11617 | 2004-12-28 Dan Nicolaescu <dann@ics.uci.edu> |
11618 | ||
11619 | * coding.c (decode_coding): Fix previous change. | |
11620 | ||
93fdf45f RS |
11621 | 2004-12-28 Richard M. Stallman <rms@gnu.org> |
11622 | ||
11623 | * xdisp.c (back_to_previous_visible_line_start): | |
11624 | Don't call handle_display_prop. | |
11625 | ||
5bdca8af DN |
11626 | 2004-12-28 Dan Nicolaescu <dann@ics.uci.edu> |
11627 | ||
11628 | * coding.c (decode_coding_XXX, decode_composition_emacs_mule) | |
11629 | (decode_coding_emacs_mule, encode_coding_emacs_mule) | |
11630 | (decode_coding_iso2022, encode_designation_at_bol) | |
11631 | (encode_coding_iso2022, decode_coding_sjis_big5, decode_eol) | |
11632 | (decode_coding): Constify arguments and local vars. | |
11633 | ||
33385c6f JD |
11634 | 2004-12-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11635 | ||
11636 | * xmenu.c (popup_get_selection): Only pop down dialogs | |
11637 | on C-g and Escape. | |
95bdef2e | 11638 | (popup_get_selection): Remove parameter down_on_keypress. |
043f7f73 SM |
11639 | (create_and_show_popup_menu, create_and_show_dialog): |
11640 | Remove parameter down_on_keypress to popup_get_selection. | |
33385c6f | 11641 | |
b15325b2 ST |
11642 | 2004-12-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11643 | ||
11644 | * dispextern.h: Change HAVE_CARBON to MAC_OS. | |
11645 | (struct glyph_string): Likewise. | |
a2c7e69a | 11646 | |
b15325b2 ST |
11647 | * emacs.c (main) [MAC_OS8]: Call mac_term_init instead of |
11648 | mac_initialize. | |
a2c7e69a | 11649 | |
b15325b2 ST |
11650 | * fileio.c (Fnext_read_file_uses_dialog_p, Fread_file_name): |
11651 | Change TARGET_API_MAC_CARBON to HAVE_CARBON. | |
a2c7e69a | 11652 | |
b15325b2 | 11653 | * fns.c (vector): Change MAC_OSX to MAC_OS. |
a2c7e69a | 11654 | |
b15325b2 ST |
11655 | * frame.c (x_set_frame_parameters, x_report_frame_params) |
11656 | (x_set_fullscreen): Remove #ifndef HAVE_CARBON. | |
043f7f73 SM |
11657 | (x_set_border_width, Vdefault_frame_scroll_bars): |
11658 | Change HAVE_CARBON to MAC_OS. | |
a2c7e69a | 11659 | |
b15325b2 ST |
11660 | * image.c [MAC_OS]: Include sys/stat.h. |
11661 | [MAC_OS && !MAC_OSX]: Include sys/param.h, ImageCompression.h, and | |
11662 | QuickTimeComponents.h. | |
a2c7e69a | 11663 | |
b15325b2 ST |
11664 | * mac.c [!MAC_OSX] (mac_wait_next_event): Add extern. |
11665 | [!MAC_OSX] (select): Use mac_wait_next_event. | |
043f7f73 | 11666 | [!MAC_OSX] (run_mac_command): Change EXEC_SUFFIXES to Vexec_suffixes. |
b15325b2 ST |
11667 | [!MAC_OSX] (select, run_mac_command): Change `#ifdef |
11668 | TARGET_API_MAC_CARBON' to `#if TARGET_API_MAC_CARBON'. | |
11669 | (mac_clear_font_name_table): Add extern. | |
11670 | (Fmac_clear_font_name_table): New defun. | |
11671 | (syms_of_mac): Defsubr it. | |
11672 | [MAC_OSX] (SELECT_POLLING_PERIOD_USEC): New define. | |
11673 | [MAC_OSX] (select_and_poll_event): New function. | |
11674 | [MAC_OSX] (sys_select): Use it. | |
11675 | [MAC_OSX && SELECT_USE_CFSOCKET] (socket_callback): New function. | |
11676 | [MAC_OSX && SELECT_USE_CFSOCKET] | |
11677 | (SELECT_TIMEOUT_THRESHOLD_RUNLOOP, EVENT_CLASS_SOCK): New defines. | |
11678 | [MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Use CFSocket and | |
11679 | RunLoop for simultaneously monitoring two kinds of inputs, window | |
11680 | events and process outputs, without periodically polling. | |
a2c7e69a | 11681 | |
b15325b2 ST |
11682 | * macfns.c (mac_initialized): Remove extern. |
11683 | (stricmp): Put in #if 0. All callers changed to use xstricmp in | |
11684 | xfaces.c. | |
043f7f73 SM |
11685 | (strnicmp): Decrement `n' at the end of each loop, not the beginning. |
11686 | (check_mac): Use the term "Mac native windows" instead of "Mac OS". | |
b15325b2 ST |
11687 | (check_x_display_info, x_display_info_for_name): Sync with xfns.c. |
11688 | (mac_get_rdb_resource): New function (from w32reg.c). | |
11689 | (x_get_string_resource): Use it. | |
11690 | (install_window_handler): Add extern. | |
11691 | (mac_window): New function. | |
043f7f73 SM |
11692 | (Fx_create_frame): Use it instead of make_mac_frame. |
11693 | Set parameter for Qfullscreen. Call x_wm_set_size_hint. | |
b15325b2 ST |
11694 | (Fx_open_connection, Fx_close_connection): New defuns. |
11695 | (syms_of_macfns): Defsubr them. | |
043f7f73 SM |
11696 | (x_create_tip_frame) [TARGET_API_MAC_CARBON]: |
11697 | Add kWindowNoUpdatesAttribute to the window attribute. | |
b15325b2 ST |
11698 | (x_create_tip_frame) [!TARGET_API_MAC_CARBON]: Use NewCWindow. |
11699 | (x_create_tip_frame): Don't call ShowWindow. | |
11700 | (Fx_show_tip): Call ShowWindow. | |
11701 | (Fx_file_dialog): Change `#ifdef TARGET_API_MAC_CARBON' to `#if | |
11702 | TARGET_API_MAC_CARBON'. | |
11703 | (mac_frame_parm_handlers): Set handlers for Qfullscreen. | |
11704 | (syms_of_macfns) [MAC_OSX]: Initialize mac_in_use to 0. | |
a2c7e69a | 11705 | |
043f7f73 | 11706 | * macgui.h [!MAC_OSX]: Don't include Controls.h. Include Windows.h. |
b15325b2 ST |
11707 | (Window): Typedef to WindowPtr and move outside `#if |
11708 | TARGET_API_MAC_CARBON'. | |
11709 | (XSizeHints): New struct. | |
a2c7e69a | 11710 | |
b15325b2 ST |
11711 | * macterm.c (x_update_begin, x_update_end) |
11712 | [TARGET_API_MAC_CARBON]: Disable screen updates during update of a | |
11713 | frame. | |
11714 | (x_draw_glyph_string_background, x_draw_glyph_string_foreground) | |
11715 | [MAC_OS8]: Use XDrawImageString/XDrawImageString16. | |
11716 | (construct_mouse_click): Put in #if 0. | |
11717 | (x_check_fullscreen, x_check_fullscreen_move): Remove decls. | |
11718 | (x_scroll_bar_create, x_scroll_bar_handle_click): Change `#ifdef | |
11719 | TARGET_API_MAC_CARBON' to `#if TARGET_API_MAC_CARBON'. | |
11720 | (activate_scroll_bars, deactivate_scroll_bars) | |
11721 | [!TARGET_API_MAC_CARBON]: Use ActivateControl/DeactivateControl. | |
11722 | (x_make_frame_visible) [TARGET_API_MAC_CARBON]: Reposition window | |
11723 | if the position is neither user-specified nor program-specified. | |
11724 | (x_free_frame_resources): Free size_hints. | |
043f7f73 | 11725 | (x_wm_set_size_hint): Allocate size_hints if needed. Set size_hints. |
b15325b2 ST |
11726 | (mac_clear_font_name_table): New function. |
11727 | (mac_do_list_fonts): Initialize font_name_table if needed. | |
11728 | (x_list_fonts): Don't initialize font_name_table. Add BLOCK_INPUT | |
11729 | around mac_do_list_fonts. | |
11730 | (mac_unload_font): New function. | |
11731 | (x_load_font): Add BLOCK_INPUT around XLoadQueryFont. | |
11732 | (init_mac_drag_n_drop, mac_do_receive_drag): Enclose declarations | |
11733 | and definitions with #if TARGET_API_MAC_CARBON. | |
11734 | [USE_CARBON_EVENTS] (mac_handle_window_event): Add decl. | |
11735 | (install_window_handler): Add decl. | |
11736 | (do_window_update): Add BeginUpdate/EndUpdate for the tooltip | |
11737 | window. Use UpdateControls. Get the rectangle that should be | |
11738 | updated and restrict the target of expose_frame to it. | |
043f7f73 | 11739 | (do_grow_window): Set minimum height/width according to size_hints. |
b15325b2 ST |
11740 | (do_grow_window) [TARGET_API_MAC_CARBON]: Use ResizeWindow. |
11741 | (do_zoom_window): Don't use x_set_window_size. | |
11742 | [USE_CARBON_EVENTS] (mac_handle_window_event): New function. | |
11743 | (install_window_handler): New function. | |
11744 | [!USE_CARBON_EVENTS] (mouse_region): New variable. | |
11745 | [!USE_CARBON_EVENTS] (mac_wait_next_event): New function. | |
11746 | (XTread_socket) [USE_CARBON_EVENTS]: Move call to | |
11747 | GetEventDispatcherTarget inside BLOCK_INPUT. | |
11748 | (XTread_socket) [!USE_CARBON_EVENTS]: Use mac_wait_next_event. | |
11749 | Update mouse_region when mouse is moved. | |
11750 | (make_mac_frame): Remove. | |
043f7f73 SM |
11751 | (make_mac_terminal_frame): Put in #ifdef MAC_OS8. |
11752 | Initialize mouse pointer shapes. Change values of f->left_pos and | |
11753 | f->top_pos. Don't use make_mac_frame. Use NewCWindow. | |
11754 | Don't call ShowWindow. | |
b15325b2 ST |
11755 | (mac_initialize_display_info) [MAC_OSX]: Create mac_id_name from |
11756 | Vinvocation_name and Vsystem_name. | |
11757 | (mac_make_rdb): New function (from w32term.c). | |
11758 | (mac_term_init): Use it. Add BLOCK_INPUT. Error if display has | |
11759 | already been opened. Don't pass argument to | |
11760 | mac_initialize_display_info. Don't set dpyinfo->height/width. | |
11761 | Add entries to x_display_list and x_display_name_list. | |
11762 | (x_delete_display): New function. | |
11763 | (mac_initialize): Don't call mac_initialize_display_info. | |
a2c7e69a KS |
11764 | (syms_of_macterm) [!MAC_OSX]: Don't call Fprovide. |
11765 | ||
b15325b2 ST |
11766 | * macterm.h (check_mac): Add extern. |
11767 | (struct mac_output): New member size_hints. | |
11768 | (FRAME_SIZE_HINTS): New macro. | |
11769 | (mac_unload_font): Add extern. | |
a2c7e69a | 11770 | |
b15325b2 | 11771 | * xdisp.c (expose_window, expose_frame): Remove kludges for Mac. |
a2c7e69a | 11772 | |
1d1c7e75 | 11773 | * xfaces.c (clear_font_table) [MAC_OS]: Call mac_unload_font. |
b15325b2 | 11774 | |
92d2947b RS |
11775 | 2004-12-27 Richard M. Stallman <rms@gnu.org> |
11776 | ||
043f7f73 | 11777 | * buffer.c (Fbuffer_disable_undo): Delete (move to simple.el). |
ebbd14f1 RS |
11778 | (syms_of_buffer): Don't defsubr it. |
11779 | ||
11780 | * process.c (list_processes_1): Set undo_list instead | |
11781 | of calling Fbuffer_disable_undo. | |
11782 | ||
043f7f73 | 11783 | * xdisp.c (single_display_spec_string_p): Rename from |
92d2947b | 11784 | single_display_prop_string_p. |
043f7f73 | 11785 | (single_display_spec_intangible_p): Rename from |
92d2947b | 11786 | single_display_prop_intangible_p. |
043f7f73 | 11787 | (handle_single_display_spec): Rename from handle_single_display_prop. |
92d2947b RS |
11788 | Rewritten to be easier to understand. |
11789 | ||
a2c7e69a | 11790 | Change in load-history format. Functions now get (defun . NAME), |
92d2947b RS |
11791 | and variables get just NAME. |
11792 | ||
11793 | * data.c (Fdefalias): Use (defun . FN_NAME) in LOADHIST_ATTACH. | |
11794 | ||
11795 | * eval.c (Fdefun, Fdefmacro): Use (defun . FN_NAME) in LOADHIST_ATTACH. | |
11796 | (Fdefvaralias, Fdefvar, Fdefconst): Use just SYM in LOADHIST_ATTACH. | |
11797 | (Qdefvar): Var deleted. | |
11798 | (syms_of_eval): Don't initialze it. | |
11799 | ||
11800 | * lread.c (syms_of_lread) <load-history>: Doc fix. | |
11801 | ||
9f6fcdc5 JD |
11802 | 2004-12-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11803 | ||
11804 | * xmenu.c (popup_get_selection): Pop down on C-g. | |
11805 | (set_frame_menubar): Install translations for Lucid/Motif/Lesstif that | |
11806 | pops down menu on C-g. | |
11807 | (xdialog_show): If dialog popped down and no button in the dialog was | |
11808 | pushed, call Fsignal to quit. | |
11809 | (xmenu_show): In no toolkit version, if menu returns NO_SELECT call | |
11810 | Fsignal to quit. | |
11811 | ||
1d1c7e75 | 11812 | * xfns.c (Fx_file_dialog): Motif/Lesstif version: Pop down on C-g. |
9f6fcdc5 JD |
11813 | |
11814 | * gtkutil.c (xg_initialize): Install bindings for C-g so that | |
11815 | dialogs and menus pop down. | |
11816 | ||
d8ca23a0 KH |
11817 | 2004-12-27 Kenichi Handa <handa@m17n.org> |
11818 | ||
11819 | * coding.c (code_convert_region): Fix calculation of `ratio'. | |
11820 | ||
857ae68b JD |
11821 | 2004-12-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11822 | ||
133c0116 JD |
11823 | * gtkutil.c (update_frame_tool_bar): Make the value of |
11824 | tool-bar-button-margin control margins of images in tool bar. | |
11825 | ||
857ae68b JD |
11826 | * alloc.c (check_depth): New variable. |
11827 | (overrun_check_malloc, overrun_check_realloc): Only add | |
11828 | overhead and write check pattern if check_depth is 1 (to handle | |
11829 | recursive calls). Increase/decrease check_depth in entry/exit. | |
11830 | (overrun_check_free): Only check for overhead if check_depth is 1. | |
11831 | Increase/decrease check_depth in entry/exit. | |
11832 | ||
bd55c35c JD |
11833 | 2004-12-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11834 | ||
11835 | * keyboard.c (input_available_signal): Call SIGNAL_THREAD_CHECK | |
11836 | before touching input_available_clear_time, to avoid accessing it | |
11837 | from multiple threads. | |
11838 | ||
66354420 JR |
11839 | 2004-12-23 Jason Rumney <jasonr@gnu.org> |
11840 | ||
11841 | * image.c (__WIN32__) [HAVE_NTGUI]: Define for correct behaviour | |
11842 | of JPEG library. | |
11843 | ||
55f4edbc RS |
11844 | 2004-12-22 Richard M. Stallman <rms@gnu.org> |
11845 | ||
11846 | * emacs.c (main): If batch mode, set Vundo_outer_limit to nil. | |
11847 | ||
11848 | * lisp.h (Vundo_outer_limit): Fix decl. | |
11849 | ||
11850 | * undo.c (Vundo_outer_limit): Replaces undo_outer_limit. | |
11851 | Uses changed. | |
11852 | (syms_of_undo): Initialize appropriately. | |
11853 | (truncate_undo_list): If it's nil, there's no limit. | |
11854 | ||
7a0ea9e3 KH |
11855 | 2004-12-22 Kenichi Handa <handa@m17n.org> |
11856 | ||
11857 | * xselect.c (Fx_get_cut_buffer_internal): Return a unibyte string. | |
11858 | ||
fda2922a RS |
11859 | 2004-12-21 Richard M. Stallman <rms@gnu.org> |
11860 | ||
11861 | * eval.c (unwind_to_catch): Clear immediate_quit. | |
11862 | ||
11863 | * xdisp.c (get_next_display_element): Display codes 8a0 and 8ad | |
11864 | specially as `\ ' and `\-'. | |
11865 | ||
11866 | * keyboard.c (kbd_buffer_store_event_hold): | |
11867 | In the code for while-no-input, handle immediate_quit. | |
11868 | ||
11869 | * alloc.c (Fgarbage_collect): Update call to truncate_undo_list. | |
11870 | Call that at the very start. | |
043f7f73 | 11871 | (undo_limit, undo_strong_limit, undo_outer_limit): Move to undo.c. |
fda2922a RS |
11872 | (syms_of_alloc): Don't define undo-limit, |
11873 | undo-strong-limit and undo-outer-limit here. | |
11874 | ||
11875 | * undo.c (truncate_undo_list): Return void. | |
11876 | Take just one argument, the buffer. | |
11877 | Make it current, and inhibit recursive GC. | |
11878 | Access and update the undo list directly; return void. | |
11879 | Refer to the undo...limit variables directly. | |
11880 | Test undo_outer_limit only after counting the whole current command. | |
11881 | When it's exceeded, call the function in undo-outer-limit-function. | |
11882 | (undo_limit, undo_strong_limit, undo_outer_limit): From alloc.c. | |
11883 | (Vundo_outer_limit_function): New variable. | |
11884 | (syms_of_undo): Define undo-limit, undo-strong-limit | |
11885 | and undo-outer-limit here, and undo-outer-limit-function. | |
11886 | Doc fixes. | |
11887 | ||
11888 | * lisp.h (truncate_undo_list): Update decl. | |
11889 | ||
11890 | 2004-12-21 Piet van Oostrum <piet@cs.uu.nl> | |
11891 | ||
11892 | * fileio.c (Fread_file_name): Delete duplicates in | |
11893 | file-name-history when history_delete_duplicates is true. | |
11894 | ||
68c69027 ST |
11895 | 2004-12-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11896 | ||
1ae8d759 | 11897 | * macterm.c (mac_do_list_fonts): Fix memory leak. |
68c69027 | 11898 | |
134579f2 RS |
11899 | 2004-12-20 Richard M. Stallman <rms@gnu.org> |
11900 | ||
11901 | * regex.c (re_match_2_internal) <symend, wordend>: | |
11902 | Fix calls to UPDATE_SYNTAX_TABLE_FORWARD. | |
11903 | ||
fbe6152f ST |
11904 | 2004-12-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11905 | ||
043f7f73 SM |
11906 | * macterm.c (endif, x_font_name_to_mac_font_name): |
11907 | Use maccentraleurroman instead of maccentraleuropean | |
fbe6152f ST |
11908 | (mac_c_string_match, mac_do_list_fonts): Speed up font search by |
11909 | quickly finding a specific font without needing regexps. | |
11910 | ||
fecad3f6 JD |
11911 | 2004-12-15 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11912 | ||
333f1b6f JD |
11913 | * syssignal.h: Declare main_thread. |
11914 | (SIGNAL_THREAD_CHECK): New macro. | |
11915 | ||
11916 | * keyboard.c (input_available_signal): Move thread checking code | |
11917 | to macro SIGNAL_THREAD_CHECK and call that macro. | |
11918 | (interrupt_signal): Call SIGNAL_THREAD_CHECK. | |
11919 | ||
11920 | * alloc.c (uninterrupt_malloc): Move main_thread to emacs.c. | |
11921 | ||
11922 | * emacs.c: Define main_thread. | |
11923 | (main): Initialize main_thread. | |
11924 | (handle_USR1_signal, handle_USR2_signal, fatal_error_signal) | |
11925 | (memory_warning_signal): Call SIGNAL_THREAD_CHECK. | |
11926 | ||
11927 | * floatfns.c (float_error): Call SIGNAL_THREAD_CHECK. | |
11928 | ||
11929 | * dispnew.c (window_change_signal): Call SIGNAL_THREAD_CHECK. | |
11930 | ||
11931 | * sysdep.c (select_alarm): Call SIGNAL_THREAD_CHECK. | |
11932 | ||
043f7f73 SM |
11933 | * process.c (send_process_trap, sigchld_handler): |
11934 | Call SIGNAL_THREAD_CHECK. | |
333f1b6f JD |
11935 | |
11936 | * data.c (arith_error): Call SIGNAL_THREAD_CHECK. | |
11937 | ||
11938 | * atimer.c (alarm_signal_handler): Call SIGNAL_THREAD_CHECK. | |
11939 | ||
fecad3f6 JD |
11940 | * xterm.c (xg_scroll_callback): Update XG_LAST_SB_DATA before |
11941 | returning when xg_ignore_gtk_scrollbar is true. | |
11942 | ||
2a84c6da KS |
11943 | 2004-12-14 Kim F. Storm <storm@cua.dk> |
11944 | ||
11945 | * keyboard.c (read_char): Save and restore echo_string when | |
11946 | handling input method. | |
11947 | ||
d9c1ce9d RS |
11948 | 2004-12-13 Richard M. Stallman <rms@gnu.org> |
11949 | ||
11950 | * eval.c (syms_of_eval) <quit-flag>: Doc fix. | |
11951 | ||
11952 | * keyboard.c (Vthrow_on_input): New variable. | |
11953 | (syms_of_keyboard): Defvar and initialize it. | |
11954 | (kbd_buffer_store_event_hold): Handle Vthrow_on_input. | |
11955 | ||
11956 | * lisp.h (QUIT): Check for Vthrow_on_input. | |
11957 | (Vthrow_on_input): Declare it. | |
11958 | ||
a6495ed5 KS |
11959 | 2004-12-13 Kim F. Storm <storm@cua.dk> |
11960 | ||
11961 | * xdisp.c (set_iterator_to_next): Reset stop_charpos after display | |
11962 | vector. | |
11963 | ||
24a0e22f RS |
11964 | 2004-12-12 Richard M. Stallman <rms@gnu.org> |
11965 | ||
11966 | * indent.c (Fvertical_motion): Call move_it_by_lines even if LINES = 0. | |
11967 | ||
11968 | * minibuf.c (Fall_completions): Add var `zero' and use it in loop. | |
11969 | (Ftry_completion): Really use outer `zero'; eliminate inner one. | |
11970 | ||
d6d31e57 KH |
11971 | 2004-12-12 Kenichi Handa <handa@m17n.org> |
11972 | ||
11973 | * term.c (encode_terminal_code): Fix previous change. | |
11974 | ||
6f8ffb88 SM |
11975 | 2004-12-11 Stefan Monnier <monnier@iro.umontreal.ca> |
11976 | ||
fb6f5cbf SM |
11977 | * keyboard.c (handle_async_input): Remove pthread mutex handling. |
11978 | (input_available_signal): Move pthread thingy to !SYNC_INPUT branch. | |
11979 | ||
6f8ffb88 SM |
11980 | * syntax.c (Fforward_word): Avoid non-idempotent side-effects |
11981 | in macro arguments. | |
11982 | ||
11983 | * minibuf.c (Ftry_completion, Fall_completions): Don't use | |
11984 | XFASTINT blindly. | |
11985 | ||
11986 | * emacs.c (main, Fdump_emacs): Don't touch malloc hooks if SYNC_INPUT. | |
11987 | ||
c83c9f9d JD |
11988 | 2004-12-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11989 | ||
2f25767f JD |
11990 | * w32term.c (x_calc_absolute_position): Remove calculation of |
11991 | difference between inner and outer window. Don't subtract difference | |
11992 | for left and top calculations. | |
11993 | ||
c83c9f9d JD |
11994 | * xterm.c (x_calc_absolute_position): Don't subtract outer_pixel_diff |
11995 | for left and top calculations. Remove call to x_real_positions. | |
14a56a1b | 11996 | [Bug report by Drew Adams in November.] |
c83c9f9d JD |
11997 | (x_check_expected_move): Do not set change_gravity to 1 when calling |
11998 | x_set_offset. | |
11999 | ||
cc1caa4e RS |
12000 | 2004-12-08 Richard M. Stallman <rms@gnu.org> |
12001 | ||
12002 | * xdisp.c (get_next_display_element): Use `escape-glyph' for | |
12003 | control chars and escaped octal codes. | |
12004 | (Qescape_glyph): New variable. | |
12005 | (syms_of_xdisp): Initialize it. | |
12006 | (escape_glyph_face): New variable. | |
12007 | (redisplay_window): Initialize it. | |
12008 | ||
e0e30823 RS |
12009 | 2004-12-07 Paul Eggert <eggert@cs.ucla.edu> |
12010 | ||
12011 | * image.c (our_fill_input_buffer, jpeg_load, CHECK_LIB_AVAILABLE) | |
12012 | (init_image): Use 1 rather than TRUE. TRUE's not always defined. | |
12013 | ||
f415cacd JD |
12014 | 2004-12-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12015 | ||
cf435f39 JD |
12016 | * emacs.c (Fdump_emacs): Add ! defined (SYSTEM_MALLOC) around |
12017 | reset_malloc_hooks. | |
12018 | ||
6f8ffb88 SM |
12019 | * keyboard.c (handle_async_input, input_available_signal): |
12020 | Add ! defined (SYSTEM_MALLOC) around thread code. | |
cf435f39 | 12021 | |
f415cacd JD |
12022 | * alloc.c: Add comment about the reason for (UN)BLOCK_INPUT_ALLOC. |
12023 | ||
043f7f73 | 12024 | 2004-12-07 Stefan Monnier <monnier@iro.umontreal.ca> |
19b1f29a SM |
12025 | |
12026 | * eval.c (init_eval_once): Increase max_specpdl_size to 1000. | |
12027 | ||
12028 | * config.in: Regenerate. | |
12029 | ||
ded997c1 JD |
12030 | 2004-12-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12031 | ||
453a4f1b JD |
12032 | * xmenu.c (Fx_popup_menu): Correct documentation about position. |
12033 | (xmenu_show): Do not call XTranslateCoordinates. Adjust position | |
12034 | if not given by a mouse click to correspond with x-popup-menu | |
12035 | documentation. | |
12036 | ||
9a38524c JD |
12037 | * config.in: Regenerate. |
12038 | ||
aa477689 JD |
12039 | * gtkutil.c: Include signal.h and syssignal.h. |
12040 | (xg_get_file_name): Block and unblock __SIGRTMIN if defined. | |
12041 | ||
12042 | * alloc.c: If HAVE_GTK_AND_PTHREAD, include pthread.h, | |
12043 | new variables main_thread and alloc_mutex, | |
12044 | define (UN)BLOCK_INPUT_ALLOC to use alloc_mutex to protect | |
12045 | emacs_blocked_* calls and only do (UN)BLOCK_INPUT in the main thread. | |
14a56a1b JB |
12046 | If not HAVE_GTK_AND_PTHREAD, (UN)BLOCK_INPUT_ALLOC is the same |
12047 | as (UN)BLOCK_INPUT. | |
aa477689 JD |
12048 | (emacs_blocked_free, emacs_blocked_malloc) |
12049 | (emacs_blocked_realloc): Use (UN)BLOCK_INPUT_ALLOC. | |
12050 | (uninterrupt_malloc): Initialize main_thread and alloc_mutex. | |
12051 | (reset_malloc_hooks): New function. | |
12052 | ||
12053 | * lisp.h: Declare reset_malloc_hooks. | |
12054 | ||
12055 | * emacs.c (Fdump_emacs): Call reset_malloc_hooks. | |
12056 | ||
14a56a1b | 12057 | * keyboard.c: Conditionally include pthread.h. |
6f8ffb88 | 12058 | (handle_async_input, input_available_signalt): If not in the main |
aa477689 JD |
12059 | thread, block signal, send signal to main thread and return. |
12060 | ||
ded997c1 | 12061 | * gtkutil.c (xg_get_file_with_chooser): Handle local files only. |
6f8ffb88 | 12062 | Set current folder in file chooser if default_filename is a directory. |
ded997c1 | 12063 | |
c72b0edd SM |
12064 | 2004-12-05 Stefan Monnier <monnier@iro.umontreal.ca> |
12065 | ||
12066 | * regex.c (GET_UNSIGNED_NUMBER): Signal an error when reaching the end. | |
12067 | Remove redundant correctness checks. | |
12068 | (regex_compile): Fix up error codes for \{..\} expressions. | |
12069 | ||
c721eee5 RS |
12070 | 2004-12-05 Richard M. Stallman <rms@gnu.org> |
12071 | ||
12072 | * regex.c (regex_compile): Fix end-of-pattern case for space. | |
12073 | ||
d8f96db8 ST |
12074 | 2004-12-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
12075 | ||
6108209e KS |
12076 | * macterm.h (cfstring_create_with_utf8_cstring): Add prototype. |
12077 | * mac.c (cfstring_create_with_utf8_cstring): Add to prevent | |
d8f96db8 | 12078 | crashes with invalid characters. |
6108209e KS |
12079 | * macmenu.c (add_menu_item): Use it. |
12080 | * image.c (image_load_quartz2d): Likewise. | |
12081 | * macfns.c (x_set_name, x_set_title): Likewise. | |
12082 | (Fx_file_dialog): Likewise. Use constant CFRefs instead of | |
12083 | creating them each time for labels. | |
d8f96db8 | 12084 | |
ab67e8b6 RS |
12085 | 2004-12-02 Richard M. Stallman <rms@gnu.org> |
12086 | ||
12087 | * config.in (RE_TRANSLATE_P): If make_number is not a macro, | |
12088 | don't use it here. | |
12089 | ||
12090 | * eval.c (Fcalled_interactively_p): Don't check INTERACTIVE. | |
12091 | (interactive_p): Skip Scalled_interactively_p frames | |
12092 | like Sinteractive_p frames. | |
b8217ea6 | 12093 | (unwind_to_catch): Clear handling_signal. |
ab67e8b6 RS |
12094 | |
12095 | * data.c (Fmake_variable_buffer_local): Doc fix. | |
12096 | (Fmake_local_variable): Doc fix. | |
12097 | ||
12098 | * insdel.c (insert_from_string_before_markers) | |
12099 | (insert_from_string): Don't modify buffer on empty insertion. | |
12100 | ||
12101 | * window.c (Fget_lru_window, Fget_largest_window): Doc fixes. | |
12102 | ||
f86bdc80 ST |
12103 | 2004-12-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
12104 | ||
12105 | * macmenu.c (add_menu_item): Fallback on MacRoman if encoding | |
12106 | menu text as UTF8 fails. | |
12107 | ||
1cae6d39 KS |
12108 | 2004-12-01 Kim F. Storm <storm@cua.dk> |
12109 | ||
12110 | * alloc.c: Add commentary for last change. | |
12111 | (XMALLOC_PUT_SIZE, XMALLOC_GET_SIZE): New macros to handle | |
12112 | sizeof(size_t) != 4. | |
12113 | (overrun_check_malloc, overrun_check_realloc, overrun_check_free): | |
12114 | Use them. Also clear header and trailer of freed memory. | |
12115 | (GC_STRING_OVERRUN_COOKIE_SIZE): Rename from GC_STRING_EXTRA. | |
12116 | (string_overrun_cookie): Rename from string_overrun_pattern. | |
12117 | (GC_STRING_EXTRA): Define from GC_STRING_OVERRUN_COOKIE_SIZE. | |
12118 | ||
77ea0764 AS |
12119 | 2004-12-01 Andreas Schwab <schwab@suse.de> |
12120 | ||
12121 | * lisp.h: Declare string_to_multibyte. | |
12122 | ||
2d5cd4e6 KH |
12123 | 2004-12-01 Kenichi Handa <handa@m17n.org> |
12124 | ||
12125 | * w32console.c (w32con_write_glyphs): Decide coding here. | |
12126 | Adjusted for the change of encode_terminal_code. | |
12127 | ||
12128 | * term.c (encode_terminal_code): Don't make it "static". | |
12129 | ||
25a0994a KH |
12130 | 2004-11-30 Kenichi Handa <handa@m17n.org> |
12131 | ||
19b1f29a | 12132 | * term.c (encode_terminal_buf, encode_terminal_bufsize): New variables. |
25a0994a | 12133 | (encode_terminal_code): Argument changed. Encode all |
19b1f29a SM |
12134 | characters at once, and return a pointer to the result of encoding. |
12135 | (write_glyphs): Decide coding here. Adjusted for the above change. | |
25a0994a KH |
12136 | (insert_glyphs): Likewise. |
12137 | (term_init): Initialize encode_terminal_bufsize to 0. | |
12138 | ||
12139 | * coding.c (Vcode_conversion_workbuf_name): New variable. | |
12140 | (syms_of_coding): Initialize and staticpro it. | |
12141 | (set_conversion_work_buffer): New function. | |
12142 | (run_pre_post_conversion_on_str): Use it. | |
12143 | (run_pre_write_conversin_on_c_str): New function. | |
12144 | ||
12145 | * coding.h (run_pre_write_conversin_on_c_str): Extern it. | |
12146 | ||
fc7a70cc ST |
12147 | 2004-11-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
12148 | ||
12149 | * keyboard.c: Don't undef SIGIO | |
12150 | * s/darwin.h (NO_SOCK_SIGIO): Define NO_SOCK_SIGIO on carbon | |
12151 | * Makefile.in (mac.o): Depend on blockinput.h and atimer.h. | |
12152 | (macfns.o): Don't depend on ccl.h. | |
12153 | * macfns.c (mac_frame_parm_handlers): Set handlers for | |
12154 | Qleft_fringe and Qright_fringe. | |
12155 | * macterm.c (mac_fill_rectangle_to_pixmap) | |
12156 | (mac_draw_rectangle_to_pixmap, mac_copy_area_to_pixmap) | |
12157 | (mac_copy_area_with_mask_to_pixmap, x_draw_image_foreground_1): | |
12158 | Put in #if 0. | |
12159 | (mac_scroll_area) [TARGET_API_MAC_CARBON]: Use ScrollWindowRect. | |
12160 | (x_flush) [TARGET_API_MAC_CARBON]: Don't traverse frames. | |
12161 | (XFlush) [TARGET_API_MAC_CARBON]: Define to an empty replacement. | |
12162 | (x_draw_glyph_string_background, x_draw_glyph_string_foreground) | |
12163 | [!MAC_OS8]: Added ifdef'd out code for os8. Don't use | |
12164 | XDrawImageString. Always draw background and foreground separately. | |
12165 | (x_draw_image_foreground): Use clipping instead of computing the | |
12166 | intersection rectangle. | |
12167 | (x_draw_image_glyph_string): Don't draw an image with mask to a | |
12168 | pixmap. | |
12169 | (x_redisplay_interface): Set flush_display_optional member to 0. | |
12170 | (XTread_socket): Correctly reset the TEConverter | |
12171 | object. | |
12172 | ||
fc368889 KS |
12173 | 2004-11-30 Kim F. Storm <storm@cua.dk> |
12174 | ||
12175 | * lisp.h: New defines to enable buffer overrun checking. | |
12176 | (GC_CHECK_STRING_OVERRUN, GC_CHECK_STRING_FREE_LIST) | |
12177 | (XMALLOC_OVERRUN_CHECK, GC_CHECK_CONS_LIST): Add. | |
12178 | ||
12179 | * alloc.c: Add more checks for buffer overruns. | |
12180 | (XMALLOC_OVERRUN_CHECK_SIZE, xmalloc_overrun_check_header) | |
12181 | xmalloc_overrun_check_trailer, overrun_check_malloc) | |
12182 | overrun_check_realloc, overrun_check_free): Add. | |
12183 | (GC_STRING_EXTRA, string_overrun_pattern): Add. | |
12184 | (check_sblock, allocate_string_data, compact_small_strings): | |
12185 | Set and check string_overrun_pattern if GC_CHECK_STRING_OVERRUN. | |
12186 | (check_cons_list): Condition on GC_CHECK_CONS_LIST. | |
12187 | (check_string_free_list): Add. | |
12188 | (allocate_string, sweep_strings): Call check_string_free_list. | |
12189 | ||
12190 | * emacs.c (malloc_initialize_hook): Don't free malloc_state_ptr if | |
12191 | XMALLOC_OVERRUN_CHECK to avoid crash during load. | |
12192 | ||
0af8cfe1 KS |
12193 | 2004-11-29 Kim F. Storm <storm@cua.dk> |
12194 | ||
12195 | * fns.c (concat): Use SAFE_ALLOCA. | |
12196 | ||
77220eeb SM |
12197 | 2004-11-29 Stefan Monnier <monnier@iro.umontreal.ca> |
12198 | ||
12199 | * sysdep.c (emacs_write): Don't use QUIT. | |
12200 | ||
a778cf63 KH |
12201 | 2004-11-29 Kenichi Handa <handa@m17n.org> |
12202 | ||
12203 | * buffer.c (init_buffer): Set current_buffer->directory to a | |
12204 | multibyte string made by string_to_multibyte. | |
12205 | ||
77220eeb | 12206 | * emacs.c (init_cmdargs): Set unibyte strings in Vcommand_line_args. |
a778cf63 | 12207 | |
e3177e43 AS |
12208 | 2004-11-27 Andreas Schwab <schwab@suse.de> |
12209 | ||
12210 | * alloc.c (mark_stack): Call GC_MARK_SECONDARY_STACK if defined. | |
12211 | ||
12212 | * s/gnu-linux.h: Enable no-op gcpros on ia64. | |
12213 | (GC_MARK_SECONDARY_STACK) [__ia64__]: Define. | |
12214 | ||
77220eeb SM |
12215 | * filelock.c (lock_file_1): Call get_boot_time early. |
12216 | Increase buffer size. | |
e3177e43 | 12217 | |
ca5e6fef EZ |
12218 | 2004-11-27 Eli Zaretskii <eliz@gnu.org> |
12219 | ||
12220 | * lisp.h (DECL_ALIGN): Define non-trivially only if NO_DECL_ALIGN | |
12221 | is not defined. | |
12222 | ||
e2811828 KS |
12223 | 2004-11-27 Kim F. Storm <storm@cua.dk> |
12224 | ||
12225 | * search.c (syms_of_search) <search-spaces-regexp>: Move 'doc:' | |
12226 | marker out of doc string. | |
12227 | ||
7a262394 SM |
12228 | 2004-11-26 Stefan Monnier <monnier@iro.umontreal.ca> |
12229 | ||
12230 | * s/darwin.h (POSIX_SIGNALS): Undo the removal of 2002-08-25, | |
12231 | which was not mentioned in the log. | |
12232 | ||
f33cc5a9 KS |
12233 | 2004-11-26 Kim F. Storm <storm@cua.dk> |
12234 | ||
048bb03f KS |
12235 | * fringe.c (update_window_fringes): Prefer truncation bitmaps over |
12236 | angle bitmaps at top/bottom line. | |
12237 | ||
52eb0373 | 12238 | * xdisp.c: Undo recent changes for restoring saved_face_id. Instead, |
f33cc5a9 KS |
12239 | set it when it->method is set to next_element_from_display_vector. |
12240 | (setup_for_ellipsis): Add LEN argument. Callers changed. | |
12241 | Set it->saved_face_id. | |
12242 | (get_next_display_element): Use loop instead of recursion. | |
12243 | Set it->saved_face_id. Combine duplicate code for ctr chars. | |
12244 | (next_element_from_display_vector): Do not set it->saved_face_id. | |
12245 | (next_element_from_ellipsis): Use setup_for_ellipsis. | |
12246 | ||
670e8906 EZ |
12247 | 2004-11-26 Eli Zaretskii <eliz@gnu.org> |
12248 | ||
12249 | * eval.c (Fdefvar): Declare pdl from last change as `volatile' to | |
12250 | prevent compiler warnings. | |
12251 | ||
275464e7 SM |
12252 | 2004-11-25 Stefan Monnier <monnier@iro.umontreal.ca> |
12253 | ||
1bf0e604 SM |
12254 | * keyboard.c (command_loop_1): Print a message describing the key |
12255 | the user just pressed when this key has no binding. | |
12256 | ||
275464e7 SM |
12257 | * sysdep.c (sys_signal): Don't use SA_RESTART if SYNC_INPUT is set. |
12258 | (emacs_open, emacs_read, emacs_write): Check QUIT when interrupted. | |
12259 | ||
12260 | * lread.c (readchar): Check QUIT when `getc' is interrupted. | |
12261 | ||
261b01c6 RS |
12262 | 2004-11-24 Richard M. Stallman <rms@gnu.org> |
12263 | ||
12264 | * coding.c (run_pre_post_conversion_on_str): Bind Qinhibit_read_only. | |
12265 | ||
12266 | * buffer.c (syms_of_buffer) <indicate-buffer-boundaries>: Doc fix. | |
12267 | ||
a5bd504e KS |
12268 | 2004-11-24 Kim F. Storm <storm@cua.dk> |
12269 | ||
12270 | * xdisp.c (move_it_in_display_line_to, display_line): | |
12271 | Restore saved_face_id also when truncate-lines or hscrolled. | |
12272 | ||
255e4140 JD |
12273 | 2004-11-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12274 | ||
12275 | * gtkutil.c (xg_get_file_name): Rename use-old-gtk-file-dialog to | |
12276 | x-use-old-gtk-file-dialog. | |
12277 | ||
12278 | * xfns.c: Define x_use_old_gtk_file_dialog. | |
12279 | (syms_of_xfns): Rename use-old-gtk-file-dialog to x-... Move it | |
12280 | outside ifdef USE_GTK. | |
12281 | ||
cab27d04 SM |
12282 | 2004-11-23 Stefan Monnier <monnier@iro.umontreal.ca> |
12283 | ||
12284 | * coding.h (ENCODE_FILE, DECODE_FILE, ENCODE_SYSTEM, DECODE_SYSTEM): | |
12285 | Don't use XFASTINT blindly. | |
12286 | ||
12287 | * config.in (RE_TRANSLATE_P): Don't use XFASTINT blindly. | |
12288 | ||
12289 | * indent.c (skip_invisible): Avoid non-idempotent side-effects | |
12290 | in macro arguments. | |
12291 | ||
12292 | * keymap.c (Flookup_key): Check INTEGERP before XINT. | |
12293 | ||
12294 | * lread.c (oblookup): Don't use XFASTINT blindly. | |
12295 | ||
12296 | * window.c (Fset_window_scroll_bars): Don't use XINT if it isn't int. | |
12297 | (decode_next_window_args, window_loop): Don't use XFASTINT blindly. | |
12298 | ||
11e0be49 KS |
12299 | 2004-11-23 Kim F. Storm <storm@cua.dk> |
12300 | ||
4d721114 KS |
12301 | * dispextern.h (MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P) |
12302 | (MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Not if dpvec_index is zero. | |
12303 | ||
11e0be49 KS |
12304 | * xfaces.c (lookup_named_face): Add signal_p arg. Return -1 if |
12305 | signal_p is zero and face name is unknown. | |
12306 | (Fx_list_fonts): Don't signal error in lookup_named_face. | |
12307 | (Fface_font): Signal error in lookup_named_face. | |
12308 | (ascii_face_of_lisp_face): Likewise. | |
12309 | ||
12310 | * dispextern.h (lookup_named_face): Fix prototype. | |
12311 | ||
12312 | * xdisp.c (handle_single_display_prop): Don't signal error in | |
12313 | lookup_named_face for unknown fringe face name. | |
12314 | (highlight_trailing_whitespace): Don't signal error in | |
12315 | lookup_named_face if trailing-whitespace face unknown. | |
12316 | (calc_line_height_property): Don't signal error in | |
12317 | lookup_named_face if specified face name is unknown. | |
12318 | ||
12319 | * fringe.c (update_window_fringes): Show top row indicator if | |
12320 | window has header-line. Don't show arrow at bob and eob | |
12321 | if the boundary indicators are not used. | |
12322 | (Fset_fringe_bitmap_face): Signal error in lookup_named_face. | |
12323 | ||
12324 | * window.c (set_window_buffer): Clear display_error_modiff. | |
12325 | ||
0960a582 KS |
12326 | 2004-11-22 Kim F. Storm <storm@cua.dk> |
12327 | ||
12328 | * fringe.c (update_window_fringes): Provide sensible fall-back | |
12329 | value for non-nil indicate-buffer-boundaries setting. | |
12330 | ||
b0e9bb28 MR |
12331 | 2004-11-22 Markus Rost <rost@ias.edu> |
12332 | ||
12333 | * minibuf.c (Fminibuffer_complete_and_exit): Fix previous change. | |
12334 | ||
d0bce91e SM |
12335 | 2004-11-22 Stefan Monnier <monnier@iro.umontreal.ca> |
12336 | ||
12337 | * eval.c (Fdefvar): Warn when var is let-bound but globally void. | |
12338 | ||
e1814672 KS |
12339 | 2004-11-21 Kim F. Storm <storm@cua.dk> |
12340 | ||
b7fd3518 KS |
12341 | * xdisp.c (erase_phys_cursor): Clear hollow cursor inside TEXT_AREA. |
12342 | ||
12343 | * xterm.c (x_clip_to_row): Add area arg. Callers changed. | |
12344 | (x_draw_hollow_cursor, x_draw_bar_cursor): Clip to TEXT_AREA. | |
12345 | ||
12346 | * w32term.c (w32_clip_to_row): Add area arg. Callers changed. | |
12347 | (x_draw_hollow_cursor, x_draw_bar_cursor): Clip to TEXT_AREA. | |
12348 | ||
12349 | * macterm.c (x_clip_to_row): Add area arg. Callers changed. | |
12350 | (x_draw_hollow_cursor, x_draw_bar_cursor): Clip to TEXT_AREA. | |
12351 | ||
d0bce91e SM |
12352 | * xdisp.c (move_it_in_display_line_to, display_line): |
12353 | Restore saved_face_id if overflow-newline-into-fringe is enabled and | |
12354 | line is continued before or in middle of element from display vector. | |
f01d4d05 | 12355 | |
f1a61389 KS |
12356 | * indent.c (Fvertical_motion): Fix last change. Use another |
12357 | method to detect if iterator moved too far ahead after reseat. | |
12358 | ||
e1814672 KS |
12359 | * xdisp.c (IT_EXPAND_MATRIX_WIDTH): New macro. Do not |
12360 | expand matrix width for overflow in zero-width area. | |
12361 | (append_glyph, append_composite_glyph, produce_image_glyph) | |
12362 | (append_stretch_glyph): Use it to avoid loop in redisplay. | |
12363 | (note_mode_line_or_margin_highlight): Don't let help-echo from | |
12364 | string override help-echo from image map. | |
12365 | ||
2dafe1c9 LT |
12366 | 2004-11-20 Luc Teirlinck <teirllm@auburn.edu> |
12367 | ||
d0bce91e | 12368 | * fns.c (Fyes_or_no_p): Call Fread_from_minibuffer with extra argument. |
2dafe1c9 LT |
12369 | * callint.c (Fcall_interactively): Ditto. |
12370 | ||
fd6866c8 | 12371 | 2004-11-20 Stefan Monnier <monnier@iro.umontreal.ca> |
9961365e RS |
12372 | |
12373 | * minibuf.c (Fminibuffer_complete_and_exit): | |
12374 | Fixup the case of the completed value, for case-indep completion. | |
12375 | ||
dedbac89 RS |
12376 | 2004-11-20 Richard M. Stallman <rms@gnu.org> |
12377 | ||
fd6866c8 RS |
12378 | * lisp.h (Fread_from_minibuffer): Add arg in decl. |
12379 | ||
9d00469f | 12380 | * minibuf.c (read_minibuf): New arg KEEP_ALL. Callers changed. |
ce8dd7ca | 12381 | (Fread_from_minibuffer): New arg KEEP_ALL. Callers changed. |
9d00469f | 12382 | |
dedbac89 | 12383 | * search.c (Vsearch_spaces_regexp): |
d0bce91e | 12384 | Rename from Vsearch_whitespace_regexp. All uses changed. |
dedbac89 | 12385 | |
2f672bb5 TTN |
12386 | 2004-11-20 Thien-Thi Nguyen <ttn@gnu.org> |
12387 | ||
12388 | * eval.c (init_eval_once): Increase `max_specpdl_size' to 650. | |
12389 | ||
f31a9a68 RS |
12390 | 2004-11-19 Richard M. Stallman <rms@gnu.org> |
12391 | ||
12392 | * search.c (Vsearch_whitespace_regexp): New variable. | |
12393 | (syms_of_search): Defvar it. | |
12394 | (compile_pattern_1): Call re_set_whitespace_regexp with it. | |
12395 | (search_buffer): No regexp is trivial if Vsearch_whitespace_regexp | |
12396 | is non-nil. | |
6de891db RS |
12397 | (struct regexp_cache): New element whitespace_regexp. |
12398 | (syms_of_search): Initialize whitespace_regexp elements. | |
12399 | (compile_pattern): Compare whitespace_regexp elements. | |
12400 | (compile_pattern_1): Set whitespace_regexp elements. | |
f31a9a68 RS |
12401 | |
12402 | * regex.c (regex_compile): Substitute whitespace_regexp | |
12403 | for spaces, if it is nonzero. | |
12404 | (whitespace_regexp): New variable. | |
12405 | (re_set_whitespace_regexp): New function. | |
12406 | ||
cbc34cb3 KS |
12407 | 2004-11-19 Kim F. Storm <storm@cua.dk> |
12408 | ||
12409 | * indent.c (Fvertical_motion): Fix last change. | |
12410 | ||
b54a7539 KS |
12411 | 2004-11-18 Kim F. Storm <storm@cua.dk> |
12412 | ||
12413 | * indent.c (Fvertical_motion): Undo 2004-11-16 change. | |
12414 | Instead, move back again if reseating moves too far ahead. | |
12415 | ||
12416 | 2004-11-17 Luc Teirlinck <teirllm@auburn.edu> | |
802c6e56 LT |
12417 | |
12418 | * xdisp.c (message3): Call clear_message. | |
12419 | ||
5ff504fe KS |
12420 | 2004-11-17 Kim F. Storm <storm@cua.dk> |
12421 | ||
12422 | * xdisp.c (erase_phys_cursor): Adjust cursor row visible height. | |
12423 | ||
5ae53dcf JD |
12424 | 2004-11-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12425 | ||
d0bce91e | 12426 | * gtkutil.c (xg_get_file_name): Typo in HAVE_GTK_FILE_SELECTION_NEW. |
724cde0d | 12427 | |
6abf3a27 | 12428 | * xmenu.c (x_menu_in_use): Remove. |
5ae53dcf JD |
12429 | (x_menu_set_in_use): Also set popup_activated_flag. |
12430 | ||
5ff504fe | 12431 | * xfns.c (Fx_file_dialog): Call popup_activated instead of |
5ae53dcf JD |
12432 | x_menu_in_use. Call x_menu_set_in_use in Motif version also. |
12433 | ||
52eb0373 | 12434 | * xterm.h (x_menu_in_use): Remove. |
5ae53dcf | 12435 | |
ee31cd78 RS |
12436 | 2004-11-16 Richard M. Stallman <rms@gnu.org> |
12437 | ||
6abf3a27 SM |
12438 | * keymap.c (Fmap_keymap): New arg SORT-FIRST. |
12439 | Use map-keymap-internal to implement that. | |
ee31cd78 RS |
12440 | |
12441 | * indent.c (Fvertical_motion): In batch mode, use vmotion directly. | |
12442 | ||
6abf3a27 SM |
12443 | 2004-11-16 Stefan Monnier <monnier@iro.umontreal.ca> |
12444 | ||
12445 | * xdisp.c (get_glyph_string_clip_rect, init_glyph_string): Check it's | |
12446 | a window before using XWINDOW. | |
12447 | ||
12448 | * window.c (make_window, Fselect_window, make_dummy_parent) | |
12449 | (save_window_save): | |
12450 | * frame.c (make_frame): | |
12451 | * fns.c (concat): Avoid side-effects inside XSETFASTINT's arguments. | |
12452 | ||
12453 | * lisp.h (NILP): Use EQ rather than XFASTINT. | |
12454 | ||
b4d61105 KS |
12455 | 2004-11-16 Kim F. Storm <storm@cua.dk> |
12456 | ||
6abf3a27 | 12457 | * fringe.c (Fdefine_fringe_bitmap): Always set 'h'. Simplify. |
dda01a4c | 12458 | |
b4d61105 KS |
12459 | * indent.c (Fvertical_motion): Fix last change. Only reseat when |
12460 | moving backwards. | |
12461 | ||
12462 | 2004-11-16 Luc Teirlinck <teirllm@auburn.edu> | |
ce2bbf6a LT |
12463 | |
12464 | * dispextern.h: Extern reseat_at_previous_visible_line_start. | |
12465 | ||
ab5b02b0 KH |
12466 | 2004-11-16 Kenichi Handa <handa@m17n.org> |
12467 | ||
12468 | * xdisp.c (display_mode_element): Fix previous change (calculate | |
12469 | end position of substring to display correctly). | |
12470 | ||
c482cf97 KS |
12471 | 2004-11-16 Kim F. Storm <storm@cua.dk> |
12472 | ||
12473 | * keyboard.c (Fposn_at_point): Remove extra */ after doc string. | |
12474 | Reported by Andrew M. Scott. | |
12475 | ||
9f89426b KS |
12476 | 2004-11-15 Kim F. Storm <storm@cua.dk> |
12477 | ||
12478 | * fns.c (Fsafe_plist_get): New defun. | |
12479 | (syms_of_fns): Defsubr it. | |
12480 | ||
12481 | * lisp.h (Fsafe_plist_get): Add EXFUN. | |
12482 | ||
12483 | * xdisp.c (store_mode_line_string, produce_stretch_glyph): | |
12484 | Use Fsafe_plist_get. | |
12485 | (note_mode_line_or_margin_highlight, note_mouse_highlight): | |
12486 | Fix image map element parsing. Use Fsafe_plist_get. | |
12487 | ||
27418463 RS |
12488 | 2004-11-15 Richard M. Stallman <rms@gnu.org> |
12489 | ||
12490 | * xdisp.c (get_next_display_element): Fix previous change. | |
12491 | ||
a130b901 JD |
12492 | 2004-11-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12493 | ||
ef614e04 JD |
12494 | * window.c (shrink_windows): Handle special case of one window left |
12495 | when trying to shrink the final reminder. Grow windows if | |
12496 | total_removed is less than total_shrink. | |
12497 | ||
a130b901 JD |
12498 | * xmenu.c (pop_down_menu): Remove global variable current_menu, |
12499 | extract pointer from arg with XSAVE_VALUE. | |
46303896 KS |
12500 | (create_and_show_popup_menu, create_and_show_dialog, xmenu_show): |
12501 | Construct arg to record_unwind_protect with make_save_value. | |
a130b901 | 12502 | |
d9a03ad2 RS |
12503 | 2004-11-13 Richard M. Stallman <rms@gnu.org> |
12504 | ||
12505 | * xdisp.c (reseat_at_previous_visible_line_start): No longer static. | |
12506 | (get_next_display_element): Fix previous change to apply only to \n. | |
12507 | ||
12508 | * indent.c (Fvertical_motion): Scan to PT from start of line to | |
12509 | make iterator consistent. | |
12510 | ||
12511 | * minibuf.c (syms_of_minibuf) <completion-ignore-case>: Doc fix. | |
12512 | ||
b3935289 JD |
12513 | 2004-11-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12514 | ||
12515 | * gtkutil.c (pop_down_file_dialog): Add BLOCK_INPUT. | |
12516 | ||
12517 | * xfns.c (Fx_file_dialog): Call x_menu_in_use and x_menu_set_in_use. | |
12518 | Record unwind with clean_up_file_dialog. | |
12519 | ||
78819ebb KS |
12520 | * xterm.h (x_menu_in_use, x_menu_set_in_use, x_menu_wait_for_event): |
12521 | Declare. | |
b3935289 JD |
12522 | |
12523 | * xmenu.c (x_menu_in_use, x_menu_set_in_use): New functions. | |
12524 | ||
af89e871 JD |
12525 | 2004-11-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12526 | ||
457a8155 | 12527 | * gtkutil.c (xg_file_sel_ok, xg_file_sel_cancel) |
6abf3a27 | 12528 | (xg_file_sel_destroy): Remove. |
46303896 KS |
12529 | (xg_file_response_cb, pop_down_file_dialog) |
12530 | (xg_get_file_name_from_chooser, xg_get_file_name_from_selector): | |
457a8155 | 12531 | New functions. |
6abf3a27 SM |
12532 | (xg_get_file_with_chooser, xg_get_file_with_selection): |
12533 | Take new arg func, set it to xg_get_file_name_from_chooser/selector. | |
457a8155 JD |
12534 | Move common code to xg_get_file_name. Return widget created. |
12535 | (xg_get_file_name): Set name, transient for, modal and destroy | |
12536 | with parent here. Connect response signal to xg_file_response_cb, | |
12537 | connect delete-event to gtk_true. Record pop_down_file_dialog | |
12538 | for unwind. Do event loop and call x_menu_wait_for_event in loop. | |
12539 | (xg_create_widget): Make dialogs modal. | |
12540 | ||
af89e871 JD |
12541 | * xmenu.c (unuse_menu_items, pop_down_menu): Arg is of type |
12542 | Lisp_Object. | |
12543 | (popup_get_selection): Move unwind protect ... | |
12544 | (create_and_show_popup_menu, create_and_show_dialog): ... to here. | |
12545 | Move destroy of widget to pop_down_menu. | |
12546 | (popup_widget_loop): Move unwind protect ... | |
12547 | (create_and_show_popup_menu, create_and_show_dialog): ... to here. | |
12548 | Move destroy of widget to pop_down_menu. | |
12549 | (pop_down_menu): BLOCK_INPUT and destroy widget/window. | |
6abf3a27 | 12550 | (xmenu_show): Record unwind pop_down_menu. Move XMenuDestroy, |
af89e871 JD |
12551 | x_mouse_leave and grabbed = 0 to pop_down_menu. |
12552 | ||
5596fbf1 KS |
12553 | 2004-11-13 Kim F. Storm <storm@cua.dk> |
12554 | ||
12555 | * xdisp.c (make_cursor_line_fully_visible_p): New variable. | |
12556 | (syms_of_xdisp): DEFVAR_BOOL it. | |
12557 | (make_cursor_line_fully_visible, try_cursor_movement) | |
12558 | (try_window_id): Use it. | |
12559 | ||
b9de078a KS |
12560 | 2004-11-12 Kim F. Storm <storm@cua.dk> |
12561 | ||
381f7091 KS |
12562 | * dispextern.h (struct glyph_row): New member extra_line_spacing. |
12563 | (struct it): New member max_extra_line_spacing. | |
12564 | (MR_PARTIALLY_VISIBLE, MR_PARTIALLY_VISIBLE_AT_TOP) | |
12565 | (MR_PARTIALLY_VISIBLE_AT_BOTTOM): New helper macros. | |
12566 | (MATRIX_ROW_PARTIALLY_VISIBLE_P): Fix to return false if invisible | |
12567 | part of last line is only extra line spacing (so the text on the | |
52eb0373 | 12568 | line is fully visible). Use helper macros. |
381f7091 KS |
12569 | Add W arg (to use them). All callers changed. |
12570 | (MATRIX_ROW_PARTIALLY_VISIBLE_AT_TOP_P) | |
12571 | (MATRIX_ROW_PARTIALLY_VISIBLE_AT_BOTTOM_P): Use helper macros. | |
12572 | ||
6abf3a27 SM |
12573 | * window.c (window_scroll_pixel_based, Frecenter): |
12574 | Use move_it_vertically_backward directly. | |
381f7091 KS |
12575 | (Frecenter): Fix calculation of new start pos for negative arg. |
12576 | Before, the new start pos was sometimes chosen too far back, so | |
12577 | the last line became only partially visible, and thus would be | |
12578 | either only semi-visible or automatically scrolled to the middle | |
12579 | of the window by redisplay. | |
12580 | ||
12581 | * xdisp.c (init_iterator): Clear it.max_extra_line_spacing. | |
12582 | (move_it_vertically_backward): Don't recure to move further back. | |
12583 | (move_it_vertically): Remove superfluous condition. | |
12584 | (move_it_by_lines): Clear last_height when moved 0 lines. | |
6abf3a27 | 12585 | (resize_mini_window): Use it.max_extra_line_spacing. |
381f7091 KS |
12586 | (display_tool_bar_line): Clear row->extra_line_spacing. |
12587 | (try_scrolling): Use move_it_vertically_backward directly. | |
12588 | (redisplay_window): Likewise. | |
12589 | (compute_line_metrics): Set row->extra_line_spacing. | |
12590 | (display_line, display_string): Likewise. | |
12591 | (x_produce_glyphs): Update it->max_extra_line_spacing. | |
12592 | ||
b9de078a KS |
12593 | * xmenu.c (pop_down_menu): Return nil. |
12594 | ||
c3438661 JD |
12595 | 2004-11-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12596 | ||
12597 | * xmenu.c (x_menu_wait_for_event): New function. | |
1d1c7e75 | 12598 | (popup_get_selection, popup_widget_loop): Call x_menu_wait_for_event |
c3438661 | 12599 | to handle timers. |
df00f436 JD |
12600 | (popup_widget_loop): Add argument do_timers. |
12601 | (create_and_show_popup_menu, create_and_show_dialog): Pass 1 for | |
12602 | do_timers to popup_widget_loop. | |
c3438661 JD |
12603 | (xmenu_show): Call XMenuActivateSetWaitFunction so that |
12604 | x_menu_wait_for_event is called by XMenuActivate. | |
b9de078a | 12605 | (create_and_show_popup_menu): Pass 1 for do_timers to |
df00f436 | 12606 | popup_get_selection. |
f1d1cd24 JD |
12607 | (pop_down_menu): New function. |
12608 | (popup_get_selection, popup_widget_loop): Unwind protect to | |
12609 | pop_down_menu. | |
12610 | (popup_widget_loop): Add argument widget. | |
12611 | (create_and_show_popup_menu, create_and_show_dialog): Pass new | |
12612 | argument widget to popup_widget_loop. | |
c3438661 | 12613 | |
32e2fb04 SM |
12614 | 2004-11-10 Stefan Monnier <monnier@iro.umontreal.ca> |
12615 | ||
12616 | * keymap.c (Fkeymap_prompt): Accept symbol keymaps. | |
12617 | ||
0faf6806 KS |
12618 | 2004-11-09 Kim F. Storm <storm@cua.dk> |
12619 | ||
12620 | * xselect.c: Include <sys/types.h> and <unistd.h> (for getpid). | |
12621 | Fix various comments referring to XEvents instead of input events. | |
12622 | (x_queue_event): Fix format strings. | |
12623 | (x_stop_queuing_selection_requests): Likewise. | |
12624 | ||
12625 | * xdisp.c (produce_image_glyph): Remove unused variable 'face_ascent'. | |
12626 | (pint2hrstr): Add extra braces to silence compiler. | |
12627 | ||
12628 | * print.c (print_object): Fix format string. | |
12629 | ||
12630 | * lread.c (read1): Fix next_char matching. | |
12631 | ||
12632 | * lisp.h (Fdelete): Add EXFUN. | |
12633 | (replace_range_2): Add prototype. | |
12634 | ||
12635 | * keyboard.c (read_avail_input): Remove unused variable 'discard'. | |
12636 | ||
12637 | * intervals.h (NULL_INTERVAL_P): Add separate version when | |
12638 | ENABLE_CHECKING is not defined to silence compiler. | |
12639 | (compare_string_intervals): Add prototype. | |
12640 | ||
12641 | * fringe.c (destroy_fringe_bitmap): Fix return type. | |
12642 | (Ffringe_bitmaps_at_pos): Remove unused var 'old_buffer'. | |
12643 | ||
12644 | * emacs.c (Fdump_emacs): Fix format string. | |
12645 | ||
12646 | * doc.c: Include <ctype.h>. | |
12647 | (Fsubstitute_command_keys): Remove unused variable 'firstkey'. | |
12648 | ||
12649 | * data.c (store_symval_forwarding): Remove unused variables. | |
12650 | ||
12651 | * callint.c (Fcall_interactively): Remove unused variable 'funcar'. | |
12652 | ||
16bf4e32 JD |
12653 | 2004-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12654 | ||
12655 | * Makefile.in (stamp-oldxmenu): If HAVE_GTK, don't add dependencies | |
12656 | to ${OLDXMENU}. | |
12657 | ||
cdb805a9 KS |
12658 | 2004-11-09 Kim F. Storm <storm@cua.dk> |
12659 | ||
12660 | * process.c (Fmake_network_process): Remove kludge for interrupted | |
12661 | connects on BSD. If connect is interrupted, just close socket and | |
12662 | start over rather than sleeping and retry with same socket. | |
12663 | ||
d87a9ab8 | 12664 | 2004-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
0faf6806 | 12665 | |
a8b16c80 JD |
12666 | * .cvsignore: Add buildobj.lst. |
12667 | ||
d87a9ab8 JD |
12668 | * doc.c: New variable Vbuild_files. |
12669 | (Fsnarf_documentation): If Vbuild_files is nil, populate it with | |
e7427ac1 | 12670 | file names from buildobj.lst. Only attach docstrings from files |
d87a9ab8 JD |
12671 | that are in Vbuild_files. |
12672 | (syms_of_doc): Defvar Vbuild_files. | |
12673 | ||
12674 | * Makefile.in (SOME_MACHINE_OBJECTS): Add fringe.o, image.o | |
12675 | and w32*.o. | |
12676 | (temacs${EXEEXT}): Generate buildobj.lst when temacs is linked. | |
1ae8d759 | 12677 | (mostlyclean): Rm buildobj.lst. |
d87a9ab8 JD |
12678 | |
12679 | * makefile.w32-in ($(TEMACS)): Generate buildobj.lst when temacs | |
12680 | is linked. | |
12681 | ||
b6709e77 KS |
12682 | 2004-11-09 Kim F. Storm <storm@cua.dk> |
12683 | ||
12684 | * fringe.c (update_window_fringes): Update fringe bitmaps if | |
12685 | cur and row ends_at_zv_p differs. If bitmaps of a row is updated, | |
12686 | also update previous row to get rid of misc. artifacts. | |
12687 | ||
bae9677d KS |
12688 | 2004-11-08 Kim F. Storm <storm@cua.dk> |
12689 | ||
12690 | * xdisp.c (fast_find_position): Fix start pos if header line present. | |
b7127aa8 | 12691 | (note_mouse_highlight): Clear mouse face if we move out of text area. |
bae9677d | 12692 | |
3f8ea68c EZ |
12693 | 2004-11-08 Eli Zaretskii <eliz@gnu.org> |
12694 | ||
12695 | * editfns.c: Move #include "systime.h" before <sys/resource.h>. | |
12696 | Don't include <sys/time.h> explicitly. | |
12697 | Include <stdio.h> unconditionally, not just on MacOS. | |
12698 | ||
a653f812 KH |
12699 | 2004-11-08 Kenichi Handa <handa@m17n.org> |
12700 | ||
12701 | * fontset.c (fontset_pattern_regexp): Cancel my previous change; | |
12702 | don't pay attention to '\' before '*'. | |
12703 | (fontset_pattern_regexp): Change the meaning of the second arg. | |
12704 | (Fnew_fontset): Call fs_query_fontset, not Fquery_fontset. | |
12705 | (check_fontset_name): Try NAME as literal at first, and if it | |
12706 | failes, try NAME as pattern. | |
12707 | ||
c37caf9d JD |
12708 | 2004-11-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12709 | ||
12710 | * emacs.c (Fdump_emacs): Only output warning on GNU/Linux. | |
12711 | ||
b72915a7 AS |
12712 | 2004-11-07 Andreas Schwab <schwab@suse.de> |
12713 | ||
78819ebb KS |
12714 | * lisp.h (Fmsdos_downcase_filename): Declare. |
12715 | * dired.c (Fmsdos_downcase_filename): Don't declare here. | |
b72915a7 AS |
12716 | * fileio.c: Likewise. |
12717 | ||
238a44a8 JD |
12718 | 2004-11-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12719 | ||
12720 | * dosfns.c (Fdos_memget, Fdos_memput): Use integer variable offs in | |
12721 | comparisons with integers instead of Lisp_Object address. | |
12722 | (Fmsdos_set_keyboard): Declare argument allkeys. | |
12723 | ||
12724 | * msdos.c (IT_set_frame_parameters): Use EQ, not ==, for Lisp_Object:s. | |
12725 | ||
78819ebb | 12726 | * dired.c (Fmsdos_downcase_filename): Declare extern on MSDOS to avoid |
238a44a8 JD |
12727 | int/Lisp_Object mixup. |
12728 | ||
12729 | * fileio.c: Ditto. | |
12730 | ||
31141c13 ST |
12731 | 2004-11-06 Steven Tamm <steventamm@mac.com> |
12732 | ||
12733 | * editfns.c: Need to include sys/time.h before resource.h on darwin. | |
12734 | ||
f28c1bd9 RS |
12735 | 2004-11-06 Richard M. Stallman <rms@gnu.org> |
12736 | ||
12737 | * callint.c (Fcall_interactively): Avoid reusing EVENT for other data. | |
12738 | ||
12739 | * xfaces.c (merge_named_face): GCPRO the face_name in the | |
12740 | named_merge_point struct that we make. | |
12741 | (merge_face_heights): Eliminate GCPRO arg. All callers changed. | |
12742 | ||
12743 | * keyboard.c (command_loop_1): Change Vtransient_mark_mode | |
12744 | before deciding whether to inactivate mark. | |
12745 | ||
59dede22 EZ |
12746 | 2004-11-06 Lars Brinkhoff <lars@nocrew.org> |
12747 | ||
12748 | * config.in: Regenerate (add HAVE_GETRUSAGE). | |
6159c232 EZ |
12749 | * editfns.c (Fget_internal_run_time): New function. |
12750 | (syms_of_data): Defsubr it. | |
12751 | * fns.c (sxhash): As far as possible, merge calculation of | |
12752 | hash code for symbols and strings. | |
59dede22 | 12753 | |
27540e81 EZ |
12754 | 2004-11-06 Eli Zaretskii <eliz@gnu.org> |
12755 | ||
12756 | * frame.c (syms_of_frame): Fix the example in the doc string. | |
12757 | ||
df470e3b JD |
12758 | 2004-11-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12759 | ||
12760 | * eval.c (Feval): Remove check for INPUT_BLOCKED_P. | |
12761 | ||
12762 | * xmenu.c (popup_get_selection, create_and_show_popup_menu) | |
12763 | (create_and_show_dialog): Revert change from 2004-10-31. | |
bae9677d | 12764 | |
4cc8522c LT |
12765 | 2004-11-05 Luc Teirlinck <teirllm@auburn.edu> |
12766 | ||
12767 | * macros.c (syms_of_macros) <defining-kbd-macro>: Doc fix. | |
12768 | ||
d4a42098 KS |
12769 | 2004-11-05 Kim F. Storm <storm@cua.dk> |
12770 | ||
a8490886 KS |
12771 | * print.c (print_object): Print Lisp_Misc_Save_Value objects. |
12772 | ||
d4a42098 KS |
12773 | * fileio.c (Ffile_modes): Doc fix. |
12774 | (auto_save_1): Check for Ffile_modes nil value. | |
12775 | ||
36a2b04c KS |
12776 | 2004-11-05 Kim F. Storm <storm@cua.dk> |
12777 | ||
12778 | * xselect.c (struct selection_event_queue, selection_queue) | |
12779 | (x_queue_selection_requests, x_queue_event) | |
12780 | (x_start_queuing_selection_requests) | |
12781 | (x_stop_queuing_selection_requests): Add new queue for selection | |
12782 | input events to replace previous XEvent queue in xterm.c. | |
12783 | (queue_selection_requests_unwind): Adapt to new queue. | |
32e2fb04 SM |
12784 | (x_reply_selection_request): Adapt to new queue. |
12785 | Unexpect wait_object in case of x errors (memory leak). | |
36a2b04c KS |
12786 | (x_handle_selection_request, x_handle_selection_clear): Make static. |
12787 | (x_handle_selection_event): New function. May queue selection events. | |
12788 | (wait_for_property_change_unwind): Use save_value instead of cons. | |
12789 | Clear property_change_reply_object. | |
12790 | (wait_for_property_change): Abort if already waiting. | |
12791 | Use save_value instead of cons for unwind data. | |
12792 | (x_handle_property_notify): Skip events already arrived, but don't | |
12793 | free them, as "arrived" field is checked by wait_for_property_change, | |
12794 | and it will be freed by unwind or explicit unexpect_property_change. | |
12795 | (x_get_foreign_selection): Add to new queue. | |
12796 | (receive_incremental_selection): Don't unexpect wait_object when done | |
12797 | as it has already been freed by previous wait_for_property_change. | |
12798 | ||
12799 | * xterm.h (x_start_queuing_selection_requests) | |
12800 | (x_stop_queuing_selection_requests, x_handle_selection_request) | |
12801 | (x_handle_selection_clear): Remove prototypes. | |
12802 | (x_handle_selection_event): Add prototype. | |
12803 | ||
12804 | * xterm.c (handle_one_xevent): Don't queue X selection events | |
12805 | here, it may be too late if we start queuing after we have already | |
12806 | stored some selection events into the kbd buffer. | |
12807 | (struct selection_event_queue, queue, x_queue_selection_requests) | |
12808 | (x_queue_event, x_unqueue_events, x_start_queuing_selection_requests) | |
12809 | (x_stop_queuing_selection_requests): Remove/move to xselect.c. | |
12810 | (x_catch_errors_unwind): Block input around final XSync. | |
12811 | ||
12812 | * keyboard.h (kbd_buffer_unget_event): Add prototype. | |
12813 | ||
12814 | * keyboard.c (kbd_buffer_store_event_hold): Remove obsolete code. | |
12815 | (kbd_buffer_unget_event): New function. | |
12816 | (kbd_buffer_get_event, swallow_events): Combine SELECTION events | |
12817 | and use x_handle_selection_event. | |
12818 | (mark_kboards): Don't mark x and y of SELECTION_CLEAR_EVENT. | |
12819 | ||
9c3ad9e1 JD |
12820 | 2004-11-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12821 | ||
12822 | * xselect.c (TRACE3): New debug macro. | |
12823 | (x_reply_selection_request): Use it. | |
12824 | (receive_incremental_selection): In call to TRACE0, the name of | |
12825 | a symbol is in xname. | |
12826 | ||
a33b89de KS |
12827 | 2004-11-05 Kim F. Storm <storm@cua.dk> |
12828 | ||
12829 | * fontset.c (fontset_pattern_regexp): Use unsigned char. | |
12830 | ||
a872928c JD |
12831 | 2004-11-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12832 | ||
88208bb8 JD |
12833 | * fileio.c (Fnext_read_file_uses_dialog_p): New function. |
12834 | ||
78819ebb | 12835 | * gtkutil.h (use_old_gtk_file_dialog): Declare. |
0a4f23f3 JD |
12836 | |
12837 | * gtkutil.c: Make use_old_gtk_file_dialog non-static. | |
32e2fb04 | 12838 | (xg_initialize): Move DEFVAR_BOOL for use_old_gtk_file_dialog ... |
0a4f23f3 JD |
12839 | * xfns.c (syms_of_xfns): ... to here. |
12840 | ||
a872928c JD |
12841 | * gtkutil.c (xg_get_file_with_chooser): Expand DEFAULT_FILENAME if |
12842 | it doesn't start with /. | |
12843 | ||
b912921c KH |
12844 | 2004-11-04 Kenichi Handa <handa@m17n.org> |
12845 | ||
12846 | * fontset.c (fontset_pattern_regexp): If '*' is preceded by '\', | |
12847 | treat it as a literal character. | |
12848 | ||
c524d9a6 KS |
12849 | 2004-11-03 Kim F. Storm <storm@cua.dk> |
12850 | ||
12851 | * .gdbinit (ppt): New function. | |
12852 | ||
8cfd0f36 JD |
12853 | 2004-11-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12854 | ||
a11e1dce JD |
12855 | * xterm.c (x_window_to_scroll_bar): Only call |
12856 | xg_get_scroll_id_for_window if toolkit scroll bars are used. | |
12857 | ||
8cfd0f36 JD |
12858 | * gtkutil.c (xg_get_file_with_chooser): Use GTK_STOCK_OK instead |
12859 | of save. | |
12860 | ||
a93563fd AS |
12861 | 2004-11-02 Andreas Schwab <schwab@suse.de> |
12862 | ||
12863 | * window.c (Fscroll_right): Fix last change. | |
12864 | ||
2b2d59d8 KS |
12865 | 2004-11-02 Kim F. Storm <storm@cua.dk> |
12866 | ||
14a56a1b | 12867 | * Makefile.in (callproc.o): Depend on blockinput.h, atimer.h, systime.h. |
2b2d59d8 KS |
12868 | |
12869 | 2004-11-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
12870 | ||
12871 | * callproc.c (Fcall_process): Block input around vfork. | |
12872 | ||
ca28104d KS |
12873 | 2004-11-02 Kim F. Storm <storm@cua.dk> |
12874 | ||
12875 | * eval.c (Fcalled_interactively_p): Rename from Fcall_interactive_p. | |
12876 | (syms_of_eval): Defsubr it. | |
12877 | ||
29bb7127 RS |
12878 | 2004-11-02 Richard M. Stallman <rms@gnu.org> |
12879 | ||
12880 | * insdel.c (replace_range_2): New function. | |
12881 | ||
12882 | * casefiddle.c (casify_region): Handle changes in byte-length | |
12883 | using replace_range_2. | |
12884 | ||
12885 | * emacs.c (USAGE3): Delete --horizontal-scroll-bars, -hb. | |
12886 | ||
b6189c3b | 12887 | * xdisp.c (back_to_previous_visible_line_start): |
29bb7127 RS |
12888 | Subtract 1 from pos when checking previous newline for invisibility. |
12889 | ||
12890 | * window.c (window_scroll_pixel_based): Update preserve_y | |
12891 | for header line if any. | |
12892 | (Fscroll_left, Fscroll_right): Don't call interactive_p; | |
12893 | use a new second argument instead. | |
12894 | ||
12895 | * eval.c (Fcall_interactive_p): New function. | |
12896 | (interactive_p): Don't test INTERACTIVE here. | |
12897 | (Finteractive_p): Doc fix. | |
12898 | ||
12899 | * eval.c (Feval): Abort if INPUT_BLOCKED_P. | |
12900 | ||
b6189c3b | 12901 | 2004-11-02 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
a3fe4aaf JR |
12902 | |
12903 | * w32fns.c (w32_font_match): Use fast_string_match_ignore_case for | |
b6189c3b | 12904 | comparing font names. |
a3fe4aaf | 12905 | |
2a00cdb4 JD |
12906 | 2004-11-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12907 | ||
f9d64bb3 JD |
12908 | * fileio.c (Fread_file_name): Pass Qt as fifth parameter to |
12909 | Fx_file_dialog if only directories should be read. | |
12910 | ||
12911 | * lisp.h: Fx_file_dialog takes 5 parameters. | |
12912 | ||
32e2fb04 SM |
12913 | * xfns.c (Fx_file_dialog): Both Motif and GTK version: |
12914 | Add parameter only_dir_p. | |
f9d64bb3 JD |
12915 | In Motif version, don't put DEFAULT_FILENAME in filter part of the |
12916 | dialog, just text field part. Do not add DEFAULT_FILENAME | |
12917 | to list of files if it isn't there. | |
12918 | In GTK version, pass only_dir_p parameter to xg_get_file_name. | |
12919 | ||
32e2fb04 SM |
12920 | * macfns.c (Fx_file_dialog): Add parameter only_dir_p. |
12921 | Check only_dir_p instead of comparing prompt to "Dired". When using | |
f9d64bb3 JD |
12922 | a save dialog, add option kNavDontConfirmReplacement, change title |
12923 | to "Enter name", change text for save button to "Ok". | |
12924 | ||
32e2fb04 SM |
12925 | * w32fns.c (Fx_file_dialog): Add parameter only_dir_p. |
12926 | Check only_dir_p instead of comparing prompt to "Dired". | |
f9d64bb3 | 12927 | |
14a56a1b JB |
12928 | * gtkutil.c (xg_get_file_with_chooser, xg_get_file_with_selection): |
12929 | New functions, only defined ifdef HAVE_GTK_FILE_CHOOSER_DIALOG_NEW | |
12930 | and HAVE_GTK_FILE_SELECTION_NEW respectively. | |
f9d64bb3 JD |
12931 | (xg_get_file_name): Add parameter only_dir_p. |
12932 | Call xg_get_file_with_chooser or xg_get_file_with_selection | |
12933 | depending on HAVE_GTK_FILE* and the value of use_old_gtk_file_dialog. | |
12934 | (xg_initialize): New DEFVAR_BOOL use_old_gtk_file_dialog. | |
12935 | ||
12936 | * gtkutil.h (xg_get_file_name): Add parameter only_dir_p. | |
12937 | ||
2a00cdb4 JD |
12938 | * config.in: Rebuild (added HAVE_GTK_FILE_*). |
12939 | ||
f6749d5d KS |
12940 | 2004-11-01 Kim F. Storm <storm@cua.dk> |
12941 | ||
32e2fb04 SM |
12942 | * process.c (connect_wait_mask, num_pending_connects): |
12943 | Only declare and use them if NON_BLOCKING_CONNECT is defined. | |
bad49fc7 | 12944 | (init_process): Initialize them if NON_BLOCKING_CONNECT defined. |
f6749d5d KS |
12945 | (IF_NON_BLOCKING_CONNECT): New helper macro. |
12946 | (wait_reading_process_output): Only declare and use local vars | |
12947 | Connecting and check_connect when NON_BLOCKING_CONNECT is defined. | |
f6749d5d | 12948 | |
1a99fe1a JR |
12949 | 2004-11-01 Andy Petrusenco <Igrek@star-sw.com> (tiny change) |
12950 | ||
12951 | * w32term.c (x_scroll_run): Delete region objects after use. | |
12952 | ||
fcdb28b4 JD |
12953 | 2004-10-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12954 | ||
495ef86b JD |
12955 | * xmenu.c: Add prototypes for forward function declarations. |
12956 | (popup_get_selection): Remove parameter do_timers, remove call to | |
12957 | timer_check. | |
32e2fb04 SM |
12958 | (create_and_show_popup_menu, create_and_show_dialog): |
12959 | Remove parameter do_timers from call to popup_get_selection. | |
495ef86b | 12960 | |
12e6566a JD |
12961 | * xdisp.c (update_tool_bar): Pass a copy of f->tool_bar_items to |
12962 | tool_bar_items and assign the result to f->tool_bar_items if | |
12963 | not equal. Move BLOCK/UNBLOCK_INPUT from around call to | |
12964 | tool_bar_items to assignment of result. | |
12965 | ||
fcdb28b4 | 12966 | * atimer.c (alarm_signal_handler): Do not call set_alarm if |
14a56a1b | 12967 | pending_atimers is non-zero. |
fcdb28b4 | 12968 | |
1a1a0c4c KS |
12969 | 2004-10-31 Kim F. Storm <storm@cua.dk> |
12970 | ||
12971 | * dispnew.c (margin_glyphs_to_reserve): Don't use ncols_scale_factor. | |
12972 | ||
a36f1680 JW |
12973 | 2004-10-28 Will <will@glozer.net> |
12974 | ||
1d1c7e75 | 12975 | * macterm.c: Allow user to assign key modifiers to the Mac Option |
a36f1680 JW |
12976 | key via a 'mac-option-modifier' variable. |
12977 | ||
32e2fb04 | 12978 | 2004-10-28 Stefan Monnier <monnier@iro.umontreal.ca> |
2d586478 SM |
12979 | |
12980 | * xselect.c (Vx_lost_selection_functions, Vx_sent_selection_functions): | |
12981 | Rename from Vx_lost_selection_hooks and Vx_sent_selection_hooks. | |
12982 | (x_handle_selection_request, x_handle_selection_clear) | |
12983 | (x_clear_frame_selections, syms_of_xselect): Adjust accordingly. | |
12984 | ||
4f71c13f RS |
12985 | 2004-10-28 Richard M. Stallman <rms@gnu.org> |
12986 | ||
12987 | * w32fns.c (Fx_server_vendor, Fx_server_version): Doc fixes. | |
12988 | ||
12989 | * xfns.c (Fx_server_vendor, Fx_server_version): Doc fixes. | |
12990 | ||
068f3848 SM |
12991 | 2004-10-27 Stefan Monnier <monnier@iro.umontreal.ca> |
12992 | ||
12993 | * syntax.c (scan_sexps_forward): Give precedence to a 2-char | |
12994 | comment-starter over a 1-char one. | |
12995 | ||
4660a9e3 RS |
12996 | 2004-10-27 Richard M. Stallman <rms@gnu.org> |
12997 | ||
12998 | * xdisp.c (get_next_display_element): In mode lines, | |
12999 | treat newline and tab like other control characters. | |
13000 | ||
13001 | * editfns.c (Fmessage): Doc fix. | |
13002 | ||
13003 | * indent.c (vmotion): When moving up, check the newline before. | |
13004 | Make prevline an int, not a Lisp_Object. | |
13005 | ||
233f3db6 KS |
13006 | 2004-10-27 Kim F. Storm <storm@cua.dk> |
13007 | ||
13008 | * editfns.c (Fformat): Allocate discarded table with SAFE_ALLOCA. | |
13009 | Only allocate info and discarded tables once. | |
13010 | ||
13011 | * lisp.h (USE_SAFE_ALLOCA): Add and init sa_must_free integer. | |
13012 | (SAFE_ALLOCA, SAFE_ALLOCA_LISP): Increment it when malloc is used. | |
13013 | (SAFE_FREE): Test it to determine if we need to unwind to free. | |
13014 | Remove size arg. All users changed. | |
59d8a9dc | 13015 | (SAFE_FREE_LISP): Remove. All users changed to use SAFE_FREE. |
233f3db6 | 13016 | |
1442465d JD |
13017 | 2004-10-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13018 | ||
13019 | * gtkutil.c: Put empty line between comment and function body. | |
068f3848 SM |
13020 | (xg_destroy_widgets): Rename from remove_from_container. |
13021 | Just destroy all widgets in list. Argument wcont removed. | |
1442465d JD |
13022 | (xg_update_menubar, xg_update_submenu): Call xg_destroy_widgets |
13023 | instead of remove_from_container. | |
13024 | (xg_display_close, xg_create_tool_bar, update_frame_tool_bar) | |
13025 | (free_frame_tool_bar): Add comment. | |
13026 | ||
13027 | * xfns.c (xic_create_xfontset): Check that FRAME_XIC_BASE_FONTNAME | |
13028 | is not NULL before strcmp. | |
13029 | ||
c8636435 KS |
13030 | 2004-10-26 Kim F. Storm <storm@cua.dk> |
13031 | ||
13032 | * callint.c (Fcall_interactively): Add 'U' code to get the | |
13033 | up-event discarded by a previous 'k' or 'K' argument. | |
13034 | ||
5629f29b DK |
13035 | 2004-10-26 David Kastrup <dak@gnu.org> |
13036 | ||
13037 | * buffer.c (syms_of_buffer): Fix a few typos. | |
13038 | ||
4f2f546e JD |
13039 | 2004-10-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13040 | ||
13041 | * xsmfns.c: Put empty line between comment and function body. | |
13042 | Use two spaces before comment end. | |
13043 | ||
fc1062f5 KH |
13044 | 2004-10-25 Kenichi Handa <handa@m17n.org> |
13045 | ||
13046 | * fontset.c (fontset_pattern_regexp): Optimize for the case that | |
13047 | PATTERN is full XLFD. | |
13048 | ||
be13f5e5 KH |
13049 | 2004-10-24 Kenichi Handa <handa@m17n.org> |
13050 | ||
13051 | * regex.h (enum reg_errcode_t): New value REG_ERANGEX. | |
13052 | ||
13053 | * regex.c (re_error_msgid): Add an entry for REG_ERANGEX. | |
13054 | (regex_compile): Return REG_ERANGEX if appropriate. | |
13055 | ||
d0ee2ed3 KH |
13056 | 2004-10-22 Kenichi Handa <handa@m17n.org> |
13057 | ||
13058 | * editfns.c (Ftranslate_region_internal): New function. | |
13059 | (syms_of_editfns): Defsubr it. | |
13060 | ||
63ea8ea5 JD |
13061 | 2004-10-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13062 | ||
13063 | * xfns.c (xic_create_xfontset): Initialize missing_list to NULL. | |
13064 | ||
d495ccfc | 13065 | 2004-10-21 K\e,Aa\e(Broly L\e$,1 q\e(Brentey <lorentey@elte.hu> |
c27ed90a | 13066 | |
068f3848 SM |
13067 | * xterm.h (x_output): New member `xic_base_fontname'. |
13068 | (FRAME_XIC_BASE_FONTNAME): New macro. | |
13069 | (xic_free_xfontset): Declare. | |
c27ed90a | 13070 | |
068f3848 SM |
13071 | * xfns.c (xic_create_xfontset): Share fontsets between frames |
13072 | based on base_fontname. | |
13073 | (xic_free_xfontset): New function. | |
13074 | (free_frame_xic): Use it. | |
13075 | (xic_set_xfontset): Ditto. | |
c27ed90a | 13076 | |
068f3848 | 13077 | * xterm.c (xim_destroy_callback): Ditto. |
c27ed90a | 13078 | |
59508699 JR |
13079 | 2004-10-20 B. Anyos <banyos@freemail.hu> (tiny change) |
13080 | ||
13081 | * w32term.c (x_draw_glyph_string): Use overline_color for overlines. | |
13082 | ||
dede2792 JD |
13083 | 2004-10-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13084 | ||
3aca2078 JD |
13085 | * xterm.h (XSync): If USE_GTK, define XSync as process_all and then |
13086 | XSync. | |
13087 | ||
dede2792 JD |
13088 | * emacs.c (my_heap_start, heap_bss_diff, MAX_HEAP_BSS_DIFF): |
13089 | New variables and constant. | |
13090 | (main): Calculate heap_bss_diff. If we are dumping and the | |
13091 | heap_bss_diff is greater than MAX_HEAP_BSS_DIFF, set PER_LINUX32 | |
13092 | and exec ourself again. | |
13093 | (Fdump_emacs): If heap_bss_diff is greater than MAX_HEAP_BSS_DIFF | |
13094 | print a warning. | |
13095 | ||
13096 | * lastfile.c: Make my_endbss and my_endbss_static available on all | |
13097 | platforms. | |
13098 | ||
13099 | * Makefile.in (RUN_TEMACS): Remove @SETARCH@. | |
13100 | * config.in (HAVE_PERSONALITY_LINUX32): Regenerate. | |
13101 | ||
1dc5ba01 LT |
13102 | 2004-10-19 Luc Teirlinck <teirllm@auburn.edu> |
13103 | ||
13104 | * data.c (Flocal_variable_if_set_p): Doc fix. | |
13105 | ||
950090be JR |
13106 | 2004-10-19 Jason Rumney <jasonr@gnu.org> |
13107 | ||
13108 | * w32.c (init_environment): Set emacs_dir correctly when running | |
13109 | emacs from the build directory. | |
13110 | ||
8550b998 RS |
13111 | 2004-10-19 Richard M. Stallman <rms@gnu.org> |
13112 | ||
13113 | * editfns.c (Fdelete_and_extract_region): | |
13114 | If region is empty, return null string. | |
13115 | ||
08dedea6 JD |
13116 | 2004-10-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13117 | ||
1dc5ba01 | 13118 | * gtkutil.h (xg_update_scrollbar_pos): Remove arguments real_left |
08dedea6 | 13119 | and canon_width. |
068f3848 | 13120 | (xg_frame_cleared): Remove. |
08dedea6 | 13121 | |
068f3848 SM |
13122 | * gtkutil.c (xg_frame_cleared, xg_fixed_handle_expose) |
13123 | (xg_find_top_left_in_fixed): Remove. | |
08dedea6 JD |
13124 | (xg_create_scroll_bar): Put an event box widget between |
13125 | the scroll bar widget and the edit widget. | |
13126 | (xg_show_scroll_bar): Show the parent widget (the event box). | |
13127 | (xg_remove_scroll_bar): Destroy parent (the event box) also. | |
13128 | (xg_update_scrollbar_pos): Remove arguments real_left and canon_width. | |
13129 | Move the parent (the event box) widget inside the fixed widget. | |
13130 | Move window clear to xterm.c. | |
13131 | ||
068f3848 | 13132 | * gtkutil.h (xg_frame_cleared): Remove. |
1dc5ba01 | 13133 | |
08dedea6 | 13134 | * xterm.c (x_clear_frame): Remove call to xg_frame_cleared |
068f3848 SM |
13135 | (x_scroll_bar_create, XTset_vertical_scroll_bar): |
13136 | Remove arguments left and width to xg_update_scrollbar_pos. | |
08dedea6 JD |
13137 | (XTset_vertical_scroll_bar): Do x_clear_area for USE_GTK also. |
13138 | ||
8550b998 | 13139 | 2004-10-19 Kenichi Handa <handa@m17n.org> |
e3e55463 KS |
13140 | |
13141 | * xdisp.c (display_mode_element): Fix display of wide chars. | |
e3e55463 | 13142 | |
84338890 JD |
13143 | 2004-10-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13144 | ||
13145 | * gtkutil.c (xg_update_scrollbar_pos): Change XClearWindow to | |
13146 | gdk_window_clear and move gdk_window_process_all_updates after | |
13147 | clear so events are sent to the X server in correct order. | |
13148 | ||
6e1b0d8c KH |
13149 | 2004-10-18 Kenichi Handa <handa@m17n.org> |
13150 | ||
13151 | * fontset.c (fs_load_font): Use fast_string_match_ignore_case for | |
13152 | comparing font names. | |
8550b998 | 13153 | (fs_query_fontset): Use fast_string_match for comparing fontset names. |
6e1b0d8c KH |
13154 | (list_fontsets): Likewise. |
13155 | ||
13156 | * search.c (fast_string_match_ignore_case): New function. | |
13157 | ||
13158 | * lisp.h (fast_string_match_ignore_case): Extern it. | |
13159 | ||
345e75a8 KS |
13160 | 2004-10-17 Kim F. Storm <storm@cua.dk> |
13161 | ||
13162 | * xdisp.c (overlay_arrow_at_row): Return overlay string rather | |
13163 | than bitmap if there is not left fringe. | |
13164 | (get_overlay_arrow_glyph_row): Also used on windows system. | |
13165 | (display_line): Display overlay string if no left fringe. | |
13166 | ||
be13cbb7 JR |
13167 | 2004-10-16 Jason Rumney <jasonr@gnu.org> |
13168 | ||
13169 | * w32fns.c (w32_font_match): Encode font name being matched. | |
13170 | ||
c2e2ede7 RS |
13171 | 2004-10-16 Richard M. Stallman <rms@gnu.org> |
13172 | ||
13173 | * window.c (Fspecial_display_p): Doc fix. | |
13174 | ||
043f7f73 | 13175 | 2004-10-15 Stefan Monnier <monnier@iro.umontreal.ca> |
3584d95d SM |
13176 | |
13177 | * doc.c (Fsubstitute_command_keys): Fix remap-handling. | |
13178 | Don't ignore menus, because where-is-internal already does it for us. | |
13179 | ||
699a0392 KS |
13180 | 2004-10-15 Kim F. Storm <storm@cua.dk> |
13181 | ||
b3c7a89b KS |
13182 | * xdisp.c (redisplay_window): Only update fringes and vertical |
13183 | border on window frames. | |
699a0392 | 13184 | |
4e382b0f AS |
13185 | 2004-10-14 Andreas Schwab <schwab@suse.de> |
13186 | ||
13187 | * m/ia64.h (DATA_SEG_BITS): Don't define. | |
13188 | ||
329a7be2 KS |
13189 | 2004-10-14 Kim F. Storm <storm@cua.dk> |
13190 | ||
13191 | * xterm.h: Include Xutil.h after keysym.h to work around bug | |
dbb37962 | 13192 | in some X versions. |
329a7be2 | 13193 | |
982241b1 SM |
13194 | 2004-10-13 Stefan Monnier <monnier@iro.umontreal.ca> |
13195 | ||
13196 | * fns.c (map_char_table): Add missing gcpros. | |
13197 | ||
9238467d SM |
13198 | 2004-10-13 Stefan Monnier <monnier@iro.umontreal.ca> |
13199 | ||
13200 | * keymap.c (get_keymap): An autoload form is not a keymap. | |
13201 | ||
13202 | * textprop.c (syms_of_textprop): Make `syntax-table' nonsticky. | |
13203 | ||
4440e3ca KS |
13204 | 2004-10-13 Kim F. Storm <storm@cua.dk> |
13205 | ||
7cfdabde KS |
13206 | * callproc.c (Fcall_process): Simplify handling of display arg. |
13207 | Resume `display_on_the_fly' once a coding system is determined. | |
13208 | ||
4440e3ca KS |
13209 | * xdisp.c (redisplay_preserve_echo_area): Fix last change. |
13210 | ||
1c8dec6a KS |
13211 | 2004-10-12 Kim F. Storm <storm@cua.dk> |
13212 | ||
13213 | * xdisp.c (redisplay_preserve_echo_area): Flush display in case | |
13214 | caller, such as call-process, is not going to poll for input. | |
13215 | (calc_line_height_property): Handle case where it->object is nil. | |
13216 | ||
13217 | * xterm.c (x_redisplay_interface): Fix flush_display_optional. | |
13218 | ||
170b174c KH |
13219 | 2004-10-12 Kenichi Handa <handa@m17n.org> |
13220 | ||
9238467d SM |
13221 | * xdisp.c (get_next_display_element): |
13222 | If unibyte_display_via_language_environment is zero, display 8-bit | |
170b174c KH |
13223 | chars in octal in unibyte buffer. |
13224 | ||
b583964c KS |
13225 | 2004-10-12 Kim F. Storm <storm@cua.dk> |
13226 | ||
13227 | * doc.c (Fsubstitute_command_keys): Ignore remappings unless there | |
13228 | are no ordinary bindings. | |
13229 | ||
29fabd8c JD |
13230 | 2004-10-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13231 | ||
9238467d | 13232 | * xfns.c (syms_of_xfns): Defsubr x-file-dialog for GTK also. |
29fabd8c | 13233 | |
c3f4c690 ST |
13234 | 2004-10-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
13235 | ||
9238467d SM |
13236 | * macterm.c (x_raise_frame): Add BLOCK_INPUT around SelectWindow. |
13237 | (x_lower_frame): Add BLOCK_INPUT around SendBehind. | |
c3f4c690 | 13238 | (make_mac_frame): Add BLOCK_INPUT around the making of a |
9238467d SM |
13239 | terminal frame. |
13240 | (mac_initialize): Add BLOCK_INPUT around carbon initialization. | |
13241 | * macgui.h (mktime): Use emacs_mktime. | |
c3f4c690 ST |
13242 | * macfns.c (Fx_file_dialog): Add BLOCK_INPUT around more code. |
13243 | Make a cancel file-open dialog be like C-g. | |
9238467d SM |
13244 | * mac.c (mktime): Use emacs_mktime. |
13245 | (Fdo_applescript): Add BLOCK_INPUT around do_applescript. | |
13246 | (Fmac_paste_function): Add better error handling for carbon cut/paste. | |
c3f4c690 | 13247 | |
9688f9eb KS |
13248 | 2004-10-10 Kim F. Storm <storm@cua.dk> |
13249 | ||
13250 | * keyboard.c (timer_resume_idle): New function to resume idle | |
13251 | timer without resetting timers on the idle list. | |
52eb0373 | 13252 | (read_char): Use timer_resume_idle. Remove local var last_idle_start. |
9688f9eb KS |
13253 | (timer_start_idle, timer_stop_idle): Declare static. |
13254 | (read_key_sequence): Use timer_resume_idle instead of timer_start_idle. | |
13255 | ||
13256 | * keyboard.h (timer_start_idle, timer_stop_idle): Remove prototypes. | |
13257 | ||
f7f3a65f ST |
13258 | 2004-10-08 Steven Tamm <steventamm@mac.com> |
13259 | ||
9238467d | 13260 | * config.in (HAVE_MALLOC_MALLOC_H): Regenerate. |
f7f3a65f | 13261 | * macterm.c (mac_check_for_quit_char): Remove warning for using |
9238467d | 13262 | NULL where 0 should be used. |
f7f3a65f ST |
13263 | * unexmacosx.c: Use malloc/malloc.h on Tiger instead of |
13264 | objc/malloc.h | |
9238467d | 13265 | * mac.c: Include time.h for Tiger compatibility. |
f7f3a65f | 13266 | |
3c7d999a KS |
13267 | 2004-10-07 Kim F. Storm <storm@cua.dk> |
13268 | ||
13269 | * xdisp.c (redisplay_window): Fix flicker on vertical line between | |
13270 | windows. Update vertical line after drawing window fringes, but | |
13271 | only if actually drawing any bitmaps--or there is no fringe. | |
13272 | ||
13273 | * xterm.c (x_update_window_end): Likewise. | |
13274 | * macterm.c (x_update_window_end): Likewise. | |
13275 | * w32term.c (x_update_window_end): Likewise. | |
13276 | ||
13277 | * fringe.c (draw_window_fringes): Return value now indicates if | |
13278 | any fringe bitmaps were redrawn (or there are no fringes). | |
13279 | ||
13280 | * dispextern.h (draw_window_fringes): Update prototype. | |
13281 | ||
bf06c82f ST |
13282 | 2004-10-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
13283 | ||
13284 | * macfns.c (mac_get_window_bounds): Add extern. | |
13285 | (x_real_positions): Use mac_get_window_bounds. | |
13286 | ||
13287 | * macmenu.c (update_submenu_strings): Apply 2004-09-07 change for | |
13288 | xmenu.c (YAILOM). | |
3c7d999a | 13289 | |
bf06c82f ST |
13290 | * macterm.c [!MAC_OSX]: Include Windows.h. |
13291 | (front_emacs_window): Rename from mac_front_window. All uses | |
13292 | changed. Return the frontmost non-tooltip emacs window. | |
13293 | (mac_get_window_bounds): New function. | |
13294 | (x_calc_absolute_position): Use the difference of width and height | |
13295 | between the inner and outer window. | |
13296 | (x_set_offset): Specify window position by the coordinae of the | |
13297 | outer window. Adjust the position if the title bar is completely | |
13298 | outside the screen. | |
13299 | (app_is_suspended, app_sleep_time): Remove unused variables. | |
13300 | (do_app_resume, do_app_suspend): Remove their contents because | |
13301 | window-activate/deactivate events will do the job. | |
13302 | (do_zoom_window): Remove unused variables. Make compliant to the | |
13303 | standard way of zooming. Set f->left_pos and f->top_pos. | |
13304 | (XTread_socket): Don't use argument `expected'. Don't use | |
13305 | FrontWindow to determine the clicked window. Exclude unprocessed | |
13306 | mouseUp cases in the early stage. Add parentheses to fix operator | |
13307 | precedence. | |
13308 | (XTread_socket) [TARGET_API_MAC_CARBON]: Don't specify drag area. | |
13309 | ||
c6605d63 | 13310 | 2004-10-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
d8b43276 JD |
13311 | |
13312 | * config.in: Regenerate. | |
13313 | ||
13314 | * Makefile.in (RUN_TEMACS): Check HAVE_RANDOM_HEAPSTART instead of | |
13315 | HAVE_EXECSHIELD. | |
13316 | ||
b90ee8b5 JD |
13317 | 2004-10-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13318 | ||
13319 | * xterm.c (x_find_modifier_meanings): Ignore any Super or Hyper for | |
13320 | a row if Alt or Meta has been found for that row. Also stop scanning | |
13321 | for Keysyms for that row. | |
13322 | ||
904db1a2 KS |
13323 | 2004-10-04 Kim F. Storm <storm@cua.dk> |
13324 | ||
0207b8ad KS |
13325 | * fringe.c (Ffringe_bitmaps_at_pos): Change return value from cons |
13326 | to list. Include overlay arrow bitmap in return value. | |
13327 | ||
25f7220c KS |
13328 | * xterm.c (XTset_vertical_scroll_bar): Improve handling of scroll |
13329 | bars with fractional column width. If scroll bar separates two | |
13330 | windows, move it towards the window it belongs to. Only update | |
13331 | the padding area below the scroll bar widget when necessary, | |
13332 | i.e. when scroll bar widget is created, moved, or resized. | |
13333 | ||
562020fe KS |
13334 | * xdisp.c (define_frame_cursor1): Do not change frame cursor |
13335 | while tracking/dragging mouse. | |
13336 | (x_draw_vertical_border): Do not draw line if frame has scroll bars. | |
13337 | ||
37e34af7 KS |
13338 | * window.c (coordinates_in_window): Relax check for cursor |
13339 | on vertial border between mode lines. | |
13340 | (Fset_window_fringes): Do not allow negative widths. | |
13341 | (Fset_window_scroll_bars): Likewise. | |
13342 | ||
904db1a2 KS |
13343 | * .gdbinit (pp): Shorthand for p ARG + pr. |
13344 | (ff): New command: flush frame updates (X only). | |
13345 | ||
38fe4f64 MA |
13346 | 2004-10-03 Michael Albinus <michael.albinus@gmx.de> |
13347 | ||
13348 | * fileio.c (auto_save_1) Call Ffile_modes for remote files. | |
13349 | ||
9de36315 KH |
13350 | 2004-09-30 Kenichi Handa <handa@m17n.org> |
13351 | ||
07c381ad | 13352 | * process.c (send_process): Free composition data. |
9de36315 | 13353 | |
07c381ad | 13354 | * fileio.c (Finsert_file_contents): Free composition data. |
9de36315 KH |
13355 | |
13356 | * coding.c (code_convert_region): Don't skip ASCIIs if there are | |
07c381ad KH |
13357 | compositions to encode. |
13358 | (encode_coding_string): Likewise. Free composition data. | |
13359 | ||
d5fb8dab | 13360 | 2004-09-30 Florian Weimer <fw@deneb.enyo.de> |
07c381ad KH |
13361 | |
13362 | * coding.c (code_convert_region): Free composition data. | |
9de36315 | 13363 | |
f2a54fbc KS |
13364 | 2004-09-29 Kim F. Storm <storm@cua.dk> |
13365 | ||
dc5d6435 KS |
13366 | * fringe.c: Remove limit on number of bitmaps. |
13367 | (fringe_bitmaps, fringe_faces): Change to pointers. | |
13368 | (max_fringe_bitmaps): New var. | |
13369 | (Fdefine_fringe_bitmap): Expand fringe_bitmaps and fringe_faces. | |
13370 | (init_fringe): Allocate fringe_bitmaps and fringe_faces. | |
13371 | ||
13372 | * dispextern.h (FRINGE_ID_BITS): Increase to 16 bits (64K bitmaps). | |
13373 | (struct glyph_row): Reorder fringe_bitmap related fields. | |
13374 | (struct it): Likewise. | |
13375 | ||
13376 | * w32term.c (fringe_bmp): Change to pointer. | |
13377 | (max_fringe_bmp): New var. | |
13378 | (w32_define_fringe_bitmap): Expand fringe_bmp. | |
13379 | (w32_draw_fringe_bitmap): Check max_fringe_bmp. | |
13380 | (w32_destroy_fringe_bitmap): Likewise. | |
13381 | ||
13382 | 2004-09-29 Kim F. Storm <storm@cua.dk> | |
13383 | ||
13384 | * fringe.c: Simplify last change. | |
f2a54fbc KS |
13385 | (lookup_fringe_bitmap): New function. |
13386 | (valid_fringe_bitmap_p, resolve_fringe_bitmap): Remove. | |
13387 | (Fdestroy_fringe_bitmap): Use lookup_fringe_bitmap. | |
13388 | Keep standard bitmaps in Vfringe_bitmaps. | |
13389 | (Fdefine_fringe_bitmap): Use lookup_fringe_bitmap. | |
13390 | (Fset_fringe_bitmap_face): Likewise. | |
13391 | ||
13392 | * dispextern.h (lookup_fringe_bitmap): Add prototype. | |
13393 | (valid_fringe_bitmap_p): Remove prototype. | |
13394 | ||
13395 | * xdisp.c (handle_single_display_prop): Use lookup_fringe_bitmap. | |
13396 | ||
841a8bca KS |
13397 | 2004-09-29 Kim F. Storm <storm@cua.dk> |
13398 | ||
1f2da365 KS |
13399 | * fringe.c (destroy_fringe_bitmap, init_fringe_bitmap) |
13400 | (w32_init_fringe, w32_reset_fringes): Fix bootstrap (NULL rif). | |
13401 | ||
841a8bca KS |
13402 | * dispextern.h (valid_fringe_bitmap_p): Fix prototype. |
13403 | ||
13404 | * fringe.c (Vfringe_bitmaps): New variable. | |
13405 | (syms_of_fringe): DEFVAR_LISP it. | |
13406 | (valid_fringe_bitmap_p): Rename from valid_fringe_bitmap_id_p. | |
13407 | Change arg to Lisp_Object and fail if not an integer. | |
13408 | (get_fringe_bitmap_name, resolve_fringe_bitmap) | |
13409 | (destroy_fringe_bitmap): New functions. | |
9238467d SM |
13410 | (Fdestroy_fringe_bitmap): Change arg to bitmap symbol. |
13411 | Use destroy_fringe_bitmap. Remove symbol from Vfringe_bitmaps and | |
841a8bca KS |
13412 | clear its fringe property. |
13413 | (init_fringe_bitmap): Use destroy_fringe_bitmap instead of | |
13414 | Fdestroy_fringe_bitmap. | |
13415 | (Fdefine_fringe_bitmap): Add BITMAP arg specifying new or existing | |
13416 | bitmap symbol; remove WHICH arg. Add symbol to Vfringe_bitmaps | |
13417 | and set fringe property. Signal error if no free slots. | |
13418 | (Fset_fringe_bitmap_face): Change arg to bitmap symbol. | |
13419 | (Ffringe_bitmaps_at_pos): Return bitmap symbols instead of numbers. | |
13420 | ||
13421 | * xdisp.c (handle_single_display_prop): Fringe bitmaps are now | |
13422 | symbols with a fringe property. | |
13423 | ||
4d965590 KS |
13424 | 2004-09-27 Kim F. Storm <storm@cua.dk> |
13425 | ||
13426 | * buffer.c (syms_of_buffer) <indicate-buffer-boundaries>: | |
13427 | Doc fix. Format may now be a symbol or alist, not a cons. | |
13428 | ||
13429 | * fringe.c (update_window_fringes): Handle new formats of | |
13430 | indicate-buffer-boundaries (symbol or alist). No longer | |
13431 | allow a simple cons. | |
13432 | (Ffringe_bitmaps_at_pos): Use nil value for no bitmap. | |
13433 | ||
e888c2b3 JD |
13434 | 2004-09-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13435 | ||
9238467d | 13436 | * config.in: Rebuild. |
e888c2b3 | 13437 | |
83f1cb94 JD |
13438 | 2004-09-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13439 | ||
13440 | * config.in: Rebuild. | |
13441 | ||
9dd28cae | 13442 | * Makefile.in: Run setarch i386 ./temacs if exec-shield is present. |
83f1cb94 | 13443 | |
2c51754c SM |
13444 | 2004-09-18 Stefan Monnier <monnier@iro.umontreal.ca> |
13445 | ||
13446 | * xterm.c (x_term_init): Work around a bug in some X servers. | |
13447 | ||
3df5f8aa RS |
13448 | 2004-09-18 Richard M. Stallman <rms@gnu.org> |
13449 | ||
557ca2c1 RS |
13450 | * buffer.c (syms_of_buffer) <default-major-mode>: Doc fix. |
13451 | ||
3df5f8aa RS |
13452 | * xdisp.c (try_window_reusing_current_matrix): |
13453 | Handle the case where we reach the old displayed text, | |
13454 | out of sync with the old line boundary. | |
13455 | ||
9238467d | 13456 | 2004-09-14 Stefan Monnier <monnier@iro.umontreal.ca> |
4b70e2c9 SM |
13457 | |
13458 | * fileio.c (Finsert_file_contents): Fix case of replacement in a | |
13459 | narrowed buffer. | |
13460 | ||
bfa02563 KS |
13461 | 2004-09-14 Kim F. Storm <storm@cua.dk> |
13462 | ||
a25fe164 KS |
13463 | * puresize.h (PURESIZE_RATIO): Define based on BITS_PER_EMACS_INT. |
13464 | ||
bfa02563 KS |
13465 | * xfaces.c (Qface_no_inherit): New var. |
13466 | (syms_of_xfaces): Intern and staticpro it. | |
13467 | (Finternal_make_lisp_face, Finternal_set_lisp_face_attribute) | |
13468 | (Finternal_copy_lisp_face, update_face_from_frame_parameter): | |
13469 | Don't increment face_change_count when face has non-nil | |
13470 | face-no-inherit property. | |
13471 | ||
126f9c02 SM |
13472 | 2004-09-13 Stefan Monnier <monnier@iro.umontreal.ca> |
13473 | ||
892a8eb5 SM |
13474 | * bytecode.c (BYTE_CODE_QUIT): Add missing AFTER_POTENTIAL_GC. |
13475 | (Fbyte_code): Remove dead code after `wrong_type_argument'. | |
13476 | ||
126f9c02 | 13477 | * alloc.c (Fgarbage_collect): Mark keyboards, gtk data, and specpdl |
9238467d | 13478 | before doing the mark_stack_check_gcpros since they're not on the stack. |
126f9c02 | 13479 | |
c0ad3b38 KS |
13480 | 2004-09-12 Kim F. Storm <storm@cua.dk> |
13481 | ||
13482 | * editfns.c (Fformat): Handle format strings with multiple text | |
13483 | properties. Reverse text property list from the format string, | |
13484 | so the positions are in increasing order. | |
13485 | ||
844fc085 JD |
13486 | 2004-09-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13487 | ||
13488 | * xselect.c (x_reply_selection_request): XSync and UNBLOCK before | |
13489 | x_uncatch_errors so that possible protocol errors are delivered. | |
13490 | ||
b106731c EZ |
13491 | 2004-09-10 Eli Zaretskii <eliz@gnu.org> |
13492 | ||
21065c92 EZ |
13493 | * Makefile.in (msdos.o): Depend on buffer.h, commands.h, and |
13494 | blockinput.h. | |
13495 | (dosfns.o): Depend on blockinput.h, window.h, dispextern.h, | |
13496 | charset.h, and coding.h | |
9238467d | 13497 | (w16select.o): Depend on buffer.h, charset.h, coding.h, and composite.h. |
21065c92 EZ |
13498 | (term.o): Depend on window.h and keymap.h. |
13499 | (abbrev.o): Depend on syntax.h. | |
13500 | (callint.o): Depend on keymap.h. | |
13501 | (casefiddle.o): Depend on charset.h and keymap.h. | |
13502 | (category.o): Depend on keymap.h. | |
13503 | (coding.o): Depend on dispextern.h. | |
13504 | (cmds.o): Depend on keyboard.h and keymap.h. | |
13505 | (dispnew.o): Depend on indent.h and intervals.h. | |
13506 | (doc.o): Depend on keymap.h. | |
13507 | (editfns.o): Depend on frame.h. | |
13508 | (emacs.o): Depend on dispextern.h. | |
13509 | (fileio.o): Don't depend on ccl.h. | |
13510 | (filelock.o): Depend on charset.h and coding.h. | |
13511 | (frame.o): Depend on w32term.h and macterm.h. | |
13512 | (insdel.o): Depend on region-cache.h. | |
13513 | (keyboard.o): Depend on keymap.h, w32term.h, and macterm.h. | |
13514 | (minibuf.o): Depend on $(INTERVALS_SRC) and keymap.h. | |
13515 | (search.o): Depend on $(INTERVALS_SRC). | |
13516 | (syntax.o): Depend on keymap.h, regex.h, and $(INTERVALS_SRC). | |
13517 | (window.o): Depend on keymap.h, blockinput.h, $(INTERVALS_SRC), | |
13518 | xterm.h, w32term.h, and macterm.h. | |
13519 | (xdisp.o): Depend on keyboard.h, $(INTERVALS_SRC), xterm.h, | |
13520 | w32term.h, and macterm.h. | |
13521 | (xfaces.o): Depend on keyboard.h, $(INTERVALS_SRC), | |
13522 | region-cache.h, xterm.h, w32term.h, and macterm.h. | |
13523 | (bytecode.o): Depend on dispextern.h, frame.h, and xterm.h. | |
13524 | (data.o): Depend on frame.h. | |
13525 | (fns.o): Depend on keymap.h, xterm.h, and blockinput.h. | |
13526 | (print.o): Depend on termchar.h and $(INTERVALS_SRC). | |
13527 | (lread.o): Depend on $(INTERVALS_SRC), termhooks.h, and coding.h. | |
13528 | (intervals.o): Depend on keymap.h. | |
13529 | ||
9238467d SM |
13530 | * msdos.c (msdos_set_cursor_shape, IT_display_cursor): |
13531 | Add debugging print-out to termscript. | |
b106731c | 13532 | |
64b7122d RS |
13533 | 2004-09-09 Richard M. Stallman <rms@gnu.org> |
13534 | ||
13535 | * xdisp.c (decode_mode_spec): Use current buffer for most purposes. | |
13536 | ||
5670531e RS |
13537 | 2004-09-08 Richard M. Stallman <rms@gnu.org> |
13538 | ||
6cb4a892 RS |
13539 | * window.c (Fset_window_buffer): Doc fix. |
13540 | ||
5670531e RS |
13541 | * xdisp.c (Fformat_mode_line): New arg BUFFER says which buffer to use. |
13542 | ||
7e388eb7 JL |
13543 | 2004-09-08 Dan Nicolaescu <dann@ics.uci.edu> |
13544 | ||
13545 | * minibuf.c (history_delete_duplicates): New variable. | |
13546 | (read_minibuf): Use it. | |
13547 | (syms_of_minibuf): Create the corresponding lisp variable. | |
13548 | ||
370e3587 KS |
13549 | 2004-09-08 Kim F. Storm <storm@cua.dk> |
13550 | ||
13551 | * xdisp.c (set_cursor_from_row): Also look at 'cursor' property in | |
13552 | overlay just before point. | |
13553 | ||
f844ba4e LT |
13554 | 2004-09-07 Luc Teirlinck <teirllm@auburn.edu> |
13555 | ||
13556 | * buffer.h (struct buffer): Add auto_save_file_format field. | |
9238467d SM |
13557 | * buffer.c (reset_buffer, init_buffer_once): |
13558 | Handle auto_save_file_format field. | |
f844ba4e LT |
13559 | (syms_of_buffer): Add DEFVAR_PER_BUFFER for |
13560 | `buffer-auto-save-file-format'. | |
f844ba4e LT |
13561 | * fileio.c: Delete declaration for removed Vauto_save_file_format. |
13562 | (build_annotations): Adapt to replacement of | |
13563 | `auto-save-file-format' with the new buffer-local variable | |
13564 | `buffer-auto-save-file-format'. | |
13565 | (syms_of_fileio): Delete DEFVAR_LISP for auto-save-file-format. | |
13566 | ||
f0f90717 JR |
13567 | 2004-09-07 Jason Rumney <jasonr@gnu.org> |
13568 | ||
13569 | * w32term.h (AppendMenuW_Proc): Move declaration from w32menu.c. | |
13570 | ||
9238467d SM |
13571 | * w32fns.c (w32_wnd_proc) [WM_MEASUREITEM, WM_DRAWITEM]: |
13572 | Handle Unicode menu titles. | |
f0f90717 | 13573 | |
4e14f66c KS |
13574 | 2004-09-07 Kim F. Storm <storm@cua.dk> |
13575 | ||
13576 | * xdisp.c (set_cursor_from_row): Fix last change. Only use 'cursor' | |
13577 | property from text property or overlay strings at point. | |
13578 | ||
9238467d | 13579 | 2004-09-07 Stefan Monnier <monnier@iro.umontreal.ca> |
1806714a SM |
13580 | |
13581 | * xmenu.c (update_submenu_strings): YAILOM. | |
13582 | (set_frame_menubar): Make sure last_i is initialized. | |
13583 | ||
1f06d367 JR |
13584 | 2004-09-03 Jason Rumney <jasonr@gnu.org> |
13585 | ||
1806714a | 13586 | * w32menu.c (_widget_value): Add lname and lkey. |
1f06d367 JR |
13587 | (digest_single_submenu): Set lname and lkey in widget_value |
13588 | instead of name and key. | |
13589 | (update_submenu_strings): New function. | |
13590 | (set_frame_menubar): Remove call to inhibit_garbage_collection, | |
13591 | call update_submenu_strings. | |
13592 | ||
13593 | * w32menu.c (globals_of_w32menu): Check for Unicode API. | |
13594 | (digest_single_submenu, w32_menu_show): Encode menu strings as | |
13595 | UTF-8 if Unicode API is available. | |
13596 | (utf8to16): New function. | |
13597 | (add_menu_item): Use it when calling Unicode API. | |
1806714a | 13598 | |
46540080 KS |
13599 | 2004-09-03 Kim F. Storm <storm@cua.dk> |
13600 | ||
13601 | * xdisp.c (set_cursor_from_row): Look for non-nil `cursor' property | |
13602 | in overlay or text-property strings; set cursor on corresponding | |
13603 | glyph rather than at end of the string. | |
13604 | ||
9277ba61 | 13605 | 2004-09-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
46540080 | 13606 | |
9277ba61 | 13607 | * macfns.c (x_real_positions): Save the current window port and |
1806714a SM |
13608 | set a new one before obtaining the global coordinate. |
13609 | Use FRAME_MAC_WINDOW. | |
13610 | (x_set_name, x_set_title): Encode title to UTF8. | |
13611 | Use SetWindowTitleWithCFString. | |
9277ba61 ST |
13612 | (Fx_server_version): Get correct OS version. |
13613 | ||
1806714a SM |
13614 | * macmenu.c (add_menu_item): Remove unused variable `i'. |
13615 | Don't let separator items destroy refence constants of other menu items. | |
9277ba61 ST |
13616 | |
13617 | * macterm.c (x_update_end): Move SetPortWindowPort to inside | |
13618 | BLOCK_INPUT. | |
13619 | (x_set_offset): Use FRAME_MAC_WINDOW. | |
13620 | ||
13621 | * xdisp.c (note_mouse_highlight): Set the mouse pointer shape to | |
13622 | nontext_cursor if it is on a scroll bar. | |
13623 | ||
13624 | * s/darwin.h (LIBS_CARBON): New define to specify libraries for | |
13625 | Carbon support. | |
1806714a SM |
13626 | (LD_SWITCH_SYSTEM_TEMACS): Don't link with unused libstdc++. |
13627 | Use LIBS_CARBON. | |
9277ba61 | 13628 | |
b10daec7 JD |
13629 | 2004-09-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13630 | ||
13631 | * xfns.c (x_set_name_internal): New function. Check if we shall call | |
13632 | xfree before ENCODE_UTF_8. | |
13633 | (x_set_name, x_set_title): Call x_set_name_internal. | |
13634 | ||
f7e22385 JR |
13635 | 2004-08-31 NAKAMURA Toshikazu <nr-tkz@nifty.com> (tiny change) |
13636 | ||
13637 | * w32fns.c (w32_load_font): If a BDF font is already loaded, do not | |
13638 | reload it. | |
13639 | ||
2bf436c3 JD |
13640 | 2004-08-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13641 | ||
1806714a | 13642 | * macmenu.c (_widget_value): Add lname and lkey. |
16ceacc2 JD |
13643 | (single_submenu): Set lname and lkey in widget_value |
13644 | instead of name and key. | |
13645 | (update_submenu_strings): New function. | |
13646 | (set_frame_menubar): Remove call to inhibit_garbage_collection, | |
13647 | call update_submenu_strings. | |
13648 | ||
2bf436c3 JD |
13649 | * xmenu.c (digest_single_submenu): Set lname and lkey in widget_value |
13650 | instead of name and key. | |
13651 | (update_submenu_strings): New function. | |
13652 | (set_frame_menubar): Remove call to inhibit_garbage_collection, | |
ec867797 | 13653 | call update_submenu_strings. |
2bf436c3 JD |
13654 | |
13655 | * gtkutil.h (_widget_value): Added lname and lkey. | |
13656 | ||
11715f92 ST |
13657 | 2004-08-30 Steven Tamm <steventamm@mac.com> |
13658 | ||
13659 | * macmenu.c (mac_menu_show): Remove shadowing of menu variable | |
13660 | by using different names for inner loop variables. | |
13661 | ||
5500be54 JD |
13662 | 2004-08-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13663 | ||
059cd329 JD |
13664 | * xmenu.c (set_frame_menubar): Reintroduce inhibit_garbage_collection |
13665 | from 2002-07-15T00:01:34Z!raeburn@raeburn.org so that strings from ENCODE_UTF_8 isn't GC:ed before used. | |
13666 | ||
5500be54 JD |
13667 | * gtkutil.c (xg_create_frame_widgets): Compensate for tool bar when |
13668 | tool bar items is 0. | |
13669 | ||
383418e5 ST |
13670 | 2004-08-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
13671 | ||
13672 | * macmenu.c (ENCODE_MENU_STRING): Added to handle multibyte | |
13673 | strings in menu items. | |
13674 | (single_submenu): Use ENCODE_MENU_STRING | |
13675 | (mac_menu_show): Use ENCODE_MENU_STRING. Reset grabbed because | |
13676 | button release isn't passed to event loop | |
1ae8d759 | 13677 | (add_menu_item): Use SetMenuItemWithCFString. |
383418e5 | 13678 | |
6eb3ee72 ST |
13679 | 2004-08-26 Steven Tamm <steventamm@mac.com> |
13680 | ||
13681 | * fileio.c (Fread_file_name): Call x_file_dialog on carbon on | |
7e26f91b KS |
13682 | tool-bar/menu click. |
13683 | * macfns.c (Fx_file_dialog): Implement using NavServices. | |
6eb3ee72 | 13684 | |
10b43ac3 JD |
13685 | 2004-08-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13686 | ||
2728b5d0 JD |
13687 | * xterm.c (x_catch_errors_unwind): Do not XSync if display has closed. |
13688 | ||
10b43ac3 JD |
13689 | * xfns.c (x_window_to_frame, x_any_window_to_frame) |
13690 | (x_non_menubar_window_to_frame, x_menubar_window_to_frame) | |
13691 | (x_top_window_to_frame): Return 0 if wdesc is None. | |
13692 | ||
2ee3b79e RS |
13693 | 2004-08-22 Richard M. Stallman <rms@gnu.org> |
13694 | ||
13695 | * process.c (process_send_signal) [SIGNALS_VIA_CHARACTERS, | |
13696 | HAVE_TERMIOS]: If there's no char for this signal, drop through | |
13697 | and use system calls. | |
13698 | ||
13699 | * bytecode.c (Fbyte_code) <unwind-protect>: Cannot GC. | |
13700 | ||
9a1ba2ea KS |
13701 | 2004-08-20 Kim F. Storm <storm@cua.dk> |
13702 | ||
13703 | * process.c (wait_reading_process_output): Rename from | |
13704 | wait_reading_process_input. All uses changed. | |
13705 | (wait_reading_process_output_1): Rename from | |
13706 | wait_reading_process_input_1. All uses changed. | |
13707 | ||
13708 | * dispnew.c (Fsleep_for): Remove obsolete code. | |
13709 | ||
295f3b30 KH |
13710 | 2004-08-20 Kenichi Handa <handa@m17n.org> |
13711 | ||
13712 | * syntax.c (skip_chars): Fix for unibyte case. | |
13713 | ||
27615979 SM |
13714 | 2004-08-19 Stefan Monnier <monnier@iro.umontreal.ca> |
13715 | ||
13716 | * syntax.c (char_quoted): Mixup byte/char pos. | |
13717 | (back_comment): Fixup globals in all cases. | |
13718 | ||
00267f94 JD |
13719 | 2004-08-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13720 | ||
13721 | * xfns.c (x_set_name, x_set_title): Encode title to UTF8 before | |
13722 | passing it to gtk_window_set_title. | |
13723 | ||
2439909e KS |
13724 | 2004-08-19 Kim F. Storm <storm@cua.dk> |
13725 | ||
6ba0f14c KS |
13726 | * process.c (wait_reading_process_input): Clean up. |
13727 | Add wait_for_cell, wait_proc, and just_wait_proc args | |
13728 | to avoid overloading `read_kbd' and `do_display' args. | |
13729 | Change read_kbd arg to int. All callers changed. | |
13730 | ||
2439909e KS |
13731 | * process.c (process_send_signal): Use CDISABLE. |
13732 | ||
13733 | * sysdep.c (child_setup_tty, init_sys_modes): Use CDISABLE. | |
13734 | ||
101c421e KS |
13735 | 2004-08-18 Kim F. Storm <storm@cua.dk> |
13736 | ||
13737 | * process.c (Faccept_process_output): Add arg JUST-THIS-ONE; | |
13738 | forward to wait_reading_process_input via DO_DISPLAY arg. | |
13739 | (wait_reading_process_input): If DO_DISPLAY < 0 for a process | |
13740 | object, only process output from that process; also inhibit | |
13741 | running timers if DO_DISPLAY==-2. | |
13742 | ||
c438dc33 KS |
13743 | 2004-08-17 Kim F. Storm <storm@cua.dk> |
13744 | ||
13745 | * process.c (process_send_signal): Fix last change--use | |
13746 | _POSIX_VDISABLE instead of CVDISABLE when available. | |
13747 | ||
8afc13c6 RS |
13748 | 2004-08-16 Richard M. Stallman <rms@gnu.org> |
13749 | ||
13750 | * sysdep.c (child_setup_tty) [SIGNALS_VIA_CHARACTERS]: | |
13751 | Set VQUIT and VINTR chars to the standard ones if they are unset. | |
13752 | [AIX]: Don't do that here. And don't force VINTR to standard | |
13753 | when SIGNALS_VIA_CHARACTERS. | |
13754 | ||
c438dc33 | 13755 | * process.c (process_send_signal) |
5e1a6e32 | 13756 | [SIGNALS_VIA_CHARACTERS, HAVE_TERMIOS]: Clean up. |
8afc13c6 RS |
13757 | Do nothing if the character is CVDISABLE. |
13758 | ||
13759 | * xfaces.c (merge_face_ref): Specifying `unspecified' is a no-op. | |
13760 | ||
c438dc33 | 13761 | * intervals.c (move_if_not_intangible): |
8afc13c6 RS |
13762 | Force POSITION to be between BEGV and ZV. |
13763 | ||
6dad1714 JPW |
13764 | 2004-08-14 John Paul Wallington <jpw@gnu.org> |
13765 | ||
13766 | * buffer.c (Frestore_buffer_modified_p): Doc fix. | |
13767 | ||
13768 | * fileio.c (Fread_file_name): Doc fix. | |
13769 | ||
13770 | * minibuf.c (syms_of_minibuf) <completion-ignore-case>: Doc fix. | |
13771 | ||
2bd77330 LT |
13772 | 2004-08-09 Luc Teirlinck <teirllm@auburn.edu> |
13773 | ||
13774 | * keymap.c (Fmake_keymap, Fmap_keymap, Fwhere_is_internal): Doc fixes. | |
13775 | ||
c90e7e43 LT |
13776 | 2004-08-08 Luc Teirlinck <teirllm@auburn.edu> |
13777 | ||
13778 | * keyboard.c: Declare Qdisabled_command_function instead of | |
8392e138 | 13779 | Qdisabled_command_hook. |
c90e7e43 | 13780 | (Fcommand_execute): Use Qdisabled_command_function instead of |
8392e138 | 13781 | Qdisabled_command_hook. |
c90e7e43 LT |
13782 | (syms_of_keyboard): Ditto. |
13783 | ||
81909a1a LT |
13784 | 2004-08-07 Luc Teirlinck <teirllm@auburn.edu> |
13785 | ||
13786 | * keymap.c (Flocal_key_binding, Fglobal_key_binding) | |
13787 | (syms_of_keymap) <key-translation-map>: Doc fixes. | |
13788 | ||
0cedd530 SM |
13789 | 2004-08-07 Stefan Monnier <monnier@iro.umontreal.ca> |
13790 | ||
1725a7c9 SM |
13791 | * window.c (window_list_1): YAILOM. |
13792 | ||
0cedd530 SM |
13793 | * fileio.c (make_temp_name): Handle multibyte prefixes. |
13794 | ||
2515a131 LT |
13795 | 2004-08-06 Luc Teirlinck <teirllm@auburn.edu> |
13796 | ||
13797 | * keyboard.c (syms_of_keyboard) <overriding-terminal-local-map>: | |
13798 | Doc fix. | |
13799 | ||
c8b20fb7 KH |
13800 | 2004-08-03 Kenichi Handa <handa@m17n.org> |
13801 | ||
13802 | * coding.c (decode_coding_string): Adjust coding->consumed, and | |
13803 | etc. with shrinked_bytes. | |
13804 | ||
fb8b092b KS |
13805 | 2004-08-03 Kim F. Storm <storm@cua.dk> |
13806 | ||
13807 | * indent.c (compute_motion): Fix check for full width window | |
13808 | in non-window case. Do not count left truncation glyph on | |
13809 | window systems. | |
13810 | ||
df133612 LT |
13811 | 2004-08-02 Luc Teirlinck <teirllm@auburn.edu> |
13812 | ||
13813 | * data.c (Finteractive_form): Doc fix. | |
13814 | ||
0f7a93c1 KS |
13815 | 2004-08-02 Kim F. Storm <storm@cua.dk> |
13816 | ||
13817 | * indent.c (compute_motion): Use actual window width if WIDTH is -1, | |
13818 | properly accounting for continuation glyph on non-window systems. | |
13819 | (Fcompute_motion): Use actual window width if WIDTH is nil, and | |
13820 | actual window width/height if TOPOS is nil, properly accounting for | |
13821 | continuation glyphs on non-window systems, and optional header lines. | |
13822 | (vmotion): Let compute_motion calculate actual window width. | |
13823 | ||
13824 | * window.c (window_scroll_line_based): Let compute_motion | |
13825 | calculate actual window width. | |
13826 | ||
f491e1ed KS |
13827 | 2004-08-02 Kim F. Storm <storm@cua.dk> |
13828 | ||
13829 | * process.c (read_process_output): Use whole read buffer. | |
13830 | Don't trigger adaptive read buffering on errors. | |
13831 | ||
83f64226 LT |
13832 | 2004-07-31 Luc Teirlinck <teirllm@auburn.edu> |
13833 | ||
13834 | * keymap.c (Fset_keymap_parent, Fdefine_prefix_command): Doc fixes. | |
13835 | ||
1d1c7e75 | 13836 | * keyboard.c (syms_of_keyboard) <disable-point-adjustment>: Doc fix. |
83f64226 LT |
13837 | |
13838 | * callint.c (Fcall_interactively): Doc fix. | |
13839 | ||
8afc13c6 RS |
13840 | 2004-07-30 Richard M. Stallman <rms@gnu.org> |
13841 | ||
13842 | * abbrev.c (Fexpand_abbrev): Undo previous change. | |
13843 | ||
7c111482 KS |
13844 | 2004-07-30 Kim F. Storm <storm@cua.dk> |
13845 | ||
13846 | * editfns.c (Fformat): Allocate extra (dummy) element in info. | |
13847 | ||
ee945d08 LT |
13848 | 2004-07-28 Luc Teirlinck <teirllm@auburn.edu> |
13849 | ||
13850 | * eval.c (Fdefvar, Fdefconst): Doc fixes. | |
13851 | ||
3f911c94 KS |
13852 | 2004-07-27 Kim F. Storm <storm@cua.dk> |
13853 | ||
13854 | * xdisp.c (move_it_in_display_line_to): Check BUFFER_POS_REACHED_P after | |
13855 | we have ensured that the glyph fits on the current line (or returned | |
13856 | MOVE_LINE_CONTINUED otherwise). | |
13857 | ||
f29ff8c7 KS |
13858 | 2004-07-26 Kim F. Storm <storm@cua.dk> |
13859 | ||
13860 | * xdisp.c (move_it_in_display_line_to): If overflow-newline-into-fringe | |
13861 | is enabled, return MOVE_LINE_CONTINUED rather than MOVE_POS_MATCH_OR_ZV | |
13862 | if target position is at end of display line but char is not a newline. | |
13863 | ||
81159bb9 RS |
13864 | 2004-07-25 Richard M. Stallman <rms@gnu.org> |
13865 | ||
ab431b61 RS |
13866 | * window.c (coordinates_in_window): Return ON_SCROLL_BAR |
13867 | instead of ON_VERTICAL_BORDER, when on scroll bar. | |
13868 | (Fcoordinates_in_window_p): Handle ON_SCROLL_BAR--return nil. | |
13869 | ||
13870 | * dispextern.h (enum window_part): Add ON_SCROLL_BAR. | |
13871 | ||
f29ff8c7 | 13872 | * window.c (Fcoordinates_in_window_p): |
81159bb9 RS |
13873 | Take account of FRAME_INTERNAL_BORDER_WIDTH. |
13874 | ||
13875 | * alloc.c (check_cons_list): New function (contents commented out). | |
13876 | ||
fc820cc5 LT |
13877 | 2004-07-24 Luc Teirlinck <teirllm@auburn.edu> |
13878 | ||
13879 | * xfaces.c (Fcolor_supported_p): Doc fix. | |
13880 | ||
13881 | * frame.c (Fselect_frame, Fset_frame_selected_window) | |
13882 | (Fframe_visible_p, Fraise_frame): Doc fixes. | |
13883 | ||
289978b5 LT |
13884 | 2004-07-24 Richard M. Stallman <rms@gnu.org> |
13885 | ||
78819ebb | 13886 | * keyboard.h (not_single_kboard_state): Declare. |
7630911d RS |
13887 | |
13888 | * fileio.c (Fwrite_region): Doc fix. | |
13889 | ||
13890 | * window.c (Fwindow_at): Take account of FRAME_INTERNAL_BORDER_WIDTH. | |
13891 | ||
13892 | * abbrev.c (Fexpand_abbrev): Run Qpre_abbrev_expand_hook | |
13893 | only when a real abbrev is present. | |
13894 | ||
289978b5 LT |
13895 | * xfns.c (x_icon_verify): New function. |
13896 | (Fx_create_frame): Use it. | |
13897 | ||
d5fb8dab | 13898 | 2004-07-22 Barry Fishman <barry_fishman@att.net> (tiny change) |
63cc10ae KS |
13899 | |
13900 | * s/gnu-linux.h: Use GC_MARK_STACK if __amd64__ is defined. | |
13901 | ||
36f826d4 KS |
13902 | 2004-07-21 Kim F. Storm <storm@cua.dk> |
13903 | ||
13904 | * window.h (struct glyph_matrix): New members nrows_scale_factor | |
13905 | and ncols_scale_factor. | |
13906 | ||
13907 | * window.c (make_window): Initialize nrows_scale_factor and | |
13908 | ncols_scale_factor members. | |
13909 | ||
13910 | * dispnew.c (margin_glyphs_to_reserve): Apply ncols_scale_factor. | |
13911 | (allocate_matrices_for_frame_redisplay): Fix left/right margin mix-up. | |
13912 | (required_matrix_height): Apply nrows_scale_factor. | |
13913 | (required_matrix_width): Apply ncols_scale_factor. | |
13914 | ||
13915 | * xdisp.c (display_line): Increment nrows_scale_factor and set | |
13916 | fonts_changed_p if past last allocated row. | |
13917 | (append_glyph, append_composite_glyph, produce_image_glyph) | |
13918 | (append_stretch_glyph): Increment ncols_scale_factor and set | |
13919 | fonts_changed_p if current area is full. | |
13920 | ||
5fc1c546 JD |
13921 | 2004-07-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13922 | ||
13923 | * widget.c (EmacsFrameDestroy): Don't abort if normal_gc is 0. | |
13924 | ||
cb7516e5 LT |
13925 | 2004-07-19 Luc Teirlinck <teirllm@auburn.edu> |
13926 | ||
13927 | * window.c (Fpos_visible_in_window_p, Fset_window_hscroll) | |
13928 | (Fwindow_inside_pixel_edges, Fwindow_end, Fset_window_point) | |
13929 | (Fset_window_start, Fscroll_up, Fscroll_down) | |
13930 | (Fother_window_for_scrolling, Fscroll_other_window) | |
13931 | (Fsave_window_excursion, Fset_window_vscroll) | |
13932 | (syms_of_window) <window-size-fixed>: Doc fixes. | |
13933 | ||
b6189c3b | 13934 | 2004-07-19 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
dda741ec JR |
13935 | |
13936 | * w32fns.c (Fx_file_dialog): Use ENCODE_FILE instead of | |
13937 | ENCODE_SYSTEM for filenames. | |
13938 | ||
bfcf6608 ST |
13939 | 2004-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
13940 | ||
13941 | * mac.c (sys_select): Block input around call to | |
13942 | ReceiveNextEvent to prevent breakage. Correctly handle | |
13943 | blocking on event queue only by calling ReceiveNextEvent | |
13944 | instead of select (since GUI events aren't on an fd). | |
13945 | (sys_read): Remove function | |
1ae8d759 | 13946 | * sysdep.c: Remove redefine of read to sys_read if HAVE_CARBON. |
bfcf6608 | 13947 | |
e082ac9d ST |
13948 | 2004-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
13949 | ||
13950 | * mac.c (sys_select): Redo sys_select to use alarm-based | |
cb7516e5 | 13951 | polling instead of 1 sec timeouts (like solaris). |
e082ac9d | 13952 | |
cb7516e5 | 13953 | * macterm.c (x_make_frame_visible): Comment in polling on |
e082ac9d ST |
13954 | frame creation. |
13955 | ||
1ae8d759 | 13956 | * keyboard.c: Undef SIGIO on Carbon. |
e082ac9d ST |
13957 | |
13958 | * atimer.c (alarm_signal_handler): Call alarm handlers after | |
13959 | scheduling. | |
13960 | ||
1ae8d759 | 13961 | * eval.c (Feval): Remove quit_char test. |
e082ac9d ST |
13962 | |
13963 | * process.c (wait_reading_process_input): Remove clearing | |
13964 | stdin for select call on process input. | |
13965 | ||
4b9da0fb LT |
13966 | 2004-07-18 Luc Teirlinck <teirllm@auburn.edu> |
13967 | ||
1204e81c LT |
13968 | * xdisp.c (syms_of_xdisp) <window-scroll-functions>: Correct |
13969 | capitalization error in docstring. | |
4b9da0fb | 13970 | |
26503ad2 JB |
13971 | 2004-07-17 Juanma Barranquero <lektu@terra.es> |
13972 | ||
13973 | * keyboard.c (not_single_kboard_state): Do nothing unless | |
13974 | MULTI_KBOARD is defined. | |
13975 | ||
3751eb00 RS |
13976 | 2004-07-17 Richard M. Stallman <rms@gnu.org> |
13977 | ||
13978 | * window.c (coordinates_in_window): Inside the window but outside | |
13979 | its box to the L or R, return ON_VERTICAL_BORDER. | |
13980 | (window_list_1): Rotate the list to start with WINDOW. | |
13981 | ||
13982 | * print.c (print_preprocess): Test for print_depth at limit | |
13983 | before entering in being_printed. | |
13984 | ||
13985 | * keyboard.c (not_single_kboard_state): New function. | |
13986 | (stuff_buffered_input): Now no-op only if no SIGTSTP. | |
13987 | ||
13988 | * frame.c (Fdelete_frame): If we're in single_bboard_state on | |
13989 | this kboard, and we delete its last frame, go to any_kboard_state. | |
13990 | ||
13991 | * buffer.c (syms_of_buffer) <transient-mark-mode>: Doc fix. | |
13992 | ||
b6189c3b | 13993 | 2004-07-15 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
62eb6ca9 JR |
13994 | |
13995 | * w32fns.c (Fx_file_dialog): Encode strings in system coding | |
13996 | system before passing them to OS functions for display. | |
13997 | ||
0f6af254 DK |
13998 | 2004-07-15 David Kastrup <dak@gnu.org> |
13999 | ||
f9253326 KS |
14000 | * search.c (syms_of_search): Staticpro `saved_last_thing_searched'. |
14001 | Apparently fixes an abort condition. | |
0f6af254 | 14002 | |
386c8f42 LT |
14003 | 2004-07-14 Luc Teirlinck <teirllm@auburn.edu> |
14004 | ||
14005 | * fileio.c (Fvisited_file_modtime): Return a list of two integers, | |
14006 | instead of a cons. | |
14007 | ||
d495ccfc | 14008 | 2004-07-14 K\e,Aa\e(Broly L\e$,1 q\e(Brentey <lorentey@elte.hu> |
366511da MB |
14009 | |
14010 | * keyboard.c (echo_dash): Do nothing if there already is a dash | |
14011 | at the end of the echo string. | |
14012 | ||
f85409d3 KS |
14013 | 2004-07-12 Kim F. Storm <storm@cua.dk> |
14014 | ||
14015 | * alloc.c (mark_object): Only look at Lisp_Misc_Save_Value | |
14016 | if GC_MARK_STACK. | |
14017 | ||
0ba2e87b LT |
14018 | 2004-07-10 Luc Teirlinck <teirllm@auburn.edu> |
14019 | ||
da38045d LT |
14020 | * buffer.c (Fswitch_to_buffer, Fpop_to_buffer): Doc fixes. |
14021 | ||
9dd28cae | 14022 | * window.c (Fwindow_buffer, Fother_window, Fget_lru_window) |
0ba2e87b LT |
14023 | (Fget_largest_window, Fget_buffer_window, Fdelete_windows_on) |
14024 | (Freplace_buffer_in_windows, Fset_window_buffer) | |
14025 | (Fselect-window, Fdisplay-buffer, Fsplit_window): Doc fixes. | |
14026 | (syms_of_window): Expand docstring of `display-buffer-function'. | |
14027 | ||
5668fbb8 LT |
14028 | 2004-07-09 Luc Teirlinck <teirllm@auburn.edu> |
14029 | ||
14030 | * editfns.c (Ffloat_time, Fformat_time_string, Fdecode_time) | |
14031 | (Fcurrent_time_string, Fcurrent_time_zone): Mention in docstrings | |
14032 | that time values of the type (HIGH . LOW) are considered obsolete. | |
14033 | ||
a085bf9d LT |
14034 | 2004-07-06 Luc Teirlinck <teirllm@auburn.edu> |
14035 | ||
669de2fb LT |
14036 | * keyboard.c (syms_of_keyboard): Fix `keyboard-translate-table' |
14037 | docstring. | |
14038 | ||
bac66325 | 14039 | * fns.c (Fclear_string): Declare `len' before call to CHECK_STRING. |
a085bf9d | 14040 | |
8e975df9 JPW |
14041 | 2004-07-06 John Paul Wallington <jpw@gnu.org> |
14042 | ||
14043 | * eval.c (Fdefmacro): Signal an error if NAME is not a symbol. | |
14044 | ||
fa164e6a JPW |
14045 | * fns.c (Fclear_string): Signal an error if STRING is not a string. |
14046 | ||
2bac9bb1 JD |
14047 | 2004-07-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14048 | ||
14049 | * macterm.c (mac_initialize_display_info): Use CGGetActiveDisplayList | |
14050 | instead of CGMainDisplayID (only in OSX 10.2 and later). | |
14051 | ||
316ef0dc JPW |
14052 | 2004-07-04 John Paul Wallington <jpw@gnu.org> |
14053 | ||
14054 | * fileio.c (read_file_name_completion_ignore_case): New variable. | |
14055 | (syms_of_fileio): Declare and initialise it. | |
14056 | (Fread_file_name): Bind `completion-ignore-case' to respect it. | |
14057 | ||
2a1a35c6 EZ |
14058 | 2004-07-03 Eli Zaretskii <eliz@gnu.org> |
14059 | ||
14060 | * msdos.c (dos_rawgetc): Use make_number to produce Lisp objects | |
14061 | for event.x and event.y. | |
14062 | ||
33a72331 KH |
14063 | 2004-07-01 Kenichi Handa <handa@m17n.org> |
14064 | ||
14065 | * w32select.c (Fw32_set_clipboard_data): Update `nbytes' correctly | |
14066 | after getting a new string by pre-write-conversion. | |
14067 | ||
9238467d | 14068 | 2004-06-30 Stefan Monnier <monnier@iro.umontreal.ca> |
07a6ab76 SM |
14069 | |
14070 | * xterm.c (x_detect_focus_change): Remove unused var `nr_events'. | |
14071 | (x_calc_absolute_position): Remove unused var `child'. | |
14072 | ||
14073 | * xfaces.c (x_supports_face_attributes_p) | |
14074 | (Fdisplay_supports_face_attributes_p): YAILOM. | |
14075 | (tty_supports_face_attributes_p): Remove unused var `i'. | |
14076 | ||
14077 | * syntax.c (skip_chars): Remove unused labels fwd_unibyte_ok and | |
14078 | back_unibyte_ok. | |
14079 | ||
14080 | * search.c (match_limit, Fmatch_data, Fset_match_data): YAILOM. | |
14081 | ||
647b07d1 AS |
14082 | * fontset.c (Fset_fontset_font): Remove unused vars `family' and |
14083 | `registry'. | |
07a6ab76 SM |
14084 | |
14085 | * Makefile.in (${etc}DOC): Fix file name of make-docfile. | |
14086 | ||
f96ec754 AS |
14087 | 2004-06-30 Andreas Schwab <schwab@suse.de> |
14088 | ||
14089 | * image.c (CHECK_LIB_AVAILABLE): Add third parameter LIBRARIES. | |
14090 | (Finit_image_library): Pass LIBRARIES through to | |
14091 | CHECK_LIB_AVAILABLE. Declare parameters. Doc fix. | |
14092 | (lookup_image_type): Pass Qnil as second argument to | |
14093 | Finit_image_library. | |
14094 | ||
78819ebb | 14095 | * lisp.h (Finit_image_library): Declare. |
f96ec754 | 14096 | |
59feca74 | 14097 | 2004-06-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
c8d09ad8 | 14098 | |
31983645 AS |
14099 | * macterm.c (do_window_activate, do_window_deactivate): Remove. |
14100 | (XTread_socket): Send mouse button events to the toolbox | |
14101 | dispatcher even when the mouse is grabbed. Don't process window | |
5e1a6e32 | 14102 | activate events for non-Emacs windows. Replace function calls to |
31983645 AS |
14103 | do_window_activate and do_window_deactivate with their contents. |
14104 | Reset mouse grabbing status when a window is deactivated. | |
59feca74 | 14105 | |
c61278bb ST |
14106 | 2004-06-29 Steven Tamm <steventamm@mac.com> |
14107 | ||
14108 | * macterm.c (mac_get_emulated_btn) | |
14109 | (mac_event_to_emacs_modifiers): Fix emulated mouse button | |
14110 | support to correctly mask out modifiers. | |
14111 | ||
c3762cbd DK |
14112 | 2004-06-29 David Kastrup <dak@gnu.org> |
14113 | ||
14114 | * search.c (Fset_match_data): Allow buffer before end of list | |
14115 | which can happen if set-match-data is using a pre-consed list. | |
14116 | ||
c61278bb | 14117 | 2004-06-28 Steven Tamm <steventamm@mac.com> |
e439b925 ST |
14118 | |
14119 | * macterm.c (XTread_socket): Correctly set the frame position | |
14120 | after the window is moved. | |
14121 | ||
74cdfe05 JD |
14122 | 2004-06-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14123 | ||
14124 | * gtkutil.c (xg_get_image_for_pixmap): Call g_object_unref on | |
14125 | gpix and gmask just before return to avoid memory leak. | |
03ecb80f JD |
14126 | (xg_get_image_for_pixmap): Add workaround for monochrome displays |
14127 | so insensitive and activated icons look ok. | |
74cdfe05 | 14128 | |
ef544dc8 JR |
14129 | 2004-06-27 Jason Rumney <jasonr@gnu.org> |
14130 | ||
14131 | * w32fns.c (file_dialog_callback): Disable edit control if set | |
14132 | to directories only on CDN_INITDONE message. | |
14133 | (Fx_file_dialog): Default to directories only when prompt starts | |
14134 | with "Dired". | |
14135 | ||
7b7990cc KS |
14136 | 2004-06-25 Kim F. Storm <storm@cua.dk> |
14137 | ||
14138 | * alloc.c (allocate_misc): Update total_free_markers. | |
14139 | (free_misc): New function. | |
14140 | (safe_alloca_unwind, free_marker): Use it. | |
14141 | ||
14142 | * lisp.h (free_misc): Add prototype. | |
14143 | ||
14144 | * fns.c (Fmapconcat, Fmapcar): Remove superfluous GCPROs. | |
14145 | ||
d8c379f8 RS |
14146 | 2004-06-24 Richard M. Stallman <rms@gnu.org> |
14147 | ||
14148 | * emacs.c (Vsignal_USR1_hook, Vsignal_USR2_hook): Definitions deleted. | |
14149 | (syms_of_emacs): Lisp variables deleted. | |
14150 | ||
559cdd07 DK |
14151 | 2004-06-23 David Kastrup <dak@gnu.org> |
14152 | ||
94939b84 DK |
14153 | * search.c (Freplace_match): Adjust the match-data more thoroughly |
14154 | when replacing strings in the buffer. | |
14155 | (Fmatch_data): When INTEGERS is non-nil and the last match was in | |
14156 | a buffer, add the buffer as last element to the match data. | |
14157 | (Fset_match_data): If an additional element of the match-data is a | |
14158 | buffer, restore it to last_thing_searched. | |
c8d09ad8 | 14159 | (save_search_regs): Save last_thing_searched as part of the match data. |
559cdd07 DK |
14160 | (restore_match_data): Restore it again. |
14161 | ||
dce417e7 LT |
14162 | 2004-06-23 Luc Teirlinck <teirllm@auburn.edu> |
14163 | ||
14164 | * keymap.c (Ftext_char_description): Doc fix. | |
14165 | * doc.c (Fsnarf_documentation): Doc fix. | |
14166 | ||
ef54b2d0 KS |
14167 | 2004-06-22 Kim F. Storm <storm@cua.dk> |
14168 | ||
b5bc4d05 KS |
14169 | * fns.c (Fmapcar, Fmapconcat): GCPRO the args array. |
14170 | ||
ef54b2d0 KS |
14171 | * lisp.h (struct Lisp_Save_Value): New member dogc. |
14172 | (SAFE_ALLOCA_LISP): Change second arg to number of elements. | |
14173 | Set dogc member in Lisp_Save_Value object so it will be GC'ed. | |
14174 | (SAFE_FREE_LISP): New macro. | |
14175 | ||
14176 | * alloc.c (safe_alloca_unwind): Clear dogc and pointer members. | |
14177 | (make_save_value): Init new dogc member. | |
14178 | (mark_object): Mark Lisp_Save_Value pointer array if dogc is set. | |
14179 | ||
14180 | * fns.c (Fmapconcat, Fmapcar): Use new SAFE_ALLOCA_LISP and | |
14181 | SAFE_FREE_LISP macros. | |
14182 | ||
3d33d993 KS |
14183 | 2004-06-22 Kim F. Storm <storm@cua.dk> |
14184 | ||
14185 | * lisp.h (SAFE_ALLOCA_LISP): New macro to allocate Lisp_Objects. | |
14186 | Temporarily inhibits GC if memory is xmalloc'ed, as the Lisp_Objects | |
14187 | in that memory area are unknown to GC. Add comments. | |
14188 | ||
14189 | * fns.c (Fmapconcat, Fmapcar): Use SAFE_ALLOCA_LISP. | |
14190 | ||
5c917f98 KS |
14191 | 2004-06-21 Kim F. Storm <storm@cua.dk> |
14192 | ||
14193 | * lisp.h (MAX_ALLOCA): Define here. | |
14194 | (safe_alloca_unwind): Add prototype. | |
14195 | (USE_SAFE_ALLOCA, SAFE_ALLOCA, SAFE_FREE): New macros. | |
14196 | ||
14197 | * alloc.c (safe_alloca_unwind): New function. | |
14198 | ||
14199 | * casefiddle.c (casify_object): Use SAFE_ALLOCA. | |
14200 | ||
14201 | * charset.c (Fstring): Use SAFE_ALLOCA. | |
14202 | ||
14203 | * coding.c (MAX_ALLOCA): Remove define. | |
14204 | ||
14205 | * data.c (MAX_ALLOCA): Remove define. | |
14206 | (Faset): Use SAFE_ALLOCA. | |
14207 | ||
14208 | * editfns.c (Fformat, Ftranspose_regions): Use SAFE_ALLOCA. | |
14209 | ||
14210 | * fns.c (string_make_multibyte, string_to_multibyte) | |
14211 | (string_make_unibyte, Fmapconcat, Fmapcar): Use SAFE_ALLOCA. | |
14212 | (MAX_ALLOCA): Remove define. | |
14213 | (Fbase64_encode_region, Fbase64_encode_string) | |
14214 | (Fbase64_decode_region, Fbase64_decode_string): Use SAFE_ALLOCA. | |
14215 | (Fbase64_encode_region, Fbase64_encode_string): Fix potential | |
14216 | memory leak if encoding fails. | |
14217 | ||
14218 | * xdisp.c (add_to_log): Use SAFE_ALLOCA. | |
14219 | ||
9a09408e EZ |
14220 | 2004-06-21 Eli Zaretskii <eliz@gnu.org> |
14221 | ||
14222 | * print.c (Fwith_output_to_temp_buffer): Doc fix. | |
14223 | ||
376de739 RS |
14224 | 2004-06-20 Richard M. Stallman <rms@gnu.org> |
14225 | ||
14226 | * xfaces.c (Finternal_copy_lisp_face): Small cleanup; doc fix. | |
14227 | ||
14228 | * search.c (match_limit): Cleaner err msg when no match data available. | |
14229 | ||
14230 | * window.c (syms_of_window): Doc fix. | |
14231 | ||
14232 | * keyboard.c (command_loop_1): Handle values `only' and `identity' | |
14233 | for Vtransient_mark_mode. | |
14234 | ||
14235 | * buffer.c (syms_of_buffer): Doc fix. | |
14236 | ||
acd81db9 DK |
14237 | 2004-06-21 David Kastrup <dak@gnu.org> |
14238 | ||
14239 | * minibuf.c (Ftry_completion, Fall_completions): Do lazy binding | |
14240 | and unbinding of `case-fold-search' according to | |
14241 | `completion-ignore-case' around calls of string-match and | |
14242 | predicates, respectively. Should give satisfactory performance | |
14243 | in all relevant cases. | |
14244 | ||
f303762d JD |
14245 | 2004-06-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14246 | ||
95911c74 JD |
14247 | * xterm.c (x_draw_image_foreground_1): Subtract slice.x/y from |
14248 | clip_x/y_origin. | |
14249 | ||
a6cb6b78 JD |
14250 | * fns.c (string_to_multibyte): Use xmalloc/xfree instead of alloca. |
14251 | ||
f303762d JD |
14252 | * macfns.c (Fx_display_color_cells): Do not limit return value to 256. |
14253 | ||
14254 | * macterm.c (mac_initialize_display_info): Initialize n_planes correctly | |
14255 | on Mac OSX. | |
14256 | ||
bbdb2684 LT |
14257 | 2004-06-16 Luc Teirlinck <teirllm@auburn.edu> |
14258 | ||
14259 | * buffer.c (syms_of_buffer): Clarify `fill-column' docstring. | |
14260 | ||
5ea48b1c KS |
14261 | 2004-06-16 Kim F. Storm <storm@cua.dk> |
14262 | ||
14263 | * dispextern.h (Vimage_types): Remove extern. | |
14264 | ||
803aac3e MB |
14265 | 2004-06-16 Miles Bader <miles@gnu.org> |
14266 | ||
14267 | * image.c (lookup_image_type): Initialize image type if necessary. | |
14268 | ||
cdc97764 KS |
14269 | 2004-06-15 Kim F. Storm <storm@cua.dk> |
14270 | ||
c4a5739c KS |
14271 | * xdisp.c (try_cursor_movement): Exclude header line from scroll |
14272 | margin at top of window. | |
14273 | (try_window_reusing_current_matrix): Calculate proper cursor position | |
14274 | after scrolling up with non-zero scroll margin, as the old cursor | |
14275 | position corresponds to value of PT before executing this command. | |
14276 | (try_window_id): Consider scroll margin at bottom of window too; | |
14277 | otherwise we fail to scroll when hl-line-mode is enabled. | |
14278 | ||
cdc97764 KS |
14279 | * syntax.c (skip_chars): Only recognize [:class:] when it has the |
14280 | proper format and class is a lower-case word. | |
14281 | ||
5b166323 JD |
14282 | 2004-06-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14283 | ||
14284 | * gtkutil.c (xg_get_image_for_pixmap): New function. | |
c8d09ad8 | 14285 | (xg_get_gdk_pixmap_and_mask): Remove. |
5b166323 JD |
14286 | (update_frame_tool_bar): Call xg_get_image_for_pixmap instead of |
14287 | xg_get_gdk_pixmap_and_mask. | |
cdc97764 | 14288 | |
5b166323 JD |
14289 | * xterm.h (struct x_display_info): Typo in comment fixed. |
14290 | ||
1ebd4f78 JB |
14291 | 2004-06-14 Juanma Barranquero <lektu@terra.es> |
14292 | ||
14293 | * dispextern.h (Vimage_types): Make it conditional on | |
14294 | HAVE_WINDOW_SYSTEM. | |
14295 | ||
14296 | * image.c (Vimage_types): Move from xdisp.c. | |
14297 | (Vimage_type_cache): New variable. | |
14298 | (define_image_type): New argument indicating whether an image | |
14299 | library was loaded; cache loaded status and return t on success, | |
14300 | nil otherwise. | |
14301 | (CACHE_IMAGE_TYPE, ADD_IMAGE_TYPE): New macros. | |
14302 | (w32_delayed_load): New function to load an image library from a | |
14303 | list of possible filenames. | |
14304 | (init_xpm_functions, init_png_functions, init_jpeg_functions) | |
14305 | (init_tiff_functions, init_gif_functions): Use `w32_delayed_load'. | |
c8d09ad8 | 14306 | (CHECK_LIB_AVAILABLE): Call `define_image_library' with new argument. |
1ebd4f78 JB |
14307 | (Finit_image_library): New function, extracted from `init_image'. |
14308 | Try to initialize an image library on demand and cache whether we | |
14309 | were successful or not. | |
14310 | (syms_of_image): Initialize `Vimage_types' and | |
14311 | `Vimage_type_cache'. Add recognized image types to Vimage_types. | |
14312 | Export `init-image-library'. | |
14313 | (init_image): Remove initialization of all image types, except xbm | |
14314 | and pbm. | |
14315 | ||
14316 | * xdisp.c (Vimage_types): Delete (moved to image.c). | |
14317 | ||
904ee128 AS |
14318 | 2004-06-14 Andreas Schwab <schwab@suse.de> |
14319 | ||
14320 | * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion): | |
14321 | Avoid calling specbind when completion-regexp-list is empty. | |
14322 | ||
092de21d RS |
14323 | 2004-06-13 Richard M. Stallman <rms@gnu.org> |
14324 | ||
14325 | * regex.h (CHAR_CLASS_MAX_LENGTH, re_wctype_t, re_wchar_t) | |
14326 | (re_wctype, re_iswctype, re_wctype_to_bit): | |
14327 | Non-function definitions moved here from regex.c. | |
1ebd4f78 | 14328 | |
092de21d RS |
14329 | * regex.c (re_wctype, re_iswctype): Function defs longer static. |
14330 | (CHAR_CLASS_MAX_LENGTH, re_wctype_t, re_wchar_t) | |
14331 | (re_wctype, re_iswctype, re_wctype_to_bit): | |
14332 | Non-function definitions moved to regex.h. | |
14333 | ||
14334 | * window.c (Fselect_window): Doc fix. | |
14335 | ||
14336 | * syntax.c: Include regex.h. | |
14337 | (skip_chars): New arg HANDLE_ISO_CLASSES. Callers changed. | |
14338 | If requested, make a list of classes, then check the scanned | |
14339 | chars for membership in them. | |
14340 | (in_classes): New function. | |
14341 | Doc fix. | |
14342 | ||
14343 | * keyboard.c (cmd_error): Don't call any_kboard_state | |
14344 | if inside a recursive edit level. | |
14345 | ||
d495ccfc | 14346 | 2004-06-13 K\e,Aa\e(Broly L\e$,1 q\e(Brentey <lorentey@elte.hu> |
092de21d RS |
14347 | |
14348 | * keyboard.c (command_loop): Call any_kboard_state before | |
14349 | command_loop_2 when at top level. | |
14350 | ||
3ebc0939 AS |
14351 | 2004-06-13 Andreas Schwab <schwab@suse.de> |
14352 | ||
cea5d0d4 AS |
14353 | * print.c (print_object): Always use %ld for printing EMACS_INT. |
14354 | ||
14355 | * keyboard.c (cancel_hourglass_unwind): Return a value. | |
14356 | (modify_event_symbol): Always use %ld for printing EMACS_INT. | |
14357 | (Fexecute_extended_command): Likewise. | |
14358 | ||
14359 | * syntax.h (SYNTAX_ENTRY_FOLLOW_PARENT): Rename local variable to | |
14360 | avoid clashes. | |
14361 | (SYNTAX): Likewise. | |
14362 | (SYNTAX_WITH_FLAGS): Likewise. | |
14363 | (SYNTAX_MATCH): Likewise. | |
14364 | ||
14365 | * syntax.c (char_quoted): Avoid warning about undefined operation. | |
14366 | (find_defun_start): Likewise. | |
14367 | (scan_lists): Likewise. | |
14368 | (INC_FROM): Likewise. | |
14369 | (scan_sexps_forward): Likewise. | |
14370 | ||
be8c4ce4 AS |
14371 | * image.c: Include <ctype.h>. |
14372 | ||
3ebc0939 AS |
14373 | * xfaces.c (face_attr_equal_p): Declare parameters. |
14374 | ||
6fb41b5b KH |
14375 | 2004-06-13 Kenichi Handa <handa@m17n.org> |
14376 | ||
14377 | * ccl.c (CCL_READ_CHAR): If hit EOF, set REG to -1. | |
14378 | ||
fc3095ce EZ |
14379 | 2004-06-12 Matthew Mundell <matt@mundell.ukfsn.org> |
14380 | ||
14381 | * eval.c (Fdefun): Signal an error if NAME is not a symbol. | |
14382 | ||
66189a40 KH |
14383 | 2004-06-12 Kenichi Handa <handa@m17n.org> |
14384 | ||
14385 | * ccl.c (CCL_CALL_FOR_MAP_INSTRUCTION): Save eof_ic in | |
14386 | ccl_prog_stack_struct and update it. | |
14387 | (CCL_INVALID_CMD): If CCL_DEBUG is defined, call ccl_debug_hook. | |
14388 | (CCL_READ_CHAR): Get instruction counter from eof_ic, not from | |
14389 | ccl->eof_ic on EOF. | |
14390 | (ccl_debug_hook): New function. | |
14391 | (struct ccl_prog_stack): New member eof_ic. | |
14392 | (ccl_driver): Handle EOF in subrountine call correctly. | |
14393 | ||
14394 | 2004-06-11 Kenichi Handa <handa@m17n.org> | |
14395 | ||
a9b43336 | 14396 | * coding.c (encode_coding_string): Check CODING_FINISH_INTERRUPT. |
66189a40 | 14397 | |
1da71023 KS |
14398 | 2004-06-11 Kim F. Storm <storm@cua.dk> |
14399 | ||
14400 | * emacs.c (shut_down_emacs): Inhibit redisplay during shutdown. | |
14401 | ||
e9efcef4 JB |
14402 | 2004-06-11 Juanma Barranquero <lektu@terra.es> |
14403 | ||
14404 | * keyboard.c (Fposn_at_point): Doc fix. | |
14405 | ||
9b9ceb61 DK |
14406 | 2004-06-11 David Kastrup <dak@gnu.org> |
14407 | ||
14408 | * search.c (match_limit): Don't flag an error if match-data | |
14409 | exceeding the allocated search_regs.num_regs gets requested, just | |
14410 | return Qnil. | |
14411 | ||
6e87ac8f MB |
14412 | 2004-06-08 Miles Bader <miles@gnu.org> |
14413 | ||
14414 | * xfaces.c (push_named_merge_point): Return 0 when a cycle is detected. | |
14415 | ||
0b0dea7b JB |
14416 | 2004-06-07 Juanma Barranquero <lektu@terra.es> |
14417 | ||
14418 | * editfns.c (Fuser_login_name, Ffloat_time, Fencode_time) | |
14419 | (Fcurrent_time_string, Fcurrent_time_zone) | |
14420 | (Finsert_buffer_substring, Ftranspose_regions): Doc fixes. | |
14421 | ||
a0a23346 MB |
14422 | 2004-06-07 Miles Bader <miles@gnu.org> |
14423 | ||
08384afd | 14424 | * xfaces.c (struct named_merge_point): New type. |
a0a23346 MB |
14425 | (push_named_merge_point): New function. |
14426 | (merge_named_face): New function. | |
14427 | (merge_face_ref, face_at_buffer_position, face_at_string_position): | |
14428 | Use `merge_named_face'. | |
14429 | (merge_face_inheritance): Function removed. | |
c8d09ad8 | 14430 | (merge_face_ref): Rename from `merge_face_vector_with_property'. |
a0a23346 MB |
14431 | Add new `err_msgs' and `named_merge_points' args. Return error |
14432 | status. Only print error messages if ERR_MSGS is true. Don't try to | |
14433 | do :inherit attribute validation. | |
14434 | (merge_face_heights): Handle `unspecified' in both directions. | |
14435 | (merge_face_vectors): Rename `cycle_check' arg to `named_merge_points'. | |
14436 | Call `merge_face_ref' instead of `merge_face_inheritance'. | |
14437 | (Fdisplay_supports_face_attributes_p, Fface_attributes_as_vector) | |
14438 | (compute_char_face, face_at_buffer_position) | |
14439 | (face_at_string_position): Call `merge_face_ref' instead of | |
14440 | `merge_face_vector_with_property'. | |
14441 | ||
12d5b185 KH |
14442 | 2004-06-07 Kenichi Handa <handa@m17n.org> |
14443 | ||
14444 | * coding.c (find_safe_codings): Check NILP (safe_codings) only at | |
14445 | the necessary places. | |
14446 | ||
2e2d7ee6 KS |
14447 | 2004-06-07 Kim F. Storm <storm@cua.dk> |
14448 | ||
14449 | * process.c (Fdelete_process): Undo 2004-05-28 change. | |
14450 | Instead, call status_notify also for network process. | |
14451 | (status_message): Use process instead of status as arg. | |
14452 | Give messages "deleted" or "connection broken by remote peer" for | |
14453 | an exited network process. | |
14454 | (status_notify): Change call to status_message. | |
14455 | (read_process_output): Increase readmax to 4096. Do not increase | |
14456 | buffer size for datagram channels (default is now large enough). | |
14457 | ||
fcf0d299 ST |
14458 | 2004-06-06 Steven Tamm <tamm@Steven-Tamms-Computer.local> |
14459 | ||
14460 | * macfns.c (x_create_tip_frame): Fix Mac OS X 10.1 compilation | |
14461 | problem due to newly defined variable. | |
14462 | ||
0722292b MB |
14463 | 2004-06-06 Miles Bader <miles@gnu.org> |
14464 | ||
14465 | * xfaces.c (Fdisplay_supports_face_attributes_p): Give up | |
14466 | immediately if non-interactive or not initialized. | |
14467 | ||
ddfb8369 RS |
14468 | 2004-06-05 Richard M. Stallman <rms@gnu.org> |
14469 | ||
14470 | * minibuf.c (Fcompleting_read): Doc fix. | |
14471 | ||
57015754 AS |
14472 | 2004-06-05 Andreas Schwab <schwab@suse.de> |
14473 | ||
14474 | * macfns.c (x_create_tip_frame): Fix declaration after statement. | |
14475 | ||
23715ea6 JB |
14476 | 2004-06-05 Juanma Barranquero <lektu@terra.es> |
14477 | ||
14478 | * keymap.c (Fdescribe_vector): Fix docstring. | |
14479 | (Fkey_description, Fglobal_key_binding): Fix typo in docstring. | |
14480 | ||
8e330b22 MB |
14481 | 2004-06-05 Miles Bader <miles@gnu.org> |
14482 | ||
14483 | * xfaces.c (tty_supports_face_attributes_p): Make sure the specified | |
14484 | attributes have different values than the default face. | |
14485 | ||
9742a3a6 EZ |
14486 | 2004-06-04 Eli Zaretskii <eliz@gnu.org> |
14487 | ||
14488 | * xfaces.c (x_supports_face_attributes_p): Make this function | |
14489 | conditional on HAVE_WINDOW_SYSTEM. | |
c8d09ad8 SM |
14490 | (Fdisplay_supports_face_attributes_p) [HAVE_WINDOW_SYSTEM]: |
14491 | Don't call x_supports_face_attributes_p if it was not compiled in. | |
9742a3a6 | 14492 | |
9717e36c MB |
14493 | 2004-06-04 Miles Bader <miles@gnu.org> |
14494 | ||
14495 | * xfaces.c (tty_supports_face_attributes_p): New function, mostly | |
14496 | from Ftty_supports_face_attributes_p. | |
14497 | (x_supports_face_attributes_p): New function. | |
14498 | (Ftty_supports_face_attributes_p): Function deleted. | |
14499 | (Fdisplay_supports_face_attributes_p): New function. | |
14500 | (syms_of_xfaces): Initialize Sdisplay_supports_face_attributes_p. | |
f9711de4 | 14501 | (face_attr_equal_p): New function. |
9717e36c MB |
14502 | (lface_equal_p): Use it. |
14503 | ||
52deb19f JB |
14504 | 2004-06-03 Juanma Barranquero <lektu@terra.es> |
14505 | ||
14506 | * w32fns.c (Fx_display_grayscale_p, Fw32_send_sys_command) | |
14507 | (Vw32_color_map): Fix typo in docstring. | |
14508 | (Fx_create_frame, Fw32_find_bdf_fonts, Fx_show_tip) | |
14509 | (Fw32_unregister_hot_key, Fw32_reconstruct_hot_key): | |
14510 | Make argument names match their use in docstring. | |
14511 | ||
86d373e6 JB |
14512 | 2004-06-02 Juanma Barranquero <lektu@terra.es> |
14513 | ||
14514 | Work around bugs/problems with MinGW builds of graphics libraries | |
14515 | called from MSVC builds of Emacs. | |
14516 | ||
14517 | * image.c (lookup_image): Make pointer to img static. | |
14518 | (png_read_from_memory): Disable "global" optimization. | |
14519 | ||
2fb0ce67 SM |
14520 | 2004-06-01 Stefan Monnier <monnier@iro.umontreal.ca> |
14521 | ||
c8d09ad8 SM |
14522 | * eval.c (Fcondition_case): Fix usage. Simplify. |
14523 | ||
2fb0ce67 SM |
14524 | * mem-limits.h (EXCEEDS_LISP_PTR) [USE_LSB_TAG]: Never true. |
14525 | ||
50bf7673 ST |
14526 | 2004-05-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
14527 | ||
14528 | * macfns.c: Don't include ccl.h. | |
14529 | [MAC_OSX]: Don't include QuickTime/QuickTime.h. | |
86d373e6 JB |
14530 | [!MAC_OSX]: Don't include alloca.h, Windows.h, Gestalt.h, or |
14531 | TextUtils.h. | |
c8d09ad8 | 14532 | (Fx_create_frame): Sync with xfns.c. Initialize cursor descriptors. |
50bf7673 ST |
14533 | (Fx_display_mm_height, Fx_display_mm_width): Calculate length from |
14534 | display height/width. | |
14535 | (compute_tip_xy, Vx_max_tooltip_size): Declare. | |
14536 | (unwind_create_tip_frame, compute_tip_xy): New functions. | |
14537 | (x_create_tip_frame, Fx_show_tip, Fx_hide_tip): Sync with xfns.c. | |
14538 | (syms_of_macfns): Initialize Qcancel_timer, Vx_max_tooltip_size, | |
14539 | and last_show_tip_args. | |
2fb0ce67 | 14540 | |
50bf7673 ST |
14541 | * macgui.h [!MAC_OSX]: Include Gestalt.h. |
14542 | (Cursor, No_Cursor): New defines. | |
c8d09ad8 | 14543 | [!TARGET_API_MAC_CARBON] (SetPortWindowPort): New compatibility macro. |
50bf7673 ST |
14544 | [!TARGET_API_MAC_CARBON] (arrow_cursor): Declare. |
14545 | ||
14546 | * macmenu.c (mac_menu_show, mac_dialog): Use SetPortWindowPort. | |
14547 | ||
14548 | * macterm.c: Don't include Gestalt.h. | |
14549 | (enum mouse_tracking_type, mouse_tracking_in_progress): Remove. | |
14550 | (XDrawLine, XClearArea, XClearWindow, mac_draw_bitmap) | |
14551 | (mac_set_clip_rectangle, mac_reset_clipping, XCreatePixmap) | |
14552 | (XFillRectangle, mac_draw_rectangle, mac_draw_string_common) | |
14553 | (mac_copy_area, mac_copy_area_with_mask, x_update_end) | |
14554 | (construct_mouse_click, XTmouse_position) | |
14555 | (x_scroll_bar_report_motion, x_calc_absolute_position) | |
14556 | (do_mouse_moved, do_zoom_window, mac_do_receive_drag) | |
14557 | (XTread_socket, make_mac_frame): Use SetPortWindowPort. | |
14558 | (note_mouse_movement): Clear the mouse face and reset the pointer | |
14559 | shape when the pointer goes outside the frame without grabbing. | |
14560 | (mac_front_window): New function. | |
14561 | (mac_window_to_frame): New macro. | |
14562 | (XTmouse_position, x_scroll_bar_report_motion, do_window_update) | |
14563 | (do_window_activate, do_window_deactivate, do_app_resume) | |
14564 | (do_app_suspend, do_mouse_moved, do_menu_choice, do_grow_window) | |
14565 | (do_zoom_window, mac_do_receive_drag, XTread_socket) | |
14566 | (mac_check_for_quit_char): Use mac_front_window and/or | |
14567 | mac_window_to_frame. | |
14568 | (x_scroll_bar_handle_click): Set `(PORTION . WHOLE)' part in a | |
14569 | scroll-bar click event. | |
14570 | (mac_define_frame_cursor): Change the pointer shape. | |
71b7a47f YM |
14571 | (x_free_frame_resources): Reset tip_window to NULL when it is |
14572 | disposed of. | |
50bf7673 | 14573 | [!TARGET_API_MAC_CARBON] (arrow_cursor): New variable. |
c8d09ad8 | 14574 | [!TARGET_API_MAC_CARBON] (do_init_managers): Initialize arrow_cursor. |
50bf7673 ST |
14575 | (do_window_update): Don't do anything if the updated window is the |
14576 | tooltip window. | |
14577 | (do_mouse_moved): Handle mouse movement events here (previously in | |
14578 | XTread_socket). Clear the mouse face if | |
14579 | dpyinfo->mouse_face_hidden is set. | |
14580 | (do_os_event, do_events): Remove (now in XTread_socket). | |
14581 | (XTread_socket): Immediately return if interrupt_input_blocked. | |
c8d09ad8 SM |
14582 | Loop until all the events in the queue are processed. |
14583 | Rearrange codes for mouse grabbing. Add tooltip support. Include the | |
50bf7673 ST |
14584 | contents of do_os_event and do_events. Remove mouse movement |
14585 | handling (now in do_mouse_moved). Add the case where | |
14586 | Vmouse_highlight has an integer value. | |
14587 | (NewMacWindow): Remove. | |
14588 | (make_mac_frame): Do what NewMacWindow previously did. Don't do | |
14589 | excess initializations. | |
14590 | (make_mac_terminal_frame): Previous initializations in | |
14591 | make_mac_frame are moved here. | |
c8d09ad8 SM |
14592 | (mac_initialize_display_info): |
14593 | Initialize dpyinfo->mouse_face_overlay and dpyinfo->mouse_face_hidden. | |
50bf7673 ST |
14594 | |
14595 | * xdisp.c [MAC_OS] (No_Cursor): Remove variable. | |
14596 | (define_frame_cursor1): Don't treat HAVE_CARBON as a special case. | |
14597 | ||
08fd1251 RS |
14598 | 2004-05-29 Richard M. Stallman <rms@gnu.org> |
14599 | ||
14600 | * lisp.h (truncate_undo_list): Update decl. | |
14601 | ||
14602 | * alloc.c (undo_outer_limit): New variable. | |
14603 | (syms_of_alloc): Defvar it. | |
14604 | (Fgarbage_collect): Pass undo_outer_limit to truncate_undo_list. | |
14605 | ||
14606 | * undo.c (truncate_undo_list): New arg LIMITSIZE. | |
14607 | ||
14608 | * alloc.c (lisp_align_malloc): Check for base == 0 | |
14609 | regardless of HAVE_POSIX_MEMALIGN. | |
14610 | Clean up HAVE_POSIX_MEMALIGN handling of `err'. | |
14611 | ||
227ef0ff SM |
14612 | 2004-05-28 Stefan Monnier <monnier@iro.umontreal.ca> |
14613 | ||
14614 | * alloc.c: Undo Kim's recent changes and fix the same bug differently. | |
14615 | (marker_blocks_pending_free): Remove. | |
14616 | (Fgarbage_collect): Sweep after cleaning up undo-lists. | |
14617 | Mark the undo lists after claning them up. | |
14618 | Don't free block in marker_blocks_pending_free. | |
14619 | (mark_buffer): Don't mark undo_list. | |
14620 | (gc_sweep): Sweep hash-tables and strings first. | |
14621 | Do free marker blocks that are empty. | |
14622 | ||
034a6113 SM |
14623 | 2004-05-28 Jim Blandy <jimb@redhat.com> |
14624 | ||
14625 | * regex.c (print_partial_compiled_pattern): Add missing 'break' | |
14626 | after 'case wordend'. For symbeg and symend, print to stderr, | |
14627 | like the other cases. | |
14628 | ||
33594a8d NF |
14629 | 2004-05-28 Noah Friedman <friedman@splode.com> |
14630 | ||
14631 | * process.c (Fdelete_process): Do not call remove_process. | |
14632 | ||
ce50a847 SM |
14633 | 2004-05-28 Stefan Monnier <monnier@iro.umontreal.ca> |
14634 | ||
14635 | * alloc.c (struct backtrace): Remove. | |
14636 | (Fgarbage_collect): Use the new mark_backtrace. | |
14637 | ||
14638 | * eval.c (mark_backtrace): New function. | |
14639 | ||
14640 | * minibuf.c (run_exit_minibuf_hook): New function. | |
14641 | (read_minibuf_unwind): Don't run exit-minibuffer-hook any more. | |
14642 | (read_minibuf): Use separate unwind handler to run exit-minibuf-hook. | |
14643 | ||
1e8dae36 KS |
14644 | 2004-05-27 Kim F. Storm <storm@cua.dk> |
14645 | ||
14646 | * xdisp.c (back_to_previous_visible_line_start): Skip backwards | |
14647 | over display properties, e.g. images, that replace buffer text. | |
14648 | ||
846faa3b KS |
14649 | 2004-05-25 Kim F. Storm <storm@cua.dk> |
14650 | ||
14651 | * alloc.c (marker_blocks_pending_free): New var. | |
14652 | (gc_sweep): Store free marker blocks on that list. | |
14653 | (Fgarbage_collect): Free them after undo-list cleanup. | |
14654 | ||
14655 | * process.c (wait_reading_process_input): Check connect_wait_mask | |
14656 | before actually accepting connection in case it has already been | |
14657 | accepted due to recursion. | |
14658 | ||
d495ccfc | 14659 | 2004-05-23 K\e,Aa\e(Broly L\e$,1 q\e(Brentey <lorentey@elte.hu> |
6239a668 | 14660 | |
ce50a847 SM |
14661 | * coding.c (Fset_safe_terminal_coding_system_internal): |
14662 | Set suppress_error in safe_terminal_coding, not terminal_coding. | |
6239a668 | 14663 | |
71d5a208 RS |
14664 | 2004-05-22 Richard M. Stallman <rms@gnu.org> |
14665 | ||
14666 | * alloc.c (Fmake_string): Doc fix. | |
14667 | ||
14668 | * buffer.c (clone_per_buffer_values): Copy the alist of local vars, | |
14669 | and the alist pairs too. | |
14670 | ||
14671 | * casefiddle.c (casify_object): Return OBJ unchanged if not real char. | |
14672 | ||
51391fb9 RF |
14673 | * emacs.c (main): Update copyright year. |
14674 | ||
71d5a208 RS |
14675 | * fileio.c (Fread_file_name): Expand DIR if not absolute. |
14676 | ||
14677 | * insdel.c (del_range_2, replace_range): Don't write an anchor | |
14678 | if the gap is empty. | |
14679 | ||
14680 | * xdisp.c (try_scrolling): If scroll-up-aggressively or | |
14681 | scroll-down-aggressively is small but positive, put point | |
14682 | near the screen edge. | |
14683 | ||
f63fd14e JB |
14684 | 2004-05-22 Juanma Barranquero <lektu@terra.es> |
14685 | ||
14686 | * keymap.c (Fdefine_key): Doc fix. | |
14687 | ||
4d12067c KS |
14688 | 2004-05-22 Kim F. Storm <storm@cua.dk> |
14689 | ||
14690 | * alloc.c (struct backtrace): Add debug_on_exit member. | |
14691 | (Fgarbage_collect): Clear out buffer undo_list markers after gc_sweep. | |
14692 | Identify those markers as Lisp_Misc_Free objects. Clear car and cdr of | |
14693 | the removed cons cells. | |
14694 | (mark_object): Undo previous change - disallow Lisp_Misc_Free objects. | |
14695 | (gc_sweep): Clear cons_blocks before sweeping strings, so we don't have | |
14696 | any cons cells pointing to unallocated stings. | |
14697 | Do not lisp_free any marker blocks, as there may still be pointers | |
14698 | to them from buffer undo lists at this stage of GC. | |
14699 | ||
14700 | * keyboard.c (struct backtrace): Add debug_on_exit member. | |
14701 | (Fcommand_execute): Clear it. | |
14702 | ||
931285e2 LT |
14703 | 2004-05-20 Luc Teirlinck <teirllm@auburn.edu> |
14704 | ||
14705 | * intervals.c (lookup_char_property): Do not prematurely return nil. | |
14706 | ||
669fa600 SM |
14707 | 2004-05-19 Jim Blandy <jimb@redhat.com> |
14708 | ||
14709 | Add support for new '\_<' and '\_>' regexp operators, matching the | |
f63fd14e | 14710 | beginning and end of symbols. |
4d12067c | 14711 | |
669fa600 SM |
14712 | * regex.c (enum syntaxcode): Add Ssymbol. |
14713 | (init_syntax_once): Set the syntax for '_' to Ssymbol, not Sword. | |
14714 | (re_opcode_t): New opcodes `symbeg' and `symend'. | |
14715 | (print_partial_compiled_pattern): Print the new opcodes properly. | |
14716 | (regex_compile): Parse the new operators. | |
ce50a847 | 14717 | (analyse_first): Skip sym(beg|end) (they match only the empty string). |
669fa600 SM |
14718 | (mutually_exclusive_p): `symend' is mutually exclusive with \s_ and |
14719 | \sw; `symbeg' is mutually exclusive with \S_ and \Sw. | |
14720 | (re_match_2_internal): Match symbeg and symend. | |
14721 | ||
14722 | * search.c (trivial_regexp_p): \_ is no longer a trivial regexp. | |
14723 | ||
0d8c2e5c KS |
14724 | 2004-05-19 Kim F. Storm <storm@cua.dk> |
14725 | ||
14726 | * .gdbinit (xsymbol): Fix last change. | |
14727 | ||
669fa600 SM |
14728 | 2004-05-18 Stefan Monnier <monnier@iro.umontreal.ca> |
14729 | ||
14730 | * .gdbinit (xprintstr): New fun. | |
14731 | (xstring, xprintsym): Use it. | |
14732 | ||
14733 | * w32proc.c (create_child): Use INTMASK. | |
14734 | ||
14735 | * alloc.c (Fgarbage_collect): Do all the marking before flushing | |
14736 | unmarked elements of the undo list. | |
14737 | ||
9a6a4c40 DP |
14738 | 2004-05-18 David Ponce <david@dponce.com> |
14739 | ||
14740 | * print.c (print): Reset print_depth before to call print_object. | |
14741 | ||
f3c4ec74 JR |
14742 | 2004-05-18 Jason Rumney <jasonr@gnu.org> |
14743 | ||
14744 | * w32console.c: Prefix RIF functions with w32con_ to avoid | |
14745 | namespace clash with functions in term.c and w32term.c. | |
14746 | ||
14747 | * w32menu.c (add_menu_item, w32_menu_display_help) | |
14748 | [USE_LISP_UNION_TYPE]: Cast from Lisp_Object using i member. | |
14749 | ||
0d8c2e5c | 14750 | * w32term.h (display_x_get_resource, vga_stdcolor_name): Add prototype. |
f3c4ec74 | 14751 | |
6be49c3a EZ |
14752 | 2004-05-18 Eli Zaretskii <eliz@gnu.org> |
14753 | ||
4d0b9a0a EZ |
14754 | * lisp.h (DECL_ALIGN): Remove restriction on MS-DOS systems. |
14755 | ||
6be49c3a EZ |
14756 | * msdos.c (syms_of_msdos): Initialize dos-unsupported-char-glyph |
14757 | with make_number. | |
14758 | (IT_write_glyphs): Extract glyph from dos-unsupported-char-glyph | |
14759 | with XINT. | |
14760 | ||
0bc90bba KS |
14761 | 2004-05-18 Kim F. Storm <storm@cua.dk> |
14762 | ||
89d19988 KS |
14763 | * blockinput.h (INPUT_BLOCKED_P): New macros. |
14764 | ||
14765 | * keyboard.c (Frecursive_edit): Return immediately if input blocked. | |
14766 | (Ftop_level): Unblock input if blocked. | |
14767 | ||
0bc90bba KS |
14768 | * buffer.h (GET_OVERLAYS_AT): New macro. |
14769 | * msdos.c (IT_note_mouse_highlight): Use it. | |
14770 | * textprop.c (get_char_property_and_overlay): Use it. | |
14771 | * xdisp.c (next_overlay_change, note_mouse_highlight): Use it. | |
14772 | * xfaces.c (face_at_buffer_position): Use it. | |
14773 | ||
14774 | * print.c (print_object): Increase buf size. | |
14775 | ||
653bd0f6 JR |
14776 | 2004-05-17 Jason Rumney <jasonr@gnu.org> |
14777 | ||
14778 | * w32fns.c (Fw32_register_hot_key, Fw32_unregister_hot_key) | |
14779 | (Fw32_toggle_lock_key) [USE_LISP_UNION_TYPE]: Cast from | |
14780 | Lisp_Object using i member. | |
14781 | (w32_quit_key): Rename from Vw32_quit_key, and make an int. | |
14782 | (syms_of_w32fns, globals_of_w32fns): Use Lisp_Object and int | |
14783 | consistently. | |
14784 | ||
14785 | * w32proc.c (create_child): Use make_number instead of masking pid. | |
14786 | ||
14787 | * w32fns.c (w32_color_map_lookup): Return a Lisp_Object. | |
14788 | (x_to_w32_charset, w32_to_x_charset, w32_to_all_x_charsets): | |
14789 | Use EQ to compare Lisp_Objects. | |
14790 | (w32_parse_hot_key): Use int for lisp_modifiers consistently. | |
14791 | ||
14792 | * w32term.c (w32_num_mouse_buttons): Rename from | |
14793 | Vw32_num_mouse_buttons and make it an int. | |
14794 | ||
14795 | * w32.c (init_environment): Use it. | |
14796 | ||
14797 | * w32fns.c (w32_wnd_proc): Likewise. | |
14798 | ||
14799 | * w32proc.c (w32_pipe_read_delay): Rename from | |
14800 | Vw32_pipe_read_delay and make it an int. | |
14801 | ||
14802 | * w32.c (_sys_read_ahead): Use it. | |
14803 | ||
14804 | * lisp.h (egetenv) [USE_CRT_DLL]: Remove condition. | |
14805 | ||
14806 | * w32proc.c (create_child) [USE_LSB_TAG]: Don't try to mask pid. | |
14807 | ||
14808 | * w32inevt.c (w32_console_mouse_position, do_mouse_event) | |
14809 | (key_event): Don't mix Lisp_Object and int. | |
14810 | ||
14811 | * w32heap.c (init_heap) [USE_LSB_TAG]: Don't check heap location. | |
14812 | ||
14813 | * keyboard.c (kbd_buffer_get_event): Don't use event->code and | |
14814 | modifiers in language change event. | |
14815 | ||
54b53ba7 KS |
14816 | 2004-05-17 Kim F. Storm <storm@cua.dk> |
14817 | ||
14818 | * alloc.c (mark_object): Ignore Lisp_Misc_Free objects. | |
14819 | Such objects may be freed markers which still exist on an undo list. | |
14820 | ||
6e86a75d JB |
14821 | 2004-05-16 Juanma Barranquero <lektu@terra.es> |
14822 | ||
14823 | * data.c (Fset_default): Make argument names match their use in | |
14824 | docstring. | |
14825 | ||
fc80da24 AS |
14826 | 2004-05-15 Andreas Schwab <schwab@suse.de> |
14827 | ||
14828 | * emacs.c (gdb_array_mark_flag): Define. | |
14829 | * .gdbinit: Mask off gdb_array_mark_flag from vector sizes. | |
14830 | ||
c1380aa6 EZ |
14831 | 2004-05-15 Eli Zaretskii <eliz@gnu.org> |
14832 | ||
14833 | * lisp.h (DECL_ALIGN) [MSDOS]: Don't define DECL_ALIGN to use | |
14834 | __attribute__((__aligned__)), so that USE_LSB_TAG would not become | |
14835 | defined for the MS-DOS build. | |
14836 | ||
89458937 SM |
14837 | 2004-05-14 Stefan Monnier <monnier@iro.umontreal.ca> |
14838 | ||
14839 | * w32fns.c (Fw32_define_rgb_color): Avoid XSET. | |
14840 | ||
08020f9a KH |
14841 | 2004-05-14 Kenichi Handa <handa@m17n.org> |
14842 | ||
14843 | * ccl.c (Fccl_execute_on_string): Fix setting elements of STATUS. | |
14844 | ||
a433994a ST |
14845 | 2004-05-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
14846 | ||
14847 | * lisp.h (Vx_resource_name, Vx_resource_class): Move from xfns.c | |
14848 | section to frame.c section. | |
14849 | (Fxw_display_color_p, Fx_file_dialog): Declare if | |
89458937 | 14850 | HAVE_WINDOW_SYSTEM defined. |
0d8c2e5c | 14851 | |
a433994a | 14852 | * macfns.c (Fx_create_frame): Fix int/Lisp_Object mixup. |
0d8c2e5c | 14853 | |
a433994a | 14854 | * macmenu.c (set_frame_menubar): Use NILP to test a lisp value. |
0d8c2e5c | 14855 | |
a433994a ST |
14856 | * macterm.c (mac_get_emulated_btn, mac_event_to_emacs_modifiers) |
14857 | (mac_get_mouse_btn): Use NILP and EQ to test/compare lisp values. | |
14858 | (XTread_socket): Fix int/Lisp_Object mixup. | |
14859 | (mac_check_for_quit_char): Fix pointer/Lisp_Object mixup. | |
0d8c2e5c | 14860 | |
a433994a ST |
14861 | * macterm.h (struct frame, struct face, struct image) |
14862 | (display_x_get_resource, Fx_display_color_p) | |
89458937 SM |
14863 | (Fx_display_grayscale_p, Fx_display_planes, x_free_gcs): |
14864 | Add prototypes. | |
a433994a | 14865 | |
b51a51b9 KS |
14866 | 2004-05-14 Kim F. Storm <storm@cua.dk> |
14867 | ||
14868 | * process.c (wait_reading_process_input): Make reentrant. | |
14869 | Make Available and Connecting non-static. Save and restore value | |
14870 | of waiting_for_user_input_p. | |
14871 | ||
2bde1dd8 KS |
14872 | 2004-05-13 Kim F. Storm <storm@cua.dk> |
14873 | ||
14874 | * keyboard.c (mark_kboards): Don't mark x and y members | |
14875 | that are overloaded in selection request events. | |
14876 | ||
a267ab4d SM |
14877 | 2004-05-13 Stefan Monnier <monnier@iro.umontreal.ca> |
14878 | ||
14879 | * lisp.h (USE_LSB_TAG): Make it the default when it is known to work. | |
14880 | ||
eb15ce9e GM |
14881 | 2004-05-13 Glenn Morris <gmorris@ast.cam.ac.uk> |
14882 | ||
14883 | * window.c (Fdisplay_buffer, Fsplit_window) | |
14884 | (split-height-threshold): Doc fix. | |
14885 | ||
7fc92635 JB |
14886 | 2004-05-13 Juanma Barranquero <lektu@terra.es> |
14887 | ||
14888 | * xfaces.c (Ftty_supports_face_attributes_p) | |
14889 | (Finternal_copy_lisp_face): Fix typo in docstring. | |
14890 | (Finternal_get_lisp_face_attribute): Fix docstring. | |
14891 | ||
1ec2a572 JD |
14892 | 2004-05-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14893 | ||
14894 | * xfns.c (syms_of_xfns): Provide x-toolkit also for GTK. | |
14895 | ||
ae9292e0 ST |
14896 | 2004-05-11 Steven Tamm <steventamm@mac.com> |
14897 | ||
14898 | * macfns.c (Fx_create_frame): Default to using tool-bar by | |
14899 | setting tool-bar-lines to 1 in default-frame-alist. | |
14900 | ||
14901 | 2004-05-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
ea1aaa6f ST |
14902 | |
14903 | * image.c (xpm_scan, xpm_make_color_table_v, xpm_put_color_table_v) | |
14904 | (xpm_get_color_table_v, xpm_make_color_table_h) | |
14905 | (xpm_put_color_table_h, xpm_get_color_table_h) | |
14906 | (xpm_str_to_color_key, xpm_load_image, xpm_load) | |
14907 | (syms_of_image): Support XPM on Carbon Emacs. Does not | |
a267ab4d | 14908 | depend on libXpm, but only supports XPM version 3 without extensions. |
ea1aaa6f | 14909 | |
fe97e8df ST |
14910 | 2004-05-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
14911 | ||
a267ab4d | 14912 | * macterm.c (x_flush, XTframe_up_to_date): Use FRAME_MAC_P |
1ae8d759 | 14913 | instead of FRAME_X_P. |
fe97e8df | 14914 | |
b47e779e KS |
14915 | 2004-05-11 Kim F. Storm <storm@cua.dk> |
14916 | ||
14917 | * process.c (read_process_output): Grow decoding_buf when needed; | |
14918 | this could cause a crash in allocate_string and compact_small_strings. | |
14919 | ||
cdc9b845 EZ |
14920 | 2004-04-29 Jim Blandy <jimb@redhat.com> |
14921 | ||
14922 | * regex.c (mutually_exclusive_p): In 'case wordbeg', compare op2 | |
14923 | against proper opcode. | |
14924 | ||
aa7094ba JB |
14925 | 2004-05-10 Juanma Barranquero <lektu@terra.es> |
14926 | ||
14927 | * process.c (Fstart_process): Fix docstring. | |
14928 | ||
14929 | * charset.c (Fget_unused_iso_final_char): Fix typos in docstring. | |
14930 | (Fchar_bytes, Fchar_width, Fstring_width, Fchar_direction) | |
14931 | (Fsplit_char, Fchar_charset): Make argument names match their use | |
14932 | in docstring. | |
14933 | ||
e109331a RS |
14934 | 2004-05-10 Richard M. Stallman <rms@gnu.org> |
14935 | ||
14936 | * print.c (print_preprocess): Use being_printed, loop_count and | |
14937 | halftail to detect overdeep nesting and cyclic cdr chains. | |
14938 | ||
9a28b921 AS |
14939 | 2004-05-10 Andreas Schwab <schwab@suse.de> |
14940 | ||
78819ebb | 14941 | * lisp.h (Fmake_symbolic_link): Declare. |
9a28b921 AS |
14942 | |
14943 | * fileio.c (Frename_file): Remove extra argument in call to | |
14944 | Fmake_symbolic_link. | |
14945 | ||
e2c02c1a KS |
14946 | 2004-05-10 Kim F. Storm <storm@cua.dk> |
14947 | ||
14948 | * xdisp.c (calc_line_height_property): Use string position when | |
14949 | object is a string. | |
14950 | ||
cfe9d13e KH |
14951 | 2004-05-10 Kenichi Handa <handa@m17n.org> |
14952 | ||
a57e8159 KH |
14953 | * print.c (temp_output_buffer_setup): Bind inhibit-read-only and |
14954 | inhibit-modification-hooks to t temporarily before calling | |
14955 | Ferase_buffer. | |
14956 | ||
14957 | * xfns.c (x_create_tip_frame): Bind inhibit-read-only and | |
14958 | inhibit-modification-hooks to t temporarily before calling | |
14959 | Ferase_buffer. | |
14960 | ||
14961 | * w32fns.c (x_create_tip_frame): Bind inhibit-read-only and | |
14962 | inhibit-modification-hooks to t temporarily before calling | |
14963 | Ferase_buffer. | |
14964 | ||
cfe9d13e KH |
14965 | * fns.c (count_combining): Delete it. |
14966 | (concat): Don't check combining bytes. | |
14967 | ||
ceb96489 JR |
14968 | 2004-05-09 Jason Rumney <jasonr@gnu.org> |
14969 | ||
14970 | * w32fns.c (Vw32_ansi_code_page): New Lisp variable. | |
14971 | (globals_of_w32fns): Set it. | |
14972 | ||
b6189c3b | 14973 | 2004-05-09 Piet van Oostrum <piet@cs.uu.nl> |
b1c661c7 JB |
14974 | |
14975 | * data.c (Fquo): Simplify. | |
14976 | ||
28712a21 JB |
14977 | 2004-05-08 Peter Whaite <emacs@whaite.ca> (tiny change) |
14978 | ||
14979 | * data.c (Fquo): If any argument is float, do the computation in | |
14980 | floating point. | |
14981 | ||
0f0af7a8 JB |
14982 | 2004-05-08 Juanma Barranquero <lektu@terra.es> |
14983 | ||
88214ef6 JB |
14984 | * process.c (Fwaiting_for_user_input_p, Fmake_network_process) |
14985 | (Fset_process_query_on_exit_flag, Vprocess_adaptive_read_buffering): | |
14986 | Fix spelling of Emacs on docstring. | |
14987 | (Fset_process_coding_system, Fprocess_coding_system) | |
14988 | (Fset_process_filter_multibyte, Fprocess_filter_multibyte_p): | |
14989 | Make argument names match their use in docstring. | |
14990 | (Fprocess_id, Fprocess_query_on_exit_flag, Finterrupt_process): | |
14991 | Fix docstring. | |
14992 | ||
0f0af7a8 JB |
14993 | * editfns.c (Finsert_buffer_substring): Make argument names match their |
14994 | use in docstring. | |
14995 | ||
14996 | * syntax.c (Fmodify_syntax_entry): Fix docstring. | |
14997 | ||
2a316a84 ST |
14998 | 2004-05-07 Steven Tamm <steventamm@mac.com> |
14999 | ||
15000 | * macterm.c (mac_check_for_quit_char): Adding BLOCK_INPUT | |
15001 | around call to ReceiveEvent to avoid certain crashes. | |
15002 | ||
15003 | 2004-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
0d8c2e5c | 15004 | |
2a316a84 ST |
15005 | * macterm.c (mac_draw_line_to_pixmap, XCreatePixmapFromBitmapData) |
15006 | (mac_fill_rectangle_to_pixmap, mac_draw_rectangle_to_pixmap) | |
15007 | (mac_copy_area_to_pixmap, mac_copy_area_with_mask_to_pixmap): | |
15008 | Save/restore the current graphics port and device handle when | |
15009 | drawing into an offscreen graphics world. | |
15010 | ||
15011 | * image.c [MAC_OS] (XPutPixel, XGetPixel, image_load_qt_1) | |
15012 | (gif_load): Likewise. | |
15013 | ||
ab80314b JB |
15014 | 2004-05-07 Juanma Barranquero <lektu@terra.es> |
15015 | ||
15016 | * window.c (Fset_window_buffer): Fix docstring. | |
15017 | ||
70646bb5 TTN |
15018 | 2004-05-06 Thien-Thi Nguyen <ttn@gnu.org> |
15019 | ||
15020 | * emacs.c (main) [VMS]: Fix var ref. | |
15021 | ||
b6189c3b | 15022 | 2004-05-06 Romain Francoise <romain@orebokech.com> |
b03a4fdd JB |
15023 | |
15024 | * data.c (Fsetq_default): Fix docstring. | |
15025 | ||
279d3293 JR |
15026 | 2004-05-06 Jason Rumney <jasonr@gnu.org> |
15027 | ||
15028 | * image.c (Display) [HAVE_NTGUI]: Redefine while loading xpm.h | |
15029 | to avoid name clash. | |
15030 | ||
f72b5416 JD |
15031 | 2004-05-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15032 | ||
15033 | * fileio.c (barf_or_query_if_file_exists): Use lstat. | |
15034 | (Frename_file): Handle renaming of symlinks across file systems. | |
440c7d00 | 15035 | (Frename_file): Put symlink handling inside #ifdef S_IFLNK. |
f72b5416 | 15036 | |
6ab66799 KS |
15037 | 2004-05-04 Kim F. Storm <storm@cua.dk> |
15038 | ||
15039 | * xdisp.c (Qtotal): New var. | |
15040 | (syms_of_xdisp): Intern and staticpro it. | |
15041 | (calc_line_height_property): New arg total. Set it if | |
15042 | line-spacing property has format (total . VALUE). | |
15043 | (x_produce_glyphs): Ignore line-spacing if line-height is 0. | |
15044 | Handle total line-spacing property. | |
15045 | ||
ab2d724b JD |
15046 | 2004-05-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15047 | ||
15048 | * gtkutil.c (xg_update_scrollbar_pos): Call XClearWindow to clear | |
15049 | "under" scroll bar when size/position changes. | |
15050 | ||
238add5e JR |
15051 | 2004-05-03 Jason Rumney <jasonr@gnu.org> |
15052 | ||
15053 | * makefile.nt: Remove. | |
15054 | ||
1644f4e4 EZ |
15055 | 2004-05-02 Eli Zaretskii <eliz@gnu.org> |
15056 | ||
a267ab4d SM |
15057 | * syntax.h (SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY_INT): |
15058 | Avoid compiler warnings. | |
05fdbeb8 | 15059 | |
1644f4e4 EZ |
15060 | * Makefile.in (region-cache.o): Depend on config.h. |
15061 | ||
b6189c3b | 15062 | 2004-05-02 Romain Francoise <romain@orebokech.com> |
6cbc951e SM |
15063 | |
15064 | * indent.c (compute_motion): Save vpos in prev_vpos when dealing | |
15065 | with continuation lines, too. | |
15066 | ||
2b98b088 TTN |
15067 | 2004-05-02 Thien-Thi Nguyen <ttn@gnu.org> |
15068 | ||
15069 | * syssignal.h (init_signals): Move decl outside `#ifdef POSIX_SIGNALS'. | |
15070 | ||
d9bf7950 SM |
15071 | 2004-05-01 Stefan Monnier <monnier@iro.umontreal.ca> |
15072 | ||
15073 | * xdisp.c (calc_line_height_property): YAILOM (yet another | |
15074 | int/Lisp_Object mixup). | |
15075 | ||
affa509c EZ |
15076 | 2004-05-01 Eli Zaretskii <eliz@gnu.org> |
15077 | ||
15078 | * msdos.c (top-level): Add "#pragma pack(0)" after <dir.h>, to | |
15079 | undo bad effect of pack(4) in some versions of system headers. | |
15080 | ||
07c07cfe JR |
15081 | 2004-05-01 Jason Rumney <jasonr@gnu.org> |
15082 | ||
1ae8d759 | 15083 | * w32term.c (x_draw_hollow_cursor): Sync with xterm.c. |
07c07cfe | 15084 | |
e71caa4e KS |
15085 | 2004-04-30 Kim F. Storm <storm@cua.dk> |
15086 | ||
15087 | * buffer.c (syms_of_buffer) <line-spacing>: Allow float value. | |
b2b55d03 | 15088 | (syms_of_buffer) <cursor-type>: Doc fix. |
e71caa4e KS |
15089 | |
15090 | * dispextern.h (struct it): Remove member use_default_face. | |
15091 | Add members override_ascent, override_descent, override_boff. | |
15092 | ||
15093 | * xdisp.c (init_iterator): Handle line-spacing float value. | |
15094 | Initialize override_ascent member. | |
15095 | (append_space_for_newline): Reset override_ascent. | |
15096 | Remove use_default_face. | |
15097 | (calc_line_height_property): New function to calculate value of | |
15098 | line-height and line-spacing properties. Look at overlays, too. | |
15099 | Set override_ascent, override_descent, override_boff members when | |
15100 | using another face than the current face. Float values are now | |
15101 | relative to the frame default font, by default; accept a cons | |
15102 | of ratio and face name to specify value relative to a specific face. | |
15103 | (x_produce_glyphs): Use calc_line_height_property. | |
15104 | Use override_ascent etc. when set to handle different face heights. | |
15105 | A negative line-spacing property value is interpreted as a total | |
15106 | line height, rather than inter-line spacing. | |
15107 | (note_mouse_highlight): Allocate room for 40 overlays initially. | |
15108 | ||
0fddae66 SM |
15109 | 2004-04-29 Stefan Monnier <monnier@iro.umontreal.ca> |
15110 | ||
15111 | * data.c (Fsubr_name): New fun. | |
15112 | (syms_of_data): Defsubr it. | |
15113 | ||
712d23dc KS |
15114 | 2004-04-29 Kim F. Storm <storm@cua.dk> |
15115 | ||
15116 | * xdisp.c (null_glyph_slice): New var. | |
15117 | (append_glyph, append_composite_glyph, append_stretch_glyph): | |
15118 | Use it to initialize glyph slice. | |
15119 | ||
033ad8c6 SM |
15120 | 2004-04-27 Stefan Monnier <monnier@iro.umontreal.ca> |
15121 | ||
15122 | * xdisp.c (x_produce_glyphs): Fix the proverbial int/Lisp_Object mixup. | |
15123 | (on_hot_spot_p): Make sure we always return a value. | |
15124 | (Flookup_image_map): Remove unused var ix and iy. | |
15125 | (note_mode_line_or_margin_highlight): Remove unused var `image'. | |
15126 | ||
93397360 EZ |
15127 | 2004-04-27 Eli Zaretskii <eliz@gnu.org> |
15128 | ||
15129 | * msdos.c (init_environment): If one of the TMP... environment | |
15130 | variables is set to a drive letter without a trailing slash, | |
15131 | append a slash. | |
15132 | ||
0c54865e EZ |
15133 | 2004-04-27 Matthew Mundell <matt@mundell.ukfsn.org> |
15134 | ||
15135 | * editfns.c (lisp_time_argument): Provide externally. | |
15136 | ||
15137 | * fileio.c (Fset_file_times): New function. | |
15138 | (syms_of_fileio): Intern and staticpro it. | |
15139 | ||
d3b111bd KS |
15140 | 2004-04-27 Kim F. Storm <storm@cua.dk> |
15141 | ||
07dc1231 KS |
15142 | * xdisp.c (x_produce_glyphs): Fix last change; handle newline in |
15143 | header line strings. | |
15144 | ||
360fe9d2 KS |
15145 | * dispextern.h (struct it): New member use_default_face. |
15146 | ||
d3b111bd KS |
15147 | * xdisp.c (Qline_height): New variable. |
15148 | (syms_of_xdisp): Intern and staticpro it. | |
15149 | (append_space_for_newline): Partially undo 2004-04-25 change; | |
15150 | add default_face_p arg, and restore callers. | |
15151 | Clear it->use_default_face after use. | |
15152 | (x_produce_glyphs): Set default font for ascii char if | |
15153 | it->use_default_font is set. Change line-spacing property to set | |
15154 | just extra line spacing. Handle new line-height property. | |
15155 | ||
0448588b AS |
15156 | 2004-04-26 Andreas Schwab <schwab@suse.de> |
15157 | ||
15158 | * print.c (print_object): Print non-ascii characters in bool | |
15159 | vector representation as octal escapes. | |
15160 | ||
15161 | * lisp.h (BOOL_VECTOR_BITS_PER_CHAR): Define. | |
15162 | * print.c (print_object): Use it instead of BITS_PER_CHAR for | |
15163 | bool vectors. | |
15164 | * lread.c (read1): Likewise. | |
15165 | * alloc.c (Fmake_bool_vector): Likewise. | |
15166 | * data.c (Faref, Faset): Likewise. | |
15167 | * fns.c (Fcopy_sequence, concat, internal_equal, Ffillarray) | |
15168 | (mapcar1): Likewise. | |
d3b111bd | 15169 | |
536d6baa ST |
15170 | 2004-04-26 Steven Tamm <tamm@Steven-Tamms-Computer.local> |
15171 | ||
7e26f91b | 15172 | * lread.c (init_lread): Fix typo in HAVE_CARBON test logic. |
536d6baa | 15173 | |
ae11577a MB |
15174 | 2004-04-26 Miles Bader <miles@gnu.org> |
15175 | ||
15176 | * lisp.h (CYCLE_CHECK): Macro moved from xfaces.c. | |
15177 | ||
e198ba87 JB |
15178 | 2004-04-26 Juanma Barranquero <lektu@terra.es> |
15179 | ||
15180 | * buffer.c (Fpop_to_buffer): Fix docstring. | |
15181 | ||
f3d5f92d | 15182 | 2004-04-26 Steven Tamm <steventamm@mac.com> |
e198ba87 | 15183 | |
f3d5f92d ST |
15184 | * lread.c (init_lread): Don't display missing lisp directory |
15185 | warnings with Carbon Emacs because self-contained bundled Emacs | |
e198ba87 | 15186 | may be built without correct installation path. |
f3d5f92d | 15187 | |
03e35edc KS |
15188 | 2004-04-25 Kim F. Storm <storm@cua.dk> |
15189 | ||
9ff3aa31 KS |
15190 | * macterm.c (x_draw_hollow_cursor): Fix height of box for narrow lines. |
15191 | ||
15192 | * xterm.c (x_draw_hollow_cursor): Fix height of box for narrow lines. | |
15193 | ||
03e35edc KS |
15194 | * xdisp.c (append_space_for_newline): Rename from append_space. |
15195 | Remove DEFAULT_FACE_P arg; always use current face. Callers changed. | |
15196 | (x_produce_glyphs): Handle line-spacing property on newline char. | |
15197 | If value is t, adjust ascent and descent to fit current row height. | |
15198 | If value is an integer or float, set extra_line_spacing to integer | |
15199 | value, or to float value x current line height. | |
15200 | ||
f24814e0 KH |
15201 | 2004-04-23 Kenichi Handa <handa@m17n.org> |
15202 | ||
15203 | * fontset.c (Finternal_char_font): If POSITION is nil, return | |
15204 | font for displaying CH with the default face. | |
15205 | ||
d814862a JB |
15206 | 2004-04-23 Juanma Barranquero <lektu@terra.es> |
15207 | ||
15208 | * makefile.w32-in: Add "-*- makefile -*-" mode tag. | |
15209 | ||
063a45c5 SM |
15210 | 2004-04-21 Stefan Monnier <monnier@iro.umontreal.ca> |
15211 | ||
15212 | * lisp.h (XINT) [EXPLICIT_SIGN_EXTEND && !NO_UNION_TYPE]: | |
15213 | Don't make assumptions about the relative place of i and val. | |
15214 | (EQ) [!NO_UNION_TYPE]: Don't forget to check the type match as well. | |
15215 | ||
ae7ab2d3 KS |
15216 | 2004-04-21 Kim F. Storm <storm@cua.dk> |
15217 | ||
15218 | * dispextern.h (struct glyph_slice): New struct. | |
15219 | (struct glyph): New member slice. | |
15220 | (GLYPH_SLICE_EQUAL_P): New macro. | |
15221 | (GLYPH_EQUAL_P): Use it. | |
15222 | (struct glyph_string): New member slice. | |
15223 | (struct it_slice): New struct. | |
15224 | (struct it): New member slice, add member to stack too. | |
15225 | New member constrain_row_ascent_descent_p. | |
15226 | (image_ascent): Add prototype. | |
15227 | ||
15228 | * dispnew.c (buffer_posn_from_coords): Return full image width | |
15229 | and height even for image slices (posn is relative to full image). | |
15230 | (marginal_area_string): Adjust x0,y0 for image slice. | |
15231 | ||
15232 | * image.c (image_ascent): Add slice arg; calculate ascent for | |
15233 | image slice (or full image). | |
15234 | ||
15235 | * keyboard.c (Fposn_at_x_y, Fposn_at_point): New defuns. | |
15236 | (syms_of_keyboard): Defsubr them. | |
15237 | ||
15238 | * lisp.h (pos_visible_p): Fix prototype. | |
15239 | ||
c62aec78 | 15240 | * macterm.c (x_draw_relief_rect): Add top_p and bot_p args. |
ae7ab2d3 KS |
15241 | (x_draw_glyph_string_box): Fix call to x_draw_relief_rect. |
15242 | (x_draw_image_foreground, x_draw_image_relief) | |
15243 | (x_draw_image_foreground_1, x_draw_image_glyph_string): | |
15244 | Draw sliced images. | |
15245 | ||
15246 | * w32term.c (w32_draw_relief_rect): Add top_p and bot_p args. | |
15247 | (x_draw_glyph_string_box): Fix call to x_draw_relief_rect. | |
15248 | (x_draw_image_foreground, x_draw_image_relief) | |
15249 | (w32_draw_image_foreground_1, x_draw_image_glyph_string): | |
15250 | Draw sliced images. | |
15251 | ||
15252 | * w32term.h (image_ascent): Remove prototype. | |
15253 | ||
15254 | * window.c (Fpos_visible_in_window_p): Return pixel position if | |
15255 | PARTIALLY arg is non-nil. Simplify. Doc fix. | |
15256 | (Fwindow_vscroll, Fset_window_vscroll): Add optional PIXEL_P arg | |
15257 | to return/set vscroll in pixels. | |
15258 | ||
15259 | * window.h (Fwindow_vscroll, Fset_window_vscroll): Fix EXFUN. | |
15260 | ||
15261 | * xdisp.c (Qslice): New variable. | |
15262 | (syms_of_xdisp): Intern and staticpro it. | |
15263 | (pos_visible_p): Return pixel position in new x and y args. | |
15264 | (init_iterator): Reset it->slice info. | |
15265 | (handle_display_prop): Parse (slice ...) property. | |
15266 | (push_it, pop_it): Save/restore slice info. | |
15267 | (make_cursor_line_fully_visible): Fix 2004-04-14 change. Do not | |
15268 | force repositioning of tall row if window is vscrolled, as that | |
15269 | would reset vscroll. | |
15270 | (append_space): Set it->constrain_row_ascent_descent_p to avoid | |
15271 | increasing row height if row is non-empty. | |
15272 | (fill_image_glyph_string): Copy slice info. | |
15273 | (take_vertical_position_into_account): Simplify. | |
15274 | (produce_image_glyph): Handle iterator slice info, setup glyph | |
15275 | slice info. Do not force minimum line height. | |
15276 | (x_produce_glyphs): If it->constrain_row_ascent_descent_p is set, | |
15277 | do not increase height (ascent/descent) of non-empty row when | |
15278 | adding normal character glyph; instead reduce glyph ascent/descent | |
15279 | appropriately; if row is higher than current glyph, adjust glyph | |
15280 | descent/ascent to reposition glyph within the existing row. | |
15281 | Likewise, when char is newline, only set ascent/descent if row is | |
15282 | currently empty. | |
15283 | (note_mouse_highlight): Handle hotspots with sliced image. | |
15284 | ||
15285 | * xterm.c (x_draw_relief_rect): Add top_p and bot_p args. | |
15286 | (x_draw_glyph_string_box): Fix call to x_draw_relief_rect. | |
15287 | (x_draw_image_foreground, x_draw_image_relief) | |
15288 | (x_draw_image_foreground_1, x_draw_image_glyph_string): | |
15289 | Draw sliced images. | |
15290 | ||
15291 | * xterm.h (image_ascent): Remove prototype. | |
15292 | ||
d58f8753 SM |
15293 | 2004-04-20 Stefan Monnier <monnier@iro.umontreal.ca> |
15294 | ||
15295 | * keymap.c (Fkey_description): Fix the usual int/Lisp_Object mixup. | |
15296 | ||
4ce2719d JPW |
15297 | 2004-04-20 John Paul Wallington <jpw@gnu.org> |
15298 | ||
15299 | * fns.c (Fassoc, Feql): Fix indentation. | |
15300 | ||
d58f8753 | 15301 | * fontset.c (regularize_fontname): Rename from regulalize_fontname. |
4ce2719d | 15302 | |
95f8c3b9 JPW |
15303 | 2004-04-19 John Paul Wallington <jpw@gnu.org> |
15304 | ||
15305 | * fns.c (Feql): New function. | |
d58f8753 | 15306 | (syms_of_fns): Defsubr it. |
95f8c3b9 | 15307 | |
b7e85537 JR |
15308 | 2004-04-18 Jason Rumney <jasonr@gnu.org> |
15309 | ||
15310 | * w32select.c (Fw32_set_clipboard_data): Get sequence number | |
15311 | after closing the clipboard. | |
15312 | ||
5a72efd4 LT |
15313 | 2004-04-16 Luc Teirlinck <teirllm@auburn.edu> |
15314 | ||
15315 | * buffer.c (Fbuffer_base_buffer): Doc fix. | |
15316 | ||
20dc8583 KS |
15317 | 2004-04-17 Kim F. Storm <storm@cua.dk> |
15318 | ||
60962ec4 KS |
15319 | * keymap.c (Fkey_description): Add optional PREFIX arg. |
15320 | Combine prefix with KEYS to make up the full key sequence to describe. | |
15321 | Correlate meta_prefix_char and following (simple) key to describe | |
15322 | as meta modifier. All callers changed. | |
15323 | (describe_map): Rename arg `keys' to `prefix'. Remove local | |
15324 | `elt_prefix' var. Use Fkey_description with prefix instead of | |
15325 | elt_prefix combined with Fsingle_key_description. | |
15326 | (describe_vector): Declare static. Replace arg `elt_prefix' with | |
15327 | `prefix'. Add KEYMAP_P arg. Add local var `elt_prefix'; use it | |
52eb0373 | 15328 | if !KEYMAP_P. Use Fkey_description with prefix instead of |
60962ec4 KS |
15329 | Fsingle_key_description. |
15330 | ||
15331 | * keymap.h (Fkey_description): Fix prototype. | |
15332 | (describe_vector): Remove prototype. | |
15333 | ||
409368b9 KS |
15334 | * xdisp.c (update_overlay_arrows): Fix handling of up_to_date < 0. |
15335 | ||
20dc8583 KS |
15336 | * image.c (PNG_BG_COLOR_SHIFT): Remove. |
15337 | (png_load): Fix calculation of transparent background color on X | |
15338 | and W32 platforms. | |
15339 | ||
75c5501b JB |
15340 | 2004-04-16 Juanma Barranquero <lektu@terra.es> |
15341 | ||
15342 | * xdisp.c (try_scrolling): Make sure `scroll-conservatively' is | |
15343 | not too large before computing how much to scroll. | |
15344 | ||
da879ae8 SM |
15345 | 2004-04-15 Stefan Monnier <monnier@iro.umontreal.ca> |
15346 | ||
15347 | * dired.c (Ffile_attributes): Don't pass extra nil arg to file-handler. | |
15348 | ||
d01ca4a8 LT |
15349 | 2004-04-14 Luc Teirlinck <teirllm@auburn.edu> |
15350 | ||
15351 | * fileio.c (Fverify_visited_file_modtime, Fvisited_file_modtime): | |
15352 | Add hyperlink to Elisp manual to the docstring. | |
15353 | ||
572943b3 SM |
15354 | 2004-04-14 Stefan Monnier <monnier@iro.umontreal.ca> |
15355 | ||
15356 | * callint.c (fix_command): Use XDCR. | |
15357 | ||
5e30a0fb NR |
15358 | 2004-04-14 Nick Roberts <nick@nick.uklinux.net> |
15359 | ||
15360 | * window.c (Fget_lru_window): Doc fix. | |
15361 | ||
a27ddfaf KS |
15362 | 2004-04-14 Kim F. Storm <storm@cua.dk> |
15363 | ||
15364 | * editfns.c (Fformat): Fix allocation size of precision array. | |
15365 | ||
15366 | * dispnew.c (update_window): Only set changed_p if | |
15367 | scrolling_window actually did scroll. | |
15368 | (scrolling_window): Only return 1 if we actually did scroll. | |
15369 | ||
15370 | * xdisp.c (get_glyph_string_clip_rect): Fix reduction of cursor | |
15371 | height to glyph height when cursor row is not fully visible. | |
15372 | (make_cursor_line_fully_visible): Add FORCE_P arg to return | |
15373 | failure in case row is higher than window. Callers changed. | |
15374 | (try_scrolling): Fix loop in scrolling if last_line_misfit (from Gerd). | |
15375 | Try to scroll partially visible, higher-than-window cursor row. | |
15376 | (redisplay_window): Always try to scroll partially visible, | |
15377 | higher-than-window cursor row - both initially and again with | |
15378 | centering_position = 0. | |
15379 | Clear desired matrix before retrying with centering_position = 0. | |
15380 | ||
da879ae8 SM |
15381 | 2004-04-13 Stefan Monnier <monnier@iro.umontreal.ca> |
15382 | ||
15383 | * syntax.c (scan_lists): Simplify backward string scan. | |
15384 | Fix off-by-one boundary check for string and comment fences. | |
15385 | ||
5fc16e8e SM |
15386 | 2004-04-13 Joe Buehler <jbuehler@hekimian.com> |
15387 | ||
15388 | * sheap.c, unexcw.c: New files. | |
15389 | ||
c9aac8e6 LT |
15390 | 2004-04-12 Luc Teirlinck <teirllm@auburn.edu> |
15391 | ||
15392 | * buffer.c (Fmake_indirect_buffer): Throw an error if the intended | |
15393 | base buffer has been killed. Correct the error message if the | |
15394 | base buffer does not exist. | |
15395 | ||
1e88a355 SM |
15396 | 2004-04-12 Joe Buehler <jbuehler@hekimian.com> |
15397 | ||
15398 | * s/cygwin.h: Changes for Cygwin unexec() support, changes in | |
15399 | Cygwin itself. Add support for Xaw3d scrollbars. | |
15400 | ||
15401 | * puresize.h: Set up PURE_P() for Cygwin unexec() support. | |
15402 | ||
15403 | * lastfile.c: Define my_endbss[] for Cygwin unexec() support. | |
15404 | ||
15405 | * gmalloc.c (__default_morecore): Use bss_sbrk(), not __sbrk(), | |
15406 | before Cygwin unexec. | |
15407 | ||
15408 | * Makefile.in: Link changes for Cygwin unexec() support. | |
15409 | ||
8dbff9a0 AS |
15410 | 2004-04-12 Andreas Schwab <schwab@suse.de> |
15411 | ||
15412 | * buffer.c (Fmake_indirect_buffer): Check that NAME is a string. | |
15413 | ||
54dffe35 LT |
15414 | 2004-04-11 Luc Teirlinck <teirllm@auburn.edu> |
15415 | ||
15416 | * buffer.c (Fgenerate_new_buffer_name): Return NAME argument if | |
15417 | IGNORE argument equals NAME. Doc fix. | |
15418 | ||
99a72bdf MY |
15419 | 2004-04-11 Masatake YAMATO <jet@gyve.org> |
15420 | ||
1e88a355 | 15421 | * buffer.c (fix_start_end_in_overlays): Make overlays |
99a72bdf MY |
15422 | empty if they are backwards. |
15423 | ||
40899d7b SM |
15424 | 2004-04-09 Stefan Monnier <monnier@iro.umontreal.ca> |
15425 | ||
15426 | * xfaces.c (face_color_supported_p): Fix compilation without X11. | |
15427 | ||
f8f853de SM |
15428 | 2004-04-07 Stefan Monnier <monnier@iro.umontreal.ca> |
15429 | ||
15430 | * doc.c (Fsnarf_documentation): Ignore new file name entries. | |
15431 | ||
c953fe1b KS |
15432 | 2004-04-06 Kim F. Storm <storm@cua.dk> |
15433 | ||
5e1a6e32 | 15434 | * msdos.c (clear_mouse_face): Only clear mouse highlight if not hidden. |
661e85c1 KS |
15435 | (dos_rawgetc): Set mouse_face_hidden after clearing highlight. |
15436 | ||
15437 | * w32term.c (w32_read_socket): Set mouse_face_hidden after | |
15438 | clearing highlight. | |
15439 | ||
15440 | * xdisp.c (clear_mouse_face): Only clear mouse highlight if not hidden. | |
15441 | ||
15442 | * xterm.c (handle_one_xevent): Set mouse_face_hidden after | |
15443 | clearing highlight. | |
15444 | ||
c953fe1b KS |
15445 | * indent.c (vmotion): Do not reserve one column for continuation |
15446 | marks on window frames. | |
15447 | ||
c1994268 EZ |
15448 | 2004-04-04 Eli Zaretskii <eliz@gnu.org> |
15449 | ||
15450 | * charset.h (SINGLE_BYTE_CHAR_P): Fix macro to avoid warnings | |
15451 | from GCC. | |
15452 | ||
9f691b0d SM |
15453 | 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca> |
15454 | ||
15455 | * .gdbinit-union: Remove. | |
15456 | ||
15457 | * .gdbinit: Make it work for USE_LSB_TAG and !NO_LISP_UNION. | |
15458 | (xgetptr, xgetint, xgettype): New funs. Use them everywhere. | |
15459 | ($nonvalbits): Remove. | |
15460 | ($valmask): Set it by calling xreload to avoid redundancy. | |
15461 | ||
15462 | * emacs.c (gdb_use_union, gdb_use_lsb): New vars. | |
15463 | (gdb_emacs_intbits): Remove. | |
15464 | ||
7a8560d7 JD |
15465 | 2004-03-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15466 | ||
9f691b0d | 15467 | * data.c (Fbyteorder): Make test work even if unsigned is not 4 bytes. |
7a8560d7 | 15468 | |
3c8111fc KH |
15469 | 2004-03-30 Kenichi Handa <handa@m17n.org> |
15470 | ||
15471 | * editfns.c (Fformat): Fix initialization of the array info. | |
15472 | ||
48a0bce4 KS |
15473 | 2004-03-30 Kim F. Storm <storm@cua.dk> |
15474 | ||
15475 | * xterm.c (x_mouse_click_focus_ignore_position): New var. | |
15476 | (syms_of_xterm): DEFVAR_BOOL it. | |
15477 | (ignore_next_mouse_click_timeout): New var. | |
15478 | (handle_one_xevent): Clear it on KeyPress, set it on EnterNotify. | |
15479 | Use it to filter mouse clicks following focus event. | |
15480 | ||
1cd0066c KS |
15481 | 2004-03-29 David Ponce <david@dponce.com> |
15482 | ||
15483 | * callint.c (Fcall_interactively): Fix last change. | |
15484 | ||
adb3b353 SM |
15485 | 2004-03-28 Stefan Monnier <monnier@iro.umontreal.ca> |
15486 | ||
15487 | * eval.c (Fcommandp): Simplify. | |
15488 | ||
15489 | * data.c (Finteractive_form): Rename from Fsubr_interactive_form. | |
15490 | Extend to handle all kinds of functions. | |
15491 | ||
15492 | * lisp.h (Finteractive_form): Declare. | |
15493 | ||
15494 | * callint.c (Fcall_interactively): Use it. | |
15495 | ||
6fc4c9c9 KS |
15496 | 2004-03-26 Kim F. Storm <storm@cua.dk> |
15497 | ||
15498 | * xdisp.c (syms_of_xdisp): Include `void-variable' in list_of_error | |
15499 | to catch errors in calc_pixel_width_or_height during redisplay. | |
15500 | ||
abdb9b83 MY |
15501 | 2004-03-26 Masatake YAMATO <jet@gyve.org> |
15502 | ||
b17856dd | 15503 | * buffer.c (fix_start_end_in_overlays): Rename fix_overlays_in_range. |
abdb9b83 | 15504 | |
b17856dd | 15505 | * lisp.h (fix_start_end_in_overlays): Likewise. |
abdb9b83 | 15506 | |
b17856dd | 15507 | * insdel.c (adjust_markers_for_insert): Call fix_start_end_in_overlays. |
abdb9b83 | 15508 | |
b17856dd | 15509 | * editfns.c (Ftranspose_regions): Likewise. |
abdb9b83 | 15510 | |
e8a84b6c JD |
15511 | 2004-03-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15512 | ||
b17856dd | 15513 | * xterm.c (handle_one_xevent): Do not pass key press events to GTK. |
e8a84b6c | 15514 | |
36a3fd05 RS |
15515 | 2004-03-19 Richard M. Stallman <rms@gnu.org> |
15516 | ||
15517 | * s/sol2-6.h: Delete previous change. | |
15518 | ||
ab24c127 KS |
15519 | 2004-03-19 Kim F. Storm <storm@cua.dk> |
15520 | ||
15521 | * xdisp.c (move_it_in_display_line_to): Fix MOVE_TO_POS case when | |
15522 | to_charpos corresponds to newline in right fringe. Use local | |
15523 | BUFFER_POS_REACHED_P macro. | |
15524 | ||
992126de JD |
15525 | 2004-03-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15526 | ||
15527 | * xdisp.c (calc_pixel_width_or_height): Add ifdef HAVE_WINDOW_SYSTEM | |
15528 | to compile on non-window system. | |
15529 | ||
45dbfc84 KS |
15530 | 2004-03-19 Kim F. Storm <storm@cua.dk> |
15531 | ||
15532 | * dispextern.h (calc_pixel_width_or_height): Add prototype. | |
15533 | ||
15534 | * image.c (Qcenter): Move to xdisp.c. | |
15535 | ||
15536 | * xdisp.c (Qcenter): Declare here. | |
adb3b353 | 15537 | (syms_of_xdisp): Intern and staticpro it. |
45dbfc84 KS |
15538 | (handle_single_display_prop): Allow space display property on all |
15539 | platforms. | |
15540 | (display_mode_line): Set mode_line_p before displaying line. | |
15541 | (calc_pixel_width_or_height): Declare extern. Add separate :align-to | |
15542 | handling. Remove complex cases for fringes and scroll-bars. | |
52eb0373 | 15543 | Add left, right, and center alignment positions. Add text (area) |
45dbfc84 KS |
15544 | width/height. Return width or height for image specs. |
15545 | (produce_stretch_glyph): Improve handling of :align-to. Is now | |
15546 | relative to left of text area by default, but other base offsets | |
15547 | can be specified -- also for text lines. | |
15548 | ||
15549 | * term.c (produce_glyphs): Handle IT_STRETCH. | |
15550 | (produce_stretch_glyph): New function to handle space width and | |
15551 | align-to display properties on non-window systems. | |
15552 | ||
37264101 SM |
15553 | 2004-03-17 Stefan Monnier <monnier@iro.umontreal.ca> |
15554 | ||
15555 | * fileio.c (Fread_file_name): Set completion-ignore-case for | |
15556 | case-insensitive systems. | |
15557 | ||
73bc43da MY |
15558 | 2004-03-14 Masatake YAMATO <jet@gyve.org> |
15559 | ||
15560 | * xdisp.c (note_mode_line_or_margin_highlight): Accept HEADER_LINE | |
15561 | when keymap and cursor are setup. | |
15562 | ||
d5fb8dab | 15563 | 2004-03-14 Steven Tamm <steventamm@mac.com> |
9062aa89 | 15564 | |
b17856dd | 15565 | * Makefile.in (XMENU_OBJ) [HAVE_CARBON]: Do not include xmenu.o. |
9062aa89 | 15566 | |
e4b1b5ab KS |
15567 | 2004-03-14 Kim F. Storm <storm@cua.dk> |
15568 | ||
15569 | * dispextern.h (x_find_image_file): Add prototype. | |
15570 | ||
15571 | * image.c (x_find_image_file): Make extern. | |
15572 | ||
15573 | * xfns.c (x_find_image_file): Remove prototype. | |
15574 | ||
a6eeaa81 | 15575 | 2004-03-13 Eli Zaretskii <eliz@gnu.org> |
5109b06a | 15576 | |
37264101 | 15577 | * Makefile.in (XMENU_OBJ): Include xmenu.o if HAVE_MENUS is defined. |
5109b06a | 15578 | |
37264101 | 15579 | * emacs.c (main): Call syms_of_xmenu only if HAVE_MENUS is defined. |
5109b06a | 15580 | |
e69cfac2 RS |
15581 | 2004-03-12 Richard M. Stallman <rms@gnu.org> |
15582 | ||
15583 | * fns.c (internal_equal): New arg PROPS controls comparing | |
15584 | text properties. All callers changed. | |
15585 | (Fequal_including_properties): New function. | |
15586 | (syms_of_fns): defsubr it. | |
15587 | ||
45034953 KS |
15588 | 2004-03-12 Kim F. Storm <storm@cua.dk> |
15589 | ||
15590 | Fix image support on MAC. From YAMAMOTO Mitsuharu. | |
37264101 | 15591 | |
45034953 KS |
15592 | * dispextern.h (XImagePtr, XImagePtr_or_DC): Add typedefs. |
15593 | (image_background, image_background_transparent): Fix prototypes. | |
15594 | ||
37264101 | 15595 | * image.c (XImagePtr, XImagePtr_or_DC): Move typedefs to dispextern.h. |
45034953 KS |
15596 | |
15597 | * macfns.c (x_list_fonts, x_get_font_info, x_load_font) | |
15598 | (x_query_font, x_find_ccl_program, x_set_window_size) | |
15599 | (x_make_frame_visible, mac_initialize, XCreatePixmap) | |
15600 | (XCreatePixmapFromBitmapData, XFreePixmap, XSetForeground) | |
15601 | (mac_draw_line_to_pixmap): Move prototypes to macterm.h. | |
15602 | ||
15603 | * macterm.h (x_list_fonts, x_get_font_info, x_load_font) | |
15604 | (x_query_font, x_find_ccl_program, x_set_window_size) | |
15605 | (x_make_frame_visible, mac_initialize, XCreatePixmap) | |
15606 | (XCreatePixmapFromBitmapData, XFreePixmap, XSetForeground) | |
15607 | (mac_draw_line_to_pixmap): Add prototypes. | |
15608 | ||
15609 | 2004-03-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
15610 | ||
15611 | * macterm.c (XTread_socket): Fix mouse click on tool bar. | |
15612 | ||
a12d3d87 KS |
15613 | 2004-03-11 Kim F. Storm <storm@cua.dk> |
15614 | ||
d3ab1cf1 KS |
15615 | * dispextern.h: Move image related prototypes from xfns.c section |
15616 | to image.c. Condition them by HAVE_WINDOW_SYSTEM rather than | |
15617 | HAVE_X_WINDOWS. | |
37264101 | 15618 | |
37de9f51 | 15619 | * Makefile.in (XOBJ): Consolidate into one list. Add image.o. |
37264101 | 15620 | Move gtkutil.o to new GTK_OBJ list. |
a12d3d87 KS |
15621 | (XMENU_OBJ) [HAVE_MENUS]: Move declaration to proper place. |
15622 | (GTK_OBJ) [USE_GTK]: New declaration. | |
15623 | (obj): Add $(GTK_OBJ) to list. | |
15624 | ||
d5fb8dab | 15625 | 2004-03-11 Steven Tamm <steventamm@mac.com> |
5109b06a | 15626 | |
7e26f91b | 15627 | * image.c [MAC_OSX]: Include sys/stat.h. |
5243c06a ST |
15628 | |
15629 | * macfns.c (syms_of_macfns): Remove definitions of things now | |
7e26f91b | 15630 | defined in image.c. |
5243c06a | 15631 | |
c0f97789 KS |
15632 | 2004-03-11 Kim F. Storm <storm@cua.dk> |
15633 | ||
15634 | The following changes consolidates the identical/similar image | |
15635 | support code previously found in xfns.c, w32fns.c, and macfns.c | |
15636 | into a new file image.c. | |
15637 | ||
15638 | * makefile.w32-in (OBJ1): Add image.o. | |
15639 | ($(BLD)/image.$(O)): Add dependencies. | |
15640 | ||
15641 | * Makefile.in (XOBJ, MAC_OBJ): Add image.o. | |
15642 | (image.o): Add dependencies. | |
37264101 | 15643 | |
c0f97789 KS |
15644 | * image.c: New file with consolidated image support code. |
15645 | (COLOR_TABLE_SUPPORT): New define to control whether | |
15646 | color table support is available (X only). | |
15647 | (Bitmap_Record): Common name for x_bitmap_record, | |
15648 | w32_bitmap_record, and mac_bitmap_record. | |
15649 | (XImagePtr): Common name for pointer to XImage or equivalent. | |
15650 | (XImagePtr_or_DC): New type to simplify code sharing; equivalent | |
15651 | to XImagePtr on X+MAC, and to HDC on W32. | |
15652 | (GET_PIXEL): Wrapper for XGetPixel or equivalent. | |
15653 | (NO_PIXMAP): Common name for "None" or equivalent. | |
15654 | (PNG_BG_COLOR_SHIFT): Bits to shift PNG background colors. | |
15655 | (RGB_PIXEL_COLOR): Common type for an integer "pixel color" value. | |
15656 | (PIX_MASK_RETAIN, PIX_MASK_DRAW): Portability macros (from macfns.c). | |
37264101 SM |
15657 | (FRAME_X_VISUAL, x_defined_color, DefaultDepthOfScreen): |
15658 | Define with suitable equivalents on W32 and MAC for code sharing. | |
c0f97789 KS |
15659 | (XDrawLine): Define on MAC for code sharing. |
15660 | (Destroy_Image, Free_Pixmap): Wrappers for code sharing. | |
15661 | (IF_LIB_AVAILABLE): Macro to simplify code sharing. | |
15662 | (Vx_bitmap_file_path, Vimage_cache_eviction_delay) | |
15663 | (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
15664 | (x_reference_bitmap, x_create_bitmap_from_data) | |
15665 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
15666 | (x_destroy_all_bitmaps, x_create_bitmap_mask) | |
15667 | (XGetImage, XPutPixel, XGetPixel, XDestroyImage) | |
15668 | (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) | |
15669 | (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) | |
15670 | (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) | |
15671 | (define_image_type, lookup_image_type, valid_image_p) | |
15672 | (image_error, enum image_value_type, struct image_keyword) | |
15673 | (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) | |
15674 | (make_image, free_image, prepare_image_for_display, image_ascent) | |
15675 | (four_corners_best, image_background, image_background_transparent) | |
9dd28cae | 15676 | (x_clear_image_1, x_clear_image, x_alloc_image_color) |
c0f97789 KS |
15677 | (make_image_cache, free_image_cache, clear_image_cache) |
15678 | (Fclear_image_cache, postprocess_image, lookup_image, cache_image) | |
15679 | (forall_images_in_image_cache, x_create_x_image_and_pixmap) | |
15680 | (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) | |
15681 | (find_image_fsspec, image_load_qt_1, image_load_quicktime) | |
15682 | (init_image_func_pointer, image_load_quartz2d) | |
15683 | (struct ct_color, init_color_table, free_color_table) | |
15684 | (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) | |
15685 | (cross_disabled_images, x_to_xcolors, x_from_xcolors) | |
15686 | (x_detect_edges, x_emboss, x_laplace, x_edge_detection) | |
15687 | (x_disable_image, x_build_heuristic_mask) | |
15688 | (XBM support, XPM support, PBM support, PNG support, JPEG support) | |
15689 | (TIFF support, GIF support, Ghostscript support): Consolidate image | |
15690 | code from xfns.c, w32fns.c, and macfns.c. | |
15691 | (syms_of_image): Consolidate image related symbol setup here. | |
15692 | (init_image): Consolidate image related initializations here. | |
37264101 | 15693 | |
c0f97789 KS |
15694 | * emacs.c (main) [HAVE_WINDOW_SYSTEM]: Add calls to syms_of_image |
15695 | and init_image. Remove call to init_xfns. | |
15696 | ||
37264101 SM |
15697 | * macterm.h (struct mac_bitmap_record): Add file member. |
15698 | Not currently used, but simplifies code sharing. | |
c0f97789 KS |
15699 | |
15700 | * macfns.c (Vx_bitmap_file_path, Vimage_cache_eviction_delay) | |
15701 | (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
15702 | (x_reference_bitmap, x_create_bitmap_from_data) | |
15703 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
15704 | (x_destroy_all_bitmaps, x_create_bitmap_mask) | |
15705 | (XGetImage, XPutPixel, XGetPixel, XDestroyImage) | |
15706 | (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) | |
15707 | (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) | |
15708 | (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) | |
15709 | (define_image_type, lookup_image_type, valid_image_p) | |
15710 | (image_error, enum image_value_type, struct image_keyword) | |
15711 | (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) | |
15712 | (make_image, free_image, prepare_image_for_display, image_ascent) | |
15713 | (four_corners_best, image_background, image_background_transparent) | |
9dd28cae | 15714 | (x_clear_image_1, x_clear_image, x_alloc_image_color) |
c0f97789 KS |
15715 | (make_image_cache, free_image_cache, clear_image_cache) |
15716 | (Fclear_image_cache, postprocess_image, lookup_image, cache_image) | |
15717 | (forall_images_in_image_cache, x_create_x_image_and_pixmap) | |
15718 | (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) | |
15719 | (find_image_fsspec, image_load_qt_1, image_load_quicktime) | |
15720 | (init_image_func_pointer, image_load_quartz2d) | |
15721 | (struct ct_color, init_color_table, free_color_table) | |
15722 | (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) | |
15723 | (cross_disabled_images, x_to_xcolors, x_from_xcolors) | |
15724 | (x_detect_edges, x_emboss, x_laplace, x_edge_detection) | |
15725 | (x_disable_image, x_build_heuristic_mask) | |
15726 | (XBM support, XPM support, PBM support, PNG support, JPEG support) | |
15727 | (TIFF support, GIF support, Ghostscript support): Merge with image | |
15728 | code from xfns.c and macfns.c into image.c. | |
15729 | (syms_of_xfns): Move image related symbols to image.c. | |
15730 | (init_external_image_libraries, init_xfns): Remove; initialization | |
15731 | moved to init_image in image.c. | |
15732 | ||
15733 | * w32fns.c (Vx_bitmap_file_path, Vimage_cache_eviction_delay) | |
15734 | (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
15735 | (x_reference_bitmap, x_create_bitmap_from_data) | |
15736 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
15737 | (x_destroy_all_bitmaps, x_create_bitmap_mask) | |
15738 | (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) | |
15739 | (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) | |
15740 | (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) | |
15741 | (define_image_type, lookup_image_type, valid_image_p) | |
15742 | (image_error, enum image_value_type, struct image_keyword) | |
15743 | (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) | |
15744 | (make_image, free_image, prepare_image_for_display, image_ascent) | |
15745 | (four_corners_best, image_background, image_background_transparent) | |
9dd28cae | 15746 | (x_clear_image_1, x_clear_image, x_alloc_image_color) |
c0f97789 KS |
15747 | (make_image_cache, free_image_cache, clear_image_cache) |
15748 | (Fclear_image_cache, postprocess_image, lookup_image, cache_image) | |
15749 | (forall_images_in_image_cache, x_create_x_image_and_pixmap) | |
15750 | (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) | |
15751 | (struct ct_color, init_color_table, free_color_table) | |
15752 | (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) | |
15753 | (cross_disabled_images, x_to_xcolors, x_from_xcolors) | |
15754 | (x_detect_edges, x_emboss, x_laplace, x_edge_detection) | |
15755 | (x_disable_image, x_build_heuristic_mask) | |
15756 | (XBM support, XPM support, PBM support, PNG support, JPEG support) | |
15757 | (TIFF support, GIF support, Ghostscript support): Merge with image | |
15758 | code from xfns.c and macfns.c into image.c. | |
15759 | (syms_of_xfns): Move image related symbols to image.c. | |
15760 | (init_external_image_libraries, init_xfns): Remove; initialization | |
15761 | moved to init_image in image.c. | |
15762 | ||
15763 | * xfns.c (Vx_bitmap_file_path, Vimage_cache_eviction_delay) | |
15764 | (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
15765 | (x_reference_bitmap, x_create_bitmap_from_data) | |
15766 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
15767 | (x_destroy_all_bitmaps, x_create_bitmap_mask) | |
15768 | (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) | |
15769 | (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) | |
15770 | (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) | |
15771 | (define_image_type, lookup_image_type, valid_image_p) | |
15772 | (image_error, enum image_value_type, struct image_keyword) | |
15773 | (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) | |
15774 | (make_image, free_image, prepare_image_for_display, image_ascent) | |
15775 | (four_corners_best, image_background, image_background_transparent) | |
9dd28cae | 15776 | (x_clear_image_1, x_clear_image, x_alloc_image_color) |
c0f97789 KS |
15777 | (make_image_cache, free_image_cache, clear_image_cache) |
15778 | (Fclear_image_cache, postprocess_image, lookup_image, cache_image) | |
15779 | (forall_images_in_image_cache, x_create_x_image_and_pixmap) | |
15780 | (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) | |
15781 | (struct ct_color, init_color_table, free_color_table) | |
15782 | (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) | |
15783 | (cross_disabled_images, x_to_xcolors, x_from_xcolors) | |
15784 | (x_detect_edges, x_emboss, x_laplace, x_edge_detection) | |
15785 | (x_disable_image, x_build_heuristic_mask) | |
15786 | (XBM support, XPM support, PBM support, PNG support, JPEG support) | |
15787 | (TIFF support, GIF support, Ghostscript support): Merge with | |
15788 | w32fns.c and macfns.c image code into image.c. | |
15789 | (syms_of_xfns): Move image related symbols to image.c. | |
15790 | (init_xfns): Remove; initialization moved to init_image in image.c. | |
15791 | ||
15792 | * lisp.h (syms_of_image, init_image): Add protoypes. | |
15793 | (init_xfns): Remove prototype. | |
15794 | ||
15795 | * dispextern.h (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
15796 | (x_reference_bitmap, x_create_bitmap_from_data) | |
15797 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
15798 | (x_create_bitmap_mask): Move prototypes from dispextern.h. | |
15799 | (gamma_correct) [MAC_OS]: Add prototype. | |
15800 | ||
15801 | * xterm.h (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
15802 | (x_reference_bitmap, x_create_bitmap_from_data) | |
15803 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
15804 | (x_create_bitmap_mask): Move prototypes to dispextern.h. | |
15805 | ||
6eced09c KH |
15806 | 2004-03-09 Kenichi Handa <handa@etlken2> |
15807 | ||
15808 | * coding.c (decode_coding_emacs_mule): Handle insufficent source | |
15809 | correctly. | |
15810 | ||
9a7e95f3 RS |
15811 | 2004-03-04 Richard M. Stallman <rms@gnu.org> |
15812 | ||
04a6e76b RS |
15813 | * s/sol2-6.h (LD_SWITCH_SYSTEM_TEMACS): New definition. |
15814 | ||
9a7e95f3 RS |
15815 | * window.c (Fdisplay_buffer): Doc fix. |
15816 | ||
15817 | * buffer.c (Fpop_to_buffer): Doc fix. | |
15818 | ||
6c2488df KS |
15819 | 2004-03-03 Kim F. Storm <storm@cua.dk> |
15820 | ||
15821 | * xdisp.c (display_line): Fix call to get_overlay_arrow_glyph_row. | |
15822 | ||
d8d95bc7 SM |
15823 | 2004-03-02 Stefan Monnier <monnier@iro.umontreal.ca> |
15824 | ||
15825 | * editfns.c (Ftranslate_region): Lisp_Object/int mixup. | |
15826 | ||
357589bf RS |
15827 | 2004-03-02 Richard M. Stallman <rms@gnu.org> |
15828 | ||
15829 | * indent.c (compute_motion): Save vpos in prev_vpos, like hpos etc. | |
15830 | ||
409949b5 KH |
15831 | 2004-03-02 Kenichi Handa <handa@m17n.org> |
15832 | ||
15833 | * doc.c (Fsubstitute_command_keys): Fix counding bytes. | |
15834 | ||
d24bc50f KS |
15835 | 2004-03-02 Kim F. Storm <storm@cua.dk> |
15836 | ||
15837 | * window.h (struct window): New member overlay_arrow_bitmap. | |
15838 | ||
15839 | * window.c (make_window): Initialize overlay_arrow_bitmap. | |
15840 | ||
15841 | * xdisp.c (Voverlay_arrow_variable_list): New variable to properly | |
15842 | implement and integrate multiple overlay arrows with redisplay. | |
15843 | (syms_of_xdisp): DEFVAR_LISP and initialize it. | |
15844 | (last_arrow_position, last_arrow_string): Replace by properties. | |
15845 | (Qlast_arrow_position, Qlast_arrow_string) | |
15846 | (Qoverlay_arrow_string, Qoverlay_arrow_bitmap): New variables. | |
15847 | (syms_of_xdisp): Intern and staticpro them. | |
15848 | (overlay_arrow_string_or_property, update_overlay_arrows) | |
15849 | (overlay_arrow_in_current_buffer_p, overlay_arrows_changed_p) | |
15850 | (overlay_arrow_at_row): New functions for multiple overlay arrows. | |
15851 | (redisplay_internal): Use them instead of directly accessing | |
15852 | Voverlay_arrow_position etc. for multiple overlay arrows. | |
15853 | (mark_window_display_accurate): Use update_overlay_arrows. | |
15854 | (try_cursor_movement): Use overlay_arrow_in_current_buffer_p. | |
15855 | (try_window_id): Use overlay_arrows_changed_p. | |
15856 | (get_overlay_arrow_glyph_row): Add overlay_arrow_string arg. | |
15857 | (display_line): Use overlay_arrow_at_row to check multiple | |
15858 | overlay arrows, and get relevant overlay-arrow-string and | |
d8d95bc7 | 15859 | overlay-arrow-bitmap. Set w->overlay_arrow_bitmap accordingly. |
d24bc50f KS |
15860 | (produce_image_glyph): Set pixel_width = 0 for fringe bitmap. |
15861 | (syms_of_xdisp): Remove last_arrow_position and last_arrow_string. | |
15862 | ||
15863 | * fringe.c (draw_fringe_bitmap): Use w->overlay_arrow_bitmap if set. | |
15864 | (update_window_fringes): Remove unused code. | |
15865 | ||
c1464661 JR |
15866 | 2004-03-01 Jason Rumney <jasonr@gnu.org> |
15867 | ||
15868 | * w32term.c (w32_read_socket): Fix last change to ButtonPress handling. | |
15869 | ||
a64387ee JB |
15870 | 2004-03-01 Juanma Barranquero <lektu@terra.es> |
15871 | ||
15872 | * fringe.c (Fdefine_fringe_bitmap): Fix typo in docstring. | |
15873 | ||
15874 | * makefile.w32-in ($(BLD)/fringe.$(O)): Add dependencies. | |
15875 | ||
334faa08 JD |
15876 | 2004-03-01 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15877 | ||
15878 | * xfns.c (Fx_display_color_cells): Use number of planes to calculate | |
15879 | how many colors can be displayed. | |
15880 | ||
bb62616f KH |
15881 | 2004-03-01 Kenichi Handa <handa@m17n.org> |
15882 | ||
15883 | * editfns.c (Ftranslate_region): Handle multibyte chars in TABLE | |
15884 | correctly. | |
15885 | ||
0fd16104 KS |
15886 | 2004-02-28 Kim F. Storm <storm@cua.dk> |
15887 | ||
15888 | * dispnew.c (update_window): Update header line also if there are | |
15889 | no other changes in window (move code after set_cursor label). | |
15890 | ||
15891 | * lisp.h (mark_window_display_accurate): Remove prototype. | |
15892 | ||
15893 | * window.c (window_loop, Fforce_window_update): Force mode line | |
15894 | updates by setting prevent_redisplay_optimizations_p and | |
15895 | update_mode_lines. | |
15896 | ||
b59dd9c8 JD |
15897 | 2004-02-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15898 | ||
d8d95bc7 | 15899 | * xfns.c (x_window): Fix indentation. |
b59dd9c8 JD |
15900 | |
15901 | * xterm.c (x_calc_absolute_position): Call x_real_positions | |
15902 | to get WM window sizes and use those to calculate position. | |
d8d95bc7 | 15903 | (x_set_offset): Remove code commented out. |
b59dd9c8 | 15904 | |
a874691c MB |
15905 | 2004-02-28 Miles Bader <miles@gnu.org> |
15906 | ||
15907 | * keyboard.c (adjust_point_for_property): #ifdef-out dodgy xassert. | |
15908 | ||
3e0c6482 KS |
15909 | 2004-02-28 Kim F. Storm <storm@cua.dk> |
15910 | ||
15911 | * keyboard.c (kbd_buffer_store_event_hold): New function to store | |
15912 | an event into kbd fifo, but with special handling of quit event; | |
15913 | a quit event is saved for later, and further events are discarded | |
15914 | until the saved quit event has been processed. | |
15915 | (kbd_buffer_store_event): Use kbd_buffer_store_event_hold. | |
15916 | (gen_help_event): Store help event in kbd fifo. | |
15917 | (NREAD_INPUT_EVENTS): Remove. | |
15918 | (read_avail_input): Adapt to new read_socket_hook interface. | |
15919 | Remove allocation and initialization of local input_event buffer, | |
15920 | as read_socket_hook stores events directly in fifo. Allocate and | |
15921 | initialize local hold_quit event to handle postponed quit event | |
15922 | (and store it if set by kbd_buffer_store_event_hold). | |
15923 | ||
15924 | * keyboard.h (kbd_buffer_store_event_hold): Add prototype. | |
15925 | (gen_help_event): Fix prototype. | |
15926 | ||
a64387ee | 15927 | * macterm.c (XTread_socket): Remove bufp_r and |
3e0c6482 | 15928 | numcharsp args. Add hold_quit arg. |
f63fd14e | 15929 | Rework to use just one, local, inev input_event. Store inev |
3e0c6482 KS |
15930 | directly in fifo using kbd_buffer_store_event_hold. |
15931 | ||
15932 | * sysdep.c (BUFFER_SIZE_FACTOR): Remove. | |
15933 | (read_input_waiting): Adapt to new read_socket_hook interface. | |
15934 | Remove allocation and initialization of local input_event buffer, | |
15935 | as read_socket_hook stores events directly in fifo. Allocate and | |
15936 | initialize local hold_quit event to handle postponed quit event | |
15937 | (and store it if set by kbd_buffer_store_event_hold). | |
15938 | ||
a64387ee | 15939 | * term.c (read_socket_hook): Fix arg list. |
3e0c6482 KS |
15940 | |
15941 | * termhooks.h (read_socket_hook): Fix prototype. | |
15942 | ||
15943 | * w32inevt.c (w32_console_read_socket): Remove bufp_r and | |
15944 | numcharsp args. Add hold_quit arg. | |
f63fd14e | 15945 | Rework to use just one, local, inev input_event. Store inev |
3e0c6482 KS |
15946 | directly in fifo using kbd_buffer_store_event_hold. |
15947 | ||
15948 | * w32inevt.h (w32_console_mouse_position): Fix prototype. | |
15949 | ||
15950 | * w32term.c (w32_read_socket): Remove bufp_r and numcharsp args. | |
f63fd14e JB |
15951 | Add hold_quit arg. Rework to use just one, local, inev |
15952 | input_event. Store inev directly in fifo using | |
3e0c6482 KS |
15953 | kbd_buffer_store_event_hold. Update count in one place. |
15954 | Postpone call to gen_help_event until inev is stored; use new | |
15955 | local do_help for this. | |
15956 | Remove local emacs_event in handing of ButtonPress event; just use | |
15957 | inev instead (so no reason to copy it later). | |
15958 | ||
15959 | * xsmfns.c (x_session_check_input): Remove numchars arg. | |
15960 | ||
d8d95bc7 SM |
15961 | * xterm.c (x_focus_changed, x_detect_focus_change): |
15962 | Remove numchars arg. Always store event into bufp arg. | |
15963 | Return nothing. Callers changed accordingly. | |
3e0c6482 KS |
15964 | (glyph_rect): Simplify. |
15965 | (STORE_KEYSYM_FOR_DEBUG): New macro. | |
15966 | (SET_SAVED_MENU_EVENT): Use inev instead of bufp, etc. | |
15967 | (current_bufp, current_numcharsp) [USE_GTK]: Remove. | |
15968 | (current_hold_quit) [USE_GTK]: Add. | |
15969 | (event_handler_gdk): Adapt to new handle_one_xevent. | |
15970 | (handle_one_xevent): Remove bufp_r and numcharsp args. | |
f63fd14e JB |
15971 | Add hold_quit arg. Rework to use just one, local, inev |
15972 | input_event. Store inev directly in fifo using | |
3e0c6482 KS |
15973 | kbd_buffer_store_event_hold. Update count in one place. |
15974 | Postpone call to gen_help_event until inev is stored; use new | |
15975 | local do_help for this. | |
15976 | Simplify handling of keysyms (consolidate common code). Fix bug | |
15977 | where count was updated with nchars instead of nbytes. | |
15978 | Remove local emacs_event in handing of ButtonPress event; just use | |
15979 | inev instead (so no reason to copy it later). | |
15980 | Remove `out' label. Rename label `ret' to `done'; add various | |
15981 | `goto done' to clarify code flow in deeply nested blocks. | |
15982 | (x_dispatch_event): Simplify as handle_one_xevent now calls | |
15983 | kbd_buffer_store_event itself. | |
f63fd14e | 15984 | (XTread_socket): Remove bufp_r and numcharsp args. Add hold_quit |
3e0c6482 KS |
15985 | arg. Call handle_one_xevent with new arglist. Store event from |
15986 | x_session_check_input in fifo. | |
15987 | [USE_GTK]: Setup current_hold_quit. | |
15988 | Decrement handling_signal before unblocking input. | |
15989 | (x_initialize) [USE_GTK]: Initialize current_count. | |
15990 | ||
15991 | * xterm.h (x_session_check_input): Fix prototype. | |
15992 | ||
e3564461 | 15993 | 2004-02-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
a64387ee | 15994 | |
d8d95bc7 | 15995 | * s/darwin.h (LD_SWITCH_SYSTEM_TEMACS): Add `-framework QuickTime'. |
a64387ee | 15996 | |
e3564461 ST |
15997 | * dispextern.h [MAC_OSX]: Do not include Carbon/Carbon.h (now in |
15998 | macgui.h). | |
a64387ee | 15999 | |
e3564461 | 16000 | * emacs.c (main) [HAVE_CARBON]: Call init_xfns. |
a64387ee | 16001 | |
e3564461 ST |
16002 | * macgui.h [MAC_OSX]: Include Carbon/Carbon.h. |
16003 | (mktime, DEBUG, Z, free, malloc, realloc, max, min) | |
a66f285a | 16004 | (init_process) [MAC_OSX]: Avoid conflicts with Carbon/Carbon.h. |
e3564461 ST |
16005 | [!MAC_OSX]: Include QDOffscreen.h and Controls.h. |
16006 | (INFINITY) [MAC_OSX]: Avoid conflict with definition in math.h. | |
16007 | (Bitmap): Remove typedef. | |
16008 | (Pixmap): Change int to GWorldPtr. | |
16009 | ||
d8d95bc7 | 16010 | * macmenu.c [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h). |
a64387ee | 16011 | |
d8d95bc7 SM |
16012 | * macterm.h [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h). |
16013 | (RED16_FROM_ULONG, GREEN16_FROM_ULONG, BLUE16_FROM_ULONG): | |
16014 | New #define to extract 16-bit depth color components from unsigned | |
e3564461 ST |
16015 | long representation. |
16016 | (PIX_MASK_DRAW, PIX_MASK_RETAIN): New #define to represent pixel | |
16017 | colors used for masks. | |
16018 | (struct mac_display_info): Add color_p. Remove n_cbits. | |
a64387ee | 16019 | |
e3564461 ST |
16020 | * macfns.c: Include sys/types.h and sys/stat.h. |
16021 | [MAC_OSX]: Do not include Carbon/Carbon.h (now in macgui.h). | |
16022 | Include QuickTime/QuickTime.h. | |
16023 | (XCreatePixmap, XCreatePixmapFromBitmapData, XFreePixmap) | |
16024 | (XSetForeground, mac_draw_line_to_pixmap): Add externs for | |
16025 | functions defined in macterm.c. | |
16026 | (XImagePtr): New typedef. Corresponds to XImage * in xfns.c. | |
16027 | (ZPixmap): New #define for compatibility with xfns.c. | |
16028 | (XGetImage, XPutPixel, XGetPixel, XDestroyImage) | |
16029 | (x_create_x_image_and_pixmap, x_destroy_x_image, x_put_x_image) | |
d8d95bc7 SM |
16030 | (find_image_fsspec, image_load_qt_1, image_load_quicktime): |
16031 | New functions. | |
e3564461 | 16032 | (four_corners_best, x_create_x_image_and_pixmap) |
d8d95bc7 SM |
16033 | (x_destroy_x_image, unwind_create_frame, x_disable_image) |
16034 | (x_edge_detection, init_color_table, colors_in_color_table) | |
e3564461 ST |
16035 | (lookup_rgb_color, lookup_pixel_color, postprocess_image) |
16036 | (x_put_x_image, slurp_file, xbm_scan, xbm_load, xbm_load_image) | |
16037 | (xbm_image_p, xbm_read_bitmap_data, xbm_file_p, x_to_xcolors) | |
16038 | (x_from_xcolors, x_detect_edges): New declarations (from xfns.c). | |
16039 | (mac_color_map_lookup, x_to_mac_color): Fix Lisp_Object/unsigned | |
16040 | long mixup. | |
16041 | (mac_defined_color, x_to_x_colors): Use RED16_FROM_ULONG etc. | |
16042 | (x_decode_color): Don't use n_cbits (in struct mac_display_info). | |
16043 | (x_set_foreground_color, x_set_cursor_color): Sync with w32fns.c. | |
16044 | (x_set_cursor_type, Fxw_color_values, valid_image_p) | |
16045 | (image_value_type, parse_image_spec, image_ascent, x_clear_image) | |
16046 | (x_alloc_image_color, clear_image_cache, lookup_image) | |
16047 | (x_find_image_file, xbm_read_bitmap_file_data) | |
16048 | (enum xbm_keyword_index, xbm_format, xbm_image_p, xbm_scan) | |
16049 | (xbm_read_bitmap_data, xbm_load, pbm_image_p, pbm_scan_number) | |
16050 | (enum pbm_keyword_index, pbm_format, enum png_keyword_index) | |
16051 | (png_format, png_image_p, enum jpeg_keyword_index, jpeg_format) | |
16052 | (jpeg_image_p, enum tiff_keyword_index, tiff_format, tiff_image_p) | |
d8d95bc7 | 16053 | (enum gif_keyword_index, gif_format, gif_image_p): Sync with xfns.c. |
e3564461 ST |
16054 | (x_make_gc): Sync with xfns.c. Enclose unused `border_tile' with |
16055 | #if 0. | |
16056 | (x_free_gcs): Sync with xfns.c. Enclose unused `border_tile' with | |
16057 | #if 0. Free white_relief.gc and black_relief.gc. | |
d8d95bc7 SM |
16058 | (unwind_create_frame, x_emboss, x_laplace, x_edge_detection): |
16059 | New functions (from xfns.c). | |
e3564461 ST |
16060 | (Fx_create_frame): Record unwind_create_frame. |
16061 | (Fxw_display_color_p): Use dpyinfo->color_p. | |
16062 | (Fx_display_grayscale_p, Fx_display_planes): Don't use | |
16063 | dpyinfo->n_cbits. | |
16064 | (Fx_display_color_cells): Use dpyinfo->n_planes; | |
16065 | (QCmatrix, QCcolor_adjustment, QCmask, Qemboss, Qedge_detection) | |
16066 | (Qheuristic, cross_disabled_images, emboss_matrix) | |
16067 | (laplace_matrix): New variables (from xfns.c). | |
16068 | (Fimage_size, Fimage_mask_p, four_corners_best, image_background) | |
16069 | (x_clear_image_1, postprocess_image, slurp_file, xbm_load_image) | |
16070 | (xbm_file_p, x_to_xcolors, x_from_xcolors, x_detect_edges) | |
d8d95bc7 SM |
16071 | (image_background_transparent): New function (from xfns.c). |
16072 | Use PIX_MASK_DRAW/PIX_MASK_RETAIN. | |
e3564461 ST |
16073 | (image_load_quicktime): Add declaration. |
16074 | [MAC_OSX] (image_load_quartz2d): Likewise. | |
16075 | [MAC_OSX] (CGImageCreateWithPNGDataProviderProcType): New typedef. | |
16076 | [MAC_OSX] (MyCGImageCreateWithPNGDataProvider): New variable. | |
d8d95bc7 | 16077 | [MAC_OSX] (init_image_func_pointer, image_load_quartz2d): New funs. |
e3564461 ST |
16078 | (xbm_load_image_from_file, x_laplace_read_row) |
16079 | (x_laplace_write_row, pbm_read_file): Remove functions. | |
16080 | [HAVE_XPM] (enum xpm_keyword_index, xpm_format, xpm_image_p) | |
16081 | (xpm_load): Sync with xfns.c (although XPM is not supported yet). | |
16082 | (colors_in_color_table): Sync with xfns.c (although not used). | |
16083 | (lookup_rgb_color): Don't lookup color table. Just do gamma | |
16084 | correction. | |
16085 | (COLOR_INTENSITY): New #define (from xfns.c). | |
d8d95bc7 SM |
16086 | (x_disable_image): New function (from xfns.c). |
16087 | Use PIX_MASK_DRAW/PIX_MASK_RETAIN. | |
16088 | (x_build_heuristic_mask): Sync with xfns.c. | |
16089 | Use PIX_MASK_DRAW/PIX_MASK_RETAIN. | |
e3564461 ST |
16090 | (HAVE_PBM): Remove #ifdef. |
16091 | (pbm_load): Sync with xfns.c. Set img->width and img->height | |
16092 | before IMAGE_BACKGROUND. | |
d8d95bc7 | 16093 | (png_image_p, png_load): Don't enclose declarations with #if HAVE_PNG. |
e3564461 ST |
16094 | (Qpng, enum png_keyword_index, png_format, png_type, png_image_p): |
16095 | Don't enclose with #if HAVE_PNG. | |
16096 | [!HAVE_PNG] (png_load) [MAC_OSX]: Use image_load_quartz2d if a | |
d8d95bc7 SM |
16097 | symbol _CGImageCreateWithPNGDataProvider is defined. |
16098 | Otherwise use image_load_quicktime. | |
e3564461 | 16099 | [!HAVE_PNG] (png_load) [!MAC_OSX]: Use image_load_quicktime. |
d8d95bc7 SM |
16100 | [HAVE_PNG] (png_load): Sync with xfns.c. |
16101 | Use PIX_MASK_DRAW/PIX_MASK_RETAIN. | |
e3564461 ST |
16102 | (jpeg_image_p, jpeg_load): Don't enclose declarations with #if |
16103 | HAVE_JPEG. | |
16104 | (Qjpeg, enum jpeg_keyword_index, jpeg_format, jpeg_type) | |
16105 | (jpeg_image_p): Don't enclose with #if HAVE_JPEG. | |
16106 | [!HAVE_JPEG] (jpeg_load) [MAC_OSX]: Use image_load_quartz2d. | |
16107 | [!HAVE_JPEG] (jpeg_load) [!MAC_OSX]: Use image_load_quicktime. | |
16108 | [HAVE_JPEG] (jpeg_load): Sync with xfns.c. | |
16109 | (tiff_image_p, tiff_load): Don't enclose declarations with #if | |
16110 | HAVE_TIFF. | |
16111 | (Qtiff, enum tiff_keyword_index, tiff_format, tiff_type) | |
16112 | (tiff_image_p): Don't enclose with #if HAVE_TIFF. | |
16113 | [!HAVE_TIFF] (tiff_load): Use image_load_quicktime. | |
d8d95bc7 SM |
16114 | [HAVE_TIFF] (tiff_error_handler, tiff_warning_handler): |
16115 | New functions (from xfns.c). | |
e3564461 | 16116 | [HAVE_TIFF] (tiff_load): Sync with xfns.c. |
d8d95bc7 | 16117 | (gif_image_p, gif_load): Don't enclose declarations with #if HAVE_GIF. |
e3564461 ST |
16118 | (Qgif, enum gif_keyword_index, gif_format, gif_type, gif_image_p): |
16119 | Don't enclose with #if HAVE_GIF. | |
16120 | [!HAVE_GIF] (gif_load): Use Quicktime Movie Toolbox if it is | |
16121 | animated gif. Otherwise use image_load_quicktime. | |
16122 | [HAVE_GIF] (gif_lib.h): Temporarily define DrawText as | |
16123 | gif_DrawText to avoid conflict with QuickdrawText.h. | |
16124 | [HAVE_GIF] (gif_load): Sync with xfns.c. | |
16125 | (enum gs_keyword_index, gs_format, gs_image_p, gs_load) | |
16126 | [HAVE_GHOSTSCRIPT] (x_kill_gs_process): Sync with xfns.c (although | |
16127 | Ghostscript is not supported yet). | |
16128 | (syms_of_macfns): Initialize Qemboss, Qedge_detection, Qheuristic, | |
16129 | QCmatrix, QCcolor_adjustment, and QCmask. Add DEFVAR_BOOL | |
16130 | cross_disabled_images (from xfns.c). Remove #if 0 for supported | |
16131 | image types. Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and | |
16132 | HAVE_PNG. Add defsubr for Simage_size and Simage_mask_p. | |
16133 | (init_xfns): Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and | |
d8d95bc7 SM |
16134 | HAVE_PNG. Call EnterMovies to support animated gifs. |
16135 | Call init_image_func_pointer to bind a symbol | |
e3564461 | 16136 | _CGImageCreateWithPNGDataProvider if it is defined. |
a64387ee | 16137 | |
d8d95bc7 | 16138 | * macterm.c [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h). |
e3564461 ST |
16139 | (x_draw_bar_cursor): Sync declaration with xterm.c. |
16140 | (XFreePixmap, mac_draw_rectangle_to_pixmap, mac_copy_area) | |
16141 | (mac_copy_area_to_pixmap): Implementation with GWorld (offscreen | |
16142 | graphics). | |
16143 | (mac_set_forecolor, mac_set_backcolor): Use RED16_FROM_ULONG etc. | |
16144 | (mac_draw_line_to_pixmap, XCreatePixmap) | |
16145 | (XCreatePixmapFromBitmapData, mac_fill_rectangle_to_pixmap) | |
d8d95bc7 SM |
16146 | (mac_copy_area_with_mask, mac_copy_area_with_mask_to_pixmap): |
16147 | New functions. | |
16148 | (mac_draw_bitmap) [TARGET_API_MAC_CARBON]: | |
16149 | Use GetPortBitMapForCopyBits instead of the cast to Bitmap *. | |
16150 | Cast bits to char *. | |
e3564461 ST |
16151 | (reflect_byte): New function (from w32fns.c). |
16152 | (mac_create_bitmap_from_bitmap_data): Use it and don't stuff bits | |
16153 | due to byte alignment. | |
d8d95bc7 SM |
16154 | (mac_scroll_area) [TARGET_API_MAC_CARBON]: |
16155 | Use GetPortBitMapForCopyBits instead of the cast to Bitmap *. | |
e3564461 ST |
16156 | (XSetForeground): Remove static (now used in macfns.c). |
16157 | (HIGHLIGHT_COLOR_DARK_BOOST_LIMIT): New #define (from w32term.c). | |
16158 | (mac_alloc_lighter_color, x_destroy_window): Sync with w32term.c. | |
16159 | (x_setup_relief_color, x_setup_relief_colors, x_draw_box_rect) | |
16160 | (x_draw_glyph_string_box, x_draw_image_foreground) | |
16161 | (x_draw_image_foreground_1, x_draw_image_glyph_string) | |
16162 | (x_draw_stretch_glyph_string, x_draw_glyph_string) | |
16163 | (x_draw_hollow_cursor, x_draw_bar_cursor, mac_draw_window_cursor): | |
16164 | Sync with xterm.c. | |
16165 | (x_draw_relief_rect): Sync with xterm.c. Make 1 pixel shorter | |
16166 | than the xterm.c version when a strictly horizontal or vertical | |
16167 | line is drawn. | |
16168 | (XTset_terminal_window): Add static. | |
16169 | (x_make_frame_visible): Add UNBLOCK_INPUT. | |
16170 | (x_free_frame_resources): New funcion (from xterm.c). | |
16171 | (XTread_socket): Call handle_tool_bar_click if mouse up/down event | |
16172 | occurs in tool bar area. | |
d8d95bc7 SM |
16173 | (mac_initialize_display_info): Remove dpyinfo->n_cbits. |
16174 | Set dpyinfo->color_p. Determine dpyinfo->n_planes using HasDepth. | |
e3564461 ST |
16175 | Initialize image cache. |
16176 | (stricmp, wildstrieq, mac_font_pattern_match, mac_font_match): | |
16177 | Enclose unused functions with #if 0. | |
16178 | (Qbig5, Qcn_gb, Qsjis, Qeuc_kr): New variables. | |
16179 | (decode_mac_font_name): New function to apply code conversions | |
d8d95bc7 | 16180 | from a mac font name to an XLFD font name according to its script code. |
e3564461 | 16181 | (x_font_name_to_mac_font_name): Apply code conversion from an XLFD |
d8d95bc7 | 16182 | font name to a mac font name according to REGISTRY and ENCODING fields. |
e3564461 ST |
16183 | (init_font_name_table) [TARGET_API_MAC_CARBON]: Don't use a font |
16184 | whose name starts with `.'. | |
16185 | (init_font_name_table): Use decode_mac_font_name. Add both | |
16186 | jisx0208.1983-sjis and jisx0201.1976-0 entries if the script code | |
16187 | of a font is smJapanese. | |
16188 | (mac_do_list_fonts): New function to list fonts that match a given | |
16189 | pattern. | |
16190 | (x_list_fonts, XLoadQueryFont): Use it. | |
16191 | (XLoadQueryFont): Set rbearing field for each variable width | |
16192 | character to avoid needless redraw. | |
16193 | (syms_of_macterm): Initialize Qbig5, Qcn_gb, Qsjis, and Qeuc_kr. | |
16194 | ||
446f5f3d KS |
16195 | 2004-02-26 Kim F. Storm <storm@cua.dk> |
16196 | ||
af617d0f KS |
16197 | * keyboard.c (NREAD_INPUT_EVENTS): Temporarily increase to 512 |
16198 | as read_socket_hook handler on X aborts if buffer is too small | |
16199 | and W32 handler doesn't always check buffer limit. | |
16200 | ||
446f5f3d KS |
16201 | * xdisp.c (handle_single_display_prop): Handle left-fringe and |
16202 | right-fringe similar to a display margin image. Specifically, | |
16203 | the characters having the fringe prop are no longer shown, and | |
16204 | we use IT_IMAGE/next_element_from_image with image_id = -1 to | |
16205 | do this. Set fringe bitmap face_id in it->face_id. | |
16206 | (produce_image_glyph): Handle image_id < 0 as "no image" case, but | |
16207 | still realize it->face (i.e. the fringe bitmap face). | |
16208 | ||
7d8a0b55 MB |
16209 | 2004-02-25 Miles Bader <miles@gnu.org> |
16210 | ||
16211 | * xdisp.c (check_it): Check string/string_pos consistency. | |
16212 | (init_iterator): Initialize string-related fields properly. | |
16213 | ||
16214 | 2004-02-11 Miles Bader <miles@gnu.org> | |
16215 | ||
16216 | * xdisp.c (produce_image_glyph): Force negative descents to zero. | |
16217 | ||
16218 | 2004-02-10 Miles Bader <miles@gnu.org> | |
16219 | ||
16220 | * xfns.c (lookup_image): Remove xassert(!interrupt_input_blocked); | |
16221 | BLOCK_INPUT can be nested, so it doesn't make much sense. | |
16222 | ||
a64387ee | 16223 | 2004-02-24 Michael Mauger <mmaug@yahoo.com> |
ce35edd1 JR |
16224 | |
16225 | * w32fns.c (slurp_file, xbm_scan, xbm_load_image) | |
16226 | (xbm_read_bitmap_data): Use unsigned char for image data. | |
16227 | ||
92f5fba2 LT |
16228 | 2004-02-23 Luc Teirlinck <teirllm@auburn.edu> |
16229 | ||
16230 | * abbrev.c (Finsert_abbrev_table_description): Doc fix. | |
16231 | ||
8565fb3d JR |
16232 | 2004-02-22 Jason Rumney <jasonr@gnu.org> |
16233 | ||
16234 | * w32term.c (w32_draw_fringe_bitmap): Draw overlaid bitmaps | |
16235 | correctly over other bitmaps. | |
16236 | ||
a6eeaa81 | 16237 | 2004-02-21 Eli Zaretskii <eliz@gnu.org> |
f8125c39 EZ |
16238 | |
16239 | * emacs.c (USAGE1): Split into two halves. | |
16240 | (USAGE2): Second half of the old USAGE1. | |
d8d95bc7 SM |
16241 | (USAGE3): Rename from USAGE2. |
16242 | (USAGE4): Rename from USAGE3. | |
f8125c39 | 16243 | |
4effffca EZ |
16244 | 2004-02-21 Juri Linkov <juri@jurta.org> |
16245 | ||
16246 | * emacs.c (USAGE1): Add --no-desktop. Move --display from USAGE2. | |
16247 | Fix --multibyte. Move --help, --version to USAGE2. Add alias | |
16248 | --file. Fix -f, -l. Sort options. Untabify. | |
16249 | (USAGE2): Add -hb. Fix --name, --title. Sort options. Untabify. | |
16250 | ||
923c1e6f LT |
16251 | 2004-02-19 Luc Teirlinck <teirllm@auburn.edu> |
16252 | ||
16253 | * category.c (Fdefine_category, Fcategory_docstring) | |
16254 | (Fget_unused_category, Fset_category_table) | |
16255 | (Fcategory_set_mnemonics): Doc fixes. | |
16256 | ||
b0e225fd KS |
16257 | 2004-02-20 Kim F. Storm <storm@cua.dk> |
16258 | ||
16259 | * keyboard.c: Undo 2004-02-16 and 2004-02-17 changes. | |
16260 | The following changes are relative to the 2004-01-21 revision. | |
16261 | (NREAD_INPUT_EVENTS): Define as max number of input events to read | |
16262 | in one call to read_socket_hook. Value is 8. | |
16263 | (read_avail_input): Separate and rework handling of read_socket_hook | |
16264 | and non-read_socket_hook cases. Use smaller input_event buffer | |
d8d95bc7 SM |
16265 | in read_socket_hook case, and repeat if full buffer is read. |
16266 | Use new local variable 'discard' to skip input after C-g. | |
b0e225fd KS |
16267 | In non-read_socket_hook case, just use a single input_event, and |
16268 | call kbd_buffer_store_event on the fly for each character. | |
16269 | ||
b15aa9f9 SM |
16270 | 2004-02-19 Stefan Monnier <monnier@iro.umontreal.ca> |
16271 | ||
16272 | * lisp.h (union Lisp_Object): Give a more precise type for `type'. | |
16273 | Remove unused `gu' alternative. | |
16274 | ||
83c9aa95 AS |
16275 | 2004-02-19 Andreas Schwab <schwab@suse.de> |
16276 | ||
16277 | * fringe.c (Fdefine_fringe_bitmap): Use && instead of & to avoid | |
16278 | warning. | |
16279 | ||
cc808173 KS |
16280 | 2004-02-18 Kim F. Storm <storm@cua.dk> |
16281 | ||
16282 | * xdisp.c (get_window_cursor_type, display_and_set_cursor): | |
16283 | Fix last change. | |
16284 | ||
ab90a54d KS |
16285 | 2004-02-17 Kim F. Storm <storm@cua.dk> |
16286 | ||
b26f249f KS |
16287 | * xdisp.c (fast_find_position): Fix return value of new version; |
16288 | it was inverted compared to the 21.1 version. | |
16289 | (get_window_cursor_type): Don't look at glyph if NULL. | |
16290 | (display_and_set_cursor): Set glyph to NULL if cursor in fringe. | |
0bf7d005 | 16291 | |
ab90a54d KS |
16292 | * keyboard.c: Rework previous change; it didn't consider that the |
16293 | buf array was allocated on the stack. | |
16294 | (prev_read): Remove variable. | |
16295 | (read_avail_input_buf): New static event buffer array. | |
b9568dfc | 16296 | (in_read_avail_input): New static variable to handle re-entrancy. |
ab90a54d | 16297 | (read_avail_input): Change buf to pinter to read_avail_input_buf. |
b9568dfc KS |
16298 | Use in_read_avail_input to handle re-entrance; when re-entered, |
16299 | fully initialize and use tmp_buf array instead of read_avail_input_buf. | |
16300 | Do not initialize read_avail_input_buf in full here; instead assume it | |
ab90a54d KS |
16301 | is always cleared on entry. To ensure that, we clear (just) the |
16302 | entries that were used before we return. | |
16303 | (init_keyboard): Initialize read_avail_input_buf here. | |
16304 | ||
b6189c3b | 16305 | 2004-02-16 Jesper Harder <harder@ifa.au.dk> |
4e039f3f EZ |
16306 | |
16307 | * cmds.c (Fend_of_line): Doc fix. | |
16308 | ||
15bdd7a0 | 16309 | 2004-02-16 Dmitry Antipov <dmantipov@yandex.ru> (tiny change) |
7b5368c1 EZ |
16310 | |
16311 | * keyboard.c (prev_read): New static variable. | |
16312 | (read_avail_input): Use it to zero out only those slots in buf[] | |
16313 | that were used last time we were called. | |
16314 | ||
a6eeaa81 | 16315 | 2004-02-16 Eli Zaretskii <eliz@gnu.org> |
ca4bc494 EZ |
16316 | |
16317 | * Makefile.in (obj): Move fringe.o from here... | |
16318 | (XOBJ, MAC_OBJ): ...to here. | |
16319 | ||
159c348e SE |
16320 | 2004-02-16 Stephen Eglen <stephen@gnu.org> |
16321 | ||
16322 | * fringe.c (init_fringe_bitmap): Define j in MAC_OS code. | |
16323 | ||
d2f14999 SM |
16324 | 2004-02-15 Stefan Monnier <monnier@iro.umontreal.ca> |
16325 | ||
b15aa9f9 SM |
16326 | * data.c (Fbyteorder): |
16327 | * fringe.c (Fdefine_fringe_bitmap): | |
16328 | * xdisp.c (handle_single_display_prop): | |
d2f14999 SM |
16329 | * xselect.c (x_handle_dnd_message): Lisp_Object/int mixup. |
16330 | ||
8d50508a JR |
16331 | 2004-02-16 Jason Rumney <jasonr@gnu.org> |
16332 | ||
16333 | * w32term.c (w32_draw_fringe_bitmap): Handle overlay fringe bitmaps. | |
16334 | ||
dd4497dc ST |
16335 | 2004-02-15 Steven Tamm <steventamm@mac.com> |
16336 | ||
16337 | * macterm.c (Vmac_emulate_three_button_mouse): New variable for | |
16338 | controlling emulation of a three button mouse with option and | |
16339 | command keys. | |
7e26f91b | 16340 | (Qreverse, mac_get_enumlated_btn): Handle the emulation. |
b15aa9f9 | 16341 | (mac_event_to_emacs_modifiers, XTread_socket): Ditto. |
dd4497dc | 16342 | |
c9159cb3 KS |
16343 | 2004-02-15 Kim F. Storm <storm@cua.dk> |
16344 | ||
2cc52658 KS |
16345 | * buffer.c (syms_of_buffer): Doc fix for indicate-buffer-boundaries. |
16346 | ||
c9159cb3 KS |
16347 | * fringe.c (init_fringe_bitmap) [MAC_OS, WORDS_BIG_ENDIAN]: |
16348 | Perform byte-swapping. | |
16349 | ||
12fde2dc KS |
16350 | 2004-02-14 Kim F. Storm <storm@cua.dk> |
16351 | ||
16352 | * dispextern.h (struct draw_fringe_bitmap_params): Change member | |
16353 | bits from char to short to facilitate wider bitmaps. | |
16354 | (struct redisplay_interface): Fix prototype of define_fringe_bitmap | |
16355 | member. | |
16356 | ||
16357 | * fringe.c (struct fringe_bitmap): Change member bits from char to | |
16358 | short to facilitate 16 bits wide bitmaps. Modify all standard | |
16359 | bitmaps accordingly. | |
16360 | (BYTES_PER_BITMAP_ROW, STANDARD_BITMAP_HEIGHT): New macros. | |
16361 | (FRBITS): Use STANDARD_BITMAP_HEIGHT instead of just sizeof. | |
16362 | (draw_fringe_bitmap): Ditto. | |
16363 | (init_fringe_bitmap) [MAC_OS]: Don't bitswap. | |
16364 | (init_fringe_bitmap) [HAVE_X_WINDOWS]: Enhance bitswapping to | |
16365 | handle up to 16 bits wide bitmaps. | |
16366 | (Fdefine_fringe_bitmap): Doc fix. Handle wider bitmaps. | |
f21a7192 | 16367 | (Ffringe_bitmaps_at_pos): Add missing arg declarations. |
12fde2dc KS |
16368 | |
16369 | * macterm.c (mac_draw_bitmap): Handle 16 bits wide bitmaps directly. | |
16370 | (x_draw_fringe_bitmap): Use enhanced mac_draw_bitmap, so we no longer | |
16371 | need to call mac_create_bitmap_from_bitmap_data and mac_free_bitmap. | |
16372 | ||
16373 | * w32term.c (w32_define_fringe_bitmap): Bitmaps are now 16 bits wide, | |
16374 | so it is no longer necessary to expand them here. | |
16375 | ||
16376 | * xterm.c (x_draw_fringe_bitmap): Handle wider bitmaps (max 16 bits). | |
16377 | ||
9d7271e8 KS |
16378 | 2004-02-12 Kim F. Storm <storm@cua.dk> |
16379 | ||
16380 | * window.c (Fwindow_fringes): Doc fix. | |
16381 | ||
706c1e4f JD |
16382 | 2004-02-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16383 | ||
16384 | * xselect.c (x_get_foreign_selection): Add new optional parameter | |
16385 | time_stamp. | |
16386 | (Fx_get_selection_internal): Ditto, pass time_stamp to | |
16387 | x_get_foreign_selection. | |
16388 | ||
16389 | * data.c (Fbyteorder): New function. | |
16390 | ||
c2d12b5d JD |
16391 | 2004-02-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16392 | ||
16393 | * atimer.c: Move include stdio.h to same place as in other files. | |
16394 | ||
16395 | * region-cache.c: Ditto. | |
16396 | ||
16397 | * sysdep.c: Ditto. | |
16398 | ||
16399 | * xfaces.c: Ditto. | |
16400 | ||
4c1947b9 SS |
16401 | 2004-02-09 Sam Steingold <sds@gnu.org> |
16402 | ||
89458937 | 16403 | * w32term.c (w32_draw_fringe_bitmap): Fix a typo in the last patch. |
4c1947b9 | 16404 | |
82722af3 KS |
16405 | 2004-02-09 Kim F. Storm <storm@cua.dk> |
16406 | ||
16407 | * fringe.c: New file. Move original fringe related declarations | |
16408 | and code from dispextern.h and xdisp.c here. | |
16409 | Rework code to support user defined fringe bitmaps, redefining | |
16410 | standard bitmaps, ability to overlay user defined bitmap with | |
16411 | overlay arrow bitmap, and add faces to bitmaps. | |
16412 | (Voverflow_newline_into_fringe): Declare here. | |
16413 | (enum fringe_bitmap_align): New enum. | |
16414 | (..._bits): All bitmaps are now defined without bitswapping; that | |
16415 | is now done in init_fringe_once (if necessary). | |
16416 | (standard_bitmaps): New array with specifications for the | |
16417 | standard fringe bitmaps. | |
16418 | (fringe_faces): New array. | |
16419 | (valid_fringe_bitmap_id_p): New function. | |
16420 | (draw_fringe_bitmap_1): Rename from draw_fringe_bitmap. | |
16421 | (draw_fringe_bitmap): New function which draws fringe bitmap, | |
16422 | possibly overlaying bitmap with cursor in right fringe or the | |
16423 | overlay arrow in the left fringe. | |
16424 | (update_window_fringes): Do not handle overlay arrow here. | |
16425 | Compare and copy fringe bitmap faces. | |
16426 | (init_fringe_bitmap): New function. | |
16427 | (Fdefine_fringe_bitmap, Fdestroy_fringe_bitmap): New DEFUNs to | |
16428 | define and destroy user defined fringe bitmaps. | |
16429 | (Fset_fringe_bitmap_face): New DEFUN to set face for a fringe bitmap. | |
16430 | (Ffringe_bitmaps_at_pos): New DEFUN to read current fringe bitmaps. | |
16431 | (syms_of_fringe): New function. Defsubr new DEFUNs. | |
16432 | DEFVAR_LISP Voverflow_newline_into_fringe. | |
16433 | (init_fringe_once, init_fringe): New functions. | |
16434 | (w32_init_fringe, w32_reset_fringes) [WINDOWS_NT]: New functions. | |
4c1947b9 | 16435 | |
82722af3 KS |
16436 | * Makefile.in (obj): Add fringe.o. |
16437 | (fringe.o): New dependencies. | |
16438 | ||
16439 | * dispextern.h (FRINGE_ID_BITS): New definition for number of | |
16440 | bits allocated to hold a fringe number. Increase number of bits | |
16441 | from 4 to 8 to allow user defined fringe bitmaps. | |
16442 | (struct glyph_row, struct it): New members left_user_fringe_bitmap, | |
16443 | left_user_fringe_face_id, right_user_fringe_bitmap, | |
16444 | right_user_fringe_face_id. | |
16445 | (enum fringe_bitmap_type, struct fringe_bitmap, fringe_bitmaps): | |
16446 | Move to new file fringe.c. | |
16447 | (MAX_FRINGE_BITMAPS): Define here. | |
16448 | (struct draw_fringe_bitmap_params): New members bits, cursor_p, | |
16449 | and overlay_p. Change member which to int. | |
16450 | (struct redisplay_interface): New members define_fringe_bitmap | |
16451 | and destroy_fringe_bitmap. | |
16452 | (valid_fringe_bitmap_id_p): Add prototype. | |
16453 | (w32_init_fringe, w32_reset_fringes) [WINDOWS_NT]: Add prototypes. | |
16454 | ||
16455 | * dispnew.c (row_equal_p): Compare fringe bitmap faces and overlay | |
16456 | arrows. | |
16457 | (update_frame): Do flush_display if force_flush_display_p to | |
16458 | ensure display (specifically fringes) are updated in a timely | |
16459 | manner when resizing the frame by dragging the mouse. | |
16460 | (update_window_line): Update row if overlay arrow changed. | |
16461 | (scrolling_window): Redraw fringe bitmaps if fringe bitmap faces | |
16462 | or overlay arrow changed. | |
16463 | ||
16464 | * emacs.c (main) [HAVE_WINDOW_SYSTEM]: Call init_fringe_once, | |
16465 | syms_of_fringe, and init_fringe. | |
16466 | ||
16467 | * frame.h (struct frame): New member force_flush_display_p. | |
16468 | ||
16469 | * lisp.h (syms_of_fringe, init_fringe, init_fringe_once): | |
16470 | Add prototypes. | |
16471 | ||
a3993cc8 | 16472 | * macterm.c (mac_draw_bitmap): Add overlay_p arg. |
a64387ee | 16473 | (x_draw_fringe_bitmap): Handle overlayed fringe bitmaps; |
a3993cc8 KS |
16474 | thanks to YAMAMOTO Mitsuharu for advice on how to do this. |
16475 | Use cursor color for displaying cursor in fringe. | |
82722af3 KS |
16476 | (x_redisplay_interface): Add null handlers for |
16477 | define_fringe_bitmap and destroy_fringe_bitmap functions. | |
16478 | ||
16479 | * w32term.c (w32_draw_fringe_bitmap): Copy unadapted code from | |
16480 | xterm.c to handle overlayed fringe bitmaps and to use cursor color | |
16481 | for displaying cursor in fringe. | |
16482 | (w32_define_fringe_bitmap, w32_destroy_fringe_bitmap): New W32 | |
16483 | specific functions to define and destroy fringe bitmaps in fringe_bmp. | |
16484 | (w32_redisplay_interface): Add them to redisplay_interface. | |
16485 | (w32_term_init): Call w32_init_fringe instead of explicitly | |
16486 | defining fringe bitmaps in fringe_bmp array. | |
16487 | (x_delete_display): Call w32_reset_fringes instead of explicitly | |
16488 | destroying fringe bitmaps in fringe_bmp array. | |
16489 | ||
16490 | * xdisp.c (Voverflow_newline_into_fringe, syms_of_xdisp) | |
16491 | (left_bits, right_bits, up_arrow_bits, down_arrow_bits) | |
16492 | (continued_bits, continuation_bits, ov_bits, first_line_bits) | |
16493 | (last_line_bits, filled_box_cursor_bits, hollow_box_cursor_bits) | |
16494 | (bar_cursor_bits, hbar_cursor_bits, zv_bits, hollow_square_bits) | |
16495 | (fringe_bitmaps, draw_fringe_bitmap, draw_row_fringe_bitmaps) | |
16496 | (draw_window_fringes, compute_fringe_widths, update_window_fringes): | |
16497 | Move fringe handling vars and code to new file fringe.c. | |
16498 | (handle_display_prop): Handle left-fringe and right-fringe | |
16499 | display properties; store user fringe bitmaps in iterator. | |
16500 | (move_it_in_display_line_to): Handle cursor in fringe at eob. | |
16501 | (clear_garbaged_frames): Set force_flush_display_p if resized. | |
16502 | (redisplay_window): Redraw fringe bitmaps if not just_this_one_p. | |
16503 | (display_line): Handle cursor in fringe at eob. | |
16504 | (display_line): Set row user fringe bitmaps from iterator. | |
16505 | ||
16506 | * xterm.c (x_draw_fringe_bitmap): Handle overlayed fringe bitmaps. | |
16507 | Use cursor color for displaying cursor in fringe. | |
16508 | (x_redisplay_interface): Add null handlers for | |
16509 | define_fringe_bitmap and destroy_fringe_bitmap functions. | |
16510 | ||
030400eb JD |
16511 | 2004-02-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16512 | ||
16513 | * macfns.c (Fx_change_window_property): Make doc string and | |
16514 | parameters same as for X version. | |
16515 | ||
16516 | * w32fns.c (Fx_change_window_property): Ditto. | |
16517 | ||
3af55251 KS |
16518 | 2004-02-07 Kim F. Storm <storm@cua.dk> |
16519 | ||
ec110e9e KS |
16520 | * xdisp.c (hscroll_window_tree): Position cursor near to right |
16521 | margin in hscrolled window when jumping to end of line (rather | |
16522 | than centering cursor). | |
16523 | ||
3af55251 KS |
16524 | * process.c (wait_reading_process_input): Don't do adaptive read |
16525 | buffering if waiting for a specific process. | |
16526 | ||
b0c138ce LT |
16527 | 2004-02-05 Luc Teirlinck <teirllm@auburn.edu> |
16528 | ||
16529 | * minibuf.c (Fminibufferp, Fread_from_minibuffer) | |
16530 | (Fread_minibuffer, Feval_minibuffer) | |
16531 | (Fread_string, Fread_no_blanks_input) | |
16532 | (Fcompleting_read): Doc fixes. | |
16533 | (syms_of_minibuf): Doc fixes for minibuffer-completion-table and | |
16534 | completion-regexp-list. Define Qcase_fold_search and staticpro it. | |
16535 | (read_minibuf): Fix initial comment. | |
16536 | (Ftry_completion, Fall_completions, Ftest_completion): Bind | |
e8eeaed8 | 16537 | case-fold-search to the value of completion-ignore-case when |
b0c138ce LT |
16538 | checking completion-regexp-list. |
16539 | (Fdisplay_completion_list): Make it handle arguments that are | |
16540 | symbols. Doc fix. | |
16541 | ||
9676f5ad | 16542 | 2004-02-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
64d1e373 | 16543 | |
9676f5ad | 16544 | * xterm.h: Add declaration of free_frame_menubar. |
64d1e373 | 16545 | |
9676f5ad JD |
16546 | * xfns.c (x_create_bitmap_mask): Removed unused variable depth. |
16547 | (x_set_menu_bar_lines): Added ! defined USE_GTK for olines. | |
b0c138ce | 16548 | (Fx_change_window_property): Add declaration of parameters type and |
9676f5ad | 16549 | format. Remove unused variable cons. |
5b698285 | 16550 | |
9dd28cae | 16551 | * xselect.c: Include stdio.h. |
5b698285 | 16552 | |
fc1d15f6 KH |
16553 | 2004-02-05 Kenichi Handa <handa@m17n.org> |
16554 | ||
ebaff4af KH |
16555 | * fns.c (Fset_char_table_range): Fix previous change. |
16556 | ||
fc1d15f6 KH |
16557 | * buffer.c (Fset_buffer_multibyte): Fix docstring. |
16558 | ||
9676f5ad JD |
16559 | 2004-02-04 Luc Teirlinck <teirllm@auburn.edu> |
16560 | ||
16561 | * editfns.c (Fchar_after, Fchar_before): Doc fixes. | |
16562 | ||
da75761f SM |
16563 | 2004-02-04 Stefan Monnier <monnier@iro.umontreal.ca> |
16564 | ||
16565 | * keymap.c (Vmouse_events): Rename from Vmenu_events. | |
16566 | (syms_of_keymap): Add mouse-[45], header-line, and mode-line to it. | |
16567 | ||
13c5d120 KH |
16568 | 2004-02-04 Kenichi Handa <handa@m17n.org> |
16569 | ||
16570 | * fns.c (Fset_char_table_range): Handle charsets ascii, | |
16571 | eight-bit-control, and eight-bit-graphic correctly. | |
16572 | ||
2883d842 JR |
16573 | 2004-02-03 Jason Rumney <jasonr@gnu.org> |
16574 | ||
16575 | * w32select.c (Fw32_set_clipboard_data): Make coding iso2022 safe. | |
16576 | ||
16577 | * w32fns.c (x_to_w32_font): Likewise. | |
16578 | ||
69eff41f JD |
16579 | 2004-02-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16580 | ||
16581 | * xterm.h: Add x_handle_dnd_message, x_check_property_data, | |
16582 | x_fill_property_data, x_property_data_to_lisp and check_x_display_info. | |
16583 | ||
16584 | * xterm.c (handle_one_xevent): Call x_handle_dnd_message for | |
16585 | ClientMessages. | |
16586 | ||
14a56a1b | 16587 | * xselect.c: Include termhooks.h and X11/Xproto.h. |
69eff41f JD |
16588 | (x_check_property_data, x_fill_property_data) |
16589 | (x_property_data_to_lisp, mouse_position_for_drop) | |
16590 | (Fx_get_atom_name, x_handle_dnd_message): New functions for DND support. | |
da75761f | 16591 | (Fx_send_client_event): Move here from xfns.c. |
69eff41f JD |
16592 | (syms_of_xselect): Add Sx_get_atom_name and Sx_send_client_message. |
16593 | ||
14a56a1b | 16594 | * xfns.c (x-send-client-message): Move to xselect.c. |
69eff41f JD |
16595 | (Fx_change_window_property): Add optional arguments TYPE, FORMAT and |
16596 | OUTER_P. | |
16597 | (Fx_window_property): Add optional arguments TYPE, SOURCE, DELETE_P, | |
16598 | VECTOR_RET_P. Handle AnyPropertyType. Call x_property_data_to_lisp | |
16599 | if vector_ret_p is true. | |
16600 | (syms_of_xfns): Sx_send_client_message moved to xselect.c. | |
69eff41f | 16601 | |
a6eeaa81 | 16602 | 2004-02-02 Eli Zaretskii <eliz@gnu.org> |
dcdbbb5d EZ |
16603 | |
16604 | * fileio.c (Fcopy_file): If NEWNAME is a directory, expand the | |
16605 | basename of FILE relative to it, not FILE itself. | |
16606 | ||
09721b31 KH |
16607 | 2004-02-02 Kenichi Handa <handa@m17n.org> |
16608 | ||
16609 | * coding.c (coding_restore_composition): Check invalid | |
16610 | composition data more rigidly. | |
16611 | ||
eb996101 LT |
16612 | 2004-01-30 Luc Teirlinck <teirllm@auburn.edu> |
16613 | ||
16614 | * fileio.c (Fread_file_name_internal): Correctly handle the case | |
16615 | where insert-default-directory is nil. | |
16616 | (Fread_file_name): Always return an empty string if the user exits | |
16617 | with an empty minibuffer. Adapt the docstring accordingly. | |
16618 | (syms_of_fileio): Adapt the docstring of insert-default-directory | |
16619 | to the change in Fread_file_name. | |
16620 | ||
a6eeaa81 | 16621 | 2004-01-29 Eli Zaretskii <eliz@gnu.org> |
a0367d42 EZ |
16622 | |
16623 | * alloca.c [!alloca]: Fix the prototype for xfree. | |
16624 | ||
13f52ed8 KH |
16625 | 2004-01-29 Kenichi Handa <handa@m17n.org> |
16626 | ||
16627 | * fns.c (string_char_to_byte): Optimize for ASCII only string. | |
16628 | (string_byte_to_char): Likewise. | |
16629 | ||
d57625a0 JR |
16630 | 2004-01-28 Peter Runestig <peter@runestig.com> |
16631 | ||
16632 | * makefile.w32-in, w32fns.c: Add `default-printer-name' function. | |
16633 | ||
a64387ee | 16634 | 2004-01-27 Steven Tamm <steventamm@mac.com> |
911c78b4 ST |
16635 | |
16636 | * unexmacosx.c (unexec_copy): Do not copy more than was | |
16637 | requested to prevent overwriting during unexec. | |
16638 | ||
eb37b8fd JD |
16639 | 2004-01-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16640 | ||
ce38070a JD |
16641 | * process.c (sigchld_handler): Add comment about not calling malloc. |
16642 | ||
eb37b8fd JD |
16643 | * process.h: Add extern to synch_process_termsig. |
16644 | ||
a64387ee | 16645 | 2004-01-27 Steven Tamm <steventamm@mac.com> |
21a3e657 | 16646 | |
da75761f SM |
16647 | * macterm.c (make_mac_frame, make_mac_terminal_frame): |
16648 | Move setting of scroll bars from make_mac_frame to | |
16649 | make_mac_terminal_frame to prevent clobbering of scroll-bar-mode. | |
21a3e657 | 16650 | |
d62a265d RS |
16651 | 2004-01-26 Richard M. Stallman <rms@gnu.org> |
16652 | ||
16653 | * search.c (Freplace_match): Handle nonexistent | |
16654 | back-references properly. | |
16655 | ||
16656 | 2004-01-03 Richard M. Stallman <rms@gnu.org> | |
16657 | ||
16658 | * window.c (decode_any_window): New function. | |
16659 | (Fwindow_height, Fwindow_width, Fwindow_edges) | |
16660 | (Fwindow_pixel_edges, Fwindow_inside_edges) | |
16661 | (Fwindow_inside_pixel_edges): Use decode_any_window. | |
16662 | ||
ff236419 JD |
16663 | 2004-01-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16664 | ||
16665 | * process.h: synch_process_termsig new variable. | |
16666 | ||
16667 | * callproc.c: Define synch_process_termsig. | |
16668 | (Fcall_process): Initiate synch_process_termsig to zero and | |
16669 | check if non-zero and get signal name after subprocess has ended. | |
16670 | ||
16671 | * process.c (sigchld_handler): Set synch_process_termsig | |
16672 | if terminated by a signal. synch_process_death setting removed. | |
16673 | ||
16674 | * sysdep.c (mkdir, rmdir): Also check synch_process_termsig. | |
16675 | ||
41b867ea AS |
16676 | 2004-01-26 Andreas Schwab <schwab@suse.de> |
16677 | ||
16678 | * print.c (print_preprocess): Declare size as EMACS_INT to not | |
16679 | lose bits. | |
16680 | (print_object): Likewise. | |
16681 | * alloc.c (Fpurecopy): Likewise. | |
16682 | ||
a08084ff LT |
16683 | 2004-01-25 Luc Teirlinck <teirllm@auburn.edu> |
16684 | ||
16685 | * window.c (Fwindow_minibuffer_p): Doc fix. | |
16686 | ||
b19ac475 JY |
16687 | 2004-01-24 Jonathan Yavner <jyavner@member.fsf.org> |
16688 | ||
16689 | * editfns.c (Fformat): Make both passes accept the same set of flags. | |
16690 | ||
fe905025 KH |
16691 | 2004-01-23 Kenichi Handa <handa@m17n.org> |
16692 | ||
16693 | * fns.c (Fmd5): If OBJECT is a buffer different from the current | |
16694 | one, set buffer to OBJECT temporarily. | |
16695 | ||
438fc6c0 SM |
16696 | 2004-01-21 Stefan Monnier <monnier@iro.umontreal.ca> |
16697 | ||
455316e2 SM |
16698 | * keyboard.c (kbd_buffer_gcpro): Remove. |
16699 | (kbd_buffer_store_event, clear_event, Fdiscard_input) | |
16700 | (stuff_buffered_input, init_keyboard, syms_of_keyboard): | |
16701 | Don't initialize and/or maintain the variable any more. It was made | |
16702 | redundant by my commit of 2003-06-15. | |
16703 | ||
438fc6c0 SM |
16704 | * lisp.h [USE_LSB_TAG && !DECL_ALIGN]: Signal an error. |
16705 | ||
5335a4ee JD |
16706 | 2004-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16707 | ||
16708 | * lisp.h: Add undef DECL_ALIGN. | |
16709 | ||
dcdaeebc SM |
16710 | 2004-01-21 Stefan Monnier <monnier@iro.umontreal.ca> |
16711 | ||
16712 | * process.c (wait_reading_process_input) [SYNC_INPUT]: | |
16713 | Check interrupt_input_pending explicitly. | |
16714 | ||
16715 | * lisp.h (QUIT) [SYNC_INPUT]: Check interrupt_input_pending as well. | |
16716 | ||
16717 | * keyboard.c (handle_async_input): New fun, | |
16718 | extracted from input_available_signal. | |
16719 | (input_available_signal, reinvoke_input_signal): Use it. | |
16720 | ||
9076a823 SM |
16721 | 2004-01-20 Stefan Monnier <monnier@iro.umontreal.ca> |
16722 | ||
d7107586 SM |
16723 | * buffer.c (buffer_defaults, buffer_local_symbols): Use DECL_ALIGN. |
16724 | ||
16725 | * lisp.h [USE_LSB_TAG]: Add definitions for Lisp_Object value | |
16726 | manipulation macros for when tags are in the lower bits. | |
16727 | (struct Lisp_Free) [USE_LSB_TAG]: Add padding. | |
16728 | (DECL_ALIGN): New macro. | |
16729 | (DEFUN): Use it. | |
16730 | ||
16731 | * lisp.h [ENABLE_CHECKING]: Don't force union type. | |
16732 | ||
16733 | * s/darwin.h (__attribute__): Remove outdated workaround. | |
16734 | ||
16735 | * macterm.c (main) [USE_LSB_TAG]: Don't range check the ram. | |
16736 | ||
16737 | * alloc.c (lisp_malloc, lisp_align_malloc) [USE_LSB_TAG]: | |
16738 | Don't check range of malloc address. | |
16739 | (pure_alloc) [USE_LSB_TAG]: Enforce alignment. | |
16740 | ||
9076a823 SM |
16741 | * process.c (wait_reading_process_input): Lisp_Object/int mixup. |
16742 | ||
16743 | * dired.c (Ffile_attributes): Lisp_Object/int mixup. | |
16744 | ||
ba029065 KH |
16745 | 2004-01-19 Kenichi Handa <handa@m17n.org> |
16746 | ||
16747 | * fontset.c (fontset_font_pattern): Fix previous change. | |
16748 | ||
7af0e8d7 MB |
16749 | 2004-01-16 Miles Bader <miles@gnu.ai.mit.edu> |
16750 | ||
16751 | * xdisp.c (Voverflow_newline_into_fringe) | |
16752 | (move_it_in_display_line_to, redisplay_internal) | |
16753 | (update_window_fringes, redisplay_window, display_line, window): | |
16754 | Add `#ifdef HAVE_WINDOW_SYSTEM' around fringe-drawing stuff, so | |
16755 | that it compiles without a window-system. | |
16756 | * dispnew.c (direct_output_for_insert, update_window): Likewise. | |
16757 | ||
77a9cf69 KS |
16758 | 2004-01-16 Kim F. Storm <storm@cua.dk> |
16759 | ||
16760 | * buffer.h (struct buffer): New member indicate_buffer_boundaries. | |
16761 | ||
a64387ee | 16762 | * buffer.c (init_buffer_once): Set buffer_defaults and |
77a9cf69 KS |
16763 | buffer_local_flags for indicate_buffer_boundaries. |
16764 | (syms_of_buffer): Defvar_per_buffer it, and defvar_lisp_nopro | |
16765 | default- variable for it. | |
16766 | ||
16767 | * dispextern.h (struct glyph_row): New members left_fringe_bitmap, | |
16768 | right_fringe_bitmap, redraw_fringe_bitmaps_p for new fringe handling. | |
d7107586 | 16769 | New members exact_window_width_line_p and cursor_in_fringe_p for |
77a9cf69 KS |
16770 | overflowing newlines into right fringe. |
16771 | New members indicate_bob_p, indicate_top_line_p, indicate_eob_p, | |
16772 | and indicate_bottom_line_p for buffer boundaries and scrolling. | |
16773 | (enum fringe_bitmap_type): Add UP_ARROW_BITMAP, DOWN_ARROW_BITMAP, | |
16774 | FIRST_LINE_BITMAP, LAST_LINE_BITMAP, FILLED_BOX_CURSOR_BITMAP, | |
16775 | HOLLOW_BOX_CURSOR_BITMAP, BAR_CURSOR_BITMAP, HBAR_CURSOR_BITMAP, | |
16776 | and HOLLOW_SQUARE_BITMAP. | |
16777 | (draw_fringe_bitmap, draw_window_fringes, update_window_fringes): | |
16778 | Add prototypes. | |
16779 | ||
16780 | * dispnew.c (row_equal_p, update_window_line): Compare fringe bitmaps | |
16781 | instead of related indicator fields. | |
16782 | Compare exact_window_width_line_p and cursor_in_mouse_face_p indicators. | |
16783 | (direct_output_for_insert): Handle exact width lines like | |
16784 | contined lines. Call update_window_fringes. | |
16785 | (update_window): Call update_window_fringes. | |
16786 | (scrolling_window): Don't skip desired rows with changed bitmaps. | |
16787 | Check if fringe bitmaps changes when assigning scrolled rows. | |
16788 | ||
16789 | * xdisp.c (Voverflow_newline_into_fringe): New variable. | |
16790 | (IT_OVERFLOW_NEWLINE_INTO_FRINGE): New macro. | |
16791 | (move_it_in_display_line_to): Overflow newline into fringe for | |
16792 | rows that are exactly as wide as the window. | |
16793 | (up_arrow_bits, down_arrow_bits, first_line_bits, last_line_bits) | |
16794 | (filled_box_cursor_bits, hollow_box_cursor_bits, bar_cursor_bits) | |
16795 | (hbar_cursor_bits, hollow_square_bits): New fringe bitmaps. | |
16796 | (fringe_bitmaps): Add new bitmaps. | |
16797 | (draw_fringe_bitmap): Make extern. Remove WHICH arg. | |
16798 | Select proper bitmap for cursor in fringe when appropriate. | |
16799 | Handle alignment of bitmap to top or bottom of row. | |
16800 | (draw_row_fringe_bitmaps): Don't select bitmaps here; that is now | |
16801 | done by update_window_fringes. | |
16802 | (update_window_fringes, draw_window_fringes): New functions. | |
16803 | (redisplay_internal): Call update_window_fringes in case only | |
16804 | cursor row is updated. | |
16805 | (redisplay_window): Call update_window_fringes. | |
16806 | Explicitly call draw_window_fringes if redisplay was done using | |
16807 | the current matrix or the overlay arrow is in the window. | |
16808 | (try_window_reusing_current_matrix): Mark scrolled rows for | |
16809 | fringe update (to update buffer-boundaries / scrolling icons). | |
16810 | (find_last_unchanged_at_beg_row): Handle exact width lines line | |
16811 | continued lines. | |
16812 | (display_line): Overflow newline into fringe for rows that are | |
16813 | exactly as wide as the window. Don't append space for newline | |
d7107586 | 16814 | in this case. |
77a9cf69 KS |
16815 | (notice_overwritten_cursor): Explicitly clear cursor bitmap |
16816 | in fringe as if it had been overwritten. | |
16817 | (erase_phys_cursor): Erase cursor bitmap in fringe. | |
d7107586 | 16818 | (syms_of_xdisp): Mark show-trailing-whitespace and |
77a9cf69 KS |
16819 | void-text-area-pointer as user options. |
16820 | DEFVAR_LISP Voverflow_newline_into_fringe. Enable by default. | |
d7107586 | 16821 | |
77a9cf69 KS |
16822 | * xterm.c (x_update_window_end): Call draw_window_fringes. |
16823 | (x_after_update_window_line): Just set redraw_fringe_bitmaps_p | |
16824 | in row instead of actually drawing fringe bitmaps. | |
16825 | (x_draw_fringe_bitmap): Handle bottom aligned bitmaps. | |
16826 | (x_draw_window_cursor): Draw cursor in fringe. | |
16827 | ||
16828 | * w32term.c (x_update_window_end): Call draw_window_fringes. | |
16829 | (x_after_update_window_line): Just set redraw_fringe_bitmaps_p | |
16830 | in row instead of actually drawing fringe bitmaps. | |
16831 | (w32_draw_fringe_bitmap): Handle bottom aligned bitmaps. | |
16832 | (w32_draw_window_cursor): Draw cursor in fringe. | |
16833 | ||
16834 | * macterm.c (x_update_window_end): Call draw_window_fringes. | |
16835 | (x_after_update_window_line): Just set redraw_fringe_bitmaps_p | |
16836 | in row instead of actually drawing fringe bitmaps. | |
16837 | (x_draw_fringe_bitmap): Handle bottom aligned bitmaps. | |
16838 | (mac_draw_window_cursor): Draw cursor in fringe. | |
16839 | ||
a633a954 JD |
16840 | 2004-01-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16841 | ||
16842 | * xterm.c (handle_one_xevent): Don't handle characters that are part | |
16843 | of an old style (XLookupString) compose sequence. | |
16844 | ||
80460525 KH |
16845 | 2004-01-15 Kenichi Handa <handa@m17n.org> |
16846 | ||
16847 | * search.c (Freplace_match): Use make_multibyte_string or | |
16848 | make_unibyte_string according to the buffer multibyteness. | |
16849 | ||
7fc34f85 SM |
16850 | 2004-01-14 Stefan Monnier <monnier@iro.umontreal.ca> |
16851 | ||
16852 | * alloc.c (struct interval_block, struct string_block) | |
16853 | (struct symbol_block, struct marker_block, live_string_p) | |
16854 | (live_cons_p, live_symbol_p, live_float_p, live_misc_p): | |
16855 | Better preserve alignment for objects in blocks. | |
16856 | (FLOAT_BLOCK_SIZE): Adjust for possible alignment padding. | |
16857 | ||
16858 | * lread.c (defvar_per_buffer): Remove dead declaration. | |
16859 | ||
16860 | * macterm.c (do_check_ram_size): Don't hardcode the lisp address | |
16861 | space size. | |
16862 | ||
66070bd1 JD |
16863 | 2004-01-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16864 | ||
16865 | * xmenu.c (popup_get_selection): Check new parameter down_on_keypress | |
16866 | if a key press should pop down. Only pop down if a key is pressed | |
16867 | outside the menu/dialog. | |
16868 | (create_and_show_popup_menu): Pass 0 for down_on_keypress to | |
16869 | popup_get_selection. | |
16870 | (create_and_show_dialog): Pass 1 for down_on_keypress to | |
16871 | popup_get_selection. | |
16872 | ||
de7515d6 JD |
16873 | 2004-01-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16874 | ||
16875 | * alloc.c (allocate_vectorlike): Surround calls to mallopt with | |
16876 | BLOCK/UNBLOCK_INPUT. | |
16877 | ||
160b1b50 JD |
16878 | 2004-01-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16879 | ||
16880 | * xmenu.c (Fx_popup_dialog): Add an Ok button if no buttons are | |
16881 | specified. | |
16882 | ||
3a9f36e6 KH |
16883 | 2004-01-08 Kenichi Handa <handa@m17n.org> |
16884 | ||
16885 | * editfns.c (Fformat): Fix '&' to '&&'. | |
16886 | ||
3803eb32 AS |
16887 | 2004-01-08 Andreas Schwab <schwab@suse.de> |
16888 | ||
16889 | * print.c (print_preprocess) <case Lisp_Vectorlike>: Only mask | |
16890 | size if PSEUDOVECTOR_FLAG is set. | |
16891 | ||
9da88f37 KH |
16892 | 2004-01-07 Kenichi Handa <handa@m17n.org> |
16893 | ||
74ac5074 KH |
16894 | * charset.c (Fdeclare_equiv_charset): Fix docstring. |
16895 | ||
9da88f37 KH |
16896 | * fontset.c (fontset_ref_via_base): Fix previous change. |
16897 | ||
05faee07 KS |
16898 | 2004-01-07 Kim F. Storm <storm@cua.dk> |
16899 | ||
16900 | * process.c (read_process_output): Only activate adaptive | |
16901 | buffering if we read less than 256 bytes at a time. | |
16902 | ||
634910c8 KS |
16903 | 2004-01-06 Kim F. Storm <storm@cua.dk> |
16904 | ||
16905 | * dispnew.c (buffer_posn_from_coords): Return both buffer/string | |
16906 | object and image object. Return glyph width and height. | |
16907 | (mode_line_string, marginal_area_string): Ditto. | |
16908 | ||
16909 | * dispextern.h (buffer_posn_from_coords, mode_line_string) | |
16910 | (marginal_area_string): Fix prototypes. | |
16911 | ||
16912 | * keyboard.h (POSN_POSN, POSN_SET_POSN): Rename macros from | |
f63fd14e | 16913 | POSN_BUFFER_POSN and POSN_SET_BUFFER_POSN. All uses changed. |
634910c8 KS |
16914 | (POSN_INBUFFER_P, POSN_BUFFER_POSN): New macros. |
16915 | ||
16916 | * keyboard.c (make_lispy_position): Use modified mode_line_string, | |
16917 | buffer_posn_from_coords, and marginal_area_string functions to | |
16918 | include both string object and image object in the lispy position. | |
16919 | Also add actual glyph width and height to position. | |
16920 | (read_key_sequence): Use real buffer position from mouse | |
16921 | event to find keymap property even when click is in marginal area. | |
16922 | ||
16923 | * xdisp.c (note_mode_line_or_margin_highlight): Use modified | |
16924 | mode_line_string and marginal_area_string functions to handle | |
16925 | both string object and image object properties. | |
d7107586 | 16926 | |
57951c2e AS |
16927 | 2004-01-06 Andreas Schwab <schwab@suse.de> |
16928 | ||
16929 | * syntax.c (skip_chars): Treat '-' at end of string as ordinary | |
16930 | character. | |
16931 | ||
181e6a61 AS |
16932 | 2004-01-02 Andreas Schwab <schwab@suse.de> |
16933 | ||
d7107586 SM |
16934 | * macterm.c (emacs_options, x_initialized, same_x_server): |
16935 | Remove unused (and duplicated) definitions. | |
181e6a61 | 16936 | |
31e0fbdd KS |
16937 | 2004-01-02 Kim F. Storm <storm@cua.dk> |
16938 | ||
16939 | * process.h (struct Lisp_Process): New members for adaptive read | |
16940 | buffering: adaptive_read_buffering, read_output_delay, and | |
16941 | read_output_skip. | |
16942 | ||
16943 | * process.c (ADAPTIVE_READ_BUFFERING): New conditional. | |
16944 | (READ_OUTPUT_DELAY_INCREMENT, READ_OUTPUT_DELAY_MAX) | |
16945 | (READ_OUTPUT_DELAY_MAX_MAX): New constants. | |
16946 | (process_output_delay_count, process_output_skip): New vars. | |
16947 | (Vprocess_adaptive_read_buffering): New variable. | |
16948 | (make_process): Initialize adaptive read buffering members. | |
16949 | (Fstart_process): Set adaptive_read_buffering member. | |
16950 | (deactivate_process): Cleanup adaptive read buffering. | |
16951 | (wait_reading_process_input): Temporarily omit delayed | |
16952 | subprocesses from the set of file descriptors to read from; | |
16953 | adjust the select timeout if we skipped any subprocesses. | |
16954 | (read_process_output): Increase adaptive read buffering delay if | |
16955 | we read less than a full buffer; reduce delay when we read a | |
16956 | full buffer. | |
16957 | (send_process): Simplify using local Lisp_Process var. | |
16958 | Reset adaptive read buffering delay after write. | |
16959 | (init_process): Initialize process_output_delay_count and | |
16960 | process_output_skip. | |
16961 | (syms_of_process): DEFVAR_LISP Vprocess_adaptive_read_buffering. | |
16962 | ||
68c6a789 JR |
16963 | 2004-01-01 Jason Rumney <jasonr@gnu.org> |
16964 | ||
d7107586 | 16965 | * w32term.c (w32_text_out): Use s->font, for consistency with callers. |
68c6a789 | 16966 | |
3f70fe82 LT |
16967 | 2003-12-30 Luc Teirlinck <teirllm@auburn.edu> |
16968 | ||
16969 | * print.c (Ferror_message_string): Add hyperlink in the docstring | |
16970 | to the definition of `signal' in the Elisp manual. | |
16971 | * eval.c (Fsignal): Ditto. | |
16972 | ||
b6189c3b | 16973 | 2003-12-29 James Clark <jjc@jclark.com> |
c2be49ed EZ |
16974 | |
16975 | * fns.c (internal_equal): Return t for two NaN arguments. | |
16976 | ||
7abd90ea RS |
16977 | 2003-12-29 Richard M. Stallman <rms@gnu.org> |
16978 | ||
16979 | * data.c (store_symval_forwarding): Handle setting | |
16980 | default-fill-column, etc., by changing the value in | |
16981 | buffers that use the default. | |
16982 | ||
16983 | * minibuf.c (Fset_minibuffer_window): Doc fix. | |
16984 | ||
16985 | * fileio.c (choose_write_coding_system): Ignore auto_saving | |
16986 | if using the visited file for auto saves. | |
16987 | (Fwrite_region): Don't update SAVE_MODIFF | |
16988 | if auto-saving in visited file. | |
16989 | ||
3e7cfcdc KH |
16990 | 2003-12-29 Kenichi Handa <handa@m17n.org> |
16991 | ||
16992 | * dispextern.h (face_font_available_p): Extern it. | |
16993 | ||
16994 | * fontset.c (Voverriding_fontspec_alist): New variable. | |
16995 | (lookup_overriding_fontspec): New function. | |
d7107586 | 16996 | (fontset_ref_via_base): Call lookup_overriding_fontspec if necessary. |
3e7cfcdc KH |
16997 | (fontset_font_pattern): Likewise. |
16998 | (regulalize_fontname): New function. | |
16999 | (Fset_fontset_font): Call regulalize_fontname. | |
17000 | (Fset_overriding_fontspec_internal): New function. | |
d7107586 SM |
17001 | (syms_of_fontset): Initialize and staticpro Voverriding_fontspec_alist. |
17002 | Defsubr Sset_overriding_fontspec_internal. | |
3e7cfcdc KH |
17003 | |
17004 | * xfaces.c (face_font_available_p): New function. | |
17005 | ||
7abd90ea RS |
17006 | 2003-12-28 Richard M. Stallman <rms@gnu.org> |
17007 | ||
17008 | * buffer.c (Fother_buffer): Don't crash if BUF is nil | |
17009 | or if its name is nil. | |
17010 | ||
17011 | * buffer.c (Fkill_buffer): Don't delete auto-save file | |
17012 | if it's the same as the visited file. | |
17013 | ||
de1d1a40 LT |
17014 | 2003-12-28 Luc Teirlinck <teirllm@auburn.edu> |
17015 | ||
17016 | * coding.c (Fcheck_coding_system): Doc fix. | |
17017 | ||
204fb75e KS |
17018 | 2003-12-28 Kim F. Storm <storm@cua.dk> |
17019 | ||
17020 | * Makefile.in (eval.o): Depend on dispextern.h. | |
17021 | ||
17022 | * dispnew.c (buffer_posn_from_coords): Fix calculation of dy for | |
17023 | image glyph using image's ascent. | |
17024 | (mode_line_string): Return image glyph as object clicked on. | |
17025 | Adjust y0 for image glyph using image's ascent. | |
17026 | ||
17027 | * dispextern.h (FACE_ID_BITS, MAX_FACE_ID): New defines. | |
17028 | (struct glyph): New members, ascent and descent. Used to save | |
17029 | this glyph's ascent and descent, instead of having. | |
17030 | (struct glyph): Declare member face_id using FACE_ID_BITS. | |
17031 | (find_hot_spot): Add prototype. | |
17032 | ||
17033 | * keyboard.c (Qimage): Remove extern (now in lisp.h). | |
17034 | (QCmap): Declare extern. | |
17035 | (make_lispy_position): When position is inside image hot-spot, | |
17036 | use hot-spot element's id as posn element. | |
17037 | ||
17038 | * lisp.h (IMAGEP): New macro to test for image object type. | |
17039 | (Qimage): Declare extern. | |
17040 | ||
17041 | * macfns.c (Qimage): Remove extern (now in lisp.h). | |
17042 | (valid_image_p, parse_image_spec): Use IMAGEP macro. | |
17043 | ||
17044 | * macterm.c (Qface, Qmouse_face): Remove unused externs. | |
17045 | ||
17046 | * w32fns.c (Qimage): Remove extern (now in lisp.h). | |
17047 | (valid_image_p, parse_image_spec): Use IMAGEP macro. | |
17048 | ||
17049 | * w32menu.c (Qmouse_click, Qevent_kind): Remove unused externs. | |
17050 | ||
17051 | * w32term.c (Qface, Qmouse_face): Remove unused externs. | |
17052 | ||
17053 | * xdisp.c (Qarrow, Qhand, Qtext, Qpointer): New variables for | |
17054 | pointer types. | |
17055 | (Qrelative_width, Qalign_to): Remove unused variables. | |
17056 | (Vvoid_text_area_pointer): Replace Vshow_text_cursor_in_void. | |
647b07d1 AS |
17057 | (QCmap, QCpointer, Qrect, Qcircle, Qpoly): New variables for image |
17058 | maps. | |
17059 | (x_y_to_hpos_vpos): Return glyph relative coordinates through new | |
17060 | dx and dy args. Remove buffer_only_p arg (always 0). Simplify | |
17061 | code accordingly. | |
204fb75e KS |
17062 | (get_glyph_string_clip_rect): Draw cursor using glyph's rather |
17063 | than row's ascent and height, to get sensible height on tall rows. | |
17064 | (build_desired_tool_bar_string): Remove Qimage extern. | |
17065 | (get_tool_bar_item): Fix call to x_y_to_hpos_vpos. | |
17066 | (produce_image_glyph): Adjust it.ascent to minimum row ascent if | |
17067 | image glyph is alone on the last line. | |
17068 | (append_glyph, append_composite_glyph, produce_image_glyph) | |
d7107586 | 17069 | (append_stretch_glyph): Set glyph's ascent and descent. |
204fb75e | 17070 | (on_hot_spot_p): New function to check if position is inside an |
d7107586 | 17071 | rectangular, circular, or polygon-shaped image hot-spot, |
204fb75e KS |
17072 | (find_hot_spot): New function to search for image hot-spot. |
17073 | (Flookup_image_map): New defun to search for image hot-spot. | |
647b07d1 AS |
17074 | (define_frame_cursor1): New aux function to determine frame |
17075 | pointer. | |
17076 | (note_mode_line_or_margin_highlight, note_mouse_highlight): Handle | |
17077 | `pointer' text property and :pointer image property to control | |
17078 | frame pointer shape. Detect image hot-spots for pointer and | |
17079 | help_echo properties. Use define_frame_cursor1. | |
17080 | (note_mouse_highlight): Use Vvoid_text_area_pointer. | |
17081 | (syms_of_xdisp): Defsubr new defun. Intern and staticpro new | |
17082 | variables. DEFVAR_LISP Vvoid_text_area_pointer instead of | |
17083 | Vshow_text_cursor_in_void. | |
204fb75e KS |
17084 | |
17085 | * xfaces.c (cache_face): Abort if c->size exceeds MAX_FACE_ID. | |
17086 | ||
17087 | * xfns.c (x_set_mouse_color): Remove bogus x_check_errors call. | |
17088 | (Qimage): Remove extern (now in lisp.h). | |
17089 | (valid_image_p, parse_image_spec): Use IMAGEP macro. | |
17090 | ||
17091 | * xmenu.c (show_help_event): Remove unused code. | |
17092 | ||
17093 | * xterm.c (Qface, Qmouse_face): Remove unused externs. | |
17094 | (x_draw_hollow_cursor): Draw cursor using glyph's rather than | |
17095 | row's ascent and descent, to get a sensible height on tall rows. | |
17096 | ||
fc052137 LT |
17097 | 2003-12-25 Luc Teirlinck <teirllm@auburn.edu> |
17098 | ||
17099 | * minibuf.c (Fcompleting_read): Undo previous change. | |
17100 | ||
a64387ee | 17101 | 2003-12-25 Lars Hansen <larsh@math.ku.dk> |
b9148500 LH |
17102 | |
17103 | * dired.c (Fdirectory_files, Fdirectory_files_and_attributes): | |
17104 | Arguments GCPRO'ed in call to file name handler. | |
17105 | ||
56ffd194 TTN |
17106 | 2003-12-25 Thien-Thi Nguyen <ttn@gnu.org> |
17107 | ||
17108 | * termcap.c (tgetst1): Scan for "%pN"; if all | |
17109 | N are continuous in [1,9], remove all "%pN". | |
17110 | ||
5202d23d JD |
17111 | 2003-12-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17112 | ||
f26fab36 JD |
17113 | * gtkutil.c (xg_frame_set_char_size): Call x_wm_set_size_hint. |
17114 | ||
5202d23d JD |
17115 | * xfaces.c (lface_fully_specified_p): Take into account that |
17116 | MAC OS always have unspecified stipple. | |
17117 | ||
8babaa59 TTN |
17118 | 2003-12-24 Thien-Thi Nguyen <ttn@gnu.org> |
17119 | ||
17120 | * tparam.c (tparam1): Add handling for `%pN', which | |
17121 | means use param N for the next substitution. | |
17122 | ||
2d176448 TTN |
17123 | 2003-12-24 Thien-Thi Nguyen <ttn@gnu.org> |
17124 | ||
17125 | * xfaces.c (Fcolor_gray_p): Fix omission bug: | |
17126 | In case `frame' is nil, consult the selected frame. | |
17127 | (Fcolor_supported_p): Likewise. | |
17128 | ||
adb0708c LT |
17129 | 2003-12-23 Luc Teirlinck <teirllm@auburn.edu> |
17130 | ||
000eeb15 LT |
17131 | * fns.c (Frandom, Fstring_make_multibyte, Fset_char_table_range): |
17132 | Doc fixes. | |
0dc72b11 LT |
17133 | |
17134 | * minibuf.c (read_minibuf): Allow INITIAL to be a cons of a string | |
17135 | and an integer. Adapt the introductory comment accordingly. | |
adb0708c LT |
17136 | (Fread_from_minibuffer): Delete code moved into read_minibuf. |
17137 | Doc fix. | |
17138 | (Fread_minibuffer, Fread_no_blanks_input): Adapt to changes in | |
17139 | read_minibuf. | |
17140 | (Fcompleting_read): Delete code moved into read_minibuf. | |
d7107586 | 17141 | (Ftest_completion): Make it handle obarrays and hash tables correctly. |
adb0708c | 17142 | |
2e4d132b KH |
17143 | 2003-12-03 Kenichi Handa <handa@m17n.org> |
17144 | ||
17145 | * coding.c (decode_coding_iso2022): Fix for preserving UTF-8 | |
17146 | encoding sequence. | |
17147 | ||
3999c705 KH |
17148 | 2003-12-01 Kenichi Handa <handa@m17n.org> |
17149 | ||
17150 | * composite.c (syms_of_composite): Don't make the compostion hash | |
17151 | table week. | |
17152 | ||
d344ecbb LT |
17153 | 2003-11-30 Luc Teirlinck <teirllm@auburn.edu> |
17154 | ||
17155 | * intervals.h: Add EXFUN for Fget_char_property_and_overlay. | |
17156 | * textprop.c (Fget_char_property_and_overlay): New function. | |
17157 | (syms_of_textprop): Defsubr it. | |
17158 | ||
03d6484e JD |
17159 | 2003-11-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17160 | ||
019b1f0e JD |
17161 | * dispnew.c (buffer_posn_from_coords): Add ifdef HAVE_WINDOW_SYSTEM |
17162 | to compile on terminal configuration. | |
17163 | ||
03d6484e JD |
17164 | * fileio.c (Fread_file_name): Check use_file_dialog also before |
17165 | calling Fx_file_dialog. | |
17166 | ||
1d1c7e75 | 17167 | * fns.c (use_file_dialog): New variable. |
03d6484e JD |
17168 | (syms_of_fns): DEFVAR_BOOL use-file-dialog. |
17169 | ||
442d3fd0 KS |
17170 | 2003-11-29 Kim F. Storm <storm@cua.dk> |
17171 | ||
17172 | * msdos.c (Qcursor_type, Qbar, Qhbar): Declare extern. | |
17173 | (syms_of_msdos): Don't intern and staticpro them. | |
17174 | ||
0f6a07a8 KS |
17175 | 2003-11-27 Kim F. Storm <storm@cua.dk> |
17176 | ||
17177 | * dispnew.c (buffer_posn_from_coords): Calculate and return pixel | |
17178 | coordinates relative to glyph at posn. If glyph is an image, | |
17179 | return that as object at posn. Callers changed. | |
17180 | (mode_line_string, marginal_area_string): Calculate and return | |
17181 | pixel coordinates relative to glyph. Callers changed. | |
17182 | ||
17183 | * dispextern.h (buffer_posn_from_coords, mode_line_string) | |
17184 | (marginal_area_string): Fix prototypes. | |
17185 | (window_box_left_offset, window_box_right_offset): Add prototypes. | |
17186 | ||
17187 | * frame.h (get_specified_cursor_type, get_window_cursor_type): | |
17188 | Remove prototypes. | |
17189 | ||
17190 | * keyboard.h (EVENT_CLICK_COUNT, POSN_SCROLLBAR_PART): Fix defines. | |
17191 | ||
17192 | * keyboard.c (make_lispy_position): Add x and y coordinates | |
17193 | relative to the current glyph as 7th element of position. | |
17194 | If glyph is an image, return it in the object element. | |
17195 | (read_key_sequence): Skip checks for keymap property in cases | |
17196 | where POSN_STRING is not a string (e.g. an image). | |
17197 | ||
17198 | * xdisp.c (Vdisplay_pixels_per_inch): New variable. | |
17199 | (Vshow_text_cursor_in_void): New variable. | |
17200 | (glyph_to_pixel_coords): Don't use negative hpos. | |
17201 | (x_y_to_hpos_vpos): Fix for partially visible first glyph. | |
17202 | (append_stretch_glyph): Change ascent arg to be actual value | |
f63fd14e | 17203 | in pixels rather than ratio to height. Callers changed. |
0f6a07a8 KS |
17204 | (calc_pixel_width_or_height): New aux function, implementing |
17205 | pixel based artihmetic for glyph widths and heights. | |
17206 | (produce_stretch_glyph): Use calc_pixel_width_or_height for | |
17207 | :width, :height, :align-to, and :ascent, thus allowing these to | |
17208 | be specified in pixels as well as multiples of characters. | |
17209 | Don't produce stretch glyphs with zero width or height. | |
17210 | (get_specified_cursor_type): Declare static. | |
17211 | (get_window_cursor_type): Declare static. Add glyph arg to be | |
17212 | able to know when cursor is on an image; always substitute | |
17213 | hollow-box cursor for filled-box cursor on images, to avoid | |
17214 | negative images and flicker when blinking the cursor. | |
5e1a6e32 | 17215 | (display_and_set_cursor): Pass glyph to get_window_cursor_type. |
0f6a07a8 KS |
17216 | (note_mode_line_or_margin_highlight): Use non-text cursor rather |
17217 | than vertical scroll-bar cursor in display margins. | |
17218 | (note_mouse_highlight): Use non-text cursor rather than text | |
17219 | cursor in fringes and over images in the text area. | |
17220 | Use non-text cursor when mouse pointer is outside editable text, | |
17221 | i.e. in the void after end-of-line or end-of-buffer; this was | |
17222 | already done for W32, but is now standard for all systems -- | |
17223 | user can toggle show-text-cursor-in-void to get old behaviour. | |
17224 | (syms_of_xdisp): DEFVAR_LISP Vshow_text_cursor_in_void and | |
17225 | Vdisplay_pixels_per_inch. | |
17226 | ||
00498bfc AS |
17227 | 2003-11-25 Andreas Schwab <schwab@suse.de> |
17228 | ||
17229 | * fns.c (internal_equal) <case Lisp_Vectorlike>: Declare size as | |
17230 | EMACS_INT to not lose bits. | |
17231 | (Ffillarray): Don't set bits beyond the size of a bool vector. | |
17232 | ||
edaa824d KS |
17233 | 2003-11-25 Kim F. Storm <storm@cua.dk> |
17234 | ||
17235 | * print.c (Fredirect_debugging_output) [!GNU_LINUX]: Do not | |
17236 | define this defun on systems that cannot use stderr as lvalue. | |
17237 | ||
74d6f539 GM |
17238 | 2003-11-24 Gerd Moellmann <gerd@gnu.org> |
17239 | ||
17240 | * s/freebsd.h (LD_SWITCH_SYSTEM_TEMACS) | |
17241 | [__FreeBSD_version >= 500042]: Define as -znocombreloc because | |
17242 | ld's default is incompatible with unexec. | |
17243 | ||
6a1ff3ba KS |
17244 | 2003-11-23 Kim F. Storm <storm@cua.dk> |
17245 | ||
63dc7c6b KS |
17246 | * window.c (enum window_loop): Add REDISPLAY_BUFFER_WINDOWS. |
17247 | (window_loop): Handle REDISPLAY_BUFFER_WINDOWS. | |
17248 | (Fforce_window_update): New defun. | |
17249 | (syms_of_window): Defsubr it. | |
17250 | (Fset_window_margins, Fset_window_fringes): Doc fix. | |
17251 | ||
6a1ff3ba KS |
17252 | * print.c (Fredirect_debugging_output): New defun. |
17253 | (syms_of_print): Defsubr it. | |
17254 | ||
aef109b7 LT |
17255 | 2003-11-22 Luc Teirlinck <teirllm@auburn.edu> |
17256 | ||
17257 | * fns.c (Fset_char_table_parent): Doc fix. | |
17258 | ||
6a1ff3ba | 17259 | 2003-11-22 Kim F. Storm <storm@cua.dk> |
63ccbe21 KS |
17260 | |
17261 | * dispnew.c (buffer_posn_from_coords): Return actual row/column | |
17262 | for glyph clicked on, rather than (unused) pixel positions. | |
17263 | (mode_line_string, marginal_area_string): Change X and Y args to | |
17264 | pointers for returning actual row/column for glyph clicked on. | |
17265 | Simplify and optimize loops. | |
17266 | ||
aef109b7 LT |
17267 | * dispextern.h (mode_line_string, marginal_area_string): |
17268 | Update prototypes. | |
63ccbe21 KS |
17269 | |
17270 | * keyboard.c (make_lispy_position): New function for generating | |
17271 | mouse click positions from frame and pixel coordinates. | |
17272 | Enhanced to return buffer position and actual row/column for | |
17273 | events outside the text area using updated mode_line_string and | |
17274 | marginal_area_string functions. | |
17275 | Return left-fringe and right-fringe clicks as such, rather than | |
17276 | clicks in text area. | |
17277 | (make_lispy_event) [USE_X_TOOLKIT, USE_GTK]: Don't call | |
17278 | pixel_to_glyph_coords, as we never use the results. | |
17279 | (make_lispy_event): Use make_lispy_position for MOUSE_CLICK_EVENT, | |
17280 | WHEEL_EVENT, and DRAG_N_DROP_EVENT to replace redundant code. | |
17281 | Eliminate unused code in WHEEL_EVENT handling. | |
17282 | (make_lispy_movement): Use make_lispy_position. | |
17283 | ||
17284 | * window.c (coordinates_in_window): Remove redundant tests. | |
17285 | Fix returned X pixel value for left-margin. | |
17286 | ||
17287 | * xdisp.c (note_mode_line_or_margin_highlight): Adapt to new | |
17288 | mode_line_string and marginal_area_string parameters. | |
17289 | ||
a64387ee | 17290 | 2003-11-22 Lars Hansen <larsh@math.ku.dk> |
930a9995 | 17291 | |
d7107586 SM |
17292 | * w32.c (struct the_group, getgrgid): Add. |
17293 | * mac.c (struct my_group, getgrgid): Add. | |
aef109b7 | 17294 | |
3dbf3426 LT |
17295 | 2003-11-21 Luc Teirlinck <teirllm@auburn.edu> |
17296 | ||
17297 | * fns.c (Fassq, Fassoc, Frassq, Frassoc): Doc fixes. | |
17298 | ||
cae8ddbb | 17299 | 2003-11-21 Lars Hansen <larsh@math.ku.dk> |
ded4064f | 17300 | |
d7107586 SM |
17301 | * dired.c (Ffile_attributes): Add parameter ID-FORMAT and |
17302 | include in call to file name handler. Optionally translate numeric | |
17303 | UID and GID to strings. Update docstring. | |
17304 | (directory_files_internal): Add parameter ID-FORMAT. | |
17305 | (Fdirectory_files_and_attributes): Add parameter ID-FORMAT and | |
17306 | include in call to file name handler and call to | |
17307 | directory_files_internal. Update Docstring. | |
17308 | (Fdirectory_files): Add dummy parameter in call to | |
17309 | directory_files_internal. | |
17310 | * lisp.h (Qinteger): Add. | |
17311 | (Qinteger_or_floatp, Qinteger_or_float_or_marker_p): Remove. | |
17312 | (Ffile_attributes): Add parameter. | |
17313 | * data.c (Qinteger): Export. | |
cae8ddbb | 17314 | |
2550b848 LT |
17315 | 2003-11-21 Luc Teirlinck <teirllm@auburn.edu> |
17316 | ||
3dbf3426 | 17317 | * fns.c (Freverse, Fnreverse): Doc fixes. |
2550b848 | 17318 | |
88380018 KS |
17319 | 2003-11-19 Kim F. Storm <storm@cua.dk> |
17320 | ||
17321 | * xdisp.c (init_iterator): Initialize it->start to position | |
17322 | before reseating (in case start position is invisible). | |
17323 | (init_to_row_start): Set it->start to row-start. | |
17324 | (redisplay_window): Accept optional_new_start if start position | |
17325 | is invisible (in which case IT_CHARPOS overshoots PT). | |
17326 | (display_line): Setup row->start from it->start (rather than | |
17327 | it->current which is wrong if first char on line is invisible). | |
17328 | When done, reseat it->start to it->current (= start of next row). | |
17329 | (expose_area): Fix exposure of text area when first char (e.g. TAB) | |
17330 | is only partially visible. | |
17331 | ||
17332 | * dispextern.h (struct it): New member start. | |
17333 | ||
854c1a59 SM |
17334 | 2003-11-17 Stefan Monnier <monnier@iro.umontreal.ca> |
17335 | ||
455316e2 SM |
17336 | * alloc.c (make_float, Fcons): Clear the markbit at init time. |
17337 | (make_float, Fcons, Fmake_symbol, allocate_misc): Move the increment | |
17338 | of block_index outside of the macro call. | |
17339 | (Fgarbage_collect): Remove null code. | |
17340 | ||
17341 | * m/amdx86-64.h: Don't redefine XPNTR. | |
17342 | ||
854c1a59 SM |
17343 | * keyboard.c (parse_modifiers, apply_modifiers): Use INTMASK instead |
17344 | of VALMASK. | |
17345 | ||
17346 | * fns.c (hashfn_eq, hashfn_eql, hashfn_equal, hash_put) | |
17347 | (sxhash_string, sxhash): Use INTMASK instead of VALMASK. | |
17348 | (maybe_resize_hash_table): Use MOST_POSITIVE_FIXNUM. | |
17349 | ||
17350 | * lisp.h (VALMASK): Only define for non-union type. | |
17351 | (MARKBIT): Remove. | |
17352 | (ARRAY_MARK_FLAG): Use previous value of MARKBIT. | |
17353 | (XTYPE): Define unconditionally. | |
17354 | (XSETTYPE): Remove one more remnant. | |
17355 | (EQ): Define differently for the union and non-union cases. | |
17356 | (INTMASK): New bit mask. | |
17357 | (struct Lisp_Marker): Move down to prepare for upcoming patch. | |
17358 | (GC_EQ): Delegate to EQ. | |
17359 | ||
17360 | * coding.c (coding_restore_composition): Lisp_Object/int mixup. | |
17361 | ||
a0c6ef2d JD |
17362 | 2003-11-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17363 | ||
17364 | * xterm.c (x_window_to_scroll_bar): Move check of display to | |
17365 | where window_id is compared. | |
17366 | ||
859492c4 KS |
17367 | 2003-11-17 Kim F. Storm <storm@cua.dk> |
17368 | ||
17369 | * dispextern.h (struct it): New member first_vpos. | |
17370 | ||
17371 | * xdisp.c (start_display): Set it->first_vpos. | |
17372 | (try_window_id): Use first_vpos to start display in first _text_ | |
17373 | line if no reusable lines at start of window with header line. | |
17374 | ||
810f2256 JD |
17375 | 2003-11-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17376 | ||
7c402969 | 17377 | * w32fns.c (XPutPixel): |
854c1a59 SM |
17378 | * w32bdf.c (w32_init_bdf_font): |
17379 | * sunfns.c (sel_read): | |
17380 | * process.c (Fmake_network_process): | |
17381 | * frame.c (store_frame_param): | |
17382 | * fontset.c (Fset_fontset_font): | |
17383 | * emacs.c (shut_down_emacs): | |
a64387ee | 17384 | * ccl.c (ccl_driver): Remove period at end of error message. |
7c402969 | 17385 | |
a32e9bfd JD |
17386 | * config.in: Regenerate. |
17387 | ||
810f2256 JD |
17388 | * xfns.c (x_window_to_frame, x_any_window_to_frame) |
17389 | (x_non_menubar_window_to_frame, x_menubar_window_to_frame) | |
17390 | (x_top_window_to_frame): Add Display* argument to xg_win_to_widget. | |
17391 | (x_create_bitmap_mask, xg_set_icon, create_frame_xic) | |
17392 | (xic_set_statusarea, x_window, gif_load): Formatting adjustments. | |
17393 | ||
17394 | * xterm.h (struct x_display_info): New field xg_cursor for GTK. | |
17395 | ||
17396 | * xterm.c: Add Display * to x_window_to_scroll_bar declaration. | |
17397 | (XTmouse_position, handle_one_xevent): Pass Display* to | |
17398 | x_window_to_scroll_bar. | |
17399 | (x_window_to_scroll_bar): Take a Display* argument. | |
17400 | Check that display for frame is equal to Display* argument. | |
854c1a59 | 17401 | (event_handler_gdk): Remove current_dpyinfo. Get dpyinfo from |
810f2256 JD |
17402 | x_display_info_for_display instead. Use Display in xev instead |
17403 | of GDK_DISPLAY. | |
17404 | (x_dispatch_event): Call x_display_info_for_display. | |
f63fd14e | 17405 | (XTread_socket): Move GTK part out of loop. current_dpyinfo removed. |
810f2256 JD |
17406 | (x_connection_closed): Call xg_display_close for GTK. |
17407 | (x_term_init): Call xg_display_open for additional displays. | |
17408 | Initiate dpyinfo->xg_cursor with call to xg_create_default_cursor | |
17409 | for GTK. | |
17410 | ||
17411 | * xmenu.c (single_menu_item, mouse_position_for_popup) | |
17412 | (x_activate_menubar): Formatting adjustments. | |
17413 | ||
17414 | * xdisp.c (update_tool_bar, redisplay_tool_bar): Formatting | |
17415 | adjustments. | |
17416 | ||
17417 | * gtkutil.c (xg_get_gdk_display, xg_set_screen, xg_display_open) | |
17418 | (xg_display_close, xg_create_default_cursor) | |
17419 | (xg_get_gdk_pixmap_and_mask): New functions for multiple display | |
17420 | handling. | |
854c1a59 SM |
17421 | (xg_left_ptr_cursor): Remove. |
17422 | (xg_set_cursor): Change cursor to GdkCursor*. Do not create | |
810f2256 JD |
17423 | cursor here. |
17424 | (xg_win_to_widget): Take Display* argument, call | |
17425 | gdk_xid_table_lookup_for_display. | |
17426 | (xg_create_frame_widgets, xg_get_file_name, create_menus) | |
17427 | (xg_create_widget, xg_modify_menubar_widgets): Call xg_set_screen. | |
17428 | (xg_create_widget, xg_create_scroll_bar): Use xg_cursor | |
17429 | in FRAME_X_DISPLAY_INFO. | |
17430 | (xg_get_scroll_id_for_window): Take Display* argument. | |
17431 | (update_frame_tool_bar): Call xg_get_gdk_pixmap_and_mask. | |
854c1a59 | 17432 | (xg_initialize): Remove xg_left_ptr_cursor. |
810f2256 | 17433 | |
78819ebb KS |
17434 | * gtkutil.h (xg_get_scroll_id_for_window, xg_win_to_widget): Add |
17435 | Display* argument. | |
17436 | (xg_display_open, xg_display_close, xg_create_default_cursor): Declare. | |
810f2256 | 17437 | |
0b03cc78 JD |
17438 | 2003-11-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17439 | ||
17440 | * xterm.c (x_detect_focus_change): Do not change focus frame for | |
17441 | Enter/LeaveNotify if the current focus frame has explicit focus. | |
17442 | ||
77e688fa KS |
17443 | 2003-11-14 Kim F. Storm <storm@cua.dk> |
17444 | ||
17445 | * dispnew.c (update_text_area): Fix redisplay error when hscroll | |
17446 | is active and first glyph is only partially visible. | |
854c1a59 | 17447 | |
dd429b03 KH |
17448 | 2003-11-13 Kenichi Handa <handa@m17n.org> |
17449 | ||
17450 | * xdisp.c (select_frame_for_redisplay): New function. | |
17451 | (redisplay_internal): Record also selected_frame for | |
17452 | unwind_redisplay. Call select_frame_for_redisplay before | |
17453 | redrawing each frame. | |
17454 | (unwind_redisplay): Argument changed to a cons. | |
17455 | ||
6d9266f4 LT |
17456 | 2003-11-12 Luc Teirlinck <teirllm@auburn.edu> |
17457 | ||
17458 | * fns.c (Fstring_to_multibyte): Doc fix. | |
17459 | ||
80060eb3 KH |
17460 | 2003-11-11 Kenichi Handa <handa@m17n.org> |
17461 | ||
17462 | * xterm.c (x_list_fonts): Fix excluding of auto-scaled fonts. | |
17463 | ||
74305183 JD |
17464 | 2003-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17465 | ||
17466 | * xfns.c (x_window): Set XtNx and XtNy in shell widget for | |
17467 | program specified positions. | |
17468 | ||
cfda993e JD |
17469 | 2003-11-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17470 | ||
17471 | * xterm.c (XAW_ARROW_SCROLLBARS): Define it for Xaw 1.5E. | |
17472 | ||
df211069 KH |
17473 | 2003-11-08 Kenichi Handa <handa@m17n.org> |
17474 | ||
17475 | * Makefile.in (lisp): Add kannada.el. | |
17476 | (shortlisp): Likewise. | |
17477 | ||
4307d534 KH |
17478 | 2003-11-07 Kenichi Handa <handa@m17n.org> |
17479 | ||
854c1a59 SM |
17480 | * coding.c (coding_allocate_composition_data): |
17481 | Reset coding->composing to COMPOSITION_NO. | |
4307d534 KH |
17482 | (coding_restore_composition): Detect invalid composition data. |
17483 | Give Fstring and Fvector a Lispy integer, not C int. | |
17484 | ||
854c1a59 SM |
17485 | 2003-11-05 Stefan Monnier <monnier@iro.umontreal.ca> |
17486 | ||
17487 | * floatfns.c (Flogb): Don't use VALMASK. | |
17488 | ||
17489 | * m/amdx86-64.h (VALBITS, XINT, XUINT): Remove. | |
17490 | * m/ia64.h (VALBITS, XINT, XUINT): Remove. | |
17491 | ||
17492 | * lisp.h (XINT): Move the cast to clarify what is going on. | |
17493 | (GCTYPEMASK, XSETTYPE): Remove. | |
17494 | (XGCTYPE): Make it an alias of XTYPE. | |
17495 | ||
d04103a1 JD |
17496 | 2003-11-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17497 | ||
17498 | * xterm.c (x_term_init): Fix formatting. | |
17499 | ||
da18b5ac JD |
17500 | 2003-11-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17501 | ||
78819ebb KS |
17502 | * gtkutil.h (xg_have_tear_offs): Declare. |
17503 | (xg_keep_popup, xg_did_tearoff): Remove. | |
da18b5ac JD |
17504 | |
17505 | * gtkutil.c: Remove variable xg_did_tearoff. | |
17506 | (xg_have_tear_offs): New function. | |
17507 | (tearoff_remove): Just decrease xg_detached_menus. | |
17508 | (tearoff_activate): Increase xg_detached_menus and call | |
17509 | tearoff_remove when tearoff is removed. | |
854c1a59 | 17510 | (xg_keep_popup): Remove function. |
da18b5ac JD |
17511 | (create_menus): Give add_tearoff_p as argument to recursive |
17512 | call to create_menus. | |
17513 | (xg_create_widget): Use variables instead of multiple | |
17514 | strcmp. Tell create_menus to create tear off only for | |
17515 | menu bar menus. | |
17516 | (xg_update_menubar): Change title for a detached menu also. | |
17517 | (xg_modify_menubar_widgets): Always call xg_update_menubar, regardless | |
17518 | of deep_p. | |
17519 | (xg_initialize): Initialize xg_detached_menus, remove | |
17520 | initialization of xg_did_tearoff. | |
17521 | ||
17522 | * xmenu.c (set_frame_menubar): For GTK, set deep_p if | |
17523 | xg_have_tear_offs returns non-zero. | |
17524 | (create_and_show_popup_menu): Remove setting of xg_did_tearoff and | |
17525 | call to xg_keep_popup. | |
17526 | ||
64d4923e AC |
17527 | 2003-11-01 Andrew Choi <akochoi@shaw.ca> |
17528 | ||
17529 | * macterm.c (XTread_socket): Handle menubar selection and grow | |
17530 | window only for mouseDown events. | |
854c1a59 | 17531 | |
6cc8bc07 JD |
17532 | 2003-10-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17533 | ||
17534 | * xterm.c (x_term_init): For GTK part, increase x_initialized | |
17535 | to check for more than one display. Use error instead of return 0. | |
17536 | ||
043131c4 AC |
17537 | 2003-10-31 Andrew Choi <akochoi@shaw.ca> |
17538 | ||
854c1a59 | 17539 | * unexmacosx.c (unrelocate): New function (contributed by Nozomu Ando). |
043131c4 AC |
17540 | (copy_dysymtab): Call it. |
17541 | ||
bdda99a1 LT |
17542 | 2003-10-31 Luc Teirlinck <teirllm@auburn.edu> |
17543 | ||
17544 | * eval.c (Fdefvaralias): Doc fix. | |
17545 | ||
800f42ff | 17546 | 2003-10-26 Luc Teirlinck <teirllm@auburn.edu> |
0d11571e LT |
17547 | |
17548 | * data.c (Fsetplist): Doc fix. | |
17549 | ||
ef35b389 LK |
17550 | 2003-10-14 Lute Kamstra <lute@gnu.org> |
17551 | ||
17552 | * window.c (Fset_window_fringes): Clarify docstring. | |
07107abc | 17553 | |
ef35b389 | 17554 | 2003-10-14 Kim F. Storm <storm@cua.dk> |
854c1a59 | 17555 | |
07107abc KS |
17556 | * window.c (Fset_window_margins): Simplify arg checking. |
17557 | ||
f7005886 RS |
17558 | 2003-10-13 Richard M. Stallman <rms@gnu.org> |
17559 | ||
17560 | * regex.c (MAX_BUF_SIZE): Reduce to 2**15. | |
17561 | (print_partial_compiled_pattern): Replace assert with a printout. | |
17562 | (skip_noops, mutually_exclusive_p): Change args, values to re_char *. | |
17563 | ||
17564 | * alloc.c (lisp_align_malloc): If BASE is 0, call memory_full. | |
17565 | ||
17566 | * window.c (Fset_window_margins): Allow only integers as args. | |
647b07d1 AS |
17567 | (syms_of_window) <special-display-buffer-names, |
17568 | special-display-regexps>: Doc fixes. | |
f7005886 | 17569 | |
9c0c2af5 LK |
17570 | 2003-10-13 Lute Kamstra <lute@gnu.org> |
17571 | ||
17572 | * window.c (Fset_window_fringes): Elaborate docstring. | |
17573 | ||
3f080e4e AC |
17574 | 2003-10-12 Andrew Choi <akochoi@shaw.ca> |
17575 | ||
854c1a59 | 17576 | * macterm.c (XTread_socket): Call DragWindow only for mouseDown events. |
a4887377 | 17577 | |
3f080e4e AC |
17578 | * s/darwin.h (GC_MARK_STACK): Define. |
17579 | ||
0aa513ed JD |
17580 | 2003-10-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17581 | ||
17582 | * window.c (shrink_windows): New function. | |
17583 | (size_window): Call shrink_windows to calculate window sizes when | |
17584 | shrinking frame with more than one window. | |
17585 | ||
6aa8858a KS |
17586 | 2003-10-12 Kim F. Storm <storm@cua.dk> |
17587 | ||
17588 | * xdisp.c (compute_fringe_widths): Doc fix. | |
17589 | ||
c2164d91 KH |
17590 | 2003-10-08 Kenichi Handa <handa@m17n.org> |
17591 | ||
854c1a59 | 17592 | * coding.c (Fcoding_system_p): Return t for auto-loading coding system. |
c2164d91 | 17593 | |
f82ac129 KH |
17594 | 2003-10-07 Kenichi Handa <handa@m17n.org> |
17595 | ||
17596 | * coding.c (Qcoding_system_define_form): New variable. | |
17597 | (syms_of_coding): Intern and staticpro it. | |
17598 | (Fcheck_coding_system): Try to autoload the definition of | |
17599 | CODING-SYSTEM. | |
17600 | ||
9296c947 LT |
17601 | 2003-10-05 Luc Teirlinck <teirllm@auburn.edu> |
17602 | ||
17603 | * fns.c (Frequire): Doc fix. | |
17604 | ||
c1f0671a JD |
17605 | 2003-10-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17606 | ||
3d8c3826 JD |
17607 | * xfns.c (Fx_send_client_event): New function as a base for |
17608 | manipulating extended window manager hints. | |
6dc15d98 | 17609 | (Fx_send_client_event): Remove unused variable s. |
3d8c3826 | 17610 | |
068ae0fd JD |
17611 | * w32term.c (w32_read_socket): Remove call to x_check_fullscreen_move, |
17612 | that function is removed. | |
17613 | ||
17614 | * xterm.c (x_set_offset): Use move_offset_left/top instead of | |
17615 | x/y_pixels_outer_diff. | |
17616 | (x_check_expected_move): Calculate move_offset_left/top. | |
17617 | ||
17618 | * xterm.h (struct x_output): New members: move_offset_top/left. | |
17619 | ||
854c1a59 | 17620 | * frame.c (x_set_frame_parameters): Remove x_fullscreen_move, |
068ae0fd JD |
17621 | call x_set_offset directly. |
17622 | ||
17623 | * frame.h (enum): FULLSCREEN_MOVE_WAIT removed. | |
17624 | ||
96f09305 JD |
17625 | * frame.c (Fdelete_frame): Free decode_mode_spec_buffer. |
17626 | ||
17627 | * xterm.c (x_delete_display): Free font names and font_encoder | |
17628 | in dpyinfo->font_table. | |
17629 | ||
854c1a59 SM |
17630 | * xfns.c (Fx_close_connection): Only call XFreeFont here. |
17631 | Move xfree of font names to x_delete_display. | |
96f09305 | 17632 | |
c1f0671a JD |
17633 | * xterm.h (struct x_display_info): New member, wm_type. |
17634 | (struct x_output): New members, expected_top/left and | |
17635 | check_expected_move. | |
17636 | ||
17637 | * xterm.c (handle_one_xevent): Reset wm_type when ReparentNotify | |
17638 | is received. | |
854c1a59 SM |
17639 | (handle_one_xevent): Rename x_check_expected_move from |
17640 | x_check_fullscreen_move. | |
5e1a6e32 | 17641 | (x_set_offset): Only add WM decoration sizes to modified_top/left |
c1f0671a | 17642 | for X_WMTYPE_A. Set check_expected_move when WM type is unknown. |
854c1a59 | 17643 | (x_check_expected_move): Rename from x_check_fullscreen_move. |
c1f0671a JD |
17644 | Removed fullscreen specific code. Use check_expected_move, |
17645 | expected_left/top instead. Also, set wm_type. | |
17646 | (x_term_init): Initialize wm_type to unknown. | |
17647 | ||
17648 | * frame.c (x_fullscreen_move): Remove addition of WM decoration | |
17649 | sizes to move_x/y. | |
17650 | ||
be2fdba9 KH |
17651 | 2003-10-03 Kenichi Handa <handa@m17n.org> |
17652 | ||
17653 | * macterm.c (x_load_font): Clear all members of FONTP before start | |
17654 | filling them. | |
17655 | ||
17656 | 2003-10-02 Kenichi Handa <handa@m17n.org> | |
17657 | ||
17658 | * fontset.c (fs_load_font): Don't set fontp->font_encoder to NULL | |
17659 | before calling find_ccl_program_func. Call find_ccl_program_func | |
17660 | only when fontp->font_encoder is not NULL. | |
17661 | ||
17662 | * xterm.c (x_load_font): Clear all members of FONTP before start | |
17663 | filling them. | |
17664 | ||
26a6e439 JPW |
17665 | 2003-10-03 John Paul Wallington <jpw@gnu.org> |
17666 | ||
17667 | * keymap.c (map_keymap): Don't abort when binding is a vector. | |
17668 | ||
0d4c2dc2 JR |
17669 | 2003-10-02 Jason Rumney <jasonr@gnu.org> |
17670 | ||
854c1a59 SM |
17671 | * makefile.w32-in (emacs.o, coding.o, bytecode.o): |
17672 | Sync dependencies with Makefile.in. | |
a63cf46f JR |
17673 | (alloca.o): Remove. |
17674 | ||
0d4c2dc2 JR |
17675 | * w32fns.c (w32_load_system_font): Clear all members of FONTP before |
17676 | filling them. | |
17677 | ||
17678 | * w32bdf.c (w32_load_bdf_font): Likewise. | |
17679 | ||
ab8f7d5c RS |
17680 | 2003-09-30 Richard M. Stallman <rms@gnu.org> |
17681 | ||
17682 | * term.c (set_tty_color_mode): Calculate current_mode_spec | |
17683 | regardless of value of VAL. | |
17684 | ||
854c1a59 | 17685 | * intervals.c (graft_intervals_into_buffer): |
ab8f7d5c RS |
17686 | Set BUF_INTERVALS (buffer)->up_obj when appropriate. |
17687 | Handle over_used when splitting UNDER. | |
17688 | ||
c6605d63 | 17689 | 2003-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
ab8f7d5c RS |
17690 | |
17691 | * regex.c (regex_compile): Free the stack when returning from function. | |
17692 | ||
3413f972 KH |
17693 | 2003-09-28 Kenichi Handa <handa@m17n.org> |
17694 | ||
17695 | * fontset.c (Finternal_char_font): Change return value to | |
17696 | cons (FONT-NAME . GLYPH-CODE). | |
17697 | ||
a6eeaa81 | 17698 | 2003-09-28 Eli Zaretskii <eliz@gnu.org> |
40409f05 EZ |
17699 | |
17700 | * term.c (tty_setup_colors): Treat any negative argument as -1. | |
17701 | ||
f98ddc99 KH |
17702 | 2003-09-27 Gaute B Strokkenes <biggaute@uwc.net> (tiny change) |
17703 | ||
17704 | * process.c (send_process): Delete unused temp_buf. | |
17705 | ||
66c8f1a8 DL |
17706 | 2003-09-26 Dave Love <fx@gnu.org> |
17707 | ||
17708 | * xterm.c (x_bitmap_mask): Declare. | |
17709 | ||
ca716c26 DL |
17710 | 2003-09-25 Dave Love <fx@gnu.org> |
17711 | ||
17712 | * Makefile.in (fns.o): Depend on md5.h. | |
17713 | ||
fbe57420 KS |
17714 | 2003-09-25 Kim F. Storm <storm@cua.dk> |
17715 | ||
17716 | * window.c (set_window_buffer): Fix redisplay problems when | |
17717 | switching between buffers with different display margin widths. | |
17718 | ||
ef6ae4ff KS |
17719 | 2003-09-23 Kim F. Storm <storm@cua.dk> |
17720 | ||
17721 | * process.c (set_socket_option): Fix :bindtodevice option. | |
17722 | (Fset_network_process_option): Update process contact list when | |
17723 | setting option succeeds. | |
17724 | (Fmake_network_process): Doc fix. | |
17725 | ||
68e03c1c DL |
17726 | 2003-09-23 Dave Love <fx@gnu.org> |
17727 | ||
7146d1c1 | 17728 | * process.c (Fnetwork_interface_info): Use HAVE_STRUCT_IFREQ... macros. |
68e03c1c | 17729 | |
a6eeaa81 | 17730 | 2003-09-22 Eli Zaretskii <eliz@gnu.org> |
2f809aae EZ |
17731 | |
17732 | * term.c (set_tty_color_mode): Use INTEGERP to test whether a | |
17733 | color mode is an integer number (it could be -1). | |
17734 | ||
8fe7d8c8 RS |
17735 | 2003-09-22 Richard M. Stallman <rms@gnu.org> |
17736 | ||
17737 | * intervals.c (graft_intervals_into_buffer): Correct the main loop | |
17738 | in the case where OVER is longer than UNDER. | |
17739 | ||
2f71b5ea MY |
17740 | 2003-09-22 Masatake YAMATO <jet@gyve.org> |
17741 | ||
7146d1c1 | 17742 | * window.c (Fset_window_scroll_bars): Validate the value of |
2f71b5ea | 17743 | `vertical_type'. |
7146d1c1 | 17744 | |
0c4da023 KS |
17745 | 2003-09-21 Kim F. Storm <storm@cua.dk> |
17746 | ||
17747 | * frame.c (Vdefault_frame_scroll_bars): New variable. | |
17748 | (x_set_vertical_scroll_bars): Use it instead of hardcoded values. | |
17749 | (syms_of_frame): DEFVAR_LISP it, and initialize according to | |
17750 | window-system default scroll bar position. | |
17751 | ||
b648413b KS |
17752 | * window.c (Fwindow_scroll_bars): Doc fix. |
17753 | ||
8f5b9e34 JD |
17754 | 2003-09-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17755 | ||
854c1a59 | 17756 | * xterm.c (x_set_offset): Take window manager decorations into account. |
8f5b9e34 | 17757 | |
b0f23edf RS |
17758 | 2003-09-19 Richard M. Stallman <rms@gnu.org> |
17759 | ||
17760 | * atimer.h: Don't include lisp.h. | |
17761 | (P_): Define it here (as well as elsewhere). | |
17762 | ||
17763 | * print.c (Fprin1_to_string): Move the PRINTPREPARE | |
17764 | later, so that PRINTFINISH won't unbind Qinhibit_modification_hooks. | |
17765 | ||
17766 | * data.c (Fvariable_binding_locus): New function. | |
17767 | (syms_of_data): defsubr it. | |
17768 | (Flocal_variable_p): Delete duplicate call to indirect_variable. | |
17769 | ||
e1283999 DL |
17770 | 2003-09-18 Dave Love <fx@gnu.org> |
17771 | ||
ad5f3636 DL |
17772 | * alloc.c (GC_MALLOC_CHECK): Move conditional undef after lisp.h. |
17773 | ||
e1283999 DL |
17774 | * process.c (Fnetwork_interface_info): Fix type error. |
17775 | (Fnetwork_interface_list): Doc fix. | |
17776 | (read_process_output, read_process_output): Delete unused var. | |
17777 | ||
b8c7fd71 KS |
17778 | 2003-09-17 Kim F. Storm <storm@cua.dk> |
17779 | ||
17780 | * process.c (Fnetwork_interface_list, Fnetwork_interface_info): | |
17781 | Require HAVE_NET_IF_H and HAVE_SYS_IOCTL_H to include these fns. | |
17782 | (Fnetwork_interface_info): Check that ifreq struct has required | |
17783 | fields before accessing them; this requires that those fields are | |
17784 | defined as macros, which may be too restrictive on some platforms, | |
17785 | but it is better than failing on other platforms. | |
17786 | (syms_of_process): Only defsubr above fns when included. | |
17787 | ||
11e0a411 DL |
17788 | 2003-09-17 Dave Love <fx@gnu.org> |
17789 | ||
17790 | * unexalpha.c: Don't include varargs.h. | |
17791 | ||
e9c50801 KS |
17792 | 2003-09-17 Kim F. Storm <storm@cua.dk> |
17793 | ||
17794 | * process.c (Fset_process_sentinel): Add sentinel to childp plist | |
17795 | for network process. | |
17796 | (socket_options): Add `:' prefix to option names. Add optbit field. | |
17797 | (set_socket_option): Remove no_error arg and special handling of s < 0. | |
17798 | Return 1<<optbit for known option, 0 for unknown. | |
17799 | Do not interpret 0 as false for boolean option (only nil). | |
17800 | Pass failed option and value to report_file_error. | |
7146d1c1 | 17801 | (Fset_network_process_options): Replace by Fset_network_process_option. |
e9c50801 KS |
17802 | (Fset_network_process_option): New function to set just one option. |
17803 | (Fmake_network_process): Allow :coding arg to be a cons. | |
17804 | Allow :server arg to be an integer specifying backlog size. | |
17805 | Remove :options arg, and allow options to be specified directly | |
17806 | as :KEY, VALUE pairs. Parse these options before binding socket. | |
17807 | As before, :reuseaddr t is default for a server process, but this | |
17808 | can now be disabled by specifying :reuseaddr nil. | |
17809 | (Fnetwork_interface_info): Rename from Fget_network_interface_info. | |
17810 | (init_process): Availability of network options is now checked with | |
17811 | simpler syntax (featurep 'make-network-process :OPTION); use loop to | |
17812 | setup features. | |
17813 | (syms_of_process): Fix defsubr's for the replaced functions. | |
17814 | ||
a0fc3644 DL |
17815 | 2003-09-16 Dave Love <fx@gnu.org> |
17816 | ||
17817 | * Makefile.in: Depend on coding.h. | |
17818 | ||
6df2a645 KS |
17819 | 2003-09-14 Kim F. Storm <storm@cua.dk> |
17820 | ||
17821 | * process.c [HAVE_SOCKETS]: Include sys/ioctl.h and net/if.h. | |
17822 | (Fnetwork_interface_list, Fget_network_interface_info): New defuns. | |
17823 | (syms_of_process): Defsubr them. | |
17824 | ||
17825 | * config.in: Regenerate. | |
7146d1c1 SM |
17826 | |
17827 | 2003-09-12 Stefan Monnier <monnier@iro.umontreal.ca> | |
17828 | ||
17829 | * m/sr2k.h (XMARKBIT, XUNMARK): Remove. | |
17830 | * m/news-r6.h (XUNMARK): Remove. | |
17831 | * m/mips.h (XUNMARK): Remove. | |
17832 | * m/mips-siemens.h (XUNMARK): Remove. | |
17833 | * m/iris4d.h (XUNMARK): Remove. | |
17834 | * m/hp800.h (XMARKBIT, XUNMARK): Remove. | |
17835 | ||
0930c1a1 SM |
17836 | 2003-09-11 Stefan Monnier <monnier@iro.umontreal.ca> |
17837 | ||
31003b9e SM |
17838 | * lisp.h (VALBITS): Don't remove 1 for the markbit. |
17839 | (union Lisp_Object): Use unsigned int for types. Remove markbit. | |
17840 | (MARKBIT): Remove 1 from VALBITS so we still use same old val. | |
17841 | (XTYPE): Use unsigned right-shift. | |
17842 | (XMARKBIT, XMARK, XUNMARK): Remove. | |
17843 | ||
0930c1a1 SM |
17844 | * alloc.c (init_intervals, init_symbol, init_marker): |
17845 | Don't preallocate anything. | |
17846 | (Fgarbage_collect, mark_object): Ignore the markbit. | |
17847 | ||
17848 | * bytecode.c (mark_byte_stack, unmark_byte_stack): Ignore the markbit. | |
17849 | ||
19bb0fcd | 17850 | 2003-09-08 Lute Kamstra <lute@gnu.org> |
5df034de LK |
17851 | |
17852 | * xdisp.c (pint2hrstr): New function. | |
17853 | (decode_mode_spec): Add `%i' and `%I' specs. | |
17854 | * buffer.c (syms_of_buffer): Document `%i' and `%I' constructs | |
17855 | for `mode-line-format'. | |
17856 | ||
03bb6a06 AS |
17857 | 2003-09-07 Andreas Schwab <schwab@suse.de> |
17858 | ||
17859 | * alloc.c: Use long instead of int when casting ABLOCKS_BUSY to | |
17860 | avoid warning. | |
17861 | ||
a6eeaa81 | 17862 | 2003-09-07 Eli Zaretskii <eliz@gnu.org> |
2063d89c | 17863 | |
0930c1a1 | 17864 | * editfns.c (region_limit): Support any non-zero value of BEGINNINGP. |
2063d89c | 17865 | |
ed159bbf KS |
17866 | 2003-09-03 Kim F. Storm <storm@cua.dk> |
17867 | ||
17868 | * xdisp.c (get_window_cursor_type): Partially undo 2002-03-01 | |
17869 | change (superseded by 2002-08-30 change); the default blink-off | |
17870 | cursor is now again "no cursor". | |
17871 | ||
fe64a394 JR |
17872 | 2003-09-01 Jason Rumney <jasonr@gnu.org> |
17873 | ||
17874 | * makefile.w32-in (alloca.o): Remove. | |
17875 | (coding.o): Depend on intervals.h | |
1ae8d759 | 17876 | (emacs.o, bytecode.o): Depend on window.h. |
fe64a394 | 17877 | |
c0175e24 DL |
17878 | 2003-09-01 Dave Love <fx@gnu.org> |
17879 | ||
17880 | * Makefile.in (alloca.o): Remove commands. | |
17881 | (coding.o): Depend on intervals.h composite.h window.h. | |
17882 | (emacs.o): Depend on window.h keyboard.h keymap.h. | |
17883 | (gtkutil.o): Depend on keyboard.h charset.h coding.h. | |
17884 | (bytecode.o): Depend on window.h. | |
17885 | ||
a24d4cb2 JR |
17886 | 2003-08-31 Jason Rumney <jasonr@gnu.org> |
17887 | ||
4bc2315e JR |
17888 | * w32term.c (w32_per_char_metric): Allow cached metrics to be |
17889 | returned even when font_type is unknown. | |
17890 | ||
a24d4cb2 JR |
17891 | * xdisp.c (init_iterator): Remove old WINDOWSNT conditional. |
17892 | ||
9d35adc7 JD |
17893 | 2003-08-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17894 | ||
17895 | * xterm.c (x_term_init): Initialize new fields in x_display_info. | |
17896 | ||
17897 | * xterm.h (struct x_display_info): Add red/green/blue_bits and | |
17898 | *_offset. | |
17899 | ||
17900 | * xfns.c (lookup_rgb_color): Use new fields in x_display_info to | |
17901 | calculate pixel value. | |
17902 | ||
6f68b035 GM |
17903 | 2003-08-29 Gerd Moellmann <gerd.moellmann@t-online.de> |
17904 | ||
0930c1a1 SM |
17905 | * xdisp.c (redisplay_internal): Fix change of 2003-04-30. |
17906 | Don't tell redisplay display is accurate when it's actually been | |
17907 | paused for pending input. | |
6f68b035 | 17908 | |
4828b4d7 RS |
17909 | 2003-08-29 Richard M. Stallman <rms@gnu.org> |
17910 | ||
17911 | * dispnew.c (adjust_glyph_matrix): Call window_box | |
17912 | whenever W is nonzero. | |
17913 | ||
17914 | * data.c (Fmake_variable_buffer_local, Fmake_local_variable) | |
17915 | (Fkill_local_variable, Fmake_variable_frame_local) | |
0930c1a1 | 17916 | (Flocal_variable_p, Flocal_variable_if_set_p): |
4828b4d7 RS |
17917 | Use indirect_variable to trace thru variable aliases. |
17918 | ||
17919 | * config.in: Updated. | |
17920 | ||
17921 | * callint.c (Fcall_interactively): Save and restore | |
17922 | Vthis_command, Vthis_original_command, real_this_command, | |
17923 | and current_kboard->Vlast_command. | |
17924 | ||
17925 | * abbrev.c (Fexpand_abbrev): Insert before deleting. | |
17926 | ||
e019878d GM |
17927 | 2003-08-29 Gerd Moellmann <gerd@gnu.org> |
17928 | ||
17929 | * xfns.c (lookup_rgb_color): Handle TrueColor visuals specially. | |
17930 | ||
85478bc6 KH |
17931 | 2003-08-28 David Abrahams <dave@boost-consulting.com> (tiny change) |
17932 | ||
0930c1a1 | 17933 | * coding.c (decode_coding_iso2022): Initialize local variable c2. |
85478bc6 KH |
17934 | (decode_coding_sjis_big5): Likewise. |
17935 | ||
07ce82d3 JR |
17936 | 2003-08-27 Jason Rumney <jasonr@gnu.org> |
17937 | ||
d3703de3 JR |
17938 | * w32.c (sys_pipe): Protect against file descriptor overflow. |
17939 | ||
ee4a01d1 JR |
17940 | * w32fns.c (syms_of_w32fns): Remove non-existent functions. |
17941 | ||
07ce82d3 JR |
17942 | * w32term.c (w32_read_socket): Fix WM_MOUSEWHEEL assignment. |
17943 | ||
a64387ee | 17944 | 2003-08-26 Terje Rosten <terjeros@phys.ntnu.no> |
72d19c66 LK |
17945 | |
17946 | * xfns.c (Vgtk_version_string): New variable. | |
17947 | (syms_of_xfns): DEFVAR_LISP it. Provide gtk. | |
17948 | ||
a6eeaa81 | 17949 | 2003-08-24 Eli Zaretskii <eliz@gnu.org> |
5459e42a | 17950 | |
0930c1a1 | 17951 | * term.c (term_init): Remove `const' from buffer_size's declaration. |
3d8714e7 | 17952 | |
5459e42a EZ |
17953 | * Makefile.in (msdos.o): Depend on intervals.h. |
17954 | ||
0930c1a1 | 17955 | * msdos.c: Include intervals.h, since STRING_INTERVALS requires that. |
5459e42a | 17956 | |
231d6cfb JD |
17957 | 2003-08-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17958 | ||
17959 | * xterm.h (struct x_display_info): New fields: client_leader_window | |
17960 | and Xatom_wm_client_leader. | |
17961 | ||
17962 | * xterm.c (x_initialize): Move call to x_session_initialize to ... | |
17963 | (x_term_init): ... here. Initialize client_leader fields in dpyinfo. | |
17964 | ||
17965 | * xsmfns.c (create_client_leader_window): New function. | |
17966 | (x_session_initialize): Call create_client_leader_window, take | |
17967 | dpyinfo as argument. | |
17968 | ||
17969 | * xfns.c (Fx_create_frame): Set property WM_CLIENT_LEADER. | |
17970 | ||
17971 | * Makefile.in (xsmfns.o): Add more depenedencies. | |
17972 | ||
afa88464 DL |
17973 | 2003-08-21 Dave Love <fx@gnu.org> |
17974 | ||
17975 | * m/iris4d.h: Use _MIPS_SZLONG, not _LP64. | |
17976 | ||
f730033e KH |
17977 | 2003-08-21 Kenichi Handa <handa@m17n.org> |
17978 | ||
17979 | * term.c (term_init): Fix previous change; don't rely on the | |
17980 | length of `buffer' if TERMINFO is defined. | |
17981 | ||
6dca786c DL |
17982 | 2003-08-20 Dave Love <fx@gnu.org> |
17983 | ||
17984 | * atimer.h: Include lisp.h. | |
17985 | ||
17986 | * lisp.h (EMACS_LISP_H): New. | |
17987 | (popup_activated_flag): Don't declare. | |
17988 | ||
17989 | * alloca.c: Some merging with gnulib. Change logic and doc | |
17990 | concerning (x)malloc/(x)free -- no longer Emacs-specific. | |
17991 | [DO_BLOCK_INPUT]: Don't include lisp.h. | |
17992 | (xmalloc, xfree): Declare. | |
17993 | (malloc): Don't declare. | |
17994 | ||
0930c1a1 | 17995 | * Makefile.in (LWLIB_OPTIONS): Remove (unused). |
6dca786c DL |
17996 | (alloca.o): Remove obsolete stuff concerning alloca.s. Depend on |
17997 | atimer.h, blockinput.h. | |
17998 | ||
17999 | * alloc.c (lisp_align_malloc): Change type of `aligned'. | |
18000 | ||
78819ebb | 18001 | * alloca.s: Remove. |
6dca786c | 18002 | |
3a06a6d9 RS |
18003 | 2003-08-19 Gerd Moellmann <gerd@gnu.org> |
18004 | ||
18005 | * s/freebsd.h [__FreeBSD_version >= 400000]: Define TERMINFO, | |
18006 | use -lncurses. | |
18007 | ||
18008 | * term.c (term_init): Use a buffer of size 4096 for tgetent since | |
18009 | FreeBSD returns something longer than 2044. Abort if the end of | |
18010 | the buffer is overwritten. | |
18011 | ||
27eeee55 MB |
18012 | 2003-08-19 Miles Bader <miles@gnu.org> |
18013 | ||
18014 | * xterm.c (x_term_init): Correctly use result of Ffile_readable_p. | |
18015 | ||
2f297815 GM |
18016 | 2003-08-19 Gerd Moellmann <gerd@gnu.org> |
18017 | ||
f4446bbf GM |
18018 | * alloc.c (lisp_align_malloc): Check for memory full when |
18019 | allocating ablocks, which also avoids freeing a pointer into an | |
18020 | ablocks structure. | |
18021 | ||
18022 | * puresize.h (BASE_PURESIZE): Increase to 1100000. | |
18023 | ||
0930c1a1 | 18024 | * buffer.c (Fmove_overlay): Set overlay's next pointer unconditionally. |
2f297815 | 18025 | |
0e7d7aae RS |
18026 | 2003-08-16 Richard M. Stallman <rms@gnu.org> |
18027 | ||
18028 | * editfns.c (Fencode_time): Doc fix. | |
18029 | ||
18030 | 2003-08-16 David Ponce <david@dponce.com> | |
18031 | ||
18032 | * fileio.c (Fwrite_region): Fix conditional expression to issue | |
18033 | the right message. | |
18034 | ||
b6189c3b | 18035 | 2003-08-16 Juri Linkov <juri@jurta.org> |
0e7d7aae RS |
18036 | |
18037 | * syntax.c (Fforward_word): Argument changed to optional. | |
0930c1a1 | 18038 | Set default value to 1. |
0e7d7aae | 18039 | |
5d551295 KH |
18040 | 2003-08-15 Kenichi Handa <handa@m17n.org> |
18041 | ||
18042 | * xfaces.c (better_font_p): Prefer a real scalable font; i.e. not | |
18043 | what autoscaled. | |
18044 | (best_matching_font): Once we find a better scalable font, set | |
18045 | non_scalable_has_exact_height_p to 1. | |
18046 | (try_font_list): Call try_alternative_families to try any family | |
18047 | with the given registry. | |
18048 | ||
1661e56b AS |
18049 | 2003-08-09 Andreas Schwab <schwab@suse.de> |
18050 | ||
f29181dc AS |
18051 | * alloc.c (mark_object): Handle Lisp_Misc_Save_Value. |
18052 | ||
1661e56b AS |
18053 | * print.c (print_string): Fix printing of multibyte string with |
18054 | nontrivial printcharfun. | |
18055 | ||
465aa50a JD |
18056 | 2003-07-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18057 | ||
18058 | * xfns.c (xg_set_icon): Rewrite to compile with GTK 2.0 and 2.2. | |
18059 | ||
18060 | * xterm.c (x_bitmap_icon): Return if xg_set_icon succeeds. | |
18061 | ||
e430e5ba KH |
18062 | 2003-07-31 Kenichi Handa <handa@m17n.org> |
18063 | ||
18064 | * process.c (read_process_output): Return the actually read bytes | |
18065 | instead of the result of decoding. | |
18066 | ||
97e7188e KH |
18067 | 2003-07-31 Kenichi Handa <handa@m17n.org> |
18068 | ||
18069 | * xterm.h (struct x_bitmap_record): New member have_mask. | |
18070 | ||
18071 | * xfns.c (x_create_bitmap_from_data): Initialize have_mask member | |
18072 | to 0. | |
18073 | (x_create_bitmap_from_file): Likewise. | |
18074 | (x_destroy_bitmap): Check have_mask member before freeing a mask. | |
18075 | (x_destroy_all_bitmaps): Likewise. | |
18076 | (x_create_bitmap_mask): Set have_mask member to 1. | |
18077 | ||
b53094d6 RS |
18078 | 2003-07-30 Richard M. Stallman <rms@gnu.org> |
18079 | ||
18080 | * Makefile.in (CFLAGS) [!OPTIMIZE]: Undo previous change. | |
18081 | ||
631f2082 JD |
18082 | 2003-07-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18083 | ||
18084 | * gtkutil.c (xg_mark_data): Update calls to mark_object. | |
18085 | ||
c855f2ca RS |
18086 | 2003-07-29 Richard M. Stallman <rms@gnu.org> |
18087 | ||
18088 | * xterm.c (xim_open_dpy, xim_initialize, xim_close_dpy): | |
18089 | Conditionalize XIM code on HAVE_XIM. | |
18090 | ||
18091 | * fns.c (Fclear_string): New function. | |
18092 | (syms_of_fns): defsubr it. | |
18093 | ||
b6189c3b | 18094 | 2003-07-28 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
17e6d491 | 18095 | |
0930c1a1 | 18096 | * xfns.c (xic_set_preeditarea): Add the left fringe width to spot.x. |
17e6d491 | 18097 | |
29ea8ae9 SM |
18098 | 2003-07-22 Stefan Monnier <monnier@cs.yale.edu> |
18099 | ||
18100 | * xfns.c: Don't check HAVE_PNG_H: autoconf doesn't seem to find it. | |
18101 | ||
18102 | * buffer.c (delete_all_overlays): New function. | |
18103 | * buffer.h (delete_all_overlays): Declare. | |
18104 | * coding.c (run_pre_post_conversion_on_str): | |
18105 | * print.c (temp_output_buffer_setup): | |
18106 | * fileio.c (Finsert_file_contents): | |
18107 | * minibuf.c (get_minibuffer): Use it. | |
18108 | ||
1dd7ccf2 AC |
18109 | 2003-07-22 Andrew Choi <akochoi@shaw.ca> |
18110 | ||
18111 | * unexmacosx.c (unexec_regions_sort_compare): | |
18112 | (unexec_regions_merge): New functions. Sort and merge unexec | |
18113 | regions before dumping them. | |
18114 | ||
f57bd967 DL |
18115 | 2003-07-22 Dave Love <fx@gnu.org> |
18116 | ||
18117 | * xfns.c [HAVE_PNG]: Consider both png.h and libpng/png.h. | |
18118 | ||
7cdee936 SM |
18119 | 2003-07-21 Stefan Monnier <monnier@cs.yale.edu> |
18120 | ||
18121 | * alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P) | |
18122 | (GC_STRING_CHARS, string_bytes): Use ARRAY_MARK_FLAG rather than | |
18123 | MARKBIT as the gcmarkbit for strings. | |
18124 | ||
e50886d3 RS |
18125 | 2003-07-21 Richard M. Stallman <rms@gnu.org> |
18126 | ||
18127 | * s/openbsd.h (LD_SWITCH_SYSTEM_TEMACS): Add undef. | |
18128 | ||
29ea8ae9 | 18129 | * fns.c (Flocale_info): Rename from Flanginfo. Doc fixes. |
e50886d3 RS |
18130 | (syms_of_fns): Corresponding change. |
18131 | ||
18132 | * alloc.c (syms_of_alloc): Doc fixes. | |
18133 | ||
18134 | 2003-07-20 Han Boetes <han@mijncomputer.nl> (tiny change) | |
18135 | ||
18136 | * s/netbsd.h: Use -Wl syntax. | |
18137 | ||
fdc39b59 RS |
18138 | 2003-07-17 Richard M. Stallman <rms@gnu.org> |
18139 | ||
18140 | * xterm.c (xim_initialize): Redo 6/24 change. | |
18141 | ||
9c53385f SM |
18142 | 2003-07-15 Stefan Monnier <monnier@cs.yale.edu> |
18143 | ||
18144 | * buffer.c (copy_overlays): Use EMACS_INT for positions. | |
18145 | (Fswitch_to_buffer): Don't signal an error when switching to the same | |
18146 | buffer in a dedicated window. | |
18147 | ||
18148 | * alloc.c: Use bitmaps for cons, as was done for floats. | |
18149 | (init_float, init_cons): Let the normal code allocate the first block. | |
18150 | (CONS_BLOCK_SIZE): Redefine based on BLOCK_BYTES and bitmap size. | |
18151 | (CONS_BLOCK, CONS_INDEX, CONS_MARKED_P, CONS_MARK, CONS_UNMARK): | |
18152 | New macros. | |
18153 | (struct cons_block): Move conses to the beginning. Add gcmarkbits. | |
18154 | (Fcons): Use lisp_align_malloc and CONS_UNMARK. | |
18155 | (live_cons_p): Check the pointer is not past the `conses' array. | |
18156 | (mark_maybe_object, mark_maybe_pointer): Use CONS_MARKED_P. | |
18157 | (mark_object, mark_buffer): Use CONS_MARKED_P and CONS_MARK. | |
18158 | (survives_gc_p): Use CONS_MARKED_P and simplify. | |
18159 | (gc_sweep): Use CONS_MARKED_P, CONS_UNMARK, and lisp_align_free. | |
18160 | ||
dde13196 PE |
18161 | 2003-07-13 Paul Eggert <eggert@twinsun.com> |
18162 | ||
18163 | GCC 3.3 (sparc) no longer puts "int foo = 0;" into data; it | |
18164 | puts it into BSS instead, at least on Solaris 8 and 9. | |
18165 | This is a valid optimization, and it may occur on other platforms, | |
18166 | so Emacs should not assume that initializing a static variable to | |
18167 | zero puts it into data. | |
18168 | * alloc.c (pure, staticvec): | |
18169 | Initialize these arrays to nonzero, so that they're not | |
18170 | put into BSS by that optimization. | |
18171 | ||
a801bc34 SM |
18172 | 2003-07-13 Stefan Monnier <monnier@cs.yale.edu> |
18173 | ||
18174 | * alloc.c (BLOCK_PADDING): Rename from ABLOCKS_PADDING. Update users. | |
18175 | (lisp_align_malloc): Use posix_memalign is available. | |
18176 | (ABLOCKS_BASE): Use HAVE_POSIX_MEMALIGN as an optimization. | |
18177 | (STRING_BLOCK_SIZE): Rename from STRINGS_IN_STRING_BLOCK | |
18178 | for consistency. Update users. | |
18179 | ||
0c8b2afa RS |
18180 | 2003-07-13 Richard M. Stallman <rms@gnu.org> |
18181 | ||
18182 | * s/netbsd.h (START_FILES_1, END_FILES_1): Always define them. | |
18183 | ||
668c2ab0 JB |
18184 | 2003-07-13 Terje Rosten <terjeros@phys.ntnu.no> |
18185 | ||
9dd28cae | 18186 | * xterm.c (x_bitmap_icon, x_wm_set_icon_pixmap): Modify to add mask, |
668c2ab0 JB |
18187 | and use the Gtk+ function gtk_window_icon_from_file if available. |
18188 | ||
18189 | * xfns.c (x_bitmap_mask, x_create_bitmap_mask): New functions to | |
18190 | handle mask of bitmaps. | |
18191 | (x_allocate_bitmap_record, x_destroy_bitmap): Modify to handle the | |
18192 | mask property. | |
18193 | (xg_set_icon): New function, wrapper for gtk_window_icon_from_file. | |
18194 | ||
18195 | * xterm.h (xg_set_icon): New function. | |
18196 | ||
800bebe3 RS |
18197 | 2003-07-12 Paul Eggert <eggert@twinsun.com> |
18198 | ||
18199 | * unexelf.c (unexec): Consider a section to precede the .bss | |
18200 | section if its addresses overlap that of .bss. | |
18201 | ||
69e38995 RS |
18202 | 2003-07-12 Richard M. Stallman <rms@gnu.org> |
18203 | ||
18204 | * Makefile.in (CFLAGS) [!OPTIMIZE]: Set CFLAGS to -g. | |
18205 | ||
18206 | * config.in (HAVE_CRTIN): Add #undef. | |
18207 | (INLINE): Really inline only if OPTIMIZE is defined. | |
18208 | ||
18209 | * s/netbsd.h (START_FILES, LIB_STANDARD): Use START_FILES_1, | |
18210 | END_FILES_1. | |
18211 | (START_FILES_1, END_FILES_1): New macros (conditional). | |
a801bc34 | 18212 | (LD_SWITCH_SYSTEM_TEMACS): Define. |
69e38995 RS |
18213 | |
18214 | * s/openbsd.h: Don't include bsd4-3.h. | |
a801bc34 SM |
18215 | (TERMINFO): Define. |
18216 | (LIBS_TERMCAP): Define. | |
18217 | (LD_SWITCH_SYSTEM): Define (two definitions). | |
69e38995 RS |
18218 | |
18219 | * xfns.c: Include libpng/png.h instead of png.h. | |
18220 | ||
f1d0c238 AS |
18221 | 2003-07-11 Andreas Schwab <schwab@suse.de> |
18222 | ||
18223 | * buffer.c (modify_overlay): Update prototype. | |
18224 | * lisp.h (adjust_overlays_for_insert, adjust_overlays_for_delete): | |
18225 | Likewise. | |
18226 | ||
5f6bf5fe SM |
18227 | 2003-07-09 Stefan Monnier <monnier@cs.yale.edu> |
18228 | ||
18229 | * lisp.h (VALBITS): Define in terms of GCTYPEBITS. | |
18230 | (struct interval): Move to intervals.h. | |
18231 | (struct Lisp_Marker): Use EMACS_INT for position info. | |
18232 | (forward_point): Remove prototype of defunct function. | |
18233 | (Qmodification_hooks, Qrear_nonsticky, Fnext_property_change) | |
18234 | (Fget_text_property, Fset_text_properties, Ftext_propertes_not_all) | |
18235 | (syms_of_textprop, set_text_properties): Remove prototypes that are | |
18236 | already in intervals.h. | |
18237 | ||
18238 | * intervals.h (struct interval): Move from lisp.h. | |
18239 | Use EMACS_INT for position and size info. | |
18240 | ||
18241 | * coding.c: Include intervals.h for Fset_text_properties. | |
18242 | ||
18243 | * buffer.h (struct buffer_text, struct buffer): Use EMACS_INT for | |
18244 | position and length information. | |
18245 | ||
2765b457 SM |
18246 | 2003-07-09 Stefan Monnier <monnier@cs.yale.edu> |
18247 | ||
18248 | * buffer.h (struct buffer_text, struct buffer): Use EMACS_INT for | |
18249 | position and length information. | |
18250 | ||
2410d73a SM |
18251 | 2003-07-09 Stefan Monnier <monnier@cs.yale.edu> |
18252 | ||
18253 | Change overlays_after and overlays_before so the overlays themselves | |
18254 | are linked into lists, rather than using cons cells. After all each | |
18255 | Lisp_Misc already occupies 5 words, so we can add a `next' field to | |
18256 | Lisp_Overlay for free and save up one cons cell per overlay (not | |
18257 | to mention one indirection when traversing the list of overlay). | |
18258 | ||
18259 | * lisp.h (struct Lisp_Overlay): New field `next'. | |
18260 | ||
18261 | * buffer.h (struct buffer): Change overlays_before and overlays_after | |
18262 | from Lisp lists of overlays to pointers to overlays. | |
18263 | ||
18264 | * buffer.c (overlay_strings, recenter_overlay_lists): | |
18265 | Fix typo in eassert in last commit. | |
18266 | (unchain_overlay): New function. | |
18267 | (add_overlay_mod_hooklist): Use AREF. | |
18268 | (copy_overlays, reset_buffer, overlays_at, overlays_in) | |
18269 | (overlay_touches_p, overlay_strings, recenter_overlay_lists) | |
18270 | (fix_overlays_in_range, fix_overlays_before, Fmake_overlay) | |
18271 | (Fmove_overlay, Fdelete_overlay, Foverlay_lists) | |
18272 | (report_overlay_modification, evaporate_overlays, init_buffer_once): | |
18273 | Adjust to new type of overlays_(before|after). | |
18274 | ||
18275 | * alloc.c (mark_object): Mark the new `next' field of overlays. | |
18276 | (mark_buffer): Manually mark the overlays_(after|before) fields. | |
18277 | ||
18278 | * coding.c (run_pre_post_conversion_on_str): | |
18279 | * editfns.c (overlays_around): | |
18280 | * xdisp.c (load_overlay_strings): | |
18281 | * fileio.c (Finsert_file_contents): | |
18282 | * indent.c (current_column): | |
18283 | * insdel.c (signal_before_change, signal_after_change): | |
18284 | * intervals.c (set_point_both): | |
18285 | * print.c (temp_output_buffer_setup): Use new type for | |
18286 | overlays_(before|after). | |
18287 | ||
04812929 SM |
18288 | 2003-07-08 Stefan Monnier <monnier@cs.yale.edu> |
18289 | ||
18290 | * buffer.c (report_overlay_modification): Don't run hooks while | |
18291 | traversing the list of overlays. | |
18292 | ||
18293 | * buffer.h (struct buffer): Use an int for overlay_center. | |
18294 | (overlays_at, evaporate_overlays, recenter_overlay_lists) | |
18295 | (overlay_strings, fix_overlays_before): Use EMACS_INT for positions. | |
18296 | ||
18297 | * buffer.c (reset_buffer, recenter_overlay_lists) | |
18298 | (adjust_overlays_for_insert, adjust_overlays_for_delete) | |
18299 | (fix_overlays_in_range, Fmake_overlay, Fmove_overlay) | |
18300 | (evaporate_overlays, init_buffer_once): Update use of overlay_center. | |
18301 | (overlays_at, evaporate_overlays, recenter_overlay_lists) | |
18302 | (overlay_strings, fix_overlays_before): Use EMACS_INT for positions. | |
18303 | ||
18304 | * xdisp.c (fast_find_position): Remove unused var. | |
18305 | ||
18306 | * cmds.c (Qexpand_abbrev): New sym. | |
18307 | (syms_of_cmds): Initialize it. | |
18308 | (internal_self_insert): Use it to call expand-abbrev. | |
18309 | ||
2e7ecf15 KS |
18310 | 2003-07-09 Kim F. Storm <storm@cua.dk> |
18311 | ||
f9711de4 | 18312 | * xterm.c (use_xim) [!USE_XIM]: Default to disable XIM if Emacs |
2e7ecf15 | 18313 | was configured with --without-xim. |
42f81f64 | 18314 | (x_term_init) [!USE_XIM]: Use `useXIM' resource to turn on XIM. |
2e7ecf15 | 18315 | |
c6de56a0 RS |
18316 | 2003-07-07 Richard M. Stallman <rms@gnu.org> |
18317 | ||
18318 | * xdisp.c (reseat_1): Set it->area to TEXT_AREA. | |
18319 | ||
18320 | * alloc.c (Fgarbage_collect): Doc fix. | |
18321 | ||
b6189c3b | 18322 | 2003-07-07 Nozomu Ando <nand@mac.com> |
b93fb365 KH |
18323 | |
18324 | * buffer.c (Fkill_buffer): Clear charpos cache if necessary. | |
18325 | ||
bfe1a3f7 SM |
18326 | 2003-07-06 Stefan Monnier <monnier@cs.yale.edu> |
18327 | ||
04812929 SM |
18328 | * minibuf.c (read_minibuf): UNGCPRO before returning. |
18329 | (Ftry_completion, Fall_completions): Doc fix. | |
18330 | ||
bfe1a3f7 SM |
18331 | * alloc.c (live_float_p): Check that p is not past the `floats' array, |
18332 | now that `floats' is not the last element of the struct any more. | |
18333 | ||
ee79d1aa JR |
18334 | 2003-07-06 Jason Rumney <jasonr@gnu.org> |
18335 | ||
18336 | * w32term.h (ClipboardSequence_Proc): New type. | |
18337 | ||
18338 | * w32fns.c (clipboard_sequence_fn): New variable. | |
18339 | (globals_of_w32fns): Initialize it. | |
18340 | ||
18341 | * w32select.c (last_clipboard_sequence_number): New variable. | |
18342 | (Fw32_set_clipboard_data, Fw32_get_clipboard_data): Use sequence | |
18343 | number if possible. | |
18344 | ||
49723c04 SM |
18345 | 2003-07-06 Stefan Monnier <monnier@cs.yale.edu> |
18346 | ||
4698665f SM |
18347 | * m/amdx86-64.h (MARKBIT): |
18348 | * m/ia64.h (MARKBIT): Remove definition since lisp.h does not compare | |
18349 | MARKBIT and ARRAY_MARK_FLAG any more. | |
18350 | ||
18351 | * m/hp800.h (XSETMARKBIT): | |
18352 | * m/sr2k.h (XSETMARKBIT): | |
18353 | * lisp.h (XSETMARKBIT): Remove unused macro. | |
18354 | ||
49723c04 SM |
18355 | * lisp.h (mark_object): Change prototype. |
18356 | ||
18357 | * alloc.c (mark_object): Change arg *Lisp_Object -> Lisp_Object. | |
18358 | (last_marked): Change accordingly. | |
18359 | (mark_interval, mark_maybe_object, mark_maybe_pointer) | |
18360 | (Fgarbage_collect, mark_glyph_matrix, mark_face_cache, mark_image) | |
18361 | (mark_buffer): Update calls to mark_object. | |
18362 | ||
18363 | * bytecode.c (mark_byte_stack): | |
18364 | * fns.c (sweep_weak_table): | |
18365 | * keyboard.c (mark_kboards): Update calls to mark_object. | |
18366 | ||
1d660eca JR |
18367 | 2003-07-06 Jason Rumney <jasonr@gnu.org> |
18368 | ||
18369 | * alloc.c (struct ablock): Only include padding when there is some. | |
18370 | ||
618b5ae4 SM |
18371 | 2003-07-04 Stefan Monnier <monnier@cs.yale.edu> |
18372 | ||
18373 | * alloc.c (ALIGN): Add casts to simplify usage. | |
18374 | (BLOCK_ALIGN, BLOCK_BYTES, ABLOCKS_PADDING, ABLOCKS_SIZE) | |
18375 | (ABLOCKS_BYTES, ABLOCK_ABASE, ABLOCKS_BUSY, ABLOCKS_BASE): New macros. | |
18376 | (struct ablock, struct ablocks): New types. | |
18377 | (free_ablock): New global var. | |
18378 | (lisp_align_malloc, lisp_align_free): New functions. | |
18379 | (FLOAT_BLOCK_SIZE): Redefine in terms of BLOCK_BYTES. | |
18380 | (struct float_block): Reorder and add gcmarkbits. | |
18381 | (GETMARKBIT, SETMARKBIT, UNSETMARKBIT, FLOAT_BLOCK, FLOAT_INDEX) | |
18382 | (FLOAT_MARKED_P, FLOAT_MARK, FLOAT_UNMARK): New macros. | |
18383 | (init_float, make_float): Use lisp_align_malloc. | |
18384 | (free_float, live_float_p): Don't use `type' any more. | |
18385 | (make_float): Use FLOAT_UNMARK to access to mark bit. | |
18386 | (mark_maybe_object, mark_maybe_pointer, survives_gc_p): | |
18387 | Use FLOAT_MARKED_P to access the mark bit. | |
18388 | (pure_alloc): Simplify use of ALIGN. | |
18389 | (mark_object): Use FLOAT_MARK to access the mark bit. | |
18390 | (gc_sweep): Use new macros to access the float's mark bit. | |
18391 | (init_alloc_once): Init free_ablock. | |
18392 | ||
18393 | * lisp.h (struct Lisp_Float): Remove unused field `type'. | |
18394 | ||
3ef06d12 SM |
18395 | 2003-06-27 Stefan Monnier <monnier@cs.yale.edu> |
18396 | ||
18397 | * alloc.c (VECTOR_MARK, VECTOR_UNMARK, VECTOR_MARKED_P): New macros. | |
18398 | (GC_STRING_BYTES): Don't mask markbit (it's only used on `size'). | |
18399 | (allocate_buffer): Move. | |
18400 | (string_bytes): Don't mask markbit of `size_byte'. | |
18401 | (mark_maybe_object, mark_maybe_pointer, Fgarbage_collect) | |
18402 | (mark_object, mark_buffer, survives_gc_p, gc_sweep): | |
18403 | Use the `size' field of buffers (rather than the `name' field) for | |
18404 | the mark bit, as is done for all other vectorlike objects. | |
18405 | Use the new macros to access the mark bit of vectorlike objects. | |
18406 | ||
e81043aa RS |
18407 | 2003-06-26 Richard M. Stallman <rms@gnu.org> |
18408 | ||
18409 | * puresize.h (BASE_PURESIZE): Increment base size. | |
18410 | ||
18411 | * xdisp.c (fast_find_position): Enable Gerd's new definition. | |
18412 | ||
18413 | * xterm.c (xim_initialize): Undo previous change. | |
18414 | ||
2d0834cc SM |
18415 | 2003-06-26 Stefan Monnier <monnier@cs.yale.edu> |
18416 | ||
18417 | * alloc.c (survives_gc_p): Simplify. | |
18418 | ||
18419 | * buffer.c (set_buffer_internal_1): Test CONSP for lists. | |
18420 | ||
18421 | * window.c (Fset_window_dedicated_p): Simplify. | |
18422 | (display_buffer_1): Don't raise the win from which minibuf was entered. | |
18423 | (temp_output_buffer_show): Don't assume BEG == 1. Simplify. | |
18424 | (Fminibuffer_selected_window): Simplify. | |
18425 | ||
18426 | * buffer.h (struct buffer_text): Lisp_Object `markers' => Lisp_Marker. | |
18427 | ||
18428 | * lisp.h (unchain_marker): Lisp_Object arg => Lisp_Marker. | |
18429 | (struct Lisp_Marker): Lisp_Object `chain' => Lisp_Marker `next'. | |
18430 | ||
18431 | * insdel.c (check_markers, adjust_markers_for_delete) | |
18432 | (adjust_markers_for_insert, adjust_markers_for_replace) | |
18433 | (prepare_to_modify_buffer, RESTORE_VALUE): | |
18434 | * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos) | |
18435 | (Fset_marker, set_marker_restricted, set_marker_both, unchain_marker) | |
18436 | (set_marker_restricted_both, Fbuffer_has_markers_at, count_markers): | |
18437 | * alloc.c (Fmake_marker, free_marker, gc_sweep): | |
18438 | * buffer.c (Fget_buffer_create, Fkill_buffer, Fset_buffer_multibyte): | |
18439 | * editfns.c (save_excursion_restore, transpose_markers): | |
18440 | * window.c (delete_window): | |
18441 | * xdisp.c (message_dolog): Update for new types. | |
18442 | ||
d54ae3d8 JD |
18443 | 2003-06-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18444 | ||
a5f696ac JD |
18445 | * xfaces.c (set_font_frame_param): Set default_face_done_p to zero. |
18446 | (realize_default_face): Use default_face_done_p for the force_p | |
2d0834cc | 18447 | argument to set_lface_from_font_name. Set default_face_done_p to one. |
a5f696ac JD |
18448 | |
18449 | * frame.c (make_frame): Initialize default_face_done_p. | |
18450 | ||
18451 | * frame.h (struct frame): Add default_face_done_p. | |
18452 | ||
d54ae3d8 JD |
18453 | * config.in: Add XRegisterIMInstantiateCallback_arg6 so it |
18454 | will be defined. | |
18455 | ||
2336fe58 SM |
18456 | 2003-06-25 Stefan Monnier <monnier@cs.yale.edu> |
18457 | ||
18458 | * alloc.c (make_interval, Fmake_symbol, allocate_misc): | |
18459 | Initialize the new field `gcmarkbit'. | |
18460 | (mark_interval, MARK_INTERVAL_TREE): Use the new `gcmarkbit' field. | |
18461 | (mark_interval_tree): Don't mark the tree separately from the nodes. | |
18462 | (UNMARK_BALANCE_INTERVALS): Don't unmark the tree. | |
18463 | (mark_maybe_object, mark_maybe_pointer, Fgarbage_collect) | |
18464 | (mark_object, survives_gc_p, gc_sweep): Use new `gcmarkbit' fields. | |
18465 | ||
18466 | * lisp.h (struct interval, struct Lisp_Symbol, struct Lisp_Free) | |
18467 | (struct Lisp_Marker, struct Lisp_Intfwd, struct Lisp_Boolfwd) | |
18468 | (struct Lisp_Kboard_Objfwd, struct Lisp_Save_Value) | |
18469 | (struct Lisp_Buffer_Local_Value, struct Lisp_Overlay) | |
18470 | (struct Lisp_Objfwd, struct Lisp_Buffer_Objfwd): Add `gcmarkbit' field. | |
18471 | ||
bcea31c2 DL |
18472 | 2003-06-24 Dave Love <fx@gnu.org> |
18473 | ||
18474 | * xterm.c (xim_initialize): Use XRegisterIMInstantiateCallback_arg6. | |
18475 | ||
18476 | * strftime.c: Test HAVE_SYS__MBSTATE_H, not __hpux. Merge changes | |
18477 | from gnulib. | |
18478 | ||
2601f59e RS |
18479 | 2003-06-21 Richard M. Stallman <rms@gnu.org> |
18480 | ||
18481 | * fileio.c (Fwrite_region): Alternate messages | |
18482 | for append and partial write. | |
18483 | ||
18484 | * keyboard.c (read_key_sequence): When converting upcase fn key to | |
18485 | downcase, update fkey and keytran so `backspace' gets translated. | |
18486 | ||
18487 | * keyboard.c (read_avail_input): Don't signal SIGHUP in batch mode. | |
18488 | ||
18489 | * process.c (wait_reading_process_input): Don't signal SIGIO | |
18490 | in batch mode. | |
18491 | ||
b5d2c621 KH |
18492 | 2003-06-17 Kenichi Handa <handa@m17n.org> |
18493 | ||
18494 | * Makefile.in (xselect.o): Don't depend on charset.h, coding.h, | |
18495 | composite.h. | |
18496 | ||
18497 | * xselect.c: Don't include charset.h, coding.h, composite.h. | |
18498 | (Qforeign_selection): New variable. | |
18499 | (syms_of_xselect): Intern and static it. | |
18500 | (selection_data_to_lisp_data): Return a unibyte string made from | |
18501 | data with `foreign-selection' text property. | |
18502 | ||
6793bc63 SM |
18503 | 2003-06-15 Stefan Monnier <monnier@cs.yale.edu> |
18504 | ||
18505 | * termhooks.h (EVENT_INIT): New macro. | |
18506 | ||
18507 | * keyboard.c (mark_kboards): Move from alloc.c. Mark kbd_buffer. | |
18508 | ||
18509 | * alloc.c (mark_kboards): Move to keyboard.c. | |
18510 | ||
18511 | * keyboard.c (record_asynch_buffer_change, read_avail_input): | |
18512 | * xterm.c (x_dispatch_event): | |
18513 | * xmenu.c (find_and_call_menu_selection): | |
18514 | * xdisp.c (handle_tool_bar_click): | |
18515 | * w32menu.c (menubar_selection_callback): | |
18516 | * sysdep.c (kbd_input_ast, read_input_waiting): | |
18517 | * msdos.c (dos_rawgetc): | |
18518 | * macterm.c (mac_check_for_quit_char): | |
18519 | * macmenu.c (menubar_selection_callback): | |
18520 | * gtkutil.c (xg_tool_bar_callback): Don't pass uninitialized | |
18521 | data to kbd_buffer_store_event. | |
18522 | ||
b3ea810c KS |
18523 | 2003-06-15 Kim F. Storm <storm@cua.dk> |
18524 | ||
18525 | * xdisp.c (x_fix_overlapping_area): Always use area relative X | |
6793bc63 | 18526 | to fix redisplay problem with tall characters (such as \e,AC\e(B). |
b3ea810c | 18527 | |
b8f75eda KG |
18528 | 2003-06-13 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@gmx.net> |
18529 | ||
18530 | * fileio.c (Fcopy_file): Doc fix: copies file modes, too. | |
18531 | ||
ba92ce48 KH |
18532 | 2003-06-12 Kenichi Handa <handa@m17n.org> |
18533 | ||
18534 | * fileio.c (Fwrite_region): Save and restore restriction. | |
18535 | ||
b80263be DL |
18536 | 2003-06-12 Dave Love <fx@gnu.org> |
18537 | ||
18538 | * alloca.c (alloca): Declare arg as size_t. | |
18539 | ||
6793bc63 SM |
18540 | * sysdep.c: Remove redundant include of unistd.h, stdlib.h. |
18541 | Use HAVE_DECL_SYS_SIGLIST, not SYS_SIGLIST_DECLARED. | |
b80263be | 18542 | |
b23c0a83 DL |
18543 | 2003-06-11 Dave Love <fx@gnu.org> |
18544 | ||
18545 | * search.c (shrink_regexp_cache): Use xrealloc. | |
18546 | (syms_of_search): Use xmalloc. | |
18547 | ||
700e47c2 KS |
18548 | 2003-06-10 Kim F. Storm <storm@cua.dk> |
18549 | ||
18550 | * xdisp.c (phys_cursor_in_rect_p): Fix 2003-05-24 change. | |
18551 | Adjust phys_cursor.x to be relative to window box, rather than | |
18552 | text area before checking -- to ensure cursor is redrawn when | |
18553 | exposing window. | |
18554 | Note: This also fixes a similar (older) bug if display margins | |
18555 | are present. | |
18556 | ||
f11aa0b2 KH |
18557 | 2003-06-06 Kenichi Handa <handa@m17n.org> |
18558 | ||
18559 | * coding.c (encoding_buffer_size): If coding->type is | |
18560 | coding_type_ccl, double magnification on CRLF encoding. | |
18561 | ||
3d143690 JR |
18562 | 2003-06-06 Jason Rumney <jasonr@gnu.org> |
18563 | ||
18564 | * w32reg.c (SYSTEM_DEFAULT_RESOURCES): New constant. | |
18565 | (w32_get_string_resource): Try SYSTEM_DEFAULT_RESOURCES last. | |
18566 | ||
18567 | * xfaces.c (Finternal_face_x_get_resource): Do it on Windows and | |
18568 | Mac too. | |
18569 | ||
f16205ca DL |
18570 | 2003-06-05 Dave Love <fx@gnu.org> |
18571 | ||
b23c0a83 DL |
18572 | * strftime.c: Merge changes from gnulib. |
18573 | ||
f16205ca DL |
18574 | * mktime.c (__mktime_internal): Merge changes from gnulib |
18575 | involving year 69 and dst2. | |
18576 | ||
18577 | Changes to merge with gnulib version and be consistent with the | |
18578 | autoconf test: | |
18579 | ||
6793bc63 SM |
18580 | * getloadavg.c: Set NLIST_STRUCT from HAVE_NLIST_H. |
18581 | Use HAVE_STRUCT_NLIST_N_UN_N_NAME, not NLIST_NAME_UNION. | |
f16205ca DL |
18582 | [HAVE_LOCALE_H]: Include locale.h. |
18583 | (getloadavg) [HAVE_SETLOCALE]: Run sscanf in C locale. | |
18584 | ||
9b87a0bc KS |
18585 | 2003-06-05 Kim F. Storm <storm@cua.dk> |
18586 | ||
18587 | * window.c (coordinates_in_window): Convert X and Y to window | |
18588 | relative coordinates inside mode-line and header-line parts. | |
18589 | Convert X and Y to margin area relative coordinates inside left | |
18590 | and right display margin parts. | |
18591 | ||
5a8a15ec JR |
18592 | 2003-06-05 Jason Rumney <jasonr@gnu.org> |
18593 | ||
18594 | * w32fns.c (add_system_logical_colors_to_map): New function. | |
18595 | (Fx_open_connection): Use it. | |
18596 | ||
01ed8ff1 SM |
18597 | 2003-06-04 Stefan Monnier <monnier@cs.yale.edu> |
18598 | ||
18599 | * process.c (allocate_pty): Revert part of the previous patch. | |
18600 | (Faccept_process_output): Simplify. | |
18601 | ||
b427b65d JR |
18602 | 2003-06-04 Jason Rumney <jasonr@gnu.org> |
18603 | ||
18604 | * termhooks.h (enum event_kind): Remove MOUSE_WHEEL_EVENT. | |
18605 | ||
18606 | * keyboard.c (Qmouse_wheel, mouse_wheel_syms) | |
18607 | (lispy_mouse_wheel_names): Remove. | |
18608 | (syms_of_keyboard): Remove Qmouse_wheel and mouse_wheel_syms. | |
18609 | Always define drag_and_drop_syms. | |
18610 | ||
18611 | * macterm.c (XTread_socket): Map mouse wheel events to Emacs | |
18612 | WHEEL_EVENT events. | |
18613 | ||
914a8c47 SM |
18614 | 2003-06-03 Stefan Monnier <monnier@cs.yale.edu> |
18615 | ||
01ed8ff1 SM |
18616 | * xdisp.c (update_tool_bar): Add missing UNGCPRO. |
18617 | ||
914a8c47 SM |
18618 | * buffer.c (init_buffer_once): Make kill-buffer-hook permanent-local. |
18619 | ||
adcb132c JD |
18620 | 2003-06-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18621 | ||
18622 | * gtkutil.c (make_menu_item): Make sure we don't crash on a NULL | |
18623 | menu item label. | |
18624 | ||
be781fa7 RS |
18625 | 2003-06-03 Richard M. Stallman <rms@gnu.org> |
18626 | ||
18627 | * window.c (Fwindow_edges): Doc fix. | |
18628 | (Fwindow_pixel_edges, Fwindow_inside_edges) | |
18629 | (Fwindow_inside_pixel_edges): New functions. | |
18630 | (syms_of_window): defsubr them. | |
18631 | ||
18632 | * window.h (WINDOW_LEFT_FRINGE_COLS, WINDOW_RIGHT_FRINGE_COLS) | |
18633 | (WINDOW_MODE_LINE_LINES, WINDOW_HEADER_LINE_LINES): New macros. | |
18634 | ||
914a8c47 SM |
18635 | 2003-06-02 Stefan Monnier <monnier@cs.yale.edu> |
18636 | ||
18637 | * dispnew.c (Fsit_for): Don't lie about the number of args. | |
18638 | ||
5b07197a DL |
18639 | 2003-06-02 Dave Love <fx@gnu.org> |
18640 | ||
18641 | * callproc.c: Use HAVE_FCNTL_H, not USG5. | |
18642 | (syms_of_callproc) <process-environment>: Doc fix. | |
18643 | ||
18644 | * doc.c: Use HAVE_FCNTL_H, not USG5. | |
18645 | ||
18646 | * xfaces.c (font_rescale_ratio): Fix for K&R. | |
18647 | ||
18648 | * termcap.c: Use HAVE_FCNTL_H, not _POSIX_VERSION. | |
18649 | ||
18650 | * mem-limits.h: Use HAVE_SYS_RESOURCE_H, HAVE_SYS_VLIMIT_H. | |
18651 | ||
18652 | * lread.c [HAVE_FCNTL_H]: Include fcntl.h. | |
18653 | ||
18654 | * gtkutil.c: Include keyboard.h, charset.h, coding.h. | |
18655 | (xg_create_frame_widgets): Use ENCODE_UTF_8. | |
18656 | ||
1ae8d759 | 18657 | * xterm.c (Qutf_8): Move to coding.c. |
5b07197a DL |
18658 | |
18659 | * xmenu.c (ENCODE_MENU_STRING): New. | |
18660 | (list_of_panes, list_of_items, digest_single_submenu, xmenu_show): | |
18661 | Use it. | |
18662 | ||
18663 | * coding.h (ENCODE_UTF_8): New. | |
18664 | (Qutf_8): Declare. | |
18665 | ||
18666 | * coding.c (Qutf_8): New. | |
18667 | (syms_of_coding): Intern it. | |
18668 | ||
18669 | * fns.c: Doc fixes. | |
18670 | ||
7335b336 KH |
18671 | 2003-06-02 Kenichi Handa <handa@m17n.org> |
18672 | ||
18673 | * buffer.c (Fset_buffer_multibyte): Fix previous change. | |
18674 | ||
914a8c47 SM |
18675 | 2003-06-01 Stefan Monnier <monnier@cs.yale.edu> |
18676 | ||
18677 | * lread.c (openp): Make sure STR is a string. | |
18678 | ||
9862c135 JR |
18679 | 2003-06-01 David Ponce <david@dponce.com> |
18680 | ||
cab27d04 | 18681 | * termhooks.h (enum event_kind): Add new WHEEL_EVENT event. |
9862c135 JR |
18682 | Declare MOUSE_WHEEL_EVENT only if MAC_OSX defined. |
18683 | ||
18684 | * keyboard.c (Qmouse_wheel): Declare only if MAC_OSX defined. | |
18685 | (mouse_wheel_syms, lispy_mouse_wheel_names): Likewise. | |
18686 | (discard_mouse_events): Discard WHEEL_EVENT events too. | |
18687 | (lispy_wheel_names, wheel_syms): New. | |
18688 | (syms_of_keyboard): Init and staticpro `wheel_syms'. Init and | |
cab27d04 | 18689 | staticpro `Qmouse_wheel' and `mouse_wheel_syms' only if MAC_OSX defined. |
914a8c47 | 18690 | (make_lispy_event): Add WHEEL_EVENT handler. |
9862c135 JR |
18691 | |
18692 | * w32term.c (construct_mouse_wheel): Construct WHEEL_EVENT. | |
18693 | (w32_read_socket): Map w32 WM_MOUSEWHEEL events to Emacs | |
18694 | WHEEL_EVENT events. | |
18695 | ||
f984e73e JPW |
18696 | 2003-05-31 John Paul Wallington <jpw@gnu.org> |
18697 | ||
18698 | * Makefile.in (lisp, shortlisp): byte-run, float-sup, map-ynp, and | |
18699 | timer are in lisp/emacs-lisp. | |
18700 | ||
1efcd78f KH |
18701 | 2003-05-31 Kenichi Handa <handa@m17n.org> |
18702 | ||
458c8af4 KH |
18703 | * buffer.c (Fset_buffer_multibyte): Correctly recover a narrowed |
18704 | region when a buffer is changed to unibyte. | |
18705 | ||
1efcd78f KH |
18706 | * charset.h (VALID_LEADING_CODE_P): New macro. |
18707 | (UNIBYTE_STR_AS_MULTIBYTE_P): Check more rigidly. | |
18708 | ||
778e2804 KH |
18709 | * coding.c (DECODE_EMACS_MULE_COMPOSITION_CHAR): If coding->flags |
18710 | is nonzero, accept multibyte form of eight-bit-control chars. | |
18711 | (decode_composition_emacs_mule): Likewise. | |
18712 | (decode_coding_emacs_mule): Likewise. | |
18713 | (encode_coding_emacs_mule): If coding->flags is nonzero, produce | |
18714 | multibyte form of eight-bit-control chars. | |
18715 | ||
18716 | * fileio.c (Qauto_save_coding, auto_save_coding): New variables. | |
18717 | (Finsert_file_contents): If coding-system-for-read is bound to | |
18718 | Qauto_save_coding, use the coding system emacs-mule with special | |
18719 | setting for recovering a file. | |
18720 | (choose_write_coding_system): On auto saving, use the coding | |
18721 | system emacs-mule with special setting for auto saving. | |
18722 | (syms_of_fileio) <Qauto_save_coding>: Intern and staticpro it. | |
18723 | ||
034060e4 KH |
18724 | 2003-05-30 Kenichi Handa <handa@m17n.org> |
18725 | ||
18726 | * coding.c (ccl_coding_driver): Set ccl->eight_bit_control | |
18727 | properly before calling ccl_driver. | |
18728 | ||
778e2804 | 18729 | * ccl.h (struct ccl_program) <eight_bit_control>: Comment fixed. |
034060e4 | 18730 | |
cab27d04 | 18731 | * ccl.c (CCL_WRITE_CHAR): Increment extra_bytes only when it is nonzero. |
034060e4 KH |
18732 | (ccl_driver): Initialize extra_bytes to ccl->eight_bit_control. |
18733 | (setup_ccl_program): Initialize ccl->eight_bit_control to zero. | |
18734 | ||
595f5aa5 GM |
18735 | 2003-05-29 Glenn Morris <gmorris@ast.cam.ac.uk> |
18736 | ||
18737 | * xfaces.c (realize_default_face): Do not abort if lface is | |
18738 | non-existent - reverts change from 2003-05-19. | |
18739 | ||
103e0180 KH |
18740 | 2003-05-29 Kenichi Handa <handa@m17n.org> |
18741 | ||
18742 | * coding.c (decode_coding_iso2022): Pay attention to the byte | |
18743 | sequence of CTEXT extended segment, and retain those bytes as is. | |
18744 | ||
18745 | 2003-05-28 Kenichi Handa <handa@m17n.org> | |
18746 | ||
cab27d04 | 18747 | * coding.c (ENCODE_UNSAFE_CHARACTER): Adjust for the name change |
103e0180 KH |
18748 | of CODING_REPLACEMENT_CHARACTER. |
18749 | (decode_coding_iso2022): If CODING_FLAG_ISO_SAFE, set | |
18750 | CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in coding->mode, and | |
18751 | check this flag on encoding. | |
cab27d04 SM |
18752 | (encode_coding_sjis_big5): |
18753 | Check CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag of coding->mode. | |
18754 | (Fset_terminal_coding_system_internal): | |
18755 | Set CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in terminal_coding.mode | |
18756 | instead of setting CODING_FLAG_ISO_SAFE flag in terminal_coding.flags. | |
18757 | ||
18758 | * coding.h (CODING_REPLACEMENT_CHARACTER): Rename from | |
103e0180 KH |
18759 | CODING_INHIBIT_CHARACTER_SUBSTITUTION. |
18760 | (CODING_MODE_INHIBIT_UNENCODABLE_CHAR): New macro. | |
18761 | ||
ff6a3bfb | 18762 | 2003-05-28 Richard M. Stallman <rms@gnu.org> |
45f266dc | 18763 | |
ff6a3bfb RS |
18764 | * print.c (syms_of_print) <print-escape-nonascii>: Doc fix. |
18765 | ||
18766 | * eval.c (unbind_to): Move init of this_binding to separate statement. | |
45f266dc | 18767 | |
1963c428 KS |
18768 | 2003-05-28 Kim F. Storm <storm@cua.dk> |
18769 | ||
18770 | * xdisp.c (expose_window): Fix error in calculation of | |
18771 | window relative coordinates of area to redisplay. | |
18772 | ||
2b5d4601 JR |
18773 | 2003-05-27 Jason Rumney <jasonr@gnu.org> |
18774 | ||
18775 | * w32term.c (GET_WHEEL_DELTA_WPARAM): New macro. | |
18776 | ||
1c64a4a2 JB |
18777 | 2003-05-27 David Ponce <david@dponce.com> |
18778 | ||
18779 | Handle W32 mouse wheel events as mouse click events, like in X. | |
18780 | ||
18781 | * keyboard.c (make_lispy_event) [WINDOWSNT]: Don't handle | |
18782 | MOUSE_WHEEL_EVENT anymore. | |
18783 | ||
18784 | * w32term.c (construct_mouse_wheel): Result is a MOUSE_CLICK_EVENT. | |
18785 | Scrolling down/up the mouse wheel is respectively mapped to mouse | |
18786 | button 4 and 5. | |
18787 | (w32_read_socket): Map w32 WM_MOUSEWHEEL events to Emacs | |
18788 | MOUSE_CLICK_EVENT events. Forward w32 MSH_MOUSEWHEEL events as | |
18789 | WM_MOUSEWHEEL events. | |
18790 | ||
2d031b89 AS |
18791 | 2003-05-27 Andreas Schwab <schwab@suse.de> |
18792 | ||
20464fdf AS |
18793 | * buffer.c (syms_of_buffer) <default-direction-reversed>: Doc fix. |
18794 | ||
2d031b89 AS |
18795 | * xdisp.c (try_window_id): Avoid aborting if PT is inside a |
18796 | partially visible line. | |
18797 | ||
18798 | * alloc.c (Fgarbage_collect): Fix last change. | |
18799 | ||
97bc76d4 JPW |
18800 | 2003-05-26 John Paul Wallington <jpw@gnu.org> |
18801 | ||
18802 | * xfns.c (Fx_create_frame): Don't call Qface_set_after_frame_default. | |
18803 | ||
56613f06 SM |
18804 | 2003-05-25 Stefan Monnier <monnier@cs.yale.edu> |
18805 | ||
18806 | * window.c (Fset_window_buffer): Add type of `keep_margins'. | |
18807 | (Fset_window_fringes, Fset_window_scroll_bars): Declare before use. | |
18808 | ||
18809 | * window.h (window_box_text_cols): Declare. | |
18810 | ||
18811 | * xdisp.c (window_text_bottom_y, draw_row_fringe_bitmaps) | |
18812 | (x_draw_vertical_border): Remove unused var `f'. | |
18813 | ||
18814 | * xfaces.c (build_scalable_font_name): Remove `unused var | |
18815 | pixel_size' warning. | |
18816 | ||
18817 | * xfns.c (png_load): Remove `unused vars intent, image_gamma' warning. | |
18818 | ||
18819 | * unexelf.c (unexec): Remove `unused var n' warning. | |
18820 | ||
18821 | * strftime.c (my_strftime_localtime_r): Remove `defined but | |
18822 | unused' warning. | |
18823 | ||
18824 | * process.c (allocate_pty): Remove `unused var stb' and | |
18825 | `cp might be used uninitialized' warnings. | |
18826 | ||
18827 | * dispnew.c (mode_line_string): Remove unused var `f'. | |
18828 | ||
18829 | * coding.c (find_safe_codings): Remove unused var `i'. | |
18830 | ||
18831 | * bytecode.c (Fbyte_code): Remove `unused val' warning. | |
18832 | ||
18833 | * buffer.c (Fkill_buffer): Remove unused var `list'. | |
18834 | ||
18835 | * alloc.c (Fgarbage_collect): Remove `unused var tail' warning. | |
18836 | ||
93421a1f JD |
18837 | 2003-05-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18838 | ||
18839 | * frame.c (make_frame): Condition want_fullscreen with | |
18840 | HAVE_WINDOW_SYSTEM. | |
18841 | ||
c4b8aebc JB |
18842 | 2003-05-25 Juanma Barranquero <lektu@terra.es> |
18843 | ||
18844 | * window.c (Fset_window_scroll_bars): Fix typo in argument name. | |
18845 | (Fwindow_scroll_bars): Fix typo in docstring. | |
18846 | ||
0416870b KS |
18847 | 2003-05-24 Kim F. Storm <storm@cua.dk> |
18848 | ||
18849 | The following changes serve several purposes: | |
18850 | ||
18851 | 1) Swap the position of fringes and display margins in windows, i.e. | |
18852 | the fringes are now displayed between the margins and the text area | |
18853 | (by default). | |
18854 | ||
18855 | 2) Allow fringe and scroll bar parameters to be set per-buffer and | |
18856 | per-window (like display margins). Such settings are now stored | |
18857 | in window configurations, preserved when frames are resized, and | |
9018a88e | 18858 | copied when windows are split vertically or horizontally. |
0416870b KS |
18859 | Several bugs related to display margins have been fixed. |
18860 | ||
18861 | 3) Consistently use FRAME_FONT and FRAME_FONTSET macros. | |
9018a88e | 18862 | |
0416870b | 18863 | 4) Use FRAME_COLUMN_WIDTH (f) consistently throughout the code |
5e1a6e32 | 18864 | rather than FRAME_WIDTH (FRAME_FONT (f)). |
0416870b KS |
18865 | |
18866 | 5) Introduce a consistent naming of variables, members and macros | |
18867 | depending on whether their value is measured in pixels or in | |
18868 | canonical columns/lines. Pixel dimensions are named *_width and | |
18869 | *_height, while canonical columns/lines are named *_cols and | |
18870 | *_lines. Pixel positions are named *_x and *_y, while column/line | |
18871 | positions are named *_col and *_line. | |
18872 | ||
18873 | 6) Consolidate more of the X, W32, and MAC gui code by moving | |
18874 | common data into struct frame, and generalize it for the non-gui | |
18875 | case by using suitable defaults. | |
18876 | ||
18877 | 7) Cleanup and consolidate the macros controlling frame and window | |
18878 | layout into frame.h and window.h, and generalize the use of the | |
18879 | various window_box_* functions (enhanced to handle the new fringe | |
18880 | position and the per-window fringe and scroll bar settings). | |
18881 | ||
18882 | * frame.h (struct frame): Rename members height to text_lines, | |
18883 | width to text_cols, window_height to total_lines, window_width to | |
18884 | total_cols, new_height to new_text_lines, new_width to | |
18885 | new_text_cols. All uses changed. | |
18886 | (struct frame): New members which consolidate common members of | |
18887 | x_output, w32_output, and mac_output structures: left_pos, | |
18888 | top_pos, pixel_height, pixel_width, x_pixels_diff, y_pixels_diff, | |
18889 | win_gravity, size_hint_flags, border_width, internal_border_width, | |
18890 | line_height, fringe_cols, left_fringe_width, right_fringe_width, | |
18891 | want_fullscreen. All uses changed. | |
18892 | (struct frame): New member column_width contaning the canonical | |
18893 | column width, analogue to line_height. All uses changed. | |
18894 | (struct frame): Rename members scroll_bar_pixel_width to | |
18895 | config_scroll_bar_width, and scroll_bar_cols to | |
18896 | config_scroll_bar_cols. All uses changed. | |
18897 | (struct frame): New member scroll_bar_actual_width which | |
18898 | consolidates and renames the vertical_scroll_bar_extra member of | |
18899 | x_output, w32_output, and mac_output structures. All uses changed. | |
cab27d04 | 18900 | (FRAME_PIXEL_HEIGHT): Rename from PIXEL_HEIGHT and moved |
0416870b KS |
18901 | from x/w32/macterm.h files. All uses changed. Also change code |
18902 | which referred to f->output_data...->pixel_height. | |
cab27d04 | 18903 | (FRAME_PIXEL_WIDTH): Rename from PIXEL_WIDTH and moved |
f63fd14e | 18904 | from x/w32/macterm.h files. All uses changed. Also change code |
0416870b | 18905 | which referred to f->output_data...->pixel_width. |
cab27d04 | 18906 | (FRAME_LINES): Rename from FRAME_HEIGHT. All uses changed. |
0416870b | 18907 | Also change code which referred to f->height. |
cab27d04 | 18908 | (FRAME_COLS): Rename from FRAME_WIDTH. All uses changed. |
0416870b KS |
18909 | Also change code which referred to f->width. |
18910 | (FRAME_NEW_HEIGHT, FRAME_NEW_WIDTH): Remove macros; change uses | |
18911 | to update new_text_lines and new_text_cols members directly. | |
cab27d04 | 18912 | (FRAME_CONFIG_SCROLL_BAR_WIDTH): Rename from |
0416870b | 18913 | FRAME_SCROLL_BAR_PIXEL_WIDTH. All uses changed. |
cab27d04 | 18914 | (FRAME_CONFIG_SCROLL_BAR_COLS): Rename from |
0416870b KS |
18915 | FRAME_SCROLL_BAR_COLS. All uses changed. |
18916 | (FRAME_LEFT_SCROLL_BAR_COLS, FRAME_RIGHT_SCROLL_BAR_COLS): | |
cab27d04 | 18917 | Rename from FRAME_LEFT_SCROLL_BAR_WIDTH and |
0416870b KS |
18918 | FRAME_RIGHT_SCROLL_BAR_WIDTH, resp. All uses changed. |
18919 | (FRAME_SCROLL_BAR_AREA_WIDTH, FRAME_LEFT_SCROLL_BAR_AREA_WIDTH) | |
18920 | (FRAME_RIGHT_SCROLL_BAR_AREA_WIDTH): New macros. | |
cab27d04 SM |
18921 | (FRAME_TOTAL_COLS): Rename from FRAME_WINDOW_WIDTH. |
18922 | (SET_FRAME_COLS): Rename from SET_FRAME_WIDTH. | |
18923 | (FRAME_TOTAL_COLS_ARG): Rename from FRAME_WINDOW_WIDTH_ARG. | |
0416870b KS |
18924 | (WINDOW_VERTICAL_SCROLL_BAR_COLUMN): Remove unused macro. |
18925 | (WINDOW_VERTICAL_SCROLL_BAR_HEIGHT): Remove unused macro. | |
cab27d04 SM |
18926 | (FRAME_LINE_HEIGHT): Rename from CANON_Y_UNIT. |
18927 | Unconditionally return line_height member (it now has proper value | |
18928 | also for non-window frames). | |
18929 | (FRAME_COLUMN_WIDTH): Rename from CANON_X_UNIT. Unconditionally | |
0416870b KS |
18930 | return new column_width member (rather than the default font width). |
18931 | (FRAME_FRINGE_COLS, FRAME_LEFT_FRINGE_WIDTH) | |
cab27d04 | 18932 | (FRAME_RIGHT_FRINGE_WIDTH): Rename from FRAME_X_... and moved |
0416870b KS |
18933 | from x/w32/macterm.h files. Unconditionally return corresponding |
18934 | member of frame structure (they now have proper values also for | |
18935 | non-window frames). | |
cab27d04 | 18936 | (FRAME_TOTAL_FRINGE_WIDTH): Rename from FRAME_FRINGE_WIDTH. |
0416870b KS |
18937 | Calculate return value from left and right widths. |
18938 | (FRAME_INTERNAL_BORDER_WIDTH): Unconditionally return | |
18939 | internal_border_width member (has proper value for non-window frame). | |
cab27d04 SM |
18940 | (FRAME_PIXEL_X_FROM_CANON_X): Rename from PIXEL_X_FROM_CANON_X. |
18941 | (FRAME_PIXEL_Y_FROM_CANON_Y): Rename from PIXEL_Y_FROM_CANON_Y. | |
18942 | (FRAME_CANON_X_FROM_PIXEL_X): Rename from CANON_X_FROM_PIXEL_X. | |
18943 | (FRAME_CANON_Y_FROM_PIXEL_Y): Rename from CANON_Y_FROM_PIXEL_Y. | |
18944 | (FRAME_LINE_TO_PIXEL_Y): Rename from CHAR_TO_PIXEL_ROW, | |
0416870b | 18945 | consolidated from xterm.h, macterm.h, and w32term.h. |
cab27d04 | 18946 | (FRAME_COL_TO_PIXEL_X): Rename from CHAR_TO_PIXEL_COL, |
0416870b | 18947 | consolidated from xterm.h, macterm.h, and w32term.h. |
cab27d04 | 18948 | (FRAME_TEXT_COLS_TO_PIXEL_WIDTH): Rename from |
0416870b | 18949 | CHAR_TO_PIXEL_WIDTH consolidated from x/mac/w32term.h. |
cab27d04 | 18950 | (FRAME_TEXT_LINES_TO_PIXEL_HEIGHT): Rename from |
0416870b | 18951 | CHAR_TO_PIXEL_HEIGHT consolidated from x/mac/w32term.h. |
cab27d04 | 18952 | (FRAME_PIXEL_Y_TO_LINE): Rename from PIXEL_TO_CHAR_ROW |
0416870b | 18953 | consolidated from x/mac/w32term.h. |
cab27d04 | 18954 | (FRAME_PIXEL_X_TO_COL): Rename from PIXEL_TO_CHAR_COL |
0416870b | 18955 | consolidated from x/mac/w32term.h. |
cab27d04 | 18956 | (FRAME_PIXEL_WIDTH_TO_TEXT_COLS): Rename from |
0416870b | 18957 | PIXEL_TO_CHAR_WIDTH consolidated from x/mac/w32term.h. |
cab27d04 | 18958 | (FRAME_PIXEL_HEIGHT_TO_TEXT_LINES): Rename from |
0416870b KS |
18959 | PIXEL_TO_CHAR_HEIGHT consolidated from x/mac/w32term.h. |
18960 | ||
18961 | * window.h (struct window): Rename members left to left_col, | |
18962 | top to top_line, height to total_lines, width to total_cols, | |
18963 | left_margin_width to left_margin_cols, right_margin_width to | |
18964 | right_margin_cols, orig_height to orig_total_lines, orig_top to | |
18965 | orig_top_line. All uses changed. | |
18966 | (struct window): New members left_fringe_width, right_fringe_width, | |
18967 | fringes_outside_margins, scroll_bar_width, vertical_scroll_bar_type. | |
18968 | (WINDOW_XFRAME, WINDOW_FRAME_COLUMN_WIDTH, WINDOW_FRAME_LINE_HEIGHT): | |
18969 | New macros primarily used to simplify other macros. | |
18970 | (WINDOW_TOTAL_COLS): New macro. Change relevant code that | |
18971 | referred to XINT (w->width). | |
18972 | (WINDOW_TOTAL_LINES): New macro. Change relevant code that | |
18973 | referred to XINT (w->height). | |
18974 | (WINDOW_TOTAL_WIDTH): New macro. Change relevant code that | |
18975 | referred to XINT (w->width) * canon_x_unit. | |
18976 | (WINDOW_TOTAL_HEIGHT): New macro. Change relevant code that | |
18977 | referred to XINT (w->height) * canon_y_unit. | |
18978 | (WINDOW_LEFT_EDGE_COL): New macro. Change relevant code that | |
18979 | referred to XINT (w->left). | |
cab27d04 | 18980 | (WINDOW_RIGHT_EDGE_COL): Rename from WINDOW_RIGHT_EDGE. Change |
0416870b KS |
18981 | all uses and code that referred to XINT (w->left) + XINT (w->width). |
18982 | (WINDOW_TOP_EDGE_LINE): New macro. Change relevant code that | |
18983 | referred to XINT (w->top). | |
18984 | (WINDOW_BOTTOM_EDGE_LINE): New macro. Change relevant code that | |
18985 | referred to XINT (w->top) + XINT (w->height). | |
18986 | (WINDOW_LEFT_EDGE_X): New macro. Change relevant code that | |
18987 | referred to XINT (w->left) * canon_x_unit. | |
18988 | (WINDOW_RIGHT_EDGE_X): New macro. Change relevant code that | |
18989 | referred to (XINT (w->left) + XINT (w->width)) * canon_x_unit. | |
18990 | (WINDOW_TOP_EDGE_Y): New macro. Change relevant code that | |
18991 | referred to XINT (w->top) * canon_y_unit. | |
18992 | (WINDOW_BOTTOM_EDGE_Y): New macro. Change relevant code that | |
18993 | referred to (XINT (w->top) + XINT (w->height)) * canon_y_unit. | |
18994 | (WINDOW_LEFTMOST_P): New macro. | |
cab27d04 | 18995 | (WINDOW_BOX_LEFT_EDGE_COL): Rename from WINDOW_LEFT_MARGIN. |
0416870b | 18996 | All uses changed. |
cab27d04 | 18997 | (WINDOW_BOX_RIGHT_EDGE_COL): Rename from WINDOW_RIGHT_MARGIN. |
0416870b | 18998 | All uses changed. |
cab27d04 | 18999 | (WINDOW_BOX_LEFT_EDGE_X): Rename from |
0416870b KS |
19000 | WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X, moved from dispextern.h. |
19001 | Do not exclude left fringe width. | |
cab27d04 | 19002 | (WINDOW_BOX_RIGHT_EDGE_X): Rename from |
0416870b KS |
19003 | WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X, moved from dispextern.h. |
19004 | Do not exclude fringe widths. | |
19005 | (WINDOW_LEFT_FRINGE_WIDTH, WINDOW_RIGHT_FRINGE_WIDTH) | |
19006 | (WINDOW_FRINGE_COLS, WINDOW_TOTAL_FRINGE_WIDTH): New macros. | |
19007 | Change relevant code that referred to FRAME_LEFT_FRINGE_WIDTH, | |
19008 | FRAME_RIGHT_FRINGE_WIDTH, FRAME_FRINGE_COLS, and | |
19009 | FRAME_TOTAL_FRINGE_WIDTH to allow per-window fringe settings. | |
19010 | (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS): New macro. | |
19011 | (WINDOW_VERTICAL_SCROLL_BAR_TYPE, WINDOW_HAS_VERTICAL_SCROLL_BAR) | |
19012 | (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT) | |
19013 | (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_RIGHT) | |
19014 | (WINDOW_CONFIG_SCROLL_BAR_WIDTH, WINDOW_CONFIG_SCROLL_BAR_COLS): | |
19015 | New macros. Change code which referenced corresponding | |
19016 | FRAME_VERTICAL_SCROLL_BAR_TYPE, FRAME_HAS_VERTICAL_SCROLL_BARS, | |
19017 | FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT, | |
19018 | FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT, | |
19019 | FRAME_SCROLL_BAR_PIXEL_WIDTH, and FRAME_SCROLL_BAR_COLS macros to | |
19020 | allow per-window scroll-bar settings. | |
19021 | (WINDOW_LEFT_SCROLL_BAR_COLS, WINDOW_RIGHT_SCROLL_BAR_COLS): New macros. | |
19022 | (WINDOW_LEFT_SCROLL_BAR_AREA_WIDTH): New macro. Change code that | |
19023 | referred to FRAME_LEFT_SCROLL_BAR_WIDTH. | |
19024 | (WINDOW_RIGHT_SCROLL_BAR_AREA_WIDTH): New macro. Change code | |
19025 | that referred to FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT and | |
19026 | FRAME_SCROLL_BAR_WIDTH. | |
19027 | (WINDOW_SCROLL_BAR_COLS, WINDOW_SCROLL_BAR_AREA_WIDTH) | |
9018a88e | 19028 | (WINDOW_SCROLL_BAR_AREA_X): New macros. |
cab27d04 | 19029 | (WINDOW_HEADER_LINE_HEIGHT): Rename from |
0416870b | 19030 | WINDOW_DISPLAY_HEADER_LINE_HEIGHT, moved from dispextern.h. |
cab27d04 | 19031 | (WINDOW_BOX_HEIGHT_NO_MODE_LINE): Rename from |
0416870b | 19032 | WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE, moved from dispextern.h. |
cab27d04 | 19033 | (WINDOW_BOX_TEXT_HEIGHT): Rename from |
0416870b KS |
19034 | WINDOW_DISPLAY_PIXEL_WIDTH, moved from dispextern.h. |
19035 | (WINDOW_TO_FRAME_PIXEL_X, WINDOW_TO_FRAME_PIXEL_Y) | |
19036 | (FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y) | |
cab27d04 SM |
19037 | (WINDOW_TEXT_TO_FRAME_PIXEL_X): Move here from dispextern.h. |
19038 | (WINDOW_LEFT_MARGIN_WIDTH): Rename from | |
0416870b | 19039 | WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH, moved from dispextern.h. |
cab27d04 | 19040 | (WINDOW_RIGHT_MARGIN_WIDTH): Rename from |
0416870b KS |
19041 | WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, moved from dispextern.h. |
19042 | (window_from_coordinates): Update prototype. | |
19043 | (Fset_window_buffer): Update EXFUN. | |
19044 | (set_window_buffer): Update prototype. | |
9018a88e | 19045 | |
0416870b | 19046 | * dispextern.h (struct glyph_matrix): Rename members window_left_x |
9018a88e | 19047 | to window_left_col, window_top_y to window_top_line. All uses |
0416870b KS |
19048 | changed. |
19049 | (FRAME_INTERNAL_BORDER_WIDTH_SAFE): Remove macro; can now safely | |
19050 | use FRAME_INTERNAL_BORDER_WIDTH macro instead as | |
19051 | internal_border_width is now set to 0 for non-window frames. | |
19052 | (WINDOW_DISPLAY_PIXEL_WIDTH, WINDOW_DISPLAY_PIXEL_HEIGHT) | |
19053 | (WINDOW_DISPLAY_MODE_LINE_HEIGHT, WINDOW_DISPLAY_HEADER_LINE_HEIGHT) | |
19054 | (WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE, WINDOW_DISPLAY_TEXT_HEIGHT) | |
19055 | (WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X, WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X) | |
19056 | (WINDOW_DISPLAY_TOP_EDGE_PIXEL_Y, WINDOW_DISPLAY_BOTTOM_EDGE_PIXEL_Y) | |
19057 | (WINDOW_TO_FRAME_PIXEL_X, WINDOW_TO_FRAME_PIXEL_Y) | |
19058 | (FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y) | |
19059 | (WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH) | |
19060 | (WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, WINDOW_WANTS_MODELINE_P): | |
9018a88e | 19061 | Move to window.h and renamed [see window.h changes]. |
0416870b KS |
19062 | (WINDOW_AREA_TO_FRAME_PIXEL_X, WINDOW_AREA_PIXEL_WIDTH) |
19063 | (WINDOW_DISPLAY_TEXT_AREA_PIXEL_WIDTH): Remove macros. | |
9018a88e SM |
19064 | (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): |
19065 | Use WINDOW_TOTAL_LINES. | |
0416870b KS |
19066 | (frame_update_line_height): Remove prototype. |
19067 | ||
19068 | * buffer.h (struct buffer): Rename members measured in columns: | |
19069 | left_margin_width to left_margin_cols, right_margin_width to | |
19070 | right_margin_cols. All uses changed. | |
19071 | New members left_fringe_width, right_fringe_width, | |
19072 | fringes_outside_margins for per-buffer fringe settings. | |
19073 | New members scroll_bar_width and vertical_scroll_bar_type for | |
19074 | per-buffer scroll bar settings. | |
19075 | ||
19076 | * buffer.c (init_buffer_once): Set buffer_defaults and | |
19077 | buffer_local_flags for new buffer-local variables | |
19078 | left_fringe_width, right_fringe_width, fringes_outside_margins, | |
19079 | scroll_bar_width, and vertical_scroll_bar_type. | |
19080 | (syms_of_buffer): Defvar_per_buffer them, and defvar_lisp_nopro | |
19081 | default-* variables for them. | |
19082 | ||
19083 | * dispnew.c: Make (many) trivial substitutions for renamed and | |
19084 | new macros in dispextern.h, frame.h and window.h. | |
19085 | (mode_line_string): No need to adjust width for mode lines, as it | |
19086 | is already adjusted by the caller. | |
19087 | (marginal_area_string): Handle fringes inside/outside margins. | |
9018a88e | 19088 | |
0416870b KS |
19089 | * frame.c: Make (many) trivial substitutions for renamed and |
19090 | new macros in dispextern.h, frame.h and window.h. | |
19091 | (make_frame): Initialize left_fringe_width, right_fringe_width, | |
19092 | fringe_cols, scroll_bar_actual_width, border_width, | |
19093 | internal_border_width, column_width, line_height, x_pixels_diff, | |
19094 | y_pixels_diff, want_fullscreen, size_hint_flags, and win_gravity | |
19095 | members with values suitable for a non-window frames. | |
19096 | ||
19097 | * gtkutil.c: Make (many) trivial substitutions for renamed and | |
19098 | new macros in dispextern.h, frame.h and window.h. | |
9018a88e | 19099 | |
0416870b KS |
19100 | * indent.c: Make (few) trivial substitutions for renamed and |
19101 | new macros in dispextern.h, frame.h and window.h. | |
19102 | ||
19103 | * keyboard.c: Make (many) trivial substitutions for renamed and | |
19104 | new macros in dispextern.h, frame.h and window.h. | |
19105 | (make_lispy_event): Use window positions returned from | |
19106 | window_from_coordinates when constructing the lisp event for | |
19107 | MOUSE_CLICK_EVENT and DRAG_N_DROP_EVENT, rather than calculating | |
19108 | (incorrect) values locally. | |
19109 | (make_lispy_movement): Use window positions returned from | |
19110 | window_from_coordinates when constructing the lisp event, rather | |
19111 | than calculating (incorrect) values locally. | |
19112 | ||
19113 | * scroll.c: Make (some) trivial substitutions for renamed and | |
19114 | new macros in dispextern.h, frame.h and window.h. | |
19115 | ||
19116 | * sunfns.c (Fsun_menu_internal): Adapt to per-window fringes and | |
19117 | scroll-bars. | |
19118 | ||
19119 | * sysdep.c: Make (few) trivial substitutions for renamed and | |
19120 | new macros in dispextern.h, frame.h and window.h. | |
19121 | ||
19122 | * term.c: Make (some) trivial substitutions for renamed and | |
19123 | new macros in dispextern.h, frame.h and window.h. | |
19124 | ||
19125 | * widget.c: Make (few) trivial substitutions for renamed and | |
19126 | new macros in dispextern.h, frame.h and window.h. | |
19127 | ||
19128 | * window.c: Make (many) trivial substitutions for renamed and | |
19129 | new macros in dispextern.h, frame.h and window.h. | |
19130 | (make_window): Initialize new members | |
19131 | left_margin_cols, right_margin_cols, left_fringe_width, | |
19132 | right_fringe_width, fringes_outside_margins, scroll_bar_width, | |
19133 | and vertical_scroll_bar_type. | |
cab27d04 | 19134 | (coordinates_in_window): Adapt to new fringe/margin positions |
9018a88e | 19135 | and per-window fringes and scroll-bars. |
0416870b | 19136 | Fix bug related to incorrectly adjusting coordinates by |
9018a88e | 19137 | frame's internal_border_width (the effect normally negible since |
0416870b KS |
19138 | the internal_border_width is typically 0 or 1 pixel, but very |
19139 | noticeable for an internal_border_width of e.g. 25 pixels). | |
19140 | Upon successful return (other than ON_NOTHING), the coordinates | |
19141 | are now always properly converted to window relative for the | |
19142 | given display element. | |
19143 | (window_from_coordinates): Add new parameters wx and wy to | |
19144 | return the window relative x and y position in the returned | |
19145 | window and part. A null arg means, don't return the position. | |
19146 | All callers changed. | |
19147 | (adjust_window_margins): New function which may reduce the width | |
19148 | of the display margins if a window's text area is too small after | |
19149 | resizing or splitting windows. | |
19150 | (size_window): Fix bug that did not account for display margin | |
19151 | widths when checking the minimum width of a window; use | |
19152 | adjust_window_margins. | |
19153 | (set_window_buffer): Call Fset_window_fringes and | |
19154 | Fset_window_scroll_bars to setup per-window elements. | |
19155 | Add new arg KEEP_MARGINS_P. Non-nil means to keep window's | |
19156 | existing display margin, fringe widths, and scroll bar settings | |
9018a88e SM |
19157 | (e.g. after splitting a window or resizing the frame). |
19158 | All callers changed. | |
0416870b KS |
19159 | (Fset_window_buffer): New arg KEEP_MARGINS. All callers changed. |
19160 | (Fsplit_window): Duplicate original window's display margin, | |
19161 | fringe, and scroll-bar settings; then call Fset_window_buffer with | |
19162 | KEEP_MARGINS non-nil. This fixes a bug which caused a split | |
19163 | window to only preserve the display margins in one of the windows. | |
5e1a6e32 | 19164 | When splitting horizontally, call adjust_window_margins on both |
0416870b | 19165 | windows to ensure that the text area of the new windows is non too |
f9711de4 | 19166 | narrow. This fixes a bug which could cause Emacs to trap if the |
0416870b KS |
19167 | width of the split window was less than the width of the display |
19168 | margins. | |
cab27d04 | 19169 | (window_box_text_cols): Rename from window_internal_width. |
9018a88e | 19170 | All uses changed. Adapt to per-window fringes and scroll bars. |
0416870b KS |
19171 | Fix bug that caused vertical separator to be subtracted also on |
19172 | window frames. Fix another bug that did not reduce the returned | |
19173 | value by the columns used for display margins. | |
19174 | (window_scroll_line_based): Fix bug related to scrolling too much | |
19175 | when display margins are present (implicitly fixed by the fix to | |
19176 | window_box_text_cols). | |
19177 | (scroll_left, scroll_right): Fix bug related to scrolling too far | |
19178 | by default when display margins are present (implicitly fixed by | |
19179 | the fix to window_box_text_cols). | |
19180 | (struct saved_window): Rename members left to left_col, top to | |
19181 | top_line, width to total_cols, height to total_lines, orig_top to | |
19182 | orig_top_line, orig_height to orig_total_lines. All uses changed. | |
19183 | New members left_margin_cols, right_margin_cols, | |
19184 | left_fringe_width, right_fringe_width, fringes_outside_margins, | |
19185 | scroll_bar_width, and vertical_scroll_bar_type for saving | |
19186 | per-window display elements. | |
19187 | (Fset_window_configuration): Restore display margins, fringes, | |
19188 | and scroll bar settings. This fixes a bug which caused display | |
19189 | margins to be discarded when saving and restoring a window | |
19190 | configuration. | |
19191 | (save_window_save): Save display margins, fringes, and scroll bar | |
19192 | settings. This fixes a bug which caused display margins to be | |
19193 | discarded when saving and restoring a window configuration. | |
19194 | (Fset_window_margins): Do nothing if display margins are not | |
19195 | really changed. Otherwise, call adjust_window_margins to ensure | |
19196 | the text area doesn't get too narrow. This fixes a bug which | |
f9711de4 | 19197 | could cause Emacs to trap if setting display margins wider than |
0416870b KS |
19198 | the width of the window. |
19199 | (Fset_window_fringes): New defun to allow user to specifically set | |
19200 | this window's fringe widths and position vs. display margins. | |
cab27d04 | 19201 | (Fwindow_fringes): New defun to return window's actual fringe settings. |
0416870b KS |
19202 | (Fset_window_scroll_bars): New defun to allow user to specifically |
19203 | set this window's scroll bar width and position. | |
19204 | (Fwindow_scroll_bars): New defun to return window's actual scroll | |
19205 | bar settings. | |
19206 | (compare_window_configurations): Also compare display margins, | |
19207 | fringes, and scroll bar settings. | |
19208 | (syms_of_window): Defsubr new defuns for fringe and scroll bars. | |
19209 | ||
19210 | * xdisp.c: Make (many) trivial substitutions for renamed and | |
19211 | new macros in dispextern.h, frame.h and window.h. | |
19212 | (window_box_width): Adapt to per-window fringes and scroll bars, | |
f63fd14e | 19213 | and new fringe vs. display margin position. Note that returned |
0416870b KS |
19214 | value is no longer guaranteed to be a whole multiple of the frame |
19215 | column width, since per-window fringes may now be any width. | |
19216 | (window_box_left_offset): New function like window_box_left, but | |
19217 | value is relative to left border of window (rather than frame). | |
19218 | (window_box_right_offset): New function like window_box_right, | |
19219 | but value is relative to left border of window. | |
19220 | (window_box_left): Adapt to per-window fringes and scroll bars, | |
19221 | and new fringe vs. display margin position. Simplify by using | |
19222 | WINDOW_LEFT_EDGE_X and window_box_left_offset. | |
19223 | (window_box): Allow null args for unnecessary return values; | |
19224 | change/simplify relevant callers. | |
19225 | (x_y_to_hpos_vpos): Adapt to per-window fringes and scroll bars, | |
9018a88e SM |
19226 | and new fringe vs. display margin position. |
19227 | Use window_box_left_offset and window_box_right_offset | |
0416870b | 19228 | (get_glyph_string_clip_rect): Adapt to per-window fringes and |
9018a88e SM |
19229 | scroll bars, and new fringe vs. display margin position. |
19230 | Use WINDOW_LEFT_EDGE_X and WINDOW_TOTAL_WIDTH. | |
0416870b KS |
19231 | (draw_fringe_bitmap): Rework to handle per-window fringes and new |
19232 | fringe vs. display margin position. | |
19233 | (hscroll_window_tree): Use window_box_width instead of window_box. | |
a64387ee JB |
19234 | (redisplay_window): Adapt to per-window scroll bars. |
19235 | (draw_glyphs): Rework to handle per-window fringes and scroll | |
9018a88e SM |
19236 | bars, and new fringe vs. display margin position. |
19237 | Use WINDOW_LEFT_EDGE_X, WINDOW_TOTAL_WIDTH, and window_box_left. | |
a64387ee | 19238 | (x_clear_end_of_line): Adapt to per-window fringes and scroll |
0416870b KS |
19239 | bars, and new fringe vs. display margin position. Fix bug which |
19240 | increased total width of full_width rows by width of scroll bars | |
19241 | although window's total width already includes that. | |
19242 | (x_fix_overlapping_area): Simplify using window_box_left_offset. | |
19243 | (expose_area): Simplify using window_box_left_offset. | |
19244 | (x_draw_vertical_border): Handle per-window scroll bar settings, | |
19245 | mixing windows with left, right and no scroll bars. | |
19246 | ||
19247 | * xfaces.c [WINDOWSNT]: Move redefinition of FONT_WIDTH macro to | |
19248 | where it's used in x_list_fonts (for clarity). | |
19249 | (frame_update_line_height): Remove unused function; functionality | |
19250 | is now done directly when setting the default font in x_set_font. | |
19251 | ||
19252 | * xfns.c: Make (many) trivial substitutions for renamed and | |
19253 | new macros in dispextern.h, frame.h and window.h. | |
19254 | ||
19255 | * xmenu.c: Make (some) trivial substitutions for renamed and | |
19256 | new macros in dispextern.h, frame.h and window.h. | |
19257 | ||
19258 | * xterm.h (struct x_output): Move members left_pos, top_pos, | |
19259 | border_width, pixel_height, pixel_width, line_height, | |
19260 | internal_border_width, vertical_scroll_bar_extra, | |
19261 | left_fringe_width, right_fringe_width, fringe_cols, | |
19262 | fringes_extra, win_gravity, size_hint_flags, want_fullscreen, | |
19263 | x_pixels_diff, and y_pixels_diff to struct frame (frame.h). | |
19264 | (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h. | |
19265 | (FRAME_DEFAULT_FONT_WIDTH): Remove macro. | |
19266 | (PIXEL_WIDTH, PIXEL_HEIGHT) | |
19267 | (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) | |
cab27d04 | 19268 | (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Move to |
0416870b KS |
19269 | frame.h and renamed [see frame.h changes]. |
19270 | (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) | |
19271 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) | |
cab27d04 | 19272 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Move to frame.h |
0416870b | 19273 | and renamed [see frame.h changes]. |
9018a88e | 19274 | |
0416870b KS |
19275 | * xterm.c: Make (several) trivial substitutions for renamed and |
19276 | new macros in dispextern.h, frame.h and window.h. | |
cab27d04 | 19277 | (x_draw_glyph_string_box): Adapt to per-window fringes and scroll-bars. |
0416870b KS |
19278 | (scroll_run): Adapt to new fringe position. |
19279 | (glyph_rect): Use window coordinates returned from | |
19280 | window_from_coordinates rather than frame_to_window_pixel_xy. | |
19281 | (XTset_vertical_scroll_bar): Adapt to per-window fringes and | |
19282 | scroll-bars. | |
19283 | (handle_one_xevent): Simplify a USE_GTK conditional. | |
19284 | (x_clip_to_row): Remove superfluous whole_line_p arg and code | |
19285 | (fringes are now inside margins, i.e. always in the clipping area). | |
19286 | All callers changed. | |
19287 | (x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT | |
19288 | directly, then call compute_fringe_widths. Don't call | |
19289 | frame_update_line_height. | |
19290 | ||
19291 | * w32term.h (struct w32_output): Move members left_pos, top_pos, | |
19292 | border_width, pixel_height, pixel_width, line_height, | |
19293 | internal_border_width, vertical_scroll_bar_extra, | |
19294 | left_fringe_width, right_fringe_width, fringe_cols, | |
19295 | fringes_extra, win_gravity, size_hint_flags, want_fullscreen, | |
19296 | x_pixels_diff, and y_pixels_diff to struct frame (frame.h). | |
19297 | (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h. | |
19298 | (FRAME_DEFAULT_FONT_WIDTH): Remove macro. | |
19299 | (PIXEL_WIDTH, PIXEL_HEIGHT) | |
19300 | (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) | |
cab27d04 | 19301 | (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Move to |
0416870b KS |
19302 | frame.h and renamed [see frame.h changes]. |
19303 | (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) | |
19304 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) | |
cab27d04 | 19305 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Move to frame.h |
0416870b | 19306 | and renamed [see frame.h changes]. |
9018a88e | 19307 | |
0416870b KS |
19308 | * w32term.c: Make (several) trivial substitutions for renamed and |
19309 | new macros in dispextern.h, frame.h and window.h. | |
cab27d04 | 19310 | (x_draw_glyph_string_box): Adapt to per-window fringes and scroll-bars. |
0416870b KS |
19311 | (glyph_rect): Use window coordinates returned from |
19312 | window_from_coordinates rather than frame_to_window_pixel_xy. | |
19313 | (XTset_vertical_scroll_bar): Adapt to per-window fringes and | |
19314 | scroll-bars. | |
19315 | (w32_clip_to_row): Remove superfluous whole_line_p arg and code | |
19316 | (fringes are now inside margins, i.e. always in the clipping area). | |
19317 | All callers changed. | |
19318 | (x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT | |
19319 | directly, then call compute_fringe_widths. Don't call | |
19320 | frame_update_line_height. | |
19321 | ||
19322 | * w32console.c: Make (few) trivial substitutions for renamed and | |
19323 | new macros in dispextern.h, frame.h and window.h. | |
19324 | ||
19325 | * w32fns.c: Make (many) trivial substitutions for renamed and | |
19326 | new macros in dispextern.h, frame.h and window.h. | |
19327 | ||
19328 | * w32menu.c: Make (few) trivial substitutions for renamed and | |
19329 | new macros in dispextern.h, frame.h and window.h. | |
19330 | ||
19331 | * macterm.h (struct mac_output): Move members left_pos, top_pos, | |
19332 | border_width, pixel_height, pixel_width, line_height, | |
19333 | internal_border_width, vertical_scroll_bar_extra, | |
19334 | left_fringe_width, right_fringe_width, fringe_cols, | |
19335 | fringes_extra, win_gravity, size_hint_flags, want_fullscreen, | |
19336 | x_pixels_diff, y_pixels_diff to struct frame (frame.h). | |
19337 | (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h. | |
19338 | (FRAME_DEFAULT_FONT_WIDTH): Remove macro. | |
19339 | (PIXEL_WIDTH, PIXEL_HEIGHT) | |
19340 | (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) | |
cab27d04 | 19341 | (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Move to |
0416870b KS |
19342 | frame.h and renamed [see frame.h changes]. |
19343 | (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) | |
19344 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) | |
cab27d04 | 19345 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Move to frame.h |
0416870b | 19346 | and renamed [see frame.h changes]. |
9018a88e | 19347 | |
0416870b KS |
19348 | * macterm.c: Make (several) trivial substitutions for renamed and |
19349 | new macros in dispextern.h, frame.h and window.h. | |
cab27d04 | 19350 | (x_draw_glyph_string_box): Adapt to per-window fringes and scroll-bars. |
0416870b KS |
19351 | (glyph_rect): Use window coordinates returned from |
19352 | window_from_coordinates rather than frame_to_window_pixel_xy. | |
19353 | (XTset_vertical_scroll_bar): Adapt to per-window fringes and | |
19354 | scroll-bars. | |
19355 | (x_clip_to_row): Remove superfluous whole_line_p arg and code | |
19356 | (fringes are now inside margins, i.e. always in the clipping area). | |
19357 | All callers changed. | |
19358 | (x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT | |
19359 | directly, then call compute_fringe_widths. Don't call | |
19360 | frame_update_line_height. | |
19361 | ||
19362 | * macfns.c: Make (several) trivial substitutions for renamed and | |
19363 | new macros in dispextern.h, frame.h and window.h. | |
9018a88e | 19364 | (x_real_positions): Set f->x_pixels_diff and f->y_pixels_diff to 0. |
0416870b KS |
19365 | |
19366 | * macmenu.c: Make (few) trivial substitutions for renamed and | |
19367 | new macros in dispextern.h, frame.h and window.h. | |
19368 | ||
19369 | * msdos.h (struct x_output): Remove members left_pos, top_pos, | |
19370 | and line_height, and use corresponding new members in struct | |
19371 | frame. All uses changed. | |
19372 | (FRAME_LINE_HEIGHT, FRAME_INTERNAL_BORDER_WIDTH): Remove macros; | |
19373 | superseeded by corresponding macros in frame.h. | |
19374 | ||
19375 | * msdos.c: Make (several) trivial substitutions for renamed and | |
19376 | new macros in dispextern.h, frame.h and window.h. | |
19377 | (IT_note_mouse_highlight): Use updated window coordinates returned | |
9018a88e | 19378 | by window_from_coordinates, rather than adjusting them locally. |
0416870b KS |
19379 | (internal_terminal_init): No need to initialize line_height here; |
19380 | it now defaults to 1. | |
19381 | ||
9018a88e SM |
19382 | 2003-05-24 Stefan Monnier <monnier@cs.yale.edu> |
19383 | ||
19384 | * keyboard.c (read_key_sequence): Adjust fkey and keytran when | |
19385 | dropping `down' events. | |
19386 | ||
016bd3c0 AS |
19387 | 2003-05-24 Andreas Schwab <schwab@suse.de> |
19388 | ||
19389 | * coding.c (find_safe_codings): Fix last change. | |
19390 | ||
4dacadcc TTN |
19391 | 2003-05-24 Istvan Marko <mi@imarko.dhs.org> (tiny change) |
19392 | ||
19393 | * xfns.c (x_window): Fix typo from 2003-05-21 change. | |
19394 | ||
319830ce SM |
19395 | 2003-05-23 Stefan Monnier <monnier@cs.yale.edu> |
19396 | ||
9018a88e SM |
19397 | * xdisp.c (display_mode_element): Increase max depth. |
19398 | Simplify the error handling code. Use a different error string | |
19399 | for the case where we hit the depth limit. | |
19400 | ||
319830ce SM |
19401 | * lisp.h (Vfundamental_mode_abbrev_table): Don't declare. |
19402 | ||
19403 | * buffer.c (reset_buffer_local_variables): Remove redundant setting. | |
19404 | ||
19405 | 2003-05-21 Stefan Monnier <monnier@cs.yale.edu> | |
19406 | ||
19407 | * intervals.c (get_local_map): Don't get char-property of previous | |
19408 | point any more: get_pos_property already does it and better. | |
19409 | ||
c67de8ba DL |
19410 | 2003-05-21 Dave Love <fx@gnu.org> |
19411 | ||
19412 | [Merged from unicode branch.] | |
19413 | ||
19414 | * xfns.c (x_window, x_window): Use use_xim. | |
19415 | ||
19416 | * xterm.c (use_xim): Initialize. | |
19417 | (xim_open_dpy, xim_initialize, xim_close_dpy): Use use_xim. | |
19418 | (x_term_init): Maybe set use_xim. | |
19419 | ||
19420 | * xterm.h (use_xim) [HAVE_X_I18N]: Declare. | |
19421 | ||
edd3ff1d JR |
19422 | 2003-05-21 Jason Rumney <jasonr@gnu.org> |
19423 | ||
19424 | * unexw32.c (_start): Remove _fmode initialization. | |
19425 | ||
19426 | * emacs.c (main) [WINDOWSNT]: Move it here. | |
19427 | ||
463f55ee DL |
19428 | 2003-05-20 Dave Love <fx@gnu.org> |
19429 | ||
19430 | * s/gnu-linux.h (MAIL_USE_FLOCK): Make it conditional. | |
19431 | ||
af253914 RS |
19432 | 2003-05-19 Richard M. Stallman <rms@gnu.org> |
19433 | ||
19434 | * xfaces.c (Finternal_set_lisp_face_attribute): Handle Qunspecified | |
19435 | as value for QCfont attribute. | |
19436 | (realize_default_face): lface should already exist; crash if not. | |
19437 | Specify 0 for FORCE_P when calling set_lface_from_font_name. | |
19438 | ||
19439 | * frame.c (Fignore_event): Doc fix. | |
19440 | ||
1d211019 KH |
19441 | 2003-05-19 Kenichi Handa <handa@m17n.org> |
19442 | ||
19443 | * coding.c (decode_coding_string): Handle post-read-conversion | |
19444 | even if the coding doesn't require decoding. | |
19445 | ||
4dd68254 RS |
19446 | 2003-05-18 Richard M. Stallman <rms@gnu.org> |
19447 | ||
19448 | * callproc.c (Fcall_process_region): Doc fix. | |
19449 | ||
14d87dc9 SM |
19450 | 2003-05-17 Stefan Monnier <monnier@cs.yale.edu> |
19451 | ||
deca5d96 SM |
19452 | * lread.c (Fload): Print a message if package is obsolete. |
19453 | ||
14d87dc9 SM |
19454 | * window.c (Fselect_window): Add optional `norecord' arg. |
19455 | (select_window_1): Fold into Fselect_window. | |
19456 | (select_window_norecord): New function. | |
19457 | (temp_output_buffer_show): Use it. Preserve current buffer. | |
19458 | ||
19459 | * window.h (Fselect_window): Update declaration. | |
19460 | ||
19461 | * window.c (delete_window, Fother_window, Fset_window_configuration): | |
19462 | * minibuf.c (read_minibuf): | |
19463 | * macterm.c (x_new_focus_frame): | |
19464 | * frame.c (do_switch_frame, Fset_frame_selected_window, Fdelete_frame): | |
19465 | * callint.c (Fcall_interactively): | |
19466 | * xterm.c (x_new_focus_frame): Pass nil as new arg to Fselect_window. | |
19467 | ||
19468 | * buffer.c (Fpop_to_buffer): Pass norecord to Fselect_window. | |
19469 | ||
78f52183 DK |
19470 | 2003-05-17 David Kastrup <dak@gnu.org> |
19471 | ||
19472 | * process.c (read_process_output): Back out change from 2003-03-09. | |
19473 | ||
14d87dc9 SM |
19474 | 2003-05-17 Stefan Monnier <monnier@cs.yale.edu> |
19475 | ||
19476 | * editfns.c (get_pos_property): Don't assume that `object' = nil. | |
19477 | ||
19478 | * textprop.c (text_property_stickiness): New arg `buffer'. | |
19479 | ||
19480 | * intervals.h (text_property_stickiness): New arg `buffer'. | |
19481 | (get_pos_property): Declare. | |
19482 | ||
19483 | * intervals.c (get_local_map): Use get_pos_property, to obey | |
19484 | stickiness and empty overlays. | |
19485 | (create_root_interval, graft_intervals_into_buffer): Use BEG. | |
19486 | (merge_properties, intervals_equal, merge_properties_sticky): | |
19487 | Use XCAR, XCDR. | |
19488 | (adjust_for_invis_intang): Pass new arg to text_property_stickiness. | |
19489 | ||
1fd1cc2f RS |
19490 | 2003-05-17 Richard M. Stallman <rms@gnu.org> |
19491 | ||
4f9f637a RS |
19492 | * minibuf.c (read_minibuf): If buffer is empty, record the default |
19493 | in the history. | |
19494 | (Fminibuffer_complete_word): When deleting the overlap, take account | |
19495 | of its real position. | |
19496 | ||
19497 | * fns.c (map_char_table): Fix previous change. | |
19498 | ||
1fd1cc2f RS |
19499 | * syntax.c (find_defun_start): |
19500 | When open_paren_in_column_0_is_defun_start, | |
19501 | return beginning of buffer. | |
19502 | ||
19503 | * lisp.h (map_char_table): Declare added arg. | |
19504 | ||
19505 | * fns.c (map_char_table): New arg TABLE gets the master table. | |
19506 | All calls changed. | |
19507 | Process default and inheritance, resorting to Faref if necessary. | |
19508 | ||
19509 | * keymap.c (Fset_keymap_parent, map_keymap, Fcopy_keymap) | |
19510 | (Faccessible_keymaps): Pass new arg to map_char_table. | |
19511 | ||
19512 | * fontset.c (Ffontset_info): Pass new arg to map_char_table. | |
19513 | ||
19514 | * casetab.c (set_case_table): Pass new arg to map_char_table. | |
19515 | ||
19516 | * data.c (let_shadows_buffer_binding_p): Make target of p volatile. | |
19517 | ||
19518 | * lisp.h (specbinding_func): New typedef. | |
19519 | (struct specbinding): Use specbinding_func, to put the `volatile' | |
19520 | in the right place. | |
19521 | ||
19522 | * alloc.c (Fgarbage_collect): Cast pointers into specpdl | |
19523 | to avoid GCC warning. | |
14d87dc9 | 19524 | |
b6189c3b | 19525 | 2003-05-16 Ralph Schleicher <rs@nunatak.allgaeu.org> |
b4bd27c5 | 19526 | |
14d87dc9 | 19527 | * fileio.c (Fdelete_file): Handle symlinks pointing to directories. |
b4bd27c5 | 19528 | |
35fb885d SM |
19529 | 2003-05-15 Stefan Monnier <monnier@cs.yale.edu> |
19530 | ||
19531 | * keyboard.c (apply_modifiers): Don't fill the other cache. | |
19532 | ||
9a274fbd SM |
19533 | 2003-05-14 Stefan Monnier <monnier@cs.yale.edu> |
19534 | ||
c55b5fad SM |
19535 | * .gdbinit-union: New file, for USE_LISP_UNION_TYPE users. |
19536 | ||
9a274fbd SM |
19537 | * window.h (Qwindowp, Qwindow_live_p, Vwindow_list) |
19538 | (Fwindow_end, Fselected_window, Fdelete_window, Fwindow_buffer) | |
19539 | (Fget_buffer_window, Fsave_window_excursion, Fsplit_window) | |
19540 | (Fset_window_configuration, Fcurrent_window_configuration) | |
19541 | (compare_window_configurations, Fcoordinates_in_window_p, Fwindow_at) | |
19542 | (Fpos_visible_in_window_p, mark_window_cursors_off) | |
19543 | (window_internal_height, window_internal_width, Frecenter) | |
19544 | (Fscroll_other_window, Fset_window_start, temp_output_buffer_show) | |
19545 | (replace_buffer_in_all_windows, init_window_once, init_window) | |
19546 | (syms_of_window, keys_of_window): Move from lisp.h. | |
19547 | * lisp.h: Move window.c declarations to window.h. | |
19548 | ||
19549 | * bytecode.c: Include window.h. | |
19550 | * emacs.c: Include window.h. | |
19551 | ||
14d87dc9 | 19552 | * keyboard.c (make_lispy_event): Apply modifiers to multibyte-char key. |
9a274fbd SM |
19553 | (keyremap): Add `parent' field. |
19554 | (keyremap_step): Use it. Remove `parent' argument. | |
19555 | (read_key_sequence): Setup and use the new `parent' field. | |
19556 | ||
fd93e331 SM |
19557 | 2003-05-11 Stefan Monnier <monnier@cs.yale.edu> |
19558 | ||
19559 | * keyboard.c (adjust_point_for_property): Ensure termination. | |
19560 | ||
1c4001a1 SM |
19561 | 2003-05-10 Stefan Monnier <monnier@cs.yale.edu> |
19562 | ||
19563 | * keyboard.c (follow_key): Remove dead variable `did_meta'. | |
19564 | (access_keymap_keyremap, keyremap_step): New funs, extracted from the | |
19565 | duplicated handling of function-key-map and key-translation-map | |
19566 | in read_key_sequence. | |
19567 | (read_key_sequence): Use them. | |
19568 | ||
19569 | * keyboard.c (adjust_point_for_property): Try harder to move point | |
19570 | to the non-sticky end of an invisible property. | |
19571 | ||
19572 | * xdisp.c (single_display_prop_intangible_p): Make `space' display | |
19573 | property intangible as well. | |
19574 | ||
780379b1 AS |
19575 | 2003-05-10 Andreas Schwab <schwab@suse.de> |
19576 | ||
19577 | * xmenu.c (single_menu_item): Change last parameter to void* to | |
19578 | avoid warning. | |
19579 | ||
ca2de342 RS |
19580 | 2003-05-09 Richard M. Stallman <rms@gnu.org> |
19581 | ||
19582 | * print.c (Fprin1_to_string): Instead of gcpro, set abort_on_gc. | |
19583 | Bind Qinhibit_modification_hooks to t so there will be no GC. | |
19584 | Rename local `tem' to `save_deactivate_mark'. | |
19585 | ||
19586 | * eval.c (specpdl_ptr): Declare volatile. | |
19587 | (unbind_to): Copy the whole binding and decrement specpdl_ptr | |
19588 | before doing the work of unbinding it. | |
19589 | ||
19590 | * lisp.h (struct specbinding): Declare elements volatile. | |
19591 | (specpdl_ptr): Declare volatile. | |
19592 | ||
19593 | * Makefile.in (alloca.o): Specify -DDO_BLOCK_INPUT in compiling. | |
19594 | ||
19595 | * alloca.c: Test DO_BLOCK_INPUT rather than `emacs' | |
19596 | for use of BLOCK_INPUT and inclusion of lisp.h and blockinput.h. | |
19597 | ||
347003be DL |
19598 | 2003-05-08 Dave Love <fx@gnu.org> |
19599 | ||
19600 | * coding.c (Vlast_coding_system_used): Doc fix. | |
19601 | ||
5adcec23 JR |
19602 | 2003-05-07 Jason Rumney <jasonr@gnu.org> |
19603 | ||
19604 | * fileio.c (Ffile_symlink_p): Let handlers handle symlinks even | |
19605 | when system does not support them. | |
19606 | ||
5fe3b8a4 SM |
19607 | 2003-05-05 Stefan Monnier <monnier@cs.yale.edu> |
19608 | ||
19609 | * fileio.c (Qwrite_region_annotate_functions): New var. | |
19610 | (build_annotations): Use it to process the global part of the hook. | |
19611 | (syms_of_fileio): Init and staticpro it. | |
19612 | ||
19613 | * keyboard.c (safe_run_hooks_error): Display a message instead of | |
19614 | silently ignoring the error. | |
19615 | ||
19616 | 2003-05-03 Stefan Monnier <monnier@cs.yale.edu> | |
19617 | ||
19618 | * keyboard.c (input_available_signal): Mark static. | |
19619 | (menu_bar_items): Use map_keymap. | |
19620 | (menu_bar_one_keymap): Remove. | |
19621 | (menu_bar_item): Adjust arglist (for use in map_keymap). | |
19622 | Properly hide a second binding when not both are keymaps. | |
19623 | ||
19624 | * xmenu.c (struct skp): New struct, to pass args through map_keymap. | |
19625 | (single_keymap_panes): Use it and map_keymap. | |
19626 | (single_menu_item): Use skp as well. | |
19627 | ||
19628 | * keymap.h (map_keymap_function_t): New type. | |
19629 | (map_keymap): Declare. | |
19630 | ||
19631 | * keymap.c (map_keymap_item, map_keymap_char_table_item, map_keymap) | |
19632 | (map_keymap_call, Fmap_keymap): New functions. | |
19633 | (syms_of_keymap): Defsubr map-keymap. | |
19634 | ||
4b1b4443 JD |
19635 | 2003-05-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19636 | ||
19637 | * gtkutil.c (create_dialog, make_widget_for_menu_item) | |
19638 | (make_menu_item, create_menus, xg_update_menu_item): Don't call | |
19639 | ..._with_mnemonic functions for menu items. | |
19640 | ||
1f816871 KH |
19641 | 2003-05-01 Kenichi Handa <handa@m17n.org> |
19642 | ||
19643 | * coding.c (coding_system_accept_latin_extra_p): Delete this | |
19644 | function. | |
19645 | (find_safe_codings): Pay attention to | |
19646 | the property tranlsation-table-for-encode of each codings. | |
19647 | (syms_of_coding): Give Qtranslation_table the extra slot number 2. | |
19648 | ||
5ed6ba5b SM |
19649 | 2003-05-01 Stefan Monnier <monnier@cs.yale.edu> |
19650 | ||
19651 | * eval.c (Funwind_protect): Use func=Fprogn rather than symbol=Qnil. | |
19652 | ||
32c06229 SM |
19653 | 2003-04-30 Stefan Monnier <monnier@cs.yale.edu> |
19654 | ||
19655 | * eval.c (unbind_to): Don't handle symbol = Qnil any more. | |
19656 | ||
19657 | * lisp.h (CHECK): Wrap args in parenthesis. | |
19658 | (specbind): Fix doc: symbol = Qnil is not supported any more. | |
19659 | ||
19660 | * bytecode.c (Fbyte_code) <unwind-protect>: | |
19661 | Use Fprogn rather than 0 and Qnil. | |
19662 | ||
19663 | * keyboard.c (parse_modifiers_uncached): Parse `down', `drag', | |
19664 | `double', and `triple' modifiers as well. | |
19665 | ||
ed3c3314 RS |
19666 | 2003-04-30 Richard M. Stallman <rms@gnu.org> |
19667 | ||
19668 | * keyboard.c (echo_char): Don't clear out a dash that follows a space. | |
19669 | ||
19670 | * alloc.c (abort_on_gc): New variable. | |
19671 | (Fgarbage_collect): Abort if abort_on_gc is set. | |
19672 | ||
19673 | * lisp.h (abort_on_gc): Add decl. | |
19674 | ||
19675 | * eval.c (Fsignal): Clear abort_on_gc. | |
19676 | ||
19677 | * editfns.c (Fformat): Set abort_on_gc during first scan of format. | |
32c06229 | 19678 | Reinit FORMAT_START and END before second scan. |
ed3c3314 RS |
19679 | |
19680 | * xdisp.c (move_it_vertically_backward): Do the final big else | |
19681 | even if nlines is 0. | |
19682 | ||
19683 | * xdisp.c (redisplay_internal): Finish the per-frame loop | |
19684 | even if redisplay is suspended by input. | |
19685 | ||
0b325c12 AC |
19686 | 2003-04-24 Andrew Choi <akochoi@shaw.ca> |
19687 | ||
19688 | * macterm.c (x_list_fonts): Return all fonts that match if | |
19689 | maxnames = -1. | |
19690 | ||
4e837cd0 KH |
19691 | 2003-04-25 Kenichi Handa <handa@m17n.org> |
19692 | ||
19693 | * syntax.c (skip_chars): Fix previous change. | |
19694 | ||
9af7511a KH |
19695 | 2003-04-24 Kenichi Handa <handa@m17n.org> |
19696 | ||
19697 | * syntax.c (skip_chars): Make the code faster by using the common | |
19698 | technique of *p, *stop, and *endp. | |
19699 | ||
e3b2c21f JD |
19700 | 2003-04-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19701 | ||
19702 | * xdisp.c (update_tool_bar): BLOCK_INPUT before calling | |
32c06229 | 19703 | tool_bar_items so GTK tool bar expose callback does not access items |
e3b2c21f JD |
19704 | being updated. |
19705 | ||
32c06229 SM |
19706 | 2003-04-19 Stefan Monnier <monnier@cs.yale.edu> |
19707 | ||
19708 | * eval.c (Fapply): Undo last change and add a comment about why. | |
19709 | ||
c6464167 MB |
19710 | 2003-04-18 Miles Bader <miles@gnu.org> |
19711 | ||
19712 | * data.c (Faset): Calculate nbytes earlier, to satisfy the now | |
19713 | pickier PARSE_MULTIBYTE_SEQ. | |
19714 | ||
e509f168 SM |
19715 | 2003-04-17 Stefan Monnier <monnier@cs.yale.edu> |
19716 | ||
19717 | * eval.c (For, Fand, Fprogn, un_autoload, do_autoload): | |
19718 | Use XCDR, XCAR, CONSP. | |
19719 | (Fdefmacro): Fix docstring. Use XCAR, XCDR. | |
19720 | (Fapply): Remove unnecessary GCPRO. | |
19721 | ||
19722 | * doc.c (Fsubstitute_command_keys): Remove spurious casts. | |
19723 | ||
19724 | * charset.h (PARSE_MULTIBYTE_SEQ): Pretend `length' is used. | |
19725 | ||
19726 | * buffer.h: Don't hardcode BEG==1. | |
19727 | ||
19728 | * abbrev.c (Fdefine_abbrev_table): Use XCAR, XCDR. | |
19729 | ||
5ceea398 RS |
19730 | 2003-04-16 Richard M. Stallman <rms@gnu.org> |
19731 | ||
19732 | * xdisp.c (try_window, try_window_reusing_current_matrix): | |
19733 | When at end of window, set window_end_pos to Z-ZV. | |
19734 | ||
19735 | * buffer.c (Foverlay_recenter): Doc fix. | |
19736 | ||
e509f168 SM |
19737 | 2003-04-14 Stefan Monnier <monnier@cs.yale.edu> |
19738 | ||
19739 | * dispnew.c (Fsit_For): Support XEmacs-style arg list. | |
19740 | ||
d243e605 AC |
19741 | 2003-04-14 Andrew Choi <akochoi@shaw.ca> |
19742 | ||
19743 | * macterm.c (mac_check_for_quit_char): Don't check more often than | |
19744 | once a second. | |
19745 | ||
6901b111 SM |
19746 | 2003-04-11 Stefan Monnier <monnier@cs.yale.edu> |
19747 | ||
19748 | * keyboard.c (kbd_buffer_get_event): Don't handle SELECT_WINDOW_EVENT | |
19749 | specially, so that they can't hide an implicit switch-frame event. | |
19750 | (make_lispy_event): Handle SELECT_WINDOW_EVENT. | |
19751 | (head_table): Use switch-frame as event_kind for select-window. | |
19752 | (keys_of_keyboard): Don't bind [select-window] in special-event-map. | |
19753 | ||
19754 | * editfns.c (Fformat): Lisp_Object/int mixup. | |
19755 | (format2): Remove unused var numargs. | |
19756 | ||
e301806f | 19757 | 2003-04-11 Kenichi Handa <handa@m17n.org> |
aa95b710 | 19758 | |
6901b111 | 19759 | * fileio.c (Vafter_insert_file_adjust_coding_function): Delete. |
aa95b710 KH |
19760 | (Qafter_insert_file_set_coding): New variable. |
19761 | (syms_of_fileio): Initialize and staticpro it. Delete declaration | |
19762 | for after-insert-file-adjust-coding-function. | |
19763 | (Finsert_file_contents): Call Qafter_insert_file_set_coding | |
19764 | instead of Vafter_insert_file_adjust_coding_function. | |
19765 | ||
38914424 KH |
19766 | 2003-04-11 Kenichi Handa <handa@m17n.org> |
19767 | ||
19768 | * lisp.h (temp_echo_area_glyphs): Adjust prototype. | |
19769 | ||
19770 | * minibuf.c (temp_echo_area_glyphs): Change the arg to Lisp | |
19771 | string. Callers changed. | |
19772 | ||
19773 | 2003-04-10 Kenichi Handa <handa@m17n.org> | |
a288d979 | 19774 | |
6901b111 | 19775 | * fileio.c (Vafter_insert_file_adjust_coding_function): New variable. |
a288d979 | 19776 | (syms_of_fileio): Declare it as a lisp variable. |
6901b111 SM |
19777 | (Finsert_file_contents): |
19778 | Call Vafter_insert_file_adjust_coding_function before calling | |
a288d979 KH |
19779 | decode-format. |
19780 | ||
f979dc05 JD |
19781 | 2003-04-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19782 | ||
19783 | * xterm.c (xg_scroll_callback): Call gtk_range_get_adjustment to | |
19784 | get GtkAdjustment as widget now is a GtkRange. | |
19785 | ||
19786 | * gtkutil.c (xg_create_scroll_bar): Connect to value-changed on | |
19787 | GtkRange to avoid memory leak. | |
19788 | ||
f8c6b4c2 | 19789 | 2003-04-09 Kenichi Handa <handa@m17n.org> |
cb98871c | 19790 | |
50ebc53d KH |
19791 | * xfaces.c (Vface_font_rescale_alist): New variable. |
19792 | (struct font_name): New member rescale_ratio. | |
19793 | (font_rescale_ratio): New function. | |
6901b111 | 19794 | (split_font_name): If NUMERIC_P is nonzero, set font->rescale_ratio. |
50ebc53d KH |
19795 | (better_font_p): On comparing point sized, pay attention to |
19796 | recale_ratio member of fonts. | |
19797 | (build_scalable_font_name): Reflect font->rescale_ratio in the | |
19798 | font name. | |
6901b111 | 19799 | (syms_of_xfaces): Declare Vface_font_rescale_alist as a Lisp variable. |
50ebc53d | 19800 | |
cb98871c KH |
19801 | * lread.c (read1): Before calling index, check if the 2nd |
19802 | arguemnt is in ASCII range. | |
19803 | ||
4773b8ca RS |
19804 | 2003-04-08 Richard M. Stallman <rms@gnu.org> |
19805 | ||
b0ada147 RS |
19806 | * fileio.c (Ffile_symlink_p): Doc fix. |
19807 | ||
19808 | * editfns.c (Fformat): Translate positions of text properties | |
19809 | in the format string to apply them to the result. | |
19810 | ||
4773b8ca RS |
19811 | * fileio.c (Finsert_file_contents): Doc fix. |
19812 | (syms_of_fileio) <after-insert-file-functions>: Doc fix. | |
19813 | ||
19814 | 2003-04-08 Ivan Zakharyaschev <imz@altlinux.org> (tiny change) | |
6901b111 | 19815 | |
4773b8ca RS |
19816 | * lread.c (openp): Get the Qfile_exists_p handler for STRING, not FN. |
19817 | ||
e8f25745 | 19818 | 2003-04-08 Steven Tamm <steventamm@mac.com> |
b0ada147 | 19819 | |
e8f25745 ST |
19820 | * mac.c (init_mac_osx_environment): Switch libexec and bin so |
19821 | that self-contained application finds libexec files. | |
19822 | ||
f8c6b4c2 | 19823 | 2003-04-08 Kenichi Handa <handa@m17n.org> |
2310d84c | 19824 | |
6901b111 SM |
19825 | * coding.c (code_convert_region_unwind): |
19826 | Set Vlast_coding_system_used to the argument. | |
2310d84c KH |
19827 | (code_convert_region): If post-read-conversion function changed |
19828 | the value of last-coding-sytem, keep the new value in | |
19829 | coding->symbol so that it won't be overridden. | |
19830 | (run_pre_post_conversion_on_str): Likewise. | |
7c086845 KH |
19831 | (coding_system_accept_latin_extra_p): New function. |
19832 | (find_safe_codings): Pay attention to characters registered in | |
19833 | latin-extra-code-table. | |
2310d84c | 19834 | |
39c9a034 TTN |
19835 | 2003-04-07 Thien-Thi Nguyen <ttn@gnu.org> |
19836 | ||
19837 | * Makefile.in (md5.o): Add missing dependency info. | |
19838 | ||
eb67c5d6 RS |
19839 | 2003-04-06 Richard M. Stallman <rms@gnu.org> |
19840 | ||
19841 | * xselect.c (x_handle_selection_request): Move UNGCPRO to very end. | |
19842 | ||
19843 | * marker.c (verify_bytepos): New function. | |
19844 | ||
19845 | * intervals.c (set_intervals_multibyte_1): When becoming | |
19846 | multibyte, adjust right and left child sizes to a whole set of | |
19847 | characters. If an interval gets zero total-length, delete it. | |
19848 | If an interval consists of just its children, delete one of them. | |
19849 | ||
19850 | * intervals.h (CHECK_TOTAL_LENGTH): New macro. | |
19851 | * intervals.c: Add many calls to CHECK_TOTAL_LENGTH. | |
39c9a034 | 19852 | |
52eb0373 | 19853 | * alloc.c (VALIDATE_LISP_STORAGE): Macro deleted. |
eb67c5d6 RS |
19854 | All calls deleted. |
19855 | (lisp_malloc): Do the work here directly. | |
19856 | ||
b1f81fc5 JB |
19857 | 2003-04-06 Gareth Jones <emacs@referential.org.uk> (tiny change) |
19858 | ||
19859 | * fns.c (Flength): Return SUB_CHAR_TABLE_ORDINARY_SLOTS for sub | |
19860 | char tables. | |
19861 | ||
19862 | 2003-04-04 Kenichi Handa <handa@m17n.org> | |
aa8b70ae KH |
19863 | |
19864 | * editfns.c (Fformat): Use a copy of FORMAT string so that we can | |
19865 | destructively change "%S" to "%s". | |
19866 | ||
774666fb MB |
19867 | 2003-04-03 Miles Bader <miles@gnu.org> |
19868 | ||
19869 | * xfaces.c (choose_face_font): Make sure *NEEDS_OVERSTRIKE is | |
19870 | always set. | |
19871 | ||
19c37f01 DL |
19872 | 2003-04-01 Dave Love <fx@gnu.org> |
19873 | ||
19874 | * xfns.c (xpm_lookup_color): Grok "opaque". | |
19875 | ||
2f4b24c3 AC |
19876 | 2003-03-31 Andrew Choi <akochoi@shaw.ca> |
19877 | ||
19878 | * frame.c (x_report_frame_params) [HAVE_CARBON]: Do not report | |
19879 | parent window ID. | |
19880 | ||
19881 | * macfns.c (syms_of_macfns): Remove call to init_x_parm_symbols. | |
19882 | ||
19883 | * macterm.h (struct mac_output): Define x_pixels_diff and | |
19884 | y_pixels_diff. | |
b1f81fc5 | 19885 | |
9443fcf6 JB |
19886 | 2003-03-31 Juanma Barranquero <lektu@terra.es> |
19887 | ||
19888 | * makefile.w32-in ($(BLD)/frame.$(O)): Add dependency on | |
19889 | blockinput.h and files included from it. | |
19890 | ||
e072891b KS |
19891 | 2003-03-31 Kim F. Storm <storm@cua.dk> |
19892 | ||
19893 | The following changes consolidates the common code related to | |
19894 | frame-parameter handling from the xfns.c, w32fns.c, and macfns.c | |
19895 | files into frame.c. | |
9443fcf6 | 19896 | |
e072891b KS |
19897 | * frame.c: Include blockinput.h. |
19898 | (Vx_resource_name, Vx_resource_class, Qx_frame_parameter) | |
19899 | (Qx_resource_name, Qface_set_after_frame_default): Define vars here. | |
19900 | (Qauto_raise, Qauto_lower, ...): Define all frame parameter | |
19901 | related vars here. | |
19902 | (struct frame_parm_table, frame_parms): New table for describing | |
19903 | frame parameters and their associated Q-variable. | |
19904 | The order of the parameters corresponds to the sequence of the | |
19905 | frame_parm_handlers table in redisplay_interface. | |
19906 | (x_fullscreen_move, x_set_frame_parameters) | |
19907 | (x_report_frame_params, x_set_fullscreen, x_set_line_spacing) | |
19908 | (x_set_screen_gamma, x_set_font, x_set_fringe_width) | |
19909 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
19910 | (x_set_autoraise, x_set_autolower, x_set_unsplittable) | |
19911 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width, x_icon_type): | |
19912 | Generic functions for processing of frame parameters. | |
19913 | (validate_x_resource_name, xrdb_get_resource, Fx_get_resource) | |
19914 | (display_x_get_resource, x_get_resource_string): Functions for | |
19915 | generic access to X resources. | |
19916 | (x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg) | |
19917 | (x_default_parameter, Fx_parse_geometry): Functions for generic | |
19918 | access to frame parameters. | |
6901b111 SM |
19919 | (x_figure_window_size): Generic calculation of frame size. |
19920 | Fixed to add space needed for tool bar. Also setup size_hint_flags. | |
e072891b KS |
19921 | (syms_of_frame): Intern and staticpro frame parameter variables. |
19922 | Defvar_lisp Vx_resource_class and Vx_resource_name here. | |
19923 | Defsubr Sx_get_resource and Sx_parse_geometry. | |
9443fcf6 | 19924 | |
e072891b KS |
19925 | * frame.h (Qauto_raise, Qauto_lower, ...): Declare extern all frame |
19926 | parameter related vars defined in frame.c. | |
19927 | (EMACS_CLASS): Define here. | |
19928 | (enum FULLSCREEN_*): Define here. | |
19929 | (x_set_scroll_bar_default_width, x_wm_set_icon_position) | |
19930 | (x_set_offset, x_new_font, x_new_fontset): Add prototypes. | |
19931 | (x_fullscreen_adjust, x_set_frame_parameters, x_report_frame_params) | |
19932 | (x_set_fullscreen, x_set_line_spacing, x_set_screen_gamma, x_set_font) | |
19933 | (x_set_fringe_width, x_set_border_width, x_set_internal_border_width) | |
19934 | (x_set_visibility, x_set_autoraise, x_set_autolower) | |
19935 | (x_set_unsplittable, x_set_vertical_scroll_bars) | |
19936 | (x_set_scroll_bar_width, x_icon_type, validate_x_resource_name) | |
19937 | (x_figure_window_size): Add prototypes. | |
19938 | ||
19939 | * dispextern.h (frame_parm_handler): New typedef. | |
19940 | (struct redisplay_interface): New member frame_parm_handlers. | |
19941 | (enum resource_types): Move declaration here. | |
19942 | (x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg) | |
19943 | (x_default_parameter): Add prototypes. | |
19944 | ||
19945 | * window.c: Remove extern decl for frame parameter vars. | |
19946 | (change_window_heights): New generic function; | |
19947 | replaces x_change_window_heights. All users changed. | |
19948 | ||
19949 | * window.h (change_window_heights): Add prototype. | |
19950 | ||
19951 | * xfaces.c: Remove extern decl for frame parameter vars. | |
19952 | ||
19953 | * xterm.h (EMACS_CLASS): Remove. Use generic define. | |
19954 | (struct w32_display_info): Fix type of xrdb member. | |
19955 | (enum FULLSCREEN_*): Remove. | |
19956 | Remove prototypes for generic functions (in frame.h). | |
19957 | ||
19958 | * xfns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame | |
19959 | parameters now defined in frame.h and frame.c. | |
f63fd14e | 19960 | (Vx_resource_name): Remove. Use generic var. |
e072891b KS |
19961 | (enum x_frame_parms): Remove (bogus, unused enum). |
19962 | (check_x_display_info): Make non-static (for frame.c). | |
19963 | (struct x_frame_parm_table, x_frame_parms): Remove. | |
19964 | (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params) | |
19965 | (x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font) | |
19966 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
19967 | (x_change_window_heights, x_set_autoraise, x_set_autolower) | |
19968 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width) | |
19969 | (validate_x_resource_name, Fx_get_resource, x_get_resource_string) | |
19970 | (x_default_parameter, Fx_parse_geometry, x_figure_window_size): | |
19971 | Remove. Use generic functions instead. | |
19972 | (enum resource_types): Remove. | |
19973 | (x_set_scroll_bar_default_width): New global function (for frame.c). | |
19974 | (Fx_create_frame): Depend on x_figure_window_size to add space for | |
19975 | toolbar and setup size_hint_flags. | |
19976 | (x_frame_parm_handlers): New table for redisplay_interface. | |
19977 | (syms_of_xfns): Don't intern/staticpro removed vars. | |
9443fcf6 | 19978 | |
e072891b | 19979 | * xterm.c: Remove unnecessary extern declarations. |
f63fd14e | 19980 | (x_fullscreen_adjust): Remove. Use generic instead. |
e072891b KS |
19981 | (x_redisplay_interface): Add x_frame_parm_handlers member. |
19982 | ||
19983 | * w32gui.h (XrmDatabase): New (dummy) typedef. | |
19984 | ||
19985 | * w32term.h (EMACS_CLASS): Remove. Use generic define. | |
19986 | (struct w32_display_info): Fix type of xrdb member. | |
19987 | (enum FULLSCREEN_*): Remove. | |
19988 | (x_fullscreen_adjust): Remove prototype. | |
19989 | ||
19990 | * w32fns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame | |
19991 | parameters now defined in frame.h and frame.c. | |
f63fd14e | 19992 | (Vx_resource_name): Remove. Use generic var. |
e072891b KS |
19993 | (enum x_frame_parms): Remove (bogus, unused enum). |
19994 | (check_x_display_info): Make non-static (for frame.c). | |
19995 | (struct x_frame_parm_table, x_frame_parms): Remove. | |
19996 | (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params) | |
19997 | (x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font) | |
19998 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
19999 | (x_change_window_heights, x_set_autoraise, x_set_autolower) | |
20000 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width) | |
20001 | (validate_x_resource_name, Fx_get_resource, x_get_resource_string) | |
20002 | (x_default_parameter, Fx_parse_geometry, x_figure_window_size): | |
20003 | Remove. Use generic functions instead. | |
20004 | (enum resource_types): Remove. | |
20005 | (x_set_scroll_bar_default_width): New global function (for frame.c). | |
20006 | (Fx_create_frame): Depend on x_figure_window_size to add space for | |
20007 | toolbar and setup size_hint_flags. | |
20008 | (w32_frame_parm_handlers): New table for redisplay_interface. | |
20009 | (syms_of_w32fns): Don't intern/staticpro removed vars. | |
9443fcf6 | 20010 | |
e072891b | 20011 | * w32term.c: Remove unnecessary extern declarations. |
52eb0373 | 20012 | (x_fullscreen_adjust): Remove. Use generic instead. |
e072891b KS |
20013 | (x_redisplay_interface): Add w32_frame_parm_handlers member. |
20014 | ||
20015 | * w32reg.c (x_get_string_resource): Use XrmDatabase. | |
20016 | ||
20017 | * macgui.h (XrmDatabase): New (dummy) typedef. | |
20018 | ||
20019 | * macterm.h (EMACS_CLASS): Remove. | |
20020 | (struct mac_display_info): Add xrdb member. | |
20021 | (struct mac_output): Add want_fullscreen member. | |
20022 | ||
20023 | * macfns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame | |
20024 | parameters now defined in frame.h and frame.c. | |
f63fd14e | 20025 | (Vx_resource_name): Remove. Use generic var. |
e072891b KS |
20026 | (check_x_display_info): Make non-static (for frame.c). |
20027 | (struct x_frame_parm_table, x_frame_parms): Remove. | |
20028 | (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params) | |
20029 | (x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font) | |
20030 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
20031 | (x_change_window_heights, x_set_autoraise, x_set_autolower) | |
20032 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width) | |
20033 | (validate_x_resource_name, Fx_get_resource, x_get_resource_string) | |
20034 | (x_default_parameter, Fx_parse_geometry, x_figure_window_size): | |
20035 | Remove. Use generic functions instead. | |
20036 | (enum resource_types): Remove. | |
20037 | (x_set_scroll_bar_default_width): New global function (for frame.c). | |
20038 | (mac_frame_parm_handlers): New table for redisplay_interface. | |
20039 | (syms_of_macfns): Don't intern/staticpro removed vars. | |
9443fcf6 | 20040 | |
e072891b KS |
20041 | * macterm.c: Remove unnecessary extern declarations. |
20042 | (x_redisplay_interface): Add mac_frame_parm_handlers member. | |
20043 | ||
3e6a560b KS |
20044 | * Makefile.in (frame.o): Add dependency on blockinput.h and files |
20045 | included from it (atimer.h and systime.h). | |
20046 | ||
7b7b454e AS |
20047 | 2003-03-30 Andreas Schwab <schwab@suse.de> |
20048 | ||
20049 | * xdisp.c (x_insert_glyphs): Fix swapped width and height | |
20050 | parameters for shift_glyphs_for_insert. | |
20051 | ||
20052 | * macterm.c (x_redisplay_interface): Add missing entry for | |
20053 | draw_vertical_window_border. | |
20054 | ||
beb402de KG |
20055 | 2003-03-29 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@gmx.net> |
20056 | ||
20057 | * fileio.c (Fexpand_file_name): In the no-handler case, after | |
20058 | expanding, look again for a handler and invoke it. This is needed | |
20059 | for filenames like "/foo/../user@host:/bar/../baz" -- the first | |
20060 | expansion produces "/user@host:/bar/../baz" which needs to be | |
20061 | expanded again for the finame result "/user@host:/baz". | |
20062 | ||
b676f356 JD |
20063 | 2003-03-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20064 | ||
20065 | * gtkutil.c (xg_tool_bar_item_expose_callback): Reduce size | |
20066 | of area to be redrawn for better performance. | |
20067 | ||
3c671a56 SM |
20068 | 2003-03-28 Stefan Monnier <monnier@cs.yale.edu> |
20069 | ||
20070 | * xterm.c (take_vertical_position_into_account): Remove. | |
20071 | (xt_action_hook): Call set_vertical_scroll_bar if needed. | |
20072 | (XM_SB_MIN, XM_SB_RANGE): Remove (min is now set to 0). | |
20073 | (xm_scroll_callback, x_create_toolkit_scroll_bar) | |
20074 | (x_set_toolkit_scroll_bar_thumb): Simplify. | |
20075 | (x_scroll_bar_expose): Only compile if !USE_TOOLKIT_SCROLL_BARS. | |
20076 | (XTread_socket): Remove unused var. | |
20077 | (x_make_frame_invisible): Replace goto with else. | |
20078 | ||
20079 | * xdisp.c (set_vertical_scroll_bar): New fun. | |
20080 | (redisplay_window): Use it. | |
20081 | ||
84f2e615 RS |
20082 | 2003-03-26 Richard M. Stallman <rms@gnu.org> |
20083 | ||
20084 | * xdisp.c (update_tool_bar): Recompute tool bar if | |
20085 | update_mode_lines is set. Set w->update_mode_line | |
20086 | only if the tool bar contents actually change. | |
20087 | (update_menu_bar): Undo previous change. | |
20088 | ||
70b6104c JD |
20089 | 2003-03-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20090 | ||
5fd6f727 JD |
20091 | * gtkutil.c (xg_resize_widgets): Don't call xg_frame_cleared. |
20092 | (xg_frame_set_char_size): Calculate scroll bar width before frame | |
20093 | width. Call SET_FRAME_GARBAGED and cancel_mouse_face. | |
20094 | (xg_separator_p): Check for all documented separator types. | |
20095 | (xg_update_scrollbar_pos): Variable gheight not needed, use height. | |
20096 | (update_frame_tool_bar): Don't call gdk_window_process_all_updates. | |
20097 | ||
70b6104c JD |
20098 | * xdisp.c (update_menu_bar): Set w->update_mode_line to Qt |
20099 | so tool bar gets updated. | |
20100 | ||
d9b36d19 SM |
20101 | 2003-03-26 Stefan Monnier <monnier@cs.yale.edu> |
20102 | ||
20103 | * data.c (store_symval_forwarding): Re-instate part of the code | |
20104 | that was deleted with too much enthusiasm. | |
20105 | ||
20106 | 2003-03-25 Stefan Monnier <monnier@cs.yale.edu> | |
20107 | ||
20108 | * data.c (store_symval_forwarding): Delete special read-only | |
20109 | hack for type == -1, since we now use ->constant instead. | |
20110 | (Fkill_local_variable): Don't use XBUFFER if it can be nil. | |
20111 | ||
20112 | * buffer.c (overlays_in): Declare static. | |
20113 | (syms_of_buffer) <enable-multibyte-characters>: Use the symbol's | |
20114 | `constant' field rather than the variable's `type' field. | |
20115 | ||
365fa1b3 AC |
20116 | 2003-03-24 Andrew Choi <akochoi@shaw.ca> |
20117 | ||
20118 | * config.in [MAC_OSX]: Do not redefine bcopy, bzero, and bcmp. | |
20119 | ||
20120 | * dispextern.h [HAVE_CARBON]: Include Carbon.h. | |
20121 | ||
20122 | * fns.c [MAC_OSX]: Do not redefine vector. | |
20123 | ||
20124 | * keyboard.c [MAC_OSX]: Handle SIGINT with interrupt_signal. | |
20125 | ||
20126 | * macgui.h: Remove definition of No_Cursor. | |
20127 | ||
d9b36d19 | 20128 | * macterm.h: Include Carbon.h. Replace (struct Cursor *) by Cursor. |
365fa1b3 AC |
20129 | |
20130 | * xdisp.c: Define No_Cursor. | |
20131 | (x_write_glyphs, notice_overwritten_cursor) | |
20132 | (draw_phys_cursor_glyph, note_mode_line_or_margin_highlight) | |
20133 | (note_mouse_highlight): Remove Mac-specific code. | |
20134 | (note_mouse_highlight): Use bcmp instead of == to compare Cursors. | |
d9b36d19 | 20135 | |
c0bcce6f JPW |
20136 | 2003-03-24 John Paul Wallington <jpw@gnu.org> |
20137 | ||
20138 | * xdisp.c (redisplay_window): If mini window's buffer is not | |
20139 | empty, then redisplay it like other windows. | |
20140 | ||
a526b96c KS |
20141 | 2003-03-23 Kim F. Storm <storm@cua.dk> |
20142 | ||
20143 | * w32term.c (w32_draw_window_cursor): Fix last change. | |
20144 | ||
37ab321e KH |
20145 | 2003-03-23 Kenichi Handa <handa@m17n.org> |
20146 | ||
a526b96c KS |
20147 | * alloc.c (make_string_from_bytes, make_specified_string): |
20148 | Add `const' for the arg CONTENTS. | |
37ab321e KH |
20149 | |
20150 | * lisp.h (make_string_from_bytes, make_specified_string): | |
20151 | Prototypes adjusted. | |
20152 | ||
7863d625 JD |
20153 | 2003-03-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20154 | ||
14a56a1b | 20155 | * xdisp.c (get_glyph_string_clip_rect): Remove ; at end of #endif. |
fd4c9408 | 20156 | |
7863d625 JD |
20157 | * gtkutil.h: Take two more arguments to xg_update_scrollbar_pos. |
20158 | (XG_SB_RANGE): New define. | |
20159 | ||
20160 | * gtkutil.c (xg_fixed_handle_expose): New function. | |
20161 | (xg_create_frame_widgets): Call xg_fixed_handle_expose for | |
20162 | expose events. | |
20163 | (xg_update_scrollbar_pos): Take two more arguments, left and width | |
20164 | of scroll bar including borders. | |
20165 | Clear left and right part outside scroll bar separately as some | |
20166 | themes have bars that are not an even number of pixels. | |
d9b36d19 | 20167 | Don't set reallocate_redraws, don't call |
7863d625 JD |
20168 | gdk_window_process_all_updates. |
20169 | (xg_set_toolkit_scroll_bar_thumb): Upper value is fixed, | |
20170 | so no need to change it. Calculate size and value with XG_SB_RANGE. | |
20171 | ||
d9b36d19 SM |
20172 | * xterm.c (x_scroll_bar_create, XTset_vertical_scroll_bar): |
20173 | Pass left and width of scroll bar including borders to | |
7863d625 JD |
20174 | xg_update_scrollbar_pos. |
20175 | ||
af0ad939 TTN |
20176 | 2003-03-22 Thien-Thi Nguyen <ttn@gnu.org> |
20177 | ||
20178 | * Makefile.in: Make sure space precedes end-of-line backslashes. | |
20179 | ||
b22139fd KS |
20180 | 2003-03-22 Kim F. Storm <storm@cua.dk> |
20181 | ||
20182 | * xdisp.c (pixel_to_glyph_coords, glyph_to_pixel_coords): | |
20183 | Add generic versions here. Remove system specific versions | |
20184 | defined elsewhere. | |
20185 | ||
20186 | * dispextern.h (pixel_to_glyph_coords, glyph_to_pixel_coords): | |
20187 | Add prototypes. | |
20188 | ||
6e6410cf KS |
20189 | * xterm.h (STORE_NATIVE_RECT): New macro. |
20190 | ||
5c9cc435 KS |
20191 | 2003-03-21 Kim F. Storm <storm@cua.dk> |
20192 | ||
00c64fab SM |
20193 | * xdisp.c (get_glyph_string_clip_rect): |
20194 | Use FRAME_INTERNAL_BORDER_WIDTH. | |
5c9cc435 KS |
20195 | |
20196 | * dispextern.h (struct redisplay_interface): Add active_p | |
20197 | argument to draw_window_cursor member. All uses changed. | |
20198 | ||
acd37560 KS |
20199 | 2003-03-21 Kim F. Storm <storm@cua.dk> |
20200 | ||
20201 | The following changes consolidate code related to writing and | |
20202 | inserting glyphs, exposing frame, the tool bar, the mouse face, | |
20203 | the output cursor, and help echo from xterm.c, w32term.c and | |
20204 | macterm.c into xdisp.c. It also generalizes the use of the | |
20205 | window_part enum instead of using numeric values throughout. | |
af0ad939 | 20206 | |
acd37560 KS |
20207 | * xdisp.c: Consolidate gui-independent code here. |
20208 | Include keymap.h. | |
20209 | (Qhelp_echo): Import. | |
20210 | (mouse_autoselect_window, x_stretch_cursor_p): Declare here. | |
20211 | (help_echo_string, help_echo_window, help_echo_object) | |
20212 | (previous_help_echo_string, help_echo_pos): Declare here. | |
20213 | (output_cursor, last_mouse_frame, last_tool_bar_item): Declare here. | |
20214 | (estimate_mode_line_height): Define here. Handle windowing | |
20215 | systems directly (without using estimate_mode_line_height_hook). | |
20216 | (x_y_to_hpos_vpos, get_tool_bar_item, note_tool_bar_highlight): | |
20217 | (update_window_cursor, update_cursor_in_window_tree) | |
20218 | (fast_find_position, fast_find_string_pos) | |
20219 | (note_mode_line_highlight, note_mode_line_or_margin_highlight) | |
20220 | (expose_area, expose_line, expose_overlaps, expose_window) | |
20221 | (expose_window_tree, phys_cursor_in_rect_p): New generic versions; | |
20222 | declared static as they are only used locally in xdisp.c. | |
20223 | (draw_glyphs): Rename from x_draw_glyphs and make static. | |
20224 | (tool_bar_item_info, notice_overwritten_cursor): Make static. | |
20225 | (frame_to_window_pixel_xy, get_glyph_string_clip_rect) | |
20226 | (set_output_cursor, x_cursor_to, handle_tool_bar_click) | |
af0ad939 | 20227 | (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line): |
acd37560 KS |
20228 | (x_fix_overlapping_area, draw_phys_cursor_glyph, erase_phys_cursor) |
20229 | (display_and_set_cursor, x_update_cursor, x_clear_cursor) | |
20230 | (show_mouse_face, clear_mouse_face, cursor_in_mouse_face_p) | |
20231 | (note_mouse_highlight, x_clear_window_mouse_face) | |
20232 | (cancel_mouse_face, x_draw_vertical_border, expose_frame) | |
20233 | (x_intersect_rectangles): New generic functions for use by xdisp.c | |
20234 | and GUI front-ends. | |
20235 | (syms_of_xdisp): Initialize and staticpro help_echo* variables. | |
20236 | Defvar_bool "x-streach-cursor" and "mouse-autoselect-window" here. | |
20237 | ||
20238 | * dispextern.h (Display_Info): Generic typedef for *_display_info. | |
20239 | (NativeRectangle): Generic typedef for rectangle type. | |
20240 | (enum window_part): Move here from window.c. | |
20241 | (struct redisplay_interface): New members flush_display_optional, | |
20242 | define_frame_cursor, clear_frame_area, draw_window_cursor, | |
20243 | draw_vertical_window_border, shift_glyphs_for_insert. | |
20244 | Rename member clear_mouse_face to clear_window_mouse_face. | |
20245 | (estimate_mode_line_height_hook): Remove hook. | |
20246 | (auto_raise_tool_bar_buttons_p): Don't declare extern. | |
20247 | (tool_bar_item_info): Remove prototype. | |
20248 | (help_echo_string, help_echo_window, help_echo_object) | |
20249 | (previous_help_echo_string, help_echo_pos) | |
20250 | (last_mouse_frame, last_tool_bar_item, mouse_autoselect_window): | |
20251 | (x_stretch_cursor_p, output_cursor): Declare extern. | |
20252 | (x_draw_glyphs, notice_overwritten_cursor): Remove prototypes. | |
20253 | (x_write_glyphs), x_insert_glyphs, x_clear_end_of_line) | |
20254 | (x_fix_overlapping_area, draw_phys_cursor_glyph, erase_phys_cursor) | |
20255 | (display_and_set_cursor, set_output_cursor, x_cursor_to) | |
20256 | (x_update_cursor, x_clear_cursor, x_draw_vertical_border) | |
20257 | (frame_to_window_pixel_xy, get_glyph_string_clip_rect) | |
20258 | (note_mouse_highlight, x_clear_window_mouse_face, cancel_mouse_face) | |
20259 | (handle_tool_bar_click, clear_mouse_face, show_mouse_face) | |
20260 | (cursor_in_mouse_face_p, expose_frame, x_intersect_rectangles): | |
20261 | Add prototypes. | |
20262 | (mode_line_string, marginal_area_string): Fix prototypes. | |
20263 | ||
20264 | * window.c (enum window_part): Move to dispextern.h. | |
20265 | (coordinates_in_window): Use enum window_part member names | |
20266 | instead of numbers to describe return value. | |
20267 | (struct check_window_data): Change part member to window_part. | |
20268 | (check_window_containing): Return window_part unaltered. | |
20269 | (window_from_coordinates): Change part arg from int to enum | |
20270 | window_part. Allow part arg to be null. All users changed. | |
20271 | ||
20272 | * window.h (window_from_coordinates): Fix prototype. | |
20273 | ||
20274 | * term.c (estimate_mode_line_height): Move to xdisp.c. | |
20275 | ||
20276 | * keyboard.c (make_lispy_event): Use enum window_part. | |
20277 | ||
20278 | * dispnew.c (mode_line_string, marginal_area_string): Use enum | |
20279 | window_part instead of int in arg list. Users changed. | |
20280 | ||
20281 | * xterm.h (No_Cursor): Declare as None for X. | |
20282 | (struct mac_output): Replace member cross_cursor by hand_cursor. | |
af0ad939 | 20283 | |
acd37560 KS |
20284 | * xterm.c: Remove consolidated defines and code. |
20285 | (BETWEEN): Remove unused macro. | |
20286 | (x_draw_vertical_window_border, x_shift_glyphs_for_insert) | |
20287 | (x_define_frame_cursor, x_clear_frame_area) | |
20288 | (x_draw_window_cursor): New X-specific functions for RIF. | |
20289 | (x_redisplay_interface): Add new members. | |
20290 | ||
20291 | * xfns.c: Setup and use hand_cursor instead of cross_cursor. | |
20292 | ||
20293 | * w32term.h (struct w32_output): Remove cross_cursor member. | |
20294 | ||
20295 | * w32term.c: Remove consolidated defines and code. | |
20296 | (BETWEEN): Remove unused macro. | |
20297 | (w32_draw_vertical_window_border, w32_shift_glyphs_for_insert) | |
20298 | (w32_define_frame_cursor, w32_clear_frame_area) | |
20299 | (w32_draw_window_cursor): New W32-specific functions for RIF. | |
20300 | (w32_redisplay_interface): Add new members. | |
20301 | ||
a64387ee | 20302 | * w32gui.h (No_Cursor): Define as 0 for W32. |
acd37560 KS |
20303 | (XRectangle): Add X compatible rectangle type. |
20304 | (NativeRectangle): Declare as RECT for W32. | |
20305 | (CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros. | |
20306 | ||
20307 | * w32fns.c: Remove setup of cross_cursor (already has hand_cursor). | |
20308 | ||
20309 | * w32console.c: Remove consolidated defines and code. | |
af0ad939 | 20310 | |
acd37560 KS |
20311 | * msdos.h (Display_Info): Add generic typedef. |
20312 | ||
20313 | * msdos.c: Remove consolidated defines and code. | |
20314 | (IT_note_mouse_highlight, dos_rawgetc): Use enum window_part. | |
20315 | ||
20316 | * macterm.h (struct mac_output): Replace member cross_cursor by | |
20317 | hand_cursor. | |
20318 | (activate_scroll_bars, deactivate_scroll_bars): Add prototypes. | |
20319 | ||
20320 | * macterm.c: Remove consolidated defines and code. | |
20321 | (BETWEEN): Remove unused macro. | |
20322 | (mac_draw_vertical_window_border, mac_shift_glyphs_for_insert) | |
20323 | (mac_define_frame_cursor, mac_clear_frame_area) | |
20324 | (mac_draw_window_cursor): New Mac-specific functions for RIF. | |
20325 | (x_redisplay_interface): Add new members. | |
20326 | ||
20327 | * macgui.h (No_Cursor): Define as 0 for Mac. | |
20328 | (XRectangle): Add X compatible rectangle type. | |
20329 | (NativeRectangle): Declare as Rect for Mac. | |
20330 | (CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros. | |
20331 | ||
204ccab1 KS |
20332 | * macfns.c (x_set_mouse_color): Setup hand_cursor. |
20333 | (x_set_cursor_color): Use x_display_and_set_cursor. | |
acd37560 | 20334 | |
9443fcf6 | 20335 | * Makefile.in (xdisp.o): Add dependency on blockinput.h and files |
acd37560 KS |
20336 | included from it. Add dependency on keymap.h. |
20337 | ||
20338 | * makefile.w32-in (xdisp.o): Add dependency on keymap.h. | |
20339 | ||
8ba01a70 | 20340 | 2003-03-21 Kenichi Handa <handa@m17n.org> |
3f817c73 KH |
20341 | |
20342 | * fileio.c (Fexpand_file_name): Fix previous change. | |
20343 | ||
8ba01a70 | 20344 | 2003-03-19 Kenichi Handa <handa@m17n.org> |
4f497b0a KH |
20345 | |
20346 | * fileio.c (Ffile_name_directory): Reconstruct file name by | |
20347 | make_specified_string. | |
20348 | (Ffile_name_nondirectory, Ffile_name_as_directory) | |
20349 | (Fdirectory_file_name, Fexpand_file_name) | |
20350 | (Fsubstitute_in_file_name): Likewise. | |
20351 | (Fread_file_name): Compare decoded homedir with DIR and | |
20352 | DEFAULT_FILENAME. | |
20353 | ||
20354 | * alloc.c (make_specified_string): If NCHARS is negative, count | |
20355 | the number of characters. | |
20356 | ||
19536747 JD |
20357 | 2003-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20358 | ||
de38ae5a JD |
20359 | * gtkutil.c (xg_frame_cleared): Call gtk_widget_queue_draw for |
20360 | all widgets. | |
20361 | ||
19536747 JD |
20362 | * gtkutil.h: Removed xg_ignore_next_thumb. |
20363 | ||
37ab321e | 20364 | 2003-03-18 Kenichi Handa <handa@m17n.org> |
cb0d4562 KH |
20365 | |
20366 | * coding.c (Vchar_coding_system_table): Remove this variable. | |
20367 | (Vcoding_system_safe_chars): New variable. | |
20368 | (intersection): Remove this function. | |
20369 | (find_safe_codings): Don't use Vchar_coding_system_table, but try | |
20370 | all codings in SAFE_CODINGS. | |
00c64fab | 20371 | (Ffind_coding_systems_region_internal): Adjust for the change of |
cb0d4562 KH |
20372 | find_safe_codings. Get generic coding systems from |
20373 | Vcoding_system_safe_chars. | |
20374 | (Fdefine_coding_system_internal): New function. | |
20375 | (syms_of_coding): Defsubr Sdefine_coding_system_internal. | |
20376 | Initialize and staticpro Vcoding_system_safe_chars. | |
20377 | ||
17097258 JD |
20378 | 2003-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20379 | ||
2a2071c3 JD |
20380 | * gtkutil.c (xg_set_toolkit_scroll_bar_thumb): Check if new values |
20381 | equal old values before updating. | |
20382 | ||
17097258 JD |
20383 | * xterm.c (xg_scroll_callback): Remove xg_ignore_next_thumb. |
20384 | ||
20385 | * gtkutil.c (xg_initialize): Remove xg_ignore_next_thumb. | |
20386 | ||
20387 | 2003-03-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
20388 | ||
20389 | * gtkutil.c: Removed handle_fixed_child, struct xg_last_sb_pos. | |
20390 | (xg_resize_widgets): Don't call foreach(handle_fixed_child). | |
20391 | (xg_gtk_scroll_destroy): Remove free of struct xg_last_sb_pos. | |
14a56a1b | 20392 | (scroll_bar_button_cb): Set bar->dragging to nil on button release. |
17097258 JD |
20393 | (xg_create_scroll_bar): Pass bar to button event callback. |
20394 | (xg_find_top_left_in_fixed): New function. | |
20395 | (xg_update_scrollbar_pos): Don't call gdk_window_clear on | |
20396 | whole scroll bar area. Get old position with | |
20397 | xg_find_top_left_in_fixed, calculate and only clear needed areas. | |
20398 | (xg_set_toolkit_scroll_bar_thumb): Do not adjust scroll bar if | |
20399 | dragging is in progress. Calculate whole as for Motif. | |
20400 | Remove code that saved last values. Call gtk_range functions to | |
20401 | set scroll bar sizes. | |
20402 | ||
20403 | * gtkutil.h: Removed xg_ignore_next_thumb. | |
20404 | ||
8cb9dfbf JB |
20405 | 2003-03-17 Juanma Barranquero <lektu@terra.es> |
20406 | ||
20407 | * makefile.w32-in ($(BLD)/xdisp.$(O)): Add dependency on blockinput.h | |
20408 | and files included from it. | |
20409 | ||
00c64fab SM |
20410 | 2003-03-18 Stefan Monnier <monnier@cs.yale.edu> |
20411 | ||
20412 | * keymap.c (accessible_keymaps_1): Break cycles but without preventing | |
20413 | multiple occurrences of the same keymap under different prefixes. | |
20414 | (Faccessible_keymaps): Remove code redundant since 1994-08-03T07:39:00Z!rms@gnu.org. | |
20415 | ||
c45bb3b2 JR |
20416 | 2003-03-16 Jason Rumney <jasonr@gnu.org> |
20417 | ||
20418 | * w32gui.h: Use HDC for Display. | |
20419 | ||
20420 | * w32term.c (w32_encode_char): Prevent double-byte chars from | |
20421 | crashing Emacs. | |
20422 | ||
20423 | * w32fns.c (jpeg_load, png_load, slurp_file): Read image files | |
20424 | as binary. | |
20425 | ||
2a6d0874 JB |
20426 | 2003-03-16 Juanma Barranquero <lektu@terra.es> |
20427 | ||
20428 | * xdisp.c (x_produce_glyphs): Use FRAME_BASELINE_OFFSET. | |
20429 | ||
03eb5fab KS |
20430 | 2003-03-16 Kim F. Storm <storm@cua.dk> |
20431 | ||
20432 | The following changes consolidate some of the gui-independent | |
20433 | parts of the processing and drawing of "glyph strings" from | |
20434 | xterm.c, w32term.c, and macterm.c into xdisp.c. | |
2a6d0874 | 20435 | |
03eb5fab KS |
20436 | * dispextern.h (struct glyph): Reduce face_id member from 22 to |
20437 | 21 bits (this reduces number of faces from 4M to 2M). | |
20438 | Replace W32 specific w32_font_type member (2 bits) by generic | |
20439 | font_type member (3 bits) for portability. | |
20440 | (FONT_TYPE_UNKNOWN): New define, default for font_type member. | |
20441 | (enum draw_glyphs_face): Define here. | |
20442 | (struct glyph_string): Define here. Merge W32 and X versions. | |
20443 | (struct redisplay_interface): New members per_char_metric, | |
20444 | encode_char, compute_glyph_string_overhangs, draw_glyph_string. | |
20445 | (VCENTER_BASELINE_OFFSET): Define here. | |
20446 | (dump_glyph_string, x_get_glyph_overhangs, x_produce_glyphs) | |
20447 | (x_draw_glyphs, notice_overwritten_cursor): Declare prototypes here. | |
20448 | ||
20449 | * xdisp.c: Consolidate gui-independent "glyph string" code here. | |
20450 | (dump_glyph_string): Moved here. | |
20451 | (init_glyph_string, append_glyph_string_lists, append_glyph_string) | |
20452 | (prepend_glyph_string_lists, get_glyph_face_and_encoding) | |
20453 | (fill_composite_glyph_string, fill_glyph_string) | |
20454 | (fill_image_glyph_string, fill_stretch_glyph_string) | |
20455 | (left_overwritten, left_overwriting, right_overwritten) | |
20456 | (right_overwriting, get_char_face_and_encoding) | |
20457 | (set_glyph_string_background_width, compute_overhangs_and_x) | |
20458 | (append_glyph, append_composite_glyph, produce_image_glyph) | |
20459 | (take_vertical_position_into_account, append_stretch_glyph) | |
20460 | (produce_stretch_glyph): New generic functions (based on X version). | |
20461 | Call platform specific functions through rif. | |
20462 | (INIT_GLYPH_STRING): New macro, hides W32 details. | |
20463 | (BUILD_STRETCH_GLYPH_STRING, BUILD_IMAGE_GLYPH_STRING) | |
20464 | (BUILD_CHAR_GLYPH_STRINGS, BUILD_COMPOSITE_GLYPH_STRING) | |
20465 | (BUILD_GLYPH_STRINGS): Generic macros (based on X version). | |
20466 | (x_draw_glyphs, x_get_glyph_overhangs, x_produce_glyphs) | |
20467 | (notice_overwritten_cursor): | |
20468 | Generic functions exported to platform modules. Users changed. | |
20469 | ||
20470 | * xterm.h (FONT_DESCENT, FRAME_X_OUTPUT, FRAME_BASELINE_OFFSET) | |
20471 | (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE) | |
20472 | (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): | |
fad49844 | 20473 | New macros for consolidated code. |
2a6d0874 | 20474 | |
03eb5fab KS |
20475 | * xterm.c: Remove consolidated defines and code. |
20476 | (x_per_char_metric, x_encode_char) | |
20477 | (x_compute_glyph_string_overhangs): Adapt to RIF requirements. | |
20478 | (x_redisplay_interface): Add new members. | |
20479 | ||
20480 | * w32gui.h (Display): Add dummy typedef for consolidation. | |
20481 | (XChar2b): Define alias for wchar_t for consolidation. | |
20482 | (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): New macros. | |
20483 | ||
20484 | * w32term.h (FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY) | |
2a6d0874 | 20485 | (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): |
03eb5fab KS |
20486 | New macros for consolidation. |
20487 | ||
fad49844 | 20488 | * w32term.c: Remove consolidated defines and code. |
03eb5fab KS |
20489 | (BUILD_WCHAR_T, BYTE1, BYTE2): Macros removed; callers changed |
20490 | to use STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2 instead. | |
20491 | (w32_per_char_metric): Change font_type arg to int for RIF. | |
20492 | (w32_encode_char): Return int according to RIF requirements. | |
20493 | (w32_compute_glyph_string_overhangs): Adapt to RIF. | |
20494 | (w32_get_glyph_overhangs): New function for RIF. Uses generic | |
20495 | x_get_glyph_overhangs. | |
20496 | (w32_redisplay_interface): Add new members. | |
20497 | ||
20498 | * macgui.h (XChar2b): Move typedef here for consolidation. | |
20499 | (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): New macros. | |
20500 | ||
20501 | * macterm.h (FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY): | |
20502 | (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): New macros for | |
20503 | consolidation. | |
20504 | ||
20505 | * macterm.c: Remove consolidated defines and code. | |
20506 | (mac_per_char_metric): New function for RIF. | |
00c64fab | 20507 | (mac_encode_char): Adapt to new RIF requirements. |
03eb5fab KS |
20508 | (mac_compute_glyph_string_overhangs): Adapt for RIF. |
20509 | (x_redisplay_interface): Add new members. | |
20510 | ||
00c64fab SM |
20511 | 2003-03-15 Stefan Monnier <monnier@cs.yale.edu> |
20512 | ||
20513 | * keymap.c (Vmenu_events): New var. | |
20514 | (syms_of_keymap): Initialize it. | |
20515 | (where_is_internal): Check more carefully what is a menu event. | |
20516 | ||
225c7a07 RS |
20517 | 2003-03-14 Richard M. Stallman <rms@gnu.org> |
20518 | ||
20519 | * lread.c (read1): After #!, exit loop on eof. | |
20520 | ||
cea9be54 JD |
20521 | 2003-03-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20522 | ||
9ea0e54d JD |
20523 | * gtkutil.h: Add declaration for xg_frame_cleared. |
20524 | ||
0cb35f4e JD |
20525 | * xterm.c (x_clear_frame): Call xg_frame_cleared for GTK. |
20526 | ||
cea9be54 JD |
20527 | * gtkutil.c (struct xg_last_sb_pos): New structure. |
20528 | (handle_fixed_child): New function. | |
20529 | (xg_resize_widgets): Call handle_fixed_child on all scroll bar widgets | |
20530 | and force a redraw on them. | |
20531 | (xg_gtk_scroll_destroy): Free struct xg_last_sb_pos also. | |
20532 | (xg_create_scroll_bar): Add struct xg_last_sb_pos to scroll bar | |
20533 | so we can avoid unneeded redraws. | |
20534 | (xg_update_scrollbar_pos): Invalidate data in xg_last_sb_pos | |
20535 | and force a redraw on the scroll bar. | |
20536 | (xg_set_toolkit_scroll_bar_thumb): Do not change/redraw scroll bar | |
20537 | if xg_last_sb_pos shows the positions are up to date. | |
0cb35f4e | 20538 | (xg_frame_cleared): New function. |
cea9be54 | 20539 | |
20b853f3 KH |
20540 | 2003-03-13 Kenichi Handa <handa@m17n.org> |
20541 | ||
20542 | * coding.c (Fdetect_coding_region): Fix docstring. | |
20543 | (Fdetect_coding_string): Fix docstring. | |
20544 | ||
7a555aff AS |
20545 | 2003-03-13 Andreas Schwab <schwab@suse.de> |
20546 | ||
25cc0080 AS |
20547 | * gtkutil.c: Add prototype for create_menus. |
20548 | ||
30225431 AS |
20549 | * data.c (long_to_cons): Fix type of top. |
20550 | ||
20551 | * xselect.c (selection_data_to_lisp_data): Use int instead of | |
20552 | long for an integer of size 4. | |
20553 | ||
7a555aff | 20554 | * gtkutil.c (xg_update_frame_menubar): Add missing return value. |
30225431 | 20555 | (xg_tool_bar_help_callback): Likewise. |
7a555aff | 20556 | |
a3e4741f AS |
20557 | 2003-03-12 Andreas Schwab <schwab@suse.de> |
20558 | ||
20559 | * xterm.c (x_term_init) [USE_GTK]: Fix typo. | |
20560 | ||
9668be7c KS |
20561 | 2003-03-12 Kim F. Storm <storm@cua.dk> |
20562 | ||
03eb5fab | 20563 | The following changes consolidate the fringe handling from |
9668be7c | 20564 | xterm.c, w32term.c, and macterm.c into xdisp.c. |
00a88f32 | 20565 | |
9668be7c KS |
20566 | * xdisp.c: Consolidate fringe handling code here. |
20567 | (left_bits, right_bits, continued_bits, continuation_bits) | |
20568 | (ov_bits, zv_bits): Define fringe bitmaps. | |
20569 | (fringe_bitmaps): New array holding fringe bitmaps. | |
20570 | (draw_fringe_bitmap): Draw a specific bitmap; call display | |
20571 | specific drawing routine via rif->draw_fringe_bitmap. | |
20572 | (draw_row_fringe_bitmaps): Generic replacement for | |
20573 | x_draw_row_fringe_bitmaps; all callers changed. | |
20574 | (compute_fringe_widths): Generic replacement for | |
20575 | x_compute_fringe_widths; all callers changed. | |
20576 | ||
20577 | * dispextern.h (enum fringe_bitmap_type): Define here. | |
20578 | (struct fringe_bitmap, struct draw_fringe_bitmap_params): New. | |
20579 | (fringe_bitmaps): Declare extern. | |
20580 | (struct redisplay_interface): New member draw_fringe_bitmap. | |
20581 | (draw_row_fringe_bitmaps, compute_fringe_widths): Declare extern. | |
20582 | ||
20583 | * xterm.c: Remove generic fringe code. | |
20584 | (x_draw_fringe_bitmap): Only perform actual fringe drawing. | |
20585 | (x_redisplay_interface): Add x_draw_fringe_bitmap member. | |
20586 | ||
20587 | * w32term.c: Remove generic fringe code. | |
20588 | (w32_draw_fringe_bitmap): Only perform actual fringe drawing. | |
20589 | (w32_redisplay_interface): Add w32_draw_fringe_bitmap member. | |
00a88f32 | 20590 | |
9668be7c KS |
20591 | * macterm.c: Remove generic fringe code. |
20592 | (x_draw_fringe_bitmap): Only perform actual fringe drawing. | |
20593 | (x_redisplay_interface): Add x_draw_fringe_bitmap member. | |
20594 | ||
00a88f32 SM |
20595 | 2003-03-11 Stefan Monnier <monnier@cs.yale.edu> |
20596 | ||
20597 | * print.c (Fprin1_to_string): Return unibyte string if possible. | |
20598 | ||
1d1de695 DK |
20599 | 2003-03-09 David Kastrup <dak@gnu.org> |
20600 | ||
20601 | * process.c (read_process_output): We have allocated enough space | |
20602 | for readmax and carryover, so actually use the alloted space. | |
20603 | ||
257f40f2 JD |
20604 | 2003-03-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20605 | ||
20606 | * keyboard.c (make_lispy_event): Extend mouse_syms if needed for | |
20607 | toolkit scrollbar click. | |
20608 | ||
20609 | * xterm.c (x_window_to_scroll_bar): Call xg_get_scroll_id_for_window | |
20610 | for USE_GTK. | |
20611 | (x_scroll_bar_handle_click): Use this function for toolkit scrollbars | |
20612 | also. | |
1d1c7e75 | 20613 | (handle_one_xevent): ButtonPress/Release: If event is for a toolkit |
257f40f2 | 20614 | scrollbar and control is pressed, call x_scroll_bar_handle_click. |
00a88f32 | 20615 | |
78819ebb | 20616 | * gtkutil.h (xg_get_scroll_id_for_window): Declare. |
257f40f2 JD |
20617 | |
20618 | * gtkutil.c (xg_get_scroll_id_for_window): New function. | |
20619 | (xg_tool_bar_item_expose_callback): New function. | |
20620 | (xg_tool_bar_expose_callback): Call update_frame_tool_bar. | |
20621 | (xg_create_tool_bar): Connect xg_tool_bar_expose_callback to expose | |
20622 | on the tool bar widget. | |
20623 | (update_frame_tool_bar): Connect xg_tool_bar_item_expose_callback | |
20624 | to expose on the tool bar item widgets. | |
20625 | ||
15213141 JD |
20626 | 2003-03-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20627 | ||
26b74a0b | 20628 | * gtkutil.c (update_frame_tool_bar): Compare pixmap ID instead of |
00a88f32 | 20629 | struct image* when deciding to update (struct image* may have been |
26b74a0b JD |
20630 | deleted from the image cache). |
20631 | ||
15213141 JD |
20632 | * xterm.c (handle_one_xevent): Pass ReparentNotify to Xt even if |
20633 | the event isn't for a frame (i.e. for dialogs). | |
20634 | ||
20b853f3 | 20635 | 2003-03-07 Kenichi Handa <handa@m17n.org> |
cb681b34 KH |
20636 | |
20637 | * coding.c (CODING_ADD_COMPOSITION_COMPONENT): If the number of | |
20638 | composition components reaches the limit, terminate composing. | |
20639 | (COMPOSITION_OK): New macro. | |
00a88f32 | 20640 | (detect_coding_iso2022): Use it if an escape sequence for |
cb681b34 KH |
20641 | composition is found. |
20642 | (coding_restore_composition): Adjust the number of composition | |
20643 | components if it is not sane. | |
20644 | ||
c9029fe5 JB |
20645 | 2003-03-06 Juanma Barranquero <lektu@terra.es> |
20646 | ||
20647 | * w32term.h (struct w32_display_info): Add xrdb member to support | |
20648 | passing resources via -xrm on Windows. | |
20649 | ||
20650 | * w32term.c (w32_make_rdb): New function. | |
20651 | (w32_term_init): Use it to initialize xrdb member of w32_display_info | |
20652 | struct. Delete leftover code. | |
20653 | ||
20654 | * w32fns.c (Fx_get_resource, x_get_resource_string): Pass xrdb to check | |
20655 | for resources passed on the command line. | |
20656 | ||
20657 | * w32reg.c (w32_get_rdb_resource): New function. | |
20658 | (x_get_string_resource): Use it, so resources passed with -xrm | |
20659 | supercede the ones in the registry. | |
20660 | ||
9d00001f JD |
20661 | 2003-03-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20662 | ||
20663 | * xterm.c (x_detect_focus_change): Call x_any_window_to_frame | |
20664 | instead of x_top_window_to_frame. | |
20665 | ||
ca2417b9 JD |
20666 | 2003-03-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20667 | ||
20668 | * xsmfns.c (smc_save_yourself_CB): Add --no-splash to options | |
20669 | when restarting Emacs. | |
20670 | ||
5b20caf0 RS |
20671 | 2003-03-03 Richard M. Stallman <rms@gnu.org> |
20672 | ||
20673 | * buffer.c (Fkill_buffer): Use Frun_hook_with_args_until_failure | |
20674 | to run kill-buffer-query-functions. | |
20675 | (Qkill_buffer_query_functions): New var. | |
20676 | (syms_of_buffer): Init and staticpro it. | |
20677 | ||
58e91b77 JD |
20678 | 2003-03-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20679 | ||
20680 | * xterm.h (XSync): Define as gdk_window_process_all_updates for GTK. | |
20681 | ||
932357b4 KS |
20682 | 2003-02-25 Kim F. Storm <storm@cua.dk> |
20683 | ||
20684 | * xdisp.c (redisplay_window): Fix infinite loop in redisplay. | |
20685 | If centering point failed to make whole line visible and vscroll | |
20686 | is non-zero, disable vscroll and try centering point again. | |
20687 | ||
20688 | * lread.c (read1): Accept `single space' syntax like (? x). | |
20689 | ||
bb8db7e1 JD |
20690 | 2003-02-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20691 | ||
20692 | * keyboard.c (cancel_hourglass_unwind): Surround with | |
14a56a1b | 20693 | #ifdef HAVE_X_WINDOWS. |
bb8db7e1 | 20694 | |
47d77aab KH |
20695 | 2003-02-25 Kenichi Handa <handa@m17n.org> |
20696 | ||
20697 | * buffer.c (Fset_buffer_multibyte): Pay attention to the buffer | |
20698 | process only when "subprocesses" is defined. | |
20699 | ||
6a097c0c SM |
20700 | 2003-02-24 Stefan Monnier <monnier@cs.yale.edu> |
20701 | ||
20702 | * syntax.c (back_comment): Only check nestedness of 2nd char if needed. | |
20703 | ||
0b063c27 JB |
20704 | 2003-02-24 Juanma Barranquero <lektu@terra.es> |
20705 | ||
d1135afc JB |
20706 | * callint.c (fix_command): Declare as static void and move before |
20707 | Fcall_interactively. | |
20708 | ||
0b063c27 JB |
20709 | * xdisp.c (Qwhen): Declare external; it's now defined in callint.c. |
20710 | (syms_of_xdisp): Don't initialize Qwhen. | |
20711 | ||
0af912f0 JD |
20712 | 2003-02-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20713 | ||
20714 | * keyboard.c (cancel_hourglass_unwind): New function. | |
20715 | (command_loop_1): Cancel hourglass with unwind-protect. | |
20716 | ||
120d0a23 RS |
20717 | 2003-02-23 Richard M. Stallman <rms@gnu.org> |
20718 | ||
20719 | * callint.c (fix_command): New subroutine, from Fcall_interactively. | |
20720 | Detect (when ... (region-beginning)) etc. | |
20721 | (Fcall_interactively): Call fix_command. | |
20722 | (Qif, Qwhen): New variables. | |
20723 | (syms_of_callint): Init and staticpro them. | |
0b063c27 | 20724 | |
120d0a23 RS |
20725 | * regex.c (print_partial_compiled_pattern): Output to stderr. |
20726 | ||
4ece81a6 KG |
20727 | 2003-02-23 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@uni-duisburg.de> |
20728 | ||
20729 | * dired.c (directory_files_internal): Don't expand directory. | |
20730 | (Fdirectory_files, Fdirectory_files_and_attributes): Do it here | |
20731 | instead. From Lars Hansen <larsh@math.ku.dk>. | |
20732 | ||
e52bd6b7 SM |
20733 | 2003-02-22 Stefan Monnier <monnier@cs.yale.edu> |
20734 | ||
20735 | * fns.c (string_to_multibyte): Remove unused var i. | |
20736 | (Flanginfo): Fix int/Lisp_Object mixup. | |
20737 | (void_call2): New fun. | |
20738 | (Fmap_char_table): Use it in place of call2. | |
20739 | ||
20740 | * xfaces.c (x_face_list_fonts): Fix int/Lisp_Object mixup. | |
20741 | ||
20742 | * macros.c (Fstart_kbd_macro): Remove redundant assignment. | |
20743 | ||
20744 | * keymap.c (copy_keymap_1): Make it static. | |
20745 | ||
20746 | * alloc.c (Fgarbage_collect): Don't use XSETFLOAT. | |
20747 | ||
c33ef7c4 JB |
20748 | 2003-02-22 David Ponce <david@dponce.com> |
20749 | ||
20750 | * lread.c (Fload): Don't check STRING_MULTIBYTE. | |
20751 | ||
16782258 JD |
20752 | 2003-02-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20753 | ||
20754 | * process.h: Removed subtty field from struct Lisp_Process. | |
20755 | ||
20756 | * process.c (create_process): Remove setting of subtty. | |
20757 | (emacs_get_tty_pgrp): New function. | |
e52bd6b7 SM |
20758 | (Fprocess_running_child_p, process_send_signal): |
20759 | Call emacs_get_tty_pgrp instead of ioctl. | |
16782258 JD |
20760 | (process_send_signal): Call EMACS_KILLPG if ioctl TIOCSIGSEND fails. |
20761 | ||
3abeca61 KG |
20762 | 2003-02-21 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@uni-duisburg.de> |
20763 | ||
20764 | * keymap.c (Fdefine_key): Doc fix. | |
20765 | ||
92a8ce63 JB |
20766 | 2003-02-21 Juanma Barranquero <lektu@terra.es> |
20767 | ||
20768 | Port of patch for RC by Klaus Zeitler <kzeitler@lucent.com>. | |
20769 | ||
20770 | * s/hpux10.h: Define POLL_INTERRUPTED_SYS_CALL, not | |
20771 | POLLING_PROBLEM_IN_SELECT. | |
20772 | ||
20773 | * s/hpux11.h: Include hpux10-20.h instead of hpux10.h. | |
20774 | Delete #undef of POLLING_PROBLEM_IN_SELECT. | |
20775 | ||
20776 | * s/hpux10-20.h: New file. | |
20777 | ||
e52bd6b7 SM |
20778 | * process.c (wait_reading_process_input): |
20779 | Use POLL_INTERRUPTED_SYS_CALL, not POLLING_PROBLEM_IN_SELECT. | |
92a8ce63 | 20780 | |
20f1ef2e KH |
20781 | 2003-02-20 Kenichi Handa <handa@m17n.org> |
20782 | ||
32d0a9dc KH |
20783 | * fontset.c (check_fontset_name): If NAME is nil, return the |
20784 | default fontset. | |
20785 | (override_font_info): New function. | |
e52bd6b7 | 20786 | (Fset_fontset_font): Document that NAME nil means the default fontset. |
32d0a9dc KH |
20787 | (Ffontset_info): If FONTSET is not the default fontset, merge |
20788 | FONTSET onto the copy of the default fontset, and work on that | |
20789 | copy. Document that NAME nil means the default fontset. | |
20790 | (Ffontset_font): Document that NAME nil means the default fontset. | |
20791 | ||
20f1ef2e KH |
20792 | * process.c (setup_process_coding_systems): If the process's |
20793 | in/out descriptor is -1, do nothing. | |
20794 | ||
77d1daf2 AS |
20795 | 2003-02-19 Andreas Schwab <schwab@suse.de> |
20796 | ||
e52bd6b7 SM |
20797 | * lisp.h (Fcancel_kbd_macro_events, Fstring_to_multibyte): |
20798 | Add prototypes. | |
77d1daf2 | 20799 | |
f9a45bb3 KH |
20800 | 2003-02-19 Kenichi Handa <handa@m17n.org> |
20801 | ||
20802 | * xfaces.c (try_alternative_families): Try all scalable fonts if | |
20803 | Vscalable_fonts_allowed is not Qt. | |
20804 | ||
72ecb43c JD |
20805 | 2003-02-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20806 | ||
20807 | * xfaces.c (x_face_list_fonts): Set *pfonts to 0 if no fonts found. | |
20808 | ||
ee5be7c3 JD |
20809 | 2003-02-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20810 | ||
20811 | * xterm.c (x_list_fonts): If maxnames is less than 0, get all font | |
20812 | names. | |
20813 | ||
20814 | * xfaces.c (x_face_list_fonts): Allocate struct font_name here. | |
e52bd6b7 | 20815 | (sorted_font_list): Move allocation of struct font_name to |
ee5be7c3 JD |
20816 | x_face_list_fonts. |
20817 | (Fx_font_family_list): Set font-list-limit to -1 to get all font names. | |
20818 | (Fx_list_fonts): Set maxnames to -1 to get all font names. | |
20819 | ||
4cd519a7 KS |
20820 | 2003-02-18 Kim F. Storm <storm@cua.dk> |
20821 | ||
068f9882 KS |
20822 | * lread.c (read1): Fix last change. |
20823 | "`" is not always special. Allow "?" after a character constant. | |
4cd519a7 | 20824 | |
7290a344 AC |
20825 | 2003-02-18 Andrew Choi <akochoi@shaw.ca> |
20826 | ||
20827 | * unexmacosx.c (copy_data_segment): Also copy __cfstring section. | |
20828 | ||
1f7fa69b AS |
20829 | 2003-02-18 Andreas Schwab <schwab@suse.de> |
20830 | ||
20831 | * window.c (window_scroll_pixel_based): Move outside a | |
20832 | multi-glyph character before setting new window start. | |
20833 | ||
20834 | * xdisp.c (in_display_vector_p): New function. | |
20835 | * dispextern.h (in_display_vector_p): Declare. | |
20836 | ||
23e21195 KS |
20837 | 2003-02-18 Kim F. Storm <storm@cua.dk> |
20838 | ||
20839 | * lread.c (read1): Fix and relax read syntax. | |
20840 | Recognize "[", ";", "#", and "?" after a dotted-pair dot. | |
20841 | Only recognize "," after dotted-pair dot if inside backquote. | |
20842 | Never include "`" or "," (inside backquote) in a symbol. | |
20843 | Allow dotted-pair dot after a character constant. | |
20844 | Allow "`" and "," (inside backquote) after a character constant. | |
92a8ce63 | 20845 | |
f098b121 JD |
20846 | 2003-02-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20847 | ||
20848 | * gtkutil.c (xg_tool_bar_expose_callback): New function. | |
20849 | (xg_create_tool_bar): Force style of tool bar to be horizontal with | |
5e1a6e32 | 20850 | icons. Set name of tool bar to emacs-toolbar. |
f098b121 JD |
20851 | (update_frame_tool_bar): Connect expose event to |
20852 | xg_tool_bar_expose_callback. | |
20853 | ||
63020c46 RS |
20854 | 2003-02-17 Richard M. Stallman <rms@gnu.org> |
20855 | ||
20856 | * keyboard.c (this_command_key_count_reset): New variable. | |
20857 | Initiatize to 0 where this_command_key_count is set. | |
20858 | (read_char): Save and restore this_command_key_count_reset | |
20859 | around input method code. | |
20860 | (read_char): If this_command_key_count_reset, echo reread commands. | |
20861 | (Freset_this_command_lengths): Set this_command_key_count_reset to 1. | |
20862 | ||
fb4452cc KH |
20863 | 2003-02-17 Kenichi Handa <handa@m17n.org> |
20864 | ||
20865 | * fns.c (string_to_multibyte): Always return a multibyte string. | |
20866 | ||
bd11cc09 JR |
20867 | 2003-02-16 Jason Rumney <jasonr@gnu.org> |
20868 | ||
e52bd6b7 SM |
20869 | * w32fns.c (w32_list_bdf_fonts, w32_list_fonts): |
20870 | Negative max_fonts parameter means list all. | |
bd11cc09 | 20871 | |
4cdf4bde DL |
20872 | 2003-02-14 Dave Love <fx@gnu.org> |
20873 | ||
20874 | * fns.c (Flanginfo): Doc fix. | |
20875 | ||
023b93f6 KS |
20876 | 2003-02-13 Kim F. Storm <storm@cua.dk> |
20877 | ||
37cd4238 KS |
20878 | * lread.c (read_escape): Interpret \s as a SPACE character, except |
20879 | for \s-X in a character constant which still is the super modifier. | |
20880 | (read1): Signal an `invalid read syntax' error if a character | |
20881 | constant is immediately followed by a digit or symbol character. | |
20882 | ||
140a6b7e KS |
20883 | * search.c (Fmatch_data): Doc fix. Explicitly state that |
20884 | match-data is undefined if last search failed. | |
20885 | ||
3419757d | 20886 | * keymap.c (Fcommand_remapping): Rename from Fremap_command. |
023b93f6 KS |
20887 | All uses changed. |
20888 | ||
7d5c86e5 JB |
20889 | 2003-02-12 Juanma Barranquero <lektu@terra.es> |
20890 | ||
20891 | * eval.c (Fdefmacro): Fix typo. | |
20892 | ||
295fff2c KS |
20893 | 2003-02-12 Kim F. Storm <storm@cua.dk> |
20894 | ||
20895 | * macros.c (Fstart_kbd_macro): If appending, and last keyboard | |
20896 | macro is a string, convert meta modifiers in string when copying | |
20897 | the string into a vector. | |
20898 | ||
60f3202d KS |
20899 | 2003-02-11 Kim F. Storm <storm@cua.dk> |
20900 | ||
20901 | * keymap.c (Fremap_command): Return nil if arg is not a symbol. | |
20902 | ||
61cb0b53 KH |
20903 | 2003-02-11 Kenichi Handa <handa@m17n.org> |
20904 | ||
20905 | * Makefile.in (lisp, shortlisp): Add malayalam.el and tamil.el. | |
20906 | ||
7392e23c KS |
20907 | 2003-02-10 Kim F. Storm <storm@cua.dk> |
20908 | ||
20909 | * process.c: Doc fixes. | |
20910 | (syms_of_process): Add `:' prefix to QCfilter_multibyte. | |
20911 | ||
ce4254bd KH |
20912 | 2003-02-10 Kenichi Handa <handa@m17n.org> |
20913 | ||
9c7a329a KH |
20914 | * fns.c (Fstring_to_multibyte): Fix typo in the docstring. |
20915 | ||
ce4254bd KH |
20916 | * process.c (QCfilter_multibyte): New variable. |
20917 | (setup_process_coding_systems): New function. | |
e52bd6b7 SM |
20918 | (Fset_process_buffer, Fset_process_filter): |
20919 | Call setup_process_coding_systems. | |
ce4254bd KH |
20920 | (Fstart_process): Initialize the member `filter_multibyte' of |
20921 | struct Lisp_Process. | |
20922 | (create_process): Call setup_process_coding_systems. | |
20923 | (Fmake_network_process): New keyward `:filter-multibyte'. | |
20924 | Initialize the member `filter_multibyte' of struct Lisp_Process. | |
20925 | Call setup_process_coding_systems. | |
20926 | (server_accept_connection): Call setup_process_coding_systems. | |
20927 | (read_process_output): If the process has a filter, decide the | |
20928 | multibyteness of a string to given to the filter by | |
20929 | `filter_multibyte' member of the process. If the process doesn't | |
20930 | have a filter and the result of conversion is unibyte, use | |
20931 | Fstring_to_multibyte (not Fstring_make_multibyte) to get the | |
20932 | multibyte form. | |
20933 | (Fset_process_coding_system): Call setup_process_coding_systems. | |
20934 | (Fset_process_filter_multibyte): New function. | |
20935 | (Fprocess_filter_multibyte_p): New function. | |
20936 | (syms_of_process): Intern and staticpro QCfilter_multibyte. | |
20937 | Defsubr Sset_process_filter_multibyte and | |
20938 | Sprocess_filter_multibyte_p. | |
20939 | ||
20940 | * process.h (struct Lisp_Process): New member filter_multibyte. | |
20941 | ||
20942 | * lisp.h (setup_process_coding_systems): Add prototype. | |
20943 | ||
20944 | * buffer.c (Fset_buffer_multibyte): If the current buffer has a | |
20945 | process, update coding systems for the process. | |
20946 | ||
b08d5f59 KH |
20947 | 2003-02-09 Kenichi Handa <handa@m17n.org> |
20948 | ||
20949 | * fns.c (string_to_multibyte): New function. | |
20950 | (Fstring_to_multibyte): New function. | |
20951 | (syms_of_fns): Defsubr it. | |
20952 | ||
0dfd93c0 AS |
20953 | 2003-02-08 Andreas Schwab <schwab@suse.de> |
20954 | ||
20955 | * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable | |
20956 | instead of the substitution. | |
20957 | ||
7b76ca1c JD |
20958 | 2003-02-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20959 | ||
20960 | * xterm.c (x_make_frame_visible): Call gtk_window_deiconify. | |
20961 | ||
20962 | * xmenu.c (menu_position_func): Adjust menu popup position so that | |
20963 | the menu is fully visible. | |
7b76ca1c | 20964 | |
2436a4e4 JD |
20965 | 2003-02-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20966 | ||
20967 | * xterm.c (x_text_icon, x_raise_frame, x_lower_frame) | |
e52bd6b7 SM |
20968 | (x_make_frame_invisible, x_wm_set_icon_position): |
20969 | Use FRAME_OUTER_WINDOW instead of ifdef X_TOOLKIT/else/endif. | |
2436a4e4 JD |
20970 | |
20971 | * xfns.c (x_set_name, x_set_title): Ditto. | |
20972 | ||
37d1e680 RS |
20973 | 2003-02-04 Richard M. Stallman <rms@gnu.org> |
20974 | ||
20975 | * keyboard.c (echo_now): Update before_command_echo_length. | |
20976 | (Freset_this_command_lengths): Reset this_command_key_count etc. | |
20977 | immediately rather than arranging to do it later. | |
20978 | (before_command_key_count_1, before_command_echo_length_1) | |
20979 | (before_command_restore_flag): Vars deleted. | |
20980 | (add_command_key): Don't handle before_command_restore_flag. | |
20981 | (read_char, record_menu_key): Don't update before_command_key_count or | |
20982 | before_command_echo_length. | |
20983 | (read_char): Don't handle before_command_restore_flag. | |
20984 | ||
20985 | * keyboard.c (command_loop_1): Don't call adjust_point_for_property | |
20986 | in direct-output clauses if it wouldn't be called in the ordinary case. | |
20987 | ||
578846a3 KS |
20988 | 2003-02-04 Kim F. Storm <storm@cua.dk> |
20989 | ||
20990 | * keyboard.c (syms_of_keyboard) <this-original-command>: Doc fix. | |
20991 | ||
49853a4d JD |
20992 | 2003-02-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20993 | ||
20994 | * gtkutil.c (remove_from_container): Copying list is not needed. | |
20995 | (xg_update_menubar, xg_update_menu_item, xg_update_submenu) | |
20996 | (xg_modify_menubar_widgets, update_frame_tool_bar): Call g_list_free | |
20997 | on list returned from gtk_container_get_children to avoid memory leak. | |
20998 | ||
8b53dc06 JR |
20999 | 2003-02-01 Jason Rumney <jasonr@gnu.org> |
21000 | ||
5d54d177 JR |
21001 | * w32fns.c (w32_create_pixmap_from_bitmap_data): Use alloca for |
21002 | local malloc. | |
21003 | [HAVE_XPM]: Avoid clashes with XColor, XImage and Pixel | |
21004 | definitions in xpm.h. | |
21005 | (init_xpm_functions): New function. | |
f63fd14e | 21006 | (xpm_load): Sync with xfns.c. Adapt for Windows version of libXpm. |
5d54d177 JR |
21007 | (init_external_image_libraries): Try to load libXpm.dll. |
21008 | ||
8b53dc06 JR |
21009 | * fileio.c (Fcopy_file) [WINDOWSNT]: Reverse logic for setting |
21010 | timestamp. | |
21011 | ||
b222e415 DL |
21012 | 2003-01-31 Dave Love <fx@gnu.org> |
21013 | ||
21014 | * syntax.c (Fskip_chars_forward) | |
21015 | (open-paren-in-column-0-is-defun-start): Doc fix. | |
21016 | ||
c60ee5e7 JB |
21017 | 2003-01-31 Joe Buehler <jhpb@draco.hekimian.com> |
21018 | ||
21019 | * fileio.c: Support // at start of name for Cygwin (just added proper | |
21020 | preprocessor tests). | |
21021 | ||
21022 | * keyboard.c: Port to Cygwin (just added proper preprocessor tests). | |
21023 | ||
21024 | * Makefile.in: Use @EXEEXT@ for Cygwin. | |
21025 | ||
21026 | * mem-limits.h: Added ifdef to define BSD4_2 for Cygwin. | |
21027 | ||
21028 | * s/cygwin.h: Added for Cygwin port. | |
21029 | ||
53b37591 JB |
21030 | 2003-01-31 Juanma Barranquero <lektu@terra.es> |
21031 | ||
21032 | * w32fns.c (DrawText): Kludge to avoid a redefinition on Windows | |
21033 | when including gif_lib.h. | |
fe929957 | 21034 | (init_gif_functions, init_tiff_functions): New functions. |
f63fd14e JB |
21035 | (gif_load, tiff_load): Sync with xfns.c version. Adjust colors for |
21036 | Windows. Disable color table lookups. Call library functions | |
53b37591 | 21037 | through pointers determined at runtime. |
fe929957 JB |
21038 | (init_external_image_libraries): Try to load libungif.dll and |
21039 | libtiff.dll. | |
53b37591 | 21040 | |
45415a8f KH |
21041 | 2003-01-31 Kenichi Handa <handa@m17n.org> |
21042 | ||
21043 | * xdisp.c (SKIP_GLYPHS): New macro. | |
e52bd6b7 | 21044 | (set_cursor_from_row): Skip all glyphs that comes from overlay string. |
45415a8f | 21045 | |
a97e4138 JD |
21046 | 2003-01-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21047 | ||
e52bd6b7 | 21048 | * gtkutil.c (free_frame_tool_bar): Remove debug printf. |
a97e4138 | 21049 | |
6eed9bed DL |
21050 | 2003-01-30 Dave Love <fx@gnu.org> |
21051 | ||
21052 | * alloc.c (Vgc_elapsed, gcs_done): New variables. | |
21053 | (Fgarbage_collect): Use them. | |
21054 | (init_alloc, syms_of_alloc): Set them up. | |
21055 | ||
100dcd40 JB |
21056 | 2003-01-30 Juanma Barranquero <lektu@terra.es> |
21057 | ||
21058 | * w32fns.c (init_external_image_libraries): Add missing operator. | |
21059 | ||
fbd852af JR |
21060 | 2003-01-29 Jason Rumney <jasonr@gnu.org> |
21061 | ||
21062 | * w32fns.c (init_external_image_libraries): Allow jpeg-62.dll as | |
21063 | an alternative name for jpeg.dll. | |
21064 | ||
8a2d8020 KH |
21065 | 2003-01-29 Kenichi Handa <handa@m17n.org> |
21066 | ||
21067 | * xdisp.c (set_cursor_from_row): Pay attention to string display | |
21068 | properties. | |
21069 | ||
058c18c7 AC |
21070 | 2003-01-28 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> |
21071 | ||
21072 | * macterm.c (keycode_to_xkeysym_table): Add <tab>, <backspace>, | |
21073 | <escape>. | |
21074 | (keycode_to_xkeysym_table): Reformat and add more comments. | |
21075 | (XTread_socket): Drop special case for backspace. | |
21076 | ||
385f11cf AC |
21077 | 2003-01-28 Andrew Choi <akochoi@shaw.ca> |
21078 | ||
21079 | * macfns.c (x_to_mac_color): Correct the order for parsing the RGB | |
21080 | values in old-style RGB specs. | |
21081 | ||
c922a224 JB |
21082 | 2003-01-27 Juanma Barranquero <lektu@terra.es> |
21083 | ||
21084 | * w32fns.c (init_external_image_libraries): Try alternate names for the | |
21085 | jpeg dll. | |
21086 | ||
0a1d6de0 JD |
21087 | 2003-01-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21088 | ||
21089 | * gtkutil.c (create_dialog, xg_separator_p) | |
21090 | (xg_item_label_same_p, xg_update_menu_item): Check for NULL string | |
21091 | before calling strcmp or strlen. | |
21092 | ||
a97e4138 | 21093 | 2003-01-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1d1885fc JD |
21094 | |
21095 | * gtkutil.c (update_frame_tool_bar): Call prepare_image_for_display | |
21096 | and handle image load failure. | |
21097 | ||
28908312 JR |
21098 | 2003-01-26 Jason Rumney <jasonr@gnu.org> |
21099 | ||
21100 | * w32fns.c (init_jpeg_functions, jpeg_resync_to_restart_wrapper): | |
21101 | New functions. | |
f63fd14e JB |
21102 | (jpeg_load): Sync with xfns.c version. Adjust colors for Windows. |
21103 | Disable color table lookups. Call jpeg library functions | |
28908312 JR |
21104 | through pointers determined at runtime. |
21105 | (init_external_image_libraries): Try to load jpeg.dll. | |
21106 | ||
84e47416 RS |
21107 | 2003-01-25 Richard M. Stallman <rms@gnu.org> |
21108 | ||
21109 | * lisp.h: Declare format2 instead of format1. | |
21110 | ||
21111 | * fileio.c (barf_or_query_if_file_exists): | |
21112 | Call format2 instead of format1. | |
21113 | ||
21114 | * editfns.c (format2): New function, replaces format1 | |
21115 | but takes exactly two Lisp Objects as format args. | |
21116 | ||
21117 | * buffer.c (Fkill_buffer): Call format2 instead of format1. | |
21118 | ||
a97e4138 | 21119 | 2003-01-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1fcfb866 JD |
21120 | |
21121 | * xterm.h: Change to return value of x_dispatch_event to int. | |
21122 | ||
21123 | * xterm.c (x_filter_event): New function. | |
21124 | (event_handler_gdk, XTread_socket): Call x_filter_event. | |
21125 | (x_dispatch_event): Change to return value of finish. | |
21126 | (event_handler_gdk): Use return value from x_dispatch_event. | |
21127 | ||
21128 | * xfns.c (x_window): Call create_frame_xic for GTK version to | |
21129 | initialize input methods. | |
21130 | ||
21131 | * gtkutil.h: Add (void) prototypes. | |
21132 | ||
21133 | * gtkutil.c (create_menus): Remove code that puts the help menu to | |
21134 | the right. | |
21135 | ||
54eefef1 JR |
21136 | 2003-01-25 Jason Rumney <jasonr@gnu.org> |
21137 | ||
21138 | * w32fns.c (XPutPixel): Handle monochrome images; used for masks. | |
21139 | [HAVE_PNG]: Sync with xfns.c version. | |
f63fd14e JB |
21140 | (png_load): Adjust colors for Windows. Use Windows |
21141 | bitmaps. Disable color table lookups. | |
c262430d JR |
21142 | (DEF_IMGLIB_FN, LOAD_IMGLIB_FN): New macros. |
21143 | (init_png_functions): New function. | |
21144 | (png_read_from_memory, png_load): Call png library functions | |
21145 | through pointers determined at runtime. | |
21146 | (QCloader, QCbounding_box, QCpt_width, QCpt_height): Declare. | |
21147 | (init_external_image_libraries): New function. | |
21148 | (init_xfns): Call it. | |
54eefef1 | 21149 | |
1a9e275b AS |
21150 | 2003-01-24 Andreas Schwab <schwab@suse.de> |
21151 | ||
21152 | * minibuf.c (Fminibuffer_message): Verify type of parameter. | |
21153 | ||
a97e4138 | 21154 | 2003-01-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
81e302ef JD |
21155 | |
21156 | * gtkutil.c (xg_initialize): Initialize id_to_widget here instead | |
21157 | of static initializer. | |
21158 | ||
422eec7e DL |
21159 | 2003-01-24 Dave Love <fx@gnu.org> |
21160 | ||
21161 | * s/gnu-linux.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define for more | |
21162 | architectures. | |
21163 | ||
21164 | * alloc.c (mark_stack) [!GC_LISP_OBJECT_ALIGNMENT && __GNUC__]: | |
21165 | Use __alignof__. | |
21166 | ||
2a026b04 KH |
21167 | 2003-01-24 Kenichi Handa <handa@m17n.org> |
21168 | ||
21169 | * keyboard.c (adjust_point_for_property): New second arg MODIFIED. | |
e52bd6b7 | 21170 | It it is nonzero, don't pretend that an invisible area doesn't exist. |
2a026b04 KH |
21171 | (command_loop_1): Call adjust_point_for_property with proper |
21172 | second arg. | |
21173 | ||
a18bb28d JR |
21174 | 2003-01-22 Jason Rumney <jasonr@gnu.org> |
21175 | ||
21176 | Sync changes with xterm.c and xfns.c. | |
21177 | ||
21178 | * w32term.c (x_draw_glyph_string_foreground) | |
21179 | (x_draw_composite_glyph_string_foreground): Implement overstriking. | |
21180 | ||
21181 | * w32term.c (x_write_glyphs): Clear phys_cursor_on_p if current | |
21182 | phys_cursor's hpos is overwritten. This is still not completely | |
21183 | correct, as it doesn't really make sense to use hpos at all to | |
21184 | get the cursor glyph (as that is relative to the width of the | |
21185 | characters on the line, which may have changed during the update). | |
21186 | ||
21187 | * w32term.c (notice_overwritten_cursor): Handle the special case | |
21188 | of the cursor being in the first blank non-text line at the | |
21189 | end of a window. | |
21190 | ||
21191 | * w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor) | |
21192 | (x_draw_phys_cursor_glyph): Set phys_cursor_width here. | |
21193 | Compute from the x position returned by x_draw_glyphs. | |
21194 | ||
21195 | (x_display_and_set_cursor): Don't set phys_cursor_width here, | |
21196 | except for NO_CURSOR and system caret, to make phys_cursor_width | |
21197 | contain what its name suggests. | |
21198 | (notice_overwritten_cursor): Consider the cursor image erased if | |
21199 | the output area intersects the cursor image in y-direction. | |
21200 | ||
6a097c0c SM |
21201 | * w32term.c (note_mode_line_or_margin_highlight): Rename from |
21202 | note_mode_line_highlight and extend. | |
a18bb28d JR |
21203 | |
21204 | * w32term.c (last_window): New variable. | |
21205 | (w32_read_socket) <WM_MOUSEMOVE>: Generate SELECT_WINDOW_EVENTs. | |
21206 | (note_mouse_movement): Remove reimplemented code in #if 0. | |
21207 | ||
21208 | * w32fns.c (x_set_cursor_type): Set cursor_type_changed, | |
21209 | not update_mode_lines, and always set it to 1. | |
21210 | ||
ac6e47ef JR |
21211 | 2003-01-21 Jason Rumney <jasonr@gnu.org> |
21212 | ||
21213 | * w32fns.c (IDC_HAND): Define it if system headers don't. | |
21214 | ||
21215 | 2003-01-21 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> | |
21216 | ||
21217 | * w32term.h (struct w32_output): New member hand_cursor. | |
21218 | (WM_EMACS_SETCURSOR): New message definition. | |
21219 | ||
21220 | * w32term.c (note_mode_line_highlight): Delete #if 0 to enable | |
21221 | function w32_define_cursor. | |
21222 | (note_mouse_highlight): Initialize, setup cursor accoding to mouse | |
21223 | position, change member name output_data.x to output_data.w32 and | |
21224 | add function w32_define_cursor. | |
21225 | (show_mouse_face): Delete #if 0 to enable function w32_define_cursor | |
21226 | and change member name output_data.x to output_data.w32. | |
e52bd6b7 SM |
21227 | (w32_initialize_display_info): |
21228 | Setup dpyinfo->vertical_scroll_bar_cursor. | |
ac6e47ef JR |
21229 | |
21230 | * w32fns.c (Vx_hand_shape): New variable. | |
21231 | (w32_wnd_proc): Add message entries for WM_SETCURSOR and | |
21232 | WM_EMACS_SETCURSOR. | |
21233 | (x-create-frame): Setup Cursor types. | |
21234 | ||
ceb39a17 JB |
21235 | 2003-01-21 David Ponce <david@dponce.com> |
21236 | ||
ac6e47ef | 21237 | * w32term.c (w32_encode_char): For DIM=1 charset, set |
52eb0373 JB |
21238 | ccl->reg[2] to -1 before calling ccl_driver. |
21239 | (Sync. with xterm.c x_encode_char change by Kenichi Handa | |
21240 | <handa@m17n.org> on 2002-09-30.) | |
ac6e47ef JR |
21241 | (w32_draw_relief_rect): Declare all args. |
21242 | (w32_define_cursor): New. | |
21243 | ||
21244 | * w32fns.c (w32_load_cursor): New function. | |
21245 | (w32_init_class): Use it. | |
21246 | (x_put_x_image): Declare all args. | |
21247 | ||
b6189c3b | 21248 | 2003-01-21 Richard Dawe <rich@phekda.freeserve.co.uk> |
46cf0bed JB |
21249 | |
21250 | * Makefile.in (ALL_CFLAGS): Include MYCPPFLAGS, not MYCPPFLAG. | |
21251 | ||
a97e4138 | 21252 | 2003-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
e8794476 | 21253 | |
14a56a1b | 21254 | * gtkutil.c: Must include stdio.h before termhooks.h. |
e8794476 | 21255 | |
83fc9c63 DL |
21256 | 2003-01-21 Dave Love <fx@gnu.org> |
21257 | ||
21258 | * alloc.c (Fgc_status): Print zombie list. | |
21259 | (mark_maybe_object) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: | |
21260 | Fix assignment of zombies. | |
21261 | (Fgarbage_collect) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: | |
21262 | Don't take car of non-cons. | |
21263 | ||
21264 | * s/sol2-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
21265 | ||
21266 | * s/sunos4-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
21267 | ||
fe04b8c8 JR |
21268 | 2003-01-20 David Ponce <david@dponce.com> |
21269 | ||
21270 | * w32menu.c (digest_single_submenu): Declare all args. | |
21271 | ||
21272 | Sync with 2002-12-23 Richard M. Stallman <rms@gnu.org> | |
21273 | changes in xmenu.c: | |
21274 | ||
21275 | (parse_single_submenu): Use individual keymap's prompt | |
21276 | string as pane name, if there is one. | |
21277 | (set_frame_menubar): Save menu_items_n_panes from each call to | |
21278 | parse_single_submenu and use it when calling digest_single_submenu. | |
21279 | ||
539e69a9 ST |
21280 | 2003-01-20 Steven Tamm <steventamm@mac.com> |
21281 | ||
7e26f91b | 21282 | * macterm.c (XTread_socket): Check for valid, visible window |
539e69a9 ST |
21283 | before sending a scroll-wheel event. |
21284 | ||
675d000f RS |
21285 | 2003-01-20 Richard M. Stallman <rms@gnu.org> |
21286 | ||
21287 | * xdisp.c (redisplay_window): If mini window's buffer is not | |
21288 | a minibuffer, then redisplay it like other windows. | |
21289 | ||
a97e4138 | 21290 | 2003-01-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
22174d10 JD |
21291 | |
21292 | * gtkutil.c (xg_create_frame_widgets): Check if there is an | |
21293 | external tool bar before setting tool bar height. | |
21294 | ||
048addec JD |
21295 | 2003-01-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21296 | ||
21297 | * xterm.c (handle_one_xevent): Surround popup_activated | |
21298 | with #ifdef:s for non-toolkit version. | |
21299 | ||
14a56a1b | 21300 | * Makefile.in (XOBJ): Add gtkutil.o if USE_GTK. |
048addec JD |
21301 | (gtkutil.o): New file. |
21302 | (TOOLKIT_DEFINES): Set to -DUSE_GTK if HAVE_GTK. | |
21303 | (LIBW): Set to @GTK_LIBS@ if USE_GTK. | |
21304 | ||
21305 | * gtkutil.c: New file for GTK version. | |
21306 | ||
21307 | * gtkutil.h: New file for GTK version. | |
21308 | ||
21309 | * xterm.h: Add xt_or_gtk_widget. | |
21310 | Include gtk files for USE_GTK. | |
21311 | (struct x_output): Add toolbar_height. | |
21312 | (struct x_output): Add GTK widgets and Gdk size_hints. | |
21313 | (GTK_WIDGET_TO_X_WIN, FRAME_GTK_OUTER_WIDGET, FRAME_GTK_WIDGET) | |
21314 | (FRAME_OUTER_WINDOW): New macros for USE_GTK. | |
21315 | (FRAME_OUTER_TO_INNER_DIFF_Y): Add FRAME_TOOLBAR_HEIGHT to calculation. | |
21316 | ||
21317 | * xterm.c: Include gtkutil.h for USE_GTK. | |
78819ebb | 21318 | (free_frame_menubar): Declare extern void for USE_GTK. |
048addec JD |
21319 | (note_mouse_highlight): Check popup_activated for USE_GTK. |
21320 | (xt_action_hook): Don't compile if USE_GTK. | |
21321 | (x_scroll_bar_to_input_event): Use CurrentTime for USE_GTK. | |
21322 | (xg_scroll_callback): New function. | |
21323 | (x_create_toolkit_scroll_bar): Call xg_create_scroll_bar for USE_GTK. | |
21324 | (x_set_toolkit_scroll_bar_thumb): Call xg_set_toolkit_scroll_bar_thumb | |
21325 | for USE_GTK. | |
21326 | (x_scroll_bar_create): Call xg_update_scrollbar_pos and | |
21327 | xg_show_scroll_bar for USE_GTK. | |
21328 | (x_scroll_bar_remove): Call xg_remove_scroll_bar for USE_GTK. | |
21329 | (XTset_vertical_scroll_bar): Call xg_update_scrollbar_pos for USE_GTK. | |
21330 | (event_handler_gdk): New function for USE_GTK. | |
21331 | (handle_one_xevent): Call xg_resize_widgets for USE_GTK. | |
21332 | (handle_one_xevent): Make sure widget is mapped before | |
21333 | calling x_real_positions for USE_GTK. | |
21334 | (XTread_socket): Add GTK event loop for USE_GTK. | |
21335 | (x_set_window_size): Call xg_frame_set_char_size for USE_GTK. | |
21336 | (x_make_frame_visible): Call gtk_widget_show_all for USE_GTK. | |
21337 | (x_make_frame_invisible): Call gtk_widget_hide for USE_GTK. | |
21338 | (x_iconify_frame): Add code for USE_GTK. | |
21339 | (x_free_frame_resources): Call gtk_widget_destroy for USE_GTK. | |
21340 | (x_wm_set_size_hint): Only compile if not USE_GTK. GTK version | |
21341 | is in gtkutil.c. | |
21342 | (x_term_init): Add initialization for GTK. | |
21343 | (syms_of_xterm): Set Vx_toolkit_scroll_bars for USE_GTK. | |
21344 | ||
21345 | * xmenu.c: Include gtkutil.h for USE_GTK. | |
14a56a1b | 21346 | (Fx_popup_menu): Use current position if x and y are nil. |
6bdb309a SM |
21347 | (single_menu_item, single_menu_item, Fx_popup_dialog): |
21348 | Check for USE_GTK. | |
048addec JD |
21349 | (popup_widget_loop): New function for USE_GTK. |
21350 | (x_activate_menubar): Add code for USE_GTK. | |
21351 | (popup_activate_callback, popup_deactivate_callback) | |
6bdb309a SM |
21352 | (menu_highlight_callback, menubar_selection_callback): |
21353 | Add USE_GTK versions. | |
048addec JD |
21354 | (update_frame_menubar): Call xg_update_frame_menubar for USE_GTK. |
21355 | (set_frame_menubar): Call xg_modify_menubar_widgets for USE_GTK. | |
21356 | (free_frame_menubar): Only compile if not USE_GTK. GTK version | |
21357 | is in gtkutil.c. | |
21358 | (popup_selection_callback): New version for USE_GTK. | |
21359 | (create_and_show_popup_menu): New fuction, one USE_GTK version and | |
6bdb309a | 21360 | one USE_X_TOOLKIT version. |
048addec JD |
21361 | (xmenu_show): Call create_and_show_popup_menu. |
21362 | (dialog_selection_callback): New version for USE_GTK. | |
21363 | (create_and_show_dialog): New fuction, one USE_GTK version and | |
6bdb309a | 21364 | one USE_X_TOOLKIT version. |
048addec JD |
21365 | (xdialog_show): Call create_and_show_dialog. |
21366 | ||
21367 | * xfns.c: Include gtkutil for USE_GTK. | |
21368 | (x_window_to_frame, x_any_window_to_frame) | |
21369 | (x_non_menubar_window_to_frame, x_menubar_window_to_frame) | |
21370 | (x_top_window_to_frame): Add code for USE_GTK. | |
21371 | (x_set_background_color): Call xg_set_background_color for GTK. | |
21372 | (x_set_menu_bar_lines): Check for USE_GTK. | |
21373 | (x_set_tool_bar_lines): Call update_frame_tool_bar for USE_GTK. | |
21374 | (x_set_name, x_set_title): Call gtk_window_set_title for USE_GTK. | |
21375 | (x_window): Call xg_create_frame_widgets for USE_GTK. | |
14a56a1b | 21376 | (Fx_create_frame): Check for USE_GTK. |
048addec JD |
21377 | (Fx_file_dialog): New implementation for USE_GTK. |
21378 | ||
21379 | * xdisp.c: Add check for USE_GTK for extern void set_frame_menubar. | |
21380 | (update_menu_bar): Add check for USE_GTK. | |
21381 | (update_tool_bar): Add check for USE_GTK and external tool bar. | |
21382 | (redisplay_tool_bar): Add check for USE_GTK and external tool bar. | |
21383 | (redisplay_internal): Add check for USE_GTK and popup_activated. | |
21384 | (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_MENU_BAR. | |
21385 | (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_TOOL_BAR. | |
1ae8d759 | 21386 | (display_menu_bar): Add check for USE_GTK. |
048addec | 21387 | |
78819ebb | 21388 | * lisp.h (Vx_resource_name): Declare extern. |
048addec | 21389 | |
a64387ee | 21390 | * keyboard.c (kbd_buffer_get_event): Check MENU_BAR_ACTIVATE_EVENT |
048addec JD |
21391 | for USE_GTK. |
21392 | (make_lispy_event): Check MENU_BAR_EVENT for USE_GTK. | |
21393 | ||
21394 | * frame.h (struct frame): Add external_tool_bar. Check for USE_GTK. | |
21395 | (FRAME_EXTERNAL_TOOL_BAR): New macro. | |
21396 | (FRAME_EXTERNAL_MENU_BAR): Check for USE_GTK. | |
21397 | ||
21398 | * fileio.c (Fread_file_name): Add check for USE_GTK. | |
21399 | ||
6bdb309a SM |
21400 | * dispnew.c (adjust_frame_glyphs_for_window_redisplay): |
21401 | Add check for USE_GTK. | |
048addec | 21402 | |
14a56a1b | 21403 | * config.in: Added HAVE_GTK. |
048addec JD |
21404 | |
21405 | * alloc.c (Fgarbage_collect): Call xg_mark_data for GTK. | |
21406 | ||
21407 | 2003-01-18 Stefan Monnier <monnier@cs.yale.edu> | |
21408 | ||
21409 | * charset.h (Funibyte_char_to_multibyte): Export. | |
21410 | ||
21411 | 2003-01-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
21412 | ||
21413 | * xmenu.c (mouse_position_for_popup): New function. | |
21414 | (Fx_popup_menu): Call mouse_position_for_popup for X and | |
21415 | mouse_position_hook for others. | |
21416 | ||
21417 | 2003-01-17 Kim F. Storm <storm@cua.dk> | |
21418 | ||
21419 | * editfns.c (Finsert): Mention `string-make-multibyte' and | |
21420 | `string-as-multibyte' in doc string. | |
21421 | ||
21422 | 2003-01-17 Kenichi Handa <handa@m17n.org> | |
21423 | ||
21424 | * fontset.c (syms_of_fontset): Setup Vfont_encoding_alist here. | |
3c02a6f5 | 21425 | |
048addec JD |
21426 | * editfns.c (Fformat): Convert an unibyte char argument that is |
21427 | formatted by "%c" to multibyte if the total result must be a | |
21428 | multibyte string. | |
cd7df9c0 | 21429 | |
048addec | 21430 | 2003-01-16 Kim F. Storm <storm@cua.dk> |
cd7df9c0 | 21431 | |
048addec JD |
21432 | * process.c (set-process-filter): Document unibyte/multibyte-ness |
21433 | of string argument. | |
56210ecd | 21434 | |
048addec | 21435 | 2003-01-16 Kenichi Handa <handa@m17n.org> |
56210ecd | 21436 | |
048addec | 21437 | * charset.h (NEXT_CHAR_BOUNDARY, PREV_CHAR_BOUNDARY): New macros. |
56210ecd | 21438 | |
048addec JD |
21439 | * regex.c (GET_CHAR_BEFORE_2): Use PREV_CHAR_BOUNDARY. |
21440 | (re_search_2): Likewise. | |
6df8b9fe | 21441 | |
048addec | 21442 | 2003-01-15 Kenichi Handa <handa@m17n.org> |
6df8b9fe | 21443 | |
048addec JD |
21444 | * xdisp.c (message_dolog): Fix bug of the case that *Message* |
21445 | buffer is unibyte. | |
292ddc31 | 21446 | |
048addec | 21447 | 2003-01-15 Francesco Potort\e,Al\e(B <pot@gnu.org> |
292ddc31 | 21448 | |
048addec | 21449 | * fns.c (Fsubstring): Clarify doc string. |
292ddc31 | 21450 | |
048addec JD |
21451 | * textprop.c (Ftext_properties_at, Fnext_char_property_change) |
21452 | (Fprevious_char_property_change) | |
21453 | (Fnext_single_char_property_change) | |
21454 | (Fprevious_single_char_property_change, Fnext_property_change) | |
21455 | (Fnext_single_property_change, Fprevious_property_change) | |
21456 | (Fprevious_single_property_change, Fadd_text_properties) | |
21457 | (Fput_text_property, Fset_text_properties) | |
21458 | (Fremove_text_properties, Fremove_list_of_text_properties) | |
21459 | (Ftext_property_any, Ftext_property_not_all): Clarify doc strings. | |
63e4e4c6 | 21460 | |
048addec | 21461 | 2003-01-14 Kim F. Storm <storm@cua.dk> |
63e4e4c6 | 21462 | |
048addec JD |
21463 | * process.h (struct Lisp_Process): New member plist replaces old |
21464 | member private_vars. All uses changed. | |
63e4e4c6 | 21465 | |
048addec | 21466 | * process.c: Reworked 2003-01-12 change -- call a plist a plist! |
6bdb309a | 21467 | (QCplist): Rename from QCvars. Change all uses. |
048addec | 21468 | (Fprocess_plist): Replaces Fprocess_variable. Simplified. |
6bdb309a | 21469 | (Fset_process_plist): Replaces Fset_process_variable. Simplify. |
048addec | 21470 | (syms_of_process): Intern, staticpro, defsubr these. |
6bdb309a | 21471 | (Fmake_network_process): Describe :plist arg. Remove :vars arg. |
7ed16567 | 21472 | |
048addec | 21473 | 2003-01-14 Francesco Potort\e,Al\e(B <pot@gnu.org> |
7ed16567 | 21474 | |
6bdb309a | 21475 | * m/delta.h: Remove (obsolete). |
e833850f | 21476 | |
048addec | 21477 | 2003-01-13 Francesco Potort\e,Al\e(B <pot@gnu.org> |
e833850f | 21478 | |
048addec JD |
21479 | * fileio.c (Fdelete_directory, Fdelete_file): Document the |
21480 | behaviour in front of symlinks. | |
21481 | (Fdelete_file): Raise an error on directories. | |
817cb127 | 21482 | |
048addec | 21483 | 2003-01-13 Dave Love <fx@gnu.org> |
817cb127 | 21484 | |
048addec | 21485 | * fns.c (Freverse): Use QUIT. |
3e8cf2ea | 21486 | |
048addec | 21487 | 2003-01-13 Richard M. Stallman <rms@gnu.org> |
3e8cf2ea | 21488 | |
048addec JD |
21489 | * minibuf.c (minibuffer_completion_contents): |
21490 | Error if point is inside prompt. | |
3e8cf2ea | 21491 | |
048addec JD |
21492 | * keyboard.c (command_loop_1): Don't redisplay directly |
21493 | if there's a post-command-hook. | |
3e8cf2ea | 21494 | |
048addec JD |
21495 | * fileio.c (syms_of_fileio) <directory-sep-char>: Doc fix. |
21496 | (Fdo_auto_save): Add gcpros around Ffile_name_directory. | |
2c10f029 | 21497 | |
048addec | 21498 | 2003-01-12 Kim F. Storm <storm@cua.dk> |
94e8ffca | 21499 | |
048addec | 21500 | * process.h (struct Lisp_Process): New member private_vars. |
94e8ffca | 21501 | |
048addec JD |
21502 | * process.c (QCvars): New variable. |
21503 | (syms_of_process): Intern and staticpro it. | |
21504 | (Fset_process_contact): Removed function. | |
21505 | (Fprocess_variable, Fset_process_variable): New functions. | |
21506 | (syms_of_process): Defsubr them. | |
21507 | (Fstart_process): Initialize private_vars plist to nil. | |
21508 | (Fmake_network_process): New arg :vars to setup the private | |
21509 | variables for new network process. | |
21510 | (server_accept_connection): Copy server's private variables to | |
21511 | client process. | |
2c10f029 | 21512 | |
048addec JD |
21513 | * alloc.c (pure_alloc): Fixed 2003-01-10 changed (caused spurious |
21514 | crashes). Code rewritten and simplified. Now directly aligns the | |
21515 | pointer and recalculates pure_bytes_used, rather than aligning the | |
21516 | size and adjusting the pointer. | |
b8a76c6c | 21517 | |
048addec | 21518 | 2003-01-11 Kim F. Storm <storm@cua.dk> |
b8a76c6c | 21519 | |
048addec JD |
21520 | * process.c (Fset_process_contact): New function. |
21521 | (syms_of_process): defsubr it. | |
21522 | (make-network-process): Update doc. | |
3a8d0899 | 21523 | |
048addec | 21524 | 2003-01-10 Andreas Schwab <schwab@suse.de> |
3a8d0899 | 21525 | |
048addec JD |
21526 | * alloc.c (pure_alloc): Correct alignment for Lisp_Floats. |
21527 | Reported by Berthold Gunreben <b.gunreben@web.de>. | |
4abc7470 | 21528 | |
048addec | 21529 | 2003-01-10 Dave Love <fx@gnu.org> |
4abc7470 | 21530 | |
048addec | 21531 | * composite.c (syms_of_composite): Make composition_hash_table weak. |
b809d662 | 21532 | |
048addec | 21533 | 2003-01-09 Kim F. Storm <storm@cua.dk> |
b809d662 | 21534 | |
048addec JD |
21535 | * process.c (Fmake_network_process): Convert new port number |
21536 | to host byte order for `:service t' case. From Mario Lang. | |
bf338245 | 21537 | |
048addec | 21538 | 2003-01-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
bf338245 | 21539 | |
048addec JD |
21540 | * xfns.c (Fx_file_dialog): Call XtAppNextEvent and x_dispatch_event |
21541 | instead of XtAppProcessEvent. | |
bf338245 | 21542 | |
048addec JD |
21543 | * xterm.c (handle_one_xevent): New function. |
21544 | (x_dispatch_event): New function. | |
21545 | (XTread_socket): Call handle_one_xevent. | |
bf338245 | 21546 | |
048addec | 21547 | * xterm.h (FRAME_OUTER_TO_INNER_DIFF_X/Y): New. |
e833850f | 21548 | |
048addec JD |
21549 | * xmenu.c (Fx_popup_menu): If popping up at mouse position, |
21550 | call XQueryPointer to get coordinates. | |
21551 | (popup_get_selection): Do not set popup_activated_flag to zero, | |
21552 | let popup_deactivate_callback do that. Needed for Motif. | |
21553 | Call x_dispatch_event instead of XtDispatchEvent. | |
21554 | (xmenu_show): Calculate root coordinate from frame top/left position. | |
c4af2bce | 21555 | |
048addec | 21556 | 2003-01-08 Kim F. Storm <storm@cua.dk> |
c4af2bce | 21557 | |
6bdb309a | 21558 | * process.c (server_accept_connection): Fix recording of new |
048addec JD |
21559 | connection's local address in :local property of contact info. |
21560 | (Fmake_network_process): Record local network address for new | |
21561 | client processes in :local property of contact info. | |
6bdb309a | 21562 | (format-network-address): Add arg OMIT-PORT. Change callers. |
00e3ab56 | 21563 | |
048addec | 21564 | 2003-01-07 Dave Love <fx@gnu.org> |
00e3ab56 | 21565 | |
048addec | 21566 | * Makefile.in (fns.o): Depend on coding.h. |
f387e1fd | 21567 | |
ddec2286 RS |
21568 | 2003-01-06 Dave Love <fx@gnu.org> |
21569 | ||
21570 | * fns.c: Include coding.h. Use POINTER_TYPE*, not void*. | |
21571 | (Vlocale_coding_system): Declare. | |
21572 | (Qcodeset, Qdays, Qmonths, Qpaper): New. | |
21573 | (Flanginfo): New. | |
21574 | (syms_of_fns): Initialize new stuff. | |
21575 | ||
048addec | 21576 | 2003-01-07 Markus Rost <rost@math.ohio-state.edu> |
f387e1fd | 21577 | |
048addec | 21578 | * minibuf.c (Fread_variable): Doc fix. |
f387e1fd | 21579 | |
048addec JD |
21580 | * eval.c (Fuser_variable_p): Doc change. For custom variables, |
21581 | use the same test as for custom-variable-p. | |
8c6d74c6 | 21582 | |
048addec | 21583 | 2003-01-05 Richard M. Stallman <rms@gnu.org> |
e833850f | 21584 | |
048addec JD |
21585 | * xdisp.c (try_scrolling): New arg LAST_LINE_MISFIT. |
21586 | Count LAST_LINE_MISFIT in scroll margin for end of window. | |
21587 | Move label too_near_end before setting SCROLL_MARGIN_POS. | |
21588 | Set LAST_LINE_MISFIT before jumping there. | |
8c6d74c6 | 21589 | |
048addec JD |
21590 | * xdisp.c (try_scrolling): Calculate amount_to_scroll better in |
21591 | scroll_conservatively case. If scrolling that much doesn't change | |
21592 | STARTP, move it down one line. | |
e833850f | 21593 | |
048addec JD |
21594 | * xdisp.c (redisplay_window): Pass last_line_misfit arg to |
21595 | try_scrolling. Make it 1 after make_cursor_line_fully_visible fails. | |
8c6d74c6 | 21596 | |
048addec JD |
21597 | * xdisp.c (setup_echo_area_for_printing): Kill Emacs if no |
21598 | selected frame. | |
8c6d74c6 | 21599 | |
048addec | 21600 | * keymap.c (apropos_predicate, apropos_accumulate): Make them static. |
3419757d | 21601 | (syms_of_keymap): Staticpro them. |
048addec JD |
21602 | (Fapropos_internal): Initialize them and clear them out. |
21603 | Don't GCPRO them. | |
8c6d74c6 | 21604 | |
f5ecbcee | 21605 | * buffer.c (syms_of_buffer) <scroll-up|down-aggressively>: Doc fixes. |
8c6d74c6 | 21606 | |
048addec JD |
21607 | * lisp.h: New misc type Lisp_Save_Value. |
21608 | (enum Lisp_Misc_Type): Add Lisp_Misc_Save_Value. | |
21609 | (XSAVE_VALUE): New macro. | |
21610 | (struct Lisp_Save_Value): New data type. | |
21611 | (union Lisp_Misc): Add u_save_value alternative. | |
78819ebb | 21612 | (make_save_value): Declare. |
8c6d74c6 | 21613 | |
048addec | 21614 | * alloc.c (make_save_value): New function. |
8c6d74c6 | 21615 | |
048addec JD |
21616 | * xterm.c (x_catch_errors): Save dpy using make_save_value. |
21617 | (x_catch_errors_unwind): Call XSync. | |
8c6d74c6 | 21618 | |
048addec | 21619 | 2003-01-01 Richard M. Stallman <rms@gnu.org> |
8c6d74c6 | 21620 | |
048addec | 21621 | * window.c (window_scroll_pixel_based): Partially undo last change. |
8c6d74c6 | 21622 | |
048addec JD |
21623 | * keyboard.c (command_loop_1): Call adjust_point_for_property |
21624 | in direct action cases for Qforward_char and Qbackward_char. | |
21625 | Set already_adjusted so it won't be done twice. | |
8c6d74c6 | 21626 | |
b6189c3b | 21627 | 2002-12-30 Richard Dawe <rich@phekda.freeserve.co.uk> |
8c6d74c6 | 21628 | |
048addec JD |
21629 | * src/config.in (!HAVE_SIZE_T): Fix order of arguments in |
21630 | type definition of size_t. | |
8c609cff | 21631 | |
048addec | 21632 | 2003-01-02 Steven Tamm <steventamm@mac.com> |
8c609cff | 21633 | |
048addec JD |
21634 | * macterm.c (syms_of_macterm): Provide the feature "mac-carbon" to |
21635 | distinguish Carbon GUI builds from X11 builds on darwin. | |
b37113a1 | 21636 | |
048addec | 21637 | 2002-12-30 Steven Tamm <steventamm@mac.com> |
b37113a1 | 21638 | |
048addec JD |
21639 | * macterm.c (syms_of_macterm): Set mac-wheel-button-is-mouse-2 |
21640 | to default to t. | |
fa634a5e | 21641 | |
048addec | 21642 | 2002-12-29 Francesco Potort\e,Al\e(B <pot@gnu.org> |
fa634a5e | 21643 | |
048addec | 21644 | * data.c (Fstring_to_number, Fminus): Better English in doc strings. |
ce0669d4 | 21645 | |
048addec | 21646 | 2002-12-28 Steven Tamm <steventamm@mac.com> |
ce0669d4 | 21647 | |
7e26f91b | 21648 | * Makefile.in (macosx-bundle): Fix Mac OS X/Carbon port to |
048addec JD |
21649 | allow building in a different directory than source. Uses some |
21650 | GNU Make extensions, but there is no other make on Mac OS X. | |
2308af15 | 21651 | |
048addec | 21652 | 2002-12-26 Francesco Potort\e,Al\e(B <pot@gnu.org> |
2308af15 | 21653 | |
048addec JD |
21654 | * data.c (Fmakunbound, Ffmakunbound, Fmake_variable_buffer_local) |
21655 | (Fsetq_default, Fmake_local_variable, Fkill_local_variable) | |
21656 | (Fmake_variable_frame_local, Faset, Fnumber_to_string, Fminus) | |
21657 | (Fstring_to_number): Mention the returned value in the doc strings. | |
2155ecf3 | 21658 | |
048addec | 21659 | 2002-12-23 Richard M. Stallman <rms@gnu.org> |
2155ecf3 | 21660 | |
048addec JD |
21661 | * buffer.c (syms_of_buffer) <scroll-up-aggressively> |
21662 | <scroll-down-aggressively>: Doc fix. | |
2155ecf3 | 21663 | |
048addec JD |
21664 | * xmenu.c (parse_single_submenu): Use individual keymap's prompt |
21665 | string as pane name, if there is one. | |
21666 | (set_frame_menubar): Save menu_items_n_panes from each call to | |
21667 | parse_single_submenu and use it when calling digest_single_submenu. | |
2155ecf3 | 21668 | |
048addec JD |
21669 | * window.c (window_scroll_pixel_based): Fix check for reaching BEGV. |
21670 | Don't try to make last line fully visible if it is past end of window. | |
61f1d295 | 21671 | |
048addec | 21672 | 2002-12-22 Steven Tamm <steventamm@mac.com> |
61f1d295 | 21673 | |
048addec JD |
21674 | * macmenu.c (MIN_POPUP_SUBMENU_ID): Add. |
21675 | (mac_menu_show): Add support for hierarchical popup menus. | |
21676 | (add_menu_item): Remove indentation support. | |
21677 | (fill_submenu, fill_menu): Create hierarchical menus | |
21678 | instead of using indentation. | |
0b17a217 | 21679 | |
048addec | 21680 | 2002-12-22 Richard M. Stallman <rms@gnu.org> |
0b17a217 | 21681 | |
048addec JD |
21682 | * xdisp.c (try_cursor_movement): Don't call try_window here. |
21683 | (redisplay_window): Never redisplay minibuffer when inactive. | |
0b17a217 | 21684 | |
048addec | 21685 | * window.c (select_window_1): Undo 9/21 change. |
402e4f8b | 21686 | |
048addec | 21687 | 2002-12-22 Steven Tamm <steventamm@mac.com> |
402e4f8b | 21688 | |
048addec JD |
21689 | * macterm.c (XTread_socket): Call KeyTranslate for control and |
21690 | meta to deal correctly shifted non-alpha characters, like C-S-5 | |
7e26f91b | 21691 | being treated like C-%. Do not look for shift key to deal |
048addec | 21692 | with masking off control-key with mac-reverse-ctrl-meta. |
f02cac82 | 21693 | |
048addec | 21694 | 2002-12-21 Richard M. Stallman <rms@gnu.org> |
f02cac82 | 21695 | |
048addec JD |
21696 | * xmenu.c (popup_get_selection): Now static. New arg DO_TIMERS. |
21697 | If it is non-nil, run timers. Use an unwind-protect to requeue | |
21698 | the events that were read ahead. | |
21699 | (popup_get_selection_unwind): New subroutine. | |
21700 | (popup_get_selection_queue): File-scope variable now holds that queue. | |
21701 | (xmenu_show): Pass 0 for DO_TIMERS to popup_get_selection. | |
21702 | (xdialog_show): Pass 1 for DO_TIMERS to popup_get_selection. | |
21703 | Use an unwind-protect to pop down the dialog box. | |
21704 | (xdialog_show_unwind): New subroutine implements that. | |
f02cac82 | 21705 | |
048addec JD |
21706 | * xdisp.c (row_containing_pos): Change exit test using last_y. |
21707 | (try_window_id): Abort if row_containing_pos returns null. | |
f02cac82 | 21708 | |
048addec JD |
21709 | * lread.c (load_error_handler): New function. |
21710 | (Fload): Handle errors in Fsubstitute_in_file_name. | |
21711 | Don't expect Fsignal to return. | |
f02cac82 | 21712 | |
048addec JD |
21713 | * eval.c: Errors and throws work right with interrupt blocking. |
21714 | (struct catchtag): New elt interrupt_input_blocked. | |
21715 | (unwind_to_catch): Restore interrupt_input_blocked from saved value. | |
21716 | (internal_catch, Fcondition_case, internal_condition_case) | |
21717 | (internal_condition_case_1, internal_condition_case_2): Save it. | |
21718 | (Fsignal): Don't do TOTALLY_UNBLOCK_INPUT. | |
f02cac82 | 21719 | |
048addec | 21720 | * editfns.c (Fformat): Add parens. |
f02cac82 | 21721 | |
048addec JD |
21722 | * dired.c (file_name_completion): Fix that change. |
21723 | Delete special quit-handling code; just use QUIT. | |
f02cac82 | 21724 | |
b6189c3b | 21725 | 2002-12-21 Tak Ota <Takaaki.Ota@am.sony.com> |
f02cac82 | 21726 | |
048addec JD |
21727 | * dired.c (file_name_completion): Close directory on error |
21728 | just as in directory_files_internal. | |
1a590729 | 21729 | |
048addec | 21730 | 2002-12-19 David Kastrup <David.Kastrup@t-online.de> |
1a590729 | 21731 | |
048addec JD |
21732 | * window.c (Fset_window_configuration): Set old_point to correct |
21733 | value when new_current_buffer == current_buffer. | |
f02cac82 | 21734 | |
048addec | 21735 | 2002-12-17 Ben Key <bkey1@tampabay.rr.com> |
2308af15 | 21736 | |
048addec JD |
21737 | Revisited my earlier fix for the following entry in etc/PROBLEMS: |
21738 | "Emacs built on Windows 9x/ME crashes at startup on Windows XP, | |
21739 | or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." | |
9785d95b | 21740 | |
048addec JD |
21741 | These changes were in part based upon suggestions made by Peter |
21742 | 'Luna' Runestig [peter@runestig.com]. | |
9785d95b | 21743 | |
f4a5a485 SM |
21744 | * w32.c (g_b_init_is_windows_9x, g_b_init_open_process_token) |
21745 | (g_b_init_get_token_information, g_b_init_lookup_account_sid) | |
21746 | (g_b_init_get_sid_identifier_authority ): Add several static | |
048addec | 21747 | global variables. |
9785d95b | 21748 | |
048addec JD |
21749 | * w32.c (globals_of_w32): New function. Used to initialize those |
21750 | global variables that must always be initialized on startup even | |
21751 | when the global variable initialized is non zero. Its primary | |
21752 | purpose at this time is to set the global variables | |
21753 | g_b_init_is_windows_9x, g_b_init_open_process_token, | |
21754 | g_b_init_get_token_information, g_b_init_lookup_account_sid, and | |
21755 | g_b_init_get_sid_identifier_authority to 0 on startup. | |
21756 | Called from main. | |
9785d95b | 21757 | |
048addec JD |
21758 | * w32.c (is_windows_9x): Perform initialization only if |
21759 | g_b_init_is_windows_9x is equal to 0. On initialization set | |
21760 | g_b_init_is_windows_9x equal to 1. | |
2308af15 | 21761 | |
048addec JD |
21762 | * w32.c (open_process_token): Perform initialization only if |
21763 | g_b_init_open_process_token is equal to 0. On initialization set | |
21764 | g_b_init_open_process_token equal to 1. | |
2308af15 | 21765 | |
048addec JD |
21766 | * w32.c (get_token_information): Perform initialization only if |
21767 | g_b_init_get_token_information is equal to 0. On initialization | |
21768 | set g_b_init_get_token_information equal to 1. | |
9785d95b | 21769 | |
048addec JD |
21770 | * w32.c (lookup_account_sid): Perform initialization only if |
21771 | g_b_init_lookup_account_sid is equal to 0. On initialization | |
21772 | set g_b_init_lookup_account_sid equal to 1. | |
9785d95b | 21773 | |
048addec JD |
21774 | * w32.c (get_sid_identifier_authority): Perform initialization |
21775 | only if g_b_init_get_sid_identifier_authority is equal to 0. | |
21776 | On initialization set g_b_init_get_sid_identifier_authority equal to 1. | |
9785d95b | 21777 | |
f63fd14e | 21778 | * w32fns.c (globals_of_w32fns): New function. Used to initialize |
048addec JD |
21779 | those global variables that must always be initialized on startup |
21780 | even when the global variable initialized is non zero. | |
21781 | Its primary purpose at this time is to initialize the global variable | |
21782 | track_mouse_event_fn. | |
9785d95b | 21783 | |
a64387ee | 21784 | * w32fns.c (w32_wnd_proc): Remove initialization of |
048addec | 21785 | track_mouse_event_fn from the handler for the WM_SETFOCUS message. |
9785d95b | 21786 | |
048addec | 21787 | * w32fns.c (syms_of_w32fns): Call globals_of_w32fns. |
9785d95b | 21788 | |
f63fd14e | 21789 | * w32menu.c (globals_of_w32menu): New function. Used to |
048addec JD |
21790 | initialize those global variables that must always be initialized |
21791 | on startup even when the global variable initialized is non zero. | |
21792 | Its primary purpose at this time is to initialize the global | |
21793 | variables get_menu_item_info and set_menu_item_info. | |
9785d95b | 21794 | |
048addec JD |
21795 | * w32menu.c (initialize_frame_menubar): Remove initialization of |
21796 | get_menu_item_info and set_menu_item_info. | |
9785d95b | 21797 | |
048addec | 21798 | * w32menu.c (syms_of_w32menu): Call globals_of_w32menu. |
9785d95b | 21799 | |
048addec JD |
21800 | * w32.h (globals_of_w32, globals_of_w32fns, globals_of_w32menu): |
21801 | Declare them. | |
9785d95b | 21802 | |
048addec JD |
21803 | * emacs.c (main): Call globals_of_w32 prior to calling |
21804 | init_environment if WINDOWSNT is defined. Call globals_of_w32fns | |
21805 | and globals_of_w32menu if initialized is non zero and HAVE_NTGUI | |
21806 | is defined. | |
9785d95b | 21807 | |
048addec JD |
21808 | * w32term.c (x_update_window_begin): Fix Windows API error |
21809 | detected by BoundsChecker. Test to determine if | |
21810 | w32_system_caret_hwnd is NULL prior to attempting to use | |
21811 | SendMessage to send the WM_EMACS_HIDE_CARET message to it. | |
2308af15 | 21812 | |
048addec JD |
21813 | * w32term.c (x_update_window_end): Fix Windows API error |
21814 | detected by BoundsChecker. Test to determine if | |
21815 | w32_system_caret_hwnd is NULL prior to attempting to use | |
21816 | SendMessage to send the WM_EMACS_SHOW_CARET message to it. | |
b6da19ef | 21817 | |
048addec | 21818 | 2002-12-17 Kenichi Handa <handa@m17n.org> |
b6da19ef | 21819 | |
048addec JD |
21820 | * coding.c (coding_system_require_warning): New variable. |
21821 | (syms_of_coding): DEFVAR it. | |
b6da19ef | 21822 | |
048addec | 21823 | * coding.h (coding_system_require_warning): Extern it. |
b6da19ef | 21824 | |
048addec JD |
21825 | * fileio.c (choose_write_coding_system): Even if |
21826 | Vcoding_system_for_write is non-nil, if | |
21827 | coding_system_require_warning is nonzero, call | |
21828 | Vselect_safe_coding_system_function. | |
bfcf6dbe | 21829 | |
048addec | 21830 | 2002-12-17 Markus Rost <rost@math.ohio-state.edu> |
bfcf6dbe | 21831 | |
048addec JD |
21832 | * Makefile.in (lisp, shortlisp): Add cus-face and timer. |
21833 | (lisp): Add font-core. | |
2c568af5 | 21834 | |
048addec | 21835 | 2002-12-13 Stefan Monnier <monnier@cs.yale.edu> |
2c568af5 | 21836 | |
048addec JD |
21837 | * textprop.c (text_read_only): New arg `propval'. |
21838 | (get_char_property_and_overlay): Remove unused var `next_overlay'. | |
21839 | (verify_interval_modification): Use text_read_only's new arg. | |
b8c6225c | 21840 | |
048addec | 21841 | 2002-12-13 Kenichi Handa <handa@m17n.org> |
b8c6225c | 21842 | |
048addec | 21843 | * coding.c (Funencodable_char_position): Set pend correctly. |
706ddb8f | 21844 | |
048addec | 21845 | 2002-12-12 Jason Rumney <jasonr@gnu.org> |
706ddb8f | 21846 | |
048addec JD |
21847 | * w32term.c (last_mousemove_x, last_mousemove_y): New variables. |
21848 | (w32_read_socket) <WM_MOUSEMOVE>: Use them to detect non-movement. | |
21849 | Be more careful about when help_events are generated. | |
96720f09 | 21850 | |
048addec | 21851 | 2002-12-12 Steven Tamm <steventamm@mac.com> |
96720f09 | 21852 | |
048addec JD |
21853 | * macterm.c (mac_check_for_quit_char): Correctly set the |
21854 | modifiers of the event to 0. | |
21855 | * mac.c (sys_select): Duplicate rfds before calling select to | |
21856 | ensure that rfds survive the while loop. | |
e5ae1c49 | 21857 | |
048addec | 21858 | 2002-12-11 Kim F. Storm <storm@cua.dk> |
e5ae1c49 | 21859 | |
048addec JD |
21860 | * xdisp.c (try_window_id): Don't call set_cursor_from_row if |
21861 | row_containing_pos returned NULL. | |
2eb46b2d | 21862 | |
048addec | 21863 | 2002-12-10 Steven Tamm <steventamm@mac.com> |
2eb46b2d | 21864 | |
6bdb309a | 21865 | * mac.c (sys_read): Fix sys_read to not call select if IO is |
048addec | 21866 | non-blocking. |
6bdb309a | 21867 | (sys_select): Fix sys_select to not use a timeout larger than |
048addec | 21868 | the one given. |
b11f1d8a | 21869 | |
048addec | 21870 | 2002-12-10 Juanma Barranquero <lektu@terra.es> |
b11f1d8a | 21871 | |
048addec | 21872 | * editfns.c (Fformat): Use alloca, not _alloca. |
d8528226 | 21873 | |
048addec | 21874 | 2002-12-09 Richard M. Stallman <rms@gnu.org> |
d8528226 | 21875 | |
048addec JD |
21876 | * buffer.c (Fget_buffer_create): Call Qucs_set_table_for_input |
21877 | as the last thing. | |
a4ac5b17 | 21878 | |
048addec | 21879 | 2002-12-09 Dave Love <fx@gnu.org> |
a4ac5b17 | 21880 | |
048addec | 21881 | * s/sol2-8.h: Removed. (Not necessary.) |
ac42d7b9 | 21882 | |
048addec | 21883 | 2002-12-09 Matthew Swift <swift@alum.mit.edu> |
ac42d7b9 | 21884 | |
048addec JD |
21885 | * editfns.c (Fformat): Handle precision in string conversion |
21886 | specifiers like libc functions do (ie, print at most that many | |
21887 | characters). | |
85cce843 | 21888 | |
048addec | 21889 | 2002-12-08 Richard M. Stallman <rms@gnu.org> |
85cce843 | 21890 | |
048addec JD |
21891 | * xdisp.c (row_containing_pos): Check more carefully |
21892 | whether charpos is really in the row before returning it. | |
0d4d26a7 | 21893 | |
048addec | 21894 | 2002-12-07 Steven Tamm <steventamm@mac.com> |
0d4d26a7 | 21895 | |
048addec | 21896 | * sysdep.c (emacs_read) [HAVE_CARBON]: Have emacs_read use sys_read. |
b11f1d8a | 21897 | |
048addec JD |
21898 | * eval.c (Feval) [HAVE_CARBON]: Calls mac_check_for_quit_char at |
21899 | each stack frame. This may change as it could be time consuming. | |
0d4d26a7 | 21900 | |
048addec JD |
21901 | * macterm.c (mac_check_for_quit_char, quit_char_comp) |
21902 | (init_quit_char_handler, mac_determine_quit_char_modifiers) | |
6bdb309a | 21903 | (mac_initialize): Add code to check for pressing of quit_char |
048addec | 21904 | in the OS event queue. |
b11f1d8a | 21905 | |
048addec JD |
21906 | * mac.c (sys_select): Call mac_check_for_quit_char every second |
21907 | while blocking on select. | |
0d4d26a7 | 21908 | |
048addec JD |
21909 | * mac.c (sys_read): Use sys_select to test for input first |
21910 | before calling read, to allow C-g to break. | |
9252f7bc | 21911 | |
048addec | 21912 | 2002-12-07 Richard M. Stallman <rms@gnu.org> |
9252f7bc | 21913 | |
048addec | 21914 | * minibuf.c (Fcompleting_read): Doc fix. |
9252f7bc | 21915 | |
048addec | 21916 | * lread.c (syms_of_lread) <load-history>: Doc fix. |
9252f7bc | 21917 | |
048addec | 21918 | * fileio.c (Fcopy_file): Set immediate_quit around emacs_open call. |
9252f7bc | 21919 | |
048addec JD |
21920 | * eval.c (Fdefun, Fdefmacro): Record in load-history redefining an |
21921 | autoload. | |
9252f7bc | 21922 | |
048addec | 21923 | * data.c (Fdefalias): Record in load-history redefining an autoload. |
9252f7bc | 21924 | |
048addec | 21925 | * alloca.c: Undo ifdef change accidentally made on 12-04. |
bfa261c0 | 21926 | |
c6605d63 | 21927 | 2002-12-06 Francesco Potort\e,Al\e(B <pot@gnu.org> |
bfa261c0 | 21928 | |
048addec | 21929 | * xfns.c (png_load): Avoid double gamma correction for PNG images. |
c5992177 | 21930 | |
048addec | 21931 | 2002-12-04 Richard M. Stallman <rms@gnu.org> |
c5992177 | 21932 | |
048addec | 21933 | * sysdep.c (fcntl.h): Test only HAVE_FCNTL_H. |
c5992177 | 21934 | |
048addec | 21935 | * fileio.c (fcntl.h): Test only HAVE_FCNTL_H. |
c5992177 | 21936 | |
048addec | 21937 | * alloca.c: Don't use #error. |
02d588e2 | 21938 | |
048addec | 21939 | 2002-12-03 Dave Love <fx@gnu.org> |
02d588e2 | 21940 | |
048addec JD |
21941 | * buffer.c (Qucs_set_table_for_input): New. |
21942 | (Fget_buffer_create): Use it. | |
21943 | (Qset_buffer_major_mode_hook): Deleted. | |
21944 | (Fset_buffer_major_mode): Revert previous change. | |
21945 | (init_buffer_once): Intern ucs-set-table-for-input. | |
21946 | (syms_of_buffer): Delete Qset_buffer_major_mode_hook. | |
21947 | Add &Qucs_set_table_for_input. | |
451e2697 | 21948 | |
048addec | 21949 | 2002-12-03 Andreas Schwab <schwab@suse.de> |
451e2697 | 21950 | |
048addec JD |
21951 | * callint.c (Fcall_interactively): Use next_event only if less |
21952 | than key_count. | |
72742a99 | 21953 | |
048addec | 21954 | 2002-12-02 Andrew Choi <akochoi@shaw.ca> |
72742a99 | 21955 | |
048addec JD |
21956 | * macmenu.c (add_menu_item, fill_menubar): Truncate menu item |
21957 | names to 255 characters. | |
72742a99 | 21958 | |
048addec JD |
21959 | * macterm.c (XTread_socket): If all frames have been collapsed, |
21960 | expand the first one before handling drag-and-drop events. | |
72742a99 | 21961 | |
048addec JD |
21962 | * s/darwin.h (GETPGRP_NO_ARG): Delete. Replaced by GETPGRP_VOID, |
21963 | which is detected by autoconf. | |
40e6ff95 | 21964 | |
048addec | 21965 | 2002-12-01 Steven Tamm <steventamm@mac.com> |
40e6ff95 | 21966 | |
048addec JD |
21967 | * unexmacosx.c (copy_twolevelhints, dump_it): Now corrects the |
21968 | offset in two hints table to allow prebinding to be redone and | |
21969 | allow the executable to be stripped. | |
c02138c6 | 21970 | |
048addec | 21971 | 2002-11-29 Dave Love <fx@gnu.org> |
c02138c6 | 21972 | |
048addec JD |
21973 | * fns.c (Frequire): Don't call LOADHIST_ATTACH if feature was |
21974 | already provided. | |
0e47bbf7 | 21975 | |
048addec | 21976 | 2002-11-29 Richard M. Stallman <rms@gnu.org> |
0e47bbf7 | 21977 | |
048addec JD |
21978 | * xdisp.c (start_display): Check more intelligently for |
21979 | whether the line is continued. | |
21980 | (move_it_vertically_backward): Clear it->continuation_lines_width. | |
44129dcb | 21981 | |
048addec | 21982 | 2002-11-28 Dave Love <fx@gnu.org> |
44129dcb | 21983 | |
048addec JD |
21984 | * s/amdahl.h, s/unipl5-0.h, m/sgi3000.h, s/3700.h, s/alliant-2800.h: |
21985 | * s/alliant.h, s/altos.h: Deleted. (Unused/empty.) | |
f707342d | 21986 | |
048addec | 21987 | 2002-11-27 Steven Tamm <steventamm@mac.com> |
f707342d | 21988 | |
048addec JD |
21989 | * fns.c (Frequire): Change nesting allowance from 2 to 3 to cause |
21990 | more descriptive error output from lread.c:Fload upon most require | |
21991 | cycles during boostrapping. | |
1637fd2c | 21992 | |
048addec | 21993 | 2002-11-27 Jason Rumney <jasonr@gnu.org> |
1637fd2c | 21994 | |
048addec JD |
21995 | * fileio.c (Finsert_file_contents): Give a more appropriate error |
21996 | for files bigger than 2Gb when off_t is 32 bit. | |
1637fd2c | 21997 | |
048addec JD |
21998 | * dired.c (Ffile_attributes): Don't return negative file sizes for |
21999 | files bigger than 2Gb when off_t is 32 bit. | |
540c2788 | 22000 | |
048addec | 22001 | 2002-11-27 Dave Love <fx@gnu.org> |
6b2fd6ea | 22002 | |
048addec | 22003 | * s/irix6-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. |
6b2fd6ea | 22004 | |
048addec JD |
22005 | * systty.h: Don't conditionally define GETPGRP_NO_ARG. |
22006 | Test GETPGRP_VOID instead. | |
22007 | [BSD_TERMIOS]: Remove definitions (never used). | |
6b2fd6ea | 22008 | |
048addec JD |
22009 | * s/osf5-0.h (WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist): |
22010 | Don't define. | |
22011 | (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
540c2788 | 22012 | |
048addec | 22013 | * m/mips.h (WORDS_BIG_ENDIAN): Define conditionally. |
8cc03716 | 22014 | |
048addec | 22015 | 2002-11-25 Jason Rumney <jasonr@gnu.org> |
8cc03716 | 22016 | |
048addec JD |
22017 | * w32.c (sys_write): Avoid non-blocking mode, which is not fully |
22018 | supported. | |
4042a81a | 22019 | |
048addec | 22020 | 2002-11-25 Dave Love <fx@gnu.org> |
4042a81a | 22021 | |
048addec | 22022 | * unexalpha.c (update_dynamic_symbols): Cast arg of fatal_unexec. |
4042a81a | 22023 | |
048addec | 22024 | * Makefile.in (TEMACS_LDFLAGS): Update last change. |
be4ee72f | 22025 | |
048addec | 22026 | 2002-11-25 Andreas Schwab <schwab@suse.de> |
be4ee72f | 22027 | |
048addec | 22028 | * m/ia64.h: Restore `#ifndef NOT_C_CODE' deleted by last change. |
82122254 | 22029 | |
048addec | 22030 | 2002-11-24 Steven Tamm <steventamm@mac.com> |
82122254 | 22031 | |
048addec JD |
22032 | * unexmacosx.c (unexec_realloc): Use malloc_default_zone to |
22033 | determine the size of pointers alloced in unexed space instead | |
22034 | of using possibly invalid emacs_zone pointers. This fixes the | |
22035 | binary incompatibility problems caused by updates to libSystem.B. | |
c1ee53bc | 22036 | |
048addec | 22037 | 2002-11-24 Richard M. Stallman <rms@gnu.org> |
c1ee53bc | 22038 | |
048addec | 22039 | * search.c (Fstring_match): Doc fix. |
c1ee53bc | 22040 | |
048addec JD |
22041 | * callint.c (Fcall_interactively): If a command fails because |
22042 | `*' detects a read-only buffer, but RECORD_FLAG is set, | |
22043 | record it anyway if the args don't actually do tty input. | |
5598c32e | 22044 | |
048addec | 22045 | 2002-11-22 Dave Love <fx@gnu.org> |
5598c32e | 22046 | |
048addec | 22047 | * sysdep.c (stuff_char) [PROTOTYPES]: Provide ISO C arglist. |
5598c32e | 22048 | |
048addec JD |
22049 | * keyboard.c (interrupt_signal): Provide forward declaration. |
22050 | (kbd_buffer_store_event): Don't declare interrupt_signal. | |
5598c32e | 22051 | |
048addec | 22052 | * xdisp.c (store_frame_title_char) [PROTOTYPES]: Provide ISO C arglist. |
97b14e22 | 22053 | |
048addec | 22054 | 2002-11-21 Richard M. Stallman <rms@gnu.org> |
97b14e22 | 22055 | |
048addec JD |
22056 | * eval.c (interactive_p): Skip any number of bytecode |
22057 | and special form frames, in any order. | |
516eea8e | 22058 | |
048addec | 22059 | 2002-11-20 Jason Rumney <jasonr@gnu.org> |
516eea8e | 22060 | |
048addec JD |
22061 | * w32fns.c (convert_mono_to_color_image): New function. |
22062 | (xbm_load, xbm_load_image): Use it when foreground or background | |
22063 | is explicitly set. | |
04dbfa08 | 22064 | |
048addec | 22065 | 2002-11-19 Dave Love <fx@gnu.org> |
04dbfa08 | 22066 | |
048addec | 22067 | * s/usg5-4.h, sco4.h (bcopy, bzero, bcmp): Don't define. |
b4aebae3 | 22068 | |
048addec | 22069 | 2002-11-18 Jason Rumney <jasonr@gnu.org> |
b4aebae3 | 22070 | |
048addec JD |
22071 | * w32fns.c (x_build_heuristic_mask): Filter palette info from color. |
22072 | (XPutPixel): Swap blue and red. | |
22073 | (xpm_format, pbm_format, png_format, jpeg_format, tiff_format) | |
22074 | (gif_format, gs_format): Use IMAGE_ASCENT_VALUE. | |
22075 | (xpm_image_p, pbm_image_p, png_image_p, jpeg_image_p) | |
22076 | (tiff_image_p, gif_image_p, gs_image_p): Don't check ascent. | |
1998560a | 22077 | |
048addec | 22078 | 2002-11-18 Dave Love <fx@gnu.org> |
d824beee | 22079 | |
048addec | 22080 | * m/orion105.h (HAVE_ALLOCA): Don't define. |
d824beee | 22081 | |
048addec | 22082 | * m/m68k.h, m/arm.h, mtekxd88.h, m/tower32v3.h: Don't define alloca. |
d824beee | 22083 | |
048addec | 22084 | * m/intel386.h: Don't include alloca.h or define alloca. |
d824beee | 22085 | |
048addec JD |
22086 | * m/ia64.h: Don't include alloca.h, stdlib.h. Don't declare |
22087 | malloc, realloc, calloc. | |
d824beee | 22088 | |
048addec JD |
22089 | * m/hp800.h, m/sr2k.h, m/ns16000.h, m/wicat.h (bcopy, bzero) |
22090 | (bcmp): Don't define. | |
d824beee | 22091 | |
048addec | 22092 | * m/delta.h (bcopy, bzero, bcmp, alloca): Don't define. |
d824beee | 22093 | |
048addec | 22094 | * m/amdahl.h: Don't define LIB_STANDARD. |
d824beee | 22095 | |
048addec | 22096 | * m/alpha.h: Move OSF1 stuff from here to s/osf1.h. |
d824beee | 22097 | |
048addec | 22098 | * s/osf1.h: Move OSF1 stuff from m/alpha.h to here. |
d824beee | 22099 | |
048addec JD |
22100 | * s/irix4-0.h, s/irix5-0.h, m/powerpcle.h, m/sparc.h: |
22101 | Don't include alloca.h. | |
d824beee | 22102 | |
048addec | 22103 | * s/aix3-2.h (HAVE_FSYNC): Don't define. |
1998560a | 22104 | |
048addec | 22105 | * regex.c (_GNU_SOURCE): Don't define. |
1998560a | 22106 | |
048addec | 22107 | * process.c (_GNU_SOURCE): Don't define. |
1998560a | 22108 | |
048addec | 22109 | * fileio.c (_GNU_SOURCE, HAVE_FSYNC): Don't define. |
8704a6ab | 22110 | |
048addec | 22111 | 2002-11-18 Markus Rost <rost@math.ohio-state.edu> |
8704a6ab | 22112 | |
048addec | 22113 | * s/sol2-8.h: Include sol2-6.h. |
6ae2cd57 | 22114 | |
048addec | 22115 | 2002-11-18 Miles Bader <miles@gnu.org> |
6ae2cd57 | 22116 | |
048addec JD |
22117 | * dispextern.h (struct face): Add `overstrike' field. |
22118 | * xterm.c (x_draw_glyph_string_foreground) | |
22119 | (x_draw_composite_glyph_string_foreground): Implement overstriking. | |
22120 | * xfaces.c (load_face_font): Set `face->overstrike' based on | |
22121 | result from choose_face_font. | |
22122 | (best_matching_font, choose_face_font): Add `needs_overstrike' | |
22123 | argument, and use it to return whether overstriking is desirable | |
22124 | for this face/font combo. | |
1e0d2d60 | 22125 | (set_font_frame_param): Pass new argument to choose_face_font. |
6ae2cd57 | 22126 | |
048addec | 22127 | 2002-11-17 Ben Key <BKey1@tampabay.rr.com> |
3582b6a3 | 22128 | |
048addec JD |
22129 | This change is my fix for the following entry in etc/PROBLEMS: |
22130 | "Emacs built on Windows 9x/ME crashes at startup on Windows XP, | |
22131 | or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." | |
f60ae425 | 22132 | |
048addec JD |
22133 | * w32.c: Added wrapper functions around the win32 API functions |
22134 | OpenProcessToken, GetTokenInformation, LookupAccountSid, and | |
22135 | GetSidIdentifierAuthority. These wrapper functions serve two | |
22136 | purposes: | |
22137 | 1. They ensure that the wrapped function can never be called | |
22138 | when Emacs is running on an operating system on which they are | |
22139 | not supported (Microsoft Windows 95 / 98 / ME). | |
22140 | 2. They call the wrapped functions via function pointers rather | |
22141 | than calling them directly. This avoids taking advantage of the | |
22142 | undocumented fact that although these functions are not supported | |
22143 | in the 9x branch of Microsoft Windows, the functions do exist in | |
22144 | the version of advapi32.dll that is found in the 9x branch of | |
22145 | Microsoft Windows. | |
f60ae425 | 22146 | |
6bdb309a | 22147 | * w32.c (init_user_info): Replace the calls to the win32 API |
048addec JD |
22148 | functions OpenProcessToken, GetTokenInformation, LookupAccountSid, |
22149 | and GetSidIdentifierAuthority with calls to the newly added | |
22150 | wrapper functions. | |
f60ae425 | 22151 | |
048addec JD |
22152 | * w32.h: Added extern declarations for the following functions: |
22153 | syms_of_w32term, syms_of_w32fns, syms_of_w32select, | |
22154 | syms_of_w32menu, and void syms_of_fontset. | |
f60ae425 | 22155 | |
6bdb309a | 22156 | * w32fns.c (w32_wnd_proc): Add code to reinitialize the |
048addec JD |
22157 | function pointer track_mouse_event_fn in the handler for the |
22158 | WM_SETFOCUS message. | |
3582b6a3 | 22159 | |
6bdb309a | 22160 | * w32menu.c (initialize_frame_menubar): Add code to |
048addec JD |
22161 | reinitialize the function pointers set_menu_item_info and |
22162 | get_menu_item_info. | |
f60ae425 | 22163 | |
048addec | 22164 | 2002-11-17 Ben Key <BKey1@tampabay.rr.com> |
f60ae425 | 22165 | |
048addec JD |
22166 | * sound.c: Added a partial implementation of play-sound-internal |
22167 | for Microsoft Windows. Added various #ifdef / #else / #endif | |
22168 | code blocks to separate the code that will compile under | |
9fed2905 | 22169 | Microsoft Windows from the code that is specific to GNU/Linux. |
048addec | 22170 | Moved several blocks of code around to make this separation of code |
9fed2905 | 22171 | into Windows compatible and GNU/Linux compatible code blocks easier. |
f60ae425 | 22172 | |
048addec | 22173 | * makefile.w32-in: Include sound.c and link with WinMM.lib. |
a0f0878d | 22174 | |
048addec JD |
22175 | * s/ms-w32.h: Defined the symbol HAVE_SOUND so that the newly |
22176 | added support for play-sound-internal under Windows would be | |
22177 | included in the build of Emacs. | |
517f42a0 | 22178 | |
048addec | 22179 | 2002-11-16 Jason Rumney <jasonr@gnu.org> |
517f42a0 | 22180 | |
048addec | 22181 | * w32fns.c (w32_load_system_font): Don't disable Cleartype. |
517f42a0 | 22182 | |
048addec | 22183 | * w32term.c (w32_get_glyph_string_clip_rect): Clip cursor tightly. |
a0f0878d | 22184 | |
048addec | 22185 | 2002-11-15 Stefan Monnier <monnier@cs.yale.edu> |
a0f0878d | 22186 | |
048addec JD |
22187 | * keyboard.c (command_loop_1): Fix int/Lisp_Object mixup. |
22188 | (adjust_point_for_property): Move out of display and invisible even if | |
22189 | we were already inside before (in case a property was added while | |
22190 | we weren't looking). Be more careful when handling invisible props. | |
22191 | Skip invisible text as if it really wasn't there at all. | |
aab83f91 | 22192 | |
048addec | 22193 | 2002-11-15 Jason Rumney <jasonr@gnu.org> |
aab83f91 | 22194 | |
048addec JD |
22195 | * w32term.c (x_draw_image_foreground) |
22196 | (w32_draw_image_foreground_1): Use standard copy and invert | |
22197 | operations to draw images. | |
aab83f91 | 22198 | |
048addec JD |
22199 | * w32fns.c (x_create_x_image_and_pixmap): Fill in palette for |
22200 | depth of 1. | |
22201 | (xbm_read_bitmap_data): Invert bits as xbm is read in. | |
22202 | (XPutPixel): Don't invert bits here. | |
a4478a76 | 22203 | |
048addec | 22204 | 2002-11-15 Jason Rumney <jasonr@gnu.org> |
a4478a76 | 22205 | |
048addec JD |
22206 | * w32term.c (x_draw_image_foreground, x_draw_image_glyph_string) |
22207 | (w32_draw_image_foreground_1): Handle image masks. | |
22208 | (x_draw_image_glyph_string): Don't BitBlt transparently. | |
a4478a76 | 22209 | |
048addec JD |
22210 | * w32fns.c (w32_defined_color): Adjust RGB values for Emacs. |
22211 | (x_from_xcolors): Adjust RGB values for W32. | |
22212 | (image_background, image_background_transparent) | |
22213 | (postprocess_image, x_to_xcolors, x_disable_image) | |
22214 | (x_build_heuristic_mask): Adapt for W32 and enable. | |
22215 | (x_create_x_image_and_pixmap): Mark images with palettes as such. | |
22216 | (xbm_load): Remove unused variable. | |
03670a65 | 22217 | |
048addec | 22218 | 2002-11-14 Richard M. Stallman <rms@gnu.org> |
03670a65 | 22219 | |
048addec | 22220 | * buffer.c (syms_of_buffer): Doc fix. |
59daa29a | 22221 | |
048addec | 22222 | 2002-11-14 Dave Love <fx@gnu.org> |
59daa29a | 22223 | |
048addec | 22224 | * alloc.c (SETJMP_WILL_NOT_WORK): Add note. |
59daa29a | 22225 | |
048addec JD |
22226 | * xterm.c (x_draw_relief_rect, x_draw_box_rect, x_update_cursor): |
22227 | * xmenu.c (unuse_menu_items, digest_single_submenu): | |
22228 | * xfns.c (x_put_x_image): | |
22229 | * xdisp.c (message2_nolog, set_message): | |
22230 | * undo.c (record_point): | |
22231 | * terminfo.c (tparam): | |
22232 | * syntax.c (scan_sexps_forward): | |
22233 | * scroll.c (calculate_scrolling, calculate_direct_scrolling): | |
22234 | * composite.c (update_compositions): | |
22235 | * cm.c (calccost, cmgoto): | |
22236 | * charset.c (c_string_width): Declare all args (per C99). | |
59daa29a | 22237 | |
048addec | 22238 | * frame.h (get_specified_cursor_type, get_window_cursor_type): Declare. |
59daa29a | 22239 | |
048addec JD |
22240 | * lisp.h (get_specified_cursor_type, get_window_cursor_type): |
22241 | Don't declare. | |
59daa29a | 22242 | |
048addec | 22243 | * emacs.c (main) [!VMS]: Avoid third arg. |
59daa29a | 22244 | |
048addec JD |
22245 | * fns.c (Fcopy_sequence): Doc fix. |
22246 | (Fmap_char_table): Cast `call2'. | |
3947677c | 22247 | |
c6605d63 | 22248 | 2002-11-14 Francesco Potort\e,Al\e(B <pot@gnu.org> |
048addec JD |
22249 | |
22250 | * s/sol2-8.h: New file. | |
22251 | ||
22252 | 2002-11-14 Kim F. Storm <storm@cua.dk> | |
22253 | ||
22254 | * buffer.c (syms_of_buffer) <mode-line-format>: Document symbol | |
22255 | dependency on `risky-local-variable' and the :propertize form. | |
22256 | ||
22257 | 2002-11-12 Stefan Monnier <monnier@cs.yale.edu> | |
22258 | ||
22259 | * fns.c (Fmap_char_table): Don't use map_char_table's function arg. | |
22260 | ||
22261 | * syntax.c (scan_sexps_forward): Undo last patch. | |
22262 | Use a more obvious fix: check eob before updating the syntax table. | |
22263 | ||
22264 | 2002-11-09 Stefan Monnier <monnier@cs.yale.edu> | |
22265 | ||
22266 | * syntax.c (scan_sexps_forward): Update syntax table before reading | |
22267 | a char rather than after so we don't update the table past eob. | |
22268 | ||
22269 | 2002-11-09 Dave Love <fx@gnu.org> | |
22270 | ||
22271 | * buffer.c (Fset_buffer_major_mode): Fix last change. | |
22272 | ||
22273 | * regex.c (regexec): Fix pmatch declaration. | |
22274 | ||
22275 | * cmds.c (Fself_insert_command): Apply Vtranslation_table_for_input. | |
22276 | ||
22277 | * keyboard.c (command_loop_1): Apply Vtranslation_table_for_input | |
22278 | to self-inserting characters. | |
22279 | (syms_of_keyboard) <keyboard-translate-table>: Doc fix. | |
22280 | ||
22281 | * coding.c (Vtranslation_table_for_input): New. | |
22282 | (syms_of_coding): DEFVAR it. | |
22283 | ||
22284 | 2002-11-08 Juanma Barranquero <lektu@terra.es> | |
22285 | ||
22286 | * w32term.c (w32_draw_fringe_bitmap): Remove unused local variable | |
22287 | window. | |
22288 | ||
22289 | 2002-11-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
22290 | ||
6bdb309a | 22291 | * process.c (Fformat_network_address): Remove unused locals p, |
048addec JD |
22292 | cp, and i. |
22293 | ||
22294 | 2002-11-06 Dave Love <fx@gnu.org> | |
22295 | ||
22296 | * buffer.c (Qset_buffer_major_mode_hook): New. | |
22297 | (Fset_buffer_major_mode): Use it. | |
22298 | ||
22299 | 2002-11-06 Richard M. Stallman <rms@gnu.org> | |
22300 | ||
22301 | * xterm.c (x_term_init): Use turn_on_atimers, not start_polling | |
22302 | and stop_polling. | |
22303 | ||
22304 | * process.c (wait_reading_process_input): | |
22305 | Test POLLING_PROBLEM_IN_SELECT, not hpux. | |
22306 | Avoid initialization for auto Lisp_Object var. | |
22307 | ||
22308 | * s/hpux11.h (POLLING_PROBLEM_IN_SELECT): Add #undef. | |
22309 | ||
22310 | * s/hpux10.h (POLLING_PROBLEM_IN_SELECT): Defined. | |
22311 | ||
22312 | 2002-11-05 Richard M. Stallman <rms@gnu.org> | |
22313 | ||
22314 | * s/sol2-5.h (BROKEN_SIGIO): Turn off the #undef. | |
22315 | ||
22316 | * callint.c (Fcall_interactively): New local filter_specs. | |
22317 | (Fcall_interactively): Check for progn as well as let. | |
22318 | Add a gcpro. | |
22319 | (Qprogn): New variable. | |
22320 | (syms_of_callint): Staticpro and init Qprogn. | |
22321 | ||
22322 | 2002-11-04 John Paul Wallington <jpw@shootybangbang.com> | |
22323 | ||
22324 | * lread.c (Feval_buffer): Doc fix. | |
22325 | ||
22326 | 2002-11-04 Dave Love <fx@gnu.org> | |
22327 | ||
22328 | * keyboard.c (read_char): Always translate iff | |
22329 | Vkeyboard_translate_table is a char table and c is valid. | |
22330 | ||
22331 | * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table | |
22332 | and fix C types. | |
22333 | ||
22334 | 2002-11-03 Stefan Monnier <monnier@cs.yale.edu> | |
22335 | ||
22336 | * xdisp.c (single_display_prop_intangible_p): Strings are intangible. | |
22337 | ||
22338 | * editfns.c (get_pos_property): Don't hardcode Qfield. | |
22339 | ||
22340 | * keyboard.c (adjust_point_for_property): Handle `display' prop on | |
22341 | overlays. Also handle `invisible' prop. | |
22342 | ||
22343 | 2002-11-02 Stefan Monnier <monnier@cs.yale.edu> | |
22344 | ||
22345 | * coding.c (decode_coding_emacs_mule, decode_coding_iso2022) | |
22346 | (decode_coding_sjis_big5, decode_eol): Allow lone \r in DOS EOL. | |
22347 | ||
22348 | 2002-11-01 Andreas Schwab <schwab@suse.de> | |
22349 | ||
22350 | * editfns.c (Fmessage): Revert last change to properly handle %%. | |
22351 | ||
22352 | 2002-11-01 Stefan Monnier <monnier@cs.yale.edu> | |
22353 | ||
22354 | * xmenu.c (unuse_menu_items): New fun. | |
22355 | (menu_items_inuse): New var. | |
22356 | (syms_of_xmenu): Initialize it. | |
22357 | (init_menu_items): Use it to detect re-entrance. | |
22358 | (Fx_popup_menu, Fx_popup_dialog, set_frame_menubar): Reset when done. | |
22359 | (Fx_popup_menu): Remove spurious XSETFRAME. | |
22360 | ||
22361 | * editfns.c (find_field): Make an exception for nil fields. | |
22362 | ||
22363 | 2002-11-01 Dave Love <fx@gnu.org> | |
22364 | ||
22365 | * m/gec63.h: Deleted. | |
22366 | ||
22367 | 2002-10-31 Dave Love <fx@gnu.org> | |
22368 | ||
22369 | * xterm.c (XTread_socket): Fix last change. | |
22370 | (xaw_scroll_callback): Cast call_data to long to avoid warning. | |
22371 | ||
22372 | 2002-10-31 Stefan Monnier <monnier@cs.yale.edu> | |
22373 | ||
22374 | * process.c (Fformat_network_address): Fix int/Lisp_Object mixup. | |
22375 | ||
22376 | 2002-10-30 Stefan Monnier <monnier@cs.yale.edu> | |
22377 | ||
22378 | * editfns.c (overlays_around, get_pos_property): New funs. | |
22379 | (find_field): Use them. | |
22380 | Also be careful not to modify POS before its last use. | |
22381 | (Fmessage): Don't Fformat if there's nothing to format. | |
22382 | ||
22383 | 2002-10-30 Dave Love <fx@gnu.org> | |
22384 | ||
22385 | * process.c [HAVE_SYS_WAIT]: Include sys/wait.h. | |
22386 | [HAVE_PTY_H]; Include pty.h. | |
22387 | ||
22388 | * lread.c (Fload) <!load_dangerous_libraries>: Close fd. | |
22389 | ||
22390 | * xterm.c (Qeql): Declare. | |
22391 | (Vx_keysym_table): New. | |
22392 | (syms_of_xterm): Initialize it. | |
22393 | (XTread_socket): Use it. Deal with ASCII keysyms. | |
22394 | (XSetIMValues) [HAVE_X11R6]: Prototype. | |
22395 | ||
22396 | * keyboard.c (lispy_accent_codes, lispy_accent_keys): Extended. | |
22397 | (lispy_kana_keys): Comment out. | |
22398 | (make_lispy_event) [XK_kana_A]: Comment out. | |
22399 | (modify_event_symbol) <sizeof (long) == sizeof (EMACS_INT)>: | |
22400 | Fix sprintf call. | |
22401 | ||
22402 | * s/osf5-0.h (C_SWITCH_SYSTEM): Revert last change (fixed by | |
22403 | regexp.h change). | |
22404 | (TERMINFO, LIBS_TERMCAP): Define. | |
22405 | ||
22406 | * s/usg5-4.h (bcopy, bzero): Define conditional on HAVE_BCOPY. | |
22407 | (bcmp): Define conditional on HAVE_BCMP. | |
22408 | (NO_SIOCTL_H): Don't define. | |
22409 | (TIOCSIGSEND): Don't make conditional on IRIX6. | |
22410 | ||
22411 | * s/sol2-5.h: Don't include strings.h. | |
22412 | (bcopy, bzero, bcmp) [HAVE_BCOPY]: Don't undef. | |
22413 | ||
22414 | * s/irix6-0.h (IRIX6): Don't define. | |
22415 | (bcopy, bcmp, bzero): Don't undef. | |
22416 | ||
22417 | * s/irix6-5.h: Don't include strings.h. | |
22418 | (IRIX6): Don't define. | |
22419 | (bcopy, bcmp, bzero): Don't undef. | |
22420 | ||
22421 | * syntax.c (Fforward_comment): Doc fix. | |
22422 | ||
22423 | 2002-10-29 Kim F. Storm <storm@cua.dk> | |
22424 | ||
22425 | * process.c (Fsignal_process): Allow PROCESS to be specified by | |
22426 | name in addition to pid (as integer or string). | |
22427 | ||
22428 | 2002-10-28 Harald Maier <Harald.Maier.BW@t-online.de> (tiny change) | |
22429 | ||
22430 | * w32heap.c: Don't redefine _heap_init and _heap_term on MSVC 7 build | |
22431 | environments. | |
22432 | ||
22433 | 2002-10-27 Kim F. Storm <storm@cua.dk> | |
22434 | ||
22435 | * xterm.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
22436 | ||
22437 | * w32term.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
22438 | ||
22439 | * msdos.c (IT_note_mouse_highlight): Don't use mouse-face if hidden. | |
22440 | ||
22441 | * macterm.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
22442 | ||
22443 | 2002-10-26 Richard M. Stallman <rms@gnu.org> | |
22444 | ||
22445 | * editfns.c (Fformat): Detect invalid format letters for floats. | |
22446 | ||
22447 | 2002-10-25 Kenichi Handa <handa@m17n.org> | |
22448 | ||
22449 | * xfns.c (x_set_name): Encode by Qcompound_text unconditionally. | |
22450 | (x_set_title): Likewise. | |
22451 | ||
22452 | 2002-10-25 Juanma Barranquero <lektu@terra.es> | |
22453 | ||
22454 | * macgui.h: | |
22455 | * w32gui.h: Remove definition of XColor. | |
22456 | ||
22457 | * dispextern.h [!HAVE_X_WINDOWS]: Define XColor. | |
22458 | ||
22459 | 2002-10-24 Kim F. Storm <storm@cua.dk> | |
22460 | ||
22461 | * xdisp.c (get_window_cursor_type): New arg ACTIVE_CURSOR. | |
22462 | Callers changed (supply dummy arg). | |
22463 | ||
22464 | * lisp.h (get_window_cursor_type): Update prototype. | |
22465 | ||
22466 | * w32term.c (x_display_and_set_cursor): Get active_cursor from | |
22467 | get_window_cursor_type to track system caret. | |
22468 | ||
22469 | 2002-10-24 Kim F. Storm <storm@cua.dk> | |
22470 | ||
22471 | * process.c (Fformat_network_address): New function. | |
22472 | (syms_of_process): Defsubr it. | |
22473 | (list_processes_1): Use it to format :local/:remote address if | |
f9711de4 | 22474 | service/host is not set; before Emacs would crash in that case. |
048addec JD |
22475 | (Fmake_network_process): Don't use Ffind_operation_coding_system |
22476 | to setup coding system if host or service is not set. | |
22477 | ||
22478 | 2002-10-23 Juanma Barranquero <lektu@terra.es> | |
22479 | ||
22480 | Patch suggested by Jay Finger <jay_finger@hotmail.com>. | |
22481 | ||
22482 | * w32term.c (w32_term_init): Pass XColor to w32_define_color, not | |
22483 | COLORREF. | |
22484 | ||
22485 | * macgui.h: | |
22486 | * w32gui.h: Add definition of XColor. | |
22487 | ||
22488 | * macfns.c: | |
22489 | * w32fns.c: | |
22490 | * xfaces.c: Remove definition of XColor. | |
22491 | ||
22492 | 2002-10-22 Stefan Monnier <monnier@cs.yale.edu> | |
22493 | ||
22494 | * xfns.c (x_set_name, x_set_title): `icon.value' has unsigned char. | |
22495 | ||
22496 | * window.c (window_loop): For GET_LRU_WINDOW and GET_LARGEST_WINDOW>, | |
22497 | Only ignore truly dedicated windows. For UNSHOW_BUFFER, delete the | |
22498 | window if it is dedicated. | |
22499 | (Fshrink_window): Add preserve_before as was done for enlarge_window. | |
22500 | (Vspecial_display_function): Update docstring. | |
22501 | ||
22502 | * buffer.c (assoc_ignore_text_properties, Fother_buffer, Fkill_buffer) | |
22503 | (call_overlay_mod_hooks): Use CONSP and XCAR/XCDR. | |
1ae8d759 | 22504 | (Fget_buffer_create, advance_to_char_boundary): Use BEG and BEG_BYTE. |
048addec JD |
22505 | |
22506 | 2002-10-21 Stefan Monnier <monnier@cs.yale.edu> | |
22507 | ||
22508 | * casefiddle.c (casify_region): Don't treat a prefix char as part | |
22509 | of a word when at the beginning. | |
22510 | ||
22511 | 2002-10-17 Juanma Barranquero <lektu@terra.es> | |
22512 | ||
22513 | * lread.c (syms_of_lread): Fix typos. | |
22514 | ||
22515 | 2002-10-17 Dave Love <fx@gnu.org> | |
22516 | ||
22517 | * Makefile.in (TEMACS_LDFLAGS): Add trailing comment. | |
22518 | ||
22519 | 2002-10-16 Richard M. Stallman <rms@gnu.org> | |
22520 | ||
22521 | * fileio.c (Fcopy_file): Fix backward test of KEEP_TIME. | |
22522 | ||
22523 | 2002-10-14 Juanma Barranquero <lektu@terra.es> | |
22524 | ||
22525 | * w16select.c (syms_of_win16select): Fix docstring for | |
22526 | `selection-coding-system'. | |
22527 | ||
22528 | * w32select.c (syms_of_w32select): Likewise. | |
22529 | ||
22530 | 2002-10-14 Stefan Monnier <monnier@cs.yale.edu> | |
22531 | ||
22532 | * syntax.c (scan_lists): Don't get fooled by a symbol ending with | |
22533 | a backslash-quoted char. | |
22534 | (scan_lists, scan_sexps_forward): Pacify the compiler. | |
22535 | ||
22536 | 2002-10-13 Richard M. Stallman <rms@gnu.org> | |
22537 | ||
22538 | * window.c (window_scroll): Set immediate_quit. | |
22539 | ||
22540 | * print.c (print): When backquote form is the car of a list, | |
22541 | output in old style. Use old_backquote_output to output all | |
22542 | comma forms inside it in old style too. | |
22543 | ||
22544 | * buffer.h (struct buffer): Move `undo_list' down below `name'. | |
22545 | ||
22546 | 2002-10-11 Markus Rost <rost@math.ohio-state.edu> | |
22547 | ||
22548 | * emacs.c (syms_of_emacs) <kill-emacs-hook>: Doc fix (not run in | |
22549 | batch mode). | |
22550 | ||
22551 | * lread.c (Fload): Doc fix (load-suffixes). | |
22552 | ||
22553 | 2002-10-10 Steven Tamm <steventamm@mac.com> | |
22554 | ||
22555 | * macterm.c (syms_of_macterm, mac_get_mouse_btn): | |
22556 | Reverse functionality of mac-wheel-button-is-mouse-2 to be correct. | |
22557 | Also switch the default to Qnil from Qt. | |
22558 | ||
22559 | 2002-10-08 Kenichi Handa <handa@m17n.org> | |
22560 | ||
22561 | * coding.c (code_convert_region): When we need more GAP for | |
22562 | conversion, pay attention to the case that coding->produced is not | |
22563 | greater than coding->consumed. | |
22564 | ||
22565 | 2002-10-07 Richard M. Stallman <rms@gnu.org> | |
22566 | ||
22567 | * unexelf.c (unexec): Redo 9/16 change, but only if IRIX6_5. | |
22568 | ||
22569 | 2002-10-06 Andrew Choi <akochoi@shaw.ca> | |
22570 | ||
22571 | * macmenu.c (mac_menu_show): Add j to count menu items; match | |
22572 | menu_item_selection to it to find selected item. | |
22573 | ||
22574 | 2002-10-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
22575 | ||
22576 | * xterm.c (XTread_socket): Fix from 2002-10-03 didn't cover all | |
22577 | cases. The correct fix is to pass ReparentNotify to Xt. | |
22578 | The shell widget interprets ConfigureNotify differently depending | |
22579 | on if it has been reparented or not. | |
22580 | ||
22581 | 2002-10-05 Markus Rost <rost@math.ohio-state.edu> | |
22582 | ||
22583 | * editfns.c (Fformat_time_string): Doc fix. | |
22584 | ||
22585 | 2002-10-05 John Paul Wallington <jpw@shootybangbang.com> | |
22586 | ||
22587 | * fns.c (Flength): Doc fix. | |
22588 | ||
22589 | 2002-10-04 Stefan Monnier <monnier@cs.yale.edu> | |
22590 | ||
22591 | * keyboard.c (keyremap): New struct. | |
22592 | (read_key_sequence): Use it: globally replace keytran_foo with | |
22593 | keytran.foo and fkey_foo with fkey.foo. Rename temp vars | |
22594 | keytran_next and fkey_next to just `next'. | |
22595 | ||
22596 | 2002-10-04 Steven Tamm <steventamm@mac.com> | |
22597 | ||
22598 | * macterm.c (keycode_to_xkeysym_table): Change return to be | |
22599 | treated like an X keysym. | |
22600 | ||
22601 | 2002-10-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
22602 | ||
22603 | * xterm.c (XTread_socket): For ConfigureNotify, with x and y == 0, | |
22604 | and USE_MOTIF, call XTranslateCoordinates to get the real x and y. | |
22605 | This is to also handle x/y changes that occur because of a resize. | |
22606 | ||
22607 | 2002-10-02 John Paul Wallington <jpw@shootybangbang.com> | |
22608 | ||
22609 | * frame.c (Vdelete_frame_functions): New variable. | |
22610 | (syms_of_frame): Initialize and defvar it. | |
22611 | (Fdelete_frame): Use it instead of delete-frame-hook. Don't run | |
22612 | it when frame's `tooltip' parameter is non-nil. | |
22613 | ||
22614 | * xfns.c (x_create_tip_frame): Set `tooltip' frame parameter to t. | |
22615 | ||
22616 | * w32fns.c (x_create_tip_frame): Likewise. | |
22617 | ||
22618 | * macfns.c (x_create_tip_frame): Likewise. | |
22619 | ||
22620 | 2002-09-30 Kenichi Handa <handa@m17n.org> | |
22621 | ||
22622 | * xterm.c (x_encode_char): For DIM=1 charset, set ccl->reg[2] to | |
22623 | -1 before calling ccl_driver. | |
22624 | ||
22625 | * coding.c (decode_coding_emacs_mule): Check coding->cmp_data. | |
22626 | Only when it is non-nil, handle composition sequence. | |
22627 | (setup_coding_system) <0>: Don't force composition handling. | |
22628 | ||
14a56a1b | 22629 | * Makefile.in (lisp, shortlisp): Add utf-16.elc. |
048addec JD |
22630 | |
22631 | 2002-09-29 Richard M. Stallman <rms@gnu.org> | |
22632 | ||
22633 | * search.c (Freplace_match): Adjust match data for the substitution | |
22634 | just made in the buffer. | |
22635 | ||
22636 | * xdisp.c (STOP_POLLING, RESUME_POLLING): New macros. | |
22637 | (redisplay_internal): Use them. Do RESUME_POLLING at end of function. | |
22638 | ||
22639 | 2002-09-27 Richard M. Stallman <rms@gnu.org> | |
22640 | ||
22641 | * keyboard.c (STOP_POLLING, RESUME_POLLING): New macros. | |
22642 | (read_char): Use them. Do all exits thru the end of the function. | |
22643 | ||
22644 | 2002-09-27 Kenichi Handa <handa@etl.go.jp> | |
22645 | ||
22646 | * xfaces.c (try_font_list): Pay attention to the case that FAMILY | |
22647 | is nil. | |
22648 | ||
22649 | 2002-09-26 Richard M. Stallman <rms@gnu.org> | |
22650 | ||
22651 | * regex.h (__restrict_arr): Don't define if already defined. | |
22652 | ||
22653 | * coding.c (run_pre_post_conversion_on_str): | |
22654 | Save and restore Vdeactivate_mark. | |
22655 | ||
22656 | 2002-09-26 John Paul Wallington <jpw@shootybangbang.com> | |
22657 | ||
22658 | * minibuf.c (Fminibufferp): Add an optional `buffer' argument. | |
22659 | ||
22660 | 2002-09-26 Kenichi Handa <handa@etl.go.jp> | |
22661 | ||
22662 | * xfaces.c (try_font_list): New arg PREFER_FACE_FAMILY. If it is | |
22663 | nonzero, try face's family at first. Otherwise try FAMILY at first. | |
22664 | (choose_face_font): If C is a single byte char or latin-1, call | |
22665 | try_font_list with PREFER_FACE_FAMILY 1. | |
22666 | ||
22667 | 2002-09-21 Richard M. Stallman <rms@gnu.org> | |
22668 | ||
22669 | * window.c (select_window_1): Don't select frame. | |
22670 | Set frame's selected window only when frame itself is selected. | |
22671 | (Fselect_window): Doc fix. | |
22672 | ||
22673 | 2002-09-18 Kim F. Storm <storm@cua.dk> | |
22674 | ||
22675 | * process.c (make-network-process): Doc fix (there is no | |
22676 | network-server-log-function hook). | |
22677 | ||
22678 | 2002-09-18 Richard M. Stallman <rms@gnu.org> | |
22679 | ||
22680 | * print.c (print): Clear out the unused parts of Vprint_number_table. | |
22681 | (syms_of_print): Doc fix for `print-number-table'. | |
22682 | ||
22683 | * unexelf.c (unexec): Undo previous change. | |
22684 | ||
22685 | 2002-09-17 Andreas Schwab <schwab@suse.de> | |
22686 | ||
22687 | * m/alpha.h [LINUX]: Don't define DATA_START. | |
22688 | ||
22689 | 2002-09-16 Dave Love <fx@gnu.org> | |
22690 | ||
22691 | * unexelf.c (unexec): Deal with .got, reinstating change from | |
22692 | 25-08-1999. | |
22693 | ||
22694 | 2002-09-13 Richard M. Stallman <rms@gnu.org> | |
22695 | ||
22696 | * s/sol2-6.h (UNEXEC): Comment out definition. | |
22697 | ||
22698 | * unexsol.c (unexec): Don't downcase first letter of error msg. | |
22699 | ||
22700 | * xfaces.c (Fcolor_supported_p): Just one arg is required. | |
22701 | ||
22702 | 2002-09-12 Markus Rost <rost@math.ohio-state.edu> | |
22703 | ||
22704 | * unexsol.c: Include buffer.h, charset.h, coding.h. | |
22705 | ||
22706 | 2002-09-11 Richard M. Stallman <rms@gnu.org> | |
22707 | ||
22708 | * unexsol.c: Don't use report_file_error; do it by hand | |
22709 | using dlerror. | |
22710 | ||
22711 | * process.c (wait_reading_process_input, both versions): | |
22712 | Before calling turn_on_atimers, call stop_polling. | |
22713 | ||
22714 | * emacs.c (syms_of_emacs) <command-line-args>: Doc fix. | |
22715 | ||
22716 | * xdisp.c (try_scrolling): If after make_cursor_line_fully_visible | |
22717 | we go to too_near_end, call clear_glyph_matrix. | |
22718 | (redisplay_window): After make_cursor_line_fully_visible, | |
22719 | call clear_glyph_matrix and bypass `goto done'. | |
22720 | ||
22721 | * xfns.c (x_report_frame_params): If FRAME_SCROLL_BAR_PIXEL_WIDTH is 0 | |
22722 | and we have non-toolkit scroll bars, return nil for scroll-bar-width. | |
22723 | ||
22724 | 2002-09-10 Richard M. Stallman <rms@gnu.org> | |
22725 | ||
22726 | * fileio.c (Fdo_auto_save): Catch error making directory. | |
22727 | Only call push_message if we need to. | |
22728 | At the same time, make an unwind-protect to pop it. | |
22729 | Rename local message_p to old_message_p. | |
22730 | (do_auto_save_make_dir, do_auto_save_eh): New functions. | |
22731 | (do_auto_save_unwind): Don't call pop_message. | |
22732 | ||
22733 | * lisp.h (pop_message_unwind): Renamed from push_message_unwind. | |
22734 | ||
22735 | * keyboard.c (Fexecute_extended_command): Use pop_message_unwind. | |
22736 | ||
22737 | * alloc.c (Fgarbage_collect): Use pop_message_unwind. | |
22738 | ||
22739 | * xdisp.c (pop_message_unwind): Renamed from push_message_unwind. | |
22740 | ||
22741 | 2002-09-10 Stefan Monnier <monnier@cs.yale.edu> | |
22742 | ||
22743 | * regex.c (DISCARD_FAILURE_REG_OR_COUNT): Delete. | |
22744 | (CHECK_INFINITE_LOOP): Don't pop anything: just set `cycle' to 1. | |
22745 | (re_match_2_internal): Be more careful with infinite loops. | |
22746 | ||
22747 | 2002-09-10 Kim F. Storm <storm@cua.dk> | |
22748 | ||
22749 | * macros.c (end_kbd_macro): New function. | |
22750 | (Fend_kbd_macro): Use it. | |
22751 | ||
22752 | * macros.h (end_kbd_macro): Declare extern. | |
22753 | ||
22754 | * keyboard.c (Fdiscard_input): If defining keyboard macro, | |
22755 | end and save it instead of discarding it. | |
22756 | ||
22757 | 2002-09-09 Markus Rost <rost@math.ohio-state.edu> | |
22758 | ||
22759 | * s/sol2-6.h: Fix typo. Add comment. | |
22760 | ||
22761 | 2002-09-09 Richard M. Stallman <rms@gnu.org> | |
22762 | ||
22763 | * regex.c (regnum_t): Use signed int, not unsigned int. | |
22764 | ||
22765 | * s/sol2-6.h: New file. | |
22766 | ||
22767 | * s/sol2-5.h (UNEXEC): Definition deleted. | |
22768 | ||
22769 | 2002-09-08 Kim F. Storm <storm@cua.dk> | |
22770 | ||
22771 | * macros.c (executing_macro_index): Change type to EMACS_INT. | |
9dd28cae | 22772 | (syms_of_macros): DEFVAR_INT it (needed by kmacro). |
048addec JD |
22773 | |
22774 | * macros.h (executing_macro_index): Change type to EMACS_INT. | |
22775 | ||
22776 | 2002-09-06 Richard M. Stallman <rms@gnu.org> | |
22777 | ||
22778 | * casetab.c (set_case_table): Make canon table point to eqv table. | |
22779 | ||
22780 | 2002-09-06 Juanma Barranquero <lektu@terra.es> | |
22781 | ||
22782 | * coding.c (syms_of_coding): Fix spacing. | |
22783 | ||
22784 | * composite.c (Fcompose_region_internal) | |
22785 | (Fcompose_string_internal): Likewise. | |
22786 | ||
22787 | * data.c (Flsh): Likewise. | |
22788 | ||
22789 | * fontset.c (Fset_fontset_font): Likewise. | |
22790 | ||
22791 | * macfns.c (Fx_server_max_request_size): Likewise. | |
22792 | ||
22793 | * w16select.c (syms_of_win16select): Likewise. | |
22794 | ||
22795 | * w32select.c (syms_of_w32select): Likewise. | |
22796 | ||
22797 | * xselect.c (syms_of_xselect): Likewise. | |
22798 | ||
22799 | 2002-09-05 Richard M. Stallman <rms@gnu.org> | |
22800 | ||
22801 | * regex.c (set_image_of_range_1): In no-TRANSLATE case, | |
22802 | call EXTEND_RANGE_TABLE and return a proper value. | |
22803 | (set_image_of_range): Don't call set_image_of_range_1 | |
22804 | if no TRANSLATE or if range includes all of Latin-1. | |
22805 | Only call it for the Latin-1 part of the range. | |
22806 | For other cases, make two separate ranges, | |
22807 | one for the original specified characters and one for | |
22808 | their case-conversions. | |
22809 | ||
22810 | 2002-09-04 Richard M. Stallman <rms@gnu.org> | |
22811 | ||
22812 | * s/sol2-5.h (UNEXEC): Use unexsol.o. | |
22813 | ||
22814 | * window.c (displayed_window_lines): Correct for one-off bug | |
22815 | in HEIGHT on non-window displays. | |
22816 | ||
22817 | * regex.c (set_image_of_range_1): New function. | |
22818 | (set_image_of_range): Use set_image_of_range_1 for Latin-1. | |
22819 | Return a value to indicate running out of memory. | |
22820 | (SET_RANGE_TABLE_WORK_AREA): Check value from set_image_of_range. | |
22821 | (extend_range_table_work_area): New subroutine. | |
22822 | (EXTEND_RANGE_TABLE): Replaces EXTEND_RANGE_TABLE_WORK_AREA. | |
22823 | Different calling conventions, and used from set_image_of_range{,_1}. | |
22824 | (IMMEDIATE_QUIT_CHECK): Definitions moved. | |
22825 | ||
22826 | 2002-09-04 Juanma Barranquero <lektu@terra.es> | |
22827 | ||
22828 | * makefile.w32-in: All dependencies updated. | |
22829 | ||
22830 | 2002-09-01 Richard M. Stallman <rms@gnu.org> | |
22831 | ||
22832 | * unexsol.c: New file. | |
22833 | ||
22834 | * xfns.c (Qbox): Declare external, don't define. | |
22835 | ||
22836 | * xdisp.c (redisplay_window) <force-start case>: | |
22837 | If point is on semi-visible last line, reposition | |
22838 | it at previous line. | |
22839 | ||
22840 | * alloc.c (display_malloc_warning): Use display-warning. | |
22841 | (malloc_warning_1): Function deleted. | |
22842 | ||
22843 | * alloc.c [ALLOC_DEBUG]: #undef INLINE. | |
22844 | ||
22845 | * lread.c (read1): Handle #! by skipping the line. | |
22846 | ||
22847 | 2002-08-31 Richard M. Stallman <rms@gnu.org> | |
22848 | ||
22849 | * Makefile.in (TEMACS_LDFLAGS): Renamed from ALL_LDFLAGS. | |
22850 | Don't include LDFLAGS. | |
22851 | (temacs): Pass LDFLAGS separately, and not via YMF_PASS_LDFLAGS. | |
22852 | ||
22853 | 2002-08-31 Eli Zaretskii <eliz@is.elta.co.il> | |
22854 | ||
22855 | * xdisp.c (get_window_cursor_type): Don't use x_highlight_frame | |
22856 | member of x_display_info unless we compile for some window system. | |
22857 | ||
22858 | 2002-08-31 Kim F. Storm <storm@cua.dk> | |
22859 | ||
22860 | * xdisp.c (Valternate_cursor_type, Qalternate_cursor_type): Removed. | |
22861 | (get_window_cursor_type): Don't use them. | |
22862 | (syms_of_xdisp): Remove intern, staticpro, and defvar for them. | |
22863 | ||
22864 | 2002-08-30 Kenichi Handa <handa@etl.go.jp> | |
22865 | ||
22866 | * xdisp.c (get_next_display_element): Fix previous change. | |
22867 | ||
22868 | 2002-08-30 Andrew Choi <akochoi@shaw.ca> | |
22869 | ||
22870 | * macterm.c (expose_overlaps): New function (merge code from xterm.c). | |
22871 | (expose_window): Use it to fix the display of overlapping | |
22872 | rows (merge code from xterm.c). | |
22873 | ||
22874 | * macfns.c (Qbox): Add extern declaration. | |
22875 | ||
22876 | 2002-08-30 Juanma Barranquero <lektu@terra.es> | |
22877 | ||
22878 | * w32fns.c (Qbox): Make extern. | |
22879 | (syms_of_w32fns): Remove initialization of Qbox. | |
22880 | ||
22881 | 2002-08-30 Rune Kleveland <runekl@viewpoint.no> (tiny change) | |
22882 | ||
22883 | * xfns.c (Fx_open_connection): Fix error message. | |
22884 | ||
22885 | 2002-08-30 Kim F. Storm <storm@cua.dk> | |
22886 | ||
22887 | The following changes consolidates the handling of the cursor | |
22888 | type in xdisp.c, moving duplicate code and functionality from | |
22889 | xfns.c, xterm.c, w32fns.c, w32term.c, macfns.c, and macterm.c. | |
22890 | ||
22891 | * frame.h (enum text_cursor_kinds): Consolidated here. | |
22892 | Added DEFAULT_CURSOR value. | |
22893 | (struct frame) <desired_cursor, cursor_width> | |
22894 | <blink_off_cursor, blink_off_cursor_width>: New fields. | |
22895 | Consolidated from output_x, output_w32 and output_mac structs. | |
22896 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
22897 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros consolidated here. | |
22898 | ||
22899 | * xdisp.c (Qbar, Qhbar, Qbox, Qhollow, Vblink_cursor_alist): | |
22900 | Variables consolidated here. | |
22901 | (Valternate_cursor_type, Qalternate_cursor_type): New variables. | |
22902 | (Vcursor_in_non_selected_windows): Renamed from | |
22903 | cursor_in_non_selected_windows and changed to Lisp_Object. | |
22904 | (syms_of_xdisp): Define and staticpro new and moved variables. | |
22905 | (get_specified_cursor_type): Renamed from x_specified_cursor_type; | |
22906 | consolidated here. Recognize Qhollow setting. | |
22907 | (set_frame_cursor_types): New function to set frame cursor types | |
22908 | based on the frame parameters. | |
22909 | (get_window_cursor_type): New function to calculate new cursor | |
22910 | type and width for the specified window. Based on duplicated | |
22911 | code consolidated here. | |
22912 | Enhancements: cursor-in-non-selected-windows may be a cursor type, | |
22913 | check buffer-local alternate-cursor-type and blink-cursor-alist | |
22914 | before using built-in blink off methods. | |
22915 | ||
22916 | * dispextern.h (cursor_in_non_selected_windows): Extern removed. | |
22917 | ||
22918 | * lisp.h (Qcursor_in_non_selected_windows): Extern removed. | |
22919 | (get_specified_cursor_type, get_window_cursor_type) | |
22920 | (set_frame_cursor_types): Added prototypes. | |
22921 | ||
22922 | * macfns.c (x_specified_cursor_type): Removed. | |
22923 | (x_set_cursor_type): Use set_frame_cursor_types. | |
22924 | (Qbar, Qbox): Removed. | |
22925 | (syms_of_macfns): Don't intern or staticpro them. | |
22926 | ||
22927 | * macterm.c (x_specified_cursor_type): Remove prototype. | |
22928 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
22929 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
22930 | Remove unused local variables cursor_non_selected, active_cursor. | |
22931 | Redraw cursor if hbar cursor width changes. | |
22932 | (make_mac_frame): Set FRAME_DESIRED_CURSOR. | |
22933 | ||
22934 | * macterm.h (enum text_cursor_kinds): Removed. | |
22935 | (struct output_mac) <current_cursor, desired_cursor, cursor_width> | |
22936 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
22937 | (FRAME_DESIRED_CURSOR): Macro removed. | |
22938 | ||
22939 | * w32fns.c (Vblink_cursor_alist): Removed. | |
22940 | (Qbar, Qhbar, Qbox, Qhollow): Removed. | |
22941 | (syms_of_w32fns): Don't intern, staticpro, or define them. | |
22942 | (x_specified_cursor_type): Removed. | |
22943 | (x_set_cursor_type): Use set_frame_cursor_types. | |
22944 | ||
22945 | * w32term.c (x_specified_cursor_type): Remove prototype. | |
22946 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
22947 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
22948 | Remove unused local variables cursor_off_state. | |
22949 | Redraw cursor if hbar cursor width changes. | |
22950 | Changed all occurrences of w32_highlight_frame to x_highlight_frame. | |
22951 | ||
22952 | * w32term.h (enum text_cursor_kinds): Removed. | |
22953 | (struct output_w32) <current_cursor, desired_cursor, cursor_width> | |
22954 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
22955 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
22956 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed. | |
22957 | (struct w32_display_info) <x_highlight_frame>: Renamed member from | |
22958 | w32_highlight_frame. | |
22959 | ||
22960 | * xfns.c (Vblink_cursor_alist): Removed. | |
22961 | (Qbar, Qhbar, Qbox, Qhollow): Removed. | |
22962 | (syms_of_xfns): Don't intern, staticpro, or define them. | |
22963 | (x_specified_cursor_type): Removed. | |
22964 | (x_set_cursor_type): Use set_frame_cursor_types. | |
22965 | ||
22966 | * xterm.c (x_specified_cursor_type): Remove prototype. | |
22967 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
22968 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
22969 | Remove unused local variables cursor_off_state. | |
22970 | Redraw cursor if hbar cursor width changes. | |
22971 | ||
22972 | * xterm.h (enum text_cursor_kinds): Removed. | |
22973 | (struct output_x) <current_cursor, desired_cursor, cursor_width> | |
22974 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
22975 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
22976 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed. | |
22977 | (x_specified_cursor_type): Remove prototype. | |
22978 | ||
22979 | 2002-08-28 Richard M. Stallman <rms@gnu.org> | |
22980 | ||
22981 | * w32fns.c (x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR and | |
22982 | FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist. | |
22983 | (Vblink_cursor_alist): New variable. | |
22984 | (syms_of_w32fns): Initialize and defvar it. | |
22985 | (x_specified_cursor_type): Recognize Qbox for filled box. | |
22986 | Exceptions are hollow boxes. | |
22987 | (Qbox, Qhollow): New variables. | |
22988 | (syms_of_w32fns): Initialize and staticpro them. | |
22989 | ||
22990 | * w32term.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): | |
22991 | New macros. | |
22992 | (struct w32_output): New fields blink_off_cursor, | |
22993 | blink_off_cursor_width. | |
22994 | (FRAME_CURSOR_WIDTH): New macro. | |
22995 | ||
22996 | * w32term.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR | |
22997 | and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off. | |
22998 | ||
22999 | * w32term.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH | |
23000 | for bar cursor. | |
23001 | ||
23002 | * w32term.c (expose_overlaps): New function. | |
23003 | (expose_window): Use it to fix the display of overlapping rows. | |
23004 | ||
23005 | 2002-08-28 Simon Josefsson <jas@extundo.com> | |
23006 | ||
23007 | * xfns.c (Fx_open_connection): Improve help when X connection | |
23008 | fails, xhost is insecure and xauth is better. | |
23009 | ||
23010 | 2002-08-28 Juanma Barranquero <lektu@terra.es> | |
23011 | ||
23012 | * makefile.w32-in: Add missing dependencies on w32term.h and | |
23013 | composite.h. | |
23014 | ||
23015 | * emacs.c (USAGE1): Add missing newline. | |
23016 | ||
23017 | 2002-08-27 Andrew Choi <akochoi@shaw.ca> | |
23018 | ||
23019 | * s/darwin.h [HAVE_LIBNCURSES]: Define HAVE_TERMINFO. | |
23020 | ||
23021 | 2002-08-27 Richard M. Stallman <rms@gnu.org> | |
23022 | ||
23023 | * xfns.c (x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR and | |
23024 | FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist. | |
23025 | (Vblink_cursor_alist): New variable. | |
23026 | (syms_of_xfns): Initialize and defvar it. | |
23027 | (x_specified_cursor_type): Recognize Qbox for filled box. | |
23028 | Exceptions are hollow boxes. | |
23029 | (Qbox, Qhollow): New variables. | |
23030 | (syms_of_xfns): Initialize and staticpro them. | |
23031 | ||
23032 | * xterm.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): | |
23033 | New macros. | |
23034 | (struct x_output): New fields blink_off_cursor, blink_off_cursor_width. | |
23035 | ||
23036 | * xterm.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR | |
23037 | and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off. | |
23038 | ||
23039 | * emacs.c (main): Handle --script. | |
23040 | (USAGE1): Mention --script. | |
23041 | (standard_args): Define sort order for --script. | |
23042 | ||
23043 | 2002-08-27 Gerd Moellmann <gerd.moellmann@t-online.de> | |
23044 | ||
23045 | * xdisp.c (redisplay_updating_p): Variable removed. | |
23046 | (inhibit_free_realized_faces, Qinhibit_free_realized_faces): | |
23047 | New variables. | |
23048 | (init_iterator): Don't free realized faces if | |
23049 | inhibit_free_realized_faces is set. | |
23050 | (redisplay_internal): Bind Qinhibit_free_realized_faces to nil. | |
23051 | (syms_of_xdisp): DEFVAR_BOOL inhibit-free-realized-faces, | |
23052 | initialize Qinhibit_free_realized_faces. | |
23053 | ||
23054 | * dispextern.h (PRODUCE_GLYPHS): Set inhibit_free_realized_faces | |
23055 | when iterator is adding glyphs to a glyph matrix. | |
23056 | ||
23057 | 2002-08-27 Kenichi Handa <handa@etl.go.jp> | |
23058 | ||
23059 | * xdisp.c (get_next_display_element): In unibyte case, don't use | |
23060 | octal form for such eight-bit characters that can be converted to | |
23061 | multibyte char. | |
23062 | ||
23063 | 2002-08-26 Kim F. Storm <storm@cua.dk> | |
23064 | ||
b6189c3b KS |
23065 | * frame.c (make_terminal_frame) [CANNOT_DUMP]: Initialize |
23066 | foreground and background colors. From Joe Buehler. | |
048addec JD |
23067 | |
23068 | 2002-08-26 Miles Bader <miles@gnu.org> | |
23069 | ||
23070 | * bytecode.c (Fbyte_code): Fsub1 can GC, so protect it. | |
23071 | ||
23072 | 2002-08-25 Andrew Choi <akochoi@shaw.ca> | |
23073 | ||
23074 | * emacs.c (main): Call init_mac_osx_environment if HAVE_CARBON is | |
23075 | defined instead of MAC_OSX. | |
23076 | ||
23077 | * s/darwin.h (select): Define select to sys_select only if | |
23078 | HAVE_CARBON is defined. | |
23079 | (HAVE_WORKING_VFORK): #undef it. Define vfork to fork. | |
23080 | (DONT_REOPEN_PTY): #def it. | |
23081 | ||
23082 | * macterm.c (XTread_socket): Remove code to call | |
23083 | SendEventToEventTarget for keys with command modifiers when | |
23084 | mac_command_key_is_meta is nil. | |
23085 | ||
23086 | 2002-08-24 Andreas Schwab <schwab@suse.de> | |
23087 | ||
23088 | * eval.c (Fdefvar): Fix last change. | |
23089 | ||
23090 | 2002-08-23 Richard M. Stallman <rms@gnu.org> | |
23091 | ||
23092 | * eval.c (Fdefvar, Fdefconst, Fdefvaralias): | |
23093 | Record variables in load history as (defvar . VAR). | |
23094 | (Fdefvar): Don't record in load history if no initial value. | |
23095 | (Qdefvar): New variable. | |
23096 | (syms_of_eval): Init and staticpro it. | |
23097 | ||
23098 | * lread.c (syms_of_lread): Doc fix. | |
23099 | (build_load_history): Use Fmember to see if a definition | |
23100 | is already in the Vload_history element. | |
23101 | ||
23102 | * process.c (Fstart_process): Remove /: from program name. | |
23103 | ||
23104 | * emacs.c (decode_env_path): Don't add /: if file name handler | |
23105 | has a `safe-magic' property. | |
23106 | ||
23107 | * callproc.c (Fcall_process): Remove /: from program name. | |
23108 | ||
23109 | 2002-08-23 Stefan Monnier <monnier@cs.yale.edu> | |
23110 | ||
23111 | * regex.c (PATFETCH): Remove the translating fetch. | |
23112 | (PATFETCH_RAW): Rename to PATFETCH. | |
23113 | (set_image_of_range): New fun. | |
23114 | (SET_RANGE_TABLE_WORK_AREA): Use it. | |
23115 | (regex_compile): Don't translate the pattern chars so eagerly. | |
23116 | Only do it when inserting an `exactn' bytecode or when handling | |
23117 | a char-range. | |
23118 | (mutually_exclusive_p): Avoid empty statement. | |
23119 | ||
23120 | 2002-08-22 Kim F. Storm <storm@cua.dk> | |
23121 | ||
23122 | * xdisp.c (redisplay_window): Do not `goto try_to_scroll' when we | |
23123 | end up on a partially visible line; this reverts a specific part | |
23124 | of the 2002-07-07 change by Richard M. Stallman to "fix" a nasty | |
23125 | display error which has been reported several times now. | |
23126 | However it introduces the problem that changes was supposed to fix. | |
23127 | See my comments in the source if you want to debug this further. | |
23128 | ||
23129 | 2002-08-20 Kenichi Handa <handa@etl.go.jp> | |
23130 | ||
23131 | * abbrev.c (Fexpand_abbrev): Fix for the multibyte case. | |
23132 | ||
23133 | 2002-08-19 Eli Zaretskii <eliz@is.elta.co.il> | |
23134 | ||
23135 | * msdos.c (croak): Add `void' to definition. | |
23136 | ||
c1380aa6 | 23137 | * sysdep.c (request_sigio, unrequest_sigio) [MSDOS]: |
048addec JD |
23138 | Don't define them, they are defined in msdos.c. |
23139 | ||
23140 | * mem-limits.h [MSDOS]: Declare etext. | |
23141 | ||
23142 | * fileio.c (Ffile_name_directory) [DOS_NT]: Don't declare `beg' | |
23143 | `const' since CORRECT_DIR_SEPS modifies its target. | |
23144 | ||
23145 | 2002-08-19 Kim F. Storm <storm@cua.dk> | |
23146 | ||
2fb0ce67 | 23147 | * keyboard.c (Fclear_this_command_keys): Add optional arg |
048addec JD |
23148 | KEEP-RECORD to avoid clearing lossage when we just want to clear |
23149 | the current key sequence (kmacro needs this). | |
23150 | ||
23151 | 2002-08-19 Kenichi Handa <handa@localhost> | |
23152 | ||
23153 | * composite.c (run_composition_function): Call FUNC if it is fboundp. | |
23154 | ||
23155 | * composite.h (COMPOSITION_MODIFICATION_FUNC): If PROP is not a | |
23156 | cons, return Qnil. | |
23157 | ||
23158 | 2002-08-17 Richard M. Stallman <rms@gnu.org> | |
23159 | ||
23160 | * s/sol2-5.h (BROKEN_SIGIO): Add #undef. | |
23161 | ||
23162 | * sysdep.c [!VMS]: Include sys/files.h. | |
23163 | ||
23164 | * editfns.c (save_restriction_restore): Defend from unchained marker. | |
23165 | ||
23166 | * buffer.c (overlays_at): Handle extending vec uniformly. | |
23167 | (overlays_in): Handle extending vec from length 0 as in overlays_at. | |
23168 | ||
23169 | 2002-08-15 Andrew Choi <akochoi@shaw.ca> | |
23170 | ||
23171 | * mac.c (init_mac_osx_environment): New function. | |
23172 | ||
23173 | * emacs.c (main) [MAC_OSX]: Call init_mac_osx_environment. | |
23174 | ||
23175 | 2002-08-14 Kim F. Storm <storm@cua.dk> | |
23176 | ||
23177 | * macros.c (Fstart_kbd_macro): Added NO-EXEC argument to inhibit | |
23178 | executing macro before appending to it (when used from Lisp). | |
23179 | (Fexecute_kbd_macro): Added LOOPFUNC argument to supply function | |
23180 | which is called prior to each iteration of macro (for kmacro.el). | |
23181 | (Fend_kbd_macro, Fcall_last_kbd_macro): Likewise. | |
23182 | ||
23183 | * lisp.h (Fexecute_kbd_macro): Update prototype. | |
23184 | ||
23185 | * keyboard.c (Fcommand_execute): Update call to Fexecute_kbd_macro. | |
23186 | ||
23187 | 2002-08-14 Kenichi Handa <handa@etl.go.jp> | |
23188 | ||
23189 | * xselect.c (QUTF8_STRING): New variable. | |
23190 | (symbol_to_x_atom): Pay attention to QUTF8_STRING. | |
23191 | (x_atom_to_symbol): Likewise. | |
23192 | (x_get_local_selection): New argument local_request. If it is | |
23193 | nonzero, call handler_fn with the second arg nil. | |
23194 | (x_handle_selection_request): Call x_get_local_selection with | |
23195 | local_request 0. | |
23196 | (lisp_data_to_selection_data): Don't encode the string here. | |
23197 | (Fx_get_selection_internal): Call x_get_local_selection with | |
23198 | local_request 1. | |
23199 | (syms_of_xselect): Intern and staticpro QUTF8_STRING. | |
23200 | ||
23201 | * xterm.c (x_term_init): Initialize dpyinfo->Xatom_UTF8_STRING. | |
23202 | ||
23203 | * xterm.h (struct x_display_info): New member Xatom_UTF8_STRING. | |
23204 | ||
23205 | 2002-08-13 Richard M. Stallman <rms@gnu.org> | |
23206 | ||
23207 | * minibuf.c (Fminibufferp): New function. | |
23208 | (syms_of_minibuf): Defsubr it. | |
23209 | (Fminibuffer_prompt_end): Handle non-minibuffers specially. | |
23210 | ||
23211 | 2002-08-13 Gerd Moellmann <gerd.moellmann@t-online.de> | |
23212 | ||
23213 | * coding.c (Funencodable_char_position): Lisp_Object/int mixup. | |
23214 | ||
23215 | 2002-08-12 Richard M. Stallman <rms@gnu.org> | |
23216 | ||
23217 | * syswait.h: Only the include of sys/wait.h tests HAVE_SYS_WAIT_H. | |
23218 | [!VMS] (WCOREDUMP, WEXITSTATUS, WIFEXITED, WIFSTOPPED, WIFSIGNALED) | |
23219 | (WSTOPSIG, WTERMSIG): Define each one independently if not defined | |
23220 | already. | |
23221 | ||
23222 | * buffer.c (syms_of_buffer) <fill-column>: Doc fix. | |
23223 | ||
23224 | 2002-08-11 Andrew Choi <akochoi@shaw.ca> | |
23225 | ||
23226 | * macterm.c (XTmouse_position): Check wp with is_emacs_window. | |
23227 | (Vmac_pass_command_to_system): New variable. | |
23228 | (Vmac_pass_control_to_system): New variable. | |
23229 | (do_mouse_moved): Check wp with is_emacs_window. | |
23230 | (XTread_socket): Check window_ptr with is_emacs_window. | |
23231 | Call FrontNonFloatingWindow instead of FrontWindow. Send keydown | |
23232 | events back to Mac Toolbox for processing, depending on values of | |
23233 | Vmac_pass_command_to_system and Vmac_pass_control_to_system. | |
23234 | (syms_of_macterm): DEFVAR_LISP Vmac_pass_command_to_system and | |
23235 | Vmac_pass_control_to_system. | |
23236 | ||
23237 | 2002-08-10 Kenichi Handa <handa@etl.go.jp> | |
23238 | ||
23239 | * coding.c (unencodable_char_position): New function. | |
23240 | (Funencodable_char_position): New function. | |
23241 | (syms_of_coding): Defsubr Funencodable_char_position. | |
23242 | ||
23243 | 2002-08-10 Andrew Choi <akochoi@shaw.ca> | |
23244 | ||
23245 | * mac.c (sys_select) [MAC_OSX]: New function. | |
23246 | ||
23247 | * macterm.c (MakeMeTheFrontProcess): New function. | |
23248 | (mac_initialize): Call MakeMeTheFrontProcess. | |
23249 | ||
23250 | * s/darwin.h: Define select to sys_select. | |
23251 | ||
23252 | 2002-08-09 Richard M. Stallman <rms@gnu.org> | |
23253 | ||
23254 | * keyboard.c (make_lispy_event): Test WINDOWSNT, not WINDOWS_NT. | |
23255 | ||
23256 | 2002-08-09 Gerd Moellmann <gerd.moellmann@t-online.de> | |
23257 | ||
23258 | * xdisp.c (forward_to_next_line_start): Return 0 when reaching the | |
23259 | end of the buffer. | |
23260 | ||
88fde92a | 23261 | 2002-08-08 Ken Raeburn <raeburn@gnu.org> |
048addec JD |
23262 | |
23263 | * coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int mixup. | |
23264 | ||
23265 | * puresize.h (BASE_PURESIZE): Increase to 910000. | |
23266 | ||
23267 | 2002-08-08 Kenichi Handa <handa@etl.go.jp> | |
23268 | ||
23269 | * coding.c (Ffind_operation_coding_system): For write-region, if | |
23270 | VISIT is a filename, make it the target. | |
23271 | ||
23272 | 2002-08-07 Richard M. Stallman <rms@gnu.org> | |
23273 | ||
23274 | * alloc.c (mark_object): Detect long lists for debugging. | |
23275 | (mark_object_loop_halt): New variable. | |
23276 | ||
23277 | * s/hpux10.h (C_SWITCH_SYSTEM): #undef it. | |
23278 | ||
23279 | * data.c (Fmake_variable_frame_local): Doc fix. | |
23280 | ||
23281 | 2002-08-01 David Ponce <david@dponce.com> | |
23282 | ||
23283 | * w32menu.c (local_heap, local_alloc, local_free): New macros. | |
23284 | (malloc_widget_value, free_widget_value) | |
23285 | (w32_free_submenu_strings): Use them. | |
23286 | ||
23287 | (push_submenu_start, push_submenu_end, push_left_right_boundary) | |
23288 | (push_menu_pane, push_menu_item, single_keymap_panes) | |
23289 | (single_menu_item, Fx_popup_menu, menubar_selection_callback) | |
23290 | (single_submenu, set_frame_menubar) | |
23291 | (w32_menu_show, w32_dialog_show): Use AREF, ASET, ASIZE. | |
23292 | ||
23293 | (Fx_popup_menu): Don't show pop up menu until preceding one is | |
23294 | actually cleaned up. Moved UNGCPRO outside #ifdef HAVE_MENUS block. | |
23295 | ||
23296 | * w32menu.c: Changes adapted from xmenu.c | |
23297 | (set_frame_menubar): First parse all submenus, | |
23298 | then make widget_value trees from them. | |
23299 | Don't allocate any widget_value objects | |
23300 | until we are done with the parsing. | |
23301 | (parse_single_submenu): New function. | |
23302 | (digest_single_submenu): New function. | |
23303 | (single_submenu): Function deleted, replaced by those two. | |
23304 | ||
23305 | 2002-08-04 Andrew Choi <akochoi@shaw.ca> | |
23306 | ||
23307 | * macterm.c (XTread_socket): Check that FrontNonFloatingWindow | |
23308 | returns a valid window pointer before proceeding for keyDown and | |
23309 | autoKey events. | |
23310 | ||
23311 | 2002-08-03 Andrew Choi <akochoi@shaw.ca> | |
23312 | ||
23313 | * macterm.c (USE_CARBON_EVENTS): New macro. | |
23314 | (macCtrlKey, macShiftKey, macMetaKey, macAltKey): New macros. | |
23315 | (x_iconify_frame): Call CollapseWindow. | |
23316 | (Vmac_reverse_ctrl_meta): New variable. | |
23317 | (Vmac_wheel_button_is_mouse_2): New variable. | |
23318 | (init_mac_drag_n_drop): New function. | |
23319 | (mac_do_receive_drag): New function. | |
23320 | (mac_handle_service_event): New function. | |
23321 | (init_service_handler): New function. | |
23322 | (mac_to_emacs_modifiers): New function. | |
23323 | (mac_event_to_emacs_modifiers): New function. | |
23324 | (mac_get_mouse_btn): New function. | |
23325 | (mac_convert_event_ref): New function. | |
23326 | (XTread_socket) [USE_CARBON_EVENTS]: Call ReceiveNextEvent, | |
23327 | SendEventToEventTarget, mac_event_to_emacs_modifiers, and | |
23328 | mac_get_mouse_btn. | |
23329 | (mac_initialize): Call init_mac_drag_n_drop and init_service_handler. | |
23330 | ||
23331 | * keyboard.c: Define Qmouse_wheel, mouse_wheel_syms, and | |
23332 | lispy_mouse_wheel_names for MAC_OSX as well as for WINDOWS_NT. | |
23333 | (kbd_buffer_get_event): Set used_mouse_menu for MENU_BAR_EVENT and | |
23334 | TOOL_BAR_EVENT for MAC_OS as well. | |
23335 | (make_lispy_event): Handle MOUSE_WHEEL_EVENT for MAC_OSX as well | |
23336 | as for WINDOWS_NT. | |
23337 | (syms_of_keyboard): Initialize Qmouse_wheel for MAC_OSX. | |
23338 | ||
23339 | * termhooks.h (event_kind): Define MOUSE_WHEEL_EVENT also for MAC_OSX. | |
23340 | ||
23341 | 2002-08-03 Gerd Moellmann <gerd.moellmann@t-online.de> | |
23342 | ||
23343 | * xdisp.c (forward_to_next_line_start): Fix a condition that | |
23344 | lead to a newline being skipped. | |
23345 | ||
23346 | 2002-08-02 Andrew Choi <akochoi@shaw.ca> | |
23347 | ||
23348 | * mac.c (syms_of_mac): Defsubr Sx_selection_exists_p. | |
23349 | ||
23350 | 2002-08-01 Richard M. Stallman <rms@gnu.org> | |
23351 | ||
23352 | * Makefile.in (SOME_MACHINE_OBJECTS): Add fontset.o. | |
23353 | ||
23354 | 2002-07-31 Andrew Choi <akochoi@shaw.ca> | |
23355 | ||
23356 | * macfns.c: #undef init_process before #define-ing it. | |
23357 | ||
23358 | * s/darwin.h: Define MAC_OS, SYMS_SYSTEM, and OTHER_FILES only if | |
23359 | HAVE_CARBON is defined. | |
23360 | ||
23361 | 2002-07-31 Richard M. Stallman <rms@gnu.org> | |
23362 | ||
23363 | * xmenu.c (set_frame_menubar): First parse all submenus, | |
23364 | then make widget_value trees from them. | |
23365 | Don't allocate any widget_value objects | |
23366 | until we are done with the parsing. | |
23367 | (parse_single_submenu): New function. | |
23368 | (digest_single_submenu): New function. | |
23369 | (single_submenu): Function deleted, replaced by those two. | |
23370 | ||
23371 | 2002-07-30 Juanma Barranquero <lektu@terra.es> | |
23372 | ||
23373 | * w32proc.c (syms_of_ntproc): Fix docstring of | |
23374 | `w32-get-true-file-attributes'. | |
23375 | ||
23376 | 2002-07-28 Richard M. Stallman <rms@gnu.org> | |
23377 | ||
23378 | * s/hpux8.h (HPUX8): Define this before including hpux.h. | |
23379 | (HAVE_SYS_WAIT_H): #define deleted; we let Autoconf decide. | |
23380 | ||
23381 | * s/hpux.h (HAVE_SYS_WAIT_H): The #undef is conditional on HPUX8. | |
23382 | ||
23383 | * keyboard.c (make_lispy_event): | |
23384 | Use #ifdef to test USE_TOOLKIT_SCROLL_BARS. | |
23385 | Explicitly clear up_modifier in event->modifiers. | |
23386 | ||
23387 | 2002-07-27 Richard M. Stallman <rms@gnu.org> | |
23388 | ||
23389 | * xterm.h (FRAME_CURSOR_WIDTH): New macro. | |
23390 | ||
23391 | * xterm.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH | |
23392 | for bar cursor. | |
23393 | ||
23394 | 2002-07-26 Kenichi Handa <handa@etl.go.jp> | |
23395 | ||
23396 | * coding.c (detect_coding_iso2022): While checking a byte sequence | |
23397 | for CODING_CATEGORY_MASK_ISO_8_2, if we read one extra byte, check | |
23398 | it in the normal loop. | |
23399 | ||
23400 | 2002-07-24 Gerd Moellmann <gerd.moellmann@t-online.de> | |
23401 | ||
23402 | * xterm.c (expose_overlaps): New function. | |
23403 | (expose_window): Use it to fix the display of overlapping rows. | |
23404 | ||
23405 | * xdisp.c (unwind_redisplay): Clear redisplay_updating_p. | |
23406 | ||
23407 | 2002-07-23 Ken Raeburn <raeburn@gnu.org> | |
23408 | ||
23409 | * lisp.h (XPNTR): Use NO_UNION_TYPE version for union as well, | |
23410 | since it only depends on XUINT. | |
23411 | ||
23412 | * m/alpha.h (BITS_PER_LONG, BITS_PER_EMACS_INT, EMACS_INT, | |
23413 | EMACS_UINT, SPECIAL_EMACS_INT, DATA_SEG_BITS, | |
23414 | PNTR_COMPARISON_TYPE, VALBITS, MARKBIT, XINT, XUINT, XPNTR): | |
23415 | Macros deleted. | |
3947677c | 23416 | |
77d1daf2 AS |
23417 | * mem-limits.h (start_of_data): If DATA_START is defined, prefer |
23418 | its value over other approaches. | |
23419 | * sysdep.c (start_of_data): Don't define the function if a macro | |
23420 | form has been defined. | |
8a8e19a3 | 23421 | |
048addec JD |
23422 | 2002-07-23 Gerd Moellmann <gerd.moellmann@t-online.de> |
23423 | ||
23424 | * xdisp.c (redisplay_updating_p): New variable. | |
23425 | (init_iterator): Don't free realized faces when | |
23426 | redisplay_updating_p is set. | |
23427 | (redisplay_internal): Set redisplay_updating_p while updating | |
23428 | the display. | |
23429 | ||
23430 | 2002-07-23 Richard M. Stallman <rms@gnu.org> | |
23431 | ||
23432 | * editfns.c (Fmessage): Treat "" like nil. | |
23433 | ||
23434 | 2002-07-23 Kenichi Handa <handa@etl.go.jp> | |
23435 | ||
23436 | * xdisp.c (face_before_or_after_it_pos): | |
23437 | Call FETCH_MULTIBYTE_CHAR with byte postion, not char position. | |
23438 | ||
23439 | 2002-07-22 Juanma Barranquero <lektu@terra.es> | |
23440 | ||
23441 | * callproc.c (init_callproc) [DOS_NT]: | |
23442 | Initialize Vshared_game_score_directory to nil. | |
23443 | (syms_of_callproc) [DOS_NT]: Likewise. | |
23444 | ||
23445 | 2002-07-22 Gerd Moellmann <gerd.moellmann@t-online.de> | |
23446 | ||
23447 | * xdisp.c (display_line): Replace an abort with xassert. | |
23448 | ||
23449 | 2002-07-21 Richard M. Stallman <rms@gnu.org> | |
23450 | ||
23451 | * xdisp.c (redisplay_window): Don't test BEG_UNCHANGED | |
23452 | and END_UNCHANGED when setting buffer_unchanged_p. | |
23453 | Use current_matrix_up_to_date_p to decide whether to use | |
23454 | try_cursor_movement. | |
23455 | ||
23456 | * config.in (HAVE_SHARED_GAME_DIR): Undef deleted. | |
23457 | ||
23458 | * epaths.in (PATH_GAME): New macro, edited by ../Makefile.in. | |
23459 | ||
23460 | * callproc.c (init_callproc): Set up Vshared_game_score_directory. | |
23461 | Set to nil if dir does not exist. | |
23462 | (syms_of_callproc): Init unconditionally and simply. | |
23463 | ||
23464 | * buffer.c (Fbuffer_list): Doc fix. | |
23465 | ||
23466 | 2002-07-21 Ken Raeburn <raeburn@gnu.org> | |
23467 | ||
23468 | * sysdep.c (end_of_text, end_of_data): Unused functions deleted. | |
23469 | ||
23470 | * buffer.c (mmap_realloc): When shrinking, make sure number of | |
23471 | pages to unmap is rounded towards zero. | |
23472 | ||
23473 | * m/mips-siemens.h (XSETUINT, XSETPNTR): Unused macros deleted. | |
23474 | (XSETINT): Deleted. | |
23475 | ||
23476 | * m/att3b.h (XINT): Don't define. | |
23477 | (VALBITS, VALMASK, XTYPE): Deleted. | |
23478 | (DATA_SEG_BITS): Define. | |
23479 | * m/gec63.h (VALBITS, VALAMASK, XTYPE, XSETTYPE, XPNTR, XSET, | |
23480 | ARRAY_MARK_FLAG): Deleted. | |
23481 | (DATA_SEG_BITS): Define. | |
23482 | * m/pfa50.h (VALBITS, VALMASK, XTYPE): Deleted. | |
23483 | (DATA_SEG_BITS): Define. | |
23484 | ||
23485 | 2002-07-20 Richard M. Stallman <rms@gnu.org> | |
23486 | ||
23487 | * print.c (print_error_message): New args CONTEXT and CALLER. | |
23488 | Calls changed. | |
23489 | ||
23490 | * lisp.h (print_error_message): Declare new args. | |
23491 | ||
23492 | * keyboard.c (cmd_error_internal): Pass Vsignaling_function | |
23493 | and CONTEXT to print_error_message, don't print them here. | |
23494 | For a Quit, don't use Vsignaling_function. | |
23495 | Call message_log_maybe_newline. | |
23496 | ||
23497 | * Makefile.in (xsmfns.o): Don't depend on lisp.h. | |
23498 | ||
23499 | 2002-07-20 Kim F. Storm <storm@cua.dk> | |
23500 | ||
23501 | * xdisp.c (redisplay_window): Test MODIFF to set buffer_unchanged_p. | |
23502 | ||
23503 | 2002-07-19 Ken Raeburn <raeburn@gnu.org> | |
23504 | ||
23505 | * bytecode.c (struct byte_stack): Pointers into byte string now | |
23506 | point to const. | |
23507 | * callproc.c (Fcall_process): Make NEW_ARGV array hold pointer to | |
23508 | const. | |
23509 | * charset.h (BCOPY_SHORT): Source pointer now points to const. | |
23510 | * coding.c (encode_eol, detect_coding, detect_eol): | |
23511 | (decode_coding, encode_coding, detect_coding_system): | |
23512 | Source strings now treated as const. | |
23513 | (decode_coding_string, encode_coding_string): Use STRING_COPYIN to | |
23514 | modify Lisp string contents. | |
23515 | * coding.h (decode_coding, encode_coding, detect_coding, | |
23516 | detect_eol): Declarations updated. | |
23517 | * composite.c (compose_chars_in_text): Treat Lisp string contents | |
23518 | as const. | |
23519 | * dispnew.c (safe_bcopy): Source pointer now points to const. | |
23520 | * lisp.h (STRING_COPYIN): New macro. | |
23521 | (detect_coding_system, safe_bcopy, temp_output_buffer_setup): | |
23522 | (internal_with_output_to_temp_buffer): Declarations updated. | |
23523 | * print.c (temp_output_buffer_setup): | |
23524 | (internal_with_output_to_temp_buffer): Buffer name argument is now | |
23525 | pointer to const. | |
23526 | * sound.c (struct sound_device): Function pointer field "write" | |
23527 | buffer argument now points to const. | |
23528 | (vox_write): Buffer argument points to const. | |
23529 | * syntax.c (Fstring_to_syntax, skip_chars): Treat Lisp string | |
23530 | contents as const. | |
23531 | * sysdep.c (emacs_write): Buffer pointer now const. | |
23532 | * term.c (encode_terminal_code): Buffer pointer now const. | |
23533 | * xfaces.c (may_use_scalable_font_p): Argument now points to const. | |
23534 | (x_face_list_fonts, x_update_menu_appearance): | |
23535 | (hash_string_case_insensitive): Treat Lisp string contents as const. | |
23536 | ||
23537 | 2002-07-19 Juanma Barranquero <lektu@terra.es> | |
23538 | ||
048addec JD |
23539 | * xdisp.c (syms_of_xdisp): Remove redundant deprecation info. |
23540 | ||
23541 | * fileio.c (syms_of_fileio): Likewise. | |
c62aec78 JB |
23542 | (Ffile_name_as_directory): Fix argument name in docstring. |
23543 | (file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP. | |
048addec JD |
23544 | |
23545 | 2002-07-18 Richard M. Stallman <rms@gnu.org> | |
23546 | ||
23547 | * data.c (Fdefalias): Doc fix. | |
23548 | ||
23549 | 2002-07-17 Dave Love <fx@gnu.org> | |
23550 | ||
23551 | * intervals.h (text_property_stickiness): Use P_. | |
23552 | ||
23553 | * ccl.c: Remove `emacs' conditionals. | |
23554 | (ccl_backtrace_table): Fix size spec. | |
23555 | (ccl_driver): Fix type errors. | |
23556 | ||
23557 | 2002-07-16 Ken Raeburn <raeburn@gnu.org> | |
23558 | ||
23559 | * alloc.c (xstrdup, make_string, make_unibyte_string) | |
23560 | (make_multibyte_string, build_string): String pointer args now | |
23561 | point to const. | |
23562 | * charset.c (find_charset_in_text, c_string_width): | |
23563 | (chars_in_text, multibyte_chars_in_text, parse_str_as_multibyte): | |
23564 | * fileio.c (report_file_error): | |
23565 | * insdel.c (copy_text, count_size_as_multibyte, insert_1): | |
23566 | (count_combining_before, count_combining_after, insert_1_both): | |
23567 | (insert, insert_and_inherit, insert_string): | |
23568 | (insert_before_markers, insert_before_markers_and_inherit): | |
23569 | * lread.c (intern, oblookup, hash_string): | |
23570 | * minibuf.c (temp_echo_area_glyphs): | |
23571 | * search.c (fast_c_string_match_ignore_case): | |
23572 | * sysdep.c (emacs_open, set_file_times): | |
23573 | * xfaces.c (xstricmp): | |
23574 | * xdisp.c (store_frame_title, string_char_and_length): | |
23575 | (message_dolog, message2, message2_nolog, set_message): Likewise. | |
23576 | (set_message_1): Cast message string argument to const pointer. | |
23577 | * editfns.c (general_insert_function): Insertion function now | |
23578 | takes pointer to const for input data. | |
23579 | * charset.h (find_charset_in_text, c_string_width): | |
23580 | (parse_str_as_multibyte): Declarations updated. | |
23581 | * dispextern.h (xstricmp): Declaration updated. | |
23582 | * lisp.h (chars_in_text, multibyte_chars_in_text, copy_text): | |
23583 | (count_size_as_multibyte, count_combining_before): | |
23584 | (count_combining_after, insert_1, insert_1_both, message_dolog): | |
23585 | (insert, insert_and_inherit, insert_before_markers) | |
23586 | (insert_before_markers_and_inherit, set_message, message2): | |
23587 | (message2_dolog, build_string, make_string, make_unibyte_string): | |
23588 | (make_multibyte_string, intern, oblookup, report_file_error): | |
23589 | (fast_c_string_match_ignore_case, temp_echo_area_glyphs): | |
23590 | (emacs_open, xstrdup): Declarations updated. | |
23591 | * systime.h (set_file_times): Declaration updated. | |
23592 | ||
23593 | * charset.c (find_charset_in_text, lisp_string_width): Use const | |
23594 | for pointer to lisp string data. | |
23595 | * charset.h (FETCH_STRING_CHAR_ADVANCE): | |
23596 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): | |
23597 | * coding.c (Ffind_coding_systems_region_interval): | |
23598 | * fileio.c (Ffile_name_directory, Ffile_name_nondirectory): | |
23599 | (Fmake_directory_internal, Fdelete_directory): | |
23600 | (Ffile_name_absolute_p, Fwrite_region, double_dollars): | |
23601 | * fontset.c (font_family_registry, fs_query_fontset): | |
23602 | (list_fontsets): | |
23603 | * frame.c (Fframe_parameter): | |
23604 | * keyboard.c (cmd_error_internal): | |
23605 | * keymap.c (Fdescribe_buffer_bindings): | |
23606 | * lread.c (complete_filename_p, openp): | |
23607 | * minibuf.c (Fminibuffer_complete_word): | |
23608 | * xdisp.c (string_pos_nchars_ahead, init_from_display_pos): | |
23609 | (face_before_or_after_it_pos, next_element_from_string): | |
23610 | (get_overlay_arrow_glyph_row, display_mode_element): | |
23611 | (decode_mode_spec_coding): | |
23612 | * xterm.c (same_x_server): Likewise. | |
23613 | ||
23614 | * buffer.c (reset_buffer_local_variables): Delete "#if 0" | |
23615 | settings of non-existent fields. | |
23616 | ||
23617 | * editfns.c (Fstring_to_char): Don't use XSTRING/XSETSTRING to | |
23618 | copy a lisp value. | |
23619 | ||
23620 | * lread.c (Fintern_soft): Use string macros instead of | |
23621 | Lisp_String fields. | |
23622 | * keyboard.c (echo_char, parse_modifiers_uncached): | |
23623 | (parse_solitary_modifier, Fexecute_extended_command): Likewise. | |
23624 | * textprop.c (validate_interval_range, interval_of): Likewise. | |
23625 | ||
23626 | * fontset.c (Fset_fontset_font): Use SDATA instead of XSTRING()->data. | |
23627 | ||
23628 | * charset.h (FETCH_STRING_CHAR_ADVANCE) | |
23629 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SBYTES instead of | |
23630 | XSTRING()->size_byte. | |
23631 | ||
23632 | * lisp.h (SDATA, SREF): Produce rvalue. | |
23633 | (SSET): New macro. | |
23634 | * alloc.c (make_event_array): Use SSET for storing into a string. | |
23635 | * buffer.c (Fother_buffer): Use SREF when retrieving a byte from | |
23636 | a string. | |
23637 | * casefiddle.c (casify_object): Use SSET. | |
23638 | * charset.h (FETCH_STRING_CHAR_ADVANCE) | |
23639 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA when getting | |
23640 | address of string contents. | |
23641 | * data.c (Faref): Use SDATA. | |
23642 | (Faset): Use SDATA, SSET. | |
23643 | * dired.c (directory_files_internal): Use SSET. | |
23644 | * fileio.c (Fmake_symbolic_link, Fexpand_file_name): Use SSET. | |
23645 | (Fread_file_name): Use SREF, SSET. | |
23646 | * fns.c (concat): Use SSET. | |
23647 | (concat, Fdelete): Use SDATA. | |
23648 | * insdel.c (insert_from_string_1): Use SDATA. | |
23649 | * keyboard.c (Fevent_convert_list): Use SREF. | |
23650 | * lread.c (Fload): Use SDATA, SSET. | |
23651 | * macfns.c (validate_x_resource_name): Use SSET. | |
23652 | * process.c (status_message): Use SSET. | |
23653 | * search.c (wordify): Use SDATA. | |
23654 | (Freplace_match): Use SREF. | |
23655 | * w32fns.c (validate_x_resource_name): Use SSET. | |
23656 | * xfns.c (validate_x_resource_name): Use SSET. | |
23657 | * xterm.c (x_catch_errors, x_clear_errors): Use SSET. | |
23658 | ||
23659 | 2002-07-16 Richard M. Stallman <rms@gnu.org> | |
23660 | ||
23661 | * s/hpux11.h (USG_SUBTTY_WORKS): Defined. | |
23662 | ||
23663 | * xdisp.c (reconsider_clip_changes): | |
23664 | Don't test prevent_redisplay_optimizations_p. | |
23665 | (redisplay_internal): Test prevent_redisplay_optimizations_p | |
23666 | along with clip_changed in some cases. | |
23667 | (try_window_id): Likewise. | |
23668 | (redisplay_window): New local var buffer_unchanged_p. | |
23669 | ||
23670 | * keyboard.c (cmd_error) [HAVE_X_WINDOWS]: Maybe call cancel_houglass. | |
23671 | ||
23672 | * process.c (create_process): Test USG_SUBTTY_WORKS. | |
23673 | (process_send_signal): Clean up handling of GID. | |
23674 | Detect errors in ioctls meant to set GID. | |
23675 | ||
23676 | * window.c (temp_output_buffer_show): | |
23677 | Don't set prevent_redisplay_optimizations_p. | |
23678 | ||
23679 | 2002-07-15 Juanma Barranquero <lektu@terra.es> | |
23680 | ||
23681 | * eval.c (Fdefvaralias): Add docstring argument. | |
23682 | ||
23683 | 2002-07-15 Ken Raeburn <raeburn@gnu.org> | |
23684 | ||
23685 | * lisp.h (STRING_INTERVALS): Produce rvalue. | |
23686 | (STRING_SET_INTERVALS): New macro. | |
23687 | * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use it. | |
23688 | * fns.c (Fstring_as_multibyte): Likewise. | |
23689 | * intervals.c (balance_possible_root_interval, delete_interval) | |
23690 | (create_root_interval, copy_intervals_to_string): Likewise. | |
23691 | * textprop.c (set_text_properties): Likewise. Use NULL_INTERVAL | |
23692 | instead of 0. | |
23693 | ||
23694 | 2002-07-14 Ken Raeburn <raeburn@gnu.org> | |
23695 | ||
23696 | * lisp.h (STRING_SET_CHARS): New macro. | |
23697 | (SCHARS, SBYTES): Produce rvalues. | |
23698 | * dired.c (directory_files_internal): Use STRING_SET_CHARS. | |
23699 | * fns.c (concat): Likewise. | |
23700 | * lread.c (read_vector): Likewise. | |
23701 | ||
3419757d | 23702 | * lisp.h (SMBP): Delete. All uses changed to STRING_MULTIBYTE. |
048addec | 23703 | (STRING_SET_UNIBYTE): New macro. |
3419757d | 23704 | (SET_STRING_BYTES): Delete. Callers (all of which supplied a |
048addec JD |
23705 | length of -1) changed to use STRING_SET_UNIBYTE. |
23706 | * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, | |
23707 | casefiddle.c, category.c, ccl.c, charset.c, charset.h, coding.c, | |
23708 | composite.c, data.c, dired.c, dispnew.c, disptab.h, doc.c, | |
23709 | dosfns.c, editfns.c, emacs.c, eval.c, fileio.c, filelock.c, fn.c, | |
23710 | fontset.c, frame.c, indent.c, insdel.c, intervals.c, keyboard.c, | |
23711 | keymap.c, lread.c, mac.c, macfns.c, macmenu.c, macterm.c, | |
23712 | minibuf.c, msdos.c, print.c, process.c, search.c, sound.c, | |
23713 | sunfns.c, syntax.c, syntax.h, sysdep.c, textprop.c, undo.c, | |
23714 | w16select.c, w32.c, w32fns.c, w32menu.c, w32proc.c, w32select.c, | |
23715 | w32term.c, window.c, xdisp.c, xfaces.c, xfns.c, xmenu.c, | |
23716 | xselect.c, xsmfns.c, xterm.c: Most uses of XSTRING combined with | |
23717 | STRING_BYTES or indirection changed to SCHARS, SBYTES, | |
23718 | STRING_INTERVALS, SREF, SDATA; explicit size_byte references left | |
23719 | unchanged for now. | |
23720 | ||
23721 | 2002-07-13 Kim F. Storm <storm@cua.dk> | |
23722 | ||
23723 | * keyboard.c (command_loop_1): Invert check on Vmemory_full. | |
23724 | ||
23725 | 2002-07-12 Richard M. Stallman <rms@gnu.org> | |
23726 | ||
23727 | * fileio.c (Fwrite_region): Doc fix. | |
23728 | ||
23729 | * print.c (print_error_message): Don't handle Vsignaling_function here. | |
23730 | ||
23731 | * keyboard.c (cmd_error_internal): Handle Vsignaling_function here. | |
23732 | (command_loop_1): Avoid certain actions after memory-full error. | |
23733 | ||
23734 | * eval.c (Fsignal): Don't call cancel_hourglass. | |
23735 | For a memory-full error, don't call Vsignal_hook_function | |
23736 | and don't set Vsignaling_function. | |
23737 | ||
23738 | * process.c (process_send_signal): Add abort call. | |
23739 | ||
23740 | 2002-07-11 Markus Rost <rost@math.ohio-state.edu> | |
23741 | ||
23742 | * keymap.c (Fkey_binding): Fix typo. | |
23743 | ||
23744 | 2002-07-11 Richard M. Stallman <rms@gnu.org> | |
23745 | ||
23746 | * alloc.c (Vmemory_full): New variable. | |
3419757d | 23747 | (Vmemory_signal_data): Rename from memory_signal_data. |
048addec JD |
23748 | Uses changed. |
23749 | (syms_of_alloc): Defvar them. | |
23750 | (memory_full, buffer_memory_full): Set Vmemory_full. | |
23751 | ||
23752 | * lisp.h (Vmemory_full): Add declaration. | |
23753 | (current_column, indented_beyond_p): Change declaration. | |
23754 | ||
23755 | * indent.c (last_known_column): Declare as double, not float. | |
23756 | (current_column, current_column_1, string_display_width) | |
23757 | (position_indentation): Return `double'. | |
23758 | (indented_beyond_p): Arg `column' is `double'. Callers changed. | |
23759 | ||
23760 | * xdisp.c (message_dolog): Do nothing if Vmemory_full is non-nil. | |
23761 | (back_to_previous_visible_line_start) | |
23762 | (reseat_at_next_visible_line_start, next_element_from_buffer): | |
23763 | Use `double', not `float', when calling indented_beyond_p. | |
23764 | ||
3419757d | 23765 | * s/hpux11.h (BROKEN_SA_RESTART): Define. |
048addec JD |
23766 | |
23767 | * sysdep.c (sys_signal): Test BROKEN_SA_RESTART. | |
23768 | ||
23769 | 2002-07-11 Juanma Barranquero <lektu@terra.es> | |
23770 | ||
23771 | * alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, coding.c, | |
f9711de4 JB |
23772 | * composite.c, dired.c, dispnew.c, editfns.c, emacs.c, eval.c, |
23773 | * fileio.c, fns.c, insdel.c, keyboard.c, keymap.c, lread.c, macfns.c, | |
23774 | * macmenu.c, macros.c, minibuf.c, print.c, process.c, sound.c, | |
23775 | * textprop.c, w32fns.c, w32menu.c, window.c, xfaces.c, xfns.c, | |
23776 | * xmenu.c, xselect.c, xterm.c: Use SPECPDL_INDEX wherever makes sense. | |
048addec JD |
23777 | |
23778 | 2002-07-10 Juanma Barranquero <lektu@terra.es> | |
23779 | ||
d814862a JB |
23780 | * lisp.h (SPECPDL_INDEX): Rename from BINDING_STACK_SIZE. |
23781 | All callers changed. | |
048addec JD |
23782 | |
23783 | 2002-07-09 Stefan Monnier <monnier@cs.yale.edu> | |
23784 | ||
23785 | * data.c (Fdefalias): Add an optional `docstring' argument. | |
23786 | (set_internal, Fsetq_default): Use XCAR/XCDR. | |
23787 | ||
23788 | * composite.c (HASH_VALUE, HASH_KEY): | |
23789 | * ccl.c (HASH_VALUE): Remove (it's in lisp.h now). | |
23790 | ||
23791 | 2002-07-09 Kenichi Handa <handa@etl.go.jp> | |
23792 | ||
23793 | * callproc.c (Fcall_process): Fix previous change. | |
23794 | ||
23795 | 2002-07-07 Stefan Monnier <monnier@cs.yale.edu> | |
23796 | ||
23797 | * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion): | |
23798 | Add support for hash-tables. | |
23799 | (Ftry_completion): Return t even if the string appears multiple times. | |
23800 | ||
23801 | * fns.c (Fnconc): Use XCDR. | |
23802 | (Fprovide): Use CONSP and XCDR. | |
23803 | (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX) | |
23804 | (HASH_TABLE_SIZE): Delete: moved to lisp.h. | |
23805 | (Fmake_hash_table): Accept `:size nil'. | |
23806 | (Fmakehash): Delete: moved to subr.el. | |
23807 | (syms_of_fns): Don't defsubr makehash. | |
23808 | ||
23809 | * lisp.h (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX) | |
23810 | (HASH_TABLE_SIZE): Move from fns.c. | |
23811 | ||
23812 | 2002-07-07 Richard M. Stallman <rms@gnu.org> | |
23813 | ||
23814 | * xdisp.c (make_cursor_line_fully_visible): Don't try short scrolls. | |
23815 | Instead just return 0 when there is something to be done. | |
23816 | (try_scrolling): If make_cursor_line_fully_visible returns 0, | |
23817 | retry scrolling as if cursor were off the bottom. | |
23818 | (try_cursor_movement): If make_cursor_line_fully_visible returns 0, | |
23819 | return CURSOR_MOVEMENT_MUST_SCROLL. | |
23820 | (redisplay_window): If make_cursor_line_fully_visible returns 0, | |
23821 | go to try_to_scroll. | |
23822 | ||
23823 | * buffer.c (Fbuffer_local_value): Store current value into its binding | |
23824 | so we get the up-to-date value for the binding that is loaded. | |
23825 | ||
23826 | * eval.c (Fdefmacro): Doc fix. | |
23827 | ||
23828 | 2002-07-05 Dave Love <fx@gnu.org> | |
23829 | ||
23830 | * keyboard.c (read_key_sequence): Set initial_idleness_start_time | |
23831 | correctly. | |
23832 | ||
23833 | * ccl.c (Vtranslation_hash_table_vector, GET_HASH_TABLE) | |
23834 | (HASH_VALUE, CCL_LookupIntConstTbl, CCL_LookupCharConstTbl): New. | |
23835 | (ccl_driver): Add cases for CCL_LookupIntConstTbl, | |
23836 | CCL_LookupCharConstTbl. | |
23837 | (syms_of_ccl): Defvar translation-hash-table-vector. | |
23838 | ||
23839 | 2002-07-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
23840 | ||
23841 | * xdisp.c: Remove unused variable `face'. | |
23842 | ||
23843 | 2002-07-04 Juanma Barranquero <lektu@terra.es> | |
23844 | ||
23845 | * keyboard.c (post_command_idle_hook): Remove redundant (and inexact) | |
23846 | obsolescence information. | |
23847 | ||
23848 | 2002-07-03 Andrew Choi <akochoi@shaw.ca> | |
23849 | ||
23850 | * macterm.c (x_list_fonts): Fix comment. Cache fonts matching | |
23851 | pattern. Search cache first. | |
23852 | (init_font_name_table): Also add entry for jisx0201.1976-0 coding | |
23853 | for Japanese font. | |
23854 | (XLoadQueryFont): Use it. | |
23855 | ||
23856 | 2002-07-02 Richard M. Stallman <rms@gnu.org> | |
23857 | ||
23858 | * keymap.c (Fdefine_key): Doc fix. | |
23859 | ||
23860 | * xterm.c (x_term_init): Turn off polling around XtOpenDisplay. | |
23861 | ||
23862 | 2002-07-02 Juanma Barranquero <lektu@terra.es> | |
23863 | ||
23864 | * keymap.c (syms_of_keymap): Fix typo. | |
23865 | ||
23866 | 2002-07-01 Andrew Choi <akochoi@shaw.ca> | |
23867 | ||
23868 | * s/darwin.h: Define POSIX_SIGNALS. | |
23869 | ||
23870 | * macterm.c (do_ae_open_documents) [MAC_OSX]: Call FSpMakeFSRef | |
23871 | and FSRefMakePath to convert FSSpec returned with Apple Event to | |
23872 | Posix pathname. | |
23873 | (mac_initialize) [TARGET_API_MAC_CARBON]: | |
23874 | Call init_required_apple_events and disable the `Quit' menu item | |
23875 | provided automatically by the Carbon Toolbox. | |
23876 | ||
23877 | 2002-07-01 Dave Love <fx@gnu.org> | |
23878 | ||
23879 | * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal decl | |
23880 | for K&R. | |
23881 | ||
23882 | * xterm.c: Fix prototype for K&R. | |
23883 | ||
23884 | * term.c (costs_set): Declare static, non-initialized for pcc. | |
23885 | ||
23886 | 2002-07-01 Richard M. Stallman <rms@gnu.org> | |
23887 | ||
23888 | * keyboard.c (timer_last_idleness_start_time): New variable. | |
23889 | (timer_start_idle): Set that. | |
23890 | (read_key_sequence): Use that to reset timer_idleness_start_time | |
23891 | to previous value. | |
23892 | ||
23893 | * window.c (Frecenter): With arg, set optional_new_start. | |
23894 | ||
23895 | * xdisp.c (redisplay_internal): Make optional_new_start really work. | |
23896 | ||
23897 | * minibuf.c (Fminibuffer_complete_and_exit): Move to end of | |
23898 | buffer for completion. | |
23899 | ||
23900 | 2002-06-29 Ken Raeburn <raeburn@gnu.org> | |
23901 | ||
23902 | * xdisp.c (store_mode_line_string): Lisp_Object/int mixup. | |
23903 | ||
23904 | 2002-06-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
23905 | ||
23906 | * keyboard.c (readable_filtered_events): New function that filters | |
23907 | FOCUS_IN_EVENT depending on parameter. | |
23908 | (readable_events): Calls readable_filtered_events, not filtering | |
23909 | FOCUS_IN_EVENT. | |
23910 | (get_filtered_input_pending): New function, filtering parameter passed | |
23911 | to readable_filtered_events. | |
23912 | (get_input_pending): Calls get_filtered_input_pending, not filtering | |
23913 | FOCUS_IN_EVENT. | |
23914 | (Finput_pending_p): Calls get_filtered_input_pending, DO filter | |
23915 | FOCUS_IN_EVENT. | |
23916 | ||
23917 | * xterm.h (struct x_output): Add focus_state. | |
23918 | ||
23919 | * xterm.c (x_focus_changed): New function. | |
23920 | (x_detect_focus_change): New function. | |
23921 | (XTread_socket): Call x_detect_focus_change for FocusIn/FocusOut | |
23922 | EnterNotify and LeaveNotify to track X focus changes. | |
23923 | ||
23924 | 2002-06-28 Andreas Schwab <schwab@suse.de> | |
23925 | ||
23926 | * lisp.h: Remove duplicate declaration of code_convert_string_norecord. | |
23927 | ||
23928 | 2002-06-27 Kim F. Storm <storm@cua.dk> | |
23929 | ||
52eb0373 | 23930 | * xdisp.c (mode_line_string_list, mode_line_string_face) |
048addec JD |
23931 | (mode_line_string_face_prop): New variables. |
23932 | (store_mode_line_string): New function. | |
23933 | (display_mode_element): Use store_mode_line_string to | |
23934 | add mode-line string elements to mode_line_string_list | |
23935 | when mode_line_string_list is non-nil. | |
23936 | (Fformat_mode_line): Now returns propertized string by | |
23937 | default. New arg NO-PROPS to ignore properties. | |
23938 | (decode_mode_spec): Only add two dashes for %- in propertized | |
23939 | mode-line string. | |
23940 | (syms_of_xdisp): Init and staticpro mode_line_string_list. | |
23941 | ||
23942 | 2002-06-27 Stefan Monnier <monnier@cs.yale.edu> | |
23943 | ||
23944 | * minibuf.c (minibuffer_completion_contents): Add return type. | |
23945 | ||
23946 | 2002-06-27 Juanma Barranquero <lektu@terra.es> | |
23947 | ||
23948 | * charset.c (Fchar_bytes): Remove obsolescence info from docstring. | |
23949 | ||
23950 | 2002-06-26 Juanma Barranquero <lektu@terra.es> | |
23951 | ||
23952 | * fileio.c (read_file_name_cleanup): Add missing return. | |
23953 | ||
23954 | 2002-06-26 Richard M. Stallman <rms@gnu.org> | |
23955 | ||
23956 | * window.c (Frecenter): Don't set force_start flag. | |
23957 | ||
23958 | * minibuf.c (do_completion, Fminibuffer_complete_word) | |
23959 | (Fminibuffer_completion_help): Complete just the text before point. | |
23960 | (minibuffer_completion_contents): New function. | |
23961 | ||
23962 | * buffer.c (Fbury_buffer): Use frames_discard_buffer. | |
23963 | ||
23964 | * frame.c (frames_bury_buffer): Function deleted. | |
23965 | ||
23966 | 2002-06-25 Miles Bader <miles@gnu.org> | |
23967 | ||
23968 | * callint.c (Fcall_interactively): When checking to see if doprnt hit | |
23969 | the end of callint_message, allow for a terminating '\0'. | |
23970 | ||
23971 | 2002-06-24 Juanma Barranquero <lektu@terra.es> | |
23972 | ||
52eb0373 | 23973 | * w32select.c: Include composite.h. |
048addec JD |
23974 | |
23975 | * w16select.c: Likewise. | |
23976 | ||
23977 | 2002-06-24 Kenichi Handa <handa@etl.go.jp> | |
23978 | ||
23979 | * callproc.c (Fcall_process): If code detection is necessary, | |
23980 | call detect_coding directly here. | |
23981 | ||
23982 | * coding.c (detect_eol): Preserve coding->cmp_data. | |
23983 | ||
23984 | * w16select.c (Fw16_get_clipboard_data): | |
23985 | * w32fns.c (w32_to_x_font): | |
23986 | * w32select.c (Fw32_get_clipboard_data): | |
23987 | * xselect.c (selection_data_to_lisp_data): | |
23988 | * xterm.c (XTread_socket): Disable composition handling. | |
23989 | ||
23990 | 2002-06-24 Stefan Monnier <monnier@cs.yale.edu> | |
23991 | ||
23992 | * print.c (temp_output_buffer_setup): Kill all local variables. | |
23993 | ||
23994 | 2002-06-22 Stefan Monnier <monnier@cs.yale.edu> | |
23995 | ||
23996 | * lread.c (Fread): Remove redundant and imprecise declaration. | |
23997 | ||
23998 | * xfns.c (check_x_display_info): Use check_x_frame. | |
23999 | ||
24000 | * .gdbinit (xprintsym): Use the new `xname' field. | |
24001 | (xsymbol): Use it. | |
24002 | ||
24003 | 2002-06-22 Jason Rumney <jasonr@gnu.org> | |
24004 | ||
24005 | * w32fns.c (file_dialog_callback): New function. | |
24006 | (Fx_file_dialog): Allow selecting directories as well as files. | |
24007 | ||
24008 | 2002-06-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24009 | ||
24010 | * m/pmax.h (START_FILES): Define START_FILES for NetBSD and | |
f63fd14e | 24011 | OpenBSD. Add support for mipseb-*-netbsd* machines. |
048addec JD |
24012 | |
24013 | 2002-06-17 Andrew Choi <akochoi@shaw.ca> | |
24014 | ||
24015 | * macterm.c (mac_scroll_area): Set foreground and backcolor to | |
24016 | black and white before scrolling. Restore frame background and | |
24017 | foreground color after scrolling. | |
24018 | (do_window_update): Call XClearWindow before calling expose_frame. | |
24019 | (make_mac_frame): Don't set FRAME_BACKGROUND_PIXEL and | |
24020 | FRAME_FOREGROUND_PIXEL of frame. | |
24021 | ||
24022 | * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil, | |
24023 | test Mac command key as <ALT> key. | |
24024 | ||
24025 | 2002-06-17 Stefan Monnier <monnier@cs.yale.edu> | |
24026 | ||
24027 | * window.c (Fset_window_configuration): Lisp_Object/int mixup. | |
24028 | ||
24029 | * keyboard.c (read_key_sequence): Be more careful with first_unbound. | |
24030 | Lookup keys in function-key-map immediately so that key-translation-map | |
24031 | can be applied earlier. | |
24032 | Remove function_key_possible and key_translation_possible, replaced | |
24033 | by checking `keytran_start < t'. | |
24034 | ||
24035 | * .gdbinit (xsymbol): Use the new `xname' field. | |
24036 | ||
24037 | 2002-06-17 Andrew Choi <akochoi@shaw.ca> | |
24038 | ||
24039 | * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil, | |
24040 | test Mac command key as <ALT> key. | |
24041 | ||
24042 | * mac.c (do_applescript): Call initialize_applescript if necessary | |
24043 | when first called. Dispose of result_desc only when there is no error. | |
24044 | (Fdo_applescript): Use %d format specifier instead of %ld. | |
24045 | ||
24046 | 2002-06-16 Andrew Choi <akochoi@shaw.ca> | |
24047 | ||
24048 | * macterm.c (XTread_socket): Call FrontNonFloatingWindow instead | |
24049 | of FrontWindow for cases keyDown and autoKey. | |
24050 | ||
24051 | * fontset.c (syms_of_fontset) [MAC_OS]: Set ASCII font of | |
24052 | Vdefault_fontset to Monaco with mac-roman coding. | |
24053 | ||
24054 | * mac.c, macfns.c, macmenu.c, macterm.c: Undefine and redefine | |
24055 | init_process before and after inclusion of Carbon/Carbon.h, resp. | |
24056 | ||
24057 | * macterm.c (x_new_font): Set font for normal_gc, reverse_gc, and | |
24058 | cursor_gc. | |
24059 | (add_font_name_table_entry): New function. | |
24060 | (init_font_name_table): Use add_font_name_table_entry; add italic, | |
24061 | bold, and bold-italic entries for truetype fonts. | |
24062 | ||
24063 | * xfaces.c (init_frame_faces) [MAC_OS]: Call realize_basic_faces | |
24064 | for Mac too. | |
24065 | (try_font_list) [MAC_OS]: If no font matches given registry, try | |
24066 | fonts with any registry matching face_family. | |
24067 | (realize_x_face) [MAC_OS]: Remove old ad-hoc fix to load font here. | |
24068 | ||
24069 | * s/darwin.h: If autoconf detects the Ncurses library, define | |
24070 | LIBS_TERMCAP to -lncurses to use it. | |
24071 | ||
24072 | 2002-06-16 Eli Zaretskii <eliz@is.elta.co.il> | |
24073 | ||
24074 | * strftime.c [__hpux]: Include sys/_mbstate_t.h. | |
24075 | ||
24076 | 2002-06-15 Richard M. Stallman <rms@gnu.org> | |
24077 | ||
24078 | * window.c (Fset_window_configuration): Explicitly preserve | |
24079 | the point value that new_current_buffer had at the start. | |
24080 | ||
24081 | 2002-06-14 Juanma Barranquero <lektu@terra.es> | |
24082 | ||
24083 | * composite.c (Fcompose_region_internal, Fcompose_string_internal): | |
24084 | Fix typos. | |
24085 | ||
24086 | 2002-06-14 Kim F. Storm <storm@cua.dk> | |
24087 | ||
24088 | * insdel.c (insert_1_both, insert_from_string_1) | |
24089 | (insert_from_buffer_1): Recalculate END_UNCHANGED in case the | |
24090 | insert happened in the end_unchanged region. Otherwise, the | |
24091 | redisplay may be confused and duplicate the last line in the | |
24092 | buffer [seen after save-buffer when require-final-newline==t]. | |
24093 | ||
24094 | 2002-06-13 Jason Rumney <jasonr@gnu.org> | |
24095 | ||
24096 | * w32.c (init_environment): Remove EMACSLOCKDIR. | |
24097 | (stat): Swap _S_IFDIR and _S_IFREG. | |
24098 | ||
24099 | 2002-06-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24100 | ||
24101 | * keyboard.c, macterm.c, macmenu.c, msdos.c, sysdep.c | |
24102 | * termhooks.h, xmenu.c, xsmfns.c, xterm.h, xterm.c, w32term.c, | |
24103 | * w32menu.c, w32inevt.c: Rename enum event_kind as follows: | |
24104 | ascii_keystroke to ASCII_KEYSTROKE_EVENT, multibyte_char_keystroke | |
24105 | to MULTIBYTE_CHAR_KEYSTROKE_EVENT, non_ascii_keystroke to | |
24106 | NON_ASCII_KEYSTROKE_EVENT, timer_event to TIMER_EVENT, mouse_click | |
24107 | to MOUSE_CLICK_EVENT, mouse_wheel to MOUSE_WHEEL_EVENT, | |
24108 | language_change_event to LANGUAGE_CHANGE_EVENT, scroll_bar_click | |
24109 | to SCROLL_BAR_CLICK_EVENT, w32_scroll_bar_click to | |
24110 | W32_SCROLL_BAR_CLICK_EVENT, selection_request_event to | |
24111 | SELECTION_REQUEST_EVENT, selection_clear_event to | |
24112 | SELECTION_CLEAR_EVENT, buffer_switch_event to BUFFER_SWITCH_EVENT, | |
24113 | delete_window_event to DELETE_WINDOW_EVENT, iconify_event to | |
24114 | ICONIFY_EVENT, deiconify_event to DEICONIFY_EVENT, | |
24115 | menu_bar_activate_event to MENU_BAR_ACTIVATE_EVENT, drag_n_drop to | |
24116 | DRAG_N_DROP_EVENT, save_session_event to SAVE_SESSION_EVENT and | |
24117 | no_event to NO_EVENT. | |
24118 | ||
24119 | 2002-06-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24120 | ||
24121 | * macmenu.c: Remove declaration of Qmouse_click and Qevent_kind. | |
24122 | ||
24123 | 2002-06-12 Stefan Monnier <monnier@cs.yale.edu> | |
24124 | ||
24125 | * intervals.c (textget): Don't forget to `return'. | |
24126 | (lookup_char_property): Use XCAR/XCDR. | |
24127 | ||
24128 | 2002-06-12 Juanma Barranquero <lektu@terra.es> | |
24129 | ||
24130 | * xdisp.c (Fformat_mode_line): Fix typo. | |
24131 | ||
24132 | 2002-06-12 Kim F. Storm <storm@cua.dk> | |
24133 | ||
24134 | * xdisp.c (Fformat_mode_line): New function. | |
24135 | (frame_title_buf, frame_title_buf_end, frame_title_ptr) | |
24136 | (store_frame_title_char, store_frame_title): Use unconditionally. | |
24137 | (init_xdisp): Defsubr Fformat_mode_line. | |
24138 | Initialize frame_title_buf etc. unconditionally. | |
24139 | ||
24140 | 2002-06-11 Stefan Monnier <monnier@cs.yale.edu> | |
24141 | ||
24142 | * keyboard.c (read_key_sequence): | |
24143 | Remove prev_(fkey|keytran}_(map|start|end) since we don't want to pass | |
24144 | things through those maps after downcasing events. | |
24145 | Enforce that keytran_end <= fkey_start, i.e. that key-translation-map | |
24146 | applies after function-key-map. | |
24147 | Make sure that keytran can be done in the middle in the sequence. | |
24148 | Be careful not to throw away events past the one we downcase. | |
24149 | ||
24150 | * lread.c (read_integer): Remove unused var `tem'. | |
24151 | (read1): Fix int/Lisp_Object mixup. | |
24152 | ||
24153 | * xfaces.c (tty_lookup_color): Type bool/Lisp_Object mismatch fixed. | |
24154 | ||
24155 | 2002-06-11 Richard M. Stallman <rms@gnu.org> | |
24156 | ||
24157 | * keyboard.c (readable_events): Ignore any number of | |
24158 | FOCUS_IN_EVENT events and return 0 if nothing else in buffer. | |
24159 | ||
24160 | 2002-06-09 Miles Bader <miles@gnu.org> | |
24161 | ||
24162 | * xfaces.c (Ftty_supports_face_attributes_p): New function. | |
24163 | (parse_rgb_list, tty_lookup_color): New functions. | |
24164 | (tty_defined_color): Use `tty_lookup_color' to do all the work. | |
24165 | (color_distance, Fcolor_distance): New functions. | |
24166 | (TTY_SAME_COLOR_THRESHOLD): New macro. | |
24167 | (Qtty_color_standard_values): New variable. | |
24168 | (syms_of_xfaces): Initialize new vars & functions. | |
24169 | ||
24170 | 2002-06-08 Colin Walters <walters@verbum.org> | |
24171 | ||
24172 | * textprop.c (Vchar_property_alias_alist): New variable. | |
24173 | (syms_of_textprop) <Vchar_property_alias_alist>: DEFVAR_LISP. | |
24174 | ||
24175 | * intervals.c (lookup_char_property): New function for looking up | |
24176 | overlay and text properties, created from textget. | |
24177 | (textget): Use it. | |
24178 | ||
24179 | * intervals.h (lookup_char_property): Declare. | |
24180 | (Vchar_property_alias_alist): Declare. | |
24181 | ||
24182 | * buffer.c (Foverlay_get): Use lookup_char_property. | |
24183 | ||
24184 | 2002-06-07 Sam Steingold <sds@gnu.org> | |
24185 | ||
24186 | * xselect.c (lisp_data_to_selection_data): Fix last change: | |
24187 | *data_ret is not a Lisp string, while unibyte_string is. | |
24188 | ||
24189 | 2002-06-07 Eli Zaretskii <eliz@is.elta.co.il> | |
24190 | ||
24191 | * xselect.c (lisp_data_to_selection_data): Fix last change: | |
24192 | set size_ret. | |
24193 | ||
24194 | 2002-06-07 Andreas Schwab <schwab@suse.de> | |
24195 | ||
24196 | * m/amdx86-64.h: New file. | |
24197 | ||
24198 | 2002-06-05 Eli Zaretskii <eliz@is.elta.co.il> | |
24199 | ||
24200 | * fns.c (Fstring_make_unibyte): Doc fix. | |
24201 | ||
24202 | * xselect.c (lisp_data_to_selection_data): If the requested type | |
59d8a9dc JB |
24203 | is STRING, call string_make_unibyte to encode the selected text |
24204 | as a string. | |
048addec JD |
24205 | |
24206 | * window.c (Fset_window_hscroll): Doc fix. | |
24207 | ||
24208 | 2002-06-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24209 | ||
24210 | * fileio.c (choose_write_coding_system): | |
24211 | Call select-safe-coding-system properly. | |
24212 | ||
24213 | 2002-06-03 Richard M. Stallman <rms@gnu.org> | |
24214 | ||
24215 | * xdisp.c (message_with_string): Error if STRING is not a string. | |
24216 | ||
24217 | * fns.c (md5): Pass FILE arg to Vselect_safe_coding_system_function. | |
24218 | ||
24219 | * fileio.c (choose_write_coding_system): Pass FILE arg to | |
24220 | Vselect_safe_coding_system_function. | |
24221 | ||
24222 | 2002-06-03 Ken Raeburn <raeburn@gnu.org> | |
24223 | ||
24224 | * buffer.c (fix_overlays_before): Fix list-walking bug in 05-19 change. | |
24225 | ||
24226 | 2002-06-02 Thien-Thi Nguyen <ttn@gnu.org> | |
24227 | ||
24228 | * bytecode.c (Fbyte_code): Cast `current_column' return value to int. | |
24229 | * cmds.c (Fdelete_backward_char, internal_self_insert): Likewise. | |
24230 | * keymap.c (describe_command): Likewise. | |
24231 | * minibuf.c (read_minibuf): Likewise. | |
24232 | ||
24233 | * xdisp.c (redisplay_internal, redisplay_window, decode_mode_spec): | |
24234 | Cast `current_column' return value to int. | |
24235 | (back_to_previous_visible_line_start) | |
24236 | (reseat_at_next_visible_line_start, next_element_from_buffer): | |
24237 | Cast `indented_beyond_p' 3rd arg to float. | |
24238 | ||
24239 | * indent.c (last_known_column): Now a float. | |
24240 | (current_column_1, position_indentation, current_column) | |
24241 | (string_display_width): Return float. | |
24242 | (Fcurrent_column): Cast `current_column' return value to int. | |
24243 | (Fcurrent_indentation): Cast `position_indentation' retval to int. | |
24244 | (indented_beyond_p): Third arg now a float. | |
24245 | (compute_motion, vmotion): Cast `indented_beyond_p' 3rd arg to float. | |
24246 | ||
24247 | * lisp.h (current_column): Now returns float. | |
24248 | (indented_beyond_p): 3rd arg now a float. | |
24249 | ||
24250 | 2002-05-31 Eli Zaretskii <eliz@is.elta.co.il> | |
24251 | ||
24252 | * xfns.c (x_encode_text): Return stringp non-NULL if coding_system | |
24253 | is Qcompound_text_with_extensions. | |
24254 | ||
24255 | * xselect.c (lisp_data_to_selection_data): Always set selection | |
24256 | type as string if x_encode_text returns streingp non-NULL. | |
24257 | ||
24258 | * s/netbsd.h: Include /usr/pkg in the run time shared library path. | |
24259 | ||
24260 | 2002-05-30 Richard M. Stallman <rms@gnu.org> | |
24261 | ||
24262 | * window.c (Fset_window_configuration): Correct the handling | |
24263 | of point in current buffer, to work with multiple windows. | |
24264 | ||
24265 | 2002-05-29 Colin Walters <walters@verbum.org> | |
24266 | ||
24267 | * lread.c (Fread_from_string): Don't depend on order of evaluation | |
24268 | for C function parameters. | |
24269 | ||
24270 | 2002-05-28 Richard M. Stallman <rms@gnu.org> | |
24271 | ||
24272 | * xterm.c (x_display_and_set_cursor): Change the cursor in the same | |
24273 | way for blinked-off state and for a nonselected window. | |
24274 | ||
24275 | * window.c (window_scroll_pixel_based): Don't call Fbolp; | |
24276 | instead, see if the new start pos is at beginning of line. | |
24277 | ||
24278 | * fileio.c (Fwrite_region): If START is a string, don't | |
24279 | make any annotations. | |
24280 | ||
24281 | * eval.c (syms_of_eval): Doc fix. | |
24282 | ||
24283 | 2002-05-28 Colin Walters <walters@debian.org> | |
24284 | ||
24285 | * emacs.c (USAGE1): Add --no-splash. | |
24286 | (standard_args): Ditto. | |
24287 | ||
24288 | 2002-05-28 Colin Walters <walters@gnu.org> | |
24289 | ||
24290 | * lread.c (readchar_count): New variable. | |
24291 | (readchar): Increment it. | |
24292 | (unreadchar): Decrement it. | |
24293 | (read_multibyte): Decrement it. | |
24294 | (Vread_with_symbol_positions): New variable. | |
24295 | (Vread_symbol_positions_list): New variable. | |
24296 | (read_internal_start): New function, created from Fread and | |
24297 | Fread_from_string. Handle Vread_symbol_positions_list and | |
24298 | Vread_with_symbol_positions. | |
24299 | (readevalloop, Fread, Fread_from_string): Use it. | |
24300 | (read1): Use readchar_count to add symbol positions to | |
24301 | Vread_symbol_positions_list if Vread_with_symbol_positions is non-nil. | |
24302 | (syms_of_lread): DEFVAR_LISP and initialize them. | |
24303 | ||
24304 | * lread.c (read0, read1, read_list, read_vector, read_multibyte) | |
24305 | (substitute_object_recurse, substitute_object_in_subtree) | |
24306 | (substitute_in_interval): Prototype. | |
24307 | (read_multibyte): Return c if it's less than zero. | |
24308 | ||
24309 | 2002-05-28 Kim F. Storm <storm@cua.dk> | |
24310 | ||
24311 | * fileio.c (Fread_file_name_internal): Added brute-force | |
24312 | speed up for using predicate file-directory-p. | |
24313 | ||
24314 | 2002-05-28 Kim F. Storm <storm@cua.dk> | |
24315 | ||
24316 | * fileio.c (Vread_file_name_function, Vread_file_name_predicate): | |
24317 | New variables. | |
24318 | (syms_of_fileio): DEFVAR_LISP them. | |
24319 | (read_file_name_cleanup): New unwind function. | |
24320 | (Fread_file_name_internal): Only return completions satifying | |
24321 | Vread_file_name_predicate. Temporarily unwind protect and rebind | |
24322 | default-directory while checking completions against the predicate. | |
24323 | (Fread_file_name): Added PREDICATE argument. Specbind it to | |
24324 | Vread_file_name_predicate during completion. | |
24325 | Call Vread_file_name_function to read the file name if non-nil. | |
24326 | ||
24327 | * lisp.h (Fread_file_name): Now has 6 args. | |
24328 | ||
24329 | * callint.c (Fcall_interactively) <"D">: Supply Qfile_directory_p | |
24330 | predicate for Fread_file_name when reading directory name. | |
24331 | Supply Qnil for predicate in other calls to Fread_file_name. | |
24332 | ||
24333 | 2002-05-26 Miles Bader <miles@gnu.org> | |
24334 | ||
24335 | * term.c (tty_capable_p): New function. | |
24336 | * dispextern.h (tty_capable_p): New function declaration. | |
24337 | (TTY_CAP_INVERSE, TTY_CAP_UNDERLINE, TTY_CAP_BOLD, TTY_CAP_DIM) | |
24338 | (TTY_CAP_BLINK, TTY_CAP_ALT_CHARSET): New macros. | |
24339 | ||
24340 | 2002-05-23 Stefan Monnier <monnier@cs.yale.edu> | |
24341 | ||
24342 | * fileio.c (read_non_regular, Finsert_file_contents): Use BEG_BYTE. | |
24343 | (Finsert_file_contents, build_annotations): Use XCAR, XCDR. | |
24344 | (Vwrite_region_annotate_functions): Docstring fix. | |
24345 | ||
24346 | 2002-05-23 Kim F. Storm <storm@cua.dk> | |
24347 | ||
24348 | * xterm.c (x_write_glyphs): Clear phys_cursor_on_p if current | |
24349 | phys_cursor's hpos is overwritten. This is still not completely | |
24350 | correct, as it doesn't really make sense to use hpos at all to | |
24351 | get the cursor glyph (as that is relative to the width of the | |
24352 | characters on the line, which may have changed during the update). | |
24353 | ||
24354 | 2002-05-22 Jason Rumney <jasonr@gnu.org> | |
24355 | ||
24356 | * w32fns.c (enumfont_t): Remove tail, make pattern a normal | |
24357 | Lisp_Object. | |
24358 | (enum_font_cb2, enum_font_maybe_add_to_list, w32_list_fonts): | |
24359 | Use modified enumfont_t struct. | |
24360 | ||
24361 | * w32term.h (text_cursor_kinds): New enumeration member HBAR_CURSOR. | |
24362 | ||
24363 | * w32term.c (x_draw_bar_cursor): New argument KIND; callers changed. | |
24364 | Handle the `hbar' cursor type. | |
24365 | (x_display_and_set_cursor): Handle the HBAR_CURSOR case. | |
24366 | ||
24367 | * w32fns.c (Qhbar): New variable. | |
24368 | (x_specified_cursor_type): Use it. | |
24369 | ||
24370 | 2002-05-21 Ken Raeburn <raeburn@gnu.org> | |
24371 | ||
24372 | * w32fns.c (enum_font_maybe_add_to_list): Use XCDR_AS_LVALUE for | |
24373 | now, when the address is needed. | |
24374 | ||
24375 | 2002-05-21 Colin Walters <walters@gnu.org> | |
24376 | ||
24377 | * Makefile.in (shortlisp): Add font-core.el. | |
24378 | ||
24379 | 2002-05-20 Richard M. Stallman <rms@gnu.org> | |
24380 | ||
24381 | * buffer.c (syms_of_buffer) <cursor-type>: Doc fix. | |
24382 | ||
24383 | * keyboard.c (read_char_minibuf_menu_prompt): Don't list | |
24384 | equivalent key bindings here. | |
24385 | ||
24386 | 2002-05-20 Ken Raeburn <raeburn@gnu.org> | |
24387 | ||
24388 | Change symbol structure to contain a lisp object for the symbol | |
24389 | name: | |
24390 | * lisp.h (struct Lisp_Symbol): Replace field "name" with a lisp | |
24391 | object field named "xname". | |
24392 | (SYMBOL_NAME): New macro. | |
24393 | * abbrev.c (write_abbrev): Use SYMBOL_NAME instead of XSYMBOL and | |
24394 | name field. | |
24395 | * alloc.c (Fmake_symbol): Set symbol xname field instead of name. | |
24396 | (mark_object, gc_sweep): Use symbol xname field and XSTRING | |
24397 | instead of name field. | |
24398 | * buffer.c (buffer_slot_type_mismatch): Use XSTRING and | |
24399 | SYMBOL_NAME instead of XSYMBOL and name field. | |
24400 | * callint.c (Fcall_interactively): Use XSTRING and SYMBOL_NAME | |
24401 | instead of XSYMBOL and name field. | |
24402 | * charset.c (Fdefine_charset, Fdeclare_equiv_charset): Use XSTRING | |
24403 | and SYMBOL_NAME instead of XSYMBOL and name field. | |
24404 | * coding.c (Fread_coding_system, code_convert_region1) | |
24405 | (code_convert_string1, code_convert_string_norecord) | |
24406 | (Ffind_operation_coding_system): Use SYMBOL_NAME instead of | |
24407 | XSYMBOL and name field. | |
24408 | * data.c (Fkeywordp, Fsymbol_name, store_symval_forwarding) | |
24409 | (Fmake_variable_buffer_local, Fmake_local_variable) | |
24410 | (Fmake_variable_frame_local): Use SYMBOL_NAME and XSTRING instead | |
24411 | of XSYMBOL and name field. | |
24412 | * editfns.c (Fformat): Use SYMBOL_NAME and XSTRING instead of | |
24413 | XSYMBOL and name field. | |
24414 | * emacs.c (shut_down_emacs) [#if 0]: Use SYMBOL_NAME and XSTRING | |
24415 | instead of XSYMBOL and name field. | |
24416 | * eval.c (do_autoload): Use SYMBOL_NAME and XSTRING instead of | |
24417 | XSYMBOL and name field. | |
24418 | * fns.c (Fstring_equal, Fstring_lessp, Frequire, sxhash): | |
24419 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
24420 | * fontset.c (Fset_fontset_font): Use SYMBOL_NAME and XSTRING | |
24421 | instead of XSYMBOL and name field. | |
24422 | * keyboard.c (echo_char, record_char, parse_modifiers_uncached) | |
24423 | (parse_modifiers, apply_modifiers, Fevent_convert_list) | |
24424 | (parse_solitary_modifier, Fexecute_extended_command): | |
24425 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
24426 | * keymap.c (silly_event_symbol_error, Fsingle_key_description) | |
24427 | (Fdescribe_buffer_bindings): Use SYMBOL_NAME and XSTRING instead | |
24428 | of XSYMBOL and name field. | |
24429 | (describe_command, describe_translation): Use SYMBOL_NAME and | |
24430 | assignment instead of XSYMBOL and name field and XSETSTRING. | |
24431 | * lread.c (Fintern_soft, oblookup): Use SYMBOL_NAME and XSTRING | |
24432 | instead of XSYMBOL and name field. | |
24433 | (Funintern): Use SYMBOL_NAME and assignment instead of XSYMBOL and | |
24434 | name field and XSETSTRING. | |
24435 | * macfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead | |
24436 | of XSYMBOL and name field. | |
24437 | * minibuf.c (Fread_command, Fread_variable): Use SYMBOL_NAME and | |
24438 | assignment instead of XSYMBOL and name field and XSETSTRING. | |
24439 | * print.c (print_error_message, print_object): Use SYMBOL_NAME and | |
24440 | XSTRING instead of XSYMBOL and name field. | |
24441 | * process.c (set_socket_options, Fsignal_process): Use SYMBOL_NAME | |
24442 | and XSTRING instead of XSYMBOL and name field. | |
24443 | * w32fns.c (parse_image_spec, w32_parse_hot_key): Use SYMBOL_NAME | |
24444 | and XSTRING instead of XSYMBOL and name field. | |
24445 | * xfaces.c (merge_face_vector_with_property): Use SYMBOL_NAME and | |
24446 | XSTRING instead of XSYMBOL and name field. | |
24447 | * xfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead | |
24448 | of XSYMBOL and name field. | |
24449 | * xselect.c (symbol_to_x_atom, x_get_foreign_selection): | |
24450 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
24451 | ||
24452 | 2002-05-19 Ken Raeburn <raeburn@gnu.org> | |
24453 | ||
24454 | * lisp.h (LISP_MAKE_RVALUE): Delete disabled version, making XCAR | |
24455 | and XCDR real rvalues in most configurations. | |
24456 | ||
24457 | * buffer.c (fix_overlays_in_range, fix_overlays_before): | |
24458 | Don't take the address of the cdr part of a cons cell; instead, track | |
24459 | the parent cell and call XSETCDR, or set the variable for the head | |
24460 | of the list if we haven't started down the list yet. | |
24461 | ||
24462 | 2002-05-19 Richard M. Stallman <rms@gnu.org> | |
24463 | ||
24464 | * doc.c (reread_doc_file): Don't ask for confirmation. | |
24465 | ||
24466 | 2002-05-18 Jason Rumney <jasonr@gnu.org> | |
24467 | ||
24468 | * w32fns.c (w32_create_pixmap_from_bitmap_data): New function. | |
24469 | (xbm_load_image): Use it. | |
24470 | (xbm_load): Ditto. | |
24471 | (xbm_read_bitmap_data): Reverted to xfns.c version. | |
24472 | From David Ponce <david@dponce.com>. | |
24473 | ||
24474 | 2002-05-17 Eli Zaretskii <eliz@is.elta.co.il> | |
24475 | ||
24476 | * msdos.c (sig_suspender, sigprocmask): Don't define for DJGPP | |
24477 | 2.02 and later. | |
24478 | ||
24479 | 2002-05-16 Juanma Barranquero <lektu@terra.es> | |
24480 | ||
24481 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector): Fix typo. | |
24482 | ||
24483 | 2002-05-15 Stefan Monnier <monnier@cs.yale.edu> | |
24484 | ||
24485 | * keyboard.c (read_char_x_menu_prompt): Use an equivalent but more | |
24486 | meaningful test. | |
24487 | (read_char_minibuf_menu_prompt): Fix typo. | |
24488 | ||
24489 | 2002-05-15 Eli Zaretskii <eliz@is.elta.co.il> | |
24490 | ||
24491 | * eval.c (Fcommandp): Doc fix. | |
24492 | ||
24493 | 2002-05-13 Stefan Monnier <monnier@cs.yale.edu> | |
24494 | ||
24495 | * keymap.c (keymap_parent): New fun, extracted from Fkeymap_parent. | |
24496 | (Fkeymap_parent, keymap_memberp, fix_submap_inheritance): Use it. | |
24497 | (Fset_keymap_parent): Gcpro a bit more. | |
24498 | (access_keymap): Gcpro around meta_map call and around the main loop. | |
24499 | (get_keyelt): Gcpro when following indirect references. | |
24500 | (copy_keymap_item): New fun, extracted from Fcopy_keymap. | |
24501 | (copy_keymap_1, Fcopy_keymap): Use it. Don't copy the parent map. | |
24502 | (Fdefine_key, Flookup_key): Gcpro before calling get_keymap. | |
24503 | Remove useless ad-hoc remap code. | |
24504 | ||
24505 | 2002-05-13 Richard M. Stallman <rms@gnu.org> | |
24506 | ||
24507 | * search.c (search_buffer): Give up boyer moore search if inverse | |
24508 | translation change charset_base. | |
24509 | ||
24510 | 2002-05-12 Eli Zaretskii <eliz@is.elta.co.il> | |
24511 | ||
24512 | * coding.c (decode_coding) <coding_type_ccl>: If a lone CR | |
24513 | characters is carried over from the previous block of text, adjust | |
24514 | coding->produced to account for the extra character. | |
24515 | ||
24516 | 2002-05-11 Andreas Schwab <schwab@suse.de> | |
24517 | ||
24518 | * coding.c (intersection): Keep the elements of the returned list | |
24519 | in the same order as in the first list. | |
24520 | ||
24521 | 2002-05-11 Kim F. Storm <storm@cua.dk> | |
24522 | ||
3419757d | 24523 | * keymap.c (current_minor_maps): Fix resizing of cmm_maps; |
048addec JD |
24524 | only update cmm_size if realloc actually succeeds. |
24525 | Testing with initial size of 2 elements revealed that using | |
24526 | realloc on GNU/Linux would cause a random trap in xmalloc | |
24527 | later on, so I rewrote the code to use malloc/bcopy/free instead | |
24528 | of realloc. | |
24529 | ||
24530 | 2002-05-10 Jason Rumney <jasonr@gnu.org> | |
24531 | ||
24532 | * w32fns.c (enum_font_cb2): Avoid DBCS raster fonts. | |
24533 | ||
24534 | 2002-05-10 Eli Zaretskii <eliz@is.elta.co.il> | |
24535 | ||
24536 | * coding.c (encode_coding_sjis_big5): Enclose bitwise AND in | |
24537 | parens, to ensure correct evaluation order. | |
24538 | ||
24539 | 2002-05-10 Kim F. Storm <storm@cua.dk> | |
24540 | ||
24541 | * keymap.c (Vemulation_mode_map_alists): New variable. | |
24542 | (syms_of_keymap): DEFVAR_LISP it. | |
24543 | (current_minor_maps): Process keymap alists in that list before | |
24544 | minor-mode-overriding-map-alist and minor-mode-map-alist. | |
24545 | ||
24546 | 2002-05-09 Richard M. Stallman <rms@gnu.org> | |
24547 | ||
24548 | * search.c (Freplace_match): Doc fix. | |
24549 | ||
24550 | 2002-05-09 Kim F. Storm <storm@cua.dk> | |
24551 | ||
24552 | * macterm.c (x_draw_image_foreground, x_draw_image_foreground_1): | |
24553 | Enlarge cursor rectangle drawn around image with non-zero relief. | |
24554 | ||
24555 | * w32term.c (x_draw_image_foreground, w32_draw_image_foreground_1): | |
24556 | Enlarge cursor rectangle drawn around image with non-zero relief. | |
24557 | ||
24558 | * xterm.c (x_draw_image_foreground, x_draw_image_foreground_1): | |
24559 | Enlarge cursor rectangle drawn around image with non-zero relief. | |
24560 | ||
24561 | 2002-05-07 Eli Zaretskii <eliz@is.elta.co.il> | |
24562 | ||
24563 | * xselect.c (lisp_data_to_selection_data): Don't set selection | |
24564 | type if comes from the Lisp object's car. If the selection | |
24565 | contains a pure ASCII text, always return QSTRING as its type. | |
24566 | ||
24567 | 2002-05-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24568 | ||
24569 | * mac.c (mac-cut-function): Doc fix. | |
24570 | ||
24571 | 2002-05-05 Richard M. Stallman <rms@gnu.org> | |
24572 | ||
24573 | * s/gnu.h [DOUG_LEA_MALLOC] (REL_ALLOC): Undefine it. | |
24574 | ||
24575 | 2002-05-04 Jason Rumney <jasonr@gnu.org> | |
24576 | ||
24577 | * keyboard.c (make_lispy_event) <mouse-wheel>: Set count to 1 | |
24578 | for event-click-count. | |
24579 | ||
24580 | * process.c (init_process): Only add server subfeature if we can | |
24581 | use non-blocking I/O. | |
24582 | ||
24583 | 2002-05-04 Andrew Choi <akochoi@shaw.ca> | |
24584 | ||
24585 | * macterm.c (XTread_socket): Call WaitNextEvent once instead of | |
24586 | repeatedly. | |
24587 | ||
24588 | 2002-05-03 Jason Rumney <jasonr@gnu.org> | |
24589 | ||
24590 | * process.c (Fmake_network_process): Only support server sockets | |
24591 | when we can make them non-blocking. | |
24592 | ||
24593 | * s/ms-w32.h (HAVE_SELECT): Define. | |
24594 | ||
24595 | * w32.h (FILE_NDELAY): New flag. | |
24596 | ||
24597 | * w32.c (sys_getpeername, fcntl): New functions. | |
24598 | (_sys_read_ahead): Temporarily block on non-blocking sockets. | |
24599 | ||
2d4713aa | 24600 | * w32proc.c: Include sys/file.h. |
048addec JD |
24601 | |
24602 | 2002-05-03 Colin Walters <walters@verbum.org> | |
24603 | ||
24604 | * callproc.c (Vgame_score_directory): Renamed to | |
24605 | Vshared_game_score_directory. | |
24606 | ||
24607 | 2002-04-30 Richard M. Stallman <rms@gnu.org> | |
24608 | ||
24609 | * s/gnu.h [emacs]: Include stdio.h. | |
24610 | (GNU_LIBRARY_PENDING_OUTPUT_COUNT): New definition, conditional. | |
24611 | ||
24612 | * eval.c (do_autoload): Error if called while preparing to dump. | |
24613 | ||
24614 | * fns.c (Frequire): Error if need to load while preparing to dump. | |
24615 | ||
24616 | 2002-04-28 Colin Walters <walters@verbum.org> | |
24617 | ||
24618 | * callproc.c (Vgame_score_directory) [!HAVE_SHARED_GAME_DIR]: | |
24619 | Default to "~/.emacs.d/games". | |
24620 | ||
24621 | 2002-04-29 Stefan Monnier <monnier@cs.yale.edu> | |
24622 | ||
24623 | * lread.c (openp): Change arg exec_only to predicate. | |
24624 | (build_load_history): Use XCAR/XCDR. | |
24625 | (Flocate_file_internal): New fun. | |
24626 | (syms_of_lread): Defsubr it. | |
24627 | (Fload): Update call to openp. | |
24628 | ||
24629 | * lisp.h (openp): Update prototype. | |
24630 | ||
24631 | * xfns.c (x_create_bitmap_from_file, x_find_image_file): | |
24632 | * w32proc.c (sys_spawnve): | |
24633 | * w32fns.c (x_create_bitmap_from_file, x_find_image_file): | |
24634 | * w32.c (check_windows_init_file): | |
24635 | * sound.c (Fplay_sound_internal): | |
24636 | * process.c (Fstart_process): | |
24637 | * macfns.c (x_create_bitmap_from_file, x_find_image_file): | |
24638 | * mac.c (run_mac_command): | |
24639 | * emacs.c (init_cmdargs): | |
24640 | * callproc.c (Fcall_process): Update call to openp. | |
24641 | ||
24642 | * textprop.c (remove_properties): Don't use XCAR without CONSP. | |
24643 | ||
24644 | * xterm.c (XTread_socket): Disable the Xutf8LookupString code. | |
24645 | ||
24646 | 2002-04-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24647 | ||
24648 | * dispextern.h (DEFAULT_TOOL_BAR_BUTTON_MARGIN) | |
24649 | (DEFAULT_TOOL_BAR_BUTTON_RELIEF): Change default values. | |
24650 | ||
24651 | 2002-04-28 Richard M. Stallman <rms@gnu.org> | |
24652 | ||
24653 | * minibuf.c (Fall_completions, Ftry_completion): New arg to Fcommandp. | |
24654 | ||
24655 | * eval.c (Fcommandp): New arg for_call_interactively. | |
24656 | * lisp.h (Fcommandp): Declare new arg. | |
24657 | ||
24658 | 2002-04-28 Jason Rumney <jasonr@gnu.org> | |
24659 | ||
24660 | * w32proc.c (syms_of_w32proc): Get true file attributes by default. | |
24661 | ||
24662 | * w32.c (stat, fstat): Use file index information to generate | |
24663 | inodes for directories where available. | |
24664 | ||
24665 | 2002-04-26 Andrew Choi <akochoi@shaw.ca> | |
24666 | ||
24667 | * Makefile.in (C_SWITCH_SYSTEM_TEMACS): Add. | |
24668 | [HAVE_CARBON]: Include Mac object files. | |
24669 | ||
24670 | * alloc.c, callproc.c, dispextern.h, dispnew.c, emacs.c, | |
24671 | fontset.c, frame.c, frame.h, keyboard.c, sysdep.c, term.c, | |
24672 | termcap.c, window.c, xdisp.c, xfaces.c: Use macros MAC_OS8, | |
24673 | MAC_OSX, and MAC_OS instead of macintosh. | |
24674 | ||
24675 | * editfns.c [MAC_OS8]: Include stdio.h. | |
24676 | ||
24677 | * emacs.c [MAC_OS8]: Call mac_initialize instead of x_term_init. | |
24678 | ||
24679 | * fontset.c [MAC_OS]: Set Vdefault_fontset to ETL Fixed instead of | |
24680 | Apple Monaco. | |
24681 | ||
78819ebb | 24682 | * process.c (QCfamily, QCfilte): Declare extern. |
048addec JD |
24683 | (wait_reading_process_input) [MAC_OSX]: Clear bit for stdin before |
24684 | calling select. | |
24685 | ||
24686 | * termcap.c [MAC_OSX]: Don't define tgetnum, PC, tputs, and tgetent. | |
24687 | ||
24688 | * tparam.c [MAC_OSX]: Don't define BC and UP. | |
24689 | ||
24690 | * config.in [HAVE_CARBON]: Add. | |
24691 | ||
24692 | * mac.c, macgui.h, macfns.c, macmenu.c, macterm.c, macterm.h: | |
24693 | Move here from mac/src and mac/inc. | |
24694 | ||
24695 | * s/darwin.h, m/powermac.h, unexmacosx.c: New files. | |
24696 | ||
24697 | 2002-04-26 Gerd Moellmann <gerd@gnu.org> | |
24698 | ||
24699 | * xterm.c (x_draw_phys_cursor_glyph): Undo last change. | |
24700 | Compute phys_cursor_width from the x position returned | |
24701 | by x_draw_glyhs, which is cheaper. | |
24702 | (x_display_and_set_cursor): Compute the buffer-local value | |
24703 | of `cursor-in-non-selected-windows' only when needed. | |
24704 | ||
24705 | 2002-04-25 Gerd Moellmann <gerd@gnu.org> | |
24706 | ||
24707 | * xterm.c (x_draw_phys_cursor_glyph): Take into account that a box | |
24708 | cursor on a stretch glyph has a width that depends on | |
24709 | x_stretch_cursor_p. | |
24710 | ||
24711 | 2002-04-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24712 | ||
24713 | * abbrev.c (abbrev-start-location): Doc fix. | |
24714 | ||
24715 | * indent.c (Fvertical_motion): Fix last change. | |
24716 | ||
24717 | 2002-04-25 Gerd Moellmann <gerd@gnu.org> | |
24718 | ||
24719 | * indent.c (Fvertical_motion): Move to the start of the line | |
24720 | containing PT before moving up or down. | |
24721 | ||
24722 | 2002-04-24 Gerd Moellmann <gerd@gnu.org> | |
24723 | ||
24724 | * dispnew.c (update_text_area): Set phys_cursor_on_p to 0 in the | |
24725 | case of writing a whole row, more or less analogous to the case of | |
24726 | writing only parts of a row. | |
24727 | ||
24728 | * xterm.c (x_display_and_set_cursor): Set phys_cursor_width to | |
24729 | 0 for NO_CURSOR. | |
24730 | ||
24731 | * xterm.c (notice_overwritten_cursor): Fix an off by 1 error. | |
24732 | ||
24733 | 2002-04-23 Colin Walters <walters@verbum.org> | |
24734 | ||
24735 | * buffer.c (syms_of_buffer): Doc fix. | |
24736 | ||
24737 | 2002-04-23 Gerd Moellmann <gerd@gnu.org> | |
24738 | ||
24739 | * xterm.c (notice_overwritten_cursor): Handle the special case | |
24740 | of the cursor being in the first blank non-text line at the | |
24741 | end of a window. | |
24742 | ||
24743 | * xterm.c (x_draw_hollow_cursor, x_draw_bar_cursor) | |
24744 | (x_draw_phys_cursor_glyph): Set phys_cursor_width here. | |
24745 | (x_display_and_set_cursor): Don't set phys_cursor_width here, for | |
24746 | bar cursors only, to make phys_cursor_width contain what its name | |
24747 | suggests. | |
24748 | (notice_overwritten_cursor): Consider the cursor image erased if | |
24749 | the output area intersects the cursor image in y-direction. | |
24750 | ||
24751 | 2002-04-23 Simon Marshall <simon@gnu.org> | |
24752 | ||
24753 | * xfns.c (x_set_mouse_color): Change default for cross_cursor | |
24754 | to XC_hand2. | |
24755 | ||
24756 | 2002-04-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24757 | ||
24758 | * xdisp.c: Remove unused global variable `minibuf_prompt_pixel_width'. | |
24759 | ||
24760 | 2002-04-22 Kim F. Storm <storm@cua.dk> | |
24761 | ||
24762 | * textprop.c (remove_properties): Fixed trap for malformed plist. | |
24763 | ||
24764 | 2002-04-22 Richard M. Stallman <rms@gnu.org> | |
24765 | ||
24766 | * cmds.c (Fend_of_line): Handle intangible text in mid line. | |
24767 | ||
24768 | * window.c (make_window): Initialize height_fixed_p, | |
24769 | last_cursor_off_p, and p->cursor_off_p slots. | |
24770 | ||
24771 | 2002-04-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24772 | ||
24773 | * fns.c (use-dialog-box): Doc fix. | |
24774 | ||
24775 | 2002-04-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24776 | ||
24777 | * xterm.c (note_mode_line_or_margin_highlight): Remove unused | |
24778 | variables `row', `i' and `area'. | |
24779 | (XTread_socket) <KeyPress>: Pass KeyPress events when in menu to | |
24780 | toolkit library. | |
24781 | ||
24782 | 2002-04-19 Stefan Monnier <monnier@cs.yale.edu> | |
24783 | ||
24784 | * xfaces.c (clear_font_table): Don't free the default font of | |
24785 | a frame even if it's on another display. | |
24786 | (Finternal_set_lisp_face_attribute): Don't use XFRAME on something | |
24787 | that could be Qt. | |
24788 | ||
24789 | 2002-04-19 Juanma Barranquero <lektu@terra.es> | |
24790 | ||
24791 | * indent.c (Fmove_to_column): Remove unused local variable | |
24792 | `next_boundary_byte'. | |
24793 | (current_column_1): Likewise. | |
24794 | ||
24795 | 2002-04-19 Eli Zaretskii <eliz@is.elta.co.il> | |
24796 | ||
24797 | * msdos.c (Qhbar): New variable. | |
24798 | (syms_of_msdos): Intern and staticpro it. | |
24799 | (IT_set_cursor_type, IT_set_frame_parameters): Handle the `hbar' | |
24800 | cursor type. | |
24801 | ||
24802 | 2002-04-19 Dave Lambert <dlambert@acm.org> | |
24803 | ||
24804 | Theses change implement an underscore-like (`hbar') cursor. | |
24805 | ||
24806 | * xterm.h (text_cursor_kinds): New enumeration member HBAR_CURSOR. | |
24807 | ||
24808 | * xterm.c (x_draw_bar_cursor): New argument KIND; callers changed. | |
24809 | Handle the `hbar' cursor type. | |
24810 | (x_display_and_set_cursor): Handle the HBAR_CURSOR case. | |
24811 | ||
24812 | * xfns.c (Qhbar): New variable. | |
24813 | (syms_of_xfns): Intern and staticpro it. | |
24814 | (x_specified_cursor_type): Handle `hbar' cursor. | |
24815 | ||
24816 | * s/sol2-5.h (bcopy, bzero, bcmp): Define only if HAVE_BCOPY is | |
24817 | not defined. | |
24818 | ||
24819 | 2002-04-18 Richard M. Stallman <rms@gnu.org> | |
24820 | ||
24821 | * textprop.c (remove_properties): New arg LIST allows scanning | |
24822 | either a list or a plist. | |
24823 | (interval_has_some_properties_list): New function, like | |
24824 | interval_has_some_properties using list instead of plist. | |
24825 | All callers changed. | |
24826 | (Fremove_list_of_text_properties): New function. | |
24827 | (syms_of_textprop): Defsubr it. | |
24828 | ||
24829 | 2002-04-17 Eli Zaretskii <eliz@is.elta.co.il> | |
24830 | ||
24831 | * s/sol2.h (HAVE_LIBKSTAT): Define only if not already defined. | |
24832 | ||
24833 | 2002-04-17 Juanma Barranquero <lektu@terra.es> | |
24834 | ||
24835 | * indent.c (Fmove_to_column): Remove unused local variable `end_byte'. | |
24836 | ||
24837 | 2002-04-17 Eli Zaretskii <eliz@is.elta.co.il> | |
24838 | ||
24839 | * window.c (coordinates_in_window): Don't report on margin area | |
24840 | if its width is zero. | |
24841 | ||
24842 | 2002-04-16 Jason Rumney <jasonr@gnu.org> | |
24843 | ||
24844 | * w32fns.c (Fx_file_dialog): Decode file name before using. | |
24845 | ||
24846 | * w32term.c (construct_drag_n_drop): Likewise. | |
24847 | ||
24848 | 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il> | |
24849 | ||
24850 | * puresize.h (BASE_PURESIZE): Increase to 830000, since we now | |
24851 | store load-history in pure space. | |
24852 | ||
24853 | * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Reduce to 50000. | |
24854 | ||
24855 | 2002-04-16 Stefan Monnier <monnier@cs.yale.edu> | |
24856 | ||
24857 | * xterm.c (Qlatin_1, Qutf_8): New vars. | |
24858 | (syms_of_xterm): Initialize them. | |
24859 | (XTread_socket): Eliminate incorrect optimization that tried to avoid | |
24860 | decoding the output of X*LookupString. | |
24861 | Always use latin-1 to decode the output of XLookupString. | |
24862 | Try Xutf8LookupString if XmbLookupString failed. | |
24863 | ||
24864 | * region-cache.c (new_region_cache): Use BEG. | |
24865 | ||
24866 | 2002-04-16 Gerd Moellmann <gerd@gnu.org> | |
24867 | ||
24868 | * buffer.c (MMAP_ALLOCATED_P): New macro to be set from system | |
24869 | configuration files. | |
24870 | (mmap_enlarge): Enlarge mapped regions only if MMAP_ALLOCATED_P | |
24871 | returns 0. | |
24872 | ||
24873 | 2002-04-15 Andreas Schwab <schwab@suse.de> | |
24874 | ||
24875 | * config.in: Regenerated using autoheader. | |
24876 | ||
24877 | * m/7300.h, m/acorn.h, m/alliant-2800.h, m/alliant.h, m/alpha.h, | |
24878 | m/altos.h, m/amdahl.h, m/apollo.h, m/arm.h, m/att3b.h, m/aviion.h, | |
24879 | m/celerity.h, m/clipper.h, m/cnvrgnt.h, m/convex.h, m/cydra5.h, | |
24880 | m/delta.h, m/delta88k.h, m/dpx2.h, m/elxsi.h, m/gec63.h, | |
24881 | m/gould.h, m/hp800.h, m/hp9000s300.h, m/i860.h, m/ia64.h, | |
24882 | m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/ibmrt.h, | |
24883 | m/ibms390.h, m/intel386.h, m/iris4d.h, m/irist.h, m/isi-ov.h, | |
24884 | m/m68k.h, m/macppc.h, m/masscomp.h, m/mg1.h, m/mips-siemens.h, | |
24885 | m/mips.h, m/news-r6.h, m/news.h, m/next.h, m/nh3000.h, m/nh4000.h | |
24886 | m/ns32000.h, m/orion.h, m/pfa50.h, m/plexus.h, m/pmax.h, | |
24887 | m/powerpcle.h, m/pyrmips.h, m/sequent-ptx.h, m/sequent.h, | |
24888 | m/sparc.h, m/sr2k.h, m/symmetry.h, m/tad68k.h, m/tahoe.h, | |
24889 | m/targon31.h, m/tek4300.h, m/tekxd88.h, m/template.h, m/tower32.h, | |
24890 | m/tower32v3.h, m/ustation.h, m/vax.h, m/wicat.h, m/windowsnt.h, | |
24891 | m/xps100.h, s/aix3-2.h, s/aix4-2.h, s/irix4-0.h, s/irix5-0.h, | |
24892 | s/sco5.h, s/unixware.h: Don't set HAVE_ALLOCA, C_ALLOCA and | |
24893 | STACK_DIRECTION, now set by autoconf. | |
24894 | ||
24895 | 2002-04-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24896 | ||
24897 | * dispnew.c (marginal_area_string): Sort arguments. | |
24898 | ||
24899 | * dispextern.h (marginal_area_string): Add prototype. | |
24900 | ||
24901 | 2002-04-13 Richard M. Stallman <rms@gnu.org> | |
24902 | ||
24903 | * fileio.c (Finsert_file_contents): | |
24904 | Don't call temp_output_buffer_setup--do just part, by hand. | |
24905 | ||
24906 | * coding.c (run_pre_post_conversion_on_str): | |
24907 | Don't call temp_output_buffer_setup--do just part, by hand. | |
24908 | ||
24909 | * keyboard.c (command_loop_1): Don't call start_hourglass | |
24910 | or cancel_hourglass when executing a macro. | |
24911 | ||
24912 | * marker.c (count_markers): New function. | |
24913 | ||
24914 | * xdisp.c (display_mode_element): Don't let mode_line_proptrans_alist | |
24915 | grow without limit. Move recently used elements to the front. | |
24916 | ||
24917 | 2002-04-13 Eli Zaretskii <eliz@is.elta.co.il> | |
24918 | ||
24919 | * unexelf.c (unexec) [__sgi]: Undo the change from 2002-01-20. | |
24920 | ||
24921 | 2002-04-12 Gerd Moellmann <gerd@gnu.org> | |
24922 | ||
24923 | * xdisp.c (sync_frame_with_window_matrix_rows): Don't give frame | |
24924 | rows marginal areas. | |
24925 | (Fdump_frame_glyph_matrix) [GLYPH_DEBUG]: New function. | |
24926 | (syms_of_xdisp) [GLYPH_DEBUG]: Defsubr it. | |
24927 | ||
24928 | * dispnew.c (marginal_area_string): Check that glyph row is enabled. | |
24929 | ||
24930 | 2002-04-12 Dave Love <fx@gnu.org> | |
24931 | ||
24932 | * dispnew.c (marginal_area_string): New. | |
24933 | ||
24934 | * window.c (window_part): Add ON_LEFT_MARGIN, ON_RIGHT_MARGIN. | |
24935 | (Qleft_margin, Qright_margin): Declare. | |
24936 | (coordinates_in_window, (Fcoordinates_in_window_p): Deal with margins. | |
24937 | ||
24938 | * xterm.c (note_mode_line_or_margin_highlight): Renamed from | |
24939 | note_mode_line_highlight and extended. | |
24940 | ||
24941 | * keyboard.c (Qleft_margin, Qright_margin): Declare. | |
24942 | (make_lispy_event): Deal with mouse events in margins. | |
24943 | ||
24944 | 2002-04-12 Stefan Monnier <monnier@cs.yale.edu> | |
24945 | ||
24946 | * msdos.c (dos_rawgetc): Use a single event for HELP_EVENT. | |
24947 | ||
24948 | * keyboard.c (command_loop_1): Turn off transient-mark-mode rather | |
24949 | than deactivating the mark if tmm is set to `lambda'. | |
24950 | (gen_help_event, kbd_buffer_store_help_event, kbd_buffer_get_event): | |
24951 | Use a single event for HELP_EVENT. | |
24952 | (Fexecute_extended_command): Save last_point_position. | |
24953 | ||
24954 | 2002-04-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24955 | ||
24956 | * lisp.h (Fpropertize): Add prototype. | |
24957 | ||
24958 | * fns.c (Fy_or_n_p): Use `minibuffer-prompt' face for prompt. | |
24959 | ||
24960 | 2002-04-10 Colin Walters <walters@verbum.org> | |
24961 | ||
24962 | * config.in: Add HAVE_SHARED_GAME_DIR. | |
24963 | ||
52eb0373 | 24964 | * callproc.c (Vgame_score_directory): New variable. |
048addec JD |
24965 | (syms_of_callproc) <Vgame_score_directory>: DEFVAR_LISP. |
24966 | ||
24967 | 2002-04-10 Richard M. Stallman <rms@gnu.org> | |
24968 | ||
24969 | * puresize.h (BASE_PURESIZE): Reduce again to avoid big excess. | |
24970 | ||
24971 | 2002-04-09 Stefan Monnier <monnier@cs.yale.edu> | |
24972 | ||
24973 | * minibuf.c (read_minibuf): Use empty_string. | |
24974 | (Ftry_completion): Allow lambda forms and lists of strings for `alist'. | |
24975 | Short-circuit the search as soon as it "failed". | |
24976 | (Fall_completions): Allow lambda forms and lists of strings for alist. | |
24977 | (Fcompleting_read): Set Qminibuffer_completion_confirm to nil | |
24978 | when require_match is nil. | |
24979 | (Ftest_completion): Rename from `test_completion' and export to elisp. | |
24980 | Call the predicate also when alist is a list. | |
24981 | Obey Vcompletion_regexp_list. | |
24982 | (do_completion, Fminibuffer_complete_and_exit): Use it. | |
24983 | (Fassoc_string): Rename from `assoc_for_completion'. | |
24984 | Allow list of strings as well and export to elisp. | |
24985 | ||
24986 | 2002-04-08 Stefan Monnier <monnier@cs.yale.edu> | |
24987 | ||
24988 | * puresize.h (BASE_PURESIZE): Increase to 900KB. | |
24989 | ||
24990 | 2002-04-08 Juanma Barranquero <lektu@terra.es> | |
24991 | ||
24992 | * w32.c (sys_accept): Don't hide variable `s'. | |
24993 | ||
24994 | 2002-04-05 Gerd Moellmann <gerd@gnu.org> | |
24995 | ||
24996 | * callint.c (Fcall_interactively): Use INTEGERP instead of | |
24997 | NUMBERP for checking Vhistory_length. | |
24998 | ||
24999 | 2002-04-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25000 | ||
25001 | * sound.c (Fplay_sound_internal): Renamed from Fplay_sound. | |
25002 | Doc fix to reflect it. | |
25003 | ||
25004 | 2002-04-04 Richard M. Stallman <rms@gnu.org> | |
25005 | ||
25006 | * xdisp.c (display_mode_element): New arg RISKY. | |
25007 | Disregard text props found or specified within a variable | |
25008 | that isn't marked risky-local-variable. | |
25009 | (Qrisky_local_variable): New variable. | |
25010 | (syms_of_xdisp): Init and staticpro it. | |
25011 | ||
25012 | 2002-04-04 Stefan Monnier <monnier@cs.yale.edu> | |
25013 | ||
25014 | * undo.c (record_point): New fun. | |
25015 | (record_delete, record_insert): Use it. | |
25016 | ||
25017 | 2002-04-03 Juanma Barranquero <lektu@terra.es> | |
25018 | ||
25019 | * doc.c (Fdocumentation): Add missing parentheses. | |
25020 | (Fdocumentation_property): Likewise. | |
25021 | ||
25022 | 2002-04-03 Stefan Monnier <monnier@cs.yale.edu> | |
25023 | ||
25024 | * doc.c (Fdocumentation, Fdocumentation_property): When the doc | |
25025 | data is 0, just return nil. | |
25026 | ||
25027 | 2002-04-03 Eli Zaretskii <eliz@is.elta.co.il> | |
25028 | ||
25029 | * msdos.c (syms_of_msdos): Fix last change with | |
25030 | mouse_autoselect_window. | |
25031 | ||
25032 | 2002-04-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25033 | ||
25034 | * w32term.c, xterm.c, msdos.c: Rename autoselect_window_p to | |
25035 | mouse_autoselect_window. | |
25036 | ||
25037 | 2002-04-02 Stefan Monnier <monnier@cs.yale.edu> | |
25038 | ||
25039 | * keyboard.c (make_lispy_event): Handle unknown keysyms together | |
25040 | with system-specific keysyms. Use it also for unknown function keys. | |
25041 | ||
25042 | * doc.c (reread_doc_file): Return whether reload was attempted. | |
25043 | (Fdocumentation, Fdocumentation_property): Don't try to reload | |
25044 | if the doc is 0 and only ask once. | |
25045 | ||
25046 | * Makefile.in (lisp, shortlisp): Add ucs-tables.elc. | |
25047 | ||
25048 | 2002-04-02 Eli Zaretskii <eliz@is.elta.co.il> | |
25049 | ||
25050 | * keyboard.c (read_char): If the event was Qselect_window, | |
25051 | restore timer_idleness_start_time to its previous value. | |
25052 | ||
25053 | * msdos.c (dos_rawgetc): Generate SELECT_WINDOW_EVENTs when required. | |
25054 | ||
25055 | 2002-04-01 Stefan Monnier <monnier@cs.yale.edu> | |
25056 | ||
25057 | * region-cache.c (new_region_cache): Use BEG. | |
25058 | ||
25059 | * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos): | |
25060 | Use BEG and BEG_BYTE. | |
25061 | ||
25062 | * doc.c (get_doc_string): Return nil if the location is wrong. | |
25063 | (reread_doc_file): New fun. | |
25064 | (Fdocumentation, Fdocumentation_property): | |
25065 | Call it if get_doc_string fails. | |
25066 | (Fsnarf_documentation): Make it work for a dumped Emacs. | |
25067 | ||
25068 | * charset.h (DEC_POS, BUF_DEC_POS): Use BEG_BYTE. | |
25069 | Bound the search with MAX_MULTIBYTE_LENGTH to avoid pathological case. | |
25070 | ||
25071 | * charset.c (Fstring): Allow 0 arguments. | |
25072 | ||
25073 | * xterm.c (XTread_socket): Fix int/Lisp_Object confusion. | |
25074 | ||
25075 | * process.c (DATAGRAM_CONN_P, list_processes_1) | |
25076 | (Fprocess_datagram_address, Fset_process_datagram_address) | |
25077 | (Fset_network_process_options, server_accept_connection): | |
25078 | Fix some int/Lisp_Object confusions (thank you union types). | |
25079 | ||
25080 | 2002-04-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25081 | ||
25082 | * msdos.c: Rename x_autoselect_window_p to autoselect_window_p. | |
25083 | ||
25084 | * w32term.c: Likewise. | |
25085 | (note_mouse_movement): Put code for x_autoselect_window_p in #if 0. | |
25086 | ||
25087 | * keyboard.c (Qselect_window): New symbol. | |
25088 | (head_table): Use it. | |
25089 | (keys_of_keyboard): Bound select-window event to handle-select-window. | |
25090 | (kbd_buffer_get_event): Make a Lisp event from SELECT_WINDOW_EVENT. | |
25091 | ||
25092 | * xterm.c: Rename x_autoselect_window_p to autoselect_window_p. | |
25093 | (last_window): New variable. | |
25094 | (XTread_socket): Generate SELECT_WINDOW_EVENTs. | |
25095 | (note_mouse_movement): Remove reimplemented code in #if 0. | |
25096 | (XTread_socket): Generate SELECT_WINDOW_EVENTs only for | |
25097 | Emacs windows. | |
25098 | ||
25099 | * termhooks.h (enum event_kind): New event type `SELECT_WINDOW_EVENT'. | |
25100 | ||
25101 | 2002-03-31 Gerd Moellmann <gerd@gnu.org> | |
25102 | ||
25103 | * xterm.c (x_get_char_face_and_encoding): Add parameter DISPLAY_P. | |
25104 | Callers changed. | |
25105 | ||
25106 | 2002-03-30 Richard M. Stallman <rms@gnu.org> | |
25107 | ||
25108 | * window.c (window_scroll_pixel_based): Exit the move_it_by_lines | |
25109 | loop whenever it stops making progress. | |
25110 | ||
25111 | * widget.c (set_frame_size): Don't call change_frame_size. | |
25112 | ||
25113 | 2002-03-30 Gerd Moellmann <gerd@gnu.org> | |
25114 | ||
25115 | * dispnew.c (direct_output_for_insert): | |
25116 | Call mark_window_display_accurate. | |
25117 | ||
25118 | 2002-03-29 Jason Rumney <jasonr@gnu.org> | |
25119 | ||
25120 | * w32term.c (w32_draw_relief_rect): Fix calculations of line lengths. | |
25121 | ||
25122 | 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il> | |
25123 | ||
25124 | * Makefile.in (lread.o): Depend on coding.h. | |
25125 | ||
25126 | * lread.c (openp, Fload): Encode the file name before passing it | |
25127 | to `stat', `access', and `emacs_open'. | |
25128 | (openp): GCPRO the encoded file name. Don't recompute Lisp | |
25129 | strings unnecessarily. | |
25130 | ||
25131 | 2002-03-29 Kim F. Storm <storm@cua.dk> | |
25132 | ||
25133 | * fns.c (Flax_plist_put): Doc fix. | |
25134 | ||
25135 | 2002-03-28 Miles Bader <miles@gnu.org> | |
25136 | ||
25137 | * process.c (DATAGRAM_CONN_P): Make sure PROC is really a process. | |
25138 | ||
25139 | 2002-03-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25140 | ||
25141 | * process.c (set-network-process-options): Add usage. | |
25142 | (make-network-process): Doc fix. | |
25143 | ||
25144 | 2002-03-26 Eli Zaretskii <eliz@is.elta.co.il> | |
25145 | ||
25146 | * emacs.c (Fdump_emacs): Fix a typo in "command-line-processed". | |
25147 | ||
25148 | 2002-03-26 Richard M. Stallman <rms@gnu.org> | |
25149 | ||
25150 | * fns.c (Fsubstring_no_properties): New function. | |
25151 | (Flax_plist_get, Flax_plist_put): New functions. | |
25152 | (syms_of_fns): defsubr them. | |
25153 | ||
25154 | * xdisp.c (update_menu_bar): Test only update_mode_lines; | |
25155 | don't test or alter w->update_mode_line. | |
25156 | ||
25157 | * window.c (Fdisplay_buffer): Doc fix. | |
25158 | ||
25159 | 2002-03-24 Richard M. Stallman <rms@gnu.org> | |
25160 | ||
25161 | * regex.c (GET_UNSIGNED_NUMBER): Give proper error for spaces. | |
25162 | ||
25163 | 2002-03-24 Gerd Moellmann <gerd@gnu.org> | |
25164 | ||
25165 | * eval.c (Qdeclare, Vmacro_declaration_function): New variables. | |
25166 | (Fdefmacro): Handle `(declare ...)'. | |
25167 | (syms_of_eval) <Qdeclare>: Initialize and staticpro. | |
25168 | (syms_of_eval) <Vmacro_declaration_function>: DEFVAR_LISP. | |
25169 | ||
25170 | 2002-03-24 Jason Rumney <jasonr@gnu.org> | |
25171 | ||
25172 | * w32fns.c (xbm_scan, xbm_load_image, xbm_read_bitmap_data) | |
25173 | (xbm_file_p): Add prototypes. | |
25174 | (xbm_format, xbm_image_p): Sync with xfns.c. | |
25175 | (reflect_byte): New function. | |
25176 | (xbm_read_bitmap_data): Sync with xfns.c, adapt for Windows. | |
25177 | (xbm_load_image): Create bitmaps with a depth of 1. | |
25178 | (init_xfns): Enable XBM images. | |
25179 | ||
25180 | 2002-03-23 Jason Rumney <jasonr@gnu.org> | |
25181 | ||
25182 | * w32term.c (w32_handle_tool_bar_click): Detect up and down events | |
25183 | correctly. Do not pass up_modifier to keyboard buffer. | |
25184 | ||
25185 | * w32fns.c [HAVE_IMAGES, HAVE_PBM]: Remove conditionals. | |
25186 | ||
25187 | 2002-03-22 Stefan Monnier <monnier@cs.yale.edu> | |
25188 | ||
25189 | * Makefile.in (bootstrapclean): New target. | |
25190 | (bootstrap-temacs, bootstrap-doc): Remove. | |
25191 | (bootstrap-emacs): Use a bog-standard `temacs'. | |
25192 | Don't bother to build a DOC file. | |
25193 | ||
25194 | * sysdep.c (wait_for_termination): Use sigsuspend rather than sigpause. | |
25195 | ||
25196 | * emacs.c (main): Handle --unibyte, --multibyte, and --no-loadup | |
25197 | in temacs even if !CANNOT_DUMP. | |
25198 | (standard_args): Keep --no-loadup even if !CANNOT_DUMP. | |
25199 | ||
25200 | * alloc.c (check_pure_size): Only output a warning. | |
25201 | ||
25202 | 2002-03-22 Jason Rumney <jasonr@gnu.org> | |
25203 | ||
25204 | * w32fns.c (Fx_create_frame): Enable tool-bar when images are | |
25205 | supported. | |
25206 | ||
25207 | * w32term.c (zv_bits): Declare as short, for word alignment. | |
25208 | (w32_read_socket) <WM_XBUTTONUP>: Fix last change. | |
25209 | (syms_of_w32term): Define x-use-underline-position-properties. | |
25210 | ||
25211 | * w32fns.c (x_set_cursor_color): Set cursor_gc as well. | |
25212 | (clear_image_cache): Block input, fix logic, clear matrices in | |
25213 | all frames that share this cache. | |
25214 | ||
25215 | 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il> | |
25216 | ||
25217 | * emacs.c (main): Update the Copyright year in the blurb printed | |
25218 | by "emacs --version". | |
25219 | ||
25220 | * xdisp.c (message_with_string): Fix syntax of a call to GCPRO2. | |
25221 | ||
25222 | * xterm.c (XTread_socket): If XK_ISO_Lock and | |
25223 | XK_ISO_Last_Group_Lock are defined, handle keysyms between | |
25224 | XK_ISO_Lock and XK_ISO_Last_Group_Lock similarly to Mode_switch. | |
25225 | ||
25226 | 2002-03-21 Kim F. Storm <storm@cua.dk> | |
25227 | ||
25228 | * keyboard.c (menu_bar_items): Mostly undo 2002-02-20 patch, so | |
25229 | menu-bar bindings in keymap and local-map properties _are_ used. | |
25230 | But try keymap property first in accordance with 2002-01-03 patch. | |
25231 | Added comment describing why this is not always reliable. | |
25232 | (tool_bar_items): Ditto for tool-bar. | |
25233 | ||
25234 | 2002-03-21 Jason Rumney <jasonr@gnu.org> | |
25235 | ||
25236 | * w32fns.c (x_clear_image_1): Disable color table code. | |
25237 | ||
25238 | 2002-03-21 Kim F. Storm <storm@cua.dk> | |
25239 | ||
25240 | * lisp.h (DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch | |
25241 | removed the wrong version of the DEFUN macro; fixed it. | |
25242 | ||
25243 | * fns.c (Ffeaturep): Allow subfeature to be a list (test using | |
25244 | Fmember rather than Fmemq). | |
25245 | (Fprovide): Check that subfeatures is a list. | |
25246 | ||
25247 | * process.c (QCfeature, QCdatagram): Removed variables. | |
25248 | (QCtype, Qdatagram): New variables. | |
25249 | (network_process_featurep): Removed function. | |
25250 | (Fmake_network_process): Removed :feature check. | |
25251 | Use :type 'datagram instead of :datagram t to create a datagram | |
25252 | socket. This allows us to add other connection types (e.g. raw | |
25253 | sockets) later in a consistent manner. | |
25254 | (init_process) [subprocess, HAVE_SOCKETS]: Provide list of | |
25255 | supported subfeatures for feature make-network-process. | |
25256 | (syms_of_process) [subprocess]: Remove QCfeature and QCdatagram. | |
25257 | Intern and staticpro QCtype and Qdatagram. | |
25258 | (syms_of_process) [!subprocess]: Intern and staticpro QCtype. | |
25259 | ||
9dd28cae | 25260 | * xfns.c (QCtype): Remove duplicate declaration and |
048addec JD |
25261 | initialization (is now declared in process.c). |
25262 | ||
9dd28cae | 25263 | * w32fns.c (QCtype): Remove duplicate declaration and |
048addec JD |
25264 | initialization (is now declared in process.c). |
25265 | ||
25266 | 2002-03-21 Richard M. Stallman <rms@gnu.org> | |
25267 | ||
25268 | * regex.c (DISCARD_FAILURE_REG_OR_COUNT): New macro. | |
25269 | (CHECK_INFINITE_LOOP): Use DISCARD_FAILURE_REG_OR_COUNT | |
25270 | when jumping to `fail' to avoid undoing reg changes in the | |
25271 | last iteration of the loop. | |
25272 | (GET_UNSIGNED_NUMBER): Skip spaces around the number. | |
25273 | ||
25274 | * Makefile.in (dispnew.o, sysdep.o, xdisp.o, xselect.o, alloc.o): | |
25275 | Depend on process.h. | |
25276 | ||
25277 | 2002-03-20 Jason Rumney <jasonr@gnu.org> | |
25278 | ||
25279 | Most of the following changes are still conditional on HAVE_IMAGES | |
25280 | which is not set by default on Windows. | |
25281 | ||
25282 | * emacs.c (main) [WINDOWSNT]: Call init_xfns. | |
25283 | ||
25284 | * w32fns.c (x_set_cursor_color): Set foreground of cursor, not frame. | |
25285 | (Fimage_size, Fimage_mask_p, XPutPixel): New functions. | |
25286 | (four_corners_best, x_clear_image_1, x_clear_image) | |
25287 | (x_alloc_image_color, postprocess_image) | |
25288 | (x_create_x_image_and_pixmap, x_destroy_x_image, xbm_load_image) | |
25289 | (x_from_x_colors, x_disable_image, pbm_load): Adapt for Windows. | |
25290 | (init_xfns, syms_of_w32fns): Initialize image functions and constants. | |
25291 | ||
25292 | * w32gui.h (struct XImage): Define. | |
25293 | ||
25294 | * w32term.c (w32_read_socket) <WM_XBUTTONUP>: Use XFASTINT to | |
25295 | extract mouse co-ordinates. | |
25296 | ||
25297 | 2002-03-20 Jason Rumney <jasonr@gnu.org> | |
25298 | ||
25299 | * w32.c (init_winsock): Dynamically load new server and UDP | |
25300 | socket functions. | |
25301 | (socket_to_fd): New function. | |
25302 | (sys_socket): Use it. | |
25303 | (sys_setsockopt, sys_listen, sys_getsockname, sys_accept) | |
25304 | (sys_recvfrom, sys_sendto): New wrapper functions. | |
25305 | ||
25306 | * process.c (QCfamily, QCfilter): Remove duplicate declaration | |
25307 | and initialization. | |
25308 | ||
25309 | * makefile.w32-in (LIBS): Remove $(WSOCK32). | |
25310 | ||
25311 | 2002-03-20 Eli Zaretskii <eliz@is.elta.co.il> | |
25312 | ||
25313 | * process.c (conv_sockaddr_to_lisp, conv_lisp_to_sockaddr): | |
25314 | Don't use "sun" as a variable, it's a predefined constant on Sun | |
25315 | machines. | |
25316 | ||
25317 | 2002-03-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25318 | ||
25319 | * bytecode.c (Fbyte_code): Revert last change. | |
25320 | ||
25321 | 2002-03-19 Kim F. Storm <storm@cua.dk> | |
25322 | ||
25323 | * makefile.w32-in (LIBS): Add $(WSOCK32). | |
25324 | From David Ponce <dponce@voila.fr>. | |
25325 | ||
25326 | 2002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25327 | ||
25328 | * process.c (wait_reading_process_input): Move variables `pname' | |
25329 | and `pnamelen' down where they are used. | |
25330 | ||
25331 | * bytecode.c (Fbyte_code): Discard unused computed value to | |
25332 | prevent gcc warning. | |
25333 | ||
25334 | * lisp.h (Fplist_member): Add prototype. | |
25335 | ||
25336 | 2002-03-18 Kim F. Storm <storm@cua.dk> | |
25337 | ||
25338 | * config.in: Add HAVE_SENDTO, HAVE_RECVFROM, HAVE_SETSOCKOPT, | |
25339 | HAVE_GETSOCKOPT, HAVE_GETPEERNAME, HAVE_GETSOCKNAME, and HAVE_SYS_UN_H. | |
25340 | ||
25341 | * process.c: Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H. | |
25342 | Remove explicit GNU_LINUX settings for datagram support. | |
25343 | ||
25344 | 2002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25345 | ||
25346 | * process.c (Fmake_network_process): Remove unused variable `sa'. | |
25347 | Doc fix. Add usage:. | |
25348 | (set_socket_options): Remove unused variables `optnum' and `opttype'. | |
25349 | ||
25350 | 2002-03-17 Richard M. Stallman <rms@gnu.org> | |
25351 | ||
25352 | * xdisp.c (cursor_type_changed): New variable. | |
25353 | (redisplay_internal): Redisplay all windows if cursor_type_changed. | |
25354 | Clear it when clearing windows_or_buffers_changed. | |
25355 | (try_cursor_movement, redisplay_window, try_window_id) | |
25356 | (try_window_reusing_current_matrix): Test cursor_type_changed | |
25357 | along with windows_or_buffers_changed. | |
25358 | ||
25359 | * window.h (cursor_type_changed): New variable. | |
25360 | ||
25361 | * xfns.c (x_set_cursor_type): Set cursor_type_changed, | |
25362 | not update_mode_lines, and always set it to 1. | |
25363 | ||
25364 | * xdisp.c (clear_garbaged_frames): Don't set windows_or_buffers_changed | |
25365 | if no frames needed redrawing. | |
25366 | ||
25367 | 2002-03-17 Kim F. Storm <storm@cua.dk> | |
25368 | ||
25369 | The following changes add support for network server processes, | |
25370 | datagram connections, and local (unix) sockets. | |
25371 | ||
25372 | * process.h (struct Lisp_Process): New member log. | |
25373 | Doc fix: Member command used to indicate stopped network process. | |
25374 | Doc fix: Member childp contains plist for network process. | |
25375 | Doc fix: Member kill_without_query is inverse of query-on-exit flag. | |
25376 | ||
25377 | * process.c (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily) | |
9dd28cae | 25378 | (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery, QCstop) |
647b07d1 AS |
25379 | (QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature): New |
25380 | variables. | |
048addec JD |
25381 | (NETCONN1_P): New macro. |
25382 | (DATAGRAM_SOCKETS): New conditional symbol. | |
25383 | (datagram_address): New array. | |
25384 | (DATAGRAM_CONN_P, DATAGRAM_CHAN_P): New macros. | |
25385 | (status_message): Use concat3. | |
647b07d1 AS |
25386 | (Fprocess_status): Add `listen' status to doc string. Return |
25387 | `stop' for a stopped network process. | |
048addec JD |
25388 | (Fset_process_buffer): Update contact plist for network process. |
25389 | (Fset_process_filter): Ditto. Don't enable input for stopped | |
25390 | network processes. Server must listen, even if filter is t. | |
25391 | (Fset_process_query_on_exit_flag, Fprocess_query_on_exit_flag): | |
25392 | New functions. | |
25393 | (Fprocess_kill_without_query): Removed. Now defined in simple.el. | |
25394 | (Fprocess_contact): Added KEY argument. Handle datagrams. | |
25395 | (list_processes_1): Optionally show only processes with the query | |
25396 | on exit flag set. Dynamically adjust column widths. Omit tty | |
647b07d1 AS |
25397 | column if not needed. Report stopped network processes. Identify |
25398 | server and datagram network processes. | |
048addec JD |
25399 | (Flist_processes): New optional arg `query-only'. |
25400 | (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size) | |
25401 | (conv_lisp_to_sockaddr, set_socket_options) | |
647b07d1 AS |
25402 | (network_process_featurep, unwind_request_sigio): New helper |
25403 | functions. | |
048addec JD |
25404 | (Fprocess_datagram_address, Fset_process_datagram_address): |
25405 | (Fset_network_process_options): New lisp functions. | |
25406 | (Fopen_network_stream): Removed. Now defined in simple.el. | |
647b07d1 AS |
25407 | (Fmake_network_process): New lisp function. Code is based on |
25408 | previous Fopen_network_stream, but heavily reworked with new | |
25409 | property list based argument list, support for datagrams, server | |
25410 | processes, and local sockets in addition to old client-only | |
25411 | functionality. | |
048addec JD |
25412 | (server_accept_connection): New function. |
25413 | (wait_reading_process_input): Use it to handle incoming connects. | |
25414 | Do not enable input on a new connection if process is stopped. | |
647b07d1 AS |
25415 | (read_process_output): Handle datagram sockets. Use 2k buffer for |
25416 | them. | |
048addec | 25417 | (send_process): Handle datagram sockets. |
647b07d1 AS |
25418 | (Fstop_process, Fcontinue_process): Apply to network processes. A |
25419 | stopped network process is indicated by setting command field to t. | |
048addec JD |
25420 | (Fprocess_send_eof): No-op if datagram connection. |
25421 | (Fstatus_notify): Don't read input for a stream server socket or a | |
25422 | stopped network process. | |
25423 | (init_process): Initialize datagram_address array. | |
25424 | (syms_of_process): Intern and staticpro new variables, defsubr new | |
25425 | functions. | |
25426 | ||
25427 | 2002-03-16 Jason Rumney <jasonr@gnu.org> | |
25428 | ||
25429 | * w32fns.c (w32_to_all_x_charsets): Return correct type in | |
25430 | startup case. | |
25431 | ||
25432 | 2002-03-16 Richard M. Stallman <rms@gnu.org> | |
25433 | ||
25434 | * xdisp.c (redisplay_internal, redisplay_windows): | |
25435 | Use list_of_error to call internal_condition_case_1. | |
25436 | (safe_eval, safe_call): Pass Qt to internal_condition_case_{1,2} | |
25437 | so as to catch all errors with no possibility of debugger redisplay. | |
25438 | (list_of_error): New variable. | |
25439 | (syms_of_xdisp): Init and staticpro it. | |
25440 | ||
25441 | * print.c (print_object): Delete `\ ' from printed rep of frame. | |
25442 | ||
25443 | 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il> | |
25444 | ||
25445 | * msdos.c (dos_rawgetc): Disable the x-autoselect-window feature, | |
25446 | until its implementation is fixed. | |
25447 | ||
25448 | 2002-03-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25449 | ||
25450 | * xfns.c (png_load): Remove unused variable `gamma_str'. | |
25451 | ||
25452 | 2002-03-14 Richard M. Stallman <rms@gnu.org> | |
25453 | ||
25454 | * xfns.c (x_real_positions): Handle failure in XQueryTree. | |
25455 | ||
25456 | 2002-03-14 Miles Bader <miles@gnu.org> | |
25457 | ||
25458 | * intervals.c (adjust_for_invis_intang): New function. | |
25459 | (set_point_both): Use `adjust_for_invis_intang' to do most of the | |
25460 | work for dealing with invisible+intangible regions. Do so before | |
25461 | and after both forward and backward movements, to handle both | |
25462 | front-sticky and rear-sticky cases. | |
25463 | * textprop.c (text_property_stickiness): Function moved here from | |
25464 | `editfns.c'. | |
25465 | * intervals.h (text_property_stickiness): New declaration. | |
25466 | * editfns.c (char_property_eq): Function removed. | |
25467 | (text_property_stickiness): Function moved to `textprop.c'. | |
25468 | ||
25469 | 2002-03-13 Jason Rumney <jasonr@gnu.org> | |
25470 | ||
25471 | * config.in: Add STRFTIME_NO_POSIX2. | |
25472 | ||
25473 | * strftime.c (my_strftime) [STRFTIME_NO_POSIX2]: Handle %h, %EX | |
25474 | and %OX when underlying strftime does not. | |
25475 | ||
25476 | 2002-03-13 Stefan Monnier <monnier@cs.yale.edu> | |
25477 | ||
25478 | * xterm.c (x_set_toolkit_scroll_bar_thumb) <USE_MOTIF>: | |
25479 | Use a fixed-size thumb (based on an ad-hoc estimate of 30 chars per | |
25480 | line) to avoid annoying flicker. | |
25481 | (xm_scroll_callback): Get rid of the now unnecessary kludge. | |
25482 | (XTread_socket): Mark it static. | |
25483 | ||
25484 | * xdisp.c (display_mode_element): Fix int/Lisp_Object mixup. | |
25485 | ||
25486 | 2002-03-13 Kim F. Storm <storm@cua.dk> | |
25487 | ||
25488 | * puresize.h (BASE_PURESIZE): Increase to 775000. | |
25489 | ||
25490 | 2002-03-12 Juanma Barranquero <lektu@terra.es> | |
25491 | ||
25492 | * editfns.c (syms_of_editfns): Fix typo. | |
25493 | ||
25494 | 2002-03-12 Gerd Moellmann <gerd@gnu.org> | |
25495 | ||
25496 | * xsmfns.c: Include stdio.h because termhooks.h needs it. | |
25497 | Include termopt.h for interrupt_input. | |
25498 | ||
25499 | 2002-03-11 Andreas Schwab <schwab@suse.de> | |
25500 | ||
25501 | * coding.c (syms_of_coding) <file-coding-system-alist>: Doc fix. | |
25502 | ||
25503 | 2002-03-11 Gerd Moellmann <gerd@gnu.org> | |
25504 | ||
25505 | * xterm.c (note_mouse_movement): Put code for | |
25506 | x_autoselect_window_p in #if 0. | |
25507 | ||
25508 | * lread.c (Fload): Don't assume that message_with_string uses the | |
25509 | string it is given like a C string. | |
25510 | ||
25511 | 2002-03-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
25512 | ||
78819ebb | 25513 | * xterm.h (x_session_check_input, x_session_initialize): Declare. |
048addec | 25514 | |
52eb0373 | 25515 | * xterm.c (XTread_socket): Add call to x_session_check_input and |
048addec JD |
25516 | x_session_have_connection. |
25517 | (x_initialize): Add call to x_session_initialize. | |
25518 | ||
25519 | * termhooks.h (enum event_kind): Add save_session_event. | |
25520 | ||
25521 | * keyboard.c: Add Emacs event save_session_event. | |
25522 | ||
25523 | * emacs.c (main): Add call to syms_of_xsmfns. | |
25524 | ||
78819ebb | 25525 | * lisp.h (syms_of_xsmfns): Declare extern. |
048addec JD |
25526 | |
25527 | * config.in: Add HAVE_X_SM. | |
25528 | ||
25529 | * Makefile.in (LIBXT): Add -lSM -lICE | |
25530 | if HAVE_X_SM and not USE_X_TOOLKIT. | |
25531 | (XOBJ): New file xsmfns.c added. | |
25532 | ||
25533 | * xsmfns.c: New file for X session management. | |
25534 | ||
25535 | 2002-03-09 Jason Rumney <jasonr@gnu.org> | |
25536 | ||
25537 | * fileio.c (Fcopy_file) [WINDOWS_NT]: Ensure file is not | |
25538 | read-only when setting modified time. | |
25539 | ||
25540 | 2002-03-08 Gerd Moellmann <gerd@gnu.org> | |
25541 | ||
25542 | * xdisp.c (move_it_vertically_backward): At the end of the function, | |
25543 | when moving forward by lines, treat terminal frames specially. | |
25544 | ||
25545 | * keyboard.c (echo_char): Make sure to add a separator between | |
25546 | keys even if echo_dash hasn't been called. | |
25547 | ||
25548 | * xdisp.c: Use new string macros. | |
25549 | (update_echo_area): Pass number of bytes to message3 instead of | |
25550 | number of chars. | |
25551 | (set_message_1): Don't access a string's size_byte directly. | |
25552 | (decode_mode_spec_coding): Use number of bytes of eoltype string | |
25553 | instead number of chars. | |
25554 | ||
25555 | * lisp.h (SREF, SDATA, SCHARS, SBYTES, SMBP): New macros. | |
25556 | ||
25557 | 2002-03-08 Juanma Barranquero <lektu@terra.es> | |
25558 | ||
25559 | * w32fns.c (Fx_display_color_cells): Force 24+ bit color depths to | |
25560 | 24-bit. | |
25561 | ||
25562 | 2002-03-06 Jason Rumney <jasonr@gnu.org> | |
25563 | ||
25564 | * w32term.c (x_draw_hollow_cursor): Draw same size as block cursor. | |
25565 | ||
25566 | 2002-03-06 Gerd Moellmann <gerd@gnu.org> | |
25567 | ||
25568 | * keyboard.c (echo_prompt, echo_char, echo_dash, echo_now) | |
25569 | (cancel_echoing, echo_length, echo_truncate): Changed to | |
25570 | work with new kboard definition. | |
25571 | (echo_now): Use message3_nolog instead of message2_nolog. | |
25572 | ||
25573 | * alloc.c (mark_kboards): Mark echo_string. | |
25574 | ||
25575 | * keyboard.h (ECHOBUFSIZE): Removed. | |
25576 | (struct kboard): Member echoptr removed, member echobuf renamed | |
25577 | to echo_string. | |
25578 | ||
25579 | * xdisp.c (message_with_string): Use Fformat instead of doprnt and | |
25580 | message3 instead of message2 to display the message using STRING's | |
25581 | text properties. | |
25582 | ||
25583 | 2002-03-05 Andreas Schwab <schwab@suse.de> | |
25584 | ||
25585 | * xdisp.c (hscroll_margin): Change to EMACS_INT. | |
25586 | ||
25587 | 2002-03-05 Per Abrahamsen <abraham@dina.kvl.dk> | |
25588 | ||
25589 | * frame.c (default-frame-alist): Explain that setting it doesn't | |
25590 | affect existing frames. | |
25591 | ||
25592 | 2002-03-05 Stefan Monnier <monnier@cs.yale.edu> | |
25593 | ||
25594 | * indent.c (skip_invisible): Fix my brain fart. | |
25595 | ||
25596 | * dispnew.c (sit_for): Don't wait if executing a kbd macro. | |
25597 | ||
25598 | 2002-03-04 Stefan Monnier <monnier@cs.yale.edu> | |
25599 | ||
25600 | * dosfns.c, dosfns.h, dispnew.c, dispextern.h, commands.h, charset.c, | |
25601 | * alloc.c, abbrev.c, emacs.c, eval.c, keyboard.c, keyboard.h, | |
25602 | * lisp.h, lread.c, sysdep.c, termcap.c, termchar.h, w32term.c, | |
25603 | * window.c, xdisp.c, xselect.c, xterm.c: Change defvar_int definition | |
25604 | and variables to use EMACS_INT instead of just int. | |
25605 | ||
25606 | * buffer.c (syms_of_buffer): Allow non-string `mode-name'. | |
25607 | ||
25608 | 2002-03-04 Eli Zaretskii <eliz@is.elta.co.il> | |
25609 | ||
25610 | * sysdep.c (sys_subshell) [MSDOS]: If PWD is set in the | |
25611 | environment, pass it down with corrected value. | |
25612 | ||
25613 | 2002-03-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25614 | ||
25615 | * lread.c (read_filtered_event): Do not call start_hourglass | |
25616 | before returning. | |
25617 | ||
25618 | 2002-03-04 Juanma Barranquero <lektu@terra.es> | |
25619 | ||
25620 | * w32term.c (x_display_and_set_cursor): Fix typo. | |
25621 | ||
25622 | 2002-03-03 Richard M. Stallman <rms@gnu.org> | |
25623 | ||
25624 | * fileio.c (Fmake_temp_name): Doc fix. | |
25625 | ||
25626 | 2002-03-03 Gary Wong <gtw@gnu.org> | |
25627 | ||
25628 | * termcap.c [!emacs]: Replace ospeed for building standalone | |
25629 | libtermcap, for binary compatibility. | |
25630 | ||
25631 | * tparam.c [!emacs]: Move #define of bcopy to after string.h. | |
25632 | ||
25633 | 2002-03-03 Richard M. Stallman <rms@gnu.org> | |
25634 | ||
25635 | * xrdb.c (file_p): Rename arg `path' to `filename'. | |
25636 | ||
25637 | * abbrev.c (Fexpand_abbrev): Increment plist as use count | |
25638 | only if it is an integer. | |
25639 | ||
25640 | * xfns.c (png_load): Set screen_gamma based on f->gamma. | |
25641 | If png_get_sRGB gives an answer, call png_set_gamma | |
25642 | using the default image gamma value. | |
25643 | ||
25644 | * lread.c (read1): When reading from a file, default string to | |
25645 | multibyte only if it has some multibyte characters. | |
25646 | ||
25647 | * print.c (print_object): Output multibyte chars 128...255 | |
25648 | using \x even if ! print_escape_multibyte. | |
25649 | ||
25650 | * xdisp.c (display_mode_element): Move the places where | |
25651 | bytepos, charpos, this, and lisp_string are set. | |
25652 | Use lisp_string to set bytepos. | |
25653 | ||
25654 | * xdisp.c (redisplay_internal): | |
25655 | Call clear_image_cache only if HAVE_WINDOW_SYSTEM. | |
25656 | ||
25657 | * xdisp.c (display_mode_element): Merge properties specified with | |
25658 | :propertize onto those that come with the string. | |
25659 | ||
25660 | 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il> | |
25661 | ||
25662 | * xdisp.c (syms_of_xdisp) <auto-hscroll-mode>: Renamed from | |
25663 | automatic-hscrolling. Users changed. | |
25664 | <hscroll-margin>: Renamed from automatic-hscroll-margin. | |
25665 | Users changed. | |
25666 | <hscroll-step>: Renamed from automatic-hscroll-step. Users changed. | |
25667 | ||
25668 | 2002-03-02 Eli Zaretskii <eliz@is.elta.co.il> | |
25669 | ||
25670 | * buffer.c (syms_of_buffer) <buffer-file-coding-system>: Doc fix. | |
25671 | ||
25672 | 2002-03-02 Kim F. Storm <storm@cua.dk> | |
25673 | ||
25674 | * window.c (Fminibuffer_selected_window): New function. | |
25675 | (syms_of_window): Defsubr it. | |
25676 | ||
25677 | 2002-03-01 Kim F. Storm <storm@cua.dk> | |
25678 | ||
25679 | * window.h (struct window): New member phys_cursor_width. | |
25680 | ||
25681 | * window.c (make_window, replace_window): Init phys_cursor_width. | |
25682 | ||
25683 | * xterm.c (x_display_and_set_cursor): Blink box cursor using | |
25684 | hollow box cursor. Blink bar cursor using 1 pixel wide bar. | |
25685 | ||
25686 | * w32term.c (x_display_and_set_cursor): Blink box cursor using | |
25687 | hollow box cursor. Blink bar cursor using 1 pixel wide bar. | |
25688 | ||
25689 | * lisp.h (GCPRO6): New macro. | |
25690 | ||
25691 | * process.c (Fopen_network_stream): Use GCPRO6. | |
25692 | ||
25693 | 2002-03-01 Kim F. Storm <storm@cua.dk> | |
25694 | ||
25695 | * process.c (Qconnect, Qfailed): New variables. | |
25696 | (syms_of_process): Intern and staticpro them. | |
25697 | (Fprocess_status): Document connect and failed return values. | |
25698 | [NON_BLOCKING_CONNECT]: New conditional. | |
25699 | (connect_wait_mask, num_pending_connects): New variables. | |
25700 | (status_message): Convert Qfailed status. | |
25701 | (Fopen_network_stream): Added support for non-blocking connect. | |
25702 | New optional args: filter, sentinel, non_blocking. Doc updated. | |
25703 | [HAVE_GETADDRINFO, !HAVE_GETADDRINFO]: Merged common code. | |
25704 | (deactivate_process): Handle pending non-blocking connect. | |
25705 | (wait_reading_process_input): Poll for status of non-blocking | |
25706 | connects. Exec sentinel directly when connect succeeds. | |
25707 | (status_notify): Don't read process output if not yet connected. | |
25708 | ||
25709 | 2002-02-28 Kim F. Storm <storm@cua.dk> | |
25710 | ||
9dd28cae | 25711 | * window.c (minibuf_selected_window): Renamed from |
048addec JD |
25712 | Vminibuf_selected_window. Users changed. |
25713 | (syms_of_window): Staticpro it. | |
25714 | ||
25715 | 2002-02-26 Kim F. Storm <storm@cua.dk> | |
25716 | ||
25717 | The following changes add a new Vminibuf_selected_window variable | |
25718 | which is similar to Vminibuf_scroll_window, but which is only set | |
25719 | on entry to the minibuffer (from a non-minibuffer window): | |
25720 | ||
9dd28cae | 25721 | * window.c (Vminibuf_selected_window): New variable. |
048addec JD |
25722 | (struct save_window_data): New member minibuf_selected_window. |
25723 | (Fset_window_configuration): Restore Vminibuf_selected_window. | |
25724 | (Fcurrent_window_configuration): Save Vminibuf_selected_window. | |
25725 | Set minibuf_scroll_window member to nil if minibuf_level is 0. | |
25726 | (compare_window_configurations): Compare minibuf_selected_window. | |
25727 | ||
9dd28cae | 25728 | * window.h (Vminibuf_selected_window): Declare extern. |
048addec JD |
25729 | |
25730 | * minibuf.c (read_minibuf): Set Vminibuf_selected_window on first | |
25731 | entry to minibuffer or on entry from a non-minibuffer window. | |
25732 | ||
25733 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): Compare with | |
25734 | Vminibuf_selected_window instead of Vminibuf_scroll_window. | |
25735 | ||
25736 | * xdisp.c (init_iterator): Compare with Vminibuf_selected_window | |
25737 | instead of Vminibuf_scroll_window when deciding in which window | |
25738 | the region should be highlighted. Consequently, the region remains | |
25739 | highlighteded even when a completion buffer is also displayed. | |
25740 | ||
25741 | 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il> | |
25742 | ||
25743 | * fileio.c (Fsubstitute_in_file_name): Fix the change from 2002-02-08. | |
25744 | ||
25745 | * xselect.c (Qcompound_text_with_extensions): Renamed from | |
25746 | Qcompound_text_no_extensions. | |
25747 | (lisp_data_to_selection_data, syms_of_xselect): Use the new name. | |
25748 | ||
25749 | 2002-02-26 Juanma Barranquero <lektu@terra.es> | |
25750 | ||
25751 | * w32proc.c (syms_of_ntproc): Doc fix. | |
25752 | ||
25753 | 2002-02-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25754 | ||
25755 | * intervals.h: Include "dispextern.h" unconditionally. | |
25756 | ||
25757 | 2002-02-24 Jason Rumney <jasonr@gnu.org> | |
25758 | ||
25759 | * Makefile.in (WINNT_SUPPORT) [WINDOWSNT]: Add w32-vars.elc | |
25760 | and disp-table.elc. | |
25761 | (lisp): Add emacs-lisp/backquote.elc. | |
25762 | ||
25763 | 2002-02-24 Kim F. Storm <storm@cua.dk> | |
25764 | ||
3419757d | 25765 | * keymap.c (Flookup_key): Fix problem in 2001-12-28 patch: |
048addec JD |
25766 | The validation of the event type was too strict as it didn't |
25767 | allow string events; buffer names are used in bindings for | |
25768 | menu-bar-select-buffer (see `menu-bar-update-buffers'). | |
25769 | ||
25770 | 2002-02-23 Kim F. Storm <storm@cua.dk> | |
25771 | ||
25772 | The following changes rework my patch of 2002-02-06 which | |
25773 | added command remapping by entering the commands directly into | |
25774 | the keymaps. Now, command remapping uses an explicit `remap' | |
25775 | prefix in the keymaps, i.e. [remap COMMAND]. | |
25776 | ||
25777 | * keymap.c (Qremap, remap_command_vector): New variables. | |
3419757d | 25778 | (is_command_symbol): Remove function. |
048addec JD |
25779 | (Fdefine_key): No longer accept a symbol for KEY. |
25780 | Added validation of [remap COMMAND] argument for KEY. | |
25781 | The DEF is no longer required to be a symbol when remapping a command. | |
25782 | (Fremap_command): New function to remap command through keymaps. | |
25783 | (Flookup_key): Perform command remapping initiated by | |
25784 | Fremap_command directly for speed. | |
25785 | (Fkey_binding): Use Fremap_command for command remapping. | |
25786 | (where_is_internal): Handle new command remapping representation. | |
25787 | (syms_of_keymap): Intern Qremap, initialize remap_command_vector, | |
25788 | staticpro them. Defsubr Fremap_command. | |
25789 | ||
25790 | * keymap.h (Fremap_command): Declare extern. | |
25791 | (is_command_symbol): Remove extern. | |
25792 | ||
25793 | * keyboard.c (command_loop_1): Use Fremap_command for command | |
25794 | remapping; now try command remapping for all symbols. | |
25795 | ||
25796 | 2002-02-23 Eli Zaretskii <eliz@is.elta.co.il> | |
25797 | ||
25798 | * coding.h (run_pre_post_conversion_on_str): Add prototype. | |
25799 | ||
25800 | 2002-02-23 Jason Rumney <jasonr@gnu.org> | |
25801 | ||
25802 | * w32select.c (Fw32_set_clipboard_data): Run pre-write-conversion | |
25803 | on the string before encoding it. | |
25804 | (Fw32_get_clipboard_data): Run post-read-conversion on the string | |
25805 | after decoding it. | |
25806 | ||
25807 | * w32fns.c (w32_wnd_proc) <WM_TIMER>: Fix last change. | |
25808 | ||
25809 | 2002-02-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25810 | ||
25811 | * w32term.c (enter_timestamp): Remove unused static variable to | |
25812 | prevent warning. | |
25813 | ||
25814 | * xterm.c (enter_timestamp): Put in #if 0 to prevent warning. | |
25815 | ||
25816 | 2002-02-23 Eli Zaretskii <eliz@is.elta.co.il> | |
25817 | ||
25818 | * w16select.c (Fw16_get_clipboard_data): Fix last change. | |
25819 | ||
25820 | * xselect.c (selection_data_to_lisp_data): Fix last change. | |
25821 | ||
25822 | 2002-02-22 Jason Rumney <jasonr@gnu.org> | |
25823 | ||
25824 | * w32term.h (struct w32_output): New member menu_command_in_progress. | |
25825 | ||
25826 | * w32menu.c (menubar_selection_callback): Free the menu and | |
25827 | clear the menu_command_in_progress flag. | |
25828 | ||
25829 | * w32fns.c (mouse_move_timer, mouse_button_timer): Initialize. | |
25830 | (menu_free_timer): New variable. | |
25831 | (MENU_FREE_ID, MENU_FREE_DELAY): New constants. | |
25832 | (w32_wnd_proc) <WM_TIMER>: Handle menu_free_timer. | |
25833 | <WM_EXITMENULOOP>: Delay before freeing menu. Do nothing if a | |
25834 | menu command is in progress. | |
25835 | <WM_COMMAND>: Set the menu_command_in_progress flag. | |
25836 | Kill any menu_free_timer that is running. | |
25837 | ||
25838 | * w32term.c (w32_text_out): Renamed from W32_TEXTOUT. | |
25839 | Call ExtTextOutA rather than ExtTextOut. | |
25840 | ||
25841 | 2002-02-22 Eli Zaretskii <eliz@gnu.org> | |
25842 | ||
25843 | * puresize.h (BASE_PURESIZE): Increase to 755000. | |
25844 | ||
25845 | 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il> | |
25846 | ||
25847 | * w16select.c (Fw16_set_clipboard_data): Run pre-write-conversion | |
25848 | on the string before encoding it. | |
25849 | (Fw16_get_clipboard_data): Run post-read-conversion on the string | |
25850 | after decoding it. | |
25851 | ||
25852 | 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il> | |
25853 | ||
9dd28cae | 25854 | Support for ICCCM Extended Segments in X selections: |
048addec JD |
25855 | |
25856 | * xselect.c <Qcompound_text_no_extensions>: New variable. | |
25857 | (syms_of_xselect): Intern and staticpro it. | |
25858 | (selection_data_to_lisp_data): Run post-read-conversion on decoded | |
25859 | selection text. | |
25860 | (lisp_data_to_selection_data): If next-selection-coding-system is | |
25861 | compound-text-no-extensions, set the type of selection to be | |
25862 | compound-text. | |
25863 | ||
25864 | * xterm.h (x_encode_text): Update prototype. | |
25865 | ||
25866 | * xfns.c (x_encode_text): Accept additional arg SELECTIONP; all | |
25867 | callers changed. If SELECTIONP is non-zero, run the | |
25868 | pre-write-conversion function before encoding the selection text. | |
25869 | ||
25870 | 2002-02-21 Kim F. Storm <storm@cua.dk> | |
25871 | ||
25872 | * frame.c (syms_of_frame): Change mouse-highlight default to t. | |
25873 | ||
25874 | * keyboard.c (kbd_buffer_get_event) [WINDOWSNT]: | |
25875 | Correct composing of language-change event. | |
25876 | ||
25877 | 2002-02-20 Kim F. Storm <storm@cua.dk> | |
25878 | ||
25879 | * keyboard.c (menu_bar_items): Don't include keymap or local-map | |
25880 | bindings at PT when building menu (the menu is not updated often | |
25881 | enough for this to work reliable). | |
25882 | (tool_bar_items): Likewise. | |
25883 | (current_active_maps): Removed unused (and buggy) function. | |
25884 | ||
25885 | 2002-02-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25886 | ||
25887 | * xfns.c (gif_load): Use correct width and height for GIF images. | |
25888 | ||
25889 | 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il> | |
25890 | ||
25891 | * floatfns.c (Fatan): Accept an optional second arg and call | |
25892 | atan2 if passed 2 args. | |
25893 | ||
25894 | 2002-02-18 Jason Rumney <jasonr@gnu.org> | |
25895 | ||
25896 | * w32term.c (glyph_rect): Determine the row and glyph more precisely. | |
25897 | ||
25898 | 2002-02-17 Jason Rumney <jasonr@gnu.org> | |
25899 | ||
25900 | * w32term.c (x_autoselect_window_p): New variable. | |
25901 | (syms_of_w32term): DEFVAR_BOOL and initialize it. | |
25902 | (note_mouse_movement): Use it. | |
25903 | ||
25904 | * w32fns.c (w32_load_system_font): Never set fonts_changed_p to zero. | |
25905 | ||
25906 | * w32bdf.c (w32_load_bdf_font): Maybe set fonts_changed_p. | |
25907 | ||
25908 | * w32fns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): | |
25909 | New variables. | |
25910 | (syms_of_w32fns): Intern and staticpro them. | |
25911 | (x_frame_parms) <"fullscreen">: New parameter. | |
25912 | (x_fullscreen_move, x_set_fullscreen): New functions. | |
25913 | (x_set_frame_parameters): Support Qfullscreen. | |
25914 | (x_real_positions): Save x/y_pixels_diff frame params. | |
25915 | (x_figure_window_size): Support full-screen frames. | |
25916 | (Fx_create_frame): Default the fullscreen parameter. | |
25917 | ||
25918 | * w32term.c (x_check_fullscreen, x_check_fullscreen_move) | |
25919 | (x_fullscreen_adjust): New functions. | |
5e1a6e32 | 25920 | (w32_read_socket) <WM_WINDOWPOSCHANGED>: Don't resize to |
048addec JD |
25921 | fullscreen. Call x_check_fullscreen_move, and set the |
25922 | want_fullscreen member of output_data.w32 | |
25923 | <WM_ACTIVATE, WM_ACTIVATEAPP>: Call x_check_fullscreen. | |
25924 | ||
25925 | * w32term.h: New enum for FULLSCREEN_* constants. | |
25926 | (struct w32_output): New members want_fullscreen, x_pixels_diff, | |
25927 | y_pixels_diff, x_pixels_outer_diff, and y_pixels_outer_diff. | |
25928 | (x-fullscreen-adjust): New prototype. | |
25929 | ||
25930 | 2002-02-17 Kim F. Storm <storm@cua.dk> | |
25931 | ||
52eb0373 | 25932 | * frame.c (Vmouse_highlight): New variable. |
048addec JD |
25933 | (syms_of_frame): DEFVAR_LISP it. |
25934 | ||
52eb0373 | 25935 | * frame.h (Vmouse_highlight): Declare extern. |
8a8e19a3 | 25936 | |
048addec | 25937 | * xterm.h (struct x_display_info): Add mouse_face_hidden. |
8a8e19a3 | 25938 | |
048addec JD |
25939 | * xterm.c (disable_mouse_highlight): Removed variable. |
25940 | (note_mouse_highlight): Don't highlight if Vmouse_highlight is nil. | |
5e1a6e32 | 25941 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. |
048addec JD |
25942 | (XTread_socket): Turn mouse_face_hidden off after mouse movement, |
25943 | and on after keyboard input. | |
25944 | (x_term_init): Initialize mouse_face_hidden. | |
8a8e19a3 | 25945 | |
048addec | 25946 | * msdos.h (struct display_info): Add mouse_face_hidden. |
8a8e19a3 | 25947 | |
048addec | 25948 | * msdos.c (disable_mouse_highlight): Removed variable. |
5e1a6e32 | 25949 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. |
048addec JD |
25950 | (IT_note_mouse_highlight): Don't highlight if Vmouse_highlight is nil. |
25951 | (internal_terminal_init): Initialize mouse_face_hidden. | |
25952 | (dos_rawgetc): Turn mouse_face_hidden off after mouse movement, | |
25953 | and on after keyboard input. | |
4f1b1854 | 25954 | |
048addec | 25955 | * w32term.h (struct w32_display_info): Add mouse_face_hidden. |
4f1b1854 | 25956 | |
048addec JD |
25957 | * w32term.c (disable_mouse_highlight): Removed variable. |
25958 | (note_mouse_highlight): Disable highlight if Vmouse_highlight is nil. | |
5e1a6e32 | 25959 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. |
048addec JD |
25960 | (w32_read_socket): Turn mouse_face_hidden off after mouse movement, |
25961 | and on after keyboard input. | |
25962 | (w32_initialize_display_info): Initialize mouse_face_hidden. | |
4f1b1854 | 25963 | |
048addec | 25964 | 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il> |
4f1b1854 | 25965 | |
048addec JD |
25966 | * msdos.c (last_mouse_window): New variable. |
25967 | (dos_rawgetc): Fix last change--if the mouse is in the same window | |
25968 | as recorded in last_mouse_window, don't select this window. | |
5cb6905d | 25969 | |
048addec | 25970 | * Makefile.in (lisp, shortlisp): Use cus-start.elc, not cus-start.el. |
5cb6905d | 25971 | |
048addec JD |
25972 | * msdos.c (x_autoselect_window_p): New variable. |
25973 | (syms_of_msdos): Defvar it. | |
25974 | (dos_rawgetc): If x_autoselect_window_p is set, select the window in | |
25975 | which the last mouse movement occured, unless it is already selected. | |
437dfb9f | 25976 | |
048addec JD |
25977 | * xdisp.c (automatic_hscroll_margin, Vautomatic_hscroll_step): |
25978 | New variables. | |
25979 | (syms_of_xdisp): DEVFAR them. | |
25980 | (hscroll_window_tree): Use automatic_hscroll_margin and | |
25981 | Vautomatic_hscroll_step to compute the amount of window scrolling. | |
437dfb9f | 25982 | |
048addec | 25983 | 2002-02-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9f696a00 | 25984 | |
048addec JD |
25985 | * xterm.c (x-autoselect-window): New variable. |
25986 | (note_mouse_movement): Use it. | |
9f696a00 | 25987 | |
048addec | 25988 | * keyboard.c: Do not include "systime.h" twice. |
d57966d7 | 25989 | |
048addec | 25990 | 2002-02-15 Andreas Schwab <schwab@suse.de> |
d57966d7 | 25991 | |
bfa02563 | 25992 | * puresize.h (PURESIZE_RATIO): Increase to 9/5. |
d57966d7 | 25993 | |
048addec | 25994 | * alloc.c (NSTATICS): Increase to 1280. |
74779f52 | 25995 | |
048addec | 25996 | 2002-02-15 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> |
74779f52 | 25997 | |
048addec | 25998 | * alloc.c (NSTATICS): Bump to 1026. |
a474d59c | 25999 | |
048addec JD |
26000 | * xterm.c (Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym) |
26001 | (Vx_super_keysym): New variables. | |
26002 | (syms_of_xterm): DEFVAR_LISP them. | |
26003 | (x_x_to_emacs_modifiers, x_emacs_to_x_modifiers): Use the | |
26004 | variables to determine which keys to use for the various modifiers. | |
a474d59c | 26005 | |
048addec | 26006 | 2002-02-13 Kim F. Storm <storm@cua.dk> |
fbb70ad9 | 26007 | |
9dd28cae | 26008 | * window.c (Vmode_line_in_non_selected_windows): Removed. |
048addec JD |
26009 | (mode_line_in_non_selected_windows): New variable. |
26010 | (syms_of_window): DEFVAR_BOOL it. | |
fbb70ad9 | 26011 | |
048addec JD |
26012 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): |
26013 | Use mode_line_in_non_selected_windows. | |
26014 | (mode_line_in_non_selected_windows): Declare extern. | |
26015 | (Vmode_line_in_non_selected_windows): Removed extern. | |
2d10309f | 26016 | |
048addec | 26017 | 2002-02-13 Richard M. Stallman <rms@gnu.org> |
2d10309f | 26018 | |
048addec JD |
26019 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector) |
26020 | (Fthis_single_command_keys, Fthis_single_command_raw_keys) | |
26021 | (Fclear_this_command_keys): Doc fixes. | |
2d10309f | 26022 | |
048addec JD |
26023 | * xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face) |
26024 | (update_face_from_frame_parameter): Increment face_change_count | |
26025 | and windows_or_buffers_changed to force redisplay using changed faces. | |
7f2cddf3 | 26026 | |
048addec JD |
26027 | * xdisp.c (QCpropertize): New variable. |
26028 | (mode_line_proptrans_alist): New variable. | |
26029 | (display_mode_element): New arg PROPS; all calls changed. | |
26030 | Implement this, for strings. | |
26031 | Handle literal output of strings by sharing the | |
26032 | main-line code for strings, using local var `literal'. | |
26033 | Handle :propertize feature. | |
26034 | (syms_of_xdisp): Initialze and staticpro QCpropertize and | |
26035 | mode_line_proptrans_alist. | |
0b1e6b54 | 26036 | |
048addec | 26037 | 2002-02-11 Kim F. Storm <storm@cua.dk> |
7f2cddf3 | 26038 | |
9dd28cae | 26039 | * window.c (Vmode_line_in_non_selected_windows): New variable. |
048addec | 26040 | (syms_of_window): DEFVAR_LISP it. |
7f2cddf3 | 26041 | |
048addec JD |
26042 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): New macro. |
26043 | (CURRENT_MODE_LINE_FACE_ID): Use it. | |
26044 | (Vmode_line_in_non_selected_windows): Declare extern. | |
e17144de | 26045 | |
048addec JD |
26046 | * xdisp.c (display_mode_lines): Use CURRENT_MODE_LINE_FACE_ID_3 |
26047 | to get mode line face. | |
e17144de | 26048 | |
048addec | 26049 | 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il> |
6637c996 | 26050 | |
048addec JD |
26051 | * msdos.c (Vx_bitmap_file_path, x_stretch_cursor_p): Remove these |
26052 | variables; cus-start.el doesn't need them anymore. | |
44368f8f | 26053 | |
048addec | 26054 | 2002-02-09 Kim F. Storm <storm@cua.dk> |
f884b6f4 | 26055 | |
048addec JD |
26056 | * insdel.c (make_gap_smaller): Preserve BEG_UNCHANGED during gap |
26057 | reduction. This fixes a display problem where stray newlines were | |
26058 | inserted in the window (corrected by C-l). Clarified code (IMHO). | |
6637c996 | 26059 | |
048addec | 26060 | 2002-02-09 Eli Zaretskii <eliz@is.elta.co.il> |
6637c996 | 26061 | |
048addec | 26062 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID): Fix last change. |
6637c996 | 26063 | |
048addec | 26064 | * xdisp.c (display_mode_lines): Fix last change. |
453c5510 | 26065 | |
048addec | 26066 | 2002-02-09 Jason Rumney <jasonr@gnu.org> |
453c5510 | 26067 | |
048addec JD |
26068 | * w32fns.c (enum_font_cb2): Don't let charsets unknown to Windows |
26069 | match each other. | |
26070 | (w32_load_system_font): Prevent Cleartype fonts from loading. | |
26071 | (Fx_show_tip): Ensure tip frames are above other topmost windows. | |
d1d070e3 | 26072 | |
048addec | 26073 | 2002-02-09 Kim F. Storm <storm@cua.dk> |
d1d070e3 | 26074 | |
048addec JD |
26075 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID): New macro. |
26076 | (CURRENT_MODE_LINE_HEIGHT): Use it. | |
26077 | (enum face_id): Add MODE_LINE_INACTIVE_FACE_ID. | |
9ec1bdb6 | 26078 | |
048addec JD |
26079 | * xdisp.c (window_box_height): Use CURRENT_MODE_LINE_FACE_ID. |
26080 | (pos_visible_p, handle_face_prop): Likewise. | |
26081 | (display_mode_lines): Likewise, but for the real selected window. | |
26082 | (init_iterator) [row == NULL]: Handle MODE_LINE_INACTIVE_FACE_ID. | |
9ec1bdb6 | 26083 | |
048addec JD |
26084 | * xfaces.c (Qmode_line_inactive): New face variable for mode-line |
26085 | in non-selected windows. | |
26086 | (realize_basic_faces): Realize it. | |
26087 | (syms_of_term): Intern and staticpro it. | |
308dd672 | 26088 | |
048addec | 26089 | 2002-02-08 Kim F. Storm <storm@cua.dk> |
edde72f6 | 26090 | |
048addec JD |
26091 | * alloc.c (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): |
26092 | Changed mail addresses to emacs-devel@gnu.org. | |
308dd672 | 26093 | |
048addec | 26094 | 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il> |
3c1e6b46 | 26095 | |
048addec JD |
26096 | * fileio.c (Fsubstitute_in_file_name): If the file name includes |
26097 | ~user, and there's no such user, don't discard everything before ~user. | |
03950b5b | 26098 | |
048addec | 26099 | * floatfns.c (Fround): Doc fix. |
3c1e6b46 | 26100 | |
048addec | 26101 | 2002-02-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c1e11810 | 26102 | |
048addec | 26103 | * sysdep.c (init_system_name): Put unused variable `p' in #if 0. |
c1e11810 | 26104 | |
048addec | 26105 | 2002-02-07 Stefan Monnier <monnier@cs.yale.edu> |
1996baee | 26106 | |
048addec | 26107 | * lisp.h (Fx_file_dialog): Add extern decl (used in fileio.c). |
1996baee | 26108 | |
048addec | 26109 | 2002-02-07 Kim F. Storm <storm@cua.dk> |
0065bb74 | 26110 | |
048addec JD |
26111 | * keymap.c (where_is_internal): Only check whether definition is |
26112 | remapped if it fulfills is_command_symbol. | |
0065bb74 | 26113 | |
048addec | 26114 | 2002-02-07 Andreas Schwab <schwab@suse.de> |
0065bb74 | 26115 | |
048addec | 26116 | * s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT): Define to 2 for m68k. |
b5cb6072 | 26117 | |
048addec | 26118 | * alloc.c (mark_stack): Don't assume sizeof (Lisp_Object) is 4. |
b5cb6072 | 26119 | |
048addec | 26120 | 2002-02-06 Kim F. Storm <storm@cua.dk> |
15fff01d | 26121 | |
048addec JD |
26122 | * keymap.c (Fdefine_key): Allow symbol as KEY argument for |
26123 | defining command remapping. Doc updated. | |
26124 | (Flookup_key): Remap command through keymap if KEY is a symbol. | |
26125 | (is_command_symbol): New function. | |
26126 | (Fkey_binding): Use it. New optional argument NO-REMAP. | |
26127 | Doc updated. Callers changed. Perform command remapping via | |
26128 | recursive call unless that arg is non-nil. | |
26129 | (where_is_internal): New argument no_remap. Callers changed. | |
26130 | Call recursively to find original key bindings for a remapped | |
26131 | comand unless that arg is non-nil. | |
26132 | (Fwhere_is_internal): New optional argument NO-REMAP. | |
26133 | Doc updated. Callers changed. Pass arg to where_is_internal. | |
0065bb74 | 26134 | |
048addec | 26135 | * keymap.h (Fkey_binding, Fwhere_is_internal): Update prototype. |
3419757d | 26136 | (is_command_symbol): Add prototype. |
0d8466cc | 26137 | |
048addec JD |
26138 | * keyboard.c (Vthis_original_command): New variable. |
26139 | (syms_of_keyboard): DEFVAR_LISP it. | |
26140 | (command_loop_1): Set it, and perform command remapping. | |
15fff01d | 26141 | |
048addec | 26142 | 2002-02-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2fae9111 | 26143 | |
048addec | 26144 | * keyboard.c (recursive_edit_1): Call cancel_hourglass unconditionally. |
2d6c1fc0 | 26145 | |
048addec | 26146 | 2002-02-06 Jason Rumney <jasonr@gnu.org> |
07025a55 | 26147 | |
048addec | 26148 | * w32term.c (w32_native_per_char_metric): Disable 2002-01-20 change. |
07025a55 | 26149 | |
048addec | 26150 | 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il> |
07025a55 | 26151 | |
048addec | 26152 | * charset.c (get_charset_id): Use if-else instead of ?:. |
3a232704 | 26153 | |
048addec | 26154 | 2002-02-06 Richard M. Stallman <rms@gnu.org> |
539e92ad | 26155 | |
048addec | 26156 | * filelock.c (S_ISLNK): Define if not defined. |
3a232704 | 26157 | |
048addec | 26158 | 2002-02-03 Richard M. Stallman <rms@gnu.org> |
0cb8bb48 | 26159 | |
048addec | 26160 | * fileio.c (Fdo_auto_save): Improve "auto save disabled" msg. |
539e92ad | 26161 | |
048addec JD |
26162 | * lread.c (read1): Redesign strategy for force_multibyte and |
26163 | force_singlebyte. Now is_multibyte records whether read_buffer | |
26164 | is multibyte. Encountering any multibyte character makes it so. | |
4e02881b | 26165 | |
048addec | 26166 | 2002-02-02 Stefan Monnier <monnier@cs.yale.edu> |
4e02881b | 26167 | |
048addec JD |
26168 | * term.c (term_get_fkeys_1): If `k0' and `k;' are both specified and |
26169 | with the same sequence, map that sequence to f10 rather than f0. | |
1ab964d7 | 26170 | |
048addec | 26171 | 2002-02-03 Andreas Schwab <schwab@suse.de> |
1ab964d7 | 26172 | |
048addec JD |
26173 | * s/gnu-linux.h: Check for __mc68000__ instead of __m68k__, the |
26174 | latter never being defined on GNU/Linux. | |
749f499f | 26175 | |
048addec | 26176 | 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il> |
749f499f | 26177 | |
048addec JD |
26178 | * xfaces.c (realize_default_face): Don't set the weight and slant of |
26179 | the default face to Qnormal, unless these attributes are unspecified. | |
b5d9aaba | 26180 | |
048addec | 26181 | 2002-02-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
3a232704 | 26182 | |
048addec JD |
26183 | * keyboard.c (command_loop_1) [HAVE_X_WINDOWS]: |
26184 | Call cancel_hourglass unconditionally. | |
d0fd26dd | 26185 | |
048addec JD |
26186 | * eval.c (Fsignal): Remove duplicated declaration of |
26187 | the variable `display_hourglass_p'. | |
b4c45162 | 26188 | |
048addec | 26189 | 2002-01-31 Richard M. Stallman <rms@gnu.org> |
d0fd26dd | 26190 | |
048addec | 26191 | * editfns.c (region_limit): Nicer error message. |
c95eaa61 | 26192 | |
048addec JD |
26193 | * coding.c (decode_composition_emacs_mule): |
26194 | Give up if NCOMPONENT gets too large to index `component'. | |
c95eaa61 | 26195 | |
048addec JD |
26196 | * callint.c (check_mark): New arg to specify clearer error message. |
26197 | Callers changed. | |
c95eaa61 | 26198 | |
048addec | 26199 | 2002-01-27 Richard M. Stallman <rms@gnu.org> |
c95eaa61 | 26200 | |
048addec | 26201 | * minibuf.c (Fcompleting_read): Doc fix. |
c95eaa61 | 26202 | |
048addec | 26203 | 2002-01-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c95eaa61 | 26204 | |
048addec JD |
26205 | * minibuf.c (Fread_from_minibuffer, Fread_command, Fread_function) |
26206 | (Fread_variable, Fread_buffer, minibuffer-completion-confirm): | |
26207 | Fix doc-strings. | |
c95eaa61 | 26208 | |
048addec | 26209 | 2002-01-26 Richard M. Stallman <rms@gnu.org> |
c95eaa61 | 26210 | |
048addec | 26211 | * buffer.c (syms_of_buffer): Doc fixes for scroll-...-aggressively. |
c95eaa61 | 26212 | |
048addec JD |
26213 | * xdisp.c (try_scrolling): Exchange uses of scroll_down_aggressively |
26214 | and scroll_up_aggressively. | |
c95eaa61 | 26215 | |
048addec | 26216 | 2002-01-26 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
31877e0a | 26217 | |
048addec | 26218 | * keyboard.c (parse_tool_bar_item): Remove duplicated prototypes. |
31877e0a | 26219 | |
048addec | 26220 | 2002-01-25 Stefan Monnier <monnier@cs.yale.edu> |
e2c3786a | 26221 | |
048addec JD |
26222 | * textprop.c (Fnext_property_change, Fnext_single_property_change) |
26223 | (Fprevious_property_change, Fprevious_single_property_change): | |
26224 | Stay within the narrowed-buffer boundaries. | |
e2c3786a | 26225 | |
048addec | 26226 | 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il> |
c513fc03 | 26227 | |
048addec JD |
26228 | * term.c (Ftty_display_color_cells): New function. |
26229 | (syms_of_term): Defsubr it. | |
26230 | (Ftty_display_color_cells, Ftty_display_color_p): Change the | |
26231 | argument name to DISPLAY. Doc fix. | |
bf794306 | 26232 | |
048addec JD |
26233 | * dispextern.h: Add prototype for set_tty_color_mode and |
26234 | tty_setup_colors. | |
bf794306 | 26235 | |
048addec | 26236 | 2002-01-24 Jason Rumney <jasonr@gnu.org> |
bf794306 | 26237 | |
048addec JD |
26238 | * w32term.c (x_scroll_run): Use ScrollWindowEx in place of BitBlt. |
26239 | If region left to draw is not what was expected, mark the frame as | |
26240 | garbaged. | |
62582985 | 26241 | |
048addec JD |
26242 | * w32fns.c (w32_wnd_proc) <WM_PAINT>: Initialize update_rect. |
26243 | Combine the regions returned by BeginPaint and GetUpdateRect. | |
c513fc03 | 26244 | |
048addec | 26245 | 2002-01-23 Jason Rumney <jasonr@gnu.org> |
3509a04c | 26246 | |
048addec JD |
26247 | * w32term.c (x_update_window_begin): Only hide caret if |
26248 | w32_use_visible_system_caret is set. | |
26249 | (x_update_window_end): Only show caret if | |
26250 | w32_use_visible_system_caret is set. | |
26251 | (syms_of_w32term): Handle SystemParametersInfo call failing. | |
3509a04c | 26252 | |
048addec | 26253 | * w32fns.c (syms_of_w32fns): Initialize w32_visible_system_caret_hwnd. |
3509a04c | 26254 | |
048addec | 26255 | 2002-01-22 Richard M. Stallman <rms@gnu.org> |
3509a04c | 26256 | |
048addec JD |
26257 | * unexelf.c (unexec): Define n so as to cause compilation error |
26258 | for the code where people have often written n instead of nn. | |
1e9a6186 | 26259 | |
048addec | 26260 | * .gdbinit (hookpost-run): Defined. |
1e9a6186 | 26261 | |
048addec | 26262 | 2002-01-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
e4e34e31 | 26263 | |
048addec | 26264 | * xfns.c (x_set_frame_parameters): Typo in previous fix corrected. |
e4e34e31 | 26265 | |
048addec | 26266 | 2002-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4521d1fc | 26267 | |
048addec JD |
26268 | * xfns.c (x_set_frame_parameters): Just call x_fullscreen_adjust |
26269 | if fullscreen is being set. | |
7c75be36 | 26270 | |
048addec | 26271 | 2002-01-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4521d1fc | 26272 | |
048addec JD |
26273 | * minibuf.c (Fminibuffer_contents) |
26274 | (Fminibuffer_contents_no_properties, Fread_from_minibuffer) | |
26275 | (Fread_string, Fread_no_blanks_input, Fcompleting_read): Doc fixes. | |
4521d1fc | 26276 | |
048addec | 26277 | 2002-01-21 Richard M. Stallman <rms@gnu.org> |
4521d1fc | 26278 | |
048addec | 26279 | * window.c (check_frame_size): Fix minimum height calculation. |
93dec019 | 26280 | |
048addec | 26281 | 2002-01-20 Ken Raeburn <raeburn@gnu.org> |
93dec019 | 26282 | |
048addec JD |
26283 | * dispextern.h (WINDOW_WANTS_MODELINE_P): Use XFASTINT on window |
26284 | height before comparison. | |
26285 | (WINDOW_WANTS_HEADER_LINE_P): Likewise. | |
905cc05a | 26286 | |
048addec | 26287 | 2002-01-20 Jason Rumney <jasonr@gnu.org> |
2ed06289 | 26288 | |
048addec JD |
26289 | * w32term.c (w32_system_caret_width): Remove. |
26290 | (w32_use_visible_system_caret): New user flag. | |
26291 | (syms_of_w32term): DEFVAR_BOOL it. Initialize based on whether | |
26292 | Windows reports a screen reader running. | |
26293 | (x_update_window_begin): Hide the system caret. | |
26294 | (x_update_window_end): Show the system caret. | |
26295 | (x_display_and_set_cursor): Don't draw a cursor when | |
26296 | w32_use_visible_system_caret is set. Do not adjust width. | |
0e79d667 | 26297 | |
048addec JD |
26298 | * w32fns.c (w32_visible_system_caret_hwnd): New static variable. |
26299 | (w32_wnd_proc) <WM_KILL_FOCUS, WM_EMACS_DESTROY_CARET>: Set it. | |
26300 | <WM_EMACS_TRACK_CARET>: Arrange for system caret to be visible if | |
26301 | the user requests it. Use system default width when creating. | |
26302 | <WM_EMACS_HIDE_CARET, WM_EMACS_SHOW_CARET>: Handle new messages. | |
0e79d667 | 26303 | |
048addec JD |
26304 | * w32term.h (WM_EMACS_SHOW_CARET, WM_EMACS_HIDE_CARET): |
26305 | New window messages. | |
905cc05a | 26306 | |
048addec | 26307 | 2002-01-20 Richard M. Stallman <rms@gnu.org> |
82a7ab23 | 26308 | |
048addec | 26309 | * window.c (MIN_SAFE_WINDOW_HEIGHT): Value now 1. |
d75bec6a | 26310 | |
048addec | 26311 | 2002-01-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
52dcb476 | 26312 | |
048addec | 26313 | * doprnt.c (doprnt1): Fix typos in error call. |
82a7ab23 | 26314 | |
048addec | 26315 | 2002-01-20 Eli Zaretskii <eliz@is.elta.co.il> |
82a7ab23 | 26316 | |
048addec | 26317 | * unexelf.c (unexec) [__sgi]: Support the .got sections. |
82a7ab23 | 26318 | |
048addec | 26319 | 2002-01-20 Jason Rumney <jasonr@gnu.org> |
4d0fa4f3 | 26320 | |
048addec JD |
26321 | * w32term.c (w32_native_per_char_metric): Don't trust the metrics |
26322 | that Windows returns. If a double check fails, try to guess how | |
26323 | ExtTextOut is going to act. | |
4d0fa4f3 | 26324 | |
048addec JD |
26325 | * w32fns.c (w32_load_system_font, w32_to_x_charset): Use strnicmp |
26326 | in place of stricmp. | |
26327 | (w32_list_synthesized_fonts): Removed. | |
26328 | (w32_to_all_x_charsets, enum_font_maybe_add_to_list): New functions. | |
26329 | (struct enumfont_t): New element; list. | |
26330 | (enum_font_cb2): List all style and charset variations of a font. | |
26331 | (Fw32_select_font): New optional argument; include_proportional. | |
26332 | Exclude vertical fonts. Exclude proportional fonts unless | |
26333 | include_proportional is non-nil. | |
26334 | (w32_enable_synthesized_fonts): Change to a boolean. | |
26335 | (Fw32_send_sys_command): Doc fix. | |
493faf20 | 26336 | |
048addec | 26337 | 2002-01-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
493faf20 | 26338 | |
048addec JD |
26339 | * dispnew.c (update_frame): Move the variable `tem' to the block |
26340 | where it is used. | |
4971e491 | 26341 | |
048addec | 26342 | 2002-01-19 Jason Rumney <jasonr@gnu.org> |
4971e491 | 26343 | |
048addec JD |
26344 | * w32fns.c (Fx_create_frame): Bind redisplay-dont-pause around |
26345 | call to face-set-after-frame-default. | |
4971e491 | 26346 | |
048addec | 26347 | 2002-01-18 Richard M. Stallman <rms@gnu.org> |
d911a0fa | 26348 | |
048addec JD |
26349 | * dispextern.h (WINDOW_WANTS_MODELINE_P): Check window height > 1. |
26350 | (WINDOW_WANTS_HEADER_LINE_P): Check window height provides room. | |
d911a0fa | 26351 | |
048addec | 26352 | 2002-01-17 Richard M. Stallman <rms@gnu.org> |
d911a0fa | 26353 | |
048addec JD |
26354 | * window.c (enlarge_window): When exceeding size of parent, |
26355 | directly delete all the siblings instead of trying to resize it. | |
201c831a | 26356 | |
048addec | 26357 | 2002-01-17 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
201c831a | 26358 | |
048addec | 26359 | * term.c (set_tty_color_mode): Remove unused variable `tem'. |
201c831a | 26360 | |
048addec | 26361 | 2002-01-16 Henrik Enberg <henrik@enberg.org> |
34e39c95 | 26362 | |
048addec | 26363 | * lread.c (init_lread): Move the installed-lisp dirs later in the path. |
34e39c95 | 26364 | |
048addec | 26365 | 2002-01-16 Kim F. Storm <storm@cua.dk> |
d77fbc16 | 26366 | |
048addec JD |
26367 | * xterm.c (x_erase_phys_cursor): Don't erase cursor if cursor row |
26368 | is invisible. This can happen if cursor is on top line of a | |
26369 | window, and we switch to a buffer with a header line. | |
d77fbc16 | 26370 | |
048addec | 26371 | * w32term.c (x_erase_phys_cursor): Ditto. |
61e3b944 | 26372 | |
048addec | 26373 | 2002-01-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
61e3b944 | 26374 | |
048addec JD |
26375 | * xterm.c (XTread_socket) [!USE_X_TOOLKIT]: Compute the value of |
26376 | `dont_resize' only when used. | |
61e3b944 | 26377 | |
048addec | 26378 | * xdisp.c: Remove forgotten extern declaration of `Qimage'. |
70da46c3 | 26379 | |
048addec | 26380 | 2002-01-15 Eli Zaretskii <eliz@is.elta.co.il> |
70da46c3 | 26381 | |
048addec JD |
26382 | * xdisp.c (display_mode_element): When computing charpos, depend |
26383 | on multibyteness of elt, not the text in field. | |
8af01033 | 26384 | |
048addec | 26385 | 2002-01-15 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
8af01033 | 26386 | |
048addec JD |
26387 | * buffer.c (Fkill_all_local_variables): |
26388 | Increment `update_mode_lines' only once. | |
7363986a | 26389 | |
048addec | 26390 | 2002-01-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
7363986a | 26391 | |
048addec JD |
26392 | * lisp.h (adjust_after_replace_noundo) |
26393 | (Fupdate_coding_systems_internal): Add prototypes. | |
d9e6c4b1 | 26394 | |
048addec | 26395 | * sound.c (Fplay_sound): Initialize header_size also for :data case. |
d20fc48a | 26396 | |
048addec | 26397 | 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il> |
d9e6c4b1 | 26398 | |
048addec JD |
26399 | Support for the --color command-line argument and tty-color-mode |
26400 | frame parameter: | |
f1a85b89 | 26401 | |
048addec JD |
26402 | * term.c (tty_default_color_capabilities, tty_setup_colors) |
26403 | (set_tty_color_mode): New functions. | |
26404 | (term_init): Call tty_default_color_capabilities. | |
26405 | (Qtty_color_mode_alist): New variable. | |
26406 | (syms_of_term): Intern and staticpro it. | |
f1a85b89 | 26407 | |
048addec JD |
26408 | * frame.c (store_frame_param): Call set_tty_color_mode for termcap |
26409 | frames. | |
26410 | (do_switch_frame): For termcap frames, switch the tty | |
26411 | color mode as specified by the frame's parameters. | |
26412 | (Qtty_color_mode): New variable. | |
26413 | (syms_of_frame): Intern and staticpro it. | |
3a62677f | 26414 | |
048addec JD |
26415 | * emacs.c (USAGE2): Add the --color option. |
26416 | (standard_args): Ditto. | |
72244db2 | 26417 | |
048addec JD |
26418 | 2002-01-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
26419 | ||
26420 | * xterm.h (struct x_output): New members want_fullscreen, | |
26421 | x_pixels_diff, y_pixels_diff, x_pixels_outer_diff, and | |
26422 | y_pixels_outer_diff. | |
26423 | New enum for FULLSCREEN_* constants. | |
26424 | (FRAME_OUTER_WINDOW): Handle the case where output_data.x->widget | |
26425 | is NULL. | |
26426 | (x_fullscreen_adjust): Add prototype. | |
3a62677f | 26427 | |
048addec JD |
26428 | * emacs.c (USAGE2): Add the new full-screen arguments. |
26429 | (standard_args): Ditto. | |
3a62677f | 26430 | |
048addec JD |
26431 | * xfns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): |
26432 | New variables. | |
26433 | (syms_of_xfns): Intern and staticpro them. | |
26434 | (x_frame_parms) <"fullscreen">: New parameter. | |
26435 | (x_fullscreen_move, x_set_fullscreen): New functions. | |
26436 | (x_set_frame_parameters): Support for Qfullscreen. | |
26437 | (x_real_positions): More accurate computation of the frame position. | |
26438 | (x_figure_window_size): Support full-screen frames. | |
26439 | (Fx_create_frame): Default the fullscreen parameter. | |
3a62677f | 26440 | |
048addec JD |
26441 | * xterm.c (x_check_fullscreen, x_fullscreen_adjust): New functions. |
26442 | (XTread_socket) <Expose>: Call x_check_fullscreen. | |
26443 | <ConfigureNotify>: Don't resize to fullscreen. | |
26444 | Call x_check_fullscreen_move, and set the want_fullscreen member of | |
26445 | output_data.x. | |
3a62677f | 26446 | |
048addec | 26447 | 2002-01-13 Jason Rumney <jasonr@gnu.org> |
9d113d9d | 26448 | |
048addec JD |
26449 | * w32term.h (WM_XBUTTONDOWN, WM_XBUTTONUP): New window messages |
26450 | for mice with more than 3 buttons. | |
b8523839 | 26451 | |
048addec JD |
26452 | * w32term.c (parse_button): New parameter xbutton. Callers changed. |
26453 | (w32_read_socket): Handle new "XBUTTON" messages. | |
9464dea4 | 26454 | |
048addec JD |
26455 | * w32fns.c (w32_pass_extra_mouse_buttons_to_system): New user option. |
26456 | (syms_of_w32fns): DEFVAR_BOOL it. | |
26457 | (w32_wnd_proc): Handle new "XBUTTON" messages. | |
9d113d9d | 26458 | |
048addec | 26459 | 2002-01-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
70ec1377 | 26460 | |
048addec | 26461 | * keyboard.c (read_key_sequence): Remove unused variable `extra_maps'. |
70ec1377 | 26462 | |
048addec | 26463 | 2002-01-13 Andreas Schwab <schwab@suse.de> |
92f7dd37 | 26464 | |
048addec | 26465 | * xterm.c (x_load_font): Never set fonts_changed_p to zero. |
92f7dd37 | 26466 | |
048addec | 26467 | 2002-01-12 Andreas Schwab <schwab@suse.de> |
c93674bb | 26468 | |
048addec JD |
26469 | * .gdbinit (xbuffer): Remove address operator since data is now a |
26470 | pointer. | |
c93674bb | 26471 | |
048addec | 26472 | 2002-01-11 Richard M. Stallman <rms@gnu.org> |
59b59892 | 26473 | |
048addec | 26474 | * insdel.c (adjust_after_replace_noundo): New function. |
59b59892 | 26475 | |
048addec | 26476 | * coding.c (code_convert_region): Don't copy old text if undo disabled. |
c6ea2775 | 26477 | |
048addec | 26478 | 2002-01-09 Jason Rumney <jasonr@gnu.org> |
c6ea2775 | 26479 | |
048addec JD |
26480 | * xdisp.c (x_consider_frame_title): Don't count the tooltip frame |
26481 | when checking for multiple frames. | |
91175673 | 26482 | |
048addec | 26483 | 2002-01-08 Richard M. Stallman <rms@gnu.org> |
91175673 | 26484 | |
048addec JD |
26485 | * window.c (delete_window): Rewrite the code for changing the |
26486 | selected window to handle the case where WINDOW is not a leaf. | |
91175673 | 26487 | |
048addec | 26488 | 2002-01-07 Eli Zaretskii <eliz@is.elta.co.il> |
e0fead5d | 26489 | |
048addec JD |
26490 | * process.c (send_process): Set src_multibyte to 1 after the call |
26491 | top setup_coding_system, not before the call. | |
e0fead5d | 26492 | |
048addec | 26493 | 2002-01-07 Jason Rumney <jasonr@gnu.org> |
e0fead5d | 26494 | |
048addec | 26495 | * xmenu.c (set_frame_menubar, xmenu_show): |
5e1a6e32 | 26496 | (xdialog_show): Initialize wv->help to Qnil. |
c186cdb3 | 26497 | |
048addec JD |
26498 | * w32menu.c (single_submenu, set_frame_menubar, w32_menu_show): |
26499 | (w32_dialog_show): Initialize wv->help to Qnil. | |
c186cdb3 | 26500 | |
048addec | 26501 | 2002-01-06 Jason Rumney <jasonr@gnu.org> |
c186cdb3 | 26502 | |
048addec | 26503 | * xmenu.c (single_submenu): Initialize wv->help to Qnil. |
c186cdb3 | 26504 | |
048addec | 26505 | * w32menu.c (w32_menu_display_help): Revert last change. |
58cfce98 | 26506 | |
048addec | 26507 | * xmenu.c (menu_highlight_callback): Revert last change. |
58cfce98 | 26508 | |
048addec | 26509 | 2002-01-06 Andreas Schwab <schwab@suse.de> |
62854fe2 | 26510 | |
048addec JD |
26511 | * insdel.c (make_gap_larger): Make sure buffer size does not |
26512 | overflow range of int. | |
62854fe2 | 26513 | |
048addec | 26514 | 2002-01-05 Jason Rumney <jasonr@gnu.org> |
656f46bb | 26515 | |
048addec JD |
26516 | * w32term.c (x_draw_glyphs): Don't call notice_overwritten_cursor if |
26517 | OVERLAPS_P. | |
656f46bb | 26518 | |
048addec | 26519 | * w32menu.c (w32_menu_display_help): Hide any tooltip window. |
656f46bb | 26520 | |
048addec JD |
26521 | * w32fns.c (compute_tip_xy): If tooltip won't fit on the screen |
26522 | to the left or to the right of the pointer, put it against | |
26523 | the left screen edge. | |
26524 | (x_frame_parms): Add missing braces around initializer. | |
036e218d | 26525 | |
048addec JD |
26526 | * w32term.c (x_setup_relief_colors): Don't compute an image's |
26527 | background color if it doesn't have a Pixmap. | |
26528 | (notice_overwritten_cursor): Don't depend on | |
26529 | output_cursor and updated_area. Compare pixel coordinates with | |
26530 | window's cursor pixel coordinates. | |
26531 | (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): | |
26532 | Call notice_overwritten_cursor with new arg list. | |
26533 | (show_mouse_face): Fix bug setting a row's mouse_face_p flag | |
26534 | unconditionally. | |
26535 | (x_draw_image_relief): Use predefined macro instead of | |
26536 | constant when the value of `tool_bar_button_relief' is negative. | |
036e218d | 26537 | |
048addec | 26538 | * w32term.c (x_display_and_set_cursor): Fix PostMessage arg types. |
7ddb2c16 | 26539 | |
048addec | 26540 | 2002-01-04 Richard M. Stallman <rms@gnu.org> |
7ddb2c16 | 26541 | |
048addec | 26542 | * xmenu.c (menu_highlight_callback): Hide any tooltip window. |
ace9b298 | 26543 | |
048addec | 26544 | 2002-01-03 Richard M. Stallman <rms@gnu.org> |
90647b07 | 26545 | |
048addec JD |
26546 | * keymap.c (Fcurrent_active_maps): Put the `keymap' property map first. |
26547 | (Fkey_binding): Try the `keymap' property map first. | |
26548 | (Fdescribe_buffer_bindings): Show `keymap' property bindings before | |
26549 | minor mode bindings. | |
90647b07 | 26550 | |
048addec | 26551 | 2002-01-03 Kim F. Storm <storm@cua.dk> |
ace9b298 | 26552 | |
3419757d | 26553 | * keyboard.c (read_key_sequence): Fix cast of submaps arg to bcopy. |
ace9b298 | 26554 | |
048addec | 26555 | 2002-01-02 Richard M. Stallman <rms@gnu.org> |
ace9b298 | 26556 | |
048addec JD |
26557 | * keyboard.c (read_key_sequence): Handle the keymap property |
26558 | before minor mode maps. | |
9fbc32aa | 26559 | |
048addec JD |
26560 | * editfns.c (Fformat): Update thissize from field_width |
26561 | based on the actual width, in the string case. | |
036e218d | 26562 | |
048addec | 26563 | 2002-01-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9fbc32aa | 26564 | |
048addec JD |
26565 | * charset.h (UNIBYTE_STR_AS_MULTIBYTE_P): Parenthesize assignment |
26566 | when used as truth value to prevent gcc warnings. | |
9fbc32aa | 26567 | |
048addec JD |
26568 | * sysdep.c, unexapollo.c, w32.c, w32bdf.c, w32heap.c, w32inevt.c, |
26569 | * w32proc.c: Include <config.h>. | |
9fbc32aa | 26570 | |
048addec | 26571 | 2002-01-01 Andreas Schwab <schwab@suse.de> |
9fbc32aa | 26572 | |
048addec JD |
26573 | * eval.c (max_specpdl_size, max_lisp_eval_depth): Define as int, |
26574 | not EMACS_INT, to make them compatible with DEFVAR_INT. | |
26575 | * lisp.h (max_specpdl_size): Adjust declaration. | |
9fbc32aa | 26576 | |
048addec | 26577 | 2002-01-01 Richard M. Stallman <rms@gnu.org> |
9fbc32aa | 26578 | |
048addec JD |
26579 | * print.c (print_object): Test print_escape_nonascii only for |
26580 | unibyte strings. | |
26581 | (PRINTPREPARE): Once again bind Qprint_escape_nonascii | |
26582 | when outputting to a multibyte buffer. | |
9fbc32aa | 26583 | |
048addec | 26584 | 2001-12-29 Richard M. Stallman <rms@gnu.org> |
9fbc32aa | 26585 | |
048addec JD |
26586 | * print.c (print_object): In multibyte string, use hex escapes. |
26587 | Use octal only for unibyte strings. | |
26588 | (PRINTPREPARE): Don't ever set Qprint_escape_nonascii. | |
0142178a | 26589 | |
048addec JD |
26590 | * lread.c (read_escape): New arg BYTEREP for reporting whether |
26591 | escape forces unibyte or multibyte. | |
26592 | (read1): When reading a string, take note of that info. | |
0142178a | 26593 | |
048addec | 26594 | 2001-12-29 Ken Raeburn <raeburn@gnu.org> |
d4824a5d | 26595 | |
048addec JD |
26596 | * abbrev.c (Fexpand_abbrev): Use NILP instead of implicit zero |
26597 | comparison to test lisp value returned by Fget. | |
d4824a5d | 26598 | |
048addec | 26599 | 2001-12-29 Richard M. Stallman <rms@gnu.org> |
b1356234 | 26600 | |
048addec | 26601 | * lisp.h (max_specpdl_size): Add declaration. |
b1356234 | 26602 | |
048addec | 26603 | * fileio.c (Fdo_auto_save): If NO_MESSAGE, don't call push_message. |
3ce081f5 | 26604 | |
048addec JD |
26605 | * keymap.c (silly_event_symbol_error): New subrtn, from Fdefine_key. |
26606 | Handle modifier bits. Correct typo in error message. | |
99e380ee | 26607 | |
048addec | 26608 | 2001-12-28 Richard M. Stallman <rms@gnu.org> |
3ce081f5 | 26609 | |
048addec JD |
26610 | * abbrev.c: Use the plist of an abbrev for multiple params if nec. |
26611 | (Fdefine_abbrev): New arg SYSTEM-FLAG for a system abbrev. | |
26612 | (Fdefine_global_abbrev, Fdefine_mode_abbrev): | |
26613 | Update calls to Fdefine_abbrev. | |
26614 | (write_abbrev): Update for changed data format. | |
26615 | Don't list "system" abbrevs. | |
26616 | (Fexpand_abbrev): Update use count with new data format. | |
26617 | (describe_abbrev): Update for changed data format. | |
26618 | (Fdefine_abbrev_table): Handle the new SYSTEM-FLAG. | |
66458f32 | 26619 | |
048addec | 26620 | * config.in (HAVE_MBSINIT): Add #undef. |
66458f32 | 26621 | |
048addec | 26622 | * strftime.c (mbsinit): Define as no-op if not available. |
66458f32 | 26623 | |
048addec JD |
26624 | * s/sco5.h (LIBX11_SYSTEM) [MOTIF]: Add -lgen. |
26625 | (sigprocmask_set): Conditionalize decl on ! NOT_C_CODE. | |
59a86c99 | 26626 | |
048addec JD |
26627 | * keymap.c (Flookup_key): Error message if key has wrong data type. |
26628 | (Fdefine_key): Add error message for trying to bind [DEL], [RET], etc. | |
26629 | (exclude_key): New variable. | |
59a86c99 | 26630 | |
048addec | 26631 | 2001-12-28 Gerd Moellmann <gerd@gnu.org> |
eb77a5f4 | 26632 | |
048addec JD |
26633 | * xterm.c (x_setup_relief_colors): Don't compute an image's |
26634 | background color if it doesn't have a Pixmap. | |
eb77a5f4 | 26635 | |
048addec JD |
26636 | * xterm.c (notice_overwritten_cursor): Don't depend on |
26637 | output_cursor and updated_area. Compare pixel coordinates with | |
26638 | window's cursor pixel coordinates. | |
26639 | (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): | |
26640 | Call notice_overwritten_cursor with new arg list. | |
26641 | (show_mouse_face): Fix bug setting a row's mouse_face_p flag | |
26642 | unconditionally. | |
eb77a5f4 | 26643 | |
048addec JD |
26644 | * xdisp.c (try_scrolling) <PT below scroll margin>: Add the |
26645 | height of the cursor line to the amount to scroll. | |
eb77a5f4 | 26646 | |
048addec | 26647 | 2001-12-27 Richard M. Stallman <rms@gnu.org> |
bb313871 | 26648 | |
048addec JD |
26649 | * intervals.c (set_point_both): The position after an invisible, |
26650 | intangible character is not an acceptable stopping point. | |
bb313871 | 26651 | |
048addec | 26652 | 2001-12-27 Ken Raeburn <raeburn@gnu.org> |
55b43a63 | 26653 | |
048addec JD |
26654 | * window.c (enlarge_window): In new preserve_before code, convert |
26655 | CURBEG from lisp object to integer before doing arithmetic. | |
6052529b | 26656 | |
048addec | 26657 | 2001-12-27 Richard M. Stallman <rms@gnu.org> |
3ce081f5 | 26658 | |
048addec | 26659 | * bytecode.c (Fbyte_code): Undo previous change. |
3ce081f5 | 26660 | |
048addec | 26661 | 2001-12-26 Kim F. Storm <storm@cua.dk> |
3ce081f5 | 26662 | |
048addec JD |
26663 | * keyboard.c (record_char): Ignore duplicate help-echo events only |
26664 | separated by mouse-movement. When tracking mouse, only record | |
26665 | first and last mouse-movement event in same window. | |
26666 | Don't record mouse-movement events in keyboard macros. | |
3ce081f5 | 26667 | |
048addec | 26668 | 2001-12-25 Richard M. Stallman <rms@gnu.org> |
55b43a63 | 26669 | |
048addec JD |
26670 | * window.c (enlarge_window): New arg PRESERVE_BEFORE. Callers changed. |
26671 | (Fenlarge_window): New arg PRESERVE_BEFORE. | |
111ed14e | 26672 | |
048addec JD |
26673 | * bytecode.c (Fbyte_code): Use Fstring_make_unibyte |
26674 | instead of Fstring_as_unibyte. | |
9fabb2f5 | 26675 | |
048addec | 26676 | 2001-12-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9fabb2f5 | 26677 | |
048addec | 26678 | The following changes remove mocklisp support: |
9fabb2f5 | 26679 | |
048addec | 26680 | * mocklisp.h, mocklisp.c: Files removed. |
111ed14e | 26681 | |
048addec JD |
26682 | * lisp.h: Remove declarations of variables `Vmocklisp_arguments', |
26683 | `Qmocklisp' and `Qmocklisp_arguments'. | |
26684 | Remove prototype of syms_of_mocklisp. | |
2fa0eedf | 26685 | |
048addec | 26686 | * makefile.nt, makefile.w32-in, Makefile.in: Remove mocklisp files. |
d1420435 | 26687 | |
048addec JD |
26688 | * callint.c: Do not include mocklisp.h. |
26689 | (Fcall_interactively): Do not test for mocklisp case. | |
2fa0eedf | 26690 | |
048addec JD |
26691 | * eval.c: Remove variables `Qmocklisp_arguments', |
26692 | `Vmocklisp_arguments' and `Qmocklisp'. Remove prototype of ml_apply. | |
26693 | (Fprogn, Fwhile, Fcommandp, Feval, Ffuncall, funcall_lambda): | |
26694 | Do not test for mocklisp case. | |
26695 | (Fwhile): Remove unused variable `tem'. | |
26696 | (syms_of_eval): Remove variable `moclisp-arguments'. | |
ebcbef4e | 26697 | |
048addec | 26698 | * data.c (wrong_type_argument): Remove mocklisp case. |
5c131048 | 26699 | |
048addec | 26700 | * doc.c (Fdocumentation): Remove mocklisp case. |
5c131048 | 26701 | |
048addec | 26702 | * emacs.c (main): Do not call syms_of_mocklisp. |
5c131048 | 26703 | |
048addec | 26704 | 2001-12-21 Richard M. Stallman <rms@gnu.org> |
96d276c3 | 26705 | |
048addec JD |
26706 | * xfns.c (compute_tip_xy): If tooltip won't fit on the screen |
26707 | to the left or to the right of the pointer, put it against | |
26708 | the left screen edge. | |
6108b49c | 26709 | |
048addec | 26710 | 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il> |
96d276c3 | 26711 | |
048addec JD |
26712 | * Makefile.in (distclean): Remove .gdbinit if we are building |
26713 | outside the source tree. | |
5eea19a4 | 26714 | |
048addec | 26715 | 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il> |
5eea19a4 | 26716 | |
048addec | 26717 | * w32.c (emacs_root_dir): New function. |
5eea19a4 | 26718 | |
048addec | 26719 | * msdos.c (emacs_root_dir): New function. |
5eea19a4 | 26720 | |
048addec JD |
26721 | * fileio.c (Fexpand_file_name) [DOS_NT]: Use the root directory |
26722 | of the current drive as the fallback for default_directory. | |
438e57dd | 26723 | |
048addec JD |
26724 | * dired.c (file_name_completion): Run the elements of |
26725 | completion-ignored-extensions through ENCODE_FILE. | |
438e57dd | 26726 | |
048addec JD |
26727 | * lisp.h (scmp): Remove prototype, since it's now a static |
26728 | function private to dired.c. | |
c88e5347 | 26729 | |
048addec | 26730 | 2001-12-18 Richard M. Stallman <rms@gnu.org> |
c88e5347 | 26731 | |
048addec JD |
26732 | * dired.c (scmp): Function moved from minibuf.c. |
26733 | Delete multibyte handling--used only on encoded strings. | |
59ce1461 | 26734 | |
048addec | 26735 | * minibuf.c (scmp): Function moved to dired.c. |
59ce1461 | 26736 | |
048addec | 26737 | * fns.c (merge): Add QUIT call. |
59ce1461 | 26738 | |
048addec | 26739 | 2001-12-18 Dave Love <fx@gnu.org> |
8727d588 | 26740 | |
048addec JD |
26741 | * Makefile.in (lisp, shortlisp): Add language/utf-8-lang.el, |
26742 | language/georgian.el. | |
8727d588 | 26743 | |
048addec | 26744 | 2001-12-18 Eli Zaretskii <eliz@is.elta.co.il> |
cc63037e | 26745 | |
048addec JD |
26746 | * Makefile.in (lisp, shortlisp): Synchronize with changes to |
26747 | lisp/Makefile.in:DONTCOMPILE. | |
cc63037e | 26748 | |
048addec | 26749 | 2001-12-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
cc63037e | 26750 | |
048addec JD |
26751 | * xdisp.c (window_box_height): Do not return negative values. |
26752 | From Gerd Moellmann <gerd@gnu.org>. | |
cc63037e | 26753 | |
048addec | 26754 | * keyboard.c (head_table): Add missing braces around initializer. |
cc63037e | 26755 | |
048addec | 26756 | * term.c (keys): Likewise. |
deece6f5 | 26757 | |
048addec | 26758 | * xfns.c (x_frame_parms, visual_classes): Likewise. |
deece6f5 | 26759 | |
048addec | 26760 | 2001-12-17 Sam Steingold <sds@gnu.org> |
1b944d9c | 26761 | |
048addec JD |
26762 | * coding.c (DECODE_COMPOSITION_END): Fixed a typo in the last |
26763 | patch (COMPOSING_P, not COMPOSING). | |
28ff4293 | 26764 | |
048addec | 26765 | 2001-12-17 Richard M. Stallman <rms@gnu.org> |
a395ef6a | 26766 | |
048addec | 26767 | * editfns.c (Fcompare_buffer_substrings): Add QUIT to main loop. |
a395ef6a | 26768 | |
048addec JD |
26769 | * coding.c (code_convert_region): Update coding->cmp_data->char_offset |
26770 | before calling decode_coding. | |
9b46de40 | 26771 | |
048addec | 26772 | * charset.c (Fdefine_charset): Call Fupdate_coding_systems_internal. |
9b46de40 | 26773 | |
048addec JD |
26774 | * coding.c (DECODE_COMPOSITION_END): Check for ! COMPOSING_P (coding) |
26775 | instead of only for COMPOSITION_DISABLED. | |
9b46de40 | 26776 | |
048addec | 26777 | 2001-12-16 Richard M. Stallman <rms@gnu.org> |
aff37336 | 26778 | |
048addec | 26779 | * alloc.c (pure_alloc): After overflow, allocate just a small block. |
aff37336 | 26780 | |
048addec | 26781 | * Makefile.in (xmenu.o, xterm.o, fontset.o): Depend on buffer.h. |
b9937f07 | 26782 | |
048addec JD |
26783 | * buffer.h (struct buffer): New field `display_error_modiff'. |
26784 | * buffer.c (reset_buffer): Initialize `display_error_modiff'. | |
b9937f07 | 26785 | |
048addec | 26786 | * window.c (Frecenter): Clear display_error_modiff field. |
2cd23960 | 26787 | |
048addec JD |
26788 | * xdisp.c (redisplay_window_0, redisplay_window_1): New functions. |
26789 | Call redisplay_window, but not if display_error_modiff field says no. | |
26790 | (redisplay_window_error): New function. | |
26791 | (displayed_buffer): New variable. | |
26792 | (redisplay_internal, redisplay_windows): Call the new functions | |
26793 | instead of redisplay_window directly. | |
2cd23960 | 26794 | |
048addec | 26795 | 2001-12-15 Richard M. Stallman <rms@gnu.org> |
2cd23960 | 26796 | |
048addec | 26797 | * keyboard.c (syms_of_keyboard) <double-click-fuzz>: Doc fix. |
2cd23960 | 26798 | |
048addec | 26799 | 2001-12-14 Andrew Innes <andrewi@gnu.org> |
a4184c1c | 26800 | |
048addec | 26801 | * makefile.w32-in (EMACSLOADPATH): Define. |
f9711de4 | 26802 | ($(EMACS)): Run `list-load-path-shadows' after dumping Emacs. |
048addec | 26803 | (bootstrap-temacs): Remove dependency on bootstrap-clean. |
a4184c1c | 26804 | |
048addec | 26805 | 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il> |
f6fa0866 | 26806 | |
048addec JD |
26807 | * xfns.c (x_report_frame_params): Make the scroll-bar-width frame |
26808 | parameter have a numeric value all the time. | |
f6fa0866 | 26809 | |
048addec | 26810 | * w32fns.c (x_report_frame_params): Likewise. |
f4ca4b00 | 26811 | |
048addec | 26812 | 2001-12-12 Richard M. Stallman <rms@gnu.org> |
f4ca4b00 | 26813 | |
048addec | 26814 | * fileio.c (Fwrite_region): Doc fix. |
f4e25f94 | 26815 | |
048addec JD |
26816 | * xdisp.c (CLEAR_FACE_CACHE_COUNT): Redefine as 500. |
26817 | (redisplay_internal): Call clear_image_cache only for window terminals. | |
f4e25f94 | 26818 | |
048addec | 26819 | 2001-12-12 Gerd Moellmann <gerd@gnu.org> |
91c153e2 | 26820 | |
048addec JD |
26821 | * xdisp.c (move_it_vertically_backward): Change heuristic |
26822 | for the case that we didn't move far enough initially. | |
91c153e2 | 26823 | |
048addec JD |
26824 | * window.c (Frecenter): Simplify computation in the case of window |
26825 | system frames and ARG < 0; use window_box_height. | |
65b7d3e7 | 26826 | |
048addec | 26827 | 2001-12-11 Richard M. Stallman <rms@gnu.org> |
65b7d3e7 | 26828 | |
048addec JD |
26829 | * Makefile.in, mem-limits.h, dispnew.c, emacs.c, fileio.c: |
26830 | * process.c, sysdep.c, unexec.c: Test GNU_LINUX, not LINUX. | |
6b5f6311 | 26831 | |
048addec | 26832 | 2001-12-11 Andrew Innes <andrewi@gnu.org> |
6b5f6311 | 26833 | |
048addec JD |
26834 | * insdel.c (make_gap) [DOUG_LEA_MALLOC]: Call make_gap_smaller if |
26835 | arg is negative. | |
be676094 | 26836 | |
048addec | 26837 | 2001-12-11 Richard M. Stallman <rms@gnu.org> |
be676094 | 26838 | |
048addec JD |
26839 | * m/hp800.h: Split the __hpux conditional into the parts |
26840 | that are right for GNU/Linux too and the parts that are not. | |
26841 | Use the former if GNU_LINUX. | |
26842 | (HAVE_ALLOCA, LOAD_AVE_TYPE, LOAD_AVE_CVT): New defs for GNU/Linux. | |
032a857d | 26843 | |
048addec | 26844 | * s/gnu-linux.h (GNU_LINUX): Defined. |
032a857d | 26845 | |
048addec | 26846 | 2001-12-11 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
032a857d | 26847 | |
048addec JD |
26848 | * macros.c, msdos.c, w16select.c: Change doc-string comments to |
26849 | `new style' [w/`doc:' keyword]. | |
032a857d | 26850 | |
048addec | 26851 | 2001-12-10 Jason Rumney <jasonr@gnu.org> |
b6270150 | 26852 | |
048addec JD |
26853 | * w32menu.c (w32_free_submenu_strings): Clear menu item struct |
26854 | before using. | |
b6270150 | 26855 | |
048addec | 26856 | 2001-12-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
792e5cbd | 26857 | |
048addec JD |
26858 | * dosfns.c: Change doc-string comments to `new style' [w/`doc:' |
26859 | keyword]. | |
98cbb9fa | 26860 | |
048addec | 26861 | 2001-12-09 Eli Zaretskii <eliz@is.elta.co.il> |
98cbb9fa | 26862 | |
048addec | 26863 | * dosfns.c (dos-display-scancodes, dos-decimal): Doc fix. |
98cbb9fa | 26864 | |
048addec | 26865 | * s/hpux10.h (srand48): Don't undefine. |
98cbb9fa | 26866 | |
048addec | 26867 | 2001-12-09 Jason Rumney <jasonr@gnu.org> |
792e5cbd | 26868 | |
048addec | 26869 | * w32menu.c (_widget_value): Make `help' field a Lisp_Object. |
78819ebb | 26870 | Add comment to explain where the struct came from. |
048addec JD |
26871 | (single_submenu, w32_menu_show): Set `help' field as Lisp_Object. |
26872 | (add_menu_item): Process pop-up menus first to avoid memory leak. | |
26873 | (add_menu_item, w32_menu_display_help): Use `help' field as | |
26874 | Lisp_Object. | |
26875 | (w32_free_submenu_strings): Only free owner-drawn strings. | |
fa336b91 | 26876 | |
048addec | 26877 | 2001-12-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
fa336b91 | 26878 | |
048addec | 26879 | * COPYING: Moved back. |
fa336b91 | 26880 | |
048addec JD |
26881 | * charset.c (char_to_string_1, translate_char, Fdefine_charset): |
26882 | Add parentheses around && within ||. | |
077907d4 | 26883 | |
048addec | 26884 | * indent.c (compute_motion): Likewise. |
aa2af83a | 26885 | |
048addec | 26886 | * intervals.c (merge_properties_sticky): Likewise. |
60a653f1 | 26887 | |
048addec JD |
26888 | * coding.c (setup_coding_system, shrink_encoding_region) |
26889 | (Fdecode_sjis_char): Likewise. | |
60a653f1 | 26890 | |
048addec | 26891 | 2001-12-07 Andreas Schwab <schwab@suse.de> |
60a653f1 | 26892 | |
048addec JD |
26893 | * xdisp.c (display_mode_element): Don't read past end of string if |
26894 | it ends with '%'. | |
60a653f1 | 26895 | |
048addec JD |
26896 | * alloc.c (inhibit_garbage_collection): Don't exceed value an int |
26897 | can hold. | |
60a653f1 | 26898 | |
048addec JD |
26899 | * data.c (Vmost_positive_fixnum, Vmost_negative_fixnum): |
26900 | Rename from most_positive_fixnum and most_negative_fixnum, resp., and | |
26901 | type changed to Lisp_Object. | |
26902 | (syms_of_data): DEFVAR_LISP them. | |
60a653f1 | 26903 | |
048addec | 26904 | 2001-12-07 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 26905 | |
048addec JD |
26906 | * callproc.c (init_callproc): Set Vdata_directory based on the source |
26907 | location whenever Emacs was run uninstalled. | |
60a653f1 | 26908 | |
048addec | 26909 | 2001-12-06 Paul Eggert <eggert@twinsun.com> |
60a653f1 | 26910 | |
048addec JD |
26911 | * config.in (HAVE_WORKING_VFORK): New #undefs. |
26912 | * process.c (create_process): | |
26913 | Use HAVE_WORKING_VFORK, not HAVE_VFORK. | |
26914 | * m/cnvrgnt.h (HAVE_VFORK): Remove #define. | |
26915 | * m/ibm370aix.h (HAVE_VFORK): Remove #undef. | |
26916 | * m/ibmps2-aix.h (HAVE_VFORK): Remove #define. | |
26917 | * m/intel386.h (HAVE_VFORK): Likewise. | |
26918 | * m/mips-siemens.h (HAVE_VFORK): Likewise. | |
26919 | * m/mips.h (HAVE_VFORK): Likewise. | |
26920 | * s/freebsd.h (vfork): Remove #define. | |
26921 | * s/lynxos.h (HAVE_VFORK): Remove #undef. | |
26922 | * s/usg5-4-2.h: Fix comment about vfork. | |
60a653f1 | 26923 | |
048addec | 26924 | 2001-12-06 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 26925 | |
048addec JD |
26926 | * s/hpux10.h (random): Add undef. |
26927 | (HAVE_RANDOM): Define it just once. | |
60a653f1 | 26928 | |
048addec | 26929 | 2001-12-06 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 26930 | |
048addec | 26931 | * eval.c: Undo last change: the standard syntax is not wanted. |
60a653f1 | 26932 | |
048addec | 26933 | 2001-12-06 Eli Zaretskii <eliz@is.elta.co.il> |
60a653f1 | 26934 | |
048addec JD |
26935 | * xterm.c (x_free_frame_resources) [USE_X_TOOLKIT]: Remove all the |
26936 | scroll bars of the frame before deleting the frame itself. If the | |
26937 | frame has a widget, delete the frame with XtDestroyWidget, and do | |
26938 | not call XDestroyWindow before that. | |
60a653f1 | 26939 | |
048addec | 26940 | 2001-12-06 Kim F. Storm <storm@cua.dk> |
60a653f1 | 26941 | |
048addec | 26942 | * xfns.c (x_report_frame_params): Return actual fringe widths. |
60a653f1 | 26943 | |
048addec | 26944 | * w32fns.c (x_report_frame_params): Return actual fringe widths. |
60a653f1 | 26945 | |
048addec | 26946 | 2001-12-05 Andrew Innes <andrewi@gnu.org> |
60a653f1 | 26947 | |
048addec JD |
26948 | * alloc.c (Fgarbage_collect): Shrink buffer gaps that are |
26949 | excessively large. | |
60a653f1 | 26950 | |
048addec JD |
26951 | * insdel.c (make_gap_larger): New function. |
26952 | (make_gap_smaller): New function. | |
26953 | (make_gap) [USE_MMAP_FOR_BUFFERS || REL_ALLOC]: | |
26954 | Call make_gap_smaller if arg is negative. | |
60a653f1 | 26955 | |
048addec | 26956 | 2001-12-04 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 26957 | |
048addec JD |
26958 | * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal prototype. |
26959 | Pass a dummy argument when calling interrupt_signal. | |
26960 | (parse_menu_item): Mark disabled items before checking for empty def. | |
26961 | (read_char_minibuf_menu_prompt): Make safety more visible. | |
26962 | (read_key_sequence): Add a `first_unbound' variable. | |
26963 | Use it to detect C-c ESC ESC ESC ESC ... cases and drop the | |
26964 | unbound prefix as soon as we can detect it. | |
60a653f1 | 26965 | |
048addec JD |
26966 | * doc.c (Fsnarf_documentation): Add prototype. |
26967 | (get_doc_string): Handle negative arguments. | |
26968 | (Fdocumentation): Use AREF and ASIZE. | |
26969 | Move the calls to get_doc_string to a single place. | |
26970 | Don't confuse an interactive-spec for a docstring reference. | |
26971 | (Fdocumentation_property): Take advantage of the fact that | |
26972 | get_doc_string now ignores the sign of the docstring position. | |
60a653f1 | 26973 | |
048addec | 26974 | * eval.c: Use standard syntax for usage in docstrings. |
60a653f1 | 26975 | |
048addec | 26976 | 2001-12-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 26977 | |
a64387ee | 26978 | * xdisp.c (syms_of_xdisp): Make `tool-bar-button-relief' an option. |
60a653f1 | 26979 | |
048addec | 26980 | 2001-12-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 26981 | |
048addec JD |
26982 | * xterm.c (x_draw_image_relief): Use predefined macro instead of |
26983 | constant when the value of `tool_bar_button_relief' is negative. | |
60a653f1 | 26984 | |
048addec | 26985 | 2001-12-02 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 26986 | |
048addec JD |
26987 | * xmenu.c (menu_highlight_callback): Use `help' field as Lisp_Object. |
26988 | (single_submenu, xmenu_show): Set `help' field as Lisp_Object. | |
60a653f1 | 26989 | |
048addec | 26990 | * fileio.c (read_non_regular): Delete Fsignal call. |
60a653f1 | 26991 | |
048addec | 26992 | 2001-12-01 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 26993 | |
048addec | 26994 | * lisp.h (run_hook_list_with_args): Undo last change. |
60a653f1 | 26995 | |
048addec | 26996 | 2001-12-01 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 26997 | |
048addec | 26998 | * xterm.c (x_draw_fringe_bitmap): Always undo clipping. |
60a653f1 | 26999 | |
048addec | 27000 | 2001-12-01 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 27001 | |
f63fd14e | 27002 | * window.c (Qleft_fringe, Qright_fringe): Remove. Now in frame.c. |
60a653f1 | 27003 | |
048addec JD |
27004 | * w32term.h (WM_MOUSELEAVE, TME_LEAVE, TRACKMOUSEEVENT) |
27005 | [!WM_MOUSELEAVE]: Define. | |
60a653f1 | 27006 | |
048addec JD |
27007 | * w32menu.c (current_popup_menu, get_menu_item_info): |
27008 | (set_menu_item_info): New vars. | |
27009 | (set_frame_menubar): Doc fix clarifying GC interaction with menus. | |
27010 | (w32_menu_show): Set current_popup_menu. | |
27011 | (add_menu_item): Allocate new strings for owner-drawn menu items | |
27012 | and help strings. | |
27013 | Use owner-draw for disabled menu items again. | |
27014 | (w32_menu_display_help): Ignore owner-drawn items and popup menus. | |
27015 | (w32_free_submenu_strings, w32_free_menu_strings): New functions. | |
60a653f1 | 27016 | |
048addec JD |
27017 | * w32fns.c (trackmouse_window, track_mouse_event_fn): New vars. |
27018 | (w32_wnd_proc) <WM_MOUSEMOVE>: Notice when mouse enters frame. | |
27019 | <WM_EXITMENULOOP>: Free menu strings. | |
27020 | <WM_MOUSELEAVE>: Stop tracking mouse. | |
27021 | (x_create_tip_frame): Specify no minibuffer, modeline or fringes. | |
60a653f1 | 27022 | |
048addec JD |
27023 | * w32term.c (w32_read_socket) <WM_MOUSELEAVE>: Cancel help echo |
27024 | and mouse face. | |
60a653f1 | 27025 | |
048addec | 27026 | 2001-12-01 Kim F. Storm <storm@cua.dk> |
60a653f1 | 27027 | |
048addec JD |
27028 | The following changes add left-fringe and right-fringe |
27029 | frame parameters to adjust fringe widths, or remove one or | |
27030 | both fringes. | |
60a653f1 | 27031 | |
048addec JD |
27032 | * frame.h (struct frame): Remove trunc_area_pixel_width and |
27033 | trunc_area_cols fields. | |
27034 | (Qleft_fringe, Qright_fringe): Declare. | |
27035 | (FRAME_RIGHT_FRINGE_WIDTH): New macro. | |
60a653f1 | 27036 | |
048addec JD |
27037 | * frame.c (Qleft_fringe, Qright_fringe): New vars. |
27038 | (syms_of_frame): Initialize them. | |
60a653f1 | 27039 | |
048addec JD |
27040 | * window.c (coordinates_in_window): Handle separate left and right |
27041 | fringe widths. | |
60a653f1 | 27042 | |
048addec JD |
27043 | * xterm.h (struct x_output): Add left_fringe_width, right_fringe_width, |
27044 | and fringe_cols fields. | |
27045 | (FRAME_FRINGE_BITMAP_WIDTH, FRAME_FRINGE_BITMAP_HEIGHT): Remove macros. | |
27046 | (FRAME_X_FRINGE_COLS): Use fringe_cols field. | |
27047 | (FRAME_X_FRINGE_WIDTH): Use fringes_extra field. | |
27048 | (FRAME_X_LEFT_FRINGE_WIDTH): Use left_fringe_width field. | |
27049 | (FRAME_X_RIGHT_FRINGE_WIDTH): Use right_fringe_width field. | |
27050 | (x_compute_fringe_widths): Add prototype. | |
60a653f1 | 27051 | |
048addec JD |
27052 | * xterm.c (zv_height, zv_bits, zv_period): Changed zv bitmap to |
27053 | fill fringe evenly with small dashes. | |
f63fd14e | 27054 | (x_draw_fringe_bitmap): Clear background if necessary. Align and |
048addec JD |
27055 | clip the new ZV bitmap to avoid jitter between rows. |
27056 | (x_draw_row_fringe_bitmaps): Rely on x_draw_fringe_bitmap to clear | |
27057 | background. Don't draw fringe bitmaps if fringe width is zero. | |
27058 | (x_compute_fringe_widths): New function. | |
27059 | (x_new_font, x_set_window_size_1): Use it. | |
60a653f1 | 27060 | |
048addec JD |
27061 | * xfns.c (x_frame_parms): Add `left-fringe' and `right-fringe' parms. |
27062 | (x_set_frame_parameters): Process `font' parameter before other | |
27063 | parameters as fringe widths depend on it. | |
27064 | (x_set_fringe_width): New function. | |
27065 | (x_figure_window_size): Use x_compute_fringe_widths. | |
27066 | (Fx_create_frame): Process `left-fringe' and `right-fringe' frame | |
27067 | parameters. | |
60a653f1 | 27068 | |
048addec JD |
27069 | * widget.c (set_frame_size): Use x_compute_fringe_widths. |
27070 | (EmacsFrameSetCharSize): Ditto. | |
60a653f1 | 27071 | |
048addec JD |
27072 | * w32term.h: Merged changes from xterm.h. |
27073 | * w32term.c: Merged changes from xterm.c. | |
27074 | * w32fns.c: Merged changes from xfns.c. | |
60a653f1 | 27075 | |
048addec | 27076 | 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 27077 | |
048addec | 27078 | * COPYING: Removed. |
60a653f1 | 27079 | |
048addec | 27080 | 2001-11-29 Dave Love <fx@gnu.org> |
60a653f1 | 27081 | |
048addec JD |
27082 | * coding.c (syms_of_coding) <Qchar_coding_system>: Give it an |
27083 | extra extra slot. | |
27084 | (detect_coding_mask): Fix call of detect_coding_iso2022. | |
60a653f1 | 27085 | |
048addec | 27086 | 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 27087 | |
048addec JD |
27088 | * fileio.c (file-name-coding-system) |
27089 | (default-file-name-coding-system): Doc fix (links to referenced | |
27090 | variables added). | |
60a653f1 | 27091 | |
048addec | 27092 | 2001-11-28 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 27093 | |
048addec JD |
27094 | * lisp.h (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5): |
27095 | Add dummy uses of gcproN variables. | |
60a653f1 | 27096 | |
048addec JD |
27097 | * category.c (describe_category, describe_category_1) |
27098 | (Fdescribe_categories): Remove. (Moved to lisp/help-fns.el.) | |
27099 | (syms_of_category): Don't defsubr Sdescribe_categories. | |
60a653f1 | 27100 | |
048addec | 27101 | 2001-11-28 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 27102 | |
048addec | 27103 | * fileio.c (Ffind_file_name_handler): Avoid initializer for `result'. |
60a653f1 | 27104 | |
048addec JD |
27105 | * Makefile.in (lispdir): New variable, referring to build dir. |
27106 | (TAGS-LISP): Find Makefile in $(lispdir), not $(lispsource). | |
60a653f1 | 27107 | |
048addec | 27108 | 2001-11-28 Andrew Innes <andrewi@gnu.org> |
60a653f1 | 27109 | |
048addec JD |
27110 | * w32menu.c (w32_menu_display_help): Actually add the new argument |
27111 | OWNER. | |
60a653f1 | 27112 | |
048addec | 27113 | 2001-11-28 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 27114 | |
048addec JD |
27115 | * w32menu.c (add_menu_item): Do not use owner-draw for disabled |
27116 | menu items. From David Ponce <dponce@wanadoo.fr>. | |
27117 | (w32_dialog_show) [HAVE_DIALOGS]: Compile whole function | |
27118 | conditionally. | |
f63fd14e | 27119 | (w32_menu_display_help): New argument OWNER. Rewritten to store a |
048addec | 27120 | help event in the owner frame's keyboard buffer. |
60a653f1 | 27121 | |
048addec JD |
27122 | * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Display help directly. |
27123 | (Fx_show_tip): Don't subtract last width from row width. | |
27124 | ||
27125 | * w32term.c (w32_read_socket) <WM_MENUSELECT>: Remove. | |
27126 | (w32_read_socket): Use EQ to compare frames. | |
60a653f1 | 27127 | |
048addec | 27128 | 2001-11-28 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 27129 | |
048addec JD |
27130 | * xterm.c (x_draw_glyphs): Don't call notice_overwritten_cursor if |
27131 | OVERLAPS_P. | |
60a653f1 | 27132 | |
048addec | 27133 | 2001-11-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 27134 | |
048addec JD |
27135 | * xdisp.c (message_dolog): Remove unused variables `gcpro2', |
27136 | `gcpro3' and `gcpro4'. | |
60a653f1 | 27137 | |
048addec | 27138 | * coding.c (decode_coding_string): Remove unused variable `gcpro1'. |
60a653f1 | 27139 | |
048addec | 27140 | 2001-11-28 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 27141 | |
048addec | 27142 | * ccl.c: Use AREF and ASIZE. |
60a653f1 | 27143 | |
048addec | 27144 | 2001-11-27 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 27145 | |
048addec JD |
27146 | * lisp.h (run_hook_list_with_args): Remove. |
27147 | (LIST_END_P): Fix call to wrong_type_argument. | |
27148 | (make_fixnum_or_float): Use EMACS_INT rather than int. | |
60a653f1 | 27149 | |
048addec | 27150 | 2001-11-26 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 27151 | |
048addec JD |
27152 | * syntax.c (syms_of_syntax): Remove defsubr of Sdescribe_syntax. |
27153 | (describe_syntax, describe_syntax_1, Fdescribe_syntax): Remove. | |
60a653f1 | 27154 | |
048addec JD |
27155 | * eval.c: Use AREF and ASIZE. |
27156 | (Ffetch_bytecode): Add the file name to the error message. | |
60a653f1 | 27157 | |
048addec JD |
27158 | * fileio.c (Ffind_file_name_handler): Give precedence to handlers |
27159 | which match the end of the file-name. | |
27160 | (Fsubstitute_in_file_name): Don't signal an error if $ENVVAR | |
27161 | is not a valid env var, but leave it as is instead. | |
60a653f1 | 27162 | |
048addec JD |
27163 | * keymap.c (access_keymap): Handle t bindings like nil bindings. |
27164 | Make nil bindings in char-tables transparent. | |
27165 | (store_in_keymap): Turn a nil binding into a t binding for char-tables. | |
60a653f1 | 27166 | |
048addec | 27167 | 2001-11-26 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 27168 | |
048addec JD |
27169 | * textprop.c (set_text_properties_1): Allow START, END in either order. |
27170 | Do nothing if range is empty. | |
60a653f1 | 27171 | |
048addec | 27172 | * Makefile.in (mallocobj): Simplify logic using auxiliary vars. |
60a653f1 | 27173 | |
048addec JD |
27174 | * Makefile.in (mostlyclean): Delete bootstrap-emacs here. |
27175 | (clean): Not here. | |
60a653f1 | 27176 | |
048addec | 27177 | 2001-11-25 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 27178 | |
048addec JD |
27179 | * textprop.c (set_text_properties_1): Clearly mark that the |
27180 | interval should not be empty. | |
60a653f1 | 27181 | |
048addec JD |
27182 | * intervals.c (graft_intervals_into_buffer): |
27183 | Don't call set_text_properties_1 on an empty interval. | |
60a653f1 | 27184 | |
048addec | 27185 | 2001-11-25 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 27186 | |
048addec | 27187 | * unexelf.c (unexec): Index by n, not nn, when checking for ".sbss". |
60a653f1 | 27188 | |
048addec JD |
27189 | * callproc.c (Fcall_process): When we make a bigger buffer for bufptr, |
27190 | don't lose the data in it. | |
60a653f1 | 27191 | |
048addec | 27192 | 2001-11-25 Juanma Barranquero <lektu@terra.es> |
60a653f1 | 27193 | |
048addec | 27194 | * abbrev.c (Fexpand_abbrev): Use Frun_hooks instead of Vrun_hooks. |
60a653f1 | 27195 | |
c62aec78 | 27196 | * buffer.c (Fkill_buffer): Likewise. |
60a653f1 | 27197 | |
c62aec78 | 27198 | * print.c (temp_output_buffer_setup): Likewise. |
60a653f1 | 27199 | |
048addec | 27200 | 2001-11-25 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 27201 | |
048addec | 27202 | * xfaces.c (merge_face_heights): Coerce back to int explicitly. |
60a653f1 | 27203 | |
048addec | 27204 | 2001-11-25 Eli Zaretskii <eliz@is.elta.co.il> |
60a653f1 | 27205 | |
048addec JD |
27206 | * window.c (Fset_window_vscroll): Doc fix. From Kalle Olavi |
27207 | Niemitalo <kon@iki.fi>. | |
60a653f1 | 27208 | |
048addec | 27209 | 2001-11-25 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 27210 | |
048addec | 27211 | * w32term.h (FRAME_X_FRINGE_COLS): No fringe on tip frames. |
60a653f1 | 27212 | |
048addec JD |
27213 | * w32fns.c (x_create_tip_frame): Set frame's fringes_extra to 0. |
27214 | (Fx_show_tip): Block input during frame creation. | |
27215 | (Fx_show_tip, Fx_hide_tip): Enable. | |
60a653f1 | 27216 | |
048addec | 27217 | 2001-11-24 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 27218 | |
048addec JD |
27219 | * lread.c (Fload): Detect recursive load error for more than 3 |
27220 | nestings of the same file. | |
27221 | (Vrecursive_load_depth_limit): Variable deleted. | |
27222 | (syms_of_lread) <recursive-load-depth-limit>: Variable deleted. | |
60a653f1 | 27223 | |
048addec | 27224 | 2001-11-24 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 27225 | |
048addec JD |
27226 | * xfns.c (compute_tip_xy): Initialize root_x and root_y from |
27227 | mouse position if either left or top is not specified. | |
60a653f1 | 27228 | |
048addec JD |
27229 | * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Revert last change. |
27230 | <WM_WINDOWPOSCHANGING>: Let tip frames resize without restriction. | |
27231 | (my_create_tip_window, Fx_show_tip): Adjust size for external border. | |
27232 | (my_create_tip_window): Assign tip_window. | |
27233 | (x_create_tip_frame): Use same defaults as X. | |
27234 | (compute_tip_xy): Remove unused variable. Use full screen width. | |
f63fd14e | 27235 | (Fx_show_tip): Do not double height. Call ShowWindow directly. |
60a653f1 | 27236 | |
048addec JD |
27237 | * w32term.c (x_after_update_window_line): Doc fix. |
27238 | (w32_read_socket): Doc fix. Avoid SET_FRAME_GARBAGED for tip | |
27239 | frames. | |
27240 | <WM_SHOWWINDOW>: Redo mouse highlight when hiding tip frame. | |
60a653f1 | 27241 | |
048addec JD |
27242 | * xdisp.c (prepare_menu_bars) [HAVE_WINDOW_SYSTEM]: Use tip_frame |
27243 | for all Windowed systems. | |
60a653f1 | 27244 | |
048addec | 27245 | 2001-11-23 Eli Zaretskii <eliz@is.elta.co.il> |
60a653f1 | 27246 | |
048addec JD |
27247 | * msdos.c (IT_clear_screen): If the frame's faces are not yet |
27248 | realized, use the initial screen colors to clear the screen. | |
60a653f1 | 27249 | |
048addec | 27250 | 2001-11-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 27251 | |
048addec JD |
27252 | * textprop.c (Fset_text_properties): Remove unused variables |
27253 | `unchanged', `prev_changed', `s' and `len'. | |
60a653f1 | 27254 | |
048addec JD |
27255 | * search.c (Freplace_match): Remove unused variable `inslen'. |
27256 | ||
27257 | * keymap.c (access_keymap): Remove unused variables `c1' and `c2'. | |
27258 | ||
27259 | 2001-11-22 Jason Rumney <jasonr@gnu.org> | |
27260 | ||
27261 | * w32fns.c (x_window_to_frame): Remove irrelevant TODO comment. | |
27262 | (w32_wnd_proc) <WM_MENUSELECT>: Show help echo directly. | |
27263 | (my_create_tip_window): New function. | |
27264 | (x_create_tip_frame, compute_tip_xy): Adapt for Windows. | |
27265 | (Fx_show_tip, Fx_hide_tip) [TEST_TOOLTIPS]: Adapt for Windows. | |
27266 | ||
27267 | 2001-11-20 Jason Rumney <jasonr@gnu.org> | |
27268 | ||
27269 | * coding.h (Vw32_system_coding_system) [WINDOWSNT]: Remove. | |
27270 | (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: Use Vlocale_coding_system. | |
27271 | ||
27272 | * w32fns.c (Vw32_system_coding_system): Remove. | |
27273 | (w32_to_x_font, x_to_w32_font): Use Vlocale_coding_system. | |
27274 | ||
27275 | 2001-11-19 Stefan Monnier <monnier@cs.yale.edu> | |
27276 | ||
27277 | * fileio.c (Fwrite_region): Move choose_write_coding_system to | |
27278 | after build_annotations. | |
27279 | ||
27280 | * syntax.c (describe_syntax): Add dummy arg. | |
27281 | (describe_syntax_1): Update call to describe_vector. | |
27282 | ||
27283 | * category.c (describe_category): Add dummy arg. | |
27284 | (describe_category_1): Update call to describe_vector. | |
27285 | ||
27286 | * keymap.c (Fdescribe_vector): Add `describer' parameter. | |
27287 | (describe_command, describe_translation): Add dummy second param. | |
27288 | (describe_map): Call elt_describer with two arguments. | |
27289 | (describe_vector_princ): Add `fun' parameter. | |
27290 | Call it instead of the hardcoded `princ'. | |
27291 | (describe_vector): Add arg `args'. | |
27292 | Pass it as a new second argument to elt_describer. | |
60a653f1 | 27293 | |
048addec | 27294 | * keymap.h (describe_vector): Update prototype. |
60a653f1 | 27295 | |
048addec JD |
27296 | * frame.c: Don't include keymap.h any more. |
27297 | (keys_of_frame): Remove. | |
60a653f1 | 27298 | |
048addec | 27299 | * lisp.h (keys_of_frame): Remove declaration. |
60a653f1 | 27300 | |
048addec | 27301 | * emacs.c (main): Don't call `keys_of_frame' any more. |
60a653f1 | 27302 | |
048addec | 27303 | 2001-11-14 Andreas Schwab <schwab@suse.de> |
60a653f1 | 27304 | |
048addec JD |
27305 | * unexelf.c [!defined MAP_ANON]: Define MAP_ANON to MAP_ANONYMOUS |
27306 | if defined, 0 otherwise. | |
27307 | (MAP_FAILED): Define if not defined and use it to test mmap failure. | |
27308 | (unexec) [!MAP_ANON]: Use /dev/zero as file to map. | |
60a653f1 | 27309 | |
048addec | 27310 | 2001-11-19 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 27311 | |
048addec | 27312 | * indent.c (current_column_1): Fix handling of scan_bytes for mb chars. |
60a653f1 | 27313 | |
048addec | 27314 | 2001-11-18 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 27315 | |
048addec JD |
27316 | * w32term.c (note_mouse_highlight): Fix type of variable `ignore'. |
27317 | (x_draw_bar_cursor): If the background color of the glyph under | |
27318 | the cursor equals the frame's cursor color, use the glyph's | |
27319 | foreground color for drawing the bar cursor. | |
27320 | (x_after_update_window_line): Clear internal border in different | |
27321 | circumstances. | |
27322 | (w32_set_vertical_scroll_bar): Check for width and height > 0. | |
27323 | (w32_draw_relief_rect): Correct relief by 1 pixel. | |
27324 | (x_set_glyph_string_background_width): | |
27325 | Set extends_to_end_of_line_p if the row's fill_line_p is set and | |
27326 | drawing the last glyph with DRAW_IMAGE_{RAISED,SUNKEN}. | |
27327 | (x_display_and_set_cursor): If cursor_in_echo_area, use NO_CURSOR | |
27328 | if cursor_in_non_selected_windows is false. | |
27329 | (show_mouse_face): Clean up. Recognize overwritten cursor differently. | |
27330 | (x_draw_glyphs): Remove parameters REAL_START and REAL_END. | |
27331 | Notice if cursor gets overwritten. | |
27332 | (notice_overwritten_cursor): Renamed from | |
27333 | note_overwritten_text_cursor. Rewritten to take glyph widths | |
27334 | into account, and to take X positions as parameters. | |
27335 | (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p | |
27336 | around call to x_draw_glyphs. | |
27337 | (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and | |
27338 | `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background | |
27339 | color to use for image glyph reliefs. | |
27340 | (x_draw_image_relief): Accept zero tool_bar_button_relief. | |
27341 | (glyph_rect): Remove unused variable `area'. | |
60a653f1 | 27342 | |
048addec JD |
27343 | * w32fns.c (x_set_frame_parameters): Avoid infinite recursion for |
27344 | some items. | |
27345 | (x_set_internal_border_width): Set frame garbaged when window | |
27346 | doesn't exist yet. | |
27347 | (Fx_create_frame): Accept zero tool_bar_button_relief. | |
27348 | (x_clear_image_1, four_corners_best, image_background) | |
27349 | (image_background_transparent): New functions. | |
27350 | (xpm_format, png_format, jpeg_format, tiff_format, gif_format) | |
27351 | (gs_format): Add `:background' entry. | |
27352 | (lookup_image): Set IMG's background color if specified. | |
27353 | (pbm_load, xbm_load_image, png_load): Set IMG's background field | |
27354 | when appropriate. | |
27355 | (x_clear_image_1): Reset `background_valid' and | |
27356 | `background_transparent_valid' fields. | |
27357 | (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of | |
27358 | calculating it here. Set IMG's background_transparent field. | |
27359 | (enum xpm_keyword_index): Add XPM_BACKGROUND. | |
27360 | (enum png_keyword_index): Add PNG_BACKGROUND. | |
27361 | (enum jpeg_keyword_index): Add JPEG_BACKGROUND. | |
27362 | (enum tiff_keyword_index): Add TIFF_BACKGROUND. | |
27363 | (enum gif_keyword_index): Add GIF_BACKGROUND. | |
27364 | (enum gs_keyword_index): Add GS_BACKGROUND. | |
27365 | (pbm_load, png_load, jpeg_load, tiff_load, gif_load): | |
27366 | Pre-calculate image background color where necessary. | |
27367 | (x_create_x_image_and_pixmap, xbm_load, gs_load): | |
27368 | Use display info's n_cbits entry for screen depth. | |
27369 | (Fx_show_tip): Remove unused variables `buffer', `top', | |
27370 | `left', `max_width' and `max_height'. | |
60a653f1 | 27371 | |
048addec | 27372 | * w32menu.c (w32_menu_show, push_menu_pane): Doc fixes. |
60a653f1 | 27373 | |
048addec | 27374 | 2001-11-18 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 27375 | |
048addec | 27376 | * puresize.h (BASE_PURESIZE): Increase to 750000. |
60a653f1 | 27377 | |
048addec | 27378 | 2001-11-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 27379 | |
048addec | 27380 | * frame.c (Fframe_live_p): Doc fix. |
60a653f1 | 27381 | |
048addec | 27382 | 2001-11-18 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 27383 | |
048addec JD |
27384 | * xdisp.c (message_dolog_marker1, message_dolog_marker2) |
27385 | (message_dolog_marker3): New static variables hold three markers. | |
27386 | (syms_of_xdisp): Initialize and staticpro them. | |
27387 | (message_dolog): Use message_dolog_marker1..3 instead of | |
27388 | allocating markers each time. Unchain them when done. | |
60a653f1 | 27389 | |
048addec | 27390 | 2001-11-17 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 27391 | |
048addec | 27392 | * doc.c (Fsnarf_documentation): Doc fix. |
60a653f1 | 27393 | |
048addec | 27394 | 2001-11-17 Andreas Schwab <schwab@suse.de> |
60a653f1 | 27395 | |
048addec | 27396 | * xterm.c (note_mouse_highlight): Fix type of variable `ignore'. |
60a653f1 | 27397 | |
048addec | 27398 | 2001-11-17 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 27399 | |
048addec | 27400 | * fileio.c (Fwrite_region): Avoid initializer for Lisp_Object. |
60a653f1 | 27401 | |
048addec | 27402 | 2001-11-17 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 27403 | |
048addec | 27404 | * xterm.c (notice_overwritten_cursor): Take care of end < 0 case. |
60a653f1 | 27405 | |
048addec | 27406 | 2001-11-17 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 27407 | |
048addec JD |
27408 | * xdisp.c (tool_bar_item_info): Avoid calling Fget_text_property |
27409 | with invalid position. | |
60a653f1 | 27410 | |
048addec | 27411 | 2001-11-16 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 27412 | |
048addec | 27413 | * syswait.h: Delete conditionals for HPUX7, ISC 4.1, and convex. |
60a653f1 | 27414 | |
048addec JD |
27415 | * s/isc4-1.h (HAVE_SYS_WAIT_H): Add #undef. |
27416 | * s/hpux.h (HAVE_SYS_WAIT_H): Add #undef. | |
27417 | * s/hpux8.h (HAVE_SYS_WAIT_H): Define it. | |
60a653f1 | 27418 | |
048addec | 27419 | * m/convex.h (HAVE_SYS_WAIT_H): Add #undef. |
60a653f1 | 27420 | |
048addec | 27421 | 2001-11-16 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 27422 | |
048addec JD |
27423 | * fileio.c (build_annotations): Split off the tail. |
27424 | (build_annotations_2): New fun. Extracted from build_annotations. | |
27425 | (Fwrite_region): Split the call to build_annotations into two | |
27426 | calls to build_annotations and build_annotations_2. | |
077907d4 | 27427 | |
048addec | 27428 | 2001-11-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
1756e2fb | 27429 | |
048addec JD |
27430 | * sysdep.c (wait_for_kbd_input) [VMS]: Do not call |
27431 | clear_waiting_for_input with argument. | |
1756e2fb | 27432 | |
048addec | 27433 | * xterm.h (x_update_cursor): Remove duplicated prototype. |
06e8f738 | 27434 | |
048addec | 27435 | * keyboard.h (clear_waiting_for_input): Remove duplicated prototype. |
06e8f738 | 27436 | |
048addec | 27437 | * xterm.c (waiting_for_input): Remove unnecessary declaration. |
fa336b91 | 27438 | |
048addec | 27439 | * data.c (Ftimes, Fquo, Frem, Fmod): Doc fix. |
fa336b91 | 27440 | |
048addec | 27441 | 2001-11-16 Stefan Monnier <monnier@cs.yale.edu> |
fa336b91 | 27442 | |
048addec JD |
27443 | * fileio.c (choose_write_coding_system): New fun, extracted |
27444 | from Fwrite_region. | |
27445 | (Fwrite_region): Use it. | |
fa336b91 | 27446 | |
048addec JD |
27447 | * eval.c (max_specpdl_size, max_lisp_eval_depth): Use EMACS_INT. |
27448 | (funcall_lambda, run_hook_with_args): Make static and add prototype. | |
27449 | (ml_apply, find_handler_clause): Add prototype. | |
fa336b91 | 27450 | |
048addec | 27451 | 2001-11-16 Eli Zaretskii <eliz@gnu.org> |
fa336b91 | 27452 | |
048addec | 27453 | * config.in: Add #undef HAVE_COFF_H. |
fa336b91 | 27454 | |
048addec JD |
27455 | * unexec.c (coff.h): Don't include unless HAVE_COFF_H is defined. |
27456 | Required for ISC 4.1. | |
fa336b91 | 27457 | |
048addec | 27458 | 2001-11-16 Eli Zaretskii <eliz@is.elta.co.il> |
fa336b91 | 27459 | |
52eb0373 | 27460 | * syswait.h (HAVE_SYS_WAIT_H): Undef for ISC 4.1. Reported by |
048addec | 27461 | Andrew Wiseman <a.wiseman@btclick.com>. |
fa336b91 | 27462 | |
048addec | 27463 | 2001-11-16 Kim F. Storm <storm@cua.dk> |
fa336b91 | 27464 | |
048addec JD |
27465 | The following changes are made to clean up the various internal |
27466 | references to the fringes to actually use the term `fringe' for | |
27467 | them. Previously, they were called `flags areas', `bitmap areas', | |
27468 | `left/right side of windows', or implicitly as `flags' or | |
27469 | `bitmaps': | |
fa336b91 | 27470 | |
048addec | 27471 | * dispextern.h (FRINGE_FACE_ID): Renamed from BITMAP_AREA_FACE_ID. |
f63fd14e | 27472 | Comments fixed. Use renamed symbols. |
06e8f738 | 27473 | |
f63fd14e | 27474 | * dispnew.c: Comment fix. Use renamed symbols. |
06e8f738 | 27475 | |
048addec JD |
27476 | * frame.h (FRAME_FRINGE_COLS): Renamed from FRAME_FLAGS_AREA_COLS. |
27477 | (FRAME_FRINGE_WIDTH): Renamed from FRAME_FLAGS_AREA_WIDTH. | |
27478 | (FRAME_LEFT_FRINGE_WIDTH): Renamed from FRAME_LEFT_FLAGS_AREA_WIDTH. | |
9ce647f4 | 27479 | |
048addec | 27480 | * msdos.c: Comment fix. |
9ce647f4 | 27481 | |
048addec | 27482 | * w32fns.c: Use renamed symbols. |
9b784ab8 | 27483 | |
f63fd14e | 27484 | * w32term.c: Comment fixes. Use renamed symbols. |
048addec JD |
27485 | (fringe_bitmap_type): Renamed from bitmap_type. |
27486 | (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. | |
27487 | (w32_draw_fringe_bitmap): Renamed from w32_draw_bitmap. | |
27488 | (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. | |
9f7e52b4 | 27489 | |
f63fd14e | 27490 | * w32term.h: Comment fixes. Use renamed symbols. |
048addec JD |
27491 | (fringes_extra): Renamed from flags_areas_extra. |
27492 | (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. | |
27493 | (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. | |
27494 | (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS. | |
27495 | (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH. | |
27496 | (FRAME_X_LEFT_FRINGE_WIDTH): | |
27497 | Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH. | |
27498 | (FRAME_X_RIGHT_FRINGE_WIDTH): | |
27499 | Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH. | |
9f7e52b4 | 27500 | |
048addec | 27501 | * widget.c: Use renamed symbols. |
9f7e52b4 | 27502 | |
f63fd14e | 27503 | * window.c: Comment fixes. Use renamed symbols. |
048addec | 27504 | (coordinates-in-window-p): Doc fix. |
fa336b91 | 27505 | |
f63fd14e | 27506 | * xdisp.c: Comment fixes. Use renamed symbols. |
34e5d0af | 27507 | |
048addec | 27508 | * xfaces.c (realize_basic_faces): Use FRINGE_FACE_ID. |
9b784ab8 | 27509 | |
048addec | 27510 | * xfns.c: Use renamed symbols. |
89512fcd | 27511 | |
f63fd14e | 27512 | * xterm.c: Comment fixes. Use renamed symbols. |
048addec JD |
27513 | (fringe_bitmap_type): Renamed from bitmap_type. |
27514 | (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. | |
27515 | (x_draw_fringe_bitmap): Renamed from x_draw_bitmap. | |
27516 | (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. | |
89512fcd | 27517 | |
f63fd14e | 27518 | * xterm.h: Comment fixes. Use renamed symbols. |
048addec JD |
27519 | (fringes_extra): Renamed from flags_areas_extra. |
27520 | (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. | |
27521 | (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. | |
27522 | (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS. | |
27523 | (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH. | |
27524 | (FRAME_X_LEFT_FRINGE_WIDTH): | |
27525 | Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH. | |
27526 | (FRAME_X_RIGHT_FRINGE_WIDTH): | |
27527 | Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH. | |
27528 | ||
27529 | 2001-11-15 Jason Rumney <jasonr@gnu.org> | |
27530 | ||
27531 | * w32menu.c (add-menu-item): Make help_echo and radio buttons | |
27532 | work for most menu items. From David Ponce | |
27533 | <david.ponce@wanadoo.fr>. | |
27534 | ||
27535 | 2001-11-15 Gerd Moellmann <gerd@gnu.org> | |
27536 | ||
27537 | * xfns.c (x_set_frame_parameters): Revert change of 2001-11-07. | |
27538 | Some x_set_* function expect to be called even if old and new | |
27539 | value are equal. | |
27540 | ||
27541 | * xdisp.c (build_desired_tool_bar_string): Accept zero | |
27542 | tool_bar_button_relief. | |
27543 | ||
27544 | * xfns.c (Fx_create_frame): Accept zero tool_bar_button_relief. | |
27545 | ||
27546 | * xterm.c (x_draw_image_relief): Accept zero tool_bar_button_relief. | |
27547 | ||
27548 | * xterm.c (x_draw_bar_cursor): If the background color of the | |
27549 | glyph under the cursor equals the frame's cursor color, use | |
27550 | the glyph's foreground color for drawing the bar cursor. | |
27551 | ||
27552 | * dispnew.c (direct_output_forward_char): Fix character/byte | |
27553 | position comparison. | |
7d18891d | 27554 | |
048addec | 27555 | 2001-11-15 Miles Bader <miles@gnu.org> |
d2936d21 | 27556 | |
048addec JD |
27557 | * editfns.c (find_field): Add BEG_LIMIT and END_LIMIT parameters. |
27558 | (Fdelete_field, Ffield_string, Ffield_string_no_properties): | |
27559 | Update arguments to find_field. | |
27560 | (Ffield_beginning, Ffield_end): Add LIMIT param, pass to find_field. | |
27561 | (Fconstrain_to_field): Use LIMIT arg to shorten search time. | |
27562 | * lisp.h (Ffield_beginning, Ffield_end): Update EXFUN decl. | |
27563 | * minibuf.c (Fminibuffer_prompt_end): Update args to Ffield_end. | |
7d18891d | 27564 | |
048addec | 27565 | 2001-11-14 Richard M. Stallman <rms@gnu.org> |
7d18891d | 27566 | |
048addec | 27567 | * editfns.c (Fpropertize): Allow call with 1 arg. |
7d18891d | 27568 | |
048addec JD |
27569 | * dispextern.h (image_background, image_background_transparent): |
27570 | Conditionalize on HAVE_X_WINDOWS. | |
7d18891d | 27571 | |
048addec | 27572 | 2001-11-13 Richard M. Stallman <rms@gnu.org> |
7d18891d | 27573 | |
048addec | 27574 | * print.c (Fprin1_to_string): Doc fix. |
7d18891d | 27575 | |
048addec | 27576 | * sunfns.c (Fsun_change_cursor_icon): Doc fix. |
7d18891d | 27577 | |
048addec | 27578 | * floatfns.c (Fceiling, Ffloor): Doc fixes. |
7d18891d | 27579 | |
048addec | 27580 | * filelock.c (Funlock_buffer, Ffile_locked_p): Doc fixes. |
7d18891d | 27581 | |
048addec | 27582 | * fileio.c (Ffile_accessible_directory_p): Doc fix. |
7d18891d | 27583 | |
048addec | 27584 | * eval.c (syms_of_eval): Doc fix. |
7d18891d | 27585 | |
048addec | 27586 | * coding.c (syms_of_coding): Doc fix. |
7d18891d | 27587 | |
048addec | 27588 | * doc.c (Fsnarf_documentation): Doc fix. |
7d18891d | 27589 | |
048addec | 27590 | * dispnew.c (syms_of_display): Doc fix. |
9474c847 | 27591 | |
048addec | 27592 | * category.c (Fget_unused_category): Doc fix. |
9474c847 | 27593 | |
048addec | 27594 | * buffer.c (syms_of_buffer): Doc fixes. |
e3059a5d | 27595 | |
048addec | 27596 | 2001-11-14 Eli Zaretskii <eliz@is.elta.co.il> |
e3059a5d | 27597 | |
048addec | 27598 | * print.c (prin1, print): Doc fix. |
e3059a5d | 27599 | |
048addec | 27600 | 2001-11-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
b3700ae7 | 27601 | |
048addec JD |
27602 | * fontset.h: Remove declarations of variables |
27603 | `Vhighlight_wrong_size_font' and `Vclip_large_size_font'. | |
b3700ae7 | 27604 | |
048addec JD |
27605 | * fontset.c: Remove variables `Vhighlight_wrong_size_font' and |
27606 | `Vclip_large_size_font'. | |
eae936e2 | 27607 | |
048addec | 27608 | 2001-11-13 Jason Rumney <jasonr@gnu.org> |
4bb962be | 27609 | |
048addec | 27610 | * w32fns.c: Doc fix. |
ddb67bdc | 27611 | |
048addec | 27612 | 2001-11-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
3467c402 | 27613 | |
048addec | 27614 | * xfaces.c (Fface_attributes_as_vector): Doc fix. |
3467c402 | 27615 | |
048addec | 27616 | * fns.c: Doc fix. |
6e1b91d7 | 27617 | |
048addec | 27618 | * emacs.c: Doc fix. |
1c1d3d69 | 27619 | |
048addec | 27620 | * coding.c: Doc fix. |
1c1d3d69 | 27621 | |
048addec JD |
27622 | * cmds.c, composite.c, dired.c, doc.c, filelock.c, floatfns.c, |
27623 | * fontset.c, insdel.c, keymap.c: Change doc-string comments to | |
27624 | `new style' [w/`doc:' keyword]. | |
b6f4c7ba | 27625 | |
048addec | 27626 | 2001-11-12 Richard M. Stallman <rms@gnu.org> |
b6f4c7ba | 27627 | |
048addec JD |
27628 | * xterm.c (XTread_socket): Don't update focus for EnterNotify or |
27629 | LeaveNotify events. Only FocusIn and FocusOut do that now. | |
27630 | (x_display_and_set_cursor): Do display hollow cursors in active | |
27631 | minibuffer windows when they are not selected. | |
b6f4c7ba | 27632 | |
048addec | 27633 | 2001-11-12 Jason Rumney <jasonr@gnu.org> |
a89f435d | 27634 | |
048addec | 27635 | * w32console.c, w32fns.c, w32menu.c, w32proc.c, w32select.c, |
f63fd14e JB |
27636 | * w32term.c: Change doc-string comments to `new style' |
27637 | [w/`doc:' keyword]. Doc fixes. | |
a89f435d | 27638 | |
048addec JD |
27639 | * w32fns.c: Don't define max. |
27640 | (Fx_open_connection): Only execute once. | |
a4cd0cd7 | 27641 | |
048addec | 27642 | 2001-11-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
eafb659a | 27643 | |
048addec JD |
27644 | * ccl.c: Change macros to use do-while block instead of if-else. |
27645 | Use braces to follow GNU Coding Standards. | |
eafb659a | 27646 | |
048addec | 27647 | 2001-11-11 Richard M. Stallman <rms@gnu.org> |
a4cd0cd7 | 27648 | |
048addec | 27649 | * sysdep.c (child_setup_tty): Don't clear ICRNL or INLCR. |
a4cd0cd7 | 27650 | |
048addec | 27651 | * lread.c (read_escape): Use end_of_file_error for reporting eof. |
a4cd0cd7 | 27652 | |
048addec JD |
27653 | * insdel.c (replace_range): Use adjust_markers_for_replace |
27654 | instead of adjust_markers_for_delete and adjust_markers_for_insert. | |
a4cd0cd7 | 27655 | |
78819ebb | 27656 | * intervals.h (set_text_properties, set_text_properties_1): Declare. |
a4cd0cd7 | 27657 | |
048addec JD |
27658 | * textprop.c (set_text_properties_1): New subroutine |
27659 | broken out of set_text_properties. | |
27660 | (set_text_properties): Use set_text_properties_1. | |
91823618 | 27661 | |
048addec JD |
27662 | * intervals.c (graft_intervals_into_buffer): |
27663 | Use set_text_properties_1 to clear out properties. | |
91823618 | 27664 | |
048addec JD |
27665 | * search.c (Freplace_match): Use replace_range to insert |
27666 | and delete. Don't request property inheritance from | |
27667 | surrounding text. | |
86928dfb | 27668 | |
048addec | 27669 | 2001-11-10 Jason Rumney <jasonr@gnu.org> |
86928dfb | 27670 | |
048addec | 27671 | * w32fns.c (enum_font_cb2): Use leading @ on face name to detect |
f63fd14e | 27672 | vertical fonts. Allow them if face name is explicitly specified. |
048addec | 27673 | Do not give up if we find a font that cannot be converted to an xlfd. |
40ef1eda | 27674 | |
048addec | 27675 | 2001-11-10 Gerd Moellmann <gerd@gnu.org> |
ab8469eb | 27676 | |
048addec JD |
27677 | * unexelf.c (unexec): Use mmap/munmap to allocate buffers |
27678 | instead of malloc/free. | |
a78e0303 | 27679 | |
048addec | 27680 | 2001-11-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
40ef1eda | 27681 | |
048addec JD |
27682 | * xfaces.c (merge_face_vectors): Use braces to follow GNU |
27683 | Coding Standards. | |
27684 | (Finternal_set_lisp_face_attribute): Likewise. | |
fabf4a91 | 27685 | |
048addec | 27686 | * buffer.c (Fbury_buffer): Likewise. |
0c99b139 | 27687 | |
048addec | 27688 | * indent.c (current_column_1): Remove unused variable `prev_col'. |
0c99b139 | 27689 | |
048addec JD |
27690 | * coding.c (encode_coding): Use precomputed value of `src'. |
27691 | (encode_coding): Remove unused variable `src_end'. | |
27692 | (code_convert_region): Remove unused variables `count'. | |
830ddd77 | 27693 | |
048addec | 27694 | 2001-11-07 Jason Rumney <jasonr@gnu.org> |
830ddd77 | 27695 | |
048addec JD |
27696 | * w32term.c (x_display_and_set_cursor): Do not move system caret |
27697 | if cursor_glyph is NULL. | |
55c6d645 | 27698 | |
048addec | 27699 | 2001-11-07 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
55c6d645 | 27700 | |
048addec | 27701 | * keymap.c (access_keymap): Fix compilation error. |
5de38842 | 27702 | |
048addec | 27703 | 2001-11-07 Miles Bader <miles@gnu.org> |
7a4564a4 | 27704 | |
048addec | 27705 | * xfns.c (x_set_frame_parameters): Avoid infinite recursion. |
5de38842 | 27706 | |
048addec | 27707 | 2001-11-07 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4fa23df5 | 27708 | |
048addec JD |
27709 | * intervals.c (graft_intervals_into_buffer): |
27710 | Remove #ifdef'd-out code. | |
27711 | (graft_intervals_into_buffer): Remove unused variable `middle'. | |
4fa23df5 | 27712 | |
048addec JD |
27713 | * lread.c (Feval_region): Remove obsolete #ifdef'd-out |
27714 | code (eval-current-buffer). | |
27715 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
7a6a97d7 | 27716 | |
048addec | 27717 | 2001-11-06 Richard M. Stallman <rms@gnu.org> |
c191d13c | 27718 | |
048addec | 27719 | * keymap.c (access_keymap): Don't use initializers on Lisp_Object. |
7a6a97d7 | 27720 | |
048addec | 27721 | 2001-11-06 Stefan Monnier <monnier@cs.yale.edu> |
44dc78e0 | 27722 | |
048addec | 27723 | * lread.c (read1): Fix behavior with nested backquoting. |
44dc78e0 | 27724 | |
048addec JD |
27725 | * keyboard.c (make_lispy_event): Check integerness and fix |
27726 | Lisp_Object/int mixup. | |
17893c65 | 27727 | |
048addec | 27728 | 2001-11-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4d994a79 | 27729 | |
048addec | 27730 | * fns.c (copy_hash_table): Remove unused variable `v'. |
d5360cc7 | 27731 | |
048addec JD |
27732 | * fontset.c (fontset_font_pattern): Remove unused variable |
27733 | `family_registry'. | |
d5360cc7 | 27734 | |
048addec | 27735 | * indent.c (current_column_1): Remove unused variable `prev_col'. |
d5360cc7 | 27736 | |
048addec | 27737 | 2001-11-05 Richard M. Stallman <rms@gnu.org> |
96238a5a | 27738 | |
048addec | 27739 | * m/news-risc.h (BROKEN_PROTOTYPES): Defined. |
96238a5a | 27740 | |
048addec JD |
27741 | * buffer.c (Fkill_buffer): Don't delete auto save file |
27742 | if buffer is modified. | |
d9d54213 | 27743 | |
048addec | 27744 | 2001-11-05 Andrew Innes <andrewi@gnu.org> |
d9d54213 | 27745 | |
048addec JD |
27746 | * w32proc.c (Fw32_set_keyboard_layout): Use CHECK_NUMBER_CAR and |
27747 | CHECK_NUMBER_CDR. | |
b116830b | 27748 | |
048addec | 27749 | 2001-11-05 Richard M. Stallman <rms@gnu.org> |
b116830b | 27750 | |
048addec | 27751 | * unexelf.c (unexec): Minor changes; clean up comments. |
3297e2a1 | 27752 | |
048addec | 27753 | 2001-11-05 Sam Steingold <sds@gnu.org> |
3297e2a1 | 27754 | |
048addec | 27755 | * w32term.c (x_display_and_set_cursor): Fix w32 compilation error. |
6fb8339c | 27756 | |
048addec | 27757 | 2001-11-05 Andreas Schwab <schwab@suse.de> |
6fb8339c | 27758 | |
048addec | 27759 | * sound.c (sound_perror): Save errno from being clobbered. |
7dd73b78 | 27760 | |
048addec | 27761 | 2001-11-05 Dale Hagglund <rdh@yottayotta.com> |
7dd73b78 | 27762 | |
048addec JD |
27763 | * unexelf.c (unexec): Don't use `mmap'. Instead, read and write |
27764 | the program image directly. | |
982f6c7e | 27765 | |
048addec | 27766 | 2001-11-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
d31053f9 | 27767 | |
048addec | 27768 | * buffer.h (Fbuffer_local_value): Add prototype. |
d31053f9 | 27769 | |
048addec | 27770 | 2001-11-04 Richard M. Stallman <rms@gnu.org> |
d31053f9 | 27771 | |
048addec JD |
27772 | * buffer.c (Fbuffer_local_value): Remove extra args from CHECK_SYMBOL |
27773 | and CHECK_BUFFER. | |
d31053f9 | 27774 | |
048addec JD |
27775 | * keyboard.c (read_char): Use Fcar and Fcdr, not Fnth. |
27776 | (record_char): Likewise. | |
d31053f9 | 27777 | |
048addec JD |
27778 | * keyboard.c (make_lispy_event): Don't insist a drag event must |
27779 | move to a different buffer position. Instead, check for moving at | |
27780 | least double_click_fuzz. | |
982f6c7e | 27781 | |
048addec | 27782 | * fns.c (Fmake_hash_table): Use XCAR and XCDR, not Fnth and Flength. |
830047fd | 27783 | |
048addec | 27784 | * keyboard.c (echo-area-clear-hook): Undo Oct 29 change. |
b116830b | 27785 | |
048addec JD |
27786 | * indent.c (current_column_1, Fmove_to_column): Separate the code |
27787 | for display-table glyphs from the code for buffer text, to fix | |
27788 | bugs in the former. | |
830047fd | 27789 | |
048addec | 27790 | 2001-11-04 Michael Welsh Duggan <md5i@cs.cmu.edu> |
b116830b | 27791 | |
048addec JD |
27792 | * buffer.c (Fbuffer_local_value): New function. |
27793 | (syms_of_buffer): Defsubr it. | |
2df5238c | 27794 | |
048addec JD |
27795 | * xterm.c, w32term.c (x_display_and_set_cursor): Use buffer-local |
27796 | value of `cursor-in-non-selected-windows'. | |
4e397688 | 27797 | |
048addec JD |
27798 | * lisp.h (Qcursor_in_non_selected_windows): New declaration. |
27799 | * xdisp.c (Qcursor_in_non_selected_windows): New variable. | |
27800 | (syms_of_xdisp): Initialize it. | |
48b0f3ae | 27801 | |
048addec | 27802 | 2001-11-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2df5238c | 27803 | |
048addec | 27804 | * xfns.c (Fx_create_frame): Doc fix. |
3ecaf7e5 | 27805 | |
048addec JD |
27806 | * coding.c: Change doc-string comments to `new style' [w/`doc:' |
27807 | keyword]. | |
3ecaf7e5 | 27808 | |
048addec JD |
27809 | * eval.c (top_level_value, top_level_set): Remove commented and |
27810 | #ifdef'd-out code. | |
27811 | (Fdefvar): Fix usage in doc-string. | |
3ecaf7e5 | 27812 | |
048addec | 27813 | 2001-11-03 Richard M. Stallman <rms@gnu.org> |
3ecaf7e5 | 27814 | |
048addec | 27815 | * xfns.c: Include unistd.h, if it exists. |
8db2e33b | 27816 | |
048addec | 27817 | * editfns.c: Move the include of ctype.h after unistd.h. |
8db2e33b | 27818 | |
048addec | 27819 | * gmalloc.c: Test BROKEN_PROTOTYPES. |
aed29b97 | 27820 | |
048addec | 27821 | 2001-11-03 Ken Raeburn <raeburn@gnu.org> |
aed29b97 | 27822 | |
048addec JD |
27823 | * lisp.h (CHECK_STRING_CAR): New macro. |
27824 | * lread.c (Fload): Use XSETCARFASTINT, XSETCDRFASTINT instead of | |
27825 | treating XCAR and XCDR as lvalues. | |
27826 | (openp): Use CHECK_STRING_CAR. | |
27827 | (read_list): Use XSETCDR instead of treating XCDR as lvalue. | |
aed29b97 | 27828 | |
048addec | 27829 | 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il> |
6cb16f95 | 27830 | |
048addec JD |
27831 | * s/sco5.h (sigprocmask_set): Declare as extern SIGMASKTYPE. |
27832 | (SIGMASKTYPE): Define. | |
1b1acc13 | 27833 | |
048addec | 27834 | * syssignal.h (sigunblock): Don't define if already defined. |
020f9b38 | 27835 | |
048addec | 27836 | 2001-11-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
020f9b38 | 27837 | |
048addec JD |
27838 | * eval.c (debugger_may_continue, Vdebug_ignored_errors) |
27839 | (call_debugger, Fcondition_case, skip_debugger, unbind_to): | |
27840 | Fix typos in comments. | |
6cb16f95 | 27841 | |
048addec JD |
27842 | * mocklisp.c (Fml_defun, Fml_while, Fml_substr): Remove commented |
27843 | and #ifdef'd-out code. | |
27844 | Fix and reindent comments. | |
6cb16f95 | 27845 | |
048addec | 27846 | * mocklisp.h: Remove comment which is a copy of comment in mocklisp.c. |
6cb16f95 | 27847 | |
048addec JD |
27848 | * category.h (CHECK_CATEGORY, CHECK_CATEGORY_SET): Remove unused |
27849 | argument `i' in macros. | |
6cb16f95 | 27850 | |
048addec JD |
27851 | * frame.h (CHECK_FRAME, CHECK_LIVE_FRAME): Remove unused argument |
27852 | `i' in macros. | |
7e9d3c2f | 27853 | |
048addec JD |
27854 | * lisp.h (CHECK_STRING_OR_BUFFER, CHECK_HASH_TABLE, CHECK_LIST) |
27855 | (CHECK_STRING, CHECK_CONS, CHECK_SYMBOL, CHECK_CHAR_TABLE) | |
27856 | (CHECK_VECTOR, CHECK_VECTOR_OR_CHAR_TABLE, CHECK_BUFFER) | |
27857 | (CHECK_WINDOW, CHECK_LIVE_WINDOW, CHECK_PROCESS, CHECK_NUMBER) | |
27858 | (CHECK_NATNUM, CHECK_MARKER, CHECK_NUMBER_COERCE_MARKER) | |
27859 | (CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT) | |
27860 | (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER, CHECK_OVERLAY) | |
27861 | (CHECK_NUMBER_CAR, CHECK_NUMBER_CDR): Remove unused argument `i' | |
27862 | in macros. | |
7e9d3c2f | 27863 | |
048addec JD |
27864 | * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, |
27865 | * casefiddle.c, category.c, ccl.c, charset.c, cmds.c, coding.c, | |
27866 | * composite.c, data.c, dired.c, dispnew.c, doc.c, dosfns.c, emacs.c, | |
27867 | * eval.c, fileio.c, filelock.c, fns.c, fontset.c, frame.c, frame.h, | |
27868 | * indent.c, keyboard.c, keymap.c, lread.c, macros.c, marker.c, | |
27869 | * minibuf.c, mocklisp.c, msdos.c, print.c, process.c, search.c, | |
27870 | * sunfns.c, syntax.c, textprop.c, undo.c, w16select.c, w32console.c, | |
27871 | * w32fns.c, w32menu.c, w32proc.c, w32select.c, window.c, xdisp.c, | |
27872 | * xfaces.c, xmenu.c, xselect.c: Update usage of CHECK_ macros | |
27873 | (remove unused second argument). | |
7e9d3c2f | 27874 | |
048addec | 27875 | 2001-11-02 Stefan Monnier <monnier@cs.yale.edu> |
e6bff182 | 27876 | |
048addec JD |
27877 | * syntax.c (describe_syntax): New wrapper. |
27878 | (Finternal_describe_syntax_value): Rename from describe_syntax. | |
27879 | Don't insert space at front and \n at the end. | |
27880 | (syms_of_syntax): Defsubr Sinternal_describe_syntax_value. | |
e6bff182 | 27881 | |
048addec JD |
27882 | * regex.c (re_wctype): Try to fix some warnings. |
27883 | (regcomp, regexec): Don't forget the __restrict. | |
9ba48103 | 27884 | |
048addec | 27885 | 2001-11-02 Richard M. Stallman <rms@gnu.org> |
9ba48103 | 27886 | |
048addec | 27887 | * textprop.c (Fget_char_property): Doc fix. |
9ba48103 | 27888 | |
048addec | 27889 | 2001-11-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9ba48103 | 27890 | |
048addec | 27891 | * process.c (Fstart_process): Add usage to doc-string. |
c22e59e1 | 27892 | |
048addec | 27893 | * data.c (Fsetq_default): Ditto. |
c22e59e1 | 27894 | |
048addec | 27895 | * callint.c (Finteractive): Ditto. |
9271ed2c | 27896 | |
048addec | 27897 | 2001-11-01 Stefan Monnier <monnier@cs.yale.edu> |
e6bff182 | 27898 | |
048addec JD |
27899 | * macros.c: Don't include keymap.h any more. |
27900 | ||
27901 | 2001-11-01 Richard M. Stallman <rms@gnu.org> | |
27902 | ||
27903 | * data.c (Fmake_local_variable): Doc fix. | |
27904 | ||
27905 | * eval.c (Frun_hooks, Frun_hook_with_args_until_failure): Doc fix. | |
27906 | (Frun_hook_with_args_until_success, Frun_hook_with_args): Doc fix. | |
e6bff182 | 27907 | |
048addec | 27908 | * keymap.c (Fdescribe_buffer_bindings): Print character property |
9271ed2c RS |
27909 | bindings along with or instead of the buffer local map. |
27910 | Make the overriding maps override what they should. | |
27911 | ||
f00691a3 | 27912 | 2001-11-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
8b8bd9c6 PJ |
27913 | |
27914 | * window.c (grow_mini_window): Fix typo in comment. | |
27915 | ||
27188d11 GM |
27916 | 2001-11-01 Gerd Moellmann <gerd@gnu.org> |
27917 | ||
7b49b9d2 GM |
27918 | * xterm.c (x_scroll_bar_create): Check for width and height > 0. |
27919 | (XTset_vertical_scroll_bar): Likewise. | |
27920 | ||
43f7c3ea GM |
27921 | * xfns.c (x_build_heuristic_mask): Use four_corners_best |
27922 | instead of IMAGE_BACKGROUND. | |
c22e59e1 | 27923 | |
b350c2e5 GM |
27924 | * xfns.c (four_corners_best): Reindent. |
27925 | ||
c22e59e1 | 27926 | * xfaces.c (Finternal_set_lisp_face_attribute_from_resource): |
27188d11 GM |
27927 | Handle :box so that it is possible to specify sexprs. |
27928 | ||
bf00d461 EZ |
27929 | 2001-10-31 Eli Zaretskii <eliz@is.elta.co.il> |
27930 | ||
27931 | * s/hpux11.h: New file. | |
27932 | ||
f00691a3 | 27933 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4e10df59 | 27934 | |
2b209b97 PJ |
27935 | * emacs.c (USAGE1): Show command line option --no-window-system |
27936 | instead of --no-windows in usage. | |
27937 | (standard_args): Rename --no-windows to --no-window-system. | |
27938 | (bug_reporting_address): Follow Emacs coding conventions. | |
27939 | ||
9dbc9081 PJ |
27940 | * eval.c (Fcommandp): Doc fix. |
27941 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
27942 | ||
4e10df59 PJ |
27943 | * frame.c (Fframe_live_p): Doc fix. |
27944 | ||
27945 | * buffer.c (selective-display-ellipses): Doc fix. | |
27946 | ||
dd387b25 GM |
27947 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
27948 | ||
fe957e65 GM |
27949 | * lread.c (to_multibyte): Fix computation of new read_buffer_size. |
27950 | ||
dd387b25 GM |
27951 | * xfaces.c (realize_x_face): If C is not a single-byte character, |
27952 | set the face's colors_copied_bitwise_p instead of the defaulted_p | |
27953 | members which have a different meaning. | |
27954 | (free_face_colors): Do nothing for a face whose colors have been | |
27955 | copied bitwise. | |
27956 | ||
c22e59e1 | 27957 | * dispextern.h (struct face) <colors_copied_bitwise_p>: New member. |
dd387b25 | 27958 | |
f00691a3 | 27959 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2e1280f8 | 27960 | |
687784e8 PJ |
27961 | * marker.c, mocklisp.c: Change doc-string comments to `new style' |
27962 | [w/`doc:' keyword]. | |
2e1280f8 | 27963 | |
b9d9a9b9 GM |
27964 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
27965 | ||
27966 | * fns.c (require_unwind): Return Lisp_Object. | |
27967 | ||
f00691a3 | 27968 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
48400103 | 27969 | |
fa1361cb PJ |
27970 | * keyboard.c (lucid-menu-bar-dirty-flag): Doc fix. |
27971 | (last-input-char): Revert doc-string to be the same as the | |
27972 | doc-string of `last-input-event'. | |
27973 | ||
6c465a15 | 27974 | * xdisp.c: Fix typos in comments. |
48400103 | 27975 | |
eafa3196 GM |
27976 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
27977 | ||
27978 | * window.c (grow_mini_window): Handle case that the root | |
27979 | window is already smaller than the nominal mininum height. | |
27980 | ||
747d3f2a SM |
27981 | 2001-10-30 Stefan Monnier <monnier@cs.yale.edu> |
27982 | ||
bf9bb76f SM |
27983 | * emacs.c (main): Don't call keys_of_macros any more. |
27984 | ||
27985 | * lisp.h (keys_of_macros): Remove. | |
27986 | ||
27987 | * macros.c (keys_of_macros): Remove. | |
27988 | ||
747d3f2a SM |
27989 | * xfaces.c (Fface_attribute_relative_p): Declare args. |
27990 | ||
5e905a57 JR |
27991 | 2001-10-30 Jason Rumney <jasonr@gnu.org> |
27992 | ||
27993 | * w32fns.c (w32_to_x_charset): Increase size of XLFD charset buffer. | |
27994 | (enum_font_cb2): Ignore fonts with vertical orientation. | |
27995 | ||
3a426197 RS |
27996 | 2001-10-30 Richard M. Stallman <rms@gnu.org> |
27997 | ||
27998 | * keyboard.c (Finput_pending_p): Doc fix. | |
27999 | ||
a742d646 GM |
28000 | 2001-10-30 Gerd Moellmann <gerd@gnu.org> |
28001 | ||
259cf6bc GM |
28002 | * xterm.c (x_after_update_window_line): Don't run the code |
28003 | clearing in borders for rows whose visible height is 0. | |
28004 | ||
3f99f948 GM |
28005 | * xdisp.c (clear_garbaged_frames): Redraw the frame only if its |
28006 | resized_p flag is set. If not set, use the much less flickering | |
28007 | method previously used. | |
28008 | ||
28009 | * dispnew.c (change_frame_size_1): Set frame's resized_p. | |
28010 | ||
28011 | * frame.h (struct frame) <resized_p>: New member. | |
28012 | ||
b4a3be43 GM |
28013 | * lread.c (to_multibyte): Ensure read_buffer is at least twice |
28014 | as large as the number of bytes to convert. | |
747d3f2a | 28015 | |
a742d646 GM |
28016 | * lread.c (to_multibyte): New function. |
28017 | (read1): Use it. | |
28018 | ||
cacbb9e9 EZ |
28019 | 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il> |
28020 | ||
28021 | * msdos.h (FRAME_LINE_HEIGHT): Define (it's used by xmenu.c). | |
28022 | ||
99cb6b2f GM |
28023 | 2001-10-30 Gerd Moellmann <gerd@gnu.org> |
28024 | ||
327f42ee | 28025 | * xterm.c (x_draw_relief_rect): Correct bottom relief by 1 pixel. |
747d3f2a SM |
28026 | (x_set_glyph_string_background_width): Set extends_to_end_of_line_p |
28027 | if the row's fill_line_p is set and drawing the last glyph with | |
28028 | DRAW_IMAGE_{RAISED,SUNKEN}. | |
327f42ee | 28029 | |
99cb6b2f GM |
28030 | * xdisp.c (clear_garbaged_frames): Call Fredraw_frame. |
28031 | ||
8e8223e2 SM |
28032 | 2001-10-29 Stefan Monnier <monnier@cs.yale.edu> |
28033 | ||
28034 | * xmenu.c: Include coding.h and charset.h. | |
28035 | (Fx_popup_menu): Use FRAME_PTR and FRAME_FONT and FRAME_LINE_HEIGHT. | |
28036 | (Fx_popup_dialog): Use FRAME_PTR and enum scroll_bar_part. | |
28037 | (single_submenu, xmenu_show): Use ENCODE_SYSTEM. | |
28038 | Explicitly set wv->help. Use `TRUE' rather than `True'. | |
28039 | (menu_help_callback): Use empty_string. | |
28040 | ||
28041 | * w32menu.c (Fx_popup_menu): Explicitly init f, xpos, and ypos. | |
28042 | (Fx_popup_dialog): Explicitly init f. | |
28043 | (w32_menu_display_help): Use empty_string. | |
28044 | ||
4d083a8f RS |
28045 | 2001-10-29 Richard M. Stallman <rms@gnu.org> |
28046 | ||
b2304472 RS |
28047 | * fns.c (Frequire): Detect recursive try to require the same |
28048 | feature 3 or more levels deep, and get error. | |
28049 | (require_unwind): New subroutine. | |
28050 | (require_nesting_list): New variable. | |
28051 | (syms_of_fns): Init and staticpro it. | |
28052 | ||
4d083a8f RS |
28053 | * print.c (print_object): Clarify indication of insertion type. |
28054 | ||
2fe41216 EZ |
28055 | 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il> |
28056 | ||
90480000 EZ |
28057 | * coding.c (syms_of_coding): Document that locale-coding-system is |
28058 | used for decoding input on X. | |
28059 | ||
2fe41216 EZ |
28060 | * window.c (Fscroll_left, Fscroll_right): Doc fix. |
28061 | ||
f00691a3 | 28062 | 2001-10-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
74e79967 PJ |
28063 | |
28064 | * keyboard.c (Finput_pending_p): Fix typo in doc-string. | |
28065 | (echo-area-clear-hook): Properly DEFVAR_LISP and staticpro it. | |
28066 | ||
60ebcfe8 GM |
28067 | 2001-10-29 Gerd Moellmann <gerd@gnu.org> |
28068 | ||
9a7bdceb GM |
28069 | * xterm.c (x_display_and_set_cursor): If cursor_in_echo_area, |
28070 | use NO_CURSOR if cursor_in_non_selected_windows is false. | |
28071 | ||
3f08fcd2 GM |
28072 | * xfaces.c (Fface_font): Use UNSPECIFIEDP instead of NILP for |
28073 | the slant attribute if FRAME is t. | |
28074 | ||
0ccfdad2 GM |
28075 | * xfns.c (x_set_internal_border_width): Set frame garbaged |
28076 | when X window doesn't exist yet. | |
28077 | ||
ef253080 GM |
28078 | * xterm.c (x_after_update_window_line): Clear internal border |
28079 | in different circumstances. | |
b116830b | 28080 | |
60ebcfe8 GM |
28081 | * xterm.c (XTread_socket) <KeyPress>: Don't use |
28082 | STRING_CHAR_AND_LENGTH if nchars == nbytes. From Kenichi Handa | |
28083 | <handa@etl.go.jp>. | |
28084 | ||
73d25f9c EZ |
28085 | 2001-10-28 Eli Zaretskii <eliz@is.elta.co.il> |
28086 | ||
28087 | * m/ibms390.h: New file. From Adam Thornton | |
28088 | <athornton@sinenomine.net>. | |
28089 | ||
cac1daf0 GM |
28090 | 2001-10-28 Gerd Moellmann <gerd@gnu.org> |
28091 | ||
053b3256 | 28092 | * xfns.c (x_build_heuristic_mask): Use x_alloc_image_color. |
b116830b | 28093 | |
cac1daf0 GM |
28094 | * xfns.c (x_build_heuristic_mask): Fix a bug not incrementing |
28095 | a loop counter. | |
28096 | ||
f00691a3 | 28097 | 2001-10-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
13b1a09c | 28098 | |
f9711de4 | 28099 | * emacs.c: Use argv[0] instead of "emacs" when -t was specified. |
186486eb | 28100 | |
4707d2d0 PJ |
28101 | * keyboard.c: Change doc-string comments to `new style' [w/`doc:' |
28102 | keyword]. | |
28103 | Fix typos in comments. | |
b116830b | 28104 | |
d883731c PJ |
28105 | * emacs.c (bug_reporting_address): New function. |
28106 | Use it when displaying usage message. | |
28107 | ||
04012254 PJ |
28108 | * minibuf.c (read_minibuf): Remove unused external declaration of |
28109 | variable `Qread_only'. | |
28110 | ||
13b1a09c PJ |
28111 | * keymap.c (access_keymap): Remove unused variable `charset'. |
28112 | ||
5bbf4378 MB |
28113 | 2001-10-28 Miles Bader <miles@gnu.org> |
28114 | ||
28115 | * xfaces.c (merge_face_heights): Handle TO being relative as well. | |
28116 | Remove #ifdef'd-out code. | |
28117 | (Fface_attribute_relative_p, Fmerge_face_attribute): New functions. | |
28118 | (syms_of_xfaces): Initialize them. | |
28119 | ||
1ce1e4ee JR |
28120 | 2001-10-27 Jason Rumney <jasonr@gnu.org> |
28121 | ||
28122 | * w32fns.c (w32_wnd_proc) <WM_KILLFOCUS>: Destroy the system caret. | |
28123 | <WM_EMACS_DESTROY_CARET, WM_EMACS_TRACK_CARET>: Track cursor | |
28124 | position using the system caret. | |
28125 | ||
28126 | * w32term.c (w32_system_caret_hwnd, w32_system_caret_width) | |
28127 | (w32_system_caret_height, w32_system_caret_x) | |
28128 | (w32_system_caret_y): New variables for tracking system caret. | |
28129 | (w32_initialize): Initialize them. | |
c2d53558 | 28130 | (x_display_and_set_cursor): Make system caret follow the active cursor. |
1ce1e4ee | 28131 | |
c2d53558 SM |
28132 | * w32term.h (WM_EMACS_TRACK_CARET, WM_EMACS_DESTROY_CARET): |
28133 | New messages types. | |
1ce1e4ee JR |
28134 | |
28135 | * w32term.c (note_mouse_highlight): Clear old help_echo. | |
28136 | ||
f00691a3 | 28137 | 2001-10-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4e30ce42 | 28138 | |
bb4600a4 PJ |
28139 | * xterm.c: Fix typo in a comment. |
28140 | ||
7db35a48 PJ |
28141 | * emacs.c: Fix typos in comments. |
28142 | Remove unnecessary spaces. | |
28143 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
28144 | (USAGE2): Fix typos in usage string. | |
28145 | ||
a7248e4f PJ |
28146 | * xterm.c: Fix typo in a comment. |
28147 | ||
52eb0373 | 28148 | * lisp.h (gdb_lisp_params): Remove code in #if 0 which is now in |
4e30ce42 PJ |
28149 | emacs.c. |
28150 | ||
62725a92 GM |
28151 | 2001-10-27 Gerd Moellmann <gerd@gnu.org> |
28152 | ||
798dbe1f | 28153 | * xdisp.c (move_it_vertically_backward): Use 2/3 line_height |
c2d53558 | 28154 | instead of 1/2 line_height in the heuristic for skipping |
798dbe1f GM |
28155 | farther backward when target_y was not reached. |
28156 | ||
62725a92 GM |
28157 | * sound.c (sound_perror): Unblock SIGIO, turn on atimers. |
28158 | Display errno only if non-zero. | |
28159 | (sound_warning): New function. | |
28160 | (vox_configure): Don't treat failing to set sample rate as error. | |
28161 | (various places): Improve error messages. | |
28162 | ||
d4e34d24 EZ |
28163 | 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il> |
28164 | ||
944e6f60 EZ |
28165 | * fileio.c (Faccess_file): Run the argument filename through |
28166 | Fexpand_file_name, before using it. | |
28167 | ||
d4e34d24 EZ |
28168 | * dispnew.c (syms_of_display) <visible-bell>: Add a reference to |
28169 | ring-bell-function. Suggested by Alf-Ivar Holm <alfh@ifi.uio.no> | |
28170 | ||
38d2af0c GM |
28171 | 2001-10-26 Gerd Moellmann <gerd@gnu.org> |
28172 | ||
da80a8d5 GM |
28173 | * insdel.c (insert_1_both): Do nothing if NCHARS == 0. |
28174 | ||
38d2af0c GM |
28175 | * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: |
28176 | Fix clearing in the case of scroll bars on the right. | |
c2d53558 | 28177 | |
45de4a6f | 28178 | 2001-10-26 Juanma Barranquero <lektu@terra.es> |
56f508dd EZ |
28179 | |
28180 | * w32gui.h (XImage): Add a dummy typedef. | |
28181 | ||
fbd5ceb2 GM |
28182 | 2001-10-26 Gerd Moellmann <gerd@gnu.org> |
28183 | ||
c2d53558 | 28184 | * xfns.c (XScreenNumberOfScreen): Fix struct to pointer comparison. |
fbd5ceb2 | 28185 | |
b23236fb EZ |
28186 | 2001-10-25 Eli Zaretskii <eliz@is.elta.co.il> |
28187 | ||
28188 | * frame.c (Fframe_parameter): Fix last change. | |
28189 | ||
5d991fc4 EZ |
28190 | * fileio.c: Revert last change (which removed old commented-out |
28191 | version of expand-file-name). Add a comment that explains why | |
28192 | this old version should not be removed. | |
28193 | ||
879eadc3 GM |
28194 | 2001-10-25 Gerd Moellmann <gerd@gnu.org> |
28195 | ||
75700ff2 GM |
28196 | * frame.c (Fframe_parameter): Fix a bug whereby some |
28197 | ``artificial'' frame parameters, like `minibuffer' were not | |
28198 | obtained by calling Fframe_parameters. | |
28199 | ||
dfe92a6a GM |
28200 | * xterm.c (show_mouse_face): Clean up. Recognize overwritten |
28201 | cursor differently. | |
28202 | ||
879eadc3 GM |
28203 | * xdisp.c (move_it_vertically_backward): Compute line height |
28204 | differently. Add heuristic to try to be more compatible to 20.x. | |
28205 | ||
e1010ebe SM |
28206 | 2001-10-25 Stefan Monnier <monnier@cs.yale.edu> |
28207 | ||
d73a471b SM |
28208 | * lisp.h (make_fixnum_or_float): Coerce double to int explicitly. |
28209 | ||
d6da5a06 GM |
28210 | * editfns.c (text_property_stickiness): Fix Lisp_Object used as |
28211 | boolean. | |
e1010ebe | 28212 | |
f66bd220 MB |
28213 | 2001-10-25 Miles Bader <miles@gnu.org> |
28214 | ||
28215 | * xfns.c (png_load): Make sure SPECIFIED_BG is a string. | |
28216 | BG is a pointer to a structure, not a structure. | |
28217 | (gif_format, png_format): Add missing commas. | |
28218 | ||
d436d538 RS |
28219 | 2001-10-24 Richard M. Stallman <rms@gnu.org> |
28220 | ||
28221 | * xfaces.c (Fface_attributes_as_vector): New function. | |
c2d53558 | 28222 | (syms_of_xfaces): Defsubr it. |
d436d538 | 28223 | |
f00691a3 | 28224 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
075c507b PJ |
28225 | |
28226 | * dispnew.c (sync_window_with_frame_matrix_rows): Remove unused | |
28227 | variable `area'. | |
28228 | ||
f00691a3 | 28229 | 2001-10-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
d492b584 | 28230 | |
c2d53558 | 28231 | * search.c (scan_newline): Remove unused variable `selective_display'. |
d492b584 | 28232 | |
e2a57b34 MB |
28233 | 2001-10-25 Miles Bader <miles@gnu.org> |
28234 | ||
28235 | * dispextern.h (struct image): Add `background', | |
28236 | `background_valid', and `background_transparent' fields. | |
28237 | (image_background, image_background_transparent): New declarations. | |
28238 | (IMAGE_BACKGROUND, IMAGE_BACKGROUND_TRANSPARENT): New macros. | |
28239 | * xfns.c (image_background, image_background_transparent) | |
28240 | (four_corners_best): New functions. | |
c2d53558 | 28241 | (xpm_format, png_format, jpeg_format, tiff_format, gif_format) |
e2a57b34 MB |
28242 | (gs_format): Add `:background' entry. |
28243 | (lookup_image): Set IMG's background color if specified. | |
28244 | (pbm_load, xbm_load_image, png_load): Set IMG's background field | |
28245 | when appropriate. | |
28246 | (x_clear_image_1): Reset `background_valid' and | |
28247 | `background_transparent_valid' fields. | |
28248 | (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of | |
28249 | calculating it here. Set IMG's background_transparent field. | |
28250 | (enum xpm_keyword_index): Add XPM_BACKGROUND. | |
28251 | (enum png_keyword_index): Add PNG_BACKGROUND. | |
28252 | (enum jpeg_keyword_index): Add JPEG_BACKGROUND. | |
28253 | (enum tiff_keyword_index): Add TIFF_BACKGROUND. | |
28254 | (enum gif_keyword_index): Add GIF_BACKGROUND. | |
28255 | (enum gs_keyword_index): Add GS_BACKGROUND. | |
c2d53558 | 28256 | (pbm_load, png_load, jpeg_load, tiff_load, gif_load): |
e2a57b34 MB |
28257 | Pre-calculate image background color where necessary. |
28258 | * xterm.c (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and | |
28259 | `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background | |
28260 | color to use for image glyph reliefs. | |
28261 | ||
b547b6e8 GM |
28262 | 2001-10-24 Gerd Moellmann <gerd@gnu.org> |
28263 | ||
d9e3b8c6 GM |
28264 | * xterm.c (x_draw_glyphs): Don't check for cursor overwriting |
28265 | in full-width rows. | |
c2d53558 | 28266 | |
b547b6e8 GM |
28267 | * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: |
28268 | Fix clearing of area not covered by scroll bar. | |
28269 | ||
f00691a3 | 28270 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2beb36f9 | 28271 | |
52eb0373 | 28272 | * xterm.c (x_insert_glyphs): Remove unused variables `real_end' |
2beb36f9 | 28273 | and `real_start'. |
c2d53558 | 28274 | (x_draw_image_foreground): Remove unused variables `mask' and `xgcv'. |
2beb36f9 PJ |
28275 | (glyph_rect): Remove unused variable `area'. |
28276 | ||
76cb5e06 GM |
28277 | 2001-10-24 Gerd Moellmann <gerd@gnu.org> |
28278 | ||
bdbdebff | 28279 | * xdisp.c: Change #ifdef GLYPH_DEBUG to #if. |
c2d53558 SM |
28280 | |
28281 | * xdisp.c (try_window_reusing_current_matrix): Use row_containing_pos. | |
28282 | (row_containing_pos): Take additional argument DY. | |
28283 | Treat rows ending in middle of char differently. | |
62e33982 GM |
28284 | (display_line): Handle tabs on window systems differently. |
28285 | ||
28286 | * xterm.c, w32term.c (fast_find_position): Call row_containing_pos | |
28287 | with additional argument. | |
28288 | ||
28289 | * dispextern.h (row_containing_pos): Adjust prototype. | |
28290 | ||
76cb5e06 GM |
28291 | * xdisp.c (inhibit_try_window_id, inhibit_try_window_reusing) |
28292 | (inhibit_try_cursor_movement) [GLYPH_DEBUG]: New variables. | |
28293 | (try_window_id, try_window_reusing_current_matrix) | |
28294 | (try_cursor_movement) [GLYPH_DEBUG]: Don't run if inhibited. | |
6c465a15 | 28295 | (syms_of_xdisp) [GLYPH_DEBUG]: DEFVAR_BOOL the variables. |
76cb5e06 | 28296 | |
f00691a3 | 28297 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
996fee11 | 28298 | |
c9e60620 PJ |
28299 | * xmenu.c: Spell the name of Emacs properly (GNU Emacs instead of |
28300 | gnuemacs). | |
28301 | (HAVE_BOXES): Fix typo in comment. | |
28302 | (push_menu_pane): Fix typo in comment. | |
28303 | ||
52eb0373 | 28304 | * xdisp.c (display_prop_string_p): Remove unused local declaration |
3b552d56 PJ |
28305 | of `Qwhen'. |
28306 | (single_display_prop_string_p): Remove unused local declarations | |
28307 | of `Qwhen' and `Qmargin'. | |
28308 | (string_buffer_position): Remove unused variable `around'. | |
28309 | (store_frame_title): Remove unused variable `width'. | |
28310 | ||
15c565ac PJ |
28311 | * window.c: Don't define max. |
28312 | (coordinates_in_window): Remove unused variable `uy'. | |
28313 | ||
a8818eb9 PJ |
28314 | * widget.c: Don't define max. |
28315 | ||
996fee11 PJ |
28316 | * process.c: Don't define max. |
28317 | (create_process): Remove unused variable `buffer'. | |
28318 | ||
496e1a5b GM |
28319 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
28320 | ||
c2d53558 | 28321 | * xfaces.c (Finternal_set_lisp_face_attribute): Fix compilation error. |
496e1a5b | 28322 | |
5905ae8b EZ |
28323 | 2001-10-23 Eli Zaretskii <eliz@is.elta.co.il> |
28324 | ||
28325 | * xfaces.c (Finternal_set_lisp_face_attribute) | |
28326 | [HAVE_WINDOW_SYSTEM]: Don't do anything for QCfont unless the | |
28327 | frame is on a windowed display. | |
28328 | ||
24db49fb GM |
28329 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
28330 | ||
c2d53558 SM |
28331 | * dispnew.c (sync_window_with_frame_matrix_rows): |
28332 | Fix handling of windows which aren't full-width, fix handling | |
c51488cd GM |
28333 | of marginal areas. |
28334 | ||
c2d53558 | 28335 | * lread.c (syms_of_lread) <recursive-load-depth-limit>: Raise to 50. |
24db49fb | 28336 | |
f0487f05 EZ |
28337 | 2001-10-23 Andreas Schwab <schwab@suse.de> |
28338 | ||
28339 | * m/macppc.h [LINUX]: Undef LD_SWITCH_SYSTEM_TEMACS and override | |
28340 | LD_SWITCH_MACHINE_TEMACS with "-Xlinker -znocombreloc". | |
28341 | ||
f0a48a01 GM |
28342 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
28343 | ||
c2d53558 | 28344 | * xterm.c (x_draw_glyphs): Remove parameters READ_START and |
f0a48a01 GM |
28345 | REAL_END. Notice if cursor gets overwritten. |
28346 | (notice_overwritten_cursor): Take X positions as parameters. | |
28347 | (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p | |
28348 | around call to x_draw_glyphs. | |
28349 | ||
f00691a3 | 28350 | 2001-10-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
a50a10a0 | 28351 | |
fc11dff0 PJ |
28352 | * syntax.c (modify-syntax-entry): Fix argument names (use CHAR |
28353 | instead of C) and usage. | |
a50a10a0 | 28354 | |
fc11dff0 PJ |
28355 | * editfns.c (char-to-string): Fix argument names (use CHAR instead |
28356 | of C) and usage. | |
a50a10a0 PJ |
28357 | |
28358 | * xfns.c (Fx_show_tip): Remove unused variables `buffer', `top', | |
28359 | `left', `max_width' and `max_height'. | |
28360 | ||
8738febd GM |
28361 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
28362 | ||
28363 | * xdisp.c (display_line): For a tab continued to the next line, | |
28364 | set row's ends_in_middle_of_char_p. | |
28365 | ||
653c329b GM |
28366 | 2001-10-22 Gerd Moellmann <gerd@gnu.org> |
28367 | ||
28368 | * xdisp.c (display_line): Fix computation of continuation lines | |
28369 | width for TABs. | |
28370 | ||
f00691a3 | 28371 | 2001-10-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
f958c5ac | 28372 | |
7ba51063 PJ |
28373 | * xdisp.c (build_desired_tool_bar_string): Remove unused variable |
28374 | `Qlaplace'. | |
28375 | ||
f958c5ac PJ |
28376 | * fileio.c: Remove unused code. |
28377 | ||
eb360291 MB |
28378 | 2001-10-22 Miles Bader <miles@gnu.org> |
28379 | ||
28380 | * lisp.h (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL) | |
28381 | (DEFVAR_INT, DEFVAR_PER_BUFFER, DEFVAR_KBOARD): | |
28382 | Remove `DOC_STRINGS_IN_COMMENTS' cases. | |
28383 | ||
98515cf0 JR |
28384 | 2001-10-21 Jason Rumney <jasonr@gnu.org> |
28385 | ||
28386 | * w32term.c (x_erase_phys_cursor): Remove inverse_p again. | |
28387 | ||
93026d88 EZ |
28388 | 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il> |
28389 | ||
28390 | * mocklisp.c (Fml_if, Fml_provide_prefix_argument) | |
28391 | (Finsert_string): Avoid the multi-line string literals warning. | |
28392 | ||
c9a95b79 MB |
28393 | 2001-10-22 Miles Bader <miles@gnu.org> |
28394 | ||
28395 | * doc.c (Vhelp_manyarg_func_alist): Variable removed. | |
28396 | (Fdocumentation): Don't use it. | |
28397 | (syms_of_doc): Don't initialize it. | |
28398 | ||
28399 | * keyboard.c (Ftrack_mouse): Add usage: string to doc string. | |
28400 | * print.c (Fwith_output_to_temp_buffer): Likewise. | |
28401 | * window.c (Fsave_window_excursion): Likewise. | |
c2d53558 | 28402 | * editfns.c (Fsave_excursion, Fsave_current_buffer) |
c9a95b79 | 28403 | (Fsave_restriction): Likewise. |
c2d53558 SM |
28404 | * eval.c (Frun_hooks, Frun_hook_with_args) |
28405 | (Frun_hook_with_args_until_failure) | |
28406 | (Frun_hook_with_args_until_success, Ffuncall, For, Fand, Fif) | |
28407 | (Fcond, Fprogn, Fprog1, Fprog2, Fsetq, Fquote, Ffunction, Fdefun) | |
28408 | (Fdefmacro, Fdefvar, Fdefconst, FletX, Flet, Fwhile, Fcatch) | |
c9a95b79 MB |
28409 | (Funwind_protect, Fcondition_case): Likewise. |
28410 | * coding.c (Ffind_operation_coding_system): Likewise. | |
28411 | * keyboard.c (Ftrack_mouse): Likewise. | |
28412 | ||
a3b10252 MB |
28413 | 2001-10-21 Miles Bader <miles@gnu.org> |
28414 | ||
c2d53558 | 28415 | * fns.c (Fappend, Fconcat, Fvconcat, Fnconc, Fwidget_apply) |
a3b10252 MB |
28416 | (Fmake_hash_table): Add usage: string to doc string. |
28417 | * editfns.c (Finsert, Finsert_and_inherit, Finsert_before_markers) | |
c2d53558 | 28418 | (Fmessage, Fmessage_box, Fmessage_or_box, Fpropertize, Fformat) |
a3b10252 MB |
28419 | (Fencode_time, Finsert_and_inherit_before_markers): Likewise. |
28420 | * mocklisp.c (Finsert_string, Fml_if, Fml_provide_prefix_argument) | |
28421 | (Fml_prefix_argument_loop): Likewise. | |
28422 | ||
f00691a3 | 28423 | 2001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c6f73eec | 28424 | |
c2d53558 | 28425 | * fileio.c (Finsert_file_contents): Remove unused variable `gap_size'. |
888ebd13 | 28426 | |
c6f73eec PJ |
28427 | * sysdep.c (init_sys_modes): Change doc-string comments to `new |
28428 | style' [w/`doc:' keyword]. | |
28429 | ||
28430 | * data.c, fileio.c, indent.c, print.c, search.c, sound.c, | |
28431 | * sunfns.c, textprop.c, undo.c, xselect.c: Change doc-string | |
28432 | comments to `new style' [w/`doc:' keyword]. | |
28433 | ||
3cf3436e JR |
28434 | 2001-10-21 Jason Rumney <jasonr@gnu.org> |
28435 | ||
28436 | * w32fns.c (Fx_file_dialog): Pass a filter to GetOpenFileName. | |
28437 | ||
c169b8f1 JR |
28438 | * w32term.c (remember_mouse_glyph): New function. |
28439 | (w32_mouse_position): Use it. | |
28440 | (note_mouse_movement): If the mouse moved off the glyph, remember | |
28441 | its new position. | |
c2d53558 | 28442 | |
4fdd691b JR |
28443 | * w32term.h (struct w32_output): Correct spelling of x_compatible. |
28444 | (w32_display_info): Add mouse_face_overlay. | |
28445 | ||
c169b8f1 JR |
28446 | * w32term.c (notice_overwritten_cursor): Renamed from |
28447 | note_overwritten_text_cursor. Rewritten to take glyph widths into | |
28448 | account. | |
28449 | (x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P. | |
28450 | (fast_find_string_pos): New function. | |
28451 | (fast_find_position): Return the correct vpos. Add parameter | |
28452 | STOP. In the final row, stop before glyphs having STOP as object. | |
28453 | Don't consider glyphs that are not from a buffer. | |
28454 | (fast_find_position) [0]: Add a presumably more correct version | |
28455 | for after 21.1. | |
28456 | (expose_window_tree, expose_frame): Don't compute intersections here. | |
28457 | (expose_window): Do it here instead. | |
28458 | (expose_window_tree, expose_window, expose_line): Return 1 when | |
28459 | overwriting mouse-face. | |
28460 | (expose_window): If W is the window currently being updated, mark | |
28461 | the frame garbaged. | |
28462 | (expose_frame): If mouse-face was overwritten, redo it. | |
28463 | (x_use_underline_position_properties): New variable. | |
28464 | (syms_of_xterm): DEFVAR_BOOL it. | |
28465 | (x_draw_glyph_string): Add comment to use it in future. | |
28466 | (x_draw_glyph_string): Restore clipping after drawing box. | |
28467 | Fix a computation of the underline position. | |
28468 | (w32_get_glyph_string_clip_rect): Minor cleanup. | |
28469 | (x_fill_stretch_glyph_string): Remove an assertion. | |
28470 | (x_produce_glyphs): Don't convert multibyte characters | |
28471 | to unibyte characters in unibyte buffers. | |
28472 | (cursor_in_mouse_face_p): New function. | |
28473 | (x_draw_stretch_glyph_string): Use it to choose a different GC | |
28474 | when drawing a cursor within highlighted text. Don't draw | |
28475 | background again if it has already been drawn. | |
28476 | (x_draw_glyph_string_box): Don't draw a full-width | |
28477 | box just because the glyph row's full_width_p flag is set. | |
28478 | (x_draw_glyphs): Fix computation of rightmost x for | |
28479 | full-width rows. | |
28480 | (x_dump_glyph_string): Put in #if GLYPH_DEBUG. | |
28481 | (w32_draw_relief_rect): Extend left shadow to the bottom and left; | |
f63fd14e | 28482 | change bottom shadow accordingly. Some cleanup. |
c169b8f1 JR |
28483 | (x_update_window_end): Handle overwritten mouse face |
28484 | also for tool bar windows. | |
28485 | (show_mouse_face): Set the glyph row's mouse_face_p flag also when | |
28486 | DRAW is DRAW_IMAGE_RAISED. | |
28487 | (clear_mouse_face): Return 1 if text with mouse face was | |
2c568af5 SM |
28488 | actually redrawn. Make the function static. |
28489 | Reset dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might | |
c169b8f1 JR |
28490 | optimize away highlighting if we pass over that same overlay again. |
28491 | (note_mouse_highlight): Call mouse_face_overlay_overlaps | |
28492 | to detect a case where we have to highlight a different region | |
28493 | despite not having left the currently highlighted region. | |
28494 | Set mouse_face_overlay in the x_display_info. Avoid changing the | |
28495 | mouse pointer shape when show_mouse_face has already done it, or | |
28496 | there is no need. Handle mouse-face and help-echo in strings. | |
28497 | (glyph_rect): New function. | |
28498 | (w32_mouse_position): Use it to raise the threshold for mouse | |
28499 | movement event generation. | |
28500 | (w32_initialize_display_info): Initialize the x_display_info's | |
28501 | mouse_face_overlay. | |
28502 | (w32_set_vertical_scroll_bar): Don't clear a zero height | |
28503 | or width area. | |
28504 | (w32_set_vertical_scroll_bar, x_scroll_bar_create): Don't configure | |
28505 | a widget to zero height. | |
28506 | ||
3cf3436e | 28507 | * w32menu.c (single_submenu, w32_menu_show) [!HAVE_MULTILINGUAL_MENU]: |
4fdd691b | 28508 | Protect unibyte strings created by replacing their multibyte |
3cf3436e JR |
28509 | equivalents in menu_items. |
28510 | (w32_menu_show): Don't overwrite an item's name with its key | |
28511 | description in case the description is a multibyte string. | |
28512 | (single_submenu): Some cleanup. | |
28513 | ||
28514 | * w32fns.c (x_laplace_read_row, x_laplace_write_row): Removed. | |
28515 | (postprocess_image): New function. | |
28516 | (lookup_image): Call it for all image types except PostScript. | |
28517 | (x_kill_gs_process): Call postprocess_image. | |
28518 | (tiff_error_handler, tiff_warning_handler): New functions. | |
28519 | (tiff_load): Install them as handlers. | |
28520 | (x_kill_gs_process): Recognize if someone has cleared the image | |
28521 | cache under us. | |
28522 | (valid_image_p): Protect better against invalid image | |
28523 | specifications. Previous code could signal an error. | |
28524 | (Fx_hide_tip, Fshow_tip): Doc fix. | |
28525 | (Fv_max_tooltip_size): New variable. | |
28526 | (syns_of_xfns): DEFVAR_LISP it. | |
28527 | (Fx_show_tip): Add parameter TEXT. Set the tip frame's root | |
f63fd14e | 28528 | window buffer to *tip* right after creating the frame. Set frame's |
3cf3436e JR |
28529 | window_width. Use a maximum tooltip size specified by |
28530 | Vx_max_tooltip_size, if that has valid contents. | |
28531 | (compute_tip_xy): Add parameters WIDTH and HEIGHT. | |
28532 | Make sure the tooltip is completely visible. | |
28533 | (x_create_tip_frame): Set tooltip buffer's truncate-lines to nil. | |
28534 | (Fx_create_frame): Adjust the frame's height for presence | |
28535 | of the tool bar before calling x_figure_window_size. | |
28536 | (x_set_tool_bar_lines): Clear the tool bar window's current matrix | |
28537 | when the window gets smaller. | |
28538 | (x_set_foreground_color): Set frame's cursor_pixel. | |
28539 | (x_set_foreground_color, x_set_background_color): Cleaned up. | |
28540 | (x_set_font): Handle case of x_new_fontset returning the same name | |
28541 | as before, although there was a change in fontsets. | |
28542 | ||
386ca361 MB |
28543 | 2001-10-21 Miles Bader <miles@gnu.org> |
28544 | ||
c2d53558 | 28545 | * data.c (Fplus, Fminus, Fmax, Ftimes, Fquo, Flogand, Flogior) |
386ca361 MB |
28546 | (Flogxor): Add usage: string to doc string. |
28547 | * charset.c (Fstring): Likewise. | |
28548 | * callproc.c (Fcall_process_region, Fcall_process): Likewise. | |
28549 | * alloc.c (Fmake_byte_code, Fvector, Flist): Likewise. | |
28550 | ||
f00691a3 | 28551 | 2001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
14ff1ee0 | 28552 | |
03be2694 PJ |
28553 | * buffer.c: Reindent DEFUNs and DEFVARs with doc: keywords. |
28554 | ||
28555 | * alloc.c: Reindent DEFUNs with doc: keywords. | |
28556 | ||
28557 | * abbrev.c (Finsert_abbrev_table_description): Reindent. | |
28558 | ||
14ff1ee0 PJ |
28559 | * frame.c: Change doc-string comments to `new style' [w/`doc:' |
28560 | keyword]. | |
28561 | ||
2f147815 | 28562 | See ChangeLog.9 for earlier changes. |
6922b018 KH |
28563 | |
28564 | ;; Local Variables: | |
49b3bd82 | 28565 | ;; coding: iso-2022-7bit |
33462dfa | 28566 | ;; add-log-time-zone-rule: t |
6922b018 | 28567 | ;; End: |
2a34a036 | 28568 | |
aaef169d | 28569 | Copyright (C) 2001, 2002, 2003, 2004, 2005, |
4e6835db | 28570 | 2006, 2007 Free Software Foundation, Inc. |
7f6d64f8 GM |
28571 | |
28572 | This file is part of GNU Emacs. | |
28573 | ||
28574 | GNU Emacs is free software; you can redistribute it and/or modify | |
28575 | it under the terms of the GNU General Public License as published by | |
28576 | the Free Software Foundation; either version 2, or (at your option) | |
28577 | any later version. | |
28578 | ||
28579 | GNU Emacs is distributed in the hope that it will be useful, | |
28580 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
28581 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
28582 | GNU General Public License for more details. | |
28583 | ||
28584 | You should have received a copy of the GNU General Public License | |
28585 | along with GNU Emacs; see the file COPYING. If not, write to the | |
28586 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |
28587 | Boston, MA 02110-1301, USA. | |
ab5796a9 MB |
28588 | |
28589 | ;;; arch-tag: 5dcc435f-4038-4141-b3bf-5be51cd76bd4 |