Commit | Line | Data |
---|---|---|
da44dd84 KY |
1 | 2008-04-11 Katsumi Yamaoka <yamaoka@jpl.org> |
2 | ||
3 | * puresize.h (BASE_PURESIZE): Increase to 1140000. | |
4 | ||
474d35ca MA |
5 | 2008-04-10 Michael Albinus <michael.albinus@gmx.de> |
6 | ||
7 | * fileio.c (Fmake_symbolic_link): Surround code by #ifdef S_IFLNK | |
8 | only after check for file name handler functions. Signal, when | |
9 | native functionality is not supported. | |
10 | (syms_of_fileio): Declare it unconditionally. | |
11 | ||
bd735631 JR |
12 | 2008-04-10 Jason Rumney <jasonr@gnu.org> |
13 | ||
14 | * w32.c (stat): When Vw32_get_true_file_attributes is Qlocal, get | |
15 | attributes only for local files. | |
16 | ||
17 | * w32proc.c (syms_of_ntproc): Change Vw32_get_true_file attributes | |
18 | default to Qlocal. | |
19 | ||
9e13f0c3 YM |
20 | 2008-04-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
21 | ||
22 | * Makefile.in (MAC_OBJ): Add mactoolbox.o. | |
23 | (mactoolbox.o): New target. | |
24 | ||
25 | * mac.c [MAC_OSX] (select_and_poll_event, sys_select): | |
26 | Use mac_run_loop_run_once instead of CFRunLoopRunInMode. | |
27 | ||
28 | * macfns.c (x_set_background_color, mac_window, x_create_tip_frame): | |
29 | Use mac_set_frame_window_background instead of XSetWindowBackground. | |
30 | (x_set_tool_bar_lines) [USE_MAC_TOOLBAR]: | |
31 | Use mac_is_window_toolbar_visible instead of IsWindowToolbarVisible. | |
32 | (x_set_name_internal) [TARGET_API_MAC_CARBON]: Use mac_set_window_title | |
33 | instead of SetWindowTitleWithCFString. | |
34 | (mac_update_proxy_icon) [TARGET_API_MAC_CARBON]: Remove BLOCK_INPUT. | |
35 | Move function to mactoolbox.c. | |
36 | (mac_update_title_bar) [TARGET_API_MAC_CARBON]: | |
37 | Use mac_set_window_modified instead of SetWindowModified. | |
38 | Add BLOCK_INPUT around mac_set_window_modified/mac_update_proxy_icon. | |
39 | (mac_window, x_create_tip_frame): Use mac_create_frame_window. | |
40 | (Fx_focus_frame): Use mac_front_non_floating_window instead of | |
41 | FrontNonFloatingWindow. Use mac_activate_window instead of | |
42 | ActivateWindow. Use mac_active_non_floating_window instead of | |
43 | ActiveNonFloatingWindow. | |
44 | (show_hourglass, hide_hourglass) [TARGET_API_MAC_CARBON]: | |
45 | Use mac_show_hourglass and mac_hide_hourglass. | |
46 | (compute_tip_xy) [TARGET_API_MAC_CARBON]: Use mac_get_global_mouse | |
47 | instead of GetGlobalMouse. | |
48 | (Fx_show_tip): Use mac_move_window/mac_size_window/mac_show_window | |
49 | instead of MoveWindow/SizeWindow/ShowWindow, respectively. | |
50 | Use mac_bring_window_to_front instead of BringToFront. | |
51 | (Qfile_name_history) [TARGET_API_MAC_CARBON]: Move extern to | |
52 | mactoolbox.c. | |
53 | (Fx_file_dialog) [TARGET_API_MAC_CARBON]: Move function body to | |
54 | mac_file_dialog in mactoolbox.c. Use mac_file_dialog. | |
55 | (mac_nav_event_callback) [TARGET_API_MAC_CARBON]: Move function to | |
56 | mactoolbox.c. | |
57 | ||
58 | * macgui.h [!HAVE_CARBON]: Include Quickdraw.h instead of QuickDraw.h. | |
59 | (XtPointer): Move typedef from macmenu.c. | |
60 | (enum button_type): Move enum from macmenu.c. | |
61 | (widget_value): Move typedef from macmenu.c. | |
62 | (M_APPLE, I_ABOUT, EXTRA_STACK_ALLOC, ARGV_STRING_LIST_ID) | |
63 | (DIALOG_LEFT_MARGIN, DIALOG_TOP_MARGIN, DIALOG_RIGHT_MARGIN) | |
64 | (DIALOG_BOTTOM_MARGIN, DIALOG_MIN_INNER_WIDTH, DIALOG_MAX_INNER_WIDTH) | |
65 | (DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE) | |
66 | (DIALOG_BUTTON_BUTTON_VERTICAL_SPACE, DIALOG_BUTTON_MIN_WIDTH) | |
67 | (DIALOG_TEXT_MIN_HEIGHT, DIALOG_TEXT_BUTTONS_VERTICAL_SPACE) | |
68 | (DIALOG_ICON_WIDTH, DIALOG_ICON_HEIGHT, DIALOG_ICON_LEFT_MARGIN) | |
69 | (DIALOG_ICON_TOP_MARGIN): Move defines from macmenu.c. | |
70 | (Selection): Move typedef from macselect.c. | |
71 | (RAM_TOO_LARGE_ALERT_ID, ABOUT_ALERT_ID) [MAC_OS8]: Move defines from | |
72 | macterm.c. | |
73 | (mac_set_window_title, mac_set_window_modified, mac_is_window_visible) | |
74 | (mac_is_window_collapsed, mac_bring_window_to_front) | |
75 | (mac_send_window_behind, mac_hide_window, mac_show_window) | |
76 | (mac_collapse_window, mac_front_non_floating_window) | |
77 | (mac_active_non_floating_window, mac_activate_window) | |
78 | (mac_move_window_structure, mac_move_window, mac_size_window) | |
79 | (mac_get_global_mouse, mac_is_window_toolbar_visible): New defines. | |
80 | ||
81 | * macmenu.c [!TARGET_API_MAC_CARBON]: Move includes to mactoolbox.c. | |
82 | (enum mac_menu_kind): Move enum to mactoolbox.c. | |
83 | (min_menu_id): Move variable to mactoolbox.c. | |
84 | (quit_dialog_event_loop) [TARGET_API_MAC_CARBON]: Likewise. | |
85 | (DIALOG_WINDOW_RESOURCE): Move define to mactoolbox.c. | |
86 | (DIALOG_BUTTON_COMMAND_ID_OFFSET, DIALOG_BUTTON_COMMAND_ID_P) | |
87 | (DIALOG_BUTTON_COMMAND_ID_VALUE, DIALOG_BUTTON_MAKE_COMMAND_ID) | |
88 | [TARGET_API_MAC_CARBON]: Likewise. | |
89 | (XtPointer): Move typedef to macgui.h. | |
90 | (enum button_type): Move enum to macgui.h. | |
91 | (widget_value): Move typedef to macgui.h. | |
92 | (DIALOG_LEFT_MARGIN, DIALOG_TOP_MARGIN, DIALOG_RIGHT_MARGIN) | |
93 | (DIALOG_BOTTOM_MARGIN, DIALOG_MIN_INNER_WIDTH, DIALOG_MAX_INNER_WIDTH) | |
94 | (DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE) | |
95 | (DIALOG_BUTTON_BUTTON_VERTICAL_SPACE, DIALOG_BUTTON_MIN_WIDTH) | |
96 | (DIALOG_TEXT_MIN_HEIGHT, DIALOG_TEXT_BUTTONS_VERTICAL_SPACE) | |
97 | (DIALOG_ICON_WIDTH, DIALOG_ICON_HEIGHT, DIALOG_ICON_LEFT_MARGIN) | |
98 | (DIALOG_ICON_TOP_MARGIN): Move defines to macgui.h. | |
99 | (popup_activated_flag): Make variable non-static. | |
100 | (x_activate_menubar, install_menu_quit_handler, pop_down_menu) | |
101 | (add_menu_item, fill_menu, dispose_menus): | |
102 | Move functions to mactoolbox.c. | |
103 | (restore_show_help_function, menu_target_item_handler) | |
104 | (install_menu_target_item_handler, mac_handle_dialog_event) | |
105 | (install_dialog_event_handler, pop_down_dialog, create_and_show_dialog) | |
106 | [TARGET_API_MAC_CARBON]: Likewise. | |
107 | (menu_quit_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Likewise. | |
108 | (mac_dialog) [!TARGET_API_MAC_CARBON]: Likewise. | |
109 | (find_and_call_menu_selection, name_is_separator): Make function | |
110 | non-static. | |
111 | (Vshow_help_function, timer_check) [TARGET_API_MAC_CARBON]: Move extern | |
112 | to mactoolbox.c. | |
113 | (set_frame_menubar): Don't call install_menu_quit_handler. | |
114 | (menu_item_selection): New variable. | |
115 | (mac_menu_show): Use create_and_show_popup_menu. | |
116 | (create_and_show_dialog) [TARGET_API_MAC_CARBON]: Don't return | |
117 | selection but set variable menu_item_selection. All uses changed. | |
118 | (mac_fill_menubar): Rename from fill_menubar. All uses changed. | |
119 | Call install_menu_quit_handler. Move to mactoolbox.c. | |
120 | ||
121 | * macselect.c [!TARGET_API_MAC_CARBON]: Don't include Scrap.h. | |
122 | (Selection): Move typedef to macgui.h. | |
123 | (Vselection_converter_alist, Qmac_scrap_name, Qmac_ostype) | |
124 | (Vmac_apple_event_map, Qmac_apple_event_class, Qmac_apple_event_id): | |
125 | Make variables non-static. | |
126 | (Vmac_dnd_known_types) [TARGET_API_MAC_CARBON]: Likewise. | |
127 | (mac_handle_apple_event, cleanup_all_suspended_apple_events): | |
128 | Make functions non-static. | |
129 | (Vmac_service_selection) [MAC_OSX]: Likewise. | |
130 | (mac_get_selection_from_symbol, get_flavor_type_from_symbol) | |
131 | (mac_valid_selection_target_p, mac_clear_selection) | |
132 | (mac_get_selection_ownership_info, mac_valid_selection_value_p) | |
133 | (mac_put_selection_value, mac_selection_has_target_p) | |
134 | (mac_get_selection_value, mac_get_selection_target_list) | |
135 | (init_apple_event_handler, install_drag_handler, remove_drag_handler): | |
136 | Move functions to mactoolbox.c. | |
137 | (mac_do_track_drag, mac_do_receive_drag) [TARGET_API_MAC_CARBON]: | |
138 | Likewise. | |
139 | (copy_scrap_flavor_data, mac_handle_service_event) | |
140 | (install_service_handler) [MAC_OSX]: Likewise. | |
141 | (syms_of_macselect) <Vmac_dnd_known_types>: | |
142 | Use mac_dnd_default_known_types. | |
143 | ||
144 | * macterm.c (mac_end_cg_clip): Add argument F. All uses changed. | |
145 | (mac_begin_cg_clip, mac_end_cg_clip): Allow null GC. | |
146 | (mac_invert_rectangle, mac_compute_glyph_string_overhangs) | |
147 | (mac_load_query_font): Use them instead of SetPortWindowPort. | |
148 | (mac_clear_window) [!USE_CG_DRAWING]: Likewise. | |
149 | (mac_draw_image_string_cg): Call CGContextSetTextMatrix. | |
150 | (x_update_begin, x_update_end): Call mac_update_begin and | |
151 | mac_update_end. | |
152 | (XTframe_up_to_date): Call mac_frame_up_to_date. | |
153 | (XTring_bell): Use mac_alert_sound_play. | |
154 | (note_mouse_movement): Use mac_get_frame_bounds. | |
155 | (XTmouse_position): Use mac_get_frame_mouse. | |
156 | (x_scroll_bar_create): Use mac_create_scroll_bar. | |
157 | (x_scroll_bar_remove): Use mac_dispose_scroll_bar. | |
158 | (XTset_vertical_scroll_bar): Use mac_set_scroll_bar_bounds and | |
159 | mac_redraw_scroll_bar. | |
160 | (mac_move_window_with_gravity) [USE_MAC_TOOLBAR]: Use mac_move_window | |
161 | instead of MoveWindow. | |
162 | (mac_handle_size_change) [TARGET_API_MAC_CARBON]: | |
163 | Use mac_reposition_hourglass. | |
164 | (x_set_offset): Use mac_move_window_structure instead of | |
165 | MoveWindowStructure. | |
166 | (x_set_window_size): Use mac_size_window instead of SizeWindow. | |
167 | (x_set_mouse_pixel_position) [MAC_OSX]: | |
168 | Use mac_convert_frame_point_to_global. | |
169 | (x_raise_frame): Use mac_bring_window_to_front instead of BringToFront. | |
170 | (x_lower_frame): Use mac_send_window_behind instead of SendBehind. | |
171 | (mac_handle_visibility_change): Use Window instead of WindowRef. | |
172 | Use mac_is_window_visible/mac_is_window_collapsed instead of | |
173 | IsWindowVisible/IsWindowCollapsed, respectively. | |
174 | Use mac_collapse_window/mac_show_window instead of | |
175 | CollapseWindow/ShowWindow, respectively. | |
176 | (x_make_frame_invisible): Use mac_hide_window instead of HideWindow. | |
177 | (x_iconify_frame): Use mac_show_window instead of ShowWindow. | |
178 | Use mac_collapse_window instead of CollapseWindow. | |
179 | (x_free_frame_resources): Use Window instead of WindowRef. | |
180 | Use mac_dispose_frame_window. Clean up focus-related variables before | |
181 | calling mac_dispose_frame_window. | |
182 | (do_zoom_window) [MAC_OS8]: Use mac_clear_area instead of | |
183 | mac_clear_window. | |
184 | (mac_initialize): Use mac_toolbox_initialize instead of | |
185 | initializing any_help_event_p and calling init_apple_event_handler, | |
186 | init_tsm, and init_menu_bar. | |
187 | (any_help_event_p, last_window, save_port_clip_region) | |
188 | (read_socket_inev, saved_menu_event_location): Move variables to | |
189 | mactoolbox.c. | |
190 | (last_scroll_bar_part, scroll_bar_timer) | |
191 | (scroll_bar_timer_event_posted_p) [USE_TOOLKIT_SCROLL_BARS]: Likewise. | |
192 | (font_panel_shown_p) [USE_MAC_FONT_PANEL]: Likewise. | |
193 | (tsm_document_id) [USE_MAC_TSM]: Likewise. | |
194 | (mouse_region) [!TARGET_API_MAC_CARBON]: Likewise. | |
195 | (mac_window_to_frame, DEFAULT_NUM_COLS, MIN_DOC_SIZE, MAX_DOC_SIZE): | |
196 | Move defines to mactoolbox.c. | |
197 | (FRAME_CG_CONTEXT) [USE_CG_DRAWING]: Likewise. | |
198 | (SCROLL_BAR_FIRST_DELAY, SCROLL_BAR_CONTINUOUS_DELAY) | |
199 | [USE_TOOLKIT_SCROLL_BARS]: Likewise. | |
200 | (TOOLBAR_IDENTIFIER, TOOLBAR_ICON_ITEM_IDENTIFIER) | |
201 | (TOOLBAR_ITEM_COMMAND_ID_OFFSET, TOOLBAR_ITEM_COMMAND_ID_P) | |
202 | (TOOLBAR_ITEM_COMMAND_ID_VALUE, TOOLBAR_ITEM_MAKE_COMMAND_ID) | |
203 | [USE_MAC_TOOLBAR]: Likewise. | |
204 | (M_APPLE, I_ABOUT, EXTRA_STACK_ALLOC, ARGV_STRING_LIST_ID) | |
205 | (RAM_TOO_LARGE_ALERT_ID, ABOUT_ALERT_ID): Move defines to macgui.h | |
206 | (x_flush, is_emacs_window, mac_begin_clip, mac_end_clip) | |
207 | (x_scroll_bar_handle_click, x_scroll_bar_report_motion) | |
208 | (mac_get_window_bounds, do_window_update, is_emacs_window) | |
209 | (do_grow_window, do_zoom_window, install_window_handler) | |
210 | (remove_window_handler, XTread_socket, init_menu_bar): Move functions | |
211 | to mactoolbox.c. | |
212 | (mac_flush_display_optional, mac_begin_cg_clip, mac_end_cg_clip) | |
213 | (mac_prepare_for_quickdraw) [USE_CG_DRAWING]: Likewise. | |
214 | (mac_scroll_area, mac_event_to_emacs_modifiers, mac_get_mouse_btn) | |
215 | (mac_convert_event_ref, mac_get_ideal_size, mac_store_drag_event) | |
216 | (mac_handle_window_event, mac_handle_keyboard_event) | |
217 | (mac_handle_command_event, mac_handle_mouse_event) | |
218 | (install_application_handler, mac_post_mouse_moved_event) | |
219 | [TARGET_API_MAC_CARBON]: Likewise. | |
220 | (scroll_bar_timer_callback, install_scroll_bar_timer) | |
221 | (set_scroll_bar_timer, control_part_code_to_scroll_bar_part) | |
222 | (construct_scroll_bar_click, get_control_part_bounds) | |
223 | (x_scroll_bar_handle_press, x_scroll_bar_handle_release) | |
224 | (x_scroll_bar_handle_drag, x_set_toolkit_scroll_bar_thumb) | |
225 | [USE_TOOLKIT_SCROLL_BARS]: Likewise. | |
226 | (x_scroll_bar_set_handle, x_scroll_bar_note_movement) | |
227 | [!USE_TOOLKIT_SCROLL_BARS]: Likewise. | |
228 | (mac_handle_toolbar_event, mac_create_frame_tool_bar) | |
229 | (update_frame_tool_bar, free_frame_tool_bar) | |
230 | (mac_tool_bar_note_mouse_movement, mac_handle_toolbar_command_event) | |
231 | [USE_MAC_TOOLBAR]: Likewise. | |
232 | (mac_font_panel_visible_p, mac_handle_font_event) | |
233 | (mac_show_hide_font_panel, mac_set_font_info_for_selection) | |
234 | [USE_MAC_FONT_PANEL]: Likewise. | |
235 | (mac_handle_text_input_event, init_tsm) [USE_MAC_TSM]: Likewise. | |
236 | (do_apple_menu, mac_wait_next_event) [!TARGET_API_MAC_CARBON]: Likewise. | |
237 | (mac_store_service_event) [MAC_OSX]: Likewise. | |
238 | (last_mouse_glyph, last_mouse_glyph_frame, last_mouse_scroll_bar) | |
239 | (last_mouse_movement_time, input_signal_count) | |
240 | (mac_screen_config_changed, Qhi_command, Qtoolbar_switch_mode) | |
241 | (Qservice, Qpaste, Qperform, keycode_to_xkeysym_table): Make variables | |
242 | non-static. | |
243 | (Qpanel_closed, Qselection) [USE_MAC_FONT_PANEL]: Likewise. | |
244 | (Qtext_input, Vmac_ts_active_input_overlay, Qupdate_active_input_area) | |
245 | (Qunicode_for_key_event, Vmac_ts_script_language_on_focus) | |
246 | (saved_ts_script_language_on_focus) [USE_MAC_TSM]: Likewise. | |
247 | (mac_focus_changed, note_mouse_movement, mac_focus_frame) | |
248 | (mac_handle_origin_change, mac_handle_size_change) | |
249 | (mac_handle_visibility_change, mac_to_emacs_modifiers) | |
250 | (mac_mapped_modifiers, mac_get_emulated_btn, do_keystroke) | |
251 | (mac_get_screen_info): Make functions non-static. | |
252 | (mac_move_window_with_gravity, mac_get_window_origin_with_gravity) | |
253 | (mac_image_spec_to_cg_image) [USE_MAC_TOOLBAR]: Likewise. | |
254 | (mac_store_event_ref_as_apple_event) [TARGET_API_MAC_CARBON]: Likewise. | |
255 | (Qwindow, mac_ready_for_apple_events): Move externs to mactoolbox.c. | |
256 | (Qbefore_string) [USE_MAC_TSM]: Likewise. | |
257 | (mac_toolbox_initialize, x_scroll_bar_report_motion, XTread_socket): | |
258 | Add externs. | |
259 | (mac_flush_display_optional) [USE_CG_DRAWING]: Likewise. | |
260 | (install_drag_handler, remove_drag_handler, install_service_handler) | |
261 | (install_menu_target_item_handler): Remove externs. | |
262 | (XSetWindowBackground): Rename to mac_set_frame_window_background. | |
263 | Take frame as argument instead of display and window. | |
264 | Move to mactoolbox.c. | |
265 | (mac_restore_keyboard_input_source, mac_save_keyboard_input_source) | |
266 | [USE_MAC_TSM]: New functions created from mac_tsm_resume and | |
267 | mac_tsm_suspend, respectively. | |
268 | (mac_tsm_resume, mac_tsm_suspend) [USE_MAC_TSM]: Use them. | |
269 | Move to mactoolbox.c. | |
270 | ||
271 | * macterm.h (FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y): | |
272 | Move to mactoolbox.c. | |
273 | (HOURGLASS_WIDTH, HOURGLASS_HEIGHT): Change to 15. | |
274 | (Fx_selection_owner_p): Add EXFUN. | |
275 | (install_window_handler, remove_window_handler, XSetWindowBackground): | |
276 | Remove externs. | |
277 | (do_apple_menu) [!TARGET_API_MAC_CARBON]: Likewise. | |
278 | (mac_prepare_for_quickdraw) [USE_CG_DRAWING]: Likewise. | |
279 | (x_raise_frame, x_lower_frame, mac_alert_sound_play) | |
280 | (install_application_handler, mac_get_frame_bounds, mac_get_frame_mouse) | |
281 | (mac_convert_frame_point_to_global, mac_set_frame_window_background) | |
282 | (mac_update_begin mac_update_end, mac_frame_up_to_date, x_flush) | |
283 | (mac_create_frame_window, mac_dispose_frame_window, mac_begin_clip) | |
284 | (mac_end_clip, mac_create_scroll_bar, mac_dispose_scroll_bar) | |
285 | (mac_set_scroll_bar_bounds, mac_redraw_scroll_bar, mac_fill_menubar) | |
286 | (create_and_show_popup_menu, mac_get_selection_from_symbol) | |
287 | (mac_valid_selection_target_p, mac_clear_selection) | |
288 | (mac_get_selection_ownership_info, mac_valid_selection_value_p) | |
289 | (mac_put_selection_value, mac_selection_has_target_p) | |
290 | (mac_get_selection_value, mac_get_selection_target_list): Add externs. | |
291 | (mac_update_proxy_icon, mac_show_hourglass, mac_hide_hourglass) | |
292 | (mac_reposition_hourglass, mac_file_dialog, create_and_show_dialog) | |
293 | (mac_dnd_default_known_types) [TARGET_API_MAC_CARBON]: Likewise. | |
294 | (mac_run_loop_run_once) [MAC_OSX]: Likewise. | |
295 | (mac_dialog) [!TARGET_API_MAC_CARBON]: Likewise. | |
296 | (mac_begin_cg_clip, mac_end_cg_clip) [USE_CG_DRAWING]: Likewise. | |
297 | (x_set_toolkit_scroll_bar_thumb) [!USE_TOOLKIT_SCROLL_BARS]: Likewise. | |
298 | (x_scroll_bar_set_handle) [!USE_TOOLKIT_SCROLL_BARS]: Likewise. | |
299 | ||
300 | * mactoolbox.c: New file. | |
301 | ||
6ffb36c3 CY |
302 | 2008-04-05 Chong Yidong <cyd@stupidchicken.com> |
303 | ||
304 | * search.c (compile_pattern_1): Treat non-nil and non-string of | |
305 | search-spaces-regexp as nil. | |
306 | ||
f3a3640b EZ |
307 | 2008-04-05 Eli Zaretskii <eliz@gnu.org> |
308 | ||
309 | * dired.c (Ffile_attributes) [WINDOWSNT]: Force inode be positive. | |
310 | ||
cb9b4cc6 CY |
311 | 2008-03-31 Chong Yidong <cyd@stupidchicken.com> |
312 | ||
66cfe827 CY |
313 | * xdisp.c (next_overlay_string): Don't set |
314 | overlay_strings_at_end_processed_p if we're currently reading from | |
315 | a display string. | |
316 | ||
cb9b4cc6 CY |
317 | * fileio.c (auto_save_error_occurred): New var. |
318 | (auto_save_error): Set it. | |
319 | (Fdo_auto_save): Don't overwrite the error message if an auto-save | |
320 | error occurred. | |
321 | ||
623719c3 JR |
322 | 2008-03-31 Jason Rumney <jasonr@gnu.org> |
323 | ||
324 | * dired.c (Ffile_attributes) [WINDOWSNT]: Cast uid and gid to unsigned. | |
325 | ||
f3aa14f9 YM |
326 | 2008-03-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
327 | ||
328 | * frame.h (struct frame) [MAC_OS]: New member external_tool_bar. | |
329 | (FRAME_EXTERNAL_TOOL_BAR) [MAC_OS]: Use it. | |
330 | ||
331 | * mac.c (xrm_get_preference_database): Remove BLOCK_INPUT. | |
332 | [TARGET_API_MAC_CARBON] (cfdate_to_lisp): Obtain microsec value. | |
333 | Use kCFAbsoluteTimeIntervalSince1970. | |
334 | (wakeup_from_rne_enabled_p) [MAC_OSX]: Remove variable. | |
335 | (ENABLE_WAKEUP_FROM_RNE, DISABLE_WAKEUP_FROM_RNE) [MAC_OSX]: | |
336 | Remove macros. | |
337 | [MAC_OSX] (socket_callback): Do nothing. | |
338 | [MAC_OSX] (select_and_poll_event): Use CFRunLoopRunInMode instead of | |
339 | ReceiveNextEvent. | |
340 | [MAC_OSX] (sys_select): Likewise. Don't set context as argument to | |
341 | socket_callback. | |
342 | (mac_wakeup_from_rne) [MAC_OSX]: Do nothing. | |
343 | ||
344 | * macfns.c (mac_window): Replace WindowPtr with WindowRef. | |
345 | (mac_get_window_bounds): Move extern to macterm.h. | |
346 | (compute_tip_xy) [TARGET_API_MAC_CARBON]: Use GetGlobalMouse. | |
347 | (mac_window) [USE_MAC_TOOLBAR]: Set toolbar_win_gravity. | |
348 | (x_set_tool_bar_lines) [USE_MAC_TOOLBAR]: Set FRAME_EXTERNAL_TOOL_BAR. | |
349 | ||
350 | * macgui.h: Replace WindowPtr with WindowRef. | |
351 | (USE_MAC_TOOLBAR): New define. | |
352 | (USE_CG_DRAWING): Don't require USE_ATSUI. | |
353 | ||
354 | * macmenu.c: Replace MenuHandle and GetMenuHandle with MenuRef and | |
355 | GetMenuRef, respectively. Replace WindowPtr with WindowRef. | |
356 | Replace ControlHandle with ControlRef. | |
357 | [!TARGET_API_MAC_CARBON]: Include Quickdraw.h instead of QuickDraw.h. | |
358 | (install_menu_quit_handler): Rename arg MENU_HANDLE to ROOT_MENU. | |
359 | [TARGET_API_MAC_CARBON] (menu_target_item_handler): Don't call next | |
360 | handler. Return immediately unless popup is activated. | |
361 | [TARGET_API_MAC_CARBON] (install_menu_target_item_handler): | |
362 | Remove argument. Install handler to application. | |
363 | (set_frame_menubar): Don't change deep_p. | |
364 | (mac_menu_show): Use FRAME_OUTER_TO_INNER_DIFF_X and | |
365 | FRAME_OUTER_TO_INNER_DIFF_Y. | |
366 | (DIALOG_BUTTON_COMMAND_ID_OFFSET, DIALOG_BUTTON_COMMAND_ID_P) | |
367 | (DIALOG_BUTTON_COMMAND_ID_VALUE, DIALOG_BUTTON_MAKE_COMMAND_ID) | |
368 | [HAVE_DIALOGS]: New macros. | |
369 | [HAVE_DIALOGS] (mac_handle_dialog_event, create_and_show_dialog): | |
370 | Use them. | |
371 | (fill_menu) [TARGET_API_MAC_CARBON]: Use SetMenuItemHierarchicalMenu. | |
372 | (fill_menubar) [TARGET_API_MAC_CARBON]: Use CFString. | |
373 | (mac_dialog_modal_filter, Fx_popup_dialog) [MAC_OSX]: Put special | |
374 | treatment for Fmessage_box, Fyes_or_no_p, and Fy_or_n_p in #if 0 | |
375 | as it is not compatible with y-or-n-p-with-timeout. | |
376 | (timer_check) [TARGET_API_MAC_CARBON]: Add extern. | |
377 | [TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Use QuitEventLoop | |
378 | instead of QuitAppModalLoopForWindow. Consolidate QuitEventLoop calls. | |
379 | (pop_down_dialog) [TARGET_API_MAC_CARBON]: New function. | |
380 | [TARGET_API_MAC_CARBON] (create_and_show_dialog): Use it for unwind. | |
381 | Run timers during dialog popup. | |
382 | (Fmenu_or_popup_active_p) [TARGET_API_MAC_CARBON]: Use popup_activated. | |
383 | (quit_dialog_event_loop) [TARGET_API_MAC_CARBON]: New variable. | |
384 | [TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Set it if dialog | |
385 | event loop should be quit. | |
386 | [TARGET_API_MAC_CARBON] (create_and_show_dialog): Quit dialog event loop | |
387 | if quit_dialog_event_loop is set. | |
388 | ||
389 | * macselect.c [!TARGET_API_MAC_CARBON]: Include Scrap.h. | |
390 | [MAC_OSX] (install_service_handler): Rename from init_service_handler. | |
391 | All callers changed. Return OSStatus value. | |
392 | (Selection): New typedef. Use instead of ScrapRef. | |
393 | (mac_get_selection_from_symbol): Rename from get_scrap_from_symbol. | |
394 | (mac_valid_selection_target_p): Rename from valid_scrap_target_type_p. | |
395 | (mac_clear_selection): Rename from clear_scrap. | |
396 | (get_flavor_type_from_symbol): New argument SEL and subsume function of | |
397 | scrap_has_target_type. All uses changed. | |
398 | (mac_get_selection_ownership_info, mac_valid_selection_value_p) | |
399 | (mac_selection_has_target_p): New functions. | |
400 | (mac_put_selection_value): Rename from put_scrap_string. | |
401 | (mac_get_selection_value): Rename from get_scrap_string. | |
402 | (mac_get_selection_target_list): Rename from get_scrap_target_type_list. | |
403 | (put_scrap_private_timestamp, scrap_has_target_type) | |
404 | (get_scrap_private_timestamp): Remove functions. | |
405 | (SCRAP_FLAVOR_TYPE_EMACS_TIMESTAMP): Remove define. | |
406 | (x_own_selection, x_get_local_selection): | |
407 | Use mac_valid_selection_value_p. | |
408 | (x_own_selection): Don't use put_scrap_private_timestamp. | |
409 | Record OWNERSHIP-INFO into Vselection_alist instead. | |
410 | (x_get_local_selection): Don't check type if request is local. | |
411 | (Fx_selection_owner_p): Don't use get_scrap_private_timestamp. | |
412 | Detect ownership change with OWNERSHIP-INFO in Vselection_alist instead. | |
413 | ||
414 | * macterm.c: Replace MenuHandle and GetMenuHandle with MenuRef and | |
415 | GetMenuRef, respectively. Replace WindowPtr with WindowRef. | |
416 | Replace ControlHandle with ControlRef. | |
417 | (USE_CARBON_EVENTS): Remove. Use TARGET_API_MAC_CARBON instead. | |
418 | [MAC_OS8] (do_get_menus): Rename variable `menu_handle' to `menu'. | |
419 | (mac_begin_cg_clip): New arg F. Call SetPortWindowPort. All callers | |
420 | changed so as not to call SetPortWindowPort. | |
421 | (mac_begin_cg_clip) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. | |
422 | (mac_draw_image_string_atsui) [USE_ATSUI]: New function created from | |
423 | mac_draw_string_common. | |
424 | (mac_draw_image_string_qd): Likewise. | |
425 | (mac_draw_string_common): Use them. Add INLINE. | |
426 | (XTmouse_position, x_scroll_bar_report_motion) [TARGET_API_MAC_CARBON]: | |
427 | Use FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y, and | |
428 | GetGlobalMouse. | |
429 | (x_set_mouse_pixel_position) [MAC_OSX]: Use FRAME_OUTER_TO_INNER_DIFF_X | |
430 | and FRAME_OUTER_TO_INNER_DIFF_Y. | |
431 | [TARGET_API_MAC_CARBON] (mac_handle_mouse_event): Likewise. | |
432 | [USE_MAC_TSM] (mac_handle_text_input_event): Likewise. | |
433 | (x_make_frame_visible) [TARGET_API_MAC_CARBON]: Move code for | |
434 | repositioning window to mac_handle_window_event. | |
435 | (x_make_frame_invisible) [TARGET_API_MAC_CARBON]: Move code for | |
9e13f0c3 | 436 | saving window location to mac_handle_window_event. |
f3aa14f9 YM |
437 | [USE_MAC_FONT_PANEL] (mac_show_hide_font_panel): Install handler here. |
438 | (install_menu_target_item_handler): Remove argument in extern. | |
439 | [TARGET_API_MAC_CARBON] (mac_event_to_emacs_modifiers): | |
440 | Also accept command events. | |
441 | (do_keystroke): New function created from XTread_socket. | |
442 | (init_command_handler): Remove functions. | |
443 | [TARGET_API_MAC_CARBON] (mac_handle_window_event): Reposition window | |
444 | and save window location by kEventWindowShowing and kEventWindowHiding | |
445 | handlers here. Don't call next handler for window state change and | |
446 | focus events. | |
447 | (mac_handle_keyboard_event) [TARGET_API_MAC_CARBON]: New function. | |
448 | (install_window_handler) [TARGET_API_MAC_CARBON]: Register handlers for | |
449 | kEventWindowShowing and kEventWindowHiding events. Move installation | |
450 | of mouse, font, text input and menu target item handlers to | |
451 | install_application_handler. | |
452 | (install_application_handler) [TARGET_API_MAC_CARBON]: New function. | |
453 | (mac_handle_cg_display_reconfig) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
454 | New function. | |
455 | (init_dm_notification_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
456 | Register it. | |
457 | (XTread_socket) [TARGET_API_MAC_CARBON]: | |
458 | Consolidate SendEventToEventTarget calls. | |
459 | Use FRAME_OUTER_TO_INNER_DIFF_X and FRAME_OUTER_TO_INNER_DIFF_Y. | |
460 | Move keyboard handler to mac_handle_keyboard_event. | |
461 | (XTread_socket) [!TARGET_API_MAC_CARBON]: Use do_keystroke. | |
462 | (mac_initialize) [TARGET_API_MAC_CARBON]: Don't call | |
463 | init_command_handler. Call install_application_handler. | |
464 | (x_draw_fringe_bitmap) [MAC_OSX]: Extend fringe background to scroll | |
465 | bar gap. | |
466 | (x_scroll_bar_create) [MAC_OSX]: Set bar->fringe_extended_p. | |
467 | (XTset_vertical_scroll_bar) [MAC_OSX]: Put leftmost/rightmost | |
468 | scroll bars on frame edge. Check fringe background extension. | |
469 | Don't clear extended fringe background area. | |
470 | (TOOLBAR_IDENTIFIER, TOOLBAR_ICON_ITEM_IDENTIFIER) | |
471 | (TOOLBAR_ITEM_COMMAND_ID_OFFSET, TOOLBAR_ITEM_COMMAND_ID_P) | |
472 | (TOOLBAR_ITEM_COMMAND_ID_VALUE, TOOLBAR_ITEM_MAKE_COMMAND_ID): | |
473 | [USE_MAC_TOOLBAR]: New macros. | |
474 | (mac_move_window_with_gravity, mac_get_window_origin_with_gravity) | |
475 | (mac_handle_toolbar_event, mac_image_spec_to_cg_image) | |
476 | (mac_create_frame_tool_bar, update_frame_tool_bar, free_frame_tool_bar) | |
477 | (mac_tool_bar_note_mouse_movement, mac_handle_toolbar_command_event) | |
478 | [USE_MAC_TOOLBAR]: New functions. | |
479 | (mac_handle_window_event) [USE_MAC_TOOLBAR]: Reposition window | |
480 | manually if previous repositioning has failed. | |
481 | (mac_handle_keyboard_event): Use precomputed event kind. | |
482 | (XTread_socket) [USE_MAC_TOOLBAR]: Handle click in structure region | |
483 | as tool bar item click. Handle mouse movement over tool bar items. | |
484 | (frame_highlight, frame_unhighlight): Don't call | |
485 | ActivateControl/DeactivateControl here. | |
486 | [USE_MAC_TOOLBAR] (free_frame_tool_bar): Suppress animation when | |
487 | frame-notice-user-settings is non-nil. | |
488 | [USE_MAC_FONT_PANEL] (mac_handle_font_event): Also record parameter | |
489 | for kEventParamFMFontStyle. | |
490 | [TARGET_API_MAC_CARBON] (mac_handle_keyboard_event): Don't check | |
491 | mac_pass_command_to_system and mac_pass_control_to_system here. | |
492 | (XTread_socket): Call ActivateControl/DeactivateControl here. | |
493 | (XTread_socket) [TARGET_API_MAC_CARBON]: | |
494 | Check mac_pass_command_to_system and mac_pass_control_to_system here. | |
495 | [TARGET_API_MAC_CARBON] (mac_handle_window_event): Don't use invisible | |
496 | frame as parent window for repositioning. | |
497 | ||
498 | * macterm.h (struct scroll_bar): Rename member control_handle_low | |
499 | and control_handle_high to control_ref_low and control_ref_high. | |
500 | All uses changed. | |
501 | (SCROLL_BAR_CONTROL_REF, SET_SCROLL_BAR_CONTROL_REF): Rename from | |
502 | SCROLL_BAR_CONTROL_HANDLE and SET_SCROLL_BAR_CONTROL_HANDLE, | |
503 | respectively. All uses changed. | |
504 | (XCreatePixmap, XCreatePixmapFromBitmapData, XSetWindowBackground) | |
505 | (install_window_handler, remove_window_handler): Replace WindowPtr | |
506 | with WindowRef in externs. | |
507 | (mac_get_window_bounds): Move extern from macfns.c. | |
508 | (FRAME_OUTER_TO_INNER_DIFF_X, FRAME_OUTER_TO_INNER_DIFF_Y): New macros. | |
509 | (struct mac_output) [USE_MAC_TOOLBAR]: New member toolbar_win_gravity. | |
510 | (struct scroll_bar) [MAC_OSX]: New member fringe_extended_p. | |
511 | (update_frame_tool_bar, free_frame_tool_bar) [USE_MAC_TOOLBAR]: | |
512 | Add externs. | |
513 | ||
514 | * xdisp.c (update_tool_bar, redisplay_tool_bar, redisplay_window) | |
515 | [USE_MAC_TOOLBAR]: Sync with GTK+ tool bar display. | |
516 | ||
b9c89e11 JR |
517 | 2008-03-28 Jason Rumney <jasonr@gnu.org> |
518 | ||
519 | * image.c (pbm_load): Allow color values up to 65535. | |
520 | Throw an error if max_color_idx is outside the supported range. | |
521 | Report an error when image size is invalid. | |
522 | Read two bytes at a time when raw images have max_color_idx above 255. | |
523 | ||
5070a9f5 CY |
524 | 2008-03-26 Alexandre Oliva <aoliva@redhat.com> (tiny change) |
525 | ||
526 | * regex.c (EXTEND_BUFFER): Change order of pointer addition | |
527 | operations, to avoid having the difference between pointers | |
528 | overflow. | |
529 | ||
192788d7 EZ |
530 | 2008-03-26 Eli Zaretskii <eliz@gnu.org> |
531 | ||
532 | * w32.c (readdir): If FindFirstFile/FindNextFile return in | |
533 | cFileName a file name that includes `?' characters, use the 8+3 | |
534 | alias in cAlternateFileName instead. | |
535 | ||
03a864d5 CY |
536 | 2008-03-26 Chong Yidong <cyd@stupidchicken.com> |
537 | ||
538 | * Version 22.2 released. | |
539 | ||
fe56282f KH |
540 | 2008-03-10 Kenichi Handa <handa@ni.aist.go.jp> |
541 | ||
542 | * fileio.c (Finsert_file_contents): Don't make CCL program to | |
543 | append "CCL: Quitted" when the decoding is quitted, but just | |
544 | signal `quit'. | |
545 | ||
546 | * ccl.c (ccl_driver): If ccl->quit_silently is nonzero, don't | |
547 | append "CCL: Quitted" when the CCL program is quitted. | |
548 | (setup_ccl_program): Initialize ccl->quit_silently to zero. | |
549 | ||
550 | * ccl.h (struct ccl_program): New member quit_silently. | |
551 | ||
f2549aa0 AS |
552 | 2008-03-08 Andreas Schwab <schwab@suse.de> |
553 | ||
554 | * process.h (struct Lisp_Process): Declare bit field as unsigned. | |
555 | ||
3efaadb7 SM |
556 | 2008-03-07 Stefan Monnier <monnier@iro.umontreal.ca> |
557 | ||
558 | * fileio.c (Fsubstitute_in_file_name): Fix up computation of maximum | |
559 | size of resulting string. | |
560 | ||
4e5a6f83 JR |
561 | 2008-03-05 Jason Rumney <jasonr@gnu.org> |
562 | ||
ca8a12a7 JR |
563 | * dispnew.c (adjust_glyph_matrix): Initialize window_height. |
564 | ||
70f6d796 YM |
565 | 2008-03-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
566 | ||
567 | * xdisp.c (handle_single_display_spec): Undo 2007-10-16 changes. | |
568 | Don't pretend as if characters with display property haven't been | |
569 | consumed for string-replacing-string case. | |
570 | ||
05884da4 CY |
571 | 2008-02-29 Chong Yidong <cyd@stupidchicken.com> |
572 | ||
573 | * xdisp.c (get_overlay_strings_1): Add missing argument type. | |
574 | ||
a88a1197 YM |
575 | 2008-02-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
576 | ||
577 | * m/intel386.h [MAC_OSX || DARWIN]: Define NO_ARG_ARRAY if _LP64. | |
578 | ||
1239e198 CY |
579 | 2008-02-27 Chong Yidong <cyd@stupidchicken.com> |
580 | ||
581 | * process.c (wait_reading_process_output): Check for window | |
582 | changes caused by timers. | |
583 | Suggested by Johan Bockg\e,Ae\e(Brd. | |
584 | ||
6667db4e CY |
585 | 2008-02-26 Chong Yidong <cyd@stupidchicken.com> |
586 | ||
587 | * editfns.c (Fformat): Doc fix. | |
588 | ||
152e0c97 CY |
589 | 2008-02-25 Chong Yidong <cyd@stupidchicken.com> |
590 | ||
591 | * keyboard.c (command_loop_1): Revert 2006-10-09 change. | |
592 | ||
59c6b61c JR |
593 | 2008-02-24 Jason Rumney <jasonr@gnu.org> |
594 | ||
595 | * w32fns.c (enum_font_cb2): Don't use raster fonts for Unicode. | |
596 | ||
41cac0d7 CY |
597 | 2008-02-24 Ulrich Neumerkel <ulrich@complang.tuwien.ac.at> (tiny change) |
598 | ||
599 | * xterm.c (x_set_offset): Don't change the gravity if | |
600 | CHANGE_GRAVITY is -1. | |
601 | ||
837584c7 SM |
602 | 2008-02-19 Stefan Monnier <monnier@iro.umontreal.ca> |
603 | ||
604 | * intervals.h (INT_LISPLIKE): Remove. It may misfire. | |
605 | (NULL_INTERVAL_P, SET_INTERVAL_PARENT): Don't use it. | |
606 | ||
6a146d31 JR |
607 | 2008-02-18 Jason Rumney <jasonr@gnu.org> |
608 | ||
609 | * w32fns.c (Fw32_shell_execute): Encode parameters. | |
610 | ||
073387e7 JR |
611 | 2008-02-15 Jason Rumney <jasonr@gnu.org> |
612 | ||
613 | * w32term.c (x_draw_glyph_string_background): Clear the background | |
614 | manually when cleartype is in use. | |
615 | (x_draw_glyph_string_foreground): Draw text transparently when | |
616 | cleartype is in use. | |
617 | ||
d375705e EZ |
618 | 2008-02-09 Eli Zaretskii <eliz@gnu.org> |
619 | ||
620 | * fileio.c (syms_of_fileio) <insert-default-directory>: Doc fix. | |
621 | ||
85bb72ee JR |
622 | 2008-02-05 Jason Rumney <jasonr@gnu.org> |
623 | ||
624 | * w32term.c (w32_read_socket) <WM_CHAR>: Use locale-coding-system | |
625 | instead of using mule-unicode-* charsets directly. | |
626 | ||
05b33f7c JB |
627 | 2008-02-05 Juanma Barranquero <lekktu@gmail.com> |
628 | ||
629 | * unexec.c (make_hdr): | |
630 | * unexhp9k800.c (read_header): Replace `legal' with `valid'. | |
631 | ||
10fdc4c2 YM |
632 | 2008-02-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
633 | ||
634 | * macterm.c [MAC_OSX] (fn_keycode_to_keycode_table): Add more entries | |
ca1617bf | 635 | that ignore kEventKeyModifierFnMask. |
10fdc4c2 YM |
636 | (XTread_socket) [MAC_OSX]: Move code for ignoring |
637 | kEventKeyModifierFnMask for some keys ... | |
638 | (mac_mapped_modifiers) [MAC_OSX]: ... to here. Add argument KEY_CODE. | |
639 | All callers changed. | |
ca1617bf YM |
640 | (mac_to_emacs_modifiers): New argument UNMAPPED_MODS. |
641 | All callers changed. | |
10fdc4c2 | 642 | (mac_quit_char_key_p, XTread_socket): Get Emacs modifiers from |
ca1617bf | 643 | mapped modifiers together with original ones. |
10fdc4c2 | 644 | |
0acdaf8d KH |
645 | 2008-02-01 Kenichi Handa <handa@ni.aist.go.jp> |
646 | ||
647 | * ccl.c (CCL_WRITE_CHAR): Fix overflow checking. | |
648 | (CCL_WRITE_MULTIBYTE_CHAR): Likewise. | |
649 | ||
a32aad64 KH |
650 | 2008-01-31 Kenichi Handa <handa@ni.aist.go.jp> |
651 | ||
652 | * keyboard.c (make_ctrl_char): If C is a multibyte character, just | |
653 | return it ORed with ctrl_modifier. | |
654 | ||
4ada4a87 TTN |
655 | 2008-01-26 Thien-Thi Nguyen <ttn@gnuvola.org> |
656 | ||
657 | * fns.c (Fclrhash): Return TABLE. | |
658 | ||
223b3d1d YM |
659 | 2008-01-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
660 | ||
661 | * macterm.c (x_scroll_bar_create): Initialize bar->redraw_needed_p. | |
662 | (XTset_vertical_scroll_bar): Redraw scroll bar if bar->redraw_needed_p | |
663 | is set even without positional changes. | |
664 | (x_scroll_bar_clear): Set bar->redraw_needed_p. | |
665 | ||
666 | * macterm.h (struct scroll_bar): New member `redraw_needed_p'. | |
667 | ||
5a7a1dde KH |
668 | 2008-01-19 Kenichi Handa <handa@m17n.org> |
669 | ||
c041e2d1 JB |
670 | * coding.c (detect_coding_iso2022): New arg latin_extra_code_state. |
671 | Allow Latin extra codes only when *latin_extra_code_state is nonzero. | |
5a7a1dde | 672 | (detect_coding_mask): If there is a NULL byte, detect the encoding |
c041e2d1 JB |
673 | as UTF-16 or binary. If Latin extra codes exist, detect the encoding |
674 | as ISO-2022 only when no other proper encoding is found. | |
5a7a1dde | 675 | |
602e142f JR |
676 | 2008-01-17 Jason Rumney <jasonr@gnu.org> |
677 | ||
d6169680 JR |
678 | * xterm.c (handle_one_xevent): Revert to counting chars not bytes. |
679 | ||
602e142f JR |
680 | * w32term.c (w32_read_socket) <WM_CHAR>: Decode characters outside |
681 | the unicode range available in MULE by locale-coding-system. | |
c041e2d1 | 682 | Improve dbcs lead byte detection. Set event timestamp and modifiers |
602e142f JR |
683 | earlier. |
684 | ||
5d2c8fc0 GM |
685 | 2008-01-17 Glenn Morris <rgm@gnu.org> |
686 | ||
687 | * m/ibms390x.h (START_FILES, LIB_STANDARD): Adjust value according | |
688 | to HAVE_X86_64_LIB64_DIR. | |
689 | ||
5ee4de53 YM |
690 | 2008-01-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
691 | ||
692 | * mac.c (mac_emacs_pid) [MAC_OSX]: New variable. | |
693 | [MAC_OSX] (init_mac_osx_environment): Initialize it. | |
05b33f7c | 694 | [MAC_OSX] (mac_try_close_socket) [SELECT_USE_CFSOCKET]: Return 0 |
5ee4de53 YM |
695 | when used on child processes. |
696 | ||
63dbe8da GM |
697 | 2008-01-10 Chong Yidong <cyd@stupidchicken.com> |
698 | ||
699 | * process.c (wait_reading_process_output): Check for window | |
700 | changes caused by timers. | |
701 | ||
081f2203 GM |
702 | 2008-01-08 Glenn Morris <rgm@gnu.org> |
703 | ||
704 | * emacs.c (main): Set copyright year to 2008. | |
705 | ||
bea1686f YM |
706 | 2008-01-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
707 | ||
708 | * frame.c (Fmake_terminal_frame): Use #ifdef MAC_OS8 instead of | |
709 | #ifdef MAC_OS. | |
710 | ||
78379264 RS |
711 | 2008-01-04 Richard Stallman <rms@gnu.org> |
712 | ||
713 | * fileio.c (Ffile_name_directory, Fexpand_file_name): Doc fixes. | |
714 | ||
5742be86 YM |
715 | 2007-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
716 | ||
9d826ef2 YM |
717 | * process.c (make_process): Initialize pty_flag to Qnil instead of 0 |
718 | as it is not a bit field on Emacs 22 yet. | |
719 | ||
5742be86 YM |
720 | * xdisp.c (phys_cursor_in_rect_p): Check if cursor is in fringe area. |
721 | ||
585a8772 YM |
722 | 2007-12-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
723 | ||
724 | * macmenu.c (fill_menubar) [MAC_OSX]: Add workaround for Mac OS X 10.5 | |
725 | about not changing Help menu title. | |
726 | ||
b014713c EZ |
727 | 2007-12-22 Eli Zaretskii <eliz@gnu.org> |
728 | ||
729 | * callint.c (syms_of_callint) <command-history>: Add reference to | |
730 | history-length in the doc string. | |
731 | ||
a313b291 JR |
732 | 2007-12-17 Jason Rumney <jasonr@gnu.org> |
733 | ||
734 | * w32fns.c (w32_wnd_proc) <WM_KEYDOWN>: Cast char to unsigned | |
735 | before passing as wParam. | |
736 | ||
2e3566d8 JR |
737 | 2007-12-14 Jason Rumney <jasonr@gnu.org> |
738 | ||
739 | * w32term.c (w32_read_socket): Use MULTIBYTE_CHAR_KEYSTROKE_EVENT | |
740 | for characters above 127. | |
741 | ||
bf254037 JR |
742 | 2007-12-13 Jason Rumney <jasonr@gnu.org> |
743 | ||
744 | * w32fns.c (w32_wnd_proc, Fw32_reconstruct_hot_key): Range check | |
745 | before dereferencing array. | |
746 | (lookup_vk_code): Remove zero comparison. | |
747 | ||
0277bfa1 RS |
748 | 2007-12-02 Magnus Henoch <mange@freemail.hu> |
749 | ||
750 | * process.c (make_process): Initialize pty_flag to 0. | |
751 | ||
44b1dc2e JR |
752 | 2007-12-02 Jason Rumney <jasonr@gnu.org> |
753 | ||
754 | * image.c (xbm_load) [WINDOWSNT]: Shuffle the bits of directly | |
755 | specified XBMs. | |
756 | ||
d0f44b71 RS |
757 | 2007-12-01 Richard Stallman <rms@gnu.org> |
758 | ||
759 | * xdisp.c (syms_of_xdisp) <scroll-conservatively>: Doc fix. | |
760 | ||
959116ef YM |
761 | 2007-11-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
762 | ||
763 | * mac.c (cfsockets_for_select) [MAC_OSX && SELECT_USE_CFSOCKET]: | |
764 | New variable. | |
765 | (mac_try_close_socket) [MAC_OSX]: New function. | |
766 | [MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: | |
767 | Update cfsockets_for_select. Replace invalid CFRunLoop source. | |
768 | ||
769 | * sysdep.c (emacs_close) [MAC_OSX && HAVE_CARBON]: | |
770 | Use mac_try_close_socket. | |
771 | ||
9485484a GM |
772 | 2007-11-28 Petr Salinger <Petr.Salinger@seznam.cz> (tiny change) |
773 | ||
774 | * s/gnu-kfreebsd.h: New file. | |
775 | ||
7aee2da7 YM |
776 | 2007-11-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
777 | ||
778 | * unexmacosx.c (unrelocate): New argument BASE. Use it instead of | |
779 | reloc_base. | |
780 | (copy_dysymtab): Compute relocation base here. | |
781 | (rebase_reloc_address) [__ppc64__]: New function. | |
782 | (copy_dysymtab) [__ppc64__]: Use it if relocation base needs to be | |
783 | changed. | |
784 | ||
0a7a6051 JR |
785 | 2007-11-26 Jason Rumney <jasonr@gnu.org> |
786 | ||
787 | * w32proc.c (sys_spawnve): Quote args with wildcards. | |
788 | ||
dd9b0004 AS |
789 | 2007-11-26 Andreas Schwab <schwab@suse.de> |
790 | ||
791 | * process.c (list_processes_1): Fix indentation level of the | |
792 | command column. | |
793 | ||
b2411edf YM |
794 | 2007-11-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
795 | ||
796 | * unexmacosx.c (copy_data_segment): Also copy __gcc_except_tab and | |
797 | __objc_* sections. | |
798 | (unrelocate) [_LP64]: Set relocation base to address of data segment. | |
799 | ||
89df6fc6 AS |
800 | 2007-11-23 Andreas Schwab <schwab@suse.de> |
801 | ||
802 | * editfns.c (Fformat): Handle %c specially since it requires the | |
803 | argument to be of type int. | |
804 | ||
1fbf5386 JD |
805 | 2007-11-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
806 | ||
807 | * gtkutil.c (update_frame_tool_bar): Don't call x-gtk-map-stock if | |
05b33f7c | 808 | file for image is nil. |
1fbf5386 | 809 | |
5f42a7eb JR |
810 | 2007-11-19 Jason Rumney <jasonr@gnu.org> |
811 | ||
812 | * w32bdf.c (w32_init_bdf_font, w32_BDF_to_x_font): CreateFileMapping | |
813 | returns NULL on failure. | |
814 | ||
b51d6c92 SM |
815 | 2007-11-16 Stefan Monnier <monnier@iro.umontreal.ca> |
816 | ||
817 | * search.c (Fset_match_data): Remove the `evaporate' feature. | |
818 | (unwind_set_match_data): Don't use the `evaporate' feature. | |
819 | ||
f52fcaa4 AS |
820 | 2007-11-15 Andreas Schwab <schwab@suse.de> |
821 | ||
b51d6c92 SM |
822 | * editfns.c (Fformat): Correctly format EMACS_INT values. |
823 | Also take precision into account when formatting an integer. | |
f52fcaa4 | 824 | |
bb189688 JB |
825 | 2007-11-15 Juanma Barranquero <lekktu@gmail.com> |
826 | ||
827 | * macfns.c (Fx_create_frame, Fx_display_pixel_width) | |
828 | (Fx_display_pixel_height, Fx_display_planes) | |
829 | (Fx_display_color_cells, Fx_server_max_request_size) | |
830 | (Fx_server_vendor, Fx_server_version, Fx_display_backing_store) | |
831 | (Fx_display_visual_class, Fx_display_save_under): | |
832 | * w32fns.c (Fx_create_frame, Fx_display_pixel_width) | |
833 | (Fx_display_pixel_height, Fx_display_planes) | |
834 | (Fx_display_color_cells, Fx_server_max_request_size) | |
835 | (Fx_server_vendor, Fx_server_version, Fx_display_screens) | |
836 | (Fx_display_mm_height, Fx_display_mm_width) | |
837 | (Fx_display_backing_store, Fx_display_visual_class) | |
838 | (Fw32_select_font, Fx_display_save_under): | |
839 | * xfns.c (Fx_create_frame, Fx_display_pixel_width) | |
840 | (Fx_display_pixel_height, Fx_display_planes) | |
841 | (Fx_display_color_cells, Fx_server_max_request_size) | |
842 | (Fx_server_vendor, Fx_server_version, Fx_display_backing_store) | |
843 | (Fx_display_save_under): Fix typos in docstrings. | |
844 | ||
cca3fd48 JB |
845 | 2007-11-14 Juanma Barranquero <lekktu@gmail.com> |
846 | ||
847 | * w32fns.c (Fw32_registered_hot_keys): Don't return the nil values | |
848 | corresponding to deleted entries; they are an implementation detail. | |
849 | (gray_bitmap_width, gray_bitmap_height, gray_bitmap_bits): | |
850 | Remove variables. | |
851 | (Fw32_define_rgb_color, Fw32_load_color_file): Fix typos in docstrings. | |
852 | (Fx_server_version): Reflow docstring. | |
853 | (Fw32_shell_execute): Doc fixes. | |
854 | ||
f1ca9497 JB |
855 | 2007-11-13 Juanma Barranquero <lekktu@gmail.com> |
856 | ||
857 | * w32fns.c (Fw32_register_hot_key): Don't try to register hot key | |
858 | if w32_parse_hot_key returned nil. | |
859 | ||
d83e0299 JL |
860 | 2007-11-10 Juri Linkov <juri@jurta.org> |
861 | ||
862 | * puresize.h (BASE_PURESIZE): Increase to 1130000. | |
863 | ||
8383dac7 SM |
864 | 2007-11-10 Stefan Monnier <monnier@iro.umontreal.ca> |
865 | ||
866 | * xdisp.c (load_overlay_strings): Fix copy&paste typo. | |
867 | ||
d388d2ac CY |
868 | 2007-11-07 Chong Yidong <cyd@stupidchicken.com> |
869 | ||
870 | * dispextern.h (struct it): Don't define OVERLAY_STRING_CHUNK_SIZE | |
871 | twice. | |
872 | ||
873 | * xdisp.c (handle_face_prop): Fix last change. | |
874 | ||
59961aa4 JD |
875 | 2007-11-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
876 | ||
877 | * gtkutil.c (xg_tool_bar_menu_proxy): Handle GTK_IMAGE_ICON_NAME and | |
878 | abort with a message on unhandled store_type values. | |
879 | ||
db3a4b2f RS |
880 | 2007-11-04 Richard Stallman <rms@gnu.org> |
881 | ||
882 | * xdisp.c (handle_face_prop): Test for strings that came from overlays, | |
883 | not just for after-strings and before-strings. | |
884 | Call face_for_overlay_string and pass the overlay to it. | |
885 | (handle_display_prop): Determine whether property came from an overlay. | |
886 | Pass OVERLAY arg to handle_single_display_spec. | |
887 | (handle_single_display_spec): New arg OVERLAY sets it->from_overlay. | |
888 | (load_overlay_strings): Fill in it->string_overlays. | |
889 | (get_overlay_strings_1, push_it, pop_it): Handle it->from_overlays. | |
890 | ||
891 | * xfaces.c (face_for_overlay_string): Function renamed from | |
892 | face_at_buffer_position_no_overlays, and add arg OVERLAY. | |
893 | ||
894 | * dispextern.h (struct it): New elt string_overlays. | |
895 | New elt from_overlay, also in stack. | |
896 | Rearrange a few elements. | |
897 | (face_for_overlay_string): Decl renamed from | |
898 | face_at_buffer_position_no_overlays, and add argument. | |
8383dac7 | 899 | |
d85b2f1e RS |
900 | 2007-11-03 Richard Stallman <rms@gnu.org> |
901 | ||
17d6c69d RS |
902 | * xdisp.c (handle_face_prop): Use face_at_buffer_position_no_overlays |
903 | to get the base face for an overlay string. | |
904 | ||
905 | * dispextern.h (face_at_buffer_position_no_overlays): Add decl. | |
906 | ||
907 | * xfaces.c (face_at_buffer_position_no_overlays): New function. | |
908 | ||
d85b2f1e RS |
909 | * xdisp.c (handle_stop): Move some code out of loop. |
910 | ||
b4a638b3 GM |
911 | 2007-11-01 Johan Bockg\e,Ae\e(Brd <bojohan@gnu.org> |
912 | ||
913 | * macterm.c, w32term.c, xterm.c (x_draw_stretch_glyph_string): | |
f1ca9497 | 914 | Don't set s->stippled_p here, since it has already been set by |
b4a638b3 GM |
915 | x_set_glyph_string_gc from x_draw_glyph_string. |
916 | ||
7837948f YM |
917 | 2007-10-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
918 | ||
919 | * macfns.c [USE_ATSUI] (Fmac_atsu_font_face_attributes): | |
920 | Fix conversion from Lisp object to ATSUFontID. | |
921 | ||
63eb134d JR |
922 | 2007-10-30 Jason Rumney <jasonr@gnu.org> |
923 | ||
924 | * xdisp.c (Fformat_mode_line): Do nothing when noninteractive. | |
925 | ||
ae7c60a9 YM |
926 | 2007-10-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
927 | ||
928 | * unexmacosx.c (unexec_regions_recorder, unexec_regions_merge): | |
929 | Don't assume regions are aligned to page boundary. | |
930 | (print_load_command_name): Add LC_UUID if defined. | |
931 | ||
e58a672c RS |
932 | 2007-10-30 Richard Stallman <rms@gnu.org> |
933 | ||
934 | * emacs.c (syms_of_emacs) <installation-directory>: Reflow docstring. | |
935 | ||
3888559e JB |
936 | 2007-10-29 Juanma Barranquero <lekktu@gmail.com> |
937 | ||
938 | * emacs.c (syms_of_emacs) <kill-emacs-hook>: Fix typo in docstring. | |
939 | <installation-directory>: Reflow docstring. | |
940 | ||
b6ff295c MR |
941 | 2007-10-26 Martin Rudalics <rudalics@gmx.at> |
942 | ||
943 | * window.c (window_min_size_2): Don't count header-line. | |
944 | ||
a8d6819a JB |
945 | 2007-10-25 Juanma Barranquero <lekktu@gmail.com> |
946 | ||
947 | * w32.c (init_environment): Fix tiny memory leak. | |
a7d9e21f | 948 | (w32_get_resource): Remove unused variable `ok'. |
a8d6819a | 949 | |
3a7632e5 JR |
950 | 2007-10-24 Jason Rumney <jasonr@gnu.org> |
951 | ||
952 | * w32fns.c: Include math.h. | |
953 | ||
a04ee161 RS |
954 | 2007-10-24 Richard Stallman <rms@gnu.org> |
955 | ||
956 | * frame.c (x_figure_window_size): For fullscreen case, | |
957 | set USPosition | PPosition without clobbering rest of window_prompting. | |
958 | ||
959 | * keyboard.c (Fcurrent_idle_time): Doc fix. | |
960 | ||
961 | * print.c (Fwith_output_to_temp_buffer): Doc fix. | |
962 | ||
a6c93f61 JB |
963 | 2007-10-19 Juanma Barranquero <lekktu@gmail.com> |
964 | ||
965 | * process.c (Fset_process_filter): Doc fix. | |
966 | ||
24eb74a3 GM |
967 | 2007-10-17 Glenn Morris <rgm@gnu.org> |
968 | ||
969 | * minibuf.c (Qcompletion_ignore_case): New Lisp_Object. | |
970 | (syms_of_minibuf): Add Qcompletion_ignore_case. | |
971 | * dired.c (Qcompletion_ignore_case): Change to external. | |
972 | (syms_of_dired) [VMS]: Remove Qcompletion_ignore_case. | |
973 | * fileio.c (Qcompletion_ignore_case): New external Lisp_Object. | |
974 | (Fread_file_name): Use it rather than intern'ing. | |
975 | ||
976 | * coding.c (Qcompletion_ignore_case): New external Lisp_Object. | |
977 | (Fread_coding_system): Ignore case of user input. | |
978 | ||
da6658e8 YM |
979 | 2007-10-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
980 | ||
981 | * xdisp.c (handle_display_prop): Ignore display specs after | |
982 | replacing one when string text is being replaced. | |
983 | (handle_single_display_spec): Pretend as if characters with display | |
984 | property haven't been consumed only when buffer text is being replaced. | |
985 | ||
fe4cd268 JB |
986 | 2007-10-14 Juanma Barranquero <lekktu@gmail.com> |
987 | ||
988 | * eval.c (do_autoload): Don't save autoloads. | |
989 | ||
990 | * data.c (Ffset): Save autoload of the function being set. | |
991 | ||
7663ea74 GM |
992 | 2007-10-07 John Paul Wallington <jpw@pobox.com> |
993 | ||
994 | * xfns.c (x_create_tip_frame): Set the `display-type' frame | |
995 | parameter before setting up faces. | |
996 | ||
543bb368 EZ |
997 | 2007-10-13 Eli Zaretskii <eliz@gnu.org> |
998 | ||
999 | * msdos.c (dos_rawgetc): Undo last change (there's no ``leaving | |
1000 | selected frame'' on MSDOS). | |
1001 | ||
5839d7e8 MR |
1002 | 2007-10-12 Martin Rudalics <rudalics@gmx.at> |
1003 | ||
1004 | * frame.c (Qexplicit_name): New variable. | |
1005 | (x_report_frame_params): Report it in parameter alist. | |
1006 | (syms_of_frame): Intern and staticpro it. | |
1007 | ||
f8d1a163 JR |
1008 | 2007-10-09 Jason Rumney <jasonr@gnu.org> |
1009 | ||
1010 | * w32term.c (x_set_window_size): Disable code that attempts to tell | |
1011 | Lisp code about a size change before it actually happens. | |
1012 | ||
ec406436 RS |
1013 | 2007-10-09 Richard Stallman <rms@gnu.org> |
1014 | ||
1015 | * xdisp.c (handle_invisible_prop): After setting up an ellipsis, | |
1016 | return HANDLED_RETURN. | |
1017 | ||
cb94103f MR |
1018 | 2007-10-06 Martin Rudalics <rudalics@gmx.at> |
1019 | ||
1020 | * keyboard.c (kbd_buffer_get_event): Break loop waiting for input | |
1021 | when there's an unread command event. | |
1022 | ||
1023 | * frame.c (focus_follows_mouse): Moved here from frame.el to allow | |
1024 | window autoselection act appropriately when leaving selected frame. | |
1025 | (syms_of_frame): Initialize focus_follows_mouse. | |
1026 | * frame.h (focus_follows_mouse): Extern it. | |
1027 | * macterm.c (XTread_socket): When focus_follows_mouse is nil | |
1028 | make SELECT_WINDOW_EVENT only if we don't leave the selected | |
1029 | frame. | |
1030 | * msdos.c (dos_rawgetc): Likewise. | |
1031 | * w32term.c (w32_read_socket): Likewise. | |
1032 | * xterm.c (handle_one_xevent): Likewise. | |
1033 | * xdisp.c (syms_of_xdisp): In doc-string of | |
1034 | mouse-autoselect-window mention focus-follows-mouse. | |
1035 | ||
41618deb AS |
1036 | 2007-10-06 Andreas Schwab <schwab@suse.de> |
1037 | ||
1038 | * fileio.c (Fwrite_region): Ignore EINVAL error from fsync. | |
1039 | ||
cb91e86a YM |
1040 | 2007-10-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1041 | ||
1042 | * macterm.c (mac_load_query_font): Fix missing return value. | |
1043 | [USE_CG_DRAWING] (mac_define_fringe_bitmap, mac_destroy_fringe_bitmap): | |
1044 | Add BLOCK_INPUT. | |
1045 | ||
4024ec3a JB |
1046 | 2007-10-04 Juanma Barranquero <lekktu@gmail.com> |
1047 | ||
1048 | * image.c (syms_of_image) <image-types>: Fix typo in docstring. | |
1049 | ||
65dad34a RS |
1050 | 2007-10-02 Richard Stallman <rms@gnu.org> |
1051 | ||
1052 | * xdisp.c (get_window_cursor_type): Implement documented behavior | |
1053 | for cursor-in-non-selected-windows = t. | |
1054 | ||
87ef8938 RS |
1055 | 2007-10-01 Juanma Barranquero <lekktu@gmail.com> |
1056 | ||
fe4cd268 | 1057 | * lread.c (Fload): Fix typo in docstring. |
87ef8938 | 1058 | |
bb378f19 JL |
1059 | 2007-09-29 Juri Linkov <juri@jurta.org> |
1060 | ||
1061 | * emacs.c (standard_args): Change priority of "--no-splash" | |
1062 | from 40 to 3. Add "--no-desktop" with the same priority. | |
1063 | ||
b380e47e JR |
1064 | 2007-09-29 Jason Rumney <jasonr@gnu.org> |
1065 | ||
1066 | * w32.c (w32_get_resource): Always close registry keys. | |
1067 | ||
60860eb3 JR |
1068 | 2007-09-27 Jason Rumney <jasonr@gnu.org> |
1069 | ||
1070 | * makefile.w32-in (LIBS): Add COMCTL32. | |
1071 | ||
1072 | * w32fns.c (globals_of_w32fns): Init common controls. | |
1073 | ||
2e2cc4e4 RS |
1074 | 2007-09-21 Richard Stallman <rms@gnu.org> |
1075 | ||
1076 | * image.c (our_memory_buffer): Renamed from omfib_buffer. | |
1077 | ||
e243eb1f JB |
1078 | 2007-09-21 Juanma Barranquero <lekktu@gmail.com> |
1079 | ||
1080 | * w32term.c (x_draw_glyph_string): Use strike_through_color, not | |
1081 | underline_color, to draw strike-through. | |
1082 | ||
b2217c17 GM |
1083 | 2007-09-20 Glenn Morris <rgm@gnu.org> |
1084 | ||
1085 | * process.c (Fmake_network_process): Doc fix. | |
1086 | ||
aabc29c8 RS |
1087 | 2007-09-19 Richard Stallman <rms@gnu.org> |
1088 | ||
1089 | * buffer.c (Foverlays_at): Doc fix. | |
1090 | ||
088c8c37 SM |
1091 | 2007-09-18 Stefan Monnier <monnier@iro.umontreal.ca> |
1092 | ||
1093 | * fns.c (Fplist_put): Preserve uneven tail data. | |
1094 | ||
d51e0fc4 JD |
1095 | 2007-09-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1096 | ||
1097 | * gtkutil.c (xg_get_image_for_pixmap): Always create a GdkPixbuf | |
1098 | when we have no file name for the icon. | |
1099 | (xg_tool_bar_expose_callback): Remove. | |
1100 | (xg_create_tool_bar): Don't connect expose signal to | |
1101 | xg_tool_bar_expose_callback. | |
1102 | ||
257c9715 AS |
1103 | 2007-09-16 Andreas Schwab <schwab@suse.de> |
1104 | ||
1105 | * alloc.c (reset_malloc_hooks): Set the hooks to the previous | |
1106 | values instead of zapping them. | |
1107 | ||
fc2b776c GM |
1108 | 2007-09-15 Glenn Morris <rgm@gnu.org> |
1109 | ||
1110 | * s/hpux.h: No longer define `static' as nothing. | |
1111 | ||
a99dc82b GM |
1112 | 2007-09-14 Glenn Morris <rgm@gnu.org> |
1113 | ||
1114 | * fringe.c (init_fringe_bitmap) <swap nibble>: Move to file scope. | |
1115 | * gtkutil.c (xg_separator_p) <separator_names>: Move to file scope. | |
1116 | * image.c (our_memory_fill_input_buffer) <buffer>: Move to file | |
1117 | scope and rename to omfib_buffer for clarity. | |
1118 | (gif_load) <interlace_start, interlace_increment>: Move to file scope. | |
1119 | ||
e243eb1f JB |
1120 | 2007-09-14 Peter O'Gorman <bug-gnu-emacs@mlists.thewrittenword.com> (tiny change) |
1121 | ||
4a46077f JD |
1122 | * gtkutil.c (xg_get_file_with_chooser): Move GCPRO1 after declarations. |
1123 | ||
1124 | * termhooks.h (enum event_kind): Remove trailing comma. | |
1125 | ||
1126 | * frame.h (enum): Remove trailing comma. | |
1127 | ||
1128 | 2007-09-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
1129 | ||
1130 | * keyboard.c, xterm.c, xfaces.c (abs): #undef before #define. | |
1131 | ||
5fc76feb GM |
1132 | 2007-09-12 Glenn Morris <rgm@gnu.org> |
1133 | ||
1134 | * gtkutil.c (cnt): Rename to menu_grab_callback_cnt for clarity. | |
1135 | (menu_grab_callback): All uses changed. | |
1136 | ||
1137 | * xselect.c (cnt): Rename to x_reply_selection_request_cnt for clarity. | |
1138 | (x_reply_selection_request): All uses changed. | |
1139 | ||
315912fb TTN |
1140 | 2007-09-06 Pixel <pixel@mandriva.com> (tiny change) |
1141 | ||
1142 | * image.c (gif_load): Fix bug: Handle nonexistent colormap. | |
1143 | ||
424aca2e GM |
1144 | 2007-09-06 Glenn Morris <rgm@gnu.org> |
1145 | ||
f63f5da8 | 1146 | * gtkutil.c (menu_grab_callback) <cnt>: |
424aca2e GM |
1147 | * xselect.c (x_reply_selection_request) <cnt>: Move static |
1148 | variable to file scope. | |
1149 | ||
63a19c30 JR |
1150 | 2007-09-02 Dhuvra Krishnamurthy <dhuvrakm@gmail.com> (tiny change) |
1151 | ||
1152 | * w32proc.c (delete_child): Don't terminate threads of zombies. | |
1153 | ||
93716e0e JD |
1154 | 2007-09-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1155 | ||
1156 | * keyboard.c: Qrtl is new. | |
e243eb1f JB |
1157 | (parse_tool_bar_item): Handle :rtl keyword. |
1158 | (syms_of_keyboard): Intern :rtl keyword. | |
93716e0e JD |
1159 | |
1160 | * dispextern.h (enum tool_bar_item_idx): Add TOOL_BAR_ITEM_RTL_IMAGE. | |
1161 | ||
e243eb1f JB |
1162 | * gtkutil.c (file_for_image, find_rtl_image): New functions. |
1163 | (xg_get_image_for_pixmap): Use file_for_image | |
1164 | (update_frame_tool_bar): If direction is RTL, use RTL image if | |
1165 | defined. Use Gtk stock images or named theme icons if defined. | |
93716e0e | 1166 | |
d0d3a311 MR |
1167 | 2007-08-29 Martin Rudalics <rudalics@gmx.at> |
1168 | ||
1169 | * keyboard.h (struct kboard): New elt Vlast_repeatable_command. | |
1170 | ||
1171 | * keyboard.c (syms_of_keyboard): Set up new Lisp variable | |
1172 | last-repeatable-command. | |
1173 | (init_kboard): Initialize Vlast_repeatable_command. | |
1174 | (command_loop_1): Set it to real_this_command unless that was | |
1175 | bound to an input event. | |
1176 | (mark_kboards): Mark it. | |
1177 | ||
747c316e JB |
1178 | 2007-08-28 Juanma Barranquero <lekktu@gmail.com> |
1179 | ||
1180 | * image.c (syms_of_image) <image-library-alist, cross-disabled-images>: | |
1181 | Doc fixes. | |
1182 | ||
5f4a9ec6 JD |
1183 | 2007-08-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1184 | ||
1185 | * gtkutil.c (xg_tool_bar_expose_callback): Just do SET_FRAME_GARBAGED | |
1186 | so no Lisp code is executed. | |
1187 | ||
769174c4 YM |
1188 | 2007-08-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1189 | ||
1190 | * macterm.c (x_draw_composite_glyph_string_foreground): Draw rectangle | |
1191 | for nonexistent or zero-width glyph in composition glyph. | |
1192 | ||
a13ab63f RS |
1193 | 2007-08-27 Richard Stallman <rms@gnu.org> |
1194 | ||
1195 | * eval.c (condition-case): Doc fix. | |
1196 | ||
1197 | 2007-08-27 Masatake YAMATO <jet@gyve.org> | |
1198 | ||
1199 | * xfaces.c (tty_supports_face_attributes_p): Fix code | |
1200 | for LFACE_INVERSE_INDEX and LFACE_BACKGROUND_INDEX; code | |
1201 | was copied and not edited. | |
1202 | ||
b636b4c1 SM |
1203 | 2007-08-23 Stefan Monnier <monnier@iro.umontreal.ca> |
1204 | ||
1205 | * lread.c (load_warn_old_style_backquotes): Fix up array size typo. | |
1206 | ||
9ecb827b SM |
1207 | 2007-08-22 Stefan Monnier <monnier@iro.umontreal.ca> |
1208 | ||
1d064697 SM |
1209 | * lread.c (Qold_style_backquotes): New var. |
1210 | (syms_of_lread): Init and staticpro it. | |
1211 | (load_warn_old_style_backquotes): New fun. | |
1212 | (Fload): Use them to warn about old style backquotes. | |
1213 | (end_of_file_error, Fload): Remove unused vars. | |
1214 | ||
5772ed4b SM |
1215 | * lisp.h (Fclear_face_cache, Fx_send_client_event): Declare. |
1216 | ||
9ecb827b | 1217 | * lread.c (Vold_style_backquotes): New var. |
5aa273b0 | 1218 | (syms_of_lread): Init and export it to Elisp. |
9ecb827b SM |
1219 | (read1): Set it when we find an old-style (back)quote. |
1220 | ||
32e1c7b1 JR |
1221 | 2007-08-22 Jason Rumney <jasonr@gnu.org> |
1222 | ||
1223 | * w32reg.c (SYSTEM_DEFAULT_RESOURCES): Add missing NULL terminator. | |
1224 | ||
97c4ef2a SM |
1225 | 2007-08-21 Stefan Monnier <monnier@iro.umontreal.ca> |
1226 | ||
1227 | * insdel.c (reset_var_on_error): New fun. | |
1228 | (signal_before_change, signal_after_change): | |
1229 | Use it to reset (after|before)-change-functions to nil in case of error. | |
1230 | Bind inhibit-modification-hooks to t. | |
1231 | Don't bind (after|before)-change-functions to nil while they run. | |
1232 | ||
259d1516 AS |
1233 | 2007-08-19 Andreas Schwab <schwab@suse.de> |
1234 | ||
1235 | * alloc.c (pure): Round PURESIZE up. | |
1236 | ||
a33f5759 JD |
1237 | 2007-08-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1238 | ||
1239 | * xterm.c (handle_one_xevent): Remove check that mouse click is in | |
1240 | active frame. | |
1241 | ||
0c984824 GM |
1242 | 2007-08-15 Philippe Waroquiers <philippe.waroquiers@eurocontrol.int> |
1243 | ||
fb2336a1 GM |
1244 | * term.c (tty_default_color_capabilities): Declare static |
1245 | variables in file scope, to avoid HPUX compiler problem. | |
0c984824 | 1246 | |
e4f61b3b JD |
1247 | 2007-08-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1248 | ||
1249 | * gtkutil.c (update_frame_tool_bar): Use -1 as index | |
1250 | to gtk_toolbar_insert. | |
1251 | ||
14e1270c YM |
1252 | 2007-08-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1253 | ||
1254 | * xterm.c (x_draw_image_glyph_string): Adjust stipple origin when | |
1255 | filling pixmap with stippled background. | |
1256 | ||
a22dec27 SM |
1257 | 2007-08-10 Stefan Monnier <monnier@iro.umontreal.ca> |
1258 | ||
1259 | * print.c (new_backquote_output): Rename from old_backquote_output. | |
1260 | (print): Inverse its logic (according to its name) so as to match the | |
1261 | behavior of new_backquote_flag in lread.c. | |
1262 | ||
e575132a YM |
1263 | 2007-08-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1264 | ||
1265 | * gmalloc.c (posix_memalign): New function. | |
1266 | ||
22e9fe24 GM |
1267 | 2007-08-08 Glenn Morris <rgm@gnu.org> |
1268 | ||
1269 | * Replace `iff' in doc-strings and comments. | |
1270 | ||
1cc8a861 CY |
1271 | 2007-08-07 Chong Yidong <cyd@stupidchicken.com> |
1272 | ||
3d91c31d CY |
1273 | * dispextern.h (struct image): New members. |
1274 | ||
1275 | * image.c: Sync to trunk version. | |
1276 | (search_image_cache, uncache_image, image-refresh): New functions. | |
1277 | Check for fg and bg colors. | |
1278 | (lookup_image): Use search_image_cache. Cache fg and bg colors. | |
1279 | (pbm_load): Another check for invalid image data. | |
1280 | (png_load): Ignore default background field. | |
1281 | ||
1cc8a861 CY |
1282 | * xdisp.c (move_it_by_lines): Remove incorrect optimization. |
1283 | ||
31521cb0 YM |
1284 | 2007-08-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1285 | ||
1286 | * gmalloc.c (__malloc_initialize): Remove pthread_once. Not needed. | |
1287 | ||
e490694a YM |
1288 | 2007-08-07 Sam Steingold <sds@gnu.org> |
1289 | ||
1290 | * gmalloc.c (__morecore): Fix the declaration to comply with the | |
1291 | definition. | |
1292 | ||
22ffeb19 YM |
1293 | 2007-08-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1294 | ||
1295 | * emacs.c (main) | |
1296 | [HAVE_GTK_AND_PTHREAD && !SYSTEM_MALLOC && !DOUG_LEA_MALLOC]: | |
1297 | Call malloc_enable_thread on interactive startup. | |
1298 | ||
1299 | * gmalloc.c (_malloc_thread_enabled_p) [USE_PTHREAD]: New variable. | |
e575132a YM |
1300 | (LOCK, UNLOCK, LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS) |
1301 | [USE_PTHREAD]: Conditionalize with it. | |
22ffeb19 YM |
1302 | (malloc_atfork_handler_prepare, malloc_atfork_handler_parent) |
1303 | (malloc_atfork_handler_child, malloc_enable_thread) [USE_PTHREAD]: | |
1304 | New functions. | |
1305 | ||
675bab44 CY |
1306 | 2007-08-06 Chong Yidong <cyd@stupidchicken.com> |
1307 | ||
1308 | * xdisp.c (redisplay_window): When restoring original buffer | |
1309 | position, make sure it is still valid. | |
1310 | ||
97958f77 MR |
1311 | 2007-08-06 Martin Rudalics <rudalics@gmx.at> |
1312 | ||
1313 | * window.c (window_min_size_2): New function. | |
1314 | (window_min_size_1, size_window, Fdisplay_buffer) | |
1315 | (Fsplit_window, adjust_window_trailing_edge): Use it to avoid | |
1316 | windows without mode- or header-lines when window-min-height is | |
1317 | too small. | |
1318 | (size_window): Reset nodelete_p after testing it, following an | |
1319 | earlier note by Kim F. Storm. | |
1320 | (display_buffer): Do not set split_height_threshold to twice the | |
1321 | value of window_min_height to avoid changing the value of a | |
1322 | customizable variable. Rather explicitly check whether the | |
1323 | height of the window that shall be splitted is at least as large | |
1324 | as split_height_threshold. | |
1325 | (Fwindow_full_width_p): New defun. | |
1326 | (syms_of_window): Defsubr it. | |
1327 | ||
1328 | * window.h: Add EXFUN for Fwindow_full_width_p. | |
1329 | ||
1330 | 2007-08-06 Andreas Schwab <schwab@suse.de> | |
1331 | ||
1332 | * window.c (Fdisplay_buffer): Use NILP. | |
1333 | (Fset_window_scroll_bars): Likewise. | |
1334 | ||
73ff9d42 RS |
1335 | 2007-08-03 Richard Stallman <rms@gnu.org> |
1336 | ||
1337 | * fileio.c (Fvisited_file_modtime): Use make_time. | |
1338 | ||
d73a9dd7 | 1339 | 2007-08-01 Ryo Yoshitake <ryo@shiftmode.net> (tiny change) |
ec96293f VJL |
1340 | |
1341 | * mac.c (init_mac_osx_environment): Adjust load-path on self-contained | |
1342 | build. | |
1343 | ||
eff23ff3 DN |
1344 | 2007-07-30 Stefan Monnier <monnier@iro.umontreal.ca> |
1345 | ||
1346 | * eval.c (init_eval_once): Bump max_lisp_eval_depth to 400. | |
1347 | ||
cacc7b51 GM |
1348 | 2007-07-25 Glenn Morris <rgm@gnu.org> |
1349 | ||
1350 | * Relicense all FSF files to GPLv3 or later. | |
1351 | ||
1352 | * COPYING: Switch to GPLv3. | |
1353 | ||
ee04257d JR |
1354 | 2007-07-24 Jason Rumney <jasonr@gnu.org> |
1355 | ||
1356 | * w32fns.c (x_real_positions): Get real position from OS instead of | |
1357 | calculating it. | |
1358 | ||
50624218 JR |
1359 | 2007-07-23 Jason Rumney <jasonr@gnu.org> |
1360 | ||
1361 | * filelock.c (current_lock_owner): Allow for @ sign in username. | |
1362 | ||
75be5258 EZ |
1363 | 2007-07-20 Eli Zaretskii <eliz@gnu.org> |
1364 | ||
b395d6e1 EZ |
1365 | * makefile.w32-in (clean): Don't delete *~. |
1366 | ||
75be5258 EZ |
1367 | * w32proc.c (IMAGE_NT_OPTIONAL_HDR32_MAGIC, IMAGE_OPTIONAL_HEADER32): |
1368 | Define if not defined. | |
1369 | ||
2b6e2f4d JR |
1370 | 2007-07-18 Jason Rumney <jasonr@gnu.org> |
1371 | ||
1372 | * w32proc.c (w32_executable_type): Handle 64 bit executables. | |
1373 | ||
1faa97e4 JB |
1374 | 2007-07-16 Juanma Barranquero <lekktu@gmail.com> |
1375 | ||
1376 | * coding.c (Ffind_operation_coding_system): | |
1377 | * eval.c (For, Fand, Fprogn): | |
1378 | * keyboard.c (Ftrack_mouse): | |
1379 | * print.c (Fwith_output_to_temp_buffer): | |
1380 | * window.c (Fsave_window_excursion): Doc fixes (some reported | |
1381 | by Johan Bockg\e,Ae\e(Brd). | |
1382 | ||
ec07b64b RS |
1383 | 2007-07-15 Richard Stallman <rms@gnu.org> |
1384 | ||
1385 | * data.c (Fsetq_default): Doc fix. | |
1386 | ||
1387 | * eval.c (Fsetq): Doc fix. | |
1388 | ||
d5781bb6 JR |
1389 | 2007-07-11 Jason Rumney <jasonr@gnu.org> |
1390 | ||
1391 | * makefile.w32-in (LIBS): Include OLE32. | |
1392 | ||
1393 | * w32fns.c (w32_msg_pump) <WM_EMACS_CREATEWINDOW>: Initialize COM. | |
1394 | (w32_msg_pump) <WM_DESTROY>: Uninitialize COM. | |
1395 | ||
de3f71d6 YM |
1396 | 2007-06-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1397 | ||
1398 | * macterm.c [USE_MAC_TSM] (mac_handle_text_input_event): | |
1399 | Check WINDOWP before using XWINDOW. | |
1400 | ||
251db0f4 JB |
1401 | 2007-06-27 Juanma Barranquero <lekktu@gmail.com> |
1402 | ||
1403 | * buffer.c (syms_of_buffer) <selective-display>: Fix typo in docstring. | |
1404 | ||
56f3136b YM |
1405 | 2007-06-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1406 | ||
1407 | * gmalloc.c [HAVE_GTK_AND_PTHREAD]: Check this after including config.h. | |
1408 | (_aligned_blocks_mutex) [USE_PTHREAD]: New variable. | |
1409 | (LOCK_ALIGNED_BLOCKS, UNLOCK_ALIGNED_BLOCKS): New macros. | |
1410 | (_free_internal, memalign): Use them. | |
1411 | (_malloc_mutex, _aligned_blocks_mutex) [USE_PTHREAD]: | |
1412 | Initialize to PTHREAD_MUTEX_INITIALIZER. | |
1413 | (malloc_initialize_1) [USE_PTHREAD]: Don't use recursive mutex. | |
1414 | (morecore_nolock): Rename from morecore. All uses changed. | |
1415 | Use only nolock versions of internal allocation functions. | |
1416 | (_malloc_internal_nolock, _realloc_internal_nolock) | |
1417 | (_free_internal_nolock): New functions created from | |
1418 | _malloc_internal, _realloc_internal, and _free_internal. | |
1419 | (_malloc_internal, _realloc_internal, _free_internal): Use them. | |
1420 | Copy hook value to automatic variable before its use. | |
1421 | (memalign): Copy hook value to automatic variable before its use. | |
1422 | ||
d217d390 JR |
1423 | 2007-06-21 Jason Rumney <jasonr@gnu.org> |
1424 | ||
1425 | * image.c (convert_mono_to_color_image): Swap fore and background. | |
1426 | ||
76e4973a JR |
1427 | 2007-06-20 Jason Rumney <jasonr@gnu.org> |
1428 | ||
1429 | * w32bdf.c (w32_BDF_to_x_font): Unmap memory when finished. | |
1430 | (w32_free_bdf_font): Unmap memory not handle. | |
1431 | ||
43e9fc93 JB |
1432 | 2007-06-20 Juanma Barranquero <lekktu@gmail.com> |
1433 | ||
1434 | * w32.c (_wsa_errlist): Fix typo in error message. | |
1435 | (init_environment): Ignore any environment variable from the | |
1436 | registry having a null value. | |
1437 | ||
d058c8a1 JR |
1438 | 2007-06-17 Jason Rumney <jasonr@gnu.org> |
1439 | ||
1440 | * w32menu.c (add_menu_item): Don't use multibyte string functions on | |
1441 | unicode strings. | |
1442 | ||
c3e35d75 JB |
1443 | 2007-06-17 Juanma Barranquero <lekktu@gmail.com> |
1444 | ||
1445 | * xdisp.c (syms_of_xdisp) <auto-resize-tool-bars>: | |
1446 | Fix typo in docstring. | |
1447 | ||
96f6c170 EZ |
1448 | 2007-06-16 Eli Zaretskii <eliz@gnu.org> |
1449 | ||
1450 | * w32menu.c (add_menu_item): Escape `&' characters in menu items | |
1451 | and their keybindings. | |
1452 | ||
72918b61 CY |
1453 | 2007-06-14 Chong Yidong <cyd@stupidchicken.com> |
1454 | ||
1455 | * composite.c (update_compositions): Check validity of compositions. | |
1456 | ||
f9de989a JR |
1457 | 2007-06-10 Jason Rumney <jasonr@gnu.org> |
1458 | ||
1459 | * w32fns.c (Fx_file_dialog): Take size from struct not pointer. | |
1460 | ||
fb7ece24 JR |
1461 | 2007-06-06 Jason Rumney <jasonr@gnu.org> |
1462 | ||
1463 | * s/ms-w32.h: Don't define HAVE_TZNAME. | |
1464 | ||
e29bb91e CY |
1465 | 2007-06-06 Chong Yidong <cyd@stupidchicken.com> |
1466 | ||
1467 | * image.c (xpm_load): Remove spurious call to | |
1468 | xpm_init_color_cache. | |
1469 | ||
60fb4860 CY |
1470 | 2007-06-06 Martin Rudalics <rudalics@gmx.at> |
1471 | ||
1472 | * syntax.c (scan_words): Fix arg to UPDATE_SYNTAX_TABLE_BACKWARD. | |
1473 | ||
a021e026 CY |
1474 | 2007-06-05 Dan Nicolaescu <dann@ics.uci.edu> |
1475 | ||
1476 | * xfaces.c (syms_of_xfaces): Delete stray semicolon. | |
1477 | * xdisp.c (next_element_from_buffer): | |
1478 | * window.c (delete_window): | |
1479 | * term.c (term_mouse_highlight): | |
1480 | * msdos.c (getdefdir): | |
1481 | * macterm.c (mac_create_bitmap_from_bitmap_data) | |
1482 | (init_font_name_table): | |
1483 | * fns.c (Fsxhash): | |
1484 | * data.c (Fmake_local_variable): | |
1485 | * ccl.c (ccl_driver): Likewise. | |
1486 | ||
56a94c1e JB |
1487 | 2007-06-04 Juanma Barranquero <lekktu@gmail.com> |
1488 | ||
1489 | * window.c (Fshrink_window): Reflow docstring. | |
1490 | ||
2c5e0a10 CY |
1491 | 2007-06-02 Chong Yidong <cyd@stupidchicken.com> |
1492 | ||
7dfc4cda CY |
1493 | * Version 22.1 released. |
1494 | ||
2c5e0a10 CY |
1495 | * xfns.c (x_set_name_internal): Undo last change. |
1496 | ||
1497 | 2007-06-01 Richard Stallman <rms@gnu.org> | |
1498 | ||
1499 | * xfns.c (x_encode_text): Add GCPRO. | |
1500 | (x_set_name_internal): Separate USE_GTK and non-USE_GTK cases. | |
1501 | ||
8e45f175 CY |
1502 | 2007-06-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1503 | ||
1504 | * xfns.c (x_set_name_internal): Save encoded name before | |
1505 | x_encode_text in case string data is relocated. | |
1506 | ||
b49dd850 RS |
1507 | 2007-05-31 Richard Stallman <rms@gnu.org> |
1508 | ||
1509 | * buffer.c (syms_of_buffer): Doc fix. | |
1510 | ||
4bde4d4f YM |
1511 | 2007-05-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1512 | ||
1513 | * xdisp.c (redisplay_internal): Bind inhibit-point-motion-hooks to t | |
1514 | around current_column call. | |
1515 | ||
ef92b69b CY |
1516 | 2007-05-24 Chong Yidong <cyd@stupidchicken.com> |
1517 | ||
1518 | * xdisp.c (redisplay_window): If first window line is a | |
1519 | continuation line, recompute the new window start instead of | |
1520 | recentering. | |
1521 | ||
3654a2c3 YM |
1522 | 2007-05-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1523 | ||
1524 | * macterm.c [USE_CARBON_EVENTS] (mac_handle_window_event): | |
1525 | Call mac_wakeup_from_rne on window size change. | |
1526 | ||
c81036c6 RS |
1527 | 2007-05-22 Richard Stallman <rms@gnu.org> |
1528 | ||
1529 | * xterm.c (x_connection_closed): Remove NO_RETURN. | |
1530 | ||
d46b87e9 SM |
1531 | 2007-05-19 Stefan Monnier <monnier@iro.umontreal.ca> |
1532 | ||
1533 | * syntax.c (skip_chars): Update syntax-table only after we checked that | |
1534 | the new location is valid. | |
1535 | ||
1d5bcd55 YM |
1536 | 2007-05-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1537 | ||
1538 | * macterm.c (x_calc_absolute_position): Add BLOCK_INPUT around | |
1539 | mac_get_window_bounds. | |
1540 | ||
2fddf4ab GM |
1541 | 2007-05-17 Glenn Morris <rgm@gnu.org> |
1542 | ||
1543 | * m/macppc.h (ORDINARY_LINK): No longer define on OpenBSD. | |
1544 | ||
e4f5123f YM |
1545 | 2007-05-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1546 | ||
1547 | * macterm.c [USE_CARBON_EVENTS] (mac_convert_event_ref): Also convert | |
1548 | dead key repeat and up events. | |
1549 | ||
4e3908cd CY |
1550 | 2007-05-13 Chong Yidong <cyd@stupidchicken.com> |
1551 | ||
1552 | * xterm.c (XTread_socket): Revert last change. | |
1553 | ||
e9c8d984 CY |
1554 | 2007-05-12 Chong Yidong <cyd@stupidchicken.com> |
1555 | ||
96587f7e CY |
1556 | * image.c (pbm_load): Correctly check image size for greyscale pbm. |
1557 | ||
e9c8d984 CY |
1558 | * xterm.c (XTread_socket): Yet Another Uncaught X Error Crash (YAUXEC). |
1559 | ||
c10b2810 SM |
1560 | 2007-05-07 Stefan Monnier <monnier@iro.umontreal.ca> |
1561 | ||
1562 | * editfns.c (Ftranspose_regions): Yet another int/Lisp_Object mixup (YAILOM) | |
1563 | ||
205f01b4 RS |
1564 | 2007-05-06 Richard Stallman <rms@gnu.org> |
1565 | ||
1566 | * process.c: Undo May 3 change. | |
1567 | ||
9913756b | 1568 | 2007-05-03 Per Cederqvist <ceder@lysator.liu.se> (tiny change) |
39f3dff9 RS |
1569 | |
1570 | * process.c (Faccept_process_output): Revert 2006-03-22 change so | |
1571 | that the third argument once again is in microseconds (not | |
1572 | milliseconds). This makes it compatible with Emacs 21 and | |
205f01b4 | 1573 | earlier. Problem found by Henrik Rindl\e,Av\e(Bw. |
39f3dff9 | 1574 | |
0f6da68b YM |
1575 | 2007-05-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1576 | ||
1577 | * macmenu.c (mac_dialog_show): Apply 2007-04-27 change for xmenu.c. | |
1578 | (Fx_popup_dialog) [MAC_OSX]: Likewise. | |
1579 | ||
76181e0a RS |
1580 | 2007-04-29 Richard Stallman <rms@gnu.org> |
1581 | ||
1582 | * insdel.c (replace_range): For undo, record insertion first. | |
1583 | ||
769da2c1 YM |
1584 | 2007-04-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1585 | ||
1586 | * xdisp.c (try_window_reusing_current_matrix): Fix number of | |
1587 | disabled lines. | |
1588 | ||
f56cff88 JD |
1589 | 2007-04-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1590 | ||
1591 | * xmenu.c (xdialog_show): Call Fredisplay before showing the dialog. | |
1592 | ||
1593 | * gtkutil.c (xg_update_menubar, create_menus): Create empty | |
1594 | submenu for menu bar items. | |
1595 | ||
53105662 CY |
1596 | 2007-04-24 Chong Yidong <cyd@stupidchicken.com> |
1597 | ||
1598 | * xdisp.c (redisplay_window): Use BEG_UNCHANGED and END_UNCHANGED | |
1599 | values of the actual window. | |
1600 | ||
bdfeaf61 RS |
1601 | 2007-04-23 Richard Stallman <rms@gnu.org> |
1602 | ||
1603 | * process.c (Fstart_process): Doc fix. | |
1604 | ||
c9c3704c EZ |
1605 | 2007-04-23 Eli Zaretskii <eliz@gnu.org> |
1606 | ||
1607 | * process.c (Fstart_process): Doc fix. | |
1608 | ||
5fe751c9 RS |
1609 | 2007-04-22 Richard Stallman <rms@gnu.org> |
1610 | ||
1611 | * abbrev.c (Fdefine_abbrev): Doc fix. | |
1612 | ||
1613 | * keymap.c (Fdefine_key): Minor doc fix. | |
1614 | ||
b1e6882f GM |
1615 | 2007-04-21 Glenn Morris <rgm@gnu.org> |
1616 | ||
1617 | * keymap.c (Fdefine_key): Fix info ref in doc string. | |
1618 | ||
8ea8a516 CY |
1619 | 2007-04-20 Glenn Morris <rgm@gnu.org> |
1620 | ||
1621 | * sysdep.c (init_system_name): Don't accept localhost.localdomain. | |
1622 | ||
6cc62df0 JB |
1623 | 2007-04-19 Juanma Barranquero <lekktu@gmail.com> |
1624 | ||
1625 | * minibuf.c (Fminibuffer_contents, Fminibuffer_contents_no_properties) | |
1626 | (Fminibuffer_completion_contents, Fdelete_minibuffer_contents): | |
1627 | Doc fixes. | |
1628 | ||
837751ae CY |
1629 | 2007-04-16 Chong Yidong <cyd@stupidchicken.com> |
1630 | ||
c10b2810 SM |
1631 | * dispnew.c (adjust_frame_glyphs_for_frame_redisplay): |
1632 | Set garbaged flag in presence of window margins. | |
30603ba1 CY |
1633 | (showing_window_margins_p): New function. |
1634 | ||
837751ae CY |
1635 | * xdisp.c (cursor_row_p): Only end row on newline if it's a |
1636 | display string. Suggested by Lennart Borgman. | |
1637 | ||
add3c3ea YM |
1638 | 2007-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1639 | ||
1640 | * alloc.c (mem_insert): Set min_heap_address and max_heap_address | |
1641 | if they are not yet initialized. | |
1642 | ||
bc4aed8f CY |
1643 | 2007-04-15 Chong Yidong <cyd@stupidchicken.com> |
1644 | ||
1645 | * xdisp.c (redisplay_window): When deciding whether or not to | |
1646 | recenter, don't use the reset values of BEG_UNCHANGED and | |
1647 | END_UNCHANGED. | |
1648 | ||
42587578 KS |
1649 | 2007-04-13 Kim F. Storm <storm@cua.dk> |
1650 | ||
1651 | * buffer.c (Fkill_buffer): gcpro BUF during kill_buffer_processes | |
1652 | and check that buffer is still alive upon return. | |
1653 | ||
19ee09cc YM |
1654 | 2007-04-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1655 | ||
1656 | * macterm.c [!TARGET_API_MAC_CARBON]: Include Displays.h. | |
1657 | (mac_screen_config_changed): New variable. | |
1658 | (mac_handle_dm_notification, init_dm_notification_handler) | |
1659 | (mac_get_screen_info): New functions. | |
1660 | [MAC_OS8] (main): Call init_dm_notification_handler. | |
1661 | (mac_initialize) [MAC_OSX]: Likewise. | |
1662 | (XTread_socket): Call mac_get_screen_info if screen config changed. | |
1663 | (mac_initialized): Make static. | |
1664 | (mac_initialize_display_info): Remove function. | |
42587578 | 1665 | (mac_term_init): Call mac_get_screen_info. Add partial contents of |
19ee09cc YM |
1666 | mac_initialize_display_info. |
1667 | ||
2a953eae YM |
1668 | 2007-04-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1669 | ||
1670 | * mac.c (xrm_get_preference_database, Fmac_get_preference) | |
1671 | [TARGET_API_MAC_CARBON]: Use CFPreferencesAppSynchronize. | |
1672 | ||
1673 | * macterm.c [TARGET_API_MAC_CARBON] (mac_post_mouse_moved_event): | |
1674 | Use GetGlobalMouse instead of GetMouse and LocalToGlobal. | |
1675 | (mac_initialize_display_info) [MAC_OSX]: Use CGRectZero. | |
1676 | (mac_initialize_display_info) [!MAC_OSX]: dpyinfo->height and | |
1677 | dpyinfo->width are those of whole screen. | |
1678 | ||
63a4fc68 CY |
1679 | 2007-04-10 Chong Yidong <cyd@stupidchicken.com> |
1680 | ||
1681 | * xdisp.c (note_mode_line_or_margin_highlight): Don't decrement | |
1682 | glyph pointer before start of glyph row. | |
1683 | ||
82608dd9 YM |
1684 | 2007-04-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1685 | ||
1686 | * s/darwin.h (__restrict, struct kboard): Remove outdated workarounds. | |
1687 | (C_SWITCH_SYSTEM): Remove `-I../mac/src'. | |
1688 | ||
4c669c09 RS |
1689 | 2007-04-09 Martin Rudalics <rudalics@gmx.at> |
1690 | ||
1691 | * indent.c (Fmove_to_column): Set next_boundary with correct start pt. | |
1692 | ||
aa9c7852 RS |
1693 | 2007-04-08 Richard Stallman <rms@gnu.org> |
1694 | ||
1695 | * xdisp.c (syms_of_xdisp) <message-log-max>: Default 100. | |
1696 | ||
b1e553b4 CY |
1697 | 2007-04-07 Chong Yidong <cyd@stupidchicken.com> |
1698 | ||
1699 | * editfns.c (Ftranspose_regions): Validate interval before setting | |
1700 | text properties. | |
1701 | ||
06efaba2 EZ |
1702 | 2007-04-03 Eli Zaretskii <eliz@gnu.org> |
1703 | ||
1704 | * emacs.c (main): Fix instructions for building Emacs for profiling. | |
1705 | ||
0a194c92 JD |
1706 | 2007-04-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1707 | ||
1708 | * gtkutil.c (xg_update_menubar): Call g_list_next after moving | |
1709 | menu bar item. | |
1710 | ||
1a7de17e JB |
1711 | 2007-04-02 Juanma Barranquero <lekktu@gmail.com> |
1712 | ||
1713 | * print.c (Fprin1_to_string): Use macro SPECPDL_INDEX. | |
1714 | ||
50fcc399 CY |
1715 | 2007-04-01 Chong Yidong <cyd@stupidchicken.com> |
1716 | ||
f8c9f4b1 CY |
1717 | * keymap.c (Fcommand_remapping): New optional argument. |
1718 | (where_is_internal): Use new keymaps argument. | |
1719 | (Fkey_binding): Caller changed. | |
1720 | ||
1721 | * keyboard.c (command_loop_1): Caller changed. | |
50fcc399 | 1722 | |
89a4f43f EZ |
1723 | 2007-03-31 Eli Zaretskii <eliz@gnu.org> |
1724 | ||
1725 | * window.c (Fget_lru_window): Doc fix. | |
1726 | ||
6cf1226a CY |
1727 | 2007-03-30 Chong Yidong <cyd@stupidchicken.com> |
1728 | ||
1729 | * undo.c (Fprimitive_undo): Give clearer error message when trying | |
1730 | to change text properties outside accessible part of buffer. | |
1731 | ||
1acc2cac KS |
1732 | 2007-03-29 Kim F. Storm <storm@cua.dk> |
1733 | ||
1734 | * process.c (wait_reading_process_output) [HAVE_PTYS]: | |
1735 | When EIO happens, clear channel from descriptor masks before raising | |
1736 | SIGCHLD signal to avoid busy loop between read and sigchld_handler. | |
1737 | (sigchld_handler): Remove sleep (2007-03-11 & 2007-03-26 changes). | |
1738 | ||
cbf23adb JB |
1739 | 2007-03-29 Juanma Barranquero <lekktu@gmail.com> |
1740 | ||
ea4fddd8 JB |
1741 | * buffer.c (Fset_buffer_major_mode): Check that BUFFER is valid. |
1742 | ||
cbf23adb JB |
1743 | * process.c (Fformat_network_address): Return nil when the |
1744 | argument vector contains invalid values. | |
1745 | ||
a0dd810b YM |
1746 | 2007-03-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1747 | ||
1748 | * gmalloc.c [HAVE_GTK_AND_PTHREAD]: Define USE_PTHREAD. | |
1749 | [USE_PTHREAD]: Include pthread.h. | |
1750 | (malloc_init_once_control, _malloc_mutex) [USE_PTHREAD]: New variables. | |
1751 | (malloc_initialize_1): New function created from __malloc_initialize. | |
1752 | (__malloc_initialize): Use it. | |
1753 | (LOCK, UNLOCK): New macros to make malloc etc. thread safe. | |
1754 | (_malloc_internal, _free_internal, _realloc_internal): Use them. | |
1755 | ||
1756 | * lread.c (readchar): Extend BLOCK_INPUT block to ferror/clearerr. | |
1757 | ||
84e78f61 JB |
1758 | 2007-03-27 Juanma Barranquero <lekktu@gmail.com> |
1759 | ||
1760 | * process.c (Fformat_network_address): Make args array big enough | |
1761 | to format IPv6 addresses. | |
1762 | ||
6afdff63 GM |
1763 | 2007-03-27 Glenn Morris <rgm@gnu.org> |
1764 | ||
1765 | * m/hp800.h: Restore HP-UX support (removed 2007-01-29). | |
1766 | ||
b51065cf YM |
1767 | 2007-03-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1768 | ||
84e78f61 JB |
1769 | * macfns.c (Fx_display_mm_height, Fx_display_mm_width): Scale whole |
1770 | screen size in pixels by millimeters per pixel of main display. | |
b51065cf | 1771 | |
84e78f61 JB |
1772 | * macselect.c (get_scrap_target_type_list, x_own_selection): |
1773 | Move assignments outside predicate macros. | |
b51065cf YM |
1774 | (Vselection_converter_alist): Doc fix. |
1775 | ||
1776 | * macterm.c (create_text_encoding_info_alist): Move assignments | |
1777 | outside predicate macros. | |
1778 | (mac_initialize_display_info) [MAC_OSX]: dpyinfo->height and | |
1779 | dpyinfo->width are those of whole screen. | |
1780 | ||
8f0e1e44 SS |
1781 | 2007-03-26 Sam Steingold <sds@gnu.org> |
1782 | ||
1783 | * process.c (sigchld_handler): Delay by 1ms instead of 1s to | |
1784 | alleviate sluggishness (the original problem is still fixed). | |
1785 | ||
aa95cbb5 KS |
1786 | 2007-03-25 Kim F. Storm <storm@cua.dk> |
1787 | ||
1788 | * intervals.c (merge_properties): Use explicit loop instead of | |
1789 | Fplist_member to avoid QUIT. Don't use Fcdr. | |
1790 | (intervals_equal): Likewise. Rewrite loop to perform length check | |
1791 | on the fly rather than calling Flength. Don't use Fcar. | |
1792 | ||
61880ffe EZ |
1793 | 2007-03-24 Eli Zaretskii <eliz@gnu.org> |
1794 | ||
1795 | * editfns.c (Fgoto_char): Doc fix. | |
1796 | ||
1797 | * indent.c (Findent_to): Doc fix. | |
1798 | ||
159f7bef CY |
1799 | 2007-03-24 Chong Yidong <cyd@stupidchicken.com> |
1800 | ||
1801 | * editfns.c (Ftranspose_regions): Use set_text_properties_1 | |
1802 | instead of Fset_text_properties to avoid GC. Signal after change. | |
1803 | ||
87c891c7 EZ |
1804 | 2007-03-24 Eli Zaretskii <eliz@gnu.org> |
1805 | ||
1806 | * xfns.c (Fx_show_tip): Doc fix. | |
1807 | ||
1808 | * macfns.c (Fx_show_tip): Doc fix. | |
1809 | ||
1810 | * w32fns.c (Fx_show_tip): Doc fix. | |
1811 | ||
be5ef8f0 KS |
1812 | 2007-03-23 Kim F. Storm <storm@cua.dk> |
1813 | ||
1814 | * intervals.c (merge_properties, intervals_equal): | |
1815 | Use Fplist_member instead of Fmemq to find properties. | |
1816 | ||
6afdff63 GM |
1817 | 2007-03-23 Glenn Morris <rgm@gnu.org> |
1818 | ||
1819 | * unexhp9k800.c: Restore file with clarified legal status. | |
1820 | * m/sr2k.h: Restore since dependency unexhp9k800.c is restored. | |
1821 | ||
96356799 CY |
1822 | 2007-03-22 Chong Yidong <cyd@stupidchicken.com> |
1823 | ||
1824 | * widget.c (EmacsFrameSetCharSize): Catch X errors. | |
1825 | ||
3ff2c161 KH |
1826 | 2007-03-22 Kenichi Handa <handa@m17n.org> |
1827 | ||
1828 | * fileio.c (Fcopy_file): Call barf_or_query_if_file_exists with | |
1829 | non-encoded file name. | |
1830 | (Frename_file): Likewise. | |
1831 | (Fadd_name_to_file): Likewise. | |
1832 | (Fmake_symbolic_link): Likewise. | |
1833 | ||
87f4728f YM |
1834 | 2007-03-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1835 | ||
1836 | * Makefile.in (alloca.o, gtkutil.o): Depend on systime.h. | |
1837 | (dired.o, editfns.o, fileio.o, msdos.o): Depend on atimer.h. | |
1838 | (dosfns.o, window.o, fns.o, macselect.o): Depend on atimer.h and | |
1839 | systime.h. | |
1840 | (term.o, print.o, lread.o): Depend on blockinput.h, atimer.h, and | |
1841 | systime.h. | |
1842 | (macfns.o): Remove duplicate dependency on systime.h. | |
1843 | ||
1844 | * dispnew.c (Fopen_termscript): Add BLOCK_INPUT around fclose. | |
1845 | (Fsend_string_to_terminal): Add BLOCK_INPUT around fwrite. | |
1846 | ||
1847 | * fileio.c (do_auto_save_unwind): Add BLOCK_INPUT around fclose. | |
1848 | (Fdo_auto_save): Add BLOCK_INPUT around fwrite. | |
1849 | ||
1850 | * keyboard.c (record_char): Add BLOCK_INPUT around fwrite. | |
1851 | (Fopen_dribble_file): Add BLOCK_INPUT around fclose. | |
1852 | ||
1853 | * lread.c: Include blockinput.h. | |
1854 | (readchar, Fget_file_char): Add BLOCK_INPUT around getc. | |
1855 | (unreadchar): Add BLOCK_INPUT around ungetc. | |
1856 | (load_unwind): Add BLOCK_INPUT around fclose. | |
1857 | ||
1858 | * print.c: Include blockinput.h. | |
1859 | (Fredirect_debugging_output): Add BLOCK_INPUT around fclose. | |
1860 | ||
523fc433 JB |
1861 | * process.c (Fmake_network_process) [HAVE_GETADDRINFO]: |
1862 | Clear immediate_quit before calling freeaddrinfo. | |
1863 | Add BLOCK_INPUT around freeaddrinfo. | |
87f4728f YM |
1864 | |
1865 | * term.c: Include blockinput.h. | |
1866 | (write_glyphs, insert_glyphs): Add BLOCK_INPUT around fwrite. | |
1867 | ||
705959fc RS |
1868 | 2007-03-19 Richard Stallman <rms@gnu.org> |
1869 | ||
1870 | * keyboard.c (NUM_RECENT_KEYS): Bump up to 300. | |
1871 | ||
1872 | * buffer.c (syms_of_buffer): Doc fix. | |
1873 | ||
b55252e0 CY |
1874 | 2007-03-18 Chong Yidong <cyd@stupidchicken.com> |
1875 | ||
1876 | * image.c (pbm_load): Signal error for invalid image size. | |
1877 | ||
c601a8ed YM |
1878 | 2007-03-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1879 | ||
1880 | * macterm.c (note_mouse_movement): Don't return immediately for | |
1881 | LeaveNotify case. | |
1882 | ||
1883 | * macmenu.c (popup_activated_flag): New variable. | |
1884 | (x_activate_menubar, mac_menu_show): Set it during menu tracking. | |
1885 | (popup_activated): New function. | |
1886 | ||
84e78f61 JB |
1887 | * xdisp.c (redisplay_internal, note_mouse_highlight): |
1888 | Check popup_activated for MAC_OS. | |
c601a8ed | 1889 | |
adbb3b05 | 1890 | 2007-03-17 Juanma Barranquero <lekktu@gmail.com> |
e3a1ed3b | 1891 | |
adbb3b05 JB |
1892 | * buffer.c (syms_of_buffer) <buffer-display-table>: Doc fix. |
1893 | Reported by Nikolaj Schumacher <n_schumacher@web.de>. | |
e338790f | 1894 | |
b7f51ebb JB |
1895 | 2007-03-17 Richard Stallman <rms@gnu.org> |
1896 | ||
705959fc | 1897 | * dired.c (file_name_completion): gcpro NAME. |
b7f51ebb | 1898 | |
1c8f28b0 KS |
1899 | 2007-03-17 Chong Yidong <cyd@stupidchicken.com> |
1900 | ||
1901 | * xdisp.c (try_window_id): Increment matrix positions if the | |
1902 | buffer's byte count has increased, but not the character count. | |
1903 | ||
8b60f44c CY |
1904 | 2007-03-12 Andreas Schwab <schwab@suse.de> |
1905 | ||
1906 | * lisp.h: Declare check_obarray. | |
1907 | ||
1908 | * process.c (Fdelete_process): Properly handle deletion of first | |
1909 | element of deleted_pid_list. | |
1910 | (create_process): Declare pid as pid_t. | |
1911 | ||
46adc7a5 CY |
1912 | 2007-03-12 Kim F. Storm <storm@cua.dk> |
1913 | ||
1914 | * process.c (sigchld_handler): Change type of pid to pid_t. | |
1915 | Scan deleted_pid_list explicitly to avoid using Fmember which don't | |
1916 | know about mark bits and make_fixnum_or_float which may malloc. | |
1917 | Reported by Andreas Schwab. | |
1918 | ||
1919 | * keyboard.c (read_key_sequence): Store original event into keybuf | |
1920 | when replaying sequence with local keymap(s) from string. | |
1921 | ||
7ad42042 GM |
1922 | 2007-03-12 Glenn Morris <rgm@gnu.org> |
1923 | ||
1924 | * editfns.c (Fdecode_time, Fencode_time): Doc fix ("daylight | |
1925 | savings" to "daylight saving"). | |
1926 | ||
ece29e38 SS |
1927 | 2007-03-11 Sam Steingold <sds@gnu.org> |
1928 | ||
1929 | * process.c (sigchld_handler): Sleep before wait3 to avoid a busyloop. | |
1930 | ||
c13ba385 YM |
1931 | 2007-03-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1932 | ||
1933 | * macfns.c (Fx_server_vendor): Change vendor string to "Apple Inc.". | |
1934 | ||
5bc21f35 YM |
1935 | 2007-03-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1936 | ||
adbb3b05 JB |
1937 | * macterm.c [USE_CARBON_EVENTS] (mac_handle_mouse_event): |
1938 | Ignore mouse wheel movement on title bar or tool bar. | |
5bc21f35 | 1939 | |
7469c0f9 CY |
1940 | 2007-03-10 Chong Yidong <cyd@stupidchicken.com> |
1941 | ||
1942 | * keyboard.c (help_form_saved_window_configs): New var. | |
1943 | (read_char_help_form_unwind): New function. | |
1944 | (read_char): Don't restore window configuration if a mouse click | |
1945 | arrives while the help form is being displayed. | |
1946 | ||
eebe9a29 KS |
1947 | 2007-03-10 Kim F. Storm <storm@cua.dk> |
1948 | ||
1949 | * xdisp.c (redisplay_window): Don't automatically select a new window | |
1950 | start for a contination line during mouse-click. | |
1951 | ||
a3a44a5a JD |
1952 | 2007-03-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1953 | ||
1954 | * xterm.c (handle_one_xevent): Ignore buttons > 3 for the tool bar. | |
1955 | ||
49d92e9d JB |
1956 | 2007-03-09 Juanma Barranquero <lekktu@gmail.com> |
1957 | ||
1958 | * keymap.c (Fdescribe_buffer_bindings): Check that BUFFER is valid. | |
1959 | ||
7d8d0914 RS |
1960 | 2007-03-08 Richard Stallman <rms@gnu.org> |
1961 | ||
1962 | * keyboard.c (syms_of_keyboard): Doc fix. | |
1963 | ||
b033f7a7 CY |
1964 | 2007-03-08 Chong Yidong <cyd@stupidchicken.com> |
1965 | ||
1966 | * minibuf.c (Ftry_completion): Don't short circuit if | |
1967 | completion-ignore-case is non-nil. | |
1968 | ||
7a844a76 YM |
1969 | 2007-03-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1970 | ||
1971 | * macfns.c (mac_set_scroll_bar_width, mac_frame_parm_handlers): | |
1972 | Undo 2006-03-06 changes. | |
1973 | ||
1974 | * macterm.c (XTset_vertical_scroll_bar) [MAC_OSX]: Don't show scroll | |
1975 | bar if its width is smaller than that of Aqua small scroll bar. | |
1976 | ||
d9d7b298 SM |
1977 | 2007-03-07 Stefan Monnier <monnier@iro.umontreal.ca> |
1978 | ||
1979 | * minibuf.c (read_minibuf): Bind inhibit-read-only a bit longer so as | |
1980 | to handle correctly prompts with read-only property. | |
1981 | ||
a28de257 JD |
1982 | 2007-03-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1983 | ||
1984 | * sound.c (wav_play): Check header->data_length to see how much we | |
1985 | shall read. | |
1986 | (alsa_period_size): Convert ALSA period size in frames to bytes. | |
1987 | (alsa_write): Return if frames is zero. | |
1988 | ||
15c2ffb2 KH |
1989 | 2007-03-06 Kenichi Handa <handa@m17n.org> |
1990 | ||
1991 | * xselect.c (Vselection_coding_system): Documentation improved. | |
1992 | ||
2d21c780 YM |
1993 | 2007-03-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
1994 | ||
1995 | * macterm.c (x_scroll_bar_create, XTread_socket): Replace #if | |
1996 | USE_TOOLKIT_SCROLL_BARS with #ifdef USE_TOOLKIT_SCROLL_BARS. | |
1997 | (x_set_window_size): Call SET_FRAME_GARBAGED. Clear window if | |
1998 | internal border width has changed. | |
1999 | ||
2000 | * macterm.h (struct mac_output): New member `internal_border_width'. | |
2001 | ||
d89abe75 RS |
2002 | 2007-03-04 Richard Stallman <rms@gnu.org> |
2003 | ||
2004 | * window.c (Fdisplay_buffer): Doc fix. | |
2005 | ||
046c4413 CY |
2006 | 2007-03-03 Glenn Morris <rgm@gnu.org> |
2007 | ||
2008 | * Makefile.in: Don't clear out LIB_X11_LIB, since XFT_LIBS does | |
2009 | not include -lX11 on Solaris. | |
2010 | ||
49d92e9d | 2011 | 2007-03-02 Stuart D. Herring <herring@lanl.gov> |
b9b26387 | 2012 | |
d9d7b298 | 2013 | * keymap.c (Fkey_binding): Don't consider one-element lists as events. |
b9b26387 | 2014 | |
faa6ce91 KH |
2015 | 2007-03-01 Kenichi Handa <handa@m17n.org> |
2016 | ||
2017 | * process.c (send_process_object): Check the process status and | |
2018 | signal an error if something is wrong. | |
2019 | ||
f79b31db CY |
2020 | 2007-02-28 Chong Yidong <cyd@stupidchicken.com> |
2021 | ||
2022 | * insdel.c (Fcombine_after_change_execute): Return nil if | |
2023 | combine_after_change_buffer has been invalidated. | |
2024 | ||
5f5a9e29 DN |
2025 | 2007-02-25 Dan Nicolaescu <dann@ics.uci.edu> |
2026 | ||
2027 | * m/xtensa.h: New file. | |
2028 | ||
d3332249 NR |
2029 | 2007-02-24 Nick Roberts <nickrob@snap.net.nz> |
2030 | ||
2031 | * .gdbinit (xprintstr): Ensure GDB (> 6.6) prints symbol name | |
2032 | as strings and not character arrays. | |
2033 | ||
cd2e3962 YM |
2034 | 2007-02-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2035 | ||
2036 | * macterm.c [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_drag) | |
2037 | (x_set_toolkit_scroll_bar_thumb): Add bar->min_handle as margin to | |
2038 | scroll bar handle size in order to avoid `scroll backward' problem. | |
2039 | (x_scroll_bar_create, XTset_vertical_scroll_bar) | |
2040 | [USE_TOOLKIT_SCROLL_BARS]: Initialize bar->min_handle. | |
2041 | ||
d9d7b298 SM |
2042 | * macterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: |
2043 | New member `min_handle'. | |
cd2e3962 | 2044 | |
948f7516 KS |
2045 | 2007-02-23 Kim F. Storm <storm@cua.dk> |
2046 | ||
2047 | * print.c (print): Reset print_number_index if Vprint_number_table | |
2048 | is nil. | |
2049 | ||
617a6756 EZ |
2050 | 2007-02-23 Eli Zaretskii <eliz@gnu.org> |
2051 | ||
2052 | * w32.c (stat, get_long_basename, is_unc_volume): Use _mbspbrk | |
2053 | instead of strpbrk. | |
2054 | ||
0efdda24 YM |
2055 | 2007-02-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2056 | ||
2057 | * macmenu.c (mac_menu_show): Call unbind_to early. Use variable | |
2058 | `menu_item_selection' as in W32 version. | |
2059 | [TARGET_API_MAC_CARBON] (mac_handle_dialog_event): Add explicit | |
2060 | braces to avoid ambiguous `else'. | |
2061 | ||
2062 | * macterm.c (mac_display_info_for_display): Remove function. | |
2063 | (mac_flush_display_optional) [USE_CG_DRAWING]: New function. | |
2064 | (x_redisplay_interface) [USE_CG_DRAWING]: Set it as handler for | |
2065 | flush_display_optional. | |
d9d7b298 SM |
2066 | [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_press): |
2067 | New argument MOUSE_POS. All uses changed. Set bar->dragging to | |
0efdda24 | 2068 | negative integer if scroll bar handle is pressed. |
d9d7b298 SM |
2069 | [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_release): |
2070 | Negative bar->dragging means scroll bar handle is not dragged. | |
0efdda24 YM |
2071 | [USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_handle_drag): Get initial |
2072 | offset of scroll bar handle from negative bar->dragging. | |
2073 | (XTread_socket) [USE_TOOLKIT_SCROLL_BARS]: Modifiers for scroll | |
2074 | bar click is compared against mapped one. Set down/up_modifier | |
2075 | for scroll bar click event with control key. | |
2076 | ||
2077 | * macterm.h (x_display_info_for_display): Remove extern. | |
2078 | (SCROLL_BAR_UNPACK, SET_SCROLL_BAR_CONTROL_HANDLE): Don't limit | |
2079 | value to be unpacked to 32-bit on LP64 model. | |
2080 | ||
8d4e7254 KH |
2081 | 2007-02-23 Kenichi Handa <handa@m17n.org> |
2082 | ||
2083 | * process.c (send_process_object_unwind): New function. | |
2084 | (send_process_object): New function. | |
2085 | (Fprocess_send_region): Call send_process_object. | |
2086 | (Fprocess_send_string): Likewise. | |
2087 | ||
904700a0 JR |
2088 | 2007-02-22 Jason Rumney <jasonr@gnu.org> |
2089 | ||
2f028a74 JR |
2090 | * w32menu.c (w32_menu_show): Mark the frame's menu as inactive |
2091 | when popup menu finishes. | |
2092 | ||
58e55497 | 2093 | * w32fns.c (menubar_in_use): New flag. |
88a337ec | 2094 | (w32_wnd_proc) <WM_INITMENU, WM_EXITMENULOOP, WM_TIMER, WM_COMMAND>: |
72a3a66a JR |
2095 | Use it. |
2096 | ||
a67b5c3d JR |
2097 | * w32menu.c (Fx_popup_menu): Don't free menu strings here. |
2098 | (w32_menu_show): Do it here instead. | |
2099 | ||
88a337ec | 2100 | * w32fns.c (w32_wnd_proc) <WM_INITMENU>: Set menubar_active frame |
ca21600d | 2101 | parameter. |
90816b86 | 2102 | |
904700a0 JR |
2103 | * w32menu.c (current_popup_menu): Make available globally. |
2104 | (menubar_selection_callback): Free menu strings before pushing the | |
d9d7b298 | 2105 | menu event into the keyboard buffer. Remove menu_command_in_progress. |
904700a0 JR |
2106 | |
2107 | * w32fns.c (current_popup_menu): Use from w32menu.c. | |
88a337ec | 2108 | (w32_wnd_proc) <WM_EXITMENULOOP, WM_TIMER>: Use menubar_active |
90816b86 JR |
2109 | and current_popup_menu to determine whether a menubar menu has |
2110 | been cancelled. | |
904700a0 JR |
2111 | |
2112 | * w32term.h (w32_output): Remove menu_command_in_progress. | |
2113 | ||
d1eeefeb KS |
2114 | 2007-02-22 Kim F. Storm <storm@cua.dk> |
2115 | ||
2116 | * dispnew.c (update_frame, update_single_window): Set force_p here if | |
2117 | redisplay_dont_pause is set or Vredisplay_preemption_period is nil... | |
2118 | (update_window, update_frame_1): ... instead of here. | |
e973477d | 2119 | (update_text_area): Clear mouse face on header lines. |
d1eeefeb | 2120 | |
dfb1e36c KS |
2121 | 2007-02-21 Kim F. Storm <storm@cua.dk> |
2122 | ||
2123 | * minibuf.c (Fassoc_string): Doc fix. Allow symbol for KEY too. | |
2124 | ||
d8506697 YM |
2125 | 2007-02-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2126 | ||
2127 | * macterm.c (WINDOW_RESOURCE, TERM_WINDOW_RESOURCE): Remove macros. | |
2128 | [USE_MAC_TSM] (mac_handle_text_input_event): Remove unused variable | |
2129 | `mapped_modifiers'. | |
2130 | (XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1020]: Use Keyboard | |
2131 | Layout Services routines to get current Unicode keyboard layout. | |
2132 | ||
864a4ae7 CY |
2133 | 2007-02-20 Chong Yidong <cyd@stupidchicken.com> |
2134 | ||
ca21600d JB |
2135 | * frame.c (x_set_screen_gamma): Apply gamma value to the frame's |
2136 | bgcolor. | |
864a4ae7 | 2137 | |
86dcc2c3 KS |
2138 | 2007-02-19 Kim F. Storm <storm@cua.dk> |
2139 | ||
669b454d KS |
2140 | * minibuf.c (Fassoc_string): Allow symbols as keys. |
2141 | ||
86dcc2c3 KS |
2142 | * w32term.c (w32_set_scroll_bar_thumb): Don't resize scroll-bar |
2143 | handle while dragging, except when we get close to eob. | |
2144 | Fix position and size calculations so we don't scroll backwards | |
2145 | just by clicking on the handle. | |
2146 | ||
bc23733a YM |
2147 | 2007-02-17 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2148 | ||
2149 | * Makefile.in (${emacsapp}Contents/Resources/Emacs.rsrc) | |
2150 | [HAVE_CARBON]: Remove target. | |
2151 | (macosx-app) [HAVE_CARBON]: Don't depend on it. | |
2152 | ||
ebf24b59 JB |
2153 | 2007-02-17 Juanma Barranquero <lekktu@gmail.com> |
2154 | ||
2155 | * callproc.c (syms_of_callproc) <doc-directory>: | |
2156 | <configure-info-directory>: | |
2157 | (Fgetenv_internal): Fix typos in docstrings. | |
2158 | ||
2159 | * doc.c (Fsubstitute_command_keys): Fix typo in docstring. | |
2160 | ||
52b2c096 AS |
2161 | 2007-02-16 Andreas Schwab <schwab@suse.de> |
2162 | ||
3b58be21 AS |
2163 | * frame.c (Fmodify_frame_parameters): Return a value. |
2164 | ||
52b2c096 AS |
2165 | * editfns.c (Fformat): Add support for '+' flag. |
2166 | * doprnt.c (doprnt1): Likewise. Fix overflow checking. | |
2167 | ||
44713939 CY |
2168 | 2007-02-14 Chong Yidong <cyd@stupidchicken.com> |
2169 | ||
2170 | * s/umips.h: Unused file removed. | |
2171 | ||
424f6998 JB |
2172 | 2007-02-14 Juanma Barranquero <lekktu@gmail.com> |
2173 | ||
2174 | * xfaces.c (Fcolor_distance): Don't continue checking a color for | |
2175 | errors after it has been correctly parsed as an RGB list. | |
2176 | ||
6dac214c JD |
2177 | 2007-02-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2178 | ||
2179 | * xterm.c (do_ewmh_fullscreen): Also check for _NET_WM_STATE_FULLSCREEN. | |
2180 | ||
409d2613 YM |
2181 | 2007-02-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2182 | ||
2183 | * macfns.c (Fx_focus_frame): Move current process to foreground if | |
2184 | it is not. | |
2185 | [TARGET_API_MAC_CARBON] (Fx_file_dialog): Replace #if MAC_OSX with | |
2186 | #ifdef MAC_OSX. | |
2187 | (Fmac_set_font_panel_visible_p) [USE_MAC_FONT_PANEL]: Rename from | |
2188 | Fmac_set_font_panel_visibility. All uses changed. Rename argument | |
2189 | VISIBLE to FLAG. | |
2190 | ||
2191 | * macterm.c (MakeMeTheFrontProcess) [MAC_OSX]: Remove function. | |
2192 | (mac_initialize) [MAC_OSX]: Call SetFrontProcess instead of | |
2193 | MakeMeTheFrontProcess. | |
2194 | ||
09efb30a CY |
2195 | 2007-02-12 Chong Yidong <cyd@stupidchicken.com> |
2196 | ||
2197 | * frame.c (x_set_screen_gamma): Clear face cache. | |
2198 | ||
550934c8 JB |
2199 | 2007-02-11 Juanma Barranquero <lekktu@gmail.com> |
2200 | ||
2201 | * buffer.c (Fgenerate_new_buffer_name, Fbuffer_modified_tick): | |
2202 | Reflow docstrings. | |
2203 | ||
3570640e EZ |
2204 | 2007-02-10 Eli Zaretskii <eliz@gnu.org> |
2205 | ||
2206 | * window.c (Fwindow_height, Fwindow_hscroll) | |
2207 | (Fwindow_redisplay_end_trigger, Fwindow_point, Fwindow_start) | |
2208 | (Fwindow_end, Fwindow_display_table, Fwindow_text_height): | |
2209 | Document the effect of WINDOW arg being nil. | |
2210 | ||
2b7ef867 KS |
2211 | 2007-02-08 Kim F. Storm <storm@cua.dk> |
2212 | ||
2213 | * minibuf.c (read_minibuf): Fix 2007-01-30 change. | |
550934c8 | 2214 | Use Qlambda as interim value of Vminibuffer_completing_file_name. |
ac6ee452 | 2215 | (Fcompleting_read): Use non-filename maps if value is Qlambda (or Qnil). |
2b7ef867 KS |
2216 | (syms_of_minibuf) <minibuffer-completing-file-name>: Document lambda. |
2217 | ||
8b57a7fd JB |
2218 | 2007-02-07 Juanma Barranquero <lekktu@gmail.com> |
2219 | ||
2220 | * makefile.w32-in ($(TRES)): Use literal "../nt/emacs.rc" instead | |
2221 | of $(ALL_DEPS). | |
2222 | ||
f3d5bd22 EZ |
2223 | 2007-02-07 Eli Zaretskii <eliz@gnu.org> |
2224 | ||
2225 | * makefile.w32-in ($(TRES)): Depend on stamp_BLD, since $(TRES) is | |
2226 | put into $(BLD). | |
2227 | ||
c9008e63 CY |
2228 | 2007-02-06 Chong Yidong <cyd@stupidchicken.com> |
2229 | ||
2230 | * frame.c (Fmodify_frame_parameters): Don't bind | |
2231 | Qinhibit_default_face_x_resources, which has no effect. | |
2232 | (Qinhibit_default_face_x_resources): Symbol deleted. | |
2233 | ||
77083ca3 EZ |
2234 | 2007-02-03 Eli Zaretskii <eliz@gnu.org> |
2235 | ||
2236 | * indent.c (Fmove_to_column): Document that the argument COLUMN is | |
2237 | taken from prefix numeric argument. | |
2238 | ||
191c4353 JB |
2239 | 2007-02-03 Juanma Barranquero <lekktu@gmail.com> |
2240 | ||
2241 | * lread.c (syms_of_lread) <load-history>: Doc fix. | |
2242 | ||
5e1a6e32 JB |
2243 | 2007-01-29 Andreas Seltenreich <uwi7@rz.uni-karlsruhe.de> (tiny change) |
2244 | ||
2245 | * xterm.c [!USE_TOOLKIT_SCROLL_BARS] (x_scroll_bar_expose): | |
2246 | Use the foreground color of the scroll-bar face when drawing | |
2247 | the scroll-bar's border. | |
1024f9c0 | 2248 | |
849bb789 JD |
2249 | 2007-02-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2250 | ||
2251 | * xterm.c (do_ewmh_fullscreen): Check that what != NULL before | |
2252 | calling wm_supports. | |
2253 | ||
099de390 JB |
2254 | 2007-02-01 Juanma Barranquero <lekktu@gmail.com> |
2255 | ||
2256 | * lread.c (syms_of_lread) <user-init-file>: Doc fix. | |
2257 | Wording by Eli Zaretskii. | |
2258 | ||
0cba6386 JD |
2259 | 2007-01-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2260 | ||
2261 | * gtkutil.c (update_frame_tool_bar): Initialize h/vmargin to 0. | |
2262 | ||
25752d87 RS |
2263 | 2007-01-30 Richard Stallman <rms@gnu.org> |
2264 | ||
2265 | * minibuf.c (read_minibuf): | |
2266 | Save and clear Vminibuffer_completing_file_name. | |
2267 | (read_minibuf_unwind): Restore it. | |
2268 | (Vminibuffer_completion_table, Qminibuffer_completion_table) | |
2269 | (Vminibuffer_completion_predicate, Qminibuffer_completion_predicate) | |
2270 | (Vminibuffer_completion_confirm, Qminibuffer_completion_confirm) | |
2271 | (Vminibuffer_completing_file_name): Definitions moved up. | |
2272 | ||
956d1928 CY |
2273 | 2007-01-29 Chong Yidong <cyd@stupidchicken.com> |
2274 | ||
2275 | * m/hp800.h: Restore, removing HP-UX support. | |
2276 | ||
4abaeb50 JD |
2277 | 2007-01-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2278 | ||
2279 | * Makefile.in: Use a variable, XFT_LIBS, instead #define LIB_X11_LIB. | |
2280 | ||
d9380425 RS |
2281 | 2007-01-28 Richard Stallman <rms@gnu.org> |
2282 | ||
2283 | * minibuf.c (Ftry_completion, Fall_completions) | |
2284 | (Fcompleting_read, Ftest_completion): | |
2285 | Rename arg ALIST or TABLE to COLLECTION. | |
2286 | ||
b99e3557 CY |
2287 | 2007-01-27 Chong Yidong <cyd@stupidchicken.com> |
2288 | ||
2289 | * unexhp9k800.c: Remove due to lack of legal papers. | |
2290 | ||
2291 | * m/sr2k.h, m/hp800.h: Remove due to dependence on above. | |
2292 | ||
4fda07c1 EZ |
2293 | 2007-01-27 Eli Zaretskii <eliz@gnu.org> |
2294 | ||
65849ada EZ |
2295 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector): Doc fix. |
2296 | ||
4fda07c1 EZ |
2297 | * minibuf.c (Fcompleting_read): Doc fix. |
2298 | ||
aa4ff486 JD |
2299 | 2007-01-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2300 | ||
cddb7844 JD |
2301 | * gtkutil.c (xg_initialize): Call XftInit if HAVE_XFT. |
2302 | ||
aa4ff486 JD |
2303 | * Makefile.in: Use XFT_LIBS if defined. |
2304 | ||
3fb8b536 YM |
2305 | 2007-01-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2306 | ||
ca21600d JB |
2307 | * alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use |
2308 | BLOCK_INPUT/UNBLOCK_INPUT. | |
3fb8b536 YM |
2309 | |
2310 | * blockinput.h (interrupt_input_blocked): Declare volatile. | |
2311 | ||
2312 | * keyboard.c (interrupt_input_blocked): Declare volatile. | |
2313 | ||
2314 | * syssignal.h (SIGNAL_THREAD_CHECK): Use pthread_equal. | |
2315 | ||
ff40b263 KS |
2316 | 2007-01-24 Kim F. Storm <storm@cua.dk> |
2317 | ||
2318 | * keymap.c (describe_map): Don't consider prefix keys to be shadowed. | |
2319 | ||
9671c13a JB |
2320 | 2007-01-23 Juanma Barranquero <lekktu@gmail.com> |
2321 | ||
2322 | * editfns.c (Finsert_char): Doc fix. | |
2323 | (Fget_internal_run_time, Fdecode_time): Fix typos in docstrings. | |
2324 | ||
447466a5 YM |
2325 | 2007-01-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2326 | ||
523fc433 JB |
2327 | * macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag): |
2328 | Don't pass keyboard modifiers to mac_store_drag_event, but put | |
2329 | them as kEventParamKeyModifiers Apple event parameter. | |
447466a5 | 2330 | |
64401adc CY |
2331 | 2007-01-21 Chong Yidong <cyd@stupidchicken.com> |
2332 | ||
2333 | * xdisp.c (try_window): Revert previous change. | |
2334 | ||
2335 | * dispnew.c (update_text_area): Revert 2006-09-17 change. | |
2336 | Always redraw non-mode-line rows with mouse-face. | |
2337 | ||
7d100727 CY |
2338 | 2007-01-20 Chong Yidong <cyd@stupidchicken.com> |
2339 | ||
2340 | * xdisp.c (try_window): Clear mouse-face highlights first. | |
2341 | ||
2342 | * window.c (set_window_buffer): Revert 2006-11-22 change. | |
2343 | ||
4e251bd1 EZ |
2344 | 2007-01-20 Eli Zaretskii <eliz@gnu.org> |
2345 | ||
2346 | * .gdbinit (ppt, xtype, xmisctype, xint, xptr, xmarker, xframe) | |
2347 | (xbuffer, xcons, xcar, xcdr): Fix doc strings. | |
2348 | ||
25170427 CY |
2349 | 2007-01-20 Chong Yidong <cyd@stupidchicken.com> |
2350 | ||
2351 | * keyboard.c (read_key_sequence): Extract local map only if the | |
2352 | given position is in an accessible buffer region. | |
2353 | ||
acb38529 NR |
2354 | 2007-01-19 Nick Roberts <nickrob@snap.net.nz> |
2355 | ||
2356 | * .gdbinit: Reformat documentation so that first sentence | |
2357 | displays properly with "help user-defined" (like apropos). | |
2358 | ||
9671c13a | 2359 | 2007-01-18 Bruno Haible <bruno@clisp.org> (tiny change) |
4a75434a CY |
2360 | |
2361 | * epaths.in: Move PATH_DOC from local/info to local/share/info. | |
2362 | ||
a35c8b70 YM |
2363 | 2007-01-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2364 | ||
4e251bd1 | 2365 | * macmenu.c (create_and_show_dialog) [TARGET_API_MAC_CARBON]: |
a35c8b70 | 2366 | Create movable modal window instead of movable alert window. |
4e251bd1 EZ |
2367 | (create_and_show_dialog) [!MAC_OSX]: Use DeactivateControl instead |
2368 | of DisableControl. | |
a35c8b70 YM |
2369 | |
2370 | * macselect.c (Fmac_resume_apple_event): Set error number when | |
2371 | descriptor type of reply is non-null. | |
2372 | ||
28c96b4d YM |
2373 | 2007-01-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2374 | ||
d9d7b298 SM |
2375 | * macmenu.c (create_and_show_dialog) [TARGET_API_MAC_CARBON]: |
2376 | Use DisableControl for disabled items. Set default button to first | |
28c96b4d YM |
2377 | enabled one. Use icon of application in execution. |
2378 | ||
9bd1cd35 EZ |
2379 | 2007-01-13 Eli Zaretskii <eliz@gnu.org> |
2380 | ||
9671c13a JB |
2381 | * process.c (Fdelete_process, Fprocess_id, sigchld_handler): |
2382 | Copy PID into EMACS_INT to avoid GCC warnings. | |
d30fe779 | 2383 | |
9bd1cd35 EZ |
2384 | * fns.c (maybe_resize_hash_table): Copy new size of hash table |
2385 | into EMACS_INT to avoid GCC warnings. | |
2386 | ||
2387 | * editfns.c (Fuser_uid, Fuser_real_uid): Copy values returned by | |
2388 | geteuid and getuid into EMACS_INT to avoid GCC warnings. | |
2389 | ||
2390 | * dired.c (Ffile_attributes): Fix last change. | |
2391 | ||
b55445d6 EZ |
2392 | 2007-01-12 Eli Zaretskii <eliz@gnu.org> |
2393 | ||
2394 | * dired.c (Ffile_attributes): Copy some members of `struct stat' | |
2395 | into int's to avoid GCC warnings about limited range of short in | |
2396 | arguments to FIXNUM_OVERFLOW_P. | |
2397 | ||
37370cea YM |
2398 | 2007-01-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2399 | ||
2400 | * macmenu.c (HAVE_DIALOGS): Define if TARGET_API_MAC_CARBON. | |
2401 | (mac_handle_dialog_event, install_dialog_event_handler) | |
2402 | (create_and_show_dialog) [TARGET_API_MAC_CARBON]: New functions. | |
2403 | (DIALOG_LEFT_MARGIN, DIALOG_TOP_MARGIN, DIALOG_RIGHT_MARGIN) | |
2404 | (DIALOG_BOTTOM_MARGIN, DIALOG_MIN_INNER_WIDTH) | |
2405 | (DIALOG_MAX_INNER_WIDTH, DIALOG_BUTTON_BUTTON_HORIZONTAL_SPACE) | |
2406 | (DIALOG_BUTTON_BUTTON_VERTICAL_SPACE, DIALOG_BUTTON_MIN_WIDTH) | |
2407 | (DIALOG_TEXT_MIN_HEIGHT, DIALOG_TEXT_BUTTONS_VERTICAL_SPACE) | |
2408 | (DIALOG_ICON_WIDTH, DIALOG_ICON_HEIGHT, DIALOG_ICON_LEFT_MARGIN) | |
2409 | (DIALOG_ICON_TOP_MARGIN) [TARGET_API_MAC_CARBON]: New macros. | |
2410 | (mac_dialog) [TARGET_API_MAC_CARBON]: Remove function. | |
2411 | (mac_dialog_show) [TARGET_API_MAC_CARBON]: Use create_and_show_dialog. | |
2412 | ||
523fc433 JB |
2413 | * macterm.c (x_free_frame_resources) [USE_CG_DRAWING]: |
2414 | Call mac_prepare_for_quickdraw. | |
37370cea YM |
2415 | (quit_char, make_ctrl_char) [TARGET_API_MAC_CARBON]: Move externs |
2416 | outside #ifdef MAC_OSX. | |
2417 | (mac_quit_char_key_p) [TARGET_API_MAC_CARBON]: Move function | |
2418 | outside #ifdef MAC_OSX. | |
2419 | (mac_check_bundle) [MAC_OSX]: Remove unused function. | |
2420 | ||
2421 | * macterm.h (mac_quit_char_key_p): Move extern outside #ifdef MAC_OSX. | |
2422 | (HOURGLASS_WIDTH, HOURGLASS_HEIGHT): Parenthesize definitions. | |
2423 | ||
959dc601 JD |
2424 | 2007-01-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2425 | ||
2426 | * alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Use pthread_equal, | |
2427 | block/unblock SIGIO. | |
2428 | ||
8b9ae6b0 SM |
2429 | 2007-01-10 Stefan Monnier <monnier@iro.umontreal.ca> |
2430 | ||
c5c6b2cc SM |
2431 | * editfns.c (Fformat): Allow integer-format to work with floats of size |
2432 | larger than most-positive-fixnum (but still smaller than MAXINT). | |
2433 | ||
8b9ae6b0 SM |
2434 | * dired.c (Ffile_attributes): Use floats for large uids/gids. |
2435 | ||
c7ed3276 EZ |
2436 | 2007-01-09 Eli Zaretskii <eliz@gnu.org> |
2437 | ||
2438 | * emacs.c (syms_of_emacs) <path-separator>: Doc fix. | |
2439 | ||
5d348d3f YM |
2440 | 2007-01-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2441 | ||
2442 | * callproc.c (Fcall_process_region) [HAVE_MKSTEMP]: Add BLOCK_INPUT | |
2443 | around mkstemp. | |
2444 | ||
2445 | * image.c (XDrawLine) [MAC_OS]: Remove macro. | |
2446 | (XCreateGC_pixmap) [!HAVE_NTGUI]: Likewise. | |
2447 | (x_disable_image) [!HAVE_NTGUI]: Use XCreateGC instead of | |
2448 | XCreateGC_pixmap. | |
2449 | ||
2450 | * macgui.h (Display): Typedef to opaque type. | |
2451 | ||
2452 | * macmenu.c (mac_dialog_modal_filter) [MAC_OSX]: New function. | |
2453 | (Fx_popup_dialog) [MAC_OSX]: Use standard alert if called from | |
2454 | Fmessage_box, Fyes_or_no_p, or Fy_or_n_p. | |
8b9ae6b0 SM |
2455 | [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030] (menu_quit_handler): |
2456 | Use mac_quit_char_key_p. | |
5d348d3f YM |
2457 | |
2458 | * macterm.c (XDrawLine): Rename from mac_draw_line_to_pixmap. | |
2459 | (XCreateGC): Change type of 2nd argument to void *. | |
2460 | (XFreeGC) [USE_CG_DRAWING && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
2461 | Fix last change. | |
2462 | (mac_to_emacs_modifiers): Change return type to int. | |
2463 | [USE_CARBON_EVENTS] (mac_event_to_emacs_modifiers): Likewise. | |
2464 | (mac_mapped_modifiers): New function. | |
2465 | (XTread_socket): Use it. | |
2466 | [USE_TSM] (mac_handle_text_input_event): Likewise. | |
2467 | (do_window_update) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. | |
8b9ae6b0 SM |
2468 | (mac_quit_char_modifiers, mac_quit_char_keycode) [MAC_OSX]: |
2469 | Remove variables. | |
5d348d3f YM |
2470 | (mac_determine_quit_char_modifiers, init_quit_char_handler) |
2471 | [MAC_OSX]: Remove functions. | |
2472 | (make_ctrl_char) [MAC_OSX]: Add extern. | |
2473 | (mac_quit_char_key_p) [MAC_OSX]: New function. | |
2474 | (mac_initialize) [MAC_OSX]: Don't call init_quit_char_handler. | |
2475 | ||
2476 | * macterm.h (FONT_MAX_WIDTH): Remove unused macro. | |
2477 | (XCreateGC): Change type in extern. | |
2478 | (XDrawLine): Rename from mac_draw_line_to_pixmap. | |
2479 | (mac_quit_char_key_p) [MAC_OSX]: Add extern. | |
2480 | ||
287110f5 JD |
2481 | 2007-01-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2482 | ||
4c180390 JD |
2483 | * keyboard.c (init_keyboard): Initialize interrupt_input_blocked and |
2484 | interrupt_input_pending. | |
2485 | ||
287110f5 JD |
2486 | * xterm.h (x_display_info): New: net_supported_atoms, |
2487 | nr_net_supported_atoms and net_supported_window. | |
2488 | ||
9671c13a | 2489 | * xterm.c (last_user_time): New variable. |
287110f5 JD |
2490 | (handle_one_xevent): Set last_user_time from events that have Time. |
2491 | Set net_supported_window to 0 when reparented. | |
2492 | (wm_supports): New function. | |
2493 | (do_ewmh_fullscreen): Use wm_supports to check for _NET_WM_STATE. | |
2494 | (x_term_init): Initialize net_supported_atoms, nr_net_supported_atoms | |
2495 | and net_supported_window. | |
2496 | ||
5be70981 KS |
2497 | 2007-01-05 Kim F. Storm <storm@cua.dk> |
2498 | ||
2499 | * indent.c (Fvertical_motion): Fix it overshoot check for overlay | |
2500 | strings without embedded newlines immediately followed by newline. | |
2501 | ||
1675bac7 YM |
2502 | 2007-01-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2503 | ||
2504 | * editfns.c (Fformat_time_string, Fdecode_time, Fencode_time) | |
2505 | (Fcurrent_time_string, Fcurrent_time_zone): Add BLOCK_INPUT around | |
2506 | gmtime/localtime/emacs_memftimeu/mktime. | |
2507 | ||
2508 | * mac.c (Fmac_set_file_creator): Use MAC_EMACS_CREATOR_CODE | |
2509 | instead of 'EMAx'. | |
2510 | [!MAC_OSX] (sys_open, sys_creat, sys_fopen): Likewise. | |
2511 | ||
2512 | * macgui.h (struct _XGC) [USE_CG_DRAWING | |
2513 | && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New members cg_fore_color | |
2514 | and cg_back_color. | |
2515 | ||
2516 | * macmenu.c (Vshow_help_function) [TARGET_API_MAC_CARBON]: Add extern. | |
2517 | (restore_show_help_function, menu_target_item_handler) | |
2518 | [TARGET_API_MAC_CARBON]: New functions. | |
2519 | (install_menu_target_item_handler): New function. | |
2520 | (add_menu_item) [TARGET_API_MAC_CARBON]: Set help string as menu | |
2521 | item property. | |
2522 | ||
2523 | * macterm.c (CG_SET_FILL_COLOR_MAYBE_WITH_CGCOLOR) | |
2524 | (CG_SET_FILL_COLOR_WITH_GC_FOREGROUND) | |
2525 | (CG_SET_FILL_COLOR_WITH_GC_BACKGROUND) | |
2526 | (CG_SET_STROKE_COLOR_MAYBE_WITH_CGCOLOR) | |
2527 | (CG_SET_STROKE_COLOR_WITH_GC_FOREGROUND): New macros. | |
2528 | (mac_cg_color_space_rgb) [USE_CG_DRAWING]: New variable. | |
2529 | (mac_cg_color_black) [USE_CG_DRAWING | |
2530 | && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: New variable. | |
2531 | (init_cg_color) [USE_CG_DRAWING]: New function. | |
2532 | (mac_draw_line, mac_draw_rectangle) [USE_CG_DRAWING]: Use | |
2533 | CG_SET_STROKE_COLOR_WITH_GC_FOREGROUND instead of CG_SET_STROKE_COLOR. | |
2534 | (mac_erase_rectangle, mac_clear_window, mac_draw_cg_image) | |
2535 | (mac_fill_rectangle, mac_draw_image_string_cg) [USE_CG_DRAWING]: | |
2536 | Use CG_SET_FILL_COLOR_WITH_GC_FOREGROUND or | |
2537 | CG_SET_FILL_COLOR_WITH_GC_BACKGROUND instead of CG_SET_FILL_COLOR. | |
2538 | (mac_draw_string_common) [MAC_OSX && USE_ATSUI]: Likewise. | |
2539 | (XCreateGC, XFreeGC, XSetForeground, XSetBackground) [USE_CG_DRAWING | |
5e1a6e32 | 2540 | && MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Use gc->cg_fore_color and/or |
1675bac7 YM |
2541 | gc->cg_back_color. |
2542 | (install_drag_handler, remove_drag_handler): Make extern. | |
2543 | (install_menu_target_item_handler): Add extern. | |
2544 | (install_window_handler): Call install_menu_target_item_handler. | |
2545 | [MAC_OS8] (main): Use MAC_EMACS_CREATOR_CODE instead of 'EMAx'. | |
5be70981 | 2546 | (mac_initialize) [USE_CG_DRAWING]: Call init_cg_color. |
1675bac7 YM |
2547 | |
2548 | * macterm.h (MAC_EMACS_CREATOR_CODE): New enumerator. | |
2549 | ||
4c9564e8 JB |
2550 | 2007-01-04 Juanma Barranquero <lekktu@gmail.com> |
2551 | ||
2552 | * window.c (Fwindow_end): Fix use of >= operator. | |
2553 | ||
c3295e7b RS |
2554 | 2007-01-03 Richard Stallman <rms@gnu.org> |
2555 | ||
2556 | * window.c (Fwindow_end): Check BUF_OVERLAY_MODIFF like BUF_MODIFF. | |
2557 | ||
0c5e9b06 JD |
2558 | 2007-01-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2559 | ||
2560 | * gtkutil.h (xg_menu_item_cb_data_): Remove highlight_id and | |
2561 | unhighlight_id. | |
2562 | ||
2563 | * gtkutil.c (menuitem_highlight_callback): Invoked widget is the | |
2564 | parent of the menu item. Get menu item widget from event. | |
2565 | (xg_create_one_menuitem, xg_update_menu_item): highlight_id and | |
2566 | unhighlight_id has been removed. | |
2567 | (create_menus): Connect enter/leave-notify-event to the menu instead | |
2568 | of individual items. | |
2569 | ||
1e0fe298 JD |
2570 | 2006-12-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2571 | ||
2572 | * gtkutil.c (update_frame_tool_bar): Connect create-menu-proxy with | |
2573 | xg_tool_bar_menu_proxy. | |
2574 | (xg_tool_bar_menu_proxy): New function. | |
2575 | (xg_tool_bar_proxy_callback): New function. | |
2576 | ||
6e1440e6 JD |
2577 | 2006-12-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2578 | ||
2579 | * gtkutil.c (xg_tool_bar_button_cb): Save last modifier on widget. | |
2580 | (xg_tool_bar_callback): Remove check for button. | |
2581 | (update_frame_tool_bar): Put an event box in the tool bar and a button | |
2582 | in the event box. Attach enter/leave-notify-event to the event box. | |
2583 | ||
dced1a73 RS |
2584 | 2006-12-30 Richard Stallman <rms@gnu.org> |
2585 | ||
2586 | * keymap.c (Fdefine_key): Doc fix. | |
2587 | ||
05a699b6 KS |
2588 | 2006-12-29 Kim F. Storm <storm@cua.dk> |
2589 | ||
2590 | * frame.h (struct frame): New member minimize_tool_bar_window_p. | |
2591 | ||
2592 | * xdisp.c (auto_resize_tool_bars_p): Replace with ... | |
2593 | (Vauto_resize_tool_bars): ... this. | |
2594 | (syms_of_xdisp): DEFVAR_LISP and initialize it. Update doc string | |
2595 | to describe new value `grow-only', and use of C-l. | |
2596 | (display_tool_bar_line): Only use default face for border below | |
2597 | toolbar if not grow-only (to get acceptable visual appearence). | |
2598 | Explicitly set visible_height for empty toolbar lines. | |
2599 | (redisplay_tool_bar): Handle `grow-only' setting. Check and clear | |
2600 | minimize_tool_bar_window_p flag. | |
2601 | ||
2602 | * window.c (Frecenter): Set minimize_tool_bar_window_p flag | |
2603 | when called without arg to redraw with minimum toolbar height. | |
2604 | Update doc string. | |
2605 | ||
e37b3faf JR |
2606 | 2006-12-29 Jason Rumney <jasonr@gnu.org> |
2607 | ||
2608 | * s/ms-w32.h (tzname): Do not define in msvc8. | |
40c41924 | 2609 | (utime): Do not define in msvc8. |
e37b3faf JR |
2610 | |
2611 | * regex.c (regerror): Change parameter name err_code. | |
2612 | ||
dbb8dfc7 RS |
2613 | 2006-12-26 Richard Stallman <rms@gnu.org> |
2614 | ||
e817cc9b RS |
2615 | * search.c (Fsearch_forward): Doc fix. |
2616 | ||
dbb8dfc7 RS |
2617 | * callint.c (Finteractive): Doc fix. |
2618 | ||
42f82ce7 KS |
2619 | 2006-12-25 Kim F. Storm <storm@cua.dk> |
2620 | ||
2621 | * s/ms-w32.h (BROKEN_DATAGRAM_SOCKETS): Define it. | |
2622 | ||
fa1f0a88 EZ |
2623 | 2006-12-23 Eli Zaretskii <eliz@gnu.org> |
2624 | ||
2625 | * keyboard.c (some_mouse_moved): Fix last change. | |
2626 | ||
453027ac EZ |
2627 | 2006-12-22 Eli Zaretskii <eliz@gnu.org> |
2628 | ||
2629 | * callproc.c (syms_of_callproc) <shell-file-name>: Doc fix. | |
2630 | ||
b9542c10 EZ |
2631 | 2006-12-22 Mark Davies <mark@mcs.vuw.ac.nz> |
2632 | ||
2633 | * m/amdx86-64.h, m/hp800.h: Add support for NetBSD. | |
2634 | * m/sh3el.h: New file. | |
2635 | ||
5e059fc1 EZ |
2636 | 2006-12-22 Eli Zaretskii <eliz@gnu.org> |
2637 | ||
ca21600d JB |
2638 | * makefile.w32-in (emacs, temacs): Depend on stamp_BLD instead of |
2639 | $(BLD). | |
5e059fc1 EZ |
2640 | ($(OBJ0) $(OBJ1) $(WIN32OBJ)): New dependency on stamp_BLD. |
2641 | (bootstrap-temacs): Pass $(XMFLAGS) to sub-make. | |
6808dce1 | 2642 | ($(OBJ0) $(OBJ1) $(WIN32OBJ)): Add lastfile.$(O) and firstfile.$(O). |
f278d4a6 | 2643 | (clean): Delete stamp_BLD. |
5e059fc1 | 2644 | |
2f0fd19a YM |
2645 | 2006-12-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2646 | ||
8b9ae6b0 SM |
2647 | * macfns.c (mac_update_title_bar) [TARGET_API_MAC_CARBON]: |
2648 | Call mac_update_proxy_icon also when buffer modification flag changed. | |
2f0fd19a YM |
2649 | [TARGET_API_MAC_CARBON] (mac_update_proxy_icon): Don't update alias, |
2650 | but compare FSRef/FSSpec of resolved alias. | |
2651 | ||
274fa194 KS |
2652 | 2006-12-21 Kim F. Storm <storm@cua.dk> |
2653 | ||
2654 | * w32.c (_sys_wait_accept): Fix handle leak. | |
2655 | ||
7fb24298 JD |
2656 | 2006-12-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2657 | ||
ca21600d JB |
2658 | * sound.c: Include <alsa/asoundlib.h> if ALSA_SUBDIR_INCLUDE is |
2659 | defined. | |
7fb24298 | 2660 | |
15d6777e KS |
2661 | 2006-12-20 Kim F. Storm <storm@cua.dk> |
2662 | ||
2663 | * s/ms-w32.h (BROKEN_NON_BLOCKING_CONNECT): Define it. | |
2664 | ||
209ceeef JB |
2665 | 2006-12-19 Juanma Barranquero <lekktu@gmail.com> |
2666 | ||
2667 | * keyboard.c (syms_of_keyboard) <double-click-time>: | |
2668 | * mac.c (Fmac_code_convert_string): | |
2669 | * search.c (Fsearch_forward): Doc fixes. | |
2670 | ||
36ff6d6f KS |
2671 | 2006-12-19 Kim F. Storm <storm@cua.dk> |
2672 | ||
2673 | Rework 2006-12-04 change. A SIGUSR1 (SIGUSR2) signal now generates | |
2674 | a sigusr1 event instead of [signal usr1] sequence, and signal events | |
2675 | are now supposed to be handled via special-event-map. | |
2676 | ||
2677 | * keyboard.c (kbd_buffer_store_event_hold): Undo 2006-12-04 change. | |
2678 | (make_lispy_event): Don't generate Qsignal prefix for code 0. | |
2679 | Abort if signal code is unknown. | |
2680 | (store_user_signal_events): Don't make Qsignal prefix (code 0). | |
2681 | (Qsignal): Move declaration back to process.c. | |
2682 | (syms_of_keyboard): Don't intern or staticpro it here. | |
2683 | ||
2684 | * process.c (Qsignal): Declare here. | |
2685 | (syms_of_process): Intern or staticpro it. | |
2686 | ||
2687 | * emacs.c (main): Rename user signals to sigusr1 and sigusr2. | |
2688 | ||
2689 | * .gdbinit: Pass on SIGUSR1 and SIGUSR2 to Emacs. | |
2690 | ||
6a28a84c JB |
2691 | 2006-12-19 Juanma Barranquero <lekktu@gmail.com> |
2692 | ||
ebf24b59 | 2693 | * buffer.c (syms_of_buffer) <buffer-display-table>: |
6a28a84c JB |
2694 | <scroll-up-aggressively, scroll-down-aggressively>: Doc fixes. |
2695 | ||
294f1c39 RS |
2696 | 2006-12-17 Richard Stallman <rms@gnu.org> |
2697 | ||
2698 | * fileio.c (Fread_file_name_internal): Pass Vread_file_name_predicate | |
2699 | to Ffile_name_completion. | |
2700 | ||
2701 | * dired.c (file_name_completion): New arg PREDICATE. Some cleanup. | |
6a28a84c | 2702 | (Ffile_name_completion): New arg PREDICATE. |
294f1c39 | 2703 | |
f6e22881 JB |
2704 | 2006-12-17 Juanma Barranquero <lekktu@gmail.com> |
2705 | ||
2706 | * buffer.c (Fkill_buffer): Doc fix. | |
2707 | (syms_of_buffer) <kill-buffer-query-functions>: Doc fix. | |
2708 | ||
f03c1894 JB |
2709 | 2006-12-16 Juanma Barranquero <lekktu@gmail.com> |
2710 | ||
2711 | * minibuf.c (Ftry_completion): Check that obarray buckets are symbols. | |
2712 | ||
04afd01e EZ |
2713 | 2006-12-16 Eli Zaretskii <eliz@gnu.org> |
2714 | ||
b58d0378 EZ |
2715 | * w32fns.c (w32-window-exists-p): New function. |
2716 | (syms_of_w32fns): Defsubr it. | |
2717 | ||
04afd01e EZ |
2718 | * prefix-args.c [STDC_HEADERS]: Include stdlib.h. |
2719 | ||
33202706 JB |
2720 | 2006-12-16 Juanma Barranquero <lekktu@gmail.com> |
2721 | ||
2722 | * minibuf.c (Ftry_completion): Use `check_obarray' if ALIST is a vector. | |
2723 | ||
75036d1c EZ |
2724 | 2006-12-15 Eli Zaretskii <eliz@gnu.org> |
2725 | ||
2726 | * emacs.c (USAGE3): Clarify documentation of --color. | |
2727 | ||
e71b26ec YM |
2728 | 2006-12-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2729 | ||
33202706 JB |
2730 | * mac.c (wakeup_from_rne_enabled_p) [TARGET_API_MAC_CARBON]: |
2731 | New variable. | |
e71b26ec YM |
2732 | (ENABLE_WAKEUP_FROM_RNE, DISABLE_WAKEUP_FROM_RNE): New macros. |
2733 | [!MAC_OSX] (select): Use them. | |
2734 | [MAC_OSX] (select_and_poll_event, sys_select): Likewise. | |
2735 | (mac_wakeup_from_rne) [TARGET_API_MAC_CARBON]: New function. | |
2736 | ||
2737 | * macfns.c (mac_atsu_font_face_attributes) [USE_ATSUI]: Add extern. | |
2738 | (Fmac_atsu_font_face_attributes) [USE_ATSUI]: New function. | |
2739 | (syms_of_macfns) [USE_ATSUI]: Defsubr it. | |
2740 | ||
8b9ae6b0 SM |
2741 | * macselect.c [TARGET_API_MAC_CARBON] (mac_do_receive_drag): |
2742 | Use mac_wakeup_from_rne instead of mac_post_mouse_moved_event. | |
e71b26ec YM |
2743 | |
2744 | * macterm.c (mac_query_char_extents) [USE_ATSUI]: Don't call | |
2745 | ATSUGetGlyphBounds if not necessary. | |
33202706 | 2746 | (Vmac_atsu_font_table) [USE_ATSUI]: Remove variable. |
e71b26ec YM |
2747 | (syms_of_macterm) [USE_ATSUI]: Don't defvar it. |
2748 | (fm_get_style_from_font, atsu_find_font_from_family_name) | |
2749 | (atsu_find_font_family_name, mac_atsu_font_face_attributes) | |
2750 | [USE_ATSUI]: New functions. | |
2751 | (init_font_name_table) [USE_ATSUI]: Use atsu_find_font_family_name. | |
2752 | (mac_load_query_font) [USE_ATSUI]: Use atsu_find_font_from_family_name. | |
2753 | Don't get metrics for Latin-1 right half characters. | |
2754 | (mac_load_query_font): Don't load font if space width is not positive. | |
8b9ae6b0 SM |
2755 | [TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event): |
2756 | Use mac_wakeup_from_rne instead of mac_post_mouse_moved_event. | |
e71b26ec YM |
2757 | (XTread_socket): Call SelectWindow when unfocused frame is clicked. |
2758 | ||
2759 | * macterm.h (mac_wakeup_from_rne) [TARGET_API_MAC_CARBON]: Add extern. | |
2760 | ||
cbaa9c44 KS |
2761 | 2006-12-15 Kim F. Storm <storm@cua.dk> |
2762 | ||
2763 | * keyboard.c (ignore_mouse_drag_p): New global var. | |
2764 | (some_mouse_moved): Return 0 if it is non-zero. | |
2765 | (make_lispy_event): Generate click event on mouse up if | |
2766 | ignore_mouse_drag_p is non-zero, even if mouse moved. | |
2767 | Clear ignore_mouse_drag_p on mouse down/up. | |
2768 | ||
2769 | * xdisp.c (redisplay_window): Set ignore_mouse_drag_p if tool-bar | |
2770 | is resized to avoid generating a mouse drag event. | |
2771 | ||
8a4c4c7f JB |
2772 | 2006-12-14 Juanma Barranquero <lekktu@gmail.com> |
2773 | ||
2774 | * w32fns.c (w32_wnd_proc): Force non-tooltip frames to respect the | |
2775 | minimum tracking size. Remove non-working old hack to do the same. | |
2776 | ||
b1c6aa6e YM |
2777 | 2006-12-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2778 | ||
2779 | * emacs.c (handle_user_signal): Move function to keyboard.c. | |
2780 | (main): Use add_user_signal for SIGUSR1 and SIGUSR2. | |
2781 | ||
2782 | * keyboard.c (make_lispy_event): Use find_user_signal_name. | |
2783 | (read_avail_input): Store pending user signal events. | |
2784 | (struct user_signal_info): New struct. | |
2785 | (user_signals): New variable. | |
e71b26ec YM |
2786 | (add_user_signal, store_user_signal_events) |
2787 | (find_user_signal_name): New functions. | |
b1c6aa6e YM |
2788 | (handle_user_signal): Move function from emacs.c. Don't store |
2789 | USER_SIGNAL_EVENT here, but increment number of pending signals. | |
2790 | ||
2791 | * keyboard.h (add_user_signals): Add extern. | |
2792 | ||
fc961256 JB |
2793 | 2006-12-11 Juanma Barranquero <lekktu@gmail.com> |
2794 | ||
2795 | * buffer.c (syms_of_buffer) <cursor-in-non-selected-windows>: | |
2796 | <default-scroll-up-aggressively, default-scroll-down-aggressively>: | |
2797 | <line-spacing, left-margin>: Doc fixes. | |
2798 | ||
53d45a17 JB |
2799 | * xdisp.c (syms_of_xdisp) <mode-line-inverse-video>: Doc fix. |
2800 | ||
df20dc2b KS |
2801 | 2006-12-10 Kim F. Storm <storm@cua.dk> |
2802 | ||
2803 | * xdisp.c (show_mouse_face): Never use text cursor in tool-bar. | |
2804 | ||
28e86dc4 JB |
2805 | 2006-12-10 Juanma Barranquero <lekktu@gmail.com> |
2806 | ||
2807 | * abbrev.c (syms_of_abbrev) <last-abbrev-text>: | |
2808 | * buffer.c (syms_of_buffer) <default-major-mode>: | |
2809 | * keymap.c (Flookup_key): | |
2810 | * lread.c (Feval_buffer, Feval_region): | |
2811 | * macterm.c (syms_of_macterm) <x-use-underline-position-properties>: | |
2812 | <x-underline-at-descent-line, mac-emulate-three-button-mouse>: | |
2813 | * marker.c (Fmarker_insertion_type): | |
2814 | * minibuf.c (syms_of_minibuf) <minibuffer-completion-table>: | |
2815 | * msdos.c (syms_of_msdos) <delete-exited-processes>: | |
2816 | * w32term.c (syms_of_w32term) <x-use-underline-position-properties>: | |
2817 | <x-underline-at-descent-line>: | |
2818 | * xdisp.c (format-mode-line): | |
2819 | * xterm.c (syms_of_xterm) <x-use-underline-position-properties>: | |
2820 | <x-underline-at-descent-line>: Doc fixes. | |
2821 | ||
64d962c1 AS |
2822 | 2006-12-10 Andreas Schwab <schwab@suse.de> |
2823 | ||
2824 | * systime.h (EMACS_GET_TIME): Remove check for | |
2825 | HAVE_STRUCT_TIMEZONE which is never defined. | |
2826 | ||
43726c05 AM |
2827 | 2006-12-10 Alan Mackenzie <acm@muc.de> |
2828 | ||
2829 | * syntax.c (Fpartial_parse_sexp): Correct Docco: Elt 8 of the | |
2830 | result is now neither the last elt nor optional for OLDSTATE. | |
2831 | ||
cbf9640e EZ |
2832 | 2006-12-09 Eli Zaretskii <eliz@gnu.org> |
2833 | ||
2834 | * process.c (Fsignal_process): Doc fix. Use XFLOAT_DATA to | |
2835 | extract the process ID from a Lisp float. | |
2836 | ||
3ca241e1 CY |
2837 | 2006-12-09 Chong Yidong <cyd@stupidchicken.com> |
2838 | ||
28e86dc4 | 2839 | * xterm.c (XTframe_raise_lower): Comment out _NET_ACTIVE_WINDOW code. |
3ca241e1 | 2840 | |
9e67e94f EZ |
2841 | 2006-12-08 Eli Zaretskii <eliz@gnu.org> |
2842 | ||
2843 | * frame.h (PIX_TYPE): Redefine as `unsigned long', for 64-bit | |
2844 | platforms where long is 64-bit. | |
2845 | ||
2846 | * msdos.h (PIX_TYPE): Redefine as `unsigned long'. | |
2847 | ||
28e86dc4 | 2848 | 2006-12-08 NAKAJI Hiroyuki <nakaji@jp.freebsd.org> (tiny change) |
a15fc3c3 CY |
2849 | |
2850 | * m/amdx86-64.h: Add support for Solaris 10 on x86-64. | |
2851 | ||
65fa9a64 KH |
2852 | 2006-12-08 Kenichi Handa <handa@m17n.org> |
2853 | ||
2854 | * xterm.c (x_query_font): Use xstricmp instead off strcasecmp. | |
2855 | ||
b4963755 JB |
2856 | 2006-12-08 Juanma Barranquero <lekktu@gmail.com> |
2857 | ||
2858 | * emacs.c (syms_of_emacs) <system-type>: Doc fix. | |
2859 | ||
f7a706cf KS |
2860 | 2006-12-07 Kim F. Storm <storm@cua.dk> |
2861 | ||
2862 | * process.c (parse_signal): Use xstricmp instead of strcasecmp. | |
2863 | (Fsignal_process): Don't use strncasecmp. | |
2864 | ||
da9109f7 GM |
2865 | 2006-12-05 Glenn Morris <rgm@gnu.org> |
2866 | ||
2867 | * abbrev.c (Qforce): New Lisp_Object. | |
2868 | (Fdefine_abbrev): Do not overwrite non-system abbrevs with system | |
2869 | abbrevs, unless 'force is applied. | |
2870 | (syms_of_abbrev): Add Qforce. | |
2871 | ||
5c35ec32 KS |
2872 | 2006-12-04 Kim F. Storm <storm@cua.dk> |
2873 | ||
55ba687b KS |
2874 | * process.c (parse_signal): Rename macro from handle_signal. |
2875 | (Fsignal_process): Also accept lower-case variants of signal | |
2876 | names (to align with signal names generated by Emacs itself). | |
2877 | ||
5c35ec32 KS |
2878 | * emacs.c (handle_USR1_signal, handle_USR2_signal): Replace by... |
2879 | (handle_user_signal): ... this, which generates two USER_SIGNAL_EVENTs | |
2880 | first with code == 0 [signal] and one with code == sig number. | |
2881 | (main): Use it as handler for SIGUR1 and SIGUSR2. | |
2882 | ||
2883 | * keyboard.c (kbd_buffer_store_event_hold): Don't throw-on-input | |
2884 | if first event in [signal xxx] sequence. | |
2885 | (lispy_user_signals, Qusr1_signal, Qusr2_signal): Remove. | |
2886 | (syms_of_keyboard): Don't intern and staticpro them. | |
9d8b24a2 KS |
2887 | (Qsignal): Declare here. |
2888 | (syms_of_keyboard): Intern and staticpro it. | |
2889 | (make_lispy_event): Use it. Intern symbols on the fly for other | |
2890 | USER_SIGNAL_EVENTs events. | |
5c35ec32 KS |
2891 | |
2892 | * process.c (Qsignal): Declare extern. | |
9d8b24a2 | 2893 | (syms_of_process): Don't intern/staticpro it here. |
5c35ec32 KS |
2894 | |
2895 | * process.c (read_process_output): Abort if carryover < 0. | |
2896 | ||
ee77eef5 YM |
2897 | 2006-12-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
2898 | ||
2899 | * config.in: Regenerate. | |
2900 | ||
2901 | * fileio.c [__NetBSD__]: Don't define `unix'. | |
2902 | (Funix_sync, syms_of_fileio): Use `#ifdef HAVE_SYNC' instead of | |
2903 | `#ifdef unix'. | |
2904 | ||
4a3363c5 GM |
2905 | 2006-12-04 Glenn Morris <rgm@gnu.org> |
2906 | ||
2907 | * Makefile.in (version): New variable, set by configure. | |
2908 | (bootstrapclean, mostlyclean): Also remove emacs-${version}. | |
2909 | ||
a3893a90 JD |
2910 | 2006-12-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2911 | ||
2912 | * gtkutil.c (update_frame_tool_bar): Handle modifying a toolbar item | |
2913 | without an image. | |
2914 | ||
107fae8b EZ |
2915 | 2006-12-01 Eli Zaretskii <eliz@gnu.org> |
2916 | ||
2917 | * w32fns.c (Fw32_shell_execute): Doc fix. | |
2918 | ||
b88548b1 CY |
2919 | 2006-11-30 Chong Yidong <cyd@stupidchicken.com> |
2920 | ||
2921 | * xdisp.c (move_it_to): Correctly count tab glyphs for continued | |
2922 | lines ending in tab. | |
2923 | ||
65dc67a9 JD |
2924 | 2006-11-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
2925 | ||
2926 | * xterm.c (x_raise_frame): Move setting of _NET_ACTIVE_WINDOW | |
2927 | property ... | |
2928 | (XTframe_raise_lower): ... to here. | |
2929 | ||
3aaab9a0 KH |
2930 | 2006-11-30 Kenichi Handa <handa@m17n.org> |
2931 | ||
2932 | * regex.c (regex_compile): Fix previous change. | |
2933 | ||
c6605d63 JB |
2934 | 2006-11-29 Juanma Barranquero <lekktu@gmail.com> |
2935 | ||
2936 | * sound.c (Fplay_sound_internal): Remove spurious newline in docstring. | |
2937 | ||
1a52930b CY |
2938 | 2006-11-28 Chong Yidong <cyd@stupidchicken.com> |
2939 | ||
2940 | * config.in: Regenerate. | |
2941 | ||
6358f8b2 KH |
2942 | 2006-11-28 Kenichi Handa <handa@m17n.org> |
2943 | ||
2944 | * regex.c (regex_compile): Don't call SET_LIST_BIT with a | |
2945 | multibyte character. | |
2946 | ||
55107ae5 CY |
2947 | 2006-11-27 Chong Yidong <cyd@stupidchicken.com> |
2948 | ||
2b8d8474 | 2949 | * s/aix4-2.h: Undefine _NO_PROTO. Suggested by Joe Buehler. |
55107ae5 | 2950 | |
89692b9a KS |
2951 | 2006-11-27 Kim F. Storm <storm@cua.dk> |
2952 | ||
2953 | * window.c (set_window_buffer): Refactor recent changes. | |
2954 | ||
7e993c06 JR |
2955 | 2006-11-27 Jason Rumney <jasonr@gnu.org> |
2956 | ||
2957 | * w32term.c (w32_msg_worker): Declare correctly. | |
2958 | (w32_initialize): Don't cast w32_msg_worker. | |
2959 | ||
2960 | * w32fns.c (w32_msg_worker): Define as WINAPI and arg as void pointer. | |
2961 | ||
fb873e6b CY |
2962 | 2006-11-26 Chong Yidong <cyd@stupidchicken.com> |
2963 | ||
2964 | * m/amdx86-64.h: Look for standard libs in /usr/lib64 only if that | |
2965 | directory exists. | |
2966 | ||
69a6e74d EZ |
2967 | 2006-11-25 Eli Zaretskii <eliz@gnu.org> |
2968 | ||
2969 | * w16select.c (Fw16_set_clipboard_data): Fix the call to sit_for | |
2970 | as per the calling sequence change on 2006-07-11. | |
2971 | ||
d496cfc0 CY |
2972 | 2006-11-25 Chong Yidong <cyd@stupidchicken.com> |
2973 | ||
2974 | * window.c (set_window_buffer): Use BLOCK_INPUT. | |
2975 | ||
5ee699a7 JB |
2976 | 2006-11-24 Juanma Barranquero <lekktu@gmail.com> |
2977 | ||
2978 | * fns.c (substring_both): Add missing address operator. | |
2979 | ||
7edbb0da SM |
2980 | 2006-11-24 Stefan Monnier <monnier@iro.umontreal.ca> |
2981 | ||
2982 | * fns.c: Use AREF/ASIZE macros. | |
2983 | (concat): Provide the full ANSI prototype. | |
2984 | ||
96215ace JB |
2985 | 2006-11-24 Juanma Barranquero <lekktu@gmail.com> |
2986 | ||
2987 | * buffer.c (syms_of_buffer) <buffer-undo-list>: Doc fix. | |
2988 | ||
09566666 NR |
2989 | 2006-11-23 William Smith <William.Smith@global360.com> (tiny change) |
2990 | ||
609b291d | 2991 | * strftime.c (HAVE_SYS__MBSTATE_T_H): Fix typo. |
09566666 | 2992 | |
550934c8 | 2993 | 2006-11-22 Alfred M. Szmidt <ams@gnu.org> (tiny change) |
6a022bd9 CY |
2994 | |
2995 | * s/openbsd.h (LD_SWITCH_SYSTEM): Remove /usr/pkg/lib and | |
2996 | /usr/pkg/lib from the library search path. | |
2997 | (LD_SWITCH_X_DEFAULT): New macro. | |
2998 | ||
63cb1543 CY |
2999 | 2006-11-22 Chong Yidong <cyd@stupidchicken.com> |
3000 | ||
3001 | * window.c (set_window_buffer): Clear mouse highlight if it is in | |
3002 | this window. | |
3003 | ||
ca612449 CY |
3004 | 2006-11-21 Chong Yidong <cyd@stupidchicken.com> |
3005 | ||
3006 | * xfaces.c (realize_default_face): Check if the default font name | |
3007 | exists on this display before trying to use it. | |
3008 | ||
a98d0b8e RS |
3009 | 2006-11-21 Richard Stallman <rms@gnu.org> |
3010 | ||
3011 | * fileio.c: Break line before &&, not after. | |
3012 | ||
1ce0a32d EZ |
3013 | 2006-11-20 Eli Zaretskii <eliz@gnu.org> |
3014 | ||
3015 | * fns.c (concat) [!__GNUC__]: Add prototype. | |
3016 | ||
565f08cd KH |
3017 | 2006-11-20 Kenichi Handa <handa@m17n.org> |
3018 | ||
3019 | * fileio.c (Fread_file_name_internal): Use SBYTES (not SCHARS) to | |
3020 | check the tailing slash of a filename. | |
3021 | ||
e15a0495 KH |
3022 | 2006-11-20 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> (tiny change) |
3023 | ||
3024 | * indent.c (Fvertical_motion): Include composition in the case of | |
3025 | overshoot expected. | |
3026 | ||
221439a0 AS |
3027 | 2006-11-19 Andreas Schwab <schwab@gnu.org> |
3028 | ||
7edbb0da | 3029 | * xfaces.c (Fdisplay_supports_face_attributes_p): Initialize supports. |
221439a0 AS |
3030 | |
3031 | * xmenu.c (Fx_popup_menu): Initialize selection. | |
3032 | ||
bcd7101a AS |
3033 | 2006-11-18 Andreas Schwab <schwab@suse.de> |
3034 | ||
7edbb0da | 3035 | * s/gnu-linux.h (GC_MARK_SECONDARY_STACK): Update call to mark_memory. |
bcd7101a | 3036 | |
118ddbdd JD |
3037 | 2006-11-17 Tetsurou Okazaki <okazaki@be.to> (tiny change) |
3038 | ||
3039 | * xterm.c (do_ewmh_fullscreen): Declare variable before XSETFRAME | |
3040 | to avoid gcc 2.96 error. | |
3041 | ||
347d9bbe KH |
3042 | 2006-11-17 NIIMI Satoshi <sa2c@sa2c.net> (tiny change) |
3043 | ||
3044 | * search.c (simple_search): In the loop of backward searching, | |
3045 | check also the byte position against the limit. | |
3046 | ||
d089c7a8 RF |
3047 | 2006-11-14 Romain Francoise <romain@orebokech.com> |
3048 | ||
3049 | * minibuf.c (Fcompleting_read): Fix typo in docstring. | |
3050 | ||
1364f420 KH |
3051 | 2006-11-14 Kenichi Handa <handa@m17n.org> |
3052 | ||
7edbb0da | 3053 | * coding.c (code_convert_region): Initialize coding->heading_ascii. |
1364f420 KH |
3054 | (decode_coding_string, code_convert_region): Likewise. |
3055 | ||
9b150aa2 YM |
3056 | 2006-11-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3057 | ||
3058 | * config.in: Regenerate. | |
3059 | ||
3060 | * macfns.c (Fx_display_mm_height, Fx_display_mm_width) | |
3061 | [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030 | |
3062 | && MAC_OS_X_VERSION_MIN_REQUIRED == 1020]: Check if | |
3063 | CGDisplayScreenSize is available. | |
3064 | ||
3065 | * macmenu.c (menu_quit_handler, install_menu_quit_handler): | |
3066 | Replace `#ifdef HAVE_CANCELMENUTRACKING' with | |
3067 | `#if MAC_OS_X_VERSION_MAX_ALLOWED >= 1030'. | |
3068 | (install_menu_quit_handler) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030 | |
3069 | && MAC_OS_X_VERSION_MIN_REQUIRED == 1020]: Check if | |
3070 | CancelMenuTracking is available. | |
3071 | ||
3072 | * macterm.c [USE_CG_TEXT_DRAWING] (mac_draw_image_string_cg) | |
3073 | [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030 | |
3074 | && MAC_OS_X_VERSION_MIN_REQUIRED == 1020]: Check if | |
3075 | CGContextShowGlyphsWithAdvances is available. | |
3076 | ||
52dcc2d0 JR |
3077 | 2006-11-13 Jason Rumney <jasonr@gnu.org> |
3078 | ||
3079 | * s/ms-w32.h: Define HAVE_INET_SOCKETS. | |
3080 | ||
55a314a5 YM |
3081 | 2006-11-13 Nozomu Ando <nand@mac.com> |
3082 | ||
3083 | * alloc.c (mark_memory): New argument OFFSET. All uses changed. | |
3084 | Fix address calculations for case END < START. | |
3085 | (mark_stack): Impose Lisp_Object alignment on jmp_buf. | |
3086 | ||
4cb8645c JB |
3087 | 2006-11-12 Juanma Barranquero <lekktu@gmail.com> |
3088 | ||
3089 | * coding.c (Fencode_sjis_char, Fencode_big5_char): | |
3090 | Improve argument/docstring consistency. | |
3091 | ||
3092 | * editfns.c (Fmessage): Doc fixes. | |
3093 | ||
3094 | * process.c (syms_of_process) <delete-exited-processes>: Doc fix. | |
3095 | ||
b071677f CY |
3096 | 2006-11-12 Chong Yidong <cyd@stupidchicken.com> |
3097 | ||
3098 | * xmenu.c (popup_activated): Define outside HAVE_MENUS. | |
3099 | ||
0924e3f6 RF |
3100 | 2006-11-12 Romain Francoise <romain@orebokech.com> |
3101 | ||
3102 | * xselect.c (selection-coding-system): Fix docstring. | |
3103 | ||
947129a2 JB |
3104 | 2006-11-12 Juanma Barranquero <lekktu@gmail.com> |
3105 | ||
3106 | * category.c (Fchar_category_set): Improve arg/docstring consistency. | |
3107 | ||
3108 | * data.c (Flogxor): | |
3109 | * fns.c (Frandom, Flength, Fsafe_length, Fstring_bytes) | |
3110 | (Fstring_equal, Fcompare_strings, Fstring_lessp, Fcopy_sequence) | |
3111 | (Fstring_make_unibyte): Fix typos in docstrings. | |
3112 | ||
b8e7655f JD |
3113 | 2006-11-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3114 | ||
3115 | * xterm.h (struct x_display_info): Fix indentation. | |
3116 | ||
3117 | * xterm.c (do_ewmh_fullscreen, XTfullscreen_hook): New functions. | |
3118 | (x_check_fullscreen): Call do_ewmh_fullscreen. | |
3119 | (x_initialize): Set fullscreen_hook to XTfullscreen_hook. | |
3120 | ||
3121 | * frame.c (x_set_fullscreen): Call fullscreen_hook if set. | |
3122 | ||
3123 | * term.c: Define fullscreen_hook. | |
3124 | (syms_of_term): Initialize fullscreen_hook to NULL. | |
3125 | ||
3126 | * termhooks.h: Add fullscreen_hook. | |
3127 | ||
eed1152f JB |
3128 | 2006-11-08 Juanma Barranquero <lekktu@gmail.com> |
3129 | ||
3130 | * bytecode.c (Fbyte_code): | |
3131 | * data.c (Fmakunbound): Use SYMBOL_CONSTANT_P macro. | |
3132 | ||
3dd428fa JB |
3133 | 2006-11-06 Juanma Barranquero <lekktu@gmail.com> |
3134 | ||
3135 | * lread.c (syms_of_lread): | |
3136 | * xsmfns.c (syms_of_xsmfns): Fix typo in docstring. | |
3137 | ||
e8407323 CY |
3138 | 2006-11-06 Martin Rudalics <rudalics@gmx.at> |
3139 | ||
3140 | * macmenu.c (Fmenu_or_popup_active_p): Define outside HAVE_MENUS. | |
3141 | ||
3142 | * w32menu.c (Fmenu_or_popup_active_p): Define outside HAVE_MENUS. | |
3143 | Return nil if building without menus. | |
3144 | ||
3145 | * xmenu.c (Fmenu_or_popup_active_p): Define outside HAVE_MENUS. | |
3146 | Return nil if building without menus. | |
3147 | ||
faefde36 RS |
3148 | 2006-11-05 Mark Davies <mark@mcs.vuw.ac.nz> (tiny change) |
3149 | ||
7edbb0da | 3150 | * s/netbsd.h (POSIX_SIGNALS): Define. |
faefde36 | 3151 | |
107709d4 EZ |
3152 | 2006-11-05 Martin Rudalics <rudalics@gmx.at> |
3153 | ||
3154 | * macmenu.c (Fmenu_or_popup_active_p): New function. | |
3155 | (syms_of_macmenu): Defsubr it. | |
3156 | ||
3157 | * w32menu.c (Fmenu_or_popup_active_p): New function. | |
3158 | (syms_of_w32menu): Defsubr it. | |
3159 | (popup_activated_flag, popup_activated): Remove. | |
3160 | ||
3161 | * xdisp.c (note_mouse_highlight) [HAVE_NTGUI]: Don't bother to | |
3162 | check popup_activated. | |
3163 | ||
3164 | * xmenu.c (Fmenu_or_popup_active_p): New function. | |
3165 | (syms_of_xmenu): Defsubr it. | |
3166 | ||
c57038f8 YM |
3167 | 2006-11-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3168 | ||
3169 | * unexmacosx.c (malloc_cookie): Remove unused variable. | |
3170 | (region_list_head, region_list_tail, lca, nlc, infile_lc_highest_addr) | |
3171 | (text_seg_lowest_offset, mh, curr_header_offset, infd, outfd) | |
3172 | (emacs_zone, data_segment_old_fileoff, data_segment_scp) | |
3173 | (num_unexec_regions, unexec_regions): Make variables static. | |
3174 | (print_regions, find_emacs_zone_regions): Make static. | |
3175 | (unexec_region_info): New typedef. | |
3176 | (unexec_regions): Change type from vm_range_t[] to unexec_region_info[]. | |
3177 | All uses changed. | |
3178 | (unexec_regions_recorder): Subtract size of trailing null pages from | |
3179 | filesize. Show filesize. | |
3180 | (unexec_regions_merge): Don't merge if null pages of preceding region | |
3181 | is not too small. Use long format in printf. | |
3182 | (copy_segment, copy_data_segment): Show filesize. | |
7edbb0da SM |
3183 | (copy_data_segment): Write filesize bytes of region data. |
3184 | Adjust filesize in segment command accordingly. | |
c57038f8 YM |
3185 | (dump_it): Use long format in printf. |
3186 | ||
60a294e2 JB |
3187 | 2006-11-05 Juanma Barranquero <lekktu@gmail.com> |
3188 | ||
3189 | * dosfns.c (Finsert_startup_screen): | |
3190 | * fns.c (Ffeaturep, syms_of_fns): | |
3191 | * frame.c (syms_of_frame): Fix typos in docstrings. | |
3192 | ||
3193 | * unexcw.c (unexec): Fix typo in output message. | |
3194 | ||
b20d6154 EZ |
3195 | 2006-11-04 Ralf Angeli <angeli@caeruleus.net> |
3196 | ||
3197 | * w32fns.c (w32_createwindow): Remove code for handling -geometry | |
3198 | command line option and `initial-frame-alist' which is superfluous | |
3199 | after the last change to `w32_createwindow'. | |
3200 | ||
ccc54d96 | 3201 | 2006-11-04 Slawomir Nowaczyk <slawek@cs.lth.se> (tiny change) |
3ac04ed0 | 3202 | |
ccc54d96 JB |
3203 | * w32proc.c (sys_wait): Only wait for processes with fd<0. |
3204 | Others should be handled by sys_select instead. Fixes problems | |
3205 | with (progn (start-process "" nil "ls") (call-process "ls")). | |
3ac04ed0 | 3206 | |
ccc54d96 | 3207 | 2006-11-04 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change) |
8630721e CY |
3208 | |
3209 | * xmenu.c (Fmenu_bar_open): Declare variable before BLOCK_INPUT to | |
3210 | avoid gcc 2.95 error. | |
3211 | ||
b20d6154 | 3212 | 2006-11-04 Chong Yidong <cyd@stupidchicken.com> |
ffbdf67b CY |
3213 | |
3214 | * gtkutil.c (update_frame_tool_bar): If icon image is invalid and | |
3215 | wicon is null, insert an empty button. | |
3216 | ||
45a26c42 JD |
3217 | 2006-11-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3218 | ||
ca21600d JB |
3219 | * xterm.c (x_raise_frame): Send _NET_ACTIVE_WINDOW when raising the |
3220 | window. | |
45a26c42 | 3221 | |
b224de9b JB |
3222 | 2006-11-02 Juanma Barranquero <lekktu@gmail.com> |
3223 | ||
3224 | * emacs.c (Fkill_emacs): Fix typo in docstring. | |
3225 | ||
73da71f9 YM |
3226 | 2006-11-02 Nozomu Ando <nand@mac.com> |
3227 | ||
3228 | * unexmacosx.c (mach_header, segment_command, vm_region, section) | |
3229 | [_LP64]: New defines. | |
3230 | (VM_REGION_BASIC_INFO_COUNT, VM_REGION_BASIC_INFO, LC_SEGMENT) | |
3231 | (MH_MAGIC) [_LP64]: Redefine. | |
3232 | (delta): Remove variable. | |
3233 | (curr_file_offset, pagesize): New variables. | |
3234 | (ROUNDUP_TO_PAGE_BOUNDARY): New macro. | |
3235 | (data_segment_old_fileoff): Initialize explicitly. | |
3236 | (print_region, unexec_regions_recorder, print_load_command_name) | |
3237 | (copy_segment, copy_data_segment): Use long format in printf. | |
3238 | (MAX_UNEXEC_REGIONS): Increase to 400. | |
3239 | (unexec_regions_recorder): Don't warn too many regions here. | |
3240 | (find_emacs_zone_regions): Warn too many regions here. | |
3241 | (print_load_command_name) [_LP64]: Show correct load command name. | |
3242 | (copy_segment, copy_data_segment): Use variable `curr_file_offset'. | |
3243 | Show starting virtual memory address. Don't show ending file offset. | |
3244 | (copy_symtab, copy_dysymtab, copy_twolevelhints): New argument DELTA. | |
3245 | (dump_it): Use new local variable `linkedit_delta' and pass to them. | |
3246 | Error if trying to handle multiple DATA segments. | |
3247 | (unexec): Initialize variable `pagesize'. | |
3248 | ||
ebc20ca0 JB |
3249 | 2006-11-01 Juanma Barranquero <lekktu@gmail.com> |
3250 | ||
3251 | * eval.c (Fcatch): Doc fix. | |
3252 | ||
6ceb8058 YM |
3253 | 2006-10-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3254 | ||
3255 | * image.c [MAC_OS] (image_load_qt_1, xpm_scan, xpm_make_color_table_v) | |
5e1a6e32 | 3256 | (xpm_put_color_table_v, xpm_get_color_table_v, xpm_make_color_table_h) |
6ceb8058 YM |
3257 | (xpm_put_color_table_h, xpm_get_color_table_h, xpm_str_to_color_key) |
3258 | (xpm_load_image): Add const qualifier to arguments. | |
3259 | [MAC_OS] (xpm_color_key_strings): Make static const. | |
3260 | ||
3261 | * mac.c (create_apple_event_from_event_ref) | |
3262 | (create_apple_event_from_drag_ref, skip_white_space, parse_comment) | |
3263 | (parse_include_file, parse_binding, parse_component) | |
3264 | (parse_resource_name, parse_value, parse_resource_line) | |
3265 | (xrm_merge_string_database, xrm_get_resource) | |
3266 | (xrm_get_preference_database): Add const qualifier to arguments. | |
3267 | [MAC_OSX] (sys_select): Make variable `context' static const. | |
3268 | ||
3269 | * macfns.c (mac_color_map): Make static const. | |
3270 | (mac_color_map_lookup): Add const qualifier to arguments. | |
3271 | ||
3272 | * macmenu.c (install_menu_quit_handler): Make variable `typesList' | |
3273 | static const. | |
3274 | (name_is_separator): Add const qualifier to arguments. | |
3275 | ||
ca21600d JB |
3276 | * macselect.c (init_service_handler): Make variable `specs' static |
3277 | const. | |
6ceb8058 YM |
3278 | |
3279 | * macterm.c (mac_create_bitmap_from_bitmap_data): Make variable | |
3280 | `swap_nibbles' static const. | |
3281 | (atsu_get_text_layout_with_text_ptr): Make variables `lengths', | |
3282 | `tags', `sizes', `values' static const. | |
7edbb0da SM |
3283 | (mac_draw_string_common): Make variables `context' static. |
3284 | Make variables `tags', `sizes', and `values' static const. | |
6ceb8058 YM |
3285 | (pcm_get_status, x_detect_focus_change, x_scroll_bar_handle_click) |
3286 | (xlfdpat_create, xlfdpat_block_match_1, xlfdpat_match) | |
3287 | (mac_to_x_fontname, parse_x_font_name, add_mac_font_name) | |
3288 | (mac_do_list_fonts, is_fully_specified_xlfd, do_grow_window) | |
3289 | (mac_store_event_ref_as_apple_event, mac_make_rdb): Add const | |
3290 | qualifier to arguments. | |
3291 | (xlfd_scalable_fields, keycode_to_xkeysym_table) | |
3292 | (fn_keycode_to_keycode_table): Make static const. | |
3293 | (mac_load_query_font): Make variables `tags', `sizes', `values', | |
3294 | `types', and `selectors' static const. | |
7edbb0da SM |
3295 | (mac_handle_command_event, mac_handle_window_event): |
3296 | Make variables `names' and `types' static const. | |
6ceb8058 YM |
3297 | (init_command_handler, install_window_handler): Make variables |
3298 | `specs*' static const. | |
3299 | (mac_handle_font_event, mac_handle_text_input_event) | |
3300 | (mac_store_service_event): Make variables `names' and `types' | |
3301 | const. Make variables `names_*' and `types_*' static const. | |
3302 | ||
3303 | * macterm.h (create_apple_event_from_event_ref) | |
3304 | (create_apple_event_from_drag_ref, xrm_merge_string_database) | |
3305 | (xrm_get_resource, xrm_get_preference_database): Add const | |
3306 | qualifier to arguments in externs. | |
3307 | ||
7147863a KH |
3308 | 2006-10-31 Kenichi Handa <handa@m17n.org> |
3309 | ||
3310 | * xfns.c (xic_create_xfontset): Fix previous change. | |
3311 | ||
78667db7 CY |
3312 | 2006-10-30 Chong Yidong <cyd@stupidchicken.com> |
3313 | ||
3314 | * s/openbsd.h (LD_SWITCH_SYSTEM): Add /usr/pkg/lib and | |
3315 | /usr/pkg/lib to library search path. | |
3316 | ||
ebc20ca0 | 3317 | 2006-10-29 Mark Davies <mark@mcs.vuw.ac.nz> (tiny change) |
8d31e373 CY |
3318 | |
3319 | * ralloc.c (relinquish): Use a long for excess space counter to | |
3320 | handle 64-bit case correctly. | |
3321 | ||
1dbfd8e3 CY |
3322 | 2006-10-29 Jeramey Crawford <jeramey@jeramey.com> |
3323 | ||
3324 | * m/amdx86-64.h: Add defines for OpenBSD x86-64. | |
3325 | ||
856bb2b0 JB |
3326 | 2006-10-29 Juanma Barranquero <lekktu@gmail.com> |
3327 | ||
3328 | * window.c (Fdisplay_buffer): Fix typo in docstring. | |
3329 | ||
4975e695 JB |
3330 | 2006-10-27 Ben North <ben@redfrontdoor.org> (tiny change) |
3331 | ||
3332 | * w32term.c (x_draw_glyph_string_foreground): Set background mode | |
3333 | to TRANSPARENT before using overstrike to simulate bold faces. | |
3334 | ||
3335 | * xfaces.c (best_matching_font): Fix logic to decide whether to | |
3336 | use overstriking to simulate bold-face (it was reversed). | |
3337 | ||
cbfe778a KS |
3338 | 2006-10-23 Kim F. Storm <storm@cua.dk> |
3339 | ||
ca21600d JB |
3340 | * xdisp.c (remember_mouse_glyph): Do nothing if glyphs are not |
3341 | initialized. | |
a4614668 | 3342 | |
cbfe778a KS |
3343 | * keyboard.c (read_char): Make an element (t . EVENT) in |
3344 | unread-command-events add EVENT to the current command's key sequence. | |
3345 | (syms_of_keyboard) <unread-command-events>: Update doc. | |
3346 | ||
627fb581 RS |
3347 | 2006-10-21 Richard Stallman <rms@gnu.org> |
3348 | ||
3349 | * minibuf.c (Vread_expression_map): Define here. | |
3350 | (Qread_expression_history): New variable. | |
3351 | (syms_of_minibuf): Initialize them. | |
3352 | (Feval_minibuffer): Use Vread_expression_map and | |
3353 | Qread_expression_history. | |
3354 | ||
cd987aaa KH |
3355 | 2006-10-21 Kenichi Handa <handa@m17n.org> |
3356 | ||
3357 | * xfns.c (xic_create_fontsetname): If ADSTYLE field is not a wild | |
3358 | card, change it to "*". | |
3359 | (xic_create_xfontset): Call XCreateFontSet for each single | |
3360 | fontname in fontsetname. | |
3361 | ||
55b41ef5 CY |
3362 | 2006-10-19 Chong Yidong <cyd@stupidchicken.com> |
3363 | ||
3364 | * callint.c (callint_message): Convert to a Lisp string. | |
3365 | (syms_of_callint): Initialize it. | |
3366 | (callint_message_size): Var deleted. | |
3367 | (Fcall_interactively): Use Fformat instead of doprnt to construct | |
3368 | prompt string. | |
3369 | ||
cc7aa8dc KS |
3370 | 2006-10-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3371 | ||
3372 | * xdisp.c (display_mode_line): Clear enabled_p flag on mode-line row. | |
3373 | ||
045b1908 YM |
3374 | 2006-10-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3375 | ||
3376 | * macfns.c (Vmac_carbon_version_string) [TARGET_API_MAC_CARBON]: | |
3377 | New variable. | |
3378 | (syms_of_macfns) [TARGET_API_MAC_CARBON]: Defvar it. | |
3379 | ||
866f8518 JD |
3380 | 2006-10-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3381 | ||
3382 | * xselect.c (x_handle_selection_request): If the converted_selection | |
14a56a1b | 3383 | is nil or XCDR (converted_selection) is nil, decline the request. |
866f8518 | 3384 | |
b43da352 JD |
3385 | 2006-10-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3386 | ||
3387 | * gtkutil.c (get_utf8_string): Remove warnings with casts. | |
7edbb0da | 3388 | (xg_tool_bar_button_cb): Ditto. |
b43da352 JD |
3389 | (xg_tool_bar_callback): Ditto. |
3390 | ||
7c682cf1 YM |
3391 | 2006-10-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3392 | ||
3393 | * dispnew.c (adjust_frame_glyphs_for_frame_redisplay): Remove unused | |
3394 | variable ch_dim. | |
3395 | (adjust_frame_glyphs_for_window_redisplay): Likewise. Don't allocate | |
3396 | menu bar window matrices on non-X systems. | |
3397 | ||
3398 | * mac.c (Fmac_get_preference, Fmac_code_convert_string): Add GCPROs. | |
3399 | ||
3400 | * macterm.c (mac_query_char_extents): Don't return glyph ID if layout | |
3401 | adjustment is needed. | |
3402 | (mac_load_query_font): Check if width and height are positive. | |
3403 | ||
563964ae RS |
3404 | 2006-10-14 Richard Stallman <rms@gnu.org> |
3405 | ||
3406 | * sysdep.c (init_sys_modes): Delete DEFVAR_LISP in the wrong place. | |
3407 | ||
98721beb CY |
3408 | 2006-10-13 Chong Yidong <cyd@stupidchicken.com> |
3409 | ||
ca21600d JB |
3410 | * xdisp.c (decode_mode_spec): Ignore %c and %l constructs in frame |
3411 | title. | |
98721beb | 3412 | |
eae637ec CY |
3413 | 2006-10-12 Chong Yidong <cyd@stupidchicken.com> |
3414 | ||
3415 | * keymap.c (Fkey_binding): Check Lisp_Object types before doing | |
3416 | XCAR and XINT. | |
3417 | ||
431feaf6 RF |
3418 | 2006-10-12 Romain Francoise <romain@orebokech.com> |
3419 | ||
3420 | * image.c (xbm_read_bitmap_data): Delete extra semicolon. | |
3421 | ||
de9855d5 SM |
3422 | 2006-10-10 Stefan Monnier <monnier@iro.umontreal.ca> |
3423 | ||
b70e1a2b SM |
3424 | * eval.c: Include xterm.h for x_fully_uncatch_errors and friends. |
3425 | ||
3426 | * dispextern.h: Declare x_create_bitmap_from_xpm_data. | |
3427 | ||
3428 | * xterm.c (x_check_expected_move): Remove unused var `count'. | |
3429 | ||
de9855d5 SM |
3430 | * xmenu.c (syms_of_xmenu): Use Ffset rather than Fdefalias, since |
3431 | Fdefalias is not declared in any *.h file. | |
3432 | ||
394ccd7d CY |
3433 | 2006-10-09 Chong Yidong <cyd@stupidchicken.com> |
3434 | ||
2bcac766 CY |
3435 | * dispnew.c (sit_for): Sit forever if TIMEOUT is t. |
3436 | ||
3437 | * keyboard.c (command_loop_1): Handle non-number values of | |
3438 | `minibuffer-message-timeout'. | |
3439 | (Fexecute_extended_command): Fix typo. | |
3440 | ||
394ccd7d CY |
3441 | * minibuf.c (temp_echo_area_glyphs): Sit for |
3442 | `minibuffer-message-timeout' seconds. | |
3443 | ||
bb420759 YM |
3444 | 2006-10-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3445 | ||
de9855d5 SM |
3446 | * macterm.c (mac_draw_image_string, mac_draw_image_string_16): |
3447 | Add argument OVERSTRIKE_P. | |
bb420759 YM |
3448 | (mac_draw_string_common, mac_draw_image_string_cg): Likewise. |
3449 | Support overstrike. | |
3450 | (mac_draw_string, mac_draw_string_16): Remove functions. | |
3451 | (x_draw_glyph_string_foreground): Use overstrike when needed. | |
de9855d5 SM |
3452 | (x_draw_composite_glyph_string_foreground): Likewise. |
3453 | Use mac_draw_image_string_16 instead of mac_draw_string_16. | |
4975e695 JB |
3454 | (mac_load_query_font): Rename from XLoadQueryFont. Take argument |
3455 | F instead of DPY. All uses changed. Don't save/restore font. | |
bb420759 | 3456 | |
2770d589 JR |
3457 | 2006-10-07 Ralf Angeli <angeli@caeruleus.net> |
3458 | ||
3459 | * w32fns.c (w32_createwindow): Honour left and top positions if | |
3460 | supplied explicitly. | |
3461 | ||
ee37d135 KS |
3462 | 2006-10-06 Kim F. Storm <storm@cua.dk> |
3463 | ||
3464 | * xdisp.c (pos_visible_p): Fix value when EOB is visible. | |
3465 | ||
26c34ec2 CY |
3466 | 2006-10-05 Chong Yidong <cyd@stupidchicken.com> |
3467 | ||
3468 | * frame.c (Qinhibit_face_set_after_frame_default): New var. | |
3469 | (syms_of_frame): Initialize it. | |
3470 | (x_set_frame_parameters): Avoid resetting :font attributes to the | |
3471 | new-frame defaults. | |
3472 | ||
54dd3310 SM |
3473 | 2006-10-03 Stefan Monnier <monnier@iro.umontreal.ca> |
3474 | ||
3475 | * lisp.h (clear_regexp_cache): Declare. | |
3476 | ||
3477 | * search.c (compile_pattern): Only check `cp->syntax_table' if needed. | |
3478 | (compile_pattern_1): Remember `used_syntax' in `cp->syntax_table'. | |
3479 | (clear_regexp_cache): Only flush those regexps which depend on | |
3480 | a syntax-table. | |
3481 | ||
3482 | * regex.c (regex_compile): Set the new `used_syntax' bit. | |
3483 | ||
3484 | * regex.h: Remove file local variables. | |
3485 | (struct re_pattern_buffer): New field `used_syntax'. | |
3486 | ||
73812be6 KS |
3487 | 2006-10-03 Kim F. Storm <storm@cua.dk> |
3488 | ||
3489 | * process.c (list_processes_1): Run sentinels before removing dead | |
3490 | processes. Also remove `closed' network connections. | |
3491 | ||
2201c41c SM |
3492 | 2006-10-01 Stefan Monnier <monnier@iro.umontreal.ca> |
3493 | ||
3494 | * xdisp.c (handle_fontified_prop): Don't fontify at EOB. | |
3495 | ||
79e01e93 EZ |
3496 | 2006-09-30 Eli Zaretskii <eliz@gnu.org> |
3497 | ||
4975e695 | 3498 | * config.in: Regenerated. |
79e01e93 | 3499 | |
f9df5f68 JL |
3500 | 2006-09-29 Juri Linkov <juri@jurta.org> |
3501 | ||
3502 | * buffer.c (syms_of_buffer): Reorder coding systems in the | |
3503 | docstring of %z to the real order displayed in the modeline. | |
3504 | ||
7ae8428d SM |
3505 | 2006-09-28 Stefan Monnier <monnier@iro.umontreal.ca> |
3506 | ||
3507 | * keymap.c (Fdefine_key): Yet another int/Lisp_Object mixup (YAILOM). | |
3508 | ||
14a7cabf CY |
3509 | 2006-09-26 Chong Yidong <cyd@stupidchicken.com> |
3510 | ||
3511 | * indent.c (Fvertical_motion): Do move back if the Lisp string | |
3512 | being displayed contains newlines. | |
3513 | ||
444a42fd YM |
3514 | 2006-09-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3515 | ||
3516 | * macterm.c (mac_compute_glyph_string_overhangs, XLoadQueryFont) | |
3517 | [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw before QDTextBounds. | |
3518 | ||
4ccaff67 KH |
3519 | 2006-09-26 Kenichi Handa <handa@m17n.org> |
3520 | ||
3521 | * keymap.c (Fsingle_key_description): For an invalid char, return | |
3522 | "Invalid char code NNNNN". | |
3523 | ||
2a95a27c CY |
3524 | 2006-09-25 Chong Yidong <cyd@stupidchicken.com> |
3525 | ||
3526 | * callint.c (Fcall_interactively): Doc fix. | |
3527 | ||
cf2c6835 YM |
3528 | 2006-09-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3529 | ||
3530 | * macterm.c (x_underline_at_descent_line): New variable. | |
3531 | (syms_of_macterm): DEFVAR_BOOL it. | |
3532 | (x_draw_glyph_string): Use it. | |
3533 | (XLoadQueryFont): Calculate min_bounds.descent and max_bounds.descent. | |
3534 | ||
173517c6 KH |
3535 | 2006-09-25 Kenichi Handa <handa@m17n.org> |
3536 | ||
3537 | * keymap.c (Fsingle_key_description): Return unique names for | |
3538 | generic characters. | |
3539 | ||
45c912f2 RS |
3540 | 2006-09-24 Richard Stallman <rms@gnu.org> |
3541 | ||
3542 | * search.c (compile_pattern_1): Don't BLOCK_INPUT. | |
3543 | ||
1133f8e7 EZ |
3544 | 2006-09-24 Eli Zaretskii <eliz@gnu.org> |
3545 | ||
de9855d5 SM |
3546 | * makefile.w32-in ($(BLD)/fns.$(O), $(BLD)/w32proc.$(O)): |
3547 | Depend on nt/inc/langinfo.h and nt/inc/nl_types.h. | |
8f59d602 EZ |
3548 | |
3549 | * w32proc.c (nl_langinfo): New function. | |
3550 | ||
1133f8e7 EZ |
3551 | * w32fns.c (w32-pass-alt-to-system, w32-alt-is-meta) |
3552 | (w32-pass-lwindow-to-system, w32-enable-num-lock) | |
3553 | (w32-enable-caps-lock, w32-scroll-lock-modifier) | |
3554 | (w32-lwindow-modifier, w32-rwindow-modifier) | |
3555 | (w32-apps-modifier, w32-mouse-button-tolerance): Doc fix. | |
3556 | ||
ba5524f4 JB |
3557 | 2006-09-23 Juanma Barranquero <lekktu@gmail.com> |
3558 | ||
3559 | * minibuf.c (Finternal_complete_buffer, Fread_minibuffer) | |
3560 | (Fdisplay_completion_list): Fix typos in docstrings. | |
3561 | ||
47a0ee40 RF |
3562 | 2006-09-23 Romain Francoise <romain@orebokech.com> |
3563 | ||
3564 | * s/gnu-linux.h (MAIL_USE_FLOCK): Check for HAVE_LIBLOCKFILE too. | |
3565 | ||
5dfe789c KH |
3566 | 2006-09-23 Kenichi Handa <handa@m17n.org> |
3567 | ||
ba5524f4 | 3568 | * keymap.c (Fmap_keymap): Docstring mentions about generic character. |
5dfe789c | 3569 | |
4560a582 SM |
3570 | 2006-09-22 Stefan Monnier <monnier@iro.umontreal.ca> |
3571 | ||
3572 | * regex.c (analyse_first): For eight-bit-control chars, mark both the | |
3573 | char's value and its leading byte in the fastmap. | |
3574 | (re_search_2): When fast-scanning without translation, be careful to | |
3575 | check that we only match the leading byte of a multibyte char. | |
3576 | ||
3577 | * charset.h (PREV_CHAR_BOUNDARY): Make it work from within a char's | |
3578 | byte sequence. | |
3579 | (AT_CHAR_BOUNDARY): New macro. | |
3580 | ||
2e77924d KH |
3581 | 2006-09-22 Kenichi Handa <handa@m17n.org> |
3582 | ||
3583 | * fns.c (optimize_sub_char_table): Don't optimize a sub-char-table | |
3584 | whose default value is non-nil. | |
3585 | ||
66687b7c JD |
3586 | 2006-09-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3587 | ||
db4fd914 | 3588 | * gtkutil.c (xg_get_file_with_chooser): Only show C-l help for |
782447bd JD |
3589 | Gtk+ versions < 2.10. |
3590 | ||
66687b7c JD |
3591 | * xfns.c (syms_of_xfns): Fix typo in help text for |
3592 | x-gtk-file-dialog-help-text. | |
3593 | ||
b521ddce KS |
3594 | 2006-09-21 Kim F. Storm <storm@cua.dk> |
3595 | ||
3596 | * fns.c (Fmemq): Refill doc string. | |
3597 | (Fmemql): New defun, like memq but using eql. | |
3598 | (syms_of_fns): Defsubr it. | |
3599 | ||
d0e0bd5f KS |
3600 | 2006-09-20 Kim F. Storm <storm@cua.dk> |
3601 | ||
3602 | * xdisp.c (pos_visible_p): CHARPOS < 0 means return info for | |
3603 | last visible glyph in window. | |
3604 | ||
a4df1f8b | 3605 | * window.c (Fset_window_hscroll, Fwindow_line_height): |
d0e0bd5f KS |
3606 | Doc fix. Use "off-window" instead of "off-screen". |
3607 | (Fpos_visible_in_window_p): Likewise. | |
3608 | If POS is t, return info for last visible glyph in window. | |
3609 | ||
b69e3c18 CY |
3610 | 2006-09-19 Chong Yidong <cyd@stupidchicken.com> |
3611 | ||
3612 | * search.c (struct regexp_cache): New entry syntax_table. | |
3613 | (compile_pattern_1): Set it. | |
3614 | (syms_of_search): Initialize it. | |
3615 | (compile_pattern): Require the syntax_table entry of the cache | |
3616 | element to match the current syntax table entry. | |
3617 | ||
31790df3 SM |
3618 | 2006-09-19 Stefan Monnier <monnier@iro.umontreal.ca> |
3619 | ||
3620 | * window.c (Fwindow_end): Fix recent change. | |
3621 | ||
06e6b4be KS |
3622 | 2006-09-19 Kim F. Storm <storm@cua.dk> |
3623 | ||
3624 | * window.c (Fset_window_hscroll, Fpos_visible_in_window_p): | |
3625 | Doc fix. Use "off-screen" instead of "invisible". | |
3626 | (Fwindow_line_height): Make line numbers 0-based. Make line arg | |
3627 | optional; if nil, use current cursor row. Handle text terminals | |
3628 | properly. Return nil if non-interactive or pseudo-window. | |
3629 | ||
08e26e8b SM |
3630 | 2006-09-19 Stefan Monnier <monnier@iro.umontreal.ca> |
3631 | ||
3632 | * keymap.c: Include alloca.h if available. | |
3633 | (Fkey_binding): Only use AREF after checking it's a vector. | |
3634 | Remove unused var `window'. | |
3635 | ||
61973eb6 YM |
3636 | 2006-09-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3637 | ||
ca21600d JB |
3638 | * emacs.c (shut_down_emacs) [!subprocesses]: Don't set |
3639 | inhibit_sentinels. | |
61973eb6 YM |
3640 | |
3641 | * mac.c [!MAC_OSX] (select): Fix argument name. | |
3642 | ||
3643 | * macmenu.c (enum mac_menu_kind, min_menu_id): New enumerator and | |
3644 | menu ID for Apple menu. | |
3645 | (menubar_selection_callback): Remove function. | |
3646 | (find_and_call_menu_selection): New function from xmenu.c. | |
3647 | (x_activate_menubar): Use it. | |
3648 | (set_frame_menubar): Don't use f->output_data.mac->menubar_active. | |
3649 | ||
3650 | * macterm.c (menubar_selection_callback): Remove extern. | |
3651 | (M_APPLE): Change to 234. | |
3652 | (do_apple_menu) [!TARGET_API_MAC_CARBON]: Make non-static. | |
3653 | (do_menu_choice): Remove function. | |
3654 | ||
3655 | * macterm.h (struct mac_output): Remove member menubar_active. | |
3656 | (do_menu_choice): Remove extern. | |
3657 | (do_apple_menu) [!TARGET_API_MAC_CARBON]: Add extern. | |
3658 | ||
1dd3c9b6 JD |
3659 | 2006-09-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3660 | ||
1a2b3a9f JD |
3661 | * xfns.c (syms_of_xfns): Rename x_gtk_show_chooser_help_text to |
3662 | x_gtk_file_dialog_help_text. | |
3663 | ||
1dd3c9b6 JD |
3664 | * gtkutil.c (xg_uses_old_file_dialog): Rename x-use-old-gtk-file-dialog |
3665 | to x-gtk-use-old-file-dialog. | |
1a2b3a9f JD |
3666 | (xg_get_file_with_chooser): Rename x_gtk_show_chooser_help_text to |
3667 | x_gtk_file_dialog_help_text. | |
1dd3c9b6 JD |
3668 | |
3669 | * xfns.c (syms_of_xfns): Ditto. | |
3670 | ||
661bdc06 KS |
3671 | 2006-09-18 Kim F. Storm <storm@cua.dk> |
3672 | ||
3673 | * window.c (Fwindow_line_visibility): Remove. | |
3674 | (Fwindow_line_height): New defun replacing it. | |
3675 | (syms_of_window): Defsubr it. | |
3676 | ||
37228c38 YM |
3677 | 2006-09-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3678 | ||
3679 | * mac.c (SELECT_USE_CFSOCKET) [MAC_OSX]: Set default to 1. | |
3680 | [MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Fix pointer type. | |
3681 | ||
a688d8b5 JB |
3682 | 2006-09-17 Jay Belanger <belanger@truman.edu> |
3683 | ||
3684 | * gmalloc.c: | |
3685 | * md5.c: | |
3686 | * md5.h: | |
3687 | * strftime.c: Replace "GNU Library General Public License" by "GNU | |
3688 | General Public License" throughout. | |
3689 | ||
059fd1a1 KS |
3690 | 2006-09-17 Kim F. Storm <storm@cua.dk> |
3691 | ||
3692 | * dispnew.c (update_text_area): Undo 2000-07-18 change. | |
3693 | Always redrawing whole row if line has mouse-face in it causes | |
3694 | excessive flickering of the mode line. | |
3695 | ||
e5b94d44 CY |
3696 | 2006-09-17 Chong Yidong <cyd@stupidchicken.com> |
3697 | ||
3698 | * search.c (clear_regexp_cache): New function. | |
3699 | ||
3700 | * syntax.c (Fmodify_syntax_entry): Clear regexp cache. | |
3701 | ||
241ad3ca JD |
3702 | 2006-09-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3703 | ||
31790df3 SM |
3704 | * gtkutil.c (xg_get_file_with_chooser): |
3705 | Check x-gtk-show-chooser-help-text before adding the help text. | |
fbce5860 JD |
3706 | |
3707 | * xfns.c (syms_of_xfns): New variable: x-gtk-show-chooser-help-text. | |
3708 | ||
241ad3ca JD |
3709 | * gtkutil.c (get_utf8_string): Try harder to convert to UTF8. Gtk+ |
3710 | will simply crash if we fail. | |
3711 | ||
6875fe9a RS |
3712 | 2006-09-16 Richard Stallman <rms@gnu.org> |
3713 | ||
3714 | * regex.c (re_compile_pattern): Set gl_state.current_syntax_table. | |
3715 | ||
0c9337fb KS |
3716 | 2006-09-15 Kim F. Storm <storm@cua.dk> |
3717 | ||
3718 | * window.c (Fwindow_line_visibility): New defun for line-move-partial. | |
3719 | (syms_of_window): Defsubr it. | |
3720 | (Fwindow_end): Use window's buffer rather than current buffer. | |
3721 | ||
45a2056c JB |
3722 | 2006-09-15 Jay Belanger <belanger@truman.edu> |
3723 | ||
3724 | * COPYING: Replace "Library Public License" by "Lesser Public | |
3725 | License" throughout. | |
3726 | ||
b74e16a3 DK |
3727 | 2006-09-15 David Kastrup <dak@gnu.org> |
3728 | ||
de9855d5 | 3729 | * Makefile.in (keymap.o): Add "keymap.h" and "window.h" dependencies. |
b74e16a3 DK |
3730 | |
3731 | * keymap.c: include "window.h". | |
3732 | (Fcommand_remapping): New optional POSITION argument. | |
3733 | (Fkey_binding): New optional POSITION argument. Completely rework | |
3734 | handling of mouse clicks to get the same order of keymaps as | |
3735 | `read-key-sequence' and heed POSITION. Also temporarily switch | |
3736 | buffers to location of mouse click and back. | |
3737 | ||
3738 | * keyboard.c (command_loop_1): Adjust call of `Fcommand_remapping' | |
3739 | for additional argument. | |
ca21600d JB |
3740 | (parse_menu_item): Adjust call of `Fkey_binding' for additional |
3741 | argument. | |
b74e16a3 DK |
3742 | (read_key_sequence): If there are both `local-map' and `keymap' |
3743 | text properties at some buffer position, heed both. | |
3744 | ||
3745 | * keymap.h: Declare additional optional arguments of | |
3746 | `Fcommand_remapping' and `Fkey_binding'. | |
3747 | ||
6cb66a31 JB |
3748 | 2006-09-15 Juanma Barranquero <lekktu@gmail.com> |
3749 | ||
3750 | * indent.c (Fcurrent_column, Findent_to): Fix typos in docstring. | |
3751 | ||
cd3587c1 AS |
3752 | 2006-09-14 Andreas Schwab <schwab@suse.de> |
3753 | ||
3754 | * print.c: Whitespace fixup. | |
3755 | ||
84be646f KS |
3756 | 2006-09-14 Kim F. Storm <storm@cua.dk> |
3757 | ||
3758 | * xdisp.c (produce_image_glyph): Automatically crop wide images at | |
3759 | right window edge so we can draw the cursor on the same row to | |
3760 | avoid confusing redisplay by placing the cursor outside the visible | |
3761 | window area. | |
3762 | ||
856bb2b0 | 3763 | 2006-09-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
98a20c65 CY |
3764 | |
3765 | * xterm.c (x_initialize): Don't install Xt event timer here. | |
3766 | (x_timeout_atimer_activated_flag): New var. | |
3767 | (x_activate_timeout_atimer): New function to install Xt timer. | |
3768 | (x_send_scroll_bar_event, x_process_timeouts): Use it. | |
3769 | ||
3770 | * xmenu.c (x_menu_set_in_use, popup_activate_callback) | |
3771 | (create_and_show_popup_menu, create_and_show_dialog): Use it. | |
3772 | ||
2371cbe9 | 3773 | * xterm.h (x_activate_timeout_atimer): Add prototype. |
98a20c65 | 3774 | |
efb15f96 RS |
3775 | 2006-09-13 Richard Stallman <rms@gnu.org> |
3776 | ||
3777 | * print.c (print_string): When printcharfun is t, | |
3778 | copy string contents and call strout on the copy. | |
3779 | ||
3780 | * keyboard.c (read_char): If end_time specified, don't put the | |
3781 | event into this_command_keys. | |
3782 | (read_key_sequence): If Voverriding_terminal_local_map is specified, | |
3783 | don't check Voverriding_local_map at all. | |
3784 | ||
1baa749c | 3785 | 2006-09-12 Stefan Monnier <monnier@iro.umontreal.ca> |
52c0f270 CY |
3786 | |
3787 | * textprop.c (Fnext_property_change, Fnext_single_property_change) | |
3788 | (Fprevious_property_change, Fprevious_single_property_change): | |
3789 | Avoid changing limit, so we can correctly catch the case where the | |
3790 | property is constant up to limit. | |
3791 | ||
eee81f5d YM |
3792 | 2006-09-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3793 | ||
3794 | * macfns.c (mac_window) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
3795 | * macterm.c (XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
3796 | Undo 2006-09-08 change. | |
3797 | ||
91197db4 CY |
3798 | 2006-09-11 Chong Yidong <cyd@stupidchicken.com> |
3799 | ||
3800 | * keymap.c (Fkey_binding): Use string position for string objects. | |
3801 | ||
83279b3e KS |
3802 | 2006-09-11 Kim F. Storm <storm@cua.dk> |
3803 | ||
9a71d7de KS |
3804 | * keymap.c (Fkey_binding): Fix last change. |
3805 | ||
83279b3e KS |
3806 | * editfns.c (Fmessage): Recommend using (message "%s" ...). |
3807 | ||
b067ddb6 CY |
3808 | 2006-09-10 Chong Yidong <cyd@stupidchicken.com> |
3809 | ||
ca21600d JB |
3810 | * keymap.c (Fkey_binding): Check for local keymap for mouse click |
3811 | events. | |
b067ddb6 | 3812 | |
322dd254 KS |
3813 | 2006-09-10 Kim F. Storm <storm@cua.dk> |
3814 | ||
606fd469 KS |
3815 | * keyboard.c (Finput_pending_p): Check Vunread_input_method_events |
3816 | and Vunread_post_input_method_events. | |
3817 | ||
322dd254 KS |
3818 | * dispnew.c (Fredisplay): Document return value. |
3819 | ||
437b2a15 JD |
3820 | 2006-09-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3821 | ||
3822 | * xfns.c (Fx_close_connection): Call xg_display_close when USE_GTK. | |
3823 | ||
3824 | * gtkutil.c (xg_display_close): Always change default display if needed, | |
3825 | check for < Gtk+ version 2.10 before calling gdk_display_close. | |
3826 | ||
6eeee4d6 YM |
3827 | 2006-09-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3828 | ||
eee81f5d YM |
3829 | * mac.c [MAC_OSX] (sys_select): Check argument `nfds' more rigidly. |
3830 | Make variable `ofds' static. Remove variable `maxfd'. | |
6eeee4d6 | 3831 | |
6cb66a31 JB |
3832 | * macfns.c (Fx_file_dialog): Remove unused variable `f'. |
3833 | Call check_mac. | |
6eeee4d6 | 3834 | |
eee81f5d | 3835 | * macmenu.c (Vmenu_updating_frame, syms_of_macmenu): |
6cb66a31 JB |
3836 | * w32menu.c (Vmenu_updating_frame, syms_of_w32menu): |
3837 | Apply 2006-09-08 change for xmenu.c. | |
6eeee4d6 | 3838 | |
d7b1ea44 | 3839 | * xfns.c (Fx_file_dialog): Call check_x. |
6eeee4d6 | 3840 | |
f90660aa KS |
3841 | 2006-09-10 Kim F. Storm <storm@cua.dk> |
3842 | ||
3843 | * xdisp.c (get_window_cursor_type): Use hollow cursor on | |
3844 | non-transparent images. | |
3845 | ||
c048d606 EZ |
3846 | 2006-09-09 Eli Zaretskii <eliz@gnu.org> |
3847 | ||
3848 | * editfns.c (Fsystem_name): Mention "host" in the doc string. | |
3849 | (syms_of_editfns) <system-name>: Likewise. | |
3850 | ||
f4cfdbbe | 3851 | 2006-09-08 Martin Rudalics <rudalics@gmx.at> |
92b23323 | 3852 | |
4560a582 | 3853 | * xdisp.c (mouse_autoselect_window): Remove. |
92b23323 CY |
3854 | (Vmouse_autoselect_window): New variable. DEFVAR_LISP it. |
3855 | ||
3856 | * dispextern.h (mouse_autoselect_window): Remove extern. | |
3857 | (Vmouse_autoselect_window): Add extern. | |
3858 | ||
3859 | * macterm.c (XTread_socket): Test Vmouse_autoselect_window | |
3860 | instead of mouse_autoselect_window. | |
3861 | ||
3862 | * msdos.c (dos_rawgetc): Likewise. | |
3863 | ||
3864 | * w32term.c (w32_read_socket): Likewise. | |
3865 | ||
3866 | * xterm.c (handle_one_xevent): Likewise. | |
3867 | ||
d799329b RS |
3868 | 2006-09-08 Richard Stallman <rms@gnu.org> |
3869 | ||
af09dd78 RS |
3870 | * xdisp.c (Vmenu_updating_frame): Define here. |
3871 | (syms_of_xdisp): DEFVAR it here. | |
3872 | (update_menu_bar): Always return hooks_run. | |
3873 | Set Vmenu_updating_frame. | |
c989bc87 | 3874 | |
af09dd78 RS |
3875 | * xdisp.c (redisplay_internal): Test Vinhibit_redisplay |
3876 | before calculating SELECTED_FRAME. | |
3877 | ||
3878 | * xmenu.c (Vmenu_updating_frame): Don't define here. | |
3879 | (syms_of_xmenu): Don't DEFVAR it here. | |
3880 | ||
3881 | * xterm.c (x_error_quitter): For BadName error, just return. | |
3882 | ||
d799329b RS |
3883 | * eval.c (find_handler_clause): Give up on debugger if INPUT_BLOCKED_P. |
3884 | ||
3885 | * casetab.c (init_casetab_once): Call set_case_table. | |
3886 | ||
3887 | * emacs.c (shut_down_emacs): Set inhibit_sentinels. | |
3888 | ||
3889 | * process.c (inhibit_sentinels): New variable. | |
3890 | (exec_sentinel): Test inhibit_sentinels. | |
3891 | (init_process): Initialize it. | |
3892 | ||
3893 | * process.h (inhibit_sentinels): Add decl. | |
3894 | ||
3895 | * search.c (looking_at_1, string_match_1, search_command): | |
3896 | Make syntax table's canon table point to eqv table. | |
3897 | ||
bcdbfd36 AS |
3898 | 2006-09-08 Andreas Schwab <schwab@suse.de> |
3899 | ||
3900 | * print.c (strout): Fix whitespace. | |
3901 | ||
70c6267a KS |
3902 | 2006-09-08 Kim F. Storm <storm@cua.dk> |
3903 | ||
3904 | * xterm.c (x_draw_glyph_string): Fix 2006-08-24 change. | |
3905 | ||
9deaefb7 YM |
3906 | 2006-09-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3907 | ||
3908 | * mac.c [!MAC_OSX]: Don't include keyboard.h. | |
3909 | [!MAC_OSX] (select): Try detect_input_pending before ReceiveNextEvent | |
3910 | in the same BLOCK_INPUT block, in case that some input has already | |
3911 | been read asynchronously. Pretend to be interrupted by a signal | |
3912 | if some input is available. | |
3913 | [MAC_OSX] (select_and_poll_event, sys_select): Likewise. | |
3914 | (SELECT_POLLING_PERIOD_USEC) [SELECT_USE_CFSOCKET]: Change to 100000. | |
3915 | Now used for ReceiveNextEvent timeout instead of select timeout. | |
3916 | (EVENT_CLASS_SOCK) [SELECT_USE_CFSOCKET]: Remove macro. | |
3917 | [SELECT_USE_CFSOCKET] (socket_callback): Add non-blocking connect | |
3918 | support. Quit event loop. | |
3919 | [MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Add non-blocking | |
3920 | connect support. Reuse previously allocated CFRunLoopSource. | |
3921 | (Fmac_process_hi_command) [TARGET_API_MAC_CARBON]: New function. | |
3922 | (syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it. | |
3923 | ||
3924 | * macfns.c (mac_window) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: | |
3925 | Specify kWindowAsyncDragAttribute. | |
3926 | ||
3927 | * macterm.c (mac_handle_origin_change, mac_handle_size_change) | |
3928 | (mac_get_ideal_size): New functions. | |
3929 | (x_set_offset, x_set_window_size, x_make_frame_visible) | |
3930 | (do_zoom_window, mac_handle_window_event, XTread_socket): Use them. | |
3931 | (install_window_handler, mac_handle_window_event) | |
3932 | [USE_CARBON_EVENTS]: Handle kEventWindowGetIdealSize and | |
3933 | kEventWindowBoundsChanged. | |
ca21600d JB |
3934 | (XTread_socket) [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Don't call |
3935 | DragWindow. | |
70c6267a | 3936 | |
d7695a63 AS |
3937 | 2006-09-07 Andreas Schwab <schwab@suse.de> |
3938 | ||
3939 | * m/ibms390x.h (START_FILES, LIB_STANDARD): Override to | |
3940 | use lib64 instead of lib. | |
3941 | ||
be9b5a60 SM |
3942 | 2006-09-06 Stefan Monnier <monnier@iro.umontreal.ca> |
3943 | ||
3944 | * Makefile.in: Avoid double quotes when possible. | |
3945 | ||
04e28558 KH |
3946 | 2006-09-06 Kenichi Handa <handa@m17n.org> |
3947 | ||
3948 | * editfns.c (Fformat_time_string): Use make_unibyte_string to make | |
3949 | a Lisp string from the result of emacs_memftimeu call. | |
3950 | ||
902f06ed KS |
3951 | 2006-09-06 Kim F. Storm <storm@cua.dk> |
3952 | ||
3953 | * xdisp.c (pos_visible_p): Remove exact_mode_line_heights_p arg; | |
f90660aa KS |
3954 | so calculate heights even when pos-visible-in-window-p is called |
3955 | with partially = t. Don't overshoot last_visible_y in move_it_to. | |
3956 | Return row height and row number in new rowh and vpos args. | |
3957 | (cursor_row_fully_visible_p): First line is always "fully visible". | |
902f06ed KS |
3958 | (try_window): Don't clear matrix if vscrolled. |
3959 | ||
3960 | * lisp.h (pos_visible_p): Update prototype. | |
3961 | ||
3962 | * window.c (Fpos_visible_in_window_p): Adapt to new pos_visible_p. | |
3963 | Return row height and row number for partially visible rows. | |
647b07d1 AS |
3964 | Modify return value to a 2 element list for fully visible rows and |
3965 | 6 for partially visible row. | |
902f06ed | 3966 | (window_scroll_pixel_based): Use pos_visible_p directly instead of |
647b07d1 AS |
3967 | Fpos_visible_in_window_p. Fix auto vscrolling for partially |
3968 | visible lines. Only vscroll backwards if already vscrolled | |
3969 | forwards. Unconditionally vscroll forwards if PT is first (and | |
3970 | only) line. Set new window start instead of scrolling at | |
3971 | start/end of tall line. | |
902f06ed | 3972 | |
750a6cf4 YM |
3973 | 2006-09-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
3974 | ||
3975 | * macterm.c (install_window_handler, mac_handle_window_event) | |
3976 | [USE_CARBON_EVENTS]: Handle kEventWindowClose. | |
3977 | [USE_MAC_TSM] (mac_handle_text_input_event): Set modifiers for | |
3978 | ASCII keystroke event. | |
3979 | ||
ae6c1c19 JD |
3980 | 2006-09-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
3981 | ||
3982 | * gtkutil.c (xg_get_file_with_chooser): Don't mention specific keys in | |
3983 | the file chooser message. Only call gtk_file_chooser_set_current_name | |
3984 | when action is SAVE. | |
3985 | ||
5aa17bb2 AS |
3986 | 2006-09-04 Andreas Schwab <schwab@suse.de> |
3987 | ||
3988 | * Makefile.in: Double all single and back quotes in C-style | |
3989 | comments to help fontifier. | |
3990 | ||
934db434 JR |
3991 | 2006-09-03 Jason Rumney <jasonr@gnu.org> |
3992 | ||
3993 | * w32.c (shutdown_handler): New function to exit cleanly on shutdown. | |
3994 | (globals_of_w32): Register it as a signal handler. | |
3995 | ||
6a8c7cfe JL |
3996 | 2006-09-02 Juri Linkov <juri@jurta.org> |
3997 | ||
3998 | * marker.c (Fmarker_position): Doc fix. | |
3999 | ||
5c4aaa79 EZ |
4000 | 2006-09-03 Eli Zaretskii <eliz@gnu.org> |
4001 | ||
4002 | * window.c (syms_of_window) <split-height-threshold>: | |
4003 | <window-min-height, window-min-width>: Doc fix. | |
4004 | ||
655ea21c JD |
4005 | 2006-09-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4006 | ||
4f3097d8 JD |
4007 | * gtkutil.c (xg_get_file_with_chooser): Change file chooser message |
4008 | for writing files. Call gtk_file_chooser_set_current_name to keep | |
4009 | default filename. | |
4010 | ||
655ea21c JD |
4011 | * minibuf.c (Finternal_complete_buffer): Move after DEFUN:s it calls |
4012 | ||
79f6ba1f EZ |
4013 | 2006-09-02 Jindrich Makovicka <makovick@gmail.com> (tiny change) |
4014 | ||
ca21600d JB |
4015 | * fns.c (concat) [__GNUC__]: Declare with |
4016 | `__attribute__((noinline))'. | |
79f6ba1f EZ |
4017 | |
4018 | * eval.c (apply1, call2) [__GNUC__]: Declare with | |
4019 | `__attribute__((noinline))'. | |
4020 | ||
ebc80ddf EZ |
4021 | 2006-09-02 Stuart D. Herring <herring@lanl.gov> |
4022 | ||
4023 | * minibuf.c (Finternal_complete_buffer): New function. | |
4024 | (syms_of_minibuf): Defsubr it. | |
4025 | (Fread_buffer): Use it, instead of Vbuffer_alist. | |
4026 | ||
5deb7a51 | 4027 | 2006-09-01 Martin Rudalics <rudalics@gmx.at> |
3e145152 | 4028 | |
5deb7a51 RF |
4029 | * buffer.h (struct buffer_text): New field chars_modiff. |
4030 | (CHARS_MODIFF, BUF_CHARS_MODIFF): New macros. | |
4031 | * buffer.c (Fbuffer_chars_modified_tick): New function returning | |
4032 | value of BUF_CHARS_MODIFF. | |
4033 | (syms_of_buffer): Defsubr it. | |
4034 | (Fget_buffer_create): Initialize BUF_CHARS_MODIFF. | |
4035 | * insdel.c (modify_region): New argument preserve_chars_modiff. | |
4036 | Set CHARS_MODIFF to MODIFF provided preserve_chars_modiff is zero. | |
4037 | (insert_1_both, insert_from_string_1, insert_from_buffer_1) | |
4038 | (adjust_after_replace, adjust_after_replace_noundo) | |
4039 | (replace_range, replace_range_2, del_range_2): Reset CHARS_MODIFF. | |
4040 | * lisp.h (modify_region): Add fourth argument in extern. | |
4041 | * casefiddle.c (casify_region): Call modify_region with fourth | |
4042 | argument zero to assert that CHARS_MODIFF is updated. | |
4043 | * editfns.c (Fsubst_char_in_region, Ftranslate_region_internal) | |
4044 | (Ftranspose_regions): Likewise. | |
4045 | * textprop.c (Fadd_text_properties, Fset_text_properties) | |
4046 | (Fremove_text_properties, Fremove_list_of_text_properties): | |
4047 | Call modify_region with fourth argument 1 to avoid that | |
4048 | CHARS_MODIFF is updated. | |
3e145152 | 4049 | |
80e0572b RS |
4050 | 2006-08-31 Richard Stallman <rms@gnu.org> |
4051 | ||
4052 | * editfns.c (Fformat): Don't sign-extend for %o or %x. | |
4053 | ||
41d24b39 CY |
4054 | 2006-08-29 Chong Yidong <cyd@stupidchicken.com> |
4055 | ||
4056 | * indent.c (Fvertical_motion): Don't move back if we were | |
4057 | displaying a Lisp string, either. | |
4058 | ||
62d108d4 KS |
4059 | 2006-08-28 Kim F. Storm <storm@cua.dk> |
4060 | ||
4061 | * xdisp.c (get_window_cursor_type) [!HAVE_WINDOW_SYSTEM]: | |
4062 | Don't attempt to replace cursor on image glyphs. | |
4063 | ||
c6f8bb3a KH |
4064 | 2006-08-28 Kenichi Handa <handa@m17n.org> |
4065 | ||
523fc433 JB |
4066 | * coding.c (Fdetect_coding_region, Fdetect_coding_string): |
4067 | Fix docstring about ISO-2022 control characters. | |
c6f8bb3a | 4068 | |
7b9c9125 KS |
4069 | 2006-08-28 Kim F. Storm <storm@cua.dk> |
4070 | ||
4071 | * xdisp.c (get_window_cursor_type): Replace BOX cursor on images | |
4072 | with a hollow box cursor if image is larger than 32x32 (or the default | |
4073 | frame font if that is bigger). Replace any other cursor on images | |
4074 | with hollow box cursor, as redisplay doesn't support bar and hbar | |
4075 | cursors on images. | |
4076 | ||
eb411049 YM |
4077 | 2006-08-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4078 | ||
4079 | * alloc.c (BLOCK_INPUT_ALLOC, UNBLOCK_INPUT_ALLOC): Undo previous | |
4080 | change. Move mutex lock/unlock operations inside BLOCK_INPUT. | |
4081 | ||
4082 | * dired.c (directory_files_internal_unwind, directory_files_internal) | |
4083 | (file_name_completion): Add BLOCK_INPUT around opendir/closedir. | |
4084 | ||
4085 | * image.c [MAC_OS] (image_load_qt_1): Use ComponentResult instead | |
4086 | of OSErr. | |
4087 | ||
4088 | * keyboard.c (in_sighandler): Remove variable. | |
4089 | (Fcurrent_idle_time): Add missing `doc:'. | |
4090 | (input_available_signal, init_keyboard): Undo previous change. | |
4091 | ||
4092 | * keyboard.h (in_sighandler): Remove extern. | |
4093 | ||
4094 | * mac.c (create_apple_event_from_event_ref, select) | |
4095 | (Fmac_get_file_creator, Fmac_get_file_type, Fmac_set_file_creator) | |
4096 | (Fmac_set_file_type, cfstring_create_normalized) | |
6cb66a31 JB |
4097 | (mac_get_system_locale, select_and_poll_event, sys_select): |
4098 | Use OSStatus instead of OSErr. | |
eb411049 | 4099 | |
6cb66a31 JB |
4100 | * macfns.c [TARGET_API_MAC_CARBON] (mac_update_proxy_icon): |
4101 | Don't use FRAME_FILE_NAME. Use (FS)UpdateAlias. | |
eb411049 YM |
4102 | (Fx_create_frame): Apply 2006-07-03 for xfns.c. |
4103 | ||
4104 | * macselect.c (get_scrap_from_symbol, clear_scrap, put_scrap_string) | |
4105 | (put_scrap_private_timestamp, scrap_has_target_type, get_scrap_string) | |
4106 | (get_scrap_private_timestamp, get_scrap_target_type_list) | |
4107 | (x_own_selection, x_get_foreign_selection) | |
4108 | (Fx_disown_selection_internal, Fx_selection_owner_p) | |
4109 | (Fx_selection_exists_p): Use OSStatus instead of OSErr. | |
4110 | ||
4111 | * macterm.c (mac_draw_string_common, mac_query_char_extents) | |
4112 | (x_iconify_frame, XLoadQueryFont, install_window_handler) | |
4113 | (mac_handle_command_event, init_command_handler, init_menu_bar): | |
4114 | Use OSStatus instead of OSErr. | |
ca21600d JB |
4115 | (x_free_frame_resources) [TARGET_API_MAC_CARBON]: Don't use |
4116 | FRAME_FILE_NAME. | |
eb411049 YM |
4117 | (x_query_font): Apply 2006-08-04 change for xterm.c. |
4118 | (Qhi_command): Rename from Qhicommand. All uses changed. | |
4119 | ||
ca21600d JB |
4120 | * macterm.h (struct mac_output) [TARGET_API_MAC_CARBON]: Remove member |
4121 | file_name. | |
eb411049 YM |
4122 | (FRAME_FILE_NAME): Remove macro. |
4123 | (install_window_handler, create_apple_event_from_event_ref): | |
4124 | Return OSStatus instead of OSErr. | |
4125 | ||
d489b9c5 KS |
4126 | 2006-08-26 Kim F. Storm <storm@cua.dk> |
4127 | ||
4128 | * buffer.c (Fset_buffer_multibyte): | |
4129 | * editfns.c (Fcurrent_time, Fget_internal_run_time): | |
4130 | * macfns.c (Fxw_color_values): | |
4131 | * w32fns.c (Fxw_color_values): | |
4132 | * xfns.c (Fxw_color_values): Simplify; use list3. | |
4133 | ||
4134 | * fileio.c (Fmake_directory_internal, Fdelete_directory) | |
4135 | (Fdelete_file): Simplify; use list1. | |
4136 | (Frename_file, Fadd_name_to_file, Fmake_symbolic_link): | |
4137 | Simplify; remove NO_ARG_ARRAY stuff, use list2. | |
4138 | ||
24d8984e RS |
4139 | 2006-08-25 Richard Stallman <rms@gnu.org> |
4140 | ||
4141 | * buffer.c (Fswitch_to_buffer): Fix previous change. | |
4142 | ||
16fb6ded KS |
4143 | 2006-08-25 Kim F. Storm <storm@cua.dk> |
4144 | ||
4145 | * keyboard.c (Fcurrent_idle_time): Simplify. | |
4146 | ||
3e04a8fc RS |
4147 | 2006-08-25 Richard Stallman <rms@gnu.org> |
4148 | ||
4149 | * fns.c (sxhash_string): Rotate properly; don't lose bits. | |
4150 | ||
8d8dafeb KS |
4151 | 2006-08-24 Francesc Rocher <francesc.rocher@gmail.com> |
4152 | ||
4153 | * xdisp.c (overline_margin): New variable. | |
4154 | (x_produce_glyphs): Use it. | |
4155 | (syms_of_xdisp): DEFVAR_INT it. | |
4156 | ||
4157 | * xterm.c (x_underline_at_descent_line): New variable. | |
4158 | (syms_of_xterm): DEFVAR_BOOL it. | |
4159 | (x_draw_glyph_string): Use it. | |
4160 | Draw underline and overline up to the end of line if the face | |
4161 | extends to the end of line. | |
4162 | ||
4163 | * macterm.c: Likewise. | |
4164 | ||
4165 | * w32term.c: Likewise. | |
4166 | ||
4167 | 2006-08-24 Nick Roberts <nickrob@snap.net.nz> | |
6410aac9 NR |
4168 | |
4169 | * buffer.c (Fswitch_to_buffer): Move buffer to front of | |
4170 | buffer-alist if necessary. | |
4171 | ||
6b4d8762 KS |
4172 | 2006-08-22 Kim F. Storm <storm@cua.dk> |
4173 | ||
4174 | * xdisp.c (update_tool_bar): Redisplay toolbar also when only | |
4175 | number of items changes. | |
4176 | ||
7e1de68d KS |
4177 | 2006-08-22 Stefan Monnier <monnier@iro.umontreal.ca> |
4178 | ||
4179 | * buffer.c (Fset_buffer_multibyte): Record proper undo entry. | |
4180 | ||
f73858ce JD |
4181 | 2006-08-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4182 | ||
4183 | * keyboard.c: Clarify difference between in_sighandler and | |
4184 | handling_signal. | |
4185 | ||
c58790e6 KS |
4186 | 2006-08-21 Kim F. Storm <storm@cua.dk> |
4187 | ||
4188 | * macterm.c (x_draw_stretch_glyph_string): | |
4189 | * w32term.c (x_draw_stretch_glyph_string): | |
4190 | * xterm.c (x_draw_stretch_glyph_string): It is ok to draw a | |
5e1a6e32 | 4191 | stretch glyph in left marginal areas on header and mode lines. |
c58790e6 | 4192 | |
748726f4 KH |
4193 | 2006-08-21 Kenichi Handa <handa@m17n.org> |
4194 | ||
4195 | * keyboard.c (syms_of_keyboard): Docstring of | |
ca21600d JB |
4196 | Vunread_post_input_method_events and Vunread_input_method_events |
4197 | fixed. | |
748726f4 | 4198 | |
c5b76d6c CY |
4199 | 2006-08-20 Chong Yidong <cyd@stupidchicken.com> |
4200 | ||
4201 | * keyboard.c (show_help_echo): Preserve mouse movement flag if | |
4202 | tracking mouse. | |
4203 | ||
ce629713 RS |
4204 | 2006-08-20 Richard Stallman <rms@gnu.org> |
4205 | ||
4206 | * xfaces.c (load_pixmap): Add quotes in error message. | |
4207 | ||
4208 | * keyboard.c (Fcurrent_idle_time): New function. | |
4209 | (syms_of_keyboard): defsubr it. | |
4210 | ||
454e31b3 NR |
4211 | 2006-08-18 Nick Roberts <nickrob@snap.net.nz> |
4212 | ||
4213 | * window.c (Fset_window_fringes): Do nothing on a tty. | |
4214 | (Fwindow_fringes): Put ? operator after the line break. | |
4215 | ||
dae581bf AS |
4216 | 2006-08-16 Andreas Schwab <schwab@suse.de> |
4217 | ||
4218 | * print.c (debug_output_compilation_hack): Fix return type. | |
4219 | ||
3cb74cd1 RS |
4220 | 2006-08-16 Richard Stallman <rms@gnu.org> |
4221 | ||
4222 | * print.c (debug_output_compilation_hack): New function. | |
4223 | ||
29cbc482 KH |
4224 | 2006-08-16 Kenichi Handa <handa@m17n.org> |
4225 | ||
4226 | * fileio.c (choose_write_coding_system): Use LF for end-of-line | |
4227 | in auto-saving. | |
4228 | ||
3236e6b8 CY |
4229 | 2006-08-15 Chong Yidong <cyd@stupidchicken.com> |
4230 | ||
4231 | * keyboard.c (read_char): Don't change idle timer state at all if | |
4232 | end_time is supplied. | |
4233 | ||
8db1f9fa KH |
4234 | 2006-08-15 Kenichi Handa <handa@m17n.org> |
4235 | ||
4236 | * coding.c (ONE_MORE_BYTE_CHECK_MULTIBYTE): New arg RET. If SRC | |
4237 | is exhausted, return with RET. | |
4238 | (detect_coding_emacs_mule, detect_coding_iso2022) | |
4239 | (detect_coding_sjis, detect_coding_big5, detect_coding_utf_8) | |
ca21600d JB |
4240 | (detect_coding_utf_16, detect_coding_ccl): Adjusted for the above |
4241 | change. | |
8db1f9fa | 4242 | |
70282fce CY |
4243 | 2006-08-14 Chong Yidong <cyd@stupidchicken.com> |
4244 | ||
4245 | * keyboard.c (read_char): Don't reset idle timers if a time limit | |
4246 | is supplied. | |
4247 | ||
9bdc2a5d KS |
4248 | 2006-08-14 Kim F. Storm <storm@cua.dk> |
4249 | ||
4250 | * .gdbinit (pitx): Print iterator position. | |
4251 | Limit stack dump in case iterator is not initialized. | |
4252 | ||
e6b8d662 EZ |
4253 | 2006-08-12 Eli Zaretskii <eliz@gnu.org> |
4254 | ||
4255 | * frame.c (Fmouse_position, Fmouse_pixel_position) | |
4256 | (Fset_mouse_position, Fset_mouse_pixel_position): Doc fix. | |
4257 | ||
0c584069 JD |
4258 | 2006-08-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4259 | ||
4260 | * xselect.c (Fx_register_dnd_atom): New function. | |
4261 | (syms_of_xselect): Defsubr it. | |
9bdc2a5d | 4262 | (x_handle_dnd_message): Check that message_type is in |
0c584069 JD |
4263 | dpyinfo->x_dnd_atoms before generating lisp event. |
4264 | ||
4265 | * xterm.h (struct x_display_info): Add x_dnd_atoms* to keep track | |
4266 | of drag and drop Atoms. | |
4267 | ||
4268 | * xterm.c (x_term_init): Initialize dpyinfo->x_dnd_atoms* | |
4269 | ||
abef1dd7 JD |
4270 | 2006-08-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4271 | ||
4272 | * keyboard.c: Define in_sighandler. | |
4273 | (input_available_signal): Set in_sighandler. | |
4274 | (init_keyboard): Initialize in_sighandler. | |
4275 | ||
4276 | * keyboard.h: Declare in_sighandler. | |
4277 | ||
4278 | * alloc.c (UNBLOCK_INPUT_ALLOC, BLOCK_INPUT_ALLOC): Use in_sighandler | |
4279 | to check if mutex should be locked or not. | |
4280 | ||
c2028ac6 RS |
4281 | 2006-08-09 Richard Stallman <rms@gnu.org> |
4282 | ||
4283 | * keyboard.c (keyremap_step): No-op if fkey->parent = nil. | |
4284 | (read_key_sequence): Always start fkey.start and fkey.end at 0, | |
4285 | and likewise for keytran. | |
4286 | ||
bb0825cb KH |
4287 | 2006-08-09 Kenichi Handa <handa@m17n.org> |
4288 | ||
4289 | * coding.c (syms_of_coding): Improve the docstring | |
1a7de17e | 4290 | of file-coding-system-alist. |
bb0825cb | 4291 | |
61486999 AS |
4292 | 2006-08-07 Andreas Schwab <schwab@suse.de> |
4293 | ||
4294 | * puresize.h (BASE_PURESIZE): Increase to 1120000. | |
4295 | ||
43ed3b8d CY |
4296 | 2006-08-06 Chong Yidong <cyd@stupidchicken.com> |
4297 | ||
4298 | * buffer.c (Vchange_major_mode_hook, Qchange_major_mode_hook): New vars. | |
4299 | (Fkill_all_local_variables): Use it. | |
4300 | (syms_of_buffer): Defvar it. | |
4301 | ||
6b657e42 EZ |
4302 | 2006-08-05 Eli Zaretskii <eliz@gnu.org> |
4303 | ||
0a3297f7 EZ |
4304 | * w32.c (w32_valid_pointer_p): New function. |
4305 | ||
4306 | * w32.h: Add prototype for w32_valid_pointer_p. | |
4307 | ||
4308 | * alloc.c: Include w32.h. | |
4309 | (valid_lisp_object_p) [WINDOWSNT]: Call w32_valid_pointer_p to do | |
4310 | the job. | |
4311 | ||
6b657e42 EZ |
4312 | * keyboard.c (kbd_buffer_get_event): Return Qnil when current time |
4313 | is exactly equal to end_time, not only when it is past that. | |
4314 | ||
092869b9 CY |
4315 | 2006-08-04 Chong Yidong <cyd@stupidchicken.com> |
4316 | ||
4317 | * keyboard.c (read_char): Rebalance specpdl after receiving jump. | |
4318 | ||
4319 | * process.c: Reapply 2006-08-01 change. | |
4320 | ||
3046c3f9 EZ |
4321 | 2006-08-04 Eli Zaretskii <eliz@gnu.org> |
4322 | ||
4323 | * w32fns.c (w32_query_font): Fix last change: use stricmp. | |
4324 | ||
0f2e2a3b SM |
4325 | 2006-08-04 Stefan Monnier <monnier@iro.umontreal.ca> |
4326 | ||
4327 | * editfns.c (Fsubst_char_in_region): Redo the setup work after running | |
4328 | the before-change-functions since they may have altered the buffer. | |
4329 | ||
316a275a EZ |
4330 | 2006-08-04 Ralf Angeli <angeli@caeruleus.net> |
4331 | ||
4332 | * w32fns.c (w32_createwindow): Handle -geometry command line option | |
4333 | and the geometry settings in the Registry. | |
4334 | ||
ef8f7cdd KH |
4335 | 2006-08-04 Kenichi Handa <handa@m17n.org> |
4336 | ||
6f64cebf KH |
4337 | * w32fns.c (w32_query_font): Compare names by ignoring case. |
4338 | ||
ef8f7cdd KH |
4339 | * xterm.c (x_query_font): Compare names by ignoring case. |
4340 | ||
f3e0a6de JR |
4341 | 2006-08-03 Jason Rumney <jasonr@gnu.org> |
4342 | ||
4343 | * w32menu.c (w32_menu_show, w32_dialog_show): Call Fsignal to quit | |
4344 | when no option selected. | |
4345 | ||
d634a670 CY |
4346 | 2006-08-03 Chong Yidong <cyd@stupidchicken.com> |
4347 | ||
4348 | * process.c: Revert last change. | |
4349 | ||
0885202f KS |
4350 | 2006-08-01 Kim F. Storm <storm@cua.dk> |
4351 | ||
4352 | * process.c (wait_reading_process_output_unwind): New function. | |
4353 | Restores waiting_for_user_input_p to saved value. | |
4354 | (wait_reading_process_output): Unwind protect waiting_for_user_input_p | |
4355 | instead of save/restore old value on stack. | |
4356 | ||
0f42ea76 TTN |
4357 | 2006-07-30 Thien-Thi Nguyen <ttn@gnu.org> |
4358 | ||
4359 | * editfns.c: Undo 2006-06-27 change. | |
4360 | ||
69666f77 EZ |
4361 | 2006-07-29 Eli Zaretskii <eliz@gnu.org> |
4362 | ||
cfb37af8 EZ |
4363 | * coding.c (Ffind_operation_coding_system): Revert the change from |
4364 | 2006-05-29. | |
4365 | ||
69666f77 EZ |
4366 | * alloc.c [WINDOWSNT]: Include fcntl.h, to fix last change. |
4367 | ||
0de8dcc9 RS |
4368 | 2006-07-28 Richard Stallman <rms@gnu.org> |
4369 | ||
0f42ea76 | 4370 | * xfaces.c (lookup_named_face, Fdisplay_supports_face_attributes_p): |
0de8dcc9 RS |
4371 | Add conditional aborts for clarity. |
4372 | ||
4373 | * xdisp.c (update_menu_bar): New arg HOOKS_RUN. Callers changed. | |
4374 | Used to avoid running the hooks over and over for each frame. | |
4375 | (prepare_menu_bars): Pass value from update_menu_bar | |
4376 | as HOOKS_RUN of next call. | |
4377 | ||
4378 | * keyboard.c (safe_run_hooks_1): Don't crash if Vrun_hooks is nil. | |
4379 | ||
4dbdb9eb KS |
4380 | 2006-07-28 Kim F. Storm <storm@cua.dk> |
4381 | ||
4382 | * alloc.c (valid_pointer_p): New function (from valid_lisp_object_p). | |
4383 | (valid_lisp_object_p): Use it to check for valid SUBRP obj. | |
4384 | ||
2f1950bf CY |
4385 | 2006-07-26 Chong Yidong <cyd@stupidchicken.com> |
4386 | ||
4387 | * keyboard.c (read_char): New arg END_TIME specifying timeout. | |
4388 | All callers changed. Turn off echoing if END_TIME is non-NULL. | |
4389 | (kbd_buffer_get_event): New arg END_TIME. | |
4390 | ||
4391 | * lread.c (read_filtered_event): New arg SECONDS to wait until. | |
4392 | (Fread_char, Fread_event, Fread_char_exclusive): New arg SECONDS. | |
4393 | ||
4394 | * lisp.h: Update read-char, read-event, and read_filtered_event | |
4395 | prototypes. | |
4396 | ||
4397 | * keyboard.h: Include systime.h. Update read_char prototype. | |
4398 | ||
55a90501 YM |
4399 | 2006-07-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4400 | ||
4401 | * alloc.c (find_string_data_in_pure): New function. | |
4402 | (make_pure_string): Use it to reuse existing string data if possible. | |
4403 | ||
4404 | * puresize.h (BASE_PURESIZE): Decrease to 1102000. | |
4405 | ||
2db8f173 SM |
4406 | 2006-07-22 Stefan Monnier <monnier@iro.umontreal.ca> |
4407 | ||
4408 | * keymap.c (Fdefine_key): If the key binding definition looks like an | |
4409 | XEmacs-style key sequence, convert it to Emacs's format. | |
4410 | ||
272f22eb EZ |
4411 | 2006-07-22 Ralf Angeli <angeli@caeruleus.net> |
4412 | ||
ca21600d JB |
4413 | * w32fns.c (w32_createwindow): If `left' and/or `top' frame |
4414 | parameters are bound to some values, use that instead of | |
4415 | CW_USEDEFAULT. | |
272f22eb | 4416 | |
69b72317 EZ |
4417 | 2006-07-21 Eli Zaretskii <eliz@gnu.org> |
4418 | ||
4419 | * w32.c (convert_time): Use explicit long double constants to | |
4420 | ensure long double arithmetics is used throughout. | |
4421 | ||
14eee502 YM |
4422 | 2006-07-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4423 | ||
5e1a6e32 | 4424 | * alloc.c (pure_bytes_used_lisp, pure_bytes_used_non_lisp): New vars. |
14eee502 YM |
4425 | (init_alloc_once): Initialize them. |
4426 | (pure_alloc): Allocate non-Lisp objects from the end of pure storage | |
4427 | without alignment. | |
4428 | ||
4429 | * puresize.h (BASE_PURESIZE): Decrease to 1141000. | |
4430 | ||
eeeda6f1 KS |
4431 | 2006-07-18 Francis Litterio <franl@world.std.com> |
4432 | ||
4433 | * w32term.c (x_calc_absolute_position): Fix frame positioning | |
4434 | with negative X/Y coordinates. | |
4435 | ||
2381d38d DN |
4436 | 2006-07-18 Dan Nicolaescu <dann@ics.uci.edu> |
4437 | ||
4438 | * xterm.c (x_connection_closed, x_error_quitter): Mark as NO_RETURN. | |
4439 | ||
4440 | * textprop.c (text_read_only): Likewise. | |
4441 | ||
4442 | * lread.c (end_of_file_error): Likewise. | |
4443 | ||
4444 | * lisp.h (circular_list_error, memory_full, buffer_memory_full): | |
4445 | Likewise. | |
4446 | ||
4447 | * eval.c (unwind_to_catch): Likewise. | |
4448 | ||
4449 | * buffer.h (buffer_slot_type_mismatch): Likewise. | |
4450 | ||
5b5fca28 KS |
4451 | 2006-07-18 Kim F. Storm <storm@cua.dk> |
4452 | ||
4453 | Cleanup Fsignal calls that never returns; now only use it for Qquit. | |
4454 | ||
4455 | * eval.c (xsignal): New func. Like Fsignal, but marked no-return. | |
4456 | (xsignal0, xsignal1, xsignal2, xsignal3): New no-return functions. | |
4457 | (signal_error): New no-return function (from xfaces.c). | |
4458 | (Fthrow): Use xsignal2 instead of Fsignal + abort. | |
4459 | (error): Use xsignal1 instead of Fsignal + abort. | |
4460 | (FletX, Flet, grow_specpdl): Use signal_error. | |
4461 | (Feval, Ffuncall, funcall_lambda): Use xsignal1, xsignal2. | |
4462 | ||
6cb66a31 | 4463 | * alloc.c (buffer_memory_full, memory_full): Use xsignal. Remove loop. |
5b5fca28 KS |
4464 | (list1): New function. |
4465 | ||
4466 | * lisp.h (list1): Add EXFUN. | |
4467 | (xsignal, xsignal0, xsignal1, xsignal2, xsignal3, signal_error): | |
4468 | Add prototypes. Mark them as no-return. | |
4469 | ||
4470 | * buffer.c (Fbuffer_local_value, Fbarf_if_buffer_read_only): | |
4471 | Use xsignal1. | |
4472 | ||
4473 | * callint.c (check_mark): Use xsignal0. | |
4474 | ||
4475 | * casefiddle.c (casify_object): wrong_type_argument is no-return. | |
4476 | ||
4477 | * cmds.c (Fforward_char, Fdelete_char): Use xsignal0. | |
4478 | ||
4479 | * coding.c (Fcheck_coding_system): Use xsignal1. Remove loop. | |
4480 | (Fdefine_coding_system_internal): Use xsignal1. | |
4481 | ||
4482 | * data.c (circular_list_error): Use xsignal. | |
4483 | (wrong_type_argument): Use xsignal2. Don't care about return value. | |
4484 | (args_out_of_range, args_out_of_range_3): Use xsignal2, xsignal3. | |
4485 | Remove loop around Fsignal. | |
4486 | (indirect_variable, Fsymbol_value, set_internal, Fdefault_value) | |
4487 | (indirect_function, Findirect_function, Fstring_to_number) | |
4488 | (Fmakunbound, Ffmakunbound, Fsymbol_function, Ffset): Use xsignal1. | |
4489 | (arith_driver, float_arith_driver, Frem, Fmod, arith_error): | |
4490 | Use xsignal0. | |
4491 | ||
4492 | * doc.c (Fdocumentation): Use xsignal1. | |
4493 | ||
4494 | * editfns.c (region_limit, Fget_internal_run_time): Use xsignal0. | |
4495 | ||
4496 | * fileio.c (report_file_error): Use xsignal. | |
4497 | (barf_or_query_if_file_exists, Fcopy_file, Fdelete_file) | |
4498 | (Finsert_file_contents): Use xsignal2. | |
4499 | (syms_of_fileio): Use list2, list3. | |
4500 | ||
4501 | * floatfns.c (arith_error, range_error, domain_error): Use xsignal2. | |
4502 | (range_error2, domain_error2): Use xsignal3. | |
4503 | (rounding_driver, fmod_float): Use xsignal0. | |
4504 | (float_error): Use xsignal1. | |
4505 | (matherr): Use xsignal. | |
4506 | ||
4507 | * fns.c (Flength): wrong_type_argument is no-return. | |
4508 | (hashfn_user_defined, Fmake_hash_table): Use signal_error. | |
4509 | (Fmd5): Use xsignal1. | |
4510 | ||
4511 | * frame.c (x_set_line_spacing, x_set_screen_gamma): Use signal_error. | |
4512 | ||
4513 | * keyboard.c (recursive_edit_1): Use xsignal1. | |
4514 | ||
4515 | * keymap.c (Fmap_keymap): Use xsignal1. | |
4516 | ||
4517 | * lread.c (Fload): Use xsignal2, signal_error. | |
4518 | (end_of_file_error): Use xsignal0, xsignal1. | |
4519 | (read0): Use xsignal1. | |
4520 | (invalid_syntax): New error function marked no-return. | |
4521 | (read_integer, read1, read_list): Use it. | |
4522 | ||
4523 | * macselect.c (x_get_local_selection): Use signal_error. | |
4524 | ||
4525 | * msdos.c (Fmsdos_set_mouse_buttons): Use xsignal2. | |
4526 | ||
4527 | * search.c (compile_pattern_1): Use xsignal1. | |
4528 | (signal_failure): Remove (was only called once). | |
4529 | (search_command): Use xsignal1 instead of signal_failure. | |
4530 | ||
4531 | * syntax.c (scan_lists): Use xsignal3. | |
4532 | ||
4533 | * textprop.c (text_read_only): Use xsignal0, xsignal1. | |
4534 | ||
4535 | * unexsol.c (unexec): Use xsignal. | |
4536 | ||
4537 | * window.c (window_scroll_pixel_based, window_scroll_line_based): | |
4538 | Use xsignal0. | |
4539 | ||
4540 | * xfaces.c (signal_error): Move to eval.c. | |
4541 | (resolve_face_name): Use xsignal1. | |
4542 | ||
4543 | * xfns.c (x_decode_color): Use signal_error. | |
4544 | ||
4545 | * xselect.c (x_get_local_selection, copy_multiple_data) | |
4546 | (x_get_window_property_as_lisp_data) | |
4547 | (lisp_data_to_selection_data, CHECK_CUT_BUFFER) | |
4548 | (Fx_get_cut_buffer_internal): Use signal_error. | |
4549 | ||
d3f31bc5 YM |
4550 | 2006-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4551 | ||
4552 | * macterm.c (XTread_socket): Undo previous change. | |
4553 | ||
1e53bd0e YM |
4554 | 2006-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4555 | ||
4556 | * macterm.c (keycode_to_xkeysym): Remove function. All uses now | |
4557 | directly lookup keycode_to_xkeysym_table. | |
4558 | [USE_MAC_TSM] (mac_handle_text_input_event): Don't construct | |
4559 | ASCII_KEYSTROKE_EVENT for non-zero keycode_to_xkeysym_table entries. | |
4560 | (XTread_socket): Use character codes to construct keypad key events. | |
4561 | (mac_initialize_display_info) [MAC_OSX]: Use CGDisplaySamplesPerPixel. | |
4562 | (x_delete_display): Apply 2006-07-04 change for xterm.c. | |
4563 | ||
0de8dcc9 RS |
4564 | 2006-07-17 Richard Stallman <rms@gnu.org> |
4565 | ||
4566 | * keyboard.c (Vcommand_error_function): New variable. | |
4567 | (syms_of_keyboard): Defvar it. | |
4568 | (cmd_error_internal): Simplify, and handle Vcommand_error_function. | |
4569 | ||
4570 | * dispnew.c (init_display): Mention DISPLAY as well as TERM in err msg. | |
4571 | ||
55dc982c KS |
4572 | 2006-07-17 Kim F. Storm <storm@cua.dk> |
4573 | ||
4574 | * xdisp.c (handle_single_display_spec): Ensure the right value of | |
4575 | it->position is saved by push_it. | |
4576 | (pop_it): Restore it->object for GET_FROM_BUFFER and GET_FROM_STRING. | |
4577 | (reseat_1): Don't setup it->object twice. | |
4578 | (set_iterator_to_next): No need to set it->object after pop_it. | |
4579 | (move_it_to): Explicitly check to see if last move reached to_charpos. | |
4580 | ||
ce7d5efe TTN |
4581 | 2006-07-17 Thien-Thi Nguyen <ttn@gnu.org> |
4582 | ||
4583 | * xdisp.c (display_mode_line): Preserve match data. | |
4584 | ||
d753d9b7 KS |
4585 | 2006-07-14 Kim F. Storm <storm@cua.dk> |
4586 | ||
4587 | * w32.c (pfn_WSACreateEvent, pfn_WSACloseEvent): New func ptrs. | |
4588 | (init_winsock): Load them. Use ws2_32.dll. | |
4589 | (sys_listen): Undo last change. Just set FILE_LISTEN flag. | |
4590 | (sys_accept): Undo last change. Instead, set child status to | |
4591 | STATUS_READ_ACKNOWLEDGED and reset char_avail event so next | |
4592 | sys_select will wakeup the reader thread. | |
4593 | (_sys_wait_accept): New function used by reader thread to wait for | |
4594 | an incoming connection on a server socket. | |
4595 | ||
4596 | * w32.h (_sys_read_ahead, _sys_wait_accept): Add prototypes. | |
4597 | ||
4598 | * w32proc.c (reader_thread): Use _sys_wait_accept to wait on a | |
4599 | server socket (FILE_LISTEN flag). | |
4600 | ||
dcc88121 JD |
4601 | 2006-07-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4602 | ||
4603 | * sound.c (alsa_init): Call snd_pcm_close after successful snd_pcm_open. | |
4604 | ||
8a8476f9 KS |
4605 | 2006-07-14 Kim F. Storm <storm@cua.dk> |
4606 | ||
4607 | * w32.c: Fix high cpu load for server sockets. | |
4608 | (pfn_WSAEventSelect): New function ptr. | |
4609 | (init_winsock): Load it. | |
f1ca9497 | 4610 | (sys_listen): Set FILE_LISTEN flag. Set event mask for socket's |
8a8476f9 KS |
4611 | char_avail event object to FD_ACCEPT. |
4612 | (sys_accept): Check FILE_LISTEN flag. Set event mask on new | |
4613 | socket's char_avail event object to FD_READ|FD_CLOSE. | |
4614 | ||
4615 | * w32.h (FILE_LISTEN): New filedesc flag value. | |
4616 | ||
f3500bbe KS |
4617 | 2006-07-13 Kim F. Storm <storm@cua.dk> |
4618 | ||
4619 | * bytecode.c (Fbyte_code): Use CAR, CDR for Bcar, Bcdr. | |
4620 | Use CAR_SAFE, CDR_SAFE for Bcar_safe, Bcdr_safe. | |
4621 | Simplify loops and use CAR for Bnth and Belt. | |
4622 | ||
4623 | * data.c (Findirect_function): Optimize for no indirection. | |
4624 | ||
4625 | * eval.c (Fthrow): Remove loop around Fsignal. | |
4626 | (Feval, Fapply, Ffuncall): Optimize for no function indirection. | |
4627 | Use original function name in all signaled errors. | |
4628 | Simplify Fsignal calls (no return). | |
4629 | (funcall_lambda): Simplify Fsignal calls (no return). | |
4630 | ||
60c86a83 AS |
4631 | 2006-07-13 Andreas Schwab <schwab@suse.de> |
4632 | ||
4633 | * syntax.c (scan_sexps_forward): Use EMACS_INT for out_bytepos and | |
4634 | out_charpos. | |
4635 | ||
d40ec4a0 KH |
4636 | 2006-07-13 Kenichi Handa <handa@m17n.org> |
4637 | ||
4638 | * editfns.c (Fformat): Fix calculation of text property positions | |
4639 | of format string. | |
4640 | ||
b8a6aaa7 KS |
4641 | 2006-07-12 Kim F. Storm <storm@cua.dk> |
4642 | ||
4643 | * lisp.h (CHECK_TYPE): New macro for generic type checking. | |
4644 | (CAR_SAFE, CDR_SAFE): New macros. | |
4645 | (ARRAYP, CHECK_ARRAY): New macros. | |
4646 | (CHECK_VECTOR_OR_STRING, CHECK_SUBR): New macros. | |
4647 | (CHECK_WINDOW_CONFIGURATION): New macro. | |
4648 | (CHECK_LIST_CONS, CHECK_LIST_END): New checks for list traversal. | |
4649 | (CHECK_STRING_OR_BUFFER, CHECK_HASH_TABLE, CHECK_LIST) | |
4650 | (CHECK_STRING, CHECK_STRING_CAR, CHECK_CONS, CHECK_SYMBOL) | |
4651 | (CHECK_CHAR_TABLE, CHECK_VECTOR, CHECK_VECTOR_OR_CHAR_TABLE) | |
4652 | (CHECK_BUFFER, CHECK_WINDOW, CHECK_LIVE_WINDOW, CHECK_PROCESS) | |
4653 | (CHECK_NUMBER, CHECK_NATNUM, CHECK_MARKER, CHECK_OVERLAY) | |
4654 | (CHECK_NUMBER_COERCE_MARKER, CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT) | |
4655 | (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER): Use CHECK_TYPE. | |
4656 | ||
4657 | * category.h (CHECK_CATEGORY, CHECK_CATEGORY_SET): | |
4658 | * frame.h (CHECK_FRAME, CHECK_LIVE_FRAME): Use CHECK_TYPE. | |
4659 | ||
4660 | * callint.c (Fcall_interactively): | |
4661 | * casefiddle.c (casify_object): | |
4662 | * editfns.c (general_insert_function): | |
4663 | * fns.c (Flength, Felt, Ffillarray): | |
4664 | * data.c (Fcar, Fcdr): Remove loop around wrong_type_argument. | |
4665 | ||
4666 | * data.c (wrong_type_argument): Remove loop around Fsignal. | |
4667 | (Farrayp, Fsequencep): Use ARRAYP. | |
4668 | (Fcar): Use CAR. | |
4669 | (Fcar_safe): Use CAR_SAFE. | |
4670 | (Fcdr): Use CDR. | |
4671 | (Fcdr_safe): Use CDR_SAFE. | |
4672 | (Fsetcar, Fsetcdr): Use CHECK_CONS. | |
4673 | (Fsubr_arity, Fsubr_name): Use CHECK_SUBR. | |
4674 | (Faset): Use CHECK_ARRAY. | |
4675 | ||
4676 | * fns.c (Felt): Use CHECK_ARRAY. | |
4677 | (concat): Use CHECK_NUMBER. | |
4678 | (Fsubstring, substring_both): Use CHECK_VECTOR_OR_STRING. | |
4679 | (Fmemq): Use CHECK_LIST. | |
4680 | (Fassq, Fassoc, Frassq, Frassoc): Use CAR. | |
4681 | (assq_no_quit): Use CAR_SAFE. | |
4682 | (Fnthcdr, Fmember, Fdelq, Fdelete, Fnreverse, Fnconc): | |
4683 | Use CHECK_LIST_CONS. | |
4684 | (Freverse, Fplist_get, Flax_plist_get): Use CHECK_LIST_END. | |
4685 | ||
4686 | * bytecode.c (Fbyte_code): Use CHECK_VECTOR. | |
4687 | ||
4688 | * casetab.c (check_case_table): | |
4689 | * category.c (check_category_table): | |
4690 | * marker.c (Fcopy_marker): | |
4691 | * syntax.c (check_syntax_table): | |
4692 | * xfaces.c (load_pixmap): Use CHECK_TYPE. | |
4693 | ||
4694 | * fns.c (Fcopy_sequence, concat): | |
4695 | * fringe.c (Fdefine_fringe_bitmap): | |
4696 | * lread.c (check_obarray): Cleanup wrong_type_argument use. | |
4697 | ||
e55deb0b KS |
4698 | * keyboard.c (access_keymap_keyremap): Use ARRAYP. |
4699 | ||
b8a6aaa7 KS |
4700 | * keymap.c (Fdefine_key, Flookup_key): |
4701 | * macros.c (Fstart_kbd_macro): Use CHECK_VECTOR_OR_STRING. | |
4702 | ||
4703 | * mac.c (Fmac_get_preference): Use CHECK_LIST_END. | |
4704 | ||
4705 | * search.c (Fset_match_data): Use CHECK_LIST. | |
4706 | ||
4707 | * sunfns.c (sun_item_create): Use CHECK_LIST_CONS. | |
4708 | ||
4709 | * window.c (Fwindow_configuration_frame, Fset_window_configuration): | |
4710 | (compare_window_configurations): Use CHECK_WINDOW_CONFIGURATION. | |
4711 | ||
099d4201 YM |
4712 | 2006-07-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4713 | ||
4714 | * Makefile.in (dired.o, editfns.o, fileio.o): Depend on blockinput.h. | |
4715 | ||
4716 | * dired.c: Include blockinput.h. | |
4717 | (Ffile_attributes): Add BLOCK_INPUT around getpwuid/getgrgid. | |
4718 | ||
4719 | * editfns.c: Include blockinput.h. | |
4720 | (Fuser_login_name, Fuser_full_name): Add BLOCK_INPUT around | |
4721 | getpwuid/getpwnam. | |
4722 | ||
4723 | * fileio.c: Include blockinput.h. | |
4724 | (Fexpand_file_name, search_embedded_absfilename): Add BLOCK_INPUT | |
4725 | around getpwnam. | |
4726 | (search_embedded_absfilename): Remove spurious xfree. | |
4727 | ||
2e42ee7b KS |
4728 | 2006-07-11 Kim F. Storm <storm@cua.dk> |
4729 | ||
4730 | * dispnew.c (sit_for): Reduce number of args from 5 to 3. | |
4731 | Now just one TIMEOUT arg that can be a Lisp float or Lisp int. | |
4732 | Combine args DISPLAY and INITIAL_DISPLAY into one arg DO_DISPLAY. | |
8e09f23f | 4733 | Signal error if TIMEOUT is not a number. |
2e42ee7b KS |
4734 | Undo 2006-06-14 change for non-preemptive display if TIMEOUT < 0. |
4735 | The rework of sit_for args also fixes several incorrect Qt args | |
4736 | which should have been 1. | |
4737 | (Fredisplay): Pass 1 instead of Qt to swallow_events and | |
4738 | detect_input_pending_run_timers. | |
4739 | ||
4740 | * lisp.h (sit_for): Update prototype. | |
4741 | (Fredisplay): Add EXFUN. | |
4742 | ||
4743 | * dispextern.h (sit_for): Remove prototype. | |
4744 | ||
4745 | * callint.c (Fcall_interactively): | |
4746 | * minibuf.c (temp_echo_area_glyphs): | |
4747 | * keyboard.c (command_loop_1, read_char, Fexecute_extended_command): | |
4748 | * fileio.c (Fdo_auto_save): Update/simplify sit_for calls. | |
4749 | ||
a0aa7fcf SM |
4750 | 2006-07-11 Stefan Monnier <monnier@iro.umontreal.ca> |
4751 | ||
4752 | * syntax.c (forw_comment): Also use EMACS_INT for buffer positions. | |
4753 | ||
ff97f952 KS |
4754 | 2006-07-11 Kim F. Storm <storm@cua.dk> |
4755 | ||
68ade564 | 4756 | * dispnew.c (Fredisplay): Add FORCE argument to force redisplay when |
ff97f952 KS |
4757 | input is available. Fix test for redisplay_dont_pause non-nil. |
4758 | Specbind redisplay-dont-pause to t if FORCE non-nil. | |
4759 | ||
7ba07a1a CY |
4760 | 2006-07-10 Chong Yidong <cyd@stupidchicken.com> |
4761 | ||
4762 | * puresize.h (BASE_PURESIZE): Increment to 1211000. | |
4763 | ||
4764 | * dispnew.c (Fredisplay): New function, equivalent to (sit-for 0). | |
4765 | (Fsit_for): Function deleted. | |
4766 | ||
a0aa7fcf SM |
4767 | * keyboard.c (command_loop_1, Fexecute_extended_command): |
4768 | Call sit_for instead of Fsit_for. | |
7ba07a1a CY |
4769 | |
4770 | * minibuf.c (temp_echo_area_glyphs): Likewise. | |
4771 | ||
2312c580 SM |
4772 | 2006-07-09 Stefan Monnier <monnier@iro.umontreal.ca> |
4773 | ||
4774 | * syntax.c (Fforward_comment): Revert the reversion. | |
932e6895 | 4775 | (back_comment, scan_lists): Also use EMACS_INT for buffer positions. |
2312c580 | 4776 | |
bf88ca63 JPW |
4777 | 2006-07-09 John Paul Wallington <jpw@pobox.com> |
4778 | ||
4779 | * syntax.c (Fforward_comment): Revert previous change. | |
4780 | ||
08b17d37 KS |
4781 | 2006-07-09 Kim F. Storm <storm@cua.dk> |
4782 | ||
4783 | * window.c (Fforce_window_update): Doc fix. | |
4784 | ||
26816cbf SG |
4785 | 2006-07-08 Stephen Gildea <gildea@stop.mail-abuse.org> |
4786 | ||
4787 | * fileio.c (do_auto_save_make_dir): Make the auto-save-list-file | |
4788 | directory unreadable for better user privacy. | |
4789 | ||
4332cf50 SM |
4790 | 2006-07-07 Stefan Monnier <monnier@iro.umontreal.ca> |
4791 | ||
dd9f0dcd SM |
4792 | * syntax.c (Fforward_comment): Fix int-32 vs EMACS_INT-64 mixup. |
4793 | ||
4332cf50 SM |
4794 | * lread.c (read_filtered_event): Remove `register' qualifier because it |
4795 | causes compilation problem with gcc-4.0.2-20051125 on amd64. | |
91fe9496 SM |
4796 | (readevalloop): Remove unused var `bpos'. |
4797 | Yet another int/Lisp_Object mixup (YAILOM). | |
4332cf50 | 4798 | |
dfb4bff5 EZ |
4799 | 2006-07-07 Eli Zaretskii <eliz@gnu.org> |
4800 | ||
4801 | * keyboard.c (Fexecute_extended_command): Mention the argument | |
4802 | PREFIXARG in the doc string. | |
4803 | ||
efaed3b0 KS |
4804 | 2006-07-07 Kim F. Storm <storm@cua.dk> |
4805 | ||
4806 | * fringe.c (Fdefine_fringe_bitmap): Doc fix. | |
4807 | ||
e2e6e4d2 CY |
4808 | 2006-07-05 Chong Yidong <cyd@stupidchicken.com> |
4809 | ||
234fb773 CY |
4810 | * insdel.c (prepare_to_modify_buffer): For an indirect buffer, do |
4811 | clash detection using the base buffer. | |
4812 | ||
e2e6e4d2 CY |
4813 | * puresize.h (BASE_PURESIZE): Increment to 1210500. |
4814 | ||
e128be55 KS |
4815 | 2006-07-04 Kim F. Storm <storm@cua.dk> |
4816 | ||
4817 | * xterm.c (x_delete_display): Don't free or derefence NULL pointers. | |
4818 | ||
2462bc66 KH |
4819 | 2006-07-04 Kenichi Handa <handa@m17n.org> |
4820 | ||
4821 | * fontset.c (Fset_overriding_fontspec_internal): Check if we need | |
4822 | to update Voverriding_fontspec_alist. | |
4823 | ||
9ca24617 RS |
4824 | 2006-07-03 Richard Stallman <rms@gnu.org> |
4825 | ||
4826 | * xfns.c (Fx_create_frame): Move unwind_create_frame setup down. | |
4827 | ||
4828 | * xfaces.c (Fface_attribute_relative_p): Doc fix. | |
4829 | ||
4830 | * textprop.c (Fget_char_property_and_overlay): Doc fix. | |
4831 | ||
4832 | * eval.c (Fdefvaralias): Doc fix. | |
4833 | ||
d8ab3c6d KS |
4834 | 2006-07-03 Kim F. Storm <storm@cua.dk> |
4835 | ||
4836 | * dispnew.c (sit_for): Fix preempt condition. | |
4837 | ||
ca77ee45 SM |
4838 | 2006-07-02 Stefan Monnier <monnier@iro.umontreal.ca> |
4839 | ||
4840 | * lread.c (read_filtered_event): Treat select-window just like | |
4841 | switch-frame. | |
4842 | ||
8cb72de5 KS |
4843 | 2006-07-02 Kim F. Storm <storm@cua.dk> |
4844 | ||
4845 | * xdisp.c (display_tool_bar_line): Skip glyphs which are too big | |
4846 | to ever fit the tool-bar, | |
4847 | (MAX_FRAME_TOOL_BAR_HEIGHT): New macro. | |
4848 | (tool_bar_lines_needed): Use unused mode-line row as temp_row. | |
4849 | (redisplay_tool_bar): Only clear desired matrix if we actually | |
4850 | change the tool-bar window height. Only try to make the tool-bar | |
4851 | window bigger if there is actually room for it. | |
4852 | ||
6407e67c EZ |
4853 | 2006-06-30 Ralf Angeli <angeli@caeruleus.net> |
4854 | ||
4855 | * w32term.c (x_make_frame_visible): Use SystemParametersInfo with | |
4856 | SPI_GETWORKAREA to find the dimensions of the screen work area, | |
4857 | and adjust vertical position of the frame in order to avoid being | |
4858 | covered by the task bar. | |
4859 | ||
4860 | * w32fns.c (w32_createwindow): Use CW_USEDEFAULT instead of | |
4861 | f->left_pos and SH_SHOW instead of f->top_pos in the call to | |
4862 | CreateWindow. Record the actual position in f->left_pos and | |
4863 | f->top_pos. | |
4864 | ||
639804b3 JPW |
4865 | 2006-06-30 John Paul Wallington <jpw@pobox.com> |
4866 | ||
4867 | * w32console.c (syms_of_ntterm) <w32-use-full-screen-buffer>: | |
4868 | Doc fix - default value has changed. | |
4869 | ||
3ff05183 YM |
4870 | 2006-06-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4871 | ||
4872 | * mac.c [!TARGET_API_MAC_CARBON]: Don't include FixMath.h or Scrap.h. | |
4873 | ||
4874 | * macfns.c (Fx_create_frame): Apply 2006-06-24 change for xfns.c. | |
4875 | ||
4876 | * macgui.h (USE_MAC_TSM) [TARGET_API_MAC_CARBON]: Set default to 1. | |
4877 | ||
4878 | * macterm.c (Qeql): Add extern. | |
4879 | (x_set_mouse_pixel_position) [MAC_OSX]: Use CGWarpMouseCursorPosition. | |
4880 | (fm_style_face_attributes_alist) [USE_ATSUI]: New variable. | |
4881 | (syms_of_macterm) [USE_ATSUI]: Initialize and staticpro it. | |
4882 | Change keys of Vmac_atsu_font_table from strings to numbers. | |
4883 | (fm_style_to_face_attributes) [USE_ATSUI]: New function. | |
4884 | (init_font_name_table) [USE_ATSUI]: Use it. | |
4885 | (saved_ts_script_language_on_focus) [USE_MAC_TSM]: New variable. | |
4886 | (syms_of_macterm) [USE_MAC_TSM]: Initialize and staticpro it. | |
4887 | [USE_MAC_TSM] (mac_tsm_resume): Restore script and language codes | |
4888 | only when saved_ts_script_language_on_focus coincides with | |
4889 | Vmac_ts_script_language_on_focus. | |
4890 | [USE_MAC_TSM] (mac_tsm_suspend): Save value of | |
4891 | Vmac_ts_script_language_on_focus to saved_ts_script_language_on_focus. | |
4892 | (XTread_socket) [USE_MAC_TSM]: Add Mac OS Classic support. | |
4893 | [USE_MAC_TSM] (mac_handle_text_input_event, init_tsm): Likewise. | |
4894 | ||
df8ffa05 CY |
4895 | 2006-06-27 Chong Yidong <cyd@stupidchicken.com> |
4896 | ||
4897 | * editfns.c (Fdelete_field, Ffield_string, Ffield_beginning) | |
4898 | (Ffield_string_no_properties, Ffield_end): Mention | |
4899 | args-out-of-range error condition in docstring. | |
4900 | ||
04405ad9 KS |
4901 | 2006-06-27 Kim F. Storm <storm@cua.dk> |
4902 | ||
4903 | * xdisp.c (handle_composition_prop): Set stop_charpos before push_it. | |
4904 | ||
f8e83735 KS |
4905 | 2006-06-25 Kim F. Storm <storm@cua.dk> |
4906 | ||
4907 | * s/gnu-linux.h (SIGNALS_VIA_CHARACTERS): Define for Linux kernel | |
4908 | version 2.4 and later. | |
4909 | ||
86b2ba0d CY |
4910 | 2006-06-24 Chong Yidong <cyd@stupidchicken.com> |
4911 | ||
4912 | * xfns.c (Fx_create_frame): Set font parameter directly instead of | |
4913 | using x_default_parameter, since x_get_args clears the parm alist. | |
4914 | ||
eff6bfea EZ |
4915 | 2006-06-24 Eli Zaretskii <eliz@gnu.org> |
4916 | ||
4917 | * dired.c (directory_files_internal) [WINDOWSNT]: Find files | |
4918 | case-insensitively. | |
4919 | ||
d9034473 EZ |
4920 | 2006-06-24 Aidan Kehoe <kehoea@parhasard.net> |
4921 | ||
4922 | * lread.c (read_escape): When an unknown Unicode code point is | |
4923 | encountered as a string or character escape, signal an error. | |
4924 | ||
8800bd5c KS |
4925 | 2006-06-23 Kim F. Storm <storm@cua.dk> |
4926 | ||
31005921 KS |
4927 | * .gdbinit (pitx): Dump iterator stack. |
4928 | ||
8800bd5c KS |
4929 | * xdisp.c (handle_composition_prop): Push iterator on stack. |
4930 | (set_iterator_to_next): Pop iterator at end of composition. | |
4931 | ||
28fa06ea EZ |
4932 | 2006-06-23 Martin Rudalics <rudalics@gmx.at> |
4933 | ||
4934 | * fileio.c (Frename_file) [DOS_NT]: Don't try to move directory to | |
4935 | itself on DOS_NT platforms, if the old and new names are identical | |
4936 | but for the letter-case. | |
4937 | ||
43a37241 KS |
4938 | 2006-06-21 Kim F. Storm <storm@cua.dk> |
4939 | ||
4940 | * dispextern.h (struct it): Add `position' member to iterator stack. | |
4941 | Rename `pos' member to `current'. Rearrange and add comments. | |
4942 | ||
4943 | * xdisp.c (handle_stop): Set it->ignore_overlay_strings_at_pos_p | |
4944 | if we get any overlays. | |
4945 | (set_cursor_from_row): Don't clobber `end' if we rescan from | |
4946 | start_string. | |
4947 | (push_it, pop_it): Save it->position. | |
4948 | ||
a5bd14d3 RS |
4949 | 2006-06-19 Richard Stallman <rms@gnu.org> |
4950 | ||
4951 | * window.c (size_window): New arg FIRST_ONLY. All callers changed. | |
4952 | (adjust_window_trailing_edge): Specially compute FIRST_PARALLEL | |
4953 | for the case of a top-level window and the following minibuffer. | |
4954 | Don't exit because of no `next' when there is a parent. | |
4955 | Use the FIRST_ONLY feature when resizing following windows. | |
eb85ecac | 4956 | |
a5bd14d3 RS |
4957 | * syntax.c (init_syntax_once): Give most control chars' syntax Spunct. |
4958 | ||
a3efc408 KS |
4959 | 2006-06-17 Kim F. Storm <storm@cua.dk> |
4960 | ||
4961 | * dispnew.c (update_frame): Check for input pending on entry. | |
4962 | (update_window, update_frame_1): Break loop if input is detected. | |
4963 | ||
d692a3d5 JD |
4964 | 2006-06-16 Francis Litterio <flitterio@gmail.com> |
4965 | ||
4966 | * xterm.c (x_check_expected_move, handle_one_xevent) | |
4967 | (x_set_offset, x_check_fullscreen): Extensive changes to make | |
4968 | frame positioning deterministic under X. | |
4969 | ||
b70e1a2b | 4970 | * xterm.h (x_output): Add members left_before_move and |
d692a3d5 JD |
4971 | top_before_move. Removed members expected_left and expected_top. |
4972 | ||
df05d913 KS |
4973 | 2006-06-16 Kim F. Storm <storm@cua.dk> |
4974 | ||
626c7c71 KS |
4975 | * dispextern.h (struct it): Add union to iterator stack to save |
4976 | image, composition, and stretch specific paramters. | |
4977 | ||
4978 | * xdisp.c (next_overlay_string): Fix assert. | |
4979 | (push_it, pop_it): Handle composition and stretch specific values. | |
4980 | Only handle it->slice in image (for now). | |
4981 | (back_to_previous_visible_line_start): Continue search if newline is | |
4982 | part of a compisition. Simplify. | |
4983 | (reseat_1): Set it->object to buffer. | |
4984 | (set_iterator_to_next): Set it->object to string or buffer, when | |
4985 | setting it->method to GET_FROM_STRING or GET_FROM_BUFFER. | |
4986 | (next_element_from_composition): Set it->object to buffer if not | |
4987 | from string. | |
4988 | (set_cursor_from_row): Only save start of string if not already | |
4989 | done to handle multiple strings in a row. | |
4990 | ||
df05d913 KS |
4991 | * .gdbinit (pitx): Show composition parameters. |
4992 | (pgx, pg): New commands to print a glyph structure. | |
4993 | (pgi, pgn): New commands to print specific/next glyph. | |
4994 | (pgrowx, pgrow): New commands to print all glyphs in a row. | |
4995 | ||
aa2f234a YM |
4996 | 2006-06-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
4997 | ||
4998 | * macfns.c (Fx_display_mm_height, Fx_display_mm_width) | |
4999 | [MAC_OS_X_VERSION_MAX_ALLOWED >= 1030]: Use CGDisplayScreenSize. | |
5000 | ||
5001 | * macterm.c (do_app_resume, do_app_suspend): Remove functions. | |
5002 | (mac_tsm_resume, mac_tsm_suspend) [USE_MAC_TSM]: New functions. | |
5003 | (mac_handle_window_event, XTread_socket) [USE_MAC_TSM]: Use them. | |
5004 | (Vmac_ts_script_language_on_focus) [USE_MAC_TSM]: New variable. | |
5005 | (syms_of_macterm) [USE_MAC_TSM]: Defvar it. | |
5006 | (saved_ts_language, saved_ts_component) [USE_MAC_TSM]: New variables. | |
5007 | (mac_initialize_display_info) [MAC_OSX]: Use Quartz Display | |
5008 | Services functions to get size of main display in pixels. | |
5009 | ||
633e63ca CY |
5010 | 2006-06-14 Chong Yidong <cyd@stupidchicken.com> |
5011 | ||
d0f891a7 SM |
5012 | * xdisp.c (back_to_previous_visible_line_start): |
5013 | Reset it->continuation_lines_width. | |
633e63ca | 5014 | |
cac9d766 RS |
5015 | 2006-06-14 Richard Stallman <rms@gnu.org> |
5016 | ||
5017 | * eval.c (Fdefconst): Mark variable as risky. | |
5018 | ||
5019 | * callproc.c (Fcall_process): Doc fix. | |
5020 | ||
5021 | * window.c (adjust_window_trailing_edge): Don't break out of the loop | |
5022 | because there's no next window, if there are parallel windows. | |
5023 | Do break out when WINDOW is nil. | |
df05d913 | 5024 | |
bae1ed29 KS |
5025 | 2006-06-14 Kim F. Storm <storm@cua.dk> |
5026 | ||
1bb32610 KS |
5027 | * dispextern.h (IT_STACK_SIZE): New macro specifying size of |
5028 | iterator stack (instead of hardcoded number). Increase from 2 to | |
5029 | 4 to make room for propertized overlay strings before and after a | |
5030 | display string, image or composition. | |
5031 | (struct it): Add image_id and method members to iterator stack. | |
5032 | ||
5033 | * xdisp.c (init_from_display_pos): Don't set it->method and | |
5034 | overlay_string_index after pop_it. Add asserts. | |
5035 | (handle_stop): Look for overlay strings around a display string, | |
5036 | image, or composition. Handle properties on those strings. | |
5037 | (next_overlay_string): Don't set string, pos or method after pop_it. | |
5038 | (get_overlay_strings_1): Split from get_overlay_strings; don't | |
5039 | modify it if no overlay strings are found. | |
5040 | (get_overlay_strings): Use get_overlay_strings_1. Always set | |
5041 | it->string and it->method. | |
5042 | (push_it): Push it->image_id and it->method. Push it->object | |
5043 | instead of it->string if method is GET_FROM_IMAGE. | |
5044 | (pop_it): Pop it->image_id and it->method. Ppo it->object | |
5045 | instead of it->string if method is GET_FROM_IMAGE. | |
5046 | Reset it->current.string_pos if popped it->string is nil. | |
5047 | (reseat_1): Remove comment dated 19 May 2003. It expressed doubt | |
5048 | whether a given change was correct; but the change is correct. | |
5049 | Clear it->string_from_display_prop_p. | |
5050 | (set_iterator_to_next): Rely on it->method and it->image_id from | |
5051 | iterator stack, instead of setting them explicitly after pop_it. | |
5052 | ||
bae1ed29 KS |
5053 | * dispnew.c (sit_for): Undo 2006-06-01 change. Instead, a |
5054 | negative time forces redisplay even when input is available. | |
5055 | (Fsit_for): Doc fix. | |
5056 | ||
8eb2b87f KS |
5057 | 2006-06-13 Kim F. Storm <storm@cua.dk> |
5058 | ||
5059 | * dispnew.c: Modify preemptive redisplay to be based on periodic | |
5060 | checks for input. | |
5061 | (PERIODIC_PREEMPTION_CHECKING): Define to 1 iff EMACS_HAS_USECS. | |
5062 | (Vredisplay_preemption_period): New variable. | |
5063 | (syms_of_display): DEFVAR_LISP and initialize it. | |
5064 | (preemption_period, preemption_next_check): New variables. | |
5065 | (update_frame, update_single_window): Initialize them based on | |
5066 | Vredisplay_preemption_period if !force_p. | |
5067 | (update_window, update_frame_1): Use them to determine when to | |
5068 | check for input. | |
5069 | ||
7cb93181 EZ |
5070 | 2006-06-03 Aidan Kehoe <kehoea@parhasard.net> |
5071 | ||
5072 | * lread.c (read_escape): Provide a Unicode character escape | |
5073 | syntax; \u followed by exactly four or \U followed by exactly | |
5074 | eight hex digits in a comment or string is read as a Unicode | |
5075 | character with that code point. | |
5076 | ||
cf402f3f EZ |
5077 | 2006-06-09 Eli Zaretskii <eliz@gnu.org> |
5078 | ||
5079 | * window.c (window_scroll_pixel_based): Signal "Beginning of | |
5080 | buffer" when scroll-down at the beginning of an empty buffer. | |
5081 | ||
67b5f809 YM |
5082 | 2006-06-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5083 | ||
d0f891a7 SM |
5084 | * macterm.c [USE_MAC_TSM] (mac_handle_text_input_event): |
5085 | Exclude 0x7f from ASCII range. | |
67b5f809 | 5086 | |
94856834 JR |
5087 | 2006-06-05 Jason Rumney <jasonr@gnu.org> |
5088 | ||
5089 | * w32term.c (w32_set_scroll_bar_thumb, x_scroll_bar_create) | |
5090 | (w32_set_vertical_scroll_bar, w32_scroll_bar_handle_click) | |
5091 | (x_scroll_bar_report_motion): Remove workarounds for | |
5092 | versions of Windows NT < 3.51. | |
5093 | [!SIF_ALL]: Remove. | |
5094 | (pfnSetScrollInfo, pfnGetScrollInfo): Remove. | |
5095 | (w32_initialize): Don't dynamically load Get/SetScrollInfo. | |
5096 | ||
d495ccfc DK |
5097 | 2006-06-04 David Kastrup <dak@gnu.org> |
5098 | ||
ca21600d JB |
5099 | * dispnew.c: Mention `redisplay-dont-pause' in doc string of |
5100 | `sit-for'. | |
d495ccfc | 5101 | |
fabcf455 YM |
5102 | 2006-06-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5103 | ||
5104 | * macfns.c (x_set_icon_name): Apply 2006-06-02 change for xfns.c. | |
5105 | ||
5106 | * macgui.h (USE_MAC_TSM): Set default to 1 on Mac OS X. | |
5107 | ||
5108 | * macterm.c (tsm_document_id) [USE_MAC_TSM]: New variable. | |
5109 | (Qtext_input, Qupdate_active_input_area, Qunicode_for_key_event) | |
5110 | [USE_MAC_TSM]: Likewise. | |
5111 | (syms_of_macterm) [USE_MAC_TSM]: Intern and staticpro them. | |
5112 | (Qbefore_string) [USE_MAC_TSM]: Add extern. | |
ca21600d JB |
5113 | (do_app_resume, do_app_suspend) [USE_MAC_TSM]: Call |
5114 | ActivateTSMDocument/DeactivateTSMDocument. | |
fabcf455 | 5115 | (mac_store_event_ref_as_apple_event): Call mac_post_mouse_moved_event. |
ca21600d JB |
5116 | (mac_handle_window_event) [USE_MAC_TSM]: Handle |
5117 | kEventWindowFocusAcquired/kEventWindowFocusRelinquish. | |
fabcf455 YM |
5118 | (mac_handle_text_input_event) [USE_MAC_TSM]: New function. |
5119 | (install_window_handler) [USE_MAC_TSM]: Install it. Register | |
5120 | kEventWindowFocusAcquired/kEventWindowFocusRelinquish. | |
5121 | (keycode_to_xkeysym_table): Add entry for f16. | |
5122 | (XTread_socket) [USE_MAC_TSM]: Set/reset read_socket_inev | |
5123 | before/after passing keystroke event to toolbox dispatcher. | |
5124 | (init_tsm) [USE_MAC_TSM]: New function. | |
5125 | (mac_initialize) [USE_MAC_TSM]: Call it. | |
5126 | (Vmac_ts_active_input_overlay) [USE_MAC_TSM]: New defvar. | |
5127 | ||
5128 | * macterm.h (EVENT_PARAM_TEXT_INPUT_SEQUENCE_NUMBER): New enumerator. | |
5129 | ||
4985dde2 JPW |
5130 | 2006-06-02 John Paul Wallington <jpw@gnu.org> |
5131 | ||
5132 | * xfns.c (x_set_name_internal): Set icon to `text', derived from | |
5133 | name, when frame's icon_name isn't a string rather than only when | |
5134 | it is nil. | |
5135 | ||
3f65d6f5 EZ |
5136 | 2006-06-03 Eli Zaretskii <eliz@gnu.org> |
5137 | ||
5138 | * w32fns.c (x_set_icon_name): Don't use arg if it's not a string | |
5139 | and not nil. | |
5140 | ||
56f41f98 CY |
5141 | 2006-06-02 Chong Yidong <cyd@stupidchicken.com> |
5142 | ||
ca21600d JB |
5143 | * xfns.c (x_set_icon_name): No-op if arg is non-nil and not a |
5144 | string. | |
56f41f98 | 5145 | |
70a4cae4 YM |
5146 | 2006-06-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5147 | ||
5148 | * xdisp.c (next_element_from_composition): Set it->object to | |
5149 | it->string if composition is coming from string. | |
5150 | (set_cursor_from_row): Don't return 0 unless row displays a | |
5151 | continued line. | |
5152 | (dump_glyph): Dump composite glyph. | |
06c7827a | 5153 | |
8b2b00f5 JD |
5154 | 2006-06-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5155 | ||
5156 | * gtkutil.c (menu_nav_ended): Check that menubar_widget is not NULL. | |
5157 | ||
963128f3 RS |
5158 | 2006-06-01 Richard Stallman <rms@gnu.org> |
5159 | ||
5160 | * window.c (Fsplit_window): Doc fix. | |
5161 | ||
24a71bb1 KS |
5162 | 2006-06-01 Micha\e,Ak\e(Bl Cadilhac <michael.cadilhac@lrde.org> |
5163 | ||
5164 | * process.c (deleted_pid_list): New variable to store the pids | |
5165 | of deleted processes. Declare it only if SIGCHLD is defined. | |
5166 | (init_process): Initialize it. | |
5167 | (syms_of_process): Staticpro it. | |
5168 | (Fdelete_process): Add pid of the deleted process to it. Check after | |
5169 | the addition and before the kill if the process is already stopped, | |
5170 | in which case it is deleted from the list and not killed. | |
5171 | (sigchld_handler): Define it only if SIGCHLD is. Search the process | |
5172 | that signaled Emacs in `deleted_pid_list' before `Vprocess_alist'. | |
5173 | Original idea by Stefan Monnier. | |
5174 | ||
a71a7704 KS |
5175 | 2006-06-01 Kim F. Storm <storm@cua.dk> |
5176 | ||
5177 | * dispnew.c (sit_for): Perform redisplay even if input is pending | |
5178 | when redisplay-dont-pause is non-nil. | |
5179 | ||
36f0107c YM |
5180 | 2006-06-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5181 | ||
5182 | * macterm.c (mac_handle_visibility_change): Set buf.arg to Qnil. | |
5183 | (XTread_socket): Remove obsolete comment. | |
5184 | ||
2e92a7cb JD |
5185 | 2006-06-01 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5186 | ||
5187 | * xmenu.c (syms_of_xmenu): Make accelerate-menu an alias for | |
5188 | menu-bar-open. | |
5189 | ||
c9467aaa JD |
5190 | 2006-06-01 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5191 | ||
5192 | * xmenu.c (Fmenu_bar_open, syms_of_xmenu): Change menu-bar-start to | |
5193 | menu-bar-open. | |
5194 | ||
5195 | * gtkutil.c (menu_nav_ended): Change x-menu-bar-start to menu-bar-open. | |
5196 | ||
82db8fa7 JL |
5197 | 2006-05-31 Juri Linkov <juri@jurta.org> |
5198 | ||
5199 | * minibuf.c (Vhistory_add_new_input): New variable. | |
5200 | (read_minibuf): Use it. | |
5201 | (syms_of_minibuf) <history-add-new-input>: New Lisp variable. | |
5202 | (syms_of_minibuf) <history-delete-duplicates>: Doc fix. | |
5203 | ||
360fecca KS |
5204 | 2006-05-31 Kim F. Storm <storm@cua.dk> |
5205 | ||
5206 | * process.c (select_wrapper): Add wrapper around select to work around | |
5207 | "incomplete backtrace" bug in gdb 5.3, when emacs is stopped inside | |
5208 | select called from wait_reading_process_output. | |
5209 | ||
303e108c AS |
5210 | 2006-05-30 Andreas Schwab <schwab@suse.de> |
5211 | ||
5212 | * xmenu.c (Fmenu_bar_start): Return a value. | |
5213 | ||
d9e8091d RS |
5214 | 2006-05-30 Richard Stallman <rms@gnu.org> |
5215 | ||
5216 | * coding.c (Ffind_operation_coding_system): Doc fix. | |
5217 | ||
7c42b3e0 EZ |
5218 | 2006-05-30 Eli Zaretskii <eliz@gnu.org> |
5219 | ||
5220 | * w32term.c (x_draw_hollow_cursor): Fix last change. | |
5221 | ||
73af0716 KS |
5222 | 2006-05-29 Kim F. Storm <storm@cua.dk> |
5223 | ||
5224 | * w32term.c (x_draw_stretch_glyph_string): Fix last change. | |
5225 | ||
5226 | 2006-05-29 Eli Zaretskii <eliz@gnu.org> | |
a952cebe EZ |
5227 | |
5228 | * coding.c (Ffind_operation_coding_system): Doc fix. | |
5229 | ||
ffd71266 YM |
5230 | 2006-05-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5231 | ||
5232 | * macfns.c [USE_MAC_FONT_PANEL] (Fmac_set_font_panel_visibility): | |
5233 | Call mac_set_font_info_for_selection if font panel is made visible. | |
5234 | ||
5235 | * macterm.c (font_panel_shown_p) [USE_MAC_FONT_PANEL]: New variable. | |
5236 | (mac_font_panel_visible_p, mac_show_hide_font_panel) | |
5237 | [USE_MAC_FONT_PANEL]: New functions. | |
523fc433 JB |
5238 | [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): |
5239 | Return immediately if font panel is not visible. | |
ffd71266 YM |
5240 | |
5241 | * macterm.h (mac_font_panel_visible_p, mac_show_hide_font_panel): | |
5242 | Add externs. | |
5243 | ||
01d09305 DN |
5244 | 2006-05-29 Dan Nicolaescu <dann@ics.uci.edu> |
5245 | ||
5246 | * search.c (matcher_overflow): Mark as NO_RETURN. | |
5247 | ||
5248 | * xterm.c (x_connection_closed): Likewise. | |
5249 | ||
5250 | * sysdep.c (croak): Likewise. | |
5251 | ||
5252 | * sound.c (sound_perror, alsa_sound_perror): Likewise. | |
5253 | ||
5254 | * lisp.h (die, nsberror): Likewise. | |
5255 | ||
c1c032a3 JD |
5256 | 2006-05-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5257 | ||
523fc433 JB |
5258 | * sound.c (alsa_open, alsa_configure, alsa_write): |
5259 | Move assignment to err out of if-statement. | |
3fc7a865 | 5260 | |
c1c032a3 | 5261 | * gtkutil.c (menu_nav_ended): New function. |
ca21600d JB |
5262 | (create_menus): Connect menu_nav_ended to "selection-done" to fix |
5263 | grabs. | |
c1c032a3 JD |
5264 | |
5265 | * xmenu.c (Fmenu_bar_start): New function for USE_GTK and USE_X_TOOLKIT. | |
5266 | ||
345b3483 DN |
5267 | 2006-05-28 Dan Nicolaescu <dann@ics.uci.edu> |
5268 | ||
5269 | * charset.h (invalid_character): Mark as NO_RETURN. | |
5270 | ||
7311509e KH |
5271 | 2006-05-29 Kenichi Handa <handa@m17n.org> |
5272 | ||
5273 | * coding.c (Ffind_operation_coding_system): Call a function by | |
5274 | safe_call1 instead of call1. | |
5275 | ||
6ad0381c SM |
5276 | 2006-05-28 Stefan Monnier <monnier@iro.umontreal.ca> |
5277 | ||
5278 | * window.c (struct saved_window): Add `dedicated'. | |
5279 | (Fset_window_configuration, save_window_save): Save/restore the | |
5280 | `dedicated' flag. | |
5281 | ||
794033ae KS |
5282 | 2006-05-28 Kim F. Storm <storm@cua.dk> |
5283 | ||
5284 | * xdisp.c (set_cursor_from_row): If cursor cannot be set in row, | |
5285 | don't update w->cursor and return 0. Return 1 on success. | |
5286 | (try_cursor_movement): Repeat set_cursor_from_row on successive rows | |
5287 | until it succeeds. | |
5288 | ||
5289 | * dispextern.h (set_cursor_from_row): Update prototype. | |
5290 | ||
26837cd3 KS |
5291 | 2006-05-28 Kim F. Storm <storm@cua.dk> |
5292 | ||
5293 | * xdisp.c (get_phys_cursor_geometry): Return computed x and y through | |
5294 | parameters. Adjust x and width in case cursor in on a partially | |
5295 | visible stretch glyph on the left edge. | |
5296 | (erase_phys_cursor): Don't erase into left fringe/margin in case | |
5297 | previous cursor glyph is a partially visible stretch glyph on left. | |
5298 | ||
5299 | * dispextern.h (get_phys_cursor_geometry): Update prototype. | |
5300 | ||
5301 | * xterm.c (x_draw_stretch_glyph_string): Fix problems with invisible | |
5302 | cursor and erasing cursor on partially visible stretch glyph on left. | |
5303 | (x_draw_hollow_cursor): Compute x via get_phys_cursor_geometry. | |
5304 | ||
5305 | * macterm.c: Likewise. | |
5306 | ||
5307 | * w32term.c: Likewise. | |
5308 | ||
412f3f18 YM |
5309 | 2006-05-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5310 | ||
6ad0381c SM |
5311 | * macselect.c (mac_handle_apple_event): |
5312 | Return errAEEventNotHandled if key binding is not found. | |
412f3f18 | 5313 | |
0f7078f0 EZ |
5314 | 2006-05-26 Eli Zaretskii <eliz@gnu.org> |
5315 | ||
5316 | * emacs.c (main) [PROFILING]: Enable also for __MINGW32__. | |
5317 | [__MINGW32__]: MinGW-specific declaration of `etext'. | |
5318 | ||
5319 | * w32heap.c (etext, edata): Remove unused definitions. | |
5320 | ||
795c20df CY |
5321 | 2006-05-26 Chong Yidong <cyd@stupidchicken.com> |
5322 | ||
6ad0381c SM |
5323 | * fileio.c (Fcopy_file): Delete argument MUSTBENEW. |
5324 | Incorporate the exclusive file-opening functionality into the behavior | |
5325 | when OK-IF-ALREADY-EXISTS is nil. | |
795c20df CY |
5326 | (Frename_file): Call Fcopy_file without MUSTBENEW argument. |
5327 | ||
07a7837c JD |
5328 | 2006-05-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5329 | ||
5330 | * sound.c (alsa_configure): Move get period/buffer_size after | |
5331 | setting hwparams. | |
5332 | ||
f1c582b4 KH |
5333 | 2006-05-26 Kenichi Handa <handa@m17n.org> |
5334 | ||
5335 | * coding.c (Ffind_operation_coding_system): Allow (FILENAME | |
5336 | . BUFFER) in TARGET. | |
5337 | ||
3165e450 CY |
5338 | 2006-05-25 Chong Yidong <cyd@stupidchicken.com> |
5339 | ||
5340 | * image.c (png_load): Don't call fclose on NULL. | |
5341 | ||
d579f53b LT |
5342 | 2006-05-25 Luc Teirlinck <teirllm@auburn.edu> |
5343 | ||
5344 | * fns.c (Fyes_or_no_p): | |
5345 | * callint.c (Fcall_interactively): Fread_from_minibuffer now takes | |
5346 | only seven args. | |
5347 | ||
abeb5483 JL |
5348 | 2006-05-25 Juri Linkov <juri@jurta.org> |
5349 | ||
5350 | * lisp.h (Fread_from_minibuffer): Decrement number of args. | |
5351 | ||
5352 | * minibuf.c (read_minibuf): Remove arg KEEP_ALL. Callers changed. | |
5353 | (Fread_from_minibuffer): Remove arg KEEP_ALL. Callers changed. | |
5354 | ||
5355 | * buffer.c (mode-line-format): Fix docstring. | |
5356 | ||
403a7bca RS |
5357 | 2006-05-25 Richard Stallman <rms@gnu.org> |
5358 | ||
5359 | * emacs.c (main, Fdump_emacs): Don't test __linux or __linux__. | |
5360 | ||
24b0232f LT |
5361 | 2006-05-24 Luc Teirlinck <teirllm@auburn.edu> |
5362 | ||
5363 | * puresize.h (BASE_PURESIZE): Increase to 1210000. | |
5364 | ||
ac9f37df AM |
5365 | 2006-05-24 Alan Mackenzie <acm@muc.de> |
5366 | ||
5367 | * lread.c (Vload_history): Enhance doc-string to say that the file | |
5368 | is the absolute truename of the loaded file. | |
5369 | ||
5370 | * lread.c (Vafter_load_alist): doc-string: state that an element | |
5371 | now has a regexp to match file names, not a file name as such. | |
5372 | ||
5373 | * lread.c (readevalloop): Call file-truename on the name for | |
5374 | load-history, except at preloading time. | |
5375 | ||
5376 | * lread.c (Fload): At preloading time, preserve the extension of | |
6ad0381c | 5377 | the filename which goes into load-history. New var hist_file_name. |
ac9f37df AM |
5378 | |
5379 | * lread.c (Fload): Do eval-after-load stuff by calling the lisp | |
5380 | function do-after-load-evaluation. | |
5381 | ||
e4dff88d YM |
5382 | 2006-05-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5383 | ||
5384 | * mac.c (ae_attr_table): New variable. | |
5385 | (syms_of_mac): Intern and staticpro its elements. | |
5386 | (mac_aelist_to_lisp): Also convert Apple event attributes. | |
5387 | (mac_ae_put_lisp): New function. | |
5388 | (create_apple_event_from_event_ref) [MAC_OSX]: Use typeUTF8Text. | |
5389 | ||
5390 | * macfns.c (Fx_server_version): Use gestaltSystemVersionMajor etc. | |
5391 | ||
5392 | * macselect.c (Qemacs_suspension_id): New variable. | |
5393 | (syms_of_macselect): Intern and staticpro it. | |
5394 | (struct suspended_ae_info): New struct. | |
5395 | (deferred_apple_events, defer_apple_events) | |
5396 | (Fmac_process_deferred_apple_events): Use it. | |
5397 | (suspended_apple_events): New variable. | |
5398 | (mac_handle_apple_event_1): New function. | |
5399 | (mac_handle_apple_event): Use it. Don't process previously | |
5400 | suspended events. | |
412f3f18 | 5401 | (cleanup_suspended_apple_events, get_suspension_id) |
e4dff88d YM |
5402 | (cleanup_all_suspended_apple_events): New functions. |
5403 | (init_apple_event_handler): Call cleanup_all_suspended_apple_events | |
5404 | at exit. | |
5405 | (Fmac_cleanup_expired_apple_events, Fmac_ae_set_reply_parameter) | |
5406 | (Fmac_resume_apple_event): New defuns. | |
5407 | (syms_of_macselect): Defsubr them. | |
5408 | ||
5409 | * macterm.c (fn_keycode_to_keycode_table, XTread_socket) [MAC_OSX]: | |
5410 | Fix last change. Don't map `fn' modifier if pressed with F1 ... F12. | |
5411 | ||
5412 | * macterm.h (TYPE_FILE_NAME): Change from macro to enumerator. | |
5413 | (KEY_EMACS_SUSPENSION_ID_ATTR): New enumerator. | |
5414 | (keyReplyRequestedAttr) [MAC_OS_X_VERSION_MAX_ALLOWED < 1030]: Likewise. | |
5415 | (gestaltSystemVersionMajor, gestaltSystemVersionMinor) | |
5416 | (gestaltSystemVersionBugFix) [MAC_OS_X_VERSION_MAX_ALLOWED < 1040]: | |
5417 | Likewise. | |
5418 | (typeUTF8Text, kEventParamWindowMouseLocation) | |
5419 | [MAC_OSX && MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Likewise. | |
5420 | (x_get_focus_frame, mac_ae_put_lisp): Add externs. | |
5421 | ||
b8c6940e YM |
5422 | 2006-05-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5423 | ||
5424 | * macterm.c (fn_keycode_to_xkeysym_table, convert_fn_keycode): Remove. | |
5425 | (fn_keycode_to_keycode_table) [MAC_OSX]: New variable. | |
5426 | (mac_set_unicode_keystroke_event) [TARGET_API_MAC_CARBON]: New function. | |
5427 | (XTread_socket) [TARGET_API_MAC_CARBON]: Use it. | |
5428 | (XTread_socket) [MAC_OSX]: Try 'uchr' Unicode keyboard-layout | |
5429 | resource to backtranslate key with modifiers. | |
5430 | (XTread_socket): Don't set read_socket_inev around AEProcessAppleEvent. | |
5431 | ||
0277e36c JD |
5432 | 2006-05-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5433 | ||
5434 | * xterm.c: Remove declarations already in xterm.h | |
5435 | ||
5436 | * xterm.h: Add extern declarations for x_clear_errors, | |
26837cd3 | 5437 | x_fully_uncatch_errors, x_catching_errors and |
0277e36c JD |
5438 | x_alloc_lighter_color_for_widget. Remove duplicated declarations. |
5439 | ||
63af6055 RS |
5440 | 2006-05-21 Richard Stallman <rms@gnu.org> |
5441 | ||
55815819 RS |
5442 | * xfaces.c (best_matching_font): Abort for best == NULL |
5443 | before we start to use it. | |
5444 | ||
63af6055 RS |
5445 | * buffer.c (syms_of_buffer, Fmake_overlay): Doc fixes. |
5446 | ||
5748161e KS |
5447 | 2006-05-20 Kim F. Storm <storm@cua.dk> |
5448 | ||
5449 | * xfaces.c (best_matching_font): Fix crash in 2006-05-17 change. | |
5450 | ||
431225c6 YM |
5451 | 2006-05-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5452 | ||
5453 | * macterm.c (convert_fn_keycode): Fix last change. | |
5454 | ||
e00b99c8 EZ |
5455 | 2006-05-19 Eli Zaretskii <eliz@gnu.org> |
5456 | ||
5457 | * w32.c (init_environment): Perform the processing of environment | |
5458 | variables on a copy of default variables and their values, not on | |
75e3b957 EZ |
5459 | the original. Simplify code that calls ExpandEnvironmentStrings |
5460 | and make buf1[] and buf2[] more visible for easier debugging. | |
e00b99c8 | 5461 | |
689840b9 YM |
5462 | 2006-05-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5463 | ||
5464 | * frame.c (x_set_border_width): Remove #ifndef MAC_OS. | |
5465 | ||
5466 | * image.c [MAC_OS] (gif_load): Allocate Lisp string first. | |
5467 | ||
5468 | * macfns.c (Fx_focus_frame): Don't check dpyinfo->x_focus_frame. | |
5469 | ||
5470 | * macterm.c (XTread_socket) [TARGET_API_MAC_CARBON && MAC_OSX]: | |
5471 | Forward keyUp events to toolbox_dispatcher. | |
5472 | ||
5473 | * window.c (foreach_window): Check WINDOWP (FRAME_ROOT_WINDOW (f)). | |
5474 | ||
a940e2c6 JD |
5475 | 2006-05-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5476 | ||
5477 | * config.in: Regenerated (HAVE_ALSA). | |
5478 | ||
5479 | * sound.c (alsa_sound_perror, alsa_open, alsa_period_size) | |
5480 | (alsa_configure, alsa_close, alsa_choose_format, alsa_write) | |
5481 | (snd_error_quiet, alsa_init): New functions. | |
5482 | (vox_init): Return 0 if unable to open device. | |
5483 | (Fplay_sound_internal): Test for alsa first and use vox (oss) as | |
5484 | a fallback. | |
5485 | (struct sound_device): Add period_size. | |
5486 | (wav_play, au_play): Use period_size if set. | |
5487 | ||
14a56a1b JB |
5488 | * Makefile.in (CFLAGS_SOUND): New flags for ALSA. |
5489 | (ALL_CFLAGS): Add CFLAGS_SOUND. | |
a940e2c6 | 5490 | |
8acb7dad KH |
5491 | 2006-05-18 Kenichi Handa <handa@m17n.org> |
5492 | ||
5493 | * callproc.c (Fcall_process): Reject encoding arguments by | |
5494 | ascii-incompatible coding systems (e.g. utf-16). | |
5495 | ||
5496 | * coding.c (Qascii_incompatible): New variable. | |
5497 | (syms_of_coding): Setup Qascii_incompatible. | |
5498 | (setup_coding_system): Be sure to initialize coding->common_flags. | |
5499 | Check `ascii-incompatible' property of the coding system. | |
5500 | ||
5501 | * coding.h (CODING_ASCII_INCOMPATIBLE_MASK): New macro. | |
5502 | ||
f5ecbcee KS |
5503 | 2006-05-18 Kim F. Storm <storm@cua.dk> |
5504 | ||
647b07d1 AS |
5505 | * xdisp.c (display_tool_bar_line): Restore entire tool-bar |
5506 | geometry when backtracking in case last image doesn't fit on line. | |
f5ecbcee | 5507 | |
856bb2b0 | 5508 | 2006-05-18 MIYOSHI Masanori <miyoshi@meadowy.org> (tiny change) |
f5ecbcee | 5509 | |
647b07d1 AS |
5510 | * xdisp.c (display_tool_bar_line): Don't adjust tool-bar height by |
5511 | more than height of one frame default line. | |
f5ecbcee | 5512 | |
5748161e KS |
5513 | 2006-05-17 Richard Stallman <rms@gnu.org> |
5514 | ||
5515 | * xfaces.c (better_font_p): Any font beats no font. | |
5516 | (best_matching_font): Simplify based on above change. | |
26837cd3 | 5517 | |
6f5c4cc9 | 5518 | * buffer.c (Fprevious_overlay_change, Fnext_overlay_change): Doc fixes. |
5748161e | 5519 | |
b3abe3a5 KS |
5520 | 2006-05-16 Kim F. Storm <storm@cua.dk> |
5521 | ||
5522 | * xterm.c (handle_one_xevent): Check that f is not NULL before | |
5523 | calling x_kill_gs_process. | |
5524 | ||
46a2df8e RS |
5525 | 2006-05-14 Richard Stallman <rms@gnu.org> |
5526 | ||
5527 | * textprop.c (Fnext_single_char_property_change) | |
5528 | (Fprevious_single_char_property_change): Don't allow returning | |
5529 | value beyond LIMIT in any cases. | |
5530 | (Fnext_char_property_change, Fprevious_char_property_change): Doc fix. | |
b3abe3a5 | 5531 | |
46a2df8e RS |
5532 | * intervals.c (get_local_map): Abort if POSITION outside BEGV, ZV. |
5533 | ||
79fb0ab7 JD |
5534 | 2006-05-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
5535 | ||
5536 | * xterm.c (handle_one_xevent): Check that f is not NULL before | |
5537 | calling _XEditResCheckMessages. | |
5538 | ||
0f479f06 KS |
5539 | 2006-05-14 Kim F. Storm <storm@cua.dk> |
5540 | ||
5541 | * xterm.c (handle_one_xevent): Fix crash in 2006-03-24 change. | |
5542 | ||
642c61f3 EZ |
5543 | 2006-05-13 Eli Zaretskii <eliz@gnu.org> |
5544 | ||
dac85f4b EZ |
5545 | * frame.c (x_set_border_width): Fix error message to say "frame", |
5546 | not "window". | |
5547 | ||
642c61f3 EZ |
5548 | * Makefile.in (SOME_MACHINE_LISP): Add fringe.elc. |
5549 | ||
4e8f005c CY |
5550 | 2006-05-12 Chong Yidong <cyd@stupidchicken.com> |
5551 | ||
5552 | * intervals.c (set_point_both): Fix mixup before before and after | |
5553 | in variable names. | |
5554 | ||
5555 | * editfns.c (Fline_beginning_position): Inhibit point-motion hooks | |
5556 | while setting point temporarily. | |
5557 | ||
1ed7b9ae RS |
5558 | 2006-05-11 Richard Stallman <rms@gnu.org> |
5559 | ||
5560 | * lread.c (readevalloop): Abort if START non-nil for non-buffer input. | |
5561 | ||
f46f3e21 KS |
5562 | 2006-05-11 Kim F. Storm <storm@cua.dk> |
5563 | ||
5564 | * xdisp.c (redisplay_tool_bar): Handle large tool-bar-border values. | |
5565 | ||
17ad716a KH |
5566 | 2006-05-11 Kenichi Handa <handa@m17n.org> |
5567 | ||
5568 | * fileio.c (Finsert_file_contents): Fix for the case of IO error | |
5569 | while handling replace operation. | |
5570 | ||
4da9c136 KH |
5571 | 2006-05-10 Kenichi Handa <handa@m17n.org> |
5572 | ||
5573 | * xfaces.c (realize_default_face) [HAVE_X_WINDOWS]: If the font | |
5574 | chosen for the default face was different from the frame font, | |
5575 | adjust the frame font. | |
5576 | ||
dec94049 YM |
5577 | 2006-05-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5578 | ||
5579 | * image.c (Qduration) [MAC_OS]: Undo previous change. | |
5580 | (syms_of_image) [MAC_OS]: Likewise. | |
5581 | [MAC_OS] (gif_load): Emulate Graphic Control Extension block. | |
5582 | ||
5583 | * macfns.c (x_to_mac_color): Fix shift amount change. | |
b8c6940e | 5584 | (mac_set_font) [USE_MAC_FONT_PANEL]: Use x_get_focus_frame. |
dec94049 YM |
5585 | [USE_MAC_FONT_PANEL] (Fmac_set_font_panel_visibility): Doc fix. |
5586 | ||
5587 | * macselect.c (Vmac_service_selection) [MAC_OSX]: Rename from | |
5588 | Vmac_services_selection. All uses changed. | |
5589 | (mac_store_service_event): Rename from mac_store_services_event in | |
5590 | extern and calls. | |
5591 | ||
ca21600d JB |
5592 | * macterm.c (Qservice) [MAC_OSX]: Rename from Qservices. All uses |
5593 | changed. | |
dec94049 YM |
5594 | [MAC_OSX] (mac_store_service_event): Rename from |
5595 | mac_store_services_event. All callers changed. | |
5596 | [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): Add args | |
5597 | FACE_ID and C. All callers changed. | |
ca21600d JB |
5598 | (x_free_frame_resources) [USE_MAC_FONT_PANEL]: Call |
5599 | mac_set_font_info_for_selection when focus frame is destroyed. | |
dec94049 YM |
5600 | (XTread_socket): Revert to FrontNonFloatingWindow/FrontWindow. |
5601 | ||
5602 | * macterm.h (mac_set_font_info_for_selection): Add 2nd and 3rd | |
5603 | args in extern. | |
5604 | ||
d3ee989e CY |
5605 | 2006-05-09 Chong Yidong <cyd@stupidchicken.com> |
5606 | ||
5607 | * keymap.c (describe_map): Avoid generating duplicate entries if | |
5608 | the shadowed binding has the same definition. | |
5609 | ||
5f2c7b2a KH |
5610 | 2006-05-09 Kenichi Handa <handa@m17n.org> |
5611 | ||
5612 | * keymap.c (push_key_description): Handle invalid character key. | |
5613 | ||
76a25e79 KH |
5614 | 2006-05-08 Kenichi Handa <handa@m17n.org> |
5615 | ||
5616 | * callproc.c (Fcall_process): Use system_eol_type for encoding | |
5617 | arguments if eol_type is not yet decided. | |
5618 | ||
5619 | * coding.h (system_eol_type): Extern it. | |
5620 | ||
5621 | * coding.c (setup_coding_system): For invalid coding-system, set | |
5622 | coding->eol_type to CODING_EOL_UNDECIDED. | |
5623 | (encode_coding): Cancel previous change. | |
5624 | (shrink_encoding_region): Likewise. | |
5625 | (code_convert_region1): Likewise. | |
5626 | (code_convert_string1): Likewise. | |
5627 | (code_convert_string_norecord): Likewise. | |
5628 | ||
5629 | * fileio.c (choose_write_coding_system): Use system_eol_type for | |
5630 | encoding if eol_type is not yet decided. | |
5631 | ||
5632 | * process.c (setup_process_coding_systems): Use system_eol_type | |
5633 | for encoding if eol_type is not yet decided. | |
5634 | (read_process_output): Likewise. | |
5635 | (send_process): Likewise. | |
5636 | ||
f4b46bb9 JB |
5637 | 2006-05-07 Juanma Barranquero <lekktu@gmail.com> |
5638 | ||
5639 | * minibuf.c (syms_of_minibuf) <history-length>: Fix typo in doc. | |
5640 | ||
cc9945f2 YM |
5641 | 2006-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5642 | ||
5643 | * mac.c (Fmac_clear_font_name_table): Move defun to macfns.c. | |
5644 | (syms_of_mac): Likewise for defsubr. | |
5645 | ||
5646 | * macfns.c (mac_set_font): New function. | |
5647 | (mac_frame_parm_handlers, syms_of_macfns): Replace x_set_font with it. | |
5648 | (mac_window) [TARGET_API_MAC_CARBON && MAC_OSX]: Specify | |
5649 | kWindowToolbarButtonAttribute when creating window. | |
5650 | (Fmac_clear_font_name_table): Move from macfns.c. | |
5651 | (syms_of_macfns): Likewise for defsubr. | |
5652 | [USE_MAC_FONT_PANEL] (Fmac_set_font_panel_visibility): New defun. | |
5653 | (syms_of_macfns) [USE_MAC_FONT_PANEL]: Defsubr it. | |
5654 | ||
5655 | * macgui.h (USE_MAC_FONT_PANEL): Define to 1 if USE_ATSUI is set | |
5656 | and build is done on Mac OS X 10.2 and later. | |
5657 | ||
5658 | * macselect.c (mac_do_receive_drag): Remove unused variable `index'. | |
5659 | (mac_store_services_event): Change return type in extern. | |
5660 | ||
dec94049 YM |
5661 | * macterm.c (XLoadQueryFont) [USE_ATSUI]: Set font->mac_fontnum to |
5662 | FMFontFamily value. | |
cc9945f2 YM |
5663 | [USE_MAC_FONT_PANEL] (mac_set_font_info_for_selection): New function. |
5664 | (x_new_focus_frame) [USE_MAC_FONT_PANEL]: Use it. | |
5665 | (QCfamily, QCweight, QCslant, Qnormal, Qbold, Qitalic): Add extern. | |
5666 | (QWindow) [MAC_OSX]: Likewise. | |
5667 | (Qfont) [USE_MAC_FONT_PANEL]: Likewise. | |
5668 | (Vmac_atsu_font_table) [USE_ATSUI]: New variable. | |
5669 | (syms_of_macterm) [USE_ATSUI]: Defvar it. | |
5670 | (Qtoolbar_switch_mode) [MAC_OSX]: New variable. | |
5671 | (Qpanel_closed, Qselection) [USE_MAC_FONT_PANEL]: Likewise. | |
5672 | (syms_of_macterm): Intern and staticpro them. | |
dec94049 | 5673 | (init_font_name_table) [USE_ATSUI]: Add data to Vmac_atsu_font_table. |
523fc433 JB |
5674 | [TARGET_API_MAC_CARBON] (mac_store_event_ref_as_apple_event): |
5675 | New function. | |
cc9945f2 YM |
5676 | [USE_CARBON_EVENTS] (mac_handle_command_event): Use it. |
5677 | [MAC_OSX] (mac_store_services_event): Likewise. | |
5678 | [USE_CARBON_EVENTS] (mac_handle_window_event) [MAC_OSX]: Handle | |
5679 | kEventWindowToolbarSwitchMode event. | |
5680 | (install_window_handler) [USE_CARBON_EVENTS && MAC_OSX]: Register it. | |
5681 | [MAC_OSX] (mac_store_services_event): Change return type to OSStatus. | |
5682 | [USE_MAC_FONT_PANEL] (mac_handle_font_event): New function. | |
5683 | (install_window_handler) [USE_MAC_FONT_PANEL]: Install it. | |
5684 | (XTread_socket): Select window on mouse click if x_focus_frame is NULL. | |
5685 | ||
5686 | * macterm.h (mac_set_font_info_for_selection): Add extern. | |
5687 | ||
41f7a85e YM |
5688 | 2006-05-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5689 | ||
5690 | * image.c (Qduration) [MAC_OS]: New variable. | |
5691 | (syms_of_image) [MAC_OS]: Intern and staticpro it. | |
5692 | [MAC_OS] (gif_load): Save image extension data in img->data.lisp_val. | |
5693 | [MAC_OSX] (image_load_quartz2d): Use cfstring_create_with_utf8_cstring | |
5694 | instead of cfstring_create_with_string. | |
5695 | ||
a1dfdf24 KS |
5696 | 2006-05-06 Kim F. Storm <storm@cua.dk> |
5697 | ||
5698 | * .gdbinit (xframe): Print frame name. | |
5699 | (xlist): New command to print a list (max 10 elements). | |
5700 | (xpr): Print lisp object of any type. | |
5701 | (pitx): Print it->pixel_width. | |
5702 | ||
37e21325 KH |
5703 | 2006-05-05 Kenichi Handa <handa@m17n.org> |
5704 | ||
5705 | * xdisp.c (handle_composition_prop): Fix for the case of empty | |
5706 | composition component. | |
5707 | ||
ef0154b5 YM |
5708 | 2006-05-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5709 | ||
5710 | * keyboard.c (make_lispy_event) [MAC_OS]: Get Apple event info | |
5711 | from event->arg. | |
5712 | ||
5713 | * termhooks.h (enum event_kind) [MAC_OS]: Update comment for | |
5714 | MAC_APPLE_EVENT. | |
5715 | ||
5716 | * macterm.h (mac_make_lispy_event_code): Remove extern. | |
5717 | (mac_post_mouse_moved_event): Add extern. | |
5718 | (mac_aelist_to_lisp, mac_aedesc_to_lisp): Change arg 1 to | |
5719 | `const AEDesc *' in externs. | |
5720 | (create_apple_event_from_drag_ref) [TARGET_API_MAC_CARBON]: New extern. | |
5721 | ||
5722 | * mac.c (mac_aelist_to_lisp, mac_aedesc_to_lisp): Change arg 1 to | |
5723 | `const AEDesc *'. | |
5724 | [TARGET_API_MAC_CARBON] (create_apple_event): New function. | |
5725 | [TARGET_API_MAC_CARBON] (create_apple_event_from_event_ref): Use it. | |
5726 | Use xrealloc instead of repeated xmalloc/xfree. | |
523fc433 JB |
5727 | [TARGET_API_MAC_CARBON] (create_apple_event_from_drag_ref): |
5728 | New function. | |
ef0154b5 YM |
5729 | |
5730 | * macmenu.c (restore_menu_items, cleanup_popup_menu): Return a value. | |
5731 | ||
5732 | * macselect.c: Update copyright year. | |
5733 | (mac_store_apple_event): Change return type to void in extern. | |
5734 | (mac_handle_apple_event): Don't get return value from | |
5735 | mac_store_apple_event. | |
5736 | [TARGET_API_MAC_CARBON] (Vmac_dnd_known_types): New variable. | |
5737 | (syms_of_macselect) [TARGET_API_MAC_CARBON]: Defvar it. | |
5738 | [TARGET_API_MAC_CARBON] (mac_do_track_drag): Move function from | |
5739 | macterm.c. Use Vmac_dnd_known_types as acceptable flavors. | |
5740 | [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Likewise. New | |
5741 | implementation using create_apple_event_from_drag_ref. | |
5742 | [TARGET_API_MAC_CARBON] (mac_do_track_dragUPP) | |
5743 | (mac_do_receive_dragUPP): Move variables from macterm.c. | |
5744 | (install_drag_handler, remove_drag_handler): New functions. | |
5745 | ||
5746 | * macterm.c (XTread_socket) [TARGET_API_MAC_CARBON]: Try window | |
5747 | path select also for proxy icon click. | |
5748 | [TARGET_API_MAC_CARBON] (mac_post_mouse_moved_event): New function. | |
5749 | [USE_TOOLKIT_SCROLL_BARS] (scroll_bar_timer_callback): Use it. | |
5750 | (xlfdpat_create): Remove unused label `error' and trailing sentences. | |
5751 | (mac_do_track_drag, mac_do_receive_drag): Move functions to macselect.c. | |
5752 | (mac_do_track_dragUPP, mac_do_receive_dragUPP): Move variables to | |
5753 | macselect.c. | |
5754 | (install_drag_handler, remove_drag_handler): Add extern. | |
5755 | (mac_store_apple_event): Change return type to void. All uses changed. | |
5756 | Create Lisp object from Apple event and store it into input event. | |
5757 | (mac_make_lispy_event_code): Remove function. | |
5758 | [TARGET_API_MAC_CARBON] (mac_store_drag_event): New function. | |
5759 | (install_window_handler): Call install_drag_handler. | |
5760 | (remove_window_handler): Call remove_drag_handler. | |
5761 | ||
8b0ba111 RS |
5762 | 2006-05-03 Richard Stallman <rms@gnu.org> |
5763 | ||
e4a9a1cf RS |
5764 | * sound.c (Fplay_sound_internal): Dynamically allocate |
5765 | current_sound_device and current_sound. | |
5766 | (sound_cleanup): Free them. | |
5767 | ||
8b0ba111 RS |
5768 | * minibuf.c (read_minibuf): Don't use read_minibuf_noninteractive |
5769 | when inside a keyboard macro. | |
5770 | ||
64ec8b2f AS |
5771 | 2006-05-02 Andreas Schwab <schwab@suse.de> |
5772 | ||
5773 | * xmenu.c (restore_menu_items): Return a value. | |
5774 | ||
fcdd4585 SM |
5775 | 2006-05-01 Martin Rudalics <rudalics@gmx.at> |
5776 | ||
5777 | * syntax.c (Fforward_comment): Detect generic comment at beginning of | |
5778 | buffer when moving backwards. | |
5779 | ||
c1eb34c2 YM |
5780 | 2006-05-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5781 | ||
5782 | * dispnew.c (update_window): Don't set changed_p when mode/header | |
5783 | line is updated. | |
5784 | ||
5785 | * xdisp.c (prepare_menu_bars) [MAC_OS]: Call mac_update_title_bar. | |
fcdd4585 SM |
5786 | (get_glyph_face_and_encoding, get_char_face_and_encoding): |
5787 | Don't distinguish known faces from others. | |
c1eb34c2 YM |
5788 | |
5789 | * mac.c (mac_coerce_file_name_ptr): Try typeFSRef if coercion | |
5790 | through typeFileURL failed. | |
5791 | ||
5792 | * macfns.c (mac_update_title_bar): New function. | |
5793 | [TARGET_API_MAC_CARBON] (mac_update_proxy_icon): New function. | |
fcdd4585 SM |
5794 | (show_hourglass, hide_hourglass) [USE_CG_DRAWING]: |
5795 | Call mac_prepare_for_quickdraw. | |
c1eb34c2 YM |
5796 | |
5797 | * macgui.h (USE_ATSUI): Set default to 1 if MAC_OSX is defined. | |
5798 | (USE_CG_DRAWING): Don't define if compiled on Mac OS X 10.1. | |
5799 | (enum pcm_status): New enum. | |
5800 | (XCHARSTRUCTROW_CHAR_VALID_P, XCHARSTRUCTROW_SET_CHAR_VALID) | |
5801 | (XCharStructRow): Remove. Now validity is represented by | |
5802 | non-negativeness of sum of ascent and descent. | |
5803 | (struct MacFontStruct): Change type of member `rows'. | |
5804 | (struct _XGC) [USE_CG_DRAWING]: Add member `clip_rects'. | |
5805 | ||
fcdd4585 SM |
5806 | * macterm.c (mac_draw_line, mac_draw_line_to_pixmap): |
5807 | Adjust endpoints of strictly horizontal/vertical lines. | |
c1eb34c2 YM |
5808 | (mac_set_clip_rectangles) [USE_CG_DRAWING]: Set clip_rects. |
5809 | (pcm_init, pcm_get_status): New functions. | |
5810 | (x_per_char_metric, XLoadQueryFont): Use them instead of | |
5811 | XCharStructRow and related macros. | |
5812 | (x_draw_relief_rect): Don't adjust arguments of mac_draw_line. | |
5813 | (x_free_frame_resources) [TARGET_API_MAC_CARBON]: Free FRAME_FILE_NAME. | |
5814 | (XTread_socket) [TARGET_API_MAC_CARBON]: Handle proxy icon drag | |
5815 | and window path pop-up menu on title bar. | |
5816 | (mac_use_core_graphics) [USE_CG_DRAWING]: Set default to 1. | |
5817 | ||
5818 | * macterm.h (mac_update_title_bar): Add extern. | |
5819 | (struct mac_output) [TARGET_API_MAC_CARBON]: New member `file_name'. | |
5820 | (FRAME_FILE_NAME): New macro. | |
5821 | ||
5822 | * unexmacosx.c (unexec): Error if trying unexec from dumped executable. | |
5823 | ||
9abc5f45 RS |
5824 | 2006-04-30 Richard Stallman <rms@gnu.org> |
5825 | ||
5826 | * keymap.c (Fdefine_key): Improve error message | |
5827 | when KEY begins with a non-prefix key. | |
5828 | ||
5fed8c15 | 5829 | 2006-04-30 Martin Rudalics <rudalics@gmx.at> |
39c41ad4 SM |
5830 | |
5831 | * syntax.c (Fforward_comment): Don't forget to break out of the loop | |
5832 | when we skipped backward over a generic comment. | |
5833 | ||
4a113e3f NR |
5834 | 2006-04-27 Nick Roberts <nickrob@snap.net.nz> |
5835 | ||
5836 | * .gdbinit (pp1, pv1): Only print value as expression is now | |
5837 | printed out by gud-print. | |
5838 | (pv1): Correct doc string. | |
5839 | ||
e89e07cc SM |
5840 | 2006-04-26 Stefan Monnier <monnier@iro.umontreal.ca> |
5841 | ||
5842 | * keymap.c (store_in_keymap): Change `def' arg to not be `register'. | |
5843 | Seems to trigger a bug in gcc-amd64 4.0.2 20051125 (Red Hat 4.0.2-8): | |
5844 | keymap.c:895: error: address of register variable `def' requested. | |
5845 | ||
7d6f8c68 JR |
5846 | 2006-04-26 Jason Rumney <jasonr@gnu.org> |
5847 | ||
8b03732e JR |
5848 | * w32term.c (construct_mouse_wheel): Handle negative coordinates. |
5849 | ||
7d6f8c68 JR |
5850 | * w32fns.c (w32_wnd_proc) <WM_LBUTTONDOWN, WM_RBUTTONDOWN>: |
5851 | <WM_LBUTTONUP, WM_RBUTTONUP>: Call signal_user_input in the cases | |
5852 | where we preempt mouse_button_timer. | |
5853 | ||
51d793da MB |
5854 | 2006-04-25 Miles Bader <miles@gnu.org> |
5855 | ||
5856 | * editfns.c (Ffield_beginning, find_field): Undo change of 2006-04-23. | |
5857 | ||
a9ec7317 SM |
5858 | 2006-04-24 Stefan Monnier <monnier@iro.umontreal.ca> |
5859 | ||
5860 | * process.h: Include headers for pid_t. | |
5861 | ||
e9346494 KS |
5862 | 2006-04-24 Kim F. Storm <storm@cua.dk> |
5863 | ||
1ada896b KS |
5864 | * xdisp.c (fill_stretch_glyph_string): Set s->nchars = 1 for code which |
5865 | does last_glyph=s->first_glyph+s->nchars-1, e.g. if stretch has relief. | |
6fcd305c | 5866 | (produce_stretch_glyph): Assume that face box height and width is |
5e1a6e32 | 5867 | already included in stretch glyph size so caller doesn't have to |
6fcd305c | 5868 | consider the extra space otherwise added (fixes problem in ses.el). |
1ada896b | 5869 | |
e9346494 KS |
5870 | * frame.c (x_set_font): Clear f->n_tool_bar_rows and current frame |
5871 | matrices to force recalculation of tool-bar height after font change. | |
5872 | ||
5873 | * xdisp.c (tool_bar_lines_needed): New local `temp_row' for clarity. | |
14922abe KS |
5874 | Clear it when done, so we don't accidentally draw a second copy of |
5875 | the tool-bar after resetting f->n_tool_bar_rows. | |
e9346494 KS |
5876 | (redisplay_tool_bar): Update tool-bar-lines frame parameter whenever |
5877 | we recalculate f->n_tool_bar_rows. | |
5878 | ||
4f261b99 RF |
5879 | 2006-04-23 Lars Hansen <larsh@soem.dk> |
5880 | ||
59062dce LH |
5881 | * editfns.c (find_field): Fix comment. |
5882 | (Ffield_beginning): Fix bug when POS is at field beginning. | |
5883 | ||
3705332d EZ |
5884 | 2006-04-22 Eli Zaretskii <eliz@gnu.org> |
5885 | ||
5886 | * puresize.h (BASE_PURESIZE): Increase to 1205000. | |
5887 | ||
cdd2341c KS |
5888 | 2006-04-21 Kim F. Storm <storm@cua.dk> |
5889 | ||
95797ede KS |
5890 | * xdisp.c (redisplay_window): Fix last change. Don't recenter if |
5891 | window start is at BEGV. | |
5892 | ||
cdd2341c KS |
5893 | * dispextern.h (struct image): New member `corners'. |
5894 | (TOP_CORNER, LEFT_CORNER, BOT_CORNER, RIGHT_CORNER): New macros. | |
5895 | ||
5896 | * image.c (four_corners_best): New arg CORNERS specifies what pixels | |
5897 | to look at in case image has margin. | |
5898 | (x_create_bitmap_mask): Pass NULL for CORNERS to four_corners_best. | |
5899 | (image_background, image_background_transparent) | |
5900 | (x_build_heuristic_mask): Pass img->corners to four_corners_best. | |
5901 | (gif_load): Set img->corners according to image's margin spec. | |
5902 | Use img->corners values directly where applicable. | |
5903 | Save image extension data in img->data.lisp_val. | |
5904 | (gif_clear_image): New function to free img->data.lisp_val. | |
5905 | (gif_type): Use it instead of generic x_clear_image. | |
5906 | (Fimage_extension_data): New defun. | |
5907 | (syms_of_image): Defsubr it. | |
5908 | ||
72ffd9d0 EZ |
5909 | 2006-04-21 John Sullivan <john@wjsullivan.net> (tiny change) |
5910 | ||
5911 | * window.c (Fdisplay_buffer): Doc fix. | |
5912 | ||
0d95f6b2 EZ |
5913 | 2006-04-21 Eli Zaretskii <eliz@gnu.org> |
5914 | ||
5915 | * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Increase to 25000. | |
5916 | ||
a0c62ca2 YM |
5917 | 2006-04-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5918 | ||
5919 | * image.c [MAC_OS] (xpm_load_image): Fill in background field | |
5920 | while we have ximg handy. | |
5921 | ||
5922 | * macmenu.c (restore_menu_items, save_menu_items): New functions | |
5923 | from xmenu.c. | |
5924 | (set_frame_menubar, digest_single_submenu): Apply 2006-04-18 | |
5925 | changes for xmenu.c. | |
5926 | ||
5927 | * macterm.c (x_per_char_metric): Return NULL if glyph width is 0. | |
5928 | (add_mac_font_name): New function. | |
5929 | (init_font_name_table): Use it. Adopt the first found font from | |
5930 | those having the same family name. | |
5931 | ||
bf49275d NR |
5932 | 2006-04-21 Nick Roberts <nickrob@snap.net.nz> |
5933 | ||
5934 | * xdisp.c (note_mouse_highlight): Use build_string. | |
5935 | ||
570fab6c LH |
5936 | 2006-04-20 Lars Hansen <larsh@soem.dk> |
5937 | ||
a9ec7317 SM |
5938 | * textprop.c (Fremove_list_of_text_properties): |
5939 | Ensure modify_region is called only when buffer is modified and that | |
570fab6c LH |
5940 | signal_after_change is allways called in that case. |
5941 | ||
5942 | * print.c (PRINTFINISH): Call signal_after_change. | |
5943 | ||
7f32b80b KS |
5944 | 2006-04-20 Kim F. Storm <storm@cua.dk> |
5945 | ||
bdb60d06 KS |
5946 | * xdisp.c (redisplay_window): Fix last change. |
5947 | ||
5e1a6e32 | 5948 | * xdisp.c (redisplay_window): If current window start is not at the |
7f32b80b KS |
5949 | beginning of a line, select a new window start if buffer is modified |
5950 | and window start is in the modified region, but the first change is | |
5951 | before window start. | |
5952 | ||
290e4aae RS |
5953 | 2006-04-18 Richard Stallman <rms@gnu.org> |
5954 | ||
5955 | * xmenu.c (restore_menu_items, save_menu_items): New fns. | |
5956 | (set_frame_menubar): Use save_menu_items. Save updated vector in | |
a9ec7317 SM |
5957 | the frame before unwinding it. Don't use unuse_menu_items. |
5958 | Don't use discard_menu_items. | |
290e4aae RS |
5959 | (digest_single_submenu): Abort if an item is not in a pane. |
5960 | (init_menu_items): Put the error check at the top. | |
5961 | ||
5962 | * keymap.c (describe_map): Make "shadowed" warning more verbose. | |
5963 | ||
5964 | * window.c (adjust_window_trailing_edge): Correctly distinguish | |
5965 | series vs parallel cases, even when window has no parent. | |
5966 | ||
5967 | * abbrev.c (record_symbol): New function. | |
5968 | (Finsert_abbrev_table_description): Sort the abbrevs alphabetically. | |
5969 | ||
b96fe6ea YM |
5970 | 2006-04-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
5971 | ||
5972 | * image.c (x_create_bitmap_from_data) [MAC_OS]: Don't check return | |
5973 | value of xmalloc. | |
5974 | ||
5975 | * mac.c (mac_coerce_file_name_ptr, mac_coerce_file_name_desc) | |
5976 | (create_apple_event_from_event_ref, xrm_get_preference_database) | |
5977 | (cfstring_create_normalized): Don't check return value of xmalloc. | |
5978 | ||
5979 | * macselect.c (get_scrap_target_type_list, defer_apple_events) | |
5980 | (copy_scrap_flavor_data, mac_handle_service_event): Don't check | |
5981 | return value of xmalloc/xrealloc. | |
5982 | ||
5983 | * macterm.c (XCreateGC, x_per_char_metric, xlfdpat_create) | |
5984 | (init_font_name_table, init_font_name_table, mac_do_list_fonts) | |
a0c62ca2 YM |
5985 | (XLoadQueryFont, mac_store_apple_event): Don't check return value |
5986 | of xmalloc. | |
b96fe6ea | 5987 | |
6c7809b3 NR |
5988 | 2006-04-17 Kim F. Storm <storm@cua.dk> |
5989 | ||
5990 | * window.c (coordinates_in_window): On the vertical border, | |
5991 | calculate the row number measured from the top of the window, not | |
5992 | the top of the frame. | |
39d78835 KS |
5993 | (window_loop): Test w->dedicated with !NILP instead of EQ Qt. |
5994 | (window_scroll_pixel_based): Fix off-by-one bug in 2002-12-23 change. | |
6c7809b3 | 5995 | |
4bba3064 EZ |
5996 | 2006-04-16 Eli Zaretskii <eliz@gnu.org> |
5997 | ||
5998 | * s/ms-w32.h (SYSTEM_PURESIZE_EXTRA): Reduce to 24000. | |
5999 | ||
8d95636b RF |
6000 | 2006-04-16 Romain Francoise <romain@orebokech.com> |
6001 | ||
6002 | * puresize.h (BASE_PURESIZE): Decrement back to 1200000. | |
6003 | ||
6a258a33 AS |
6004 | 2006-04-16 Andreas Schwab <schwab@suse.de> |
6005 | ||
6006 | * puresize.h (PURESIZE_RATIO): Reduce to 10/6. | |
6007 | ||
f70a96b0 RF |
6008 | 2006-04-15 Romain Francoise <romain@orebokech.com> |
6009 | ||
6010 | * puresize.h (BASE_PURESIZE): Increment to 1210000. | |
6011 | ||
28b257dc | 6012 | 2006-04-13 Micha\e,Ak\e(Bl Cadilhac <michael.cadilhac@lrde.org> |
cda4c00b EZ |
6013 | |
6014 | * print.c (Fprin1_to_string): Mention in the `doc' that the | |
6015 | behavior is modified by `print-level' and `print-length'. | |
6016 | ||
6e9715ae KH |
6017 | 2006-04-13 Kenichi Handa <handa@m17n.org> |
6018 | ||
6019 | * coding.c (setup_coding_system): If eol-type is not yet decided | |
6020 | and system_eol_type is not LF, set CODING_REQUIRE_ENCODING_MASK. | |
6021 | If coding_system is nil, return 0. | |
6022 | (code_convert_region1): Even if coding_system is nil, don't skip | |
6023 | conversion if system_eol_type is not LF. | |
6024 | (code_convert_string1): Likewise. | |
6025 | (code_convert_string_norecord): Likewise. | |
6026 | ||
2b89a53f KH |
6027 | 2006-04-13 Kenichi Handa <handa@m17n.org> |
6028 | ||
6029 | * coding.c (setup_coding_system): Fix previous change. | |
a9ec7317 | 6030 | (encode_coding): If eol_type is not yet decided, use system_eol_type. |
73ec0f89 KH |
6031 | (shrink_encoding_region): If eol_type is not yet decided and |
6032 | system_eol_type is not LF, don't shrink. | |
2b89a53f | 6033 | |
5c24517a NR |
6034 | 2006-04-13 Nick Roberts <nickrob@snap.net.nz> |
6035 | ||
ca21600d JB |
6036 | * xdisp.c (note_mouse_highlight): Add help echo for dragging vertical |
6037 | line. | |
5c24517a | 6038 | |
9d1a8e5d RS |
6039 | 2006-04-12 Richard Stallman <rms@gnu.org> |
6040 | ||
a53fe666 RS |
6041 | * keyboard.c (read_key_sequence): Explicitly avoid keybuf[-1]. |
6042 | ||
9d1a8e5d RS |
6043 | * process.c (conv_lisp_to_sockaddr): If FAMILY unknown, just return. |
6044 | (Fprocess_send_eof): Abort if fail to open null device. | |
6045 | ||
190998d8 YM |
6046 | 2006-04-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6047 | ||
6048 | * fns.c [HAVE_MENUS && MAC_OS]: Include macterm.h. | |
6049 | ||
6050 | * image.c [MAC_OS] (xpm_load_image): Add parentheses around | |
6051 | assignment used as truth value. Add explicit braces to avoid | |
6052 | ambiguous `else'. | |
6053 | [MAC_OS] (gif_load): Remove unused variable `gcpro1'. | |
6054 | ||
6055 | * lisp.h (syms_of_fontset, Fset_fontset_font): Put extern and | |
6056 | EXFUN in #ifdef HAVE_WINDOW_SYSTEM. | |
6057 | (syms_of_xfns, syms_of_xsmfns, syms_of_xselect, syms_of_xterm): | |
6058 | Put externs in #ifdef HAVE_X_WINDOWS. | |
6059 | (syms_of_macfns, syms_of_macselect, syms_of_macterm) | |
6060 | (syms_of_macmenu, syms_of_mac) [MAC_OS]: Add externs. | |
6061 | (init_mac_osx_environment) [MAC_OSX]: Add extern. | |
6062 | ||
6063 | * mac.c (init_process): Remove undef. | |
6064 | (select) [MAC_OSX]: Undefine before including sysselect.h. | |
6065 | (posix_pathname_to_fsspec, fsspec_to_posix_pathname) [MAC_OSX]: | |
6066 | Remove functions and prototypes. | |
6067 | (parse_value): Add parentheses around + inside shift. | |
6068 | (path_from_vol_dir_name): Make static. | |
6069 | (get_temp_dir_name): Remove unused variables `cpb' and `dir_name'. | |
6070 | [!MAC_OSX] (get_path_to_system_folder): Likewise. | |
6071 | (Fmac_get_file_creator, Fmac_get_file_type): Remove unused | |
6072 | variable `cCode'. | |
6073 | (Fmac_coerce_ae_data): Remove unused variables `fref' and `fs'. | |
6074 | (Fmac_get_preference): Add explicit braces to avoid ambiguous `else'. | |
6075 | ||
6076 | * macfns.c (x_to_mac_color): Remove unused variable `tail'. | |
6077 | (x_set_mouse_color): Remove unused variable `dpy'. | |
6078 | (Fx_create_frame): Remove unused variable `x_frame_count'. | |
6079 | (Fx_server_version): Add explicit braces to avoid ambiguous `else'. | |
6080 | (x_sync): Move from macterm.c. | |
6081 | (Fx_file_dialog): Remove unused variable `default_filter_index'. | |
6082 | ||
6083 | * macmenu.c (min_menu_id): Make element type explicit. | |
6084 | ||
6085 | * macselect.c (get_flavor_type_from_symbol): Remove unused | |
6086 | variable `val'. | |
6087 | (get_scrap_private_timestamp, x_get_foreign_selection) | |
6088 | (copy_scrap_flavor_data): Add explicit braces to avoid ambiguous `else'. | |
6089 | (Fmac_process_deferred_apple_events): Remove unused variables | |
6090 | `keyword', `reply', `apple_event', `count', and `err'. | |
6091 | ||
6092 | * macterm.c: Don't include gnu.h. | |
6093 | (x_io_error_quitter, x_draw_image_foreground_1): Remove prototypes. | |
6094 | (x_sync): Move to macfns.c. | |
6095 | [USE_CG_DRAWING] (mac_define_fringe_bitmap): Remove unused | |
6096 | variable `mask_bits'. | |
6097 | (mac_compute_glyph_string_overhangs): Avoid ambiguous `else'. | |
6098 | (x_draw_image_glyph_string): Remove unused variable `pixmap'. | |
6099 | (x_mac_to_emacs_modifiers): Remove function. | |
6100 | (XTset_vertical_scroll_bar, mac_handle_visibility_change) | |
6101 | (x_make_frame_visible, xlfdpat_create, mac_handle_command_event): | |
6102 | Add explicit braces to avoid ambiguous `else'. | |
6103 | (x_make_frame_visible): Remove unused variables `type', | |
6104 | `original_top', and `original_left'. | |
6105 | (mac_do_list_fonts, XTread_socket): Add parentheses around && within ||. | |
6106 | (x_load_font): Remove unused variables `full_name', and `value'. | |
6107 | (do_get_menus, do_init_managers, do_check_ram_size) [!MAC_OS8]: | |
6108 | Remove functions. | |
6109 | (do_zoom_window): Reorganize variables with respect to conditionals. | |
6110 | (init_command_handler): Remove unused variable `err'. | |
6111 | [MAC_OSX] (mac_check_bundle): Remove unused variable `child'. | |
6112 | ||
6113 | * macterm.h (x_set_mouse_position, x_set_mouse_pixel_position) | |
6114 | (x_make_frame_invisible, x_iconify_frame, x_free_frame_resources) | |
6115 | (x_destroy_window, x_wm_set_size_hint, x_delete_display, XFreeGC) | |
6116 | (do_menu_choice, have_menus_p, x_real_positions) | |
6117 | (x_set_menu_bar_lines, x_pixel_width, x_pixel_height, x_char_width) | |
6118 | (x_char_height, x_sync, x_set_tool_bar_lines, x_activate_menubar) | |
6119 | (free_frame_menubar): Add externs. | |
6120 | ||
6121 | * unexmacosx.c: Include config.h before using HAVE_MALLOC_MALLOC_H. | |
6122 | (malloc, realloc, free): Add undefs. | |
6123 | (read_load_commands): Remove unused variable `n' and `j'. | |
6124 | (copy_data_segment): Remove unused variable `r'. | |
6125 | ||
6126 | * xdisp.c (get_glyph_string_clip_rects): Add parentheses around && | |
6127 | within ||. Add explicit braces to avoid ambiguous `else'. | |
6128 | (dump_glyph_row): Remove label for `inverse_p' from legend. | |
6129 | ||
a9ec7317 SM |
6130 | * xfaces.c (Finternal_merge_in_global_face, try_font_list): |
6131 | Add explicit braces to avoid ambiguous `else'. | |
190998d8 | 6132 | |
28b257dc | 6133 | 2006-04-11 Micha\e,Ak\e(Bl Cadilhac <michael.cadilhac@lrde.org> |
00d70d57 JD |
6134 | |
6135 | * dispnew.c (init_display): Don't init X display if the user asked | |
6136 | for a non-X display. | |
7e37cb69 | 6137 | |
957b3c5f KH |
6138 | 2006-04-12 Kenichi Handa <handa@m17n.org> |
6139 | ||
6140 | * coding.c (setup_coding_system): Use system_eol_type for default | |
6141 | coding->eol_type. | |
6142 | ||
db926d80 DN |
6143 | 2006-04-11 Dan Nicolaescu <dann@ics.uci.edu> |
6144 | ||
6145 | * lisp.h (wrong_type_argument): Mark as NO_RETURN. | |
6146 | ||
6147 | * data.c (wrong_type_argument): Try to avoid compiler warnings due | |
6148 | to the fact the function is now marked as NO_RETURN. | |
6149 | ||
978781a5 EZ |
6150 | 2006-04-10 Eli Zaretskii <eliz@gnu.org> |
6151 | ||
6152 | * s/ms-w32.h (pid_t) [_MSC_VER]: New typedef. | |
6153 | ||
8fd0f424 RF |
6154 | 2006-04-10 Romain Francoise <romain@orebokech.com> |
6155 | ||
6156 | * xrdb.c (gethomedir): Use xstrdup. | |
6157 | ||
f8f10777 AS |
6158 | 2006-04-10 Andreas Schwab <schwab@suse.de> |
6159 | ||
6160 | * xrdb.c (gethomedir): Make sure to always return a pointer that | |
6161 | can be passed to free. | |
6162 | ||
2a8da555 RS |
6163 | 2006-04-09 Richard Stallman <rms@gnu.org> |
6164 | ||
6165 | * lisp.h (Fkill_emacs): Undo previous change. | |
6166 | ||
6167 | 2006-04-08 Richard Stallman <rms@gnu.org> | |
6168 | ||
6169 | * search.c (boyer_moore): Test ch >= 0400, not >. | |
6170 | ||
404be028 DN |
6171 | 2006-04-09 Dan Nicolaescu <dann@ics.uci.edu> |
6172 | ||
6173 | * puresize.h (pure_write_error): Mark as NO_RETURN. | |
6174 | ||
4ca412ec | 6175 | * lisp.h (args_out_of_range, args_out_of_range_3) |
404be028 | 6176 | |
f93bd8e4 EZ |
6177 | 2006-04-08 Eli Zaretskii <eliz@gnu.org> |
6178 | ||
6179 | * w32fns.c (w32_wnd_proc) <WM_MOUSEMOVE>: Ignore mouse movements | |
6180 | if a menu is active on this frame. | |
6181 | ||
31a4f621 DN |
6182 | 2006-04-08 Dan Nicolaescu <dann@ics.uci.edu> |
6183 | ||
6184 | * lisp.h (report_file_error): Mark as NO_RETURN. | |
6185 | ||
7e773529 EZ |
6186 | 2006-04-08 Eli Zaretskii <eliz@gnu.org> |
6187 | ||
4f27350a EZ |
6188 | * alloc.c [STDC_HEADERS]: Include stddef.h. |
6189 | ||
7e773529 EZ |
6190 | * lisp.h (PSEUDOVECSIZE): Fix last change. |
6191 | ||
6bfd98e7 SM |
6192 | 2006-04-08 Stefan Monnier <monnier@iro.umontreal.ca> |
6193 | ||
6194 | * process.h (struct Lisp_Process): Replace Lisp_Objects `pid', | |
6195 | `raw_status_high', and `raw_status_low' with plain integers, and move | |
6196 | them to the end of the structure. | |
6197 | ||
6198 | * alloc.c (allocate_process): Use PSEUDOVECSIZE to initialize the | |
6199 | pseudovector's size field so only the Lisp_Object fields get GC'd. | |
6200 | ||
6201 | * process.c (update_status, make_process, Fdelete_process) | |
6202 | (Fprocess_status, list_processes_1, start_process_unwind) | |
6203 | (create_process, Fmake_network_process, server_accept_connection) | |
6204 | (wait_reading_process_output, send_process, Fprocess_running_child_p) | |
6205 | (process_send_signal, proc_encode_coding_system, Fprocess_send_eof) | |
6206 | (sigchld_handler, status_notify): Adjust to new non-Lisp fields for | |
6207 | `pid' and `raw_status'. | |
6208 | (Fprocess_id, Fsignal_process): Same, and additionally use floats when | |
6209 | representing PIDs that are larger than most-positive-fixnum. | |
6210 | ||
6211 | * keymap.c (describe_map): Only use XINT if we checked INTEGERP. | |
6212 | ||
6213 | * lisp.h (OFFSETOF, PSEUDOVECSIZE): New macros. | |
6214 | ||
1d79e521 EZ |
6215 | 2006-04-08 Eli Zaretskii <eliz@gnu.org> |
6216 | ||
6217 | * w32fns.c (Fx_show_tip): Add 3 to the 5th arg of SetWindowPos. | |
6218 | ||
d65b4235 PE |
6219 | 2006-04-03 Paul Eggert <eggert@cs.ucla.edu> |
6220 | ||
6221 | * editfns.c (TM_YEAR_IN_ASCTIME_RANGE): New macro, identical to | |
6222 | ../lib-src/b2m.c and ../lib-src/editfns.c. | |
6223 | (Fcurrent_time_string): Use it. | |
6224 | Document that the year might not consume 4 columns if it's outside | |
6225 | the range 1000-9999. | |
6226 | Check for asctime failure. | |
6227 | Don't assume that the output string length is always exactly 24. | |
6228 | ||
fc9f8d15 YM |
6229 | 2006-04-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6230 | ||
6231 | * macterm.c (XTread_socket): Initialize variable `f' before its use. | |
6232 | ||
022af124 KH |
6233 | 2006-04-03 Kenichi Handa <handa@m17n.org> |
6234 | ||
6235 | * image.c: Include "charset.h" and "coding.h". | |
6236 | (x_find_image_file): Return an encoded file name. | |
6237 | ||
61be4a8a EZ |
6238 | 2006-04-01 Eli Zaretskii <eliz@gnu.org> |
6239 | ||
6240 | * configure: Regenerated. | |
6241 | ||
a869edd4 KH |
6242 | 2006-03-31 Kenichi Handa <handa@m17n.org> |
6243 | ||
6244 | * xfns.c (xg_set_icon): Delete superfluous UNGCPRO. | |
6245 | ||
29444a2f DN |
6246 | 2006-03-30 Dan Nicolaescu <dann@ics.uci.edu> |
6247 | ||
6248 | * xdisp.c (syms_of_xdisp): Fix variable name. | |
6249 | ||
3c5f9492 KH |
6250 | 2006-03-30 Kenichi Handa <handa@m17n.org> |
6251 | ||
6252 | * xterm.c (x_term_init): Delete superfluous UNGCPRO. | |
6253 | ||
267ee78f JB |
6254 | 2006-03-29 Juanma Barranquero <lekktu@gmail.com> |
6255 | ||
6256 | * keyboard.c (process_tool_bar_item): Reorder dummy args. | |
6257 | ||
293bd733 SM |
6258 | 2006-03-29 Stefan Monnier <monnier@iro.umontreal.ca> |
6259 | ||
6260 | * keyboard.c (tool_bar_items): Use map_keymap. | |
6261 | (process_tool_bar_item): Add dummy args to fit the required interface. | |
6262 | ||
4fccedb5 EZ |
6263 | 2006-03-25 Eli Zaretskii <eliz@gnu.org> |
6264 | ||
6265 | * .gdbinit (pr, pp, pp1, pv, pv1): Force print_output_debug_flag | |
6266 | to zero before calling debug_print or safe_debug_print. | |
6267 | ||
6268 | * print.c (print_output_debug_flag): New global variable. | |
6269 | (Fexternal_debugging_output) [WINDOWSNT]: Don't call | |
6270 | OutputDebugString if print_output_debug_flag is zero. | |
6271 | ||
aac18aa4 PE |
6272 | 2006-03-24 Paul Eggert <eggert@cs.ucla.edu> |
6273 | ||
71c3f28f | 6274 | * editfns.c (TM_YEAR_BASE): Move up, so the changes below can use it. |
aac18aa4 | 6275 | (Fdecode_time, Fencode_time): Use TM_YEAR_BASE instead of 1900. |
71c3f28f EZ |
6276 | (Fdecode_time): Cast tm_year to EMACS_INT. |
6277 | (Fcurrent_time_string): Report an invalid time specification if | |
293bd733 | 6278 | the argument is invalid. Also, check for out-of-range time stamps. |
aac18aa4 | 6279 | |
0ef4f79b KS |
6280 | 2006-03-24 Kim F. Storm <storm@cua.dk> |
6281 | ||
95d8aa28 KS |
6282 | * xterm.c (handle_one_xevent): |
6283 | * w32term.c (w32_read_socket): | |
95d8aa28 KS |
6284 | * macterm.c (XTread_socket): Don't let key-press clear mouse face |
6285 | on in toolbar window if mouse-highlight is an integer. | |
6286 | ||
0ef4f79b KS |
6287 | * fns.c (sxhash_list): Include last non-nil CDR in hash. |
6288 | ||
e2e206ae YM |
6289 | 2006-03-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6290 | ||
6291 | * macmenu.c (enum mac_menu_kind): New enum. | |
6292 | (min_menu_id): New variable. | |
6293 | (POPUP_SUBMENU_ID, MIN_POPUP_SUBMENU_ID, MIN_MENU_ID) | |
6294 | (MIN_SUBMENU_ID): Remove defines. All uses are replaced with | |
6295 | min_menu_id and enumerators in enum mac_menu_kind. | |
6296 | (fill_menu, dispose_menus, install_menu_quit_handler): New arg KIND. | |
6297 | All uses changed. Add range check for menu ID. | |
6298 | (fill_menubar): Add range check for menu ID. | |
6299 | [HAVE_CANCELMENUTRACKING] (menu_quit_handler): Check error code of | |
6300 | GetEventParameter. | |
6301 | (set_frame_menubar, mac_menu_show): Call install_menu_quit_handler | |
6302 | for each menu kind. | |
6303 | ||
5a32a2f2 KS |
6304 | 2006-03-22 Kim F. Storm <storm@cua.dk> |
6305 | ||
ea049c5e KS |
6306 | * xdisp.c: Undo 2006-03-21 change. |
6307 | ||
6308 | * term.c: Define aliases for append_glyph and produce_stretch_glyph | |
6309 | when `static' is defined to avoid name clash with those in xdisp.c. | |
6310 | ||
647b07d1 AS |
6311 | * process.c (Faccept_process_output): Fix to comply with lisp |
6312 | reference. Change arg "timeout" to "seconds" and allow both | |
6313 | integer and float value. Change arg "timeout-msec" to "millisec" | |
6314 | and interpret" as milliseconds rather than microseconds. Fix doc | |
6315 | string accordingly. | |
5a32a2f2 | 6316 | |
d63cd766 KR |
6317 | 2006-03-21 Ken Raeburn <raeburn@raeburn.org> |
6318 | ||
293bd733 SM |
6319 | * xdisp.c (store_next_glyph): Rename from append_glyph. |
6320 | (generate_stretch_glyph): Rename from produce_stretch_glyph. | |
d63cd766 KR |
6321 | All callers changed accordingly. |
6322 | ||
11e887e2 JD |
6323 | 2006-03-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6324 | ||
6325 | * xterm.c: x_session_initialized new variable. | |
6326 | (x_term_init): Use x_session_initialized to check if | |
6327 | x_session_initialize should be called. | |
6328 | (x_initialize): Initialize x_session_initialized. | |
6329 | ||
52bd2f43 KS |
6330 | 2006-03-21 Kim F. Storm <storm@cua.dk> |
6331 | ||
6332 | * fringe.c (draw_fringe_bitmap): Don't calculate default overlay arrow | |
6333 | bitmap here, but ... | |
6334 | (update_window_fringes): ... here, so we can test if it has changed. | |
6335 | ||
c1fc674b AS |
6336 | 2006-03-20 Andreas Schwab <schwab@suse.de> |
6337 | ||
6338 | * dispnew.c (init_display): Check DISPLAY here. | |
6339 | ||
6340 | * emacs.c (main): Don't check here. | |
6341 | ||
6342 | * xterm.c (x_display_ok): Don't use DISPLAY env var. | |
6343 | ||
7d619454 SM |
6344 | 2006-03-20 Stefan Monnier <monnier@iro.umontreal.ca> |
6345 | ||
6346 | * window.c (window_scroll_pixel_based): Yet another int/Lisp_Object | |
6347 | mixup (YAILOM). | |
6348 | ||
e2916251 EZ |
6349 | 2006-03-20 Eli Zaretskii <eliz@gnu.org> |
6350 | ||
6351 | * emacs.c (main): Fix last change. | |
6352 | ||
95c1c901 KH |
6353 | 2006-03-20 Kenichi Handa <handa@m17n.org> |
6354 | ||
7d619454 | 6355 | * fileio.c (Fwrite_region): Set visit_file to Qnil before GCPRO it. |
95c1c901 KH |
6356 | |
6357 | * keymap.c (map_keymap): Set tail to Qnil before GCPRO it. | |
6358 | ||
6359 | * xfns.c (xg_set_icon): Remove unnecessary GCPRO. | |
6360 | ||
6361 | * xterm.c (x_term_init): Remove unnecessary GCPRO. | |
6362 | ||
45c1c789 KS |
6363 | 2006-03-19 Kim F. Storm <storm@cua.dk> |
6364 | ||
5e1a6e32 | 6365 | * xdisp.c (set_cursor_from_row): Fix cursor property on overlay string, |
45c1c789 KS |
6366 | so it doesn't associate overlay string with following glyph by default. |
6367 | Allow integer property value to specify explicit number of buffer | |
6368 | positions associate with overlay string. | |
6369 | ||
11aaf447 CY |
6370 | 2006-03-18 Chong Yidong <cyd@stupidchicken.com> |
6371 | ||
6372 | * xterm.c (x_display_ok): Fix minor bug and compilation warnings. | |
6373 | ||
e4d181dc EZ |
6374 | 2006-03-18 Nozomu Ando <nand@mac.com> |
6375 | ||
6376 | * m/pmax.h (BROKEN_NOCOMBRELOC) [__NetBSD__]: Define. | |
6377 | (LIB_STANDARD, START_FILES) [__NetBSD__]: Don't define. | |
6378 | (START_FILES, RUN_TIME_REMAP, UNEXEC) [__NetBSD__, __OpenBSD__]: | |
6379 | Don't redefine. | |
6380 | ||
6381 | * m/mips.h: Don't use unexmips on NetBSD. | |
6382 | (LIBS_MACHINE): Move definition lower, so it doesn't use | |
6383 | LD_SWITCH_MACHINE, START_FILES, LIB_STANDARD, LIBS_TERMCAP, | |
6384 | C_SWITCH_MACHINE, and C_DEBUG_SWITCH. | |
6385 | ||
6386 | * unexelf.c [BROKEN_NOCOMBRELOC]: Include assert.h. | |
6387 | (unexec) [BROKEN_NOCOMBRELOC]: Handle platforms whose nocombreloc | |
6388 | option is broken (e.g., MIPS/NetBSD). | |
6389 | ||
50f9edc2 EZ |
6390 | 2006-03-18 Craig McDaniel <craigmcd@gmail.com> (tiny change) |
6391 | ||
6392 | * sheap.c (STATIC_HEAP_SIZE): Enlarge STATIC_HEAP_SIZE to 12MB. | |
7b833ed1 | 6393 | Remove the HAVE_X_WINDOWS conditional. |
50f9edc2 | 6394 | |
7e37c7c0 EZ |
6395 | 2006-03-18 Vivek Dasmohapatra <vivek@etla.org> (tiny change) |
6396 | ||
6397 | * emacs.c (main): If user asks for a display that is unavailable, | |
6398 | simulate -nw. | |
6399 | ||
6400 | * xterm.c (x_display_ok): New function. | |
6401 | ||
6402 | * xterm.h: Add prototype for x_display_ok. | |
6403 | ||
c85eab3a EZ |
6404 | 2006-03-18 Eli Zaretskii <eliz@gnu.org> |
6405 | ||
6406 | * w32fns.c (Fw32_select_font): Doc fix. | |
6407 | ||
e09ce637 YM |
6408 | 2006-03-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6409 | ||
6410 | * image.c [MAC_OS] (XPutPixel, XGetPixel) | |
6411 | [!WORDS_BIG_ENDIAN && USE_CG_DRAWING]: Don't use specialized | |
6412 | version when depth is 32. | |
7d619454 SM |
6413 | (mac_create_cg_image_from_image) [MAC_OS && USE_CG_DRAWING]: |
6414 | New function. | |
e09ce637 YM |
6415 | (prepare_image_for_display) [MAC_OS && USE_CG_DRAWING]: Use it. |
6416 | (x_clear_image_1) [MAC_OS && USE_CG_DRAWING]: Release CGImage. | |
6417 | ||
6418 | * macterm.c (XCreatePixmap) [!WORDS_BIG_ENDIAN && USE_CG_DRAWING]: | |
6419 | Create GWorld in ARGB pixel format. | |
7d619454 SM |
6420 | (mac_copy_area, mac_copy_area_with_mask) [USE_CG_DRAWING]: |
6421 | Remove functions. | |
e09ce637 YM |
6422 | (x_draw_image_foreground) [USE_CG_DRAWING]: Use mac_draw_cg_image |
6423 | instead of mac_copy_area/mac_copy_area_with_mask. | |
6424 | ||
b0896280 KS |
6425 | 2006-03-15 Kim F. Storm <storm@cua.dk> |
6426 | ||
6427 | * xdisp.c (extend_face_to_end_of_line): Always add space glyph to | |
6428 | empty row. Fixes memory corruption revealed by 2006-03-02 change. | |
6429 | (display_tool_bar_line): Skip empty tool-bar line if HEIGHT < 0. | |
6430 | (tool_bar_lines_needed): Fix tool-bar display in case the tool-bar | |
6431 | width is exactly the same as the window width. Don't count a final | |
6432 | empty tool-bar line (pass HEIGHT = -1 to display_tool_bar_line). | |
6433 | ||
713cb18d JB |
6434 | 2006-03-15 Juanma Barranquero <lekktu@gmail.com> |
6435 | ||
364d0cf8 | 6436 | * fringe.c (w32_init_fringe, w32_reset_fringes): Revert to being |
713cb18d JB |
6437 | conditional on HAVE_NTGUI, not WINDOWS_NT. |
6438 | ||
ad21830e YM |
6439 | 2006-03-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6440 | ||
6441 | * dispextern.h (mac_init_fringe) [MAC_OS]: Add prototype. | |
6442 | ||
6443 | * fringe.c (mac_init_fringe) [MAC_OS]: New function. | |
6444 | ||
6445 | * macterm.c (mac_initialize) [USE_CG_DRAWING]: Call mac_init_fringe. | |
6446 | (max_fringe_bmp, fringe_bmp) [USE_CG_DRAWING]: New variables. | |
6447 | (mac_define_fringe_bitmap, mac_destroy_fringe_bitmap) | |
6448 | (mac_draw_cg_image) [USE_CG_DRAWING]: New functions. | |
6449 | (mac_draw_bitmap) [USE_CG_DRAWING]: Remove function. | |
6450 | (x_draw_fringe_bitmap) [USE_CG_DRAWING]: Use mac_draw_cg_image | |
6451 | instead of mac_draw_bitmap. | |
6452 | (x_redisplay_interface) [USE_CG_DRAWING]: Set handlers for | |
6453 | define_fringe_bitmap and destroy_fringe_bitmap. | |
6454 | ||
8a34117e CY |
6455 | 2006-03-14 Chong Yidong <cyd@stupidchicken.com> |
6456 | ||
6457 | * xterm.c (x_uncatch_errors): Block input for entire function. | |
6458 | ||
ab68b375 JR |
6459 | 2006-03-12 Jason Rumney <jasonr@gnu.org> |
6460 | ||
92cc46af | 6461 | * w32fns.c (Fx_create_frame): Remove call to |
364d0cf8 | 6462 | Qface_set_after_frame_default (from xfns.c 2003-05-26). |
92cc46af | 6463 | |
335be36b JR |
6464 | * w32menu.c (Fx_popup_menu): Call w32_free_menu_strings when |
6465 | finished with the menu. | |
6466 | ||
ab68b375 JR |
6467 | * w32term.c: Sync 2005-10-24 xterm.c changes. |
6468 | (last_mouse_glyph_frame): New var. | |
6469 | (note_mouse_movement): Say mouse moved if current frame differs | |
6470 | from last_mouse_glyph_frame, and update last_mouse_glyph_frame. | |
6471 | (w32_mouse_position): Set last_mouse_glyph_frame. | |
875e613d | 6472 | Remove OLD_REDISPLAY_CODE block. |
ab68b375 | 6473 | |
204b78de YM |
6474 | 2006-03-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6475 | ||
6476 | * macgui.h [USE_ATSUI && MAC_OSX]: Define USE_CG_TEXT_DRAWING to 1. | |
6477 | ||
6478 | * macterm.h (struct mac_output) [USE_CG_DRAWING]: New member cg_context. | |
6479 | (mac_prepare_for_quickdraw) [USE_CG_DRAWING]: Add prototype. | |
6480 | ||
6481 | * mac.c (sys_select) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. | |
6482 | ||
6483 | * macfns.c (x_create_tip_frame): Apply 2006-03-11 change for xfns.c. | |
6484 | ||
6485 | * macterm.c (mac_draw_rectangle, x_draw_glyph_string_foreground) | |
6486 | (x_draw_composite_glyph_string_foreground) | |
6487 | (x_draw_image_foreground): Undo previous changes. | |
6488 | (x_draw_hollow_cursor): Likewise. Subtract 1 from the last | |
6489 | argument of mac_draw_rectangle. | |
6490 | (CG_SET_FILL_COLOR, CG_SET_STROKE_COLOR): New macros. | |
6491 | (mac_draw_string_common, mac_draw_image_string_cg): Use them. | |
6492 | (FRAME_CG_CONTEXT) [USE_CG_DRAWING]: New macro. | |
6493 | (mac_begin_cg_clip, mac_end_cg_clip, mac_prepare_for_quickdraw) | |
6494 | [USE_CG_DRAWING]: New functions. | |
6495 | (mac_draw_line, mac_erase_rectangle, mac_clear_window) | |
6496 | (mac_fill_rectangle, mac_draw_rectangle, mac_draw_string_common) | |
6497 | (mac_draw_image_string_cg) [USE_CG_DRAWING]: Add Quartz 2D drawing part. | |
6498 | (mac_draw_bitmap, mac_invert_rectangle, mac_draw_string_common) | |
6499 | (mac_copy_area, mac_scroll_area, x_scroll_bar_create) | |
6500 | (x_scroll_bar_remove, XTset_vertical_scroll_bar, x_set_window_size) | |
6501 | (XTread_socket) [USE_CG_DRAWING]: Call mac_prepare_for_quickdraw. | |
6502 | ||
a9d54793 KL |
6503 | 2006-03-12 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu> |
6504 | ||
6505 | * xfns.c (x_icon): Disable redundant call to `x_wm_set_window_state'. | |
6506 | ||
b452fd7a JR |
6507 | 2006-03-11 Jason Rumney <jasonr@gnu.org> |
6508 | ||
6509 | * w32fns.c (signal_user_input): New function. | |
6510 | (post_character_message): Use it for keyboard input. | |
6511 | (w32_msg_pump): Use it for mouse input. | |
6512 | ||
f372bd5b LT |
6513 | 2006-03-11 Luc Teirlinck <teirllm@auburn.edu> |
6514 | ||
6515 | * window.c: Rename preserve_y to window_scroll_pixel_based_preserve_y. | |
6516 | (window_scroll_pixel_based, syms_of_window): Adapt to above change. | |
6517 | ||
2c1bd367 EZ |
6518 | 2006-03-11 Eli Zaretskii <eliz@gnu.org> |
6519 | ||
6520 | * w32fns.c (w32_wnd_proc): Ignore middle and extra button events | |
6521 | if a menu is already active (the menubar_active flag is on). | |
6522 | ||
f161146b EZ |
6523 | 2006-03-11 David Ponce <david@dponce.com> |
6524 | ||
7d619454 | 6525 | * xfns.c (x_create_tip_frame): Preserve received parms by copying them. |
f161146b | 6526 | |
9257b627 EZ |
6527 | 2006-03-11 Eli Zaretskii <eliz@gnu.org> |
6528 | ||
db3c0e9c EZ |
6529 | * w32term.c: Add x_fully_uncatch_errors and x_catching_errors to |
6530 | the list of unused display error handling functions. | |
6531 | ||
8887e8ec EZ |
6532 | * eval.c (unwind_to_catch): Call x_fully_uncatch_errors only if |
6533 | HAVE_X_WINDOWS. | |
6534 | (internal_condition_case, internal_condition_case_1) | |
6535 | (internal_condition_case_2): Call x_catching_errors only if | |
6536 | HAVE_X_WINDOWS. | |
6537 | ||
9257b627 EZ |
6538 | * vm-limit.c [HAVE_GETRLIMIT]: Don't define unconditionally. |
6539 | Don't include sys/resource.h unless defined. | |
6540 | ||
395d3972 RS |
6541 | 2006-03-11 Richard Stallman <rms@gnu.org> |
6542 | ||
5a893bff RS |
6543 | * keymap.c (describe_map): Shorten string to indicate shadowed binding. |
6544 | ||
395d3972 | 6545 | * vm-limit.c (get_lim_data, lim_data, data_space_start): |
7d619454 | 6546 | Move from mem-limits.h. |
395d3972 RS |
6547 | (enum warnlevel): New data type. |
6548 | (check_memory_limits): Rewrite the logic about warnings. | |
6549 | Use standard `struct rlimit'. Check return values for nonsense. | |
6550 | (memory_warnings): Always clear lim_data. | |
6551 | ||
6552 | * mem-limits.h (get_lim_data, lim_data, data_space_start): | |
7d619454 | 6553 | Move to vm-limit.c. |
395d3972 RS |
6554 | |
6555 | * xterm.c (x_fully_uncatch_errors, x_catching_errors): New functions. | |
6556 | ||
6557 | * eval.c (unwind_to_catch): Call x_fully_uncatch_errors. | |
f372bd5b | 6558 | (internal_condition_case_1, internal_condition_case_2): |
395d3972 RS |
6559 | Abort if within unclosed x_catch_errors. |
6560 | ||
635a3496 RF |
6561 | 2006-03-11 Romain Francoise <romain@orebokech.com> |
6562 | ||
6563 | * process.c (Vprocess_adaptive_read_buffering): Doc fix. | |
6564 | ||
306cea3a EZ |
6565 | 2006-03-11 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change) |
6566 | ||
6567 | * lisp.h: Remove duplicate prototypes. Make the prototype of | |
6568 | getloadavg be conditioned on HAVE_GETLOADAVG being undefined. | |
6569 | ||
97b5ae78 EZ |
6570 | 2006-03-11 Eli Zaretskii <eliz@gnu.org> |
6571 | ||
7325e714 EZ |
6572 | * xterm.c (x_draw_hollow_cursor): Subtract 1 from the last |
6573 | argument of XDrawRectangle. | |
6574 | ||
97b5ae78 EZ |
6575 | * xdisp.c (get_phys_cursor_geometry): Don't decrease height by 1. |
6576 | ||
6577 | * macterm.c (mac_draw_rectangle): Don't add 1 to width and height. | |
6578 | (x_draw_glyph_string_foreground) | |
6579 | (x_draw_composite_glyph_string_foreground) | |
6580 | (x_draw_image_foreground): Don't subtract 1 from width and height | |
6581 | arguments to mac_draw_rectangle. | |
6582 | (x_draw_hollow_cursor): Add 1 to w->phys_cursor_width. | |
6583 | ||
68f632a8 KS |
6584 | 2006-03-10 Kim F. Storm <storm@cua.dk> |
6585 | ||
6586 | * alloc.c (USE_POSIX_MEMALIGN): Fix last change. | |
6587 | ||
349a4500 SM |
6588 | 2006-03-09 Stefan Monnier <monnier@iro.umontreal.ca> |
6589 | ||
6590 | * alloc.c (USE_POSIX_MEMALIGN): New macro. | |
6591 | (ABLOCKS_BASE, lisp_align_malloc, lisp_align_free): Use it. | |
6592 | ||
53a5eba9 KH |
6593 | 2006-03-09 Kenichi Handa <handa@m17n.org> |
6594 | ||
6595 | * coding.c (DECODE_EMACS_MULE_COMPOSITION_CHAR): Fix decoding | |
6596 | ASCII component of a composition. | |
6597 | ||
629f023d LT |
6598 | 2006-03-08 Luc Teirlinck <teirllm@auburn.edu> |
6599 | ||
6600 | * window.c: Declare preserve_y as a static global variable. | |
6601 | (window_scroll_pixel_based): No longer declare preserve_y; | |
6602 | it is global now. | |
f945af42 | 6603 | (syms_of_window): Set preserve_y to -1. |
629f023d | 6604 | |
4cdffedf YM |
6605 | 2006-03-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6606 | ||
6607 | * image.c [MAC_OS] (XPutPixel): Set alpha channel bits if pixmap | |
6608 | depth is 32. | |
204b78de | 6609 | [MAC_OS] (XGetPixel): Strip off alpha channel bits if pixmap |
4cdffedf YM |
6610 | depth is 32. |
6611 | ||
45b5f35d CY |
6612 | 2006-03-06 Chong Yidong <cyd@stupidchicken.com> |
6613 | ||
6614 | * xdisp.c (handle_invisible_prop): Don't update it->position with | |
6615 | a buffer position if we're in a display string. | |
6616 | ||
48b60fa1 YM |
6617 | 2006-03-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6618 | ||
6619 | * macterm.h (MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH) | |
6620 | (MAC_AQUA_SMALL_VERTICAL_SCROLL_BAR_WIDTH): New defines. | |
6621 | ||
6622 | * macfns.c (x_default_scroll_bar_color_parameter) | |
349a4500 SM |
6623 | (x_set_scroll_bar_foreground, x_set_scroll_bar_background): |
6624 | Remove unnecessary prototypes. | |
6625 | (x_set_scroll_bar_default_width): | |
6626 | Use MAC_AQUA_VERTICAL_SCROLL_BAR_WIDTH. | |
48b60fa1 YM |
6627 | (mac_set_scroll_bar_width): New function. |
6628 | (mac_frame_parm_handlers): Set it as handler for scroll-bar-width. | |
6629 | ||
6630 | * macterm.c (get_control_part_bounds): Fix type of return value. | |
6631 | (x_set_toolkit_scroll_bar_thumb, x_scroll_bar_create) | |
6632 | (XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: Don't show | |
6633 | scroll bar if it is not tall enough to display scroll bar thumb. | |
6634 | [USE_CARBON_EVENTS] (mac_convert_event_ref) | |
6635 | (mac_handle_command_event, mac_handle_window_event) | |
6636 | (mac_handle_mouse_event): Check error code of GetEventParameter. | |
6637 | (convert_fn_keycode) [MAC_OSX]: Likewise. | |
f945af42 | 6638 | |
6f10509c AS |
6639 | 2006-03-05 Andreas Schwab <schwab@suse.de> |
6640 | ||
6641 | * xselect.c (x_catch_errors_unwind): Fix missing return value. | |
6642 | ||
f79bc642 KS |
6643 | 2006-03-02 Kim F. Storm <storm@cua.dk> |
6644 | ||
6645 | * frame.h (struct frame): New member n_tool_bar_rows. | |
6646 | ||
6647 | * xdisp.c: Minimize the unpleasent visual impact of the requirement | |
6648 | that non-toolkit tool-bars must occupy an integral number of screen | |
875e613d | 6649 | lines, by distributing the rows evenly over the tool-bar screen area. |
f79bc642 KS |
6650 | (Vtool_bar_border): New variable. |
6651 | (syms_of_xdisp): DEFVAR_LISP it. | |
349a4500 SM |
6652 | (display_tool_bar_line): Add HEIGHT arg for desired row height. |
6653 | Make tool-bar row the desired height. Use default face for border | |
6654 | below tool-bar. | |
f79bc642 KS |
6655 | (tool_bar_lines_needed): Add N_ROWS arg. Use it to return number of |
6656 | actual tool-bar rows. | |
6657 | (redisplay_tool_bar): Calculate f->n_tool_bar_rows initially. | |
6658 | Adjust the height of the tool-bar rows to fill tool-bar screen area. | |
6659 | (redisplay_tool_bar): Calculate f->n_tool_bar_rows when tool-bar area | |
6660 | is resized. | |
6661 | ||
0bbe0c9c LT |
6662 | 2006-03-01 Luc Teirlinck <teirllm@auburn.edu> |
6663 | ||
6664 | * search.c (Fregexp_quote): Do not precede a literal `]' with two | |
6665 | backslashes to try to make clear that it has a literal meaning; it | |
6666 | does not do that. (It could close a character alternative | |
6667 | containing a backslash.) | |
6668 | ||
c525d842 CY |
6669 | 2006-02-28 Chong Yidong <cyd@stupidchicken.com> |
6670 | ||
6671 | * xselect.c (x_catch_errors_unwind): New function. | |
6672 | (x_reply_selection_request): Put x_uncatch_errors in an unwind. | |
6673 | (Fx_get_atom_name): Call x_uncatch_errors earlier. | |
6674 | ||
6675 | * window.c (Qscroll_up, Qscroll_down): New syms. | |
6676 | (window_scroll_pixel_based): Make preserve_y static to avoid | |
6677 | getting point stuck when scrolling 1 line. | |
6678 | ||
4545fa20 CY |
6679 | 2006-02-26 Chong Yidong <cyd@stupidchicken.com> |
6680 | ||
349a4500 | 6681 | * xterm.h, xterm.c (x_uncatch_errors): Delete unneccessary argument. |
4545fa20 | 6682 | |
364d0cf8 JB |
6683 | * xterm.c (x_load_font, x_term_init, XTmouse_position) |
6684 | (handle_one_xevent, x_connection_closed, x_list_fonts): | |
6685 | No arg for x_uncatch_errors. | |
4545fa20 CY |
6686 | |
6687 | * xselect.c (x_own_selection, x_decline_selection_request) | |
6688 | (x_reply_selection_request, x_get_foreign_selection) | |
6689 | (Fx_get_atom_name, Fx_send_client_event): Likewise. | |
6690 | ||
6691 | * xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame): | |
6692 | Likewise. | |
6693 | ||
a5e25a4c LT |
6694 | 2006-02-26 Luc Teirlinck <teirllm@auburn.edu> |
6695 | ||
440cbd9e LT |
6696 | * lread.c: Declare Vload_file_rep_suffixes instead of |
6697 | deleted variable default_suffixes. | |
6698 | (Fget_load_suffixes): New function. | |
6699 | (Fload): Use Fget_load_suffixes and Vload_file_rep_suffixes. | |
6700 | No longer use deleted variable default_suffixes. Update docstring. | |
6701 | (syms_of_lread): defsubr Sget_load_suffixes. | |
6702 | Expand `load-suffixes' docstring. | |
6703 | Delete default_suffixes and DEFVAR_LISP the new variable | |
6704 | `load-file-rep-suffixes'. | |
6705 | ||
6706 | * w32.c (check_windows_init_file): Use Fget_load_suffixes instead | |
6707 | of Vload_suffixes. | |
6708 | ||
6709 | * lisp.h: EXFUN Fget_load_suffixes. | |
6710 | Extern Vload_file_rep_suffixes. | |
6711 | ||
a5e25a4c LT |
6712 | * eval.c (specpdl_ptr): Remove volatile qualifier for consistency |
6713 | with lisp.h. | |
6714 | ||
a7af5886 SM |
6715 | 2006-02-26 Stefan Monnier <monnier@iro.umontreal.ca> |
6716 | ||
6717 | * lisp.h (struct specbinding, specpdl_ptr): Remove the volatile | |
6718 | qualifier which was trying to avoid the bug that was fixed by | |
6719 | yesterday's changes to xterm.c. | |
6720 | ||
9ba8e10d CY |
6721 | 2006-02-25 Chong Yidong <cyd@stupidchicken.com> |
6722 | ||
6723 | * xterm.h (x_catch_errors) Return value changed to void. | |
4545fa20 | 6724 | (x_uncatch_errors): Delete unused count argument. |
a7af5886 | 6725 | |
9ba8e10d CY |
6726 | * xterm.c (x_catch_errors): Don't use record_unwind_protect, since |
6727 | it can be called in a signal handler. | |
6728 | (x_catch_errors_unwind): Function deleted. | |
6729 | (x_uncatch_errors): Deallocate last x_error_message_stack struct. | |
6730 | (x_check_errors): Call x_uncatch_errors before signalling error. | |
6731 | ||
6732 | (x_load_font, x_term_init, XTmouse_position, handle_one_xevent) | |
6733 | (x_connection_closed, x_list_fonts): Use new versions of | |
6734 | x_catch_errors and x_uncatch_errors. | |
6735 | ||
6736 | * xselect.c (x_own_selection, x_decline_selection_request) | |
6737 | (x_reply_selection_request, x_get_foreign_selection) | |
6738 | (Fx_get_atom_name, Fx_send_client_event): Likewise. | |
6739 | ||
6740 | * xfns.c (x_real_positions, x_set_mouse_color, Fx_focus_frame): | |
6741 | Likewise. | |
6742 | ||
6743 | * eval.c (record_unwind_protect): Add an assertion. | |
6744 | ||
f523e0c3 SM |
6745 | 2006-02-25 Stefan Monnier <monnier@iro.umontreal.ca> |
6746 | ||
6747 | * process.c (Fmake_network_process): Init the process's mark. | |
6748 | ||
a7a7e1d7 KS |
6749 | 2006-02-25 Kim F. Storm <storm@cua.dk> |
6750 | ||
6751 | * buffer.c (modify_overlay): Force redisplay if we modify an | |
6752 | overlay at the end of the buffer. | |
6753 | ||
a821c035 JD |
6754 | 2006-02-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6755 | ||
ca21600d JB |
6756 | * gtkutil.c (xg_get_image_for_pixmap): If x_find_image_file returns |
6757 | nil the image file has been removed, in that case use the (cached) | |
6758 | pixmap. | |
a821c035 | 6759 | |
77343e1d KH |
6760 | 2006-02-24 Kenichi Handa <handa@m17n.org> |
6761 | ||
6762 | * fileio.c (Finsert_file_contents): When a text is replaced | |
6763 | partially, be sure to set point before the inserted characters. | |
6764 | ||
92fb5516 KH |
6765 | 2006-02-23 Zhang Wei <id.brep@gmail.com> (tiny change) |
6766 | ||
6767 | * xfns.c (Fx_file_dialog): Return a decoded file name. | |
6768 | ||
78897758 YM |
6769 | 2006-02-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6770 | ||
6771 | * dispnew.c (update_text_area): Avoid needless redraw of rightmost | |
6772 | glyph whose face is extended to the text area end. | |
6773 | ||
5b574e69 YM |
6774 | * macterm.c (x_set_toolkit_scroll_bar_thumb): Don't set control |
6775 | values if control is not visible or values are not changed. | |
6776 | ||
acc6289a SM |
6777 | 2006-02-22 Stefan Monnier <monnier@iro.umontreal.ca> |
6778 | ||
6779 | * window.c (Fwindow_list): Check `window' before doing XWINDOW. | |
6780 | The default `window' should not be "on a different frame". | |
6781 | ||
c4336e88 KS |
6782 | 2006-02-22 Kim F. Storm <storm@cua.dk> |
6783 | ||
6784 | * indent.c (Fvertical_motion): Only try to move back if we can. | |
6785 | ||
b6e3efe0 YM |
6786 | 2006-02-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6787 | ||
6788 | * macgui.h (struct _XGC) [!MAC_OSX || !USE_ATSUI]: New member | |
6789 | n_clip_rects. | |
6790 | ||
6791 | * macmenu.c (digest_single_submenu): Apply 2006-02-19 change for | |
6792 | xmenu.c. | |
6793 | ||
6794 | * macterm.c (GC_CLIP_REGION): Remove macro. | |
6795 | (mac_begin_clip, mac_end_clip): Take arg GC instead of REGION. | |
6796 | All uses changed. Don't do clipping if n_clip_rects is zero. | |
acc6289a SM |
6797 | (mac_set_clip_rectangles): Use xassert instead of abort. |
6798 | Set n_clip_rects. Don't make clip_region empty when number of | |
b6e3efe0 YM |
6799 | clipping rectangles is zero. |
6800 | (mac_reset_clip_rectangles): Set n_clip_rects directly instead of | |
6801 | calling mac_set_clip_rectangles. | |
6802 | (x_set_toolkit_scroll_bar_thumb): Temporarily hide scroll bar to | |
6803 | avoid multiple redraws. | |
6804 | ||
6f62a45e KS |
6805 | 2006-02-22 Kim F. Storm <storm@cua.dk> |
6806 | ||
6807 | * fringe.c (draw_fringe_bitmap): Fix overlay-arrow display. | |
6808 | ||
dd9959da KS |
6809 | 2006-02-21 Kim F. Storm <storm@cua.dk> |
6810 | ||
6811 | * fringe.c (syms_of_fringe) <fringe-bitmaps>: Doc fix. | |
6812 | ||
364d0cf8 | 6813 | 2006-02-21 Zhang Wei <brep@newsmth.org> |
a8f4bdc6 JD |
6814 | |
6815 | * xfns.c (Fx_file_dialog, Motif and GTK): DECODE_FILE before | |
6816 | returning it. | |
6817 | ||
dd9959da | 6818 | 2006-02-21 Giorgos Keramidas <keramida@ceid.upatras.gr> (tiny change) |
9866a438 JB |
6819 | |
6820 | * fringe.c (horizontal_bar_bits): Rename from `horisontal_bar_bits'. | |
6821 | (standard_bitmaps): Use it. | |
6822 | ||
9fb446e3 YM |
6823 | 2006-02-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6824 | ||
6825 | * macterm.c (mac_draw_string_common): Remove arg MODE. New arg | |
6826 | BG_WIDTH. All uses changed. Draw background if BG_WIDTH is not zero. | |
6827 | (mac_draw_image_string, mac_draw_image_string_16): New arg BG_WIDTH. | |
6828 | [USE_CG_TEXT_DRAWING] (mac_draw_image_string_cg): Rename from | |
acc6289a SM |
6829 | mac_draw_string_cg. New arg BG_WIDTH. All uses changed. |
6830 | Draw background if BG_WIDTH is not zero. Use float constants as | |
9fb446e3 YM |
6831 | divisors instead of double. Use alloca instead of xmalloc/xfree. |
6832 | (x_draw_glyph_string_background, x_draw_glyph_string_foreground) | |
6833 | [!MAC_OS8 || USE_ATSUI]: Background may be drawn using | |
6834 | mac_draw_image_string* functions. | |
6835 | (XLoadQueryFont) [MAC_OS8 && USE_ATSUI]: Don't adjust heights of | |
6836 | some fonts when srcCopy text transfer mode might be used. | |
6837 | (mac_begin_clip, mac_end_clip): Check if region is empty. | |
6838 | (mac_set_clip_rectangles): When resetting clip region, make it | |
6839 | empty instead of disposing of it. | |
6840 | ||
49af2995 KS |
6841 | 2006-02-20 Kim F. Storm <storm@cua.dk> |
6842 | ||
6843 | * Makefile.in: Add fringe.elc to WINDOW_SUPPORT. | |
6844 | ||
6845 | * buffer.h (struct buffer): New members fringe_indicator_alist and | |
6846 | fringe_cursor_alist. | |
6847 | ||
6848 | * buffer.c (init_buffer_once): Set dummy default values for | |
6849 | fringe-indicator-alist and fringe-cursor-alist. The proper | |
6850 | default values are set by pre-loading fringe.el. | |
6851 | (syms_of_buffer): defvar_per_buffer new fringe-indicator-alist and | |
6852 | fringe-cursor-alist buffer-local variables and defvar_lisp_nopro | |
9866a438 | 6853 | corresponding default- variables. |
49af2995 KS |
6854 | |
6855 | * fringe.c (enum fringe_bitmap_type): Remove. Change all uses | |
6856 | to use `int'. | |
6857 | (NO_FRINGE_BITMAP, UNDEF_FRINGE_BITMAP, MAX_STANDARD_FRINGE_BITMAPS): | |
6858 | Define explicitly. | |
6859 | (Qtruncation, Qcontinuation, Qempty_line, Qtop_bottom) | |
6860 | (Qhollow_small): New variables. | |
6861 | (syms_of_fringe): Intern and staticpro them. | |
6862 | (question_mark_bits): Rename from unknown_bits. | |
6863 | (left_curly_arrow_bits): Rename from continuation_bits. | |
6864 | (right_curly_arrow_bits): Rename from continued_bits. | |
6865 | (left_triangle_bits): Rename from ov_bits. | |
acc6289a | 6866 | (right_triangle_bits): Add. |
49af2995 KS |
6867 | (filled_rectangle_bits): Rename from filled_box_cursor_bits. |
6868 | (hollow_rectangle_bits): Rename from hollow_box_cursor_bits. | |
acc6289a | 6869 | (filled_square_bits): Add. |
49af2995 | 6870 | (vertical_bar_bits): Rename from bar_cursor_bits. |
9866a438 | 6871 | (horizontal_bar_bits): Rename from hbar_cursor_bits. |
49af2995 KS |
6872 | (empty_line_bits): Rename from zv_bits. |
6873 | (standard_bitmaps): Update to use new names. | |
6874 | (draw_fringe_bitmap_1): Make static. | |
6875 | (get_logical_cursor_bitmap, get_logical_fringe_bitmap): New functions | |
6876 | to map from logical cursors and indicators to physical bitmaps. | |
875e613d | 6877 | (draw_fringe_bitmap): Resolve fringe cursor and overlay-arrow |
49af2995 KS |
6878 | bitmaps using symbol names instead of bitmap numbers. |
6879 | (update_window_fringes): Use logical indicator symbol names | |
6880 | instead of bitmap numbers for logical. Add bitmap cache. | |
6881 | (LEFT_FRINGE, RIGHT_FRINGE): New helper macros. | |
6882 | ||
a77f947b CY |
6883 | 2006-02-20 Chong Yidong <cyd@stupidchicken.com> |
6884 | ||
a073faa6 CY |
6885 | * regex.c: Revert 2006-02-19 change. |
6886 | (xmalloc, xrealloc): Define these when not linked to Emacs. | |
6887 | Redefine malloc -> xmalloc, realloc -> xrealloc as in Emacs case. | |
a77f947b | 6888 | |
2f90d2bc LT |
6889 | 2006-02-19 Luc Teirlinck <teirllm@auburn.edu> |
6890 | ||
6891 | * regex.c (extend_range_table_work_area): Fix typo. | |
6892 | ||
5498b6af RS |
6893 | 2006-02-19 Richard M. Stallman <rms@gnu.org> |
6894 | ||
7b1d7d66 RS |
6895 | * xterm.c (x_catch_errors): Use xmalloc. |
6896 | ||
6897 | * regex.c (extend_range_table_work_area): Call xmalloc and xrealloc. | |
6898 | (regex_compile): Likewise. | |
6899 | (regcomp): Use xmalloc. | |
6900 | ||
6901 | * gtkutil.c (malloc_widget_value): Use xmalloc. | |
6902 | ||
5498b6af RS |
6903 | * vm-limit.c [HAVE_GETRLIMIT]: Include sys/resource.h. |
6904 | (check_memory_limits) [HAVE_GETRLIMIT]: Use getrlimit. | |
6905 | ||
6906 | * xmenu.c (digest_single_submenu): When pane_string is empty, | |
6907 | do initialize save_wv. | |
6908 | ||
4f2f3214 YM |
6909 | 2006-02-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6910 | ||
6911 | * xdisp.c (update_menu_bar) [MAC_OS]: Don't set | |
6912 | w->update_mode_line if arg F is not the selected frame. | |
6913 | ||
6914 | * macmenu.c (popup_activated_flag, submenu_id) | |
6915 | (next_menubar_widget_id): Remove variables. | |
6916 | (initialize_frame_menubar): Remove function. | |
6917 | (pop_down_menu, mac_menu_show): Simplify save value. | |
6918 | (dispose_menus): New function. | |
6919 | (pop_down_menu, fill_menubar): Use it. | |
6920 | (fill_submenu): Remove function. All uses changed to fill_menu. | |
6921 | (add_menu_item): Remove args SUBMENU and FORCE_DISABLE. New arg | |
6922 | POS. Don't call SetMenuItemHierarchicalID here. | |
6923 | (fill_menu): Add arg SUBMENU_ID. Return submenu_id that is to be | |
6924 | used next. Call SetMenuItemHierarchicalID here. | |
6925 | (fill_menubar): Add arg DEEP_P. All uses changed. Clean up menu | |
6926 | objects if needed. Reuse existing menu bar titles if possible. | |
6927 | (set_frame_menubar): Don't clean up menu objects here. | |
6928 | ||
da7520de CY |
6929 | 2006-02-18 Chong Yidong <cyd@stupidchicken.com> |
6930 | ||
6931 | * window.c (window_min_size_1): Ensure room for the scroll bar and | |
6932 | fringes. | |
6933 | ||
a9c18b84 RF |
6934 | 2006-02-17 Romain Francoise <romain@orebokech.com> |
6935 | ||
6936 | * puresize.h (BASE_PURESIZE): Increment to 1200000. | |
6937 | ||
537407f0 SM |
6938 | 2006-02-17 Stefan Monnier <monnier@iro.umontreal.ca> |
6939 | ||
6940 | * alloc.c (Fmake_symbol): Comment-out left-over assert from before the | |
6941 | addition of the BLOCK_INPUTs. | |
6942 | ||
5bf3610f JB |
6943 | 2006-02-17 Juanma Barranquero <lekktu@gmail.com> |
6944 | ||
6945 | * window.c (Fset_window_scroll_bars): Doc fix. | |
6946 | ||
ed0218e2 KH |
6947 | 2006-02-17 Kenichi Handa <handa@m17n.org> |
6948 | ||
6949 | * xdisp.c (display_mode_element): Call display_string with correct | |
6950 | PREC arg (which must be a number of characters, not column width). | |
6951 | ||
f036d043 YM |
6952 | 2006-02-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
6953 | ||
6954 | * frame.c (x_get_arg): Clear out PARAM in ALIST also on Mac. | |
6955 | ||
6956 | * macfns.c (x_set_menu_bar_lines): Menu bar is always shown on Mac. | |
6957 | ||
6958 | * macmenu.c (set_frame_menubar): Don't call DrawMenuBar. | |
6959 | ||
885f1975 RS |
6960 | 2006-02-14 Richard M. Stallman <rms@gnu.org> |
6961 | ||
9d8f542c RS |
6962 | * frame.c (x_get_arg): Clear out all occurrences of PARAM in ALIST. |
6963 | ||
885f1975 RS |
6964 | * m/ibms390x.h: New file. |
6965 | ||
26ebccfd JD |
6966 | 2006-02-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6967 | ||
6968 | * gtkutil.c (xg_tool_bar_detach_callback): Set show-arrow to the | |
6969 | value of x-gtk-whole-detached-tool-bar. | |
d8d3d48c | 6970 | (xg_tool_bar_attach_callback): Set show-arrow to TRUE. |
26ebccfd JD |
6971 | |
6972 | * xfns.c (syms_of_xfns): New variable: x-gtk-whole-detached-tool-bar. | |
6973 | ||
4d7637b8 | 6974 | 2006-02-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
58118de5 JD |
6975 | |
6976 | * xterm.c (x_x_to_emacs_modifiers): Make non-static. | |
6977 | ||
6978 | * xterm.h: Declare x_x_to_emacs_modifiers. | |
6979 | ||
6980 | * gtkutil.c (xg_tool_bar_button_cb): New function. | |
6981 | (xg_tool_bar_callback): Call x_x_to_emacs_modifiers to | |
6982 | store modifiers in event. | |
6983 | (update_frame_tool_bar): Connect button-release-event to | |
6984 | xg_tool_bar_button_cb. | |
6985 | ||
f8d775e1 RS |
6986 | 2006-02-13 Richard M. Stallman <rms@gnu.org> |
6987 | ||
6988 | * .gdbinit (xwindow): Update the code to show the window box. | |
6989 | ||
0c0351b5 JD |
6990 | 2006-02-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
6991 | ||
6992 | * xterm.c (note_mouse_movement): Check for NULL FRAME_X_OUTPUT (frame). | |
6993 | ||
4d94dd9a RS |
6994 | 2006-02-12 Richard M. Stallman <rms@gnu.org> |
6995 | ||
6996 | * cmds.c (internal_self_insert): Handle weird auto-fill-function. | |
6997 | ||
c54fb9ef EZ |
6998 | 2006-02-11 Eli Zaretskii <eliz@gnu.org> |
6999 | ||
7000 | * keyboard.c (Venable_disabled_menus_and_buttons): New variable. | |
7001 | (syms_of_keyboard): DEVFAR_LISP and initialize it. | |
7002 | (parse_tool_bar_item, parse_menu_item): If that variable is | |
7003 | non-nil, don't disable menu items and tool-bar buttons. | |
7004 | ||
ac6a9b55 JB |
7005 | 2006-02-11 Juanma Barranquero <lekktu@gmail.com> |
7006 | ||
7007 | * doc.c (Fsubstitute_command_keys): Doc fix. | |
7008 | ||
0ddb0ae8 TTN |
7009 | 2006-02-10 Thien-Thi Nguyen <ttn@gnu.org> |
7010 | ||
7011 | * data.c (Findirect_function): Rewrite docstring. | |
7012 | Fix omission bug: Declare new arg NOERROR. | |
7013 | ||
cbd488c4 YM |
7014 | 2006-02-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7015 | ||
7016 | * macfns.c (x_set_mouse_color): Don't call rif->define_frame_cursor | |
7017 | if window_desc is not set yet. | |
7018 | (Fx_create_frame): Remove variable x_frame_name. Apply 2005-12-07 | |
7019 | and 2006-01-26 changes for xfns.c. Call x_iconify_frame if frame | |
7020 | parameter `visibility' is `icon'. | |
7021 | (Fx_create_frame, x_create_tip_frame): Use "fontset-standard" | |
7022 | instead of "fontset-mac". | |
7023 | (Fx_focus_frame): New defun. | |
7024 | (syms_of_macfns): Defsubr it. | |
7025 | ||
7026 | * macterm.c (mac_define_frame_cursor): Don't change pointer shape | |
7027 | for unfocused frame. | |
7028 | (x_raise_frame): Call BringToFront instead of SelectWindow. | |
7029 | (x_lower_frame): Use NULL instead of nil. | |
7030 | (x_make_frame_visible): Don't call SelectWindow. | |
7031 | (XTread_socket): Increment handling_signal at the start, decrement | |
7032 | it at the end. | |
7033 | [USE_CG_TEXT_DRAWING] (init_cg_text_anti_aliasing_threshold): Use | |
7034 | CFPreferencesGetAppIntegerValue instead of Fmac_get_preference. | |
7035 | ||
a7f96a35 KS |
7036 | 2006-02-10 Kim F. Storm <storm@cua.dk> |
7037 | ||
7038 | * data.c (Findirect_function): Add NOERROR arg. All callers changed | |
7039 | to pass Qnil for NOERROR. | |
7040 | ||
7041 | * keymap.c (current_minor_maps_error): Remove. | |
7042 | (current_minor_maps): Pass Qt for NOERROR to Findirect_function | |
7043 | instead of using internal_condition_case_1+current_minor_maps_error. | |
7044 | ||
1834d8e7 JD |
7045 | 2006-02-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7046 | ||
7047 | * xterm.c (handle_one_xevent): Must note mouse movement even for nil | |
7048 | frames for GTK, in that case it is the tool bar. This is so that | |
7049 | highlighted text get reset properly. | |
7050 | ||
cffc3472 JB |
7051 | 2006-02-09 Juanma Barranquero <lekktu@gmail.com> |
7052 | ||
7053 | * alloc.c (Fmake_bool_vector, Fpurecopy): Doc fixes. | |
7054 | ||
e99c7521 JD |
7055 | 2006-02-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7056 | ||
7057 | * window.c (adjust_window_trailing_edge): Check that shrinking | |
7058 | does not set a window to size zero or less. | |
7059 | ||
42ab8e36 MB |
7060 | 2006-02-08 Miles Bader <miles@gnu.org> |
7061 | ||
7062 | * editfns.c (Fconstrain_to_field): Use Fget_char_property instead | |
cffc3472 | 7063 | of Fget_text_property (other field functions work with overlays as |
42ab8e36 MB |
7064 | well as text-properties). |
7065 | ||
6a80c3ba KH |
7066 | 2006-02-07 Kenichi Handa <handa@m17n.org> |
7067 | ||
e1a67366 | 7068 | * dispextern.h (unibyte_display_via_language_environment): Extern it. |
6a80c3ba | 7069 | |
e1a67366 KS |
7070 | * xterm.h (unibyte_display_via_language_environment): |
7071 | * w32term.h (unibyte_display_via_language_environment): | |
7072 | * macterm.h (unibyte_display_via_language_environment): Delete extern. | |
6a80c3ba | 7073 | |
d2b4c17d KH |
7074 | 2006-02-07 Kenichi Handa <handa@m17n.org> |
7075 | ||
e1a67366 | 7076 | * term.c (append_glyph): Refer to it->char_to_display instead of it->c. |
d2b4c17d | 7077 | (produce_glyphs): Set the character to print in |
e1a67366 KS |
7078 | it->char_to_display. Handle unibyte-display-via-language-environment. |
7079 | (produce_stretch_glyph): Set character to print in it->char_to_display. | |
d2b4c17d | 7080 | |
8b9d426a KH |
7081 | 2006-02-06 Kenichi Handa <handa@m17n.org> |
7082 | ||
e1a67366 | 7083 | * lread.c (openp): Initialize encoded_fn before GCPRO it. |
8b9d426a | 7084 | |
d63b4018 KR |
7085 | 2006-02-05 Ken Raeburn <raeburn@raeburn.org> |
7086 | ||
7087 | * editfns.c (Fconstrain_to_field): Fix int/Lisp_Object mixup. | |
7088 | ||
98950fd6 KR |
7089 | * lisp.h (XPNTR) [!NO_UNION_TYPE && !HAVE_SHM && !DATA_SEG_BITS]: |
7090 | Cast bitfield value to EMACS_INT, to suppress gcc warning. | |
7091 | ||
ca21600d JB |
7092 | * xrdb.c (malloc, realloc, free) [emacs]: Undefine macros before |
7093 | defining. | |
0cf36656 | 7094 | |
ad02d7ea KS |
7095 | 2006-02-03 Kim F. Storm <storm@cua.dk> |
7096 | ||
7097 | * xdisp.c: Cache last merged escape glyph face. | |
7098 | (last_escape_glyph_frame, last_escape_glyph_face_id) | |
7099 | (last_escape_glyph_merged_face_id): New variables. | |
7100 | (get_next_display_element): Use/update them. | |
7101 | (redisplay_internal): Reset them before redisplay. | |
7102 | ||
7103 | * xdisp.c (set_iterator_to_next): Optimize 2004-12-13 fix. | |
7104 | Only recheck faces after displaying ellipsis. | |
7105 | ||
999a0fe5 KH |
7106 | 2006-02-02 Kenichi Handa <handa@m17n.org> |
7107 | ||
7108 | * coding.c (decode_composition_emacs_mule): Fix handling of | |
7109 | incorrect format data. | |
7110 | ||
cd7cd4ac JD |
7111 | 2006-01-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7112 | ||
14a56a1b JB |
7113 | * gtkutil.c (update_frame_tool_bar): Use new tool bar function |
7114 | gtk_toolbar_insert() so we can have tool bars of different sizes. | |
cd7cd4ac | 7115 | |
4cf7e99c LT |
7116 | 2006-01-30 Luc Teirlinck <teirllm@auburn.edu> |
7117 | ||
7118 | * data.c (Flistp): Doc fix. | |
7119 | ||
a3bc032f JB |
7120 | 2006-01-30 Juanma Barranquero <lekktu@gmail.com> |
7121 | ||
7122 | * window.c (Fother_window, Fwindow_vscroll, Fset_window_vscroll): | |
7123 | Fix typos in docstrings. | |
7124 | ||
6badf38c LT |
7125 | 2006-01-28 Luc Teirlinck <teirllm@auburn.edu> |
7126 | ||
1f2907ee | 7127 | * data.c (Fcar, Fcdr): Add links to Elisp manual to the docstrings. |
6badf38c | 7128 | |
e2984df0 CY |
7129 | 2006-01-27 Chong Yidong <cyd@stupidchicken.com> |
7130 | ||
7131 | * alloc.c (make_interval, allocate_string) | |
7132 | (allocate_string_data, make_float, Fcons, allocate_vectorlike) | |
7133 | (Fmake_symbol, allocate_misc): Use BLOCK_INPUT when accessing | |
7134 | global variables. | |
7135 | ||
dc86c16d EZ |
7136 | 2006-01-27 Eli Zaretskii <eliz@gnu.org> |
7137 | ||
7138 | * dired.c (DIRENTRY_NONEMPTY) [__CYGWIN__]: Don't use d_ino; use | |
7139 | the MSDOS definition. | |
7140 | ||
57436ee7 RS |
7141 | 2006-01-26 Richard M. Stallman <rms@gnu.org> |
7142 | ||
7143 | * alloc.c (check_pure_size): Make overflow message an "error message". | |
7144 | ||
7145 | * keymap.c (Fmap_keymap): Doc fix. | |
7146 | ||
7147 | * xfns.c (Fx_create_frame): Put all specified parms into f->param_alist | |
7148 | unless they were cleared out. | |
7149 | ||
7150 | * frame.c (x_get_arg): "Clear out" the parm in ALIST if found there. | |
7151 | ||
2cb3aec4 KL |
7152 | 2006-01-26 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu> |
7153 | ||
e477bb04 KL |
7154 | * editfns.c (Fconstrain_to_field): Fix behaviour on field boundaries. |
7155 | (find_field): Set before_field to after_field when pos is at BEGV. | |
293bd733 SM |
7156 | (Fline_beginning_position, Fline_end_position): |
7157 | Clarify confusing doc string. | |
2cb3aec4 | 7158 | |
ca21600d JB |
7159 | * cmds.c (Fbeginning_of_line, Fend_of_line): Clarify confusing doc |
7160 | string. | |
2cb3aec4 | 7161 | |
34b87689 KH |
7162 | 2006-01-26 Kenichi Handa <handa@m17n.org> |
7163 | ||
7164 | * callproc.c (Fcall_process): GCPRO error_file. Encode infile, | |
ca21600d JB |
7165 | current_dir, and error_file. On reporting an error, decode them |
7166 | back. | |
34b87689 | 7167 | |
1cee1e27 SM |
7168 | 2006-01-24 Stefan Monnier <monnier@iro.umontreal.ca> |
7169 | ||
7170 | * regex.c (IMMEDIATE_QUIT_CHECK): Use it with SYNC_INPUT as well. | |
7171 | (re_match_2_internal) <on_failure_jump, on_failure_jump_smart>: | |
7172 | Don't check for quit, since any loop will go through fail or jump. | |
7173 | ||
a0b08700 CY |
7174 | 2006-01-24 Chong Yidong <cyd@stupidchicken.com> |
7175 | ||
7176 | * alloc.c (allocate_string_data): Update next_free immediately, to | |
7177 | reduce risk of memory clobberage. | |
7178 | ||
bf7f1d30 KL |
7179 | 2006-01-24 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu> |
7180 | ||
7181 | * xdisp.c (handle_invisible_prop): Set it->position to fix cursor | |
7182 | display when point moves across an ellipsis. If there are | |
7183 | adjacent invisible texts, don't lose the second one's ellipsis. | |
7184 | (x_produce_glyphs): Doc fix. | |
7185 | ||
e5e26d8f SM |
7186 | 2006-01-23 Stefan Monnier <monnier@iro.umontreal.ca> |
7187 | ||
7188 | * xterm.c (x_catch_errors_unwind): Yet another int/Lisp_Object mixup. | |
7189 | ||
1ff4535b KS |
7190 | 2006-01-23 Kim F. Storm <storm@cua.dk> |
7191 | ||
7192 | * xdisp.c (handle_single_display_spec): Fix handling of space | |
7193 | property on char from string: set *position rather than | |
7194 | it->current.pos. | |
7195 | (produce_stretch_glyph): Reduce width of stretch glyphs so they | |
7196 | don't get wider than the window (unless truncate-lines is on). | |
7197 | ||
5badc98d SM |
7198 | 2006-01-22 Stefan Monnier <monnier@iro.umontreal.ca> |
7199 | ||
7200 | * xterm.c: Avoid allocating Lisp data from a signal handler. | |
7201 | (x_error_message): New var to replace x_error_message_string. | |
7202 | (x_error_catcher, x_catch_errors, x_catch_errors_unwind) | |
7203 | (x_check_errors, x_had_errors_p, x_clear_errors, x_error_handler) | |
7204 | (syms_of_xterm): Use it instead of x_error_message_string. | |
7205 | ||
7206 | * alloc.c (lisp_align_free): Add an assertion. | |
7207 | (make_interval, allocate_string, make_float, Fcons, Fmake_symbol) | |
7208 | (allocate_misc): If ENABLE_CHECKING is on, check we're not called from | |
7209 | a signal handler. | |
7210 | ||
638590e8 LT |
7211 | 2006-01-21 Luc Teirlinck <teirllm@auburn.edu> |
7212 | ||
7213 | * dired.c (syms_of_dired) <completion-ignored-extensions>: Doc fix. | |
7214 | ||
cde0a40c RF |
7215 | 2006-01-21 Romain Francoise <romain@orebokech.com> |
7216 | ||
7217 | * xdisp.c (get_window_cursor_type): Fix last change. | |
7218 | Update copyright year. | |
7219 | ||
ea5f3ad4 EZ |
7220 | 2006-01-20 Eli Zaretskii <eliz@gnu.org> |
7221 | ||
3fdf12ca EZ |
7222 | * lread.c (Fload): Don't leak the file descriptor returned by |
7223 | openp if we are going to signal an error. | |
7224 | ||
7559f399 EZ |
7225 | * w32.c (sys_close): If FD is outside [0..MAXDESC) limits, pass it |
7226 | directly to _close. | |
7227 | (sys_dup): Protect against new_fd larger than fd_info[] can handle. | |
7228 | (sys_read): If FD is outside [0..MAXDESC) limits, pass it directly | |
7229 | to _read. | |
cde0a40c | 7230 | (sys_write): If FD is outside [0..MAXDESC) limits, pass it |
7559f399 EZ |
7231 | directly to _write. |
7232 | ||
ea5f3ad4 EZ |
7233 | * .gdbinit: Don't dereference Vsystem_type's Lisp_Symbol pointer |
7234 | if it is NULL. | |
7235 | ||
ef8beec6 KH |
7236 | 2006-01-20 Kenichi Handa <handa@m17n.org> |
7237 | ||
7238 | * puresize.h (BASE_PURESIZE): Increment to 1190000. | |
7239 | ||
995f2df9 CY |
7240 | 2006-01-19 Chong Yidong <cyd@stupidchicken.com> |
7241 | ||
7242 | * xdisp.c (get_window_cursor_type): Use cursor type specified by | |
7243 | the selected buffer for the echo area too. | |
7244 | ||
c94c4d0a RS |
7245 | 2006-01-19 Richard M. Stallman <rms@gnu.org> |
7246 | ||
7247 | * keymap.c (Fmap_keymap): Doc fix. | |
7248 | ||
7249 | * s/irix6-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): New definitions. | |
7250 | ||
7251 | * keyboard.c (echo_char): Don't omit the space between first two | |
7252 | echoed chars. | |
7253 | ||
7254 | * minibuf.c (read_minibuf): Fix previous change. | |
7255 | ||
71578d4f KH |
7256 | 2006-01-19 Kenichi Handa <handa@m17n.org> |
7257 | ||
7258 | * xterm.c (handle_one_xevent): Handle keysyms 0x1000000..0x10000FF. | |
7259 | ||
edd1c685 RS |
7260 | 2006-01-17 Richard M. Stallman <rms@gnu.org> |
7261 | ||
7262 | * frame.c (x_frame_get_and_record_arg): Don't record Qunbound | |
7263 | value in f->param_alist. | |
7264 | ||
0501acd4 AS |
7265 | 2006-01-15 Andreas Schwab <schwab@suse.de> |
7266 | ||
7267 | * search.c (Freplace_match): Use UPPERCASEP instead of !NOCASEP. | |
7268 | ||
d33a7384 NR |
7269 | 2006-01-13 Richard M. Stallman <rms@gnu.org> |
7270 | ||
7271 | * Makefile.in: Define new macro WINDOW_SUPPORT. | |
7272 | (lisp): Use it. | |
7273 | (SOME_MACHINE_LISP): Add conditionally loaded files. | |
7274 | ||
2026418c YM |
7275 | 2006-01-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7276 | ||
7277 | * macterm.c [USE_ATSUI] (atsu_get_text_layout_with_text_ptr) | |
22e6707e | 7278 | [MAC_OS_X_VERSION_MAX_ALLOWED >= 1020]: Specify kATSLineUseQDRendering. |
2026418c YM |
7279 | (XLoadQueryFont) [USE_ATSUI]: Display diacritical marks in |
7280 | decomposed form. | |
7281 | ||
7282 | * process.c [HAVE_INTTYPES_H]: Include inttypes.h. | |
7283 | (ifflag_table): Fix typo (IFF_OACTIV -> IFF_OACTIVE). | |
7284 | (Fnetwork_interface_info): Use HAVE_STRUCT_IFREQ_IFR_NETMASK | |
7285 | macro. Also try member ifr_addr when getting netmask. | |
7286 | ||
b8f7f3be SM |
7287 | 2006-01-10 Stefan Monnier <monnier@iro.umontreal.ca> |
7288 | ||
7289 | * fileio.c (Fexpand_file_name): Remove redundant tests. | |
7290 | Fix elimination of // so that it doesn't prevent elimination of an | |
7291 | immediately following /. or /.. | |
7292 | ||
4c9ca1a3 JD |
7293 | 2006-01-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7294 | ||
7295 | * gtkutil.c (xg_toggle_notify_cb): New function. | |
7296 | (xg_toggle_visibility_cb): Move setting of x_gtk_show_hidden_files to | |
7297 | xg_toggle_notify_cb. | |
7298 | (xg_get_file_with_chooser): Add callback to xg_toggle_notify_cb when | |
7299 | parameter value changes so the toggle button gets updated. | |
7300 | ||
340bb2ea NR |
7301 | 2006-01-06 Nick Roberts <nickrob@snap.net.nz> |
7302 | ||
7303 | * .gdbinit: Fix typo. | |
7304 | ||
feaf060a EZ |
7305 | 2006-01-05 Eli Zaretskii <eliz@gnu.org> |
7306 | ||
7307 | * .gdbinit: Fix last change. | |
7308 | ||
c22cc558 KS |
7309 | 2006-01-05 Kim F. Storm <storm@cua.dk> |
7310 | ||
7311 | * process.c (Fmake_network_process): Use AF_INET instead of | |
22e6707e | 7312 | AF_UNSPEC when AF_INET6 is not defined. |
c22cc558 | 7313 | |
07f9b01c YM |
7314 | 2006-01-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7315 | ||
7316 | * mac.c (mac_coerce_file_name_ptr, mac_coerce_file_name_desc): | |
7317 | Don't check that the other type is known file-related one. | |
7318 | ||
7319 | * macfns.c (Fx_server_version): Use gestaltSystemVersionMajor, | |
7320 | gestaltSystemVersionMinor, and gestaltSystemVersionBugFix on Mac | |
7321 | OS X 10.4 and later. | |
7322 | ||
0facd9c3 JD |
7323 | 2006-01-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7324 | ||
7325 | * gtkutil.c (xg_get_image_for_pixmap): If the image is from a file, | |
7326 | let GTK do all image processing. Importing Emacs own pixmaps to GTK | |
7327 | looks bad for inactive tool bar items with some Gnome themes. | |
7328 | ||
805b0439 EZ |
7329 | 2006-01-04 Eli Zaretskii <eliz@gnu.org> |
7330 | ||
913645cd EZ |
7331 | * .gdbinit: Avoid a warning message when x_error_quitter is not |
7332 | compiled in. | |
7333 | ||
805b0439 EZ |
7334 | * process.c [WINDOWSNT]: Undef AF_INET6 to disable IPv6 support |
7335 | for w32. | |
7336 | ||
0f5642c2 KS |
7337 | 2006-01-04 Kim F. Storm <storm@cua.dk> |
7338 | ||
8a5db8ae KS |
7339 | * process.c: Add IPv6 support. |
7340 | (Qipv4, Qipv6): New vars. | |
7341 | (syms_of_process): Intern and staticpro them. | |
7342 | (Fformat_network_address): Handle 9 or 8 element vector as IPv6 address | |
7343 | with or without port number. Handle 4 element vector as IPv4 address | |
7344 | without port number. | |
7345 | (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size) | |
7346 | (conv_lisp_to_sockaddr): Handle IPv6 addresses. | |
7347 | (Fmake_network_process): Use :family 'ipv4 and 'ipv6 to explicitly | |
7348 | request that address family only. :family nil or omitted means to | |
7349 | determine address family from the specified :host and :service. | |
7350 | (ifflag_table): Add missing OpenBSD IFF_ flags. | |
7351 | (server_accept_connection): Handle IPv6 addresses. | |
7352 | (init_process): Add (:family ipv4) and (:family ipv6) sub-features. | |
7353 | ||
0f5642c2 KS |
7354 | * .gdbinit: Undo last change. Instead, look at Vsystem_type to |
7355 | determine which breakpoints to set. | |
7356 | ||
e7b394e1 SM |
7357 | 2006-01-03 Stefan Monnier <monnier@iro.umontreal.ca> |
7358 | ||
7359 | * keymap.c (describe_map_compare): Yet another int/Lisp_Object mixup. | |
7360 | ||
7361 | * window.h (Fwindow_minibuffer_p): Declare (for use in minibuf.c). | |
7362 | ||
dcc9b98d RF |
7363 | 2006-01-03 Romain Francoise <romain@orebokech.com> |
7364 | ||
7365 | * emacs.c (main): Update copyright year. | |
7366 | ||
6918ac24 | 7367 | 2006-01-03 Ken Raeburn <raeburn@gnu.org> |
1a271e14 KR |
7368 | |
7369 | * callproc.c (delete_temp_file): Bind file-name-handler-alist to | |
7370 | nil for the call to internal_delete_file. | |
7371 | ||
bb951f0e KR |
7372 | 2006-01-01 Ken Raeburn <raeburn@gnu.org> |
7373 | ||
7374 | * callproc.c (Fcall_process_region): Bind file-name-handler-alist | |
7375 | to nil for the call to Fwrite_region. | |
7376 | ||
b20de1cd RS |
7377 | 2005-12-31 Richard M. Stallman <rms@gnu.org> |
7378 | ||
7379 | * minibuf.c (read_minibuf): Clear out all other minibuffer windows. | |
7380 | ||
b5871831 EZ |
7381 | 2005-12-31 Eli Zaretskii <eliz@gnu.org> |
7382 | ||
7383 | * emacs.c (gdb_pvec_type): A dummy variable for GDB's sake. | |
7384 | ||
c26ec07f LT |
7385 | 2005-12-30 Luc Teirlinck <teirllm@auburn.edu> |
7386 | ||
7387 | * textprop.c (set_text_properties): Reword description of return value. | |
7388 | Return Qnil if caller wants to remove all text properties from a | |
7389 | string and the string already has no intervals. | |
7390 | ||
0db017c0 SM |
7391 | 2005-12-30 Stefan Monnier <monnier@iro.umontreal.ca> |
7392 | ||
7393 | * term.c (visible_cursor): New boolean var. | |
7394 | (set_terminal_modes, tty_show_cursor): Use "vs" or "ve" depending on | |
7395 | visible_cursor. | |
7396 | (syms_of_term): Export the new var as "visible-cursor". | |
7397 | ||
fc8dc7cf EZ |
7398 | 2005-12-30 Eli Zaretskii <eliz@gnu.org> |
7399 | ||
7400 | * .gdbinit: Tell users not to worry about GDB warnings that some | |
7401 | functions do not exist in the binary. | |
7402 | ||
82a80058 AS |
7403 | 2005-12-30 Andreas Schwab <schwab@suse.de> |
7404 | ||
7405 | * process.c (Fnetwork_interface_info): Correctly terminate the | |
7406 | loop over ifflag_table. | |
7407 | ||
c36238ee RS |
7408 | 2005-12-29 Richard M. Stallman <rms@gnu.org> |
7409 | ||
d11db2c8 RS |
7410 | * lread.c (readevalloop): Test for reading a whole buffer |
7411 | before actually reading anything. Handle all cases, including | |
7412 | START = END = nil and an already-narrowed buffer. | |
7413 | Convert END to a marker if it is a number. | |
7414 | ||
c36238ee RS |
7415 | * keymap.c (describe_map): Put sparse map elements into an array, |
7416 | sort them, then output a sequence of identical bindings on one line. | |
7417 | (struct describe_map_elt): New data type. | |
7418 | (describe_map_compare): New function. | |
7419 | ||
82bc1fd6 JD |
7420 | 2005-12-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7421 | ||
e7b394e1 | 7422 | * gtkutil.c (xg_get_file_with_chooser): Change message shown |
82bc1fd6 JD |
7423 | in file chooser. |
7424 | ||
fe5195e8 RS |
7425 | 2005-12-27 Richard M. Stallman <rms@gnu.org> |
7426 | ||
6281e1e8 RS |
7427 | * lread.c (readevalloop): Set PT and ZV in the proper buffer, |
7428 | not the current one. | |
7429 | ||
7430 | * minibuf.c (Fminibuffer_message): Doc fix. | |
7431 | (read_minibuf): Set current_buffer->enable_multibyte_characters sooner. | |
7432 | ||
fe5195e8 RS |
7433 | * eval.c (do_autoload): Ignore elements of Vautoload_queue |
7434 | where car is not symbol. | |
7435 | ||
0d9fb289 KH |
7436 | 2005-12-27 Kenichi Handa <handa@m17n.org> |
7437 | ||
7438 | * charset.c (lisp_string_width): Check multibyteness of STRING. | |
7439 | ||
ff9c9c59 JD |
7440 | 2005-12-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7441 | ||
14a56a1b | 7442 | * xfns.c (x_show_hidden_files): New variable. |
ff9c9c59 JD |
7443 | (syms_of_xfns): Defvar it. |
7444 | ||
7445 | * gtkutil.c (xg_toggle_visibility_cb): New function. | |
7446 | (xg_get_file_with_chooser): Add toggle hidden files and a message | |
7447 | to the new file chooser dialog. Show hidden files if | |
7448 | x_show_hidden_files is non-zero. | |
7449 | ||
d7504d5c RS |
7450 | 2005-12-26 Richard M. Stallman <rms@gnu.org> |
7451 | ||
7452 | * keyboard.h: Undo previous change. | |
7453 | ||
7454 | * Makefile.in (undo.o): Undo previous change. | |
7455 | ||
7456 | * undo.c: Undo previous change. | |
7457 | ||
0ad017ce LT |
7458 | 2005-12-26 Luc Teirlinck <teirllm@auburn.edu> |
7459 | ||
403c00a5 LT |
7460 | * keyboard.h: extern last_point_position_window. |
7461 | ||
0ad017ce LT |
7462 | * undo.c: include keyboard.h. |
7463 | ||
403c00a5 | 7464 | * Makefile.in (undo.o): Depend on keyboard.h. |
0ad017ce | 7465 | |
91e25f5e RS |
7466 | 2005-12-26 Richard M. Stallman <rms@gnu.org> |
7467 | ||
d7504d5c RS |
7468 | * commands.h (last_point_position_window): Declare. |
7469 | ||
91e25f5e RS |
7470 | * undo.c: Depend on window.h. |
7471 | (record_point): Save old point from the correct window. | |
7472 | ||
7473 | * keyboard.c (last_point_position_window): New variable. | |
7474 | (command_loop_1): Set last_point_position_window. | |
7475 | (syms_of_keyboard): Init it. | |
7476 | ||
7477 | * Makefile.in (undo.o): Depend on window.h. | |
7478 | ||
cad1051b RS |
7479 | 2005-12-25 Richard M. Stallman <rms@gnu.org> |
7480 | ||
7481 | * eval.c (un_autoload): Expect (0 . OFEATURES) in Vautoload_queue | |
7482 | to undo a `provide'. | |
7483 | ||
7484 | * fns.c (Fprovide): Store (0 . OFEATURES) in Vautoload_queue. | |
7485 | ||
d52c26e9 KB |
7486 | 2005-12-25 Giorgos Keramidas <keramida@ceid.upatras.gr> |
7487 | ||
7488 | * m/amdx86-64.h [__FreeBSD__] (START_FILES, LIB_STANDARD): | |
7489 | define for FreeBSD on this platform. | |
7490 | ||
14af1e44 YM |
7491 | 2005-12-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7492 | ||
7493 | * macterm.h (TYPE_FILE_NAME): New define. | |
7494 | (posix_pathname_to_fsspec, fsspec_to_posix_pathname): Remove externs. | |
7495 | ||
e7b394e1 SM |
7496 | * mac.c (posix_pathname_to_fsspec, fsspec_to_posix_pathname): |
7497 | Add prototypes. Make static. | |
14af1e44 YM |
7498 | (mac_aedesc_to_lisp): Initialize err to noErr. |
7499 | (mac_coerce_file_name_ptr, mac_coerce_file_name_desc) | |
7500 | (init_coercion_handler): New functions. | |
7501 | (Fmac_coerce_ae_data): Use coercion of Apple event data for | |
7502 | translation from/to file names. | |
7503 | ||
7504 | * macterm.c: Don't include sys/param.h. | |
7505 | (init_coercion_handler): Add extern. | |
7506 | [MAC_OS8] (main): Call init_coercion_handler. | |
7507 | (mac_initialize) [MAC_OSX]: Likewise. | |
7508 | [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Use coercion of | |
7509 | Apple event data for translation from/to file names. | |
7510 | ||
7511 | * macfns.c [TARGET_API_MAC_CARBON] (Fx_file_dialog): Likewise. | |
7512 | ||
7513 | * image.c [MAC_OS] (find_image_fsspec): Likewise. | |
7514 | ||
5fed8c15 | 7515 | 2005-12-23 Martin Rudalics <rudalics@gmx.at> |
bab3eee1 EZ |
7516 | |
7517 | * insdel.c (insert, insert_and_inherit, insert_before_markers) | |
7518 | (insert_before_markers_and_inherit): Make sure FROM is correct | |
7519 | when `after-change-functions' are called. | |
7520 | ||
90f2e16b JD |
7521 | 2005-12-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7522 | ||
7523 | * xfns.c (Fx_uses_old_gtk_dialog): New function. | |
7524 | ||
7525 | * gtkutil.c (xg_uses_old_file_dialog): New function. | |
7526 | (xg_get_file_name): Use xg_uses_old_file_dialog. | |
7527 | ||
7528 | * gtkutil.h: Declare xg_uses_old_file_dialog. | |
7529 | ||
0ee01fff RS |
7530 | 2005-12-22 Richard M. Stallman <rms@gnu.org> |
7531 | ||
7532 | * xmenu.c (xmenu_show): Call inhibit_garbage_collection. | |
7533 | ||
b73e4d84 YM |
7534 | 2005-12-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7535 | ||
7536 | * mac.c (Fmac_coerce_ae_data) [MAC_OSX]: Fix memory leak. | |
7537 | ||
7538 | * macgui.h (XCharStruct): Remove member `valid_p'. | |
7539 | (STORE_XCHARSTRUCT): Don't set member `valid_p'. | |
7540 | (XCharStructRow): New typedef. | |
e7b394e1 SM |
7541 | (XCHARSTRUCTROW_CHAR_VALID_P, XCHARSTRUCTROW_SET_CHAR_VALID): |
7542 | New macros. | |
b73e4d84 YM |
7543 | (struct MacFontStruct): Add member `bounds'. Remove member |
7544 | `per_char'. All uses for QuichDraw Text fonts are changed to | |
7545 | `bounds.per_char'. ATSUI font bounds are represented as an array | |
7546 | `bounds.rows' of XCharStructRow's, each of which consists of a | |
7547 | bitmap of valid entries and an array of char bounds. | |
7548 | ||
7549 | * macterm.c (mac_per_char_metric): Add prototype. | |
7550 | (x_per_char_metric) [USE_CG_TEXT_DRAWING]: Remove prototype. | |
7551 | (mac_query_char_extents): New function. | |
7552 | (x_per_char_metric): Use it. | |
7553 | (XLoadQueryFont): Likewise. Consolidate min/max_bounds calculations. | |
e7b394e1 SM |
7554 | [USE_CG_TEXT_DRAWING] (mac_draw_string_cg): |
7555 | Use mac_per_char_metric instead of x_per_char_metric. | |
b73e4d84 YM |
7556 | (mac_text_extents_16): New function. |
7557 | (mac_compute_glyph_string_overhangs): Use it. | |
7558 | (mac_unload_font): Free member `bounds' in struct MacFontStruct. | |
7559 | ||
a425bd03 SM |
7560 | 2005-12-21 Stefan Monnier <monnier@iro.umontreal.ca> |
7561 | ||
7562 | * minibuf.c (Fdisplay_completion_list): Use XCAR/XCDR. | |
7563 | (Fminibuffer_completion_help): Remove duplicates before display. | |
7564 | ||
aa0b0cd9 KL |
7565 | 2005-12-21 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu> |
7566 | ||
ca21600d JB |
7567 | * print.c (print_preprocess): Don't lose print_depth levels while |
7568 | iterating. | |
aa0b0cd9 | 7569 | |
5a61ec18 YM |
7570 | 2005-12-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7571 | ||
7572 | * macmenu.c (Qmac_apple_event): Add extern. | |
7573 | (set_frame_menubar, mac_menu_show keymp_panes) | |
7574 | (single_keymap_panes, list_of_panes, list_of_item) | |
7575 | (single_menu_item): Add argument types to prototypes. | |
7576 | (mac_dialog_show) [HAVE_DIALOGS]: Likewise. | |
7577 | (struct skp): New struct (from xmenu.c). | |
7578 | (single_keymap_panes, single_menu_item, list_of_panes) | |
7579 | (list_of_item): Sync with xmenu.c. | |
7580 | (Fx_popup_menu, Fx_popup_dialog): Likewise. Don't get window from | |
7581 | POSITION if it is mac-apple-event event. | |
7582 | (menubar_selection_callback): Don't use menu_command_in_progress. | |
7583 | (set_frame_menubar): First parse all submenus, then make | |
7584 | widget_value trees from them. Don't allocate any widget_value | |
7585 | objects until we are done with the parsing. | |
7586 | (parse_single_submenu, digest_single_submenu): New functions. | |
7587 | (single_submenu): Function deleted, replaced by those two. | |
523fc433 JB |
7588 | (install_menu_quit_handler) [HAVE_CANCELMENUTRACKING]: Don't create |
7589 | or dispose of EventHandlerUPP. Install hander to all submenus. | |
5a61ec18 YM |
7590 | (mac_menu_show) [!HAVE_MULTILINGUAL_MENU]: Use ENCODE_MENU_STRING |
7591 | instead of ENCODE_SYSTEM. | |
7592 | (free_frame_menubar, fill_submenu, fill_menu): Don't use NULL for | |
7593 | integer values. | |
7594 | [HAVE_DIALOGS] (mac_dialog_show): Sync with xdialog_show (in xmenu.c). | |
7595 | (add_menu_item) [TARGET_API_MAC_CARBON]: Use CFString functions to | |
7596 | format menu item string. Don't use NULL for integer value. | |
7597 | ||
7598 | * macterm.h (struct mac_output): Remove unused member | |
7599 | menu_command_in_progress. | |
7600 | ||
3bdba51d JL |
7601 | 2005-12-20 Juri Linkov <juri@jurta.org> |
7602 | ||
7603 | * xmenu.c (Fx_popup_menu): Set Vmenu_updating_frame to f if | |
7604 | position is non-nil, else set it to nil. | |
7605 | ||
7606 | * macmenu.c (Fx_popup_menu): Add `else' to set | |
7607 | Vmenu_updating_frame to nil only if position is nil. | |
7608 | ||
7609 | * w32menu.c (Fx_popup_menu): Add `else' to set | |
7610 | Vmenu_updating_frame to nil only if position is nil. | |
7611 | ||
d6a90a49 YM |
7612 | 2005-12-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7613 | ||
7614 | * keyboard.c (make_lispy_event): Drag-and-drop items are now | |
7615 | stored in member `args' of struct input_event. | |
7616 | ||
7617 | * termhooks.h (struct input_event): Fix comment for DRAG_N_DROP_EVENT. | |
7618 | ||
7619 | * xselect.c (x_handle_dnd_message): Drag-and-drop items are now | |
7620 | stored in member `args' of struct input_event. | |
7621 | ||
7622 | * w32term.c (construct_drag_n_drop): Likewise. | |
7623 | ||
7624 | * macterm.c (mac_do_receive_drag): Likewise. | |
7625 | (x_use_underline_position_properties): Undo 2005-07-13 change. | |
7626 | (syms_of_macterm) <x-use-underline-position-properties>: Likewise. | |
7627 | (mac_use_core_graphics, mac_wheel_button_is_mouse_2) | |
a425bd03 SM |
7628 | (mac_pass_command_to_system, mac_pass_control_to_system): |
7629 | New boolean variables renamed from Lisp_Object ones | |
d6a90a49 | 7630 | Vmac_use_core_graphics, Vmac_wheel_button_is_mouse_2, |
a425bd03 SM |
7631 | Vmac_pass_command_to_system, and Vmac_pass_control_to_system. |
7632 | All uses changed. | |
d6a90a49 YM |
7633 | (syms_of_macterm): DEFVAR_BOOL them. Remove previous DEFVAR_LISPs. |
7634 | Make them user options. | |
a425bd03 SM |
7635 | (mac_handle_command_event, mac_store_services_event): |
7636 | Call create_apple_event_from_event_ref without 5th argument. | |
d6a90a49 YM |
7637 | (backtranslate_modified_keycode): Mask off modifier keys that are |
7638 | mapped to some Emacs modifiers before passing it to KeyTranslate. | |
7639 | (syms_of_macterm): Make variables `mac-emulate-three-button-mouse', | |
7640 | `mac-wheel-button-is-mouse-2', and `mac-*-modifier' user options. | |
7641 | Fix docstrings of `mac-*-modifier'. | |
7642 | ||
7643 | * mac.c (create_apple_event_from_event_ref): Remove arg `types'. | |
a425bd03 SM |
7644 | (do_applescript): Change argument types to Lisp_Object. |
7645 | All uses changed. | |
d6a90a49 YM |
7646 | |
7647 | * macterm.h (create_apple_event_from_event_ref): Remove 5th | |
7648 | argument from extern. | |
7649 | ||
20d1c5c5 DN |
7650 | 2005-12-18 Dan Nicolaescu <dann@ics.uci.edu> |
7651 | ||
7652 | * xfns.c (Fx_backspace_delete_keys_p): In case we cannot determine | |
7653 | the answer, return `lambda', not nil. | |
7654 | ||
abeb5855 EZ |
7655 | 2005-12-17 Eli Zaretskii <eliz@gnu.org> |
7656 | ||
7657 | * makefile.w32-in (bootstrap-temacs): Warn that parts of commands | |
7658 | enclosed in $(ARGQUOTE)s should not be split between two lines, as | |
7659 | that will break with GNU Make >3.80, when sh.exe is used and | |
7660 | arg quoting is with '..'. | |
7661 | ||
6b8dfbf7 CY |
7662 | 2005-12-17 Chong Yidong <cyd@stupidchicken.com> |
7663 | ||
7664 | * print.c (print_preprocess): Just signal an error if print_depth | |
7665 | is exceeded. | |
7666 | ||
d912b87a EZ |
7667 | 2005-12-17 Eli Zaretskii <eliz@gnu.org> |
7668 | ||
7669 | * .gdbinit: Set a breakpoint on w32_abort. | |
7670 | ||
2a502a32 JL |
7671 | 2005-12-16 Juri Linkov <juri@jurta.org> |
7672 | ||
7673 | * minibuf.c (Fminibuffer_completion_contents): New Lisp function | |
7674 | created from minibuffer_completion_contents. | |
7675 | (minibuffer_completion_contents): Remove. | |
7676 | (do_completion, Fminibuffer_complete_word) | |
7677 | (Fminibuffer_completion_help): Replace minibuffer_completion_contents | |
7678 | with Fminibuffer_completion_contents. | |
7679 | (syms_of_minibuf): Add Sminibuffer_completion_contents. | |
7680 | (Fdisplay_completion_list): Doc fix. | |
7681 | (display_completion_list_1): Use `nil' for second arg of | |
7682 | `Fdisplay_completion_list'. | |
7683 | ||
bf63eb69 JD |
7684 | 2005-12-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7685 | ||
7686 | * xfns.c (compute_tip_xy): Handle negative dx and dy. | |
7687 | ||
a425bd03 | 7688 | * w32fns.c (compute_tip_xy): Ditto. |
bf63eb69 | 7689 | |
a425bd03 | 7690 | * macfns.c (compute_tip_xy): Ditto. |
bf63eb69 | 7691 | |
9b98e161 CY |
7692 | 2005-12-14 Chong Yidong <cyd@stupidchicken.com> |
7693 | ||
7694 | * print.c (print_preprocess): Go to a deeper print_depth to avoid | |
7695 | print_object loop. | |
7696 | ||
89aa725a KH |
7697 | 2005-12-14 Kyotaro HORIGUCHI <horiguti@meadowy.org> (tiny change) |
7698 | ||
7699 | * coding.c (code_convert_region_unwind): GCPRO arg. | |
7700 | ||
3b006f5b JD |
7701 | 2005-12-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7702 | ||
57134802 JD |
7703 | * xfns.c (compute_tip_xy): Calculate root_y the same way as root_x, |
7704 | i.e. dy is offset from top of frame instead of bottom. | |
7705 | ||
7706 | * macfns.c (compute_tip_xy): Ditto. | |
7707 | ||
7708 | * w32fns.c (compute_tip_xy): Ditto. | |
7709 | ||
3b006f5b JD |
7710 | * gtkutil.c (SSDATA): New macro to remove compiler warnings. |
7711 | (xg_get_image_for_pixmap, xg_create_frame_widgets) | |
7712 | (xg_get_file_with_chooser): Use SSDATA instead of SDATA. | |
7713 | ||
7714 | * xmenu.c (menubar_selection_callback): Do nothing if the callback | |
7715 | is for an unselected radio menu item. | |
7716 | ||
2cb33a98 RS |
7717 | 2005-12-11 Richard M. Stallman <rms@gnu.org> |
7718 | ||
7719 | * xdisp.c (syms_of_xdisp) <blink-cursor-alist>: Doc fix. | |
7720 | ||
7721 | * lisp.h [! NO_UNION_TYPE] (EQ): Use == so args are computed just once. | |
7722 | ||
7723 | * keymap.c (Fset_keymap_parent, store_in_keymap): Use CHECK_IMPURE. | |
7724 | (Flookup_key): Doc fix. | |
7725 | (syms_of_keymap) <function-key-map>: Doc fix. | |
7726 | ||
7727 | * fns.c (Frequire): Treat evaluating from a source file | |
7728 | like loading the file. | |
7729 | ||
7730 | * floatfns.c (Flog): Doc fix. | |
7731 | ||
7732 | * fileio.c (Finsert_file_contents): Set Vdeactivate_mark | |
7733 | when we change the buffer. | |
7734 | ||
d7d1f75e JL |
7735 | 2005-12-11 Juri Linkov <juri@jurta.org> |
7736 | ||
7737 | * minibuf.c (display_completion_list_1): | |
7738 | Call `minibuffer_completion_contents' instead of using `nil' as | |
7739 | second arg of `Fdisplay_completion_list'. | |
7740 | (keys_of_minibuf): Unbind SPC in | |
7741 | Vminibuffer_local_filename_completion_map (see also related | |
7742 | change on 2005-12-06). | |
7743 | ||
ac8fcf0f YM |
7744 | 2005-12-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7745 | ||
7746 | * emacs.c (main) [MAC_OS8]: Undo previous change. | |
7747 | ||
7748 | * macselect.c (syms_of_macselect) <mac-apple-event-map>: | |
7749 | Initialize to nil. Keymap is now created in lisp/term/mac-win.el. | |
7750 | ||
4b3eb407 YM |
7751 | 2005-12-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7752 | ||
7753 | * Makefile.in (macselect.o): Depend on keymap.h. | |
7754 | ||
7755 | * emacs.c (main) [MAC_OS8]: Call syms_of_keymap before | |
7756 | syms_of_macselect. | |
7757 | ||
7758 | * image.c (init_image) [MAC_OS]: Don't call EnterMovies. | |
7759 | [!HAVE_GIF && MAC_OS] (gif_load): Call EnterMovies. | |
7760 | ||
7761 | * keyboard.c (Qmac_apple_event) [MAC_OS]: New variable. | |
7762 | (syms_of_keyboard) [MAC_OS]: Initialize it. | |
7763 | (make_lispy_event) [MAC_OS]: Build lisp event for MAC_APPLE_EVENT. | |
7764 | ||
7765 | * mac.c (Qundecoded_file_name): New variable. | |
7766 | (syms_of_mac): Initialize it. | |
7767 | (mac_aelist_to_lisp, mac_aedesc_to_lisp): New functions. | |
a425bd03 | 7768 | [TARGET_API_MAC_CARBON] (create_apple_event_from_event_ref): New fun. |
4b3eb407 YM |
7769 | (Fmac_coerce_ae_data): New defun. |
7770 | (syms_of_mac): Defsubr it. | |
7771 | ||
7772 | * macselect.c: Include keymap.h. | |
7773 | (mac_ready_for_apple_events): New variable. | |
7774 | (Vmac_apple_event_map, Qmac_apple_event_class) | |
7775 | (Qmac_apple_event_id): New variables. | |
7776 | (syms_of_macselect): Initialize them. | |
7777 | (Qundefined, mac_store_apple_event): Add externs. | |
7778 | (struct apple_event_binding): New struct. | |
7779 | (find_event_binding_fun, find_event_binding) | |
7780 | (mac_find_apple_event_spec, defer_apple_events) | |
7781 | (mac_handle_apple_event, init_apple_event_handler) | |
7782 | (copy_scrap_flavor_data): New functions. | |
7783 | (Fmac_process_deferred_apple_events): New defun. | |
7784 | (syms_of_macselect): Defsubr it. | |
7785 | (mac_store_services_event): Fix extern. | |
7786 | (mac_handle_service_event): Don't allocate Lisp objects during | |
7787 | asynchronous input processing. Use mac_store_services_event | |
7788 | instead of mac_store_application_menu_event. | |
7789 | ||
7790 | * macterm.c (Qmac_ready_for_drag_n_drop, Qapplication, Qabout) | |
7791 | (Qpreferences): Remove variables. | |
05b33f7c | 7792 | (syms_of_macterm): Don't initialize them. |
4b3eb407 YM |
7793 | (Qhicommand) [USE_CARBON_EVENTS]: New variable. |
7794 | (syms_of_macterm) [USE_CARBON_EVENTS]: Initialize it. | |
7795 | (init_required_apple_events, do_ae_open_application) | |
7796 | (do_ae_print_documents, do_ae_open_documents) | |
7797 | (do_ae_quit_application): Remove functions and prototypes. | |
7798 | (mac_ready_for_apple_events, Qundefined, init_apple_event_handler) | |
7799 | (mac_find_apple_event_spec): Add externs. | |
7800 | (mac_store_application_menu_event): Remove function. | |
7801 | (mac_store_apple_event, mac_make_lispy_event_code): New functions. | |
7802 | (mac_handle_command_event): Create Apple event from Carbon event. | |
7803 | Use mac_store_apple_event instead of mac_store_application_menu_event. | |
7804 | [MAC_OSX] (mac_store_services_event): Likewise. | |
7805 | (struct SelectionRange, SelectionRange): Remove struct and typedef. | |
7806 | [MAC_OS8] (main): Call init_apple_event_handler instead of | |
7807 | init_required_apple_events. | |
7808 | (mac_initialize) [MAC_OSX]: Likewise. | |
e7b394e1 SM |
7809 | [!USE_CARBON_EVENTS] (mac_wait_next_event): |
7810 | Use mac_ready_for_apple_events instead of Qmac_ready_for_drag_n_drop. | |
4b3eb407 | 7811 | |
e7b394e1 SM |
7812 | * macterm.h (mac_make_lispy_event_code, mac_aedesc_to_lisp): |
7813 | Add externs. | |
4b3eb407 YM |
7814 | (create_apple_event_from_event_ref) [TARGET_API_MAC_CARBON]: Likewise. |
7815 | (Fmac_get_preference): Add EXFUN. | |
7816 | ||
7817 | * termhooks.h (enum event_kind) [MAC_OS]: Add new MAC_APPLE_EVENT | |
7818 | event. | |
7819 | ||
e358e052 RS |
7820 | 2005-12-09 Richard M. Stallman <rms@gnu.org> |
7821 | ||
7822 | * xfns.c (Fx_create_frame): Reinstate previous change. | |
7823 | ||
9ea74bfb EZ |
7824 | 2005-12-09 Eli Zaretskii <eliz@gnu.org> |
7825 | ||
7826 | * w32fns.c (w32_abort) [__GNUC__]: Add instructions for attaching | |
7827 | GDB to the abort dialog. | |
7828 | ||
9dd28cae | 7829 | 2005-12-09 Kyotaro HORIGUCHI <horiguti@meadowy.org> (tiny change) |
84fdb82c KS |
7830 | |
7831 | * indent.c (Fvertical_motion): Force move if starting on | |
7832 | stretch glyph. | |
7833 | ||
2fda6977 RS |
7834 | 2005-12-08 Richard M. Stallman <rms@gnu.org> |
7835 | ||
2663a204 RS |
7836 | * lread.c (read_escape) <\s>: Don't treat strings specially. |
7837 | ||
2fda6977 RS |
7838 | * xfns.c (Fx_create_frame): Comment out previous change. |
7839 | ||
225c13a5 KL |
7840 | 2005-12-07 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu> |
7841 | ||
7842 | * xfns.c (Fx_create_frame): Initialize Vdefault_minibuffer_frame, | |
7843 | when needed. | |
7844 | ||
da8ec671 SM |
7845 | 2005-12-06 Stefan Monnier <monnier@iro.umontreal.ca> |
7846 | ||
7847 | * minibuf.c (keys_of_minibuf): Just unbind SPC in | |
7848 | Vminibuffer_local_filename_completion_map rather than forcing it | |
7849 | explicitly to the same binding as the global map. | |
7850 | ||
88fde92a KR |
7851 | 2005-12-06 Ken Raeburn <raeburn@gnu.org> |
7852 | ||
e7b394e1 | 7853 | * buffer.c (Fkill_buffer): Avoid dangerous side effects in NILP args. |
88fde92a | 7854 | * bytecode.c (Fbyte_code): Likewise. |
e7b394e1 | 7855 | * fileio.c (internal_delete_file, Fread_file_name_internal): Likewise. |
88fde92a KR |
7856 | * minibuf.c (Fminibuffer_complete_and_exit): Likewise. |
7857 | * undo.c (truncate_undo_list): Likewise. | |
7858 | ||
fa0d4d0c RS |
7859 | 2005-12-05 Richard M. Stallman <rms@gnu.org> |
7860 | ||
7861 | * window.c (enlarge_window): Eliminate arg preserve_before. | |
7862 | Assume it is 0. All callers changed. | |
7863 | (Fenlarge_window, Fshrink_window): Likewise. | |
7864 | ||
5a98616e EZ |
7865 | 2005-12-02 Eli Zaretskii <eliz@gnu.org> |
7866 | ||
7867 | * w32fns.c (compute_tip_xy): Put tip above pointer if it doesn't | |
7868 | fit below. | |
7869 | ||
1dbacb90 JD |
7870 | 2005-12-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
7871 | ||
7872 | * xterm.h: Add prototype for xg_set_icon_from_xpm_data. | |
7873 | ||
7874 | * xfns.c (x_real_positions): int ign => unsigned int. | |
7875 | (xg_set_icon_from_xpm_data): Remove unused variable err. | |
7876 | (x_set_name_internal, Fx_create_frame, xg_set_icon): Add cast | |
7877 | to remove compiler warning. | |
7878 | (compute_tip_xy): Put tip above pointer if it doesn't fit below. | |
7879 | ||
0a79da1b EZ |
7880 | 2005-12-02 David Reitter <david.reitter@gmail.com> |
7881 | ||
7882 | * minibuf.c (Fcompleting_read): If Vminibuffer_completing_file_name is | |
7883 | non-nil, use the new keymaps Vminibuffer_local_filename_completion_map | |
7884 | and Vminibuffer_local_must_match_filename_map keymaps. | |
7885 | (keys_of_minibuf): Bind SPC in the new file-name completion keymaps. | |
7886 | ||
7887 | * keymap.c (Vminibuffer_local_filename_completion_map) | |
7888 | (Vminibuffer_local_must_match_filename_map): New variables. | |
7889 | (syms_of_keymap): DEFVAR_LISP them, initialize them, and set their | |
7890 | parent to be Vminibuffer_local_completion_map and | |
7891 | Vminibuffer_local_must_match_map, respectively. | |
7892 | ||
7893 | * commands.h (Vminibuffer_local_filename_completion_map) | |
7894 | (Vminibuffer_local_must_match_filename_map): Declare the new keymaps. | |
7895 | ||
e67a1dea SM |
7896 | 2005-12-01 Stefan Monnier <monnier@iro.umontreal.ca> |
7897 | ||
7898 | * window.c (Fset_window_configuration): Don't accidentally copy the | |
7899 | window-point of one window to another. | |
7900 | ||
6ad0f04d KL |
7901 | 2005-11-30 L\e$,1 q\e(Brentey K\e,Aa\e(Broly <lorentey@elte.hu> |
7902 | ||
7854b2a3 | 7903 | * buffer.c (Fpop_to_buffer): Remove superfluous call to record_buffer. |
6ad0f04d | 7904 | |
4269a2fd KS |
7905 | 2005-11-30 Kim F. Storm <storm@cua.dk> |
7906 | ||
7907 | * alloc.c: Include fcntl.h. Define O_WRONLY if not defined. | |
7908 | (valid_lisp_object_p) [!GC_MARK_STACK]: Validate pointer by | |
7909 | passing it to `emacs_write'. | |
7910 | ||
96013ba9 SM |
7911 | 2005-11-29 Ari Roponen <arjuropo@cc.jyu.fi> (tiny change) |
7912 | ||
7913 | * atimer.c (stop_other_atimers): Fix loop to correctly compute `prev'. | |
7914 | ||
161ef3be RS |
7915 | 2005-11-27 Richard M. Stallman <rms@gnu.org> |
7916 | ||
7917 | * window.c (adjust_window_trailing_edge): New function. | |
7918 | (Fadjust_window_trailing_edge): New function. | |
96013ba9 | 7919 | (syms_of_window): Defsubr it. |
161ef3be RS |
7920 | (window_deletion_count): New variable. |
7921 | (delete_window): Update window_deletion_count. | |
7922 | ||
02b1a164 EZ |
7923 | 2005-11-26 Eli Zaretskii <eliz@gnu.org> |
7924 | ||
7925 | * minibuf.c (syms_of_minibuf): Mention the extension of | |
7926 | `completion-auto-help's meaning by complete.el. | |
7927 | ||
07908aec EZ |
7928 | 2005-11-26 Henrik Enberg <henrik.enberg@telia.com> |
7929 | ||
96013ba9 | 7930 | * xfaces.c (Finternal_set_lisp_face_attribute_from_resource): |
07908aec EZ |
7931 | Handle :inherit property as a lisp expression. |
7932 | ||
b9c7cbf9 YM |
7933 | 2005-11-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7934 | ||
7935 | * macterm.c (Qcontrol): Rename from Qctrl. All uses changed. | |
7936 | (syms_of_macterm): Staticpro Qcontrol, Qmeta, Qalt, Qhyper, | |
7937 | Qsuper, and Qmodifier_value. | |
7938 | (Vmac_control_modifier, Vmac_option_modifier) | |
7939 | (Vmac_command_modifier, Vmac_function_modifier) | |
7940 | (Vmac_emulate_three_button_mouse, Vmac_wheel_button_is_mouse_2) | |
7941 | (Vmac_pass_command_to_system, Vmac_pass_control_to_system) | |
7942 | (Vmac_charset_info_alist): Doc fixes. | |
7943 | ||
2c012c41 YM |
7944 | 2005-11-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7945 | ||
7946 | * emacs.c (main) [MAC_OSX]: Change working directory to home | |
7947 | directory if `-psn_*' option is specified. | |
7948 | ||
7949 | * mac.c (DECODE_UTF_8): Remove macro. | |
7950 | [TARGET_API_MAC_CARBON] (cfstring_to_lisp_nodecode): New function | |
7951 | created from cfstring_to_lisp. | |
7952 | [TARGET_API_MAC_CARBON] (cfstring_to_lisp): Use it. | |
7953 | (xrm_get_preference_database) [TARGET_API_MAC_CARBON]: Likewise. | |
7954 | ||
7955 | * macterm.h (cfstring_to_lisp_nodecode) [TARGET_API_MAC_CARBON]: | |
7956 | Add prototype. | |
7957 | ||
88fde92a | 7958 | 2005-11-21 Ken Raeburn <raeburn@gnu.org> |
d7c0be75 KR |
7959 | |
7960 | * keymap.c (shadow_lookup): Use make_number to pass a number to | |
7961 | Fsubstring. | |
7962 | ||
17c1971a JL |
7963 | 2005-11-21 Juri Linkov <juri@jurta.org> |
7964 | ||
7965 | * puresize.h (BASE_PURESIZE): Increment to 1180000. | |
7966 | ||
0268cef3 CY |
7967 | 2005-11-20 Chong Yidong <cyd@stupidchicken.com> |
7968 | ||
96013ba9 SM |
7969 | * xfaces.c (Finternal_set_lisp_face_attribute): |
7970 | Use :ignore-defface for new frame defaults when `unspecified' is | |
0268cef3 CY |
7971 | supplied. |
7972 | (Finternal_get_lisp_face_attribute): Hide :ignore-defface. | |
67d23e01 CY |
7973 | (merge_face_vectors): Don't do :ignore-defface overwriting here. |
7974 | (Finternal_merge_in_global_face): Do it here. | |
0268cef3 | 7975 | |
dd949173 JL |
7976 | 2005-11-20 Juri Linkov <juri@jurta.org> |
7977 | ||
7978 | * charset.c (invalid_character): Use Lisp-readable syntax | |
7979 | for octal and hex. Reorder decimal, octal and hex values. | |
7980 | ||
76986433 NR |
7981 | 2005-11-20 Nick Roberts <nickrob@snap.net.nz> |
7982 | ||
7983 | * lisp.h: Use typedef when Lisp_Object is EMACS_INT so that | |
7984 | this type is recognised when debugging. | |
7985 | ||
603add2d AS |
7986 | 2005-11-19 Andreas Schwab <schwab@suse.de> |
7987 | ||
7988 | * .gdbinit (nextcons, xcdr, xfloat): Update for changes in | |
7989 | Lisp_Cons and Lisp_Float. | |
7990 | ||
125ce9ec YM |
7991 | 2005-11-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
7992 | ||
7993 | * macterm.c [USE_CG_TEXT_DRAWING] (cg_text_anti_aliasing_threshold): | |
7994 | New variable. | |
96013ba9 | 7995 | [USE_CG_TEXT_DRAWING] (init_cg_text_anti_aliasing_threshold): New fun. |
125ce9ec YM |
7996 | (init_font_name_table) [USE_ATSUI && USE_CG_TEXT_DRAWING]: Use it. |
7997 | [USE_CG_TEXT_DRAWING] (mac_draw_string_cg): Don't do antialiasing if | |
7998 | font size is smaller than or equal to cg_text_anti_aliasing_threshold. | |
7999 | ||
2ff10663 CY |
8000 | 2005-11-17 Chong Yidong <cyd@stupidchicken.com> |
8001 | ||
96013ba9 | 8002 | * image.c (x_create_bitmap_from_xpm_data): Free attributes on fail. |
fe45ad15 | 8003 | |
2ff10663 CY |
8004 | * xfaces.c (Qignore_defface): New variable. |
8005 | (syms_of_xfaces): Provide `:ignore-defface'. | |
8006 | (IGNORE_DEFFACE_P): New macro. | |
05338727 CY |
8007 | (check_lface_attrs, lface_fully_specified_p) |
8008 | (Finternal_set_lisp_face_attribute) | |
96013ba9 SM |
8009 | (Fface_attribute_relative_p, Fmerge_face_attribute): |
8010 | Handle Qignore_defface as a possible value. | |
2ff10663 CY |
8011 | (merge_face_vectors): The merged face is `unspecified' if the |
8012 | mergee specifies `:ignore-defface'. | |
8013 | ||
c01f0ed3 SM |
8014 | 2005-11-16 Stefan Monnier <monnier@iro.umontreal.ca> |
8015 | ||
8016 | * lread.c (readevalloop): Add missing GCPROs. | |
8017 | ||
786a43d6 CY |
8018 | 2005-11-16 Chong Yidong <cyd@stupidchicken.com> |
8019 | ||
9f7b984b CY |
8020 | * xfns.c (xg_set_icon_from_xpm_data): New function. |
8021 | ||
c01f0ed3 SM |
8022 | * gnu.h (gnu_xpm_bits): Rename from gnu_bits. |
8023 | (gnu_xbm_bits): Rename from gnu_bits (xbm version). | |
786a43d6 CY |
8024 | |
8025 | * xterm.c (x_bitmap_icon): Use the xpm if available. | |
8026 | ||
8027 | * image.c (x_create_bitmap_from_xpm_data): New function. | |
54188d8f | 8028 | (x_create_bitmap_from_xpm_data): Initialize XpmAttributes. |
786a43d6 | 8029 | |
8ab84823 LT |
8030 | 2005-11-15 Luc Teirlinck <teirllm@auburn.edu> |
8031 | ||
8032 | * Makefile.in (lisp, shortlisp): Add rfn-eshadow. | |
8033 | ||
3671718b NR |
8034 | 2005-11-16 Nick Roberts <nickrob@snap.net.nz> |
8035 | ||
8036 | * .gdbinit: Make SIGTSTP work like SIGINT normally does. | |
8037 | ||
28a099a4 AS |
8038 | 2005-11-15 Andreas Schwab <schwab@suse.de> |
8039 | ||
8040 | * lisp.h (struct Lisp_Cons): Make cdr a union. | |
8041 | (XCDR_AS_LVALUE): Adjust. | |
8042 | (struct Lisp_Float): Make data a union. | |
8043 | (XFLOAT_DATA): Adjust. | |
8044 | ||
8045 | * alloc.c (free_float): Make free list chaining aliasing-safe. | |
8046 | (make_float): Likewise. | |
8047 | (free_cons): Likewise. | |
8048 | (Fcons): Likewise. | |
8049 | (check_cons_list): Likewise. | |
8050 | (Fmake_symbol): Likewise. | |
8051 | (allocate_misc): Likewise. | |
8052 | (free_misc): Likewise. | |
8053 | (gc_sweep): Likewise. | |
8054 | ||
308a6607 YM |
8055 | 2005-11-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8056 | ||
fc09d07f YM |
8057 | * mac.c (HASHKEY_QUERY_CACHE): New define. |
8058 | (xrm_create_database, xrm_q_put_resource): Empty query cache. | |
8059 | (xrm_get_resource): Use query cache. | |
8060 | ||
308a6607 YM |
8061 | * image.c (init_image) [MAC_OS]: Don't call EnterMovies if |
8062 | inhibit_window_system is set. | |
8063 | ||
29b585db YM |
8064 | 2005-11-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8065 | ||
8066 | * macgui.h (USE_CG_TEXT_DRAWING): New define. | |
8067 | (struct MacFontStruct) [USE_CG_TEXT_DRAWING]: New members cg_font | |
8068 | and cg_glyphs. | |
8069 | ||
8070 | * macterm.c [USE_CG_TEXT_DRAWING] (mac_draw_string_cg): New function. | |
8071 | (x_draw_glyph_string_foreground) [USE_CG_TEXT_DRAWING]: Use it. | |
8072 | (XLoadQueryFont) [USE_CG_TEXT_DRAWING]: Set members cg_font and | |
8073 | cg_glyphs in struct MacFontStruct if synthesized bold or italic is | |
8074 | not used and font substitution never occurs for ASCII and Latin-1 | |
8075 | characters. | |
8076 | (XLoadQueryFont): Maximum and minimum metrics are now those among | |
8077 | ASCII characters. | |
8078 | (XLoadQueryFont) [!MAC_OS8 || USE_ATSUI]: Apply WebKit-style | |
8079 | height adjustments for Courier, Helvetica, and Times. | |
8080 | ||
8081 | * s/darwin.h (LIBS_CARBON) [!HAVE_CARBON]: Remove `-framework Carbon'. | |
8082 | ||
9dd28cae | 8083 | 2005-11-11 David Reitter <david.reitter@gmail.com> |
b02e3f7b | 8084 | |
dff79d04 | 8085 | * macterm.c (syms_of_macterm): Remove macCtrlKey, macShiftKey, |
267ee78f | 8086 | macMetaKey, macAltKey. Introduce Qctrl, Qmeta, |
dff79d04 ST |
8087 | Vmac_control_modifier / mac-control-modifier, |
8088 | Vmac_option_modifier / mac-option-modifier, | |
8089 | Vmac_command_modifier / mac-command-modifier. | |
8090 | (mac_to_emacs_modifiers): Use the new style modifier | |
c01f0ed3 SM |
8091 | variables. Return UInt32 (modifiers are longs now.) |
8092 | (backtranslate_modified_keycode): New function (refactoring). | |
8093 | (XTread_socket): Use new modifier variables and refactored function. | |
8094 | (mac_determine_quit_char_modifiers): Remove macMetaKey (there is | |
8095 | no dedicated meta key. Not in use anyway.) | |
b02e3f7b ST |
8096 | (convert_fn_keycode): Map Fn-keys to their original keycode |
8097 | using a table (english keyboard only). | |
b02e3f7b | 8098 | |
6a77a9f5 KS |
8099 | 2005-11-11 Kim F. Storm <storm@cua.dk> |
8100 | ||
ab4d879e KS |
8101 | * .gdbinit (pitx): Fix output format if n_overlay_strings > 0. |
8102 | Add post hook to "backtrace" to always dump lisp call stack to | |
8103 | increase chance of people sending it to us when reporting bugs. | |
8104 | ||
8c41220c KS |
8105 | * doc.c (Fsubstitute_command_keys): Doc fix. |
8106 | ||
6a77a9f5 KS |
8107 | * dispextern.h (struct it): New member ignore_overlay_strings_at_pos_p. |
8108 | ||
8109 | * xdisp.c (handle_stop): Skip overlay string handling if | |
8110 | ignore_overlay_strings_at_pos_p is set. | |
8111 | (set_iterator_to_next): At end of display vector, set | |
8112 | ignore_overlay_strings_at_pos_p if dpvec came from an overlay | |
8113 | string, so we skip those overlay strings at current pos. | |
8114 | ||
9dd28cae | 8115 | 2005-11-10 Lars Hansen <larsh@soem.dk> |
19a9c3b7 LH |
8116 | |
8117 | * fileio.c (file-regular-p): Doc fix. | |
8118 | ||
932954d1 KS |
8119 | 2005-11-10 Kim F. Storm <storm@cua.dk> |
8120 | ||
8121 | * alloc.c (valid_lisp_object_p): New function to validate that | |
8122 | an object is really a valid Lisp_Object. | |
8123 | ||
8124 | * lisp.h (valid_lisp_object_p): Add prototype. | |
8125 | ||
8126 | * print.c (safe_debug_print): New function to be called from gdb | |
8127 | to print Lisp objects; use valid_lisp_object_p to avoid crashing | |
8128 | if user tries to print something which is not a Lisp object. | |
8129 | ||
8130 | * .gdbinit (pp, pp1): Use safe_debug_print. | |
8131 | (pv, pv1): New commands to print value of a lisp variable. | |
8132 | ||
78e5988d NR |
8133 | 2005-11-10 Nick Roberts <nickrob@snap.net.nz> |
8134 | ||
8135 | * .gdbinit (pp1): New user-defined function. | |
8136 | ||
f56a5bd8 YM |
8137 | 2005-11-09 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8138 | ||
8139 | * image.c [MAC_OSX] (image_load_quartz2d): Fix memory leak. | |
8140 | ||
8141 | * mac.c [MAC_OSX] (init_mac_osx_environment): Reinitialize locale | |
8142 | related variables for dumped executable. | |
8143 | ||
8144 | * unexmacosx.c (unexec_write_zero): New function. | |
8145 | (copy_data_segment): Clear uninitialized local variables in | |
8146 | statically linked libraries. | |
8147 | ||
8148 | * s/darwin.h (C_SWITCH_SYSTEM): Remove -fno-common. | |
8149 | ||
58b6f884 JL |
8150 | 2005-11-09 Juri Linkov <juri@jurta.org> |
8151 | ||
8152 | * keymap.c (shadow_lookup): If Flookup_key returns a number, | |
8153 | call it again with a sub-key-sequence, and if its return value | |
8154 | is non-nil (sub-key is bound), return nil. | |
8155 | ||
1f5f957a KS |
8156 | 2005-11-08 Kim F. Storm <storm@cua.dk> |
8157 | ||
8158 | * process.c (Fsignal_process): Recognize signal names with and | |
8159 | without SIG prefix, e.g. SIGHUP and HUP. | |
8160 | ||
8161 | * search.c (search_buffer): No need to initialize base_pat. | |
8162 | ||
20b69789 SM |
8163 | 2005-11-04 Stefan Monnier <monnier@iro.umontreal.ca> |
8164 | ||
8165 | * window.c (Fget_lru_window, Fget_largest_window, window_loop): | |
8166 | Don't abuse the `mini' arg. Use the `obj' arg instead. | |
8167 | ||
7353f169 KS |
8168 | 2005-11-04 Kim F. Storm <storm@cua.dk> |
8169 | ||
8170 | * xdisp.c (show_mouse_face): Clear mouse face to eol. | |
8171 | ||
1f7b1131 DN |
8172 | 2005-11-03 Dan Nicolaescu <dann@ics.uci.edu> |
8173 | ||
8174 | * Makefile.in (lisp, shortlisp): Add emacs-lisp/syntax.elc, | |
8175 | font-lock.elc and jit-lock.elc. | |
8176 | ||
e082564e RS |
8177 | 2005-11-03 Richard M. Stallman <rms@gnu.org> |
8178 | ||
8179 | * window.c (Fenlarge_window): Rename SIDE to HORIZONTAL. | |
8180 | (enlarge_window): Rename WIDTHFLAG to HORIZ_FLAG. | |
8181 | (CURBEG, CURSIZE): Use HORIZ_FLAG instead of WIDTHFLAG. | |
8182 | ||
8183 | * sheap.c (STATIC_HEAP_SIZE): Increment both definitions. | |
8184 | ||
8185 | * alloc.c (refill_memory_reserve): Move decl out of conditionals. | |
8186 | ||
49e99345 SM |
8187 | 2005-11-03 Stefan Monnier <monnier@iro.umontreal.ca> |
8188 | ||
8189 | * window.c (Fdisplay_buffer): Fix last change to not use | |
8190 | a dedicated window. | |
8191 | ||
8f15921b KS |
8192 | 2005-11-01 Kim F. Storm <storm@cua.dk> |
8193 | ||
8194 | * fringe.c (update_window_fringes): Undo 2005-10-27 change. | |
8195 | Instead, rotate the bottom angle bitmap 180 degrees to indicate | |
8196 | that the bottom row does not end in a newline. | |
8197 | ||
b4235a80 AS |
8198 | 2005-11-01 Andreas Schwab <schwab@suse.de> |
8199 | ||
8200 | * unexelf.c (unexec): Handle .plt section in BSS segment. | |
8201 | ||
3cbb13c8 SM |
8202 | 2005-11-01 Stefan Monnier <monnier@iro.umontreal.ca> |
8203 | ||
e5f64be2 SM |
8204 | * lread.c (readevalloop): Yet another int/Lisp_Object mixup (YAILOM). |
8205 | ||
3cbb13c8 SM |
8206 | * window.c (window_loop): For LRU and LARGEST, let the `mini' argument |
8207 | determine whether to consider dedicated windows as well. | |
8208 | (Fget_lru_window, Fget_largest_window): Add `dedicated' argument. | |
8209 | (Fdisplay_buffer): Do consider dedicated windows in those cases where | |
8210 | we will split the window rather than reuse it. | |
8211 | Don't try to use windows on other displays. | |
8212 | ||
c94f08ff DN |
8213 | 2005-10-31 Dan Nicolaescu <dann@ics.uci.edu> |
8214 | ||
8215 | * puresize.h (BASE_PURESIZE): Increment to 1170000. | |
8216 | ||
edf84ae9 RF |
8217 | 2005-10-31 Romain Francoise <romain@orebokech.com> |
8218 | ||
8219 | * macfns.c: Update copyright year. | |
8220 | * m/gould.h: Likewise. | |
8221 | ||
6f07f649 KS |
8222 | 2005-10-30 Kim F. Storm <storm@cua.dk> |
8223 | ||
8224 | * xdisp.c (display_line): Restore it->current_x and call | |
8225 | extend_face_to_end_of_line when last glyph doesn't fit on line. | |
9dd28cae | 8226 | (set_glyph_string_background_width): Remove specific tests here |
6f07f649 KS |
8227 | to see if face background should extend to end of line. Simplify. |
8228 | ||
4d74a5fc RS |
8229 | 2005-10-30 Richard M. Stallman <rms@gnu.org> |
8230 | ||
8231 | * alloc.c (BYTES_USED): Use uordblks, not arena. | |
8232 | (bytes_used_when_reconsidered): New variable. | |
8233 | (emacs_blocked_free): Set that. | |
8234 | ||
bccfb310 CY |
8235 | 2005-10-29 Chong Yidong <cyd@stupidchicken.com> |
8236 | ||
8237 | * alloc.c (emacs_blocked_free): Fix typo. | |
8238 | ||
f5b8d5f2 RS |
8239 | 2005-10-29 Richard M. Stallman <rms@gnu.org> |
8240 | ||
4d74a5fc RS |
8241 | * data.c (Fmake_variable_frame_local): Doc fix. |
8242 | ||
f5b8d5f2 RS |
8243 | * xdisp.c (handle_fontified_prop): Do nothing if memory full. |
8244 | (format_mode_line_unwind_data): New arg SAVE_PROPTRANS | |
8245 | controls whether to save and restore mode_line_proptrans_alist. | |
8246 | Callers changed. | |
8247 | (unwind_format_mode_line): Work with that feature. | |
8248 | (redisplay_internal): Don't call prepare_menu_bars if memory full. | |
8249 | (move_elt_to_front): New function. | |
8250 | (display_mode_element): Use move_elt_to_front. | |
8251 | Don't bother munging text props on a null string. | |
8252 | Delete obsolete elts from mode_line_proptrans_alist. | |
8253 | (decode_mode_spec): Test Vmemory_full, not spare_memory. | |
685abb98 | 8254 | (Fformat_mode_line): Clear mode_line_proptrans_alist after saving. |
f5b8d5f2 | 8255 | |
49e99345 SM |
8256 | * lisp.h (memory_full_cons_threshold): Declare. |
8257 | (internal_lisp_condition_case): Declare. | |
f5b8d5f2 RS |
8258 | |
8259 | * alloc.c (syms_of_alloc) <memory-full>: Doc fix. | |
8260 | (Fmemory_full_p): Function deleted. | |
8261 | (syms_of_alloc): Don't defsubr it. | |
8262 | (memory_full_cons_threshold): New variable. | |
8263 | (spare_memory): Now a vector of 7 elts. | |
8264 | (buffer_memory_full): Don't set Vmemory_full here. | |
8265 | (xfree): Don't try to refill here. | |
8266 | (emacs_blocked_free): Record BYTES_USED in local var. | |
8267 | (memory_full): Now free all the slots in spare_memory. | |
8268 | (refill_memory_reserve): Allocate each slot in spare_memory. | |
8269 | (init_alloc_once): Call refill_memory_reserve. | |
8270 | ||
8271 | * keyboard.c (command_loop_1): Don't set Vmemory_full here. | |
8272 | ||
8273 | * eval.c (internal_lisp_condition_case): New function. | |
8274 | (Fcondition_case): Use internal_lisp_condition_case. | |
8275 | (Feval): Test Vmemory_full and memory_full_cons_threshold. | |
8276 | (Ffuncall): Likewise. | |
8277 | ||
8278 | * bytecode.c (Fbyte_code): Use internal_lisp_condition_case. | |
8279 | ||
c390e28c SM |
8280 | 2005-10-29 Stefan Monnier <monnier@iro.umontreal.ca> |
8281 | ||
8282 | * syntax.c (Fparse_partial_sexp): Fix docstring. | |
8283 | ||
ab5d87b3 RF |
8284 | 2005-10-28 Romain Francoise <romain@orebokech.com> |
8285 | ||
c390e28c | 8286 | * puresize.h (BASE_PURESIZE): Increment to 1130000. |
ab5d87b3 | 8287 | |
107fb6c9 RS |
8288 | 2005-10-28 Richard M. Stallman <rms@gnu.org> |
8289 | ||
8290 | * xfns.c (syms_of_xfns): Provide `x' as feature. | |
8291 | ||
8292 | * xdisp.c (decode_mode_spec): Define %e to indicate memory full. | |
8293 | ||
8294 | * editfns.c (Fformat): Don't include string padding | |
8295 | between info[n].start and info[n].end. | |
8296 | ||
8297 | * alloc.c (spare_memory): No longer static. | |
8298 | (xfree) [!SYSTEM_MALLOC]: Call refill_memory_reserve. | |
8299 | ||
c390e28c | 8300 | * puresize.h (BASE_PURESIZE): Increment to 1120000. |
107fb6c9 | 8301 | |
f351b58b CY |
8302 | 2005-10-27 Chong Yidong <cyd@stupidchicken.com> |
8303 | ||
c390e28c | 8304 | * data.c (Fmake_variable_frame_local): Add clarification to docstring. |
437610c5 | 8305 | |
f351b58b CY |
8306 | * fringe.c (update_window_fringes): Handle case where buffer ends |
8307 | with a newline. | |
8308 | ||
581e7427 KH |
8309 | 2005-10-27 Kenichi Handa <handa@m17n.org> |
8310 | ||
8311 | * coding.h (DECODE_SYSTEM): Fix argument name; name->str. | |
8312 | ||
8313 | 2005-10-24 Kenichi Handa <handa@m17n.org> | |
8314 | ||
8315 | * charset.h (charset_mule_unicode_0100_24ff) | |
8316 | (charset_mule_unicode_2500_33ff, charset_mule_unicode_e000_ffff): | |
8317 | Extern them. | |
8318 | ||
8319 | * charset.c (charset_mule_unicode_0100_24ff) | |
8320 | (charset_mule_unicode_2500_33ff, charset_mule_unicode_e000_ffff): | |
8321 | New variables. | |
8322 | (Fsetup_special_charsets): Initialize them. | |
8323 | ||
8324 | * xterm.c (handle_one_xevent): Handle keysyms directly mapped to | |
8325 | supported Unicode characters. | |
8326 | ||
813fa8a8 JR |
8327 | 2005-10-25 Jason Rumney <jasonr@gnu.org> |
8328 | ||
8329 | * w32fns.c (w32_to_x_font): Avoid forcing font widths. | |
8330 | ||
05f7d868 YM |
8331 | 2005-10-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8332 | ||
8333 | * image.c [MAC_OS] (image_load_qt_1): Check image size. | |
8334 | Use GraphicsImportGetImageDescription instead of | |
8335 | GraphicsImportGetNaturalBounds. | |
8336 | [MAC_OSX] (image_load_quartz2d): Check image size. | |
8337 | [MAC_OS] (xpm_load_image): Likewise. | |
8338 | ||
8339 | * macterm.c (last_mouse_glyph_frame): New var. | |
8340 | (note_mouse_movement): Say mouse moved if current frame differs | |
8341 | from last_mouse_glyph_frame, and update last_mouse_glyph_frame. | |
8342 | (XTmouse_position): Set last_mouse_glyph_frame. | |
8343 | (XTread_socket): Clear last_mouse_glyph_frame on mouse up/down event. | |
29b585db | 8344 | (mac_draw_string_common) [USE_ATSUI && WORDS_BIG_ENDIAN]: Fix typo. |
05f7d868 YM |
8345 | Use EndianU16_BtoN. |
8346 | (mac_draw_string_common) [MAC_OSX]: Don't use ATSUClearLayoutControls. | |
8347 | (x_per_char_metric, XLoadQueryFont) | |
8348 | [MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Use device origins to get | |
8349 | glyph bounds. | |
8350 | (mac_to_x_fontname, mac_do_list_fonts) | |
8351 | (mac_initialize_display_info): Change screen resolutions to 72dpi. | |
8352 | ||
128e729d MY |
8353 | 2005-10-25 Masatake YAMATO <jet@gyve.org> |
8354 | ||
8355 | * minibuf.c (Fdisplay_completion_list): Small doc fix. | |
8356 | ||
59017afb KS |
8357 | 2005-10-24 Kim F. Storm <storm@cua.dk> |
8358 | ||
94717db1 KS |
8359 | * xterm.c: Undo 2005-10-23 change. |
8360 | (last_mouse_glyph_frame): New var. | |
8361 | (note_mouse_movement): Say mouse moved if current frame differs | |
8362 | from last_mouse_glyph_frame, and update last_mouse_glyph_frame. | |
8363 | (XTmouse_position): Set last_mouse_glyph_frame. | |
8364 | (handle_one_xevent): Clear last_mouse_glyph_frame [instead of | |
8365 | last_mouse_glyph] on mouse up/down event. | |
8366 | ||
59017afb KS |
8367 | * editfns.c (Fcompare_buffer_substrings): Fix last change. |
8368 | ||
7c5ba0d2 SM |
8369 | 2005-10-23 Stefan Monnier <monnier@iro.umontreal.ca> |
8370 | ||
8371 | * editfns.c (Fcompare_buffer_substrings): Handle multibyte chars. | |
8372 | ||
a4b0e228 JD |
8373 | 2005-10-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8374 | ||
8375 | * xterm.c (note_mouse_movement): Always call note_mouse_highlight | |
8376 | so tool tips don't interfere with press on tool bar button. | |
8377 | ||
f6a18aa2 RS |
8378 | 2005-10-23 Richard M. Stallman <rms@gnu.org> |
8379 | ||
8380 | * casetab.c (Fset_case_table): Doc fix. | |
8381 | ||
8382 | * lread.c (build_load_history): Replace STREAM arg with ENTIRE. | |
8383 | (readevalloop): Compute ENTIRE properly. | |
8384 | (syms_of_lread) <load-history>: Doc fix. | |
8385 | ||
45158e77 RS |
8386 | 2005-10-21 Richard M. Stallman <rms@gnu.org> |
8387 | ||
8388 | * lread.c (Fload): Simplify gcpro structure. | |
8389 | Gcpro FOUND as well as FILE, but not EFOUND. | |
8390 | Unless preloading, record FOUND instead of FILE in Vload_history. | |
8391 | Rename repeat local FILE to MSG_FILE. | |
8392 | (syms_of_lread) <load-history>: Doc fix. | |
8393 | ||
dfa1cd4d KH |
8394 | 2005-10-21 Kenichi Handa <handa@m17n.org> |
8395 | ||
96664fc0 | 8396 | * search.c (boyer_moore): Add parens to fix and/or precedence bug. |
dfa1cd4d | 8397 | |
1064a9ea KS |
8398 | 2005-10-20 Kim F. Storm <storm@cua.dk> |
8399 | ||
8400 | * buffer.c (clone_per_buffer_values): Remove unused var tem. | |
8401 | (init_buffer): Remove unused vars dotstat, pwdstat. | |
8402 | ||
8403 | * ccl.c (check_ccl_update): Remove unused var vp. | |
8404 | ||
8405 | * fileio.c (auto_save_error): Call SAFE_FREE. | |
8406 | ||
8407 | * fns.c (Fchar_table_range): Remove unused var i. | |
8408 | ||
8409 | * minibuf.c (display_completion_list_1): New wrapper function | |
8410 | for Fdisplay_completion_list. | |
8411 | (Fminibuffer_completion_help): Use it. | |
8412 | ||
8413 | * term.c (encode_terminal_code): Remove unused var src_start. | |
8414 | ||
8415 | * window.c (Fwindow_tree): Remove unused var alist. | |
8416 | ||
8417 | * xterm.c (x_calc_absolute_position): Remove unused vars win_x, win_y. | |
8418 | ||
ce13796f EZ |
8419 | 2005-10-20 Aubrey Jaffer <agj@alum.mit.edu> (tiny change) |
8420 | ||
20b69789 | 8421 | * unexelf.c (unexec): Fix calls to `fatal' with less than 3 arguments. |
ce13796f | 8422 | |
ad9c16d3 EZ |
8423 | 2005-10-20 Olli Savia <ops@iki.fi> (tiny change) |
8424 | ||
8425 | * syssignal.h [__Lynx__]: Undef SIGPOLL along with SIGIO. | |
8426 | ||
26e9d2cf AS |
8427 | 2005-10-20 Andreas Schwab <schwab@suse.de> |
8428 | ||
8429 | * minibuf.c (Fdisplay_completion_list): Doc fix. | |
8430 | ||
e50165ec KS |
8431 | 2005-10-19 Kim F. Storm <storm@cua.dk> |
8432 | ||
8433 | * image.c (check_image_size): Handle integer Vmax_image_size value | |
8434 | directly as max pixel value. Use default frame size for null frame. | |
8435 | (syms_of_image) <max-image-size>: Describe integer value. | |
8436 | ||
d7b94c98 RF |
8437 | 2005-10-19 Romain Francoise <romain@orebokech.com> |
8438 | ||
8439 | * emacs.c (main): Update copyright year. | |
8440 | ||
f1f25b99 CY |
8441 | 2005-10-18 Chong Yidong <cyd@stupidchicken.com> |
8442 | ||
8443 | * image.c (Vmax_image_size): New variable. | |
8444 | (check_image_size): New function. | |
8445 | (xbm_read_bitmap_data, pbm_load, png_load, jpeg_load, tiff_load) | |
8446 | (gif_load, gs_load): Use it. | |
8447 | (lookup_image): Try loading again if previous load failed. | |
8448 | (xbm_read_bitmap_data): Add a new argument, a pointer to the frame | |
8449 | to display in, NULL if none. | |
8450 | (xbm_load_image, xbm_file_p): Pass xbm_read_bitmap_data the new | |
8451 | argument. | |
8452 | ||
f42d19a2 RS |
8453 | 2005-10-18 Richard M. Stallman <rms@gnu.org> |
8454 | ||
8455 | * search.c (Fstring_match): Doc fix. | |
8456 | ||
bcbdafce YM |
8457 | 2005-10-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8458 | ||
8459 | * macterm.c (note_mouse_movement): Use PtInRect. | |
8460 | (XTread_socket): Also ignore mouse motion just before a button | |
8461 | release event. Don't process button release event when mouse is | |
8462 | not grabbed. | |
8463 | ||
f5fab556 MY |
8464 | 2005-10-16 Masatake YAMATO <jet@gyve.org> |
8465 | ||
8466 | * minibuf.c (Fdisplay_completion_list): Add new optional | |
e5f64be2 | 8467 | argument COMMON_SUBSTRING. Bind `completion-common-substring' |
f5fab556 MY |
8468 | to the optional argument during running `completion-setup-hook'. |
8469 | ||
2ef1363e YM |
8470 | 2005-10-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8471 | ||
8472 | * mac.c [TARGET_API_MAC_CARBON] (get_cfstring_encoding_from_lisp): | |
8473 | Allow nil as argument. | |
8474 | [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): Regard nil | |
8475 | for encoding arguments as UTF-16 in native byte order, no BOM. | |
8476 | ||
8477 | * macfns.c (Fx_create_frame): Add debugging code. | |
8478 | (Fx_show_tip): Set frame pixel width and height. | |
8479 | ||
8480 | * macterm.c (MAC_WINDOW_NORMAL_GC): Remove macro. | |
8481 | (FRAME_NORMAL_GC): New macro. | |
8482 | (mac_draw_line, mac_clear_area, mac_clear_window) | |
8483 | (mac_fill_rectangle, mac_draw_string, mac_draw_string_16) | |
8484 | (mac_draw_image_string, mac_draw_image_string_16): Rename from | |
8485 | XDrawLine, XClearArea, XClearWindow, XFillRectangle, XDrawString, | |
8486 | XDrawString16, XDrawImageString, and XDrawImageString16, respectively. | |
8487 | All uses changed. | |
8488 | (mac_draw_line, mac_erase_rectangle, mac_clear_area) | |
8489 | (mac_clear_window, mac_draw_bitmap, mac_draw_rectangle) | |
8490 | (mac_invert_rectangle, mac_draw_string_common, mac_draw_string) | |
8491 | (mac_draw_string_16, mac_draw_image_string) | |
8492 | (mac_draw_image_string_16, mac_copy_area, mac_copy_area_with_mask) | |
8493 | (mac_scroll_area): Drawing functions now take frame as destination. | |
8494 | All uses changed. | |
8495 | (mac_draw_string_common): Get port height with FRAME_PIXEL_HEIGHT. | |
8496 | (x_draw_fringe_bitmap): Set clipping area in face->gc. | |
8497 | ||
8498 | * macterm.h (mac_clear_area): Add extern. | |
8499 | ||
fc5c7550 YM |
8500 | 2005-10-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8501 | ||
8502 | * macterm.c (note_mouse_movement, XTread_socket): Apply 2005-10-14 | |
8503 | changes for xterm.c. | |
8504 | ||
8505 | * w32term.c (note_mouse_movement, w32_read_socket): Likewise. | |
8506 | ||
fed91c38 KH |
8507 | 2005-10-14 Kenichi Handa <handa@m17n.org> |
8508 | ||
8509 | * search.c (search_buffer): Give up BM search on case-fold-search | |
8510 | if one of a target character has a case-equivalence of different | |
8511 | charset even if that target charcter is an ASCII. | |
8512 | ||
8513 | * casefiddle.c (casify_object): Fix for the case that case | |
8514 | conversion change the byte length. | |
8515 | ||
0ea1a8af KS |
8516 | 2005-10-14 Kim F. Storm <storm@cua.dk> |
8517 | ||
8518 | * xterm.c (note_mouse_movement): Return 1 if mouse moved; 0 otherwise. | |
8519 | (handle_one_xevent): Only clear help_echo_string; restore it if | |
8520 | note_mouse_movement didn't record any mouse movement. | |
8521 | ||
8522 | * xdisp.c (pos_visible_p): Convert w->hscroll to pixels before use. | |
8523 | (remember_mouse_glyph): Clear RECT if mouse is over an image glyph. | |
8524 | ||
647b07d1 AS |
8525 | * keyboard.c (make_lispy_position): Adjust wx for left margin if |
8526 | ON_TEXT. | |
0ea1a8af KS |
8527 | (Fposn_at_x_y): Fix calculation of x coordinate. |
8528 | (Fposn_at_point): Return nil if point is hscrolled out of view. | |
8529 | ||
6e5b2385 AS |
8530 | 2005-10-13 Andreas Schwab <schwab@suse.de> |
8531 | ||
8532 | * sysdep.c (request_sigio, unrequest_sigio): Do nothing in | |
8533 | non-interactive mode. | |
8534 | ||
6de0e1a2 YM |
8535 | 2005-10-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8536 | ||
8537 | * xterm.c, w32term.c, macterm.c (note_mouse_movement): Undo last change. | |
8538 | ||
78f3b91f KS |
8539 | 2005-10-12 Kim F. Storm <storm@cua.dk> |
8540 | ||
8541 | * xterm.c (handle_one_xevent): Clear last_mouse_glyph on mouse up/down. | |
8542 | ||
b639c9be RF |
8543 | 2005-10-12 Romain Francoise <romain@orebokech.com> |
8544 | ||
8545 | * buffer.c (init_buffer): Rename `rc' to `len' for clarity. | |
8546 | ||
76d8f04c YM |
8547 | 2005-10-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8548 | ||
8549 | * xdisp.c (remember_mouse_glyph): Use MATRIX_BOTTOM_TEXT_ROW to | |
8550 | get end of text rows. Obtain header-line/mode-line rows directly. | |
8551 | ||
96013ba9 SM |
8552 | * xterm.c, w32term.c, macterm.c (note_mouse_movement): |
8553 | Restore help_echo_string if mouse is moved inside last_mouse_glyph. | |
621036f9 | 8554 | |
d76432f5 KS |
8555 | 2005-10-12 Kim F. Storm <storm@cua.dk> |
8556 | ||
7a127784 KS |
8557 | * xdisp.c (remember_mouse_glyph): New generic version based on |
8558 | glyph_rect and remember_mouse_glyph from xterm.c enhanced to | |
8559 | properly handle all different window areas. | |
8560 | ||
8561 | * dispextern.h (remember_mouse_glyph): Add prototype. | |
8562 | ||
8563 | * xterm.c (glyph_rect, remember_mouse_glyph): Remove X versions. | |
8564 | (note_mouse_movement, XTmouse_position): Use generic | |
8565 | remember_mouse_glyph, add last_mouse_glyph arg. | |
8566 | ||
8567 | * w32term.c (note_mouse_movement): Fix last_mouse_glyph check. | |
8568 | (glyph_rect, remember_mouse_glyph): Remove w32 specific versions. | |
8569 | (note_mouse_movement, w32_mouse_position): Use generic | |
8570 | remember_mouse_glyph, add last_mouse_glyph arg. | |
8571 | ||
8572 | * macterm.c (note_mouse_movement): Add call to remember_mouse_glyph. | |
8573 | (glyph_rect, remember_mouse_glyph): Remove mac specific versions. | |
8574 | (XTmouse_position): Adapt to use generic remember_mouse_glyph | |
8575 | instead of pixel_to_glyph_coords. | |
8576 | ||
d76432f5 KS |
8577 | * window.c (coordinates_in_window): Fix x position for ON_RIGHT_MARGIN. |
8578 | Fix x position for ON_TEXT when left margin width > 0. | |
8579 | ||
55a4ac3e KS |
8580 | 2005-10-11 Kim F. Storm <storm@cua.dk> |
8581 | ||
d76432f5 | 8582 | * window.c (coordinates_in_window): Fix y position for ON_SCROLL_BAR. |
55a4ac3e KS |
8583 | |
8584 | * keyboard.c (make_lispy_position): Fix buffer calculations for | |
8585 | mouse click or movement in right fringe and the margins. | |
8586 | ||
2d4713aa JB |
8587 | 2005-10-11 Juanma Barranquero <lekktu@gmail.com> |
8588 | ||
8589 | * image.c (fn_jpeg_stdio_src): Don't define it. | |
8590 | (init_jpeg_functions): Don't initialize `fn_jpeg_stdio_src'. | |
8591 | (our_common_init_source): Rename from `our_init_source'. | |
8592 | (our_common_term_source): Rename from `our_term_source'. | |
8593 | (our_memory_fill_input_buffer): Rename from | |
8594 | `our_fill_input_buffer'. | |
8595 | (our_memory_skip_input_data): Rename from `our_skip_input_data'. | |
8596 | (jpeg_memory_src): Use the new names. | |
8597 | (struct jpeg_stdio_mgr): New struct. | |
8598 | (JPEG_STDIO_BUFFER_SIZE): New constant. | |
8599 | (our_stdio_fill_input_buffer, our_stdio_skip_input_data) | |
8600 | (jpeg_file_src): New functions. | |
8601 | (jpeg_load): Use `jpeg_file_src' instead of `fn_jpeg_stdio_src'. | |
8602 | ||
71b7a47f YM |
8603 | 2005-10-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8604 | ||
8605 | * macterm.c (PER_CHAR_METRIC): Remove unused macro. | |
8606 | (fm_font_family_alist): New variable. | |
8607 | (syms_of_macterm): Initialize and staticpro it. | |
8608 | (decode_mac_font_name): Replace '-' in family name with '_' if it | |
8609 | occurs just once. Lower family name. | |
8610 | (parse_x_font_name): Rename from x_font_name_to_mac_font_name. | |
8611 | All uses changed. Remove argument MF and code conversion for it. | |
8612 | Add argument SIZE. Rename argument MF_DECODED to FAMILY, and CS | |
8613 | to CHARSET. Parse font size. Lower family name. Return integer | |
8614 | value for status of parsing. | |
8615 | (init_font_name_table) [USE_ATSUI]: Use decode_mac_font_name. | |
8616 | Don't use Fdowncase because family name is already lowered by | |
8617 | decode_mac_font_name. | |
96013ba9 SM |
8618 | (init_font_name_table): Always call decode_mac_font_name. |
8619 | Add pair of family name and its reference to fm_font_family_alist. | |
71b7a47f YM |
8620 | (mac_clear_font_name_table): Clear fm_font_family_alist. |
8621 | (XLoadQueryFont): Move font size parsing part to parse_x_font_name. | |
8622 | Lookup fm_font_family_alist to get font family reference. | |
8623 | (XLoadQueryFont) [USE_ATSUI]: Don't use Fdowncase because family | |
8624 | name is already lowered by parse_x_font_name. | |
8625 | ||
74051a92 KS |
8626 | 2005-10-11 Kim F. Storm <storm@cua.dk> |
8627 | ||
31ab1f05 KS |
8628 | * xterm.c (glyph_rect): Return 0 if position is outside text area. |
8629 | ||
74051a92 KS |
8630 | * keyboard.c (make_lispy_position): Fix buffer position calculation for |
8631 | mouse click or movement in fringe. | |
8632 | ||
9b909870 JR |
8633 | 2005-10-10 Jason Rumney <jasonr@gnu.org> |
8634 | ||
8635 | * xterm.c (remember_mouse_glyph): New function. | |
58af5591 | 8636 | (note_mouse_movement): Use it to remember the current glyph if changed. |
9b909870 | 8637 | (XTmouse_position): Fix calculation of fake glyph under mouse. |
58af5591 | 8638 | Move code to calculate glyph under mouse into remember_mouse_glyph. |
9b909870 | 8639 | |
f9e36a6d JD |
8640 | 2005-10-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8641 | ||
58af5591 | 8642 | * emacs.c (USAGE3, standard_args): -nb => -nbi. |
f9e36a6d | 8643 | |
04bc7945 JB |
8644 | 2005-10-10 Juanma Barranquero <lekktu@gmail.com> |
8645 | ||
8646 | * frame.c (Fredirect_frame_focus): Fix typos in docstring. | |
8647 | (next_frame, prev_frame, set_term_frame_name): Make static. | |
8648 | ||
8649 | * window.c (Fwindow_tree): Fix spelling. | |
8650 | ||
41791a20 RF |
8651 | 2005-10-09 Romain Francoise <romain@orebokech.com> |
8652 | ||
8653 | * window.c (Fwindow_end): Don't try to redisplay if non-interactive. | |
8654 | ||
e313fc07 JD |
8655 | 2005-10-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8656 | ||
58af5591 KS |
8657 | * emacs.c (standard_args): Remove options -i, -itype, --icon-type. |
8658 | Add options -nb, --no-bitmap-icon. | |
e313fc07 JD |
8659 | |
8660 | * xfns.c (Fx_create_frame): Make bitmapIcon have default on. | |
8661 | ||
61e62f5f YM |
8662 | 2005-10-08 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8663 | ||
8664 | * macgui.h (MAX_CLIP_RECTS): New define. | |
8665 | (struct _XGC): New member clip_region. | |
8666 | (struct _XGC) [MAC_OSX && USE_ATSUI]: New members n_clip_rects and | |
8667 | clip_rects. | |
8668 | ||
8669 | * macterm.c (GC_CLIP_REGION): New macro. | |
8670 | (saved_port_clip_region): New variable. | |
8671 | (mac_begin_clip, mac_end_clip): New functions. | |
8672 | (XDrawLine, mac_erase_rectangle, mac_draw_bitmap, XFillRectangle) | |
8673 | (mac_draw_rectangle, mac_draw_string_common, mac_copy_area) | |
8674 | (mac_copy_area_with_mask, mac_scroll_area): Use them. | |
8675 | (mac_set_clip_rectangle, mac_reset_clipping): Remove functions. | |
8676 | [USE_ATSUI] (atsu_get_text_layout_with_text_ptr) | |
8677 | [MAC_OS_X_VERSION_MAX_ALLOWED < 1020]: Specify kATSLineFractDisable. | |
8678 | (mac_draw_string_common) [MAC_OSX && USE_ATSUI]: Clip to clipping | |
8679 | rectangles stored in gc. | |
71b7a47f | 8680 | (XFreeGC): Dispose of clipping region. |
61e62f5f YM |
8681 | (mac_set_clip_rectangles, mac_reset_clip_rectangles): New functions. |
8682 | (x_draw_fringe_bitmap, x_set_glyph_string_clipping) | |
8683 | (x_draw_relief_rect, x_draw_box_rect, x_draw_stretch_glyph_string) | |
8684 | (x_draw_glyph_string, x_clip_to_row, x_draw_hollow_cursor) | |
8685 | (x_draw_bar_cursor): Use them. | |
8686 | (x_set_glyph_string_clipping): Use get_glyph_string_clip_rects to | |
8687 | get multiple clipping rectangles. | |
8688 | ||
8689 | * macterm.h (mac_term_init): Add types to extern. | |
8690 | (struct mac_output): Remove members mWP and pending_menu_activation. | |
f7270128 | 8691 | Put members scroll_bar_foreground_pixel and |
61e62f5f YM |
8692 | scroll_bar_background_pixel in #if 0. |
8693 | (FRAME_MAC_WINDOW, FRAME_X_WINDOW): Use window_desc. | |
8694 | ||
8695 | * xfaces.c (x_create_gc, x_free_gc) [MAC_OS]: Add BLOCK_INPUT. | |
2ef1363e | 8696 | Add debugging code. |
61e62f5f | 8697 | |
ef1b4c9e KS |
8698 | 2005-10-08 Kim F. Storm <storm@cua.dk> |
8699 | ||
8700 | * window.c (window_tree, Fwindow_tree): Rename fns added 2005-10-04. | |
8701 | ||
f1010549 KS |
8702 | 2005-10-07 Kim F. Storm <storm@cua.dk> |
8703 | ||
8704 | * dispnew.c (redraw_overlapped_rows, redraw_overlapping_rows) | |
8705 | [!HAVE_WINDOW_SYSTEM]: Don't declare them... | |
8706 | (update_window) [!HAVE_WINDOW_SYSTEM]: ...and don't call them. | |
8707 | ||
c2ded1b7 YM |
8708 | 2005-10-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8709 | ||
8710 | * dispextern.h (struct glyph_string): Rename member for_overlaps_p | |
8711 | to for_overlaps. Now occupy 3 bits. | |
8712 | (OVERLAPS_PRED, OVERLAPS_SUCC, OVERLAPS_BOTH) | |
8713 | (OVERLAPS_ERASED_CURSOR): New defines. | |
8714 | (struct redisplay_interface): Add new OVERLAPS arg to member | |
8715 | fix_overlapping_area. | |
8716 | (x_fix_overlapping_area): Add new OVERLAPS arg. | |
8717 | (get_glyph_string_clip_rects): Add extern. | |
8718 | ||
96013ba9 SM |
8719 | * dispnew.c (redraw_overlapping_rows): |
8720 | Call rif->fix_overlapping_area with new OVERLAPS arg as redrawn part. | |
c2ded1b7 YM |
8721 | |
8722 | * xdisp.c: Rename member for_overlaps_p in struct glyph_string to | |
8723 | for_overlaps. | |
8724 | (get_glyph_string_clip_rects): New function created from | |
f1010549 KS |
8725 | get_glyph_string_clip_rect. Set clipping rectangles according to the |
8726 | value of for_overlaps. Enable to store multiple clipping rectangles. | |
c2ded1b7 YM |
8727 | (get_glyph_string_clip_rect): Use get_glyph_string_clip_rects. |
8728 | (fill_composite_glyph_string, fill_glyph_string, draw_glyphs): | |
8729 | Rename argument OVERLAPS_P to OVERLAPS. All uses in macros changed. | |
f7270128 | 8730 | (x_fix_overlapping_area): Add OVERLAPS arg. Pass it to draw_glyphs. |
c2ded1b7 | 8731 | (draw_phys_cursor_glyph): Set width of erased cursor to use it for |
f1010549 KS |
8732 | calculating clipping rectangles later. Call x_fix_overlapping_area |
8733 | with new OVERLAPS arg to draw only erased cursor area. | |
f7270128 | 8734 | (expose_overlaps): Call x_fix_overlapping_area with new OVERLAPS arg |
f1010549 | 8735 | to draw overlaps in both preceding and succeeding rows. |
c2ded1b7 YM |
8736 | |
8737 | * xterm.c, w32term.c, macterm.c: Rename member for_overlaps_p in | |
8738 | struct glyph_string to for_overlaps. | |
8739 | ||
a19a0003 RS |
8740 | 2005-10-04 Richard M. Stallman <rms@gnu.org> |
8741 | ||
8742 | * alloc.c (refill_memory_reserve): Conditionalize the body, | |
8743 | not the function's existence. | |
8744 | ||
abc8ce50 KS |
8745 | 2005-10-04 Kim F. Storm <storm@cua.dk> |
8746 | ||
8747 | * window.c (window_split_tree): New function. | |
8748 | (Fwindow_split_tree): New defun. | |
8749 | (syms_of_window): Defsubr it. | |
8750 | ||
66533b25 YM |
8751 | 2005-10-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8752 | ||
8753 | * macterm.c (mac_invert_rectangle): New function. | |
8754 | (XTflash): Use it. | |
8755 | ||
4156359e SM |
8756 | 2005-10-04 Stefan Monnier <monnier@iro.umontreal.ca> |
8757 | ||
4e2f601f SM |
8758 | * regex.h (re_char): Don't expose it in the interface. |
8759 | (re_set_whitespace_regexp): Adjust the arg's type to not use it. | |
8760 | ||
8761 | * regex.c (re_char): Move it back here. | |
8762 | (re_set_whitespace_regexp): Change the arg's type to not use it. | |
8763 | ||
4156359e SM |
8764 | * keyboard.c (make_lispy_event): If point has moved between down and up |
8765 | event, make it a drag, not a click, to mirror what | |
8766 | mouse-drag-region expects. | |
8767 | ||
eb27c2ca DN |
8768 | 2005-10-02 Dan Nicolaescu <dann@ics.uci.edu> |
8769 | ||
8770 | * lisp.h (fatal): Undo previous change. | |
8771 | * term.c (fatal): Undo previous change. | |
8772 | ||
b059f7d0 RS |
8773 | 2005-10-01 Richard M. Stallman <rms@gnu.org> |
8774 | ||
8775 | * xfaces.c (face_color_gray_p): Colors close to black count as gray. | |
8776 | ||
21a9a7be KS |
8777 | 2005-10-01 Kim F. Storm <storm@cua.dk> |
8778 | ||
8779 | * xdisp.c (try_window): Skip scroll-margin check if ZV is visible. | |
8780 | ||
ddcb7665 YM |
8781 | 2005-10-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8782 | ||
8783 | * keyboard.c (init_keyboard) [MAC_OSX]: Don't install SIGINT handler. | |
8784 | ||
8785 | * macfns.c (start_hourglass): Apply 2005-05-07 change for xfns.c. | |
2ef1363e | 8786 | (x_create_tip_frame) [GLYPH_DEBUG]: Uncomment debugging code. |
4156359e SM |
8787 | (Fx_create_frame, x_create_tip_frame) [USE_ATSUI]: |
8788 | Try ATSUI-compatible 12pt Monaco font first. | |
ddcb7665 YM |
8789 | |
8790 | * macgui.h (struct _XCharStruct): New member valid_p. | |
8791 | (STORE_XCHARSTRUCT): Set valid_p. | |
8792 | (struct MacFontStruct) [USE_ATSUI]: New member mac_style. | |
8793 | ||
8794 | * macterm.c (mac_draw_string_common, x_per_char_metric) | |
8795 | (mac_compute_glyph_string_overhangs, init_font_name_table) | |
8796 | (XLoadQueryFont, mac_unload_font) [USE_ATSUI]: Add ATSUI support. | |
8797 | (atsu_get_text_layout_with_text_ptr) [USE_ATSUI]: New function. | |
8798 | (x_draw_glyph_string_background) | |
8799 | (x_draw_glyph_string_foreground) [MAC_OS8 && USE_ATSUI]: Don't use | |
8800 | XDrawImageString. Always draw background and foreground separately. | |
8801 | (x_draw_glyph_string_foreground) [USE_ATSUI]: Don't use 8-bit | |
8802 | functions for one-byte chars when using ATSUI-compatible fonts. | |
8803 | (atsu_font_id_hash) [USE_ATSUI]: New variable. | |
8804 | (syms_of_macterm) [USE_ATSUI]: Initialize and staticpro it. | |
8805 | (XLoadQueryFont): Set min_byte1, max_byte1, min_char_or_byte2, and | |
8806 | max_char_or_byte2 more in detail. | |
8807 | (quit_char_comp, mac_check_for_quit_char) [MAC_OSX]: Remove functions. | |
8808 | ||
fa8459a3 DN |
8809 | 2005-09-30 Dan Nicolaescu <dann@ics.uci.edu> |
8810 | ||
4156359e | 8811 | * image.c (slurp_file, xbm_read_bitmap_data): Cast to the correct type. |
fa8459a3 DN |
8812 | * xterm.c (handle_one_xevent, handle_one_xevent): Likewise. |
8813 | ||
8814 | * unexelf.c (fatal): Fix prototype. | |
8815 | ||
8816 | * term.c (fatal): Implement using varargs. | |
8817 | ||
21a9a7be | 8818 | * regex.c (re_char): Move typedef ... |
fa8459a3 | 8819 | * regex.h (re_char): ... here. |
4156359e | 8820 | (re_iswctype, re_wctype, re_set_whitespace_regexp): New prototypes. |
fa8459a3 DN |
8821 | |
8822 | * emacs.c (malloc_set_state): Fix return type. | |
8823 | (endif): Fix type. | |
8824 | ||
8825 | * lisp.h (fatal): Add argument types. | |
8826 | ||
8827 | * dispextern.h (fatal): Delete prototype. | |
8828 | ||
9dd28cae | 8829 | * systime.h (make_time): Prototype moved from ... |
fa8459a3 DN |
8830 | * editfns.c (make_time): ... here. |
8831 | ||
8832 | * editfns.c: Move systime.h include after lisp.h. | |
21a9a7be KS |
8833 | * dired.c: |
8834 | * xsmfns.c: | |
fa8459a3 | 8835 | * process.c: Likewise. |
21a9a7be | 8836 | |
fa8459a3 DN |
8837 | * alloc.c (old_malloc_hook, old_realloc_hook, old_realloc_hook): |
8838 | Add parameter types. | |
8839 | (__malloc_hook, __realloc_hook, __free_hook): Fix prototypes. | |
8840 | (emacs_blocked_free): Change definition to match __free_hook. | |
8841 | (emacs_blocked_malloc): Change definition to match __malloc_hook. | |
4156359e | 8842 | (emacs_blocked_realloc): Change definition to match __realloc_hook. |
fa8459a3 | 8843 | |
97c3e4cc RF |
8844 | 2005-09-30 Romain Francoise <romain@orebokech.com> |
8845 | ||
8846 | * minibuf.c (Fread_buffer): Follow convention for reading from the | |
8847 | minibuffer with a default value. Doc fix. | |
8848 | ||
8ad8c5ce JL |
8849 | 2005-09-29 Juri Linkov <juri@jurta.org> |
8850 | ||
8851 | * editfns.c (Fmessage, Fmessage_box, Fmessage_or_box): | |
8852 | Rename argument name `string' to `format-string'. | |
8853 | (Fformat): Doc fix. | |
8854 | ||
64da5759 KS |
8855 | 2005-09-28 Kim F. Storm <storm@cua.dk> |
8856 | ||
8857 | * image.c (gif_load): Fix size of allocated image buffer | |
8858 | for images where a sub-image may be larger than the image's | |
8859 | total height/width specifications. | |
8860 | ||
eaf92438 YM |
8861 | 2005-09-28 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8862 | ||
8863 | * macgui.h (struct _XCharStruct): Each member now takes short value. | |
8864 | ||
43f15d4a DN |
8865 | 2005-09-27 Dan Nicolaescu <dann@ics.uci.edu> |
8866 | ||
8867 | * xfaces.c (lookup_derived_face): Add parameter type. | |
8868 | ||
8869 | * xdisp.c (cursor_row_fully_visible_p): Add parameter type. | |
8870 | ||
8871 | * marker.c (verify_bytepos): Add parameter type. | |
8872 | ||
8873 | * process.c (get_operating_system_release): Move prototype ... | |
8874 | ||
8875 | * systime.h (get_operating_system_release): ... here. | |
8876 | ||
04bc7945 JB |
8877 | * xterm.c (handle_one_xevent): Refer to union field to match the |
8878 | type required by the function definition. | |
8879 | (set_vertical_scroll_bar): Move prototype ... | |
43f15d4a DN |
8880 | |
8881 | * xterm.h: ... here. | |
8882 | ||
8883 | * fns.c (internal_equal, seed_random): Fix prototypes. | |
8884 | (internal_equal): Add missing parameter. | |
8885 | ||
c769dcac RS |
8886 | 2005-09-25 Richard M. Stallman <rms@gnu.org> |
8887 | ||
8888 | * keyboard.c (update_menu_bindings): Variable deleted. | |
8889 | (syms_of_keyboard): Don't defvar it. | |
8890 | (parse_menu_item): Don't test it. | |
8891 | ||
8dbf19c7 RS |
8892 | 2005-09-23 Richard M. Stallman <rms@gnu.org> |
8893 | ||
8894 | * editfns.c (Fformat): Explicitly test for end of format string | |
8895 | and don't use `index'. | |
8896 | ||
3480d92b DN |
8897 | 2005-09-23 Dan Nicolaescu <dann@ics.uci.edu> |
8898 | ||
4156359e SM |
8899 | * s/aix4-2.h (BROKEN_GET_CURRENT_DIR_NAME): |
8900 | Define BROKEN_GET_CURRENT_DIR_NAME. | |
3480d92b DN |
8901 | |
8902 | * sysdep.c (get_current_dir_name): Also define if | |
64da5759 | 8903 | BROKEN_GET_CURRENT_DIR_NAME. |
3480d92b DN |
8904 | |
8905 | * m/ibmrs6000.h: Test for USG5, not USG5_4. | |
8906 | ||
5db60f31 KS |
8907 | 2005-09-22 Kim F. Storm <storm@cua.dk> |
8908 | ||
8909 | * xdisp.c (message_dolog): Add warning about GC and Lisp strings. | |
8910 | (message2): Fix commentary. Ok to use alloca'ed memory. | |
8911 | Still not ok to use Lisp string data (because of GC). | |
8912 | (set_message): Add comment why GC cannot happen. | |
8913 | ||
7c3d233d YM |
8914 | 2005-09-22 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8915 | ||
8916 | * macterm.c (xlfdpat_block_match_1): Fix assertion. | |
8917 | (init_font_name_table) [TARGET_API_MAC_CARBON]: Don't add style | |
8918 | variants for a scalable font multiple times. | |
8919 | ||
acde1152 YM |
8920 | 2005-09-21 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8921 | ||
8922 | * process.c (create_process) [RTU || UNIPLUS || DONT_REOPEN_PTY]: | |
8923 | Setup slave tty options before forking. | |
8924 | ||
52d166e0 JD |
8925 | 2005-09-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
8926 | ||
8927 | * gtkutil.c (xg_set_geometry): Do a gtk_window_move if program | |
8928 | positions have been set for the frame (as is done for frames in | |
8929 | special-display-buffer-names). | |
8930 | ||
12d10bc7 KS |
8931 | 2005-09-19 Kim F. Storm <storm@cua.dk> |
8932 | ||
8933 | * editfns.c (Fformat): Don't scan past end of format string that | |
1faa97e4 | 8934 | ends in %. Reported by Johan Bockg\e,Ae\e(Brd. |
12d10bc7 | 8935 | |
9f1cf0e3 AS |
8936 | 2005-09-18 Andreas Schwab <schwab@suse.de> |
8937 | ||
8938 | * window.h (struct window): Remove height_fixed_p, no longer set. | |
8939 | ||
8940 | * window.c (make_window): Don't initialize height_fixed_p. | |
8941 | (window_fixed_size_p): Don't use it. | |
8942 | ||
8a658a52 JPW |
8943 | 2005-09-18 John Paul Wallington <jpw@pobox.com> |
8944 | ||
8945 | * data.c (Fdefalias): Signal an error if SYMBOL is not a symbol. | |
8946 | ||
be9bb408 YM |
8947 | 2005-09-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
8948 | ||
8949 | * Makefile.in (SOME_MACHINE_OBJECTS): Undo previous change. | |
8950 | ||
8951 | * macfns.c (image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]: | |
8952 | New variables. | |
8953 | [TARGET_API_MAC_CARBON] (Fx_file_dialog): Don't allow multiple | |
8954 | file selection. | |
8955 | ||
8956 | * sysdep.c [MAC_OS8]: Don't include stdlib.h. Include sys/param.h. | |
8957 | ||
cbf223e1 EZ |
8958 | 2005-09-17 Eli Zaretskii <eliz@gnu.org> |
8959 | ||
8960 | * Makefile.in (XMENU_OBJ) [!HAVE_CARBON]: Reinstate variable. | |
8961 | (obj): Use XMENU_OBJ, not a literal xmenu.o. | |
8962 | ||
e3f509dd RF |
8963 | 2005-09-16 Romain Francoise <romain@orebokech.com> |
8964 | ||
8ccd3630 | 8965 | * fileio.c (syms_of_fileio) <write-region-inhibit-fsync>: Doc fix. |
e3f509dd | 8966 | |
5c4757d3 RS |
8967 | 2005-09-15 Richard M. Stallman <rms@gnu.org> |
8968 | ||
8969 | * xdisp.c (overlay_arrow_at_row): Add HAVE_WINDOW_SYSTEM conditional. | |
8970 | (display_mode_element): Instead of `lisp_string' and `this', | |
8971 | record `offset' and increment that. | |
8972 | `last_offset' replaces `last'. | |
8973 | ||
8974 | * Makefile.in (XMENU_OBJ): Variable deleted. | |
8975 | (obj): Use xmenu.o unconditionally. | |
8976 | (SOME_MACHINE_OBJECTS): Delete xmenu.o. | |
8977 | ||
8978 | * emacs.c (main): Don't conditionalize syms_of_xmenu on HAVE_XMENU. | |
8979 | ||
01978521 KS |
8980 | 2005-09-15 Kim F. Storm <storm@cua.dk> |
8981 | ||
8982 | * xdisp.c (move_it_vertically): Don't try to fetch byte BEGV-1. | |
8983 | (reseat_at_next_visible_line_start): Likewise (in xassert). | |
8984 | ||
ccf61795 RF |
8985 | 2005-09-14 Romain Francoise <romain@orebokech.com> |
8986 | ||
8987 | * fileio.c (write_region_inhibit_fsync): New variable. | |
8988 | (Fwrite_region): Use it to skip call to fsync. | |
8989 | (syms_of_fileio): Initialize it. | |
8990 | ||
2b046a72 KH |
8991 | 2005-09-14 Kenichi Handa <handa@m17n.org> |
8992 | ||
24a2b282 KH |
8993 | * coding.c (code_convert_region_unwind): Argument format changed. |
8994 | (run_pre_post_conversion_on_str): If pre-write-conversion function | |
8995 | changed the current buffer, delete the new buffer. | |
8996 | (run_pre_write_conversin_on_c_str): Likewise. | |
8997 | ||
2b046a72 KH |
8998 | * fileio.c (Fexpand_file_name): Check multibyteness of |
8999 | default_directory. | |
9000 | ||
d008f7b7 KH |
9001 | 2005-09-13 Kenichi Handa <handa@m17n.org> |
9002 | ||
9003 | * composite.c (compose_chars_in_text): Delete it. | |
9004 | ||
9005 | * composite.h (compose_chars_in_text): Delete extern. | |
9006 | ||
2ada8ac5 KS |
9007 | 2005-09-13 Kim F. Storm <storm@cua.dk> |
9008 | ||
9009 | * print.c (print_error_message): Fix last change. | |
9010 | ||
48c60938 KS |
9011 | 2005-09-12 Kim F. Storm <storm@cua.dk> |
9012 | ||
0fdbe302 KS |
9013 | * composite.c (compose_chars_in_text): Fix setup of `pend'. |
9014 | Unconditionally reload `ptr' and `pend' after eval. | |
9015 | ||
48c60938 KS |
9016 | * xdisp.c (message3): Pass copy of lisp string to message_dolog. |
9017 | ||
9018 | * print.c (print_error_message): Pass copy of caller name to | |
9019 | message_dolog. | |
9020 | ||
9021 | * fileio.c (auto_save_error): Pass copy of lisp string to message2. | |
9022 | ||
5add1986 KH |
9023 | 2005-09-12 Kenichi Handa <handa@m17n.org> |
9024 | ||
9025 | * xdisp.c (display_mode_element): Be sure to make variables THIS | |
9026 | and LISP_STRING point into a string data of ELT. | |
9027 | ||
18bb66c7 KS |
9028 | 2005-09-12 Kim F. Storm <storm@cua.dk> |
9029 | ||
9030 | * editfns.c (Ftranslate_region_internal): Reload `tt' after | |
9031 | signal_after_change that may have GC'ed. | |
9032 | (Fmessage, Fmessage_box, Fmessage_or_box): Doc fix. | |
9033 | ||
9034 | * keymap.c (Fdescribe_buffer_bindings): Reload `translate' | |
9035 | after insert while runs signal_after_change. | |
9036 | ||
9037 | * minibuf.c (Fminibuffer_complete_word): Move `completion_string' | |
9038 | declaration to where it is used. | |
9039 | ||
9040 | * w32.c (check_windows_init_file): Fix allocation of error buffer. | |
9041 | ||
9042 | * xfns.c (x_encode_text): Declare static. Add FREEP arg. | |
9043 | (x_set_name_internal): Call x_encode_text with new FREEP arg to | |
9044 | know if xfree is needed instead of guessing. | |
9045 | ||
9046 | * xterm.h (x_encode_text): Remove prototype. | |
9047 | ||
945a75f8 JR |
9048 | 2005-09-11 Chris Prince <cprince@gmail.com> (tiny change) |
9049 | ||
9050 | * w32term.c (x_bitmap_icon): Load small icons too. | |
9051 | ||
156bdb41 RF |
9052 | 2005-09-10 Romain Francoise <romain@orebokech.com> |
9053 | ||
9054 | * buffer.c (init_buffer): Grow buffer to add directory separator | |
f9962371 | 9055 | and terminal zero. Fix typos. |
156bdb41 | 9056 | |
67b8391b EZ |
9057 | 2005-09-10 Eli Zaretskii <eliz@gnu.org> |
9058 | ||
a17b5ed1 EZ |
9059 | * buffer.c (init_buffer): Fix error message for failed call to |
9060 | get_current_dir_name. | |
9061 | (get_current_dir_name): Remove prototype. | |
9062 | ||
9dd28cae | 9063 | * xsmfns.c (get_current_dir_name): Remove prototype. |
a17b5ed1 | 9064 | |
9dd28cae | 9065 | * lisp.h (get_current_dir_name) [!HAVE_GET_CURRENT_DIR_NAME]: |
96013ba9 | 9066 | Add prototype. |
a17b5ed1 | 9067 | |
ed326e35 | 9068 | * sysdep.c [WINDOWSNT]: Add prototype for getwd. |
b04a3120 | 9069 | Don't #undef NULL after including blockinput.h. |
ed326e35 | 9070 | |
67b8391b EZ |
9071 | * config.in: Regenerated. |
9072 | ||
c187839d EZ |
9073 | 2005-09-10 Giuseppe Scrivano <gscrivano@gmail.com> |
9074 | ||
9075 | Remove the MAXPATHLEN limitations: | |
9076 | ||
1486d036 EZ |
9077 | * sysdep.c (get_current_dir_name) [!HAVE_GET_CURRENT_DIR_NAME]: |
9078 | New function. | |
c187839d EZ |
9079 | |
9080 | * buffer.c (init_buffer): Use it. | |
9081 | ||
9082 | * xsmfns.c (smc_save_yourself_CB): Ditto. | |
9083 | ||
ae8a5689 KS |
9084 | 2005-09-09 Kim F. Storm <storm@cua.dk> |
9085 | ||
39cac6b3 KS |
9086 | * doc.c (Fsubstitute_command_keys): Lookup key binding for |
9087 | commands that are remapped from some other command. | |
9088 | ||
aeb55c44 KS |
9089 | * xdisp.c (try_window_reusing_current_matrix): Clear mode_line_p |
9090 | flag in disabled rows below the window. | |
9091 | ||
ae8a5689 KS |
9092 | * frame.h (struct frame): New member updated_p. |
9093 | ||
9094 | * xdisp.c (redisplay_internal): Mark updated frames in new updated_p | |
9095 | member. Remove local `updated' array and associated variables. | |
9096 | ||
821f6dae KS |
9097 | 2005-09-07 Kim F. Storm <storm@cua.dk> |
9098 | ||
6e5395f2 KS |
9099 | * xdisp.c (handle_display_prop): Respect overlay window property. |
9100 | ||
821f6dae KS |
9101 | * xdisp.c (try_window): Remove superfluous cursor_height calculation. |
9102 | Fixes crash reported by YAMAMOTO Mitsuharu. | |
9103 | ||
9655b404 YM |
9104 | 2005-09-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9105 | ||
9106 | * macterm.c (struct xlfdpat_block, struct xlfdpat): New structs. | |
9107 | (xlfdpat_destroy, xlfdpat_create, xlfdpat_exact_p) | |
9108 | (xlfdpat_block_match_1, xlfdpat_match): New functions. | |
9109 | (xlfdpat_block_match): New macro. | |
9110 | (mac_to_x_fontname): Don't use tolower for non-ASCII characters. | |
9111 | (x_font_name_to_mac_font_name): Set coding.dst_multibyte to 0. | |
9112 | (add_font_name_table_entry): Increase font_name_table_size more | |
9113 | rapidly. | |
9114 | (mac_c_string_match): Remove function. | |
9115 | (mac_do_list_fonts): Use XLFD pattern match instead of regular | |
9116 | expression match. | |
9117 | ||
9118 | * xfaces.c (xstrlwr): Don't use tolower for non-ASCII characters. | |
9119 | ||
d7ea8b71 RS |
9120 | 2005-09-03 Richard M. Stallman <rms@gnu.org> |
9121 | ||
9122 | * xdisp.c (redisplay_internal): Make UPDATED as long as needed. | |
9123 | (move_it_in_display_line_to): Stop after last char on line even | |
9124 | on a windowing terminal, if that's the specified stop position. | |
9125 | ||
9126 | * fns.c (Fsort): Doc fix. | |
9127 | ||
9128 | * editfns.c (Fpropertize): Don't insist that properties be symbols. | |
9129 | ||
1550ae60 SM |
9130 | 2005-09-02 Stefan Monnier <monnier@iro.umontreal.ca> |
9131 | ||
9132 | * dired.c (directory_files_internal_unwind, directory_files_internal) | |
9133 | (file_name_completion): Use a Save_Value object rather than a cons of | |
9134 | two 16bit ints to store the DIR*. | |
9135 | (directory_files_internal, file_name_completion): Handle both EINTR and | |
9136 | EAGAIN consistently after `readdir'. | |
9137 | ||
bdb4d6d8 SM |
9138 | 2005-09-01 Stefan Monnier <monnier@iro.umontreal.ca> |
9139 | ||
1550ae60 SM |
9140 | * intervals.c (update_interval): Add position info in error. |
9141 | ||
bdb4d6d8 SM |
9142 | * dispnew.c (window_to_frame_hpos, update_window): |
9143 | Avoid gcc warning about unused variable `f'. | |
9144 | ||
6bcc3ca4 JR |
9145 | 2005-08-31 Jason Rumney <jasonr@gnu.org> |
9146 | ||
9147 | * w32menu.c (add_menu_item): If unicode_append_menu returns an | |
9148 | error, revert to using AppendMenu. | |
9149 | ||
07c5948c YM |
9150 | 2005-08-31 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9151 | ||
bdb4d6d8 SM |
9152 | * image.c (PIX_MASK_DRAW, PIX_MASK_RETAIN): Remove argument. |
9153 | All uses changed. | |
07c5948c YM |
9154 | [MAC_OS] (XPutPixel, XGetPixel): Add efficient versions for common |
9155 | cases. | |
9156 | (x_create_x_image_and_pixmap) [MAC_OS]: Don't call x_destroy_x_image. | |
bdb4d6d8 SM |
9157 | [MAC_OS] (find_image_fsspec) [!MAC_OSX]: Don't use FSRef. |
9158 | Use posix_pathname_to_fsspec. | |
07c5948c YM |
9159 | [MAC_OS] (xpm_load_image): Fill in background_transparent field |
9160 | while we have mask. | |
9161 | ||
9162 | * macgui.h [!TARGET_API_MAC_CARBON] (GetPixDepth): New define. | |
9163 | ||
9164 | * macterm.h (PIX_MASK_DRAW, PIX_MASK_RETAIN): Move defines to image.c. | |
9165 | ||
5a774522 SM |
9166 | 2005-08-29 Stefan Monnier <monnier@iro.umontreal.ca> |
9167 | ||
9168 | * syntax.c (update_syntax_table): Properly reproduce the special +1 | |
9169 | setting of e_property at the end of the buffer when bumping into the | |
9170 | INTERVALS_AT_ONCE limit. | |
9171 | ||
0fb57cc0 EZ |
9172 | 2005-08-27 Eli Zaretskii <eliz@gnu.org> |
9173 | ||
9174 | * emacs.c (USAGE1): Fix the description of the -Q option. | |
9175 | ||
5a774522 SM |
9176 | 2005-08-26 Stefan Monnier <monnier@iro.umontreal.ca> |
9177 | ||
9178 | * xdisp.c (pos_visible_p): Yet another int/Lisp_Object mixup (YAILOM). | |
9179 | ||
4e6b8c5a KS |
9180 | 2005-08-26 Kim F. Storm <storm@cua.dk> |
9181 | ||
9182 | * xdisp.c (resize_mini_window): Fix 2005-08-20 change. | |
9183 | Don't move PT to new window start. | |
9184 | ||
1f98fbb4 YM |
9185 | 2005-08-25 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9186 | ||
9187 | * keyboard.c (kbd_buffer_get_event) [MAC_OS]: Make events for | |
9188 | ICONIFY/DEICONIFY_EVENT. | |
9189 | ||
5a774522 SM |
9190 | * macterm.c (mac_copy_area, mac_copy_area_with_mask): |
9191 | Restore background color. | |
1f98fbb4 YM |
9192 | (mac_handle_visibility_change): New function. |
9193 | (x_make_frame_invisible, x_iconify_frame) | |
9194 | (XTread_socket) [!USE_CARBON_EVENTS]: Use it. | |
9195 | [USE_CARBON_EVENTS] (mac_handle_window_event) | |
07c5948c | 9196 | (install_window_handler): Handle visibility change events. |
1f98fbb4 YM |
9197 | (x_make_frame_visible): Don't reposition window if it is iconified |
9198 | or asked for visible before. Select and uncollapse window when it | |
9199 | is made visible. | |
9200 | (x_make_frame_invisible): Don't reset x_highlight_frame. | |
9201 | (x_iconify_frame): Likewise. Make invisible frame visible before | |
9202 | it is iconified. | |
9203 | (read_socket_inev): Move variable outside #if USE_CARBON_EVENTS. | |
9204 | (do_window_update): Don't change visibility of invisible frame. | |
9205 | ||
16691d29 JL |
9206 | 2005-08-22 Juri Linkov <juri@jurta.org> |
9207 | ||
9208 | * term.c (turn_on_face): Check for TS_set_foreground and | |
9209 | TS_set_background depending on standout_mode. Simplify. | |
9210 | ||
7c3f805b KS |
9211 | 2005-08-21 Kim F. Storm <storm@cua.dk> |
9212 | ||
0f467468 KS |
9213 | * fringe.c (update_window_fringes): Only put TOP and BOTTOM |
9214 | bitmaps on fully visible rows. | |
9215 | ||
7c3f805b KS |
9216 | * fringe.c (update_window_fringes): Replace FORCE_P arg with |
9217 | KEEP_CURRENT_P arg; if non-zero, don't update current row fringes, | |
9218 | and return 0. | |
9219 | ||
9220 | * xdisp.c (redisplay_window): Call update_window_fringes with | |
9221 | KEEP_CURRENT_P non-0 if we are going to refresh fringes later. | |
9222 | ||
40b388f9 RS |
9223 | 2005-08-20 Richard M. Stallman <rms@gnu.org> |
9224 | ||
9225 | * xdisp.c (display_echo_area_1): Get display start pos from w->start. | |
9226 | (resize_mini_window): Set w->start, and PT, so as to display the tail | |
9227 | end of the buffer, if it doesn't all fit. | |
9228 | ||
581360f0 KS |
9229 | 2005-08-18 Kim F. Storm <storm@cua.dk> |
9230 | ||
9231 | * xdisp.c (calc_pixel_width_or_height): Use actual display | |
9232 | resolution when available instead of Vdisplay_pixels_per_inch. | |
9233 | ||
0eefa6fb KS |
9234 | 2005-08-17 Kim F. Storm <storm@cua.dk> |
9235 | ||
9236 | * xdisp.c (pos_visible_p): Adjust X value if window is hscrolled. | |
9237 | ||
9238 | * dispnew.c (buffer_posn_from_coords): Check that target row is | |
9239 | within matrix. | |
9240 | ||
ada192ba JD |
9241 | 2005-08-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9242 | ||
9243 | * xterm.c (x_wm_set_icon_pixmap): Move GTK specific code to | |
9244 | xg_set_frame_icon and call it. | |
9245 | ||
9246 | * gtkutil.c (xg_set_frame_icon): New function. | |
9247 | ||
0eefa6fb | 9248 | * gtkutil.h (xg_set_frame_icon): Declare it. |
ada192ba | 9249 | |
ab89a403 KS |
9250 | 2005-08-16 Kim F. Storm <storm@cua.dk> |
9251 | ||
9252 | * dispnew.c (increment_row_positions): Skip non-enabled rows. | |
9253 | ||
9254 | * window.c (SAVED_WINDOW_VECTOR_SIZE): Remove dangerous define. | |
9255 | (Fcurrent_window_configuration): Use VECSIZE macro instead. | |
9256 | ||
8d34b5e1 RS |
9257 | 2005-08-15 Richard M. Stallman <rms@gnu.org> |
9258 | ||
9259 | * xdisp.c (message3_nolog): Clear echo_message_buffer. | |
9260 | ||
71e37f3c KS |
9261 | 2005-08-15 Kim F. Storm <storm@cua.dk> |
9262 | ||
0781c303 KS |
9263 | * lisp.h (QUIT) [!SYNC_INPUT]: Throw t to Vthrow_on_input. |
9264 | ||
71e37f3c KS |
9265 | * process.c (deactivate_process, status_notify, read_process_output) |
9266 | (update_status, status_convert, decode_status, allocate_pty) | |
9267 | (make_process, remove_process, list_processes_1) | |
9268 | (create_process_1, unwind_request_sigio, read_process_output) | |
9269 | (send_process, keyboard_bit_set): Declare static. | |
9270 | (Fdelete_process): Simplify. Pass process to status_notify, so we | |
9271 | don't try to read output from it. | |
9272 | (status_notify): New arg deleting_process--don't try to read | |
9273 | output from that process. | |
9274 | ||
9275 | * lisp.h (deactivate_process, status_notify, read_process_output): | |
9276 | Remove prototypes. | |
9277 | ||
0bf14bfd RS |
9278 | 2005-08-14 Richard M. Stallman <rms@gnu.org> |
9279 | ||
bdb4d6d8 SM |
9280 | * image.c (syms_of_image): Init Qxbm, Qpbm before calling |
9281 | define_image_type. | |
0bf14bfd | 9282 | |
6c7eb721 JD |
9283 | 2005-08-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9284 | ||
9285 | * gtkutil.c (xg_get_pixbuf_from_pix_and_mask): New function. | |
9286 | (xg_get_image_for_pixmap): Move some code to | |
9287 | xg_get_pixbuf_from_pix_and_mask, and call it. | |
9288 | ||
9289 | * gtkutil.h (xg_get_pixbuf_from_pix_and_mask): Declare. | |
9290 | ||
9291 | * xterm.c (x_wm_set_icon_pixmap): Call xg_get_pixbuf_from_pix_and_mask | |
9292 | to get an GTK icon and set it with GTK functions to avoid having GTK | |
9293 | override an icon set with just X functions. | |
9294 | ||
6e2d14c8 RS |
9295 | 2005-08-11 Richard M. Stallman <rms@gnu.org> |
9296 | ||
bdb4d6d8 SM |
9297 | * image.c (syms_of_image): Init image_types here, and call |
9298 | define_image_type. | |
6e2d14c8 RS |
9299 | (init_image): Not here. |
9300 | ||
61298e17 RS |
9301 | 2005-08-09 Richard M. Stallman <rms@gnu.org> |
9302 | ||
9303 | * bytecode.c (BYTE_CODE_QUIT): Throw t to Vthrow_on_input. | |
9304 | ||
9305 | * lisp.h (QUIT): Throw t to Vthrow_on_input. | |
9306 | ||
5a9807a8 TTN |
9307 | 2005-08-09 Thien-Thi Nguyen <ttn@gnu.org> |
9308 | ||
9309 | * floatfns.c (Fexpt): Use floats for negative exponent. | |
9310 | ||
93469010 JD |
9311 | 2005-08-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9312 | ||
9313 | * gtkutil.c (xg_modify_menubar_widgets): Remove semicolon that | |
9314 | should not be there, causing menu display errors with GTK 2.6.9. | |
9315 | ||
44edd521 RS |
9316 | 2005-08-07 Richard M. Stallman <rms@gnu.org> |
9317 | ||
8b6a9551 RS |
9318 | * floatfns.c (Fexpt): Undo previous change. |
9319 | ||
44edd521 RS |
9320 | * dispnew.c (Fframe_or_buffer_changed_p): Take an arg |
9321 | so it can be used with various state vectors. | |
9322 | ||
9323 | * emacs.c (endif): Convert -script into -scriptload. | |
9324 | (standard_args): Add -scriptload. Allow -basic-display with one dash. | |
9325 | ||
9326 | * fns.c (syms_of_fns): Add `emacs' to features. | |
9327 | ||
9328 | * term.c (set_terminal_modes): If no TS_termcap_modes string, | |
9329 | output newlines to scroll the old screen contents off the screen. | |
9330 | ||
cac87e30 TTN |
9331 | 2005-08-06 Thien-Thi Nguyen <ttn@gnu.org> |
9332 | ||
2a205424 TTN |
9333 | * floatfns.c (Fexpt): Use floats for negative exponent. |
9334 | Reported by D Goel. | |
cac87e30 | 9335 | |
31b7cc74 JB |
9336 | 2005-08-02 Richard M. Stallman <rms@gnu.org> |
9337 | ||
9338 | * frame.c (Fframe_char_width): Doc fix. | |
9339 | ||
e2b64074 JB |
9340 | 2005-07-30 Juanma Barranquero <lekktu@gmail.com> |
9341 | ||
9342 | * xdisp.c (syms_of_xdisp) <redisplay-end-trigger-functions>: | |
9343 | Defvar it. | |
9344 | ||
0962822d JB |
9345 | 2005-07-28 Juanma Barranquero <lekktu@gmail.com> |
9346 | ||
9347 | * w32fns.c (my_set_window_pos, my_show_window): Don't declare. | |
9348 | (my_create_window, my_create_tip_window): Make static. | |
9349 | ||
9350 | * w32term.c (my_show_window, my_set_window_pos, my_set_focus) | |
9351 | (my_set_foreground_window, my_destroy_window): Make static. | |
9352 | ||
9eff9fe3 PE |
9353 | 2005-07-26 Paul Eggert <eggert@cs.ucla.edu> |
9354 | ||
9355 | Merge gnulib getopt implementation into Emacs. | |
9356 | ||
9357 | * s/cygwin.h (C_SWITCH_SYSTEM): Remove, since gettext.h is | |
9358 | now part of lib-src. | |
9359 | ||
1c9916a1 SM |
9360 | 2005-07-26 Stefan Monnier <monnier@iro.umontreal.ca> |
9361 | ||
9362 | * eval.c (Fdefvar): Allow (defvar enable-multibyte-characters). | |
9363 | ||
94c7f257 JR |
9364 | 2005-07-25 Jason Rumney <jasonr@gnu.org> |
9365 | ||
9366 | * w32menu.c (w32_menu_display_help): Suppress tooltip when | |
9367 | navigating menus with the keyboard. | |
9368 | ||
bf0bf758 RS |
9369 | 2005-07-23 Richard M. Stallman <rms@gnu.org> |
9370 | ||
9371 | * insdel.c (syms_of_insdel): staticpro combine_after_change_buffer. | |
9372 | ||
9373 | * bytecode.c (MAYBE_GC): Test gc_cons_threshold and | |
9374 | gc_relative_threshold, one by one. | |
9375 | ||
9376 | * keyboard.c (read_char): Test gc_cons_threshold. | |
9377 | (syms_of_keyboard): staticpro Qecho_area_clear_hook. | |
9378 | ||
9379 | * eval.c (Feval, Ffuncall): Test gc_cons_threshold and | |
9380 | gc_relative_threshold, one by one. | |
9381 | ||
9382 | * alloc.c (gc_cons_threshold): Not static. | |
9383 | (gc_cons_combined_threshold): Var deleted. | |
9384 | (gc_relative_threshold): New variable. | |
9385 | (Fgarbage_collect, init_alloc_once): Compute gc_relative_threshold | |
9386 | instead of gc_cons_combined_threshold. | |
9387 | ||
1c9916a1 | 9388 | * lisp.h (gc_cons_threshold, gc_relative_threshold): Declare. |
bf0bf758 RS |
9389 | (gc_cons_combined_threshold): Declaration deleted. |
9390 | ||
99f963e4 YM |
9391 | 2005-07-23 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9392 | ||
9393 | * mac.c: Don't include stdlib.h or string.h. | |
9394 | (Fdo_applescript, Fmac_file_name_to_posix) | |
9395 | (Fmac_file_name_to_posix): Doc fixes. | |
9396 | [TARGET_API_MAC_CARBON] (Fmac_get_preference) | |
9397 | (Fmac_code_convert_string): Likewise. | |
9398 | [MAC_OSX] (init_mac_osx_environment): Fall back on terminal mode | |
9399 | if the executable is not contained in a bundle. | |
9400 | ||
9401 | * macfns.c: Don't include stdlib.h or string.h. Include atimer.h. | |
9402 | (gray_width, gray_height): Remove defines. | |
9403 | (gray_bits, gray_bitmap_width, gray_bitmap_height) | |
9404 | (gray_bitmap_bits): Remove variables. | |
9405 | (lispy_function_keys): Remove extern. | |
9406 | (free_frame_menubar): Add extern. | |
9407 | (x_window_to_frame): Remove function. | |
9408 | (unwind_create_tip_frame): Add declaration. | |
9409 | (x_set_name_internal): New function. | |
9410 | (x_set_name, x_set_title): Use it. | |
9411 | (Fx_create_frame, Fx_display_grayscale_p, Fx_display_pixel_width) | |
9412 | (Fx_display_pixel_height, Fx_display_planes) | |
9413 | (Fx_display_color_cells, Fx_server_max_request_size) | |
9414 | (Fx_server_vendor, Fx_server_version, Fx_display_screens) | |
9415 | (Fx_display_mm_height, Fx_display_mm_width) | |
9416 | (Fx_display_backing_store, Fx_display_visual_class) | |
9417 | (Fx_display_save_under, Fx_synchronize, Fx_show_tip): Doc fixes. | |
9418 | ||
9419 | * macmenu.c (Fx_popup_menu, Fx_popup_dialog): Doc fixes. | |
9420 | ||
bdb4d6d8 | 9421 | * macselect.c (Fx_own_selection_internal): Follow error conventions. |
99f963e4 YM |
9422 | (Fx_get_selection_internal, Fx_selection_owner_p) |
9423 | (Fx_selection_exists_p): Doc fixes. | |
9424 | (syms_of_macselect) <selection-converter-alist>: Likewise. | |
9425 | ||
1d256714 JB |
9426 | 2005-07-21 Juanma Barranquero <lekktu@gmail.com> |
9427 | ||
9428 | * buffer.c (syms_of_buffer) <cursor-type>: Doc fix. | |
9429 | ||
9430 | * ccl.c (Fregister_ccl_program): Fix typos in docstring. | |
9431 | (Fccl_execute_on_string): Likewise; add usage info. | |
9432 | ||
9433 | * composite.c (Fcompose_region_internal) | |
9434 | (Fcompose_string_internal): | |
9435 | Improve argument/docstring consistency. | |
9436 | ||
9437 | * minibuf.c (Fminibuffer_prompt_end, Feval_minibuffer): | |
9438 | Fix typos in docstrings. | |
9439 | ||
9440 | * textprop.c (Fnext_char_property_change) | |
9441 | (Fprevious_char_property_change): Doc fixes. | |
9442 | ||
9443 | * window.c (Fset_window_margins, Fset_window_fringes): | |
9444 | Improve argument/docstring consistency. | |
9445 | ||
9446 | * xfaces.c (Finternal_lisp_face_p): Doc fix. | |
9447 | ||
538f78c3 AS |
9448 | 2005-07-21 Andreas Schwab <schwab@suse.de> |
9449 | ||
9450 | * eval.c (restore_stack_limits): Return a value. | |
9451 | ||
a5b5bf44 JB |
9452 | 2005-07-20 Juanma Barranquero <lekktu@gmail.com> |
9453 | ||
9454 | * eval.c (Fdefvar): Doc fix. | |
9455 | ||
ae643123 KS |
9456 | 2005-07-20 Kim F. Storm <storm@cua.dk> |
9457 | ||
0ed4bf15 KS |
9458 | * fileio.c (Fdo_auto_save, do_auto_save_unwind): |
9459 | Use make_save_value to unwind protect stream. | |
9460 | ||
9461 | * lread.c (Fload, load_unwind): | |
9462 | Use make_save_value to unwind protect stream. | |
ae643123 | 9463 | |
82fc29a1 JB |
9464 | 2005-07-19 Juanma Barranquero <lekktu@gmail.com> |
9465 | ||
9466 | * eval.c (Fprog2, Fcalled_interactively_p), | |
9467 | (syms_of_eval) <debug-on-quit>: Doc fixes. | |
9468 | (syms_of_eval) <max-specpdl-size>: | |
9469 | (Finteractive_p): Fix typos in docstrings. | |
9470 | ||
73b90087 KS |
9471 | 2005-07-19 Kim F. Storm <storm@cua.dk> |
9472 | ||
9473 | * w32fns.c (Vx_hand_shape): Variable removed. | |
9474 | (syms_of_w32fns): Intern and staticpro Qw32_charset_default. | |
9475 | ||
dfc434d0 KH |
9476 | 2005-07-19 Kenichi Handa <handa@m17n.org> |
9477 | ||
bdb4d6d8 | 9478 | * fns.c (Fstring_as_multibyte): Escape backslashes in the docstring. |
dfc434d0 | 9479 | |
bcd98331 SM |
9480 | 2005-07-18 Stefan Monnier <monnier@iro.umontreal.ca> |
9481 | ||
9482 | * buffer.h (Fgenerate_new_buffer_name): Declare (for use in coding.c). | |
9483 | ||
2a85a754 KS |
9484 | 2005-07-18 Kim F. Storm <storm@cua.dk> |
9485 | ||
9486 | * frame.h (struct frame): New member already_hscrolled_p. | |
9487 | ||
9488 | * xdisp.c (redisplay_internal): Only try to hscroll each frame once | |
9489 | to avoid redisplay looping hscrolling back and forth ad infinitum. | |
9490 | ||
426179e1 JL |
9491 | 2005-07-18 Juri Linkov <juri@jurta.org> |
9492 | ||
9493 | * buffer.c (scroll-up-aggressively, scroll-down-aggressively): | |
9494 | * keymap.c (Fminor_mode_key_binding): | |
9495 | * macterm.c (mac-emulate-three-button-mouse): | |
9496 | Delete duplicate duplicate words. | |
9497 | ||
9f4a578d KR |
9498 | 2005-07-18 Ken Raeburn <raeburn@gnu.org> |
9499 | ||
9500 | * minibuf.c (Ftest_completion): Fix odd syntax in test. | |
9501 | ||
d005338b YM |
9502 | 2005-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9503 | ||
bcd98331 | 9504 | * macfns.c (x_set_cursor_color): Use XSetBackground and XSetForeground. |
d005338b YM |
9505 | |
9506 | * macgui.h (struct _XGC): New struct. | |
9507 | (GC): Use it. | |
9508 | (GCForeground, GCBackground, GCFont): Use X11 mask values. | |
9509 | (XCreateGC, XParseGeometry): Move externs to macterm.h. | |
9510 | ||
bcd98331 | 9511 | * macterm.c (x_bitmap_icon, x_make_frame_visible): Remove declarations. |
d005338b | 9512 | (XSetFont): Add declaration. |
bcd98331 SM |
9513 | (mac_set_forecolor, mac_set_backcolor, mac_set_colors): |
9514 | Remove functions. | |
9515 | (GC_FORE_COLOR, GC_BACK_COLOR, GC_FONT, MAC_WINDOW_NORMAL_GC): | |
9516 | New defines. | |
d005338b YM |
9517 | (XDrawLine, mac_draw_line_to_pixmap, XClearWindow) |
9518 | (mac_draw_bitmap, XCreatePixmapFromBitmapData, XFillRectangle) | |
bcd98331 SM |
9519 | (mac_draw_rectangle, mac_draw_string_common, mac_scroll_area): |
9520 | Use them. | |
d005338b YM |
9521 | (mac_erase_rectangle): New function. |
9522 | (XClearArea, x_draw_fringe_bitmap, x_clear_glyph_string_rect) | |
9523 | (x_draw_stretch_glyph_string): Use it. | |
9524 | (XChangeGC, XCreateGC, XGetGCValues, XSetForeground) | |
9525 | (XSetBackground, XSetFont): Adjust for new GC implementation. | |
9526 | (x_draw_fringe_bitmap, x_draw_box_rect): Use GC to set colors. | |
9527 | (XTset_vertical_scroll_bar): Clear area under scroll bar. | |
9528 | ||
9529 | * macterm.h (struct mac_display_info): Change types of | |
9530 | scratch_cursor_gc black_relief.gc, and white_relief.gc to GC. | |
9531 | (XCreateGC, XParseGeometry): Move externs from macgui.h. | |
9532 | ||
9533 | * xfaces.c [MAC_OS] (XCreateGC): Remove extern. | |
9534 | ||
9b0c2c56 RS |
9535 | 2005-07-16 Richard M. Stallman <rms@gnu.org> |
9536 | ||
9537 | * buffer.c (Fmake_overlay): Doc fix. | |
9538 | ||
2e9c1c6d EZ |
9539 | 2005-07-16 Eli Zaretskii <eliz@gnu.org> |
9540 | ||
9541 | * w32proc.c (syms_of_ntproc): staticpro Qhigh, Qlow, | |
9542 | Vw32_valid_locale_ids, and Vw32_valid_codepages. | |
9543 | ||
407289a4 YM |
9544 | 2005-07-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9545 | ||
bcd98331 SM |
9546 | * mac.c [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): |
9547 | Use Fstring_as_unibyte instead of string_make_unibyte. | |
407289a4 | 9548 | |
e4b477a1 RS |
9549 | 2005-07-15 Richard M. Stallman <rms@gnu.org> |
9550 | ||
9551 | * xdisp.c (select_frame_for_redisplay): Use find_symbol_value. | |
9552 | ||
a8613adf KS |
9553 | 2005-07-15 Kim F. Storm <storm@cua.dk> |
9554 | ||
9555 | * xdisp.c: Fix redisplay loop in last change. | |
9556 | (IT_POS_VALID_AFTER_MOVE_P): New macro. | |
9557 | (move_it_vertically_backward, move_it_by_lines): Use it. | |
9558 | ||
2d5324c5 JR |
9559 | 2005-07-14 Jason Rumney <jasonr@gnu.org> |
9560 | ||
9561 | * w32.c (init_environment): Default HOME directory to user's | |
9562 | appdata directory if possible. | |
9563 | ||
3ed70dc4 KS |
9564 | 2005-07-14 Kim F. Storm <storm@cua.dk> |
9565 | ||
7b9389b0 KS |
9566 | * .gdbinit (pitx): Fix output format. Print string charpos. |
9567 | ||
3ed70dc4 KS |
9568 | * lread.c (syms_of_lread): Initialize seen_list. |
9569 | ||
9570 | * search.c (syms_of_search): Staticpro searchbuf.whitespace_regexp. | |
9571 | ||
9572 | * syntax.c (syms_of_syntax): Staticpro lisp objects in gl_state. | |
9573 | Staticpro re_match_object. | |
9574 | ||
ef029e5a YM |
9575 | 2005-07-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9576 | ||
9577 | * macselect.c (get_scrap_target_type_list): Avoid NULL pointer | |
9578 | dereference. | |
9579 | ||
9580 | * macterm.c (mac_window_to_frame): Remove duplicate define. | |
9581 | ||
16ef9c56 KH |
9582 | 2005-07-14 Kenichi Handa <handa@m17n.org> |
9583 | ||
9584 | * coding.c (code_convert_region_unwind): ARG is changed to a cons. | |
bcd98331 | 9585 | (code_convert_region): Adjust for the above change. |
16ef9c56 KH |
9586 | (set_conversion_work_buffer): If the work buffer is already in |
9587 | use, generate a new buffer and return it. Otherwise return Qnil. | |
bcd98331 | 9588 | (run_pre_post_conversion_on_str): Adjust for the above change. |
16ef9c56 KH |
9589 | (run_pre_write_conversin_on_c_str): Likewise. |
9590 | ||
098e1273 KS |
9591 | 2005-07-13 Kim F. Storm <storm@cua.dk> |
9592 | ||
010b9a45 KS |
9593 | * xdisp.c (start_display): Don't reseat to next visible line start |
9594 | if current start position is in a string or image. | |
9595 | (move_it_vertically_backward): Be sure to move out of strings and | |
9596 | images when moving it2 forward. | |
9597 | (move_it_by_lines): When moving forward, move to next buffer | |
9598 | position if we end up in a string or image. When moving backward, | |
9599 | count rows moved over when moving to start of current row in case | |
9600 | row starts in middle of a string or image. Also move further | |
9601 | backward if we end up in a string or image. | |
bcd98331 | 9602 | (try_cursor_movement): If overlay string spans multiple lines, |
010b9a45 KS |
9603 | move backward to set cursor on start of an overlay string. |
9604 | (cursor_row_p): Row is ok if cursor is at newline from string, but | |
9605 | string starts on this line (so we always position cursor at start | |
9606 | of string). | |
9607 | ||
9608 | * indent.c (Fvertical_motion): If start position is on an image, | |
9609 | don't move back if we move too far (that's almost certain to happen). | |
9610 | ||
098e1273 KS |
9611 | * xdisp.c (cursor_row_fully_visible_p): Allow partially visible |
9612 | row in minibuffer windows. | |
9613 | (try_window): Don't check margins in minibuffer windows. | |
9614 | ||
c229fb15 YM |
9615 | 2005-07-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9616 | ||
9617 | * macterm.c: Don't include stdlib.h or composite.h. | |
9618 | (x_use_underline_position_properties, last_mouse_press_frame) | |
9619 | (x_noop_count, Qvendor_specific_keysyms): Remove unused variables. | |
9620 | (syms_of_macterm, mac_initialize): Don't initialize them. | |
9621 | (waiting_for_input, initial_argv, initial_argc) | |
9622 | (Vcommand_line_args, Vx_no_window_manager, errno, window_scroll) | |
9623 | (set_frame_menubar, path_from_vol_dir_name): Remove externs. | |
9624 | (extra_keyboard_modifiers): Fix type in extern. | |
9625 | (x_window_to_frame, x_window_to_scroll_bar): Remove declarations. | |
9626 | (x_scroll_bar_report_motion): Add argument types to declaration. | |
9627 | (mac_compute_glyph_string_overhangs): Add declaration. | |
9628 | (disable_mouse_highlight): Remove unused variable. | |
9629 | [USE_TOOLKIT_SCROLL_BARS] (construct_scroll_bar_click) | |
9630 | (x_scroll_bar_handle_press, x_scroll_bar_handle_release) | |
bcd98331 SM |
9631 | (x_scroll_bar_handle_drag): Remove argument `timestamp'. |
9632 | All callers changed. | |
c229fb15 YM |
9633 | [USE_TOOLKIT_SCROLL_BARS] (construct_scroll_bar_click): Don't set |
9634 | timestamp. | |
9635 | [USE_CARBON_EVENTS] (mac_handle_mouse_event): Likewise. | |
9636 | (x_scroll_bar_create, XTset_vertical_scroll_bar): Show scroll bar | |
9637 | only when its width is less than the height. | |
9638 | (XTredeem_scroll_bar): Sync with xterm.c. | |
bcd98331 SM |
9639 | (font_name_table, font_name_table_size, font_name_count): |
9640 | Make static. | |
c229fb15 YM |
9641 | (drag_and_drop_file_list): Remove variable. Previous use is now |
9642 | local to function. | |
9643 | (do_ae_open_documents): Move DRAG_N_DROP event construction part | |
9644 | from XTread_socket. | |
bcd98331 SM |
9645 | (XTread_socket): Consolidate setting of event timestamp. |
9646 | Move DRAG_N_DROP event construction part to do_ae_open_documents. | |
c229fb15 YM |
9647 | Support extra_keyboard_modifiers. |
9648 | ||
9649 | * xfaces.c (try_font_list) [MAC_OS]: Try font family name | |
9650 | beginning with that for ASCII. | |
9651 | ||
69d05d83 SM |
9652 | 2005-07-13 Stefan Monnier <monnier@iro.umontreal.ca> |
9653 | ||
9654 | * alloc.c (gc_cons_combined_threshold, Vgc_cons_percentage): New vars. | |
9655 | (Fgarbage_collect, init_alloc_once): Set gc_cons_combined_threshold. | |
9656 | (syms_of_alloc): Declare gc-cons-percentage. | |
9657 | ||
9658 | * eval.c (Feval, Ffuncall): | |
9659 | * keyboard.c (read_char): | |
9660 | * bytecode.c (MAYBE_GC): Use gc_cons_combined_threshold. | |
9661 | ||
9662 | * lisp.h (gc_cons_combined_threshold): Declare. | |
9663 | ||
5c7f9de1 KS |
9664 | 2005-07-12 Kim F. Storm <storm@cua.dk> |
9665 | ||
9666 | * coding.c (Qprocess_argument): | |
9667 | * coding.h (Qprocess_argument): Remove unused var. | |
9668 | ||
9669 | * xselect.c (intern): Remove dup. intern and staticpro for QTIMESTAMP. | |
9670 | ||
c37efb7a YM |
9671 | 2005-07-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9672 | ||
9673 | * mac.c [!TARGET_API_MAC_CARBON]: Include charset.h, coding.h, and | |
9674 | Endian.h. | |
9675 | [!MAC_OSX] (fchmod, fchown): New functions. | |
9676 | (mac_get_code_from_arg): Don't accept Lisp integer as argument. | |
9677 | Use SBYTES and EndianU32_BtoN. | |
9678 | (mac_get_object_from_code): Return 4 byte string even if argument | |
9679 | is 0. Use make_unibyte_string and EndianU32_NtoB. | |
9680 | (Fmac_get_file_creator, Fmac_get_file_type, Fmac_set_file_creator) | |
9681 | (Fmac_set_file_type): Fix documents and argument declarations. | |
9682 | Don't specify kFSCatInfoNodeFlags. Support Mac OS Classic. | |
9683 | ||
a4429c5b SM |
9684 | 2005-07-11 Stefan Monnier <monnier@iro.umontreal.ca> |
9685 | ||
9686 | * window.c (Frecenter): Yet another int/Lisp_Object mixup (YAILOM). | |
9687 | ||
a2d7e722 JD |
9688 | 2005-07-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9689 | ||
9690 | * xfaces.c (x_update_menu_appearance): Use fontSet resource for | |
9691 | Lucid if X_I18N, font otherwise. | |
9692 | ||
9a4183e9 ST |
9693 | 2005-07-10 Steven Tamm <steventamm@mac.com> |
9694 | ||
a4429c5b SM |
9695 | * mac.c (Fmac_get_file_type, Fmac_get_file_creator): Add. |
9696 | (Fmac_set_file_type, Fmac_set_file_creator): Add. | |
9697 | (mac_get_object_from_code, mac_get_code_from_arg): Add. | |
9a4183e9 | 9698 | |
51f74c37 RS |
9699 | 2005-07-10 Richard M. Stallman <rms@gnu.org> |
9700 | ||
9701 | * lread.c (Qeval_buffer_list, Veval_buffer_list): New vars. | |
9702 | (syms_of_lread): Set up eval-buffer-list. | |
9703 | (Feval_buffer, Feval_region): Bind eval-buffer-list. | |
9704 | ||
93c7da4c RS |
9705 | 2005-07-08 Richard M. Stallman <rms@gnu.org> |
9706 | ||
9707 | * eval.c (Fdefvar): Allow defvaring a constant to itself quoted. | |
9708 | ||
64af5917 KS |
9709 | 2005-07-08 Kim F. Storm <storm@cua.dk> |
9710 | ||
9711 | * keyboard.c (menu_bar_items): Don't GCPRO menu_bar_items_vector here. | |
9712 | (syms_of_keyboard): Initialize and staticpro menu_bar_items_vector. | |
9713 | ||
a96b333c KS |
9714 | 2005-07-07 Kim F. Storm <storm@cua.dk> |
9715 | ||
9716 | * window.c (Frecenter): Fix last change (set iarg before use). | |
9717 | ||
dc2204be RS |
9718 | 2005-07-06 Richard M. Stallman <rms@gnu.org> |
9719 | ||
9720 | * window.c (Frecenter): When arg is inside the scroll margin, | |
9721 | move it out of the margin. | |
9722 | ||
3fb1d72b JR |
9723 | 2005-07-06 Jason Rumney <jasonr@gnu.org> |
9724 | ||
9725 | * w32console.c (initialize_w32_display): Detect when the console | |
9726 | dimensions are insane, and default to 80x25 instead. | |
14a56a1b | 9727 | (w32_use_full_screen_buffer): Default to nil. |
3fb1d72b | 9728 | |
dd15724d YM |
9729 | 2005-07-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9730 | ||
9731 | * macterm.c (mac_draw_vertical_window_border): Use foreground of | |
9732 | VERTICAL_BORDER_FACE_ID for vertical border line. | |
9733 | (mac_encode_char): Call check_ccl_update in advance. | |
9734 | (mac_to_x_fontname, x_font_name_to_mac_font_name) | |
a4429c5b SM |
9735 | (init_font_name_table, mac_do_list_fonts, XLoadQueryFont): |
9736 | Don't assume that font family length is less than 32. | |
dd15724d YM |
9737 | (x_compute_min_glyph_bounds): Make static. |
9738 | (x_load_font): Never set fonts_changed_p to zero. | |
a96b333c | 9739 | |
68003d6b LK |
9740 | 2005-07-04 Lute Kamstra <lute@gnu.org> |
9741 | ||
dc2204be | 9742 | * Update FSF's address in GPL notices. |
68003d6b | 9743 | |
3d393029 RS |
9744 | 2005-07-03 Richard M. Stallman <rms@gnu.org> |
9745 | ||
9746 | * xdisp.c (try_window): Fix previous change in how it handles | |
9747 | a partially-visible line or one only partly past the margin. | |
9748 | ||
9749 | * window.c (window_scroll_pixel_based): Take account | |
9750 | of this_scroll_margin when finding point when scrolling up. | |
9751 | ||
9752 | 2005-06-29 Ralf Angeli <angeli@iwi.uni-sb.de> | |
9753 | ||
9754 | * window.c (window_scroll_pixel_based, window_scroll_line_based): | |
9755 | Handle `scroll-preserve-screen-position' non-nil, non-t specially. | |
9dd28cae | 9756 | (syms_of_window) <scroll-preserve-screen-position>: Doc fix. |
3d393029 | 9757 | |
d6951bb4 EZ |
9758 | 2005-07-02 Juri Linkov <juri@jurta.org> |
9759 | ||
9760 | * w32term.c (w32_draw_vertical_window_border): Use foreground of | |
9761 | VERTICAL_BORDER_FACE_ID for vertical border line. | |
9762 | ||
b016179b EZ |
9763 | 2005-07-02 Eli Zaretskii <eliz@gnu.org> |
9764 | ||
9765 | * fileio.c (Fcopy_file): Rearrange the code that calls fchown and | |
9766 | fchmod so that chmod doesn't get called on MSDOS before the file | |
9767 | is closed. | |
9768 | ||
c2baa2b6 JR |
9769 | 2005-07-01 Jason Rumney <jasonr@gnu.org> |
9770 | ||
9771 | * w32term.c (cleartype_active): New flag for enabling sub-pixel | |
9772 | workaround. | |
9773 | (w32_initialize): Initialize it. | |
9774 | (w32_native_per_char_metric): Allow a couple of extra pixels when | |
9775 | Cleartype is active. | |
9776 | ||
9777 | * w32term.c (w32_initialize): Move check for screen reader here | |
9778 | from syms_of_w32term. | |
9779 | ||
a6d0ae55 JD |
9780 | 2005-06-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
9781 | ||
9782 | * xterm.c (handle_one_xevent): bzero compose_status when nbytes | |
9783 | is not zero. | |
9784 | ||
711877f3 MY |
9785 | 2005-07-01 Masatake YAMATO <jet@gyve.org> |
9786 | ||
a4429c5b | 9787 | * emacs.c (main): Passing ADD_NO_RANDOMIZE to `personality'. |
711877f3 | 9788 | |
63f7ffb3 JL |
9789 | 2005-06-30 Juri Linkov <juri@jurta.org> |
9790 | ||
9791 | * xdisp.c (x_draw_vertical_border): If left fringe is not present | |
9792 | decrease x coord of vertical border by 1 pixel to not occupy text | |
9793 | area of the right window. | |
9794 | ||
9795 | * xterm.c (x_draw_vertical_window_border): Use foreground of | |
9796 | VERTICAL_BORDER_FACE_ID for vertical border line. | |
9797 | ||
9798 | * term.c (turn_on_face): In standout mode apply specified | |
9799 | fg to bg, and specified bg to fg (this makes the logic of | |
9800 | inversion on terminal consistent with X). | |
9801 | ||
b26860ad JB |
9802 | 2005-06-29 Juanma Barranquero <lekktu@gmail.com> |
9803 | ||
9804 | * eval.c (user_variable_p_eh): New function. | |
9805 | (Fuser_variable_p): Use it. Clarify docstring. | |
9806 | Return t for aliases of user options, nil for alias loops. | |
9807 | ||
3a1f1d79 RS |
9808 | 2005-06-27 Richard M. Stallman <rms@gnu.org> |
9809 | ||
9810 | * eval.c (Fdefvar): Improve error message. | |
9811 | ||
92de1e01 YM |
9812 | 2005-06-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9813 | ||
9814 | * macterm.c [USE_CARBON_EVENTS] (mac_convert_event_ref): Fix last | |
9815 | change. | |
9816 | ||
69410484 JB |
9817 | 2005-06-27 Juanma Barranquero <lekktu@gmail.com> |
9818 | ||
9819 | * eval.c (Fdefvar): Don't try to set constant symbols. | |
9820 | ||
09352e8f RS |
9821 | 2005-06-25 Richard M. Stallman <rms@gnu.org> |
9822 | ||
a68d870b RS |
9823 | * macfns.c (Fx_show_tip): Pass new arg to try_window. |
9824 | ||
9825 | * w32fns.c (Fx_show_tip): Pass new arg to try_window. | |
9826 | ||
9827 | * xfns.c (Fx_show_tip): Pass new arg to try_window. | |
9828 | ||
9829 | * xdisp.c (try_window): New arg CHECK_MARGINS. Calls changed. | |
9830 | (redisplay_window): Handle try_window reporting point in scroll margin. | |
9831 | ||
9832 | * dispextern.h (try_window): Declare new arg. | |
9833 | ||
9834 | * fileio.c (Fcopy_file): New arg PRESERVE_UID_GID. | |
9835 | Use fchmod to copy the file modes. | |
9836 | (Frename_file): Don't copy UID and GID here; | |
9837 | instead, specify t for PRESERVE_UID_GID when calling Fcopy_file. | |
9838 | ||
df13531d RS |
9839 | * eval.c (call_debugger): Take full care of extending stack limits |
9840 | to make space for the debugger, and restore the change afterward. | |
9841 | Bind debug-on-error to nil. | |
9842 | (restore_stack_limits): New subroutine. | |
9843 | (Fsignal): Extend specpdl bound along with eval depth bound, | |
9844 | for calling edebug. Don't do either one, for calling debugger. | |
9845 | (find_handler_clause): Don't bind debug-on-error here. | |
9846 | Don't unbind anything either. | |
9847 | Temporarily advance max_specpdl_size for calling | |
9848 | internal_with_output_to_temp_buffer. | |
9849 | (grow_specpdl): Don't alter max_specpdl_size before signaling | |
9850 | an error. | |
9851 | (syms_of_eval) <max-specpdl-size>: Doc fix. | |
9852 | ||
09352e8f RS |
9853 | * lread.c (read1): 0.0e+NaN should make a "positive" NaN. |
9854 | ||
90296dd3 EZ |
9855 | 2005-06-24 Eli Zaretskii <eliz@gnu.org> |
9856 | ||
9857 | * fileio.c (Frename_file): Undo last change: no need to ifdef away | |
9858 | chown on DOS_NT platforms. | |
9859 | ||
9860 | * w32.c (sys_chown): New function. | |
9861 | ||
9862 | * s/ms-w32.h (chown): New; define to sys_chown. | |
9863 | ||
c4f6ca24 JB |
9864 | 2005-06-24 Juanma Barranquero <lekktu@gmail.com> |
9865 | ||
3338c0ad JB |
9866 | * xdisp.c (syms_of_xdisp) <nobreak-char-display>: Doc fix. |
9867 | (syms_of_xdisp) <void-text-area-pointer>: Doc fix. | |
9868 | ||
9a1505e9 | 9869 | * fileio.c (Frename_file)[!DOS_NT]: Don't call chown on MSDOS/Windows. |
c4f6ca24 | 9870 | |
528b6abc RS |
9871 | 2005-06-23 Richard M. Stallman <rms@gnu.org> |
9872 | ||
9873 | * xdisp.c (get_next_display_element): Finish reversing the tests of | |
9874 | Vnobreak_char_display. | |
9875 | ||
9a1505e9 | 9876 | * xdisp.c (Vnobreak_char_display): Rename from Vshow_nonbreak_escape. |
528b6abc | 9877 | All uses changed. |
9a1505e9 | 9878 | (Qnobreak_space): Rename from Qno_break_space. All uses changed. |
528b6abc RS |
9879 | (syms_of_xdisp): Define nobreak-char-display and nobreak-space. |
9880 | ||
9881 | * fileio.c (Frename_file): Preserve owner and group, if possible, | |
9882 | when copying. | |
9883 | ||
1d1c7e75 JB |
9884 | 2005-06-23 Juanma Barranquero <lekktu@gmail.com> |
9885 | ||
253b2298 JB |
9886 | * abbrev.c (Funexpand_abbrev): |
9887 | * category.c (Fmake_category_set): | |
9888 | * dispnew.c (Fsleep_for, Fsit_for): | |
9889 | * editfns.c (Fsubst_char_in_region): | |
9890 | * eval.c (Fdefvar, Fdefconst, Feval, Ffuncall): | |
9891 | * frame.c (make_frame_without_minibuffer): | |
9892 | * lread.c (read_vector): | |
9893 | * macfns.c (check_x_frame): | |
9894 | * process.c (Fstop_process, Fcontinue_process): | |
9895 | * search.c (Freplace_match): | |
9896 | * syntax.c (Fstring_to_syntax): | |
9897 | * w32fns.c (check_x_frame, check_x_display_info): | |
9898 | * xfaces.c (x_supports_face_attributes_p): | |
9899 | * xselect.c (Fx_own_selection_internal): Follow error conventions. | |
9900 | ||
1d1c7e75 JB |
9901 | * image.c (fn_png_init_io): Don't define it. |
9902 | (init_png_functions) [HAVE_NTGUI]: Don't initialize fn_png_init_io. | |
9903 | (png_read_from_file): New function, based on png_read_from_memory. | |
9904 | (png_load): Use it, instead of fn_png_init_io. | |
9905 | ||
d1fab151 KS |
9906 | 2005-06-23 Kim F. Storm <storm@cua.dk> |
9907 | ||
9908 | * search.c (Fmatch_data): Remove evaporate option. | |
9d12e52b | 9909 | (Fset_match_data): Do not mention evaporate option in doc string. |
d1fab151 KS |
9910 | Add commentary explaining evaporate arg (for internal use only). |
9911 | (unwind_set_match_data): Add comment on evaporate use. | |
9912 | ||
53abc3bf MB |
9913 | 2005-06-22 Miles Bader <miles@gnu.org> |
9914 | ||
a4429c5b | 9915 | * xfaces.c (Qvertical_border): Rename from `Qvertical_divider'. |
53abc3bf MB |
9916 | (realize_basic_faces, syms_of_xfaces): Update references to it. |
9917 | * dispextern.h (enum face_id): Rename `VERTICAL_DIVIDER_FACE_ID' | |
9918 | to `VERTICAL_BORDER_FACE_ID'. | |
9919 | * dispnew.c (build_frame_matrix_from_leaf_window): Update references. | |
9920 | ||
36a3b076 JL |
9921 | 2005-06-21 Juri Linkov <juri@jurta.org> |
9922 | ||
9923 | * dispextern.h: Add extern Qframe_set_background_mode. | |
9924 | ||
9925 | * xfaces.c: Rename obsolete function Qframe_update_face_colors to | |
9926 | Qframe_set_background_mode. | |
9927 | ||
9928 | * frame.c (Fmodify_frame_parameters): | |
9929 | Call frame-set-background-mode after changing the background color | |
9930 | on non-window non-dos branch. | |
9931 | ||
23873c96 JB |
9932 | 2005-06-21 Juanma Barranquero <lekktu@gmail.com> |
9933 | ||
9934 | * fns.c (Fchar_table_range): | |
9935 | * process.c (Fmake_network_process): Fix spellings. | |
9936 | ||
b7d1f38f KS |
9937 | 2005-06-20 Kim F. Storm <storm@cua.dk> |
9938 | ||
9939 | * fns.c (Fsort): Doc fix. | |
9940 | ||
b4e49aee MB |
9941 | 2005-06-20 Miles Bader <miles@gnu.org> |
9942 | ||
9943 | * xfaces.c (Qvertical_divider): New variable. | |
9944 | (realize_basic_faces): Realize its face. | |
9945 | (syms_of_xfaces): Initialize it. | |
9946 | ||
9947 | * dispextern.h (enum face_id): Add `VERTICAL_DIVIDER_FACE_ID'. | |
9948 | ||
9949 | * dispnew.c (build_frame_matrix_from_leaf_window): Display vertical | |
9950 | window-separator on ttys using `vertical-divider' face by default. | |
9951 | ||
b7da00ba RS |
9952 | 2005-06-17 Richard M. Stallman <rms@gnu.org> |
9953 | ||
a4429c5b SM |
9954 | * xdisp.c (get_next_display_element): |
9955 | Reverse test of Vshow_nonbreak_escape. | |
b7da00ba RS |
9956 | |
9957 | * term.c (produce_special_glyphs): Use spec_glyph_lookup_face. | |
f19b57e3 RS |
9958 | (Ftty_no_underline): New function. |
9959 | (syms_of_term): defsubr it. | |
b7d1f38f | 9960 | |
b7da00ba RS |
9961 | * keyboard.c (read_char): Call restore_getcjmp after jump occurs. |
9962 | ||
9963 | * dispnew.c (spec_glyph_lookup_face): New function. | |
9964 | (build_frame_matrix_from_leaf_window): Use it. | |
9965 | ||
9966 | * dispextern.h (spec_glyph_lookup_face): Add declaration. | |
9967 | ||
9968 | * buffer.c (syms_of_buffer) <cursor-type>: Doc fix. | |
9969 | ||
9970 | 2005-06-12 Richard M. Stallman <rms@gnu.org> | |
9971 | ||
9972 | * keyboard.c (read_char): After catching a longjmp, | |
9973 | call restore_getcjmp. | |
9974 | ||
289824a3 JB |
9975 | 2005-06-17 Juanma Barranquero <lekktu@gmail.com> |
9976 | ||
9977 | * xselect.c (lisp_data_to_selection_data): Fix spelling. | |
9978 | ||
95085023 YM |
9979 | 2005-06-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
9980 | ||
9981 | * macterm.c (mac_compute_glyph_string_overhangs): Don't set | |
9982 | overhangs unless the given glyph type is noncomposite CHAR_GLYPH. | |
9983 | [USE_CARBON_EVENTS] (mac_convert_event_ref): Convert dead key down | |
9984 | events. | |
9985 | (XTread_socket): Don't pass keyboard events with the option | |
9986 | modifier to the system when Vmac_command_key_is_meta is nil or | |
9987 | Vmac_option_modifier is non-nil. | |
9988 | [USE_CARBON_EVENTS] (read_socket_inev): New variable. | |
9989 | [USE_CARBON_EVENTS] (init_command_handler): Fix argument. | |
9990 | [USE_CARBON_EVENTS] (mac_handle_mouse_event): New Carbon event | |
9991 | handler function. | |
9992 | (install_window_handler) [USE_CARBON_EVENTS]: Install it. | |
9993 | (XTread_socket) [USE_CARBON_EVENTS]: Move mouse wheel event | |
9994 | handler part to mac_handle_mouse_event. | |
9995 | ||
4a9308b8 JB |
9996 | 2005-06-14 Juanma Barranquero <lekktu@gmail.com> |
9997 | ||
9998 | * eval.c (Fdefvaralias): Rename arguments SYMBOL and ALIASED to | |
9999 | NEW-ALIAS and BASE-VARIABLE, respectively. | |
10000 | ||
5aa6db57 SM |
10001 | 2005-06-13 Stefan Monnier <monnier@iro.umontreal.ca> |
10002 | ||
10003 | * xdisp.c (note_mode_line_or_margin_highlight): Lisp_Object/int mixup. | |
10004 | (get_phys_cursor_geometry, format_mode_line_unwind_data) | |
10005 | (get_line_height_property, x_produce_glyphs): Remove unused vars. | |
10006 | ||
10007 | * coding.c (run_pre_post_conversion_on_str): Remove unused var `buf'. | |
10008 | ||
0e0dddda EZ |
10009 | 2005-06-13 Eli Zaretskii <eliz@gnu.org> |
10010 | ||
10011 | * w32term.c (x_use_underline_position_properties): New variable. | |
10012 | (x_draw_glyph_string): Remind in a comment to change doc string of | |
10013 | x-use-underline-position-properties if/when underline positioning | |
10014 | is implemented. | |
10015 | (syms_of_w32term): DEFVAR_BOOL x-use-underline-position-properties, | |
10016 | and initialize it to nil. | |
10017 | ||
7f2b4738 JR |
10018 | 2005-06-12 Jason Rumney <jasonr@gnu.org> |
10019 | ||
10020 | * w32fns.c (NEWOPENFILENAME): New struct. | |
10021 | (Fx_file_dialog): Use it to trick the system into giving us up to | |
10022 | date dialogs on systems that are documented to support it. | |
10023 | Do not set OFN_FILEMUSTEXIST flag if looking for a directory. | |
10024 | ||
a1e8cad6 EZ |
10025 | 2005-06-12 Eli Zaretskii <eliz@gnu.org> |
10026 | ||
10027 | * w32fns.c (w32_abort): Use the MB_YESNO dialog instead of | |
10028 | MB_ABORTRETRYIGNORE. Never return, even if DebugBreak does. | |
10029 | ||
099a3eea EZ |
10030 | 2005-06-11 Eli Zaretskii <eliz@gnu.org> |
10031 | ||
2e09fef1 EZ |
10032 | * image.c (x_create_x_image_and_pixmap) [HAVE_NTGUI]: Cast 4th arg |
10033 | to CreateDIBSection to avoid a compiler warning. | |
10034 | (pbm_load): Cast 3rd arg to IMAGE_BACKGROUND to avoid a compiler | |
10035 | warning. | |
10036 | (png_load): Cast return values of fn_png_create_read_struct and | |
10037 | fn_png_create_info_struct, to avoid compiler warnings on W32. | |
10038 | Cast 3rd arg to IMAGE_BACKGROUND and image_background_transparent | |
10039 | to avoid compiler warnings. | |
10040 | (jpeg_load): Cast return value of fn_jpeg_std_error to avoid a | |
10041 | compiler warning on W32. Cast 3rd arg to IMAGE_BACKGROUND to | |
10042 | avoid a compiler warning. | |
10043 | (tiff_load): Cast return values of fn_TIFFOpen and | |
10044 | fn_TIFFClientOpen to avoid compiler warning on W32. Cast 3rd arg | |
10045 | to IMAGE_BACKGROUND to avoid a compiler warning. | |
10046 | (gif_load): Cast return values of fn_DGifOpenFileName and | |
10047 | fn_DGifOpen to avoid compiler warnings on W32. Cast 3rd arg to | |
10048 | IMAGE_BACKGROUND to avoid a compiler warning. | |
10049 | (DrawText) [HAVE_NTGUI || MAC_OS]: If already defined, undef | |
10050 | before redefining. | |
10051 | ||
099a3eea EZ |
10052 | * w32bdf.c (create_offscreen_bitmap): Cast `bitsp' to `void **' in |
10053 | the call to CreateDIBSection, to avoid a compiler warning. | |
10054 | ||
d11f8e1a JR |
10055 | 2005-06-11 Jason Rumney <jasonr@gnu.org> |
10056 | ||
10057 | * w32fns.c (Fx_file_dialog): Unblock input before falling back to | |
10058 | minibuffer. | |
10059 | * macfns.c (Fx_file_dialog): Likewise. | |
10060 | ||
cd4344a3 EZ |
10061 | 2005-06-10 Eli Zaretskii <eliz@gnu.org> |
10062 | ||
10063 | * makefile.w32-in ($(TEMACS)): Depend on addsection.exe. | |
10064 | ||
578c1340 JB |
10065 | 2005-06-10 Juanma Barranquero <lekktu@gmail.com> |
10066 | ||
10067 | * process.c (syms_of_process) [ADAPTIVE_READ_BUFFERING]: | |
10068 | * w32fns.c (syms_of_w32fns): Fix spellings. | |
10069 | ||
4162f25f EZ |
10070 | 2005-06-10 Eli Zaretskii <eliz@gnu.org> |
10071 | ||
10072 | * unexw32.c (COPY_CHUNK, COPY_PROC_CHUNK): Add a new argument | |
5aa6db57 SM |
10073 | `verbose'; print diagnostic messages only if it is non-zero. |
10074 | All callers changed to pass a zero value unless DEBUG_DUMP is defined | |
4162f25f EZ |
10075 | in the environment. |
10076 | (copy_executable_and_dump_data): Print section names with %.8s. | |
10077 | ||
121c59a3 MY |
10078 | 2005-06-10 Masatake YAMATO <jet@gyve.org> |
10079 | ||
10080 | * xdisp.c (note_mode_line_or_margin_highlight): Call clear_mouse_face | |
10081 | when mouse_face is not given. | |
121c59a3 | 10082 | |
c869384d LT |
10083 | 2005-06-09 Luc Teirlinck <teirllm@auburn.edu> |
10084 | ||
10085 | * window.c (Fselect_window): Adapt call to Fselect_frame. | |
10086 | ||
10087 | * lisp.h: Update EXFUN of Fselect_frame. | |
10088 | ||
10089 | * keyboard.c (command_loop_1): Adapt call to Fselect_frame. | |
10090 | ||
6ecf436d LT |
10091 | * frame.c (Fhandle_switch_frame, Fselect_frame): Delete unused arg |
10092 | no_enter. | |
10093 | (Fset_mouse_position, Fset_mouse_pixel_position, Ficonify_frame): | |
c869384d LT |
10094 | Adapt to above change. |
10095 | ||
c14ec135 JB |
10096 | 2005-06-10 Juanma Barranquero <lekktu@gmail.com> |
10097 | ||
10098 | * fns.c (Fmemq, Fmaphash): Doc fixes. | |
10099 | ||
9fed2905 JB |
10100 | 2005-06-09 Juanma Barranquero <lekktu@gmail.com> |
10101 | ||
10102 | * xfaces.c (Fdisplay_supports_face_attributes_p): | |
10103 | Fix typo in docstring. | |
10104 | ||
427c5b1b ST |
10105 | 2005-06-08 Steven Tamm <steventamm@mac.com> |
10106 | ||
10107 | * unexmacosx.c (copy_data_segment): Copy __la_sym_ptr2 section | |
10108 | used by gcc4 on intel mac. | |
10109 | ||
b7aae902 KS |
10110 | 2005-06-09 Kim F. Storm <storm@cua.dk> |
10111 | ||
10112 | * search.c (Fmatch_data): Add optional RESEAT arg. Unchain markers | |
10113 | in REUSE list if non-nil; free them if equal to evaporate. | |
5e1a6e32 | 10114 | (Fset_match_data): Add optional RESEAT arg. Unchain markers in LIST |
b7aae902 KS |
10115 | if non-nil; free them if equal to evaporate. Use XCAR/XCDR. |
10116 | (restore_search_regs): Rename from restore_match_data. Uses changed. | |
10117 | (unwind_set_match_data): New function. | |
10118 | (record_unwind_save_match_data): New function like save-match-data. | |
10119 | ||
10120 | * lisp.h (Fmatch_data, Fset_match_data): Fix EXFUN. | |
10121 | (record_unwind_save_match_data): Add prototype. | |
10122 | (restore_search_regs): Rename from restore_match_data. | |
10123 | ||
10124 | * composite.c (compose_chars_in_text): | |
10125 | * eval.c (do_autoload): | |
10126 | * macmenu.c (set_frame_menubar): | |
10127 | * process.c (read_process_output, exec_sentinel): | |
10128 | * xmenu.c (set_frame_menubar): | |
10129 | * xdisp.c (prepare_menu_bars, update_menu_bar, update_tool_bar): | |
10130 | * w32menu.c (set_frame_menubar): | |
10131 | Use record_unwind_save_match_data. | |
10132 | ||
547d2b37 RS |
10133 | 2005-06-08 Richard M. Stallman <rms@gnu.org> |
10134 | ||
10135 | * xdisp.c (get_next_display_element): Alter previous change: | |
10136 | Distinguish Vshow_nonbreak_escape = t or not t. | |
10137 | For t, use escape_glyph once again, as before previous change. | |
10138 | Use space or hyphen for display, instead of the non-ASCII char. | |
10139 | (syms_of_xdisp) <show-nonbreak-escape>: Doc fix. | |
10140 | ||
10141 | * process.c (Fstart_process): Don't touch command_channel_p slot. | |
10142 | ||
99598737 | 10143 | * process.h (struct process): Delete command_channel_p. |
547d2b37 | 10144 | |
602907ae MY |
10145 | 2005-06-07 Masatake YAMATO <jet@gyve.org> |
10146 | ||
5aa6db57 SM |
10147 | * xdisp.c (note_mode_line_or_margin_highlight): |
10148 | Check the overlapping of re-rendering area to avoid flickering. | |
b7aae902 | 10149 | (note_mouse_highlight): Call clear_mouse_face if PART |
602907ae MY |
10150 | is not ON_MODE_LINE nor ON_HEADER_LINE. |
10151 | ||
8b793bed KS |
10152 | 2005-06-07 Kim F. Storm <storm@cua.dk> |
10153 | ||
10154 | * process.c: Improve commentary for adaptive read buffering. | |
10155 | ||
3d031334 SM |
10156 | 2005-06-06 Stefan Monnier <monnier@iro.umontreal.ca> |
10157 | ||
10158 | * xterm.c (x_create_toolkit_scroll_bar): Use XtNarrowScrollbars | |
10159 | if available. | |
10160 | ||
16d2e704 JD |
10161 | 2005-06-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10162 | ||
5aa6db57 SM |
10163 | * macmenu.c (menu_quit_handler, install_menu_quit_handler): |
10164 | New functions for popping down menus on C-g. | |
16d2e704 JD |
10165 | (set_frame_menubar, mac_menu_show): Call install_menu_quit_handler. |
10166 | ||
10167 | * macterm.c: Make mac_quit_char_modifiers and mac_quit_char_keycode | |
10168 | non-static. | |
10169 | ||
9fed2905 | 10170 | * config.in: Add HAVE_CANCELMENUTRACKING. |
16d2e704 | 10171 | |
b6cc2ad0 EZ |
10172 | 2005-06-06 Eli Zaretskii <eliz@gnu.org> |
10173 | ||
9a1505e9 | 10174 | * w32heap.h (OFFSET_TO_RVA, RVA_TO_OFFSET, RVA_TO_PTR): Remove macros. |
b6cc2ad0 | 10175 | |
5aa6db57 | 10176 | * unexw32.c (RVA_TO_PTR): Move here from w32heap.h. |
b6cc2ad0 EZ |
10177 | |
10178 | * w32proc.c (RVA_TO_PTR): New macro. | |
10179 | ||
10180 | * w32heap.c (RVA_TO_PTR): No need to #undef now. | |
10181 | ||
10182 | * makefile.w32-in ($(BLD)/emacs.$(O), $(BLD)/w32select.$(O)): | |
10183 | Depend on w32heap.h. | |
10184 | ||
24e55feb LT |
10185 | 2005-06-06 Luc Teirlinck <teirllm@auburn.edu> |
10186 | ||
10187 | * keyboard.c (command_loop_1): Update Vthis_original_command. | |
10188 | ||
ce6e10af RS |
10189 | 2005-06-06 Richard M. Stallman <rms@gnu.org> |
10190 | ||
10191 | * xmenu.c (popup_get_selection): Undo previous change. | |
10192 | ||
c476bcb0 JL |
10193 | 2005-06-06 Juri Linkov <juri@jurta.org> |
10194 | ||
10195 | * xdisp.c (Qno_break_space): New variable. | |
10196 | (syms_of_xdisp): Initialize it. | |
10197 | (get_next_display_element): Add no-break space and soft hypen | |
10198 | codes for iso8859-2 and iso8859-5. Don't add `\' for them. | |
10199 | Use `no-break-space' face for no-break spaces. | |
10200 | ||
5494d7bc JD |
10201 | 2005-06-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10202 | ||
10203 | * window.c (delete_window): Handle the case where a h/vchild has | |
10204 | a h/vchild. | |
10205 | ||
a0c38328 EZ |
10206 | 2005-06-05 Eli Zaretskii <eliz@gnu.org> |
10207 | ||
10208 | * w32.c (sys_setsockopt): Change arg 4 to `const void *'. In the | |
10209 | call to pfn_setsockopt, cast optval to `const char *'. | |
10210 | ||
91018229 EZ |
10211 | 2005-06-04 Eli Zaretskii <eliz@gnu.org> |
10212 | ||
1a8fb426 EZ |
10213 | * w32.c (gettimeofday): Use struct _timeb, not struct timeb. |
10214 | (open_unc_volume): Cast return value of map_w32_filename, to avoid | |
10215 | compiler warnings. | |
10216 | ||
b6f0a397 EZ |
10217 | * s/ms-w32.h (fileno): Don't define if already defined. |
10218 | ||
17a7c5c2 | 10219 | * emacs.c: Include w32heap.h, to avoid compiler warning about sbrk. |
d01a9710 | 10220 | |
91018229 EZ |
10221 | * makefile.w32-in (DOC): Define to point to the generated DOC-X. |
10222 | ||
196ac78c RS |
10223 | 2005-06-04 Richard M. Stallman <rms@gnu.org> |
10224 | ||
10225 | * xmenu.c (popup_get_selection): Click not in menu deactivates menu. | |
10226 | ||
b8987570 JD |
10227 | 2005-06-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10228 | ||
10229 | * macmenu.c (cleanup_popup_menu): New function. | |
2d4713aa | 10230 | (Fx_popup_menu): Unwind protect cleanup_popup_menu in case |
b8987570 JD |
10231 | mac_menu_show Quit:s. |
10232 | (mac_menu_show): Quit on cancel if not popped up on click (i.e. | |
10233 | a dialog). | |
10234 | ||
555228aa KS |
10235 | 2005-06-04 Kim F. Storm <storm@cua.dk> |
10236 | ||
10237 | * coding.c (decode_coding_string): Handle CODING_FINISH_INTERRUPT. | |
10238 | ||
10239 | * callproc.c (Fcall_process): Don't use alloca to gradually | |
10240 | increase size of buf, as it effectively uses twice the necessary | |
10241 | space on the stack. Instead, pre-allocate buf of full size, and | |
10242 | gradually increase the read size. | |
10243 | ||
10244 | * bytecode.c (BYTE_CODE_QUIT): Check Vthrow_on_input. | |
10245 | ||
10246 | * eval.c (unbind_to): Preserve value of Vquit_flag. | |
10247 | ||
10248 | * xterm.c (handle_one_xevent): Also ignore mouse motion just | |
10249 | before a button release event. | |
10250 | ||
6312e5f7 JB |
10251 | 2005-06-03 Juanma Barranquero <lekktu@gmail.com> |
10252 | ||
10253 | * xfaces.c (Finternal_lisp_face_equal_p): Really report | |
10254 | on faces in a frame, if the argument FRAME is non-nil. | |
10255 | Improve argument/docstring consistency. | |
10256 | ||
0493f7be KS |
10257 | 2005-06-02 Kim F. Storm <storm@cua.dk> |
10258 | ||
10259 | * xdisp.c (MODE_LINE_NOPROP_LEN): New macro. | |
10260 | (x_consider_frame_title, Fformat_mode_line): Save offset into | |
10261 | mode_line_noprop_buf rather than pointer, in case buffer is relocated. | |
10262 | ||
89fe657e KS |
10263 | 2005-06-01 Kim F. Storm <storm@cua.dk> |
10264 | ||
10265 | * fns.c (mapcar1): Maybe exit loop if original sequence was modified. | |
10266 | ||
02a6375c YM |
10267 | 2005-06-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10268 | ||
10269 | * macterm.c (mac_to_x_fontname, mac_do_list_fonts): Set XLFD | |
10270 | resolution fields for scalable fonts to 0. | |
10271 | ||
10272 | * xfaces.c (build_scalable_font_name): Round pixel size to the | |
10273 | nearest integer. | |
10274 | ||
95d4fad8 KS |
10275 | 2005-06-01 Kim F. Storm <storm@cua.dk> |
10276 | ||
10277 | * xdisp.c (display_mode_line): Support nested calls to redisplay | |
10278 | and format-mode-line. Set mode_line_target to MODE_LINE_DISPLAY. | |
10279 | ||
3c1b433a SM |
10280 | 2005-05-31 Stefan Monnier <monnier@iro.umontreal.ca> |
10281 | ||
10282 | * fileio.c (Finsert_file_contents): | |
10283 | * xdisp.c (note_mode_line_or_margin_highlight): Lisp_Object/int mixup. | |
10284 | ||
13cc7d61 KS |
10285 | 2005-05-31 Kim F. Storm <storm@cua.dk> |
10286 | ||
10287 | * xdisp.c (mode_line_noprop_buf, mode_line_noprop_buf_end) | |
10288 | (mode_line_noprop_ptr): Rename from frame_title_*. | |
10289 | (store_mode_line_noprop_char): Rename from store_frame_title_char. | |
10290 | (store_mode_line_noprop): Rename from store_frame_title. | |
3c1b433a | 10291 | (mode_line_target): New enum to specify current output target |
13cc7d61 KS |
10292 | for mode line formatting. |
10293 | (display_mode_element): Test it rather than frame_title_ptr and | |
10294 | mode_line_string_list to determine where output should go. | |
10295 | (mode_line_proptrans_alist, mode_line_string_alist): Make static. | |
10296 | (Vmode_line_unwind_vector): New variable. | |
3c1b433a SM |
10297 | (format_mode_line_unwind_data, unwind_format_mode_line): |
10298 | New functions for unwind protection in mode line formatting. | |
13cc7d61 | 10299 | (x_consider_frame_title): Use them and new local var 'title_start' |
5aa6db57 SM |
10300 | to support nested calls to format-mode-line and redisplay. |
10301 | Set mode_line_target to MODE_LINE_TITLE. | |
13cc7d61 | 10302 | (Fformat_mode_line): Use them and new local var 'string_start' to |
5aa6db57 SM |
10303 | support nested calls to format-mode-line and redisplay. |
10304 | Set mode_line_target to MODE_LINE_NOPROP or MODE_LINE_STRING. | |
95d4fad8 | 10305 | Don't trim trailing dashes. |
13cc7d61 KS |
10306 | (decode_mode_spec): Don't make infinite number of trailing dashes |
10307 | for MODE_LINE_NOPROP and MODE_LINE_STRING targets. | |
10308 | (syms_of_xdisp): Initialize and staticpro mode_line_string_face, | |
10309 | mode_line_string_face_prop, and Vmode_line_unwind_vector. | |
10310 | (init_xdisp): Initialize mode_line_noprop_ptr to start of _buf. | |
10311 | Initialize mode_line_target to MODE_LINE_DISPLAY. | |
10312 | ||
c16b1394 RS |
10313 | 2005-05-29 Richard M. Stallman <rms@gnu.org> |
10314 | ||
10315 | * buffer.c (Fbuffer_local_value): Call indirect_variable. | |
10316 | ||
edfaeb4e MY |
10317 | 2005-05-28 Masatake YAMATO <jet@gyve.org> |
10318 | ||
10319 | * xdisp.c (note_mode_line_or_margin_highlight): Change the | |
10320 | pointer to a hand cursor when hoovering over a mouse-face. | |
10321 | ||
7cf49add KH |
10322 | 2005-05-27 Kenichi Handa <handa@m17n.org> |
10323 | ||
10324 | * xterm.c (x_encode_char): Call check_ccl_update in advance. | |
10325 | ||
10326 | * ccl.c: Now an element of Vccl_program_table is a vector of | |
10327 | length 4, not 3. | |
3c1b433a SM |
10328 | (ccl_get_compiled_code): New arg idx. Caller changed. |
10329 | Adjust for the change of Vccl_program_table. | |
10330 | (setup_ccl_program): Adjust for the change of Vccl_program_table. | |
7cf49add KH |
10331 | (check_ccl_update): New function. |
10332 | (Fregister_ccl_program): Use ASET to set an element of a vector. | |
10333 | Adjusted for the change of Vccl_program_table. | |
10334 | ||
10335 | * ccl.h (struct ccl_program): New member idx. | |
10336 | (check_ccl_update): Extern it. | |
10337 | ||
5e2ad10b JB |
10338 | 2005-05-27 Juanma Barranquero <lekktu@gmail.com> |
10339 | ||
3c1b433a | 10340 | * image.c (Vimage_library_alist): Move from image.el. |
d5e1a786 JB |
10341 | (syms_of_image): Defvar it. |
10342 | (lookup_image_type): Use it. | |
10343 | ||
5e2ad10b JB |
10344 | * buffer.c (Fbuffer_local_value): Make argument name match its use |
10345 | in docstring. | |
10346 | ||
6e604a9b JB |
10347 | 2005-05-26 Juanma Barranquero <lekktu@gmail.com> |
10348 | ||
10349 | * keyboard.c (Frecursive_edit): Fix typo in docstring. | |
10350 | (Fposn_at_x_y): Make argument name match its use in docstring. | |
10351 | ||
59244a3f LK |
10352 | 2005-05-26 Lute Kamstra <lute@gnu.org> |
10353 | ||
10354 | * eval.c (Frun_hooks): Mention run-mode-hooks in docstring. | |
10355 | ||
55ce5058 MY |
10356 | 2005-05-24 Masatake YAMATO <jet@gyve.org> |
10357 | ||
10358 | * xdisp.c (note_mode_line_or_margin_highlight): Use b and e | |
10359 | as loop sentinels. | |
10360 | ||
cb5db137 NR |
10361 | 2005-05-24 Nick Roberts <nickrob@snap.net.nz> |
10362 | ||
10363 | * xmenu.c (Fx_popup_dialog): Add a third boolean argument to | |
10364 | select frame title ("Question"/"Information"). | |
10365 | (xdialog_show): Use it. | |
10366 | ||
13dcfc35 NR |
10367 | * macmenu.c (Fx_popup_dialog, mac_dialog_show): As for xmenu.c. |
10368 | ||
10369 | * w32menu.c (Fx_popup_dialog, w32_dialog_show): As for xmenu.c. | |
10370 | ||
d3393daa NR |
10371 | * fns.c (Fyes_or_no_p, Fy_or_n_p): Call Fx_popup_dialog with |
10372 | a third argument (Qnil). | |
10373 | ||
10374 | * lisp.h: x-popup-dialog can have three arguments. | |
cb5db137 NR |
10375 | |
10376 | * editfns.c (Fmessage_box): Use "Information" for frame title. | |
10377 | ||
71d4fba1 TTN |
10378 | 2005-05-23 Thien-Thi Nguyen <ttn@gnu.org> |
10379 | ||
10380 | * termcap.c [VMS]: Include <starlet.h>. | |
10381 | ||
359e4563 MY |
10382 | 2005-05-23 Masatake YAMATO <jet@gyve.org> |
10383 | ||
6e604a9b JB |
10384 | * xdisp.c (note_mode_line_or_margin_highlight): Add code |
10385 | for mouse-face. Change the type of the first argument from `window' | |
10386 | to `Lisp_Object'. | |
359e4563 MY |
10387 | (note_mouse_highlight): Call note_mode_line_or_margin_highlight with |
10388 | window instead of w. | |
10389 | ||
edceb51c AS |
10390 | 2005-05-22 Andreas Schwab <schwab@suse.de> |
10391 | ||
41c4895c | 10392 | * process.c (send_process): Move misplaced volatile. |
edceb51c | 10393 | |
5c213fcc RS |
10394 | 2005-05-21 Richard M. Stallman <rms@gnu.org> |
10395 | ||
10396 | * xdisp.c (display_mode_element): If we're processing a list and | |
10397 | padding is specified, put it after the last element. | |
10398 | ||
aa4060b9 EZ |
10399 | 2005-05-21 Eli Zaretskii <eliz@gnu.org> |
10400 | ||
10401 | * fileio.c (Fexpand_file_name) [DOS_NT]: Don't try to support | |
10402 | "superroot" on DOS_NT systems. | |
10403 | ||
a2c9aee6 EZ |
10404 | 2005-05-21 David Hunter <hunterd42@comcast.net> (tiny change) |
10405 | ||
10406 | * process.c (send_process): Restore the SIGPIPE handler if we | |
10407 | catch a SIGPIPE. | |
10408 | ||
09e8eb5b JB |
10409 | 2005-05-20 Juanma Barranquero <lekktu@gmail.com> |
10410 | ||
10411 | * image.c (lookup_image, png_read_from_memory): Remove hacks (and | |
10412 | misleading comments). | |
10413 | (DEF_IMGLIB_FN): Use C calling convention for image libraries. | |
10414 | ||
f3fbdb1f LK |
10415 | 2005-05-20 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
10416 | ||
10417 | * window.c (Fwindow_inside_edges, Fwindow_inside_pixel_edges): | |
10418 | Correct the right value. | |
10419 | ||
639ec765 NR |
10420 | 2005-05-19 Nick Roberts <nickrob@snap.net.nz> |
10421 | ||
240d926e | 10422 | * keyboard.c (syms_of_keyboard): Remove Lisp variables |
639ec765 NR |
10423 | post-command-idle-hook and post-command-idle-delay. |
10424 | (command_loop_1): Don't try to execute post-command-idle-hook. | |
10425 | ||
03d42907 KS |
10426 | 2005-05-16 Kim F. Storm <storm@cua.dk> |
10427 | ||
1cb83e13 KS |
10428 | * xdisp.c (handle_display_prop): Handle empty replacement. |
10429 | (handle_single_display_spec): Return -1 for empty replacement. | |
10430 | ||
10431 | * keyboard.c (adjust_point_for_property): Skip empty overlay string. | |
10432 | ||
03d42907 KS |
10433 | * .gdbinit (pitx): Print more info about iterator. |
10434 | ||
0da46b6e AS |
10435 | 2005-05-16 Andreas Schwab <schwab@suse.de> |
10436 | ||
3c1b433a | 10437 | * unexmacosx.c (unexec_realloc): Move declarations before statements. |
0da46b6e | 10438 | |
d06ba294 RS |
10439 | 2005-05-14 Richard M. Stallman <rms@gnu.org> |
10440 | ||
10441 | * xdisp.c (message3): Call cancel_echoing. | |
10442 | ||
10443 | * alloc.c (Fmemory_full_p): New function. | |
10444 | (syms_of_alloc): defsubr it. | |
10445 | ||
10446 | * process.c (send_process_trap): Unblock SIGPIPE. | |
10447 | (send_process): Reset SIGPIPE handler before reporting error. | |
10448 | ||
90713743 NR |
10449 | 2005-05-14 Nick Roberts <nickrob@snap.net.nz> |
10450 | ||
10451 | * emacs.c (syms_of_emacs): Fix doc string for system-type. | |
10452 | ||
68780e2a RS |
10453 | 2005-05-13 Richard M. Stallman <rms@gnu.org> |
10454 | ||
10455 | * fileio.c (Ffind_file_name_handler): Handle lambda-exp as handler. | |
10456 | (Finsert_file_contents): If we read 0 bytes from a special file, | |
10457 | unlock the visited file if we locked it. | |
10458 | (Fmake_symbolic_link, Frecent_auto_save_p): Doc fixes. | |
03d42907 | 10459 | (Ffile_exists_p, Ffile_symlink_p): Doc fixes. |
68780e2a | 10460 | |
5063dbbf YM |
10461 | 2005-05-13 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10462 | ||
10463 | * emacs.c (main) [MAC_OS8]: Call init_atimer before mac_term_init. | |
10464 | ||
3c1b433a SM |
10465 | * keyboard.c (readable_events) [USE_TOOLKIT_SCROLL_BARS]: |
10466 | Regard toolkit scroll bar thumb drag events as squeezable and prevent | |
5063dbbf YM |
10467 | redisplay from being paused by them. |
10468 | ||
10469 | * mac.c [!MAC_OSX]: Include keyboard.h and syssignal.h. | |
10470 | [!MAC_OSX] (target_ticks): Remove variable. | |
10471 | [!MAC_OSX] (check_alarm, pause, index): Remove functions. | |
10472 | [!MAC_OSX && __MRC__] (sys_strftime): Likewise. | |
10473 | [!MAC_OSX] (select): If fd 0 is not set in rfds and some input | |
3c1b433a | 10474 | event occurs before timeout, behave as if the function were interrupted. |
5063dbbf YM |
10475 | [!MAC_OSX] (sigblock, sigsetmask, alarm): Simulate SIGALRM |
10476 | handling using Time Manager routines. | |
3c1b433a SM |
10477 | [!MAC_OSX] (mac_atimer_task, mac_atimer_qlink, signal_mask): |
10478 | New variables. | |
5063dbbf YM |
10479 | [!MAC_OSX] (mac_atimer_handler, set_mac_atimer, remove_mac_atimer) |
10480 | (setitimer): New functions. | |
10481 | ||
10482 | * macfns.c, macmenu.c: Don't include signal.h. | |
10483 | ||
10484 | * macterm.c [USE_TOOLKIT_SCROLL_BARS] (get_control_part_bounds): | |
10485 | Rename from get_control_part_bound. All callers changed. | |
10486 | (x_scroll_bar_clear): New function. | |
10487 | (x_clear_frame): Use it. | |
10488 | (XTset_vertical_scroll_bar): Don't call Draw1Control. | |
10489 | (x_scroll_bar_handle_click): Change type of second argument from | |
10490 | int to ControlPartCode. | |
10491 | (check_alarm): Remove declaration. | |
02a6375c YM |
10492 | (XTread_socket) [!TARGET_API_MAC_CARBON]: Don't call it. |
10493 | (XTread_socket): Use ControlPartCode instead of SInt16. | |
5063dbbf YM |
10494 | |
10495 | 2005-05-13 Nozomu Ando <nand@mac.com> | |
10496 | ||
10497 | * unexmacosx.c: Include assert.h. | |
10498 | (MACOSX_MALLOC_MULT16): New define. | |
10499 | [MACOSX_MALLOC_MULT16] (ptr_in_unexec_regions): Determine whether | |
10500 | ptr is in unexec regions by checking it is multiple of 16. | |
10501 | (unexec_malloc_header_t): New typedef. | |
10502 | (unexec_malloc, unexec_realloc, unexec_free): Store and use | |
10503 | allocated size information in unexec_malloc_header. | |
10504 | ||
d101bf56 RS |
10505 | 2005-05-10 Richard M. Stallman <rms@gnu.org> |
10506 | ||
10507 | * xterm.c (noinclude): Add #undef. | |
10508 | ||
10509 | * image.c, xfns.c, xmenu.c: Don't include signal.h. | |
10510 | ||
2f60660a JB |
10511 | 2005-05-09 Juanma Barranquero <lekktu@gmail.com> |
10512 | ||
f1701e65 JB |
10513 | * fileio.c (Fexpand_file_name, Frename_file, Fadd_name_to_file) |
10514 | (Fmake_symbolic_link, Faccess_file, Frecent_auto_save_p): | |
10515 | Doc fixes. | |
10516 | ||
2f60660a JB |
10517 | * dired.c (Ffile_name_completion): Make argument name |
10518 | match its use in docstring. | |
10519 | ||
9f29e806 LT |
10520 | 2005-05-08 Luc Teirlinck <teirllm@auburn.edu> |
10521 | ||
10522 | * eval.c (Fdefvaralias): Remove any pre-existing | |
10523 | variable-documentation property of the alias. | |
10524 | ||
a790bcd4 TTN |
10525 | 2005-05-07 Thien-Thi Nguyen <ttn@gnu.org> |
10526 | ||
10527 | * xfns.c (start_hourglass): Do nothing when running on a tty. | |
10528 | ||
d5fb8dab JB |
10529 | 2005-05-07 Juanma Barranquero <lekktu@gmail.com> |
10530 | ||
10531 | * fns.c (Fchar_table_range): Fix typos in docstring. | |
10532 | ||
7ec64183 SM |
10533 | 2005-05-06 Stefan Monnier <monnier@iro.umontreal.ca> |
10534 | ||
10535 | * fns.c (Fchar_table_range): Yet Another Int/Lisp_Object Mixup. | |
10536 | ||
6ff95f1d EZ |
10537 | 2005-05-06 Eli Zaretskii <eliz@gnu.org> |
10538 | ||
2c6b25c7 EZ |
10539 | * lread.c (Flocate_file_internal): Doc fix. |
10540 | ||
6ff95f1d EZ |
10541 | * Makefile.in (lisp, shortlisp): Add jka-cmpr-hook.elc. |
10542 | ||
17d28d26 YM |
10543 | 2005-05-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10544 | ||
10545 | * macselect.c (x_own_selection): Accept Lisp string as result of | |
10546 | selection converter function. | |
10547 | (x_clear_frame_selections): Don't call x-lost-selection-functions | |
10548 | if Emacs is not owner of the selection. | |
10549 | (Vmac_services_selection): Put variable and initialization in | |
10550 | #ifdef MAC_OSX. | |
10551 | (syms_of_macselect) [MAC_OSX]: Set default value of | |
10552 | Vmac_services_selection to PRIMARY. | |
10553 | ||
7ec64183 SM |
10554 | * macterm.c (toolkit_scroll_bar_interaction): Remove unused variable. |
10555 | (mac_handle_tool_bar_click): Remove unused function and declaration. | |
17d28d26 YM |
10556 | [USE_TOOLKIT_SCROLL_BARS] (scroll_bar_timer_callback) |
10557 | (install_scroll_bar_timer, set_scroll_bar_timer) | |
10558 | (control_part_code_to_scroll_bar_part, construct_scroll_bar_click) | |
10559 | (get_control_part_bound, x_scroll_bar_handle_press) | |
10560 | (x_scroll_bar_handle_release, x_scroll_bar_handle_drag) | |
10561 | (x_set_toolkit_scroll_bar_thumb): New functions and declarations. | |
10562 | [USE_TOOLKIT_SCROLL_BARS] (last_scroll_bar_part, scroll_bar_timer) | |
10563 | (scroll_bar_timer_event_posted_p): New variables. | |
10564 | [USE_TOOLKIT_SCROLL_BARS] (SCROLL_BAR_FIRST_DELAY) | |
10565 | (SCROLL_BAR_CONTINUOUS_DELAY): New macros. | |
10566 | (x_scroll_bar_create): Set control reference with NewControl. | |
7ec64183 SM |
10567 | (x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS]: |
10568 | Initialize track_top and track_height to nil. | |
10569 | (x_scroll_bar_set_handle, x_scroll_bar_note_movement): | |
10570 | Put functions in #ifndef USE_TOOLKIT_SCROLL_BARS. | |
17d28d26 YM |
10571 | (XTset_vertical_scroll_bar): Don't make space between scroll bar |
10572 | and associated window. | |
10573 | (XTset_vertical_scroll_bar) [MAC_OSX]: Get scroll bar area width | |
10574 | from window config. | |
7ec64183 SM |
10575 | (XTset_vertical_scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: |
10576 | Set track_top and track_height to nil when scroll bar size is changed. | |
17d28d26 YM |
10577 | Recalculate them if they are nil. |
10578 | (XTread_socket) [MAC_OSX]: Use control kind to determine if the | |
10579 | clicked control is a scroll bar. | |
10580 | (XTread_socket) [USE_TOOLKIT_SCROLL_BARS]: Use toolkit scroll bar | |
10581 | event handler functions. Don't add modifiers to scroll bar click | |
7ec64183 | 10582 | events. Call scroll bar release handler when window is deactivated. |
17d28d26 | 10583 | (mac_initialize): Remove unused code for X toolkit. |
7ec64183 SM |
10584 | (syms_of_macterm) [!USE_TOOLKIT_SCROLL_BARS]: |
10585 | Initialize Vx_toolkit_scroll_bars to nil. | |
17d28d26 | 10586 | |
7ec64183 SM |
10587 | * macterm.h (struct scroll_bar) [USE_TOOLKIT_SCROLL_BARS]: |
10588 | New members track_top and track_height. | |
17d28d26 YM |
10589 | |
10590 | * sysselect.h [DARWIN || MAC_OSX]: Temporarily undefine | |
10591 | init_process when including sys/select.h. | |
10592 | ||
643b4cf5 LT |
10593 | 2005-05-05 Luc Teirlinck <teirllm@auburn.edu> |
10594 | ||
10595 | * eval.c (Fdefvaralias): Doc fix. | |
10596 | ||
10597 | * xmenu.c (Fx_popup_menu, Fx_popup_dialog): Doc fixes. | |
10598 | ||
99bda128 KS |
10599 | 2005-05-05 Kim F. Storm <storm@cua.dk> |
10600 | ||
10601 | * buffer.c (init_buffer_once): Set cursor_in_non_selected_windows | |
10602 | default value. | |
10603 | (syms_of_buffer): Add default-cursor-in-non-selected-windows. | |
10604 | Fix type of cursor-in-non-selected-windows. | |
10605 | ||
3a3563e9 JD |
10606 | 2005-05-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
10607 | ||
10608 | * mac.c: #undef init_process so not to conflict with system headers. | |
10609 | ||
0124c5bd RS |
10610 | 2005-05-02 Richard M. Stallman <rms@gnu.org> |
10611 | ||
10612 | * buffer.c (syms_of_buffer): Define cursor-in-non-selected-windows. | |
10613 | ||
10614 | * buffer.h (struct buffer): Add cursor_in_non_selected_windows slot. | |
10615 | ||
10616 | * xdisp.c (Vcursor_in_non_selected_windows) | |
10617 | (Qcursor_in_non_selected_windows): Vars deleted. | |
10618 | (syms_of_xdisp): Don't initialize them. | |
10619 | (get_window_cursor_type): Use cursor_in_non_selected_windows | |
10620 | buffer slot. | |
10621 | ||
4b3f161f KS |
10622 | 2005-05-02 Kim F. Storm <storm@cua.dk> |
10623 | ||
e40527dc KS |
10624 | * macros.c (executing_kbd_macro_index): Rename from |
10625 | executing_macro_index. All uses changed. | |
10626 | (executing_kbd_macro_iterations): Rename from | |
10627 | executing_macro_iterations. All uses changed. | |
10628 | (executing_kbd_macro): Rename from executing_macro. | |
10629 | All uses changed. | |
10630 | (syms_of_macros): Rename Lisp var executing-macro-index to | |
10631 | executing-kbd-macro-index. | |
10632 | ||
4b3f161f KS |
10633 | * xdisp.c (move_it_in_display_line_to): Fix last change. |
10634 | ||
4d49edf6 LT |
10635 | 2005-05-01 Luc Teirlinck <teirllm@auburn.edu> |
10636 | ||
f6b1b15a LT |
10637 | * xmenu.c (Fx_popup_menu): Doc fix. |
10638 | ||
4d49edf6 LT |
10639 | * charset.c (syms_of_charset): Delete defsubr for Schars_in_region. |
10640 | ||
4a766fe6 JR |
10641 | 2005-05-02 Jason Rumney <jasonr@gnu.org> |
10642 | ||
10643 | * emacs.c (USAGE3, USAGE4): Keep strings below 2048 bytes. | |
10644 | ||
c924d3ff TTN |
10645 | 2005-05-02 Nozomu Ando <nand@mac.com> |
10646 | ||
10647 | * sysselect.h: Fix typo. | |
10648 | ||
b161ea4e | 10649 | 2005-05-02 Nick Roberts <nickrob@snap.net.nz> |
5c2e5a5e | 10650 | |
b161ea4e NR |
10651 | * charset.c (Fchars_in_region): Remove as obsolete. |
10652 | ||
d37e919d | 10653 | 2005-05-01 Kim F. Storm <storm@cua.dk> |
b161ea4e NR |
10654 | |
10655 | * xdisp.c (move_it_in_display_line_to): Stop if we move beyond | |
7ec64183 | 10656 | TO_CHARPOS. This may happen if last glyphs was an image or stretch |
b161ea4e | 10657 | glyph. |
5c2e5a5e | 10658 | |
bec0b768 LT |
10659 | 2005-05-01 Luc Teirlinck <teirllm@auburn.edu> |
10660 | ||
10661 | * dispnew.c (sit_for): Vexecuting_macro -> Vexecuting_kbd_macro. | |
10662 | ||
ebbfa918 RS |
10663 | 2005-05-01 Richard M. Stallman <rms@gnu.org> |
10664 | ||
10665 | * xmenu.c [not HAVE_X_TOOLKIT] (xmenu_show): | |
10666 | If user cancels the menu, quit unless FOR_CLICK. | |
10667 | ||
7ec64183 | 10668 | * macros.c (Vexecuting_kbd_macro): Rename from Vexecuting_macro. |
ebbfa918 RS |
10669 | All uses changed. |
10670 | (syms_of_macros): Define only executing-kbd-macro, not executing-macro. | |
10671 | * keyboard.c: Change Vexecuting_macro to Vexecuting_kbd_macro. | |
10672 | * macros.h (Vexecuting_kbd_macro): Declare instead of Vexecuting_macro. | |
10673 | * commands.h (Vexecuting_kbd_macro): Likewise. | |
10674 | ||
a72c2d97 TTN |
10675 | 2005-05-01 Thien-Thi Nguyen <ttn@gnu.org> |
10676 | ||
10677 | * sysdep.c (get_frame_size) [VMS]: Use a fresh i/o channel. | |
10678 | ||
7e995a23 RS |
10679 | 2005-04-30 Richard M. Stallman <rms@gnu.org> |
10680 | ||
10681 | * fileio.c (Ffind_file_name_handler): Handle the `operations' | |
10682 | property of the file name handler. | |
10683 | (Qoperations): New variable. | |
10684 | (syms_of_fileio): Initialize and staticpro it. | |
10685 | ||
10686 | * xdisp.c (set_message_1): Delete xassert. | |
10687 | ||
7a92caf8 YM |
10688 | 2005-04-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10689 | ||
7ec64183 | 10690 | * mac.c: Don't include time.h. Include sysselect.h after systime.h. |
7a92caf8 YM |
10691 | |
10692 | * macfns.c (Fx_server_version): Add BLOCK_INPUT around Gestalt. | |
10693 | ||
10694 | * macgui.h [HAVE_CARBON && MAC_OSX]: Don't undefine/define mktime | |
10695 | before/after including Carbon.h if there is a working mktime. | |
10696 | ||
5ae91803 KS |
10697 | 2005-04-28 Kim F. Storm <storm@cua.dk> |
10698 | ||
10699 | * xfaces.c (resolve_face_name): Add arg SIGNAL_P. Calls changed. | |
10700 | Fix cyclic alias check. If alias loop is detected, signal | |
10701 | circular-list error if SIGNAL_P, and return Qdefault if !SIGNAL_P. | |
10702 | ||
d79b6c21 LK |
10703 | 2005-04-28 Lute Kamstra <lute@gnu.org> |
10704 | ||
10705 | * eval.c (do_autoload): Record only autoloads in the autoload | |
10706 | property of symbols. | |
10707 | ||
8c75afbf NR |
10708 | 2005-04-28 Nick Roberts <nickrob@snap.net.nz> |
10709 | ||
10710 | * emacs.c (USAGE1): Add --basic-display and --quick options. | |
10711 | ||
832e294f KS |
10712 | 2005-04-27 Kim F. Storm <storm@cua.dk> |
10713 | ||
10714 | * data.c (syms_of_data) Staticpro Qcyclic_variable_indirection. | |
10715 | ||
f03f317a RS |
10716 | 2005-04-26 Richard M. Stallman <rms@gnu.org> |
10717 | ||
c019856e RS |
10718 | * window.c (Fsame_window_p, Fspecial_display_p): Doc fixes. |
10719 | (syms_of_window): Doc fixes. | |
10720 | ||
f03f317a RS |
10721 | * indent.c (Fvertical_motion): Undo previous change. |
10722 | ||
38f60cd9 KH |
10723 | 2005-04-26 Kenichi Handa <handa@m17n.org> |
10724 | ||
10725 | * fns.c (char_table_range): New function. | |
10726 | (Fchar_table_range): Signal an error if characters in the range | |
10727 | have inconsistent values. Don't check the parent. | |
10728 | ||
87ede5a1 KH |
10729 | 2005-04-25 Kenichi Handa <handa@m17n.org> |
10730 | ||
10731 | * fontset.c (fontset_set): Fix previous change. | |
10732 | ||
a6390474 RS |
10733 | 2005-04-24 Richard M. Stallman <rms@gnu.org> |
10734 | ||
10735 | * indent.c (Fvertical_motion): Bind fontification-functions to nil. | |
10736 | ||
7fce7dfe EZ |
10737 | 2005-04-24 Eli Zaretskii <eliz@gnu.org> |
10738 | ||
cf1982d9 EZ |
10739 | * regex.c (re_search_2, re_match_2_internal): Convert second arg |
10740 | of RE_TRANSLATE to int, to shut up GCC warnings. | |
10741 | ||
7fce7dfe EZ |
10742 | * fileio.c (Fcopy_file): Doc fix. |
10743 | [MSDOS]: Fix call to emacs_open: buffer_file_type not defined and | |
10744 | not needed. | |
10745 | ||
49ed33c7 YM |
10746 | 2005-04-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10747 | ||
10748 | * Makefile.in [HAVE_CARBON] (MAC_OBJ): Add macselect.o. | |
10749 | (SOME_MACHINE_OBJECTS): Likewise. | |
10750 | (mac.o): Depend on ccl.h. | |
10751 | (macselect.o): New target. | |
10752 | ||
7ec64183 SM |
10753 | * emacs.c (main) [MAC_OS8 || MAC_OSX && HAVE_CARBON]: |
10754 | Call syms_of_macselect. | |
49ed33c7 YM |
10755 | |
10756 | * frame.c (Fdelete_frame) [MAC_OS]: Call x_clear_frame_selections. | |
10757 | ||
7ec64183 | 10758 | * mac.c [!TARGET_API_MAC_CARBON]: Don't include charset.h or coding.h. |
49ed33c7 YM |
10759 | (QCLIPBOARD): Remove variable. |
10760 | (syms_of_mac): Don't initialize it. | |
10761 | (Fmac_paste_function, Fmac_cut_function, Fx_selection_exists_p): | |
10762 | Remove functions. | |
10763 | (syms_of_mac): Don't defsubr them. | |
10764 | [TARGET_API_MAC_CARBON] (Qmime_charset, QNFD, QNFKD, QNFC, QNFKC) | |
10765 | (QHFS_plus_D, QHFS_plus_C): New variables. | |
10766 | (syms_of_mac) [TARGET_API_MAC_CARBON]: Initialize them. | |
10767 | [TARGET_API_MAC_CARBON] (get_cfstring_encoding_from_lisp) | |
10768 | (cfstring_create_normalized): New functions. | |
10769 | [TARGET_API_MAC_CARBON] (Fmac_code_convert_string): Likewise. | |
10770 | (syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it. | |
10771 | ||
7ec64183 SM |
10772 | * macterm.c (handling_window_update, terminate_flag): |
10773 | Remove variables. | |
10774 | (do_window_update, do_ae_quit_application, XTread_socket): | |
10775 | Don't use them. | |
49ed33c7 YM |
10776 | (WNE_SLEEP_AT_SUSPEND, WNE_SLEEP_AT_RESUME): Don't define. |
10777 | [USE_CARBON_EVENTS && MAC_OSX] (mac_handle_service_event) | |
10778 | (init_service_handler): Move to macselect.c. Remove declarations. | |
10779 | [USE_CARBON_EVENTS && MAC_OSX] (init_service_handler): Add extern. | |
10780 | (Qapplication, Qabout): New variables. | |
10781 | (syms_of_mac): Initialize them. | |
10782 | [USE_CARBON_EVENTS && MAC_OSX] (Qpreferences, Qservices, Qpaste) | |
10783 | (Qperform): New variables. | |
10784 | (syms_of_mac) [USE_CARBON_EVENTS && MAC_OSX]: Initialize them. | |
7a92caf8 | 10785 | (do_get_menus) [TARGET_API_MAC_CARBON]: Don't call AppendResMenu. |
49ed33c7 YM |
10786 | (do_menu_choice): Unhighlight menu bar also when menu_id is 0. |
10787 | (mac_store_application_menu_event, init_menu_bar): New functions. | |
10788 | [USE_CARBON_EVENTS] (mac_handle_command_event) | |
10789 | (init_command_handler): New functions. | |
10790 | (mac_handle_window_event): Return noErr on window update event. | |
10791 | (do_ae_quit_application): Call mac_store_application_menu_event. | |
10792 | (mac_initialize) [USE_CARBON_EVENTS]: Call init_command_handler | |
10793 | and init_menu_bar. | |
10794 | ||
10795 | * macterm.h (x_clear_frame_selections): Add extern. | |
10796 | ||
10797 | * macselect.c: New file for selection processing on Mac OS. | |
10798 | ||
469bc679 RS |
10799 | 2005-04-23 Richard M. Stallman <rms@gnu.org> |
10800 | ||
10801 | * fileio.c (Fcopy_file): New arg MUSTBENEW. | |
10802 | (Frename_file): Pass new arg to Fcopy_file. | |
10803 | ||
10804 | * window.c (window_size_fixed): Variable deleted. | |
10805 | (syms_of_window): Initialize window-size-fixed to nil. | |
10806 | But don't DEFVAR window_size_fixed. | |
10807 | ||
d379c558 AS |
10808 | 2005-04-23 Andreas Schwab <schwab@suse.de> |
10809 | ||
10810 | * m/macppc.h (LD_SWITCH_MACHINE) [LINUX]: Don't define. | |
10811 | (START_FILES, LIB_STANDARD) [LINUX && _ARCH_PPC64]: Override to | |
10812 | use lib64 instead of lib. | |
10813 | (_LP64) [_ARCH_PPC64]: Define if not defined. | |
10814 | ||
007d105b TTN |
10815 | 2005-04-23 David Hunter <hunterd42@comcast.net> (tiny change) |
10816 | ||
10817 | * s/ms-w32.h (HAVE_PWD_H): Define. | |
10818 | ||
b9c15916 KH |
10819 | 2005-04-22 Kenichi Handa <handa@m17n.org> |
10820 | ||
10821 | * fns.c (copy_sub_char_table): Explicitly copy the default value | |
10822 | of the sub-chartable. | |
10823 | ||
10824 | * fontset.c (fontset_set): When a sub-chartable is created, | |
10825 | explicitly sets the defalt value. | |
10826 | ||
1ba52906 KS |
10827 | 2005-04-22 Kim F. Storm <storm@cua.dk> |
10828 | ||
10829 | * fns.c (Fplist_get): Replace by Fsafe_plist_get. | |
10830 | (Fsafe_plist_get): Rename to Fplist_get. | |
10831 | (Fsafe_get): Remove, as Fget now uses safe Fplist_get. | |
10832 | (defsubr): Remove defsubr for Fsafe_plist_get and Fsafe_get. | |
10833 | ||
10834 | * lisp.h (Fsafe_plist_get, Fsafe_get): Remove EXFUN. | |
10835 | ||
10836 | * xdisp.c (store_mode_line_string, produce_stretch_glyph) | |
10837 | (note_mode_line_or_margin_highlight, note_mouse_highlight): | |
10838 | Use Fplist_get instead of Fsafe_plist_get. | |
10839 | ||
10840 | * xfaces.c (resolve_face_name): Use Fget instead of Fsafe_get. | |
10841 | ||
e235145c MB |
10842 | 2005-04-21 Miles Bader <miles@gnu.org> |
10843 | ||
10844 | * xdisp.c (dump_glyph_row): Don't display overlay_arrow_p field. | |
10845 | ||
766c5349 TTN |
10846 | 2005-04-20 Thien-Thi Nguyen <ttn@gnu.org> |
10847 | ||
c164a7e6 TTN |
10848 | * sysdep.c: Remove reference to defunct vms-pwd.h. |
10849 | * dired.c: Likewise. Also, for pwd.h, use HAVE_PWD_H, not !VMS. | |
10850 | * editfns.c, fileio.c, filelock.c, sysdep.c, xrdb.c: Likewise. | |
10851 | ||
766c5349 TTN |
10852 | * config.in: Regenerate. |
10853 | ||
2b048bf5 KH |
10854 | 2005-04-20 Kenichi Handa <handa@m17n.org> |
10855 | ||
10856 | * lisp.h (CHAR_TABLE_DEFAULT_SLOT_ASCII): New macro. | |
10857 | (CHAR_TABLE_DEFAULT_SLOT_8_BIT_CONTROL): New macro. | |
10858 | (CHAR_TABLE_DEFAULT_SLOT_8_BIT_GRAPHIC): New macro. | |
10859 | ||
10860 | * alloc.c (make_sub_char_table): Argument changed to initial | |
10861 | value of the slots. | |
10862 | ||
10863 | * data.c (Faref): Handle special slots used as default values of | |
10864 | ascii, eight-bit-control, eight-bit-control. Don't ignore a | |
10865 | default value set for a group of characters. | |
10866 | (Faset): Signal an error if IDXVAL is not a valid character code. | |
10867 | Make a sub-chartable with correct initial value. | |
10868 | ||
10869 | * fns.c (Fset_char_table_range): Don't set slots used as default | |
7ec64183 SM |
10870 | values for ascii, eight-bit-control, eight-bit-graphic. |
10871 | Don't call Faref with charset-id. | |
2b048bf5 KH |
10872 | (Fset_char_table_default): Document how to treat normal character |
10873 | argument. Handle special slots used as default values of ascii, | |
10874 | eight-bit-control, eight-bit-control. Make a sub chartable if | |
10875 | necessary. | |
10876 | ||
b0a35939 KH |
10877 | 2005-04-20 Kenichi Handa <handa@m17n.org> |
10878 | ||
10879 | * search.c (boyer_moore): Fix previous change. | |
10880 | ||
98dde726 KS |
10881 | 2005-04-19 Kim F. Storm <storm@cua.dk> |
10882 | ||
10883 | * xdisp.c (setup_for_ellipsis): Reset saved_face_id to use default | |
10884 | face unless last visible char and first invisible char have the | |
10885 | same face. Also use default face if saved_face_id is undefined. | |
10886 | ||
327a3376 YM |
10887 | 2005-04-19 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10888 | ||
10889 | * macgui.h (MacFontStruct): Remove member `fontname'. Add member | |
10890 | `full_name'. | |
10891 | [TARGET_API_MAC_CARBON] (MacFontStruct): Use type int for | |
10892 | mac_scriptcode member. | |
10893 | ||
10894 | * macterm.c (Qbig5, Qcn_gb, Qsjis, Qeuc_kr): Remove variables. | |
10895 | (syms_of_mac): Don't initialize them. | |
10896 | (Vmac_charset_info_alist): New variable. | |
10897 | (syms_of_mac): Defvar it. | |
10898 | (create_text_encoding_info_alist): New function. | |
10899 | (decode_mac_font_name, mac_to_x_fontname) | |
10900 | (x_font_name_to_mac_font_name, init_font_name_table): Don't hard | |
10901 | code the correspondence among XLFD charsets, Mac script codes, and | |
10902 | Emacs coding systems. Use Vmac_charset_info_alist and result of | |
10903 | create_text_encoding_info_alist instead. | |
10904 | (init_font_name_table) [TARGET_API_MAC_CARBON]: Use Font Manager | |
10905 | routines also on Mac OS Classic. | |
7ec64183 SM |
10906 | (init_font_name_table) [!TARGET_API_MAC_CARBON]: |
10907 | Use add_font_name_table_entry. | |
327a3376 YM |
10908 | (mac_do_list_fonts): Regard 0 in XLFD scaleble fields as |
10909 | specified. Derive unspecified scalable fields from specified one. | |
10910 | (x_list_fonts): Consider Valternate_fontname_alist. | |
10911 | (kDefaultFontSize): Change value from 9 to 12. | |
10912 | (XLoadQueryFont): Get decoded font family, font face, and charset | |
10913 | from x_font_name_to_mac_font_name. Set full name of loaded font. | |
10914 | (mac_unload_font): Free `full_name' member. | |
10915 | (x_load_font): Don't try XLoadQueryFont if x_list_fonts returns | |
10916 | NULL. Copy full_name member of struct MacFontStruct to that of | |
10917 | struct font_info. | |
10918 | ||
d0636839 KS |
10919 | 2005-04-19 Kim F. Storm <storm@cua.dk> |
10920 | ||
5827e9d4 KS |
10921 | * xdisp.c (handle_stop): Set saved_face_id to current face if |
10922 | selective_display_ellipsis_p so ellipsis will be shown in same | |
10923 | face as preceding text. | |
10924 | (setup_for_ellipsis): Don't set saved_face_id here. | |
10925 | (next_element_from_display_vector): Default to saved_face_id. | |
10926 | ||
d0636839 KS |
10927 | * fns.c (Fsafe_get): New function. |
10928 | (syms_of_fns): Defsubr it. | |
10929 | ||
10930 | * lisp.h (Fsafe_get): EXFUN it. | |
10931 | ||
10932 | * xfaces.c (resolve_face_name): Use Fsafe_get to avoid redisplay | |
10933 | loops in case of bad face property lists. Limit number of face | |
10934 | alias lookups to 10 (in case of face alias loops). | |
10935 | ||
e5c78c9d KS |
10936 | 2005-04-18 Kim F. Storm <storm@cua.dk> |
10937 | ||
10938 | * dispextern.h (struct glyph_row): New member overlay_arrow_bitmap. | |
10939 | It replaces the corresponding member from struct window, as a | |
10940 | window may now show multiple overlay arrows. | |
10941 | Remove member overlay_arrow_p, superseeded by overlay_arrow_bitmap. | |
10942 | ||
10943 | * dispnew.c (row_equal_p, update_window_line, scrolling_window): | |
10944 | Compare overlay_arrow_bitmap than overlay_arrow_p members. | |
10945 | ||
10946 | * fringe.c (draw_fringe_bitmap): Use overlay_arrow_bitmap from row | |
10947 | rather than from window. | |
10948 | (update_window_fringes): Compare overlay_arrow_bitmap rather than | |
10949 | overlay_arrow_p members. | |
10950 | (Ffringe_bitmaps_at_pos): Return fringe overlay_arrow_bitmap name | |
10951 | if not default. | |
10952 | ||
10953 | * window.h (struct window): Remove member overlay_arrow_bitmap. | |
10954 | ||
10955 | * window.c (make_window): Don't initialize overlay_arrow_bitmap. | |
10956 | ||
10957 | * xdisp.c (overlay_arrow_string_or_property): Remove PBITMAP arg. | |
10958 | Calls changed. Don't check for overlay-arrow-bitmap property here. | |
10959 | (overlay_arrow_at_row): Remove PBITMAP arg. Instead, if left | |
10960 | fringe is present, return Lisp integer for bitmap (or -1 for default). | |
10961 | Fix value of overlay-arrow-bitmap property to be a symbol, use | |
10962 | lookup_fringe_bitmap to parse it. | |
10963 | (display_line): Change call to overlay_arrow_at_row. Store integer | |
10964 | return value as overlay bitmap in row rather than window. | |
10965 | Only show overlay arrow if row displays text, or if no other overlay | |
10966 | arrow is seen in window (if overlay marker is at point-max). | |
10967 | ||
7d603e3f TTN |
10968 | 2005-04-18 Thien-Thi Nguyen <ttn@gnu.org> |
10969 | ||
10970 | * xfaces.c (realize_x_face) [!HAVE_WINDOW_SYSTEM]: Return NULL. | |
10971 | ||
9942fa0c LK |
10972 | 2005-04-18 Lute Kamstra <lute@gnu.org> |
10973 | ||
10974 | * lread.c (Vloads_in_progress): Static. | |
10975 | * fns.c (Vloads_in_progress): Remove extern. | |
10976 | (load_in_progress): Add extern. | |
10977 | (Frequire): Use load_in_progress instead of Vloads_in_progress. | |
10978 | ||
999cdb8f TTN |
10979 | 2005-04-18 Thien-Thi Nguyen <ttn@gnu.org> |
10980 | ||
10981 | * xmenu.c (Fx_popup_menu): Initialize error_name to NULL. | |
10982 | ||
3f4413f8 YM |
10983 | 2005-04-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
10984 | ||
10985 | * macterm.c (XTread_socket): Don't beep on keyboard input even if | |
10986 | no frame is visible. | |
10987 | ||
60ec7b7e DN |
10988 | 2005-04-16 Dan Nicolaescu <dann@ics.uci.edu> |
10989 | ||
10990 | * term.c (struct keys): Add support for shifted keys. | |
10991 | ||
a8a1c0ee RS |
10992 | 2005-04-16 Richard M. Stallman <rms@gnu.org> |
10993 | ||
10994 | * xdisp.c (with_echo_area_buffer): Delete WHICH < 0 case. | |
10995 | (set_message): Call with_echo_area_buffer with WHICH = 0. | |
10996 | (set_message_1): Erase the echo area buffer first thing. | |
10997 | (echo_area_display): Don't clear echo_message_buffer. | |
10998 | ||
f3cf04d3 YM |
10999 | 2005-04-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11000 | ||
11001 | * Makefile.in (mac.o): Depend on charset.h and coding.h. | |
11002 | ||
11003 | * mac.c: Include charset.h and coding.h. | |
11004 | [TARGET_API_MAC_CARBON] (Qutf_8): Remove extern. | |
7ec64183 | 11005 | [TARGET_API_MAC_CARBON] (cfstring_create_with_string): New function. |
f3cf04d3 YM |
11006 | [TARGET_API_MAC_CARBON] (Fmac_get_preference): Use it. |
11007 | ||
11008 | * macfns.c [TARGET_API_MAC_CARBON] (Fx_file_dialog): Likewise. | |
11009 | ||
11010 | * image.c [MAC_OSX] (image_load_quartz2d): Likewise. | |
11011 | ||
11012 | * macterm.c (x_autoselect_window_p): Remove variable. | |
11013 | (last_window): New variable. | |
7ec64183 SM |
11014 | (XTreassert_line_highlight, x_change_line_highlight): |
11015 | Remove declarations. | |
f3cf04d3 YM |
11016 | (mac_focus_changed, x_detect_focus_change): New functions and |
11017 | declarations. | |
11018 | (XTextExtents16, front_emacs_window): Remove function. | |
11019 | (mac_focus_frame): New function. | |
11020 | (XTmouse_position, do_menu_choice, do_zoom_window, XTread_socket) | |
11021 | (mac_check_for_quit_char): Use it instead of front_emacs_window. | |
11022 | (x_scroll_bar_report_motion): Obtain window from control owner. | |
11023 | (x_make_frame_invisible): Set window manager size hint. | |
11024 | (do_mouse_moved): Remove function. | |
11025 | (XTread_socket): Move its contents here. Generate select-window | |
11026 | event on mouse movement if needed. Use x_detect_focus_change on | |
11027 | activate/deactivate events. Don't deiconify frame or invalidate | |
7ec64183 SM |
11028 | window rectangle when dnd items are dropped. |
11029 | Don't activate/deactivate root control. | |
f3cf04d3 YM |
11030 | (frame_highlight, frame_unhighlight): Activate/deactivate root |
11031 | control here. | |
11032 | (syms_of_macterm): Delete DEFVAR_BOOL for x_autoselect_window_p. | |
11033 | ||
11034 | * macterm.h (cfstring_create_with_string) [TARGET_API_MAC_CARBON]: | |
11035 | New extern. | |
11036 | ||
9e5b2858 LT |
11037 | 2005-04-15 Luc Teirlinck <teirllm@auburn.edu> |
11038 | ||
11039 | * Makefile.in: Define new macro TOOLTIP_SUPPORT. | |
11040 | (lisp): Use it. | |
11041 | (SOME_MACHINE_LISP): Add tooltip. | |
11042 | ||
42c6741e YM |
11043 | 2005-04-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11044 | ||
7ec64183 SM |
11045 | * mac.c [!TARGET_API_MAC_CARBON]: Include MacLocales.h. |
11046 | Don't include TextEncodingConverter.h. | |
42c6741e YM |
11047 | (mac_system_script_code, Vmac_system_locale): New variables. |
11048 | (syms_of_mac): Defvar them. | |
11049 | (mac_get_system_locale): New function. | |
11050 | ||
7ec64183 SM |
11051 | * macfns.c (x_set_name, x_set_title) [!TARGET_API_MAC_CARBON]: |
11052 | Use ENCODE_SYSTEM to encode title bar string. | |
42c6741e | 11053 | (x_create_tip_frame): Apply 2005-03-18 change for xfns.c. |
7ec64183 SM |
11054 | (Fx_file_dialog) [TARGET_API_MAC_CARBON && !MAC_OSX]: |
11055 | Use CFStringGetSystemEncoding to get system default string encoding. | |
42c6741e YM |
11056 | |
11057 | * macterm.c [!TARGET_API_MAC_CARBON]: Don't include | |
11058 | TextEncodingConverter.h. | |
11059 | ||
0614c575 ST |
11060 | 2005-04-13 Steven Tamm <steventamm@mac.com> |
11061 | ||
7e26f91b KS |
11062 | * macterm.c (syms_of_macterm): Remove redundant definition of |
11063 | mac-pass-control-to-system. | |
0614c575 | 11064 | |
203eb0aa SM |
11065 | 2005-04-12 Stefan Monnier <monnier@iro.umontreal.ca> |
11066 | ||
11067 | * window.c (Fset_window_configuration): Be careful when you choose | |
11068 | among several possible points for the new_current_buffer. | |
11069 | ||
a56e6111 YM |
11070 | 2005-04-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11071 | ||
11072 | * keyboard.c (poll_for_input) [SYNC_INPUT]: Don't call | |
11073 | poll_for_input_1. Set interrupt_input_pending to 1 instead. | |
b7461be9 YM |
11074 | (Qlanguage_change) [MAC_OS]: New variable. |
11075 | (syms_of_keyboard) [MAC_OS]: Intern and staticpro it. | |
203eb0aa | 11076 | (kbd_buffer_get_event) [MAC_OS]: Make event for LANGUAGE_CHANGE_EVENT. |
b7461be9 YM |
11077 | |
11078 | * macterm.c (mac_keyboard_text_encoding) | |
11079 | (current_mac_keyboard_text_encoding): Remove variables. | |
5e1a6e32 | 11080 | (XTread_socket): Store language-change event if keyboard script change |
7e26f91b | 11081 | is detected. Don't convert input to `mac_keyboard_text_encoding'. |
203eb0aa | 11082 | (syms_of_macterm): Delete DEFVAR_INT for mac-keyboard-text-encoding. |
b7461be9 | 11083 | |
7e26f91b | 11084 | * termhooks.h (enum event_kind) [MAC_OS]: Add LANGUAGE_CHANGE_EVENT. |
a56e6111 | 11085 | |
6695c528 RS |
11086 | 2005-04-10 Richard M. Stallman <rms@gnu.org> |
11087 | ||
11088 | * emacs.c (standard_args): Rename --bare-bones to --quick. | |
11089 | Add -D aka --basic-display. | |
11090 | ||
11091 | * buffer.c (Fmake_indirect_buffer): Clear out some local variables. | |
11092 | ||
18e2d91f RS |
11093 | 2005-04-09 Richard M. Stallman <rms@gnu.org> |
11094 | ||
11095 | * keymap.c (where_is_internal): Convert a string used as event type | |
11096 | into "(any string)". | |
11097 | ||
11098 | * lread.c (Vloads_in_progress): Not static. | |
18e2d91f RS |
11099 | * fns.c (Vloads_in_progress): Add extern. |
11100 | (Frequire): Don't do LOADHIST_ATTACH if Vloads_in_progress is nil. | |
11101 | ||
11102 | 2005-04-09 Thien-Thi Nguyen <ttn@surf.glug.org> | |
11103 | ||
11104 | * dispnew.c (mirror_line_dance): Avoid crash if W2 is null. | |
11105 | ||
1cf21850 LK |
11106 | 2005-04-09 Lute Kamstra <lute@gnu.org> |
11107 | ||
11108 | * print.c (PRINTPREPARE): Check if the marker PRINTCHARFUN is | |
11109 | within the accessible part of the buffer. | |
11110 | ||
bfd93240 KS |
11111 | 2005-04-09 Kim F. Storm <storm@cua.dk> |
11112 | ||
11113 | * lread.c (readevalloop): Add args START and END as region in | |
11114 | current buffer to read. Callers changed. | |
11115 | When specified, narrow to this region only when reading, | |
11116 | not during eval. Track next point to read from during eval. | |
11117 | Also restore point to "real" buffer position before eval. | |
11118 | (Feval_region): Don't save excursion and restriction here, and | |
11119 | don't narrow to region. Just pass region to readevalloop. | |
11120 | Note: Point is now preserved even when PRINTFLAG is nil. | |
11121 | ||
9ba27690 KS |
11122 | 2005-04-08 Kim F. Storm <storm@cua.dk> |
11123 | ||
11124 | * xdisp.c (syms_of_xdisp): Init overlay-arrow-string to "=>". | |
11125 | ||
73f0d996 KS |
11126 | 2005-04-06 Kim F. Storm <storm@cua.dk> |
11127 | ||
11128 | * emacs.c (standard_args): Add -Q, --bare-bones, -bare-bones. | |
11129 | ||
369f76bb YM |
11130 | 2005-04-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11131 | ||
11132 | * mac.c (cfdate_to_lisp): Add `const' for variable `epoch_gdate'. | |
11133 | (Fmac_get_preference): Doc fix. | |
11134 | ||
203eb0aa SM |
11135 | * macfns.c (Fx_create_frame, x_create_tip_frame): |
11136 | Add "fontset-mac" to fallback font/fontsets. | |
369f76bb | 11137 | |
2ba613a6 KS |
11138 | 2005-04-04 Kim F. Storm <storm@cua.dk> |
11139 | ||
4d5ddddc KS |
11140 | * alloc.c (Fgarbage_collect): Call CHECK_CONS_LIST before and after gc. |
11141 | ||
2ba613a6 KS |
11142 | * eval.c (Ffuncall): Always call CHECK_CONS_LIST on entry. |
11143 | Call it again after autoload. | |
11144 | ||
1673df2e JD |
11145 | 2005-04-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11146 | ||
11147 | * alloc.c (allocate_string_data): Call BLOCK_INPUT before calling | |
11148 | mallopt. | |
11149 | ||
11150 | * ralloc.c (r_alloc_init): Ditto. | |
11151 | ||
41639988 KH |
11152 | 2005-04-01 Kenichi Handa <handa@m17n.org> |
11153 | ||
1cf21850 LK |
11154 | * lisp.h (Vascii_upcase_table, Vascii_canon_table) |
11155 | (Vascii_eqv_table): Extern them. | |
41639988 KH |
11156 | |
11157 | * casetab.c (set_case_table): If standard is nonzero, setup | |
11158 | Vascii_upcase_table, Vascii_canon_table, and Vascii_eqv_table. | |
11159 | ||
11160 | * search.c (looking_at_1): Use current_buffer->case_canon_table, | |
11161 | not DOWNCASE_TABLE. | |
11162 | (string_match_1): Likewise. | |
11163 | (fast_c_string_match_ignore_case): Use Vascii_canon_table, not | |
11164 | Vascii_downcase_table. | |
11165 | (fast_string_match_ignore_case): Likewise. | |
11166 | (search_buffer): Fix checking of boyer-moore usability. | |
203eb0aa SM |
11167 | (boyer_moore): Calculate translate_prev_byte1/2/3 in advance. |
11168 | No need of tranlating characters in PAT. Fix calculation of | |
41639988 KH |
11169 | simple_translate. |
11170 | ||
6ca53601 SM |
11171 | 2005-03-31 Stefan Monnier <monnier@iro.umontreal.ca> |
11172 | ||
11173 | * xterm.c [HAVE_XAW3D]: Include ThreeD.h for XtNbeNiceToColormap. | |
11174 | (x_create_toolkit_scroll_bar): Test XtNbeNiceToColormap before using it. | |
11175 | Use XtNtopShadowPixel and XtNbottomShadowPixel. | |
11176 | (x_set_toolkit_scroll_bar_thumb): Remove ugly old hack that didn't | |
11177 | really work and that breaks with some versions of Xaw3d. | |
11178 | ||
fafbb99d | 11179 | 2005-03-31 Kenichi Handa <handa@m17n.org> |
bf762c98 KH |
11180 | |
11181 | * coding.c (syms_of_coding): Fix previous change. | |
11182 | ||
6ca53601 SM |
11183 | 2005-03-30 Stefan Monnier <monnier@iro.umontreal.ca> |
11184 | ||
11185 | * fileio.c (search_embedded_absfilename): Fix last change. | |
11186 | ||
bf762c98 KH |
11187 | 2005-03-25 Kenichi Handa <handa@m17n.org> |
11188 | ||
11189 | * coding.c (syms_of_coding): Suggest to use set-coding-category in | |
11190 | the docstring of coding-category-list. | |
11191 | ||
f793f885 KS |
11192 | 2005-03-31 Kim F. Storm <storm@cua.dk> |
11193 | ||
11194 | * keyboard.c (Qmouse_fixup_help_message): New var. | |
11195 | (syms_of_keyboard): Intern and staticpro it. | |
11196 | (show_help_echo): Apply mouse-fixup-help-message to help string. | |
11197 | ||
c364fe19 KS |
11198 | 2005-03-30 Kim F. Storm <storm@cua.dk> |
11199 | ||
11200 | * xdisp.c (display_line): Allow multiple overlay arrows in window. | |
11201 | ||
c70a4df6 SM |
11202 | 2005-03-28 Stefan Monnier <monnier@iro.umontreal.ca> |
11203 | ||
11204 | * fileio.c (Fexpand_file_name): Use IS_DEVICE_SEP. | |
11205 | (file_name_absolute_p): New fun, extracted from Ffile_name_absolute_p. | |
11206 | (Ffile_name_absolute_p): Use it. | |
11207 | (search_embedded_absfilename): New fun, extracted from | |
11208 | Fsubstitute_in_file_name. Use file_name_absolute_p. | |
11209 | Free the pw data after use. | |
11210 | (Fsubstitute_in_file_name): Use it. | |
11211 | After cutting a prefix, re-check file-name-handler. | |
11212 | ||
6e7d0438 JR |
11213 | 2005-03-26 Lennart Borgman <lennart.borgman.073@student.lu.se> |
11214 | ||
6ca53601 | 11215 | * w32term.h (x_output): Add focus_state. |
6e7d0438 JR |
11216 | |
11217 | * w32term.c (x_focus_changed, w32_detect_focus_change): New functions. | |
88a337ec | 11218 | (w32_read_socket) <WM_SETFOCUS>: Call w32_detect_focus_change. |
6e7d0438 | 11219 | |
65671706 SM |
11220 | 2005-03-25 Stefan Monnier <monnier@iro.umontreal.ca> |
11221 | ||
11222 | * minibuf.c (Fminibuffer_complete_and_exit, Fself_insert_and_exit): | |
11223 | Use Fexit_minibuffer. | |
11224 | (Fexit_minibuffer): Mark it as no-return, deactivate the mark. | |
11225 | ||
0de4dad4 SM |
11226 | 2005-03-24 Stefan Monnier <monnier@iro.umontreal.ca> |
11227 | ||
781da985 SM |
11228 | * dired.c (Ffile_attributes): Add a missing gcpro. |
11229 | ||
0de4dad4 SM |
11230 | * alloc.c (make_number): The arg can be bigger than `int'. |
11231 | * lisp.h (make_number): Make prototype more precise. | |
11232 | ||
11233 | * process.c, dired.c (Vfile_name_coding_system) | |
11234 | (Vdefault_file_name_coding_system): | |
11235 | * callproc.c (Vdoc_file_name, Vfile_name_coding_system) | |
11236 | (Vdefault_file_name_coding_system): Remove unused declarations. | |
11237 | ||
ff18668f JD |
11238 | 2005-03-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11239 | ||
11240 | * xmenu.c (create_and_show_popup_menu): Just remove menu and return | |
11241 | if it failed to pop up (Gnome "show pointer on ctrl" option makes | |
11242 | menus fail to pop up). | |
11243 | ||
0de4dad4 | 11244 | 2005-03-24 Stefan Monnier <monnier@iro.umontreal.ca> |
66347da7 SM |
11245 | |
11246 | * xdisp.c (get_next_display_element): Also use `\ ' & `\-' for latin-9. | |
0de4dad4 | 11247 | Just prepend a backslash without replacing the NBSP by an SPC. |
66347da7 | 11248 | |
8df0ffbe KS |
11249 | 2005-03-22 Kim F. Storm <storm@cua.dk> |
11250 | ||
11251 | * xfaces.c (lookup_derived_face): Add arg SIGNAL_P. | |
11252 | * dispextern.h (lookup_derived_face): Fix prototype. | |
11253 | * msdos.c (XMenuActivate): Fix call to lookup_derived_face. | |
11254 | ||
11255 | * xdisp.c (handle_single_display_spec): Derive left-fringe and | |
11256 | right-fringe face from fringe face. | |
11257 | ||
11258 | * fringe.c (draw_fringe_bitmap_1, Fset_fringe_bitmap_face): | |
11259 | Derive face from fringe face. | |
11260 | ||
6ca30ba4 JD |
11261 | 2005-03-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11262 | ||
11263 | * xrdb.c (x_load_resources): Undo previous change (2005-03-18). | |
11264 | ||
d615870a DK |
11265 | 2005-03-22 David Kastrup <dak@gnu.org> |
11266 | ||
11267 | * textprop.c (Fnext_char_property_change) | |
66347da7 | 11268 | (Fprevious_char_property_change): Allow marker as limit. |
d615870a DK |
11269 | (Fnext_single_char_property_change) |
11270 | (Fprevious_single_char_property_change): Check that limit is a | |
11271 | number in strings. | |
11272 | (Fnext_single_char_property_change): Coerce position to integer. | |
11273 | (Fprevious_single_char_property_change): Same here. | |
11274 | ||
32b939ea TTN |
11275 | 2005-03-21 Thien-Thi Nguyen <ttn@gnu.org> |
11276 | ||
11277 | * s/openbsd.h (LD_SWITCH_SYSTEM_tmp): Define if undefined. | |
11278 | ||
6027e473 SM |
11279 | 2005-03-19 Stefan Monnier <monnier@iro.umontreal.ca> |
11280 | ||
11281 | * frame.c (Fignore_event): Remove. | |
11282 | (syms_of_frame): Don't defsubr it. | |
11283 | ||
11284 | * keyboard.c (keys_of_keyboard): Just use `ignore' instead of the | |
11285 | redundant `ignore-event'. | |
11286 | ||
730f4d72 EZ |
11287 | 2005-03-19 Eli Zaretskii <eliz@gnu.org> |
11288 | ||
11289 | * unexec.c (write_segment, unexec): Move these functions to avoid | |
11290 | forward references (which cause errors with "gcc -gcoff"). | |
11291 | ||
c7f6afd5 JD |
11292 | 2005-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11293 | ||
6027e473 | 11294 | * xfns.c (x_create_tip_frame): Remove setting of Vx_resource_name so |
9188be47 | 11295 | that it doesn't become "tooltip". The specbind is enough. |
8d5980cf | 11296 | |
c7f6afd5 JD |
11297 | * xrdb.c (x_load_resources): Use different char *helv when I18N |
11298 | is present. | |
11299 | ||
db328182 KH |
11300 | 2005-03-17 Kenichi Handa <handa@m17n.org> |
11301 | ||
66347da7 | 11302 | * coding.c (syms_of_coding): Docstring of coding-category-list fixed. |
db328182 | 11303 | |
211f2210 SM |
11304 | 2005-03-17 Stefan Monnier <monnier@iro.umontreal.ca> |
11305 | ||
11306 | * xfaces.c (x_update_menu_appearance) [HAVE_X_I18N]: | |
11307 | Use xic_create_fontsetname even for non-Motif menus. | |
11308 | Don't forget to free the fontsetname. | |
11309 | ||
11310 | * xfns.c (xic_create_fontsetname): Add a final catch-all font pattern. | |
11311 | ||
c7bd5d57 RS |
11312 | 2005-03-17 Richard M. Stallman <rms@gnu.org> |
11313 | ||
11314 | * dispnew.c (mirror_line_dance): Set W2 according to FRAME_FROM. | |
11315 | ||
11316 | * fileio.c (Fcopy_file, Frename_file, Fadd_name_to_file) | |
11317 | (Fmake_symbolic_link): Use G to read the new file name. | |
11318 | ||
11319 | * callint.c (Finteractive): Document G option. | |
11320 | (Fcall_interactively): Implement G option. | |
11321 | ||
11322 | * buffer.c (buffer_lisp_local_variables): New function, | |
11323 | broken out from Fbuffer_local_variables. | |
11324 | (clone_per_buffer_values): Use buffer_lisp_local_variables. | |
11325 | ||
888953f1 SM |
11326 | 2005-03-17 Stefan Monnier <monnier@iro.umontreal.ca> |
11327 | ||
3c916d65 SM |
11328 | * xfns.c (xic_create_fontsetname): Add `motif' argument. |
11329 | Always return a freshly allocated string. | |
11330 | (xic_create_xfontset): Adjust call. | |
11331 | ||
11332 | * xfaces.c (x_update_menu_appearance) [USE_MOTIF]: | |
11333 | Use xic_create_fontsetname to create a fontset so utf-8 locales work. | |
11334 | (dump_realized_face): Fix warning. | |
11335 | ||
9f9e5275 SM |
11336 | * emacs.c (Fkill_emacs): YAILOM. |
11337 | ||
888953f1 SM |
11338 | * frame.c (Fignore_event): Fix ancient obscure C-u handling bug. |
11339 | ||
48502d68 YM |
11340 | 2005-03-17 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11341 | ||
11342 | * mac.c (HASHKEY_TERMINAL): Remove. | |
11343 | (HASHKEY_MAX_NID): New macro. | |
11344 | (xrm_q_get_resource_1): Rename from xrm_q_get_resource. Add extra | |
11345 | argument. | |
888953f1 | 11346 | (xrm_q_get_resource): Call xrm_q_get_resource_1 with extra argument. |
48502d68 YM |
11347 | (xrm_create_database, xrm_q_put_resource) |
11348 | (xrm_merge_string_database, xrm_q_get_resource_1) | |
11349 | (xrm_q_get_resource): Change resource database representation so | |
11350 | that it may not use multiple hash tables for a single database. | |
11351 | [TARGET_API_MAC_CARBON] (xrm_cfproperty_list_to_value): YAILOM. | |
11352 | ||
d5161e8c SM |
11353 | 2005-03-16 Stefan Monnier <monnier@iro.umontreal.ca> |
11354 | ||
11a646cd SM |
11355 | * xmenu.c (ENCODE_MENU_STRING) [HAVE_X_I18N]: Use ENCODE_SYSTEM. |
11356 | ||
11357 | * coding.h (ENCODE_SYSTEM, DECODE_SYSTEM) [!WINDOWSNT]: Use the | |
11358 | locale-coding-system, as was already done for WINDOWSNT. | |
11359 | ||
d5161e8c SM |
11360 | * keyboard.c (read_char): Only do the 7-bit-meta -> 27-bit-meta |
11361 | translation for chars in the 0-255 range. | |
11362 | ||
568b6e41 LK |
11363 | 2005-03-16 Lute Kamstra <lute@gnu.org> |
11364 | ||
11365 | * floatfns.c (Ffloor): Doc fix. | |
11366 | ||
469fb3cf YM |
11367 | 2005-03-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11368 | ||
11369 | * mac.c: Include macterm.h instead of directly including Carbon.h. | |
11370 | [TARGET_API_MAC_CARBON] (Qstring, Qnumber, Qboolean, Qdate, Qdata) | |
11371 | (Qarray, Qdictionary): New variables. | |
11372 | (syms_of_mac) [TARGET_API_MAC_CARBON]: Initialize them. | |
11373 | [TARGET_API_MAC_CARBON] (Qutf_8): Add extern. | |
11374 | [TARGET_API_MAC_CARBON] (DECODE_UTF_8): New macro. | |
11375 | [TARGET_API_MAC_CARBON] (struct cfdict_context): New struct used | |
11376 | in callback for CFDictionaryApplyFunction. | |
11377 | [TARGET_API_MAC_CARBON] (cfdata_to_lisp, cfstring_to_lisp) | |
11378 | (cfnumber_to_lisp, cfdate_to_lisp, cfboolean_to_lisp) | |
11379 | (cfobject_desc_to_lisp, cfdictionary_add_to_list) | |
11380 | (cfdictionary_puthash, cfproperty_list_to_lisp): New functions. | |
11381 | [TARGET_API_MAC_CARBON] (Fmac_get_preference): New function. | |
11382 | (syms_of_mac) [TARGET_API_MAC_CARBON]: Defsubr it. | |
11383 | (P, LOOSE_BINDING, SINGLE_COMPONENT, HASHKEY_TERMINAL): New macro. | |
3d454340 | 11384 | (skip_white_space, parse_comment, parse_include_file) |
469fb3cf YM |
11385 | (parse_binding, parse_component, parse_resource_name, parse_value) |
11386 | (parse_resource_line, xrm_create_database, xrm_q_put_resource) | |
11387 | (xrm_merge_string_database, xrm_q_get_resource, xrm_get_resource) | |
d5161e8c SM |
11388 | (xrm_cfproperty_list_to_value, xrm_get_preference_database): |
11389 | New functions. | |
469fb3cf YM |
11390 | |
11391 | * macfns.c (mac_get_rdb_resource): Remove function. | |
11392 | (x_get_string_resource): Use xrm_get_resource. | |
11393 | ||
11394 | * macgui.h (XrmDatabase): Typedef to Lisp_Object. | |
11395 | ||
11396 | * macterm.c (x_list_fonts): FONT-LIST-CACHE is now cadr part of | |
11397 | name_list_element. | |
11398 | (mac_make_rdb): Create resource database from preferences and | |
11399 | argument string. | |
11400 | (mac_term_init): Save resource database to cddr part of | |
11401 | name_list_element. | |
11402 | ||
11403 | * macterm.h (xrm_merge_string_database, xrm_get_resource) | |
11404 | (xrm_get_preference_database): Add externs. | |
11405 | [TARGET_API_MAC_CARBON] (cfdata_to_lisp, cfstring_to_lisp) | |
11406 | (cfnumber_to_lisp, cfdate_to_lisp, cfboolean_to_lisp) | |
11407 | (cfobject_desc_to_lisp, cfproperty_list_to_lisp): Likewise. | |
11408 | ||
11409 | * process.c (init_process): Change `#ifdef DARWIN' to `#if | |
11410 | defined (DARWIN) || defined (MAC_OSX)' | |
11411 | ||
11412 | * s/darwin.h (DARWIN): Don't define. | |
11413 | ||
6a3fac90 YM |
11414 | 2005-03-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11415 | ||
11416 | * macfns.c (Qhyper, Qsuper, Qmeta, Qalt, Qctrl, Qcontrol, Qshift): | |
11417 | Remove unused variables. | |
11418 | (syms_of_macfns): Don't initialize them. Likewise for | |
11419 | Qface_set_after_frame_default. Defvar and initialize | |
11420 | Vx_window_horizontal_drag_shape. | |
11421 | (x_set_mouse_color): Change mouse pointer shape. | |
11422 | (mac_window) [!MAC_OSX]: Create root control. | |
469fb3cf | 11423 | (Fx_create_frame): Remove initializations of mouse pointer shapes. |
6a3fac90 YM |
11424 | (hourglass_started): New function (from xfns.c). |
11425 | (start_hourglass, cancel_hourglass): Put function body in #ifdef | |
11426 | MAC_OSX. | |
11427 | (show_hourglass) [TARGET_API_MAC_CARBON]: Create progress | |
11428 | indicator for each non-tooltip frame if needed, and show it. | |
d5161e8c | 11429 | (hide_hourglass) [TARGET_API_MAC_CARBON]: Hide progress indicators. |
6a3fac90 YM |
11430 | |
11431 | * macgui.h [!TARGET_API_MAC_CARBON]: Include Appearance.h and | |
11432 | Controls.h. Use ThemeCursor instead of CursHandle. | |
11433 | ||
d5161e8c SM |
11434 | * macterm.c (activate_scroll_bars, deactivate_scroll_bars): |
11435 | Remove functions and declarations. | |
11436 | (mac_set_colors): Take argument for saving background color. | |
11437 | All callers changed. | |
6a3fac90 YM |
11438 | (XDrawLine, XClearArea, mac_draw_bitmap, XFillRectangle) |
11439 | (mac_draw_rectangle, mac_draw_string_common): Save and Restore | |
11440 | background color. | |
11441 | (x_update_end, mac_do_track_drag): Don't reset background color. | |
d5161e8c SM |
11442 | (mac_define_frame_cursor) [!TARGET_API_MAC_CARBON]: |
11443 | Use SetThemeCursor. | |
6a3fac90 YM |
11444 | (x_set_window_size) [TARGET_API_MAC_CARBON]: Move progress |
11445 | indicator control to the upper-right corner of the window. | |
11446 | (arrow_cursor) [!TARGET_API_MAC_CARBON]: Remove variable. | |
11447 | (do_init_managers) [!TARGET_API_MAC_CARBON]: Don't initialize it. | |
11448 | (do_window_update): Update controls after updating content area. | |
11449 | (mac_handle_window_event): Remove unused extern. | |
11450 | (XTread_socket): Check both control handle and control part code | |
11451 | to determine whether a scroll bar is clicked. Activate/deactivate | |
11452 | root control instead of contained scroll bar controls. | |
11453 | (make_mac_terminal_frame): Use ThemeCursor constants. | |
11454 | ||
d5161e8c SM |
11455 | * macterm.h (struct mac_output) [TARGET_API_MAC_CARBON]: |
11456 | New member hourglass_control. | |
6a3fac90 | 11457 | (HOURGLASS_WIDTH, HOURGLASS_HEIGHT): New defines. |
d5161e8c | 11458 | (activate_scroll_bars, deactivate_scroll_bars): Remove declarations. |
6a3fac90 | 11459 | |
a7321976 YM |
11460 | 2005-03-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11461 | ||
11462 | * macterm.c (keycode_to_xkeysym_table): Change mapping so that it | |
6a3fac90 | 11463 | coincides with that in Apple X11 except `clear', `enter' on |
a7321976 YM |
11464 | laptops, and fn + `enter' on laptops. |
11465 | ||
f7b758bd SM |
11466 | 2005-03-12 Stefan Monnier <monnier@iro.umontreal.ca> |
11467 | ||
11468 | * xmenu.c (ENCODE_MENU_STRING): Explicitly use string_make_unibyte. | |
11469 | (list_of_panes, list_of_items, Fx_popup_menu): Use XCAR/XCDR. | |
11470 | (digest_single_submenu, xmenu_show): Use ENCODE_MENU_STRING. | |
11471 | ||
11472 | * xfns.c (xic_defaut_fontset): New constant. | |
11473 | (xic_create_fontsetname): New function. | |
11474 | Extracted from create_frame_xic. Try to generate a slightly | |
11475 | better fontset. | |
11476 | (xic_create_xfontset): Use it. | |
11477 | (create_frame_xic): Simplify. | |
11478 | ||
dac24db4 SM |
11479 | 2005-03-11 Stefan Monnier <monnier@iro.umontreal.ca> |
11480 | ||
11481 | * fileio.c (Fmake_symbolic_link): Fix last change. | |
11482 | ||
e0402468 RS |
11483 | 2005-03-11 Richard M. Stallman <rms@gnu.org> |
11484 | ||
11485 | * fileio.c (Frename_file, Fadd_name_to_file) | |
11486 | (Fmake_symbolic_link): If NEWNAME or LINKNAME is a directory, | |
11487 | expand the basename of FILE relative to it. | |
11488 | ||
fa815b14 KH |
11489 | 2005-03-11 Kenichi Handa <handa@m17n.org> |
11490 | ||
11491 | * fileio.c (Finsert_file_contents): Call Fcheck_coding_system | |
11492 | before calling setup_coding_system so that autoloading of a coding | |
11493 | system work. | |
11494 | ||
817d354b JD |
11495 | 2005-03-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11496 | ||
68a505ef JD |
11497 | * xfns.c (hourglass_started): New function. |
11498 | ||
11499 | * dispextern.h: Declare hourglass_started. | |
11500 | ||
11501 | * keyboard.c (Fexecute_extended_command): Restart hourglass | |
11502 | after call to Fcompleting_read if already started. | |
11503 | ||
817d354b JD |
11504 | * gtkutil.c (xg_update_scrollbar_pos): Call x_sync so that the |
11505 | GTK main loop is entered in xterm.c, thus doing the redraw. | |
11506 | ||
b0a6f45c KS |
11507 | 2005-03-10 Kim F. Storm <storm@cua.dk> |
11508 | ||
11509 | * xdisp.c (pos_visible_p): Fix X value in last line of buffer. | |
11510 | ||
ee5d57b0 KH |
11511 | 2005-03-08 Kenichi Handa <handa@m17n.org> |
11512 | ||
11513 | * frame.c (x_set_font): Call set_default_ascii_font if an | |
11514 | available font is found. | |
11515 | ||
11516 | * fontset.c (set_default_ascii_font): New function. | |
dac24db4 | 11517 | (syms_of_fontset): Don't set FONTSET_ASCII (Vdefault_fontset) here. |
ee5d57b0 KH |
11518 | |
11519 | * fontset.h (set_default_ascii_font): Extern it. | |
11520 | ||
f30c4a5c KS |
11521 | 2005-03-07 Kim F. Storm <storm@cua.dk> |
11522 | ||
3fb26a86 KS |
11523 | * xdisp.c (CLEAR_IMAGE_CACHE_COUNT): New const. |
11524 | (clear_image_cache_count): New var. | |
11525 | (redisplay_internal): Don't clear face and image caches in the | |
11526 | middle of redisplay; do it afterwards. | |
11527 | ||
a54595d4 KS |
11528 | * blockinput.h (TOTALLY_UNBLOCK_INPUT): Avoid dangling else. |
11529 | ||
f30c4a5c KS |
11530 | * xdisp.c (notice_overwritten_cursor): Check that phys_cursor.vpos |
11531 | is valid. If not, clear phys_cursor_on_p and return. | |
11532 | ||
3d182f9d AS |
11533 | 2005-03-07 Andreas Schwab <schwab@suse.de> |
11534 | ||
11535 | * blockinput.h (UNBLOCK_INPUT_TO): Always call UNBLOCK_INPUT. | |
11536 | ||
85d964de RS |
11537 | 2005-03-06 Richard M. Stallman <rms@gnu.org> |
11538 | ||
11539 | * keyboard.c (Ftop_level): Let Fthrow deal with UNBLOCK_INPUT. | |
11540 | ||
11541 | * eval.c (unwind_to_catch): Use UNBLOCK_INPUT_TO. | |
11542 | (Feval, Ffuncall): Use CHECK_CONS_LIST. | |
11543 | ||
11544 | * lisp.h (CHECK_CONS_LIST): New macro (two definitions). | |
11545 | ||
11546 | * blockinput.h (UNBLOCK_INPUT_TO): New macro. | |
11547 | (TOTALLY_UNBLOCK_INPUT): Handle a pending signal if any. | |
11548 | ||
3ff96c81 JL |
11549 | 2005-03-05 Juri Linkov <juri@jurta.org> |
11550 | ||
11551 | * emacs.c (USAGE1): Replace Info node name "command arguments" | |
11552 | with "emacs invocation". | |
11553 | (USAGE3): Fix usage of `--color=MODE' which actually doesn't | |
11554 | allow arguments `--color' and `MODE' to be separated by space. | |
11555 | Add --no-blinking-cursor, -nbc. | |
11556 | (standard_args): Add -nbc, --no-blinking-cursor. | |
11557 | ||
64eb0083 TTN |
11558 | 2005-03-04 Thien-Thi Nguyen <ttn@gnu.org> |
11559 | ||
11560 | * s/vms.h: Define NO_HYPHENS_IN_FILENAMES. | |
11561 | * s/vms4-4.h, s/vms5-5.h: Undefine NO_HYPHENS_IN_FILENAMES. | |
11562 | * fileio.c (Fexpand_file_name) [VMS]: | |
11563 | Use NO_HYPHENS_IN_FILENAMES, not VMS4_4. | |
11564 | * doc.c (munge_doc_file_name) [VMS]: Likewise. | |
11565 | (Fsnarf_documentation): Call munge_doc_file_name. | |
11566 | ||
ad708ae5 TTN |
11567 | 2005-03-04 Thien-Thi Nguyen <ttn@gnu.org> |
11568 | ||
11569 | * s/vms.h (FILE_SYSTEM_CASE): New macro. | |
11570 | * fileio.c (Fexpand_file_name) [VMS]: Don't upcase the name | |
11571 | "manually"; this is now handled generally via FILE_SYSTEM_CASE. | |
11572 | ||
ba025f6d YM |
11573 | 2005-03-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11574 | ||
11575 | * emacs.c (main): Change `#ifdef HAVE_CARBON' to `#if | |
11576 | defined (MAC_OSX) && defined (HAVE_CARBON)'. | |
ad708ae5 | 11577 | |
dac24db4 | 11578 | * image.c [!MAC_OSX && TARGET_API_MAC_CARBON]: Include QuickTime.h. |
ba025f6d YM |
11579 | |
11580 | * mac.c [!MAC_OSX && HAVE_CARBON]: Include Carbon.h. | |
11581 | [!MAC_OSX] (select) [TARGET_API_MAC_CARBON]: Use ReceiveNextEvent. | |
dac24db4 | 11582 | (posix_pathname_to_fsspec, fsspec_to_posix_pathname): New functions. |
ba025f6d YM |
11583 | (mac_clear_font_name_table): Move extern to macterm.h. |
11584 | ||
11585 | * macfns.c (install_window_handler): Move extern to macterm.h. | |
11586 | (Fx_file_dialog): Check STRINGP (default_filename) to see it is | |
11587 | valid. Don't check !NILP (dir) because it is already checked with | |
11588 | CHECK_STRING. | |
11589 | (Fx_file_dialog) [!MAC_OSX]: Use FSSpec instead of FSRef for | |
dac24db4 | 11590 | specifying the default location and obtaining the selected filename. |
ba025f6d YM |
11591 | |
11592 | * macgui.h [!MAC_OSX && HAVE_CARBON]: Include Carbon.h. | |
11593 | ||
2313f861 | 11594 | * macmenu.c [TARGET_API_MAC_CARBON]: Don't include headers that |
ba025f6d YM |
11595 | are included via Carbon.h. |
11596 | ||
dac24db4 SM |
11597 | * macterm.c [TARGET_API_MAC_CARBON && !MAC_OSX]: |
11598 | Define USE_CARBON_EVENTS to 1. | |
2313f861 | 11599 | (qd) [__MRC__ && TARGET_API_MAC_CARBON]: Don't declare. |
ba025f6d YM |
11600 | (x_free_frame_resources): Call remove_window_handler for |
11601 | non-tooltip windows. | |
11602 | [TARGET_API_MAC_CARBON]: Don't include headers that are included | |
11603 | via Carbon.h. | |
11604 | [TARGET_API_MAC_CARBON] (mac_do_track_dragUPP) | |
11605 | (mac_do_receive_dragUPP): New variables. | |
11606 | (mac_handle_service_event, init_service_handler): Put declarations | |
11607 | and definitions in #ifdef MAC_OSX. | |
11608 | (install_window_handler) [TARGET_API_MAC_CARBON]: Create UPPs for | |
11609 | drag-and-drop handler functions and register them. | |
11610 | (remove_window_handler): New function. | |
dac24db4 SM |
11611 | (do_ae_open_documents, mac_do_receive_drag) [!MAC_OSX]: |
11612 | Use fsspec_to_posix_pathname. | |
ba025f6d YM |
11613 | (main): Change #if !TARGET_API_MAC_CARBON to #ifdef MAC_OS8. |
11614 | (XTread_socket) [!MAC_OSX]: Don't pass keyboard events to TSM. | |
dac24db4 SM |
11615 | [MAC_OS8] (make_mac_terminal_frame) [TARGET_API_MAC_CARBON]: |
11616 | Set default cursors. | |
251db0f4 | 11617 | (mac_initialize) [USE_CARBON_EVENTS && !MAC_OSX]: Don't call |
ba025f6d YM |
11618 | init_service_handler or init_quit_char_handler. |
11619 | (mac_initialize) [!MAC_OSX]: Don't call MakeMeTheFrontProcess. | |
11620 | ||
11621 | * macterm.h (install_window_handler, remove_window_handler) | |
11622 | (posix_pathname_to_fsspec, fsspec_to_posix_pathname) | |
11623 | (mac_clear_font_name_table): New externs. | |
ad708ae5 | 11624 | |
c1558952 TTN |
11625 | 2005-03-03 Thien-Thi Nguyen <ttn@gnu.org> |
11626 | ||
11627 | * fileio.c (FILE_SYSTEM_CASE): Define macro if not already defined. | |
11628 | (Ffile_name_directory): Use FILE_SYSTEM_CASE unconditionally. | |
11629 | (Fexpand_file_name): Likewise. | |
11630 | ||
fa439170 TTN |
11631 | 2005-03-03 Thien-Thi Nguyen <ttn@gnu.org> |
11632 | ||
11633 | * emacs.c (Fkill_emacs): Use EXIT_SUCCESS; | |
11634 | no longer special-case VMS. Add bogus return value. | |
11635 | ||
db2dacf6 KS |
11636 | 2005-03-02 Kim F. Storm <storm@cua.dk> |
11637 | ||
11638 | * dispextern.h (XASSERTS): Define to 0 if not already defined. | |
11639 | (xassert) [!XASSERTS]: Define dummy version. | |
11640 | ||
0870514c KS |
11641 | 2005-03-02 Kim F. Storm <storm@cua.dk> |
11642 | ||
11643 | * xdisp.c (redisplay_window): YABX (yet another bogus xassert). | |
11644 | Reported by David Kastrup. | |
11645 | ||
6b640092 KS |
11646 | 2005-03-01 Ehud Karni <ehud@unix.mvs.co.il> |
11647 | ||
11648 | * xdisp.c (get_next_display_element): Fix control and escape | |
11649 | glyph from display vector. | |
11650 | ||
f4a5a485 SM |
11651 | 2005-03-01 Stefan Monnier <monnier@iro.umontreal.ca> |
11652 | ||
11653 | * keyboard.c (Fposn_at_x_y): Check integerness of X and Y. | |
11654 | ||
85d964de RS |
11655 | 2005-02-27 Richard M. Stallman <rms@gnu.org> |
11656 | ||
11657 | * xdisp.c (fast_find_position): Rename END to BEG. | |
11658 | (syms_of_xdisp) <menu-bar-update-hook>: Doc fix. | |
11659 | ||
6e8db3ea JD |
11660 | 2005-02-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11661 | ||
f4a5a485 | 11662 | * gtkutil.c (xg_resize_outer_widget): Remove unneeded call to |
6e8db3ea JD |
11663 | gtk_window_resize and x_wm_set_size_hint. |
11664 | ||
0f465b55 KS |
11665 | 2005-02-25 Kim F. Storm <storm@cua.dk> |
11666 | ||
11667 | * dispextern.h (OVERLAY_STRING_CHUNK_SIZE): Increase from 3 to 16. | |
11668 | ||
11669 | * xdisp.c (init_from_display_pos): Don't read past end of | |
11670 | it->overlay_strings array. | |
11671 | ||
d5fb8dab | 11672 | 2005-02-25 Stephan Stahl <stahl@eos.franken.de> (tiny change) |
845a78b4 LK |
11673 | |
11674 | * buffer.c (syms_of_buffer): Fix typo. | |
11675 | ||
b02c3eed LK |
11676 | 2005-02-23 Lute Kamstra <lute@gnu.org> |
11677 | ||
11678 | * buffer.c (Foverlay_buffer): Doc fix. | |
11679 | ||
c8500765 KS |
11680 | 2005-02-22 Kim F. Storm <storm@cua.dk> |
11681 | ||
b686dd59 KS |
11682 | * minibuf.c (Ftry_completion, Fall_completions): Allow both string |
11683 | and symbol keys in alists and hash tables. | |
11684 | ||
c8500765 KS |
11685 | * xdisp.c (fast_find_position): Fix search for start of overlay. |
11686 | ||
81c85b53 KS |
11687 | 2005-02-21 Kim F. Storm <storm@cua.dk> |
11688 | ||
11689 | * window.c (window_scroll_pixel_based): When scrolling backwards, | |
11690 | handle partial visible line at end of window even when we hit PT. | |
11691 | ||
f4a5a485 | 11692 | 2005-02-21 Stefan Monnier <monnier@iro.umontreal.ca> |
9df747e1 SM |
11693 | |
11694 | * keymap.h: Declare Fcurrent_active_maps, used in doc.c. | |
11695 | ||
0dd5a842 KS |
11696 | 2005-02-21 Kim F. Storm <storm@cua.dk> |
11697 | ||
11698 | * xdisp.c (move_it_vertically_backward): Eliminate two xasserts. | |
11699 | I think those asserts are bogus if buffer contains invisible text | |
11700 | or images. | |
11701 | ||
d5fb8dab | 11702 | 2005-02-21 David Kastrup <dak@gnu.org> |
19e05d1f KS |
11703 | |
11704 | * gtkutil.c (xg_create_frame_widgets): UNBLOCK_INPUT on error. | |
11705 | ||
0fba9f25 KS |
11706 | 2005-02-20 Kim F. Storm <storm@cua.dk> |
11707 | ||
11708 | * xdisp.c (pos_visible_p): Be sure to move to the specified | |
11709 | position. Always get the full ascent / descent of the | |
11710 | corresponding row, to return reliable rtop and rbot values. | |
11711 | (back_to_previous_visible_line_start): Fix 2005-01-18 change. | |
11712 | Must look one character back, as back_to_previous_line_start | |
11713 | returns position after the newline. | |
11714 | (move_it_vertically_backward): Fix heuristic for when to move further | |
11715 | back in case line_height * 2/3 is larger than window height. | |
11716 | (cursor_row_fully_visible_p): Rename make_cursor_line_fully_visible_p | |
11717 | as it does not do anything anymore. Add arg current_matrix_p to | |
11718 | use current matrix rather than desired matrix when set. | |
11719 | (try_cursor_movement): Don't scroll to make cursor row fully | |
11720 | visible if cursor didn't move. This avoids unexpected recentering | |
11721 | in case of blinking cursor or accepting process output. | |
11722 | Use current matrix to check cursor row visibility. | |
11723 | (redisplay_window): Fix whether to recenter or move to top in case | |
11724 | cursor line is taller than window height. | |
11725 | (find_first_unchanged_at_end_row): Stop search if we reach a row | |
11726 | which not enabled (instead of abort). | |
11727 | ||
b1c2adc3 KS |
11728 | 2005-02-18 Kim F. Storm <storm@cua.dk> |
11729 | ||
c2ee48fb KS |
11730 | * xfaces.c (Finternal_set_lisp_face_attribute): Allow :color property |
11731 | to be nil in a :box attribute value list; customize prints that | |
11732 | as lisp value when no box color is specified. | |
11733 | ||
b1c2adc3 KS |
11734 | * .gdbinit (pitx, pit): Pretty print display iterator. |
11735 | (prowx, prow): Pretty print glyph row. | |
11736 | (pcursorx, pcursor): Pretty print a window cursor. | |
11737 | (pwinx, pwin): Pretty print struct window. | |
11738 | ||
f102186f SM |
11739 | 2005-02-18 Stefan Monnier <monnier@iro.umontreal.ca> |
11740 | ||
11741 | * alloc.c (BLOCK_BYTES): Harmless typo. | |
11742 | ||
9b516537 AS |
11743 | 2005-02-17 Andreas Schwab <schwab@suse.de> |
11744 | ||
11745 | * xfns.c (hack_wm_protocols): Use correct type for last parameter | |
11746 | of XGetWindowProperty to avoid aliasing issues. | |
11747 | (Fx_window_property): Likewise. | |
11748 | ||
11749 | * xselect.c (Fx_disown_selection_internal): Use union of struct | |
f4a5a485 | 11750 | input_event and struct selection_input_event to avoid aliasing issues. |
9b516537 AS |
11751 | |
11752 | * xterm.c (handle_one_xevent): Use union of struct input_event and | |
11753 | struct selection_input_event to avoid aliasing issues. | |
11754 | (SET_SAVED_MENU_EVENT): Adapt reference to inev. | |
11755 | ||
886b1418 KS |
11756 | 2005-02-17 Kim F. Storm <storm@cua.dk> |
11757 | ||
11758 | * dispextern.h (enum it_method): New enum. | |
11759 | (GET_FROM_*): Its members. | |
11760 | (struct it): Change member method from function pointer to enum. | |
11761 | ||
11762 | * xdisp.c (check_it, init_from_display_pos, handle_stop) | |
11763 | (setup_for_ellipsis, handle_single_display_spec) | |
11764 | (handle_composition_prop, next_overlay_string) | |
11765 | (get_overlay_strings, reseat_1, reseat_to_string) | |
11766 | (next_element_from_ellipsis, BUFFER_POS_REACHED_P) | |
11767 | (in_display_vector_p, display_line, get_next_display_element): | |
11768 | Change it->method from function pointer to enum. | |
11769 | (get_next_element): New array to map it->method to function. | |
11770 | (get_next_display_element): Use it. | |
11771 | (set_iterator_to_next): Use switch instead of if/else chain. | |
11772 | ||
99ee2c6a | 11773 | 2005-02-15 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> |
52c7f9ee JR |
11774 | |
11775 | * w32select.c: Summary: Thorough rework to implement Unicode | |
11776 | clipboard operations and delayed rendering. | |
11777 | ||
11778 | Drop last_clipboard_text and related code, keep track of | |
f4a5a485 | 11779 | ownership via clipboard_owner instead. Drop old #if0 sections. |
52c7f9ee JR |
11780 | |
11781 | (DEFAULT_LCID, ANSICP, OEMCP, QUNICODE, QANSICP, QOEMCP) | |
11782 | (clipboard_owner, modifying_clipboard, cfg_coding_system) | |
11783 | (cfg_codepage, cfg_lcid, cfg_clipboard_type, current_text) | |
11784 | (current_coding_system, current_requires_encoding) | |
f4a5a485 SM |
11785 | (current_num_nls, current_clipboard_type, current_lcid): |
11786 | New static variables. | |
52c7f9ee JR |
11787 | |
11788 | (convert_to_handle_as_ascii, convert_to_handle_as_coded) | |
11789 | (render, render_all, run_protected, lisp_error_handler) | |
11790 | (owner_callback, create_owner, setup_config) | |
f4a5a485 SM |
11791 | (enum_locale_callback, cp_from_locale, coding_from_cp): |
11792 | New local functions. | |
52c7f9ee JR |
11793 | |
11794 | (term_w32select, globals_of_w32select): New global functions. | |
11795 | ||
11796 | (Fw32_set_clipboard_data): Ignore parameter FRAME, use | |
11797 | clipboard_owner instead. Use delayed rendering and provide | |
11798 | all text formats. Provide CF_LOCALE if necessary. | |
11799 | ||
11800 | (Fw32_get_clipboard_data): Handle CF_UNICODETEXT and | |
11801 | CF_LOCALE. Fall back to CF_TEXT, if CF_UNICODETEXT is not | |
11802 | available. Force DOS line-ends for decoding. | |
11803 | ||
11804 | (Fx_selection_exists_p): Handle CF_UNICODETEXT. | |
11805 | ||
11806 | (syms_of_w32select): Init and register new variables. | |
11807 | ||
11808 | * w32.h: Add prototypes for globals_of_w32select and | |
11809 | term_w32select. Make the neighboring K&R declarations into | |
11810 | prototypes, too. | |
11811 | ||
11812 | * emacs.c: Include w32.h to get function prototypes. | |
11813 | (main): Call globals_of_w32select. | |
11814 | ||
886b1418 | 11815 | * w32.c (term_ntproc): Call term_w32select. |
52c7f9ee JR |
11816 | |
11817 | * s/ms-w32.h: Guard MSC-specific #pragmas with an #ifdef. | |
11818 | ||
86e61586 KS |
11819 | 2005-02-16 Kim F. Storm <storm@cua.dk> |
11820 | ||
11821 | * xdisp.c (BUFFER_POS_REACHED_P): Return true if pos reached and | |
11822 | at end of display vector. | |
11823 | ||
6407f07b RS |
11824 | 2005-02-15 Richard M. Stallman <rms@gnu.org> |
11825 | ||
11826 | * xdisp.c (get_next_display_element): Fix escape-glyph criterion | |
11827 | for mode and header lines. | |
11828 | ||
11829 | * lread.c (syms_of_lread) <user-init-file>: Doc fix. | |
11830 | ||
11831 | * keymap.h (describe_map_tree): Change decl. | |
11832 | ||
11833 | * keyboard.c (command_loop_1): Always use safe_run_hooks | |
11834 | to run Qdeferred_action_function. | |
11835 | ||
11836 | * keymap.c (describe_map_tree): New arg MENTION_SHADOW. Calls changed. | |
11837 | (describe_map, describe_vector): Likewise. When it's 1, | |
11838 | don't omit shadowed bindings, instead mark them as shadowed. | |
11839 | ||
11840 | * doc.c (Fsubstitute_command_keys): Compute list of shadowing maps | |
11841 | for describe_map_tree. Pass 1 for MENTION_SHADOW. | |
11842 | ||
11843 | * data.c (Fsetq_default): Allow no arg case. | |
11844 | ||
3bb917bf KH |
11845 | 2005-02-14 Kenichi Handa <handa@m17n.org> |
11846 | ||
11847 | * coding.c (encode_coding_string): Always return a unibyte string. | |
11848 | If NOCOPY is nonzero and there's no need of encoding, make STR | |
11849 | unibyte directly. | |
11850 | ||
11851 | * xselect.c (lisp_data_to_selection_data): If OBJ is a non-ASCII | |
11852 | multibyte string, signal an error instead of aborting. | |
11853 | ||
e31d908f DN |
11854 | 2005-02-12 Dan Nicolaescu <dann@ics.uci.edu> |
11855 | ||
11856 | * keyboard.c: If HAVE_FCNTL_H include fcntl.h. | |
11857 | ||
48e029b6 KS |
11858 | 2005-02-12 Kim F. Storm <storm@cua.dk> |
11859 | ||
11860 | * xdisp.c (expose_window): Don't fix overlaps for mode lines. | |
11861 | ||
c10bb00a KS |
11862 | 2005-02-10 Kim F. Storm <storm@cua.dk> |
11863 | ||
11864 | * xdisp.c (try_window_id): Set first_unchanged_at_end_row to NULL | |
11865 | if it moves outside window or it doesn't display text. | |
11866 | ||
9ca0f64a KS |
11867 | 2005-02-09 Kim F. Storm <storm@cua.dk> |
11868 | ||
11869 | * undo.c (Fprimitive_undo): Check that undo function does not | |
11870 | switch buffer. | |
11871 | ||
b8d6f4af JD |
11872 | 2005-02-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11873 | ||
11874 | * xselect.c (selection_data_to_lisp_data): For the special case | |
11875 | type == XA_ATOM, data contains array of int, not array of Atom. | |
d5161e8c SM |
11876 | (x_property_data_to_lisp, selection_data_to_lisp_data): |
11877 | Comment update: data must be array of int for format == 32. | |
b8d6f4af | 11878 | |
3419757d SM |
11879 | 2005-02-08 Stefan Monnier <monnier@iro.umontreal.ca> |
11880 | ||
11881 | * undo.c (Fprimitive_undo): Check veracity of delta,start,end. | |
11882 | ||
3a441526 JD |
11883 | 2005-02-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11884 | ||
fc34503b JD |
11885 | * xfns.c (Fx_change_window_property): Use long array when format is 32. |
11886 | (Fx_window_property): If format is 32 and long is bigger than 32 bits, | |
11887 | convert long array returned from XGetWindowProperty to an int array. | |
bae45dc3 JD |
11888 | (x_set_tool_bar_lines): Check that width and height is greater than |
11889 | zero before clearing area. | |
fc34503b JD |
11890 | |
11891 | * xselect.c (x_reply_selection_request): Pass long array to | |
11892 | XChangeProperty so that 64 bit longs are handeled correctly. | |
11893 | (x_get_window_property): If format is 32 and long is bigger than 32 | |
11894 | bits convert data from XGetWindowProperty from long array to int array. | |
11895 | (lisp_data_to_selection_data): When the input is a vector and the | |
11896 | format is 32, allocate a long array even if long is bigger than 32 bits. | |
11897 | (x_fill_property_data): Use char, short and long as the man page | |
11898 | for XChangeProperty specifies. This way the data returned is OK for | |
11899 | both 32 and 64 bit machines. | |
11900 | (x_handle_dnd_message): Calculate size correctly even for 64 bit | |
11901 | machines. | |
11902 | (Fx_send_client_event): Undo change from 2005-02-05, | |
11903 | x_fill_property_data now handles that case. | |
11904 | ||
3419757d | 11905 | * xfns.c (Fx_backspace_delete_keys_p): Add comment about the |
3a441526 JD |
11906 | reason for the approach in the code. |
11907 | ||
82ec225b KS |
11908 | 2005-02-07 Kim F. Storm <storm@cua.dk> |
11909 | ||
11910 | * undo.c (Fprimitive_undo): Record max one dummmy apply element. | |
11911 | ||
ba2c991c RS |
11912 | 2005-02-06 Richard M. Stallman <rms@gnu.org> |
11913 | ||
11914 | * eval.c (Frun_hook_with_args) | |
11915 | (Frun_hook_with_args_until_success) | |
11916 | (Frun_hook_with_args_until_failure): Doc fixes. | |
11917 | ||
e120ea40 AS |
11918 | 2005-02-05 Andreas Schwab <schwab@suse.de> |
11919 | ||
3419757d | 11920 | * sysdep.c (sys_subshell): Properly terminate execlp argument list. |
e120ea40 | 11921 | |
31f16913 JD |
11922 | 2005-02-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11923 | ||
11924 | * xselect.c (Fx_send_client_event, x_handle_dnd_message): Handle | |
11925 | the longs in a XClientMessageEvent correctly when long is 64 bits. | |
11926 | ||
6082a820 EZ |
11927 | 2005-02-05 Eli Zaretskii <eliz@gnu.org> |
11928 | ||
11929 | * xfaces.c (face_color_supported_p): Use HAVE_WINDOW_SYSTEM | |
11930 | instead of HAVE_X_WINDOWS, for non-X windowed sessions. | |
11931 | ||
0e95095b JD |
11932 | 2005-02-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
11933 | ||
11934 | * xmenu.c (menubar_selection_callback): Force out GTK buffered | |
11935 | events so the menu event comes after them. This is to prevent sit-for | |
11936 | from exiting on buffered events directly after a menu selection, | |
11937 | lisp code for Help => About Emacs uses sit-for. | |
11938 | ||
11939 | * gtkutil.c (create_menus): Connect selection-done event instead of | |
11940 | the deactivate event to deactivate_cb. This will make the last | |
11941 | leave event come before the call to deactivate_cb, so the leave | |
11942 | event does not make sit-for exit after a menu selection. | |
11943 | ||
5bb6a3c1 KS |
11944 | 2005-02-03 Kim F. Storm <storm@cua.dk> |
11945 | ||
11946 | * dispnew.c (build_frame_matrix_from_leaf_window) | |
11947 | [!GLYPH_DEBUG]: Fix xassert. | |
11948 | ||
11949 | * xfaces.c (x_free_gc) [!GLYPH_DEBUG]: Fix xassert. | |
11950 | ||
11951 | * xfns.c (unwind_create_frame) [!GLYPH_DEBUG]: Fix xassert. | |
11952 | ||
e9859e26 YM |
11953 | 2005-02-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
11954 | ||
11955 | * mac.c: Use MAC_OS_X_VERSION_MAX_ALLOWED to conditionalize by | |
11956 | the compiling OS version. | |
11957 | ||
11958 | * macfns.c (x_create_tip_frame): Likewise. | |
11959 | ||
3419757d | 11960 | * macterm.c (mac_draw_string_common, x_make_frame_visible): Likewise. |
e9859e26 | 11961 | |
4e07258f RS |
11962 | 2005-02-03 Richard M. Stallman <rms@gnu.org> |
11963 | ||
11964 | * xterm.c (x_error_quitter): On GCC 3 and up, specify noinline. | |
11965 | ||
11966 | * xdisp.c (echo_area_display): Clear echo_message_buffer. | |
11967 | ||
11968 | * buffer.c (Fbury_buffer): Doc fix. | |
11969 | ||
4a34b529 ST |
11970 | 2005-02-02 Steven Tamm <steventamm@mac.com> |
11971 | ||
7e26f91b | 11972 | * macfns.c (unwind_create_frame): Fix compile error due to |
f6c62d96 | 11973 | xassert being uncondition, but predicate is. |
7e26f91b | 11974 | * dispnew.c (update_window): Fix compile error due to |
f6c62d96 | 11975 | xassert being uncondition, but predicate is. |
4a34b529 | 11976 | |
d78f30b8 MB |
11977 | 2005-02-02 Miles Bader <miles@gnu.org> |
11978 | ||
11979 | * dispextern.h (xassert): Enable unconditionally. | |
11980 | ||
b044278d KS |
11981 | 2005-02-02 Kim F. Storm <storm@cua.dk> |
11982 | ||
11983 | * undo.c (Fprimitive_undo): Fix dummy apply undo entry. | |
11984 | ||
56072160 KH |
11985 | 2005-02-02 Kenichi Handa <handa@m17n.org> |
11986 | ||
11987 | * casefiddle.c (casify_object): Enable changing characters of | |
11988 | different byte length. | |
11989 | (casify_region): Fix loop condition, args to replace_range_2, and | |
11990 | update opoint_byte. | |
11991 | ||
f4a5a485 | 11992 | * insdel.c (replace_range_2): Fix bugs in adjusting markers and point. |
56072160 | 11993 | |
5e1674c5 KS |
11994 | 2005-02-01 Kim F. Storm <storm@cua.dk> |
11995 | ||
11996 | * xdisp.c (back_to_previous_visible_line_start): Reset iterator | |
11997 | stack before calling handle_display_prop. | |
11998 | ||
fb89c330 KS |
11999 | 2005-01-31 Kim F. Storm <storm@cua.dk> |
12000 | ||
12001 | * undo.c (Qapply): New lisp var. | |
12002 | (syms_of_undo): Intern and staticpro it. | |
12003 | (Fprimitive_undo): Support formats (apply FUNNAME . ARGS) and | |
12004 | (apply DELTA BEG END FUNNAME . ARGS) instead of (FUNNAME . ARGS). | |
12005 | ||
12006 | * buffer.c (syms_of_buffer) <buffer-undo-list>: Doc fix. | |
12007 | ||
7bf72fa6 JH |
12008 | 2005-01-30 Jesper Harder <harder@phys.au.dk> |
12009 | ||
a050b1a9 KS |
12010 | * macterm.c (syms_of_macterm) <mac-reverse-ctrl-meta> |
12011 | <mac-emulate-three-button-mouse>: Fix docstring indentation. | |
7bf72fa6 | 12012 | |
03c64f2e LT |
12013 | 2005-01-29 Luc Teirlinck <teirllm@auburn.edu> |
12014 | ||
12015 | * undo.c (syms_of_undo) <undo-outer-limit>: Doc update. | |
6de38aa3 | 12016 | Increase value to 3 Meg. |
03c64f2e | 12017 | |
49b8b5dc JD |
12018 | 2005-01-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12019 | ||
12020 | * xfns.c (show_hourglass): Use FRAME_X_WINDOW as parent for GTK, | |
12021 | button events are not received otherwise. | |
12022 | ||
5a92a9eb RS |
12023 | 2005-01-29 Richard M. Stallman <rms@gnu.org> |
12024 | ||
12025 | * buffer.c (syms_of_buffer) <buffer-undo-list>: Doc fix. | |
12026 | ||
12027 | * undo.c (Fprimitive_undo): Handle (FUNNAME . ARGS) by calling FUNNAME. | |
12028 | ||
5c243ee4 SM |
12029 | 2005-01-28 Stefan Monnier <monnier@iro.umontreal.ca> |
12030 | ||
12031 | * keymap.c (access_keymap): YAILOM. | |
12032 | ||
caf533af KS |
12033 | 2005-01-27 Kim F. Storm <storm@cua.dk> |
12034 | ||
12035 | * xdisp.c (get_phys_cursor_geometry): New function to calculate | |
12036 | phys cursor position and size for hollow cursor. Position is | |
12037 | aligned with get_glyph_string_clip_rect and ensures that a hollow | |
12038 | cursor is shown, even when the actual glyph is not visible. | |
12039 | ||
12040 | * dispextern.h (get_phys_cursor_geometry): Add prototype. | |
12041 | ||
12042 | * xterm.c (x_clip_to_row): Ensure y >= 0. | |
12043 | (x_draw_hollow_cursor): Use get_phys_cursor_geometry. | |
12044 | ||
12045 | * w32term.c (x_draw_hollow_cursor): Use get_phys_cursor_geometry. | |
12046 | ||
12047 | * macterm.c (x_draw_hollow_cursor): Use get_phys_cursor_geometry. | |
12048 | ||
043f7f73 SM |
12049 | 2005-01-27 Stefan Monnier <monnier@iro.umontreal.ca> |
12050 | ||
12051 | * xterm.c (x_error_quitter): Add a prototype. Make it static again. | |
12052 | ||
889f3641 KS |
12053 | 2005-01-27 Kim F. Storm <storm@cua.dk> |
12054 | ||
12055 | * xdisp.c (get_glyph_string_clip_rect): Always show a cursor | |
12056 | glyph, even when row is only partially visible and actual cursor | |
12057 | position is not visible. | |
12058 | ||
29099c2f RS |
12059 | 2005-01-24 Richard M. Stallman <rms@gnu.org> |
12060 | ||
12061 | * xterm.c (x_error_quitter): No longer static, and moved after | |
12062 | x_error_handler. | |
12063 | ||
6adb6f01 KS |
12064 | 2005-01-24 Kim F. Storm <storm@cua.dk> |
12065 | ||
12066 | * xdisp.c (move_it_by_lines): If we move forward after going too | |
12067 | far back, cancel move if end position is same as start position. | |
12068 | ||
4d904fa0 ST |
12069 | 2005-01-24 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
12070 | ||
12071 | * dispextern.h (struct glyph_string): New members clip_head and | |
12072 | clip_tail. | |
6adb6f01 | 12073 | |
4d904fa0 ST |
12074 | * xdisp.c (get_glyph_string_clip_rect): Restrict horizontal clip |
12075 | region to the area between clip_head and clip_tail. | |
12076 | (draw_glyphs): Record the area that need to be actually redrawn to | |
12077 | the new variables clip_head and clip_tail when there are | |
12078 | overhangs. Set values of these variables to the corresponding | |
12079 | members in struct glyph_string. Refine x coordinates for | |
12080 | notice_overwritten_cursor using clip_head and clip_tail. | |
6adb6f01 | 12081 | |
4d904fa0 ST |
12082 | * macgui.h (STORE_XCHARSETSTRUCT): New macro. |
12083 | ||
12084 | * macterm.c (mac_compute_glyph_string_overhangs): Implement with | |
12085 | QDTextBounds. | |
12086 | (x_draw_glyph_string): Don't fill the background of the successor | |
6adb6f01 | 12087 | of a glyph with a right overhang if the successor will draw a cursor. |
4d904fa0 | 12088 | (XLoadQueryFont): Obtain font metrics using QDTextBounds. |
6adb6f01 | 12089 | (x_redisplay_interface): Add entry for compute_glyph_string_overhangs. |
4d904fa0 | 12090 | |
f2417699 KS |
12091 | 2005-01-24 Kim F. Storm <storm@cua.dk> |
12092 | ||
6f67f013 KS |
12093 | * window.c (window_scroll_pixel_based): Fix scrolling in the wrong |
12094 | direction if window height was smaller than next-screen-context-lines. | |
12095 | Now always scroll at least one line in the requested direction. | |
12096 | Ensure that we actually do scroll backwards when requested to do so. | |
12097 | ||
f2417699 KS |
12098 | * xdisp.c (redisplay_window): Only try to make cursor line fully |
12099 | visible once (to avoid redisplay loop). | |
12100 | ||
a354b72c KS |
12101 | 2005-01-23 Kim F. Storm <storm@cua.dk> |
12102 | ||
6b3d88f7 | 12103 | * window.c (Fpos_visible_in_window_p): Simplify return value for |
8f958b40 | 12104 | partially visible rows. |
6b3d88f7 KS |
12105 | (window_scroll_pixel_based): Adapt to that change. |
12106 | ||
5c20cae2 KS |
12107 | * window.c (window_scroll_pixel_based): Force moving to next line |
12108 | if scrolling doesn't move start point, e.g. if looking at tall image. | |
12109 | ||
a354b72c | 12110 | * xdisp.c (pos_visible_p): Return 0 if non-interactive. |
5c20cae2 KS |
12111 | Clear last_height before calling line_bottom_y to get real height. |
12112 | Fix calculation of y. | |
a354b72c | 12113 | |
d9e7c622 ST |
12114 | 2005-01-22 Steven Tamm <steventamm@mac.com> |
12115 | ||
12116 | * s/darwin.h: Removed PTY_ITERATION from here. | |
043f7f73 | 12117 | (DARWIN): Define. |
7e26f91b | 12118 | |
d9e7c622 ST |
12119 | * process.c (init_process): Default process-connection-type to |
12120 | nil on darwin 6 or less, t if it is 7 or higher. This way the | |
12121 | broken pty behavior is still allowed on darwin 6 for interactive | |
12122 | processes for people that know what they are doing. | |
12123 | ||
d00e399a KS |
12124 | 2005-01-22 Kim F. Storm <storm@cua.dk> |
12125 | ||
12126 | * window.c (auto_window_vscroll_p): New boolean. | |
12127 | (syms_of_window): DEFVAR_BOOL it. | |
12128 | (Fpos_visible_in_window_p): Extend return value to include RTOP | |
12129 | and RBOT values if FULLY is nil. | |
12130 | (window_scroll_pixel_based): Adjust vscroll for partially visible | |
12131 | rows if auto_window_vscroll_p is set. | |
12132 | (Fset_window_vscroll): Do nothing if vscroll is not modified. | |
12133 | ||
12134 | * xdisp.c (pos_visible_p): Replace FULLY arg by RTOP and RBOT args | |
12135 | to return number of partially invisible pixels at top and bottom | |
12136 | of the dislay row at POS. | |
12137 | ||
12138 | * lisp.h (pos_visible_p): Fix prototype. | |
12139 | ||
f95a20e7 RS |
12140 | 2005-01-21 Richard M. Stallman <rms@gnu.org> |
12141 | ||
12142 | * fileio.c (Fcopy_file): Doc fix. | |
12143 | ||
eee141ce JD |
12144 | 2005-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12145 | ||
12146 | * gtkutil.c (xg_tool_bar_detach_callback): Remove unused variable bw. | |
12147 | (xg_get_file_name): Move declaration ofx_use_old_gtk_file_dialog to | |
12148 | start of function for older compilers. | |
12149 | ||
6f771c32 RS |
12150 | 2005-01-20 Richard M. Stallman <rms@gnu.org> |
12151 | ||
12152 | * editfns.c (Fmessage): If arg is "", return "" (as before). | |
12153 | ||
12154 | * keymap.c (access_keymap): Protect from bad value of meta_prefix_char. | |
12155 | ||
12156 | * .gdbinit (xgetptr, xgetint, xgettype): Copy $arg0 into a temp | |
12157 | variable. | |
12158 | ||
a15252fd ST |
12159 | 2005-01-20 Steven Tamm <steventamm@mac.com> |
12160 | ||
043f7f73 | 12161 | * editfns.c (Voperating_system_release): Add. |
a15252fd ST |
12162 | (init_editfns): Assign new variable operating-system-release |
12163 | based on call to uname if available. | |
043f7f73 | 12164 | (get_operating_system_release): Add function to |
d00e399a | 12165 | allow c-level access to operating system release. |
a15252fd ST |
12166 | |
12167 | * config.h: Regenerated. | |
12168 | ||
043f7f73 SM |
12169 | * s/darwin.h (PTY_ITERATION): Don't allow PTYs on darwin 6 or less. |
12170 | (MIN_PTY_KERNEL_VERSION): Define minimum kernel version for | |
a15252fd ST |
12171 | using ptys as '7'. |
12172 | ||
3d6a4b2d KS |
12173 | 2005-01-20 Kim F. Storm <storm@cua.dk> |
12174 | ||
62fc9b0f KS |
12175 | * alloc.c (STRING_MARKED_P, VECTOR_MARKED_P): Return boolean. |
12176 | ||
c310aca4 KS |
12177 | * xterm.c (x_draw_glyph_string_box): Fix last_x for full width rows. |
12178 | Thanks to Chong Yidong <cyd@stupidchicken.com> for debugging this. | |
12179 | ||
12180 | * macterm.c (x_draw_glyph_string_box): Likewise. | |
12181 | ||
12182 | * w32term.c (x_draw_glyph_string_box): Likewise. | |
12183 | ||
3d6a4b2d KS |
12184 | * indent.c (Fvertical_motion): Temporarily disable selective display. |
12185 | ||
27c8be45 KS |
12186 | 2005-01-19 Kim F. Storm <storm@cua.dk> |
12187 | ||
77db5cf3 KS |
12188 | * xdisp.c (note_mode_line_or_margin_highlight): Fix :pointer |
12189 | image property. | |
12190 | ||
27c8be45 KS |
12191 | * fns.c (sweep_weak_table): Advance prev pointer when we keep a pair. |
12192 | ||
81f498dc KS |
12193 | 2005-01-18 Kim F. Storm <storm@cua.dk> |
12194 | ||
12195 | * xdisp.c (fast_find_position): Backtrack to find first row if | |
12196 | charpos is inside a display overlay that spans multiple lines. | |
12197 | ||
1cdb0707 KH |
12198 | 2005-01-18 Kenichi Handa <handa@m17n.org> |
12199 | ||
12200 | * coding.c (decode_coding_iso2022): Translate invalid codes if | |
12201 | translation-table is specified. | |
12202 | ||
677159ce KS |
12203 | 2005-01-18 Kim F. Storm <storm@cua.dk> |
12204 | ||
12205 | * xdisp.c (back_to_previous_visible_line_start): Undo 2004-12-28 | |
12206 | change. If handle_display_prop indicates newline is replaced by | |
12207 | image or text, move back to start of relevant overlay or interval | |
12208 | and continue scan from there. Simplify. | |
12209 | ||
977284cc KS |
12210 | 2005-01-17 Kim F. Storm <storm@cua.dk> |
12211 | ||
043f7f73 SM |
12212 | * dispnew.c (mode_line_string, marginal_area_string): |
12213 | Fix off-by-one error in search for glyph. | |
977284cc | 12214 | |
e24531b7 KS |
12215 | 2005-01-16 Kim F. Storm <storm@cua.dk> |
12216 | ||
12217 | * macterm.c (syms_of_macterm) <mac-allow-anti-aliasing>: Doc fix. | |
12218 | ||
5ddd7664 ST |
12219 | 2005-01-16 Steven Tamm <steventamm@mac.com> |
12220 | ||
043f7f73 | 12221 | * macterm.c (mac_to_x_fontname): Remove spurious argument. |
5ddd7664 | 12222 | |
fc2ff44b AS |
12223 | 2005-01-16 Andreas Schwab <schwab@suse.de> |
12224 | ||
12225 | * macterm.c (mac_draw_string_common): Fix compilation on OSX 10.1. | |
12226 | ||
50af5100 JD |
12227 | 2005-01-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12228 | ||
12229 | * fringe.c (Fdefine_fringe_bitmap, init_fringe): When assigning | |
12230 | fringe_faces, cast result from xmalloc/xrealloc to Lisp_Object *. | |
12231 | ||
a2d5fca0 JD |
12232 | 2005-01-16 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
12233 | ||
12234 | * keyboard.c (READABLE_EVENTS_DO_TIMERS_NOW) | |
e24531b7 KS |
12235 | (READABLE_EVENTS_FILTER_EVENTS, READABLE_EVENTS_IGNORE_SQUEEZABLES): |
12236 | New flags for readable_events. | |
043f7f73 | 12237 | (get_filtered_input_pending, readable_filtered_events): Remove. |
a2d5fca0 JD |
12238 | (tracking_off): Call readable_events and get_input_pending with |
12239 | flag READABLE_EVENTS_DO_TIMERS_NOW. | |
12240 | (readable_events): Move code from old readable_filtered_events here, | |
12241 | but check new READABLE_EVENTS_* in argument flags instead of previous | |
12242 | two boolean arguments do_timers_now and filter_events. | |
12243 | If we are doing mouse tracking and the mouse moved, return only if | |
12244 | READABLE_EVENTS_IGNORE_SQUEEZABLES is not set in flags. | |
12245 | (swallow_events): Call get_input_pending with flag | |
12246 | READABLE_EVENTS_DO_TIMERS_NOW. | |
e24531b7 | 12247 | (get_input_pending): Move code from old get_filtered_input_pending |
a2d5fca0 JD |
12248 | here. Replace boolean arguments do_timers_now, filter_events with |
12249 | flags, and pass flags to readable_events. Document new | |
12250 | READABLE_EVENTS_* flags. | |
12251 | (detect_input_pending_ignore_squeezables): New function. | |
12252 | (detect_input_pending_run_timers): Call get_input_pending with flag | |
12253 | READABLE_EVENTS_DO_TIMERS_NOW. | |
12254 | (Finput_pending_p): Call get_input_pending with flags | |
12255 | READABLE_EVENTS_DO_TIMERS_NOW and READABLE_EVENTS_FILTER_EVENTS. | |
12256 | ||
12257 | * dispnew.c (update_window, update_frame_1): Replace calls to | |
12258 | detect_input_pending with detect_input_pending_ignore_squeezables | |
e24531b7 | 12259 | so that redisplay is not paused if the event queue contains only |
a2d5fca0 JD |
12260 | mouse movements. |
12261 | ||
12262 | * lisp.h: Declare detect_input_pending_ignore_squeezables. | |
12263 | ||
42afbcda ST |
12264 | 2005-01-15 Steven Tamm <steventamm@mac.com> |
12265 | ||
e24531b7 KS |
12266 | * macterm.c (Vmac_use_core_graphics): Declare variable for |
12267 | mac-allow-anti-aliasing. | |
12268 | (syms_of_macterm): DEFVAR_LISP and initialize it. | |
743d0696 | 12269 | (mac_draw_string_common): Use core graphics text rendering if |
0530c679 | 12270 | mac-allow-anti-aliasing is enabled. |
743d0696 | 12271 | |
42afbcda ST |
12272 | * macfns.c (Fx_file_dialog): Save As dialog includes only the |
12273 | file name in the text box. | |
12274 | ||
9cdd4884 ST |
12275 | 2005-01-15 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
12276 | ||
043f7f73 SM |
12277 | * macfns.c (x_set_foreground_color, x_set_background_color): |
12278 | Sync with xfns.c. | |
9cdd4884 ST |
12279 | (mac_window, x_create_tip_frame): Use XSetWindowBackground. |
12280 | * macterm.c (XSetBackground, XSetWindowBackground): New functions. | |
12281 | * macterm.h (XSetBackground, XSetWindowBackground): Add externs. | |
12282 | ||
88948d55 KS |
12283 | 2005-01-14 Kim F. Storm <storm@cua.dk> |
12284 | ||
12285 | * keyboard.c (Fposn_at_x_y): Add optional arg WHOLE. | |
12286 | ||
20d6de82 RS |
12287 | 2005-01-13 Richard M. Stallman <rms@gnu.org> |
12288 | ||
12289 | * keymap.c (Fcurrent_active_maps): Ignore Voverriding_local_map | |
12290 | if Voverriding_terminal_local_map is non-nil. | |
12291 | ||
12292 | * keyboard.c (syms_of_keyboard): Doc fix. | |
12293 | ||
f75a592e KS |
12294 | 2005-01-13 Kim F. Storm <storm@cua.dk> |
12295 | ||
12296 | * xdisp.c (Fformat_mode_line): Fix last change. Remove NO_PROPS arg | |
52eb0373 | 12297 | (specify 0 for FACE instead). Reorder arg list. Doc fix. |
f75a592e | 12298 | |
28f94a34 RS |
12299 | 2005-01-12 Richard M. Stallman <rms@gnu.org> |
12300 | ||
12301 | * xdisp.c (Fformat_mode_line): New arg FACE specifies a default | |
12302 | face property for characters that don't specify one. | |
12303 | ||
12304 | * fns.c (Frequire): Record in load-history unconditionally. | |
12305 | ||
57a230b1 KS |
12306 | 2005-01-10 Kim F. Storm <storm@cua.dk> |
12307 | ||
12308 | * dispextern.h (merge_faces): Rename from merge_into_realized_face. | |
12309 | ||
12310 | * xfaces.c (merge_faces): Rename from merge_into_realized_face. | |
12311 | Callers changed. | |
12312 | Add support to merge with lisp face id too (if face_name is t). | |
12313 | ||
12314 | * xdisp.c (get_next_display_element, next_element_from_display_vector): | |
12315 | Don't lookup lface_id from display table glyphs here; instead use | |
12316 | merge_faces to merge the lisp face id into current face. | |
12317 | ||
8ab2c119 KS |
12318 | 2005-01-09 Kim F. Storm <storm@cua.dk> |
12319 | ||
12320 | * dispextern.h (struct it): New member dpvec_face_id. | |
12321 | (merge_into_realized_face): Add prototype. | |
12322 | ||
12323 | * xfaces.c (merge_into_realized_face): New function. Used to | |
5e1a6e32 | 12324 | merge escape-glyph face or face from display table into current face. |
8ab2c119 KS |
12325 | |
12326 | * xdisp.c (Vshow_nonbreak_escape): New lisp var. | |
12327 | (syms_of_xdisp): DEFVAR_LISP it. | |
12328 | (escape_glyph_face): Remove var. | |
12329 | (redisplay_window): Don't initialize it. | |
12330 | (setup_for_ellipsis, get_next_display_element): | |
12331 | Set it->dpvec_face_id to -1. | |
12332 | (get_next_display_element): Test Vshow_nonbreak_escape. | |
12333 | Do not setup escape_glyph_face. | |
12334 | Properly merge escape-glyph face or face from display table with | |
043f7f73 SM |
12335 | current face for escape and control characters. |
12336 | Set it->dpvec_face_id to relevant face id instead of adding it to each | |
8ab2c119 KS |
12337 | element of display vector. |
12338 | (next_element_from_display_vector): If it->dpvec_face_id is set, | |
12339 | use that instead of lface_id from glyph itself. | |
12340 | ||
e0910857 JD |
12341 | 2005-01-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12342 | ||
12343 | * xterm.h (struct x_output): New member, toolbar_detached. | |
12344 | ||
12345 | * gtkutil.c (xg_create_frame_widgets): Set initial tool bar height to | |
12346 | 38. | |
12347 | (xg_tool_bar_detach_callback): Set toolbar_detached to 1. | |
12348 | (xg_tool_bar_attach_callback): Set toolbar_detached to 0. | |
12349 | (xg_create_tool_bar): Initialize toolbar_detached. | |
12350 | (update_frame_tool_bar): Only set FRAME_TOOLBAR_HEIGHT (f) if | |
12351 | toolbar_detached is zero. | |
12352 | ||
ff59904a JD |
12353 | 2005-01-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12354 | ||
9b85e63d JD |
12355 | * xmenu.c (create_and_show_popup_menu): Pass zero as button to |
12356 | gtk_menu_popup if not for_click, so callbacks for the menu are called. | |
12357 | ||
ff59904a JD |
12358 | * gtkutil.c (xg_gtk_scroll_destroy, xg_create_scroll_bar) |
12359 | (xg_tool_bar_callback, xg_tool_bar_help_callback) | |
043f7f73 | 12360 | (update_frame_tool_bar): Cast to EMACS_INT to avoid compiler warning. |
ff59904a JD |
12361 | |
12362 | * xselect.c (x_get_foreign_selection, x_fill_property_data) | |
8ab2c119 | 12363 | (Fx_get_atom_name, Fx_send_client_event): Replace XFLOAT with |
ff59904a JD |
12364 | XFLOAT_DATA to get extract number from Lisp object. |
12365 | ||
f9a23a6f KS |
12366 | 2005-01-07 Kim F. Storm <storm@cua.dk> |
12367 | ||
12368 | * xdisp.c (set_iterator_to_next): Fix 2004-12-13 change. | |
12369 | Set stop_charpos to current charpos instead of 0. | |
12370 | ||
28f94a34 RS |
12371 | 2005-01-06 Nick Roberts <nickrob@snap.net.nz> |
12372 | ||
12373 | * xdisp.c (Fformat_mode_line): First arg now required. | |
12374 | ||
a6fffcdc ST |
12375 | 2005-01-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
12376 | ||
12377 | * macterm.c (XLoadQueryFont): Correctly handle 0 size | |
12378 | font widths that are returned from some Japanese fonts. | |
12379 | ||
c35b0c6b KS |
12380 | 2005-01-06 Kim F. Storm <storm@cua.dk> |
12381 | ||
12382 | * fringe.c (fringe_faces): Change to Lisp_Object pointer. | |
12383 | (draw_fringe_bitmap_1): Lookup user defined fringe faces here. | |
12384 | (destroy_fringe_bitmap): Set fringe_faces element to nil. | |
12385 | (Fdefine_fringe_bitmap, init_fringe): Change allocation of | |
12386 | fringe_faces array and init elements to nil. | |
12387 | (Fset_fringe_bitmap_face): Set fringe_faces to face name instead of | |
12388 | non-persistent face id. | |
12389 | (mark_fringe_data): New function for GC. | |
12390 | ||
12391 | * alloc.c (mark_fringe_data): Declare extern. | |
12392 | (Fgarbage_collect): Call mark_fringe_data. | |
12393 | ||
12394 | * alloc.c (overrun_check_free): Invalidate freed memory if | |
12395 | XMALLOC_CLEAR_FREE_MEMORY is defined. | |
12396 | ||
e0e76ab9 ST |
12397 | 2005-01-05 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
12398 | ||
12399 | * macfns.c: Include sys/param.h. | |
12400 | [TARGET_API_MAC_CARBON] (mac_nav_event_callback): New declaration | |
12401 | and function. | |
12402 | [TARGET_API_MAC_CARBON] (Fx_file_dialog): Use MAXPATHLEN for size | |
12403 | of filename string. Set event callback function when creating | |
12404 | dialog boxes. Add code conversions for filenames. Don't dispose | |
71b7a47f | 12405 | of apple event descriptor record if failed to create it. |
e0e76ab9 ST |
12406 | |
12407 | * macterm.c: Include sys/param.h. | |
12408 | [USE_CARBON_EVENTS] (mac_handle_window_event): Add handler for | |
12409 | kEventWindowUpdate. | |
12410 | (install_window_handler) [USE_CARBON_EVENTS]: Register it. | |
12411 | (do_ae_open_documents) [TARGET_API_MAC_CARBON]: Get FSRef instead | |
12412 | of FSSpec from apple event descriptor record. | |
12413 | (do_ae_open_documents) [TARGET_API_MAC_CARBON]: Use MAXPATHLEN for | |
12414 | size of filename string. | |
12415 | [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Likewise. | |
12416 | [TARGET_API_MAC_CARBON] (mac_do_receive_drag): Return error when a | |
12417 | file dialog is in action. | |
043f7f73 SM |
12418 | [TARGET_API_MAC_CARBON] (mac_do_track_drag): Likewise. |
12419 | Reject only when there are no filename items. Set background color | |
e0e76ab9 | 12420 | before (un)highlighting the window below the dragged items. |
2313f861 | 12421 | (XTread_socket) [USE_CARBON_EVENTS]: Don't call do_window_update. |
e0e76ab9 | 12422 | |
043bc640 KH |
12423 | 2005-01-05 Romain Francoise <romain@orebokech.com> |
12424 | ||
12425 | * term.c (encode_terminal_code): Fix buffer size computation. | |
12426 | ||
dd496df6 RS |
12427 | 2005-01-04 Richard M. Stallman <rms@gnu.org> |
12428 | ||
12429 | * xdisp.c (Fformat_mode_line): Doc fix. | |
12430 | ||
026cdede SM |
12431 | 2005-01-04 Stefan Monnier <monnier@iro.umontreal.ca> |
12432 | ||
12433 | * alloc.c (refill_memory_reserve): Move. | |
12434 | (emacs_blocked_free, emacs_blocked_malloc, emacs_blocked_realloc) | |
12435 | (reset_malloc_hooks, uninterrupt_malloc) [SYNC_INPUT]: Don't define. | |
12436 | ||
d57c7572 RS |
12437 | 2005-01-03 Richard M. Stallman <rms@gnu.org> |
12438 | ||
12439 | * window.c (window_scroll_pixel_based): Don't correct preserve_y | |
12440 | for CURRENT_HEADER_LINE_HEIGHT when moving backwards. | |
12441 | ||
b14f868c JR |
12442 | 2005-01-03 Jason Rumney <jasonr@gnu.org> |
12443 | ||
12444 | * w32bdf.c (w32_load_bdf_font): Set fontp->average_width and | |
12445 | fontp->space_width to FONT_WIDTH so they are valid. | |
12446 | ||
12447 | * w32fns.c (w32_load_system_font): Set FONT_WIDTH to maximum, not | |
52eb0373 | 12448 | average width. Set fontp->average_width and fontp->space_width to |
b14f868c JR |
12449 | their appropriate values. |
12450 | ||
12451 | * w32term.c (x_new_font): Set FRAME_COLUMN_WIDTH to | |
12452 | fontp->average_width, not FONT_WIDTH. Set FRAME_SPACE_WIDTH to | |
12453 | fontp->space_width. | |
12454 | ||
e169f939 ST |
12455 | 2005-01-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
12456 | ||
12457 | * macterm.c (x_new_font): Set FRAME_SPACE_WIDTH. | |
12458 | (x_font_min_bounds, XLoadQueryFont): Use the correct font width | |
12459 | metrics for max and min bounds. | |
12460 | (x_load_font): Correctly calculate average font width metrics. | |
12461 | ||
19996af4 RS |
12462 | 2005-01-02 Richard M. Stallman <rms@gnu.org> |
12463 | ||
12464 | * alloc.c (Fgarbage_collect): Don't truncate_undo_list on dead buffers. | |
12465 | ||
42d02da0 JD |
12466 | 2004-12-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12467 | ||
12468 | * xterm.c (handle_one_xevent): Clear area in expose event for GTK. | |
12469 | ||
1db7dd46 RS |
12470 | 2004-12-31 Richard M. Stallman <rms@gnu.org> |
12471 | ||
b437860a RS |
12472 | * xdisp.c (setup_for_ellipsis, get_next_display_element): |
12473 | Set it->ellipsis_p to 1 or 0. | |
12474 | (display_line): Record whether row ends in mid-ellipsis. | |
52eb0373 | 12475 | (set_cursor_from_row): If ends in ellipsis, find start of it. |
b437860a RS |
12476 | (cursor_row_p): If PT's at the end of the ellipsis the row |
12477 | ends within, don't display cursor on this row. | |
12478 | ||
12479 | * dispextern.h (struct it): New element ellipsis_p. | |
12480 | (struct glyph_row): New element ends_in_ellipsis_p. | |
12481 | ||
12482 | * xdisp.c (BUFFER_POS_REACHED_P): We haven't reached the specified | |
12483 | position if we're reading from something other than the buffer. | |
12484 | ||
1db7dd46 RS |
12485 | * window.c (window_scroll_pixel_based): Only look at |
12486 | Vscroll_preserve_screen_position if the old PT can't be kept. | |
12487 | (syms_of_window) <scroll-preserve-screen-position>: Doc fix. | |
12488 | ||
1225f637 KS |
12489 | 2004-12-30 Kim F. Storm <storm@cua.dk> |
12490 | ||
12491 | * xdisp.c (get_line_height_property): New function extracted from | |
12492 | original calc_line_height_property. | |
12493 | (calc_line_height_property): Rework. Handle t and (nil . ratio). | |
12494 | (x_produce_glyphs): Use them to handle line-height and | |
12495 | line-spacing according to new height spec. | |
12496 | (Qtotal): Remove. | |
33b2f4ea | 12497 | (syms_of_xdisp): Remove intern and staticpro for Qtotal. |
1225f637 | 12498 | |
c243063e KH |
12499 | 2004-12-30 Kenichi Handa <handa@m17n.org> |
12500 | ||
12501 | * fileio.c (Finsert_file_contents): Don't use | |
12502 | current_buffer->buffer_file_coding_system even if REPLACE is | |
043f7f73 | 12503 | non-nil. Call Qafter_insert_file_set_coding with the second arg VISIT. |
c243063e KH |
12504 | |
12505 | * fontset.h (struct font_info): New members space_width and | |
12506 | average_width. | |
12507 | ||
12508 | * frame.h (struct frame): New member space_width. | |
12509 | (FRAME_SPACE_WIDTH): New macro. | |
12510 | ||
12511 | * xterm.h (struct x_display_info): New member Xatom_AVERAGE_WIDTH. | |
12512 | ||
12513 | * xterm.c (x_new_font): Set FRAME_COLUMN_WIDTH to | |
12514 | fontp->average_width, not FONT_WIDTH. Set FRAME_SPACE_WIDTH to | |
b14f868c | 12515 | fontp->space_width. |
043f7f73 | 12516 | (x_load_font): Calculate fontp->space_width and fontp->average_width. |
c243063e KH |
12517 | (x_term_init): Initialize dpyinfo->Xatom_AVERAGE_WIDTH. |
12518 | ||
12519 | * xdisp.c (x_produce_glyphs): Calculate tab width by | |
12520 | FRAME_SPACE_WIDTH, not FRAME_COLUMN_WIDTH. | |
12521 | ||
456e761b ST |
12522 | 2004-12-29 Sanghyuk Suh <han9kin@mac.com> |
12523 | ||
12524 | * macterm.c (SelectionRange): Add Xcode position apple event struct. | |
043f7f73 | 12525 | (do_ae_open_documents): Handle Xcode-style file position open events. |
456e761b | 12526 | |
188577ce LT |
12527 | 2004-12-29 Luc Teirlinck <teirllm@auburn.edu> |
12528 | ||
12529 | * buffer.c (syms_of_buffer) <vertical-scroll-bar>: Correct typo. | |
12530 | ||
99ec74b9 RS |
12531 | 2004-12-29 Richard M. Stallman <rms@gnu.org> |
12532 | ||
12533 | * buffer.c (syms_of_buffer) <vertical-scroll-bar>: Doc fix. | |
12534 | ||
30c92fab ST |
12535 | 2004-12-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
12536 | ||
12537 | * macfns.c (install_window_handler): Modify extern to return OSErr | |
12538 | value. | |
12539 | (mac_window): Handle return value of install_window_handler. | |
12540 | ||
12541 | * macterm.c (reflect_byte): Remove function. | |
12542 | (mac_create_bitmap_from_bitmap_data): Don't call reflect_byte. | |
12543 | Lookup table instead. | |
12544 | (mac_do_font_lists): Simplify calculation of the longest | |
12545 | nonspecial string. | |
5e1a6e32 | 12546 | (init_mac_drag_n_drop): Remove function and declaration. |
30c92fab ST |
12547 | (mac_initialize) [TARGET_API_MAC_CARBON]: Don't call |
12548 | init_mac_drag_n_drop. | |
12549 | (mac_do_track_drag): New function and declaration. | |
12550 | (install_window_handler): Return OSErr value. | |
043f7f73 SM |
12551 | (install_window_handler) [TARGET_API_MAC_CARBON]: |
12552 | Register handlers for tracking/receiving drag-and-drop items. | |
30c92fab | 12553 | (do_ae_open_documents): Generate unibyte strings for filenames. |
251db0f4 | 12554 | (mac_do_receive_drag) [TARGET_API_MAC_CARBON]: Likewise. |
043f7f73 | 12555 | Reject only non-filename items. Set event modifiers, and return value. |
30c92fab | 12556 | |
4b982924 DN |
12557 | 2004-12-28 Dan Nicolaescu <dann@ics.uci.edu> |
12558 | ||
12559 | * coding.c (decode_coding): Fix previous change. | |
12560 | ||
93fdf45f RS |
12561 | 2004-12-28 Richard M. Stallman <rms@gnu.org> |
12562 | ||
12563 | * xdisp.c (back_to_previous_visible_line_start): | |
12564 | Don't call handle_display_prop. | |
12565 | ||
5bdca8af DN |
12566 | 2004-12-28 Dan Nicolaescu <dann@ics.uci.edu> |
12567 | ||
12568 | * coding.c (decode_coding_XXX, decode_composition_emacs_mule) | |
12569 | (decode_coding_emacs_mule, encode_coding_emacs_mule) | |
12570 | (decode_coding_iso2022, encode_designation_at_bol) | |
12571 | (encode_coding_iso2022, decode_coding_sjis_big5, decode_eol) | |
12572 | (decode_coding): Constify arguments and local vars. | |
12573 | ||
33385c6f JD |
12574 | 2004-12-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12575 | ||
12576 | * xmenu.c (popup_get_selection): Only pop down dialogs | |
12577 | on C-g and Escape. | |
95bdef2e | 12578 | (popup_get_selection): Remove parameter down_on_keypress. |
043f7f73 SM |
12579 | (create_and_show_popup_menu, create_and_show_dialog): |
12580 | Remove parameter down_on_keypress to popup_get_selection. | |
33385c6f | 12581 | |
b15325b2 ST |
12582 | 2004-12-27 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
12583 | ||
12584 | * dispextern.h: Change HAVE_CARBON to MAC_OS. | |
12585 | (struct glyph_string): Likewise. | |
a2c7e69a | 12586 | |
b15325b2 ST |
12587 | * emacs.c (main) [MAC_OS8]: Call mac_term_init instead of |
12588 | mac_initialize. | |
a2c7e69a | 12589 | |
b15325b2 ST |
12590 | * fileio.c (Fnext_read_file_uses_dialog_p, Fread_file_name): |
12591 | Change TARGET_API_MAC_CARBON to HAVE_CARBON. | |
a2c7e69a | 12592 | |
b15325b2 | 12593 | * fns.c (vector): Change MAC_OSX to MAC_OS. |
a2c7e69a | 12594 | |
b15325b2 ST |
12595 | * frame.c (x_set_frame_parameters, x_report_frame_params) |
12596 | (x_set_fullscreen): Remove #ifndef HAVE_CARBON. | |
043f7f73 SM |
12597 | (x_set_border_width, Vdefault_frame_scroll_bars): |
12598 | Change HAVE_CARBON to MAC_OS. | |
a2c7e69a | 12599 | |
b15325b2 ST |
12600 | * image.c [MAC_OS]: Include sys/stat.h. |
12601 | [MAC_OS && !MAC_OSX]: Include sys/param.h, ImageCompression.h, and | |
12602 | QuickTimeComponents.h. | |
a2c7e69a | 12603 | |
b15325b2 ST |
12604 | * mac.c [!MAC_OSX] (mac_wait_next_event): Add extern. |
12605 | [!MAC_OSX] (select): Use mac_wait_next_event. | |
043f7f73 | 12606 | [!MAC_OSX] (run_mac_command): Change EXEC_SUFFIXES to Vexec_suffixes. |
b15325b2 ST |
12607 | [!MAC_OSX] (select, run_mac_command): Change `#ifdef |
12608 | TARGET_API_MAC_CARBON' to `#if TARGET_API_MAC_CARBON'. | |
12609 | (mac_clear_font_name_table): Add extern. | |
12610 | (Fmac_clear_font_name_table): New defun. | |
12611 | (syms_of_mac): Defsubr it. | |
12612 | [MAC_OSX] (SELECT_POLLING_PERIOD_USEC): New define. | |
12613 | [MAC_OSX] (select_and_poll_event): New function. | |
12614 | [MAC_OSX] (sys_select): Use it. | |
12615 | [MAC_OSX && SELECT_USE_CFSOCKET] (socket_callback): New function. | |
12616 | [MAC_OSX && SELECT_USE_CFSOCKET] | |
12617 | (SELECT_TIMEOUT_THRESHOLD_RUNLOOP, EVENT_CLASS_SOCK): New defines. | |
12618 | [MAC_OSX] (sys_select) [SELECT_USE_CFSOCKET]: Use CFSocket and | |
12619 | RunLoop for simultaneously monitoring two kinds of inputs, window | |
12620 | events and process outputs, without periodically polling. | |
a2c7e69a | 12621 | |
b15325b2 ST |
12622 | * macfns.c (mac_initialized): Remove extern. |
12623 | (stricmp): Put in #if 0. All callers changed to use xstricmp in | |
12624 | xfaces.c. | |
043f7f73 SM |
12625 | (strnicmp): Decrement `n' at the end of each loop, not the beginning. |
12626 | (check_mac): Use the term "Mac native windows" instead of "Mac OS". | |
b15325b2 ST |
12627 | (check_x_display_info, x_display_info_for_name): Sync with xfns.c. |
12628 | (mac_get_rdb_resource): New function (from w32reg.c). | |
12629 | (x_get_string_resource): Use it. | |
12630 | (install_window_handler): Add extern. | |
12631 | (mac_window): New function. | |
043f7f73 SM |
12632 | (Fx_create_frame): Use it instead of make_mac_frame. |
12633 | Set parameter for Qfullscreen. Call x_wm_set_size_hint. | |
b15325b2 ST |
12634 | (Fx_open_connection, Fx_close_connection): New defuns. |
12635 | (syms_of_macfns): Defsubr them. | |
043f7f73 SM |
12636 | (x_create_tip_frame) [TARGET_API_MAC_CARBON]: |
12637 | Add kWindowNoUpdatesAttribute to the window attribute. | |
b15325b2 ST |
12638 | (x_create_tip_frame) [!TARGET_API_MAC_CARBON]: Use NewCWindow. |
12639 | (x_create_tip_frame): Don't call ShowWindow. | |
12640 | (Fx_show_tip): Call ShowWindow. | |
12641 | (Fx_file_dialog): Change `#ifdef TARGET_API_MAC_CARBON' to `#if | |
12642 | TARGET_API_MAC_CARBON'. | |
12643 | (mac_frame_parm_handlers): Set handlers for Qfullscreen. | |
12644 | (syms_of_macfns) [MAC_OSX]: Initialize mac_in_use to 0. | |
a2c7e69a | 12645 | |
043f7f73 | 12646 | * macgui.h [!MAC_OSX]: Don't include Controls.h. Include Windows.h. |
b15325b2 ST |
12647 | (Window): Typedef to WindowPtr and move outside `#if |
12648 | TARGET_API_MAC_CARBON'. | |
12649 | (XSizeHints): New struct. | |
a2c7e69a | 12650 | |
b15325b2 ST |
12651 | * macterm.c (x_update_begin, x_update_end) |
12652 | [TARGET_API_MAC_CARBON]: Disable screen updates during update of a | |
12653 | frame. | |
12654 | (x_draw_glyph_string_background, x_draw_glyph_string_foreground) | |
12655 | [MAC_OS8]: Use XDrawImageString/XDrawImageString16. | |
12656 | (construct_mouse_click): Put in #if 0. | |
12657 | (x_check_fullscreen, x_check_fullscreen_move): Remove decls. | |
12658 | (x_scroll_bar_create, x_scroll_bar_handle_click): Change `#ifdef | |
12659 | TARGET_API_MAC_CARBON' to `#if TARGET_API_MAC_CARBON'. | |
12660 | (activate_scroll_bars, deactivate_scroll_bars) | |
12661 | [!TARGET_API_MAC_CARBON]: Use ActivateControl/DeactivateControl. | |
12662 | (x_make_frame_visible) [TARGET_API_MAC_CARBON]: Reposition window | |
12663 | if the position is neither user-specified nor program-specified. | |
12664 | (x_free_frame_resources): Free size_hints. | |
043f7f73 | 12665 | (x_wm_set_size_hint): Allocate size_hints if needed. Set size_hints. |
b15325b2 ST |
12666 | (mac_clear_font_name_table): New function. |
12667 | (mac_do_list_fonts): Initialize font_name_table if needed. | |
12668 | (x_list_fonts): Don't initialize font_name_table. Add BLOCK_INPUT | |
12669 | around mac_do_list_fonts. | |
12670 | (mac_unload_font): New function. | |
12671 | (x_load_font): Add BLOCK_INPUT around XLoadQueryFont. | |
12672 | (init_mac_drag_n_drop, mac_do_receive_drag): Enclose declarations | |
12673 | and definitions with #if TARGET_API_MAC_CARBON. | |
12674 | [USE_CARBON_EVENTS] (mac_handle_window_event): Add decl. | |
12675 | (install_window_handler): Add decl. | |
12676 | (do_window_update): Add BeginUpdate/EndUpdate for the tooltip | |
12677 | window. Use UpdateControls. Get the rectangle that should be | |
12678 | updated and restrict the target of expose_frame to it. | |
043f7f73 | 12679 | (do_grow_window): Set minimum height/width according to size_hints. |
b15325b2 ST |
12680 | (do_grow_window) [TARGET_API_MAC_CARBON]: Use ResizeWindow. |
12681 | (do_zoom_window): Don't use x_set_window_size. | |
12682 | [USE_CARBON_EVENTS] (mac_handle_window_event): New function. | |
12683 | (install_window_handler): New function. | |
12684 | [!USE_CARBON_EVENTS] (mouse_region): New variable. | |
12685 | [!USE_CARBON_EVENTS] (mac_wait_next_event): New function. | |
12686 | (XTread_socket) [USE_CARBON_EVENTS]: Move call to | |
12687 | GetEventDispatcherTarget inside BLOCK_INPUT. | |
12688 | (XTread_socket) [!USE_CARBON_EVENTS]: Use mac_wait_next_event. | |
12689 | Update mouse_region when mouse is moved. | |
12690 | (make_mac_frame): Remove. | |
043f7f73 SM |
12691 | (make_mac_terminal_frame): Put in #ifdef MAC_OS8. |
12692 | Initialize mouse pointer shapes. Change values of f->left_pos and | |
12693 | f->top_pos. Don't use make_mac_frame. Use NewCWindow. | |
12694 | Don't call ShowWindow. | |
b15325b2 ST |
12695 | (mac_initialize_display_info) [MAC_OSX]: Create mac_id_name from |
12696 | Vinvocation_name and Vsystem_name. | |
12697 | (mac_make_rdb): New function (from w32term.c). | |
12698 | (mac_term_init): Use it. Add BLOCK_INPUT. Error if display has | |
12699 | already been opened. Don't pass argument to | |
12700 | mac_initialize_display_info. Don't set dpyinfo->height/width. | |
12701 | Add entries to x_display_list and x_display_name_list. | |
12702 | (x_delete_display): New function. | |
12703 | (mac_initialize): Don't call mac_initialize_display_info. | |
a2c7e69a KS |
12704 | (syms_of_macterm) [!MAC_OSX]: Don't call Fprovide. |
12705 | ||
b15325b2 ST |
12706 | * macterm.h (check_mac): Add extern. |
12707 | (struct mac_output): New member size_hints. | |
12708 | (FRAME_SIZE_HINTS): New macro. | |
12709 | (mac_unload_font): Add extern. | |
a2c7e69a | 12710 | |
b15325b2 | 12711 | * xdisp.c (expose_window, expose_frame): Remove kludges for Mac. |
a2c7e69a | 12712 | |
1d1c7e75 | 12713 | * xfaces.c (clear_font_table) [MAC_OS]: Call mac_unload_font. |
b15325b2 | 12714 | |
92d2947b RS |
12715 | 2004-12-27 Richard M. Stallman <rms@gnu.org> |
12716 | ||
043f7f73 | 12717 | * buffer.c (Fbuffer_disable_undo): Delete (move to simple.el). |
ebbd14f1 RS |
12718 | (syms_of_buffer): Don't defsubr it. |
12719 | ||
12720 | * process.c (list_processes_1): Set undo_list instead | |
12721 | of calling Fbuffer_disable_undo. | |
12722 | ||
043f7f73 | 12723 | * xdisp.c (single_display_spec_string_p): Rename from |
92d2947b | 12724 | single_display_prop_string_p. |
043f7f73 | 12725 | (single_display_spec_intangible_p): Rename from |
92d2947b | 12726 | single_display_prop_intangible_p. |
043f7f73 | 12727 | (handle_single_display_spec): Rename from handle_single_display_prop. |
92d2947b RS |
12728 | Rewritten to be easier to understand. |
12729 | ||
a2c7e69a | 12730 | Change in load-history format. Functions now get (defun . NAME), |
92d2947b RS |
12731 | and variables get just NAME. |
12732 | ||
12733 | * data.c (Fdefalias): Use (defun . FN_NAME) in LOADHIST_ATTACH. | |
12734 | ||
12735 | * eval.c (Fdefun, Fdefmacro): Use (defun . FN_NAME) in LOADHIST_ATTACH. | |
12736 | (Fdefvaralias, Fdefvar, Fdefconst): Use just SYM in LOADHIST_ATTACH. | |
12737 | (Qdefvar): Var deleted. | |
12738 | (syms_of_eval): Don't initialze it. | |
12739 | ||
12740 | * lread.c (syms_of_lread) <load-history>: Doc fix. | |
12741 | ||
9f6fcdc5 JD |
12742 | 2004-12-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12743 | ||
12744 | * xmenu.c (popup_get_selection): Pop down on C-g. | |
12745 | (set_frame_menubar): Install translations for Lucid/Motif/Lesstif that | |
12746 | pops down menu on C-g. | |
12747 | (xdialog_show): If dialog popped down and no button in the dialog was | |
12748 | pushed, call Fsignal to quit. | |
12749 | (xmenu_show): In no toolkit version, if menu returns NO_SELECT call | |
12750 | Fsignal to quit. | |
12751 | ||
1d1c7e75 | 12752 | * xfns.c (Fx_file_dialog): Motif/Lesstif version: Pop down on C-g. |
9f6fcdc5 JD |
12753 | |
12754 | * gtkutil.c (xg_initialize): Install bindings for C-g so that | |
12755 | dialogs and menus pop down. | |
12756 | ||
d8ca23a0 KH |
12757 | 2004-12-27 Kenichi Handa <handa@m17n.org> |
12758 | ||
12759 | * coding.c (code_convert_region): Fix calculation of `ratio'. | |
12760 | ||
857ae68b JD |
12761 | 2004-12-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12762 | ||
133c0116 JD |
12763 | * gtkutil.c (update_frame_tool_bar): Make the value of |
12764 | tool-bar-button-margin control margins of images in tool bar. | |
12765 | ||
857ae68b JD |
12766 | * alloc.c (check_depth): New variable. |
12767 | (overrun_check_malloc, overrun_check_realloc): Only add | |
12768 | overhead and write check pattern if check_depth is 1 (to handle | |
12769 | recursive calls). Increase/decrease check_depth in entry/exit. | |
12770 | (overrun_check_free): Only check for overhead if check_depth is 1. | |
12771 | Increase/decrease check_depth in entry/exit. | |
12772 | ||
bd55c35c JD |
12773 | 2004-12-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12774 | ||
12775 | * keyboard.c (input_available_signal): Call SIGNAL_THREAD_CHECK | |
12776 | before touching input_available_clear_time, to avoid accessing it | |
12777 | from multiple threads. | |
12778 | ||
66354420 JR |
12779 | 2004-12-23 Jason Rumney <jasonr@gnu.org> |
12780 | ||
12781 | * image.c (__WIN32__) [HAVE_NTGUI]: Define for correct behaviour | |
12782 | of JPEG library. | |
12783 | ||
55f4edbc RS |
12784 | 2004-12-22 Richard M. Stallman <rms@gnu.org> |
12785 | ||
12786 | * emacs.c (main): If batch mode, set Vundo_outer_limit to nil. | |
12787 | ||
12788 | * lisp.h (Vundo_outer_limit): Fix decl. | |
12789 | ||
12790 | * undo.c (Vundo_outer_limit): Replaces undo_outer_limit. | |
12791 | Uses changed. | |
12792 | (syms_of_undo): Initialize appropriately. | |
12793 | (truncate_undo_list): If it's nil, there's no limit. | |
12794 | ||
7a0ea9e3 KH |
12795 | 2004-12-22 Kenichi Handa <handa@m17n.org> |
12796 | ||
12797 | * xselect.c (Fx_get_cut_buffer_internal): Return a unibyte string. | |
12798 | ||
fda2922a RS |
12799 | 2004-12-21 Richard M. Stallman <rms@gnu.org> |
12800 | ||
12801 | * eval.c (unwind_to_catch): Clear immediate_quit. | |
12802 | ||
12803 | * xdisp.c (get_next_display_element): Display codes 8a0 and 8ad | |
12804 | specially as `\ ' and `\-'. | |
12805 | ||
12806 | * keyboard.c (kbd_buffer_store_event_hold): | |
12807 | In the code for while-no-input, handle immediate_quit. | |
12808 | ||
12809 | * alloc.c (Fgarbage_collect): Update call to truncate_undo_list. | |
12810 | Call that at the very start. | |
043f7f73 | 12811 | (undo_limit, undo_strong_limit, undo_outer_limit): Move to undo.c. |
fda2922a RS |
12812 | (syms_of_alloc): Don't define undo-limit, |
12813 | undo-strong-limit and undo-outer-limit here. | |
12814 | ||
12815 | * undo.c (truncate_undo_list): Return void. | |
12816 | Take just one argument, the buffer. | |
12817 | Make it current, and inhibit recursive GC. | |
12818 | Access and update the undo list directly; return void. | |
12819 | Refer to the undo...limit variables directly. | |
12820 | Test undo_outer_limit only after counting the whole current command. | |
12821 | When it's exceeded, call the function in undo-outer-limit-function. | |
12822 | (undo_limit, undo_strong_limit, undo_outer_limit): From alloc.c. | |
12823 | (Vundo_outer_limit_function): New variable. | |
12824 | (syms_of_undo): Define undo-limit, undo-strong-limit | |
12825 | and undo-outer-limit here, and undo-outer-limit-function. | |
12826 | Doc fixes. | |
12827 | ||
12828 | * lisp.h (truncate_undo_list): Update decl. | |
12829 | ||
12830 | 2004-12-21 Piet van Oostrum <piet@cs.uu.nl> | |
12831 | ||
12832 | * fileio.c (Fread_file_name): Delete duplicates in | |
12833 | file-name-history when history_delete_duplicates is true. | |
12834 | ||
68c69027 ST |
12835 | 2004-12-20 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
12836 | ||
12837 | * macterm.c (mac_do_list_fonts): Fix memory leak | |
12838 | ||
134579f2 RS |
12839 | 2004-12-20 Richard M. Stallman <rms@gnu.org> |
12840 | ||
12841 | * regex.c (re_match_2_internal) <symend, wordend>: | |
12842 | Fix calls to UPDATE_SYNTAX_TABLE_FORWARD. | |
12843 | ||
fbe6152f ST |
12844 | 2004-12-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
12845 | ||
043f7f73 SM |
12846 | * macterm.c (endif, x_font_name_to_mac_font_name): |
12847 | Use maccentraleurroman instead of maccentraleuropean | |
fbe6152f ST |
12848 | (mac_c_string_match, mac_do_list_fonts): Speed up font search by |
12849 | quickly finding a specific font without needing regexps. | |
12850 | ||
fecad3f6 JD |
12851 | 2004-12-15 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12852 | ||
333f1b6f JD |
12853 | * syssignal.h: Declare main_thread. |
12854 | (SIGNAL_THREAD_CHECK): New macro. | |
12855 | ||
12856 | * keyboard.c (input_available_signal): Move thread checking code | |
12857 | to macro SIGNAL_THREAD_CHECK and call that macro. | |
12858 | (interrupt_signal): Call SIGNAL_THREAD_CHECK. | |
12859 | ||
12860 | * alloc.c (uninterrupt_malloc): Move main_thread to emacs.c. | |
12861 | ||
12862 | * emacs.c: Define main_thread. | |
12863 | (main): Initialize main_thread. | |
12864 | (handle_USR1_signal, handle_USR2_signal, fatal_error_signal) | |
12865 | (memory_warning_signal): Call SIGNAL_THREAD_CHECK. | |
12866 | ||
12867 | * floatfns.c (float_error): Call SIGNAL_THREAD_CHECK. | |
12868 | ||
12869 | * dispnew.c (window_change_signal): Call SIGNAL_THREAD_CHECK. | |
12870 | ||
12871 | * sysdep.c (select_alarm): Call SIGNAL_THREAD_CHECK. | |
12872 | ||
043f7f73 SM |
12873 | * process.c (send_process_trap, sigchld_handler): |
12874 | Call SIGNAL_THREAD_CHECK. | |
333f1b6f JD |
12875 | |
12876 | * data.c (arith_error): Call SIGNAL_THREAD_CHECK. | |
12877 | ||
12878 | * atimer.c (alarm_signal_handler): Call SIGNAL_THREAD_CHECK. | |
12879 | ||
fecad3f6 JD |
12880 | * xterm.c (xg_scroll_callback): Update XG_LAST_SB_DATA before |
12881 | returning when xg_ignore_gtk_scrollbar is true. | |
12882 | ||
2a84c6da KS |
12883 | 2004-12-14 Kim F. Storm <storm@cua.dk> |
12884 | ||
12885 | * keyboard.c (read_char): Save and restore echo_string when | |
12886 | handling input method. | |
12887 | ||
d9c1ce9d RS |
12888 | 2004-12-13 Richard M. Stallman <rms@gnu.org> |
12889 | ||
12890 | * eval.c (syms_of_eval) <quit-flag>: Doc fix. | |
12891 | ||
12892 | * keyboard.c (Vthrow_on_input): New variable. | |
12893 | (syms_of_keyboard): Defvar and initialize it. | |
12894 | (kbd_buffer_store_event_hold): Handle Vthrow_on_input. | |
12895 | ||
12896 | * lisp.h (QUIT): Check for Vthrow_on_input. | |
12897 | (Vthrow_on_input): Declare it. | |
12898 | ||
a6495ed5 KS |
12899 | 2004-12-13 Kim F. Storm <storm@cua.dk> |
12900 | ||
12901 | * xdisp.c (set_iterator_to_next): Reset stop_charpos after display | |
12902 | vector. | |
12903 | ||
24a0e22f RS |
12904 | 2004-12-12 Richard M. Stallman <rms@gnu.org> |
12905 | ||
12906 | * indent.c (Fvertical_motion): Call move_it_by_lines even if LINES = 0. | |
12907 | ||
12908 | * minibuf.c (Fall_completions): Add var `zero' and use it in loop. | |
12909 | (Ftry_completion): Really use outer `zero'; eliminate inner one. | |
12910 | ||
d6d31e57 KH |
12911 | 2004-12-12 Kenichi Handa <handa@m17n.org> |
12912 | ||
12913 | * term.c (encode_terminal_code): Fix previous change. | |
12914 | ||
6f8ffb88 SM |
12915 | 2004-12-11 Stefan Monnier <monnier@iro.umontreal.ca> |
12916 | ||
fb6f5cbf SM |
12917 | * keyboard.c (handle_async_input): Remove pthread mutex handling. |
12918 | (input_available_signal): Move pthread thingy to !SYNC_INPUT branch. | |
12919 | ||
6f8ffb88 SM |
12920 | * syntax.c (Fforward_word): Avoid non-idempotent side-effects |
12921 | in macro arguments. | |
12922 | ||
12923 | * minibuf.c (Ftry_completion, Fall_completions): Don't use | |
12924 | XFASTINT blindly. | |
12925 | ||
12926 | * emacs.c (main, Fdump_emacs): Don't touch malloc hooks if SYNC_INPUT. | |
12927 | ||
c83c9f9d JD |
12928 | 2004-12-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12929 | ||
2f25767f JD |
12930 | * w32term.c (x_calc_absolute_position): Remove calculation of |
12931 | difference between inner and outer window. Don't subtract difference | |
12932 | for left and top calculations. | |
12933 | ||
c83c9f9d JD |
12934 | * xterm.c (x_calc_absolute_position): Don't subtract outer_pixel_diff |
12935 | for left and top calculations. Remove call to x_real_positions. | |
14a56a1b | 12936 | [Bug report by Drew Adams in November.] |
c83c9f9d JD |
12937 | (x_check_expected_move): Do not set change_gravity to 1 when calling |
12938 | x_set_offset. | |
12939 | ||
cc1caa4e RS |
12940 | 2004-12-08 Richard M. Stallman <rms@gnu.org> |
12941 | ||
12942 | * xdisp.c (get_next_display_element): Use `escape-glyph' for | |
12943 | control chars and escaped octal codes. | |
12944 | (Qescape_glyph): New variable. | |
12945 | (syms_of_xdisp): Initialize it. | |
12946 | (escape_glyph_face): New variable. | |
12947 | (redisplay_window): Initialize it. | |
12948 | ||
e0e30823 RS |
12949 | 2004-12-07 Paul Eggert <eggert@cs.ucla.edu> |
12950 | ||
12951 | * image.c (our_fill_input_buffer, jpeg_load, CHECK_LIB_AVAILABLE) | |
12952 | (init_image): Use 1 rather than TRUE. TRUE's not always defined. | |
12953 | ||
f415cacd JD |
12954 | 2004-12-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12955 | ||
cf435f39 JD |
12956 | * emacs.c (Fdump_emacs): Add ! defined (SYSTEM_MALLOC) around |
12957 | reset_malloc_hooks. | |
12958 | ||
6f8ffb88 SM |
12959 | * keyboard.c (handle_async_input, input_available_signal): |
12960 | Add ! defined (SYSTEM_MALLOC) around thread code. | |
cf435f39 | 12961 | |
f415cacd JD |
12962 | * alloc.c: Add comment about the reason for (UN)BLOCK_INPUT_ALLOC. |
12963 | ||
043f7f73 | 12964 | 2004-12-07 Stefan Monnier <monnier@iro.umontreal.ca> |
19b1f29a SM |
12965 | |
12966 | * eval.c (init_eval_once): Increase max_specpdl_size to 1000. | |
12967 | ||
12968 | * config.in: Regenerate. | |
12969 | ||
ded997c1 JD |
12970 | 2004-12-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
12971 | ||
453a4f1b JD |
12972 | * xmenu.c (Fx_popup_menu): Correct documentation about position. |
12973 | (xmenu_show): Do not call XTranslateCoordinates. Adjust position | |
12974 | if not given by a mouse click to correspond with x-popup-menu | |
12975 | documentation. | |
12976 | ||
9a38524c JD |
12977 | * config.in: Regenerate. |
12978 | ||
aa477689 JD |
12979 | * gtkutil.c: Include signal.h and syssignal.h. |
12980 | (xg_get_file_name): Block and unblock __SIGRTMIN if defined. | |
12981 | ||
12982 | * alloc.c: If HAVE_GTK_AND_PTHREAD, include pthread.h, | |
12983 | new variables main_thread and alloc_mutex, | |
12984 | define (UN)BLOCK_INPUT_ALLOC to use alloc_mutex to protect | |
12985 | emacs_blocked_* calls and only do (UN)BLOCK_INPUT in the main thread. | |
14a56a1b JB |
12986 | If not HAVE_GTK_AND_PTHREAD, (UN)BLOCK_INPUT_ALLOC is the same |
12987 | as (UN)BLOCK_INPUT. | |
aa477689 JD |
12988 | (emacs_blocked_free, emacs_blocked_malloc) |
12989 | (emacs_blocked_realloc): Use (UN)BLOCK_INPUT_ALLOC. | |
12990 | (uninterrupt_malloc): Initialize main_thread and alloc_mutex. | |
12991 | (reset_malloc_hooks): New function. | |
12992 | ||
12993 | * lisp.h: Declare reset_malloc_hooks. | |
12994 | ||
12995 | * emacs.c (Fdump_emacs): Call reset_malloc_hooks. | |
12996 | ||
14a56a1b | 12997 | * keyboard.c: Conditionally include pthread.h. |
6f8ffb88 | 12998 | (handle_async_input, input_available_signalt): If not in the main |
aa477689 JD |
12999 | thread, block signal, send signal to main thread and return. |
13000 | ||
ded997c1 | 13001 | * gtkutil.c (xg_get_file_with_chooser): Handle local files only. |
6f8ffb88 | 13002 | Set current folder in file chooser if default_filename is a directory. |
ded997c1 | 13003 | |
c72b0edd SM |
13004 | 2004-12-05 Stefan Monnier <monnier@iro.umontreal.ca> |
13005 | ||
13006 | * regex.c (GET_UNSIGNED_NUMBER): Signal an error when reaching the end. | |
13007 | Remove redundant correctness checks. | |
13008 | (regex_compile): Fix up error codes for \{..\} expressions. | |
13009 | ||
c721eee5 RS |
13010 | 2004-12-05 Richard M. Stallman <rms@gnu.org> |
13011 | ||
13012 | * regex.c (regex_compile): Fix end-of-pattern case for space. | |
13013 | ||
d8f96db8 ST |
13014 | 2004-12-03 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
13015 | ||
6108209e KS |
13016 | * macterm.h (cfstring_create_with_utf8_cstring): Add prototype. |
13017 | * mac.c (cfstring_create_with_utf8_cstring): Add to prevent | |
d8f96db8 | 13018 | crashes with invalid characters. |
6108209e KS |
13019 | * macmenu.c (add_menu_item): Use it. |
13020 | * image.c (image_load_quartz2d): Likewise. | |
13021 | * macfns.c (x_set_name, x_set_title): Likewise. | |
13022 | (Fx_file_dialog): Likewise. Use constant CFRefs instead of | |
13023 | creating them each time for labels. | |
d8f96db8 | 13024 | |
ab67e8b6 RS |
13025 | 2004-12-02 Richard M. Stallman <rms@gnu.org> |
13026 | ||
13027 | * config.in (RE_TRANSLATE_P): If make_number is not a macro, | |
13028 | don't use it here. | |
13029 | ||
13030 | * eval.c (Fcalled_interactively_p): Don't check INTERACTIVE. | |
13031 | (interactive_p): Skip Scalled_interactively_p frames | |
13032 | like Sinteractive_p frames. | |
b8217ea6 | 13033 | (unwind_to_catch): Clear handling_signal. |
ab67e8b6 RS |
13034 | |
13035 | * data.c (Fmake_variable_buffer_local): Doc fix. | |
13036 | (Fmake_local_variable): Doc fix. | |
13037 | ||
13038 | * insdel.c (insert_from_string_before_markers) | |
13039 | (insert_from_string): Don't modify buffer on empty insertion. | |
13040 | ||
13041 | * window.c (Fget_lru_window, Fget_largest_window): Doc fixes. | |
13042 | ||
f86bdc80 ST |
13043 | 2004-12-01 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
13044 | ||
13045 | * macmenu.c (add_menu_item): Fallback on MacRoman if encoding | |
13046 | menu text as UTF8 fails. | |
13047 | ||
1cae6d39 KS |
13048 | 2004-12-01 Kim F. Storm <storm@cua.dk> |
13049 | ||
13050 | * alloc.c: Add commentary for last change. | |
13051 | (XMALLOC_PUT_SIZE, XMALLOC_GET_SIZE): New macros to handle | |
13052 | sizeof(size_t) != 4. | |
13053 | (overrun_check_malloc, overrun_check_realloc, overrun_check_free): | |
13054 | Use them. Also clear header and trailer of freed memory. | |
13055 | (GC_STRING_OVERRUN_COOKIE_SIZE): Rename from GC_STRING_EXTRA. | |
13056 | (string_overrun_cookie): Rename from string_overrun_pattern. | |
13057 | (GC_STRING_EXTRA): Define from GC_STRING_OVERRUN_COOKIE_SIZE. | |
13058 | ||
77ea0764 AS |
13059 | 2004-12-01 Andreas Schwab <schwab@suse.de> |
13060 | ||
13061 | * lisp.h: Declare string_to_multibyte. | |
13062 | ||
2d5cd4e6 KH |
13063 | 2004-12-01 Kenichi Handa <handa@m17n.org> |
13064 | ||
13065 | * w32console.c (w32con_write_glyphs): Decide coding here. | |
13066 | Adjusted for the change of encode_terminal_code. | |
13067 | ||
13068 | * term.c (encode_terminal_code): Don't make it "static". | |
13069 | ||
25a0994a KH |
13070 | 2004-11-30 Kenichi Handa <handa@m17n.org> |
13071 | ||
19b1f29a | 13072 | * term.c (encode_terminal_buf, encode_terminal_bufsize): New variables. |
25a0994a | 13073 | (encode_terminal_code): Argument changed. Encode all |
19b1f29a SM |
13074 | characters at once, and return a pointer to the result of encoding. |
13075 | (write_glyphs): Decide coding here. Adjusted for the above change. | |
25a0994a KH |
13076 | (insert_glyphs): Likewise. |
13077 | (term_init): Initialize encode_terminal_bufsize to 0. | |
13078 | ||
13079 | * coding.c (Vcode_conversion_workbuf_name): New variable. | |
13080 | (syms_of_coding): Initialize and staticpro it. | |
13081 | (set_conversion_work_buffer): New function. | |
13082 | (run_pre_post_conversion_on_str): Use it. | |
13083 | (run_pre_write_conversin_on_c_str): New function. | |
13084 | ||
13085 | * coding.h (run_pre_write_conversin_on_c_str): Extern it. | |
13086 | ||
fc7a70cc ST |
13087 | 2004-11-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
13088 | ||
13089 | * keyboard.c: Don't undef SIGIO | |
13090 | * s/darwin.h (NO_SOCK_SIGIO): Define NO_SOCK_SIGIO on carbon | |
13091 | * Makefile.in (mac.o): Depend on blockinput.h and atimer.h. | |
13092 | (macfns.o): Don't depend on ccl.h. | |
13093 | * macfns.c (mac_frame_parm_handlers): Set handlers for | |
13094 | Qleft_fringe and Qright_fringe. | |
13095 | * macterm.c (mac_fill_rectangle_to_pixmap) | |
13096 | (mac_draw_rectangle_to_pixmap, mac_copy_area_to_pixmap) | |
13097 | (mac_copy_area_with_mask_to_pixmap, x_draw_image_foreground_1): | |
13098 | Put in #if 0. | |
13099 | (mac_scroll_area) [TARGET_API_MAC_CARBON]: Use ScrollWindowRect. | |
13100 | (x_flush) [TARGET_API_MAC_CARBON]: Don't traverse frames. | |
13101 | (XFlush) [TARGET_API_MAC_CARBON]: Define to an empty replacement. | |
13102 | (x_draw_glyph_string_background, x_draw_glyph_string_foreground) | |
13103 | [!MAC_OS8]: Added ifdef'd out code for os8. Don't use | |
13104 | XDrawImageString. Always draw background and foreground separately. | |
13105 | (x_draw_image_foreground): Use clipping instead of computing the | |
13106 | intersection rectangle. | |
13107 | (x_draw_image_glyph_string): Don't draw an image with mask to a | |
13108 | pixmap. | |
13109 | (x_redisplay_interface): Set flush_display_optional member to 0. | |
13110 | (XTread_socket): Correctly reset the TEConverter | |
13111 | object. | |
13112 | ||
fc368889 KS |
13113 | 2004-11-30 Kim F. Storm <storm@cua.dk> |
13114 | ||
13115 | * lisp.h: New defines to enable buffer overrun checking. | |
13116 | (GC_CHECK_STRING_OVERRUN, GC_CHECK_STRING_FREE_LIST) | |
13117 | (XMALLOC_OVERRUN_CHECK, GC_CHECK_CONS_LIST): Add. | |
13118 | ||
13119 | * alloc.c: Add more checks for buffer overruns. | |
13120 | (XMALLOC_OVERRUN_CHECK_SIZE, xmalloc_overrun_check_header) | |
13121 | xmalloc_overrun_check_trailer, overrun_check_malloc) | |
13122 | overrun_check_realloc, overrun_check_free): Add. | |
13123 | (GC_STRING_EXTRA, string_overrun_pattern): Add. | |
13124 | (check_sblock, allocate_string_data, compact_small_strings): | |
13125 | Set and check string_overrun_pattern if GC_CHECK_STRING_OVERRUN. | |
13126 | (check_cons_list): Condition on GC_CHECK_CONS_LIST. | |
13127 | (check_string_free_list): Add. | |
13128 | (allocate_string, sweep_strings): Call check_string_free_list. | |
13129 | ||
13130 | * emacs.c (malloc_initialize_hook): Don't free malloc_state_ptr if | |
13131 | XMALLOC_OVERRUN_CHECK to avoid crash during load. | |
13132 | ||
0af8cfe1 KS |
13133 | 2004-11-29 Kim F. Storm <storm@cua.dk> |
13134 | ||
13135 | * fns.c (concat): Use SAFE_ALLOCA. | |
13136 | ||
77220eeb SM |
13137 | 2004-11-29 Stefan Monnier <monnier@iro.umontreal.ca> |
13138 | ||
13139 | * sysdep.c (emacs_write): Don't use QUIT. | |
13140 | ||
a778cf63 KH |
13141 | 2004-11-29 Kenichi Handa <handa@m17n.org> |
13142 | ||
13143 | * buffer.c (init_buffer): Set current_buffer->directory to a | |
13144 | multibyte string made by string_to_multibyte. | |
13145 | ||
77220eeb | 13146 | * emacs.c (init_cmdargs): Set unibyte strings in Vcommand_line_args. |
a778cf63 | 13147 | |
e3177e43 AS |
13148 | 2004-11-27 Andreas Schwab <schwab@suse.de> |
13149 | ||
13150 | * alloc.c (mark_stack): Call GC_MARK_SECONDARY_STACK if defined. | |
13151 | ||
13152 | * s/gnu-linux.h: Enable no-op gcpros on ia64. | |
13153 | (GC_MARK_SECONDARY_STACK) [__ia64__]: Define. | |
13154 | ||
77220eeb SM |
13155 | * filelock.c (lock_file_1): Call get_boot_time early. |
13156 | Increase buffer size. | |
e3177e43 | 13157 | |
ca5e6fef EZ |
13158 | 2004-11-27 Eli Zaretskii <eliz@gnu.org> |
13159 | ||
13160 | * lisp.h (DECL_ALIGN): Define non-trivially only if NO_DECL_ALIGN | |
13161 | is not defined. | |
13162 | ||
e2811828 KS |
13163 | 2004-11-27 Kim F. Storm <storm@cua.dk> |
13164 | ||
13165 | * search.c (syms_of_search) <search-spaces-regexp>: Move 'doc:' | |
13166 | marker out of doc string. | |
13167 | ||
7a262394 SM |
13168 | 2004-11-26 Stefan Monnier <monnier@iro.umontreal.ca> |
13169 | ||
13170 | * s/darwin.h (POSIX_SIGNALS): Undo the removal of 2002-08-25, | |
13171 | which was not mentioned in the log. | |
13172 | ||
f33cc5a9 KS |
13173 | 2004-11-26 Kim F. Storm <storm@cua.dk> |
13174 | ||
048bb03f KS |
13175 | * fringe.c (update_window_fringes): Prefer truncation bitmaps over |
13176 | angle bitmaps at top/bottom line. | |
13177 | ||
52eb0373 | 13178 | * xdisp.c: Undo recent changes for restoring saved_face_id. Instead, |
f33cc5a9 KS |
13179 | set it when it->method is set to next_element_from_display_vector. |
13180 | (setup_for_ellipsis): Add LEN argument. Callers changed. | |
13181 | Set it->saved_face_id. | |
13182 | (get_next_display_element): Use loop instead of recursion. | |
13183 | Set it->saved_face_id. Combine duplicate code for ctr chars. | |
13184 | (next_element_from_display_vector): Do not set it->saved_face_id. | |
13185 | (next_element_from_ellipsis): Use setup_for_ellipsis. | |
13186 | ||
670e8906 EZ |
13187 | 2004-11-26 Eli Zaretskii <eliz@gnu.org> |
13188 | ||
13189 | * eval.c (Fdefvar): Declare pdl from last change as `volatile' to | |
13190 | prevent compiler warnings. | |
13191 | ||
275464e7 SM |
13192 | 2004-11-25 Stefan Monnier <monnier@iro.umontreal.ca> |
13193 | ||
1bf0e604 SM |
13194 | * keyboard.c (command_loop_1): Print a message describing the key |
13195 | the user just pressed when this key has no binding. | |
13196 | ||
275464e7 SM |
13197 | * sysdep.c (sys_signal): Don't use SA_RESTART if SYNC_INPUT is set. |
13198 | (emacs_open, emacs_read, emacs_write): Check QUIT when interrupted. | |
13199 | ||
13200 | * lread.c (readchar): Check QUIT when `getc' is interrupted. | |
13201 | ||
261b01c6 RS |
13202 | 2004-11-24 Richard M. Stallman <rms@gnu.org> |
13203 | ||
13204 | * coding.c (run_pre_post_conversion_on_str): Bind Qinhibit_read_only. | |
13205 | ||
13206 | * buffer.c (syms_of_buffer) <indicate-buffer-boundaries>: Doc fix. | |
13207 | ||
a5bd504e KS |
13208 | 2004-11-24 Kim F. Storm <storm@cua.dk> |
13209 | ||
13210 | * xdisp.c (move_it_in_display_line_to, display_line): | |
13211 | Restore saved_face_id also when truncate-lines or hscrolled. | |
13212 | ||
255e4140 JD |
13213 | 2004-11-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13214 | ||
13215 | * gtkutil.c (xg_get_file_name): Rename use-old-gtk-file-dialog to | |
13216 | x-use-old-gtk-file-dialog. | |
13217 | ||
13218 | * xfns.c: Define x_use_old_gtk_file_dialog. | |
13219 | (syms_of_xfns): Rename use-old-gtk-file-dialog to x-... Move it | |
13220 | outside ifdef USE_GTK. | |
13221 | ||
cab27d04 SM |
13222 | 2004-11-23 Stefan Monnier <monnier@iro.umontreal.ca> |
13223 | ||
13224 | * coding.h (ENCODE_FILE, DECODE_FILE, ENCODE_SYSTEM, DECODE_SYSTEM): | |
13225 | Don't use XFASTINT blindly. | |
13226 | ||
13227 | * config.in (RE_TRANSLATE_P): Don't use XFASTINT blindly. | |
13228 | ||
13229 | * indent.c (skip_invisible): Avoid non-idempotent side-effects | |
13230 | in macro arguments. | |
13231 | ||
13232 | * keymap.c (Flookup_key): Check INTEGERP before XINT. | |
13233 | ||
13234 | * lread.c (oblookup): Don't use XFASTINT blindly. | |
13235 | ||
13236 | * window.c (Fset_window_scroll_bars): Don't use XINT if it isn't int. | |
13237 | (decode_next_window_args, window_loop): Don't use XFASTINT blindly. | |
13238 | ||
11e0be49 KS |
13239 | 2004-11-23 Kim F. Storm <storm@cua.dk> |
13240 | ||
4d721114 KS |
13241 | * dispextern.h (MATRIX_ROW_ENDS_IN_MIDDLE_OF_CHAR_P) |
13242 | (MATRIX_ROW_STARTS_IN_MIDDLE_OF_CHAR_P): Not if dpvec_index is zero. | |
13243 | ||
11e0be49 KS |
13244 | * xfaces.c (lookup_named_face): Add signal_p arg. Return -1 if |
13245 | signal_p is zero and face name is unknown. | |
13246 | (Fx_list_fonts): Don't signal error in lookup_named_face. | |
13247 | (Fface_font): Signal error in lookup_named_face. | |
13248 | (ascii_face_of_lisp_face): Likewise. | |
13249 | ||
13250 | * dispextern.h (lookup_named_face): Fix prototype. | |
13251 | ||
13252 | * xdisp.c (handle_single_display_prop): Don't signal error in | |
13253 | lookup_named_face for unknown fringe face name. | |
13254 | (highlight_trailing_whitespace): Don't signal error in | |
13255 | lookup_named_face if trailing-whitespace face unknown. | |
13256 | (calc_line_height_property): Don't signal error in | |
13257 | lookup_named_face if specified face name is unknown. | |
13258 | ||
13259 | * fringe.c (update_window_fringes): Show top row indicator if | |
13260 | window has header-line. Don't show arrow at bob and eob | |
13261 | if the boundary indicators are not used. | |
13262 | (Fset_fringe_bitmap_face): Signal error in lookup_named_face. | |
13263 | ||
13264 | * window.c (set_window_buffer): Clear display_error_modiff. | |
13265 | ||
0960a582 KS |
13266 | 2004-11-22 Kim F. Storm <storm@cua.dk> |
13267 | ||
13268 | * fringe.c (update_window_fringes): Provide sensible fall-back | |
13269 | value for non-nil indicate-buffer-boundaries setting. | |
13270 | ||
b0e9bb28 MR |
13271 | 2004-11-22 Markus Rost <rost@ias.edu> |
13272 | ||
13273 | * minibuf.c (Fminibuffer_complete_and_exit): Fix previous change. | |
13274 | ||
d0bce91e SM |
13275 | 2004-11-22 Stefan Monnier <monnier@iro.umontreal.ca> |
13276 | ||
13277 | * eval.c (Fdefvar): Warn when var is let-bound but globally void. | |
13278 | ||
e1814672 KS |
13279 | 2004-11-21 Kim F. Storm <storm@cua.dk> |
13280 | ||
b7fd3518 KS |
13281 | * xdisp.c (erase_phys_cursor): Clear hollow cursor inside TEXT_AREA. |
13282 | ||
13283 | * xterm.c (x_clip_to_row): Add area arg. Callers changed. | |
13284 | (x_draw_hollow_cursor, x_draw_bar_cursor): Clip to TEXT_AREA. | |
13285 | ||
13286 | * w32term.c (w32_clip_to_row): Add area arg. Callers changed. | |
13287 | (x_draw_hollow_cursor, x_draw_bar_cursor): Clip to TEXT_AREA. | |
13288 | ||
13289 | * macterm.c (x_clip_to_row): Add area arg. Callers changed. | |
13290 | (x_draw_hollow_cursor, x_draw_bar_cursor): Clip to TEXT_AREA. | |
13291 | ||
d0bce91e SM |
13292 | * xdisp.c (move_it_in_display_line_to, display_line): |
13293 | Restore saved_face_id if overflow-newline-into-fringe is enabled and | |
13294 | line is continued before or in middle of element from display vector. | |
f01d4d05 | 13295 | |
f1a61389 KS |
13296 | * indent.c (Fvertical_motion): Fix last change. Use another |
13297 | method to detect if iterator moved too far ahead after reseat. | |
13298 | ||
e1814672 KS |
13299 | * xdisp.c (IT_EXPAND_MATRIX_WIDTH): New macro. Do not |
13300 | expand matrix width for overflow in zero-width area. | |
13301 | (append_glyph, append_composite_glyph, produce_image_glyph) | |
13302 | (append_stretch_glyph): Use it to avoid loop in redisplay. | |
13303 | (note_mode_line_or_margin_highlight): Don't let help-echo from | |
13304 | string override help-echo from image map. | |
13305 | ||
2dafe1c9 LT |
13306 | 2004-11-20 Luc Teirlinck <teirllm@auburn.edu> |
13307 | ||
d0bce91e | 13308 | * fns.c (Fyes_or_no_p): Call Fread_from_minibuffer with extra argument. |
2dafe1c9 LT |
13309 | * callint.c (Fcall_interactively): Ditto. |
13310 | ||
fd6866c8 | 13311 | 2004-11-20 Stefan Monnier <monnier@iro.umontreal.ca> |
9961365e RS |
13312 | |
13313 | * minibuf.c (Fminibuffer_complete_and_exit): | |
13314 | Fixup the case of the completed value, for case-indep completion. | |
13315 | ||
dedbac89 RS |
13316 | 2004-11-20 Richard M. Stallman <rms@gnu.org> |
13317 | ||
fd6866c8 RS |
13318 | * lisp.h (Fread_from_minibuffer): Add arg in decl. |
13319 | ||
9d00469f | 13320 | * minibuf.c (read_minibuf): New arg KEEP_ALL. Callers changed. |
ce8dd7ca | 13321 | (Fread_from_minibuffer): New arg KEEP_ALL. Callers changed. |
9d00469f | 13322 | |
dedbac89 | 13323 | * search.c (Vsearch_spaces_regexp): |
d0bce91e | 13324 | Rename from Vsearch_whitespace_regexp. All uses changed. |
dedbac89 | 13325 | |
2f672bb5 TTN |
13326 | 2004-11-20 Thien-Thi Nguyen <ttn@gnu.org> |
13327 | ||
13328 | * eval.c (init_eval_once): Increase `max_specpdl_size' to 650. | |
13329 | ||
f31a9a68 RS |
13330 | 2004-11-19 Richard M. Stallman <rms@gnu.org> |
13331 | ||
13332 | * search.c (Vsearch_whitespace_regexp): New variable. | |
13333 | (syms_of_search): Defvar it. | |
13334 | (compile_pattern_1): Call re_set_whitespace_regexp with it. | |
13335 | (search_buffer): No regexp is trivial if Vsearch_whitespace_regexp | |
13336 | is non-nil. | |
6de891db RS |
13337 | (struct regexp_cache): New element whitespace_regexp. |
13338 | (syms_of_search): Initialize whitespace_regexp elements. | |
13339 | (compile_pattern): Compare whitespace_regexp elements. | |
13340 | (compile_pattern_1): Set whitespace_regexp elements. | |
f31a9a68 RS |
13341 | |
13342 | * regex.c (regex_compile): Substitute whitespace_regexp | |
13343 | for spaces, if it is nonzero. | |
13344 | (whitespace_regexp): New variable. | |
13345 | (re_set_whitespace_regexp): New function. | |
13346 | ||
cbc34cb3 KS |
13347 | 2004-11-19 Kim F. Storm <storm@cua.dk> |
13348 | ||
13349 | * indent.c (Fvertical_motion): Fix last change. | |
13350 | ||
b54a7539 KS |
13351 | 2004-11-18 Kim F. Storm <storm@cua.dk> |
13352 | ||
13353 | * indent.c (Fvertical_motion): Undo 2004-11-16 change. | |
13354 | Instead, move back again if reseating moves too far ahead. | |
13355 | ||
13356 | 2004-11-17 Luc Teirlinck <teirllm@auburn.edu> | |
802c6e56 LT |
13357 | |
13358 | * xdisp.c (message3): Call clear_message. | |
13359 | ||
5ff504fe KS |
13360 | 2004-11-17 Kim F. Storm <storm@cua.dk> |
13361 | ||
13362 | * xdisp.c (erase_phys_cursor): Adjust cursor row visible height. | |
13363 | ||
5ae53dcf JD |
13364 | 2004-11-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13365 | ||
d0bce91e | 13366 | * gtkutil.c (xg_get_file_name): Typo in HAVE_GTK_FILE_SELECTION_NEW. |
724cde0d | 13367 | |
6abf3a27 | 13368 | * xmenu.c (x_menu_in_use): Remove. |
5ae53dcf JD |
13369 | (x_menu_set_in_use): Also set popup_activated_flag. |
13370 | ||
5ff504fe | 13371 | * xfns.c (Fx_file_dialog): Call popup_activated instead of |
5ae53dcf JD |
13372 | x_menu_in_use. Call x_menu_set_in_use in Motif version also. |
13373 | ||
52eb0373 | 13374 | * xterm.h (x_menu_in_use): Remove. |
5ae53dcf | 13375 | |
ee31cd78 RS |
13376 | 2004-11-16 Richard M. Stallman <rms@gnu.org> |
13377 | ||
6abf3a27 SM |
13378 | * keymap.c (Fmap_keymap): New arg SORT-FIRST. |
13379 | Use map-keymap-internal to implement that. | |
ee31cd78 RS |
13380 | |
13381 | * indent.c (Fvertical_motion): In batch mode, use vmotion directly. | |
13382 | ||
6abf3a27 SM |
13383 | 2004-11-16 Stefan Monnier <monnier@iro.umontreal.ca> |
13384 | ||
13385 | * xdisp.c (get_glyph_string_clip_rect, init_glyph_string): Check it's | |
13386 | a window before using XWINDOW. | |
13387 | ||
13388 | * window.c (make_window, Fselect_window, make_dummy_parent) | |
13389 | (save_window_save): | |
13390 | * frame.c (make_frame): | |
13391 | * fns.c (concat): Avoid side-effects inside XSETFASTINT's arguments. | |
13392 | ||
13393 | * lisp.h (NILP): Use EQ rather than XFASTINT. | |
13394 | ||
b4d61105 KS |
13395 | 2004-11-16 Kim F. Storm <storm@cua.dk> |
13396 | ||
6abf3a27 | 13397 | * fringe.c (Fdefine_fringe_bitmap): Always set 'h'. Simplify. |
dda01a4c | 13398 | |
b4d61105 KS |
13399 | * indent.c (Fvertical_motion): Fix last change. Only reseat when |
13400 | moving backwards. | |
13401 | ||
13402 | 2004-11-16 Luc Teirlinck <teirllm@auburn.edu> | |
ce2bbf6a LT |
13403 | |
13404 | * dispextern.h: Extern reseat_at_previous_visible_line_start. | |
13405 | ||
ab5b02b0 KH |
13406 | 2004-11-16 Kenichi Handa <handa@m17n.org> |
13407 | ||
13408 | * xdisp.c (display_mode_element): Fix previous change (calculate | |
13409 | end position of substring to display correctly). | |
13410 | ||
c482cf97 KS |
13411 | 2004-11-16 Kim F. Storm <storm@cua.dk> |
13412 | ||
13413 | * keyboard.c (Fposn_at_point): Remove extra */ after doc string. | |
13414 | Reported by Andrew M. Scott. | |
13415 | ||
9f89426b KS |
13416 | 2004-11-15 Kim F. Storm <storm@cua.dk> |
13417 | ||
13418 | * fns.c (Fsafe_plist_get): New defun. | |
13419 | (syms_of_fns): Defsubr it. | |
13420 | ||
13421 | * lisp.h (Fsafe_plist_get): Add EXFUN. | |
13422 | ||
13423 | * xdisp.c (store_mode_line_string, produce_stretch_glyph): | |
13424 | Use Fsafe_plist_get. | |
13425 | (note_mode_line_or_margin_highlight, note_mouse_highlight): | |
13426 | Fix image map element parsing. Use Fsafe_plist_get. | |
13427 | ||
27418463 RS |
13428 | 2004-11-15 Richard M. Stallman <rms@gnu.org> |
13429 | ||
13430 | * xdisp.c (get_next_display_element): Fix previous change. | |
13431 | ||
a130b901 JD |
13432 | 2004-11-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13433 | ||
ef614e04 JD |
13434 | * window.c (shrink_windows): Handle special case of one window left |
13435 | when trying to shrink the final reminder. Grow windows if | |
13436 | total_removed is less than total_shrink. | |
13437 | ||
a130b901 JD |
13438 | * xmenu.c (pop_down_menu): Remove global variable current_menu, |
13439 | extract pointer from arg with XSAVE_VALUE. | |
46303896 KS |
13440 | (create_and_show_popup_menu, create_and_show_dialog, xmenu_show): |
13441 | Construct arg to record_unwind_protect with make_save_value. | |
a130b901 | 13442 | |
d9a03ad2 RS |
13443 | 2004-11-13 Richard M. Stallman <rms@gnu.org> |
13444 | ||
13445 | * xdisp.c (reseat_at_previous_visible_line_start): No longer static. | |
13446 | (get_next_display_element): Fix previous change to apply only to \n. | |
13447 | ||
13448 | * indent.c (Fvertical_motion): Scan to PT from start of line to | |
13449 | make iterator consistent. | |
13450 | ||
13451 | * minibuf.c (syms_of_minibuf) <completion-ignore-case>: Doc fix. | |
13452 | ||
b3935289 JD |
13453 | 2004-11-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13454 | ||
13455 | * gtkutil.c (pop_down_file_dialog): Add BLOCK_INPUT. | |
13456 | ||
13457 | * xfns.c (Fx_file_dialog): Call x_menu_in_use and x_menu_set_in_use. | |
13458 | Record unwind with clean_up_file_dialog. | |
13459 | ||
78819ebb KS |
13460 | * xterm.h (x_menu_in_use, x_menu_set_in_use, x_menu_wait_for_event): |
13461 | Declare. | |
b3935289 JD |
13462 | |
13463 | * xmenu.c (x_menu_in_use, x_menu_set_in_use): New functions. | |
13464 | ||
af89e871 JD |
13465 | 2004-11-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13466 | ||
457a8155 | 13467 | * gtkutil.c (xg_file_sel_ok, xg_file_sel_cancel) |
6abf3a27 | 13468 | (xg_file_sel_destroy): Remove. |
46303896 KS |
13469 | (xg_file_response_cb, pop_down_file_dialog) |
13470 | (xg_get_file_name_from_chooser, xg_get_file_name_from_selector): | |
457a8155 | 13471 | New functions. |
6abf3a27 SM |
13472 | (xg_get_file_with_chooser, xg_get_file_with_selection): |
13473 | Take new arg func, set it to xg_get_file_name_from_chooser/selector. | |
457a8155 JD |
13474 | Move common code to xg_get_file_name. Return widget created. |
13475 | (xg_get_file_name): Set name, transient for, modal and destroy | |
13476 | with parent here. Connect response signal to xg_file_response_cb, | |
13477 | connect delete-event to gtk_true. Record pop_down_file_dialog | |
13478 | for unwind. Do event loop and call x_menu_wait_for_event in loop. | |
13479 | (xg_create_widget): Make dialogs modal. | |
13480 | ||
af89e871 JD |
13481 | * xmenu.c (unuse_menu_items, pop_down_menu): Arg is of type |
13482 | Lisp_Object. | |
13483 | (popup_get_selection): Move unwind protect ... | |
13484 | (create_and_show_popup_menu, create_and_show_dialog): ... to here. | |
13485 | Move destroy of widget to pop_down_menu. | |
13486 | (popup_widget_loop): Move unwind protect ... | |
13487 | (create_and_show_popup_menu, create_and_show_dialog): ... to here. | |
13488 | Move destroy of widget to pop_down_menu. | |
13489 | (pop_down_menu): BLOCK_INPUT and destroy widget/window. | |
6abf3a27 | 13490 | (xmenu_show): Record unwind pop_down_menu. Move XMenuDestroy, |
af89e871 JD |
13491 | x_mouse_leave and grabbed = 0 to pop_down_menu. |
13492 | ||
5596fbf1 KS |
13493 | 2004-11-13 Kim F. Storm <storm@cua.dk> |
13494 | ||
13495 | * xdisp.c (make_cursor_line_fully_visible_p): New variable. | |
13496 | (syms_of_xdisp): DEFVAR_BOOL it. | |
13497 | (make_cursor_line_fully_visible, try_cursor_movement) | |
13498 | (try_window_id): Use it. | |
13499 | ||
b9de078a KS |
13500 | 2004-11-12 Kim F. Storm <storm@cua.dk> |
13501 | ||
381f7091 KS |
13502 | * dispextern.h (struct glyph_row): New member extra_line_spacing. |
13503 | (struct it): New member max_extra_line_spacing. | |
13504 | (MR_PARTIALLY_VISIBLE, MR_PARTIALLY_VISIBLE_AT_TOP) | |
13505 | (MR_PARTIALLY_VISIBLE_AT_BOTTOM): New helper macros. | |
13506 | (MATRIX_ROW_PARTIALLY_VISIBLE_P): Fix to return false if invisible | |
13507 | part of last line is only extra line spacing (so the text on the | |
52eb0373 | 13508 | line is fully visible). Use helper macros. |
381f7091 KS |
13509 | Add W arg (to use them). All callers changed. |
13510 | (MATRIX_ROW_PARTIALLY_VISIBLE_AT_TOP_P) | |
13511 | (MATRIX_ROW_PARTIALLY_VISIBLE_AT_BOTTOM_P): Use helper macros. | |
13512 | ||
6abf3a27 SM |
13513 | * window.c (window_scroll_pixel_based, Frecenter): |
13514 | Use move_it_vertically_backward directly. | |
381f7091 KS |
13515 | (Frecenter): Fix calculation of new start pos for negative arg. |
13516 | Before, the new start pos was sometimes chosen too far back, so | |
13517 | the last line became only partially visible, and thus would be | |
13518 | either only semi-visible or automatically scrolled to the middle | |
13519 | of the window by redisplay. | |
13520 | ||
13521 | * xdisp.c (init_iterator): Clear it.max_extra_line_spacing. | |
13522 | (move_it_vertically_backward): Don't recure to move further back. | |
13523 | (move_it_vertically): Remove superfluous condition. | |
13524 | (move_it_by_lines): Clear last_height when moved 0 lines. | |
6abf3a27 | 13525 | (resize_mini_window): Use it.max_extra_line_spacing. |
381f7091 KS |
13526 | (display_tool_bar_line): Clear row->extra_line_spacing. |
13527 | (try_scrolling): Use move_it_vertically_backward directly. | |
13528 | (redisplay_window): Likewise. | |
13529 | (compute_line_metrics): Set row->extra_line_spacing. | |
13530 | (display_line, display_string): Likewise. | |
13531 | (x_produce_glyphs): Update it->max_extra_line_spacing. | |
13532 | ||
b9de078a KS |
13533 | * xmenu.c (pop_down_menu): Return nil. |
13534 | ||
c3438661 JD |
13535 | 2004-11-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13536 | ||
13537 | * xmenu.c (x_menu_wait_for_event): New function. | |
1d1c7e75 | 13538 | (popup_get_selection, popup_widget_loop): Call x_menu_wait_for_event |
c3438661 | 13539 | to handle timers. |
df00f436 JD |
13540 | (popup_widget_loop): Add argument do_timers. |
13541 | (create_and_show_popup_menu, create_and_show_dialog): Pass 1 for | |
13542 | do_timers to popup_widget_loop. | |
c3438661 JD |
13543 | (xmenu_show): Call XMenuActivateSetWaitFunction so that |
13544 | x_menu_wait_for_event is called by XMenuActivate. | |
b9de078a | 13545 | (create_and_show_popup_menu): Pass 1 for do_timers to |
df00f436 | 13546 | popup_get_selection. |
f1d1cd24 JD |
13547 | (pop_down_menu): New function. |
13548 | (popup_get_selection, popup_widget_loop): Unwind protect to | |
13549 | pop_down_menu. | |
13550 | (popup_widget_loop): Add argument widget. | |
13551 | (create_and_show_popup_menu, create_and_show_dialog): Pass new | |
13552 | argument widget to popup_widget_loop. | |
c3438661 | 13553 | |
32e2fb04 SM |
13554 | 2004-11-10 Stefan Monnier <monnier@iro.umontreal.ca> |
13555 | ||
13556 | * keymap.c (Fkeymap_prompt): Accept symbol keymaps. | |
13557 | ||
0faf6806 KS |
13558 | 2004-11-09 Kim F. Storm <storm@cua.dk> |
13559 | ||
13560 | * xselect.c: Include <sys/types.h> and <unistd.h> (for getpid). | |
13561 | Fix various comments referring to XEvents instead of input events. | |
13562 | (x_queue_event): Fix format strings. | |
13563 | (x_stop_queuing_selection_requests): Likewise. | |
13564 | ||
13565 | * xdisp.c (produce_image_glyph): Remove unused variable 'face_ascent'. | |
13566 | (pint2hrstr): Add extra braces to silence compiler. | |
13567 | ||
13568 | * print.c (print_object): Fix format string. | |
13569 | ||
13570 | * lread.c (read1): Fix next_char matching. | |
13571 | ||
13572 | * lisp.h (Fdelete): Add EXFUN. | |
13573 | (replace_range_2): Add prototype. | |
13574 | ||
13575 | * keyboard.c (read_avail_input): Remove unused variable 'discard'. | |
13576 | ||
13577 | * intervals.h (NULL_INTERVAL_P): Add separate version when | |
13578 | ENABLE_CHECKING is not defined to silence compiler. | |
13579 | (compare_string_intervals): Add prototype. | |
13580 | ||
13581 | * fringe.c (destroy_fringe_bitmap): Fix return type. | |
13582 | (Ffringe_bitmaps_at_pos): Remove unused var 'old_buffer'. | |
13583 | ||
13584 | * emacs.c (Fdump_emacs): Fix format string. | |
13585 | ||
13586 | * doc.c: Include <ctype.h>. | |
13587 | (Fsubstitute_command_keys): Remove unused variable 'firstkey'. | |
13588 | ||
13589 | * data.c (store_symval_forwarding): Remove unused variables. | |
13590 | ||
13591 | * callint.c (Fcall_interactively): Remove unused variable 'funcar'. | |
13592 | ||
16bf4e32 JD |
13593 | 2004-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13594 | ||
13595 | * Makefile.in (stamp-oldxmenu): If HAVE_GTK, don't add dependencies | |
13596 | to ${OLDXMENU}. | |
13597 | ||
cdb805a9 KS |
13598 | 2004-11-09 Kim F. Storm <storm@cua.dk> |
13599 | ||
13600 | * process.c (Fmake_network_process): Remove kludge for interrupted | |
13601 | connects on BSD. If connect is interrupted, just close socket and | |
13602 | start over rather than sleeping and retry with same socket. | |
13603 | ||
d87a9ab8 | 13604 | 2004-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
0faf6806 | 13605 | |
a8b16c80 JD |
13606 | * .cvsignore: Add buildobj.lst. |
13607 | ||
d87a9ab8 JD |
13608 | * doc.c: New variable Vbuild_files. |
13609 | (Fsnarf_documentation): If Vbuild_files is nil, populate it with | |
e7427ac1 | 13610 | file names from buildobj.lst. Only attach docstrings from files |
d87a9ab8 JD |
13611 | that are in Vbuild_files. |
13612 | (syms_of_doc): Defvar Vbuild_files. | |
13613 | ||
13614 | * Makefile.in (SOME_MACHINE_OBJECTS): Add fringe.o, image.o | |
13615 | and w32*.o. | |
13616 | (temacs${EXEEXT}): Generate buildobj.lst when temacs is linked. | |
6abf3a27 | 13617 | (mostlyclean): Rm buildobj.lst |
d87a9ab8 JD |
13618 | |
13619 | * makefile.w32-in ($(TEMACS)): Generate buildobj.lst when temacs | |
13620 | is linked. | |
13621 | ||
b6709e77 KS |
13622 | 2004-11-09 Kim F. Storm <storm@cua.dk> |
13623 | ||
13624 | * fringe.c (update_window_fringes): Update fringe bitmaps if | |
13625 | cur and row ends_at_zv_p differs. If bitmaps of a row is updated, | |
13626 | also update previous row to get rid of misc. artifacts. | |
13627 | ||
bae9677d KS |
13628 | 2004-11-08 Kim F. Storm <storm@cua.dk> |
13629 | ||
13630 | * xdisp.c (fast_find_position): Fix start pos if header line present. | |
b7127aa8 | 13631 | (note_mouse_highlight): Clear mouse face if we move out of text area. |
bae9677d | 13632 | |
3f8ea68c EZ |
13633 | 2004-11-08 Eli Zaretskii <eliz@gnu.org> |
13634 | ||
13635 | * editfns.c: Move #include "systime.h" before <sys/resource.h>. | |
13636 | Don't include <sys/time.h> explicitly. | |
13637 | Include <stdio.h> unconditionally, not just on MacOS. | |
13638 | ||
a653f812 KH |
13639 | 2004-11-08 Kenichi Handa <handa@m17n.org> |
13640 | ||
13641 | * fontset.c (fontset_pattern_regexp): Cancel my previous change; | |
13642 | don't pay attention to '\' before '*'. | |
13643 | (fontset_pattern_regexp): Change the meaning of the second arg. | |
13644 | (Fnew_fontset): Call fs_query_fontset, not Fquery_fontset. | |
13645 | (check_fontset_name): Try NAME as literal at first, and if it | |
13646 | failes, try NAME as pattern. | |
13647 | ||
c37caf9d JD |
13648 | 2004-11-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13649 | ||
13650 | * emacs.c (Fdump_emacs): Only output warning on GNU/Linux. | |
13651 | ||
b72915a7 AS |
13652 | 2004-11-07 Andreas Schwab <schwab@suse.de> |
13653 | ||
78819ebb KS |
13654 | * lisp.h (Fmsdos_downcase_filename): Declare. |
13655 | * dired.c (Fmsdos_downcase_filename): Don't declare here. | |
b72915a7 AS |
13656 | * fileio.c: Likewise. |
13657 | ||
238a44a8 JD |
13658 | 2004-11-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13659 | ||
13660 | * dosfns.c (Fdos_memget, Fdos_memput): Use integer variable offs in | |
13661 | comparisons with integers instead of Lisp_Object address. | |
13662 | (Fmsdos_set_keyboard): Declare argument allkeys. | |
13663 | ||
13664 | * msdos.c (IT_set_frame_parameters): Use EQ, not ==, for Lisp_Object:s. | |
13665 | ||
78819ebb | 13666 | * dired.c (Fmsdos_downcase_filename): Declare extern on MSDOS to avoid |
238a44a8 JD |
13667 | int/Lisp_Object mixup. |
13668 | ||
13669 | * fileio.c: Ditto. | |
13670 | ||
31141c13 ST |
13671 | 2004-11-06 Steven Tamm <steventamm@mac.com> |
13672 | ||
13673 | * editfns.c: Need to include sys/time.h before resource.h on darwin. | |
13674 | ||
f28c1bd9 RS |
13675 | 2004-11-06 Richard M. Stallman <rms@gnu.org> |
13676 | ||
13677 | * callint.c (Fcall_interactively): Avoid reusing EVENT for other data. | |
13678 | ||
13679 | * xfaces.c (merge_named_face): GCPRO the face_name in the | |
13680 | named_merge_point struct that we make. | |
13681 | (merge_face_heights): Eliminate GCPRO arg. All callers changed. | |
13682 | ||
13683 | * keyboard.c (command_loop_1): Change Vtransient_mark_mode | |
13684 | before deciding whether to inactivate mark. | |
13685 | ||
59dede22 EZ |
13686 | 2004-11-06 Lars Brinkhoff <lars@nocrew.org> |
13687 | ||
13688 | * config.in: Regenerate (add HAVE_GETRUSAGE). | |
6159c232 EZ |
13689 | * editfns.c (Fget_internal_run_time): New function. |
13690 | (syms_of_data): Defsubr it. | |
13691 | * fns.c (sxhash): As far as possible, merge calculation of | |
13692 | hash code for symbols and strings. | |
59dede22 | 13693 | |
27540e81 EZ |
13694 | 2004-11-06 Eli Zaretskii <eliz@gnu.org> |
13695 | ||
13696 | * frame.c (syms_of_frame): Fix the example in the doc string. | |
13697 | ||
df470e3b JD |
13698 | 2004-11-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13699 | ||
13700 | * eval.c (Feval): Remove check for INPUT_BLOCKED_P. | |
13701 | ||
13702 | * xmenu.c (popup_get_selection, create_and_show_popup_menu) | |
13703 | (create_and_show_dialog): Revert change from 2004-10-31. | |
bae9677d | 13704 | |
4cc8522c LT |
13705 | 2004-11-05 Luc Teirlinck <teirllm@auburn.edu> |
13706 | ||
13707 | * macros.c (syms_of_macros) <defining-kbd-macro>: Doc fix. | |
13708 | ||
d4a42098 KS |
13709 | 2004-11-05 Kim F. Storm <storm@cua.dk> |
13710 | ||
a8490886 KS |
13711 | * print.c (print_object): Print Lisp_Misc_Save_Value objects. |
13712 | ||
d4a42098 KS |
13713 | * fileio.c (Ffile_modes): Doc fix. |
13714 | (auto_save_1): Check for Ffile_modes nil value. | |
13715 | ||
36a2b04c KS |
13716 | 2004-11-05 Kim F. Storm <storm@cua.dk> |
13717 | ||
13718 | * xselect.c (struct selection_event_queue, selection_queue) | |
13719 | (x_queue_selection_requests, x_queue_event) | |
13720 | (x_start_queuing_selection_requests) | |
13721 | (x_stop_queuing_selection_requests): Add new queue for selection | |
13722 | input events to replace previous XEvent queue in xterm.c. | |
13723 | (queue_selection_requests_unwind): Adapt to new queue. | |
32e2fb04 SM |
13724 | (x_reply_selection_request): Adapt to new queue. |
13725 | Unexpect wait_object in case of x errors (memory leak). | |
36a2b04c KS |
13726 | (x_handle_selection_request, x_handle_selection_clear): Make static. |
13727 | (x_handle_selection_event): New function. May queue selection events. | |
13728 | (wait_for_property_change_unwind): Use save_value instead of cons. | |
13729 | Clear property_change_reply_object. | |
13730 | (wait_for_property_change): Abort if already waiting. | |
13731 | Use save_value instead of cons for unwind data. | |
13732 | (x_handle_property_notify): Skip events already arrived, but don't | |
13733 | free them, as "arrived" field is checked by wait_for_property_change, | |
13734 | and it will be freed by unwind or explicit unexpect_property_change. | |
13735 | (x_get_foreign_selection): Add to new queue. | |
13736 | (receive_incremental_selection): Don't unexpect wait_object when done | |
13737 | as it has already been freed by previous wait_for_property_change. | |
13738 | ||
13739 | * xterm.h (x_start_queuing_selection_requests) | |
13740 | (x_stop_queuing_selection_requests, x_handle_selection_request) | |
13741 | (x_handle_selection_clear): Remove prototypes. | |
13742 | (x_handle_selection_event): Add prototype. | |
13743 | ||
13744 | * xterm.c (handle_one_xevent): Don't queue X selection events | |
13745 | here, it may be too late if we start queuing after we have already | |
13746 | stored some selection events into the kbd buffer. | |
13747 | (struct selection_event_queue, queue, x_queue_selection_requests) | |
13748 | (x_queue_event, x_unqueue_events, x_start_queuing_selection_requests) | |
13749 | (x_stop_queuing_selection_requests): Remove/move to xselect.c. | |
13750 | (x_catch_errors_unwind): Block input around final XSync. | |
13751 | ||
13752 | * keyboard.h (kbd_buffer_unget_event): Add prototype. | |
13753 | ||
13754 | * keyboard.c (kbd_buffer_store_event_hold): Remove obsolete code. | |
13755 | (kbd_buffer_unget_event): New function. | |
13756 | (kbd_buffer_get_event, swallow_events): Combine SELECTION events | |
13757 | and use x_handle_selection_event. | |
13758 | (mark_kboards): Don't mark x and y of SELECTION_CLEAR_EVENT. | |
13759 | ||
9c3ad9e1 JD |
13760 | 2004-11-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13761 | ||
13762 | * xselect.c (TRACE3): New debug macro. | |
13763 | (x_reply_selection_request): Use it. | |
13764 | (receive_incremental_selection): In call to TRACE0, the name of | |
13765 | a symbol is in xname. | |
13766 | ||
a33b89de KS |
13767 | 2004-11-05 Kim F. Storm <storm@cua.dk> |
13768 | ||
13769 | * fontset.c (fontset_pattern_regexp): Use unsigned char. | |
13770 | ||
a872928c JD |
13771 | 2004-11-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13772 | ||
88208bb8 JD |
13773 | * fileio.c (Fnext_read_file_uses_dialog_p): New function. |
13774 | ||
78819ebb | 13775 | * gtkutil.h (use_old_gtk_file_dialog): Declare. |
0a4f23f3 JD |
13776 | |
13777 | * gtkutil.c: Make use_old_gtk_file_dialog non-static. | |
32e2fb04 | 13778 | (xg_initialize): Move DEFVAR_BOOL for use_old_gtk_file_dialog ... |
0a4f23f3 JD |
13779 | * xfns.c (syms_of_xfns): ... to here. |
13780 | ||
a872928c JD |
13781 | * gtkutil.c (xg_get_file_with_chooser): Expand DEFAULT_FILENAME if |
13782 | it doesn't start with /. | |
13783 | ||
b912921c KH |
13784 | 2004-11-04 Kenichi Handa <handa@m17n.org> |
13785 | ||
13786 | * fontset.c (fontset_pattern_regexp): If '*' is preceded by '\', | |
13787 | treat it as a literal character. | |
13788 | ||
c524d9a6 KS |
13789 | 2004-11-03 Kim F. Storm <storm@cua.dk> |
13790 | ||
13791 | * .gdbinit (ppt): New function. | |
13792 | ||
8cfd0f36 JD |
13793 | 2004-11-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13794 | ||
a11e1dce JD |
13795 | * xterm.c (x_window_to_scroll_bar): Only call |
13796 | xg_get_scroll_id_for_window if toolkit scroll bars are used. | |
13797 | ||
8cfd0f36 JD |
13798 | * gtkutil.c (xg_get_file_with_chooser): Use GTK_STOCK_OK instead |
13799 | of save. | |
13800 | ||
a93563fd AS |
13801 | 2004-11-02 Andreas Schwab <schwab@suse.de> |
13802 | ||
13803 | * window.c (Fscroll_right): Fix last change. | |
13804 | ||
2b2d59d8 KS |
13805 | 2004-11-02 Kim F. Storm <storm@cua.dk> |
13806 | ||
14a56a1b | 13807 | * Makefile.in (callproc.o): Depend on blockinput.h, atimer.h, systime.h. |
2b2d59d8 KS |
13808 | |
13809 | 2004-11-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
13810 | ||
13811 | * callproc.c (Fcall_process): Block input around vfork. | |
13812 | ||
ca28104d KS |
13813 | 2004-11-02 Kim F. Storm <storm@cua.dk> |
13814 | ||
13815 | * eval.c (Fcalled_interactively_p): Rename from Fcall_interactive_p. | |
13816 | (syms_of_eval): Defsubr it. | |
13817 | ||
29bb7127 RS |
13818 | 2004-11-02 Richard M. Stallman <rms@gnu.org> |
13819 | ||
13820 | * insdel.c (replace_range_2): New function. | |
13821 | ||
13822 | * casefiddle.c (casify_region): Handle changes in byte-length | |
13823 | using replace_range_2. | |
13824 | ||
13825 | * emacs.c (USAGE3): Delete --horizontal-scroll-bars, -hb. | |
13826 | ||
b6189c3b | 13827 | * xdisp.c (back_to_previous_visible_line_start): |
29bb7127 RS |
13828 | Subtract 1 from pos when checking previous newline for invisibility. |
13829 | ||
13830 | * window.c (window_scroll_pixel_based): Update preserve_y | |
13831 | for header line if any. | |
13832 | (Fscroll_left, Fscroll_right): Don't call interactive_p; | |
13833 | use a new second argument instead. | |
13834 | ||
13835 | * eval.c (Fcall_interactive_p): New function. | |
13836 | (interactive_p): Don't test INTERACTIVE here. | |
13837 | (Finteractive_p): Doc fix. | |
13838 | ||
13839 | * eval.c (Feval): Abort if INPUT_BLOCKED_P. | |
13840 | ||
b6189c3b | 13841 | 2004-11-02 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
a3fe4aaf JR |
13842 | |
13843 | * w32fns.c (w32_font_match): Use fast_string_match_ignore_case for | |
b6189c3b | 13844 | comparing font names. |
a3fe4aaf | 13845 | |
2a00cdb4 JD |
13846 | 2004-11-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13847 | ||
f9d64bb3 JD |
13848 | * fileio.c (Fread_file_name): Pass Qt as fifth parameter to |
13849 | Fx_file_dialog if only directories should be read. | |
13850 | ||
13851 | * lisp.h: Fx_file_dialog takes 5 parameters. | |
13852 | ||
32e2fb04 SM |
13853 | * xfns.c (Fx_file_dialog): Both Motif and GTK version: |
13854 | Add parameter only_dir_p. | |
f9d64bb3 JD |
13855 | In Motif version, don't put DEFAULT_FILENAME in filter part of the |
13856 | dialog, just text field part. Do not add DEFAULT_FILENAME | |
13857 | to list of files if it isn't there. | |
13858 | In GTK version, pass only_dir_p parameter to xg_get_file_name. | |
13859 | ||
32e2fb04 SM |
13860 | * macfns.c (Fx_file_dialog): Add parameter only_dir_p. |
13861 | Check only_dir_p instead of comparing prompt to "Dired". When using | |
f9d64bb3 JD |
13862 | a save dialog, add option kNavDontConfirmReplacement, change title |
13863 | to "Enter name", change text for save button to "Ok". | |
13864 | ||
32e2fb04 SM |
13865 | * w32fns.c (Fx_file_dialog): Add parameter only_dir_p. |
13866 | Check only_dir_p instead of comparing prompt to "Dired". | |
f9d64bb3 | 13867 | |
14a56a1b JB |
13868 | * gtkutil.c (xg_get_file_with_chooser, xg_get_file_with_selection): |
13869 | New functions, only defined ifdef HAVE_GTK_FILE_CHOOSER_DIALOG_NEW | |
13870 | and HAVE_GTK_FILE_SELECTION_NEW respectively. | |
f9d64bb3 JD |
13871 | (xg_get_file_name): Add parameter only_dir_p. |
13872 | Call xg_get_file_with_chooser or xg_get_file_with_selection | |
13873 | depending on HAVE_GTK_FILE* and the value of use_old_gtk_file_dialog. | |
13874 | (xg_initialize): New DEFVAR_BOOL use_old_gtk_file_dialog. | |
13875 | ||
13876 | * gtkutil.h (xg_get_file_name): Add parameter only_dir_p. | |
13877 | ||
2a00cdb4 JD |
13878 | * config.in: Rebuild (added HAVE_GTK_FILE_*). |
13879 | ||
f6749d5d KS |
13880 | 2004-11-01 Kim F. Storm <storm@cua.dk> |
13881 | ||
32e2fb04 SM |
13882 | * process.c (connect_wait_mask, num_pending_connects): |
13883 | Only declare and use them if NON_BLOCKING_CONNECT is defined. | |
bad49fc7 | 13884 | (init_process): Initialize them if NON_BLOCKING_CONNECT defined. |
f6749d5d KS |
13885 | (IF_NON_BLOCKING_CONNECT): New helper macro. |
13886 | (wait_reading_process_output): Only declare and use local vars | |
13887 | Connecting and check_connect when NON_BLOCKING_CONNECT is defined. | |
f6749d5d | 13888 | |
1a99fe1a JR |
13889 | 2004-11-01 Andy Petrusenco <Igrek@star-sw.com> (tiny change) |
13890 | ||
13891 | * w32term.c (x_scroll_run): Delete region objects after use. | |
13892 | ||
fcdb28b4 JD |
13893 | 2004-10-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13894 | ||
495ef86b JD |
13895 | * xmenu.c: Add prototypes for forward function declarations. |
13896 | (popup_get_selection): Remove parameter do_timers, remove call to | |
13897 | timer_check. | |
32e2fb04 SM |
13898 | (create_and_show_popup_menu, create_and_show_dialog): |
13899 | Remove parameter do_timers from call to popup_get_selection. | |
495ef86b | 13900 | |
12e6566a JD |
13901 | * xdisp.c (update_tool_bar): Pass a copy of f->tool_bar_items to |
13902 | tool_bar_items and assign the result to f->tool_bar_items if | |
13903 | not equal. Move BLOCK/UNBLOCK_INPUT from around call to | |
13904 | tool_bar_items to assignment of result. | |
13905 | ||
fcdb28b4 | 13906 | * atimer.c (alarm_signal_handler): Do not call set_alarm if |
14a56a1b | 13907 | pending_atimers is non-zero. |
fcdb28b4 | 13908 | |
1a1a0c4c KS |
13909 | 2004-10-31 Kim F. Storm <storm@cua.dk> |
13910 | ||
13911 | * dispnew.c (margin_glyphs_to_reserve): Don't use ncols_scale_factor. | |
13912 | ||
a36f1680 JW |
13913 | 2004-10-28 Will <will@glozer.net> |
13914 | ||
1d1c7e75 | 13915 | * macterm.c: Allow user to assign key modifiers to the Mac Option |
a36f1680 JW |
13916 | key via a 'mac-option-modifier' variable. |
13917 | ||
32e2fb04 | 13918 | 2004-10-28 Stefan Monnier <monnier@iro.umontreal.ca> |
2d586478 SM |
13919 | |
13920 | * xselect.c (Vx_lost_selection_functions, Vx_sent_selection_functions): | |
13921 | Rename from Vx_lost_selection_hooks and Vx_sent_selection_hooks. | |
13922 | (x_handle_selection_request, x_handle_selection_clear) | |
13923 | (x_clear_frame_selections, syms_of_xselect): Adjust accordingly. | |
13924 | ||
4f71c13f RS |
13925 | 2004-10-28 Richard M. Stallman <rms@gnu.org> |
13926 | ||
13927 | * w32fns.c (Fx_server_vendor, Fx_server_version): Doc fixes. | |
13928 | ||
13929 | * xfns.c (Fx_server_vendor, Fx_server_version): Doc fixes. | |
13930 | ||
068f3848 SM |
13931 | 2004-10-27 Stefan Monnier <monnier@iro.umontreal.ca> |
13932 | ||
13933 | * syntax.c (scan_sexps_forward): Give precedence to a 2-char | |
13934 | comment-starter over a 1-char one. | |
13935 | ||
4660a9e3 RS |
13936 | 2004-10-27 Richard M. Stallman <rms@gnu.org> |
13937 | ||
13938 | * xdisp.c (get_next_display_element): In mode lines, | |
13939 | treat newline and tab like other control characters. | |
13940 | ||
13941 | * editfns.c (Fmessage): Doc fix. | |
13942 | ||
13943 | * indent.c (vmotion): When moving up, check the newline before. | |
13944 | Make prevline an int, not a Lisp_Object. | |
13945 | ||
233f3db6 KS |
13946 | 2004-10-27 Kim F. Storm <storm@cua.dk> |
13947 | ||
13948 | * editfns.c (Fformat): Allocate discarded table with SAFE_ALLOCA. | |
13949 | Only allocate info and discarded tables once. | |
13950 | ||
13951 | * lisp.h (USE_SAFE_ALLOCA): Add and init sa_must_free integer. | |
13952 | (SAFE_ALLOCA, SAFE_ALLOCA_LISP): Increment it when malloc is used. | |
13953 | (SAFE_FREE): Test it to determine if we need to unwind to free. | |
13954 | Remove size arg. All users changed. | |
13955 | (SAFE_FREE_LISP) Remove. All users changed to use SAFE_FREE. | |
13956 | ||
1442465d JD |
13957 | 2004-10-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13958 | ||
13959 | * gtkutil.c: Put empty line between comment and function body. | |
068f3848 SM |
13960 | (xg_destroy_widgets): Rename from remove_from_container. |
13961 | Just destroy all widgets in list. Argument wcont removed. | |
1442465d JD |
13962 | (xg_update_menubar, xg_update_submenu): Call xg_destroy_widgets |
13963 | instead of remove_from_container. | |
13964 | (xg_display_close, xg_create_tool_bar, update_frame_tool_bar) | |
13965 | (free_frame_tool_bar): Add comment. | |
13966 | ||
13967 | * xfns.c (xic_create_xfontset): Check that FRAME_XIC_BASE_FONTNAME | |
13968 | is not NULL before strcmp. | |
13969 | ||
c8636435 KS |
13970 | 2004-10-26 Kim F. Storm <storm@cua.dk> |
13971 | ||
13972 | * callint.c (Fcall_interactively): Add 'U' code to get the | |
13973 | up-event discarded by a previous 'k' or 'K' argument. | |
13974 | ||
5629f29b DK |
13975 | 2004-10-26 David Kastrup <dak@gnu.org> |
13976 | ||
13977 | * buffer.c (syms_of_buffer): Fix a few typos. | |
13978 | ||
4f2f546e JD |
13979 | 2004-10-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
13980 | ||
13981 | * xsmfns.c: Put empty line between comment and function body. | |
13982 | Use two spaces before comment end. | |
13983 | ||
fc1062f5 KH |
13984 | 2004-10-25 Kenichi Handa <handa@m17n.org> |
13985 | ||
13986 | * fontset.c (fontset_pattern_regexp): Optimize for the case that | |
13987 | PATTERN is full XLFD. | |
13988 | ||
be13f5e5 KH |
13989 | 2004-10-24 Kenichi Handa <handa@m17n.org> |
13990 | ||
13991 | * regex.h (enum reg_errcode_t): New value REG_ERANGEX. | |
13992 | ||
13993 | * regex.c (re_error_msgid): Add an entry for REG_ERANGEX. | |
13994 | (regex_compile): Return REG_ERANGEX if appropriate. | |
13995 | ||
d0ee2ed3 KH |
13996 | 2004-10-22 Kenichi Handa <handa@m17n.org> |
13997 | ||
13998 | * editfns.c (Ftranslate_region_internal): New function. | |
13999 | (syms_of_editfns): Defsubr it. | |
14000 | ||
63ea8ea5 JD |
14001 | 2004-10-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14002 | ||
14003 | * xfns.c (xic_create_xfontset): Initialize missing_list to NULL. | |
14004 | ||
d495ccfc | 14005 | 2004-10-21 K\e,Aa\e(Broly L\e$,1 q\e(Brentey <lorentey@elte.hu> |
c27ed90a | 14006 | |
068f3848 SM |
14007 | * xterm.h (x_output): New member `xic_base_fontname'. |
14008 | (FRAME_XIC_BASE_FONTNAME): New macro. | |
14009 | (xic_free_xfontset): Declare. | |
c27ed90a | 14010 | |
068f3848 SM |
14011 | * xfns.c (xic_create_xfontset): Share fontsets between frames |
14012 | based on base_fontname. | |
14013 | (xic_free_xfontset): New function. | |
14014 | (free_frame_xic): Use it. | |
14015 | (xic_set_xfontset): Ditto. | |
c27ed90a | 14016 | |
068f3848 | 14017 | * xterm.c (xim_destroy_callback): Ditto. |
c27ed90a | 14018 | |
59508699 JR |
14019 | 2004-10-20 B. Anyos <banyos@freemail.hu> (tiny change) |
14020 | ||
14021 | * w32term.c (x_draw_glyph_string): Use overline_color for overlines. | |
14022 | ||
dede2792 JD |
14023 | 2004-10-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14024 | ||
3aca2078 JD |
14025 | * xterm.h (XSync): If USE_GTK, define XSync as process_all and then |
14026 | XSync. | |
14027 | ||
dede2792 JD |
14028 | * emacs.c (my_heap_start, heap_bss_diff, MAX_HEAP_BSS_DIFF): |
14029 | New variables and constant. | |
14030 | (main): Calculate heap_bss_diff. If we are dumping and the | |
14031 | heap_bss_diff is greater than MAX_HEAP_BSS_DIFF, set PER_LINUX32 | |
14032 | and exec ourself again. | |
14033 | (Fdump_emacs): If heap_bss_diff is greater than MAX_HEAP_BSS_DIFF | |
14034 | print a warning. | |
14035 | ||
14036 | * lastfile.c: Make my_endbss and my_endbss_static available on all | |
14037 | platforms. | |
14038 | ||
14039 | * Makefile.in (RUN_TEMACS): Remove @SETARCH@. | |
14040 | * config.in (HAVE_PERSONALITY_LINUX32): Regenerate. | |
14041 | ||
1dc5ba01 LT |
14042 | 2004-10-19 Luc Teirlinck <teirllm@auburn.edu> |
14043 | ||
14044 | * data.c (Flocal_variable_if_set_p): Doc fix. | |
14045 | ||
950090be JR |
14046 | 2004-10-19 Jason Rumney <jasonr@gnu.org> |
14047 | ||
14048 | * w32.c (init_environment): Set emacs_dir correctly when running | |
14049 | emacs from the build directory. | |
14050 | ||
8550b998 RS |
14051 | 2004-10-19 Richard M. Stallman <rms@gnu.org> |
14052 | ||
14053 | * editfns.c (Fdelete_and_extract_region): | |
14054 | If region is empty, return null string. | |
14055 | ||
08dedea6 JD |
14056 | 2004-10-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14057 | ||
1dc5ba01 | 14058 | * gtkutil.h (xg_update_scrollbar_pos): Remove arguments real_left |
08dedea6 | 14059 | and canon_width. |
068f3848 | 14060 | (xg_frame_cleared): Remove. |
08dedea6 | 14061 | |
068f3848 SM |
14062 | * gtkutil.c (xg_frame_cleared, xg_fixed_handle_expose) |
14063 | (xg_find_top_left_in_fixed): Remove. | |
08dedea6 JD |
14064 | (xg_create_scroll_bar): Put an event box widget between |
14065 | the scroll bar widget and the edit widget. | |
14066 | (xg_show_scroll_bar): Show the parent widget (the event box). | |
14067 | (xg_remove_scroll_bar): Destroy parent (the event box) also. | |
14068 | (xg_update_scrollbar_pos): Remove arguments real_left and canon_width. | |
14069 | Move the parent (the event box) widget inside the fixed widget. | |
14070 | Move window clear to xterm.c. | |
14071 | ||
068f3848 | 14072 | * gtkutil.h (xg_frame_cleared): Remove. |
1dc5ba01 | 14073 | |
08dedea6 | 14074 | * xterm.c (x_clear_frame): Remove call to xg_frame_cleared |
068f3848 SM |
14075 | (x_scroll_bar_create, XTset_vertical_scroll_bar): |
14076 | Remove arguments left and width to xg_update_scrollbar_pos. | |
08dedea6 JD |
14077 | (XTset_vertical_scroll_bar): Do x_clear_area for USE_GTK also. |
14078 | ||
8550b998 | 14079 | 2004-10-19 Kenichi Handa <handa@m17n.org> |
e3e55463 KS |
14080 | |
14081 | * xdisp.c (display_mode_element): Fix display of wide chars. | |
e3e55463 | 14082 | |
84338890 JD |
14083 | 2004-10-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14084 | ||
14085 | * gtkutil.c (xg_update_scrollbar_pos): Change XClearWindow to | |
14086 | gdk_window_clear and move gdk_window_process_all_updates after | |
14087 | clear so events are sent to the X server in correct order. | |
14088 | ||
6e1b0d8c KH |
14089 | 2004-10-18 Kenichi Handa <handa@m17n.org> |
14090 | ||
14091 | * fontset.c (fs_load_font): Use fast_string_match_ignore_case for | |
14092 | comparing font names. | |
8550b998 | 14093 | (fs_query_fontset): Use fast_string_match for comparing fontset names. |
6e1b0d8c KH |
14094 | (list_fontsets): Likewise. |
14095 | ||
14096 | * search.c (fast_string_match_ignore_case): New function. | |
14097 | ||
14098 | * lisp.h (fast_string_match_ignore_case): Extern it. | |
14099 | ||
345e75a8 KS |
14100 | 2004-10-17 Kim F. Storm <storm@cua.dk> |
14101 | ||
14102 | * xdisp.c (overlay_arrow_at_row): Return overlay string rather | |
14103 | than bitmap if there is not left fringe. | |
14104 | (get_overlay_arrow_glyph_row): Also used on windows system. | |
14105 | (display_line): Display overlay string if no left fringe. | |
14106 | ||
be13cbb7 JR |
14107 | 2004-10-16 Jason Rumney <jasonr@gnu.org> |
14108 | ||
14109 | * w32fns.c (w32_font_match): Encode font name being matched. | |
14110 | ||
c2e2ede7 RS |
14111 | 2004-10-16 Richard M. Stallman <rms@gnu.org> |
14112 | ||
14113 | * window.c (Fspecial_display_p): Doc fix. | |
14114 | ||
043f7f73 | 14115 | 2004-10-15 Stefan Monnier <monnier@iro.umontreal.ca> |
3584d95d SM |
14116 | |
14117 | * doc.c (Fsubstitute_command_keys): Fix remap-handling. | |
14118 | Don't ignore menus, because where-is-internal already does it for us. | |
14119 | ||
699a0392 KS |
14120 | 2004-10-15 Kim F. Storm <storm@cua.dk> |
14121 | ||
b3c7a89b KS |
14122 | * xdisp.c (redisplay_window): Only update fringes and vertical |
14123 | border on window frames. | |
699a0392 | 14124 | |
4e382b0f AS |
14125 | 2004-10-14 Andreas Schwab <schwab@suse.de> |
14126 | ||
14127 | * m/ia64.h (DATA_SEG_BITS): Don't define. | |
14128 | ||
329a7be2 KS |
14129 | 2004-10-14 Kim F. Storm <storm@cua.dk> |
14130 | ||
14131 | * xterm.h: Include Xutil.h after keysym.h to work around bug | |
dbb37962 | 14132 | in some X versions. |
329a7be2 | 14133 | |
982241b1 SM |
14134 | 2004-10-13 Stefan Monnier <monnier@iro.umontreal.ca> |
14135 | ||
14136 | * fns.c (map_char_table): Add missing gcpros. | |
14137 | ||
9238467d SM |
14138 | 2004-10-13 Stefan Monnier <monnier@iro.umontreal.ca> |
14139 | ||
14140 | * keymap.c (get_keymap): An autoload form is not a keymap. | |
14141 | ||
14142 | * textprop.c (syms_of_textprop): Make `syntax-table' nonsticky. | |
14143 | ||
4440e3ca KS |
14144 | 2004-10-13 Kim F. Storm <storm@cua.dk> |
14145 | ||
7cfdabde KS |
14146 | * callproc.c (Fcall_process): Simplify handling of display arg. |
14147 | Resume `display_on_the_fly' once a coding system is determined. | |
14148 | ||
4440e3ca KS |
14149 | * xdisp.c (redisplay_preserve_echo_area): Fix last change. |
14150 | ||
1c8dec6a KS |
14151 | 2004-10-12 Kim F. Storm <storm@cua.dk> |
14152 | ||
14153 | * xdisp.c (redisplay_preserve_echo_area): Flush display in case | |
14154 | caller, such as call-process, is not going to poll for input. | |
14155 | (calc_line_height_property): Handle case where it->object is nil. | |
14156 | ||
14157 | * xterm.c (x_redisplay_interface): Fix flush_display_optional. | |
14158 | ||
170b174c KH |
14159 | 2004-10-12 Kenichi Handa <handa@m17n.org> |
14160 | ||
9238467d SM |
14161 | * xdisp.c (get_next_display_element): |
14162 | If unibyte_display_via_language_environment is zero, display 8-bit | |
170b174c KH |
14163 | chars in octal in unibyte buffer. |
14164 | ||
b583964c KS |
14165 | 2004-10-12 Kim F. Storm <storm@cua.dk> |
14166 | ||
14167 | * doc.c (Fsubstitute_command_keys): Ignore remappings unless there | |
14168 | are no ordinary bindings. | |
14169 | ||
29fabd8c JD |
14170 | 2004-10-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14171 | ||
9238467d | 14172 | * xfns.c (syms_of_xfns): Defsubr x-file-dialog for GTK also. |
29fabd8c | 14173 | |
c3f4c690 ST |
14174 | 2004-10-10 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
14175 | ||
9238467d SM |
14176 | * macterm.c (x_raise_frame): Add BLOCK_INPUT around SelectWindow. |
14177 | (x_lower_frame): Add BLOCK_INPUT around SendBehind. | |
c3f4c690 | 14178 | (make_mac_frame): Add BLOCK_INPUT around the making of a |
9238467d SM |
14179 | terminal frame. |
14180 | (mac_initialize): Add BLOCK_INPUT around carbon initialization. | |
14181 | * macgui.h (mktime): Use emacs_mktime. | |
c3f4c690 ST |
14182 | * macfns.c (Fx_file_dialog): Add BLOCK_INPUT around more code. |
14183 | Make a cancel file-open dialog be like C-g. | |
9238467d SM |
14184 | * mac.c (mktime): Use emacs_mktime. |
14185 | (Fdo_applescript): Add BLOCK_INPUT around do_applescript. | |
14186 | (Fmac_paste_function): Add better error handling for carbon cut/paste. | |
c3f4c690 | 14187 | |
9688f9eb KS |
14188 | 2004-10-10 Kim F. Storm <storm@cua.dk> |
14189 | ||
14190 | * keyboard.c (timer_resume_idle): New function to resume idle | |
14191 | timer without resetting timers on the idle list. | |
52eb0373 | 14192 | (read_char): Use timer_resume_idle. Remove local var last_idle_start. |
9688f9eb KS |
14193 | (timer_start_idle, timer_stop_idle): Declare static. |
14194 | (read_key_sequence): Use timer_resume_idle instead of timer_start_idle. | |
14195 | ||
14196 | * keyboard.h (timer_start_idle, timer_stop_idle): Remove prototypes. | |
14197 | ||
f7f3a65f ST |
14198 | 2004-10-08 Steven Tamm <steventamm@mac.com> |
14199 | ||
9238467d | 14200 | * config.in (HAVE_MALLOC_MALLOC_H): Regenerate. |
f7f3a65f | 14201 | * macterm.c (mac_check_for_quit_char): Remove warning for using |
9238467d | 14202 | NULL where 0 should be used. |
f7f3a65f ST |
14203 | * unexmacosx.c: Use malloc/malloc.h on Tiger instead of |
14204 | objc/malloc.h | |
9238467d | 14205 | * mac.c: Include time.h for Tiger compatibility. |
f7f3a65f | 14206 | |
3c7d999a KS |
14207 | 2004-10-07 Kim F. Storm <storm@cua.dk> |
14208 | ||
14209 | * xdisp.c (redisplay_window): Fix flicker on vertical line between | |
14210 | windows. Update vertical line after drawing window fringes, but | |
14211 | only if actually drawing any bitmaps--or there is no fringe. | |
14212 | ||
14213 | * xterm.c (x_update_window_end): Likewise. | |
14214 | * macterm.c (x_update_window_end): Likewise. | |
14215 | * w32term.c (x_update_window_end): Likewise. | |
14216 | ||
14217 | * fringe.c (draw_window_fringes): Return value now indicates if | |
14218 | any fringe bitmaps were redrawn (or there are no fringes). | |
14219 | ||
14220 | * dispextern.h (draw_window_fringes): Update prototype. | |
14221 | ||
bf06c82f ST |
14222 | 2004-10-06 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
14223 | ||
14224 | * macfns.c (mac_get_window_bounds): Add extern. | |
14225 | (x_real_positions): Use mac_get_window_bounds. | |
14226 | ||
14227 | * macmenu.c (update_submenu_strings): Apply 2004-09-07 change for | |
14228 | xmenu.c (YAILOM). | |
3c7d999a | 14229 | |
bf06c82f ST |
14230 | * macterm.c [!MAC_OSX]: Include Windows.h. |
14231 | (front_emacs_window): Rename from mac_front_window. All uses | |
14232 | changed. Return the frontmost non-tooltip emacs window. | |
14233 | (mac_get_window_bounds): New function. | |
14234 | (x_calc_absolute_position): Use the difference of width and height | |
14235 | between the inner and outer window. | |
14236 | (x_set_offset): Specify window position by the coordinae of the | |
14237 | outer window. Adjust the position if the title bar is completely | |
14238 | outside the screen. | |
14239 | (app_is_suspended, app_sleep_time): Remove unused variables. | |
14240 | (do_app_resume, do_app_suspend): Remove their contents because | |
14241 | window-activate/deactivate events will do the job. | |
14242 | (do_zoom_window): Remove unused variables. Make compliant to the | |
14243 | standard way of zooming. Set f->left_pos and f->top_pos. | |
14244 | (XTread_socket): Don't use argument `expected'. Don't use | |
14245 | FrontWindow to determine the clicked window. Exclude unprocessed | |
14246 | mouseUp cases in the early stage. Add parentheses to fix operator | |
14247 | precedence. | |
14248 | (XTread_socket) [TARGET_API_MAC_CARBON]: Don't specify drag area. | |
14249 | ||
c6605d63 | 14250 | 2004-10-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
d8b43276 JD |
14251 | |
14252 | * config.in: Regenerate. | |
14253 | ||
14254 | * Makefile.in (RUN_TEMACS): Check HAVE_RANDOM_HEAPSTART instead of | |
14255 | HAVE_EXECSHIELD. | |
14256 | ||
b90ee8b5 JD |
14257 | 2004-10-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14258 | ||
14259 | * xterm.c (x_find_modifier_meanings): Ignore any Super or Hyper for | |
14260 | a row if Alt or Meta has been found for that row. Also stop scanning | |
14261 | for Keysyms for that row. | |
14262 | ||
904db1a2 KS |
14263 | 2004-10-04 Kim F. Storm <storm@cua.dk> |
14264 | ||
0207b8ad KS |
14265 | * fringe.c (Ffringe_bitmaps_at_pos): Change return value from cons |
14266 | to list. Include overlay arrow bitmap in return value. | |
14267 | ||
25f7220c KS |
14268 | * xterm.c (XTset_vertical_scroll_bar): Improve handling of scroll |
14269 | bars with fractional column width. If scroll bar separates two | |
14270 | windows, move it towards the window it belongs to. Only update | |
14271 | the padding area below the scroll bar widget when necessary, | |
14272 | i.e. when scroll bar widget is created, moved, or resized. | |
14273 | ||
562020fe KS |
14274 | * xdisp.c (define_frame_cursor1): Do not change frame cursor |
14275 | while tracking/dragging mouse. | |
14276 | (x_draw_vertical_border): Do not draw line if frame has scroll bars. | |
14277 | ||
37e34af7 KS |
14278 | * window.c (coordinates_in_window): Relax check for cursor |
14279 | on vertial border between mode lines. | |
14280 | (Fset_window_fringes): Do not allow negative widths. | |
14281 | (Fset_window_scroll_bars): Likewise. | |
14282 | ||
904db1a2 KS |
14283 | * .gdbinit (pp): Shorthand for p ARG + pr. |
14284 | (ff): New command: flush frame updates (X only). | |
14285 | ||
38fe4f64 MA |
14286 | 2004-10-03 Michael Albinus <michael.albinus@gmx.de> |
14287 | ||
14288 | * fileio.c (auto_save_1) Call Ffile_modes for remote files. | |
14289 | ||
9de36315 KH |
14290 | 2004-09-30 Kenichi Handa <handa@m17n.org> |
14291 | ||
07c381ad | 14292 | * process.c (send_process): Free composition data. |
9de36315 | 14293 | |
07c381ad | 14294 | * fileio.c (Finsert_file_contents): Free composition data. |
9de36315 KH |
14295 | |
14296 | * coding.c (code_convert_region): Don't skip ASCIIs if there are | |
07c381ad KH |
14297 | compositions to encode. |
14298 | (encode_coding_string): Likewise. Free composition data. | |
14299 | ||
d5fb8dab | 14300 | 2004-09-30 Florian Weimer <fw@deneb.enyo.de> |
07c381ad KH |
14301 | |
14302 | * coding.c (code_convert_region): Free composition data. | |
9de36315 | 14303 | |
f2a54fbc KS |
14304 | 2004-09-29 Kim F. Storm <storm@cua.dk> |
14305 | ||
dc5d6435 KS |
14306 | * fringe.c: Remove limit on number of bitmaps. |
14307 | (fringe_bitmaps, fringe_faces): Change to pointers. | |
14308 | (max_fringe_bitmaps): New var. | |
14309 | (Fdefine_fringe_bitmap): Expand fringe_bitmaps and fringe_faces. | |
14310 | (init_fringe): Allocate fringe_bitmaps and fringe_faces. | |
14311 | ||
14312 | * dispextern.h (FRINGE_ID_BITS): Increase to 16 bits (64K bitmaps). | |
14313 | (struct glyph_row): Reorder fringe_bitmap related fields. | |
14314 | (struct it): Likewise. | |
14315 | ||
14316 | * w32term.c (fringe_bmp): Change to pointer. | |
14317 | (max_fringe_bmp): New var. | |
14318 | (w32_define_fringe_bitmap): Expand fringe_bmp. | |
14319 | (w32_draw_fringe_bitmap): Check max_fringe_bmp. | |
14320 | (w32_destroy_fringe_bitmap): Likewise. | |
14321 | ||
14322 | 2004-09-29 Kim F. Storm <storm@cua.dk> | |
14323 | ||
14324 | * fringe.c: Simplify last change. | |
f2a54fbc KS |
14325 | (lookup_fringe_bitmap): New function. |
14326 | (valid_fringe_bitmap_p, resolve_fringe_bitmap): Remove. | |
14327 | (Fdestroy_fringe_bitmap): Use lookup_fringe_bitmap. | |
14328 | Keep standard bitmaps in Vfringe_bitmaps. | |
14329 | (Fdefine_fringe_bitmap): Use lookup_fringe_bitmap. | |
14330 | (Fset_fringe_bitmap_face): Likewise. | |
14331 | ||
14332 | * dispextern.h (lookup_fringe_bitmap): Add prototype. | |
14333 | (valid_fringe_bitmap_p): Remove prototype. | |
14334 | ||
14335 | * xdisp.c (handle_single_display_prop): Use lookup_fringe_bitmap. | |
14336 | ||
841a8bca KS |
14337 | 2004-09-29 Kim F. Storm <storm@cua.dk> |
14338 | ||
1f2da365 KS |
14339 | * fringe.c (destroy_fringe_bitmap, init_fringe_bitmap) |
14340 | (w32_init_fringe, w32_reset_fringes): Fix bootstrap (NULL rif). | |
14341 | ||
841a8bca KS |
14342 | * dispextern.h (valid_fringe_bitmap_p): Fix prototype. |
14343 | ||
14344 | * fringe.c (Vfringe_bitmaps): New variable. | |
14345 | (syms_of_fringe): DEFVAR_LISP it. | |
14346 | (valid_fringe_bitmap_p): Rename from valid_fringe_bitmap_id_p. | |
14347 | Change arg to Lisp_Object and fail if not an integer. | |
14348 | (get_fringe_bitmap_name, resolve_fringe_bitmap) | |
14349 | (destroy_fringe_bitmap): New functions. | |
9238467d SM |
14350 | (Fdestroy_fringe_bitmap): Change arg to bitmap symbol. |
14351 | Use destroy_fringe_bitmap. Remove symbol from Vfringe_bitmaps and | |
841a8bca KS |
14352 | clear its fringe property. |
14353 | (init_fringe_bitmap): Use destroy_fringe_bitmap instead of | |
14354 | Fdestroy_fringe_bitmap. | |
14355 | (Fdefine_fringe_bitmap): Add BITMAP arg specifying new or existing | |
14356 | bitmap symbol; remove WHICH arg. Add symbol to Vfringe_bitmaps | |
14357 | and set fringe property. Signal error if no free slots. | |
14358 | (Fset_fringe_bitmap_face): Change arg to bitmap symbol. | |
14359 | (Ffringe_bitmaps_at_pos): Return bitmap symbols instead of numbers. | |
14360 | ||
14361 | * xdisp.c (handle_single_display_prop): Fringe bitmaps are now | |
14362 | symbols with a fringe property. | |
14363 | ||
4d965590 KS |
14364 | 2004-09-27 Kim F. Storm <storm@cua.dk> |
14365 | ||
14366 | * buffer.c (syms_of_buffer) <indicate-buffer-boundaries>: | |
14367 | Doc fix. Format may now be a symbol or alist, not a cons. | |
14368 | ||
14369 | * fringe.c (update_window_fringes): Handle new formats of | |
14370 | indicate-buffer-boundaries (symbol or alist). No longer | |
14371 | allow a simple cons. | |
14372 | (Ffringe_bitmaps_at_pos): Use nil value for no bitmap. | |
14373 | ||
e888c2b3 JD |
14374 | 2004-09-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14375 | ||
9238467d | 14376 | * config.in: Rebuild. |
e888c2b3 | 14377 | |
83f1cb94 JD |
14378 | 2004-09-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14379 | ||
14380 | * config.in: Rebuild. | |
14381 | ||
9dd28cae | 14382 | * Makefile.in: Run setarch i386 ./temacs if exec-shield is present. |
83f1cb94 | 14383 | |
2c51754c SM |
14384 | 2004-09-18 Stefan Monnier <monnier@iro.umontreal.ca> |
14385 | ||
14386 | * xterm.c (x_term_init): Work around a bug in some X servers. | |
14387 | ||
3df5f8aa RS |
14388 | 2004-09-18 Richard M. Stallman <rms@gnu.org> |
14389 | ||
557ca2c1 RS |
14390 | * buffer.c (syms_of_buffer) <default-major-mode>: Doc fix. |
14391 | ||
3df5f8aa RS |
14392 | * xdisp.c (try_window_reusing_current_matrix): |
14393 | Handle the case where we reach the old displayed text, | |
14394 | out of sync with the old line boundary. | |
14395 | ||
9238467d | 14396 | 2004-09-14 Stefan Monnier <monnier@iro.umontreal.ca> |
4b70e2c9 SM |
14397 | |
14398 | * fileio.c (Finsert_file_contents): Fix case of replacement in a | |
14399 | narrowed buffer. | |
14400 | ||
bfa02563 KS |
14401 | 2004-09-14 Kim F. Storm <storm@cua.dk> |
14402 | ||
a25fe164 KS |
14403 | * puresize.h (PURESIZE_RATIO): Define based on BITS_PER_EMACS_INT. |
14404 | ||
bfa02563 KS |
14405 | * xfaces.c (Qface_no_inherit): New var. |
14406 | (syms_of_xfaces): Intern and staticpro it. | |
14407 | (Finternal_make_lisp_face, Finternal_set_lisp_face_attribute) | |
14408 | (Finternal_copy_lisp_face, update_face_from_frame_parameter): | |
14409 | Don't increment face_change_count when face has non-nil | |
14410 | face-no-inherit property. | |
14411 | ||
126f9c02 SM |
14412 | 2004-09-13 Stefan Monnier <monnier@iro.umontreal.ca> |
14413 | ||
892a8eb5 SM |
14414 | * bytecode.c (BYTE_CODE_QUIT): Add missing AFTER_POTENTIAL_GC. |
14415 | (Fbyte_code): Remove dead code after `wrong_type_argument'. | |
14416 | ||
126f9c02 | 14417 | * alloc.c (Fgarbage_collect): Mark keyboards, gtk data, and specpdl |
9238467d | 14418 | before doing the mark_stack_check_gcpros since they're not on the stack. |
126f9c02 | 14419 | |
c0ad3b38 KS |
14420 | 2004-09-12 Kim F. Storm <storm@cua.dk> |
14421 | ||
14422 | * editfns.c (Fformat): Handle format strings with multiple text | |
14423 | properties. Reverse text property list from the format string, | |
14424 | so the positions are in increasing order. | |
14425 | ||
844fc085 JD |
14426 | 2004-09-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14427 | ||
14428 | * xselect.c (x_reply_selection_request): XSync and UNBLOCK before | |
14429 | x_uncatch_errors so that possible protocol errors are delivered. | |
14430 | ||
b106731c EZ |
14431 | 2004-09-10 Eli Zaretskii <eliz@gnu.org> |
14432 | ||
21065c92 EZ |
14433 | * Makefile.in (msdos.o): Depend on buffer.h, commands.h, and |
14434 | blockinput.h. | |
14435 | (dosfns.o): Depend on blockinput.h, window.h, dispextern.h, | |
14436 | charset.h, and coding.h | |
9238467d | 14437 | (w16select.o): Depend on buffer.h, charset.h, coding.h, and composite.h. |
21065c92 EZ |
14438 | (term.o): Depend on window.h and keymap.h. |
14439 | (abbrev.o): Depend on syntax.h. | |
14440 | (callint.o): Depend on keymap.h. | |
14441 | (casefiddle.o): Depend on charset.h and keymap.h. | |
14442 | (category.o): Depend on keymap.h. | |
14443 | (coding.o): Depend on dispextern.h. | |
14444 | (cmds.o): Depend on keyboard.h and keymap.h. | |
14445 | (dispnew.o): Depend on indent.h and intervals.h. | |
14446 | (doc.o): Depend on keymap.h. | |
14447 | (editfns.o): Depend on frame.h. | |
14448 | (emacs.o): Depend on dispextern.h. | |
14449 | (fileio.o): Don't depend on ccl.h. | |
14450 | (filelock.o): Depend on charset.h and coding.h. | |
14451 | (frame.o): Depend on w32term.h and macterm.h. | |
14452 | (insdel.o): Depend on region-cache.h. | |
14453 | (keyboard.o): Depend on keymap.h, w32term.h, and macterm.h. | |
14454 | (minibuf.o): Depend on $(INTERVALS_SRC) and keymap.h. | |
14455 | (search.o): Depend on $(INTERVALS_SRC). | |
14456 | (syntax.o): Depend on keymap.h, regex.h, and $(INTERVALS_SRC). | |
14457 | (window.o): Depend on keymap.h, blockinput.h, $(INTERVALS_SRC), | |
14458 | xterm.h, w32term.h, and macterm.h. | |
14459 | (xdisp.o): Depend on keyboard.h, $(INTERVALS_SRC), xterm.h, | |
14460 | w32term.h, and macterm.h. | |
14461 | (xfaces.o): Depend on keyboard.h, $(INTERVALS_SRC), | |
14462 | region-cache.h, xterm.h, w32term.h, and macterm.h. | |
14463 | (bytecode.o): Depend on dispextern.h, frame.h, and xterm.h. | |
14464 | (data.o): Depend on frame.h. | |
14465 | (fns.o): Depend on keymap.h, xterm.h, and blockinput.h. | |
14466 | (print.o): Depend on termchar.h and $(INTERVALS_SRC). | |
14467 | (lread.o): Depend on $(INTERVALS_SRC), termhooks.h, and coding.h. | |
14468 | (intervals.o): Depend on keymap.h. | |
14469 | ||
9238467d SM |
14470 | * msdos.c (msdos_set_cursor_shape, IT_display_cursor): |
14471 | Add debugging print-out to termscript. | |
b106731c | 14472 | |
64b7122d RS |
14473 | 2004-09-09 Richard M. Stallman <rms@gnu.org> |
14474 | ||
14475 | * xdisp.c (decode_mode_spec): Use current buffer for most purposes. | |
14476 | ||
5670531e RS |
14477 | 2004-09-08 Richard M. Stallman <rms@gnu.org> |
14478 | ||
6cb4a892 RS |
14479 | * window.c (Fset_window_buffer): Doc fix. |
14480 | ||
5670531e RS |
14481 | * xdisp.c (Fformat_mode_line): New arg BUFFER says which buffer to use. |
14482 | ||
7e388eb7 JL |
14483 | 2004-09-08 Dan Nicolaescu <dann@ics.uci.edu> |
14484 | ||
14485 | * minibuf.c (history_delete_duplicates): New variable. | |
14486 | (read_minibuf): Use it. | |
14487 | (syms_of_minibuf): Create the corresponding lisp variable. | |
14488 | ||
370e3587 KS |
14489 | 2004-09-08 Kim F. Storm <storm@cua.dk> |
14490 | ||
14491 | * xdisp.c (set_cursor_from_row): Also look at 'cursor' property in | |
14492 | overlay just before point. | |
14493 | ||
f844ba4e LT |
14494 | 2004-09-07 Luc Teirlinck <teirllm@auburn.edu> |
14495 | ||
14496 | * buffer.h (struct buffer): Add auto_save_file_format field. | |
9238467d SM |
14497 | * buffer.c (reset_buffer, init_buffer_once): |
14498 | Handle auto_save_file_format field. | |
f844ba4e LT |
14499 | (syms_of_buffer): Add DEFVAR_PER_BUFFER for |
14500 | `buffer-auto-save-file-format'. | |
f844ba4e LT |
14501 | * fileio.c: Delete declaration for removed Vauto_save_file_format. |
14502 | (build_annotations): Adapt to replacement of | |
14503 | `auto-save-file-format' with the new buffer-local variable | |
14504 | `buffer-auto-save-file-format'. | |
14505 | (syms_of_fileio): Delete DEFVAR_LISP for auto-save-file-format. | |
14506 | ||
f0f90717 JR |
14507 | 2004-09-07 Jason Rumney <jasonr@gnu.org> |
14508 | ||
14509 | * w32term.h (AppendMenuW_Proc): Move declaration from w32menu.c. | |
14510 | ||
88a337ec | 14511 | * w32fns.c (w32_wnd_proc) <WM_MEASUREITEM, WM_DRAWITEM>: |
9238467d | 14512 | Handle Unicode menu titles. |
f0f90717 | 14513 | |
4e14f66c KS |
14514 | 2004-09-07 Kim F. Storm <storm@cua.dk> |
14515 | ||
14516 | * xdisp.c (set_cursor_from_row): Fix last change. Only use 'cursor' | |
14517 | property from text property or overlay strings at point. | |
14518 | ||
9238467d | 14519 | 2004-09-07 Stefan Monnier <monnier@iro.umontreal.ca> |
1806714a SM |
14520 | |
14521 | * xmenu.c (update_submenu_strings): YAILOM. | |
14522 | (set_frame_menubar): Make sure last_i is initialized. | |
14523 | ||
1f06d367 JR |
14524 | 2004-09-03 Jason Rumney <jasonr@gnu.org> |
14525 | ||
1806714a | 14526 | * w32menu.c (_widget_value): Add lname and lkey. |
1f06d367 JR |
14527 | (digest_single_submenu): Set lname and lkey in widget_value |
14528 | instead of name and key. | |
14529 | (update_submenu_strings): New function. | |
14530 | (set_frame_menubar): Remove call to inhibit_garbage_collection, | |
14531 | call update_submenu_strings. | |
14532 | ||
14533 | * w32menu.c (globals_of_w32menu): Check for Unicode API. | |
14534 | (digest_single_submenu, w32_menu_show): Encode menu strings as | |
14535 | UTF-8 if Unicode API is available. | |
14536 | (utf8to16): New function. | |
14537 | (add_menu_item): Use it when calling Unicode API. | |
1806714a | 14538 | |
46540080 KS |
14539 | 2004-09-03 Kim F. Storm <storm@cua.dk> |
14540 | ||
14541 | * xdisp.c (set_cursor_from_row): Look for non-nil `cursor' property | |
14542 | in overlay or text-property strings; set cursor on corresponding | |
14543 | glyph rather than at end of the string. | |
14544 | ||
9277ba61 | 14545 | 2004-09-02 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
46540080 | 14546 | |
9277ba61 | 14547 | * macfns.c (x_real_positions): Save the current window port and |
1806714a SM |
14548 | set a new one before obtaining the global coordinate. |
14549 | Use FRAME_MAC_WINDOW. | |
14550 | (x_set_name, x_set_title): Encode title to UTF8. | |
14551 | Use SetWindowTitleWithCFString. | |
9277ba61 ST |
14552 | (Fx_server_version): Get correct OS version. |
14553 | ||
1806714a SM |
14554 | * macmenu.c (add_menu_item): Remove unused variable `i'. |
14555 | Don't let separator items destroy refence constants of other menu items. | |
9277ba61 ST |
14556 | |
14557 | * macterm.c (x_update_end): Move SetPortWindowPort to inside | |
14558 | BLOCK_INPUT. | |
14559 | (x_set_offset): Use FRAME_MAC_WINDOW. | |
14560 | ||
14561 | * xdisp.c (note_mouse_highlight): Set the mouse pointer shape to | |
14562 | nontext_cursor if it is on a scroll bar. | |
14563 | ||
14564 | * s/darwin.h (LIBS_CARBON): New define to specify libraries for | |
14565 | Carbon support. | |
1806714a SM |
14566 | (LD_SWITCH_SYSTEM_TEMACS): Don't link with unused libstdc++. |
14567 | Use LIBS_CARBON. | |
9277ba61 | 14568 | |
b10daec7 JD |
14569 | 2004-09-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14570 | ||
14571 | * xfns.c (x_set_name_internal): New function. Check if we shall call | |
14572 | xfree before ENCODE_UTF_8. | |
14573 | (x_set_name, x_set_title): Call x_set_name_internal. | |
14574 | ||
f7e22385 JR |
14575 | 2004-08-31 NAKAMURA Toshikazu <nr-tkz@nifty.com> (tiny change) |
14576 | ||
14577 | * w32fns.c (w32_load_font): If a BDF font is already loaded, do not | |
14578 | reload it. | |
14579 | ||
2bf436c3 JD |
14580 | 2004-08-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14581 | ||
1806714a | 14582 | * macmenu.c (_widget_value): Add lname and lkey. |
16ceacc2 JD |
14583 | (single_submenu): Set lname and lkey in widget_value |
14584 | instead of name and key. | |
14585 | (update_submenu_strings): New function. | |
14586 | (set_frame_menubar): Remove call to inhibit_garbage_collection, | |
14587 | call update_submenu_strings. | |
14588 | ||
2bf436c3 JD |
14589 | * xmenu.c (digest_single_submenu): Set lname and lkey in widget_value |
14590 | instead of name and key. | |
14591 | (update_submenu_strings): New function. | |
14592 | (set_frame_menubar): Remove call to inhibit_garbage_collection, | |
ec867797 | 14593 | call update_submenu_strings. |
2bf436c3 JD |
14594 | |
14595 | * gtkutil.h (_widget_value): Added lname and lkey. | |
14596 | ||
11715f92 ST |
14597 | 2004-08-30 Steven Tamm <steventamm@mac.com> |
14598 | ||
14599 | * macmenu.c (mac_menu_show): Remove shadowing of menu variable | |
14600 | by using different names for inner loop variables. | |
14601 | ||
5500be54 JD |
14602 | 2004-08-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14603 | ||
059cd329 JD |
14604 | * xmenu.c (set_frame_menubar): Reintroduce inhibit_garbage_collection |
14605 | from 2002-07-15T00:01:34Z!raeburn@raeburn.org so that strings from ENCODE_UTF_8 isn't GC:ed before used. | |
14606 | ||
5500be54 JD |
14607 | * gtkutil.c (xg_create_frame_widgets): Compensate for tool bar when |
14608 | tool bar items is 0. | |
14609 | ||
383418e5 ST |
14610 | 2004-08-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
14611 | ||
14612 | * macmenu.c (ENCODE_MENU_STRING): Added to handle multibyte | |
14613 | strings in menu items. | |
14614 | (single_submenu): Use ENCODE_MENU_STRING | |
14615 | (mac_menu_show): Use ENCODE_MENU_STRING. Reset grabbed because | |
14616 | button release isn't passed to event loop | |
14617 | (add_menu_item): Use SetMenuItemWithCFString | |
14618 | ||
6eb3ee72 ST |
14619 | 2004-08-26 Steven Tamm <steventamm@mac.com> |
14620 | ||
14621 | * fileio.c (Fread_file_name): Call x_file_dialog on carbon on | |
7e26f91b KS |
14622 | tool-bar/menu click. |
14623 | * macfns.c (Fx_file_dialog): Implement using NavServices. | |
6eb3ee72 | 14624 | |
10b43ac3 JD |
14625 | 2004-08-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14626 | ||
2728b5d0 JD |
14627 | * xterm.c (x_catch_errors_unwind): Do not XSync if display has closed. |
14628 | ||
10b43ac3 JD |
14629 | * xfns.c (x_window_to_frame, x_any_window_to_frame) |
14630 | (x_non_menubar_window_to_frame, x_menubar_window_to_frame) | |
14631 | (x_top_window_to_frame): Return 0 if wdesc is None. | |
14632 | ||
2ee3b79e RS |
14633 | 2004-08-22 Richard M. Stallman <rms@gnu.org> |
14634 | ||
14635 | * process.c (process_send_signal) [SIGNALS_VIA_CHARACTERS, | |
14636 | HAVE_TERMIOS]: If there's no char for this signal, drop through | |
14637 | and use system calls. | |
14638 | ||
14639 | * bytecode.c (Fbyte_code) <unwind-protect>: Cannot GC. | |
14640 | ||
9a1ba2ea KS |
14641 | 2004-08-20 Kim F. Storm <storm@cua.dk> |
14642 | ||
14643 | * process.c (wait_reading_process_output): Rename from | |
14644 | wait_reading_process_input. All uses changed. | |
14645 | (wait_reading_process_output_1): Rename from | |
14646 | wait_reading_process_input_1. All uses changed. | |
14647 | ||
14648 | * dispnew.c (Fsleep_for): Remove obsolete code. | |
14649 | ||
295f3b30 KH |
14650 | 2004-08-20 Kenichi Handa <handa@m17n.org> |
14651 | ||
14652 | * syntax.c (skip_chars): Fix for unibyte case. | |
14653 | ||
27615979 SM |
14654 | 2004-08-19 Stefan Monnier <monnier@iro.umontreal.ca> |
14655 | ||
14656 | * syntax.c (char_quoted): Mixup byte/char pos. | |
14657 | (back_comment): Fixup globals in all cases. | |
14658 | ||
00267f94 JD |
14659 | 2004-08-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14660 | ||
14661 | * xfns.c (x_set_name, x_set_title): Encode title to UTF8 before | |
14662 | passing it to gtk_window_set_title. | |
14663 | ||
2439909e KS |
14664 | 2004-08-19 Kim F. Storm <storm@cua.dk> |
14665 | ||
6ba0f14c KS |
14666 | * process.c (wait_reading_process_input): Clean up. |
14667 | Add wait_for_cell, wait_proc, and just_wait_proc args | |
14668 | to avoid overloading `read_kbd' and `do_display' args. | |
14669 | Change read_kbd arg to int. All callers changed. | |
14670 | ||
2439909e KS |
14671 | * process.c (process_send_signal): Use CDISABLE. |
14672 | ||
14673 | * sysdep.c (child_setup_tty, init_sys_modes): Use CDISABLE. | |
14674 | ||
101c421e KS |
14675 | 2004-08-18 Kim F. Storm <storm@cua.dk> |
14676 | ||
14677 | * process.c (Faccept_process_output): Add arg JUST-THIS-ONE; | |
14678 | forward to wait_reading_process_input via DO_DISPLAY arg. | |
14679 | (wait_reading_process_input): If DO_DISPLAY < 0 for a process | |
14680 | object, only process output from that process; also inhibit | |
14681 | running timers if DO_DISPLAY==-2. | |
14682 | ||
c438dc33 KS |
14683 | 2004-08-17 Kim F. Storm <storm@cua.dk> |
14684 | ||
14685 | * process.c (process_send_signal): Fix last change--use | |
14686 | _POSIX_VDISABLE instead of CVDISABLE when available. | |
14687 | ||
8afc13c6 RS |
14688 | 2004-08-16 Richard M. Stallman <rms@gnu.org> |
14689 | ||
14690 | * sysdep.c (child_setup_tty) [SIGNALS_VIA_CHARACTERS]: | |
14691 | Set VQUIT and VINTR chars to the standard ones if they are unset. | |
14692 | [AIX]: Don't do that here. And don't force VINTR to standard | |
14693 | when SIGNALS_VIA_CHARACTERS. | |
14694 | ||
c438dc33 | 14695 | * process.c (process_send_signal) |
5e1a6e32 | 14696 | [SIGNALS_VIA_CHARACTERS, HAVE_TERMIOS]: Clean up. |
8afc13c6 RS |
14697 | Do nothing if the character is CVDISABLE. |
14698 | ||
14699 | * xfaces.c (merge_face_ref): Specifying `unspecified' is a no-op. | |
14700 | ||
c438dc33 | 14701 | * intervals.c (move_if_not_intangible): |
8afc13c6 RS |
14702 | Force POSITION to be between BEGV and ZV. |
14703 | ||
6dad1714 JPW |
14704 | 2004-08-14 John Paul Wallington <jpw@gnu.org> |
14705 | ||
14706 | * buffer.c (Frestore_buffer_modified_p): Doc fix. | |
14707 | ||
14708 | * fileio.c (Fread_file_name): Doc fix. | |
14709 | ||
14710 | * minibuf.c (syms_of_minibuf) <completion-ignore-case>: Doc fix. | |
14711 | ||
2bd77330 LT |
14712 | 2004-08-09 Luc Teirlinck <teirllm@auburn.edu> |
14713 | ||
14714 | * keymap.c (Fmake_keymap, Fmap_keymap, Fwhere_is_internal): Doc fixes. | |
14715 | ||
c90e7e43 LT |
14716 | 2004-08-08 Luc Teirlinck <teirllm@auburn.edu> |
14717 | ||
14718 | * keyboard.c: Declare Qdisabled_command_function instead of | |
8392e138 | 14719 | Qdisabled_command_hook. |
c90e7e43 | 14720 | (Fcommand_execute): Use Qdisabled_command_function instead of |
8392e138 | 14721 | Qdisabled_command_hook. |
c90e7e43 LT |
14722 | (syms_of_keyboard): Ditto. |
14723 | ||
81909a1a LT |
14724 | 2004-08-07 Luc Teirlinck <teirllm@auburn.edu> |
14725 | ||
14726 | * keymap.c (Flocal_key_binding, Fglobal_key_binding) | |
14727 | (syms_of_keymap) <key-translation-map>: Doc fixes. | |
14728 | ||
0cedd530 SM |
14729 | 2004-08-07 Stefan Monnier <monnier@iro.umontreal.ca> |
14730 | ||
1725a7c9 SM |
14731 | * window.c (window_list_1): YAILOM. |
14732 | ||
0cedd530 SM |
14733 | * fileio.c (make_temp_name): Handle multibyte prefixes. |
14734 | ||
2515a131 LT |
14735 | 2004-08-06 Luc Teirlinck <teirllm@auburn.edu> |
14736 | ||
14737 | * keyboard.c (syms_of_keyboard) <overriding-terminal-local-map>: | |
14738 | Doc fix. | |
14739 | ||
c8b20fb7 KH |
14740 | 2004-08-03 Kenichi Handa <handa@m17n.org> |
14741 | ||
14742 | * coding.c (decode_coding_string): Adjust coding->consumed, and | |
14743 | etc. with shrinked_bytes. | |
14744 | ||
fb8b092b KS |
14745 | 2004-08-03 Kim F. Storm <storm@cua.dk> |
14746 | ||
14747 | * indent.c (compute_motion): Fix check for full width window | |
14748 | in non-window case. Do not count left truncation glyph on | |
14749 | window systems. | |
14750 | ||
df133612 LT |
14751 | 2004-08-02 Luc Teirlinck <teirllm@auburn.edu> |
14752 | ||
14753 | * data.c (Finteractive_form): Doc fix. | |
14754 | ||
0f7a93c1 KS |
14755 | 2004-08-02 Kim F. Storm <storm@cua.dk> |
14756 | ||
14757 | * indent.c (compute_motion): Use actual window width if WIDTH is -1, | |
14758 | properly accounting for continuation glyph on non-window systems. | |
14759 | (Fcompute_motion): Use actual window width if WIDTH is nil, and | |
14760 | actual window width/height if TOPOS is nil, properly accounting for | |
14761 | continuation glyphs on non-window systems, and optional header lines. | |
14762 | (vmotion): Let compute_motion calculate actual window width. | |
14763 | ||
14764 | * window.c (window_scroll_line_based): Let compute_motion | |
14765 | calculate actual window width. | |
14766 | ||
f491e1ed KS |
14767 | 2004-08-02 Kim F. Storm <storm@cua.dk> |
14768 | ||
14769 | * process.c (read_process_output): Use whole read buffer. | |
14770 | Don't trigger adaptive read buffering on errors. | |
14771 | ||
83f64226 LT |
14772 | 2004-07-31 Luc Teirlinck <teirllm@auburn.edu> |
14773 | ||
14774 | * keymap.c (Fset_keymap_parent, Fdefine_prefix_command): Doc fixes. | |
14775 | ||
1d1c7e75 | 14776 | * keyboard.c (syms_of_keyboard) <disable-point-adjustment>: Doc fix. |
83f64226 LT |
14777 | |
14778 | * callint.c (Fcall_interactively): Doc fix. | |
14779 | ||
8afc13c6 RS |
14780 | 2004-07-30 Richard M. Stallman <rms@gnu.org> |
14781 | ||
14782 | * abbrev.c (Fexpand_abbrev): Undo previous change. | |
14783 | ||
7c111482 KS |
14784 | 2004-07-30 Kim F. Storm <storm@cua.dk> |
14785 | ||
14786 | * editfns.c (Fformat): Allocate extra (dummy) element in info. | |
14787 | ||
ee945d08 LT |
14788 | 2004-07-28 Luc Teirlinck <teirllm@auburn.edu> |
14789 | ||
14790 | * eval.c (Fdefvar, Fdefconst): Doc fixes. | |
14791 | ||
3f911c94 KS |
14792 | 2004-07-27 Kim F. Storm <storm@cua.dk> |
14793 | ||
14794 | * xdisp.c (move_it_in_display_line_to): Check BUFFER_POS_REACHED_P after | |
14795 | we have ensured that the glyph fits on the current line (or returned | |
14796 | MOVE_LINE_CONTINUED otherwise). | |
14797 | ||
f29ff8c7 KS |
14798 | 2004-07-26 Kim F. Storm <storm@cua.dk> |
14799 | ||
14800 | * xdisp.c (move_it_in_display_line_to): If overflow-newline-into-fringe | |
14801 | is enabled, return MOVE_LINE_CONTINUED rather than MOVE_POS_MATCH_OR_ZV | |
14802 | if target position is at end of display line but char is not a newline. | |
14803 | ||
81159bb9 RS |
14804 | 2004-07-25 Richard M. Stallman <rms@gnu.org> |
14805 | ||
ab431b61 RS |
14806 | * window.c (coordinates_in_window): Return ON_SCROLL_BAR |
14807 | instead of ON_VERTICAL_BORDER, when on scroll bar. | |
14808 | (Fcoordinates_in_window_p): Handle ON_SCROLL_BAR--return nil. | |
14809 | ||
14810 | * dispextern.h (enum window_part): Add ON_SCROLL_BAR. | |
14811 | ||
f29ff8c7 | 14812 | * window.c (Fcoordinates_in_window_p): |
81159bb9 RS |
14813 | Take account of FRAME_INTERNAL_BORDER_WIDTH. |
14814 | ||
14815 | * alloc.c (check_cons_list): New function (contents commented out). | |
14816 | ||
fc820cc5 LT |
14817 | 2004-07-24 Luc Teirlinck <teirllm@auburn.edu> |
14818 | ||
14819 | * xfaces.c (Fcolor_supported_p): Doc fix. | |
14820 | ||
14821 | * frame.c (Fselect_frame, Fset_frame_selected_window) | |
14822 | (Fframe_visible_p, Fraise_frame): Doc fixes. | |
14823 | ||
289978b5 LT |
14824 | 2004-07-24 Richard M. Stallman <rms@gnu.org> |
14825 | ||
78819ebb | 14826 | * keyboard.h (not_single_kboard_state): Declare. |
7630911d RS |
14827 | |
14828 | * fileio.c (Fwrite_region): Doc fix. | |
14829 | ||
14830 | * window.c (Fwindow_at): Take account of FRAME_INTERNAL_BORDER_WIDTH. | |
14831 | ||
14832 | * abbrev.c (Fexpand_abbrev): Run Qpre_abbrev_expand_hook | |
14833 | only when a real abbrev is present. | |
14834 | ||
289978b5 LT |
14835 | * xfns.c (x_icon_verify): New function. |
14836 | (Fx_create_frame): Use it. | |
14837 | ||
d5fb8dab | 14838 | 2004-07-22 Barry Fishman <barry_fishman@att.net> (tiny change) |
63cc10ae KS |
14839 | |
14840 | * s/gnu-linux.h: Use GC_MARK_STACK if __amd64__ is defined. | |
14841 | ||
36f826d4 KS |
14842 | 2004-07-21 Kim F. Storm <storm@cua.dk> |
14843 | ||
14844 | * window.h (struct glyph_matrix): New members nrows_scale_factor | |
14845 | and ncols_scale_factor. | |
14846 | ||
14847 | * window.c (make_window): Initialize nrows_scale_factor and | |
14848 | ncols_scale_factor members. | |
14849 | ||
14850 | * dispnew.c (margin_glyphs_to_reserve): Apply ncols_scale_factor. | |
14851 | (allocate_matrices_for_frame_redisplay): Fix left/right margin mix-up. | |
14852 | (required_matrix_height): Apply nrows_scale_factor. | |
14853 | (required_matrix_width): Apply ncols_scale_factor. | |
14854 | ||
14855 | * xdisp.c (display_line): Increment nrows_scale_factor and set | |
14856 | fonts_changed_p if past last allocated row. | |
14857 | (append_glyph, append_composite_glyph, produce_image_glyph) | |
14858 | (append_stretch_glyph): Increment ncols_scale_factor and set | |
14859 | fonts_changed_p if current area is full. | |
14860 | ||
5fc1c546 JD |
14861 | 2004-07-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14862 | ||
14863 | * widget.c (EmacsFrameDestroy): Don't abort if normal_gc is 0. | |
14864 | ||
cb7516e5 LT |
14865 | 2004-07-19 Luc Teirlinck <teirllm@auburn.edu> |
14866 | ||
14867 | * window.c (Fpos_visible_in_window_p, Fset_window_hscroll) | |
14868 | (Fwindow_inside_pixel_edges, Fwindow_end, Fset_window_point) | |
14869 | (Fset_window_start, Fscroll_up, Fscroll_down) | |
14870 | (Fother_window_for_scrolling, Fscroll_other_window) | |
14871 | (Fsave_window_excursion, Fset_window_vscroll) | |
14872 | (syms_of_window) <window-size-fixed>: Doc fixes. | |
14873 | ||
b6189c3b | 14874 | 2004-07-19 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
dda741ec JR |
14875 | |
14876 | * w32fns.c (Fx_file_dialog): Use ENCODE_FILE instead of | |
14877 | ENCODE_SYSTEM for filenames. | |
14878 | ||
bfcf6608 ST |
14879 | 2004-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
14880 | ||
14881 | * mac.c (sys_select): Block input around call to | |
14882 | ReceiveNextEvent to prevent breakage. Correctly handle | |
14883 | blocking on event queue only by calling ReceiveNextEvent | |
14884 | instead of select (since GUI events aren't on an fd). | |
14885 | (sys_read): Remove function | |
14886 | * sysdep.c: Remove redefine of read to sys_read if HAVE_CARBON | |
14887 | ||
e082ac9d ST |
14888 | 2004-07-18 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
14889 | ||
14890 | * mac.c (sys_select): Redo sys_select to use alarm-based | |
cb7516e5 | 14891 | polling instead of 1 sec timeouts (like solaris). |
e082ac9d | 14892 | |
cb7516e5 | 14893 | * macterm.c (x_make_frame_visible): Comment in polling on |
e082ac9d ST |
14894 | frame creation. |
14895 | ||
14896 | * keyboard.c: Undef SIGIO on Carbon | |
14897 | ||
14898 | * atimer.c (alarm_signal_handler): Call alarm handlers after | |
14899 | scheduling. | |
14900 | ||
14901 | * eval.c (Feval): Remove quit_char test | |
14902 | ||
14903 | * process.c (wait_reading_process_input): Remove clearing | |
14904 | stdin for select call on process input. | |
14905 | ||
4b9da0fb LT |
14906 | 2004-07-18 Luc Teirlinck <teirllm@auburn.edu> |
14907 | ||
1204e81c LT |
14908 | * xdisp.c (syms_of_xdisp) <window-scroll-functions>: Correct |
14909 | capitalization error in docstring. | |
4b9da0fb | 14910 | |
26503ad2 JB |
14911 | 2004-07-17 Juanma Barranquero <lektu@terra.es> |
14912 | ||
14913 | * keyboard.c (not_single_kboard_state): Do nothing unless | |
14914 | MULTI_KBOARD is defined. | |
14915 | ||
3751eb00 RS |
14916 | 2004-07-17 Richard M. Stallman <rms@gnu.org> |
14917 | ||
14918 | * window.c (coordinates_in_window): Inside the window but outside | |
14919 | its box to the L or R, return ON_VERTICAL_BORDER. | |
14920 | (window_list_1): Rotate the list to start with WINDOW. | |
14921 | ||
14922 | * print.c (print_preprocess): Test for print_depth at limit | |
14923 | before entering in being_printed. | |
14924 | ||
14925 | * keyboard.c (not_single_kboard_state): New function. | |
14926 | (stuff_buffered_input): Now no-op only if no SIGTSTP. | |
14927 | ||
14928 | * frame.c (Fdelete_frame): If we're in single_bboard_state on | |
14929 | this kboard, and we delete its last frame, go to any_kboard_state. | |
14930 | ||
14931 | * buffer.c (syms_of_buffer) <transient-mark-mode>: Doc fix. | |
14932 | ||
b6189c3b | 14933 | 2004-07-15 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
62eb6ca9 JR |
14934 | |
14935 | * w32fns.c (Fx_file_dialog): Encode strings in system coding | |
14936 | system before passing them to OS functions for display. | |
14937 | ||
0f6af254 DK |
14938 | 2004-07-15 David Kastrup <dak@gnu.org> |
14939 | ||
f9253326 KS |
14940 | * search.c (syms_of_search): Staticpro `saved_last_thing_searched'. |
14941 | Apparently fixes an abort condition. | |
0f6af254 | 14942 | |
386c8f42 LT |
14943 | 2004-07-14 Luc Teirlinck <teirllm@auburn.edu> |
14944 | ||
14945 | * fileio.c (Fvisited_file_modtime): Return a list of two integers, | |
14946 | instead of a cons. | |
14947 | ||
d495ccfc | 14948 | 2004-07-14 K\e,Aa\e(Broly L\e$,1 q\e(Brentey <lorentey@elte.hu> |
366511da MB |
14949 | |
14950 | * keyboard.c (echo_dash): Do nothing if there already is a dash | |
14951 | at the end of the echo string. | |
14952 | ||
f85409d3 KS |
14953 | 2004-07-12 Kim F. Storm <storm@cua.dk> |
14954 | ||
14955 | * alloc.c (mark_object): Only look at Lisp_Misc_Save_Value | |
14956 | if GC_MARK_STACK. | |
14957 | ||
0ba2e87b LT |
14958 | 2004-07-10 Luc Teirlinck <teirllm@auburn.edu> |
14959 | ||
da38045d LT |
14960 | * buffer.c (Fswitch_to_buffer, Fpop_to_buffer): Doc fixes. |
14961 | ||
9dd28cae | 14962 | * window.c (Fwindow_buffer, Fother_window, Fget_lru_window) |
0ba2e87b LT |
14963 | (Fget_largest_window, Fget_buffer_window, Fdelete_windows_on) |
14964 | (Freplace_buffer_in_windows, Fset_window_buffer) | |
14965 | (Fselect-window, Fdisplay-buffer, Fsplit_window): Doc fixes. | |
14966 | (syms_of_window): Expand docstring of `display-buffer-function'. | |
14967 | ||
5668fbb8 LT |
14968 | 2004-07-09 Luc Teirlinck <teirllm@auburn.edu> |
14969 | ||
14970 | * editfns.c (Ffloat_time, Fformat_time_string, Fdecode_time) | |
14971 | (Fcurrent_time_string, Fcurrent_time_zone): Mention in docstrings | |
14972 | that time values of the type (HIGH . LOW) are considered obsolete. | |
14973 | ||
a085bf9d LT |
14974 | 2004-07-06 Luc Teirlinck <teirllm@auburn.edu> |
14975 | ||
669de2fb LT |
14976 | * keyboard.c (syms_of_keyboard): Fix `keyboard-translate-table' |
14977 | docstring. | |
14978 | ||
bac66325 | 14979 | * fns.c (Fclear_string): Declare `len' before call to CHECK_STRING. |
a085bf9d | 14980 | |
8e975df9 JPW |
14981 | 2004-07-06 John Paul Wallington <jpw@gnu.org> |
14982 | ||
14983 | * eval.c (Fdefmacro): Signal an error if NAME is not a symbol. | |
14984 | ||
fa164e6a JPW |
14985 | * fns.c (Fclear_string): Signal an error if STRING is not a string. |
14986 | ||
2bac9bb1 JD |
14987 | 2004-07-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
14988 | ||
14989 | * macterm.c (mac_initialize_display_info): Use CGGetActiveDisplayList | |
14990 | instead of CGMainDisplayID (only in OSX 10.2 and later). | |
14991 | ||
316ef0dc JPW |
14992 | 2004-07-04 John Paul Wallington <jpw@gnu.org> |
14993 | ||
14994 | * fileio.c (read_file_name_completion_ignore_case): New variable. | |
14995 | (syms_of_fileio): Declare and initialise it. | |
14996 | (Fread_file_name): Bind `completion-ignore-case' to respect it. | |
14997 | ||
2a1a35c6 EZ |
14998 | 2004-07-03 Eli Zaretskii <eliz@gnu.org> |
14999 | ||
15000 | * msdos.c (dos_rawgetc): Use make_number to produce Lisp objects | |
15001 | for event.x and event.y. | |
15002 | ||
33a72331 KH |
15003 | 2004-07-01 Kenichi Handa <handa@m17n.org> |
15004 | ||
15005 | * w32select.c (Fw32_set_clipboard_data): Update `nbytes' correctly | |
15006 | after getting a new string by pre-write-conversion. | |
15007 | ||
9238467d | 15008 | 2004-06-30 Stefan Monnier <monnier@iro.umontreal.ca> |
07a6ab76 SM |
15009 | |
15010 | * xterm.c (x_detect_focus_change): Remove unused var `nr_events'. | |
15011 | (x_calc_absolute_position): Remove unused var `child'. | |
15012 | ||
15013 | * xfaces.c (x_supports_face_attributes_p) | |
15014 | (Fdisplay_supports_face_attributes_p): YAILOM. | |
15015 | (tty_supports_face_attributes_p): Remove unused var `i'. | |
15016 | ||
15017 | * syntax.c (skip_chars): Remove unused labels fwd_unibyte_ok and | |
15018 | back_unibyte_ok. | |
15019 | ||
15020 | * search.c (match_limit, Fmatch_data, Fset_match_data): YAILOM. | |
15021 | ||
647b07d1 AS |
15022 | * fontset.c (Fset_fontset_font): Remove unused vars `family' and |
15023 | `registry'. | |
07a6ab76 SM |
15024 | |
15025 | * Makefile.in (${etc}DOC): Fix file name of make-docfile. | |
15026 | ||
f96ec754 AS |
15027 | 2004-06-30 Andreas Schwab <schwab@suse.de> |
15028 | ||
15029 | * image.c (CHECK_LIB_AVAILABLE): Add third parameter LIBRARIES. | |
15030 | (Finit_image_library): Pass LIBRARIES through to | |
15031 | CHECK_LIB_AVAILABLE. Declare parameters. Doc fix. | |
15032 | (lookup_image_type): Pass Qnil as second argument to | |
15033 | Finit_image_library. | |
15034 | ||
78819ebb | 15035 | * lisp.h (Finit_image_library): Declare. |
f96ec754 | 15036 | |
59feca74 | 15037 | 2004-06-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
c8d09ad8 | 15038 | |
31983645 AS |
15039 | * macterm.c (do_window_activate, do_window_deactivate): Remove. |
15040 | (XTread_socket): Send mouse button events to the toolbox | |
15041 | dispatcher even when the mouse is grabbed. Don't process window | |
5e1a6e32 | 15042 | activate events for non-Emacs windows. Replace function calls to |
31983645 AS |
15043 | do_window_activate and do_window_deactivate with their contents. |
15044 | Reset mouse grabbing status when a window is deactivated. | |
59feca74 | 15045 | |
c61278bb ST |
15046 | 2004-06-29 Steven Tamm <steventamm@mac.com> |
15047 | ||
15048 | * macterm.c (mac_get_emulated_btn) | |
15049 | (mac_event_to_emacs_modifiers): Fix emulated mouse button | |
15050 | support to correctly mask out modifiers. | |
15051 | ||
c3762cbd DK |
15052 | 2004-06-29 David Kastrup <dak@gnu.org> |
15053 | ||
15054 | * search.c (Fset_match_data): Allow buffer before end of list | |
15055 | which can happen if set-match-data is using a pre-consed list. | |
15056 | ||
c61278bb | 15057 | 2004-06-28 Steven Tamm <steventamm@mac.com> |
e439b925 ST |
15058 | |
15059 | * macterm.c (XTread_socket): Correctly set the frame position | |
15060 | after the window is moved. | |
15061 | ||
74cdfe05 JD |
15062 | 2004-06-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15063 | ||
15064 | * gtkutil.c (xg_get_image_for_pixmap): Call g_object_unref on | |
15065 | gpix and gmask just before return to avoid memory leak. | |
03ecb80f JD |
15066 | (xg_get_image_for_pixmap): Add workaround for monochrome displays |
15067 | so insensitive and activated icons look ok. | |
74cdfe05 | 15068 | |
ef544dc8 JR |
15069 | 2004-06-27 Jason Rumney <jasonr@gnu.org> |
15070 | ||
15071 | * w32fns.c (file_dialog_callback): Disable edit control if set | |
15072 | to directories only on CDN_INITDONE message. | |
15073 | (Fx_file_dialog): Default to directories only when prompt starts | |
15074 | with "Dired". | |
15075 | ||
7b7990cc KS |
15076 | 2004-06-25 Kim F. Storm <storm@cua.dk> |
15077 | ||
15078 | * alloc.c (allocate_misc): Update total_free_markers. | |
15079 | (free_misc): New function. | |
15080 | (safe_alloca_unwind, free_marker): Use it. | |
15081 | ||
15082 | * lisp.h (free_misc): Add prototype. | |
15083 | ||
15084 | * fns.c (Fmapconcat, Fmapcar): Remove superfluous GCPROs. | |
15085 | ||
d8c379f8 RS |
15086 | 2004-06-24 Richard M. Stallman <rms@gnu.org> |
15087 | ||
15088 | * emacs.c (Vsignal_USR1_hook, Vsignal_USR2_hook): Definitions deleted. | |
15089 | (syms_of_emacs): Lisp variables deleted. | |
15090 | ||
559cdd07 DK |
15091 | 2004-06-23 David Kastrup <dak@gnu.org> |
15092 | ||
94939b84 DK |
15093 | * search.c (Freplace_match): Adjust the match-data more thoroughly |
15094 | when replacing strings in the buffer. | |
15095 | (Fmatch_data): When INTEGERS is non-nil and the last match was in | |
15096 | a buffer, add the buffer as last element to the match data. | |
15097 | (Fset_match_data): If an additional element of the match-data is a | |
15098 | buffer, restore it to last_thing_searched. | |
c8d09ad8 | 15099 | (save_search_regs): Save last_thing_searched as part of the match data. |
559cdd07 DK |
15100 | (restore_match_data): Restore it again. |
15101 | ||
dce417e7 LT |
15102 | 2004-06-23 Luc Teirlinck <teirllm@auburn.edu> |
15103 | ||
15104 | * keymap.c (Ftext_char_description): Doc fix. | |
15105 | * doc.c (Fsnarf_documentation): Doc fix. | |
15106 | ||
ef54b2d0 KS |
15107 | 2004-06-22 Kim F. Storm <storm@cua.dk> |
15108 | ||
b5bc4d05 KS |
15109 | * fns.c (Fmapcar, Fmapconcat): GCPRO the args array. |
15110 | ||
ef54b2d0 KS |
15111 | * lisp.h (struct Lisp_Save_Value): New member dogc. |
15112 | (SAFE_ALLOCA_LISP): Change second arg to number of elements. | |
15113 | Set dogc member in Lisp_Save_Value object so it will be GC'ed. | |
15114 | (SAFE_FREE_LISP): New macro. | |
15115 | ||
15116 | * alloc.c (safe_alloca_unwind): Clear dogc and pointer members. | |
15117 | (make_save_value): Init new dogc member. | |
15118 | (mark_object): Mark Lisp_Save_Value pointer array if dogc is set. | |
15119 | ||
15120 | * fns.c (Fmapconcat, Fmapcar): Use new SAFE_ALLOCA_LISP and | |
15121 | SAFE_FREE_LISP macros. | |
15122 | ||
3d33d993 KS |
15123 | 2004-06-22 Kim F. Storm <storm@cua.dk> |
15124 | ||
15125 | * lisp.h (SAFE_ALLOCA_LISP): New macro to allocate Lisp_Objects. | |
15126 | Temporarily inhibits GC if memory is xmalloc'ed, as the Lisp_Objects | |
15127 | in that memory area are unknown to GC. Add comments. | |
15128 | ||
15129 | * fns.c (Fmapconcat, Fmapcar): Use SAFE_ALLOCA_LISP. | |
15130 | ||
5c917f98 KS |
15131 | 2004-06-21 Kim F. Storm <storm@cua.dk> |
15132 | ||
15133 | * lisp.h (MAX_ALLOCA): Define here. | |
15134 | (safe_alloca_unwind): Add prototype. | |
15135 | (USE_SAFE_ALLOCA, SAFE_ALLOCA, SAFE_FREE): New macros. | |
15136 | ||
15137 | * alloc.c (safe_alloca_unwind): New function. | |
15138 | ||
15139 | * casefiddle.c (casify_object): Use SAFE_ALLOCA. | |
15140 | ||
15141 | * charset.c (Fstring): Use SAFE_ALLOCA. | |
15142 | ||
15143 | * coding.c (MAX_ALLOCA): Remove define. | |
15144 | ||
15145 | * data.c (MAX_ALLOCA): Remove define. | |
15146 | (Faset): Use SAFE_ALLOCA. | |
15147 | ||
15148 | * editfns.c (Fformat, Ftranspose_regions): Use SAFE_ALLOCA. | |
15149 | ||
15150 | * fns.c (string_make_multibyte, string_to_multibyte) | |
15151 | (string_make_unibyte, Fmapconcat, Fmapcar): Use SAFE_ALLOCA. | |
15152 | (MAX_ALLOCA): Remove define. | |
15153 | (Fbase64_encode_region, Fbase64_encode_string) | |
15154 | (Fbase64_decode_region, Fbase64_decode_string): Use SAFE_ALLOCA. | |
15155 | (Fbase64_encode_region, Fbase64_encode_string): Fix potential | |
15156 | memory leak if encoding fails. | |
15157 | ||
15158 | * xdisp.c (add_to_log): Use SAFE_ALLOCA. | |
15159 | ||
9a09408e EZ |
15160 | 2004-06-21 Eli Zaretskii <eliz@gnu.org> |
15161 | ||
15162 | * print.c (Fwith_output_to_temp_buffer): Doc fix. | |
15163 | ||
376de739 RS |
15164 | 2004-06-20 Richard M. Stallman <rms@gnu.org> |
15165 | ||
15166 | * xfaces.c (Finternal_copy_lisp_face): Small cleanup; doc fix. | |
15167 | ||
15168 | * search.c (match_limit): Cleaner err msg when no match data available. | |
15169 | ||
15170 | * window.c (syms_of_window): Doc fix. | |
15171 | ||
15172 | * keyboard.c (command_loop_1): Handle values `only' and `identity' | |
15173 | for Vtransient_mark_mode. | |
15174 | ||
15175 | * buffer.c (syms_of_buffer): Doc fix. | |
15176 | ||
acd81db9 DK |
15177 | 2004-06-21 David Kastrup <dak@gnu.org> |
15178 | ||
15179 | * minibuf.c (Ftry_completion, Fall_completions): Do lazy binding | |
15180 | and unbinding of `case-fold-search' according to | |
15181 | `completion-ignore-case' around calls of string-match and | |
15182 | predicates, respectively. Should give satisfactory performance | |
15183 | in all relevant cases. | |
15184 | ||
f303762d JD |
15185 | 2004-06-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15186 | ||
95911c74 JD |
15187 | * xterm.c (x_draw_image_foreground_1): Subtract slice.x/y from |
15188 | clip_x/y_origin. | |
15189 | ||
a6cb6b78 JD |
15190 | * fns.c (string_to_multibyte): Use xmalloc/xfree instead of alloca. |
15191 | ||
f303762d JD |
15192 | * macfns.c (Fx_display_color_cells): Do not limit return value to 256. |
15193 | ||
15194 | * macterm.c (mac_initialize_display_info): Initialize n_planes correctly | |
15195 | on Mac OSX. | |
15196 | ||
bbdb2684 LT |
15197 | 2004-06-16 Luc Teirlinck <teirllm@auburn.edu> |
15198 | ||
15199 | * buffer.c (syms_of_buffer): Clarify `fill-column' docstring. | |
15200 | ||
5ea48b1c KS |
15201 | 2004-06-16 Kim F. Storm <storm@cua.dk> |
15202 | ||
15203 | * dispextern.h (Vimage_types): Remove extern. | |
15204 | ||
803aac3e MB |
15205 | 2004-06-16 Miles Bader <miles@gnu.org> |
15206 | ||
15207 | * image.c (lookup_image_type): Initialize image type if necessary. | |
15208 | ||
cdc97764 KS |
15209 | 2004-06-15 Kim F. Storm <storm@cua.dk> |
15210 | ||
c4a5739c KS |
15211 | * xdisp.c (try_cursor_movement): Exclude header line from scroll |
15212 | margin at top of window. | |
15213 | (try_window_reusing_current_matrix): Calculate proper cursor position | |
15214 | after scrolling up with non-zero scroll margin, as the old cursor | |
15215 | position corresponds to value of PT before executing this command. | |
15216 | (try_window_id): Consider scroll margin at bottom of window too; | |
15217 | otherwise we fail to scroll when hl-line-mode is enabled. | |
15218 | ||
cdc97764 KS |
15219 | * syntax.c (skip_chars): Only recognize [:class:] when it has the |
15220 | proper format and class is a lower-case word. | |
15221 | ||
5b166323 JD |
15222 | 2004-06-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15223 | ||
15224 | * gtkutil.c (xg_get_image_for_pixmap): New function. | |
c8d09ad8 | 15225 | (xg_get_gdk_pixmap_and_mask): Remove. |
5b166323 JD |
15226 | (update_frame_tool_bar): Call xg_get_image_for_pixmap instead of |
15227 | xg_get_gdk_pixmap_and_mask. | |
cdc97764 | 15228 | |
5b166323 JD |
15229 | * xterm.h (struct x_display_info): Typo in comment fixed. |
15230 | ||
1ebd4f78 JB |
15231 | 2004-06-14 Juanma Barranquero <lektu@terra.es> |
15232 | ||
15233 | * dispextern.h (Vimage_types): Make it conditional on | |
15234 | HAVE_WINDOW_SYSTEM. | |
15235 | ||
15236 | * image.c (Vimage_types): Move from xdisp.c. | |
15237 | (Vimage_type_cache): New variable. | |
15238 | (define_image_type): New argument indicating whether an image | |
15239 | library was loaded; cache loaded status and return t on success, | |
15240 | nil otherwise. | |
15241 | (CACHE_IMAGE_TYPE, ADD_IMAGE_TYPE): New macros. | |
15242 | (w32_delayed_load): New function to load an image library from a | |
15243 | list of possible filenames. | |
15244 | (init_xpm_functions, init_png_functions, init_jpeg_functions) | |
15245 | (init_tiff_functions, init_gif_functions): Use `w32_delayed_load'. | |
c8d09ad8 | 15246 | (CHECK_LIB_AVAILABLE): Call `define_image_library' with new argument. |
1ebd4f78 JB |
15247 | (Finit_image_library): New function, extracted from `init_image'. |
15248 | Try to initialize an image library on demand and cache whether we | |
15249 | were successful or not. | |
15250 | (syms_of_image): Initialize `Vimage_types' and | |
15251 | `Vimage_type_cache'. Add recognized image types to Vimage_types. | |
15252 | Export `init-image-library'. | |
15253 | (init_image): Remove initialization of all image types, except xbm | |
15254 | and pbm. | |
15255 | ||
15256 | * xdisp.c (Vimage_types): Delete (moved to image.c). | |
15257 | ||
904ee128 AS |
15258 | 2004-06-14 Andreas Schwab <schwab@suse.de> |
15259 | ||
15260 | * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion): | |
15261 | Avoid calling specbind when completion-regexp-list is empty. | |
15262 | ||
092de21d RS |
15263 | 2004-06-13 Richard M. Stallman <rms@gnu.org> |
15264 | ||
15265 | * regex.h (CHAR_CLASS_MAX_LENGTH, re_wctype_t, re_wchar_t) | |
15266 | (re_wctype, re_iswctype, re_wctype_to_bit): | |
15267 | Non-function definitions moved here from regex.c. | |
1ebd4f78 | 15268 | |
092de21d RS |
15269 | * regex.c (re_wctype, re_iswctype): Function defs longer static. |
15270 | (CHAR_CLASS_MAX_LENGTH, re_wctype_t, re_wchar_t) | |
15271 | (re_wctype, re_iswctype, re_wctype_to_bit): | |
15272 | Non-function definitions moved to regex.h. | |
15273 | ||
15274 | * window.c (Fselect_window): Doc fix. | |
15275 | ||
15276 | * syntax.c: Include regex.h. | |
15277 | (skip_chars): New arg HANDLE_ISO_CLASSES. Callers changed. | |
15278 | If requested, make a list of classes, then check the scanned | |
15279 | chars for membership in them. | |
15280 | (in_classes): New function. | |
15281 | Doc fix. | |
15282 | ||
15283 | * keyboard.c (cmd_error): Don't call any_kboard_state | |
15284 | if inside a recursive edit level. | |
15285 | ||
d495ccfc | 15286 | 2004-06-13 K\e,Aa\e(Broly L\e$,1 q\e(Brentey <lorentey@elte.hu> |
092de21d RS |
15287 | |
15288 | * keyboard.c (command_loop): Call any_kboard_state before | |
15289 | command_loop_2 when at top level. | |
15290 | ||
3ebc0939 AS |
15291 | 2004-06-13 Andreas Schwab <schwab@suse.de> |
15292 | ||
cea5d0d4 AS |
15293 | * print.c (print_object): Always use %ld for printing EMACS_INT. |
15294 | ||
15295 | * keyboard.c (cancel_hourglass_unwind): Return a value. | |
15296 | (modify_event_symbol): Always use %ld for printing EMACS_INT. | |
15297 | (Fexecute_extended_command): Likewise. | |
15298 | ||
15299 | * syntax.h (SYNTAX_ENTRY_FOLLOW_PARENT): Rename local variable to | |
15300 | avoid clashes. | |
15301 | (SYNTAX): Likewise. | |
15302 | (SYNTAX_WITH_FLAGS): Likewise. | |
15303 | (SYNTAX_MATCH): Likewise. | |
15304 | ||
15305 | * syntax.c (char_quoted): Avoid warning about undefined operation. | |
15306 | (find_defun_start): Likewise. | |
15307 | (scan_lists): Likewise. | |
15308 | (INC_FROM): Likewise. | |
15309 | (scan_sexps_forward): Likewise. | |
15310 | ||
be8c4ce4 AS |
15311 | * image.c: Include <ctype.h>. |
15312 | ||
3ebc0939 AS |
15313 | * xfaces.c (face_attr_equal_p): Declare parameters. |
15314 | ||
6fb41b5b KH |
15315 | 2004-06-13 Kenichi Handa <handa@m17n.org> |
15316 | ||
15317 | * ccl.c (CCL_READ_CHAR): If hit EOF, set REG to -1. | |
15318 | ||
fc3095ce EZ |
15319 | 2004-06-12 Matthew Mundell <matt@mundell.ukfsn.org> |
15320 | ||
15321 | * eval.c (Fdefun): Signal an error if NAME is not a symbol. | |
15322 | ||
66189a40 KH |
15323 | 2004-06-12 Kenichi Handa <handa@m17n.org> |
15324 | ||
15325 | * ccl.c (CCL_CALL_FOR_MAP_INSTRUCTION): Save eof_ic in | |
15326 | ccl_prog_stack_struct and update it. | |
15327 | (CCL_INVALID_CMD): If CCL_DEBUG is defined, call ccl_debug_hook. | |
15328 | (CCL_READ_CHAR): Get instruction counter from eof_ic, not from | |
15329 | ccl->eof_ic on EOF. | |
15330 | (ccl_debug_hook): New function. | |
15331 | (struct ccl_prog_stack): New member eof_ic. | |
15332 | (ccl_driver): Handle EOF in subrountine call correctly. | |
15333 | ||
15334 | 2004-06-11 Kenichi Handa <handa@m17n.org> | |
15335 | ||
a9b43336 | 15336 | * coding.c (encode_coding_string): Check CODING_FINISH_INTERRUPT. |
66189a40 | 15337 | |
1da71023 KS |
15338 | 2004-06-11 Kim F. Storm <storm@cua.dk> |
15339 | ||
15340 | * emacs.c (shut_down_emacs): Inhibit redisplay during shutdown. | |
15341 | ||
e9efcef4 JB |
15342 | 2004-06-11 Juanma Barranquero <lektu@terra.es> |
15343 | ||
15344 | * keyboard.c (Fposn_at_point): Doc fix. | |
15345 | ||
9b9ceb61 DK |
15346 | 2004-06-11 David Kastrup <dak@gnu.org> |
15347 | ||
15348 | * search.c (match_limit): Don't flag an error if match-data | |
15349 | exceeding the allocated search_regs.num_regs gets requested, just | |
15350 | return Qnil. | |
15351 | ||
6e87ac8f MB |
15352 | 2004-06-08 Miles Bader <miles@gnu.org> |
15353 | ||
15354 | * xfaces.c (push_named_merge_point): Return 0 when a cycle is detected. | |
15355 | ||
0b0dea7b JB |
15356 | 2004-06-07 Juanma Barranquero <lektu@terra.es> |
15357 | ||
15358 | * editfns.c (Fuser_login_name, Ffloat_time, Fencode_time) | |
15359 | (Fcurrent_time_string, Fcurrent_time_zone) | |
15360 | (Finsert_buffer_substring, Ftranspose_regions): Doc fixes. | |
15361 | ||
a0a23346 MB |
15362 | 2004-06-07 Miles Bader <miles@gnu.org> |
15363 | ||
08384afd | 15364 | * xfaces.c (struct named_merge_point): New type. |
a0a23346 MB |
15365 | (push_named_merge_point): New function. |
15366 | (merge_named_face): New function. | |
15367 | (merge_face_ref, face_at_buffer_position, face_at_string_position): | |
15368 | Use `merge_named_face'. | |
15369 | (merge_face_inheritance): Function removed. | |
c8d09ad8 | 15370 | (merge_face_ref): Rename from `merge_face_vector_with_property'. |
a0a23346 MB |
15371 | Add new `err_msgs' and `named_merge_points' args. Return error |
15372 | status. Only print error messages if ERR_MSGS is true. Don't try to | |
15373 | do :inherit attribute validation. | |
15374 | (merge_face_heights): Handle `unspecified' in both directions. | |
15375 | (merge_face_vectors): Rename `cycle_check' arg to `named_merge_points'. | |
15376 | Call `merge_face_ref' instead of `merge_face_inheritance'. | |
15377 | (Fdisplay_supports_face_attributes_p, Fface_attributes_as_vector) | |
15378 | (compute_char_face, face_at_buffer_position) | |
15379 | (face_at_string_position): Call `merge_face_ref' instead of | |
15380 | `merge_face_vector_with_property'. | |
15381 | ||
12d5b185 KH |
15382 | 2004-06-07 Kenichi Handa <handa@m17n.org> |
15383 | ||
15384 | * coding.c (find_safe_codings): Check NILP (safe_codings) only at | |
15385 | the necessary places. | |
15386 | ||
2e2d7ee6 KS |
15387 | 2004-06-07 Kim F. Storm <storm@cua.dk> |
15388 | ||
15389 | * process.c (Fdelete_process): Undo 2004-05-28 change. | |
15390 | Instead, call status_notify also for network process. | |
15391 | (status_message): Use process instead of status as arg. | |
15392 | Give messages "deleted" or "connection broken by remote peer" for | |
15393 | an exited network process. | |
15394 | (status_notify): Change call to status_message. | |
15395 | (read_process_output): Increase readmax to 4096. Do not increase | |
15396 | buffer size for datagram channels (default is now large enough). | |
15397 | ||
fcf0d299 ST |
15398 | 2004-06-06 Steven Tamm <tamm@Steven-Tamms-Computer.local> |
15399 | ||
15400 | * macfns.c (x_create_tip_frame): Fix Mac OS X 10.1 compilation | |
15401 | problem due to newly defined variable. | |
15402 | ||
0722292b MB |
15403 | 2004-06-06 Miles Bader <miles@gnu.org> |
15404 | ||
15405 | * xfaces.c (Fdisplay_supports_face_attributes_p): Give up | |
15406 | immediately if non-interactive or not initialized. | |
15407 | ||
ddfb8369 RS |
15408 | 2004-06-05 Richard M. Stallman <rms@gnu.org> |
15409 | ||
15410 | * minibuf.c (Fcompleting_read): Doc fix. | |
15411 | ||
57015754 AS |
15412 | 2004-06-05 Andreas Schwab <schwab@suse.de> |
15413 | ||
15414 | * macfns.c (x_create_tip_frame): Fix declaration after statement. | |
15415 | ||
23715ea6 JB |
15416 | 2004-06-05 Juanma Barranquero <lektu@terra.es> |
15417 | ||
15418 | * keymap.c (Fdescribe_vector): Fix docstring. | |
15419 | (Fkey_description, Fglobal_key_binding): Fix typo in docstring. | |
15420 | ||
8e330b22 MB |
15421 | 2004-06-05 Miles Bader <miles@gnu.org> |
15422 | ||
15423 | * xfaces.c (tty_supports_face_attributes_p): Make sure the specified | |
15424 | attributes have different values than the default face. | |
15425 | ||
9742a3a6 EZ |
15426 | 2004-06-04 Eli Zaretskii <eliz@gnu.org> |
15427 | ||
15428 | * xfaces.c (x_supports_face_attributes_p): Make this function | |
15429 | conditional on HAVE_WINDOW_SYSTEM. | |
c8d09ad8 SM |
15430 | (Fdisplay_supports_face_attributes_p) [HAVE_WINDOW_SYSTEM]: |
15431 | Don't call x_supports_face_attributes_p if it was not compiled in. | |
9742a3a6 | 15432 | |
9717e36c MB |
15433 | 2004-06-04 Miles Bader <miles@gnu.org> |
15434 | ||
15435 | * xfaces.c (tty_supports_face_attributes_p): New function, mostly | |
15436 | from Ftty_supports_face_attributes_p. | |
15437 | (x_supports_face_attributes_p): New function. | |
15438 | (Ftty_supports_face_attributes_p): Function deleted. | |
15439 | (Fdisplay_supports_face_attributes_p): New function. | |
15440 | (syms_of_xfaces): Initialize Sdisplay_supports_face_attributes_p. | |
f9711de4 | 15441 | (face_attr_equal_p): New function. |
9717e36c MB |
15442 | (lface_equal_p): Use it. |
15443 | ||
52deb19f JB |
15444 | 2004-06-03 Juanma Barranquero <lektu@terra.es> |
15445 | ||
15446 | * w32fns.c (Fx_display_grayscale_p, Fw32_send_sys_command) | |
15447 | (Vw32_color_map): Fix typo in docstring. | |
15448 | (Fx_create_frame, Fw32_find_bdf_fonts, Fx_show_tip) | |
15449 | (Fw32_unregister_hot_key, Fw32_reconstruct_hot_key): | |
15450 | Make argument names match their use in docstring. | |
15451 | ||
86d373e6 JB |
15452 | 2004-06-02 Juanma Barranquero <lektu@terra.es> |
15453 | ||
15454 | Work around bugs/problems with MinGW builds of graphics libraries | |
15455 | called from MSVC builds of Emacs. | |
15456 | ||
15457 | * image.c (lookup_image): Make pointer to img static. | |
15458 | (png_read_from_memory): Disable "global" optimization. | |
15459 | ||
2fb0ce67 SM |
15460 | 2004-06-01 Stefan Monnier <monnier@iro.umontreal.ca> |
15461 | ||
c8d09ad8 SM |
15462 | * eval.c (Fcondition_case): Fix usage. Simplify. |
15463 | ||
2fb0ce67 SM |
15464 | * mem-limits.h (EXCEEDS_LISP_PTR) [USE_LSB_TAG]: Never true. |
15465 | ||
50bf7673 ST |
15466 | 2004-05-29 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
15467 | ||
15468 | * macfns.c: Don't include ccl.h. | |
15469 | [MAC_OSX]: Don't include QuickTime/QuickTime.h. | |
86d373e6 JB |
15470 | [!MAC_OSX]: Don't include alloca.h, Windows.h, Gestalt.h, or |
15471 | TextUtils.h. | |
c8d09ad8 | 15472 | (Fx_create_frame): Sync with xfns.c. Initialize cursor descriptors. |
50bf7673 ST |
15473 | (Fx_display_mm_height, Fx_display_mm_width): Calculate length from |
15474 | display height/width. | |
15475 | (compute_tip_xy, Vx_max_tooltip_size): Declare. | |
15476 | (unwind_create_tip_frame, compute_tip_xy): New functions. | |
15477 | (x_create_tip_frame, Fx_show_tip, Fx_hide_tip): Sync with xfns.c. | |
15478 | (syms_of_macfns): Initialize Qcancel_timer, Vx_max_tooltip_size, | |
15479 | and last_show_tip_args. | |
2fb0ce67 | 15480 | |
50bf7673 ST |
15481 | * macgui.h [!MAC_OSX]: Include Gestalt.h. |
15482 | (Cursor, No_Cursor): New defines. | |
c8d09ad8 | 15483 | [!TARGET_API_MAC_CARBON] (SetPortWindowPort): New compatibility macro. |
50bf7673 ST |
15484 | [!TARGET_API_MAC_CARBON] (arrow_cursor): Declare. |
15485 | ||
15486 | * macmenu.c (mac_menu_show, mac_dialog): Use SetPortWindowPort. | |
15487 | ||
15488 | * macterm.c: Don't include Gestalt.h. | |
15489 | (enum mouse_tracking_type, mouse_tracking_in_progress): Remove. | |
15490 | (XDrawLine, XClearArea, XClearWindow, mac_draw_bitmap) | |
15491 | (mac_set_clip_rectangle, mac_reset_clipping, XCreatePixmap) | |
15492 | (XFillRectangle, mac_draw_rectangle, mac_draw_string_common) | |
15493 | (mac_copy_area, mac_copy_area_with_mask, x_update_end) | |
15494 | (construct_mouse_click, XTmouse_position) | |
15495 | (x_scroll_bar_report_motion, x_calc_absolute_position) | |
15496 | (do_mouse_moved, do_zoom_window, mac_do_receive_drag) | |
15497 | (XTread_socket, make_mac_frame): Use SetPortWindowPort. | |
15498 | (note_mouse_movement): Clear the mouse face and reset the pointer | |
15499 | shape when the pointer goes outside the frame without grabbing. | |
15500 | (mac_front_window): New function. | |
15501 | (mac_window_to_frame): New macro. | |
15502 | (XTmouse_position, x_scroll_bar_report_motion, do_window_update) | |
15503 | (do_window_activate, do_window_deactivate, do_app_resume) | |
15504 | (do_app_suspend, do_mouse_moved, do_menu_choice, do_grow_window) | |
15505 | (do_zoom_window, mac_do_receive_drag, XTread_socket) | |
15506 | (mac_check_for_quit_char): Use mac_front_window and/or | |
15507 | mac_window_to_frame. | |
15508 | (x_scroll_bar_handle_click): Set `(PORTION . WHOLE)' part in a | |
15509 | scroll-bar click event. | |
15510 | (mac_define_frame_cursor): Change the pointer shape. | |
71b7a47f YM |
15511 | (x_free_frame_resources): Reset tip_window to NULL when it is |
15512 | disposed of. | |
50bf7673 | 15513 | [!TARGET_API_MAC_CARBON] (arrow_cursor): New variable. |
c8d09ad8 | 15514 | [!TARGET_API_MAC_CARBON] (do_init_managers): Initialize arrow_cursor. |
50bf7673 ST |
15515 | (do_window_update): Don't do anything if the updated window is the |
15516 | tooltip window. | |
15517 | (do_mouse_moved): Handle mouse movement events here (previously in | |
15518 | XTread_socket). Clear the mouse face if | |
15519 | dpyinfo->mouse_face_hidden is set. | |
15520 | (do_os_event, do_events): Remove (now in XTread_socket). | |
15521 | (XTread_socket): Immediately return if interrupt_input_blocked. | |
c8d09ad8 SM |
15522 | Loop until all the events in the queue are processed. |
15523 | Rearrange codes for mouse grabbing. Add tooltip support. Include the | |
50bf7673 ST |
15524 | contents of do_os_event and do_events. Remove mouse movement |
15525 | handling (now in do_mouse_moved). Add the case where | |
15526 | Vmouse_highlight has an integer value. | |
15527 | (NewMacWindow): Remove. | |
15528 | (make_mac_frame): Do what NewMacWindow previously did. Don't do | |
15529 | excess initializations. | |
15530 | (make_mac_terminal_frame): Previous initializations in | |
15531 | make_mac_frame are moved here. | |
c8d09ad8 SM |
15532 | (mac_initialize_display_info): |
15533 | Initialize dpyinfo->mouse_face_overlay and dpyinfo->mouse_face_hidden. | |
50bf7673 ST |
15534 | |
15535 | * xdisp.c [MAC_OS] (No_Cursor): Remove variable. | |
15536 | (define_frame_cursor1): Don't treat HAVE_CARBON as a special case. | |
15537 | ||
08fd1251 RS |
15538 | 2004-05-29 Richard M. Stallman <rms@gnu.org> |
15539 | ||
15540 | * lisp.h (truncate_undo_list): Update decl. | |
15541 | ||
15542 | * alloc.c (undo_outer_limit): New variable. | |
15543 | (syms_of_alloc): Defvar it. | |
15544 | (Fgarbage_collect): Pass undo_outer_limit to truncate_undo_list. | |
15545 | ||
15546 | * undo.c (truncate_undo_list): New arg LIMITSIZE. | |
15547 | ||
15548 | * alloc.c (lisp_align_malloc): Check for base == 0 | |
15549 | regardless of HAVE_POSIX_MEMALIGN. | |
15550 | Clean up HAVE_POSIX_MEMALIGN handling of `err'. | |
15551 | ||
227ef0ff SM |
15552 | 2004-05-28 Stefan Monnier <monnier@iro.umontreal.ca> |
15553 | ||
15554 | * alloc.c: Undo Kim's recent changes and fix the same bug differently. | |
15555 | (marker_blocks_pending_free): Remove. | |
15556 | (Fgarbage_collect): Sweep after cleaning up undo-lists. | |
15557 | Mark the undo lists after claning them up. | |
15558 | Don't free block in marker_blocks_pending_free. | |
15559 | (mark_buffer): Don't mark undo_list. | |
15560 | (gc_sweep): Sweep hash-tables and strings first. | |
15561 | Do free marker blocks that are empty. | |
15562 | ||
034a6113 SM |
15563 | 2004-05-28 Jim Blandy <jimb@redhat.com> |
15564 | ||
15565 | * regex.c (print_partial_compiled_pattern): Add missing 'break' | |
15566 | after 'case wordend'. For symbeg and symend, print to stderr, | |
15567 | like the other cases. | |
15568 | ||
33594a8d NF |
15569 | 2004-05-28 Noah Friedman <friedman@splode.com> |
15570 | ||
15571 | * process.c (Fdelete_process): Do not call remove_process. | |
15572 | ||
ce50a847 SM |
15573 | 2004-05-28 Stefan Monnier <monnier@iro.umontreal.ca> |
15574 | ||
15575 | * alloc.c (struct backtrace): Remove. | |
15576 | (Fgarbage_collect): Use the new mark_backtrace. | |
15577 | ||
15578 | * eval.c (mark_backtrace): New function. | |
15579 | ||
15580 | * minibuf.c (run_exit_minibuf_hook): New function. | |
15581 | (read_minibuf_unwind): Don't run exit-minibuffer-hook any more. | |
15582 | (read_minibuf): Use separate unwind handler to run exit-minibuf-hook. | |
15583 | ||
1e8dae36 KS |
15584 | 2004-05-27 Kim F. Storm <storm@cua.dk> |
15585 | ||
15586 | * xdisp.c (back_to_previous_visible_line_start): Skip backwards | |
15587 | over display properties, e.g. images, that replace buffer text. | |
15588 | ||
846faa3b KS |
15589 | 2004-05-25 Kim F. Storm <storm@cua.dk> |
15590 | ||
15591 | * alloc.c (marker_blocks_pending_free): New var. | |
15592 | (gc_sweep): Store free marker blocks on that list. | |
15593 | (Fgarbage_collect): Free them after undo-list cleanup. | |
15594 | ||
15595 | * process.c (wait_reading_process_input): Check connect_wait_mask | |
15596 | before actually accepting connection in case it has already been | |
15597 | accepted due to recursion. | |
15598 | ||
d495ccfc | 15599 | 2004-05-23 K\e,Aa\e(Broly L\e$,1 q\e(Brentey <lorentey@elte.hu> |
6239a668 | 15600 | |
ce50a847 SM |
15601 | * coding.c (Fset_safe_terminal_coding_system_internal): |
15602 | Set suppress_error in safe_terminal_coding, not terminal_coding. | |
6239a668 | 15603 | |
71d5a208 RS |
15604 | 2004-05-22 Richard M. Stallman <rms@gnu.org> |
15605 | ||
15606 | * alloc.c (Fmake_string): Doc fix. | |
15607 | ||
15608 | * buffer.c (clone_per_buffer_values): Copy the alist of local vars, | |
15609 | and the alist pairs too. | |
15610 | ||
15611 | * casefiddle.c (casify_object): Return OBJ unchanged if not real char. | |
15612 | ||
51391fb9 RF |
15613 | * emacs.c (main): Update copyright year. |
15614 | ||
71d5a208 RS |
15615 | * fileio.c (Fread_file_name): Expand DIR if not absolute. |
15616 | ||
15617 | * insdel.c (del_range_2, replace_range): Don't write an anchor | |
15618 | if the gap is empty. | |
15619 | ||
15620 | * xdisp.c (try_scrolling): If scroll-up-aggressively or | |
15621 | scroll-down-aggressively is small but positive, put point | |
15622 | near the screen edge. | |
15623 | ||
f63fd14e JB |
15624 | 2004-05-22 Juanma Barranquero <lektu@terra.es> |
15625 | ||
15626 | * keymap.c (Fdefine_key): Doc fix. | |
15627 | ||
4d12067c KS |
15628 | 2004-05-22 Kim F. Storm <storm@cua.dk> |
15629 | ||
15630 | * alloc.c (struct backtrace): Add debug_on_exit member. | |
15631 | (Fgarbage_collect): Clear out buffer undo_list markers after gc_sweep. | |
15632 | Identify those markers as Lisp_Misc_Free objects. Clear car and cdr of | |
15633 | the removed cons cells. | |
15634 | (mark_object): Undo previous change - disallow Lisp_Misc_Free objects. | |
15635 | (gc_sweep): Clear cons_blocks before sweeping strings, so we don't have | |
15636 | any cons cells pointing to unallocated stings. | |
15637 | Do not lisp_free any marker blocks, as there may still be pointers | |
15638 | to them from buffer undo lists at this stage of GC. | |
15639 | ||
15640 | * keyboard.c (struct backtrace): Add debug_on_exit member. | |
15641 | (Fcommand_execute): Clear it. | |
15642 | ||
931285e2 LT |
15643 | 2004-05-20 Luc Teirlinck <teirllm@auburn.edu> |
15644 | ||
15645 | * intervals.c (lookup_char_property): Do not prematurely return nil. | |
15646 | ||
669fa600 SM |
15647 | 2004-05-19 Jim Blandy <jimb@redhat.com> |
15648 | ||
15649 | Add support for new '\_<' and '\_>' regexp operators, matching the | |
f63fd14e | 15650 | beginning and end of symbols. |
4d12067c | 15651 | |
669fa600 SM |
15652 | * regex.c (enum syntaxcode): Add Ssymbol. |
15653 | (init_syntax_once): Set the syntax for '_' to Ssymbol, not Sword. | |
15654 | (re_opcode_t): New opcodes `symbeg' and `symend'. | |
15655 | (print_partial_compiled_pattern): Print the new opcodes properly. | |
15656 | (regex_compile): Parse the new operators. | |
ce50a847 | 15657 | (analyse_first): Skip sym(beg|end) (they match only the empty string). |
669fa600 SM |
15658 | (mutually_exclusive_p): `symend' is mutually exclusive with \s_ and |
15659 | \sw; `symbeg' is mutually exclusive with \S_ and \Sw. | |
15660 | (re_match_2_internal): Match symbeg and symend. | |
15661 | ||
15662 | * search.c (trivial_regexp_p): \_ is no longer a trivial regexp. | |
15663 | ||
0d8c2e5c KS |
15664 | 2004-05-19 Kim F. Storm <storm@cua.dk> |
15665 | ||
15666 | * .gdbinit (xsymbol): Fix last change. | |
15667 | ||
669fa600 SM |
15668 | 2004-05-18 Stefan Monnier <monnier@iro.umontreal.ca> |
15669 | ||
15670 | * .gdbinit (xprintstr): New fun. | |
15671 | (xstring, xprintsym): Use it. | |
15672 | ||
15673 | * w32proc.c (create_child): Use INTMASK. | |
15674 | ||
15675 | * alloc.c (Fgarbage_collect): Do all the marking before flushing | |
15676 | unmarked elements of the undo list. | |
15677 | ||
9a6a4c40 DP |
15678 | 2004-05-18 David Ponce <david@dponce.com> |
15679 | ||
15680 | * print.c (print): Reset print_depth before to call print_object. | |
15681 | ||
f3c4ec74 JR |
15682 | 2004-05-18 Jason Rumney <jasonr@gnu.org> |
15683 | ||
15684 | * w32console.c: Prefix RIF functions with w32con_ to avoid | |
15685 | namespace clash with functions in term.c and w32term.c. | |
15686 | ||
15687 | * w32menu.c (add_menu_item, w32_menu_display_help) | |
15688 | [USE_LISP_UNION_TYPE]: Cast from Lisp_Object using i member. | |
15689 | ||
0d8c2e5c | 15690 | * w32term.h (display_x_get_resource, vga_stdcolor_name): Add prototype. |
f3c4ec74 | 15691 | |
6be49c3a EZ |
15692 | 2004-05-18 Eli Zaretskii <eliz@gnu.org> |
15693 | ||
4d0b9a0a EZ |
15694 | * lisp.h (DECL_ALIGN): Remove restriction on MS-DOS systems. |
15695 | ||
6be49c3a EZ |
15696 | * msdos.c (syms_of_msdos): Initialize dos-unsupported-char-glyph |
15697 | with make_number. | |
15698 | (IT_write_glyphs): Extract glyph from dos-unsupported-char-glyph | |
15699 | with XINT. | |
15700 | ||
0bc90bba KS |
15701 | 2004-05-18 Kim F. Storm <storm@cua.dk> |
15702 | ||
89d19988 KS |
15703 | * blockinput.h (INPUT_BLOCKED_P): New macros. |
15704 | ||
15705 | * keyboard.c (Frecursive_edit): Return immediately if input blocked. | |
15706 | (Ftop_level): Unblock input if blocked. | |
15707 | ||
0bc90bba KS |
15708 | * buffer.h (GET_OVERLAYS_AT): New macro. |
15709 | * msdos.c (IT_note_mouse_highlight): Use it. | |
15710 | * textprop.c (get_char_property_and_overlay): Use it. | |
15711 | * xdisp.c (next_overlay_change, note_mouse_highlight): Use it. | |
15712 | * xfaces.c (face_at_buffer_position): Use it. | |
15713 | ||
15714 | * print.c (print_object): Increase buf size. | |
15715 | ||
653bd0f6 JR |
15716 | 2004-05-17 Jason Rumney <jasonr@gnu.org> |
15717 | ||
15718 | * w32fns.c (Fw32_register_hot_key, Fw32_unregister_hot_key) | |
15719 | (Fw32_toggle_lock_key) [USE_LISP_UNION_TYPE]: Cast from | |
15720 | Lisp_Object using i member. | |
15721 | (w32_quit_key): Rename from Vw32_quit_key, and make an int. | |
15722 | (syms_of_w32fns, globals_of_w32fns): Use Lisp_Object and int | |
15723 | consistently. | |
15724 | ||
15725 | * w32proc.c (create_child): Use make_number instead of masking pid. | |
15726 | ||
15727 | * w32fns.c (w32_color_map_lookup): Return a Lisp_Object. | |
15728 | (x_to_w32_charset, w32_to_x_charset, w32_to_all_x_charsets): | |
15729 | Use EQ to compare Lisp_Objects. | |
15730 | (w32_parse_hot_key): Use int for lisp_modifiers consistently. | |
15731 | ||
15732 | * w32term.c (w32_num_mouse_buttons): Rename from | |
15733 | Vw32_num_mouse_buttons and make it an int. | |
15734 | ||
15735 | * w32.c (init_environment): Use it. | |
15736 | ||
15737 | * w32fns.c (w32_wnd_proc): Likewise. | |
15738 | ||
15739 | * w32proc.c (w32_pipe_read_delay): Rename from | |
15740 | Vw32_pipe_read_delay and make it an int. | |
15741 | ||
15742 | * w32.c (_sys_read_ahead): Use it. | |
15743 | ||
15744 | * lisp.h (egetenv) [USE_CRT_DLL]: Remove condition. | |
15745 | ||
15746 | * w32proc.c (create_child) [USE_LSB_TAG]: Don't try to mask pid. | |
15747 | ||
15748 | * w32inevt.c (w32_console_mouse_position, do_mouse_event) | |
15749 | (key_event): Don't mix Lisp_Object and int. | |
15750 | ||
15751 | * w32heap.c (init_heap) [USE_LSB_TAG]: Don't check heap location. | |
15752 | ||
15753 | * keyboard.c (kbd_buffer_get_event): Don't use event->code and | |
15754 | modifiers in language change event. | |
15755 | ||
54b53ba7 KS |
15756 | 2004-05-17 Kim F. Storm <storm@cua.dk> |
15757 | ||
15758 | * alloc.c (mark_object): Ignore Lisp_Misc_Free objects. | |
15759 | Such objects may be freed markers which still exist on an undo list. | |
15760 | ||
6e86a75d JB |
15761 | 2004-05-16 Juanma Barranquero <lektu@terra.es> |
15762 | ||
15763 | * data.c (Fset_default): Make argument names match their use in | |
15764 | docstring. | |
15765 | ||
fc80da24 AS |
15766 | 2004-05-15 Andreas Schwab <schwab@suse.de> |
15767 | ||
15768 | * emacs.c (gdb_array_mark_flag): Define. | |
15769 | * .gdbinit: Mask off gdb_array_mark_flag from vector sizes. | |
15770 | ||
c1380aa6 EZ |
15771 | 2004-05-15 Eli Zaretskii <eliz@gnu.org> |
15772 | ||
15773 | * lisp.h (DECL_ALIGN) [MSDOS]: Don't define DECL_ALIGN to use | |
15774 | __attribute__((__aligned__)), so that USE_LSB_TAG would not become | |
15775 | defined for the MS-DOS build. | |
15776 | ||
89458937 SM |
15777 | 2004-05-14 Stefan Monnier <monnier@iro.umontreal.ca> |
15778 | ||
15779 | * w32fns.c (Fw32_define_rgb_color): Avoid XSET. | |
15780 | ||
08020f9a KH |
15781 | 2004-05-14 Kenichi Handa <handa@m17n.org> |
15782 | ||
15783 | * ccl.c (Fccl_execute_on_string): Fix setting elements of STATUS. | |
15784 | ||
a433994a ST |
15785 | 2004-05-14 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
15786 | ||
15787 | * lisp.h (Vx_resource_name, Vx_resource_class): Move from xfns.c | |
15788 | section to frame.c section. | |
15789 | (Fxw_display_color_p, Fx_file_dialog): Declare if | |
89458937 | 15790 | HAVE_WINDOW_SYSTEM defined. |
0d8c2e5c | 15791 | |
a433994a | 15792 | * macfns.c (Fx_create_frame): Fix int/Lisp_Object mixup. |
0d8c2e5c | 15793 | |
a433994a | 15794 | * macmenu.c (set_frame_menubar): Use NILP to test a lisp value. |
0d8c2e5c | 15795 | |
a433994a ST |
15796 | * macterm.c (mac_get_emulated_btn, mac_event_to_emacs_modifiers) |
15797 | (mac_get_mouse_btn): Use NILP and EQ to test/compare lisp values. | |
15798 | (XTread_socket): Fix int/Lisp_Object mixup. | |
15799 | (mac_check_for_quit_char): Fix pointer/Lisp_Object mixup. | |
0d8c2e5c | 15800 | |
a433994a ST |
15801 | * macterm.h (struct frame, struct face, struct image) |
15802 | (display_x_get_resource, Fx_display_color_p) | |
89458937 SM |
15803 | (Fx_display_grayscale_p, Fx_display_planes, x_free_gcs): |
15804 | Add prototypes. | |
a433994a | 15805 | |
b51a51b9 KS |
15806 | 2004-05-14 Kim F. Storm <storm@cua.dk> |
15807 | ||
15808 | * process.c (wait_reading_process_input): Make reentrant. | |
15809 | Make Available and Connecting non-static. Save and restore value | |
15810 | of waiting_for_user_input_p. | |
15811 | ||
2bde1dd8 KS |
15812 | 2004-05-13 Kim F. Storm <storm@cua.dk> |
15813 | ||
15814 | * keyboard.c (mark_kboards): Don't mark x and y members | |
15815 | that are overloaded in selection request events. | |
15816 | ||
a267ab4d SM |
15817 | 2004-05-13 Stefan Monnier <monnier@iro.umontreal.ca> |
15818 | ||
15819 | * lisp.h (USE_LSB_TAG): Make it the default when it is known to work. | |
15820 | ||
eb15ce9e GM |
15821 | 2004-05-13 Glenn Morris <gmorris@ast.cam.ac.uk> |
15822 | ||
15823 | * window.c (Fdisplay_buffer, Fsplit_window) | |
15824 | (split-height-threshold): Doc fix. | |
15825 | ||
7fc92635 JB |
15826 | 2004-05-13 Juanma Barranquero <lektu@terra.es> |
15827 | ||
15828 | * xfaces.c (Ftty_supports_face_attributes_p) | |
15829 | (Finternal_copy_lisp_face): Fix typo in docstring. | |
15830 | (Finternal_get_lisp_face_attribute): Fix docstring. | |
15831 | ||
1ec2a572 JD |
15832 | 2004-05-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15833 | ||
15834 | * xfns.c (syms_of_xfns): Provide x-toolkit also for GTK. | |
15835 | ||
ae9292e0 ST |
15836 | 2004-05-11 Steven Tamm <steventamm@mac.com> |
15837 | ||
15838 | * macfns.c (Fx_create_frame): Default to using tool-bar by | |
15839 | setting tool-bar-lines to 1 in default-frame-alist. | |
15840 | ||
15841 | 2004-05-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
ea1aaa6f ST |
15842 | |
15843 | * image.c (xpm_scan, xpm_make_color_table_v, xpm_put_color_table_v) | |
15844 | (xpm_get_color_table_v, xpm_make_color_table_h) | |
15845 | (xpm_put_color_table_h, xpm_get_color_table_h) | |
15846 | (xpm_str_to_color_key, xpm_load_image, xpm_load) | |
15847 | (syms_of_image): Support XPM on Carbon Emacs. Does not | |
a267ab4d | 15848 | depend on libXpm, but only supports XPM version 3 without extensions. |
ea1aaa6f | 15849 | |
fe97e8df ST |
15850 | 2004-05-11 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
15851 | ||
a267ab4d | 15852 | * macterm.c (x_flush, XTframe_up_to_date): Use FRAME_MAC_P |
fe97e8df ST |
15853 | instead of FRAME_X_P |
15854 | ||
b47e779e KS |
15855 | 2004-05-11 Kim F. Storm <storm@cua.dk> |
15856 | ||
15857 | * process.c (read_process_output): Grow decoding_buf when needed; | |
15858 | this could cause a crash in allocate_string and compact_small_strings. | |
15859 | ||
cdc9b845 EZ |
15860 | 2004-04-29 Jim Blandy <jimb@redhat.com> |
15861 | ||
15862 | * regex.c (mutually_exclusive_p): In 'case wordbeg', compare op2 | |
15863 | against proper opcode. | |
15864 | ||
aa7094ba JB |
15865 | 2004-05-10 Juanma Barranquero <lektu@terra.es> |
15866 | ||
15867 | * process.c (Fstart_process): Fix docstring. | |
15868 | ||
15869 | * charset.c (Fget_unused_iso_final_char): Fix typos in docstring. | |
15870 | (Fchar_bytes, Fchar_width, Fstring_width, Fchar_direction) | |
15871 | (Fsplit_char, Fchar_charset): Make argument names match their use | |
15872 | in docstring. | |
15873 | ||
e109331a RS |
15874 | 2004-05-10 Richard M. Stallman <rms@gnu.org> |
15875 | ||
15876 | * print.c (print_preprocess): Use being_printed, loop_count and | |
15877 | halftail to detect overdeep nesting and cyclic cdr chains. | |
15878 | ||
9a28b921 AS |
15879 | 2004-05-10 Andreas Schwab <schwab@suse.de> |
15880 | ||
78819ebb | 15881 | * lisp.h (Fmake_symbolic_link): Declare. |
9a28b921 AS |
15882 | |
15883 | * fileio.c (Frename_file): Remove extra argument in call to | |
15884 | Fmake_symbolic_link. | |
15885 | ||
e2c02c1a KS |
15886 | 2004-05-10 Kim F. Storm <storm@cua.dk> |
15887 | ||
15888 | * xdisp.c (calc_line_height_property): Use string position when | |
15889 | object is a string. | |
15890 | ||
cfe9d13e KH |
15891 | 2004-05-10 Kenichi Handa <handa@m17n.org> |
15892 | ||
a57e8159 KH |
15893 | * print.c (temp_output_buffer_setup): Bind inhibit-read-only and |
15894 | inhibit-modification-hooks to t temporarily before calling | |
15895 | Ferase_buffer. | |
15896 | ||
15897 | * xfns.c (x_create_tip_frame): Bind inhibit-read-only and | |
15898 | inhibit-modification-hooks to t temporarily before calling | |
15899 | Ferase_buffer. | |
15900 | ||
15901 | * w32fns.c (x_create_tip_frame): Bind inhibit-read-only and | |
15902 | inhibit-modification-hooks to t temporarily before calling | |
15903 | Ferase_buffer. | |
15904 | ||
cfe9d13e KH |
15905 | * fns.c (count_combining): Delete it. |
15906 | (concat): Don't check combining bytes. | |
15907 | ||
ceb96489 JR |
15908 | 2004-05-09 Jason Rumney <jasonr@gnu.org> |
15909 | ||
15910 | * w32fns.c (Vw32_ansi_code_page): New Lisp variable. | |
15911 | (globals_of_w32fns): Set it. | |
15912 | ||
b6189c3b | 15913 | 2004-05-09 Piet van Oostrum <piet@cs.uu.nl> |
b1c661c7 JB |
15914 | |
15915 | * data.c (Fquo): Simplify. | |
15916 | ||
28712a21 JB |
15917 | 2004-05-08 Peter Whaite <emacs@whaite.ca> (tiny change) |
15918 | ||
15919 | * data.c (Fquo): If any argument is float, do the computation in | |
15920 | floating point. | |
15921 | ||
0f0af7a8 JB |
15922 | 2004-05-08 Juanma Barranquero <lektu@terra.es> |
15923 | ||
88214ef6 JB |
15924 | * process.c (Fwaiting_for_user_input_p, Fmake_network_process) |
15925 | (Fset_process_query_on_exit_flag, Vprocess_adaptive_read_buffering): | |
15926 | Fix spelling of Emacs on docstring. | |
15927 | (Fset_process_coding_system, Fprocess_coding_system) | |
15928 | (Fset_process_filter_multibyte, Fprocess_filter_multibyte_p): | |
15929 | Make argument names match their use in docstring. | |
15930 | (Fprocess_id, Fprocess_query_on_exit_flag, Finterrupt_process): | |
15931 | Fix docstring. | |
15932 | ||
0f0af7a8 JB |
15933 | * editfns.c (Finsert_buffer_substring): Make argument names match their |
15934 | use in docstring. | |
15935 | ||
15936 | * syntax.c (Fmodify_syntax_entry): Fix docstring. | |
15937 | ||
2a316a84 ST |
15938 | 2004-05-07 Steven Tamm <steventamm@mac.com> |
15939 | ||
15940 | * macterm.c (mac_check_for_quit_char): Adding BLOCK_INPUT | |
15941 | around call to ReceiveEvent to avoid certain crashes. | |
15942 | ||
15943 | 2004-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
0d8c2e5c | 15944 | |
2a316a84 ST |
15945 | * macterm.c (mac_draw_line_to_pixmap, XCreatePixmapFromBitmapData) |
15946 | (mac_fill_rectangle_to_pixmap, mac_draw_rectangle_to_pixmap) | |
15947 | (mac_copy_area_to_pixmap, mac_copy_area_with_mask_to_pixmap): | |
15948 | Save/restore the current graphics port and device handle when | |
15949 | drawing into an offscreen graphics world. | |
15950 | ||
15951 | * image.c [MAC_OS] (XPutPixel, XGetPixel, image_load_qt_1) | |
15952 | (gif_load): Likewise. | |
15953 | ||
ab80314b JB |
15954 | 2004-05-07 Juanma Barranquero <lektu@terra.es> |
15955 | ||
15956 | * window.c (Fset_window_buffer): Fix docstring. | |
15957 | ||
70646bb5 TTN |
15958 | 2004-05-06 Thien-Thi Nguyen <ttn@gnu.org> |
15959 | ||
15960 | * emacs.c (main) [VMS]: Fix var ref. | |
15961 | ||
b6189c3b | 15962 | 2004-05-06 Romain Francoise <romain@orebokech.com> |
b03a4fdd JB |
15963 | |
15964 | * data.c (Fsetq_default): Fix docstring. | |
15965 | ||
279d3293 JR |
15966 | 2004-05-06 Jason Rumney <jasonr@gnu.org> |
15967 | ||
15968 | * image.c (Display) [HAVE_NTGUI]: Redefine while loading xpm.h | |
15969 | to avoid name clash. | |
15970 | ||
f72b5416 JD |
15971 | 2004-05-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15972 | ||
15973 | * fileio.c (barf_or_query_if_file_exists): Use lstat. | |
15974 | (Frename_file): Handle renaming of symlinks across file systems. | |
440c7d00 | 15975 | (Frename_file): Put symlink handling inside #ifdef S_IFLNK. |
f72b5416 | 15976 | |
6ab66799 KS |
15977 | 2004-05-04 Kim F. Storm <storm@cua.dk> |
15978 | ||
15979 | * xdisp.c (Qtotal): New var. | |
15980 | (syms_of_xdisp): Intern and staticpro it. | |
15981 | (calc_line_height_property): New arg total. Set it if | |
15982 | line-spacing property has format (total . VALUE). | |
15983 | (x_produce_glyphs): Ignore line-spacing if line-height is 0. | |
15984 | Handle total line-spacing property. | |
15985 | ||
ab2d724b JD |
15986 | 2004-05-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
15987 | ||
15988 | * gtkutil.c (xg_update_scrollbar_pos): Call XClearWindow to clear | |
15989 | "under" scroll bar when size/position changes. | |
15990 | ||
238add5e JR |
15991 | 2004-05-03 Jason Rumney <jasonr@gnu.org> |
15992 | ||
15993 | * makefile.nt: Remove. | |
15994 | ||
1644f4e4 EZ |
15995 | 2004-05-02 Eli Zaretskii <eliz@gnu.org> |
15996 | ||
a267ab4d SM |
15997 | * syntax.h (SET_RAW_SYNTAX_ENTRY, SYNTAX_ENTRY_INT): |
15998 | Avoid compiler warnings. | |
05fdbeb8 | 15999 | |
1644f4e4 EZ |
16000 | * Makefile.in (region-cache.o): Depend on config.h. |
16001 | ||
b6189c3b | 16002 | 2004-05-02 Romain Francoise <romain@orebokech.com> |
6cbc951e SM |
16003 | |
16004 | * indent.c (compute_motion): Save vpos in prev_vpos when dealing | |
16005 | with continuation lines, too. | |
16006 | ||
2b98b088 TTN |
16007 | 2004-05-02 Thien-Thi Nguyen <ttn@gnu.org> |
16008 | ||
16009 | * syssignal.h (init_signals): Move decl outside `#ifdef POSIX_SIGNALS'. | |
16010 | ||
d9bf7950 SM |
16011 | 2004-05-01 Stefan Monnier <monnier@iro.umontreal.ca> |
16012 | ||
16013 | * xdisp.c (calc_line_height_property): YAILOM (yet another | |
16014 | int/Lisp_Object mixup). | |
16015 | ||
affa509c EZ |
16016 | 2004-05-01 Eli Zaretskii <eliz@gnu.org> |
16017 | ||
16018 | * msdos.c (top-level): Add "#pragma pack(0)" after <dir.h>, to | |
16019 | undo bad effect of pack(4) in some versions of system headers. | |
16020 | ||
07c07cfe JR |
16021 | 2004-05-01 Jason Rumney <jasonr@gnu.org> |
16022 | ||
16023 | * w32term.c (x_draw_hollow_cursor): Sync with xterm.c | |
16024 | ||
e71caa4e KS |
16025 | 2004-04-30 Kim F. Storm <storm@cua.dk> |
16026 | ||
16027 | * buffer.c (syms_of_buffer) <line-spacing>: Allow float value. | |
b2b55d03 | 16028 | (syms_of_buffer) <cursor-type>: Doc fix. |
e71caa4e KS |
16029 | |
16030 | * dispextern.h (struct it): Remove member use_default_face. | |
16031 | Add members override_ascent, override_descent, override_boff. | |
16032 | ||
16033 | * xdisp.c (init_iterator): Handle line-spacing float value. | |
16034 | Initialize override_ascent member. | |
16035 | (append_space_for_newline): Reset override_ascent. | |
16036 | Remove use_default_face. | |
16037 | (calc_line_height_property): New function to calculate value of | |
16038 | line-height and line-spacing properties. Look at overlays, too. | |
16039 | Set override_ascent, override_descent, override_boff members when | |
16040 | using another face than the current face. Float values are now | |
16041 | relative to the frame default font, by default; accept a cons | |
16042 | of ratio and face name to specify value relative to a specific face. | |
16043 | (x_produce_glyphs): Use calc_line_height_property. | |
16044 | Use override_ascent etc. when set to handle different face heights. | |
16045 | A negative line-spacing property value is interpreted as a total | |
16046 | line height, rather than inter-line spacing. | |
16047 | (note_mouse_highlight): Allocate room for 40 overlays initially. | |
16048 | ||
0fddae66 SM |
16049 | 2004-04-29 Stefan Monnier <monnier@iro.umontreal.ca> |
16050 | ||
16051 | * data.c (Fsubr_name): New fun. | |
16052 | (syms_of_data): Defsubr it. | |
16053 | ||
712d23dc KS |
16054 | 2004-04-29 Kim F. Storm <storm@cua.dk> |
16055 | ||
16056 | * xdisp.c (null_glyph_slice): New var. | |
16057 | (append_glyph, append_composite_glyph, append_stretch_glyph): | |
16058 | Use it to initialize glyph slice. | |
16059 | ||
033ad8c6 SM |
16060 | 2004-04-27 Stefan Monnier <monnier@iro.umontreal.ca> |
16061 | ||
16062 | * xdisp.c (x_produce_glyphs): Fix the proverbial int/Lisp_Object mixup. | |
16063 | (on_hot_spot_p): Make sure we always return a value. | |
16064 | (Flookup_image_map): Remove unused var ix and iy. | |
16065 | (note_mode_line_or_margin_highlight): Remove unused var `image'. | |
16066 | ||
93397360 EZ |
16067 | 2004-04-27 Eli Zaretskii <eliz@gnu.org> |
16068 | ||
16069 | * msdos.c (init_environment): If one of the TMP... environment | |
16070 | variables is set to a drive letter without a trailing slash, | |
16071 | append a slash. | |
16072 | ||
0c54865e EZ |
16073 | 2004-04-27 Matthew Mundell <matt@mundell.ukfsn.org> |
16074 | ||
16075 | * editfns.c (lisp_time_argument): Provide externally. | |
16076 | ||
16077 | * fileio.c (Fset_file_times): New function. | |
16078 | (syms_of_fileio): Intern and staticpro it. | |
16079 | ||
d3b111bd KS |
16080 | 2004-04-27 Kim F. Storm <storm@cua.dk> |
16081 | ||
07dc1231 KS |
16082 | * xdisp.c (x_produce_glyphs): Fix last change; handle newline in |
16083 | header line strings. | |
16084 | ||
360fe9d2 KS |
16085 | * dispextern.h (struct it): New member use_default_face. |
16086 | ||
d3b111bd KS |
16087 | * xdisp.c (Qline_height): New variable. |
16088 | (syms_of_xdisp): Intern and staticpro it. | |
16089 | (append_space_for_newline): Partially undo 2004-04-25 change; | |
16090 | add default_face_p arg, and restore callers. | |
16091 | Clear it->use_default_face after use. | |
16092 | (x_produce_glyphs): Set default font for ascii char if | |
16093 | it->use_default_font is set. Change line-spacing property to set | |
16094 | just extra line spacing. Handle new line-height property. | |
16095 | ||
0448588b AS |
16096 | 2004-04-26 Andreas Schwab <schwab@suse.de> |
16097 | ||
16098 | * print.c (print_object): Print non-ascii characters in bool | |
16099 | vector representation as octal escapes. | |
16100 | ||
16101 | * lisp.h (BOOL_VECTOR_BITS_PER_CHAR): Define. | |
16102 | * print.c (print_object): Use it instead of BITS_PER_CHAR for | |
16103 | bool vectors. | |
16104 | * lread.c (read1): Likewise. | |
16105 | * alloc.c (Fmake_bool_vector): Likewise. | |
16106 | * data.c (Faref, Faset): Likewise. | |
16107 | * fns.c (Fcopy_sequence, concat, internal_equal, Ffillarray) | |
16108 | (mapcar1): Likewise. | |
d3b111bd | 16109 | |
536d6baa ST |
16110 | 2004-04-26 Steven Tamm <tamm@Steven-Tamms-Computer.local> |
16111 | ||
7e26f91b | 16112 | * lread.c (init_lread): Fix typo in HAVE_CARBON test logic. |
536d6baa | 16113 | |
ae11577a MB |
16114 | 2004-04-26 Miles Bader <miles@gnu.org> |
16115 | ||
16116 | * lisp.h (CYCLE_CHECK): Macro moved from xfaces.c. | |
16117 | ||
e198ba87 JB |
16118 | 2004-04-26 Juanma Barranquero <lektu@terra.es> |
16119 | ||
16120 | * buffer.c (Fpop_to_buffer): Fix docstring. | |
16121 | ||
f3d5f92d | 16122 | 2004-04-26 Steven Tamm <steventamm@mac.com> |
e198ba87 | 16123 | |
f3d5f92d ST |
16124 | * lread.c (init_lread): Don't display missing lisp directory |
16125 | warnings with Carbon Emacs because self-contained bundled Emacs | |
e198ba87 | 16126 | may be built without correct installation path. |
f3d5f92d | 16127 | |
03e35edc KS |
16128 | 2004-04-25 Kim F. Storm <storm@cua.dk> |
16129 | ||
9ff3aa31 KS |
16130 | * macterm.c (x_draw_hollow_cursor): Fix height of box for narrow lines. |
16131 | ||
16132 | * xterm.c (x_draw_hollow_cursor): Fix height of box for narrow lines. | |
16133 | ||
03e35edc KS |
16134 | * xdisp.c (append_space_for_newline): Rename from append_space. |
16135 | Remove DEFAULT_FACE_P arg; always use current face. Callers changed. | |
16136 | (x_produce_glyphs): Handle line-spacing property on newline char. | |
16137 | If value is t, adjust ascent and descent to fit current row height. | |
16138 | If value is an integer or float, set extra_line_spacing to integer | |
16139 | value, or to float value x current line height. | |
16140 | ||
f24814e0 KH |
16141 | 2004-04-23 Kenichi Handa <handa@m17n.org> |
16142 | ||
16143 | * fontset.c (Finternal_char_font): If POSITION is nil, return | |
16144 | font for displaying CH with the default face. | |
16145 | ||
d814862a JB |
16146 | 2004-04-23 Juanma Barranquero <lektu@terra.es> |
16147 | ||
16148 | * makefile.w32-in: Add "-*- makefile -*-" mode tag. | |
16149 | ||
063a45c5 SM |
16150 | 2004-04-21 Stefan Monnier <monnier@iro.umontreal.ca> |
16151 | ||
16152 | * lisp.h (XINT) [EXPLICIT_SIGN_EXTEND && !NO_UNION_TYPE]: | |
16153 | Don't make assumptions about the relative place of i and val. | |
16154 | (EQ) [!NO_UNION_TYPE]: Don't forget to check the type match as well. | |
16155 | ||
ae7ab2d3 KS |
16156 | 2004-04-21 Kim F. Storm <storm@cua.dk> |
16157 | ||
16158 | * dispextern.h (struct glyph_slice): New struct. | |
16159 | (struct glyph): New member slice. | |
16160 | (GLYPH_SLICE_EQUAL_P): New macro. | |
16161 | (GLYPH_EQUAL_P): Use it. | |
16162 | (struct glyph_string): New member slice. | |
16163 | (struct it_slice): New struct. | |
16164 | (struct it): New member slice, add member to stack too. | |
16165 | New member constrain_row_ascent_descent_p. | |
16166 | (image_ascent): Add prototype. | |
16167 | ||
16168 | * dispnew.c (buffer_posn_from_coords): Return full image width | |
16169 | and height even for image slices (posn is relative to full image). | |
16170 | (marginal_area_string): Adjust x0,y0 for image slice. | |
16171 | ||
16172 | * image.c (image_ascent): Add slice arg; calculate ascent for | |
16173 | image slice (or full image). | |
16174 | ||
16175 | * keyboard.c (Fposn_at_x_y, Fposn_at_point): New defuns. | |
16176 | (syms_of_keyboard): Defsubr them. | |
16177 | ||
16178 | * lisp.h (pos_visible_p): Fix prototype. | |
16179 | ||
c62aec78 | 16180 | * macterm.c (x_draw_relief_rect): Add top_p and bot_p args. |
ae7ab2d3 KS |
16181 | (x_draw_glyph_string_box): Fix call to x_draw_relief_rect. |
16182 | (x_draw_image_foreground, x_draw_image_relief) | |
16183 | (x_draw_image_foreground_1, x_draw_image_glyph_string): | |
16184 | Draw sliced images. | |
16185 | ||
16186 | * w32term.c (w32_draw_relief_rect): Add top_p and bot_p args. | |
16187 | (x_draw_glyph_string_box): Fix call to x_draw_relief_rect. | |
16188 | (x_draw_image_foreground, x_draw_image_relief) | |
16189 | (w32_draw_image_foreground_1, x_draw_image_glyph_string): | |
16190 | Draw sliced images. | |
16191 | ||
16192 | * w32term.h (image_ascent): Remove prototype. | |
16193 | ||
16194 | * window.c (Fpos_visible_in_window_p): Return pixel position if | |
16195 | PARTIALLY arg is non-nil. Simplify. Doc fix. | |
16196 | (Fwindow_vscroll, Fset_window_vscroll): Add optional PIXEL_P arg | |
16197 | to return/set vscroll in pixels. | |
16198 | ||
16199 | * window.h (Fwindow_vscroll, Fset_window_vscroll): Fix EXFUN. | |
16200 | ||
16201 | * xdisp.c (Qslice): New variable. | |
16202 | (syms_of_xdisp): Intern and staticpro it. | |
16203 | (pos_visible_p): Return pixel position in new x and y args. | |
16204 | (init_iterator): Reset it->slice info. | |
16205 | (handle_display_prop): Parse (slice ...) property. | |
16206 | (push_it, pop_it): Save/restore slice info. | |
16207 | (make_cursor_line_fully_visible): Fix 2004-04-14 change. Do not | |
16208 | force repositioning of tall row if window is vscrolled, as that | |
16209 | would reset vscroll. | |
16210 | (append_space): Set it->constrain_row_ascent_descent_p to avoid | |
16211 | increasing row height if row is non-empty. | |
16212 | (fill_image_glyph_string): Copy slice info. | |
16213 | (take_vertical_position_into_account): Simplify. | |
16214 | (produce_image_glyph): Handle iterator slice info, setup glyph | |
16215 | slice info. Do not force minimum line height. | |
16216 | (x_produce_glyphs): If it->constrain_row_ascent_descent_p is set, | |
16217 | do not increase height (ascent/descent) of non-empty row when | |
16218 | adding normal character glyph; instead reduce glyph ascent/descent | |
16219 | appropriately; if row is higher than current glyph, adjust glyph | |
16220 | descent/ascent to reposition glyph within the existing row. | |
16221 | Likewise, when char is newline, only set ascent/descent if row is | |
16222 | currently empty. | |
16223 | (note_mouse_highlight): Handle hotspots with sliced image. | |
16224 | ||
16225 | * xterm.c (x_draw_relief_rect): Add top_p and bot_p args. | |
16226 | (x_draw_glyph_string_box): Fix call to x_draw_relief_rect. | |
16227 | (x_draw_image_foreground, x_draw_image_relief) | |
16228 | (x_draw_image_foreground_1, x_draw_image_glyph_string): | |
16229 | Draw sliced images. | |
16230 | ||
16231 | * xterm.h (image_ascent): Remove prototype. | |
16232 | ||
d58f8753 SM |
16233 | 2004-04-20 Stefan Monnier <monnier@iro.umontreal.ca> |
16234 | ||
16235 | * keymap.c (Fkey_description): Fix the usual int/Lisp_Object mixup. | |
16236 | ||
4ce2719d JPW |
16237 | 2004-04-20 John Paul Wallington <jpw@gnu.org> |
16238 | ||
16239 | * fns.c (Fassoc, Feql): Fix indentation. | |
16240 | ||
d58f8753 | 16241 | * fontset.c (regularize_fontname): Rename from regulalize_fontname. |
4ce2719d | 16242 | |
95f8c3b9 JPW |
16243 | 2004-04-19 John Paul Wallington <jpw@gnu.org> |
16244 | ||
16245 | * fns.c (Feql): New function. | |
d58f8753 | 16246 | (syms_of_fns): Defsubr it. |
95f8c3b9 | 16247 | |
b7e85537 JR |
16248 | 2004-04-18 Jason Rumney <jasonr@gnu.org> |
16249 | ||
16250 | * w32select.c (Fw32_set_clipboard_data): Get sequence number | |
16251 | after closing the clipboard. | |
16252 | ||
5a72efd4 LT |
16253 | 2004-04-16 Luc Teirlinck <teirllm@auburn.edu> |
16254 | ||
16255 | * buffer.c (Fbuffer_base_buffer): Doc fix. | |
16256 | ||
20dc8583 KS |
16257 | 2004-04-17 Kim F. Storm <storm@cua.dk> |
16258 | ||
60962ec4 KS |
16259 | * keymap.c (Fkey_description): Add optional PREFIX arg. |
16260 | Combine prefix with KEYS to make up the full key sequence to describe. | |
16261 | Correlate meta_prefix_char and following (simple) key to describe | |
16262 | as meta modifier. All callers changed. | |
16263 | (describe_map): Rename arg `keys' to `prefix'. Remove local | |
16264 | `elt_prefix' var. Use Fkey_description with prefix instead of | |
16265 | elt_prefix combined with Fsingle_key_description. | |
16266 | (describe_vector): Declare static. Replace arg `elt_prefix' with | |
16267 | `prefix'. Add KEYMAP_P arg. Add local var `elt_prefix'; use it | |
52eb0373 | 16268 | if !KEYMAP_P. Use Fkey_description with prefix instead of |
60962ec4 KS |
16269 | Fsingle_key_description. |
16270 | ||
16271 | * keymap.h (Fkey_description): Fix prototype. | |
16272 | (describe_vector): Remove prototype. | |
16273 | ||
409368b9 KS |
16274 | * xdisp.c (update_overlay_arrows): Fix handling of up_to_date < 0. |
16275 | ||
20dc8583 KS |
16276 | * image.c (PNG_BG_COLOR_SHIFT): Remove. |
16277 | (png_load): Fix calculation of transparent background color on X | |
16278 | and W32 platforms. | |
16279 | ||
75c5501b JB |
16280 | 2004-04-16 Juanma Barranquero <lektu@terra.es> |
16281 | ||
16282 | * xdisp.c (try_scrolling): Make sure `scroll-conservatively' is | |
16283 | not too large before computing how much to scroll. | |
16284 | ||
da879ae8 SM |
16285 | 2004-04-15 Stefan Monnier <monnier@iro.umontreal.ca> |
16286 | ||
16287 | * dired.c (Ffile_attributes): Don't pass extra nil arg to file-handler. | |
16288 | ||
d01ca4a8 LT |
16289 | 2004-04-14 Luc Teirlinck <teirllm@auburn.edu> |
16290 | ||
16291 | * fileio.c (Fverify_visited_file_modtime, Fvisited_file_modtime): | |
16292 | Add hyperlink to Elisp manual to the docstring. | |
16293 | ||
572943b3 SM |
16294 | 2004-04-14 Stefan Monnier <monnier@iro.umontreal.ca> |
16295 | ||
16296 | * callint.c (fix_command): Use XDCR. | |
16297 | ||
5e30a0fb NR |
16298 | 2004-04-14 Nick Roberts <nick@nick.uklinux.net> |
16299 | ||
16300 | * window.c (Fget_lru_window): Doc fix. | |
16301 | ||
a27ddfaf KS |
16302 | 2004-04-14 Kim F. Storm <storm@cua.dk> |
16303 | ||
16304 | * editfns.c (Fformat): Fix allocation size of precision array. | |
16305 | ||
16306 | * dispnew.c (update_window): Only set changed_p if | |
16307 | scrolling_window actually did scroll. | |
16308 | (scrolling_window): Only return 1 if we actually did scroll. | |
16309 | ||
16310 | * xdisp.c (get_glyph_string_clip_rect): Fix reduction of cursor | |
16311 | height to glyph height when cursor row is not fully visible. | |
16312 | (make_cursor_line_fully_visible): Add FORCE_P arg to return | |
16313 | failure in case row is higher than window. Callers changed. | |
16314 | (try_scrolling): Fix loop in scrolling if last_line_misfit (from Gerd). | |
16315 | Try to scroll partially visible, higher-than-window cursor row. | |
16316 | (redisplay_window): Always try to scroll partially visible, | |
16317 | higher-than-window cursor row - both initially and again with | |
16318 | centering_position = 0. | |
16319 | Clear desired matrix before retrying with centering_position = 0. | |
16320 | ||
da879ae8 SM |
16321 | 2004-04-13 Stefan Monnier <monnier@iro.umontreal.ca> |
16322 | ||
16323 | * syntax.c (scan_lists): Simplify backward string scan. | |
16324 | Fix off-by-one boundary check for string and comment fences. | |
16325 | ||
5fc16e8e SM |
16326 | 2004-04-13 Joe Buehler <jbuehler@hekimian.com> |
16327 | ||
16328 | * sheap.c, unexcw.c: New files. | |
16329 | ||
c9aac8e6 LT |
16330 | 2004-04-12 Luc Teirlinck <teirllm@auburn.edu> |
16331 | ||
16332 | * buffer.c (Fmake_indirect_buffer): Throw an error if the intended | |
16333 | base buffer has been killed. Correct the error message if the | |
16334 | base buffer does not exist. | |
16335 | ||
1e88a355 SM |
16336 | 2004-04-12 Joe Buehler <jbuehler@hekimian.com> |
16337 | ||
16338 | * s/cygwin.h: Changes for Cygwin unexec() support, changes in | |
16339 | Cygwin itself. Add support for Xaw3d scrollbars. | |
16340 | ||
16341 | * puresize.h: Set up PURE_P() for Cygwin unexec() support. | |
16342 | ||
16343 | * lastfile.c: Define my_endbss[] for Cygwin unexec() support. | |
16344 | ||
16345 | * gmalloc.c (__default_morecore): Use bss_sbrk(), not __sbrk(), | |
16346 | before Cygwin unexec. | |
16347 | ||
16348 | * Makefile.in: Link changes for Cygwin unexec() support. | |
16349 | ||
8dbff9a0 AS |
16350 | 2004-04-12 Andreas Schwab <schwab@suse.de> |
16351 | ||
16352 | * buffer.c (Fmake_indirect_buffer): Check that NAME is a string. | |
16353 | ||
54dffe35 LT |
16354 | 2004-04-11 Luc Teirlinck <teirllm@auburn.edu> |
16355 | ||
16356 | * buffer.c (Fgenerate_new_buffer_name): Return NAME argument if | |
16357 | IGNORE argument equals NAME. Doc fix. | |
16358 | ||
99a72bdf MY |
16359 | 2004-04-11 Masatake YAMATO <jet@gyve.org> |
16360 | ||
1e88a355 | 16361 | * buffer.c (fix_start_end_in_overlays): Make overlays |
99a72bdf MY |
16362 | empty if they are backwards. |
16363 | ||
40899d7b SM |
16364 | 2004-04-09 Stefan Monnier <monnier@iro.umontreal.ca> |
16365 | ||
16366 | * xfaces.c (face_color_supported_p): Fix compilation without X11. | |
16367 | ||
f8f853de SM |
16368 | 2004-04-07 Stefan Monnier <monnier@iro.umontreal.ca> |
16369 | ||
16370 | * doc.c (Fsnarf_documentation): Ignore new file name entries. | |
16371 | ||
c953fe1b KS |
16372 | 2004-04-06 Kim F. Storm <storm@cua.dk> |
16373 | ||
5e1a6e32 | 16374 | * msdos.c (clear_mouse_face): Only clear mouse highlight if not hidden. |
661e85c1 KS |
16375 | (dos_rawgetc): Set mouse_face_hidden after clearing highlight. |
16376 | ||
16377 | * w32term.c (w32_read_socket): Set mouse_face_hidden after | |
16378 | clearing highlight. | |
16379 | ||
16380 | * xdisp.c (clear_mouse_face): Only clear mouse highlight if not hidden. | |
16381 | ||
16382 | * xterm.c (handle_one_xevent): Set mouse_face_hidden after | |
16383 | clearing highlight. | |
16384 | ||
c953fe1b KS |
16385 | * indent.c (vmotion): Do not reserve one column for continuation |
16386 | marks on window frames. | |
16387 | ||
c1994268 EZ |
16388 | 2004-04-04 Eli Zaretskii <eliz@gnu.org> |
16389 | ||
16390 | * charset.h (SINGLE_BYTE_CHAR_P): Fix macro to avoid warnings | |
16391 | from GCC. | |
16392 | ||
9f691b0d SM |
16393 | 2004-04-03 Stefan Monnier <monnier@iro.umontreal.ca> |
16394 | ||
16395 | * .gdbinit-union: Remove. | |
16396 | ||
16397 | * .gdbinit: Make it work for USE_LSB_TAG and !NO_LISP_UNION. | |
16398 | (xgetptr, xgetint, xgettype): New funs. Use them everywhere. | |
16399 | ($nonvalbits): Remove. | |
16400 | ($valmask): Set it by calling xreload to avoid redundancy. | |
16401 | ||
16402 | * emacs.c (gdb_use_union, gdb_use_lsb): New vars. | |
16403 | (gdb_emacs_intbits): Remove. | |
16404 | ||
7a8560d7 JD |
16405 | 2004-03-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16406 | ||
9f691b0d | 16407 | * data.c (Fbyteorder): Make test work even if unsigned is not 4 bytes. |
7a8560d7 | 16408 | |
3c8111fc KH |
16409 | 2004-03-30 Kenichi Handa <handa@m17n.org> |
16410 | ||
16411 | * editfns.c (Fformat): Fix initialization of the array info. | |
16412 | ||
48a0bce4 KS |
16413 | 2004-03-30 Kim F. Storm <storm@cua.dk> |
16414 | ||
16415 | * xterm.c (x_mouse_click_focus_ignore_position): New var. | |
16416 | (syms_of_xterm): DEFVAR_BOOL it. | |
16417 | (ignore_next_mouse_click_timeout): New var. | |
16418 | (handle_one_xevent): Clear it on KeyPress, set it on EnterNotify. | |
16419 | Use it to filter mouse clicks following focus event. | |
16420 | ||
1cd0066c KS |
16421 | 2004-03-29 David Ponce <david@dponce.com> |
16422 | ||
16423 | * callint.c (Fcall_interactively): Fix last change. | |
16424 | ||
adb3b353 SM |
16425 | 2004-03-28 Stefan Monnier <monnier@iro.umontreal.ca> |
16426 | ||
16427 | * eval.c (Fcommandp): Simplify. | |
16428 | ||
16429 | * data.c (Finteractive_form): Rename from Fsubr_interactive_form. | |
16430 | Extend to handle all kinds of functions. | |
16431 | ||
16432 | * lisp.h (Finteractive_form): Declare. | |
16433 | ||
16434 | * callint.c (Fcall_interactively): Use it. | |
16435 | ||
6fc4c9c9 KS |
16436 | 2004-03-26 Kim F. Storm <storm@cua.dk> |
16437 | ||
16438 | * xdisp.c (syms_of_xdisp): Include `void-variable' in list_of_error | |
16439 | to catch errors in calc_pixel_width_or_height during redisplay. | |
16440 | ||
abdb9b83 MY |
16441 | 2004-03-26 Masatake YAMATO <jet@gyve.org> |
16442 | ||
b17856dd | 16443 | * buffer.c (fix_start_end_in_overlays): Rename fix_overlays_in_range. |
abdb9b83 | 16444 | |
b17856dd | 16445 | * lisp.h (fix_start_end_in_overlays): Likewise. |
abdb9b83 | 16446 | |
b17856dd | 16447 | * insdel.c (adjust_markers_for_insert): Call fix_start_end_in_overlays. |
abdb9b83 | 16448 | |
b17856dd | 16449 | * editfns.c (Ftranspose_regions): Likewise. |
abdb9b83 | 16450 | |
e8a84b6c JD |
16451 | 2004-03-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16452 | ||
b17856dd | 16453 | * xterm.c (handle_one_xevent): Do not pass key press events to GTK. |
e8a84b6c | 16454 | |
36a3fd05 RS |
16455 | 2004-03-19 Richard M. Stallman <rms@gnu.org> |
16456 | ||
16457 | * s/sol2-6.h: Delete previous change. | |
16458 | ||
ab24c127 KS |
16459 | 2004-03-19 Kim F. Storm <storm@cua.dk> |
16460 | ||
16461 | * xdisp.c (move_it_in_display_line_to): Fix MOVE_TO_POS case when | |
16462 | to_charpos corresponds to newline in right fringe. Use local | |
16463 | BUFFER_POS_REACHED_P macro. | |
16464 | ||
992126de JD |
16465 | 2004-03-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16466 | ||
16467 | * xdisp.c (calc_pixel_width_or_height): Add ifdef HAVE_WINDOW_SYSTEM | |
16468 | to compile on non-window system. | |
16469 | ||
45dbfc84 KS |
16470 | 2004-03-19 Kim F. Storm <storm@cua.dk> |
16471 | ||
16472 | * dispextern.h (calc_pixel_width_or_height): Add prototype. | |
16473 | ||
16474 | * image.c (Qcenter): Move to xdisp.c. | |
16475 | ||
16476 | * xdisp.c (Qcenter): Declare here. | |
adb3b353 | 16477 | (syms_of_xdisp): Intern and staticpro it. |
45dbfc84 KS |
16478 | (handle_single_display_prop): Allow space display property on all |
16479 | platforms. | |
16480 | (display_mode_line): Set mode_line_p before displaying line. | |
16481 | (calc_pixel_width_or_height): Declare extern. Add separate :align-to | |
16482 | handling. Remove complex cases for fringes and scroll-bars. | |
52eb0373 | 16483 | Add left, right, and center alignment positions. Add text (area) |
45dbfc84 KS |
16484 | width/height. Return width or height for image specs. |
16485 | (produce_stretch_glyph): Improve handling of :align-to. Is now | |
16486 | relative to left of text area by default, but other base offsets | |
16487 | can be specified -- also for text lines. | |
16488 | ||
16489 | * term.c (produce_glyphs): Handle IT_STRETCH. | |
16490 | (produce_stretch_glyph): New function to handle space width and | |
16491 | align-to display properties on non-window systems. | |
16492 | ||
37264101 SM |
16493 | 2004-03-17 Stefan Monnier <monnier@iro.umontreal.ca> |
16494 | ||
16495 | * fileio.c (Fread_file_name): Set completion-ignore-case for | |
16496 | case-insensitive systems. | |
16497 | ||
73bc43da MY |
16498 | 2004-03-14 Masatake YAMATO <jet@gyve.org> |
16499 | ||
16500 | * xdisp.c (note_mode_line_or_margin_highlight): Accept HEADER_LINE | |
16501 | when keymap and cursor are setup. | |
16502 | ||
d5fb8dab | 16503 | 2004-03-14 Steven Tamm <steventamm@mac.com> |
9062aa89 | 16504 | |
b17856dd | 16505 | * Makefile.in (XMENU_OBJ) [HAVE_CARBON]: Do not include xmenu.o. |
9062aa89 | 16506 | |
e4b1b5ab KS |
16507 | 2004-03-14 Kim F. Storm <storm@cua.dk> |
16508 | ||
16509 | * dispextern.h (x_find_image_file): Add prototype. | |
16510 | ||
16511 | * image.c (x_find_image_file): Make extern. | |
16512 | ||
16513 | * xfns.c (x_find_image_file): Remove prototype. | |
16514 | ||
a6eeaa81 | 16515 | 2004-03-13 Eli Zaretskii <eliz@gnu.org> |
5109b06a | 16516 | |
37264101 | 16517 | * Makefile.in (XMENU_OBJ): Include xmenu.o if HAVE_MENUS is defined. |
5109b06a | 16518 | |
37264101 | 16519 | * emacs.c (main): Call syms_of_xmenu only if HAVE_MENUS is defined. |
5109b06a | 16520 | |
e69cfac2 RS |
16521 | 2004-03-12 Richard M. Stallman <rms@gnu.org> |
16522 | ||
16523 | * fns.c (internal_equal): New arg PROPS controls comparing | |
16524 | text properties. All callers changed. | |
16525 | (Fequal_including_properties): New function. | |
16526 | (syms_of_fns): defsubr it. | |
16527 | ||
45034953 KS |
16528 | 2004-03-12 Kim F. Storm <storm@cua.dk> |
16529 | ||
16530 | Fix image support on MAC. From YAMAMOTO Mitsuharu. | |
37264101 | 16531 | |
45034953 KS |
16532 | * dispextern.h (XImagePtr, XImagePtr_or_DC): Add typedefs. |
16533 | (image_background, image_background_transparent): Fix prototypes. | |
16534 | ||
37264101 | 16535 | * image.c (XImagePtr, XImagePtr_or_DC): Move typedefs to dispextern.h. |
45034953 KS |
16536 | |
16537 | * macfns.c (x_list_fonts, x_get_font_info, x_load_font) | |
16538 | (x_query_font, x_find_ccl_program, x_set_window_size) | |
16539 | (x_make_frame_visible, mac_initialize, XCreatePixmap) | |
16540 | (XCreatePixmapFromBitmapData, XFreePixmap, XSetForeground) | |
16541 | (mac_draw_line_to_pixmap): Move prototypes to macterm.h. | |
16542 | ||
16543 | * macterm.h (x_list_fonts, x_get_font_info, x_load_font) | |
16544 | (x_query_font, x_find_ccl_program, x_set_window_size) | |
16545 | (x_make_frame_visible, mac_initialize, XCreatePixmap) | |
16546 | (XCreatePixmapFromBitmapData, XFreePixmap, XSetForeground) | |
16547 | (mac_draw_line_to_pixmap): Add prototypes. | |
16548 | ||
16549 | 2004-03-12 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> | |
16550 | ||
16551 | * macterm.c (XTread_socket): Fix mouse click on tool bar. | |
16552 | ||
a12d3d87 KS |
16553 | 2004-03-11 Kim F. Storm <storm@cua.dk> |
16554 | ||
d3ab1cf1 KS |
16555 | * dispextern.h: Move image related prototypes from xfns.c section |
16556 | to image.c. Condition them by HAVE_WINDOW_SYSTEM rather than | |
16557 | HAVE_X_WINDOWS. | |
37264101 | 16558 | |
37de9f51 | 16559 | * Makefile.in (XOBJ): Consolidate into one list. Add image.o. |
37264101 | 16560 | Move gtkutil.o to new GTK_OBJ list. |
a12d3d87 KS |
16561 | (XMENU_OBJ) [HAVE_MENUS]: Move declaration to proper place. |
16562 | (GTK_OBJ) [USE_GTK]: New declaration. | |
16563 | (obj): Add $(GTK_OBJ) to list. | |
16564 | ||
d5fb8dab | 16565 | 2004-03-11 Steven Tamm <steventamm@mac.com> |
5109b06a | 16566 | |
7e26f91b | 16567 | * image.c [MAC_OSX]: Include sys/stat.h. |
5243c06a ST |
16568 | |
16569 | * macfns.c (syms_of_macfns): Remove definitions of things now | |
7e26f91b | 16570 | defined in image.c. |
5243c06a | 16571 | |
c0f97789 KS |
16572 | 2004-03-11 Kim F. Storm <storm@cua.dk> |
16573 | ||
16574 | The following changes consolidates the identical/similar image | |
16575 | support code previously found in xfns.c, w32fns.c, and macfns.c | |
16576 | into a new file image.c. | |
16577 | ||
16578 | * makefile.w32-in (OBJ1): Add image.o. | |
16579 | ($(BLD)/image.$(O)): Add dependencies. | |
16580 | ||
16581 | * Makefile.in (XOBJ, MAC_OBJ): Add image.o. | |
16582 | (image.o): Add dependencies. | |
37264101 | 16583 | |
c0f97789 KS |
16584 | * image.c: New file with consolidated image support code. |
16585 | (COLOR_TABLE_SUPPORT): New define to control whether | |
16586 | color table support is available (X only). | |
16587 | (Bitmap_Record): Common name for x_bitmap_record, | |
16588 | w32_bitmap_record, and mac_bitmap_record. | |
16589 | (XImagePtr): Common name for pointer to XImage or equivalent. | |
16590 | (XImagePtr_or_DC): New type to simplify code sharing; equivalent | |
16591 | to XImagePtr on X+MAC, and to HDC on W32. | |
16592 | (GET_PIXEL): Wrapper for XGetPixel or equivalent. | |
16593 | (NO_PIXMAP): Common name for "None" or equivalent. | |
16594 | (PNG_BG_COLOR_SHIFT): Bits to shift PNG background colors. | |
16595 | (RGB_PIXEL_COLOR): Common type for an integer "pixel color" value. | |
16596 | (PIX_MASK_RETAIN, PIX_MASK_DRAW): Portability macros (from macfns.c). | |
37264101 SM |
16597 | (FRAME_X_VISUAL, x_defined_color, DefaultDepthOfScreen): |
16598 | Define with suitable equivalents on W32 and MAC for code sharing. | |
c0f97789 KS |
16599 | (XDrawLine): Define on MAC for code sharing. |
16600 | (Destroy_Image, Free_Pixmap): Wrappers for code sharing. | |
16601 | (IF_LIB_AVAILABLE): Macro to simplify code sharing. | |
16602 | (Vx_bitmap_file_path, Vimage_cache_eviction_delay) | |
16603 | (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
16604 | (x_reference_bitmap, x_create_bitmap_from_data) | |
16605 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
16606 | (x_destroy_all_bitmaps, x_create_bitmap_mask) | |
16607 | (XGetImage, XPutPixel, XGetPixel, XDestroyImage) | |
16608 | (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) | |
16609 | (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) | |
16610 | (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) | |
16611 | (define_image_type, lookup_image_type, valid_image_p) | |
16612 | (image_error, enum image_value_type, struct image_keyword) | |
16613 | (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) | |
16614 | (make_image, free_image, prepare_image_for_display, image_ascent) | |
16615 | (four_corners_best, image_background, image_background_transparent) | |
9dd28cae | 16616 | (x_clear_image_1, x_clear_image, x_alloc_image_color) |
c0f97789 KS |
16617 | (make_image_cache, free_image_cache, clear_image_cache) |
16618 | (Fclear_image_cache, postprocess_image, lookup_image, cache_image) | |
16619 | (forall_images_in_image_cache, x_create_x_image_and_pixmap) | |
16620 | (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) | |
16621 | (find_image_fsspec, image_load_qt_1, image_load_quicktime) | |
16622 | (init_image_func_pointer, image_load_quartz2d) | |
16623 | (struct ct_color, init_color_table, free_color_table) | |
16624 | (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) | |
16625 | (cross_disabled_images, x_to_xcolors, x_from_xcolors) | |
16626 | (x_detect_edges, x_emboss, x_laplace, x_edge_detection) | |
16627 | (x_disable_image, x_build_heuristic_mask) | |
16628 | (XBM support, XPM support, PBM support, PNG support, JPEG support) | |
16629 | (TIFF support, GIF support, Ghostscript support): Consolidate image | |
16630 | code from xfns.c, w32fns.c, and macfns.c. | |
16631 | (syms_of_image): Consolidate image related symbol setup here. | |
16632 | (init_image): Consolidate image related initializations here. | |
37264101 | 16633 | |
c0f97789 KS |
16634 | * emacs.c (main) [HAVE_WINDOW_SYSTEM]: Add calls to syms_of_image |
16635 | and init_image. Remove call to init_xfns. | |
16636 | ||
37264101 SM |
16637 | * macterm.h (struct mac_bitmap_record): Add file member. |
16638 | Not currently used, but simplifies code sharing. | |
c0f97789 KS |
16639 | |
16640 | * macfns.c (Vx_bitmap_file_path, Vimage_cache_eviction_delay) | |
16641 | (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
16642 | (x_reference_bitmap, x_create_bitmap_from_data) | |
16643 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
16644 | (x_destroy_all_bitmaps, x_create_bitmap_mask) | |
16645 | (XGetImage, XPutPixel, XGetPixel, XDestroyImage) | |
16646 | (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) | |
16647 | (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) | |
16648 | (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) | |
16649 | (define_image_type, lookup_image_type, valid_image_p) | |
16650 | (image_error, enum image_value_type, struct image_keyword) | |
16651 | (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) | |
16652 | (make_image, free_image, prepare_image_for_display, image_ascent) | |
16653 | (four_corners_best, image_background, image_background_transparent) | |
9dd28cae | 16654 | (x_clear_image_1, x_clear_image, x_alloc_image_color) |
c0f97789 KS |
16655 | (make_image_cache, free_image_cache, clear_image_cache) |
16656 | (Fclear_image_cache, postprocess_image, lookup_image, cache_image) | |
16657 | (forall_images_in_image_cache, x_create_x_image_and_pixmap) | |
16658 | (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) | |
16659 | (find_image_fsspec, image_load_qt_1, image_load_quicktime) | |
16660 | (init_image_func_pointer, image_load_quartz2d) | |
16661 | (struct ct_color, init_color_table, free_color_table) | |
16662 | (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) | |
16663 | (cross_disabled_images, x_to_xcolors, x_from_xcolors) | |
16664 | (x_detect_edges, x_emboss, x_laplace, x_edge_detection) | |
16665 | (x_disable_image, x_build_heuristic_mask) | |
16666 | (XBM support, XPM support, PBM support, PNG support, JPEG support) | |
16667 | (TIFF support, GIF support, Ghostscript support): Merge with image | |
16668 | code from xfns.c and macfns.c into image.c. | |
16669 | (syms_of_xfns): Move image related symbols to image.c. | |
16670 | (init_external_image_libraries, init_xfns): Remove; initialization | |
16671 | moved to init_image in image.c. | |
16672 | ||
16673 | * w32fns.c (Vx_bitmap_file_path, Vimage_cache_eviction_delay) | |
16674 | (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
16675 | (x_reference_bitmap, x_create_bitmap_from_data) | |
16676 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
16677 | (x_destroy_all_bitmaps, x_create_bitmap_mask) | |
16678 | (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) | |
16679 | (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) | |
16680 | (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) | |
16681 | (define_image_type, lookup_image_type, valid_image_p) | |
16682 | (image_error, enum image_value_type, struct image_keyword) | |
16683 | (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) | |
16684 | (make_image, free_image, prepare_image_for_display, image_ascent) | |
16685 | (four_corners_best, image_background, image_background_transparent) | |
9dd28cae | 16686 | (x_clear_image_1, x_clear_image, x_alloc_image_color) |
c0f97789 KS |
16687 | (make_image_cache, free_image_cache, clear_image_cache) |
16688 | (Fclear_image_cache, postprocess_image, lookup_image, cache_image) | |
16689 | (forall_images_in_image_cache, x_create_x_image_and_pixmap) | |
16690 | (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) | |
16691 | (struct ct_color, init_color_table, free_color_table) | |
16692 | (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) | |
16693 | (cross_disabled_images, x_to_xcolors, x_from_xcolors) | |
16694 | (x_detect_edges, x_emboss, x_laplace, x_edge_detection) | |
16695 | (x_disable_image, x_build_heuristic_mask) | |
16696 | (XBM support, XPM support, PBM support, PNG support, JPEG support) | |
16697 | (TIFF support, GIF support, Ghostscript support): Merge with image | |
16698 | code from xfns.c and macfns.c into image.c. | |
16699 | (syms_of_xfns): Move image related symbols to image.c. | |
16700 | (init_external_image_libraries, init_xfns): Remove; initialization | |
16701 | moved to init_image in image.c. | |
16702 | ||
16703 | * xfns.c (Vx_bitmap_file_path, Vimage_cache_eviction_delay) | |
16704 | (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
16705 | (x_reference_bitmap, x_create_bitmap_from_data) | |
16706 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
16707 | (x_destroy_all_bitmaps, x_create_bitmap_mask) | |
16708 | (QCascent, QCmargin, QCrelief, QCconversion, QCcolor_symbols) | |
16709 | (QCheuristic_mask, QCindex, QCmatrix, QCcolor_adjustment, QCmask) | |
16710 | (Qlaplace, Qemboss, Qedge_detection, Qheuristic, Qcenter) | |
16711 | (define_image_type, lookup_image_type, valid_image_p) | |
16712 | (image_error, enum image_value_type, struct image_keyword) | |
16713 | (parse_image_spec, image_spec_value, Fimage_size, Fimage_mask_p) | |
16714 | (make_image, free_image, prepare_image_for_display, image_ascent) | |
16715 | (four_corners_best, image_background, image_background_transparent) | |
9dd28cae | 16716 | (x_clear_image_1, x_clear_image, x_alloc_image_color) |
c0f97789 KS |
16717 | (make_image_cache, free_image_cache, clear_image_cache) |
16718 | (Fclear_image_cache, postprocess_image, lookup_image, cache_image) | |
16719 | (forall_images_in_image_cache, x_create_x_image_and_pixmap) | |
16720 | (x_destroy_x_image, x_put_x_image, x_find_image_file, slurp_file) | |
16721 | (struct ct_color, init_color_table, free_color_table) | |
16722 | (lookup_rgb_color, lookup_pixel_color, colors_in_color_table) | |
16723 | (cross_disabled_images, x_to_xcolors, x_from_xcolors) | |
16724 | (x_detect_edges, x_emboss, x_laplace, x_edge_detection) | |
16725 | (x_disable_image, x_build_heuristic_mask) | |
16726 | (XBM support, XPM support, PBM support, PNG support, JPEG support) | |
16727 | (TIFF support, GIF support, Ghostscript support): Merge with | |
16728 | w32fns.c and macfns.c image code into image.c. | |
16729 | (syms_of_xfns): Move image related symbols to image.c. | |
16730 | (init_xfns): Remove; initialization moved to init_image in image.c. | |
16731 | ||
16732 | * lisp.h (syms_of_image, init_image): Add protoypes. | |
16733 | (init_xfns): Remove prototype. | |
16734 | ||
16735 | * dispextern.h (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
16736 | (x_reference_bitmap, x_create_bitmap_from_data) | |
16737 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
16738 | (x_create_bitmap_mask): Move prototypes from dispextern.h. | |
16739 | (gamma_correct) [MAC_OS]: Add prototype. | |
16740 | ||
16741 | * xterm.h (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap) | |
16742 | (x_reference_bitmap, x_create_bitmap_from_data) | |
16743 | (x_create_bitmap_from_file, x_destroy_bitmap) | |
16744 | (x_create_bitmap_mask): Move prototypes to dispextern.h. | |
16745 | ||
6eced09c KH |
16746 | 2004-03-09 Kenichi Handa <handa@etlken2> |
16747 | ||
16748 | * coding.c (decode_coding_emacs_mule): Handle insufficent source | |
16749 | correctly. | |
16750 | ||
9a7e95f3 RS |
16751 | 2004-03-04 Richard M. Stallman <rms@gnu.org> |
16752 | ||
04a6e76b RS |
16753 | * s/sol2-6.h (LD_SWITCH_SYSTEM_TEMACS): New definition. |
16754 | ||
9a7e95f3 RS |
16755 | * window.c (Fdisplay_buffer): Doc fix. |
16756 | ||
16757 | * buffer.c (Fpop_to_buffer): Doc fix. | |
16758 | ||
6c2488df KS |
16759 | 2004-03-03 Kim F. Storm <storm@cua.dk> |
16760 | ||
16761 | * xdisp.c (display_line): Fix call to get_overlay_arrow_glyph_row. | |
16762 | ||
d8d95bc7 SM |
16763 | 2004-03-02 Stefan Monnier <monnier@iro.umontreal.ca> |
16764 | ||
16765 | * editfns.c (Ftranslate_region): Lisp_Object/int mixup. | |
16766 | ||
357589bf RS |
16767 | 2004-03-02 Richard M. Stallman <rms@gnu.org> |
16768 | ||
16769 | * indent.c (compute_motion): Save vpos in prev_vpos, like hpos etc. | |
16770 | ||
409949b5 KH |
16771 | 2004-03-02 Kenichi Handa <handa@m17n.org> |
16772 | ||
16773 | * doc.c (Fsubstitute_command_keys): Fix counding bytes. | |
16774 | ||
d24bc50f KS |
16775 | 2004-03-02 Kim F. Storm <storm@cua.dk> |
16776 | ||
16777 | * window.h (struct window): New member overlay_arrow_bitmap. | |
16778 | ||
16779 | * window.c (make_window): Initialize overlay_arrow_bitmap. | |
16780 | ||
16781 | * xdisp.c (Voverlay_arrow_variable_list): New variable to properly | |
16782 | implement and integrate multiple overlay arrows with redisplay. | |
16783 | (syms_of_xdisp): DEFVAR_LISP and initialize it. | |
16784 | (last_arrow_position, last_arrow_string): Replace by properties. | |
16785 | (Qlast_arrow_position, Qlast_arrow_string) | |
16786 | (Qoverlay_arrow_string, Qoverlay_arrow_bitmap): New variables. | |
16787 | (syms_of_xdisp): Intern and staticpro them. | |
16788 | (overlay_arrow_string_or_property, update_overlay_arrows) | |
16789 | (overlay_arrow_in_current_buffer_p, overlay_arrows_changed_p) | |
16790 | (overlay_arrow_at_row): New functions for multiple overlay arrows. | |
16791 | (redisplay_internal): Use them instead of directly accessing | |
16792 | Voverlay_arrow_position etc. for multiple overlay arrows. | |
16793 | (mark_window_display_accurate): Use update_overlay_arrows. | |
16794 | (try_cursor_movement): Use overlay_arrow_in_current_buffer_p. | |
16795 | (try_window_id): Use overlay_arrows_changed_p. | |
16796 | (get_overlay_arrow_glyph_row): Add overlay_arrow_string arg. | |
16797 | (display_line): Use overlay_arrow_at_row to check multiple | |
16798 | overlay arrows, and get relevant overlay-arrow-string and | |
d8d95bc7 | 16799 | overlay-arrow-bitmap. Set w->overlay_arrow_bitmap accordingly. |
d24bc50f KS |
16800 | (produce_image_glyph): Set pixel_width = 0 for fringe bitmap. |
16801 | (syms_of_xdisp): Remove last_arrow_position and last_arrow_string. | |
16802 | ||
16803 | * fringe.c (draw_fringe_bitmap): Use w->overlay_arrow_bitmap if set. | |
16804 | (update_window_fringes): Remove unused code. | |
16805 | ||
c1464661 JR |
16806 | 2004-03-01 Jason Rumney <jasonr@gnu.org> |
16807 | ||
16808 | * w32term.c (w32_read_socket): Fix last change to ButtonPress handling. | |
16809 | ||
a64387ee JB |
16810 | 2004-03-01 Juanma Barranquero <lektu@terra.es> |
16811 | ||
16812 | * fringe.c (Fdefine_fringe_bitmap): Fix typo in docstring. | |
16813 | ||
16814 | * makefile.w32-in ($(BLD)/fringe.$(O)): Add dependencies. | |
16815 | ||
334faa08 JD |
16816 | 2004-03-01 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16817 | ||
16818 | * xfns.c (Fx_display_color_cells): Use number of planes to calculate | |
16819 | how many colors can be displayed. | |
16820 | ||
bb62616f KH |
16821 | 2004-03-01 Kenichi Handa <handa@m17n.org> |
16822 | ||
16823 | * editfns.c (Ftranslate_region): Handle multibyte chars in TABLE | |
16824 | correctly. | |
16825 | ||
0fd16104 KS |
16826 | 2004-02-28 Kim F. Storm <storm@cua.dk> |
16827 | ||
16828 | * dispnew.c (update_window): Update header line also if there are | |
16829 | no other changes in window (move code after set_cursor label). | |
16830 | ||
16831 | * lisp.h (mark_window_display_accurate): Remove prototype. | |
16832 | ||
16833 | * window.c (window_loop, Fforce_window_update): Force mode line | |
16834 | updates by setting prevent_redisplay_optimizations_p and | |
16835 | update_mode_lines. | |
16836 | ||
b59dd9c8 JD |
16837 | 2004-02-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
16838 | ||
d8d95bc7 | 16839 | * xfns.c (x_window): Fix indentation. |
b59dd9c8 JD |
16840 | |
16841 | * xterm.c (x_calc_absolute_position): Call x_real_positions | |
16842 | to get WM window sizes and use those to calculate position. | |
d8d95bc7 | 16843 | (x_set_offset): Remove code commented out. |
b59dd9c8 | 16844 | |
a874691c MB |
16845 | 2004-02-28 Miles Bader <miles@gnu.org> |
16846 | ||
16847 | * keyboard.c (adjust_point_for_property): #ifdef-out dodgy xassert. | |
16848 | ||
3e0c6482 KS |
16849 | 2004-02-28 Kim F. Storm <storm@cua.dk> |
16850 | ||
16851 | * keyboard.c (kbd_buffer_store_event_hold): New function to store | |
16852 | an event into kbd fifo, but with special handling of quit event; | |
16853 | a quit event is saved for later, and further events are discarded | |
16854 | until the saved quit event has been processed. | |
16855 | (kbd_buffer_store_event): Use kbd_buffer_store_event_hold. | |
16856 | (gen_help_event): Store help event in kbd fifo. | |
16857 | (NREAD_INPUT_EVENTS): Remove. | |
16858 | (read_avail_input): Adapt to new read_socket_hook interface. | |
16859 | Remove allocation and initialization of local input_event buffer, | |
16860 | as read_socket_hook stores events directly in fifo. Allocate and | |
16861 | initialize local hold_quit event to handle postponed quit event | |
16862 | (and store it if set by kbd_buffer_store_event_hold). | |
16863 | ||
16864 | * keyboard.h (kbd_buffer_store_event_hold): Add prototype. | |
16865 | (gen_help_event): Fix prototype. | |
16866 | ||
a64387ee | 16867 | * macterm.c (XTread_socket): Remove bufp_r and |
3e0c6482 | 16868 | numcharsp args. Add hold_quit arg. |
f63fd14e | 16869 | Rework to use just one, local, inev input_event. Store inev |
3e0c6482 KS |
16870 | directly in fifo using kbd_buffer_store_event_hold. |
16871 | ||
16872 | * sysdep.c (BUFFER_SIZE_FACTOR): Remove. | |
16873 | (read_input_waiting): Adapt to new read_socket_hook interface. | |
16874 | Remove allocation and initialization of local input_event buffer, | |
16875 | as read_socket_hook stores events directly in fifo. Allocate and | |
16876 | initialize local hold_quit event to handle postponed quit event | |
16877 | (and store it if set by kbd_buffer_store_event_hold). | |
16878 | ||
a64387ee | 16879 | * term.c (read_socket_hook): Fix arg list. |
3e0c6482 KS |
16880 | |
16881 | * termhooks.h (read_socket_hook): Fix prototype. | |
16882 | ||
16883 | * w32inevt.c (w32_console_read_socket): Remove bufp_r and | |
16884 | numcharsp args. Add hold_quit arg. | |
f63fd14e | 16885 | Rework to use just one, local, inev input_event. Store inev |
3e0c6482 KS |
16886 | directly in fifo using kbd_buffer_store_event_hold. |
16887 | ||
16888 | * w32inevt.h (w32_console_mouse_position): Fix prototype. | |
16889 | ||
16890 | * w32term.c (w32_read_socket): Remove bufp_r and numcharsp args. | |
f63fd14e JB |
16891 | Add hold_quit arg. Rework to use just one, local, inev |
16892 | input_event. Store inev directly in fifo using | |
3e0c6482 KS |
16893 | kbd_buffer_store_event_hold. Update count in one place. |
16894 | Postpone call to gen_help_event until inev is stored; use new | |
16895 | local do_help for this. | |
16896 | Remove local emacs_event in handing of ButtonPress event; just use | |
16897 | inev instead (so no reason to copy it later). | |
16898 | ||
16899 | * xsmfns.c (x_session_check_input): Remove numchars arg. | |
16900 | ||
d8d95bc7 SM |
16901 | * xterm.c (x_focus_changed, x_detect_focus_change): |
16902 | Remove numchars arg. Always store event into bufp arg. | |
16903 | Return nothing. Callers changed accordingly. | |
3e0c6482 KS |
16904 | (glyph_rect): Simplify. |
16905 | (STORE_KEYSYM_FOR_DEBUG): New macro. | |
16906 | (SET_SAVED_MENU_EVENT): Use inev instead of bufp, etc. | |
16907 | (current_bufp, current_numcharsp) [USE_GTK]: Remove. | |
16908 | (current_hold_quit) [USE_GTK]: Add. | |
16909 | (event_handler_gdk): Adapt to new handle_one_xevent. | |
16910 | (handle_one_xevent): Remove bufp_r and numcharsp args. | |
f63fd14e JB |
16911 | Add hold_quit arg. Rework to use just one, local, inev |
16912 | input_event. Store inev directly in fifo using | |
3e0c6482 KS |
16913 | kbd_buffer_store_event_hold. Update count in one place. |
16914 | Postpone call to gen_help_event until inev is stored; use new | |
16915 | local do_help for this. | |
16916 | Simplify handling of keysyms (consolidate common code). Fix bug | |
16917 | where count was updated with nchars instead of nbytes. | |
16918 | Remove local emacs_event in handing of ButtonPress event; just use | |
16919 | inev instead (so no reason to copy it later). | |
16920 | Remove `out' label. Rename label `ret' to `done'; add various | |
16921 | `goto done' to clarify code flow in deeply nested blocks. | |
16922 | (x_dispatch_event): Simplify as handle_one_xevent now calls | |
16923 | kbd_buffer_store_event itself. | |
f63fd14e | 16924 | (XTread_socket): Remove bufp_r and numcharsp args. Add hold_quit |
3e0c6482 KS |
16925 | arg. Call handle_one_xevent with new arglist. Store event from |
16926 | x_session_check_input in fifo. | |
16927 | [USE_GTK]: Setup current_hold_quit. | |
16928 | Decrement handling_signal before unblocking input. | |
16929 | (x_initialize) [USE_GTK]: Initialize current_count. | |
16930 | ||
16931 | * xterm.h (x_session_check_input): Fix prototype. | |
16932 | ||
e3564461 | 16933 | 2004-02-26 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
a64387ee | 16934 | |
d8d95bc7 | 16935 | * s/darwin.h (LD_SWITCH_SYSTEM_TEMACS): Add `-framework QuickTime'. |
a64387ee | 16936 | |
e3564461 ST |
16937 | * dispextern.h [MAC_OSX]: Do not include Carbon/Carbon.h (now in |
16938 | macgui.h). | |
a64387ee | 16939 | |
e3564461 | 16940 | * emacs.c (main) [HAVE_CARBON]: Call init_xfns. |
a64387ee | 16941 | |
e3564461 ST |
16942 | * macgui.h [MAC_OSX]: Include Carbon/Carbon.h. |
16943 | (mktime, DEBUG, Z, free, malloc, realloc, max, min) | |
251db0f4 | 16944 | (init_process) [MAC_OSX]: Avoid conflicts with Carbon/Carbon.h. |
e3564461 ST |
16945 | [!MAC_OSX]: Include QDOffscreen.h and Controls.h. |
16946 | (INFINITY) [MAC_OSX]: Avoid conflict with definition in math.h. | |
16947 | (Bitmap): Remove typedef. | |
16948 | (Pixmap): Change int to GWorldPtr. | |
16949 | ||
d8d95bc7 | 16950 | * macmenu.c [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h). |
a64387ee | 16951 | |
d8d95bc7 SM |
16952 | * macterm.h [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h). |
16953 | (RED16_FROM_ULONG, GREEN16_FROM_ULONG, BLUE16_FROM_ULONG): | |
16954 | New #define to extract 16-bit depth color components from unsigned | |
e3564461 ST |
16955 | long representation. |
16956 | (PIX_MASK_DRAW, PIX_MASK_RETAIN): New #define to represent pixel | |
16957 | colors used for masks. | |
16958 | (struct mac_display_info): Add color_p. Remove n_cbits. | |
a64387ee | 16959 | |
e3564461 ST |
16960 | * macfns.c: Include sys/types.h and sys/stat.h. |
16961 | [MAC_OSX]: Do not include Carbon/Carbon.h (now in macgui.h). | |
16962 | Include QuickTime/QuickTime.h. | |
16963 | (XCreatePixmap, XCreatePixmapFromBitmapData, XFreePixmap) | |
16964 | (XSetForeground, mac_draw_line_to_pixmap): Add externs for | |
16965 | functions defined in macterm.c. | |
16966 | (XImagePtr): New typedef. Corresponds to XImage * in xfns.c. | |
16967 | (ZPixmap): New #define for compatibility with xfns.c. | |
16968 | (XGetImage, XPutPixel, XGetPixel, XDestroyImage) | |
16969 | (x_create_x_image_and_pixmap, x_destroy_x_image, x_put_x_image) | |
d8d95bc7 SM |
16970 | (find_image_fsspec, image_load_qt_1, image_load_quicktime): |
16971 | New functions. | |
e3564461 | 16972 | (four_corners_best, x_create_x_image_and_pixmap) |
d8d95bc7 SM |
16973 | (x_destroy_x_image, unwind_create_frame, x_disable_image) |
16974 | (x_edge_detection, init_color_table, colors_in_color_table) | |
e3564461 ST |
16975 | (lookup_rgb_color, lookup_pixel_color, postprocess_image) |
16976 | (x_put_x_image, slurp_file, xbm_scan, xbm_load, xbm_load_image) | |
16977 | (xbm_image_p, xbm_read_bitmap_data, xbm_file_p, x_to_xcolors) | |
16978 | (x_from_xcolors, x_detect_edges): New declarations (from xfns.c). | |
16979 | (mac_color_map_lookup, x_to_mac_color): Fix Lisp_Object/unsigned | |
16980 | long mixup. | |
16981 | (mac_defined_color, x_to_x_colors): Use RED16_FROM_ULONG etc. | |
16982 | (x_decode_color): Don't use n_cbits (in struct mac_display_info). | |
16983 | (x_set_foreground_color, x_set_cursor_color): Sync with w32fns.c. | |
16984 | (x_set_cursor_type, Fxw_color_values, valid_image_p) | |
16985 | (image_value_type, parse_image_spec, image_ascent, x_clear_image) | |
16986 | (x_alloc_image_color, clear_image_cache, lookup_image) | |
16987 | (x_find_image_file, xbm_read_bitmap_file_data) | |
16988 | (enum xbm_keyword_index, xbm_format, xbm_image_p, xbm_scan) | |
16989 | (xbm_read_bitmap_data, xbm_load, pbm_image_p, pbm_scan_number) | |
16990 | (enum pbm_keyword_index, pbm_format, enum png_keyword_index) | |
16991 | (png_format, png_image_p, enum jpeg_keyword_index, jpeg_format) | |
16992 | (jpeg_image_p, enum tiff_keyword_index, tiff_format, tiff_image_p) | |
d8d95bc7 | 16993 | (enum gif_keyword_index, gif_format, gif_image_p): Sync with xfns.c. |
e3564461 ST |
16994 | (x_make_gc): Sync with xfns.c. Enclose unused `border_tile' with |
16995 | #if 0. | |
16996 | (x_free_gcs): Sync with xfns.c. Enclose unused `border_tile' with | |
16997 | #if 0. Free white_relief.gc and black_relief.gc. | |
d8d95bc7 SM |
16998 | (unwind_create_frame, x_emboss, x_laplace, x_edge_detection): |
16999 | New functions (from xfns.c). | |
e3564461 ST |
17000 | (Fx_create_frame): Record unwind_create_frame. |
17001 | (Fxw_display_color_p): Use dpyinfo->color_p. | |
17002 | (Fx_display_grayscale_p, Fx_display_planes): Don't use | |
17003 | dpyinfo->n_cbits. | |
17004 | (Fx_display_color_cells): Use dpyinfo->n_planes; | |
17005 | (QCmatrix, QCcolor_adjustment, QCmask, Qemboss, Qedge_detection) | |
17006 | (Qheuristic, cross_disabled_images, emboss_matrix) | |
17007 | (laplace_matrix): New variables (from xfns.c). | |
17008 | (Fimage_size, Fimage_mask_p, four_corners_best, image_background) | |
17009 | (x_clear_image_1, postprocess_image, slurp_file, xbm_load_image) | |
17010 | (xbm_file_p, x_to_xcolors, x_from_xcolors, x_detect_edges) | |
d8d95bc7 SM |
17011 | (image_background_transparent): New function (from xfns.c). |
17012 | Use PIX_MASK_DRAW/PIX_MASK_RETAIN. | |
e3564461 ST |
17013 | (image_load_quicktime): Add declaration. |
17014 | [MAC_OSX] (image_load_quartz2d): Likewise. | |
17015 | [MAC_OSX] (CGImageCreateWithPNGDataProviderProcType): New typedef. | |
17016 | [MAC_OSX] (MyCGImageCreateWithPNGDataProvider): New variable. | |
d8d95bc7 | 17017 | [MAC_OSX] (init_image_func_pointer, image_load_quartz2d): New funs. |
e3564461 ST |
17018 | (xbm_load_image_from_file, x_laplace_read_row) |
17019 | (x_laplace_write_row, pbm_read_file): Remove functions. | |
17020 | [HAVE_XPM] (enum xpm_keyword_index, xpm_format, xpm_image_p) | |
17021 | (xpm_load): Sync with xfns.c (although XPM is not supported yet). | |
17022 | (colors_in_color_table): Sync with xfns.c (although not used). | |
17023 | (lookup_rgb_color): Don't lookup color table. Just do gamma | |
17024 | correction. | |
17025 | (COLOR_INTENSITY): New #define (from xfns.c). | |
d8d95bc7 SM |
17026 | (x_disable_image): New function (from xfns.c). |
17027 | Use PIX_MASK_DRAW/PIX_MASK_RETAIN. | |
17028 | (x_build_heuristic_mask): Sync with xfns.c. | |
17029 | Use PIX_MASK_DRAW/PIX_MASK_RETAIN. | |
e3564461 ST |
17030 | (HAVE_PBM): Remove #ifdef. |
17031 | (pbm_load): Sync with xfns.c. Set img->width and img->height | |
17032 | before IMAGE_BACKGROUND. | |
d8d95bc7 | 17033 | (png_image_p, png_load): Don't enclose declarations with #if HAVE_PNG. |
e3564461 ST |
17034 | (Qpng, enum png_keyword_index, png_format, png_type, png_image_p): |
17035 | Don't enclose with #if HAVE_PNG. | |
17036 | [!HAVE_PNG] (png_load) [MAC_OSX]: Use image_load_quartz2d if a | |
d8d95bc7 SM |
17037 | symbol _CGImageCreateWithPNGDataProvider is defined. |
17038 | Otherwise use image_load_quicktime. | |
e3564461 | 17039 | [!HAVE_PNG] (png_load) [!MAC_OSX]: Use image_load_quicktime. |
d8d95bc7 SM |
17040 | [HAVE_PNG] (png_load): Sync with xfns.c. |
17041 | Use PIX_MASK_DRAW/PIX_MASK_RETAIN. | |
e3564461 ST |
17042 | (jpeg_image_p, jpeg_load): Don't enclose declarations with #if |
17043 | HAVE_JPEG. | |
17044 | (Qjpeg, enum jpeg_keyword_index, jpeg_format, jpeg_type) | |
17045 | (jpeg_image_p): Don't enclose with #if HAVE_JPEG. | |
17046 | [!HAVE_JPEG] (jpeg_load) [MAC_OSX]: Use image_load_quartz2d. | |
17047 | [!HAVE_JPEG] (jpeg_load) [!MAC_OSX]: Use image_load_quicktime. | |
17048 | [HAVE_JPEG] (jpeg_load): Sync with xfns.c. | |
17049 | (tiff_image_p, tiff_load): Don't enclose declarations with #if | |
17050 | HAVE_TIFF. | |
17051 | (Qtiff, enum tiff_keyword_index, tiff_format, tiff_type) | |
17052 | (tiff_image_p): Don't enclose with #if HAVE_TIFF. | |
17053 | [!HAVE_TIFF] (tiff_load): Use image_load_quicktime. | |
d8d95bc7 SM |
17054 | [HAVE_TIFF] (tiff_error_handler, tiff_warning_handler): |
17055 | New functions (from xfns.c). | |
e3564461 | 17056 | [HAVE_TIFF] (tiff_load): Sync with xfns.c. |
d8d95bc7 | 17057 | (gif_image_p, gif_load): Don't enclose declarations with #if HAVE_GIF. |
e3564461 ST |
17058 | (Qgif, enum gif_keyword_index, gif_format, gif_type, gif_image_p): |
17059 | Don't enclose with #if HAVE_GIF. | |
17060 | [!HAVE_GIF] (gif_load): Use Quicktime Movie Toolbox if it is | |
17061 | animated gif. Otherwise use image_load_quicktime. | |
17062 | [HAVE_GIF] (gif_lib.h): Temporarily define DrawText as | |
17063 | gif_DrawText to avoid conflict with QuickdrawText.h. | |
17064 | [HAVE_GIF] (gif_load): Sync with xfns.c. | |
17065 | (enum gs_keyword_index, gs_format, gs_image_p, gs_load) | |
17066 | [HAVE_GHOSTSCRIPT] (x_kill_gs_process): Sync with xfns.c (although | |
17067 | Ghostscript is not supported yet). | |
17068 | (syms_of_macfns): Initialize Qemboss, Qedge_detection, Qheuristic, | |
17069 | QCmatrix, QCcolor_adjustment, and QCmask. Add DEFVAR_BOOL | |
17070 | cross_disabled_images (from xfns.c). Remove #if 0 for supported | |
17071 | image types. Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and | |
17072 | HAVE_PNG. Add defsubr for Simage_size and Simage_mask_p. | |
17073 | (init_xfns): Remove #if HAVE_JPEG, HAVE_TIFF, HAVE_GIF, and | |
d8d95bc7 SM |
17074 | HAVE_PNG. Call EnterMovies to support animated gifs. |
17075 | Call init_image_func_pointer to bind a symbol | |
e3564461 | 17076 | _CGImageCreateWithPNGDataProvider if it is defined. |
a64387ee | 17077 | |
d8d95bc7 | 17078 | * macterm.c [MAC_OSX]: Don't include Carbon/Carbon.h (now in macgui.h). |
e3564461 ST |
17079 | (x_draw_bar_cursor): Sync declaration with xterm.c. |
17080 | (XFreePixmap, mac_draw_rectangle_to_pixmap, mac_copy_area) | |
17081 | (mac_copy_area_to_pixmap): Implementation with GWorld (offscreen | |
17082 | graphics). | |
17083 | (mac_set_forecolor, mac_set_backcolor): Use RED16_FROM_ULONG etc. | |
17084 | (mac_draw_line_to_pixmap, XCreatePixmap) | |
17085 | (XCreatePixmapFromBitmapData, mac_fill_rectangle_to_pixmap) | |
d8d95bc7 SM |
17086 | (mac_copy_area_with_mask, mac_copy_area_with_mask_to_pixmap): |
17087 | New functions. | |
17088 | (mac_draw_bitmap) [TARGET_API_MAC_CARBON]: | |
17089 | Use GetPortBitMapForCopyBits instead of the cast to Bitmap *. | |
17090 | Cast bits to char *. | |
e3564461 ST |
17091 | (reflect_byte): New function (from w32fns.c). |
17092 | (mac_create_bitmap_from_bitmap_data): Use it and don't stuff bits | |
17093 | due to byte alignment. | |
d8d95bc7 SM |
17094 | (mac_scroll_area) [TARGET_API_MAC_CARBON]: |
17095 | Use GetPortBitMapForCopyBits instead of the cast to Bitmap *. | |
e3564461 ST |
17096 | (XSetForeground): Remove static (now used in macfns.c). |
17097 | (HIGHLIGHT_COLOR_DARK_BOOST_LIMIT): New #define (from w32term.c). | |
17098 | (mac_alloc_lighter_color, x_destroy_window): Sync with w32term.c. | |
17099 | (x_setup_relief_color, x_setup_relief_colors, x_draw_box_rect) | |
17100 | (x_draw_glyph_string_box, x_draw_image_foreground) | |
17101 | (x_draw_image_foreground_1, x_draw_image_glyph_string) | |
17102 | (x_draw_stretch_glyph_string, x_draw_glyph_string) | |
17103 | (x_draw_hollow_cursor, x_draw_bar_cursor, mac_draw_window_cursor): | |
17104 | Sync with xterm.c. | |
17105 | (x_draw_relief_rect): Sync with xterm.c. Make 1 pixel shorter | |
17106 | than the xterm.c version when a strictly horizontal or vertical | |
17107 | line is drawn. | |
17108 | (XTset_terminal_window): Add static. | |
17109 | (x_make_frame_visible): Add UNBLOCK_INPUT. | |
17110 | (x_free_frame_resources): New funcion (from xterm.c). | |
17111 | (XTread_socket): Call handle_tool_bar_click if mouse up/down event | |
17112 | occurs in tool bar area. | |
d8d95bc7 SM |
17113 | (mac_initialize_display_info): Remove dpyinfo->n_cbits. |
17114 | Set dpyinfo->color_p. Determine dpyinfo->n_planes using HasDepth. | |
e3564461 ST |
17115 | Initialize image cache. |
17116 | (stricmp, wildstrieq, mac_font_pattern_match, mac_font_match): | |
17117 | Enclose unused functions with #if 0. | |
17118 | (Qbig5, Qcn_gb, Qsjis, Qeuc_kr): New variables. | |
17119 | (decode_mac_font_name): New function to apply code conversions | |
d8d95bc7 | 17120 | from a mac font name to an XLFD font name according to its script code. |
e3564461 | 17121 | (x_font_name_to_mac_font_name): Apply code conversion from an XLFD |
d8d95bc7 | 17122 | font name to a mac font name according to REGISTRY and ENCODING fields. |
e3564461 ST |
17123 | (init_font_name_table) [TARGET_API_MAC_CARBON]: Don't use a font |
17124 | whose name starts with `.'. | |
17125 | (init_font_name_table): Use decode_mac_font_name. Add both | |
17126 | jisx0208.1983-sjis and jisx0201.1976-0 entries if the script code | |
17127 | of a font is smJapanese. | |
17128 | (mac_do_list_fonts): New function to list fonts that match a given | |
17129 | pattern. | |
17130 | (x_list_fonts, XLoadQueryFont): Use it. | |
17131 | (XLoadQueryFont): Set rbearing field for each variable width | |
17132 | character to avoid needless redraw. | |
17133 | (syms_of_macterm): Initialize Qbig5, Qcn_gb, Qsjis, and Qeuc_kr. | |
17134 | ||
446f5f3d KS |
17135 | 2004-02-26 Kim F. Storm <storm@cua.dk> |
17136 | ||
af617d0f KS |
17137 | * keyboard.c (NREAD_INPUT_EVENTS): Temporarily increase to 512 |
17138 | as read_socket_hook handler on X aborts if buffer is too small | |
17139 | and W32 handler doesn't always check buffer limit. | |
17140 | ||
446f5f3d KS |
17141 | * xdisp.c (handle_single_display_prop): Handle left-fringe and |
17142 | right-fringe similar to a display margin image. Specifically, | |
17143 | the characters having the fringe prop are no longer shown, and | |
17144 | we use IT_IMAGE/next_element_from_image with image_id = -1 to | |
17145 | do this. Set fringe bitmap face_id in it->face_id. | |
17146 | (produce_image_glyph): Handle image_id < 0 as "no image" case, but | |
17147 | still realize it->face (i.e. the fringe bitmap face). | |
17148 | ||
7d8a0b55 MB |
17149 | 2004-02-25 Miles Bader <miles@gnu.org> |
17150 | ||
17151 | * xdisp.c (check_it): Check string/string_pos consistency. | |
17152 | (init_iterator): Initialize string-related fields properly. | |
17153 | ||
17154 | 2004-02-11 Miles Bader <miles@gnu.org> | |
17155 | ||
17156 | * xdisp.c (produce_image_glyph): Force negative descents to zero. | |
17157 | ||
17158 | 2004-02-10 Miles Bader <miles@gnu.org> | |
17159 | ||
17160 | * xfns.c (lookup_image): Remove xassert(!interrupt_input_blocked); | |
17161 | BLOCK_INPUT can be nested, so it doesn't make much sense. | |
17162 | ||
a64387ee | 17163 | 2004-02-24 Michael Mauger <mmaug@yahoo.com> |
ce35edd1 JR |
17164 | |
17165 | * w32fns.c (slurp_file, xbm_scan, xbm_load_image) | |
17166 | (xbm_read_bitmap_data): Use unsigned char for image data. | |
17167 | ||
92f5fba2 LT |
17168 | 2004-02-23 Luc Teirlinck <teirllm@auburn.edu> |
17169 | ||
17170 | * abbrev.c (Finsert_abbrev_table_description): Doc fix. | |
17171 | ||
8565fb3d JR |
17172 | 2004-02-22 Jason Rumney <jasonr@gnu.org> |
17173 | ||
17174 | * w32term.c (w32_draw_fringe_bitmap): Draw overlaid bitmaps | |
17175 | correctly over other bitmaps. | |
17176 | ||
a6eeaa81 | 17177 | 2004-02-21 Eli Zaretskii <eliz@gnu.org> |
f8125c39 EZ |
17178 | |
17179 | * emacs.c (USAGE1): Split into two halves. | |
17180 | (USAGE2): Second half of the old USAGE1. | |
d8d95bc7 SM |
17181 | (USAGE3): Rename from USAGE2. |
17182 | (USAGE4): Rename from USAGE3. | |
f8125c39 | 17183 | |
4effffca EZ |
17184 | 2004-02-21 Juri Linkov <juri@jurta.org> |
17185 | ||
17186 | * emacs.c (USAGE1): Add --no-desktop. Move --display from USAGE2. | |
17187 | Fix --multibyte. Move --help, --version to USAGE2. Add alias | |
17188 | --file. Fix -f, -l. Sort options. Untabify. | |
17189 | (USAGE2): Add -hb. Fix --name, --title. Sort options. Untabify. | |
17190 | ||
923c1e6f LT |
17191 | 2004-02-19 Luc Teirlinck <teirllm@auburn.edu> |
17192 | ||
17193 | * category.c (Fdefine_category, Fcategory_docstring) | |
17194 | (Fget_unused_category, Fset_category_table) | |
17195 | (Fcategory_set_mnemonics): Doc fixes. | |
17196 | ||
b0e225fd KS |
17197 | 2004-02-20 Kim F. Storm <storm@cua.dk> |
17198 | ||
17199 | * keyboard.c: Undo 2004-02-16 and 2004-02-17 changes. | |
17200 | The following changes are relative to the 2004-01-21 revision. | |
17201 | (NREAD_INPUT_EVENTS): Define as max number of input events to read | |
17202 | in one call to read_socket_hook. Value is 8. | |
17203 | (read_avail_input): Separate and rework handling of read_socket_hook | |
17204 | and non-read_socket_hook cases. Use smaller input_event buffer | |
d8d95bc7 SM |
17205 | in read_socket_hook case, and repeat if full buffer is read. |
17206 | Use new local variable 'discard' to skip input after C-g. | |
b0e225fd KS |
17207 | In non-read_socket_hook case, just use a single input_event, and |
17208 | call kbd_buffer_store_event on the fly for each character. | |
17209 | ||
b15aa9f9 SM |
17210 | 2004-02-19 Stefan Monnier <monnier@iro.umontreal.ca> |
17211 | ||
17212 | * lisp.h (union Lisp_Object): Give a more precise type for `type'. | |
17213 | Remove unused `gu' alternative. | |
17214 | ||
83c9aa95 AS |
17215 | 2004-02-19 Andreas Schwab <schwab@suse.de> |
17216 | ||
17217 | * fringe.c (Fdefine_fringe_bitmap): Use && instead of & to avoid | |
17218 | warning. | |
17219 | ||
cc808173 KS |
17220 | 2004-02-18 Kim F. Storm <storm@cua.dk> |
17221 | ||
17222 | * xdisp.c (get_window_cursor_type, display_and_set_cursor): | |
17223 | Fix last change. | |
17224 | ||
ab90a54d KS |
17225 | 2004-02-17 Kim F. Storm <storm@cua.dk> |
17226 | ||
b26f249f KS |
17227 | * xdisp.c (fast_find_position): Fix return value of new version; |
17228 | it was inverted compared to the 21.1 version. | |
17229 | (get_window_cursor_type): Don't look at glyph if NULL. | |
17230 | (display_and_set_cursor): Set glyph to NULL if cursor in fringe. | |
0bf7d005 | 17231 | |
ab90a54d KS |
17232 | * keyboard.c: Rework previous change; it didn't consider that the |
17233 | buf array was allocated on the stack. | |
17234 | (prev_read): Remove variable. | |
17235 | (read_avail_input_buf): New static event buffer array. | |
b9568dfc | 17236 | (in_read_avail_input): New static variable to handle re-entrancy. |
ab90a54d | 17237 | (read_avail_input): Change buf to pinter to read_avail_input_buf. |
b9568dfc KS |
17238 | Use in_read_avail_input to handle re-entrance; when re-entered, |
17239 | fully initialize and use tmp_buf array instead of read_avail_input_buf. | |
17240 | Do not initialize read_avail_input_buf in full here; instead assume it | |
ab90a54d KS |
17241 | is always cleared on entry. To ensure that, we clear (just) the |
17242 | entries that were used before we return. | |
17243 | (init_keyboard): Initialize read_avail_input_buf here. | |
17244 | ||
b6189c3b | 17245 | 2004-02-16 Jesper Harder <harder@ifa.au.dk> |
4e039f3f EZ |
17246 | |
17247 | * cmds.c (Fend_of_line): Doc fix. | |
17248 | ||
7b5368c1 EZ |
17249 | 2004-02-16 Dmitry Antipov <dmitry.antipov@mail.ru> (tiny change) |
17250 | ||
17251 | * keyboard.c (prev_read): New static variable. | |
17252 | (read_avail_input): Use it to zero out only those slots in buf[] | |
17253 | that were used last time we were called. | |
17254 | ||
a6eeaa81 | 17255 | 2004-02-16 Eli Zaretskii <eliz@gnu.org> |
ca4bc494 EZ |
17256 | |
17257 | * Makefile.in (obj): Move fringe.o from here... | |
17258 | (XOBJ, MAC_OBJ): ...to here. | |
17259 | ||
159c348e SE |
17260 | 2004-02-16 Stephen Eglen <stephen@gnu.org> |
17261 | ||
17262 | * fringe.c (init_fringe_bitmap): Define j in MAC_OS code. | |
17263 | ||
d2f14999 SM |
17264 | 2004-02-15 Stefan Monnier <monnier@iro.umontreal.ca> |
17265 | ||
b15aa9f9 SM |
17266 | * data.c (Fbyteorder): |
17267 | * fringe.c (Fdefine_fringe_bitmap): | |
17268 | * xdisp.c (handle_single_display_prop): | |
d2f14999 SM |
17269 | * xselect.c (x_handle_dnd_message): Lisp_Object/int mixup. |
17270 | ||
8d50508a JR |
17271 | 2004-02-16 Jason Rumney <jasonr@gnu.org> |
17272 | ||
17273 | * w32term.c (w32_draw_fringe_bitmap): Handle overlay fringe bitmaps. | |
17274 | ||
dd4497dc ST |
17275 | 2004-02-15 Steven Tamm <steventamm@mac.com> |
17276 | ||
17277 | * macterm.c (Vmac_emulate_three_button_mouse): New variable for | |
17278 | controlling emulation of a three button mouse with option and | |
17279 | command keys. | |
7e26f91b | 17280 | (Qreverse, mac_get_enumlated_btn): Handle the emulation. |
b15aa9f9 | 17281 | (mac_event_to_emacs_modifiers, XTread_socket): Ditto. |
dd4497dc | 17282 | |
c9159cb3 KS |
17283 | 2004-02-15 Kim F. Storm <storm@cua.dk> |
17284 | ||
2cc52658 KS |
17285 | * buffer.c (syms_of_buffer): Doc fix for indicate-buffer-boundaries. |
17286 | ||
c9159cb3 KS |
17287 | * fringe.c (init_fringe_bitmap) [MAC_OS, WORDS_BIG_ENDIAN]: |
17288 | Perform byte-swapping. | |
17289 | ||
12fde2dc KS |
17290 | 2004-02-14 Kim F. Storm <storm@cua.dk> |
17291 | ||
17292 | * dispextern.h (struct draw_fringe_bitmap_params): Change member | |
17293 | bits from char to short to facilitate wider bitmaps. | |
17294 | (struct redisplay_interface): Fix prototype of define_fringe_bitmap | |
17295 | member. | |
17296 | ||
17297 | * fringe.c (struct fringe_bitmap): Change member bits from char to | |
17298 | short to facilitate 16 bits wide bitmaps. Modify all standard | |
17299 | bitmaps accordingly. | |
17300 | (BYTES_PER_BITMAP_ROW, STANDARD_BITMAP_HEIGHT): New macros. | |
17301 | (FRBITS): Use STANDARD_BITMAP_HEIGHT instead of just sizeof. | |
17302 | (draw_fringe_bitmap): Ditto. | |
17303 | (init_fringe_bitmap) [MAC_OS]: Don't bitswap. | |
17304 | (init_fringe_bitmap) [HAVE_X_WINDOWS]: Enhance bitswapping to | |
17305 | handle up to 16 bits wide bitmaps. | |
17306 | (Fdefine_fringe_bitmap): Doc fix. Handle wider bitmaps. | |
f21a7192 | 17307 | (Ffringe_bitmaps_at_pos): Add missing arg declarations. |
12fde2dc KS |
17308 | |
17309 | * macterm.c (mac_draw_bitmap): Handle 16 bits wide bitmaps directly. | |
17310 | (x_draw_fringe_bitmap): Use enhanced mac_draw_bitmap, so we no longer | |
17311 | need to call mac_create_bitmap_from_bitmap_data and mac_free_bitmap. | |
17312 | ||
17313 | * w32term.c (w32_define_fringe_bitmap): Bitmaps are now 16 bits wide, | |
17314 | so it is no longer necessary to expand them here. | |
17315 | ||
17316 | * xterm.c (x_draw_fringe_bitmap): Handle wider bitmaps (max 16 bits). | |
17317 | ||
9d7271e8 KS |
17318 | 2004-02-12 Kim F. Storm <storm@cua.dk> |
17319 | ||
17320 | * window.c (Fwindow_fringes): Doc fix. | |
17321 | ||
706c1e4f JD |
17322 | 2004-02-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17323 | ||
17324 | * xselect.c (x_get_foreign_selection): Add new optional parameter | |
17325 | time_stamp. | |
17326 | (Fx_get_selection_internal): Ditto, pass time_stamp to | |
17327 | x_get_foreign_selection. | |
17328 | ||
17329 | * data.c (Fbyteorder): New function. | |
17330 | ||
c2d12b5d JD |
17331 | 2004-02-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17332 | ||
17333 | * atimer.c: Move include stdio.h to same place as in other files. | |
17334 | ||
17335 | * region-cache.c: Ditto. | |
17336 | ||
17337 | * sysdep.c: Ditto. | |
17338 | ||
17339 | * xfaces.c: Ditto. | |
17340 | ||
4c1947b9 SS |
17341 | 2004-02-09 Sam Steingold <sds@gnu.org> |
17342 | ||
89458937 | 17343 | * w32term.c (w32_draw_fringe_bitmap): Fix a typo in the last patch. |
4c1947b9 | 17344 | |
82722af3 KS |
17345 | 2004-02-09 Kim F. Storm <storm@cua.dk> |
17346 | ||
17347 | * fringe.c: New file. Move original fringe related declarations | |
17348 | and code from dispextern.h and xdisp.c here. | |
17349 | Rework code to support user defined fringe bitmaps, redefining | |
17350 | standard bitmaps, ability to overlay user defined bitmap with | |
17351 | overlay arrow bitmap, and add faces to bitmaps. | |
17352 | (Voverflow_newline_into_fringe): Declare here. | |
17353 | (enum fringe_bitmap_align): New enum. | |
17354 | (..._bits): All bitmaps are now defined without bitswapping; that | |
17355 | is now done in init_fringe_once (if necessary). | |
17356 | (standard_bitmaps): New array with specifications for the | |
17357 | standard fringe bitmaps. | |
17358 | (fringe_faces): New array. | |
17359 | (valid_fringe_bitmap_id_p): New function. | |
17360 | (draw_fringe_bitmap_1): Rename from draw_fringe_bitmap. | |
17361 | (draw_fringe_bitmap): New function which draws fringe bitmap, | |
17362 | possibly overlaying bitmap with cursor in right fringe or the | |
17363 | overlay arrow in the left fringe. | |
17364 | (update_window_fringes): Do not handle overlay arrow here. | |
17365 | Compare and copy fringe bitmap faces. | |
17366 | (init_fringe_bitmap): New function. | |
17367 | (Fdefine_fringe_bitmap, Fdestroy_fringe_bitmap): New DEFUNs to | |
17368 | define and destroy user defined fringe bitmaps. | |
17369 | (Fset_fringe_bitmap_face): New DEFUN to set face for a fringe bitmap. | |
17370 | (Ffringe_bitmaps_at_pos): New DEFUN to read current fringe bitmaps. | |
17371 | (syms_of_fringe): New function. Defsubr new DEFUNs. | |
17372 | DEFVAR_LISP Voverflow_newline_into_fringe. | |
17373 | (init_fringe_once, init_fringe): New functions. | |
17374 | (w32_init_fringe, w32_reset_fringes) [WINDOWS_NT]: New functions. | |
4c1947b9 | 17375 | |
82722af3 KS |
17376 | * Makefile.in (obj): Add fringe.o. |
17377 | (fringe.o): New dependencies. | |
17378 | ||
17379 | * dispextern.h (FRINGE_ID_BITS): New definition for number of | |
17380 | bits allocated to hold a fringe number. Increase number of bits | |
17381 | from 4 to 8 to allow user defined fringe bitmaps. | |
17382 | (struct glyph_row, struct it): New members left_user_fringe_bitmap, | |
17383 | left_user_fringe_face_id, right_user_fringe_bitmap, | |
17384 | right_user_fringe_face_id. | |
17385 | (enum fringe_bitmap_type, struct fringe_bitmap, fringe_bitmaps): | |
17386 | Move to new file fringe.c. | |
17387 | (MAX_FRINGE_BITMAPS): Define here. | |
17388 | (struct draw_fringe_bitmap_params): New members bits, cursor_p, | |
17389 | and overlay_p. Change member which to int. | |
17390 | (struct redisplay_interface): New members define_fringe_bitmap | |
17391 | and destroy_fringe_bitmap. | |
17392 | (valid_fringe_bitmap_id_p): Add prototype. | |
17393 | (w32_init_fringe, w32_reset_fringes) [WINDOWS_NT]: Add prototypes. | |
17394 | ||
17395 | * dispnew.c (row_equal_p): Compare fringe bitmap faces and overlay | |
17396 | arrows. | |
17397 | (update_frame): Do flush_display if force_flush_display_p to | |
17398 | ensure display (specifically fringes) are updated in a timely | |
17399 | manner when resizing the frame by dragging the mouse. | |
17400 | (update_window_line): Update row if overlay arrow changed. | |
17401 | (scrolling_window): Redraw fringe bitmaps if fringe bitmap faces | |
17402 | or overlay arrow changed. | |
17403 | ||
17404 | * emacs.c (main) [HAVE_WINDOW_SYSTEM]: Call init_fringe_once, | |
17405 | syms_of_fringe, and init_fringe. | |
17406 | ||
17407 | * frame.h (struct frame): New member force_flush_display_p. | |
17408 | ||
17409 | * lisp.h (syms_of_fringe, init_fringe, init_fringe_once): | |
17410 | Add prototypes. | |
17411 | ||
a3993cc8 | 17412 | * macterm.c (mac_draw_bitmap): Add overlay_p arg. |
a64387ee | 17413 | (x_draw_fringe_bitmap): Handle overlayed fringe bitmaps; |
a3993cc8 KS |
17414 | thanks to YAMAMOTO Mitsuharu for advice on how to do this. |
17415 | Use cursor color for displaying cursor in fringe. | |
82722af3 KS |
17416 | (x_redisplay_interface): Add null handlers for |
17417 | define_fringe_bitmap and destroy_fringe_bitmap functions. | |
17418 | ||
17419 | * w32term.c (w32_draw_fringe_bitmap): Copy unadapted code from | |
17420 | xterm.c to handle overlayed fringe bitmaps and to use cursor color | |
17421 | for displaying cursor in fringe. | |
17422 | (w32_define_fringe_bitmap, w32_destroy_fringe_bitmap): New W32 | |
17423 | specific functions to define and destroy fringe bitmaps in fringe_bmp. | |
17424 | (w32_redisplay_interface): Add them to redisplay_interface. | |
17425 | (w32_term_init): Call w32_init_fringe instead of explicitly | |
17426 | defining fringe bitmaps in fringe_bmp array. | |
17427 | (x_delete_display): Call w32_reset_fringes instead of explicitly | |
17428 | destroying fringe bitmaps in fringe_bmp array. | |
17429 | ||
17430 | * xdisp.c (Voverflow_newline_into_fringe, syms_of_xdisp) | |
17431 | (left_bits, right_bits, up_arrow_bits, down_arrow_bits) | |
17432 | (continued_bits, continuation_bits, ov_bits, first_line_bits) | |
17433 | (last_line_bits, filled_box_cursor_bits, hollow_box_cursor_bits) | |
17434 | (bar_cursor_bits, hbar_cursor_bits, zv_bits, hollow_square_bits) | |
17435 | (fringe_bitmaps, draw_fringe_bitmap, draw_row_fringe_bitmaps) | |
17436 | (draw_window_fringes, compute_fringe_widths, update_window_fringes): | |
17437 | Move fringe handling vars and code to new file fringe.c. | |
17438 | (handle_display_prop): Handle left-fringe and right-fringe | |
17439 | display properties; store user fringe bitmaps in iterator. | |
17440 | (move_it_in_display_line_to): Handle cursor in fringe at eob. | |
17441 | (clear_garbaged_frames): Set force_flush_display_p if resized. | |
17442 | (redisplay_window): Redraw fringe bitmaps if not just_this_one_p. | |
17443 | (display_line): Handle cursor in fringe at eob. | |
17444 | (display_line): Set row user fringe bitmaps from iterator. | |
17445 | ||
17446 | * xterm.c (x_draw_fringe_bitmap): Handle overlayed fringe bitmaps. | |
17447 | Use cursor color for displaying cursor in fringe. | |
17448 | (x_redisplay_interface): Add null handlers for | |
17449 | define_fringe_bitmap and destroy_fringe_bitmap functions. | |
17450 | ||
030400eb JD |
17451 | 2004-02-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17452 | ||
17453 | * macfns.c (Fx_change_window_property): Make doc string and | |
17454 | parameters same as for X version. | |
17455 | ||
17456 | * w32fns.c (Fx_change_window_property): Ditto. | |
17457 | ||
3af55251 KS |
17458 | 2004-02-07 Kim F. Storm <storm@cua.dk> |
17459 | ||
ec110e9e KS |
17460 | * xdisp.c (hscroll_window_tree): Position cursor near to right |
17461 | margin in hscrolled window when jumping to end of line (rather | |
17462 | than centering cursor). | |
17463 | ||
3af55251 KS |
17464 | * process.c (wait_reading_process_input): Don't do adaptive read |
17465 | buffering if waiting for a specific process. | |
17466 | ||
b0c138ce LT |
17467 | 2004-02-05 Luc Teirlinck <teirllm@auburn.edu> |
17468 | ||
17469 | * minibuf.c (Fminibufferp, Fread_from_minibuffer) | |
17470 | (Fread_minibuffer, Feval_minibuffer) | |
17471 | (Fread_string, Fread_no_blanks_input) | |
17472 | (Fcompleting_read): Doc fixes. | |
17473 | (syms_of_minibuf): Doc fixes for minibuffer-completion-table and | |
17474 | completion-regexp-list. Define Qcase_fold_search and staticpro it. | |
17475 | (read_minibuf): Fix initial comment. | |
17476 | (Ftry_completion, Fall_completions, Ftest_completion): Bind | |
e8eeaed8 | 17477 | case-fold-search to the value of completion-ignore-case when |
b0c138ce LT |
17478 | checking completion-regexp-list. |
17479 | (Fdisplay_completion_list): Make it handle arguments that are | |
17480 | symbols. Doc fix. | |
17481 | ||
9676f5ad | 17482 | 2004-02-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
64d1e373 | 17483 | |
9676f5ad | 17484 | * xterm.h: Add declaration of free_frame_menubar. |
64d1e373 | 17485 | |
9676f5ad JD |
17486 | * xfns.c (x_create_bitmap_mask): Removed unused variable depth. |
17487 | (x_set_menu_bar_lines): Added ! defined USE_GTK for olines. | |
b0c138ce | 17488 | (Fx_change_window_property): Add declaration of parameters type and |
9676f5ad | 17489 | format. Remove unused variable cons. |
5b698285 | 17490 | |
9dd28cae | 17491 | * xselect.c: Include stdio.h. |
5b698285 | 17492 | |
fc1d15f6 KH |
17493 | 2004-02-05 Kenichi Handa <handa@m17n.org> |
17494 | ||
ebaff4af KH |
17495 | * fns.c (Fset_char_table_range): Fix previous change. |
17496 | ||
fc1d15f6 KH |
17497 | * buffer.c (Fset_buffer_multibyte): Fix docstring. |
17498 | ||
9676f5ad JD |
17499 | 2004-02-04 Luc Teirlinck <teirllm@auburn.edu> |
17500 | ||
17501 | * editfns.c (Fchar_after, Fchar_before): Doc fixes. | |
17502 | ||
da75761f SM |
17503 | 2004-02-04 Stefan Monnier <monnier@iro.umontreal.ca> |
17504 | ||
17505 | * keymap.c (Vmouse_events): Rename from Vmenu_events. | |
17506 | (syms_of_keymap): Add mouse-[45], header-line, and mode-line to it. | |
17507 | ||
13c5d120 KH |
17508 | 2004-02-04 Kenichi Handa <handa@m17n.org> |
17509 | ||
17510 | * fns.c (Fset_char_table_range): Handle charsets ascii, | |
17511 | eight-bit-control, and eight-bit-graphic correctly. | |
17512 | ||
2883d842 JR |
17513 | 2004-02-03 Jason Rumney <jasonr@gnu.org> |
17514 | ||
17515 | * w32select.c (Fw32_set_clipboard_data): Make coding iso2022 safe. | |
17516 | ||
17517 | * w32fns.c (x_to_w32_font): Likewise. | |
17518 | ||
69eff41f JD |
17519 | 2004-02-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17520 | ||
17521 | * xterm.h: Add x_handle_dnd_message, x_check_property_data, | |
17522 | x_fill_property_data, x_property_data_to_lisp and check_x_display_info. | |
17523 | ||
17524 | * xterm.c (handle_one_xevent): Call x_handle_dnd_message for | |
17525 | ClientMessages. | |
17526 | ||
14a56a1b | 17527 | * xselect.c: Include termhooks.h and X11/Xproto.h. |
69eff41f JD |
17528 | (x_check_property_data, x_fill_property_data) |
17529 | (x_property_data_to_lisp, mouse_position_for_drop) | |
17530 | (Fx_get_atom_name, x_handle_dnd_message): New functions for DND support. | |
da75761f | 17531 | (Fx_send_client_event): Move here from xfns.c. |
69eff41f JD |
17532 | (syms_of_xselect): Add Sx_get_atom_name and Sx_send_client_message. |
17533 | ||
14a56a1b | 17534 | * xfns.c (x-send-client-message): Move to xselect.c. |
69eff41f JD |
17535 | (Fx_change_window_property): Add optional arguments TYPE, FORMAT and |
17536 | OUTER_P. | |
17537 | (Fx_window_property): Add optional arguments TYPE, SOURCE, DELETE_P, | |
17538 | VECTOR_RET_P. Handle AnyPropertyType. Call x_property_data_to_lisp | |
17539 | if vector_ret_p is true. | |
17540 | (syms_of_xfns): Sx_send_client_message moved to xselect.c. | |
69eff41f | 17541 | |
a6eeaa81 | 17542 | 2004-02-02 Eli Zaretskii <eliz@gnu.org> |
dcdbbb5d EZ |
17543 | |
17544 | * fileio.c (Fcopy_file): If NEWNAME is a directory, expand the | |
17545 | basename of FILE relative to it, not FILE itself. | |
17546 | ||
09721b31 KH |
17547 | 2004-02-02 Kenichi Handa <handa@m17n.org> |
17548 | ||
17549 | * coding.c (coding_restore_composition): Check invalid | |
17550 | composition data more rigidly. | |
17551 | ||
eb996101 LT |
17552 | 2004-01-30 Luc Teirlinck <teirllm@auburn.edu> |
17553 | ||
17554 | * fileio.c (Fread_file_name_internal): Correctly handle the case | |
17555 | where insert-default-directory is nil. | |
17556 | (Fread_file_name): Always return an empty string if the user exits | |
17557 | with an empty minibuffer. Adapt the docstring accordingly. | |
17558 | (syms_of_fileio): Adapt the docstring of insert-default-directory | |
17559 | to the change in Fread_file_name. | |
17560 | ||
a6eeaa81 | 17561 | 2004-01-29 Eli Zaretskii <eliz@gnu.org> |
a0367d42 EZ |
17562 | |
17563 | * alloca.c [!alloca]: Fix the prototype for xfree. | |
17564 | ||
13f52ed8 KH |
17565 | 2004-01-29 Kenichi Handa <handa@m17n.org> |
17566 | ||
17567 | * fns.c (string_char_to_byte): Optimize for ASCII only string. | |
17568 | (string_byte_to_char): Likewise. | |
17569 | ||
d57625a0 JR |
17570 | 2004-01-28 Peter Runestig <peter@runestig.com> |
17571 | ||
17572 | * makefile.w32-in, w32fns.c: Add `default-printer-name' function. | |
17573 | ||
a64387ee | 17574 | 2004-01-27 Steven Tamm <steventamm@mac.com> |
911c78b4 ST |
17575 | |
17576 | * unexmacosx.c (unexec_copy): Do not copy more than was | |
17577 | requested to prevent overwriting during unexec. | |
17578 | ||
eb37b8fd JD |
17579 | 2004-01-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17580 | ||
ce38070a JD |
17581 | * process.c (sigchld_handler): Add comment about not calling malloc. |
17582 | ||
eb37b8fd JD |
17583 | * process.h: Add extern to synch_process_termsig. |
17584 | ||
a64387ee | 17585 | 2004-01-27 Steven Tamm <steventamm@mac.com> |
21a3e657 | 17586 | |
da75761f SM |
17587 | * macterm.c (make_mac_frame, make_mac_terminal_frame): |
17588 | Move setting of scroll bars from make_mac_frame to | |
17589 | make_mac_terminal_frame to prevent clobbering of scroll-bar-mode. | |
21a3e657 | 17590 | |
d62a265d RS |
17591 | 2004-01-26 Richard M. Stallman <rms@gnu.org> |
17592 | ||
17593 | * search.c (Freplace_match): Handle nonexistent | |
17594 | back-references properly. | |
17595 | ||
17596 | 2004-01-03 Richard M. Stallman <rms@gnu.org> | |
17597 | ||
17598 | * window.c (decode_any_window): New function. | |
17599 | (Fwindow_height, Fwindow_width, Fwindow_edges) | |
17600 | (Fwindow_pixel_edges, Fwindow_inside_edges) | |
17601 | (Fwindow_inside_pixel_edges): Use decode_any_window. | |
17602 | ||
ff236419 JD |
17603 | 2004-01-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17604 | ||
17605 | * process.h: synch_process_termsig new variable. | |
17606 | ||
17607 | * callproc.c: Define synch_process_termsig. | |
17608 | (Fcall_process): Initiate synch_process_termsig to zero and | |
17609 | check if non-zero and get signal name after subprocess has ended. | |
17610 | ||
17611 | * process.c (sigchld_handler): Set synch_process_termsig | |
17612 | if terminated by a signal. synch_process_death setting removed. | |
17613 | ||
17614 | * sysdep.c (mkdir, rmdir): Also check synch_process_termsig. | |
17615 | ||
41b867ea AS |
17616 | 2004-01-26 Andreas Schwab <schwab@suse.de> |
17617 | ||
17618 | * print.c (print_preprocess): Declare size as EMACS_INT to not | |
17619 | lose bits. | |
17620 | (print_object): Likewise. | |
17621 | * alloc.c (Fpurecopy): Likewise. | |
17622 | ||
a08084ff LT |
17623 | 2004-01-25 Luc Teirlinck <teirllm@auburn.edu> |
17624 | ||
17625 | * window.c (Fwindow_minibuffer_p): Doc fix. | |
17626 | ||
b19ac475 JY |
17627 | 2004-01-24 Jonathan Yavner <jyavner@member.fsf.org> |
17628 | ||
17629 | * editfns.c (Fformat): Make both passes accept the same set of flags. | |
17630 | ||
fe905025 KH |
17631 | 2004-01-23 Kenichi Handa <handa@m17n.org> |
17632 | ||
17633 | * fns.c (Fmd5): If OBJECT is a buffer different from the current | |
17634 | one, set buffer to OBJECT temporarily. | |
17635 | ||
438fc6c0 SM |
17636 | 2004-01-21 Stefan Monnier <monnier@iro.umontreal.ca> |
17637 | ||
455316e2 SM |
17638 | * keyboard.c (kbd_buffer_gcpro): Remove. |
17639 | (kbd_buffer_store_event, clear_event, Fdiscard_input) | |
17640 | (stuff_buffered_input, init_keyboard, syms_of_keyboard): | |
17641 | Don't initialize and/or maintain the variable any more. It was made | |
17642 | redundant by my commit of 2003-06-15. | |
17643 | ||
438fc6c0 SM |
17644 | * lisp.h [USE_LSB_TAG && !DECL_ALIGN]: Signal an error. |
17645 | ||
5335a4ee JD |
17646 | 2004-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17647 | ||
17648 | * lisp.h: Add undef DECL_ALIGN. | |
17649 | ||
dcdaeebc SM |
17650 | 2004-01-21 Stefan Monnier <monnier@iro.umontreal.ca> |
17651 | ||
17652 | * process.c (wait_reading_process_input) [SYNC_INPUT]: | |
17653 | Check interrupt_input_pending explicitly. | |
17654 | ||
17655 | * lisp.h (QUIT) [SYNC_INPUT]: Check interrupt_input_pending as well. | |
17656 | ||
17657 | * keyboard.c (handle_async_input): New fun, | |
17658 | extracted from input_available_signal. | |
17659 | (input_available_signal, reinvoke_input_signal): Use it. | |
17660 | ||
9076a823 SM |
17661 | 2004-01-20 Stefan Monnier <monnier@iro.umontreal.ca> |
17662 | ||
d7107586 SM |
17663 | * buffer.c (buffer_defaults, buffer_local_symbols): Use DECL_ALIGN. |
17664 | ||
17665 | * lisp.h [USE_LSB_TAG]: Add definitions for Lisp_Object value | |
17666 | manipulation macros for when tags are in the lower bits. | |
17667 | (struct Lisp_Free) [USE_LSB_TAG]: Add padding. | |
17668 | (DECL_ALIGN): New macro. | |
17669 | (DEFUN): Use it. | |
17670 | ||
17671 | * lisp.h [ENABLE_CHECKING]: Don't force union type. | |
17672 | ||
17673 | * s/darwin.h (__attribute__): Remove outdated workaround. | |
17674 | ||
17675 | * macterm.c (main) [USE_LSB_TAG]: Don't range check the ram. | |
17676 | ||
17677 | * alloc.c (lisp_malloc, lisp_align_malloc) [USE_LSB_TAG]: | |
17678 | Don't check range of malloc address. | |
17679 | (pure_alloc) [USE_LSB_TAG]: Enforce alignment. | |
17680 | ||
9076a823 SM |
17681 | * process.c (wait_reading_process_input): Lisp_Object/int mixup. |
17682 | ||
17683 | * dired.c (Ffile_attributes): Lisp_Object/int mixup. | |
17684 | ||
ba029065 KH |
17685 | 2004-01-19 Kenichi Handa <handa@m17n.org> |
17686 | ||
17687 | * fontset.c (fontset_font_pattern): Fix previous change. | |
17688 | ||
7af0e8d7 MB |
17689 | 2004-01-16 Miles Bader <miles@gnu.ai.mit.edu> |
17690 | ||
17691 | * xdisp.c (Voverflow_newline_into_fringe) | |
17692 | (move_it_in_display_line_to, redisplay_internal) | |
17693 | (update_window_fringes, redisplay_window, display_line, window): | |
17694 | Add `#ifdef HAVE_WINDOW_SYSTEM' around fringe-drawing stuff, so | |
17695 | that it compiles without a window-system. | |
17696 | * dispnew.c (direct_output_for_insert, update_window): Likewise. | |
17697 | ||
77a9cf69 KS |
17698 | 2004-01-16 Kim F. Storm <storm@cua.dk> |
17699 | ||
17700 | * buffer.h (struct buffer): New member indicate_buffer_boundaries. | |
17701 | ||
a64387ee | 17702 | * buffer.c (init_buffer_once): Set buffer_defaults and |
77a9cf69 KS |
17703 | buffer_local_flags for indicate_buffer_boundaries. |
17704 | (syms_of_buffer): Defvar_per_buffer it, and defvar_lisp_nopro | |
17705 | default- variable for it. | |
17706 | ||
17707 | * dispextern.h (struct glyph_row): New members left_fringe_bitmap, | |
17708 | right_fringe_bitmap, redraw_fringe_bitmaps_p for new fringe handling. | |
d7107586 | 17709 | New members exact_window_width_line_p and cursor_in_fringe_p for |
77a9cf69 KS |
17710 | overflowing newlines into right fringe. |
17711 | New members indicate_bob_p, indicate_top_line_p, indicate_eob_p, | |
17712 | and indicate_bottom_line_p for buffer boundaries and scrolling. | |
17713 | (enum fringe_bitmap_type): Add UP_ARROW_BITMAP, DOWN_ARROW_BITMAP, | |
17714 | FIRST_LINE_BITMAP, LAST_LINE_BITMAP, FILLED_BOX_CURSOR_BITMAP, | |
17715 | HOLLOW_BOX_CURSOR_BITMAP, BAR_CURSOR_BITMAP, HBAR_CURSOR_BITMAP, | |
17716 | and HOLLOW_SQUARE_BITMAP. | |
17717 | (draw_fringe_bitmap, draw_window_fringes, update_window_fringes): | |
17718 | Add prototypes. | |
17719 | ||
17720 | * dispnew.c (row_equal_p, update_window_line): Compare fringe bitmaps | |
17721 | instead of related indicator fields. | |
17722 | Compare exact_window_width_line_p and cursor_in_mouse_face_p indicators. | |
17723 | (direct_output_for_insert): Handle exact width lines like | |
17724 | contined lines. Call update_window_fringes. | |
17725 | (update_window): Call update_window_fringes. | |
17726 | (scrolling_window): Don't skip desired rows with changed bitmaps. | |
17727 | Check if fringe bitmaps changes when assigning scrolled rows. | |
17728 | ||
17729 | * xdisp.c (Voverflow_newline_into_fringe): New variable. | |
17730 | (IT_OVERFLOW_NEWLINE_INTO_FRINGE): New macro. | |
17731 | (move_it_in_display_line_to): Overflow newline into fringe for | |
17732 | rows that are exactly as wide as the window. | |
17733 | (up_arrow_bits, down_arrow_bits, first_line_bits, last_line_bits) | |
17734 | (filled_box_cursor_bits, hollow_box_cursor_bits, bar_cursor_bits) | |
17735 | (hbar_cursor_bits, hollow_square_bits): New fringe bitmaps. | |
17736 | (fringe_bitmaps): Add new bitmaps. | |
17737 | (draw_fringe_bitmap): Make extern. Remove WHICH arg. | |
17738 | Select proper bitmap for cursor in fringe when appropriate. | |
17739 | Handle alignment of bitmap to top or bottom of row. | |
17740 | (draw_row_fringe_bitmaps): Don't select bitmaps here; that is now | |
17741 | done by update_window_fringes. | |
17742 | (update_window_fringes, draw_window_fringes): New functions. | |
17743 | (redisplay_internal): Call update_window_fringes in case only | |
17744 | cursor row is updated. | |
17745 | (redisplay_window): Call update_window_fringes. | |
17746 | Explicitly call draw_window_fringes if redisplay was done using | |
17747 | the current matrix or the overlay arrow is in the window. | |
17748 | (try_window_reusing_current_matrix): Mark scrolled rows for | |
17749 | fringe update (to update buffer-boundaries / scrolling icons). | |
17750 | (find_last_unchanged_at_beg_row): Handle exact width lines line | |
17751 | continued lines. | |
17752 | (display_line): Overflow newline into fringe for rows that are | |
17753 | exactly as wide as the window. Don't append space for newline | |
d7107586 | 17754 | in this case. |
77a9cf69 KS |
17755 | (notice_overwritten_cursor): Explicitly clear cursor bitmap |
17756 | in fringe as if it had been overwritten. | |
17757 | (erase_phys_cursor): Erase cursor bitmap in fringe. | |
d7107586 | 17758 | (syms_of_xdisp): Mark show-trailing-whitespace and |
77a9cf69 KS |
17759 | void-text-area-pointer as user options. |
17760 | DEFVAR_LISP Voverflow_newline_into_fringe. Enable by default. | |
d7107586 | 17761 | |
77a9cf69 KS |
17762 | * xterm.c (x_update_window_end): Call draw_window_fringes. |
17763 | (x_after_update_window_line): Just set redraw_fringe_bitmaps_p | |
17764 | in row instead of actually drawing fringe bitmaps. | |
17765 | (x_draw_fringe_bitmap): Handle bottom aligned bitmaps. | |
17766 | (x_draw_window_cursor): Draw cursor in fringe. | |
17767 | ||
17768 | * w32term.c (x_update_window_end): Call draw_window_fringes. | |
17769 | (x_after_update_window_line): Just set redraw_fringe_bitmaps_p | |
17770 | in row instead of actually drawing fringe bitmaps. | |
17771 | (w32_draw_fringe_bitmap): Handle bottom aligned bitmaps. | |
17772 | (w32_draw_window_cursor): Draw cursor in fringe. | |
17773 | ||
17774 | * macterm.c (x_update_window_end): Call draw_window_fringes. | |
17775 | (x_after_update_window_line): Just set redraw_fringe_bitmaps_p | |
17776 | in row instead of actually drawing fringe bitmaps. | |
17777 | (x_draw_fringe_bitmap): Handle bottom aligned bitmaps. | |
17778 | (mac_draw_window_cursor): Draw cursor in fringe. | |
17779 | ||
a633a954 JD |
17780 | 2004-01-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17781 | ||
17782 | * xterm.c (handle_one_xevent): Don't handle characters that are part | |
17783 | of an old style (XLookupString) compose sequence. | |
17784 | ||
80460525 KH |
17785 | 2004-01-15 Kenichi Handa <handa@m17n.org> |
17786 | ||
17787 | * search.c (Freplace_match): Use make_multibyte_string or | |
17788 | make_unibyte_string according to the buffer multibyteness. | |
17789 | ||
7fc34f85 SM |
17790 | 2004-01-14 Stefan Monnier <monnier@iro.umontreal.ca> |
17791 | ||
17792 | * alloc.c (struct interval_block, struct string_block) | |
17793 | (struct symbol_block, struct marker_block, live_string_p) | |
17794 | (live_cons_p, live_symbol_p, live_float_p, live_misc_p): | |
17795 | Better preserve alignment for objects in blocks. | |
17796 | (FLOAT_BLOCK_SIZE): Adjust for possible alignment padding. | |
17797 | ||
17798 | * lread.c (defvar_per_buffer): Remove dead declaration. | |
17799 | ||
17800 | * macterm.c (do_check_ram_size): Don't hardcode the lisp address | |
17801 | space size. | |
17802 | ||
66070bd1 JD |
17803 | 2004-01-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17804 | ||
17805 | * xmenu.c (popup_get_selection): Check new parameter down_on_keypress | |
17806 | if a key press should pop down. Only pop down if a key is pressed | |
17807 | outside the menu/dialog. | |
17808 | (create_and_show_popup_menu): Pass 0 for down_on_keypress to | |
17809 | popup_get_selection. | |
17810 | (create_and_show_dialog): Pass 1 for down_on_keypress to | |
17811 | popup_get_selection. | |
17812 | ||
de7515d6 JD |
17813 | 2004-01-11 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17814 | ||
17815 | * alloc.c (allocate_vectorlike): Surround calls to mallopt with | |
17816 | BLOCK/UNBLOCK_INPUT. | |
17817 | ||
160b1b50 JD |
17818 | 2004-01-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
17819 | ||
17820 | * xmenu.c (Fx_popup_dialog): Add an Ok button if no buttons are | |
17821 | specified. | |
17822 | ||
3a9f36e6 KH |
17823 | 2004-01-08 Kenichi Handa <handa@m17n.org> |
17824 | ||
17825 | * editfns.c (Fformat): Fix '&' to '&&'. | |
17826 | ||
3803eb32 AS |
17827 | 2004-01-08 Andreas Schwab <schwab@suse.de> |
17828 | ||
17829 | * print.c (print_preprocess) <case Lisp_Vectorlike>: Only mask | |
17830 | size if PSEUDOVECTOR_FLAG is set. | |
17831 | ||
9da88f37 KH |
17832 | 2004-01-07 Kenichi Handa <handa@m17n.org> |
17833 | ||
74ac5074 KH |
17834 | * charset.c (Fdeclare_equiv_charset): Fix docstring. |
17835 | ||
9da88f37 KH |
17836 | * fontset.c (fontset_ref_via_base): Fix previous change. |
17837 | ||
05faee07 KS |
17838 | 2004-01-07 Kim F. Storm <storm@cua.dk> |
17839 | ||
17840 | * process.c (read_process_output): Only activate adaptive | |
17841 | buffering if we read less than 256 bytes at a time. | |
17842 | ||
634910c8 KS |
17843 | 2004-01-06 Kim F. Storm <storm@cua.dk> |
17844 | ||
17845 | * dispnew.c (buffer_posn_from_coords): Return both buffer/string | |
17846 | object and image object. Return glyph width and height. | |
17847 | (mode_line_string, marginal_area_string): Ditto. | |
17848 | ||
17849 | * dispextern.h (buffer_posn_from_coords, mode_line_string) | |
17850 | (marginal_area_string): Fix prototypes. | |
17851 | ||
17852 | * keyboard.h (POSN_POSN, POSN_SET_POSN): Rename macros from | |
f63fd14e | 17853 | POSN_BUFFER_POSN and POSN_SET_BUFFER_POSN. All uses changed. |
634910c8 KS |
17854 | (POSN_INBUFFER_P, POSN_BUFFER_POSN): New macros. |
17855 | ||
17856 | * keyboard.c (make_lispy_position): Use modified mode_line_string, | |
17857 | buffer_posn_from_coords, and marginal_area_string functions to | |
17858 | include both string object and image object in the lispy position. | |
17859 | Also add actual glyph width and height to position. | |
17860 | (read_key_sequence): Use real buffer position from mouse | |
17861 | event to find keymap property even when click is in marginal area. | |
17862 | ||
17863 | * xdisp.c (note_mode_line_or_margin_highlight): Use modified | |
17864 | mode_line_string and marginal_area_string functions to handle | |
17865 | both string object and image object properties. | |
d7107586 | 17866 | |
57951c2e AS |
17867 | 2004-01-06 Andreas Schwab <schwab@suse.de> |
17868 | ||
17869 | * syntax.c (skip_chars): Treat '-' at end of string as ordinary | |
17870 | character. | |
17871 | ||
181e6a61 AS |
17872 | 2004-01-02 Andreas Schwab <schwab@suse.de> |
17873 | ||
d7107586 SM |
17874 | * macterm.c (emacs_options, x_initialized, same_x_server): |
17875 | Remove unused (and duplicated) definitions. | |
181e6a61 | 17876 | |
31e0fbdd KS |
17877 | 2004-01-02 Kim F. Storm <storm@cua.dk> |
17878 | ||
17879 | * process.h (struct Lisp_Process): New members for adaptive read | |
17880 | buffering: adaptive_read_buffering, read_output_delay, and | |
17881 | read_output_skip. | |
17882 | ||
17883 | * process.c (ADAPTIVE_READ_BUFFERING): New conditional. | |
17884 | (READ_OUTPUT_DELAY_INCREMENT, READ_OUTPUT_DELAY_MAX) | |
17885 | (READ_OUTPUT_DELAY_MAX_MAX): New constants. | |
17886 | (process_output_delay_count, process_output_skip): New vars. | |
17887 | (Vprocess_adaptive_read_buffering): New variable. | |
17888 | (make_process): Initialize adaptive read buffering members. | |
17889 | (Fstart_process): Set adaptive_read_buffering member. | |
17890 | (deactivate_process): Cleanup adaptive read buffering. | |
17891 | (wait_reading_process_input): Temporarily omit delayed | |
17892 | subprocesses from the set of file descriptors to read from; | |
17893 | adjust the select timeout if we skipped any subprocesses. | |
17894 | (read_process_output): Increase adaptive read buffering delay if | |
17895 | we read less than a full buffer; reduce delay when we read a | |
17896 | full buffer. | |
17897 | (send_process): Simplify using local Lisp_Process var. | |
17898 | Reset adaptive read buffering delay after write. | |
17899 | (init_process): Initialize process_output_delay_count and | |
17900 | process_output_skip. | |
17901 | (syms_of_process): DEFVAR_LISP Vprocess_adaptive_read_buffering. | |
17902 | ||
68c6a789 JR |
17903 | 2004-01-01 Jason Rumney <jasonr@gnu.org> |
17904 | ||
d7107586 | 17905 | * w32term.c (w32_text_out): Use s->font, for consistency with callers. |
68c6a789 | 17906 | |
3f70fe82 LT |
17907 | 2003-12-30 Luc Teirlinck <teirllm@auburn.edu> |
17908 | ||
17909 | * print.c (Ferror_message_string): Add hyperlink in the docstring | |
17910 | to the definition of `signal' in the Elisp manual. | |
17911 | * eval.c (Fsignal): Ditto. | |
17912 | ||
b6189c3b | 17913 | 2003-12-29 James Clark <jjc@jclark.com> |
c2be49ed EZ |
17914 | |
17915 | * fns.c (internal_equal): Return t for two NaN arguments. | |
17916 | ||
7abd90ea RS |
17917 | 2003-12-29 Richard M. Stallman <rms@gnu.org> |
17918 | ||
17919 | * data.c (store_symval_forwarding): Handle setting | |
17920 | default-fill-column, etc., by changing the value in | |
17921 | buffers that use the default. | |
17922 | ||
17923 | * minibuf.c (Fset_minibuffer_window): Doc fix. | |
17924 | ||
17925 | * fileio.c (choose_write_coding_system): Ignore auto_saving | |
17926 | if using the visited file for auto saves. | |
17927 | (Fwrite_region): Don't update SAVE_MODIFF | |
17928 | if auto-saving in visited file. | |
17929 | ||
3e7cfcdc KH |
17930 | 2003-12-29 Kenichi Handa <handa@m17n.org> |
17931 | ||
17932 | * dispextern.h (face_font_available_p): Extern it. | |
17933 | ||
17934 | * fontset.c (Voverriding_fontspec_alist): New variable. | |
17935 | (lookup_overriding_fontspec): New function. | |
d7107586 | 17936 | (fontset_ref_via_base): Call lookup_overriding_fontspec if necessary. |
3e7cfcdc KH |
17937 | (fontset_font_pattern): Likewise. |
17938 | (regulalize_fontname): New function. | |
17939 | (Fset_fontset_font): Call regulalize_fontname. | |
17940 | (Fset_overriding_fontspec_internal): New function. | |
d7107586 SM |
17941 | (syms_of_fontset): Initialize and staticpro Voverriding_fontspec_alist. |
17942 | Defsubr Sset_overriding_fontspec_internal. | |
3e7cfcdc KH |
17943 | |
17944 | * xfaces.c (face_font_available_p): New function. | |
17945 | ||
7abd90ea RS |
17946 | 2003-12-28 Richard M. Stallman <rms@gnu.org> |
17947 | ||
17948 | * buffer.c (Fother_buffer): Don't crash if BUF is nil | |
17949 | or if its name is nil. | |
17950 | ||
17951 | * buffer.c (Fkill_buffer): Don't delete auto-save file | |
17952 | if it's the same as the visited file. | |
17953 | ||
de1d1a40 LT |
17954 | 2003-12-28 Luc Teirlinck <teirllm@auburn.edu> |
17955 | ||
17956 | * coding.c (Fcheck_coding_system): Doc fix. | |
17957 | ||
204fb75e KS |
17958 | 2003-12-28 Kim F. Storm <storm@cua.dk> |
17959 | ||
17960 | * Makefile.in (eval.o): Depend on dispextern.h. | |
17961 | ||
17962 | * dispnew.c (buffer_posn_from_coords): Fix calculation of dy for | |
17963 | image glyph using image's ascent. | |
17964 | (mode_line_string): Return image glyph as object clicked on. | |
17965 | Adjust y0 for image glyph using image's ascent. | |
17966 | ||
17967 | * dispextern.h (FACE_ID_BITS, MAX_FACE_ID): New defines. | |
17968 | (struct glyph): New members, ascent and descent. Used to save | |
17969 | this glyph's ascent and descent, instead of having. | |
17970 | (struct glyph): Declare member face_id using FACE_ID_BITS. | |
17971 | (find_hot_spot): Add prototype. | |
17972 | ||
17973 | * keyboard.c (Qimage): Remove extern (now in lisp.h). | |
17974 | (QCmap): Declare extern. | |
17975 | (make_lispy_position): When position is inside image hot-spot, | |
17976 | use hot-spot element's id as posn element. | |
17977 | ||
17978 | * lisp.h (IMAGEP): New macro to test for image object type. | |
17979 | (Qimage): Declare extern. | |
17980 | ||
17981 | * macfns.c (Qimage): Remove extern (now in lisp.h). | |
17982 | (valid_image_p, parse_image_spec): Use IMAGEP macro. | |
17983 | ||
17984 | * macterm.c (Qface, Qmouse_face): Remove unused externs. | |
17985 | ||
17986 | * w32fns.c (Qimage): Remove extern (now in lisp.h). | |
17987 | (valid_image_p, parse_image_spec): Use IMAGEP macro. | |
17988 | ||
17989 | * w32menu.c (Qmouse_click, Qevent_kind): Remove unused externs. | |
17990 | ||
17991 | * w32term.c (Qface, Qmouse_face): Remove unused externs. | |
17992 | ||
17993 | * xdisp.c (Qarrow, Qhand, Qtext, Qpointer): New variables for | |
17994 | pointer types. | |
17995 | (Qrelative_width, Qalign_to): Remove unused variables. | |
17996 | (Vvoid_text_area_pointer): Replace Vshow_text_cursor_in_void. | |
647b07d1 AS |
17997 | (QCmap, QCpointer, Qrect, Qcircle, Qpoly): New variables for image |
17998 | maps. | |
17999 | (x_y_to_hpos_vpos): Return glyph relative coordinates through new | |
18000 | dx and dy args. Remove buffer_only_p arg (always 0). Simplify | |
18001 | code accordingly. | |
204fb75e KS |
18002 | (get_glyph_string_clip_rect): Draw cursor using glyph's rather |
18003 | than row's ascent and height, to get sensible height on tall rows. | |
18004 | (build_desired_tool_bar_string): Remove Qimage extern. | |
18005 | (get_tool_bar_item): Fix call to x_y_to_hpos_vpos. | |
18006 | (produce_image_glyph): Adjust it.ascent to minimum row ascent if | |
18007 | image glyph is alone on the last line. | |
18008 | (append_glyph, append_composite_glyph, produce_image_glyph) | |
d7107586 | 18009 | (append_stretch_glyph): Set glyph's ascent and descent. |
204fb75e | 18010 | (on_hot_spot_p): New function to check if position is inside an |
d7107586 | 18011 | rectangular, circular, or polygon-shaped image hot-spot, |
204fb75e KS |
18012 | (find_hot_spot): New function to search for image hot-spot. |
18013 | (Flookup_image_map): New defun to search for image hot-spot. | |
647b07d1 AS |
18014 | (define_frame_cursor1): New aux function to determine frame |
18015 | pointer. | |
18016 | (note_mode_line_or_margin_highlight, note_mouse_highlight): Handle | |
18017 | `pointer' text property and :pointer image property to control | |
18018 | frame pointer shape. Detect image hot-spots for pointer and | |
18019 | help_echo properties. Use define_frame_cursor1. | |
18020 | (note_mouse_highlight): Use Vvoid_text_area_pointer. | |
18021 | (syms_of_xdisp): Defsubr new defun. Intern and staticpro new | |
18022 | variables. DEFVAR_LISP Vvoid_text_area_pointer instead of | |
18023 | Vshow_text_cursor_in_void. | |
204fb75e KS |
18024 | |
18025 | * xfaces.c (cache_face): Abort if c->size exceeds MAX_FACE_ID. | |
18026 | ||
18027 | * xfns.c (x_set_mouse_color): Remove bogus x_check_errors call. | |
18028 | (Qimage): Remove extern (now in lisp.h). | |
18029 | (valid_image_p, parse_image_spec): Use IMAGEP macro. | |
18030 | ||
18031 | * xmenu.c (show_help_event): Remove unused code. | |
18032 | ||
18033 | * xterm.c (Qface, Qmouse_face): Remove unused externs. | |
18034 | (x_draw_hollow_cursor): Draw cursor using glyph's rather than | |
18035 | row's ascent and descent, to get a sensible height on tall rows. | |
18036 | ||
fc052137 LT |
18037 | 2003-12-25 Luc Teirlinck <teirllm@auburn.edu> |
18038 | ||
18039 | * minibuf.c (Fcompleting_read): Undo previous change. | |
18040 | ||
a64387ee | 18041 | 2003-12-25 Lars Hansen <larsh@math.ku.dk> |
b9148500 LH |
18042 | |
18043 | * dired.c (Fdirectory_files, Fdirectory_files_and_attributes): | |
18044 | Arguments GCPRO'ed in call to file name handler. | |
18045 | ||
56ffd194 TTN |
18046 | 2003-12-25 Thien-Thi Nguyen <ttn@gnu.org> |
18047 | ||
18048 | * termcap.c (tgetst1): Scan for "%pN"; if all | |
18049 | N are continuous in [1,9], remove all "%pN". | |
18050 | ||
5202d23d JD |
18051 | 2003-12-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18052 | ||
f26fab36 JD |
18053 | * gtkutil.c (xg_frame_set_char_size): Call x_wm_set_size_hint. |
18054 | ||
5202d23d JD |
18055 | * xfaces.c (lface_fully_specified_p): Take into account that |
18056 | MAC OS always have unspecified stipple. | |
18057 | ||
8babaa59 TTN |
18058 | 2003-12-24 Thien-Thi Nguyen <ttn@gnu.org> |
18059 | ||
18060 | * tparam.c (tparam1): Add handling for `%pN', which | |
18061 | means use param N for the next substitution. | |
18062 | ||
2d176448 TTN |
18063 | 2003-12-24 Thien-Thi Nguyen <ttn@gnu.org> |
18064 | ||
18065 | * xfaces.c (Fcolor_gray_p): Fix omission bug: | |
18066 | In case `frame' is nil, consult the selected frame. | |
18067 | (Fcolor_supported_p): Likewise. | |
18068 | ||
adb0708c LT |
18069 | 2003-12-23 Luc Teirlinck <teirllm@auburn.edu> |
18070 | ||
000eeb15 LT |
18071 | * fns.c (Frandom, Fstring_make_multibyte, Fset_char_table_range): |
18072 | Doc fixes. | |
0dc72b11 LT |
18073 | |
18074 | * minibuf.c (read_minibuf): Allow INITIAL to be a cons of a string | |
18075 | and an integer. Adapt the introductory comment accordingly. | |
adb0708c LT |
18076 | (Fread_from_minibuffer): Delete code moved into read_minibuf. |
18077 | Doc fix. | |
18078 | (Fread_minibuffer, Fread_no_blanks_input): Adapt to changes in | |
18079 | read_minibuf. | |
18080 | (Fcompleting_read): Delete code moved into read_minibuf. | |
d7107586 | 18081 | (Ftest_completion): Make it handle obarrays and hash tables correctly. |
adb0708c | 18082 | |
2e4d132b KH |
18083 | 2003-12-03 Kenichi Handa <handa@m17n.org> |
18084 | ||
18085 | * coding.c (decode_coding_iso2022): Fix for preserving UTF-8 | |
18086 | encoding sequence. | |
18087 | ||
3999c705 KH |
18088 | 2003-12-01 Kenichi Handa <handa@m17n.org> |
18089 | ||
18090 | * composite.c (syms_of_composite): Don't make the compostion hash | |
18091 | table week. | |
18092 | ||
d344ecbb LT |
18093 | 2003-11-30 Luc Teirlinck <teirllm@auburn.edu> |
18094 | ||
18095 | * intervals.h: Add EXFUN for Fget_char_property_and_overlay. | |
18096 | * textprop.c (Fget_char_property_and_overlay): New function. | |
18097 | (syms_of_textprop): Defsubr it. | |
18098 | ||
03d6484e JD |
18099 | 2003-11-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18100 | ||
019b1f0e JD |
18101 | * dispnew.c (buffer_posn_from_coords): Add ifdef HAVE_WINDOW_SYSTEM |
18102 | to compile on terminal configuration. | |
18103 | ||
03d6484e JD |
18104 | * fileio.c (Fread_file_name): Check use_file_dialog also before |
18105 | calling Fx_file_dialog. | |
18106 | ||
1d1c7e75 | 18107 | * fns.c (use_file_dialog): New variable. |
03d6484e JD |
18108 | (syms_of_fns): DEFVAR_BOOL use-file-dialog. |
18109 | ||
442d3fd0 KS |
18110 | 2003-11-29 Kim F. Storm <storm@cua.dk> |
18111 | ||
18112 | * msdos.c (Qcursor_type, Qbar, Qhbar): Declare extern. | |
18113 | (syms_of_msdos): Don't intern and staticpro them. | |
18114 | ||
0f6a07a8 KS |
18115 | 2003-11-27 Kim F. Storm <storm@cua.dk> |
18116 | ||
18117 | * dispnew.c (buffer_posn_from_coords): Calculate and return pixel | |
18118 | coordinates relative to glyph at posn. If glyph is an image, | |
18119 | return that as object at posn. Callers changed. | |
18120 | (mode_line_string, marginal_area_string): Calculate and return | |
18121 | pixel coordinates relative to glyph. Callers changed. | |
18122 | ||
18123 | * dispextern.h (buffer_posn_from_coords, mode_line_string) | |
18124 | (marginal_area_string): Fix prototypes. | |
18125 | (window_box_left_offset, window_box_right_offset): Add prototypes. | |
18126 | ||
18127 | * frame.h (get_specified_cursor_type, get_window_cursor_type): | |
18128 | Remove prototypes. | |
18129 | ||
18130 | * keyboard.h (EVENT_CLICK_COUNT, POSN_SCROLLBAR_PART): Fix defines. | |
18131 | ||
18132 | * keyboard.c (make_lispy_position): Add x and y coordinates | |
18133 | relative to the current glyph as 7th element of position. | |
18134 | If glyph is an image, return it in the object element. | |
18135 | (read_key_sequence): Skip checks for keymap property in cases | |
18136 | where POSN_STRING is not a string (e.g. an image). | |
18137 | ||
18138 | * xdisp.c (Vdisplay_pixels_per_inch): New variable. | |
18139 | (Vshow_text_cursor_in_void): New variable. | |
18140 | (glyph_to_pixel_coords): Don't use negative hpos. | |
18141 | (x_y_to_hpos_vpos): Fix for partially visible first glyph. | |
18142 | (append_stretch_glyph): Change ascent arg to be actual value | |
f63fd14e | 18143 | in pixels rather than ratio to height. Callers changed. |
0f6a07a8 KS |
18144 | (calc_pixel_width_or_height): New aux function, implementing |
18145 | pixel based artihmetic for glyph widths and heights. | |
18146 | (produce_stretch_glyph): Use calc_pixel_width_or_height for | |
18147 | :width, :height, :align-to, and :ascent, thus allowing these to | |
18148 | be specified in pixels as well as multiples of characters. | |
18149 | Don't produce stretch glyphs with zero width or height. | |
18150 | (get_specified_cursor_type): Declare static. | |
18151 | (get_window_cursor_type): Declare static. Add glyph arg to be | |
18152 | able to know when cursor is on an image; always substitute | |
18153 | hollow-box cursor for filled-box cursor on images, to avoid | |
18154 | negative images and flicker when blinking the cursor. | |
5e1a6e32 | 18155 | (display_and_set_cursor): Pass glyph to get_window_cursor_type. |
0f6a07a8 KS |
18156 | (note_mode_line_or_margin_highlight): Use non-text cursor rather |
18157 | than vertical scroll-bar cursor in display margins. | |
18158 | (note_mouse_highlight): Use non-text cursor rather than text | |
18159 | cursor in fringes and over images in the text area. | |
18160 | Use non-text cursor when mouse pointer is outside editable text, | |
18161 | i.e. in the void after end-of-line or end-of-buffer; this was | |
18162 | already done for W32, but is now standard for all systems -- | |
18163 | user can toggle show-text-cursor-in-void to get old behaviour. | |
18164 | (syms_of_xdisp): DEFVAR_LISP Vshow_text_cursor_in_void and | |
18165 | Vdisplay_pixels_per_inch. | |
18166 | ||
00498bfc AS |
18167 | 2003-11-25 Andreas Schwab <schwab@suse.de> |
18168 | ||
18169 | * fns.c (internal_equal) <case Lisp_Vectorlike>: Declare size as | |
18170 | EMACS_INT to not lose bits. | |
18171 | (Ffillarray): Don't set bits beyond the size of a bool vector. | |
18172 | ||
edaa824d KS |
18173 | 2003-11-25 Kim F. Storm <storm@cua.dk> |
18174 | ||
18175 | * print.c (Fredirect_debugging_output) [!GNU_LINUX]: Do not | |
18176 | define this defun on systems that cannot use stderr as lvalue. | |
18177 | ||
74d6f539 GM |
18178 | 2003-11-24 Gerd Moellmann <gerd@gnu.org> |
18179 | ||
18180 | * s/freebsd.h (LD_SWITCH_SYSTEM_TEMACS) | |
18181 | [__FreeBSD_version >= 500042]: Define as -znocombreloc because | |
18182 | ld's default is incompatible with unexec. | |
18183 | ||
6a1ff3ba KS |
18184 | 2003-11-23 Kim F. Storm <storm@cua.dk> |
18185 | ||
63dc7c6b KS |
18186 | * window.c (enum window_loop): Add REDISPLAY_BUFFER_WINDOWS. |
18187 | (window_loop): Handle REDISPLAY_BUFFER_WINDOWS. | |
18188 | (Fforce_window_update): New defun. | |
18189 | (syms_of_window): Defsubr it. | |
18190 | (Fset_window_margins, Fset_window_fringes): Doc fix. | |
18191 | ||
6a1ff3ba KS |
18192 | * print.c (Fredirect_debugging_output): New defun. |
18193 | (syms_of_print): Defsubr it. | |
18194 | ||
aef109b7 LT |
18195 | 2003-11-22 Luc Teirlinck <teirllm@auburn.edu> |
18196 | ||
18197 | * fns.c (Fset_char_table_parent): Doc fix. | |
18198 | ||
6a1ff3ba | 18199 | 2003-11-22 Kim F. Storm <storm@cua.dk> |
63ccbe21 KS |
18200 | |
18201 | * dispnew.c (buffer_posn_from_coords): Return actual row/column | |
18202 | for glyph clicked on, rather than (unused) pixel positions. | |
18203 | (mode_line_string, marginal_area_string): Change X and Y args to | |
18204 | pointers for returning actual row/column for glyph clicked on. | |
18205 | Simplify and optimize loops. | |
18206 | ||
aef109b7 LT |
18207 | * dispextern.h (mode_line_string, marginal_area_string): |
18208 | Update prototypes. | |
63ccbe21 KS |
18209 | |
18210 | * keyboard.c (make_lispy_position): New function for generating | |
18211 | mouse click positions from frame and pixel coordinates. | |
18212 | Enhanced to return buffer position and actual row/column for | |
18213 | events outside the text area using updated mode_line_string and | |
18214 | marginal_area_string functions. | |
18215 | Return left-fringe and right-fringe clicks as such, rather than | |
18216 | clicks in text area. | |
18217 | (make_lispy_event) [USE_X_TOOLKIT, USE_GTK]: Don't call | |
18218 | pixel_to_glyph_coords, as we never use the results. | |
18219 | (make_lispy_event): Use make_lispy_position for MOUSE_CLICK_EVENT, | |
18220 | WHEEL_EVENT, and DRAG_N_DROP_EVENT to replace redundant code. | |
18221 | Eliminate unused code in WHEEL_EVENT handling. | |
18222 | (make_lispy_movement): Use make_lispy_position. | |
18223 | ||
18224 | * window.c (coordinates_in_window): Remove redundant tests. | |
18225 | Fix returned X pixel value for left-margin. | |
18226 | ||
18227 | * xdisp.c (note_mode_line_or_margin_highlight): Adapt to new | |
18228 | mode_line_string and marginal_area_string parameters. | |
18229 | ||
a64387ee | 18230 | 2003-11-22 Lars Hansen <larsh@math.ku.dk> |
930a9995 | 18231 | |
d7107586 SM |
18232 | * w32.c (struct the_group, getgrgid): Add. |
18233 | * mac.c (struct my_group, getgrgid): Add. | |
aef109b7 | 18234 | |
3dbf3426 LT |
18235 | 2003-11-21 Luc Teirlinck <teirllm@auburn.edu> |
18236 | ||
18237 | * fns.c (Fassq, Fassoc, Frassq, Frassoc): Doc fixes. | |
18238 | ||
cae8ddbb | 18239 | 2003-11-21 Lars Hansen <larsh@math.ku.dk> |
ded4064f | 18240 | |
d7107586 SM |
18241 | * dired.c (Ffile_attributes): Add parameter ID-FORMAT and |
18242 | include in call to file name handler. Optionally translate numeric | |
18243 | UID and GID to strings. Update docstring. | |
18244 | (directory_files_internal): Add parameter ID-FORMAT. | |
18245 | (Fdirectory_files_and_attributes): Add parameter ID-FORMAT and | |
18246 | include in call to file name handler and call to | |
18247 | directory_files_internal. Update Docstring. | |
18248 | (Fdirectory_files): Add dummy parameter in call to | |
18249 | directory_files_internal. | |
18250 | * lisp.h (Qinteger): Add. | |
18251 | (Qinteger_or_floatp, Qinteger_or_float_or_marker_p): Remove. | |
18252 | (Ffile_attributes): Add parameter. | |
18253 | * data.c (Qinteger): Export. | |
cae8ddbb | 18254 | |
2550b848 LT |
18255 | 2003-11-21 Luc Teirlinck <teirllm@auburn.edu> |
18256 | ||
3dbf3426 | 18257 | * fns.c (Freverse, Fnreverse): Doc fixes. |
2550b848 | 18258 | |
88380018 KS |
18259 | 2003-11-19 Kim F. Storm <storm@cua.dk> |
18260 | ||
18261 | * xdisp.c (init_iterator): Initialize it->start to position | |
18262 | before reseating (in case start position is invisible). | |
18263 | (init_to_row_start): Set it->start to row-start. | |
18264 | (redisplay_window): Accept optional_new_start if start position | |
18265 | is invisible (in which case IT_CHARPOS overshoots PT). | |
18266 | (display_line): Setup row->start from it->start (rather than | |
18267 | it->current which is wrong if first char on line is invisible). | |
18268 | When done, reseat it->start to it->current (= start of next row). | |
18269 | (expose_area): Fix exposure of text area when first char (e.g. TAB) | |
18270 | is only partially visible. | |
18271 | ||
18272 | * dispextern.h (struct it): New member start. | |
18273 | ||
854c1a59 SM |
18274 | 2003-11-17 Stefan Monnier <monnier@iro.umontreal.ca> |
18275 | ||
455316e2 SM |
18276 | * alloc.c (make_float, Fcons): Clear the markbit at init time. |
18277 | (make_float, Fcons, Fmake_symbol, allocate_misc): Move the increment | |
18278 | of block_index outside of the macro call. | |
18279 | (Fgarbage_collect): Remove null code. | |
18280 | ||
18281 | * m/amdx86-64.h: Don't redefine XPNTR. | |
18282 | ||
854c1a59 SM |
18283 | * keyboard.c (parse_modifiers, apply_modifiers): Use INTMASK instead |
18284 | of VALMASK. | |
18285 | ||
18286 | * fns.c (hashfn_eq, hashfn_eql, hashfn_equal, hash_put) | |
18287 | (sxhash_string, sxhash): Use INTMASK instead of VALMASK. | |
18288 | (maybe_resize_hash_table): Use MOST_POSITIVE_FIXNUM. | |
18289 | ||
18290 | * lisp.h (VALMASK): Only define for non-union type. | |
18291 | (MARKBIT): Remove. | |
18292 | (ARRAY_MARK_FLAG): Use previous value of MARKBIT. | |
18293 | (XTYPE): Define unconditionally. | |
18294 | (XSETTYPE): Remove one more remnant. | |
18295 | (EQ): Define differently for the union and non-union cases. | |
18296 | (INTMASK): New bit mask. | |
18297 | (struct Lisp_Marker): Move down to prepare for upcoming patch. | |
18298 | (GC_EQ): Delegate to EQ. | |
18299 | ||
18300 | * coding.c (coding_restore_composition): Lisp_Object/int mixup. | |
18301 | ||
a0c6ef2d JD |
18302 | 2003-11-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18303 | ||
18304 | * xterm.c (x_window_to_scroll_bar): Move check of display to | |
18305 | where window_id is compared. | |
18306 | ||
859492c4 KS |
18307 | 2003-11-17 Kim F. Storm <storm@cua.dk> |
18308 | ||
18309 | * dispextern.h (struct it): New member first_vpos. | |
18310 | ||
18311 | * xdisp.c (start_display): Set it->first_vpos. | |
18312 | (try_window_id): Use first_vpos to start display in first _text_ | |
18313 | line if no reusable lines at start of window with header line. | |
18314 | ||
810f2256 JD |
18315 | 2003-11-16 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18316 | ||
7c402969 | 18317 | * w32fns.c (XPutPixel): |
854c1a59 SM |
18318 | * w32bdf.c (w32_init_bdf_font): |
18319 | * sunfns.c (sel_read): | |
18320 | * process.c (Fmake_network_process): | |
18321 | * frame.c (store_frame_param): | |
18322 | * fontset.c (Fset_fontset_font): | |
18323 | * emacs.c (shut_down_emacs): | |
a64387ee | 18324 | * ccl.c (ccl_driver): Remove period at end of error message. |
7c402969 | 18325 | |
a32e9bfd JD |
18326 | * config.in: Regenerate. |
18327 | ||
810f2256 JD |
18328 | * xfns.c (x_window_to_frame, x_any_window_to_frame) |
18329 | (x_non_menubar_window_to_frame, x_menubar_window_to_frame) | |
18330 | (x_top_window_to_frame): Add Display* argument to xg_win_to_widget. | |
18331 | (x_create_bitmap_mask, xg_set_icon, create_frame_xic) | |
18332 | (xic_set_statusarea, x_window, gif_load): Formatting adjustments. | |
18333 | ||
18334 | * xterm.h (struct x_display_info): New field xg_cursor for GTK. | |
18335 | ||
18336 | * xterm.c: Add Display * to x_window_to_scroll_bar declaration. | |
18337 | (XTmouse_position, handle_one_xevent): Pass Display* to | |
18338 | x_window_to_scroll_bar. | |
18339 | (x_window_to_scroll_bar): Take a Display* argument. | |
18340 | Check that display for frame is equal to Display* argument. | |
854c1a59 | 18341 | (event_handler_gdk): Remove current_dpyinfo. Get dpyinfo from |
810f2256 JD |
18342 | x_display_info_for_display instead. Use Display in xev instead |
18343 | of GDK_DISPLAY. | |
18344 | (x_dispatch_event): Call x_display_info_for_display. | |
f63fd14e | 18345 | (XTread_socket): Move GTK part out of loop. current_dpyinfo removed. |
810f2256 JD |
18346 | (x_connection_closed): Call xg_display_close for GTK. |
18347 | (x_term_init): Call xg_display_open for additional displays. | |
18348 | Initiate dpyinfo->xg_cursor with call to xg_create_default_cursor | |
18349 | for GTK. | |
18350 | ||
18351 | * xmenu.c (single_menu_item, mouse_position_for_popup) | |
18352 | (x_activate_menubar): Formatting adjustments. | |
18353 | ||
18354 | * xdisp.c (update_tool_bar, redisplay_tool_bar): Formatting | |
18355 | adjustments. | |
18356 | ||
18357 | * gtkutil.c (xg_get_gdk_display, xg_set_screen, xg_display_open) | |
18358 | (xg_display_close, xg_create_default_cursor) | |
18359 | (xg_get_gdk_pixmap_and_mask): New functions for multiple display | |
18360 | handling. | |
854c1a59 SM |
18361 | (xg_left_ptr_cursor): Remove. |
18362 | (xg_set_cursor): Change cursor to GdkCursor*. Do not create | |
810f2256 JD |
18363 | cursor here. |
18364 | (xg_win_to_widget): Take Display* argument, call | |
18365 | gdk_xid_table_lookup_for_display. | |
18366 | (xg_create_frame_widgets, xg_get_file_name, create_menus) | |
18367 | (xg_create_widget, xg_modify_menubar_widgets): Call xg_set_screen. | |
18368 | (xg_create_widget, xg_create_scroll_bar): Use xg_cursor | |
18369 | in FRAME_X_DISPLAY_INFO. | |
18370 | (xg_get_scroll_id_for_window): Take Display* argument. | |
18371 | (update_frame_tool_bar): Call xg_get_gdk_pixmap_and_mask. | |
854c1a59 | 18372 | (xg_initialize): Remove xg_left_ptr_cursor. |
810f2256 | 18373 | |
78819ebb KS |
18374 | * gtkutil.h (xg_get_scroll_id_for_window, xg_win_to_widget): Add |
18375 | Display* argument. | |
18376 | (xg_display_open, xg_display_close, xg_create_default_cursor): Declare. | |
810f2256 | 18377 | |
0b03cc78 JD |
18378 | 2003-11-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18379 | ||
18380 | * xterm.c (x_detect_focus_change): Do not change focus frame for | |
18381 | Enter/LeaveNotify if the current focus frame has explicit focus. | |
18382 | ||
77e688fa KS |
18383 | 2003-11-14 Kim F. Storm <storm@cua.dk> |
18384 | ||
18385 | * dispnew.c (update_text_area): Fix redisplay error when hscroll | |
18386 | is active and first glyph is only partially visible. | |
854c1a59 | 18387 | |
dd429b03 KH |
18388 | 2003-11-13 Kenichi Handa <handa@m17n.org> |
18389 | ||
18390 | * xdisp.c (select_frame_for_redisplay): New function. | |
18391 | (redisplay_internal): Record also selected_frame for | |
18392 | unwind_redisplay. Call select_frame_for_redisplay before | |
18393 | redrawing each frame. | |
18394 | (unwind_redisplay): Argument changed to a cons. | |
18395 | ||
6d9266f4 LT |
18396 | 2003-11-12 Luc Teirlinck <teirllm@auburn.edu> |
18397 | ||
18398 | * fns.c (Fstring_to_multibyte): Doc fix. | |
18399 | ||
80060eb3 KH |
18400 | 2003-11-11 Kenichi Handa <handa@m17n.org> |
18401 | ||
18402 | * xterm.c (x_list_fonts): Fix excluding of auto-scaled fonts. | |
18403 | ||
74305183 JD |
18404 | 2003-11-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18405 | ||
18406 | * xfns.c (x_window): Set XtNx and XtNy in shell widget for | |
18407 | program specified positions. | |
18408 | ||
cfda993e JD |
18409 | 2003-11-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18410 | ||
18411 | * xterm.c (XAW_ARROW_SCROLLBARS): Define it for Xaw 1.5E. | |
18412 | ||
df211069 KH |
18413 | 2003-11-08 Kenichi Handa <handa@m17n.org> |
18414 | ||
18415 | * Makefile.in (lisp): Add kannada.el. | |
18416 | (shortlisp): Likewise. | |
18417 | ||
4307d534 KH |
18418 | 2003-11-07 Kenichi Handa <handa@m17n.org> |
18419 | ||
854c1a59 SM |
18420 | * coding.c (coding_allocate_composition_data): |
18421 | Reset coding->composing to COMPOSITION_NO. | |
4307d534 KH |
18422 | (coding_restore_composition): Detect invalid composition data. |
18423 | Give Fstring and Fvector a Lispy integer, not C int. | |
18424 | ||
854c1a59 SM |
18425 | 2003-11-05 Stefan Monnier <monnier@iro.umontreal.ca> |
18426 | ||
18427 | * floatfns.c (Flogb): Don't use VALMASK. | |
18428 | ||
18429 | * m/amdx86-64.h (VALBITS, XINT, XUINT): Remove. | |
18430 | * m/ia64.h (VALBITS, XINT, XUINT): Remove. | |
18431 | ||
18432 | * lisp.h (XINT): Move the cast to clarify what is going on. | |
18433 | (GCTYPEMASK, XSETTYPE): Remove. | |
18434 | (XGCTYPE): Make it an alias of XTYPE. | |
18435 | ||
d04103a1 JD |
18436 | 2003-11-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18437 | ||
18438 | * xterm.c (x_term_init): Fix formatting. | |
18439 | ||
da18b5ac JD |
18440 | 2003-11-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18441 | ||
78819ebb KS |
18442 | * gtkutil.h (xg_have_tear_offs): Declare. |
18443 | (xg_keep_popup, xg_did_tearoff): Remove. | |
da18b5ac JD |
18444 | |
18445 | * gtkutil.c: Remove variable xg_did_tearoff. | |
18446 | (xg_have_tear_offs): New function. | |
18447 | (tearoff_remove): Just decrease xg_detached_menus. | |
18448 | (tearoff_activate): Increase xg_detached_menus and call | |
18449 | tearoff_remove when tearoff is removed. | |
854c1a59 | 18450 | (xg_keep_popup): Remove function. |
da18b5ac JD |
18451 | (create_menus): Give add_tearoff_p as argument to recursive |
18452 | call to create_menus. | |
18453 | (xg_create_widget): Use variables instead of multiple | |
18454 | strcmp. Tell create_menus to create tear off only for | |
18455 | menu bar menus. | |
18456 | (xg_update_menubar): Change title for a detached menu also. | |
18457 | (xg_modify_menubar_widgets): Always call xg_update_menubar, regardless | |
18458 | of deep_p. | |
18459 | (xg_initialize): Initialize xg_detached_menus, remove | |
18460 | initialization of xg_did_tearoff. | |
18461 | ||
18462 | * xmenu.c (set_frame_menubar): For GTK, set deep_p if | |
18463 | xg_have_tear_offs returns non-zero. | |
18464 | (create_and_show_popup_menu): Remove setting of xg_did_tearoff and | |
18465 | call to xg_keep_popup. | |
18466 | ||
64d4923e AC |
18467 | 2003-11-01 Andrew Choi <akochoi@shaw.ca> |
18468 | ||
18469 | * macterm.c (XTread_socket): Handle menubar selection and grow | |
18470 | window only for mouseDown events. | |
854c1a59 | 18471 | |
6cc8bc07 JD |
18472 | 2003-10-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18473 | ||
18474 | * xterm.c (x_term_init): For GTK part, increase x_initialized | |
18475 | to check for more than one display. Use error instead of return 0. | |
18476 | ||
043131c4 AC |
18477 | 2003-10-31 Andrew Choi <akochoi@shaw.ca> |
18478 | ||
854c1a59 | 18479 | * unexmacosx.c (unrelocate): New function (contributed by Nozomu Ando). |
043131c4 AC |
18480 | (copy_dysymtab): Call it. |
18481 | ||
bdda99a1 LT |
18482 | 2003-10-31 Luc Teirlinck <teirllm@auburn.edu> |
18483 | ||
18484 | * eval.c (Fdefvaralias): Doc fix. | |
18485 | ||
800f42ff | 18486 | 2003-10-26 Luc Teirlinck <teirllm@auburn.edu> |
0d11571e LT |
18487 | |
18488 | * data.c (Fsetplist): Doc fix. | |
18489 | ||
ef35b389 LK |
18490 | 2003-10-14 Lute Kamstra <lute@gnu.org> |
18491 | ||
18492 | * window.c (Fset_window_fringes): Clarify docstring. | |
07107abc | 18493 | |
ef35b389 | 18494 | 2003-10-14 Kim F. Storm <storm@cua.dk> |
854c1a59 | 18495 | |
07107abc KS |
18496 | * window.c (Fset_window_margins): Simplify arg checking. |
18497 | ||
f7005886 RS |
18498 | 2003-10-13 Richard M. Stallman <rms@gnu.org> |
18499 | ||
18500 | * regex.c (MAX_BUF_SIZE): Reduce to 2**15. | |
18501 | (print_partial_compiled_pattern): Replace assert with a printout. | |
18502 | (skip_noops, mutually_exclusive_p): Change args, values to re_char *. | |
18503 | ||
18504 | * alloc.c (lisp_align_malloc): If BASE is 0, call memory_full. | |
18505 | ||
18506 | * window.c (Fset_window_margins): Allow only integers as args. | |
647b07d1 AS |
18507 | (syms_of_window) <special-display-buffer-names, |
18508 | special-display-regexps>: Doc fixes. | |
f7005886 | 18509 | |
9c0c2af5 LK |
18510 | 2003-10-13 Lute Kamstra <lute@gnu.org> |
18511 | ||
18512 | * window.c (Fset_window_fringes): Elaborate docstring. | |
18513 | ||
3f080e4e AC |
18514 | 2003-10-12 Andrew Choi <akochoi@shaw.ca> |
18515 | ||
854c1a59 | 18516 | * macterm.c (XTread_socket): Call DragWindow only for mouseDown events. |
a4887377 | 18517 | |
3f080e4e AC |
18518 | * s/darwin.h (GC_MARK_STACK): Define. |
18519 | ||
0aa513ed JD |
18520 | 2003-10-12 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18521 | ||
18522 | * window.c (shrink_windows): New function. | |
18523 | (size_window): Call shrink_windows to calculate window sizes when | |
18524 | shrinking frame with more than one window. | |
18525 | ||
6aa8858a KS |
18526 | 2003-10-12 Kim F. Storm <storm@cua.dk> |
18527 | ||
18528 | * xdisp.c (compute_fringe_widths): Doc fix. | |
18529 | ||
c2164d91 KH |
18530 | 2003-10-08 Kenichi Handa <handa@m17n.org> |
18531 | ||
854c1a59 | 18532 | * coding.c (Fcoding_system_p): Return t for auto-loading coding system. |
c2164d91 | 18533 | |
f82ac129 KH |
18534 | 2003-10-07 Kenichi Handa <handa@m17n.org> |
18535 | ||
18536 | * coding.c (Qcoding_system_define_form): New variable. | |
18537 | (syms_of_coding): Intern and staticpro it. | |
18538 | (Fcheck_coding_system): Try to autoload the definition of | |
18539 | CODING-SYSTEM. | |
18540 | ||
9296c947 LT |
18541 | 2003-10-05 Luc Teirlinck <teirllm@auburn.edu> |
18542 | ||
18543 | * fns.c (Frequire): Doc fix. | |
18544 | ||
c1f0671a JD |
18545 | 2003-10-05 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18546 | ||
3d8c3826 JD |
18547 | * xfns.c (Fx_send_client_event): New function as a base for |
18548 | manipulating extended window manager hints. | |
6dc15d98 | 18549 | (Fx_send_client_event): Remove unused variable s. |
3d8c3826 | 18550 | |
068ae0fd JD |
18551 | * w32term.c (w32_read_socket): Remove call to x_check_fullscreen_move, |
18552 | that function is removed. | |
18553 | ||
18554 | * xterm.c (x_set_offset): Use move_offset_left/top instead of | |
18555 | x/y_pixels_outer_diff. | |
18556 | (x_check_expected_move): Calculate move_offset_left/top. | |
18557 | ||
18558 | * xterm.h (struct x_output): New members: move_offset_top/left. | |
18559 | ||
854c1a59 | 18560 | * frame.c (x_set_frame_parameters): Remove x_fullscreen_move, |
068ae0fd JD |
18561 | call x_set_offset directly. |
18562 | ||
18563 | * frame.h (enum): FULLSCREEN_MOVE_WAIT removed. | |
18564 | ||
96f09305 JD |
18565 | * frame.c (Fdelete_frame): Free decode_mode_spec_buffer. |
18566 | ||
18567 | * xterm.c (x_delete_display): Free font names and font_encoder | |
18568 | in dpyinfo->font_table. | |
18569 | ||
854c1a59 SM |
18570 | * xfns.c (Fx_close_connection): Only call XFreeFont here. |
18571 | Move xfree of font names to x_delete_display. | |
96f09305 | 18572 | |
c1f0671a JD |
18573 | * xterm.h (struct x_display_info): New member, wm_type. |
18574 | (struct x_output): New members, expected_top/left and | |
18575 | check_expected_move. | |
18576 | ||
18577 | * xterm.c (handle_one_xevent): Reset wm_type when ReparentNotify | |
18578 | is received. | |
854c1a59 SM |
18579 | (handle_one_xevent): Rename x_check_expected_move from |
18580 | x_check_fullscreen_move. | |
5e1a6e32 | 18581 | (x_set_offset): Only add WM decoration sizes to modified_top/left |
c1f0671a | 18582 | for X_WMTYPE_A. Set check_expected_move when WM type is unknown. |
854c1a59 | 18583 | (x_check_expected_move): Rename from x_check_fullscreen_move. |
c1f0671a JD |
18584 | Removed fullscreen specific code. Use check_expected_move, |
18585 | expected_left/top instead. Also, set wm_type. | |
18586 | (x_term_init): Initialize wm_type to unknown. | |
18587 | ||
18588 | * frame.c (x_fullscreen_move): Remove addition of WM decoration | |
18589 | sizes to move_x/y. | |
18590 | ||
be2fdba9 KH |
18591 | 2003-10-03 Kenichi Handa <handa@m17n.org> |
18592 | ||
18593 | * macterm.c (x_load_font): Clear all members of FONTP before start | |
18594 | filling them. | |
18595 | ||
18596 | 2003-10-02 Kenichi Handa <handa@m17n.org> | |
18597 | ||
18598 | * fontset.c (fs_load_font): Don't set fontp->font_encoder to NULL | |
18599 | before calling find_ccl_program_func. Call find_ccl_program_func | |
18600 | only when fontp->font_encoder is not NULL. | |
18601 | ||
18602 | * xterm.c (x_load_font): Clear all members of FONTP before start | |
18603 | filling them. | |
18604 | ||
26a6e439 JPW |
18605 | 2003-10-03 John Paul Wallington <jpw@gnu.org> |
18606 | ||
18607 | * keymap.c (map_keymap): Don't abort when binding is a vector. | |
18608 | ||
0d4c2dc2 JR |
18609 | 2003-10-02 Jason Rumney <jasonr@gnu.org> |
18610 | ||
854c1a59 SM |
18611 | * makefile.w32-in (emacs.o, coding.o, bytecode.o): |
18612 | Sync dependencies with Makefile.in. | |
a63cf46f JR |
18613 | (alloca.o): Remove. |
18614 | ||
0d4c2dc2 JR |
18615 | * w32fns.c (w32_load_system_font): Clear all members of FONTP before |
18616 | filling them. | |
18617 | ||
18618 | * w32bdf.c (w32_load_bdf_font): Likewise. | |
18619 | ||
ab8f7d5c RS |
18620 | 2003-09-30 Richard M. Stallman <rms@gnu.org> |
18621 | ||
18622 | * term.c (set_tty_color_mode): Calculate current_mode_spec | |
18623 | regardless of value of VAL. | |
18624 | ||
854c1a59 | 18625 | * intervals.c (graft_intervals_into_buffer): |
ab8f7d5c RS |
18626 | Set BUF_INTERVALS (buffer)->up_obj when appropriate. |
18627 | Handle over_used when splitting UNDER. | |
18628 | ||
c6605d63 | 18629 | 2003-09-30 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp> |
ab8f7d5c RS |
18630 | |
18631 | * regex.c (regex_compile): Free the stack when returning from function. | |
18632 | ||
3413f972 KH |
18633 | 2003-09-28 Kenichi Handa <handa@m17n.org> |
18634 | ||
18635 | * fontset.c (Finternal_char_font): Change return value to | |
18636 | cons (FONT-NAME . GLYPH-CODE). | |
18637 | ||
a6eeaa81 | 18638 | 2003-09-28 Eli Zaretskii <eliz@gnu.org> |
40409f05 EZ |
18639 | |
18640 | * term.c (tty_setup_colors): Treat any negative argument as -1. | |
18641 | ||
f98ddc99 KH |
18642 | 2003-09-27 Gaute B Strokkenes <biggaute@uwc.net> (tiny change) |
18643 | ||
18644 | * process.c (send_process): Delete unused temp_buf. | |
18645 | ||
66c8f1a8 DL |
18646 | 2003-09-26 Dave Love <fx@gnu.org> |
18647 | ||
18648 | * xterm.c (x_bitmap_mask): Declare. | |
18649 | ||
ca716c26 DL |
18650 | 2003-09-25 Dave Love <fx@gnu.org> |
18651 | ||
18652 | * Makefile.in (fns.o): Depend on md5.h. | |
18653 | ||
fbe57420 KS |
18654 | 2003-09-25 Kim F. Storm <storm@cua.dk> |
18655 | ||
18656 | * window.c (set_window_buffer): Fix redisplay problems when | |
18657 | switching between buffers with different display margin widths. | |
18658 | ||
ef6ae4ff KS |
18659 | 2003-09-23 Kim F. Storm <storm@cua.dk> |
18660 | ||
18661 | * process.c (set_socket_option): Fix :bindtodevice option. | |
18662 | (Fset_network_process_option): Update process contact list when | |
18663 | setting option succeeds. | |
18664 | (Fmake_network_process): Doc fix. | |
18665 | ||
68e03c1c DL |
18666 | 2003-09-23 Dave Love <fx@gnu.org> |
18667 | ||
7146d1c1 | 18668 | * process.c (Fnetwork_interface_info): Use HAVE_STRUCT_IFREQ... macros. |
68e03c1c | 18669 | |
a6eeaa81 | 18670 | 2003-09-22 Eli Zaretskii <eliz@gnu.org> |
2f809aae EZ |
18671 | |
18672 | * term.c (set_tty_color_mode): Use INTEGERP to test whether a | |
18673 | color mode is an integer number (it could be -1). | |
18674 | ||
8fe7d8c8 RS |
18675 | 2003-09-22 Richard M. Stallman <rms@gnu.org> |
18676 | ||
18677 | * intervals.c (graft_intervals_into_buffer): Correct the main loop | |
18678 | in the case where OVER is longer than UNDER. | |
18679 | ||
2f71b5ea MY |
18680 | 2003-09-22 Masatake YAMATO <jet@gyve.org> |
18681 | ||
7146d1c1 | 18682 | * window.c (Fset_window_scroll_bars): Validate the value of |
2f71b5ea | 18683 | `vertical_type'. |
7146d1c1 | 18684 | |
0c4da023 KS |
18685 | 2003-09-21 Kim F. Storm <storm@cua.dk> |
18686 | ||
18687 | * frame.c (Vdefault_frame_scroll_bars): New variable. | |
18688 | (x_set_vertical_scroll_bars): Use it instead of hardcoded values. | |
18689 | (syms_of_frame): DEFVAR_LISP it, and initialize according to | |
18690 | window-system default scroll bar position. | |
18691 | ||
b648413b KS |
18692 | * window.c (Fwindow_scroll_bars): Doc fix. |
18693 | ||
8f5b9e34 JD |
18694 | 2003-09-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18695 | ||
854c1a59 | 18696 | * xterm.c (x_set_offset): Take window manager decorations into account. |
8f5b9e34 | 18697 | |
b0f23edf RS |
18698 | 2003-09-19 Richard M. Stallman <rms@gnu.org> |
18699 | ||
18700 | * atimer.h: Don't include lisp.h. | |
18701 | (P_): Define it here (as well as elsewhere). | |
18702 | ||
18703 | * print.c (Fprin1_to_string): Move the PRINTPREPARE | |
18704 | later, so that PRINTFINISH won't unbind Qinhibit_modification_hooks. | |
18705 | ||
18706 | * data.c (Fvariable_binding_locus): New function. | |
18707 | (syms_of_data): defsubr it. | |
18708 | (Flocal_variable_p): Delete duplicate call to indirect_variable. | |
18709 | ||
e1283999 DL |
18710 | 2003-09-18 Dave Love <fx@gnu.org> |
18711 | ||
ad5f3636 DL |
18712 | * alloc.c (GC_MALLOC_CHECK): Move conditional undef after lisp.h. |
18713 | ||
e1283999 DL |
18714 | * process.c (Fnetwork_interface_info): Fix type error. |
18715 | (Fnetwork_interface_list): Doc fix. | |
18716 | (read_process_output, read_process_output): Delete unused var. | |
18717 | ||
b8c7fd71 KS |
18718 | 2003-09-17 Kim F. Storm <storm@cua.dk> |
18719 | ||
18720 | * process.c (Fnetwork_interface_list, Fnetwork_interface_info): | |
18721 | Require HAVE_NET_IF_H and HAVE_SYS_IOCTL_H to include these fns. | |
18722 | (Fnetwork_interface_info): Check that ifreq struct has required | |
18723 | fields before accessing them; this requires that those fields are | |
18724 | defined as macros, which may be too restrictive on some platforms, | |
18725 | but it is better than failing on other platforms. | |
18726 | (syms_of_process): Only defsubr above fns when included. | |
18727 | ||
11e0a411 DL |
18728 | 2003-09-17 Dave Love <fx@gnu.org> |
18729 | ||
18730 | * unexalpha.c: Don't include varargs.h. | |
18731 | ||
e9c50801 KS |
18732 | 2003-09-17 Kim F. Storm <storm@cua.dk> |
18733 | ||
18734 | * process.c (Fset_process_sentinel): Add sentinel to childp plist | |
18735 | for network process. | |
18736 | (socket_options): Add `:' prefix to option names. Add optbit field. | |
18737 | (set_socket_option): Remove no_error arg and special handling of s < 0. | |
18738 | Return 1<<optbit for known option, 0 for unknown. | |
18739 | Do not interpret 0 as false for boolean option (only nil). | |
18740 | Pass failed option and value to report_file_error. | |
7146d1c1 | 18741 | (Fset_network_process_options): Replace by Fset_network_process_option. |
e9c50801 KS |
18742 | (Fset_network_process_option): New function to set just one option. |
18743 | (Fmake_network_process): Allow :coding arg to be a cons. | |
18744 | Allow :server arg to be an integer specifying backlog size. | |
18745 | Remove :options arg, and allow options to be specified directly | |
18746 | as :KEY, VALUE pairs. Parse these options before binding socket. | |
18747 | As before, :reuseaddr t is default for a server process, but this | |
18748 | can now be disabled by specifying :reuseaddr nil. | |
18749 | (Fnetwork_interface_info): Rename from Fget_network_interface_info. | |
18750 | (init_process): Availability of network options is now checked with | |
18751 | simpler syntax (featurep 'make-network-process :OPTION); use loop to | |
18752 | setup features. | |
18753 | (syms_of_process): Fix defsubr's for the replaced functions. | |
18754 | ||
a0fc3644 DL |
18755 | 2003-09-16 Dave Love <fx@gnu.org> |
18756 | ||
18757 | * Makefile.in: Depend on coding.h. | |
18758 | ||
6df2a645 KS |
18759 | 2003-09-14 Kim F. Storm <storm@cua.dk> |
18760 | ||
18761 | * process.c [HAVE_SOCKETS]: Include sys/ioctl.h and net/if.h. | |
18762 | (Fnetwork_interface_list, Fget_network_interface_info): New defuns. | |
18763 | (syms_of_process): Defsubr them. | |
18764 | ||
18765 | * config.in: Regenerate. | |
7146d1c1 SM |
18766 | |
18767 | 2003-09-12 Stefan Monnier <monnier@iro.umontreal.ca> | |
18768 | ||
18769 | * m/sr2k.h (XMARKBIT, XUNMARK): Remove. | |
18770 | * m/news-r6.h (XUNMARK): Remove. | |
18771 | * m/mips.h (XUNMARK): Remove. | |
18772 | * m/mips-siemens.h (XUNMARK): Remove. | |
18773 | * m/iris4d.h (XUNMARK): Remove. | |
18774 | * m/hp800.h (XMARKBIT, XUNMARK): Remove. | |
18775 | ||
0930c1a1 SM |
18776 | 2003-09-11 Stefan Monnier <monnier@iro.umontreal.ca> |
18777 | ||
31003b9e SM |
18778 | * lisp.h (VALBITS): Don't remove 1 for the markbit. |
18779 | (union Lisp_Object): Use unsigned int for types. Remove markbit. | |
18780 | (MARKBIT): Remove 1 from VALBITS so we still use same old val. | |
18781 | (XTYPE): Use unsigned right-shift. | |
18782 | (XMARKBIT, XMARK, XUNMARK): Remove. | |
18783 | ||
0930c1a1 SM |
18784 | * alloc.c (init_intervals, init_symbol, init_marker): |
18785 | Don't preallocate anything. | |
18786 | (Fgarbage_collect, mark_object): Ignore the markbit. | |
18787 | ||
18788 | * bytecode.c (mark_byte_stack, unmark_byte_stack): Ignore the markbit. | |
18789 | ||
19bb0fcd | 18790 | 2003-09-08 Lute Kamstra <lute@gnu.org> |
5df034de LK |
18791 | |
18792 | * xdisp.c (pint2hrstr): New function. | |
18793 | (decode_mode_spec): Add `%i' and `%I' specs. | |
18794 | * buffer.c (syms_of_buffer): Document `%i' and `%I' constructs | |
18795 | for `mode-line-format'. | |
18796 | ||
03bb6a06 AS |
18797 | 2003-09-07 Andreas Schwab <schwab@suse.de> |
18798 | ||
18799 | * alloc.c: Use long instead of int when casting ABLOCKS_BUSY to | |
18800 | avoid warning. | |
18801 | ||
a6eeaa81 | 18802 | 2003-09-07 Eli Zaretskii <eliz@gnu.org> |
2063d89c | 18803 | |
0930c1a1 | 18804 | * editfns.c (region_limit): Support any non-zero value of BEGINNINGP. |
2063d89c | 18805 | |
ed159bbf KS |
18806 | 2003-09-03 Kim F. Storm <storm@cua.dk> |
18807 | ||
18808 | * xdisp.c (get_window_cursor_type): Partially undo 2002-03-01 | |
18809 | change (superseded by 2002-08-30 change); the default blink-off | |
18810 | cursor is now again "no cursor". | |
18811 | ||
fe64a394 JR |
18812 | 2003-09-01 Jason Rumney <jasonr@gnu.org> |
18813 | ||
18814 | * makefile.w32-in (alloca.o): Remove. | |
18815 | (coding.o): Depend on intervals.h | |
18816 | (emacs.o, bytecode.o): Depend on window.h | |
18817 | ||
c0175e24 DL |
18818 | 2003-09-01 Dave Love <fx@gnu.org> |
18819 | ||
18820 | * Makefile.in (alloca.o): Remove commands. | |
18821 | (coding.o): Depend on intervals.h composite.h window.h. | |
18822 | (emacs.o): Depend on window.h keyboard.h keymap.h. | |
18823 | (gtkutil.o): Depend on keyboard.h charset.h coding.h. | |
18824 | (bytecode.o): Depend on window.h. | |
18825 | ||
a24d4cb2 JR |
18826 | 2003-08-31 Jason Rumney <jasonr@gnu.org> |
18827 | ||
4bc2315e JR |
18828 | * w32term.c (w32_per_char_metric): Allow cached metrics to be |
18829 | returned even when font_type is unknown. | |
18830 | ||
a24d4cb2 JR |
18831 | * xdisp.c (init_iterator): Remove old WINDOWSNT conditional. |
18832 | ||
9d35adc7 JD |
18833 | 2003-08-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18834 | ||
18835 | * xterm.c (x_term_init): Initialize new fields in x_display_info. | |
18836 | ||
18837 | * xterm.h (struct x_display_info): Add red/green/blue_bits and | |
18838 | *_offset. | |
18839 | ||
18840 | * xfns.c (lookup_rgb_color): Use new fields in x_display_info to | |
18841 | calculate pixel value. | |
18842 | ||
6f68b035 GM |
18843 | 2003-08-29 Gerd Moellmann <gerd.moellmann@t-online.de> |
18844 | ||
0930c1a1 SM |
18845 | * xdisp.c (redisplay_internal): Fix change of 2003-04-30. |
18846 | Don't tell redisplay display is accurate when it's actually been | |
18847 | paused for pending input. | |
6f68b035 | 18848 | |
4828b4d7 RS |
18849 | 2003-08-29 Richard M. Stallman <rms@gnu.org> |
18850 | ||
18851 | * dispnew.c (adjust_glyph_matrix): Call window_box | |
18852 | whenever W is nonzero. | |
18853 | ||
18854 | * data.c (Fmake_variable_buffer_local, Fmake_local_variable) | |
18855 | (Fkill_local_variable, Fmake_variable_frame_local) | |
0930c1a1 | 18856 | (Flocal_variable_p, Flocal_variable_if_set_p): |
4828b4d7 RS |
18857 | Use indirect_variable to trace thru variable aliases. |
18858 | ||
18859 | * config.in: Updated. | |
18860 | ||
18861 | * callint.c (Fcall_interactively): Save and restore | |
18862 | Vthis_command, Vthis_original_command, real_this_command, | |
18863 | and current_kboard->Vlast_command. | |
18864 | ||
18865 | * abbrev.c (Fexpand_abbrev): Insert before deleting. | |
18866 | ||
e019878d GM |
18867 | 2003-08-29 Gerd Moellmann <gerd@gnu.org> |
18868 | ||
18869 | * xfns.c (lookup_rgb_color): Handle TrueColor visuals specially. | |
18870 | ||
85478bc6 KH |
18871 | 2003-08-28 David Abrahams <dave@boost-consulting.com> (tiny change) |
18872 | ||
0930c1a1 | 18873 | * coding.c (decode_coding_iso2022): Initialize local variable c2. |
85478bc6 KH |
18874 | (decode_coding_sjis_big5): Likewise. |
18875 | ||
07ce82d3 JR |
18876 | 2003-08-27 Jason Rumney <jasonr@gnu.org> |
18877 | ||
d3703de3 JR |
18878 | * w32.c (sys_pipe): Protect against file descriptor overflow. |
18879 | ||
ee4a01d1 JR |
18880 | * w32fns.c (syms_of_w32fns): Remove non-existent functions. |
18881 | ||
07ce82d3 JR |
18882 | * w32term.c (w32_read_socket): Fix WM_MOUSEWHEEL assignment. |
18883 | ||
a64387ee | 18884 | 2003-08-26 Terje Rosten <terjeros@phys.ntnu.no> |
72d19c66 LK |
18885 | |
18886 | * xfns.c (Vgtk_version_string): New variable. | |
18887 | (syms_of_xfns): DEFVAR_LISP it. Provide gtk. | |
18888 | ||
a6eeaa81 | 18889 | 2003-08-24 Eli Zaretskii <eliz@gnu.org> |
5459e42a | 18890 | |
0930c1a1 | 18891 | * term.c (term_init): Remove `const' from buffer_size's declaration. |
3d8714e7 | 18892 | |
5459e42a EZ |
18893 | * Makefile.in (msdos.o): Depend on intervals.h. |
18894 | ||
0930c1a1 | 18895 | * msdos.c: Include intervals.h, since STRING_INTERVALS requires that. |
5459e42a | 18896 | |
231d6cfb JD |
18897 | 2003-08-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18898 | ||
18899 | * xterm.h (struct x_display_info): New fields: client_leader_window | |
18900 | and Xatom_wm_client_leader. | |
18901 | ||
18902 | * xterm.c (x_initialize): Move call to x_session_initialize to ... | |
18903 | (x_term_init): ... here. Initialize client_leader fields in dpyinfo. | |
18904 | ||
18905 | * xsmfns.c (create_client_leader_window): New function. | |
18906 | (x_session_initialize): Call create_client_leader_window, take | |
18907 | dpyinfo as argument. | |
18908 | ||
18909 | * xfns.c (Fx_create_frame): Set property WM_CLIENT_LEADER. | |
18910 | ||
18911 | * Makefile.in (xsmfns.o): Add more depenedencies. | |
18912 | ||
afa88464 DL |
18913 | 2003-08-21 Dave Love <fx@gnu.org> |
18914 | ||
18915 | * m/iris4d.h: Use _MIPS_SZLONG, not _LP64. | |
18916 | ||
f730033e KH |
18917 | 2003-08-21 Kenichi Handa <handa@m17n.org> |
18918 | ||
18919 | * term.c (term_init): Fix previous change; don't rely on the | |
18920 | length of `buffer' if TERMINFO is defined. | |
18921 | ||
6dca786c DL |
18922 | 2003-08-20 Dave Love <fx@gnu.org> |
18923 | ||
18924 | * atimer.h: Include lisp.h. | |
18925 | ||
18926 | * lisp.h (EMACS_LISP_H): New. | |
18927 | (popup_activated_flag): Don't declare. | |
18928 | ||
18929 | * alloca.c: Some merging with gnulib. Change logic and doc | |
18930 | concerning (x)malloc/(x)free -- no longer Emacs-specific. | |
18931 | [DO_BLOCK_INPUT]: Don't include lisp.h. | |
18932 | (xmalloc, xfree): Declare. | |
18933 | (malloc): Don't declare. | |
18934 | ||
0930c1a1 | 18935 | * Makefile.in (LWLIB_OPTIONS): Remove (unused). |
6dca786c DL |
18936 | (alloca.o): Remove obsolete stuff concerning alloca.s. Depend on |
18937 | atimer.h, blockinput.h. | |
18938 | ||
18939 | * alloc.c (lisp_align_malloc): Change type of `aligned'. | |
18940 | ||
78819ebb | 18941 | * alloca.s: Remove. |
6dca786c | 18942 | |
3a06a6d9 RS |
18943 | 2003-08-19 Gerd Moellmann <gerd@gnu.org> |
18944 | ||
18945 | * s/freebsd.h [__FreeBSD_version >= 400000]: Define TERMINFO, | |
18946 | use -lncurses. | |
18947 | ||
18948 | * term.c (term_init): Use a buffer of size 4096 for tgetent since | |
18949 | FreeBSD returns something longer than 2044. Abort if the end of | |
18950 | the buffer is overwritten. | |
18951 | ||
27eeee55 MB |
18952 | 2003-08-19 Miles Bader <miles@gnu.org> |
18953 | ||
18954 | * xterm.c (x_term_init): Correctly use result of Ffile_readable_p. | |
18955 | ||
2f297815 GM |
18956 | 2003-08-19 Gerd Moellmann <gerd@gnu.org> |
18957 | ||
f4446bbf GM |
18958 | * alloc.c (lisp_align_malloc): Check for memory full when |
18959 | allocating ablocks, which also avoids freeing a pointer into an | |
18960 | ablocks structure. | |
18961 | ||
18962 | * puresize.h (BASE_PURESIZE): Increase to 1100000. | |
18963 | ||
0930c1a1 | 18964 | * buffer.c (Fmove_overlay): Set overlay's next pointer unconditionally. |
2f297815 | 18965 | |
0e7d7aae RS |
18966 | 2003-08-16 Richard M. Stallman <rms@gnu.org> |
18967 | ||
18968 | * editfns.c (Fencode_time): Doc fix. | |
18969 | ||
18970 | 2003-08-16 David Ponce <david@dponce.com> | |
18971 | ||
18972 | * fileio.c (Fwrite_region): Fix conditional expression to issue | |
18973 | the right message. | |
18974 | ||
b6189c3b | 18975 | 2003-08-16 Juri Linkov <juri@jurta.org> |
0e7d7aae RS |
18976 | |
18977 | * syntax.c (Fforward_word): Argument changed to optional. | |
0930c1a1 | 18978 | Set default value to 1. |
0e7d7aae | 18979 | |
5d551295 KH |
18980 | 2003-08-15 Kenichi Handa <handa@m17n.org> |
18981 | ||
18982 | * xfaces.c (better_font_p): Prefer a real scalable font; i.e. not | |
18983 | what autoscaled. | |
18984 | (best_matching_font): Once we find a better scalable font, set | |
18985 | non_scalable_has_exact_height_p to 1. | |
18986 | (try_font_list): Call try_alternative_families to try any family | |
18987 | with the given registry. | |
18988 | ||
1661e56b AS |
18989 | 2003-08-09 Andreas Schwab <schwab@suse.de> |
18990 | ||
f29181dc AS |
18991 | * alloc.c (mark_object): Handle Lisp_Misc_Save_Value. |
18992 | ||
1661e56b AS |
18993 | * print.c (print_string): Fix printing of multibyte string with |
18994 | nontrivial printcharfun. | |
18995 | ||
465aa50a JD |
18996 | 2003-07-31 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
18997 | ||
18998 | * xfns.c (xg_set_icon): Rewrite to compile with GTK 2.0 and 2.2. | |
18999 | ||
19000 | * xterm.c (x_bitmap_icon): Return if xg_set_icon succeeds. | |
19001 | ||
e430e5ba KH |
19002 | 2003-07-31 Kenichi Handa <handa@m17n.org> |
19003 | ||
19004 | * process.c (read_process_output): Return the actually read bytes | |
19005 | instead of the result of decoding. | |
19006 | ||
97e7188e KH |
19007 | 2003-07-31 Kenichi Handa <handa@m17n.org> |
19008 | ||
19009 | * xterm.h (struct x_bitmap_record): New member have_mask. | |
19010 | ||
19011 | * xfns.c (x_create_bitmap_from_data): Initialize have_mask member | |
19012 | to 0. | |
19013 | (x_create_bitmap_from_file): Likewise. | |
19014 | (x_destroy_bitmap): Check have_mask member before freeing a mask. | |
19015 | (x_destroy_all_bitmaps): Likewise. | |
19016 | (x_create_bitmap_mask): Set have_mask member to 1. | |
19017 | ||
b53094d6 RS |
19018 | 2003-07-30 Richard M. Stallman <rms@gnu.org> |
19019 | ||
19020 | * Makefile.in (CFLAGS) [!OPTIMIZE]: Undo previous change. | |
19021 | ||
631f2082 JD |
19022 | 2003-07-29 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19023 | ||
19024 | * gtkutil.c (xg_mark_data): Update calls to mark_object. | |
19025 | ||
c855f2ca RS |
19026 | 2003-07-29 Richard M. Stallman <rms@gnu.org> |
19027 | ||
19028 | * xterm.c (xim_open_dpy, xim_initialize, xim_close_dpy): | |
19029 | Conditionalize XIM code on HAVE_XIM. | |
19030 | ||
19031 | * fns.c (Fclear_string): New function. | |
19032 | (syms_of_fns): defsubr it. | |
19033 | ||
b6189c3b | 19034 | 2003-07-28 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> |
17e6d491 | 19035 | |
0930c1a1 | 19036 | * xfns.c (xic_set_preeditarea): Add the left fringe width to spot.x. |
17e6d491 | 19037 | |
29ea8ae9 SM |
19038 | 2003-07-22 Stefan Monnier <monnier@cs.yale.edu> |
19039 | ||
19040 | * xfns.c: Don't check HAVE_PNG_H: autoconf doesn't seem to find it. | |
19041 | ||
19042 | * buffer.c (delete_all_overlays): New function. | |
19043 | * buffer.h (delete_all_overlays): Declare. | |
19044 | * coding.c (run_pre_post_conversion_on_str): | |
19045 | * print.c (temp_output_buffer_setup): | |
19046 | * fileio.c (Finsert_file_contents): | |
19047 | * minibuf.c (get_minibuffer): Use it. | |
19048 | ||
1dd7ccf2 AC |
19049 | 2003-07-22 Andrew Choi <akochoi@shaw.ca> |
19050 | ||
19051 | * unexmacosx.c (unexec_regions_sort_compare): | |
19052 | (unexec_regions_merge): New functions. Sort and merge unexec | |
19053 | regions before dumping them. | |
19054 | ||
f57bd967 DL |
19055 | 2003-07-22 Dave Love <fx@gnu.org> |
19056 | ||
19057 | * xfns.c [HAVE_PNG]: Consider both png.h and libpng/png.h. | |
19058 | ||
7cdee936 SM |
19059 | 2003-07-21 Stefan Monnier <monnier@cs.yale.edu> |
19060 | ||
19061 | * alloc.c (MARK_STRING, UNMARK_STRING, STRING_MARKED_P) | |
19062 | (GC_STRING_CHARS, string_bytes): Use ARRAY_MARK_FLAG rather than | |
19063 | MARKBIT as the gcmarkbit for strings. | |
19064 | ||
e50886d3 RS |
19065 | 2003-07-21 Richard M. Stallman <rms@gnu.org> |
19066 | ||
19067 | * s/openbsd.h (LD_SWITCH_SYSTEM_TEMACS): Add undef. | |
19068 | ||
29ea8ae9 | 19069 | * fns.c (Flocale_info): Rename from Flanginfo. Doc fixes. |
e50886d3 RS |
19070 | (syms_of_fns): Corresponding change. |
19071 | ||
19072 | * alloc.c (syms_of_alloc): Doc fixes. | |
19073 | ||
19074 | 2003-07-20 Han Boetes <han@mijncomputer.nl> (tiny change) | |
19075 | ||
19076 | * s/netbsd.h: Use -Wl syntax. | |
19077 | ||
fdc39b59 RS |
19078 | 2003-07-17 Richard M. Stallman <rms@gnu.org> |
19079 | ||
19080 | * xterm.c (xim_initialize): Redo 6/24 change. | |
19081 | ||
9c53385f SM |
19082 | 2003-07-15 Stefan Monnier <monnier@cs.yale.edu> |
19083 | ||
19084 | * buffer.c (copy_overlays): Use EMACS_INT for positions. | |
19085 | (Fswitch_to_buffer): Don't signal an error when switching to the same | |
19086 | buffer in a dedicated window. | |
19087 | ||
19088 | * alloc.c: Use bitmaps for cons, as was done for floats. | |
19089 | (init_float, init_cons): Let the normal code allocate the first block. | |
19090 | (CONS_BLOCK_SIZE): Redefine based on BLOCK_BYTES and bitmap size. | |
19091 | (CONS_BLOCK, CONS_INDEX, CONS_MARKED_P, CONS_MARK, CONS_UNMARK): | |
19092 | New macros. | |
19093 | (struct cons_block): Move conses to the beginning. Add gcmarkbits. | |
19094 | (Fcons): Use lisp_align_malloc and CONS_UNMARK. | |
19095 | (live_cons_p): Check the pointer is not past the `conses' array. | |
19096 | (mark_maybe_object, mark_maybe_pointer): Use CONS_MARKED_P. | |
19097 | (mark_object, mark_buffer): Use CONS_MARKED_P and CONS_MARK. | |
19098 | (survives_gc_p): Use CONS_MARKED_P and simplify. | |
19099 | (gc_sweep): Use CONS_MARKED_P, CONS_UNMARK, and lisp_align_free. | |
19100 | ||
dde13196 PE |
19101 | 2003-07-13 Paul Eggert <eggert@twinsun.com> |
19102 | ||
19103 | GCC 3.3 (sparc) no longer puts "int foo = 0;" into data; it | |
19104 | puts it into BSS instead, at least on Solaris 8 and 9. | |
19105 | This is a valid optimization, and it may occur on other platforms, | |
19106 | so Emacs should not assume that initializing a static variable to | |
19107 | zero puts it into data. | |
19108 | * alloc.c (pure, staticvec): | |
19109 | Initialize these arrays to nonzero, so that they're not | |
19110 | put into BSS by that optimization. | |
19111 | ||
a801bc34 SM |
19112 | 2003-07-13 Stefan Monnier <monnier@cs.yale.edu> |
19113 | ||
19114 | * alloc.c (BLOCK_PADDING): Rename from ABLOCKS_PADDING. Update users. | |
19115 | (lisp_align_malloc): Use posix_memalign is available. | |
19116 | (ABLOCKS_BASE): Use HAVE_POSIX_MEMALIGN as an optimization. | |
19117 | (STRING_BLOCK_SIZE): Rename from STRINGS_IN_STRING_BLOCK | |
19118 | for consistency. Update users. | |
19119 | ||
0c8b2afa RS |
19120 | 2003-07-13 Richard M. Stallman <rms@gnu.org> |
19121 | ||
19122 | * s/netbsd.h (START_FILES_1, END_FILES_1): Always define them. | |
19123 | ||
668c2ab0 JB |
19124 | 2003-07-13 Terje Rosten <terjeros@phys.ntnu.no> |
19125 | ||
9dd28cae | 19126 | * xterm.c (x_bitmap_icon, x_wm_set_icon_pixmap): Modify to add mask, |
668c2ab0 JB |
19127 | and use the Gtk+ function gtk_window_icon_from_file if available. |
19128 | ||
19129 | * xfns.c (x_bitmap_mask, x_create_bitmap_mask): New functions to | |
19130 | handle mask of bitmaps. | |
19131 | (x_allocate_bitmap_record, x_destroy_bitmap): Modify to handle the | |
19132 | mask property. | |
19133 | (xg_set_icon): New function, wrapper for gtk_window_icon_from_file. | |
19134 | ||
19135 | * xterm.h (xg_set_icon): New function. | |
19136 | ||
800bebe3 RS |
19137 | 2003-07-12 Paul Eggert <eggert@twinsun.com> |
19138 | ||
19139 | * unexelf.c (unexec): Consider a section to precede the .bss | |
19140 | section if its addresses overlap that of .bss. | |
19141 | ||
69e38995 RS |
19142 | 2003-07-12 Richard M. Stallman <rms@gnu.org> |
19143 | ||
19144 | * Makefile.in (CFLAGS) [!OPTIMIZE]: Set CFLAGS to -g. | |
19145 | ||
19146 | * config.in (HAVE_CRTIN): Add #undef. | |
19147 | (INLINE): Really inline only if OPTIMIZE is defined. | |
19148 | ||
19149 | * s/netbsd.h (START_FILES, LIB_STANDARD): Use START_FILES_1, | |
19150 | END_FILES_1. | |
19151 | (START_FILES_1, END_FILES_1): New macros (conditional). | |
a801bc34 | 19152 | (LD_SWITCH_SYSTEM_TEMACS): Define. |
69e38995 RS |
19153 | |
19154 | * s/openbsd.h: Don't include bsd4-3.h. | |
a801bc34 SM |
19155 | (TERMINFO): Define. |
19156 | (LIBS_TERMCAP): Define. | |
19157 | (LD_SWITCH_SYSTEM): Define (two definitions). | |
69e38995 RS |
19158 | |
19159 | * xfns.c: Include libpng/png.h instead of png.h. | |
19160 | ||
f1d0c238 AS |
19161 | 2003-07-11 Andreas Schwab <schwab@suse.de> |
19162 | ||
19163 | * buffer.c (modify_overlay): Update prototype. | |
19164 | * lisp.h (adjust_overlays_for_insert, adjust_overlays_for_delete): | |
19165 | Likewise. | |
19166 | ||
5f6bf5fe SM |
19167 | 2003-07-09 Stefan Monnier <monnier@cs.yale.edu> |
19168 | ||
19169 | * lisp.h (VALBITS): Define in terms of GCTYPEBITS. | |
19170 | (struct interval): Move to intervals.h. | |
19171 | (struct Lisp_Marker): Use EMACS_INT for position info. | |
19172 | (forward_point): Remove prototype of defunct function. | |
19173 | (Qmodification_hooks, Qrear_nonsticky, Fnext_property_change) | |
19174 | (Fget_text_property, Fset_text_properties, Ftext_propertes_not_all) | |
19175 | (syms_of_textprop, set_text_properties): Remove prototypes that are | |
19176 | already in intervals.h. | |
19177 | ||
19178 | * intervals.h (struct interval): Move from lisp.h. | |
19179 | Use EMACS_INT for position and size info. | |
19180 | ||
19181 | * coding.c: Include intervals.h for Fset_text_properties. | |
19182 | ||
19183 | * buffer.h (struct buffer_text, struct buffer): Use EMACS_INT for | |
19184 | position and length information. | |
19185 | ||
2765b457 SM |
19186 | 2003-07-09 Stefan Monnier <monnier@cs.yale.edu> |
19187 | ||
19188 | * buffer.h (struct buffer_text, struct buffer): Use EMACS_INT for | |
19189 | position and length information. | |
19190 | ||
2410d73a SM |
19191 | 2003-07-09 Stefan Monnier <monnier@cs.yale.edu> |
19192 | ||
19193 | Change overlays_after and overlays_before so the overlays themselves | |
19194 | are linked into lists, rather than using cons cells. After all each | |
19195 | Lisp_Misc already occupies 5 words, so we can add a `next' field to | |
19196 | Lisp_Overlay for free and save up one cons cell per overlay (not | |
19197 | to mention one indirection when traversing the list of overlay). | |
19198 | ||
19199 | * lisp.h (struct Lisp_Overlay): New field `next'. | |
19200 | ||
19201 | * buffer.h (struct buffer): Change overlays_before and overlays_after | |
19202 | from Lisp lists of overlays to pointers to overlays. | |
19203 | ||
19204 | * buffer.c (overlay_strings, recenter_overlay_lists): | |
19205 | Fix typo in eassert in last commit. | |
19206 | (unchain_overlay): New function. | |
19207 | (add_overlay_mod_hooklist): Use AREF. | |
19208 | (copy_overlays, reset_buffer, overlays_at, overlays_in) | |
19209 | (overlay_touches_p, overlay_strings, recenter_overlay_lists) | |
19210 | (fix_overlays_in_range, fix_overlays_before, Fmake_overlay) | |
19211 | (Fmove_overlay, Fdelete_overlay, Foverlay_lists) | |
19212 | (report_overlay_modification, evaporate_overlays, init_buffer_once): | |
19213 | Adjust to new type of overlays_(before|after). | |
19214 | ||
19215 | * alloc.c (mark_object): Mark the new `next' field of overlays. | |
19216 | (mark_buffer): Manually mark the overlays_(after|before) fields. | |
19217 | ||
19218 | * coding.c (run_pre_post_conversion_on_str): | |
19219 | * editfns.c (overlays_around): | |
19220 | * xdisp.c (load_overlay_strings): | |
19221 | * fileio.c (Finsert_file_contents): | |
19222 | * indent.c (current_column): | |
19223 | * insdel.c (signal_before_change, signal_after_change): | |
19224 | * intervals.c (set_point_both): | |
19225 | * print.c (temp_output_buffer_setup): Use new type for | |
19226 | overlays_(before|after). | |
19227 | ||
04812929 SM |
19228 | 2003-07-08 Stefan Monnier <monnier@cs.yale.edu> |
19229 | ||
19230 | * buffer.c (report_overlay_modification): Don't run hooks while | |
19231 | traversing the list of overlays. | |
19232 | ||
19233 | * buffer.h (struct buffer): Use an int for overlay_center. | |
19234 | (overlays_at, evaporate_overlays, recenter_overlay_lists) | |
19235 | (overlay_strings, fix_overlays_before): Use EMACS_INT for positions. | |
19236 | ||
19237 | * buffer.c (reset_buffer, recenter_overlay_lists) | |
19238 | (adjust_overlays_for_insert, adjust_overlays_for_delete) | |
19239 | (fix_overlays_in_range, Fmake_overlay, Fmove_overlay) | |
19240 | (evaporate_overlays, init_buffer_once): Update use of overlay_center. | |
19241 | (overlays_at, evaporate_overlays, recenter_overlay_lists) | |
19242 | (overlay_strings, fix_overlays_before): Use EMACS_INT for positions. | |
19243 | ||
19244 | * xdisp.c (fast_find_position): Remove unused var. | |
19245 | ||
19246 | * cmds.c (Qexpand_abbrev): New sym. | |
19247 | (syms_of_cmds): Initialize it. | |
19248 | (internal_self_insert): Use it to call expand-abbrev. | |
19249 | ||
2e7ecf15 KS |
19250 | 2003-07-09 Kim F. Storm <storm@cua.dk> |
19251 | ||
f9711de4 | 19252 | * xterm.c (use_xim) [!USE_XIM]: Default to disable XIM if Emacs |
2e7ecf15 | 19253 | was configured with --without-xim. |
42f81f64 | 19254 | (x_term_init) [!USE_XIM]: Use `useXIM' resource to turn on XIM. |
2e7ecf15 | 19255 | |
c6de56a0 RS |
19256 | 2003-07-07 Richard M. Stallman <rms@gnu.org> |
19257 | ||
19258 | * xdisp.c (reseat_1): Set it->area to TEXT_AREA. | |
19259 | ||
19260 | * alloc.c (Fgarbage_collect): Doc fix. | |
19261 | ||
b6189c3b | 19262 | 2003-07-07 Nozomu Ando <nand@mac.com> |
b93fb365 KH |
19263 | |
19264 | * buffer.c (Fkill_buffer): Clear charpos cache if necessary. | |
19265 | ||
bfe1a3f7 SM |
19266 | 2003-07-06 Stefan Monnier <monnier@cs.yale.edu> |
19267 | ||
04812929 SM |
19268 | * minibuf.c (read_minibuf): UNGCPRO before returning. |
19269 | (Ftry_completion, Fall_completions): Doc fix. | |
19270 | ||
bfe1a3f7 SM |
19271 | * alloc.c (live_float_p): Check that p is not past the `floats' array, |
19272 | now that `floats' is not the last element of the struct any more. | |
19273 | ||
ee79d1aa JR |
19274 | 2003-07-06 Jason Rumney <jasonr@gnu.org> |
19275 | ||
19276 | * w32term.h (ClipboardSequence_Proc): New type. | |
19277 | ||
19278 | * w32fns.c (clipboard_sequence_fn): New variable. | |
19279 | (globals_of_w32fns): Initialize it. | |
19280 | ||
19281 | * w32select.c (last_clipboard_sequence_number): New variable. | |
19282 | (Fw32_set_clipboard_data, Fw32_get_clipboard_data): Use sequence | |
19283 | number if possible. | |
19284 | ||
49723c04 SM |
19285 | 2003-07-06 Stefan Monnier <monnier@cs.yale.edu> |
19286 | ||
4698665f SM |
19287 | * m/amdx86-64.h (MARKBIT): |
19288 | * m/ia64.h (MARKBIT): Remove definition since lisp.h does not compare | |
19289 | MARKBIT and ARRAY_MARK_FLAG any more. | |
19290 | ||
19291 | * m/hp800.h (XSETMARKBIT): | |
19292 | * m/sr2k.h (XSETMARKBIT): | |
19293 | * lisp.h (XSETMARKBIT): Remove unused macro. | |
19294 | ||
49723c04 SM |
19295 | * lisp.h (mark_object): Change prototype. |
19296 | ||
19297 | * alloc.c (mark_object): Change arg *Lisp_Object -> Lisp_Object. | |
19298 | (last_marked): Change accordingly. | |
19299 | (mark_interval, mark_maybe_object, mark_maybe_pointer) | |
19300 | (Fgarbage_collect, mark_glyph_matrix, mark_face_cache, mark_image) | |
19301 | (mark_buffer): Update calls to mark_object. | |
19302 | ||
19303 | * bytecode.c (mark_byte_stack): | |
19304 | * fns.c (sweep_weak_table): | |
19305 | * keyboard.c (mark_kboards): Update calls to mark_object. | |
19306 | ||
1d660eca JR |
19307 | 2003-07-06 Jason Rumney <jasonr@gnu.org> |
19308 | ||
19309 | * alloc.c (struct ablock): Only include padding when there is some. | |
19310 | ||
618b5ae4 SM |
19311 | 2003-07-04 Stefan Monnier <monnier@cs.yale.edu> |
19312 | ||
19313 | * alloc.c (ALIGN): Add casts to simplify usage. | |
19314 | (BLOCK_ALIGN, BLOCK_BYTES, ABLOCKS_PADDING, ABLOCKS_SIZE) | |
19315 | (ABLOCKS_BYTES, ABLOCK_ABASE, ABLOCKS_BUSY, ABLOCKS_BASE): New macros. | |
19316 | (struct ablock, struct ablocks): New types. | |
19317 | (free_ablock): New global var. | |
19318 | (lisp_align_malloc, lisp_align_free): New functions. | |
19319 | (FLOAT_BLOCK_SIZE): Redefine in terms of BLOCK_BYTES. | |
19320 | (struct float_block): Reorder and add gcmarkbits. | |
19321 | (GETMARKBIT, SETMARKBIT, UNSETMARKBIT, FLOAT_BLOCK, FLOAT_INDEX) | |
19322 | (FLOAT_MARKED_P, FLOAT_MARK, FLOAT_UNMARK): New macros. | |
19323 | (init_float, make_float): Use lisp_align_malloc. | |
19324 | (free_float, live_float_p): Don't use `type' any more. | |
19325 | (make_float): Use FLOAT_UNMARK to access to mark bit. | |
19326 | (mark_maybe_object, mark_maybe_pointer, survives_gc_p): | |
19327 | Use FLOAT_MARKED_P to access the mark bit. | |
19328 | (pure_alloc): Simplify use of ALIGN. | |
19329 | (mark_object): Use FLOAT_MARK to access the mark bit. | |
19330 | (gc_sweep): Use new macros to access the float's mark bit. | |
19331 | (init_alloc_once): Init free_ablock. | |
19332 | ||
19333 | * lisp.h (struct Lisp_Float): Remove unused field `type'. | |
19334 | ||
3ef06d12 SM |
19335 | 2003-06-27 Stefan Monnier <monnier@cs.yale.edu> |
19336 | ||
19337 | * alloc.c (VECTOR_MARK, VECTOR_UNMARK, VECTOR_MARKED_P): New macros. | |
19338 | (GC_STRING_BYTES): Don't mask markbit (it's only used on `size'). | |
19339 | (allocate_buffer): Move. | |
19340 | (string_bytes): Don't mask markbit of `size_byte'. | |
19341 | (mark_maybe_object, mark_maybe_pointer, Fgarbage_collect) | |
19342 | (mark_object, mark_buffer, survives_gc_p, gc_sweep): | |
19343 | Use the `size' field of buffers (rather than the `name' field) for | |
19344 | the mark bit, as is done for all other vectorlike objects. | |
19345 | Use the new macros to access the mark bit of vectorlike objects. | |
19346 | ||
e81043aa RS |
19347 | 2003-06-26 Richard M. Stallman <rms@gnu.org> |
19348 | ||
19349 | * puresize.h (BASE_PURESIZE): Increment base size. | |
19350 | ||
19351 | * xdisp.c (fast_find_position): Enable Gerd's new definition. | |
19352 | ||
19353 | * xterm.c (xim_initialize): Undo previous change. | |
19354 | ||
2d0834cc SM |
19355 | 2003-06-26 Stefan Monnier <monnier@cs.yale.edu> |
19356 | ||
19357 | * alloc.c (survives_gc_p): Simplify. | |
19358 | ||
19359 | * buffer.c (set_buffer_internal_1): Test CONSP for lists. | |
19360 | ||
19361 | * window.c (Fset_window_dedicated_p): Simplify. | |
19362 | (display_buffer_1): Don't raise the win from which minibuf was entered. | |
19363 | (temp_output_buffer_show): Don't assume BEG == 1. Simplify. | |
19364 | (Fminibuffer_selected_window): Simplify. | |
19365 | ||
19366 | * buffer.h (struct buffer_text): Lisp_Object `markers' => Lisp_Marker. | |
19367 | ||
19368 | * lisp.h (unchain_marker): Lisp_Object arg => Lisp_Marker. | |
19369 | (struct Lisp_Marker): Lisp_Object `chain' => Lisp_Marker `next'. | |
19370 | ||
19371 | * insdel.c (check_markers, adjust_markers_for_delete) | |
19372 | (adjust_markers_for_insert, adjust_markers_for_replace) | |
19373 | (prepare_to_modify_buffer, RESTORE_VALUE): | |
19374 | * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos) | |
19375 | (Fset_marker, set_marker_restricted, set_marker_both, unchain_marker) | |
19376 | (set_marker_restricted_both, Fbuffer_has_markers_at, count_markers): | |
19377 | * alloc.c (Fmake_marker, free_marker, gc_sweep): | |
19378 | * buffer.c (Fget_buffer_create, Fkill_buffer, Fset_buffer_multibyte): | |
19379 | * editfns.c (save_excursion_restore, transpose_markers): | |
19380 | * window.c (delete_window): | |
19381 | * xdisp.c (message_dolog): Update for new types. | |
19382 | ||
d54ae3d8 JD |
19383 | 2003-06-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19384 | ||
a5f696ac JD |
19385 | * xfaces.c (set_font_frame_param): Set default_face_done_p to zero. |
19386 | (realize_default_face): Use default_face_done_p for the force_p | |
2d0834cc | 19387 | argument to set_lface_from_font_name. Set default_face_done_p to one. |
a5f696ac JD |
19388 | |
19389 | * frame.c (make_frame): Initialize default_face_done_p. | |
19390 | ||
19391 | * frame.h (struct frame): Add default_face_done_p. | |
19392 | ||
d54ae3d8 JD |
19393 | * config.in: Add XRegisterIMInstantiateCallback_arg6 so it |
19394 | will be defined. | |
19395 | ||
2336fe58 SM |
19396 | 2003-06-25 Stefan Monnier <monnier@cs.yale.edu> |
19397 | ||
19398 | * alloc.c (make_interval, Fmake_symbol, allocate_misc): | |
19399 | Initialize the new field `gcmarkbit'. | |
19400 | (mark_interval, MARK_INTERVAL_TREE): Use the new `gcmarkbit' field. | |
19401 | (mark_interval_tree): Don't mark the tree separately from the nodes. | |
19402 | (UNMARK_BALANCE_INTERVALS): Don't unmark the tree. | |
19403 | (mark_maybe_object, mark_maybe_pointer, Fgarbage_collect) | |
19404 | (mark_object, survives_gc_p, gc_sweep): Use new `gcmarkbit' fields. | |
19405 | ||
19406 | * lisp.h (struct interval, struct Lisp_Symbol, struct Lisp_Free) | |
19407 | (struct Lisp_Marker, struct Lisp_Intfwd, struct Lisp_Boolfwd) | |
19408 | (struct Lisp_Kboard_Objfwd, struct Lisp_Save_Value) | |
19409 | (struct Lisp_Buffer_Local_Value, struct Lisp_Overlay) | |
19410 | (struct Lisp_Objfwd, struct Lisp_Buffer_Objfwd): Add `gcmarkbit' field. | |
19411 | ||
bcea31c2 DL |
19412 | 2003-06-24 Dave Love <fx@gnu.org> |
19413 | ||
19414 | * xterm.c (xim_initialize): Use XRegisterIMInstantiateCallback_arg6. | |
19415 | ||
19416 | * strftime.c: Test HAVE_SYS__MBSTATE_H, not __hpux. Merge changes | |
19417 | from gnulib. | |
19418 | ||
2601f59e RS |
19419 | 2003-06-21 Richard M. Stallman <rms@gnu.org> |
19420 | ||
19421 | * fileio.c (Fwrite_region): Alternate messages | |
19422 | for append and partial write. | |
19423 | ||
19424 | * keyboard.c (read_key_sequence): When converting upcase fn key to | |
19425 | downcase, update fkey and keytran so `backspace' gets translated. | |
19426 | ||
19427 | * keyboard.c (read_avail_input): Don't signal SIGHUP in batch mode. | |
19428 | ||
19429 | * process.c (wait_reading_process_input): Don't signal SIGIO | |
19430 | in batch mode. | |
19431 | ||
b5d2c621 KH |
19432 | 2003-06-17 Kenichi Handa <handa@m17n.org> |
19433 | ||
19434 | * Makefile.in (xselect.o): Don't depend on charset.h, coding.h, | |
19435 | composite.h. | |
19436 | ||
19437 | * xselect.c: Don't include charset.h, coding.h, composite.h. | |
19438 | (Qforeign_selection): New variable. | |
19439 | (syms_of_xselect): Intern and static it. | |
19440 | (selection_data_to_lisp_data): Return a unibyte string made from | |
19441 | data with `foreign-selection' text property. | |
19442 | ||
6793bc63 SM |
19443 | 2003-06-15 Stefan Monnier <monnier@cs.yale.edu> |
19444 | ||
19445 | * termhooks.h (EVENT_INIT): New macro. | |
19446 | ||
19447 | * keyboard.c (mark_kboards): Move from alloc.c. Mark kbd_buffer. | |
19448 | ||
19449 | * alloc.c (mark_kboards): Move to keyboard.c. | |
19450 | ||
19451 | * keyboard.c (record_asynch_buffer_change, read_avail_input): | |
19452 | * xterm.c (x_dispatch_event): | |
19453 | * xmenu.c (find_and_call_menu_selection): | |
19454 | * xdisp.c (handle_tool_bar_click): | |
19455 | * w32menu.c (menubar_selection_callback): | |
19456 | * sysdep.c (kbd_input_ast, read_input_waiting): | |
19457 | * msdos.c (dos_rawgetc): | |
19458 | * macterm.c (mac_check_for_quit_char): | |
19459 | * macmenu.c (menubar_selection_callback): | |
19460 | * gtkutil.c (xg_tool_bar_callback): Don't pass uninitialized | |
19461 | data to kbd_buffer_store_event. | |
19462 | ||
b3ea810c KS |
19463 | 2003-06-15 Kim F. Storm <storm@cua.dk> |
19464 | ||
19465 | * xdisp.c (x_fix_overlapping_area): Always use area relative X | |
6793bc63 | 19466 | to fix redisplay problem with tall characters (such as \e,AC\e(B). |
b3ea810c | 19467 | |
b8f75eda KG |
19468 | 2003-06-13 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@gmx.net> |
19469 | ||
19470 | * fileio.c (Fcopy_file): Doc fix: copies file modes, too. | |
19471 | ||
ba92ce48 KH |
19472 | 2003-06-12 Kenichi Handa <handa@m17n.org> |
19473 | ||
19474 | * fileio.c (Fwrite_region): Save and restore restriction. | |
19475 | ||
b80263be DL |
19476 | 2003-06-12 Dave Love <fx@gnu.org> |
19477 | ||
19478 | * alloca.c (alloca): Declare arg as size_t. | |
19479 | ||
6793bc63 SM |
19480 | * sysdep.c: Remove redundant include of unistd.h, stdlib.h. |
19481 | Use HAVE_DECL_SYS_SIGLIST, not SYS_SIGLIST_DECLARED. | |
b80263be | 19482 | |
b23c0a83 DL |
19483 | 2003-06-11 Dave Love <fx@gnu.org> |
19484 | ||
19485 | * search.c (shrink_regexp_cache): Use xrealloc. | |
19486 | (syms_of_search): Use xmalloc. | |
19487 | ||
700e47c2 KS |
19488 | 2003-06-10 Kim F. Storm <storm@cua.dk> |
19489 | ||
19490 | * xdisp.c (phys_cursor_in_rect_p): Fix 2003-05-24 change. | |
19491 | Adjust phys_cursor.x to be relative to window box, rather than | |
19492 | text area before checking -- to ensure cursor is redrawn when | |
19493 | exposing window. | |
19494 | Note: This also fixes a similar (older) bug if display margins | |
19495 | are present. | |
19496 | ||
f11aa0b2 KH |
19497 | 2003-06-06 Kenichi Handa <handa@m17n.org> |
19498 | ||
19499 | * coding.c (encoding_buffer_size): If coding->type is | |
19500 | coding_type_ccl, double magnification on CRLF encoding. | |
19501 | ||
3d143690 JR |
19502 | 2003-06-06 Jason Rumney <jasonr@gnu.org> |
19503 | ||
19504 | * w32reg.c (SYSTEM_DEFAULT_RESOURCES): New constant. | |
19505 | (w32_get_string_resource): Try SYSTEM_DEFAULT_RESOURCES last. | |
19506 | ||
19507 | * xfaces.c (Finternal_face_x_get_resource): Do it on Windows and | |
19508 | Mac too. | |
19509 | ||
f16205ca DL |
19510 | 2003-06-05 Dave Love <fx@gnu.org> |
19511 | ||
b23c0a83 DL |
19512 | * strftime.c: Merge changes from gnulib. |
19513 | ||
f16205ca DL |
19514 | * mktime.c (__mktime_internal): Merge changes from gnulib |
19515 | involving year 69 and dst2. | |
19516 | ||
19517 | Changes to merge with gnulib version and be consistent with the | |
19518 | autoconf test: | |
19519 | ||
6793bc63 SM |
19520 | * getloadavg.c: Set NLIST_STRUCT from HAVE_NLIST_H. |
19521 | Use HAVE_STRUCT_NLIST_N_UN_N_NAME, not NLIST_NAME_UNION. | |
f16205ca DL |
19522 | [HAVE_LOCALE_H]: Include locale.h. |
19523 | (getloadavg) [HAVE_SETLOCALE]: Run sscanf in C locale. | |
19524 | ||
9b87a0bc KS |
19525 | 2003-06-05 Kim F. Storm <storm@cua.dk> |
19526 | ||
19527 | * window.c (coordinates_in_window): Convert X and Y to window | |
19528 | relative coordinates inside mode-line and header-line parts. | |
19529 | Convert X and Y to margin area relative coordinates inside left | |
19530 | and right display margin parts. | |
19531 | ||
5a8a15ec JR |
19532 | 2003-06-05 Jason Rumney <jasonr@gnu.org> |
19533 | ||
19534 | * w32fns.c (add_system_logical_colors_to_map): New function. | |
19535 | (Fx_open_connection): Use it. | |
19536 | ||
01ed8ff1 SM |
19537 | 2003-06-04 Stefan Monnier <monnier@cs.yale.edu> |
19538 | ||
19539 | * process.c (allocate_pty): Revert part of the previous patch. | |
19540 | (Faccept_process_output): Simplify. | |
19541 | ||
b427b65d JR |
19542 | 2003-06-04 Jason Rumney <jasonr@gnu.org> |
19543 | ||
19544 | * termhooks.h (enum event_kind): Remove MOUSE_WHEEL_EVENT. | |
19545 | ||
19546 | * keyboard.c (Qmouse_wheel, mouse_wheel_syms) | |
19547 | (lispy_mouse_wheel_names): Remove. | |
19548 | (syms_of_keyboard): Remove Qmouse_wheel and mouse_wheel_syms. | |
19549 | Always define drag_and_drop_syms. | |
19550 | ||
19551 | * macterm.c (XTread_socket): Map mouse wheel events to Emacs | |
19552 | WHEEL_EVENT events. | |
19553 | ||
914a8c47 SM |
19554 | 2003-06-03 Stefan Monnier <monnier@cs.yale.edu> |
19555 | ||
01ed8ff1 SM |
19556 | * xdisp.c (update_tool_bar): Add missing UNGCPRO. |
19557 | ||
914a8c47 SM |
19558 | * buffer.c (init_buffer_once): Make kill-buffer-hook permanent-local. |
19559 | ||
adcb132c JD |
19560 | 2003-06-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19561 | ||
19562 | * gtkutil.c (make_menu_item): Make sure we don't crash on a NULL | |
19563 | menu item label. | |
19564 | ||
be781fa7 RS |
19565 | 2003-06-03 Richard M. Stallman <rms@gnu.org> |
19566 | ||
19567 | * window.c (Fwindow_edges): Doc fix. | |
19568 | (Fwindow_pixel_edges, Fwindow_inside_edges) | |
19569 | (Fwindow_inside_pixel_edges): New functions. | |
19570 | (syms_of_window): defsubr them. | |
19571 | ||
19572 | * window.h (WINDOW_LEFT_FRINGE_COLS, WINDOW_RIGHT_FRINGE_COLS) | |
19573 | (WINDOW_MODE_LINE_LINES, WINDOW_HEADER_LINE_LINES): New macros. | |
19574 | ||
914a8c47 SM |
19575 | 2003-06-02 Stefan Monnier <monnier@cs.yale.edu> |
19576 | ||
19577 | * dispnew.c (Fsit_for): Don't lie about the number of args. | |
19578 | ||
5b07197a DL |
19579 | 2003-06-02 Dave Love <fx@gnu.org> |
19580 | ||
19581 | * callproc.c: Use HAVE_FCNTL_H, not USG5. | |
19582 | (syms_of_callproc) <process-environment>: Doc fix. | |
19583 | ||
19584 | * doc.c: Use HAVE_FCNTL_H, not USG5. | |
19585 | ||
19586 | * xfaces.c (font_rescale_ratio): Fix for K&R. | |
19587 | ||
19588 | * termcap.c: Use HAVE_FCNTL_H, not _POSIX_VERSION. | |
19589 | ||
19590 | * mem-limits.h: Use HAVE_SYS_RESOURCE_H, HAVE_SYS_VLIMIT_H. | |
19591 | ||
19592 | * lread.c [HAVE_FCNTL_H]: Include fcntl.h. | |
19593 | ||
19594 | * gtkutil.c: Include keyboard.h, charset.h, coding.h. | |
19595 | (xg_create_frame_widgets): Use ENCODE_UTF_8. | |
19596 | ||
d7107586 | 19597 | * xterm.c (Qutf_8): Move to coding.c |
5b07197a DL |
19598 | |
19599 | * xmenu.c (ENCODE_MENU_STRING): New. | |
19600 | (list_of_panes, list_of_items, digest_single_submenu, xmenu_show): | |
19601 | Use it. | |
19602 | ||
19603 | * coding.h (ENCODE_UTF_8): New. | |
19604 | (Qutf_8): Declare. | |
19605 | ||
19606 | * coding.c (Qutf_8): New. | |
19607 | (syms_of_coding): Intern it. | |
19608 | ||
19609 | * fns.c: Doc fixes. | |
19610 | ||
7335b336 KH |
19611 | 2003-06-02 Kenichi Handa <handa@m17n.org> |
19612 | ||
19613 | * buffer.c (Fset_buffer_multibyte): Fix previous change. | |
19614 | ||
914a8c47 SM |
19615 | 2003-06-01 Stefan Monnier <monnier@cs.yale.edu> |
19616 | ||
19617 | * lread.c (openp): Make sure STR is a string. | |
19618 | ||
9862c135 JR |
19619 | 2003-06-01 David Ponce <david@dponce.com> |
19620 | ||
cab27d04 | 19621 | * termhooks.h (enum event_kind): Add new WHEEL_EVENT event. |
9862c135 JR |
19622 | Declare MOUSE_WHEEL_EVENT only if MAC_OSX defined. |
19623 | ||
19624 | * keyboard.c (Qmouse_wheel): Declare only if MAC_OSX defined. | |
19625 | (mouse_wheel_syms, lispy_mouse_wheel_names): Likewise. | |
19626 | (discard_mouse_events): Discard WHEEL_EVENT events too. | |
19627 | (lispy_wheel_names, wheel_syms): New. | |
19628 | (syms_of_keyboard): Init and staticpro `wheel_syms'. Init and | |
cab27d04 | 19629 | staticpro `Qmouse_wheel' and `mouse_wheel_syms' only if MAC_OSX defined. |
914a8c47 | 19630 | (make_lispy_event): Add WHEEL_EVENT handler. |
9862c135 JR |
19631 | |
19632 | * w32term.c (construct_mouse_wheel): Construct WHEEL_EVENT. | |
19633 | (w32_read_socket): Map w32 WM_MOUSEWHEEL events to Emacs | |
19634 | WHEEL_EVENT events. | |
19635 | ||
f984e73e JPW |
19636 | 2003-05-31 John Paul Wallington <jpw@gnu.org> |
19637 | ||
19638 | * Makefile.in (lisp, shortlisp): byte-run, float-sup, map-ynp, and | |
19639 | timer are in lisp/emacs-lisp. | |
19640 | ||
1efcd78f KH |
19641 | 2003-05-31 Kenichi Handa <handa@m17n.org> |
19642 | ||
458c8af4 KH |
19643 | * buffer.c (Fset_buffer_multibyte): Correctly recover a narrowed |
19644 | region when a buffer is changed to unibyte. | |
19645 | ||
1efcd78f KH |
19646 | * charset.h (VALID_LEADING_CODE_P): New macro. |
19647 | (UNIBYTE_STR_AS_MULTIBYTE_P): Check more rigidly. | |
19648 | ||
778e2804 KH |
19649 | * coding.c (DECODE_EMACS_MULE_COMPOSITION_CHAR): If coding->flags |
19650 | is nonzero, accept multibyte form of eight-bit-control chars. | |
19651 | (decode_composition_emacs_mule): Likewise. | |
19652 | (decode_coding_emacs_mule): Likewise. | |
19653 | (encode_coding_emacs_mule): If coding->flags is nonzero, produce | |
19654 | multibyte form of eight-bit-control chars. | |
19655 | ||
19656 | * fileio.c (Qauto_save_coding, auto_save_coding): New variables. | |
19657 | (Finsert_file_contents): If coding-system-for-read is bound to | |
19658 | Qauto_save_coding, use the coding system emacs-mule with special | |
19659 | setting for recovering a file. | |
19660 | (choose_write_coding_system): On auto saving, use the coding | |
19661 | system emacs-mule with special setting for auto saving. | |
19662 | (syms_of_fileio) <Qauto_save_coding>: Intern and staticpro it. | |
19663 | ||
034060e4 KH |
19664 | 2003-05-30 Kenichi Handa <handa@m17n.org> |
19665 | ||
19666 | * coding.c (ccl_coding_driver): Set ccl->eight_bit_control | |
19667 | properly before calling ccl_driver. | |
19668 | ||
778e2804 | 19669 | * ccl.h (struct ccl_program) <eight_bit_control>: Comment fixed. |
034060e4 | 19670 | |
cab27d04 | 19671 | * ccl.c (CCL_WRITE_CHAR): Increment extra_bytes only when it is nonzero. |
034060e4 KH |
19672 | (ccl_driver): Initialize extra_bytes to ccl->eight_bit_control. |
19673 | (setup_ccl_program): Initialize ccl->eight_bit_control to zero. | |
19674 | ||
595f5aa5 GM |
19675 | 2003-05-29 Glenn Morris <gmorris@ast.cam.ac.uk> |
19676 | ||
19677 | * xfaces.c (realize_default_face): Do not abort if lface is | |
19678 | non-existent - reverts change from 2003-05-19. | |
19679 | ||
103e0180 KH |
19680 | 2003-05-29 Kenichi Handa <handa@m17n.org> |
19681 | ||
19682 | * coding.c (decode_coding_iso2022): Pay attention to the byte | |
19683 | sequence of CTEXT extended segment, and retain those bytes as is. | |
19684 | ||
19685 | 2003-05-28 Kenichi Handa <handa@m17n.org> | |
19686 | ||
cab27d04 | 19687 | * coding.c (ENCODE_UNSAFE_CHARACTER): Adjust for the name change |
103e0180 KH |
19688 | of CODING_REPLACEMENT_CHARACTER. |
19689 | (decode_coding_iso2022): If CODING_FLAG_ISO_SAFE, set | |
19690 | CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in coding->mode, and | |
19691 | check this flag on encoding. | |
cab27d04 SM |
19692 | (encode_coding_sjis_big5): |
19693 | Check CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag of coding->mode. | |
19694 | (Fset_terminal_coding_system_internal): | |
19695 | Set CODING_MODE_INHIBIT_UNENCODABLE_CHAR flag in terminal_coding.mode | |
19696 | instead of setting CODING_FLAG_ISO_SAFE flag in terminal_coding.flags. | |
19697 | ||
19698 | * coding.h (CODING_REPLACEMENT_CHARACTER): Rename from | |
103e0180 KH |
19699 | CODING_INHIBIT_CHARACTER_SUBSTITUTION. |
19700 | (CODING_MODE_INHIBIT_UNENCODABLE_CHAR): New macro. | |
19701 | ||
ff6a3bfb | 19702 | 2003-05-28 Richard M. Stallman <rms@gnu.org> |
45f266dc | 19703 | |
ff6a3bfb RS |
19704 | * print.c (syms_of_print) <print-escape-nonascii>: Doc fix. |
19705 | ||
19706 | * eval.c (unbind_to): Move init of this_binding to separate statement. | |
45f266dc | 19707 | |
1963c428 KS |
19708 | 2003-05-28 Kim F. Storm <storm@cua.dk> |
19709 | ||
19710 | * xdisp.c (expose_window): Fix error in calculation of | |
19711 | window relative coordinates of area to redisplay. | |
19712 | ||
2b5d4601 JR |
19713 | 2003-05-27 Jason Rumney <jasonr@gnu.org> |
19714 | ||
19715 | * w32term.c (GET_WHEEL_DELTA_WPARAM): New macro. | |
19716 | ||
1c64a4a2 JB |
19717 | 2003-05-27 David Ponce <david@dponce.com> |
19718 | ||
19719 | Handle W32 mouse wheel events as mouse click events, like in X. | |
19720 | ||
19721 | * keyboard.c (make_lispy_event) [WINDOWSNT]: Don't handle | |
19722 | MOUSE_WHEEL_EVENT anymore. | |
19723 | ||
19724 | * w32term.c (construct_mouse_wheel): Result is a MOUSE_CLICK_EVENT. | |
19725 | Scrolling down/up the mouse wheel is respectively mapped to mouse | |
19726 | button 4 and 5. | |
19727 | (w32_read_socket): Map w32 WM_MOUSEWHEEL events to Emacs | |
19728 | MOUSE_CLICK_EVENT events. Forward w32 MSH_MOUSEWHEEL events as | |
19729 | WM_MOUSEWHEEL events. | |
19730 | ||
2d031b89 AS |
19731 | 2003-05-27 Andreas Schwab <schwab@suse.de> |
19732 | ||
20464fdf AS |
19733 | * buffer.c (syms_of_buffer) <default-direction-reversed>: Doc fix. |
19734 | ||
2d031b89 AS |
19735 | * xdisp.c (try_window_id): Avoid aborting if PT is inside a |
19736 | partially visible line. | |
19737 | ||
19738 | * alloc.c (Fgarbage_collect): Fix last change. | |
19739 | ||
97bc76d4 JPW |
19740 | 2003-05-26 John Paul Wallington <jpw@gnu.org> |
19741 | ||
19742 | * xfns.c (Fx_create_frame): Don't call Qface_set_after_frame_default. | |
19743 | ||
56613f06 SM |
19744 | 2003-05-25 Stefan Monnier <monnier@cs.yale.edu> |
19745 | ||
19746 | * window.c (Fset_window_buffer): Add type of `keep_margins'. | |
19747 | (Fset_window_fringes, Fset_window_scroll_bars): Declare before use. | |
19748 | ||
19749 | * window.h (window_box_text_cols): Declare. | |
19750 | ||
19751 | * xdisp.c (window_text_bottom_y, draw_row_fringe_bitmaps) | |
19752 | (x_draw_vertical_border): Remove unused var `f'. | |
19753 | ||
19754 | * xfaces.c (build_scalable_font_name): Remove `unused var | |
19755 | pixel_size' warning. | |
19756 | ||
19757 | * xfns.c (png_load): Remove `unused vars intent, image_gamma' warning. | |
19758 | ||
19759 | * unexelf.c (unexec): Remove `unused var n' warning. | |
19760 | ||
19761 | * strftime.c (my_strftime_localtime_r): Remove `defined but | |
19762 | unused' warning. | |
19763 | ||
19764 | * process.c (allocate_pty): Remove `unused var stb' and | |
19765 | `cp might be used uninitialized' warnings. | |
19766 | ||
19767 | * dispnew.c (mode_line_string): Remove unused var `f'. | |
19768 | ||
19769 | * coding.c (find_safe_codings): Remove unused var `i'. | |
19770 | ||
19771 | * bytecode.c (Fbyte_code): Remove `unused val' warning. | |
19772 | ||
19773 | * buffer.c (Fkill_buffer): Remove unused var `list'. | |
19774 | ||
19775 | * alloc.c (Fgarbage_collect): Remove `unused var tail' warning. | |
19776 | ||
93421a1f JD |
19777 | 2003-05-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
19778 | ||
19779 | * frame.c (make_frame): Condition want_fullscreen with | |
19780 | HAVE_WINDOW_SYSTEM. | |
19781 | ||
c4b8aebc JB |
19782 | 2003-05-25 Juanma Barranquero <lektu@terra.es> |
19783 | ||
19784 | * window.c (Fset_window_scroll_bars): Fix typo in argument name. | |
19785 | (Fwindow_scroll_bars): Fix typo in docstring. | |
19786 | ||
0416870b KS |
19787 | 2003-05-24 Kim F. Storm <storm@cua.dk> |
19788 | ||
19789 | The following changes serve several purposes: | |
19790 | ||
19791 | 1) Swap the position of fringes and display margins in windows, i.e. | |
19792 | the fringes are now displayed between the margins and the text area | |
19793 | (by default). | |
19794 | ||
19795 | 2) Allow fringe and scroll bar parameters to be set per-buffer and | |
19796 | per-window (like display margins). Such settings are now stored | |
19797 | in window configurations, preserved when frames are resized, and | |
9018a88e | 19798 | copied when windows are split vertically or horizontally. |
0416870b KS |
19799 | Several bugs related to display margins have been fixed. |
19800 | ||
19801 | 3) Consistently use FRAME_FONT and FRAME_FONTSET macros. | |
9018a88e | 19802 | |
0416870b | 19803 | 4) Use FRAME_COLUMN_WIDTH (f) consistently throughout the code |
5e1a6e32 | 19804 | rather than FRAME_WIDTH (FRAME_FONT (f)). |
0416870b KS |
19805 | |
19806 | 5) Introduce a consistent naming of variables, members and macros | |
19807 | depending on whether their value is measured in pixels or in | |
19808 | canonical columns/lines. Pixel dimensions are named *_width and | |
19809 | *_height, while canonical columns/lines are named *_cols and | |
19810 | *_lines. Pixel positions are named *_x and *_y, while column/line | |
19811 | positions are named *_col and *_line. | |
19812 | ||
19813 | 6) Consolidate more of the X, W32, and MAC gui code by moving | |
19814 | common data into struct frame, and generalize it for the non-gui | |
19815 | case by using suitable defaults. | |
19816 | ||
19817 | 7) Cleanup and consolidate the macros controlling frame and window | |
19818 | layout into frame.h and window.h, and generalize the use of the | |
19819 | various window_box_* functions (enhanced to handle the new fringe | |
19820 | position and the per-window fringe and scroll bar settings). | |
19821 | ||
19822 | * frame.h (struct frame): Rename members height to text_lines, | |
19823 | width to text_cols, window_height to total_lines, window_width to | |
19824 | total_cols, new_height to new_text_lines, new_width to | |
19825 | new_text_cols. All uses changed. | |
19826 | (struct frame): New members which consolidate common members of | |
19827 | x_output, w32_output, and mac_output structures: left_pos, | |
19828 | top_pos, pixel_height, pixel_width, x_pixels_diff, y_pixels_diff, | |
19829 | win_gravity, size_hint_flags, border_width, internal_border_width, | |
19830 | line_height, fringe_cols, left_fringe_width, right_fringe_width, | |
19831 | want_fullscreen. All uses changed. | |
19832 | (struct frame): New member column_width contaning the canonical | |
19833 | column width, analogue to line_height. All uses changed. | |
19834 | (struct frame): Rename members scroll_bar_pixel_width to | |
19835 | config_scroll_bar_width, and scroll_bar_cols to | |
19836 | config_scroll_bar_cols. All uses changed. | |
19837 | (struct frame): New member scroll_bar_actual_width which | |
19838 | consolidates and renames the vertical_scroll_bar_extra member of | |
19839 | x_output, w32_output, and mac_output structures. All uses changed. | |
cab27d04 | 19840 | (FRAME_PIXEL_HEIGHT): Rename from PIXEL_HEIGHT and moved |
0416870b KS |
19841 | from x/w32/macterm.h files. All uses changed. Also change code |
19842 | which referred to f->output_data...->pixel_height. | |
cab27d04 | 19843 | (FRAME_PIXEL_WIDTH): Rename from PIXEL_WIDTH and moved |
f63fd14e | 19844 | from x/w32/macterm.h files. All uses changed. Also change code |
0416870b | 19845 | which referred to f->output_data...->pixel_width. |
cab27d04 | 19846 | (FRAME_LINES): Rename from FRAME_HEIGHT. All uses changed. |
0416870b | 19847 | Also change code which referred to f->height. |
cab27d04 | 19848 | (FRAME_COLS): Rename from FRAME_WIDTH. All uses changed. |
0416870b KS |
19849 | Also change code which referred to f->width. |
19850 | (FRAME_NEW_HEIGHT, FRAME_NEW_WIDTH): Remove macros; change uses | |
19851 | to update new_text_lines and new_text_cols members directly. | |
cab27d04 | 19852 | (FRAME_CONFIG_SCROLL_BAR_WIDTH): Rename from |
0416870b | 19853 | FRAME_SCROLL_BAR_PIXEL_WIDTH. All uses changed. |
cab27d04 | 19854 | (FRAME_CONFIG_SCROLL_BAR_COLS): Rename from |
0416870b KS |
19855 | FRAME_SCROLL_BAR_COLS. All uses changed. |
19856 | (FRAME_LEFT_SCROLL_BAR_COLS, FRAME_RIGHT_SCROLL_BAR_COLS): | |
cab27d04 | 19857 | Rename from FRAME_LEFT_SCROLL_BAR_WIDTH and |
0416870b KS |
19858 | FRAME_RIGHT_SCROLL_BAR_WIDTH, resp. All uses changed. |
19859 | (FRAME_SCROLL_BAR_AREA_WIDTH, FRAME_LEFT_SCROLL_BAR_AREA_WIDTH) | |
19860 | (FRAME_RIGHT_SCROLL_BAR_AREA_WIDTH): New macros. | |
cab27d04 SM |
19861 | (FRAME_TOTAL_COLS): Rename from FRAME_WINDOW_WIDTH. |
19862 | (SET_FRAME_COLS): Rename from SET_FRAME_WIDTH. | |
19863 | (FRAME_TOTAL_COLS_ARG): Rename from FRAME_WINDOW_WIDTH_ARG. | |
0416870b KS |
19864 | (WINDOW_VERTICAL_SCROLL_BAR_COLUMN): Remove unused macro. |
19865 | (WINDOW_VERTICAL_SCROLL_BAR_HEIGHT): Remove unused macro. | |
cab27d04 SM |
19866 | (FRAME_LINE_HEIGHT): Rename from CANON_Y_UNIT. |
19867 | Unconditionally return line_height member (it now has proper value | |
19868 | also for non-window frames). | |
19869 | (FRAME_COLUMN_WIDTH): Rename from CANON_X_UNIT. Unconditionally | |
0416870b KS |
19870 | return new column_width member (rather than the default font width). |
19871 | (FRAME_FRINGE_COLS, FRAME_LEFT_FRINGE_WIDTH) | |
cab27d04 | 19872 | (FRAME_RIGHT_FRINGE_WIDTH): Rename from FRAME_X_... and moved |
0416870b KS |
19873 | from x/w32/macterm.h files. Unconditionally return corresponding |
19874 | member of frame structure (they now have proper values also for | |
19875 | non-window frames). | |
cab27d04 | 19876 | (FRAME_TOTAL_FRINGE_WIDTH): Rename from FRAME_FRINGE_WIDTH. |
0416870b KS |
19877 | Calculate return value from left and right widths. |
19878 | (FRAME_INTERNAL_BORDER_WIDTH): Unconditionally return | |
19879 | internal_border_width member (has proper value for non-window frame). | |
cab27d04 SM |
19880 | (FRAME_PIXEL_X_FROM_CANON_X): Rename from PIXEL_X_FROM_CANON_X. |
19881 | (FRAME_PIXEL_Y_FROM_CANON_Y): Rename from PIXEL_Y_FROM_CANON_Y. | |
19882 | (FRAME_CANON_X_FROM_PIXEL_X): Rename from CANON_X_FROM_PIXEL_X. | |
19883 | (FRAME_CANON_Y_FROM_PIXEL_Y): Rename from CANON_Y_FROM_PIXEL_Y. | |
19884 | (FRAME_LINE_TO_PIXEL_Y): Rename from CHAR_TO_PIXEL_ROW, | |
0416870b | 19885 | consolidated from xterm.h, macterm.h, and w32term.h. |
cab27d04 | 19886 | (FRAME_COL_TO_PIXEL_X): Rename from CHAR_TO_PIXEL_COL, |
0416870b | 19887 | consolidated from xterm.h, macterm.h, and w32term.h. |
cab27d04 | 19888 | (FRAME_TEXT_COLS_TO_PIXEL_WIDTH): Rename from |
0416870b | 19889 | CHAR_TO_PIXEL_WIDTH consolidated from x/mac/w32term.h. |
cab27d04 | 19890 | (FRAME_TEXT_LINES_TO_PIXEL_HEIGHT): Rename from |
0416870b | 19891 | CHAR_TO_PIXEL_HEIGHT consolidated from x/mac/w32term.h. |
cab27d04 | 19892 | (FRAME_PIXEL_Y_TO_LINE): Rename from PIXEL_TO_CHAR_ROW |
0416870b | 19893 | consolidated from x/mac/w32term.h. |
cab27d04 | 19894 | (FRAME_PIXEL_X_TO_COL): Rename from PIXEL_TO_CHAR_COL |
0416870b | 19895 | consolidated from x/mac/w32term.h. |
cab27d04 | 19896 | (FRAME_PIXEL_WIDTH_TO_TEXT_COLS): Rename from |
0416870b | 19897 | PIXEL_TO_CHAR_WIDTH consolidated from x/mac/w32term.h. |
cab27d04 | 19898 | (FRAME_PIXEL_HEIGHT_TO_TEXT_LINES): Rename from |
0416870b KS |
19899 | PIXEL_TO_CHAR_HEIGHT consolidated from x/mac/w32term.h. |
19900 | ||
19901 | * window.h (struct window): Rename members left to left_col, | |
19902 | top to top_line, height to total_lines, width to total_cols, | |
19903 | left_margin_width to left_margin_cols, right_margin_width to | |
19904 | right_margin_cols, orig_height to orig_total_lines, orig_top to | |
19905 | orig_top_line. All uses changed. | |
19906 | (struct window): New members left_fringe_width, right_fringe_width, | |
19907 | fringes_outside_margins, scroll_bar_width, vertical_scroll_bar_type. | |
19908 | (WINDOW_XFRAME, WINDOW_FRAME_COLUMN_WIDTH, WINDOW_FRAME_LINE_HEIGHT): | |
19909 | New macros primarily used to simplify other macros. | |
19910 | (WINDOW_TOTAL_COLS): New macro. Change relevant code that | |
19911 | referred to XINT (w->width). | |
19912 | (WINDOW_TOTAL_LINES): New macro. Change relevant code that | |
19913 | referred to XINT (w->height). | |
19914 | (WINDOW_TOTAL_WIDTH): New macro. Change relevant code that | |
19915 | referred to XINT (w->width) * canon_x_unit. | |
19916 | (WINDOW_TOTAL_HEIGHT): New macro. Change relevant code that | |
19917 | referred to XINT (w->height) * canon_y_unit. | |
19918 | (WINDOW_LEFT_EDGE_COL): New macro. Change relevant code that | |
19919 | referred to XINT (w->left). | |
cab27d04 | 19920 | (WINDOW_RIGHT_EDGE_COL): Rename from WINDOW_RIGHT_EDGE. Change |
0416870b KS |
19921 | all uses and code that referred to XINT (w->left) + XINT (w->width). |
19922 | (WINDOW_TOP_EDGE_LINE): New macro. Change relevant code that | |
19923 | referred to XINT (w->top). | |
19924 | (WINDOW_BOTTOM_EDGE_LINE): New macro. Change relevant code that | |
19925 | referred to XINT (w->top) + XINT (w->height). | |
19926 | (WINDOW_LEFT_EDGE_X): New macro. Change relevant code that | |
19927 | referred to XINT (w->left) * canon_x_unit. | |
19928 | (WINDOW_RIGHT_EDGE_X): New macro. Change relevant code that | |
19929 | referred to (XINT (w->left) + XINT (w->width)) * canon_x_unit. | |
19930 | (WINDOW_TOP_EDGE_Y): New macro. Change relevant code that | |
19931 | referred to XINT (w->top) * canon_y_unit. | |
19932 | (WINDOW_BOTTOM_EDGE_Y): New macro. Change relevant code that | |
19933 | referred to (XINT (w->top) + XINT (w->height)) * canon_y_unit. | |
19934 | (WINDOW_LEFTMOST_P): New macro. | |
cab27d04 | 19935 | (WINDOW_BOX_LEFT_EDGE_COL): Rename from WINDOW_LEFT_MARGIN. |
0416870b | 19936 | All uses changed. |
cab27d04 | 19937 | (WINDOW_BOX_RIGHT_EDGE_COL): Rename from WINDOW_RIGHT_MARGIN. |
0416870b | 19938 | All uses changed. |
cab27d04 | 19939 | (WINDOW_BOX_LEFT_EDGE_X): Rename from |
0416870b KS |
19940 | WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X, moved from dispextern.h. |
19941 | Do not exclude left fringe width. | |
cab27d04 | 19942 | (WINDOW_BOX_RIGHT_EDGE_X): Rename from |
0416870b KS |
19943 | WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X, moved from dispextern.h. |
19944 | Do not exclude fringe widths. | |
19945 | (WINDOW_LEFT_FRINGE_WIDTH, WINDOW_RIGHT_FRINGE_WIDTH) | |
19946 | (WINDOW_FRINGE_COLS, WINDOW_TOTAL_FRINGE_WIDTH): New macros. | |
19947 | Change relevant code that referred to FRAME_LEFT_FRINGE_WIDTH, | |
19948 | FRAME_RIGHT_FRINGE_WIDTH, FRAME_FRINGE_COLS, and | |
19949 | FRAME_TOTAL_FRINGE_WIDTH to allow per-window fringe settings. | |
19950 | (WINDOW_HAS_FRINGES_OUTSIDE_MARGINS): New macro. | |
19951 | (WINDOW_VERTICAL_SCROLL_BAR_TYPE, WINDOW_HAS_VERTICAL_SCROLL_BAR) | |
19952 | (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_LEFT) | |
19953 | (WINDOW_HAS_VERTICAL_SCROLL_BAR_ON_RIGHT) | |
19954 | (WINDOW_CONFIG_SCROLL_BAR_WIDTH, WINDOW_CONFIG_SCROLL_BAR_COLS): | |
19955 | New macros. Change code which referenced corresponding | |
19956 | FRAME_VERTICAL_SCROLL_BAR_TYPE, FRAME_HAS_VERTICAL_SCROLL_BARS, | |
19957 | FRAME_HAS_VERTICAL_SCROLL_BARS_ON_LEFT, | |
19958 | FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT, | |
19959 | FRAME_SCROLL_BAR_PIXEL_WIDTH, and FRAME_SCROLL_BAR_COLS macros to | |
19960 | allow per-window scroll-bar settings. | |
19961 | (WINDOW_LEFT_SCROLL_BAR_COLS, WINDOW_RIGHT_SCROLL_BAR_COLS): New macros. | |
19962 | (WINDOW_LEFT_SCROLL_BAR_AREA_WIDTH): New macro. Change code that | |
19963 | referred to FRAME_LEFT_SCROLL_BAR_WIDTH. | |
19964 | (WINDOW_RIGHT_SCROLL_BAR_AREA_WIDTH): New macro. Change code | |
19965 | that referred to FRAME_HAS_VERTICAL_SCROLL_BARS_ON_RIGHT and | |
19966 | FRAME_SCROLL_BAR_WIDTH. | |
19967 | (WINDOW_SCROLL_BAR_COLS, WINDOW_SCROLL_BAR_AREA_WIDTH) | |
9018a88e | 19968 | (WINDOW_SCROLL_BAR_AREA_X): New macros. |
cab27d04 | 19969 | (WINDOW_HEADER_LINE_HEIGHT): Rename from |
0416870b | 19970 | WINDOW_DISPLAY_HEADER_LINE_HEIGHT, moved from dispextern.h. |
cab27d04 | 19971 | (WINDOW_BOX_HEIGHT_NO_MODE_LINE): Rename from |
0416870b | 19972 | WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE, moved from dispextern.h. |
cab27d04 | 19973 | (WINDOW_BOX_TEXT_HEIGHT): Rename from |
0416870b KS |
19974 | WINDOW_DISPLAY_PIXEL_WIDTH, moved from dispextern.h. |
19975 | (WINDOW_TO_FRAME_PIXEL_X, WINDOW_TO_FRAME_PIXEL_Y) | |
19976 | (FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y) | |
cab27d04 SM |
19977 | (WINDOW_TEXT_TO_FRAME_PIXEL_X): Move here from dispextern.h. |
19978 | (WINDOW_LEFT_MARGIN_WIDTH): Rename from | |
0416870b | 19979 | WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH, moved from dispextern.h. |
cab27d04 | 19980 | (WINDOW_RIGHT_MARGIN_WIDTH): Rename from |
0416870b KS |
19981 | WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, moved from dispextern.h. |
19982 | (window_from_coordinates): Update prototype. | |
19983 | (Fset_window_buffer): Update EXFUN. | |
19984 | (set_window_buffer): Update prototype. | |
9018a88e | 19985 | |
0416870b | 19986 | * dispextern.h (struct glyph_matrix): Rename members window_left_x |
9018a88e | 19987 | to window_left_col, window_top_y to window_top_line. All uses |
0416870b KS |
19988 | changed. |
19989 | (FRAME_INTERNAL_BORDER_WIDTH_SAFE): Remove macro; can now safely | |
19990 | use FRAME_INTERNAL_BORDER_WIDTH macro instead as | |
19991 | internal_border_width is now set to 0 for non-window frames. | |
19992 | (WINDOW_DISPLAY_PIXEL_WIDTH, WINDOW_DISPLAY_PIXEL_HEIGHT) | |
19993 | (WINDOW_DISPLAY_MODE_LINE_HEIGHT, WINDOW_DISPLAY_HEADER_LINE_HEIGHT) | |
19994 | (WINDOW_DISPLAY_HEIGHT_NO_MODE_LINE, WINDOW_DISPLAY_TEXT_HEIGHT) | |
19995 | (WINDOW_DISPLAY_LEFT_EDGE_PIXEL_X, WINDOW_DISPLAY_RIGHT_EDGE_PIXEL_X) | |
19996 | (WINDOW_DISPLAY_TOP_EDGE_PIXEL_Y, WINDOW_DISPLAY_BOTTOM_EDGE_PIXEL_Y) | |
19997 | (WINDOW_TO_FRAME_PIXEL_X, WINDOW_TO_FRAME_PIXEL_Y) | |
19998 | (FRAME_TO_WINDOW_PIXEL_X, FRAME_TO_WINDOW_PIXEL_Y) | |
19999 | (WINDOW_DISPLAY_LEFT_AREA_PIXEL_WIDTH) | |
20000 | (WINDOW_DISPLAY_RIGHT_AREA_PIXEL_WIDTH, WINDOW_WANTS_MODELINE_P): | |
9018a88e | 20001 | Move to window.h and renamed [see window.h changes]. |
0416870b KS |
20002 | (WINDOW_AREA_TO_FRAME_PIXEL_X, WINDOW_AREA_PIXEL_WIDTH) |
20003 | (WINDOW_DISPLAY_TEXT_AREA_PIXEL_WIDTH): Remove macros. | |
9018a88e SM |
20004 | (WINDOW_WANTS_MODELINE_P, WINDOW_WANTS_HEADER_LINE_P): |
20005 | Use WINDOW_TOTAL_LINES. | |
0416870b KS |
20006 | (frame_update_line_height): Remove prototype. |
20007 | ||
20008 | * buffer.h (struct buffer): Rename members measured in columns: | |
20009 | left_margin_width to left_margin_cols, right_margin_width to | |
20010 | right_margin_cols. All uses changed. | |
20011 | New members left_fringe_width, right_fringe_width, | |
20012 | fringes_outside_margins for per-buffer fringe settings. | |
20013 | New members scroll_bar_width and vertical_scroll_bar_type for | |
20014 | per-buffer scroll bar settings. | |
20015 | ||
20016 | * buffer.c (init_buffer_once): Set buffer_defaults and | |
20017 | buffer_local_flags for new buffer-local variables | |
20018 | left_fringe_width, right_fringe_width, fringes_outside_margins, | |
20019 | scroll_bar_width, and vertical_scroll_bar_type. | |
20020 | (syms_of_buffer): Defvar_per_buffer them, and defvar_lisp_nopro | |
20021 | default-* variables for them. | |
20022 | ||
20023 | * dispnew.c: Make (many) trivial substitutions for renamed and | |
20024 | new macros in dispextern.h, frame.h and window.h. | |
20025 | (mode_line_string): No need to adjust width for mode lines, as it | |
20026 | is already adjusted by the caller. | |
20027 | (marginal_area_string): Handle fringes inside/outside margins. | |
9018a88e | 20028 | |
0416870b KS |
20029 | * frame.c: Make (many) trivial substitutions for renamed and |
20030 | new macros in dispextern.h, frame.h and window.h. | |
20031 | (make_frame): Initialize left_fringe_width, right_fringe_width, | |
20032 | fringe_cols, scroll_bar_actual_width, border_width, | |
20033 | internal_border_width, column_width, line_height, x_pixels_diff, | |
20034 | y_pixels_diff, want_fullscreen, size_hint_flags, and win_gravity | |
20035 | members with values suitable for a non-window frames. | |
20036 | ||
20037 | * gtkutil.c: Make (many) trivial substitutions for renamed and | |
20038 | new macros in dispextern.h, frame.h and window.h. | |
9018a88e | 20039 | |
0416870b KS |
20040 | * indent.c: Make (few) trivial substitutions for renamed and |
20041 | new macros in dispextern.h, frame.h and window.h. | |
20042 | ||
20043 | * keyboard.c: Make (many) trivial substitutions for renamed and | |
20044 | new macros in dispextern.h, frame.h and window.h. | |
20045 | (make_lispy_event): Use window positions returned from | |
20046 | window_from_coordinates when constructing the lisp event for | |
20047 | MOUSE_CLICK_EVENT and DRAG_N_DROP_EVENT, rather than calculating | |
20048 | (incorrect) values locally. | |
20049 | (make_lispy_movement): Use window positions returned from | |
20050 | window_from_coordinates when constructing the lisp event, rather | |
20051 | than calculating (incorrect) values locally. | |
20052 | ||
20053 | * scroll.c: Make (some) trivial substitutions for renamed and | |
20054 | new macros in dispextern.h, frame.h and window.h. | |
20055 | ||
20056 | * sunfns.c (Fsun_menu_internal): Adapt to per-window fringes and | |
20057 | scroll-bars. | |
20058 | ||
20059 | * sysdep.c: Make (few) trivial substitutions for renamed and | |
20060 | new macros in dispextern.h, frame.h and window.h. | |
20061 | ||
20062 | * term.c: Make (some) trivial substitutions for renamed and | |
20063 | new macros in dispextern.h, frame.h and window.h. | |
20064 | ||
20065 | * widget.c: Make (few) trivial substitutions for renamed and | |
20066 | new macros in dispextern.h, frame.h and window.h. | |
20067 | ||
20068 | * window.c: Make (many) trivial substitutions for renamed and | |
20069 | new macros in dispextern.h, frame.h and window.h. | |
20070 | (make_window): Initialize new members | |
20071 | left_margin_cols, right_margin_cols, left_fringe_width, | |
20072 | right_fringe_width, fringes_outside_margins, scroll_bar_width, | |
20073 | and vertical_scroll_bar_type. | |
cab27d04 | 20074 | (coordinates_in_window): Adapt to new fringe/margin positions |
9018a88e | 20075 | and per-window fringes and scroll-bars. |
0416870b | 20076 | Fix bug related to incorrectly adjusting coordinates by |
9018a88e | 20077 | frame's internal_border_width (the effect normally negible since |
0416870b KS |
20078 | the internal_border_width is typically 0 or 1 pixel, but very |
20079 | noticeable for an internal_border_width of e.g. 25 pixels). | |
20080 | Upon successful return (other than ON_NOTHING), the coordinates | |
20081 | are now always properly converted to window relative for the | |
20082 | given display element. | |
20083 | (window_from_coordinates): Add new parameters wx and wy to | |
20084 | return the window relative x and y position in the returned | |
20085 | window and part. A null arg means, don't return the position. | |
20086 | All callers changed. | |
20087 | (adjust_window_margins): New function which may reduce the width | |
20088 | of the display margins if a window's text area is too small after | |
20089 | resizing or splitting windows. | |
20090 | (size_window): Fix bug that did not account for display margin | |
20091 | widths when checking the minimum width of a window; use | |
20092 | adjust_window_margins. | |
20093 | (set_window_buffer): Call Fset_window_fringes and | |
20094 | Fset_window_scroll_bars to setup per-window elements. | |
20095 | Add new arg KEEP_MARGINS_P. Non-nil means to keep window's | |
20096 | existing display margin, fringe widths, and scroll bar settings | |
9018a88e SM |
20097 | (e.g. after splitting a window or resizing the frame). |
20098 | All callers changed. | |
0416870b KS |
20099 | (Fset_window_buffer): New arg KEEP_MARGINS. All callers changed. |
20100 | (Fsplit_window): Duplicate original window's display margin, | |
20101 | fringe, and scroll-bar settings; then call Fset_window_buffer with | |
20102 | KEEP_MARGINS non-nil. This fixes a bug which caused a split | |
20103 | window to only preserve the display margins in one of the windows. | |
5e1a6e32 | 20104 | When splitting horizontally, call adjust_window_margins on both |
0416870b | 20105 | windows to ensure that the text area of the new windows is non too |
f9711de4 | 20106 | narrow. This fixes a bug which could cause Emacs to trap if the |
0416870b KS |
20107 | width of the split window was less than the width of the display |
20108 | margins. | |
cab27d04 | 20109 | (window_box_text_cols): Rename from window_internal_width. |
9018a88e | 20110 | All uses changed. Adapt to per-window fringes and scroll bars. |
0416870b KS |
20111 | Fix bug that caused vertical separator to be subtracted also on |
20112 | window frames. Fix another bug that did not reduce the returned | |
20113 | value by the columns used for display margins. | |
20114 | (window_scroll_line_based): Fix bug related to scrolling too much | |
20115 | when display margins are present (implicitly fixed by the fix to | |
20116 | window_box_text_cols). | |
20117 | (scroll_left, scroll_right): Fix bug related to scrolling too far | |
20118 | by default when display margins are present (implicitly fixed by | |
20119 | the fix to window_box_text_cols). | |
20120 | (struct saved_window): Rename members left to left_col, top to | |
20121 | top_line, width to total_cols, height to total_lines, orig_top to | |
20122 | orig_top_line, orig_height to orig_total_lines. All uses changed. | |
20123 | New members left_margin_cols, right_margin_cols, | |
20124 | left_fringe_width, right_fringe_width, fringes_outside_margins, | |
20125 | scroll_bar_width, and vertical_scroll_bar_type for saving | |
20126 | per-window display elements. | |
20127 | (Fset_window_configuration): Restore display margins, fringes, | |
20128 | and scroll bar settings. This fixes a bug which caused display | |
20129 | margins to be discarded when saving and restoring a window | |
20130 | configuration. | |
20131 | (save_window_save): Save display margins, fringes, and scroll bar | |
20132 | settings. This fixes a bug which caused display margins to be | |
20133 | discarded when saving and restoring a window configuration. | |
20134 | (Fset_window_margins): Do nothing if display margins are not | |
20135 | really changed. Otherwise, call adjust_window_margins to ensure | |
20136 | the text area doesn't get too narrow. This fixes a bug which | |
f9711de4 | 20137 | could cause Emacs to trap if setting display margins wider than |
0416870b KS |
20138 | the width of the window. |
20139 | (Fset_window_fringes): New defun to allow user to specifically set | |
20140 | this window's fringe widths and position vs. display margins. | |
cab27d04 | 20141 | (Fwindow_fringes): New defun to return window's actual fringe settings. |
0416870b KS |
20142 | (Fset_window_scroll_bars): New defun to allow user to specifically |
20143 | set this window's scroll bar width and position. | |
20144 | (Fwindow_scroll_bars): New defun to return window's actual scroll | |
20145 | bar settings. | |
20146 | (compare_window_configurations): Also compare display margins, | |
20147 | fringes, and scroll bar settings. | |
20148 | (syms_of_window): Defsubr new defuns for fringe and scroll bars. | |
20149 | ||
20150 | * xdisp.c: Make (many) trivial substitutions for renamed and | |
20151 | new macros in dispextern.h, frame.h and window.h. | |
20152 | (window_box_width): Adapt to per-window fringes and scroll bars, | |
f63fd14e | 20153 | and new fringe vs. display margin position. Note that returned |
0416870b KS |
20154 | value is no longer guaranteed to be a whole multiple of the frame |
20155 | column width, since per-window fringes may now be any width. | |
20156 | (window_box_left_offset): New function like window_box_left, but | |
20157 | value is relative to left border of window (rather than frame). | |
20158 | (window_box_right_offset): New function like window_box_right, | |
20159 | but value is relative to left border of window. | |
20160 | (window_box_left): Adapt to per-window fringes and scroll bars, | |
20161 | and new fringe vs. display margin position. Simplify by using | |
20162 | WINDOW_LEFT_EDGE_X and window_box_left_offset. | |
20163 | (window_box): Allow null args for unnecessary return values; | |
20164 | change/simplify relevant callers. | |
20165 | (x_y_to_hpos_vpos): Adapt to per-window fringes and scroll bars, | |
9018a88e SM |
20166 | and new fringe vs. display margin position. |
20167 | Use window_box_left_offset and window_box_right_offset | |
0416870b | 20168 | (get_glyph_string_clip_rect): Adapt to per-window fringes and |
9018a88e SM |
20169 | scroll bars, and new fringe vs. display margin position. |
20170 | Use WINDOW_LEFT_EDGE_X and WINDOW_TOTAL_WIDTH. | |
0416870b KS |
20171 | (draw_fringe_bitmap): Rework to handle per-window fringes and new |
20172 | fringe vs. display margin position. | |
20173 | (hscroll_window_tree): Use window_box_width instead of window_box. | |
a64387ee JB |
20174 | (redisplay_window): Adapt to per-window scroll bars. |
20175 | (draw_glyphs): Rework to handle per-window fringes and scroll | |
9018a88e SM |
20176 | bars, and new fringe vs. display margin position. |
20177 | Use WINDOW_LEFT_EDGE_X, WINDOW_TOTAL_WIDTH, and window_box_left. | |
a64387ee | 20178 | (x_clear_end_of_line): Adapt to per-window fringes and scroll |
0416870b KS |
20179 | bars, and new fringe vs. display margin position. Fix bug which |
20180 | increased total width of full_width rows by width of scroll bars | |
20181 | although window's total width already includes that. | |
20182 | (x_fix_overlapping_area): Simplify using window_box_left_offset. | |
20183 | (expose_area): Simplify using window_box_left_offset. | |
20184 | (x_draw_vertical_border): Handle per-window scroll bar settings, | |
20185 | mixing windows with left, right and no scroll bars. | |
20186 | ||
20187 | * xfaces.c [WINDOWSNT]: Move redefinition of FONT_WIDTH macro to | |
20188 | where it's used in x_list_fonts (for clarity). | |
20189 | (frame_update_line_height): Remove unused function; functionality | |
20190 | is now done directly when setting the default font in x_set_font. | |
20191 | ||
20192 | * xfns.c: Make (many) trivial substitutions for renamed and | |
20193 | new macros in dispextern.h, frame.h and window.h. | |
20194 | ||
20195 | * xmenu.c: Make (some) trivial substitutions for renamed and | |
20196 | new macros in dispextern.h, frame.h and window.h. | |
20197 | ||
20198 | * xterm.h (struct x_output): Move members left_pos, top_pos, | |
20199 | border_width, pixel_height, pixel_width, line_height, | |
20200 | internal_border_width, vertical_scroll_bar_extra, | |
20201 | left_fringe_width, right_fringe_width, fringe_cols, | |
20202 | fringes_extra, win_gravity, size_hint_flags, want_fullscreen, | |
20203 | x_pixels_diff, and y_pixels_diff to struct frame (frame.h). | |
20204 | (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h. | |
20205 | (FRAME_DEFAULT_FONT_WIDTH): Remove macro. | |
20206 | (PIXEL_WIDTH, PIXEL_HEIGHT) | |
20207 | (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) | |
cab27d04 | 20208 | (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Move to |
0416870b KS |
20209 | frame.h and renamed [see frame.h changes]. |
20210 | (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) | |
20211 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) | |
cab27d04 | 20212 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Move to frame.h |
0416870b | 20213 | and renamed [see frame.h changes]. |
9018a88e | 20214 | |
0416870b KS |
20215 | * xterm.c: Make (several) trivial substitutions for renamed and |
20216 | new macros in dispextern.h, frame.h and window.h. | |
cab27d04 | 20217 | (x_draw_glyph_string_box): Adapt to per-window fringes and scroll-bars. |
0416870b KS |
20218 | (scroll_run): Adapt to new fringe position. |
20219 | (glyph_rect): Use window coordinates returned from | |
20220 | window_from_coordinates rather than frame_to_window_pixel_xy. | |
20221 | (XTset_vertical_scroll_bar): Adapt to per-window fringes and | |
20222 | scroll-bars. | |
20223 | (handle_one_xevent): Simplify a USE_GTK conditional. | |
20224 | (x_clip_to_row): Remove superfluous whole_line_p arg and code | |
20225 | (fringes are now inside margins, i.e. always in the clipping area). | |
20226 | All callers changed. | |
20227 | (x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT | |
20228 | directly, then call compute_fringe_widths. Don't call | |
20229 | frame_update_line_height. | |
20230 | ||
20231 | * w32term.h (struct w32_output): Move members left_pos, top_pos, | |
20232 | border_width, pixel_height, pixel_width, line_height, | |
20233 | internal_border_width, vertical_scroll_bar_extra, | |
20234 | left_fringe_width, right_fringe_width, fringe_cols, | |
20235 | fringes_extra, win_gravity, size_hint_flags, want_fullscreen, | |
20236 | x_pixels_diff, and y_pixels_diff to struct frame (frame.h). | |
20237 | (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h. | |
20238 | (FRAME_DEFAULT_FONT_WIDTH): Remove macro. | |
20239 | (PIXEL_WIDTH, PIXEL_HEIGHT) | |
20240 | (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) | |
cab27d04 | 20241 | (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Move to |
0416870b KS |
20242 | frame.h and renamed [see frame.h changes]. |
20243 | (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) | |
20244 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) | |
cab27d04 | 20245 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Move to frame.h |
0416870b | 20246 | and renamed [see frame.h changes]. |
9018a88e | 20247 | |
0416870b KS |
20248 | * w32term.c: Make (several) trivial substitutions for renamed and |
20249 | new macros in dispextern.h, frame.h and window.h. | |
cab27d04 | 20250 | (x_draw_glyph_string_box): Adapt to per-window fringes and scroll-bars. |
0416870b KS |
20251 | (glyph_rect): Use window coordinates returned from |
20252 | window_from_coordinates rather than frame_to_window_pixel_xy. | |
20253 | (XTset_vertical_scroll_bar): Adapt to per-window fringes and | |
20254 | scroll-bars. | |
20255 | (w32_clip_to_row): Remove superfluous whole_line_p arg and code | |
20256 | (fringes are now inside margins, i.e. always in the clipping area). | |
20257 | All callers changed. | |
20258 | (x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT | |
20259 | directly, then call compute_fringe_widths. Don't call | |
20260 | frame_update_line_height. | |
20261 | ||
20262 | * w32console.c: Make (few) trivial substitutions for renamed and | |
20263 | new macros in dispextern.h, frame.h and window.h. | |
20264 | ||
20265 | * w32fns.c: Make (many) trivial substitutions for renamed and | |
20266 | new macros in dispextern.h, frame.h and window.h. | |
20267 | ||
20268 | * w32menu.c: Make (few) trivial substitutions for renamed and | |
20269 | new macros in dispextern.h, frame.h and window.h. | |
20270 | ||
20271 | * macterm.h (struct mac_output): Move members left_pos, top_pos, | |
20272 | border_width, pixel_height, pixel_width, line_height, | |
20273 | internal_border_width, vertical_scroll_bar_extra, | |
20274 | left_fringe_width, right_fringe_width, fringe_cols, | |
20275 | fringes_extra, win_gravity, size_hint_flags, want_fullscreen, | |
20276 | x_pixels_diff, y_pixels_diff to struct frame (frame.h). | |
20277 | (FRAME_INTERNAL_BORDER_WIDTH, FRAME_LINE_HEIGHT): Move to frame.h. | |
20278 | (FRAME_DEFAULT_FONT_WIDTH): Remove macro. | |
20279 | (PIXEL_WIDTH, PIXEL_HEIGHT) | |
20280 | (FRAME_X_FRINGE_COLS, FRAME_X_FRINGE_WIDTH) | |
cab27d04 | 20281 | (FRAME_X_LEFT_FRINGE_WIDTH, FRAME_X_RIGHT_FRINGE_WIDTH): Move to |
0416870b KS |
20282 | frame.h and renamed [see frame.h changes]. |
20283 | (CHAR_TO_PIXEL_ROW, CHAR_TO_PIXEL_COL, CHAR_TO_PIXEL_WIDTH) | |
20284 | (CHAR_TO_PIXEL_HEIGHT, PIXEL_TO_CHAR_ROW, PIXEL_TO_CHAR_COL) | |
cab27d04 | 20285 | (PIXEL_TO_CHAR_WIDTH, PIXEL_TO_CHAR_HEIGHT): Move to frame.h |
0416870b | 20286 | and renamed [see frame.h changes]. |
9018a88e | 20287 | |
0416870b KS |
20288 | * macterm.c: Make (several) trivial substitutions for renamed and |
20289 | new macros in dispextern.h, frame.h and window.h. | |
cab27d04 | 20290 | (x_draw_glyph_string_box): Adapt to per-window fringes and scroll-bars. |
0416870b KS |
20291 | (glyph_rect): Use window coordinates returned from |
20292 | window_from_coordinates rather than frame_to_window_pixel_xy. | |
20293 | (XTset_vertical_scroll_bar): Adapt to per-window fringes and | |
20294 | scroll-bars. | |
20295 | (x_clip_to_row): Remove superfluous whole_line_p arg and code | |
20296 | (fringes are now inside margins, i.e. always in the clipping area). | |
20297 | All callers changed. | |
20298 | (x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT | |
20299 | directly, then call compute_fringe_widths. Don't call | |
20300 | frame_update_line_height. | |
20301 | ||
20302 | * macfns.c: Make (several) trivial substitutions for renamed and | |
20303 | new macros in dispextern.h, frame.h and window.h. | |
9018a88e | 20304 | (x_real_positions): Set f->x_pixels_diff and f->y_pixels_diff to 0. |
0416870b KS |
20305 | |
20306 | * macmenu.c: Make (few) trivial substitutions for renamed and | |
20307 | new macros in dispextern.h, frame.h and window.h. | |
20308 | ||
20309 | * msdos.h (struct x_output): Remove members left_pos, top_pos, | |
20310 | and line_height, and use corresponding new members in struct | |
20311 | frame. All uses changed. | |
20312 | (FRAME_LINE_HEIGHT, FRAME_INTERNAL_BORDER_WIDTH): Remove macros; | |
20313 | superseeded by corresponding macros in frame.h. | |
20314 | ||
20315 | * msdos.c: Make (several) trivial substitutions for renamed and | |
20316 | new macros in dispextern.h, frame.h and window.h. | |
20317 | (IT_note_mouse_highlight): Use updated window coordinates returned | |
9018a88e | 20318 | by window_from_coordinates, rather than adjusting them locally. |
0416870b KS |
20319 | (internal_terminal_init): No need to initialize line_height here; |
20320 | it now defaults to 1. | |
20321 | ||
9018a88e SM |
20322 | 2003-05-24 Stefan Monnier <monnier@cs.yale.edu> |
20323 | ||
20324 | * keyboard.c (read_key_sequence): Adjust fkey and keytran when | |
20325 | dropping `down' events. | |
20326 | ||
016bd3c0 AS |
20327 | 2003-05-24 Andreas Schwab <schwab@suse.de> |
20328 | ||
20329 | * coding.c (find_safe_codings): Fix last change. | |
20330 | ||
4dacadcc TTN |
20331 | 2003-05-24 Istvan Marko <mi@imarko.dhs.org> (tiny change) |
20332 | ||
20333 | * xfns.c (x_window): Fix typo from 2003-05-21 change. | |
20334 | ||
319830ce SM |
20335 | 2003-05-23 Stefan Monnier <monnier@cs.yale.edu> |
20336 | ||
9018a88e SM |
20337 | * xdisp.c (display_mode_element): Increase max depth. |
20338 | Simplify the error handling code. Use a different error string | |
20339 | for the case where we hit the depth limit. | |
20340 | ||
319830ce SM |
20341 | * lisp.h (Vfundamental_mode_abbrev_table): Don't declare. |
20342 | ||
20343 | * buffer.c (reset_buffer_local_variables): Remove redundant setting. | |
20344 | ||
20345 | 2003-05-21 Stefan Monnier <monnier@cs.yale.edu> | |
20346 | ||
20347 | * intervals.c (get_local_map): Don't get char-property of previous | |
20348 | point any more: get_pos_property already does it and better. | |
20349 | ||
c67de8ba DL |
20350 | 2003-05-21 Dave Love <fx@gnu.org> |
20351 | ||
20352 | [Merged from unicode branch.] | |
20353 | ||
20354 | * xfns.c (x_window, x_window): Use use_xim. | |
20355 | ||
20356 | * xterm.c (use_xim): Initialize. | |
20357 | (xim_open_dpy, xim_initialize, xim_close_dpy): Use use_xim. | |
20358 | (x_term_init): Maybe set use_xim. | |
20359 | ||
20360 | * xterm.h (use_xim) [HAVE_X_I18N]: Declare. | |
20361 | ||
edd3ff1d JR |
20362 | 2003-05-21 Jason Rumney <jasonr@gnu.org> |
20363 | ||
20364 | * unexw32.c (_start): Remove _fmode initialization. | |
20365 | ||
20366 | * emacs.c (main) [WINDOWSNT]: Move it here. | |
20367 | ||
463f55ee DL |
20368 | 2003-05-20 Dave Love <fx@gnu.org> |
20369 | ||
20370 | * s/gnu-linux.h (MAIL_USE_FLOCK): Make it conditional. | |
20371 | ||
af253914 RS |
20372 | 2003-05-19 Richard M. Stallman <rms@gnu.org> |
20373 | ||
20374 | * xfaces.c (Finternal_set_lisp_face_attribute): Handle Qunspecified | |
20375 | as value for QCfont attribute. | |
20376 | (realize_default_face): lface should already exist; crash if not. | |
20377 | Specify 0 for FORCE_P when calling set_lface_from_font_name. | |
20378 | ||
20379 | * frame.c (Fignore_event): Doc fix. | |
20380 | ||
1d211019 KH |
20381 | 2003-05-19 Kenichi Handa <handa@m17n.org> |
20382 | ||
20383 | * coding.c (decode_coding_string): Handle post-read-conversion | |
20384 | even if the coding doesn't require decoding. | |
20385 | ||
4dd68254 RS |
20386 | 2003-05-18 Richard M. Stallman <rms@gnu.org> |
20387 | ||
20388 | * callproc.c (Fcall_process_region): Doc fix. | |
20389 | ||
14d87dc9 SM |
20390 | 2003-05-17 Stefan Monnier <monnier@cs.yale.edu> |
20391 | ||
deca5d96 SM |
20392 | * lread.c (Fload): Print a message if package is obsolete. |
20393 | ||
14d87dc9 SM |
20394 | * window.c (Fselect_window): Add optional `norecord' arg. |
20395 | (select_window_1): Fold into Fselect_window. | |
20396 | (select_window_norecord): New function. | |
20397 | (temp_output_buffer_show): Use it. Preserve current buffer. | |
20398 | ||
20399 | * window.h (Fselect_window): Update declaration. | |
20400 | ||
20401 | * window.c (delete_window, Fother_window, Fset_window_configuration): | |
20402 | * minibuf.c (read_minibuf): | |
20403 | * macterm.c (x_new_focus_frame): | |
20404 | * frame.c (do_switch_frame, Fset_frame_selected_window, Fdelete_frame): | |
20405 | * callint.c (Fcall_interactively): | |
20406 | * xterm.c (x_new_focus_frame): Pass nil as new arg to Fselect_window. | |
20407 | ||
20408 | * buffer.c (Fpop_to_buffer): Pass norecord to Fselect_window. | |
20409 | ||
78f52183 DK |
20410 | 2003-05-17 David Kastrup <dak@gnu.org> |
20411 | ||
20412 | * process.c (read_process_output): Back out change from 2003-03-09. | |
20413 | ||
14d87dc9 SM |
20414 | 2003-05-17 Stefan Monnier <monnier@cs.yale.edu> |
20415 | ||
20416 | * editfns.c (get_pos_property): Don't assume that `object' = nil. | |
20417 | ||
20418 | * textprop.c (text_property_stickiness): New arg `buffer'. | |
20419 | ||
20420 | * intervals.h (text_property_stickiness): New arg `buffer'. | |
20421 | (get_pos_property): Declare. | |
20422 | ||
20423 | * intervals.c (get_local_map): Use get_pos_property, to obey | |
20424 | stickiness and empty overlays. | |
20425 | (create_root_interval, graft_intervals_into_buffer): Use BEG. | |
20426 | (merge_properties, intervals_equal, merge_properties_sticky): | |
20427 | Use XCAR, XCDR. | |
20428 | (adjust_for_invis_intang): Pass new arg to text_property_stickiness. | |
20429 | ||
1fd1cc2f RS |
20430 | 2003-05-17 Richard M. Stallman <rms@gnu.org> |
20431 | ||
4f9f637a RS |
20432 | * minibuf.c (read_minibuf): If buffer is empty, record the default |
20433 | in the history. | |
20434 | (Fminibuffer_complete_word): When deleting the overlap, take account | |
20435 | of its real position. | |
20436 | ||
20437 | * fns.c (map_char_table): Fix previous change. | |
20438 | ||
1fd1cc2f RS |
20439 | * syntax.c (find_defun_start): |
20440 | When open_paren_in_column_0_is_defun_start, | |
20441 | return beginning of buffer. | |
20442 | ||
20443 | * lisp.h (map_char_table): Declare added arg. | |
20444 | ||
20445 | * fns.c (map_char_table): New arg TABLE gets the master table. | |
20446 | All calls changed. | |
20447 | Process default and inheritance, resorting to Faref if necessary. | |
20448 | ||
20449 | * keymap.c (Fset_keymap_parent, map_keymap, Fcopy_keymap) | |
20450 | (Faccessible_keymaps): Pass new arg to map_char_table. | |
20451 | ||
20452 | * fontset.c (Ffontset_info): Pass new arg to map_char_table. | |
20453 | ||
20454 | * casetab.c (set_case_table): Pass new arg to map_char_table. | |
20455 | ||
20456 | * data.c (let_shadows_buffer_binding_p): Make target of p volatile. | |
20457 | ||
20458 | * lisp.h (specbinding_func): New typedef. | |
20459 | (struct specbinding): Use specbinding_func, to put the `volatile' | |
20460 | in the right place. | |
20461 | ||
20462 | * alloc.c (Fgarbage_collect): Cast pointers into specpdl | |
20463 | to avoid GCC warning. | |
14d87dc9 | 20464 | |
b6189c3b | 20465 | 2003-05-16 Ralph Schleicher <rs@nunatak.allgaeu.org> |
b4bd27c5 | 20466 | |
14d87dc9 | 20467 | * fileio.c (Fdelete_file): Handle symlinks pointing to directories. |
b4bd27c5 | 20468 | |
35fb885d SM |
20469 | 2003-05-15 Stefan Monnier <monnier@cs.yale.edu> |
20470 | ||
20471 | * keyboard.c (apply_modifiers): Don't fill the other cache. | |
20472 | ||
9a274fbd SM |
20473 | 2003-05-14 Stefan Monnier <monnier@cs.yale.edu> |
20474 | ||
c55b5fad SM |
20475 | * .gdbinit-union: New file, for USE_LISP_UNION_TYPE users. |
20476 | ||
9a274fbd SM |
20477 | * window.h (Qwindowp, Qwindow_live_p, Vwindow_list) |
20478 | (Fwindow_end, Fselected_window, Fdelete_window, Fwindow_buffer) | |
20479 | (Fget_buffer_window, Fsave_window_excursion, Fsplit_window) | |
20480 | (Fset_window_configuration, Fcurrent_window_configuration) | |
20481 | (compare_window_configurations, Fcoordinates_in_window_p, Fwindow_at) | |
20482 | (Fpos_visible_in_window_p, mark_window_cursors_off) | |
20483 | (window_internal_height, window_internal_width, Frecenter) | |
20484 | (Fscroll_other_window, Fset_window_start, temp_output_buffer_show) | |
20485 | (replace_buffer_in_all_windows, init_window_once, init_window) | |
20486 | (syms_of_window, keys_of_window): Move from lisp.h. | |
20487 | * lisp.h: Move window.c declarations to window.h. | |
20488 | ||
20489 | * bytecode.c: Include window.h. | |
20490 | * emacs.c: Include window.h. | |
20491 | ||
14d87dc9 | 20492 | * keyboard.c (make_lispy_event): Apply modifiers to multibyte-char key. |
9a274fbd SM |
20493 | (keyremap): Add `parent' field. |
20494 | (keyremap_step): Use it. Remove `parent' argument. | |
20495 | (read_key_sequence): Setup and use the new `parent' field. | |
20496 | ||
fd93e331 SM |
20497 | 2003-05-11 Stefan Monnier <monnier@cs.yale.edu> |
20498 | ||
20499 | * keyboard.c (adjust_point_for_property): Ensure termination. | |
20500 | ||
1c4001a1 SM |
20501 | 2003-05-10 Stefan Monnier <monnier@cs.yale.edu> |
20502 | ||
20503 | * keyboard.c (follow_key): Remove dead variable `did_meta'. | |
20504 | (access_keymap_keyremap, keyremap_step): New funs, extracted from the | |
20505 | duplicated handling of function-key-map and key-translation-map | |
20506 | in read_key_sequence. | |
20507 | (read_key_sequence): Use them. | |
20508 | ||
20509 | * keyboard.c (adjust_point_for_property): Try harder to move point | |
20510 | to the non-sticky end of an invisible property. | |
20511 | ||
20512 | * xdisp.c (single_display_prop_intangible_p): Make `space' display | |
20513 | property intangible as well. | |
20514 | ||
780379b1 AS |
20515 | 2003-05-10 Andreas Schwab <schwab@suse.de> |
20516 | ||
20517 | * xmenu.c (single_menu_item): Change last parameter to void* to | |
20518 | avoid warning. | |
20519 | ||
ca2de342 RS |
20520 | 2003-05-09 Richard M. Stallman <rms@gnu.org> |
20521 | ||
20522 | * print.c (Fprin1_to_string): Instead of gcpro, set abort_on_gc. | |
20523 | Bind Qinhibit_modification_hooks to t so there will be no GC. | |
20524 | Rename local `tem' to `save_deactivate_mark'. | |
20525 | ||
20526 | * eval.c (specpdl_ptr): Declare volatile. | |
20527 | (unbind_to): Copy the whole binding and decrement specpdl_ptr | |
20528 | before doing the work of unbinding it. | |
20529 | ||
20530 | * lisp.h (struct specbinding): Declare elements volatile. | |
20531 | (specpdl_ptr): Declare volatile. | |
20532 | ||
20533 | * Makefile.in (alloca.o): Specify -DDO_BLOCK_INPUT in compiling. | |
20534 | ||
20535 | * alloca.c: Test DO_BLOCK_INPUT rather than `emacs' | |
20536 | for use of BLOCK_INPUT and inclusion of lisp.h and blockinput.h. | |
20537 | ||
347003be DL |
20538 | 2003-05-08 Dave Love <fx@gnu.org> |
20539 | ||
20540 | * coding.c (Vlast_coding_system_used): Doc fix. | |
20541 | ||
5adcec23 JR |
20542 | 2003-05-07 Jason Rumney <jasonr@gnu.org> |
20543 | ||
20544 | * fileio.c (Ffile_symlink_p): Let handlers handle symlinks even | |
20545 | when system does not support them. | |
20546 | ||
5fe3b8a4 SM |
20547 | 2003-05-05 Stefan Monnier <monnier@cs.yale.edu> |
20548 | ||
20549 | * fileio.c (Qwrite_region_annotate_functions): New var. | |
20550 | (build_annotations): Use it to process the global part of the hook. | |
20551 | (syms_of_fileio): Init and staticpro it. | |
20552 | ||
20553 | * keyboard.c (safe_run_hooks_error): Display a message instead of | |
20554 | silently ignoring the error. | |
20555 | ||
20556 | 2003-05-03 Stefan Monnier <monnier@cs.yale.edu> | |
20557 | ||
20558 | * keyboard.c (input_available_signal): Mark static. | |
20559 | (menu_bar_items): Use map_keymap. | |
20560 | (menu_bar_one_keymap): Remove. | |
20561 | (menu_bar_item): Adjust arglist (for use in map_keymap). | |
20562 | Properly hide a second binding when not both are keymaps. | |
20563 | ||
20564 | * xmenu.c (struct skp): New struct, to pass args through map_keymap. | |
20565 | (single_keymap_panes): Use it and map_keymap. | |
20566 | (single_menu_item): Use skp as well. | |
20567 | ||
20568 | * keymap.h (map_keymap_function_t): New type. | |
20569 | (map_keymap): Declare. | |
20570 | ||
20571 | * keymap.c (map_keymap_item, map_keymap_char_table_item, map_keymap) | |
20572 | (map_keymap_call, Fmap_keymap): New functions. | |
20573 | (syms_of_keymap): Defsubr map-keymap. | |
20574 | ||
4b1b4443 JD |
20575 | 2003-05-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20576 | ||
20577 | * gtkutil.c (create_dialog, make_widget_for_menu_item) | |
20578 | (make_menu_item, create_menus, xg_update_menu_item): Don't call | |
20579 | ..._with_mnemonic functions for menu items. | |
20580 | ||
1f816871 KH |
20581 | 2003-05-01 Kenichi Handa <handa@m17n.org> |
20582 | ||
20583 | * coding.c (coding_system_accept_latin_extra_p): Delete this | |
20584 | function. | |
20585 | (find_safe_codings): Pay attention to | |
20586 | the property tranlsation-table-for-encode of each codings. | |
20587 | (syms_of_coding): Give Qtranslation_table the extra slot number 2. | |
20588 | ||
5ed6ba5b SM |
20589 | 2003-05-01 Stefan Monnier <monnier@cs.yale.edu> |
20590 | ||
20591 | * eval.c (Funwind_protect): Use func=Fprogn rather than symbol=Qnil. | |
20592 | ||
32c06229 SM |
20593 | 2003-04-30 Stefan Monnier <monnier@cs.yale.edu> |
20594 | ||
20595 | * eval.c (unbind_to): Don't handle symbol = Qnil any more. | |
20596 | ||
20597 | * lisp.h (CHECK): Wrap args in parenthesis. | |
20598 | (specbind): Fix doc: symbol = Qnil is not supported any more. | |
20599 | ||
20600 | * bytecode.c (Fbyte_code) <unwind-protect>: | |
20601 | Use Fprogn rather than 0 and Qnil. | |
20602 | ||
20603 | * keyboard.c (parse_modifiers_uncached): Parse `down', `drag', | |
20604 | `double', and `triple' modifiers as well. | |
20605 | ||
ed3c3314 RS |
20606 | 2003-04-30 Richard M. Stallman <rms@gnu.org> |
20607 | ||
20608 | * keyboard.c (echo_char): Don't clear out a dash that follows a space. | |
20609 | ||
20610 | * alloc.c (abort_on_gc): New variable. | |
20611 | (Fgarbage_collect): Abort if abort_on_gc is set. | |
20612 | ||
20613 | * lisp.h (abort_on_gc): Add decl. | |
20614 | ||
20615 | * eval.c (Fsignal): Clear abort_on_gc. | |
20616 | ||
20617 | * editfns.c (Fformat): Set abort_on_gc during first scan of format. | |
32c06229 | 20618 | Reinit FORMAT_START and END before second scan. |
ed3c3314 RS |
20619 | |
20620 | * xdisp.c (move_it_vertically_backward): Do the final big else | |
20621 | even if nlines is 0. | |
20622 | ||
20623 | * xdisp.c (redisplay_internal): Finish the per-frame loop | |
20624 | even if redisplay is suspended by input. | |
20625 | ||
0b325c12 AC |
20626 | 2003-04-24 Andrew Choi <akochoi@shaw.ca> |
20627 | ||
20628 | * macterm.c (x_list_fonts): Return all fonts that match if | |
20629 | maxnames = -1. | |
20630 | ||
4e837cd0 KH |
20631 | 2003-04-25 Kenichi Handa <handa@m17n.org> |
20632 | ||
20633 | * syntax.c (skip_chars): Fix previous change. | |
20634 | ||
9af7511a KH |
20635 | 2003-04-24 Kenichi Handa <handa@m17n.org> |
20636 | ||
20637 | * syntax.c (skip_chars): Make the code faster by using the common | |
20638 | technique of *p, *stop, and *endp. | |
20639 | ||
e3b2c21f JD |
20640 | 2003-04-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20641 | ||
20642 | * xdisp.c (update_tool_bar): BLOCK_INPUT before calling | |
32c06229 | 20643 | tool_bar_items so GTK tool bar expose callback does not access items |
e3b2c21f JD |
20644 | being updated. |
20645 | ||
32c06229 SM |
20646 | 2003-04-19 Stefan Monnier <monnier@cs.yale.edu> |
20647 | ||
20648 | * eval.c (Fapply): Undo last change and add a comment about why. | |
20649 | ||
c6464167 MB |
20650 | 2003-04-18 Miles Bader <miles@gnu.org> |
20651 | ||
20652 | * data.c (Faset): Calculate nbytes earlier, to satisfy the now | |
20653 | pickier PARSE_MULTIBYTE_SEQ. | |
20654 | ||
e509f168 SM |
20655 | 2003-04-17 Stefan Monnier <monnier@cs.yale.edu> |
20656 | ||
20657 | * eval.c (For, Fand, Fprogn, un_autoload, do_autoload): | |
20658 | Use XCDR, XCAR, CONSP. | |
20659 | (Fdefmacro): Fix docstring. Use XCAR, XCDR. | |
20660 | (Fapply): Remove unnecessary GCPRO. | |
20661 | ||
20662 | * doc.c (Fsubstitute_command_keys): Remove spurious casts. | |
20663 | ||
20664 | * charset.h (PARSE_MULTIBYTE_SEQ): Pretend `length' is used. | |
20665 | ||
20666 | * buffer.h: Don't hardcode BEG==1. | |
20667 | ||
20668 | * abbrev.c (Fdefine_abbrev_table): Use XCAR, XCDR. | |
20669 | ||
5ceea398 RS |
20670 | 2003-04-16 Richard M. Stallman <rms@gnu.org> |
20671 | ||
20672 | * xdisp.c (try_window, try_window_reusing_current_matrix): | |
20673 | When at end of window, set window_end_pos to Z-ZV. | |
20674 | ||
20675 | * buffer.c (Foverlay_recenter): Doc fix. | |
20676 | ||
e509f168 SM |
20677 | 2003-04-14 Stefan Monnier <monnier@cs.yale.edu> |
20678 | ||
20679 | * dispnew.c (Fsit_For): Support XEmacs-style arg list. | |
20680 | ||
d243e605 AC |
20681 | 2003-04-14 Andrew Choi <akochoi@shaw.ca> |
20682 | ||
20683 | * macterm.c (mac_check_for_quit_char): Don't check more often than | |
20684 | once a second. | |
20685 | ||
6901b111 SM |
20686 | 2003-04-11 Stefan Monnier <monnier@cs.yale.edu> |
20687 | ||
20688 | * keyboard.c (kbd_buffer_get_event): Don't handle SELECT_WINDOW_EVENT | |
20689 | specially, so that they can't hide an implicit switch-frame event. | |
20690 | (make_lispy_event): Handle SELECT_WINDOW_EVENT. | |
20691 | (head_table): Use switch-frame as event_kind for select-window. | |
20692 | (keys_of_keyboard): Don't bind [select-window] in special-event-map. | |
20693 | ||
20694 | * editfns.c (Fformat): Lisp_Object/int mixup. | |
20695 | (format2): Remove unused var numargs. | |
20696 | ||
e301806f | 20697 | 2003-04-11 Kenichi Handa <handa@m17n.org> |
aa95b710 | 20698 | |
6901b111 | 20699 | * fileio.c (Vafter_insert_file_adjust_coding_function): Delete. |
aa95b710 KH |
20700 | (Qafter_insert_file_set_coding): New variable. |
20701 | (syms_of_fileio): Initialize and staticpro it. Delete declaration | |
20702 | for after-insert-file-adjust-coding-function. | |
20703 | (Finsert_file_contents): Call Qafter_insert_file_set_coding | |
20704 | instead of Vafter_insert_file_adjust_coding_function. | |
20705 | ||
38914424 KH |
20706 | 2003-04-11 Kenichi Handa <handa@m17n.org> |
20707 | ||
20708 | * lisp.h (temp_echo_area_glyphs): Adjust prototype. | |
20709 | ||
20710 | * minibuf.c (temp_echo_area_glyphs): Change the arg to Lisp | |
20711 | string. Callers changed. | |
20712 | ||
20713 | 2003-04-10 Kenichi Handa <handa@m17n.org> | |
a288d979 | 20714 | |
6901b111 | 20715 | * fileio.c (Vafter_insert_file_adjust_coding_function): New variable. |
a288d979 | 20716 | (syms_of_fileio): Declare it as a lisp variable. |
6901b111 SM |
20717 | (Finsert_file_contents): |
20718 | Call Vafter_insert_file_adjust_coding_function before calling | |
a288d979 KH |
20719 | decode-format. |
20720 | ||
f979dc05 JD |
20721 | 2003-04-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
20722 | ||
20723 | * xterm.c (xg_scroll_callback): Call gtk_range_get_adjustment to | |
20724 | get GtkAdjustment as widget now is a GtkRange. | |
20725 | ||
20726 | * gtkutil.c (xg_create_scroll_bar): Connect to value-changed on | |
20727 | GtkRange to avoid memory leak. | |
20728 | ||
f8c6b4c2 | 20729 | 2003-04-09 Kenichi Handa <handa@m17n.org> |
cb98871c | 20730 | |
50ebc53d KH |
20731 | * xfaces.c (Vface_font_rescale_alist): New variable. |
20732 | (struct font_name): New member rescale_ratio. | |
20733 | (font_rescale_ratio): New function. | |
6901b111 | 20734 | (split_font_name): If NUMERIC_P is nonzero, set font->rescale_ratio. |
50ebc53d KH |
20735 | (better_font_p): On comparing point sized, pay attention to |
20736 | recale_ratio member of fonts. | |
20737 | (build_scalable_font_name): Reflect font->rescale_ratio in the | |
20738 | font name. | |
6901b111 | 20739 | (syms_of_xfaces): Declare Vface_font_rescale_alist as a Lisp variable. |
50ebc53d | 20740 | |
cb98871c KH |
20741 | * lread.c (read1): Before calling index, check if the 2nd |
20742 | arguemnt is in ASCII range. | |
20743 | ||
4773b8ca RS |
20744 | 2003-04-08 Richard M. Stallman <rms@gnu.org> |
20745 | ||
b0ada147 RS |
20746 | * fileio.c (Ffile_symlink_p): Doc fix. |
20747 | ||
20748 | * editfns.c (Fformat): Translate positions of text properties | |
20749 | in the format string to apply them to the result. | |
20750 | ||
4773b8ca RS |
20751 | * fileio.c (Finsert_file_contents): Doc fix. |
20752 | (syms_of_fileio) <after-insert-file-functions>: Doc fix. | |
20753 | ||
20754 | 2003-04-08 Ivan Zakharyaschev <imz@altlinux.org> (tiny change) | |
6901b111 | 20755 | |
4773b8ca RS |
20756 | * lread.c (openp): Get the Qfile_exists_p handler for STRING, not FN. |
20757 | ||
e8f25745 | 20758 | 2003-04-08 Steven Tamm <steventamm@mac.com> |
b0ada147 | 20759 | |
e8f25745 ST |
20760 | * mac.c (init_mac_osx_environment): Switch libexec and bin so |
20761 | that self-contained application finds libexec files. | |
20762 | ||
f8c6b4c2 | 20763 | 2003-04-08 Kenichi Handa <handa@m17n.org> |
2310d84c | 20764 | |
6901b111 SM |
20765 | * coding.c (code_convert_region_unwind): |
20766 | Set Vlast_coding_system_used to the argument. | |
2310d84c KH |
20767 | (code_convert_region): If post-read-conversion function changed |
20768 | the value of last-coding-sytem, keep the new value in | |
20769 | coding->symbol so that it won't be overridden. | |
20770 | (run_pre_post_conversion_on_str): Likewise. | |
7c086845 KH |
20771 | (coding_system_accept_latin_extra_p): New function. |
20772 | (find_safe_codings): Pay attention to characters registered in | |
20773 | latin-extra-code-table. | |
2310d84c | 20774 | |
39c9a034 TTN |
20775 | 2003-04-07 Thien-Thi Nguyen <ttn@gnu.org> |
20776 | ||
20777 | * Makefile.in (md5.o): Add missing dependency info. | |
20778 | ||
eb67c5d6 RS |
20779 | 2003-04-06 Richard M. Stallman <rms@gnu.org> |
20780 | ||
20781 | * xselect.c (x_handle_selection_request): Move UNGCPRO to very end. | |
20782 | ||
20783 | * marker.c (verify_bytepos): New function. | |
20784 | ||
20785 | * intervals.c (set_intervals_multibyte_1): When becoming | |
20786 | multibyte, adjust right and left child sizes to a whole set of | |
20787 | characters. If an interval gets zero total-length, delete it. | |
20788 | If an interval consists of just its children, delete one of them. | |
20789 | ||
20790 | * intervals.h (CHECK_TOTAL_LENGTH): New macro. | |
20791 | * intervals.c: Add many calls to CHECK_TOTAL_LENGTH. | |
39c9a034 | 20792 | |
52eb0373 | 20793 | * alloc.c (VALIDATE_LISP_STORAGE): Macro deleted. |
eb67c5d6 RS |
20794 | All calls deleted. |
20795 | (lisp_malloc): Do the work here directly. | |
20796 | ||
b1f81fc5 JB |
20797 | 2003-04-06 Gareth Jones <emacs@referential.org.uk> (tiny change) |
20798 | ||
20799 | * fns.c (Flength): Return SUB_CHAR_TABLE_ORDINARY_SLOTS for sub | |
20800 | char tables. | |
20801 | ||
20802 | 2003-04-04 Kenichi Handa <handa@m17n.org> | |
aa8b70ae KH |
20803 | |
20804 | * editfns.c (Fformat): Use a copy of FORMAT string so that we can | |
20805 | destructively change "%S" to "%s". | |
20806 | ||
774666fb MB |
20807 | 2003-04-03 Miles Bader <miles@gnu.org> |
20808 | ||
20809 | * xfaces.c (choose_face_font): Make sure *NEEDS_OVERSTRIKE is | |
20810 | always set. | |
20811 | ||
19c37f01 DL |
20812 | 2003-04-01 Dave Love <fx@gnu.org> |
20813 | ||
20814 | * xfns.c (xpm_lookup_color): Grok "opaque". | |
20815 | ||
2f4b24c3 AC |
20816 | 2003-03-31 Andrew Choi <akochoi@shaw.ca> |
20817 | ||
20818 | * frame.c (x_report_frame_params) [HAVE_CARBON]: Do not report | |
20819 | parent window ID. | |
20820 | ||
20821 | * macfns.c (syms_of_macfns): Remove call to init_x_parm_symbols. | |
20822 | ||
20823 | * macterm.h (struct mac_output): Define x_pixels_diff and | |
20824 | y_pixels_diff. | |
b1f81fc5 | 20825 | |
9443fcf6 JB |
20826 | 2003-03-31 Juanma Barranquero <lektu@terra.es> |
20827 | ||
20828 | * makefile.w32-in ($(BLD)/frame.$(O)): Add dependency on | |
20829 | blockinput.h and files included from it. | |
20830 | ||
e072891b KS |
20831 | 2003-03-31 Kim F. Storm <storm@cua.dk> |
20832 | ||
20833 | The following changes consolidates the common code related to | |
20834 | frame-parameter handling from the xfns.c, w32fns.c, and macfns.c | |
20835 | files into frame.c. | |
9443fcf6 | 20836 | |
e072891b KS |
20837 | * frame.c: Include blockinput.h. |
20838 | (Vx_resource_name, Vx_resource_class, Qx_frame_parameter) | |
20839 | (Qx_resource_name, Qface_set_after_frame_default): Define vars here. | |
20840 | (Qauto_raise, Qauto_lower, ...): Define all frame parameter | |
20841 | related vars here. | |
20842 | (struct frame_parm_table, frame_parms): New table for describing | |
20843 | frame parameters and their associated Q-variable. | |
20844 | The order of the parameters corresponds to the sequence of the | |
20845 | frame_parm_handlers table in redisplay_interface. | |
20846 | (x_fullscreen_move, x_set_frame_parameters) | |
20847 | (x_report_frame_params, x_set_fullscreen, x_set_line_spacing) | |
20848 | (x_set_screen_gamma, x_set_font, x_set_fringe_width) | |
20849 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
20850 | (x_set_autoraise, x_set_autolower, x_set_unsplittable) | |
20851 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width, x_icon_type): | |
20852 | Generic functions for processing of frame parameters. | |
20853 | (validate_x_resource_name, xrdb_get_resource, Fx_get_resource) | |
20854 | (display_x_get_resource, x_get_resource_string): Functions for | |
20855 | generic access to X resources. | |
20856 | (x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg) | |
20857 | (x_default_parameter, Fx_parse_geometry): Functions for generic | |
20858 | access to frame parameters. | |
6901b111 SM |
20859 | (x_figure_window_size): Generic calculation of frame size. |
20860 | Fixed to add space needed for tool bar. Also setup size_hint_flags. | |
e072891b KS |
20861 | (syms_of_frame): Intern and staticpro frame parameter variables. |
20862 | Defvar_lisp Vx_resource_class and Vx_resource_name here. | |
20863 | Defsubr Sx_get_resource and Sx_parse_geometry. | |
9443fcf6 | 20864 | |
e072891b KS |
20865 | * frame.h (Qauto_raise, Qauto_lower, ...): Declare extern all frame |
20866 | parameter related vars defined in frame.c. | |
20867 | (EMACS_CLASS): Define here. | |
20868 | (enum FULLSCREEN_*): Define here. | |
20869 | (x_set_scroll_bar_default_width, x_wm_set_icon_position) | |
20870 | (x_set_offset, x_new_font, x_new_fontset): Add prototypes. | |
20871 | (x_fullscreen_adjust, x_set_frame_parameters, x_report_frame_params) | |
20872 | (x_set_fullscreen, x_set_line_spacing, x_set_screen_gamma, x_set_font) | |
20873 | (x_set_fringe_width, x_set_border_width, x_set_internal_border_width) | |
20874 | (x_set_visibility, x_set_autoraise, x_set_autolower) | |
20875 | (x_set_unsplittable, x_set_vertical_scroll_bars) | |
20876 | (x_set_scroll_bar_width, x_icon_type, validate_x_resource_name) | |
20877 | (x_figure_window_size): Add prototypes. | |
20878 | ||
20879 | * dispextern.h (frame_parm_handler): New typedef. | |
20880 | (struct redisplay_interface): New member frame_parm_handlers. | |
20881 | (enum resource_types): Move declaration here. | |
20882 | (x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg) | |
20883 | (x_default_parameter): Add prototypes. | |
20884 | ||
20885 | * window.c: Remove extern decl for frame parameter vars. | |
20886 | (change_window_heights): New generic function; | |
20887 | replaces x_change_window_heights. All users changed. | |
20888 | ||
20889 | * window.h (change_window_heights): Add prototype. | |
20890 | ||
20891 | * xfaces.c: Remove extern decl for frame parameter vars. | |
20892 | ||
20893 | * xterm.h (EMACS_CLASS): Remove. Use generic define. | |
20894 | (struct w32_display_info): Fix type of xrdb member. | |
20895 | (enum FULLSCREEN_*): Remove. | |
20896 | Remove prototypes for generic functions (in frame.h). | |
20897 | ||
20898 | * xfns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame | |
20899 | parameters now defined in frame.h and frame.c. | |
f63fd14e | 20900 | (Vx_resource_name): Remove. Use generic var. |
e072891b KS |
20901 | (enum x_frame_parms): Remove (bogus, unused enum). |
20902 | (check_x_display_info): Make non-static (for frame.c). | |
20903 | (struct x_frame_parm_table, x_frame_parms): Remove. | |
20904 | (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params) | |
20905 | (x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font) | |
20906 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
20907 | (x_change_window_heights, x_set_autoraise, x_set_autolower) | |
20908 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width) | |
20909 | (validate_x_resource_name, Fx_get_resource, x_get_resource_string) | |
20910 | (x_default_parameter, Fx_parse_geometry, x_figure_window_size): | |
20911 | Remove. Use generic functions instead. | |
20912 | (enum resource_types): Remove. | |
20913 | (x_set_scroll_bar_default_width): New global function (for frame.c). | |
20914 | (Fx_create_frame): Depend on x_figure_window_size to add space for | |
20915 | toolbar and setup size_hint_flags. | |
20916 | (x_frame_parm_handlers): New table for redisplay_interface. | |
20917 | (syms_of_xfns): Don't intern/staticpro removed vars. | |
9443fcf6 | 20918 | |
e072891b | 20919 | * xterm.c: Remove unnecessary extern declarations. |
f63fd14e | 20920 | (x_fullscreen_adjust): Remove. Use generic instead. |
e072891b KS |
20921 | (x_redisplay_interface): Add x_frame_parm_handlers member. |
20922 | ||
20923 | * w32gui.h (XrmDatabase): New (dummy) typedef. | |
20924 | ||
20925 | * w32term.h (EMACS_CLASS): Remove. Use generic define. | |
20926 | (struct w32_display_info): Fix type of xrdb member. | |
20927 | (enum FULLSCREEN_*): Remove. | |
20928 | (x_fullscreen_adjust): Remove prototype. | |
20929 | ||
20930 | * w32fns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame | |
20931 | parameters now defined in frame.h and frame.c. | |
f63fd14e | 20932 | (Vx_resource_name): Remove. Use generic var. |
e072891b KS |
20933 | (enum x_frame_parms): Remove (bogus, unused enum). |
20934 | (check_x_display_info): Make non-static (for frame.c). | |
20935 | (struct x_frame_parm_table, x_frame_parms): Remove. | |
20936 | (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params) | |
20937 | (x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font) | |
20938 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
20939 | (x_change_window_heights, x_set_autoraise, x_set_autolower) | |
20940 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width) | |
20941 | (validate_x_resource_name, Fx_get_resource, x_get_resource_string) | |
20942 | (x_default_parameter, Fx_parse_geometry, x_figure_window_size): | |
20943 | Remove. Use generic functions instead. | |
20944 | (enum resource_types): Remove. | |
20945 | (x_set_scroll_bar_default_width): New global function (for frame.c). | |
20946 | (Fx_create_frame): Depend on x_figure_window_size to add space for | |
20947 | toolbar and setup size_hint_flags. | |
20948 | (w32_frame_parm_handlers): New table for redisplay_interface. | |
20949 | (syms_of_w32fns): Don't intern/staticpro removed vars. | |
9443fcf6 | 20950 | |
e072891b | 20951 | * w32term.c: Remove unnecessary extern declarations. |
52eb0373 | 20952 | (x_fullscreen_adjust): Remove. Use generic instead. |
e072891b KS |
20953 | (x_redisplay_interface): Add w32_frame_parm_handlers member. |
20954 | ||
20955 | * w32reg.c (x_get_string_resource): Use XrmDatabase. | |
20956 | ||
20957 | * macgui.h (XrmDatabase): New (dummy) typedef. | |
20958 | ||
20959 | * macterm.h (EMACS_CLASS): Remove. | |
20960 | (struct mac_display_info): Add xrdb member. | |
20961 | (struct mac_output): Add want_fullscreen member. | |
20962 | ||
20963 | * macfns.c (Qauto_raise, Qauto_lower, ...): Remove vars for frame | |
20964 | parameters now defined in frame.h and frame.c. | |
f63fd14e | 20965 | (Vx_resource_name): Remove. Use generic var. |
e072891b KS |
20966 | (check_x_display_info): Make non-static (for frame.c). |
20967 | (struct x_frame_parm_table, x_frame_parms): Remove. | |
20968 | (init_x_parm_symbols, x_set_frame_parameters, x_report_frame_params) | |
20969 | (x_set_line_spacing, x_set_screen_gamma, x_icon_type, x_set_font) | |
20970 | (x_set_border_width, x_set_internal_border_width, x_set_visibility) | |
20971 | (x_change_window_heights, x_set_autoraise, x_set_autolower) | |
20972 | (x_set_vertical_scroll_bars, x_set_scroll_bar_width) | |
20973 | (validate_x_resource_name, Fx_get_resource, x_get_resource_string) | |
20974 | (x_default_parameter, Fx_parse_geometry, x_figure_window_size): | |
20975 | Remove. Use generic functions instead. | |
20976 | (enum resource_types): Remove. | |
20977 | (x_set_scroll_bar_default_width): New global function (for frame.c). | |
20978 | (mac_frame_parm_handlers): New table for redisplay_interface. | |
20979 | (syms_of_macfns): Don't intern/staticpro removed vars. | |
9443fcf6 | 20980 | |
e072891b KS |
20981 | * macterm.c: Remove unnecessary extern declarations. |
20982 | (x_redisplay_interface): Add mac_frame_parm_handlers member. | |
20983 | ||
3e6a560b KS |
20984 | * Makefile.in (frame.o): Add dependency on blockinput.h and files |
20985 | included from it (atimer.h and systime.h). | |
20986 | ||
7b7b454e AS |
20987 | 2003-03-30 Andreas Schwab <schwab@suse.de> |
20988 | ||
20989 | * xdisp.c (x_insert_glyphs): Fix swapped width and height | |
20990 | parameters for shift_glyphs_for_insert. | |
20991 | ||
20992 | * macterm.c (x_redisplay_interface): Add missing entry for | |
20993 | draw_vertical_window_border. | |
20994 | ||
beb402de KG |
20995 | 2003-03-29 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@gmx.net> |
20996 | ||
20997 | * fileio.c (Fexpand_file_name): In the no-handler case, after | |
20998 | expanding, look again for a handler and invoke it. This is needed | |
20999 | for filenames like "/foo/../user@host:/bar/../baz" -- the first | |
21000 | expansion produces "/user@host:/bar/../baz" which needs to be | |
21001 | expanded again for the finame result "/user@host:/baz". | |
21002 | ||
b676f356 JD |
21003 | 2003-03-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21004 | ||
21005 | * gtkutil.c (xg_tool_bar_item_expose_callback): Reduce size | |
21006 | of area to be redrawn for better performance. | |
21007 | ||
3c671a56 SM |
21008 | 2003-03-28 Stefan Monnier <monnier@cs.yale.edu> |
21009 | ||
21010 | * xterm.c (take_vertical_position_into_account): Remove. | |
21011 | (xt_action_hook): Call set_vertical_scroll_bar if needed. | |
21012 | (XM_SB_MIN, XM_SB_RANGE): Remove (min is now set to 0). | |
21013 | (xm_scroll_callback, x_create_toolkit_scroll_bar) | |
21014 | (x_set_toolkit_scroll_bar_thumb): Simplify. | |
21015 | (x_scroll_bar_expose): Only compile if !USE_TOOLKIT_SCROLL_BARS. | |
21016 | (XTread_socket): Remove unused var. | |
21017 | (x_make_frame_invisible): Replace goto with else. | |
21018 | ||
21019 | * xdisp.c (set_vertical_scroll_bar): New fun. | |
21020 | (redisplay_window): Use it. | |
21021 | ||
84f2e615 RS |
21022 | 2003-03-26 Richard M. Stallman <rms@gnu.org> |
21023 | ||
21024 | * xdisp.c (update_tool_bar): Recompute tool bar if | |
21025 | update_mode_lines is set. Set w->update_mode_line | |
21026 | only if the tool bar contents actually change. | |
21027 | (update_menu_bar): Undo previous change. | |
21028 | ||
70b6104c JD |
21029 | 2003-03-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21030 | ||
5fd6f727 JD |
21031 | * gtkutil.c (xg_resize_widgets): Don't call xg_frame_cleared. |
21032 | (xg_frame_set_char_size): Calculate scroll bar width before frame | |
21033 | width. Call SET_FRAME_GARBAGED and cancel_mouse_face. | |
21034 | (xg_separator_p): Check for all documented separator types. | |
21035 | (xg_update_scrollbar_pos): Variable gheight not needed, use height. | |
21036 | (update_frame_tool_bar): Don't call gdk_window_process_all_updates. | |
21037 | ||
70b6104c JD |
21038 | * xdisp.c (update_menu_bar): Set w->update_mode_line to Qt |
21039 | so tool bar gets updated. | |
21040 | ||
d9b36d19 SM |
21041 | 2003-03-26 Stefan Monnier <monnier@cs.yale.edu> |
21042 | ||
21043 | * data.c (store_symval_forwarding): Re-instate part of the code | |
21044 | that was deleted with too much enthusiasm. | |
21045 | ||
21046 | 2003-03-25 Stefan Monnier <monnier@cs.yale.edu> | |
21047 | ||
21048 | * data.c (store_symval_forwarding): Delete special read-only | |
21049 | hack for type == -1, since we now use ->constant instead. | |
21050 | (Fkill_local_variable): Don't use XBUFFER if it can be nil. | |
21051 | ||
21052 | * buffer.c (overlays_in): Declare static. | |
21053 | (syms_of_buffer) <enable-multibyte-characters>: Use the symbol's | |
21054 | `constant' field rather than the variable's `type' field. | |
21055 | ||
365fa1b3 AC |
21056 | 2003-03-24 Andrew Choi <akochoi@shaw.ca> |
21057 | ||
21058 | * config.in [MAC_OSX]: Do not redefine bcopy, bzero, and bcmp. | |
21059 | ||
21060 | * dispextern.h [HAVE_CARBON]: Include Carbon.h. | |
21061 | ||
21062 | * fns.c [MAC_OSX]: Do not redefine vector. | |
21063 | ||
21064 | * keyboard.c [MAC_OSX]: Handle SIGINT with interrupt_signal. | |
21065 | ||
21066 | * macgui.h: Remove definition of No_Cursor. | |
21067 | ||
d9b36d19 | 21068 | * macterm.h: Include Carbon.h. Replace (struct Cursor *) by Cursor. |
365fa1b3 AC |
21069 | |
21070 | * xdisp.c: Define No_Cursor. | |
21071 | (x_write_glyphs, notice_overwritten_cursor) | |
21072 | (draw_phys_cursor_glyph, note_mode_line_or_margin_highlight) | |
21073 | (note_mouse_highlight): Remove Mac-specific code. | |
21074 | (note_mouse_highlight): Use bcmp instead of == to compare Cursors. | |
d9b36d19 | 21075 | |
c0bcce6f JPW |
21076 | 2003-03-24 John Paul Wallington <jpw@gnu.org> |
21077 | ||
21078 | * xdisp.c (redisplay_window): If mini window's buffer is not | |
21079 | empty, then redisplay it like other windows. | |
21080 | ||
a526b96c KS |
21081 | 2003-03-23 Kim F. Storm <storm@cua.dk> |
21082 | ||
21083 | * w32term.c (w32_draw_window_cursor): Fix last change. | |
21084 | ||
37ab321e KH |
21085 | 2003-03-23 Kenichi Handa <handa@m17n.org> |
21086 | ||
a526b96c KS |
21087 | * alloc.c (make_string_from_bytes, make_specified_string): |
21088 | Add `const' for the arg CONTENTS. | |
37ab321e KH |
21089 | |
21090 | * lisp.h (make_string_from_bytes, make_specified_string): | |
21091 | Prototypes adjusted. | |
21092 | ||
7863d625 JD |
21093 | 2003-03-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21094 | ||
14a56a1b | 21095 | * xdisp.c (get_glyph_string_clip_rect): Remove ; at end of #endif. |
fd4c9408 | 21096 | |
7863d625 JD |
21097 | * gtkutil.h: Take two more arguments to xg_update_scrollbar_pos. |
21098 | (XG_SB_RANGE): New define. | |
21099 | ||
21100 | * gtkutil.c (xg_fixed_handle_expose): New function. | |
21101 | (xg_create_frame_widgets): Call xg_fixed_handle_expose for | |
21102 | expose events. | |
21103 | (xg_update_scrollbar_pos): Take two more arguments, left and width | |
21104 | of scroll bar including borders. | |
21105 | Clear left and right part outside scroll bar separately as some | |
21106 | themes have bars that are not an even number of pixels. | |
d9b36d19 | 21107 | Don't set reallocate_redraws, don't call |
7863d625 JD |
21108 | gdk_window_process_all_updates. |
21109 | (xg_set_toolkit_scroll_bar_thumb): Upper value is fixed, | |
21110 | so no need to change it. Calculate size and value with XG_SB_RANGE. | |
21111 | ||
d9b36d19 SM |
21112 | * xterm.c (x_scroll_bar_create, XTset_vertical_scroll_bar): |
21113 | Pass left and width of scroll bar including borders to | |
7863d625 JD |
21114 | xg_update_scrollbar_pos. |
21115 | ||
af0ad939 TTN |
21116 | 2003-03-22 Thien-Thi Nguyen <ttn@gnu.org> |
21117 | ||
21118 | * Makefile.in: Make sure space precedes end-of-line backslashes. | |
21119 | ||
b22139fd KS |
21120 | 2003-03-22 Kim F. Storm <storm@cua.dk> |
21121 | ||
21122 | * xdisp.c (pixel_to_glyph_coords, glyph_to_pixel_coords): | |
21123 | Add generic versions here. Remove system specific versions | |
21124 | defined elsewhere. | |
21125 | ||
21126 | * dispextern.h (pixel_to_glyph_coords, glyph_to_pixel_coords): | |
21127 | Add prototypes. | |
21128 | ||
6e6410cf KS |
21129 | * xterm.h (STORE_NATIVE_RECT): New macro. |
21130 | ||
5c9cc435 KS |
21131 | 2003-03-21 Kim F. Storm <storm@cua.dk> |
21132 | ||
00c64fab SM |
21133 | * xdisp.c (get_glyph_string_clip_rect): |
21134 | Use FRAME_INTERNAL_BORDER_WIDTH. | |
5c9cc435 KS |
21135 | |
21136 | * dispextern.h (struct redisplay_interface): Add active_p | |
21137 | argument to draw_window_cursor member. All uses changed. | |
21138 | ||
acd37560 KS |
21139 | 2003-03-21 Kim F. Storm <storm@cua.dk> |
21140 | ||
21141 | The following changes consolidate code related to writing and | |
21142 | inserting glyphs, exposing frame, the tool bar, the mouse face, | |
21143 | the output cursor, and help echo from xterm.c, w32term.c and | |
21144 | macterm.c into xdisp.c. It also generalizes the use of the | |
21145 | window_part enum instead of using numeric values throughout. | |
af0ad939 | 21146 | |
acd37560 KS |
21147 | * xdisp.c: Consolidate gui-independent code here. |
21148 | Include keymap.h. | |
21149 | (Qhelp_echo): Import. | |
21150 | (mouse_autoselect_window, x_stretch_cursor_p): Declare here. | |
21151 | (help_echo_string, help_echo_window, help_echo_object) | |
21152 | (previous_help_echo_string, help_echo_pos): Declare here. | |
21153 | (output_cursor, last_mouse_frame, last_tool_bar_item): Declare here. | |
21154 | (estimate_mode_line_height): Define here. Handle windowing | |
21155 | systems directly (without using estimate_mode_line_height_hook). | |
21156 | (x_y_to_hpos_vpos, get_tool_bar_item, note_tool_bar_highlight): | |
21157 | (update_window_cursor, update_cursor_in_window_tree) | |
21158 | (fast_find_position, fast_find_string_pos) | |
21159 | (note_mode_line_highlight, note_mode_line_or_margin_highlight) | |
21160 | (expose_area, expose_line, expose_overlaps, expose_window) | |
21161 | (expose_window_tree, phys_cursor_in_rect_p): New generic versions; | |
21162 | declared static as they are only used locally in xdisp.c. | |
21163 | (draw_glyphs): Rename from x_draw_glyphs and make static. | |
21164 | (tool_bar_item_info, notice_overwritten_cursor): Make static. | |
21165 | (frame_to_window_pixel_xy, get_glyph_string_clip_rect) | |
21166 | (set_output_cursor, x_cursor_to, handle_tool_bar_click) | |
af0ad939 | 21167 | (x_write_glyphs, x_insert_glyphs, x_clear_end_of_line): |
acd37560 KS |
21168 | (x_fix_overlapping_area, draw_phys_cursor_glyph, erase_phys_cursor) |
21169 | (display_and_set_cursor, x_update_cursor, x_clear_cursor) | |
21170 | (show_mouse_face, clear_mouse_face, cursor_in_mouse_face_p) | |
21171 | (note_mouse_highlight, x_clear_window_mouse_face) | |
21172 | (cancel_mouse_face, x_draw_vertical_border, expose_frame) | |
21173 | (x_intersect_rectangles): New generic functions for use by xdisp.c | |
21174 | and GUI front-ends. | |
21175 | (syms_of_xdisp): Initialize and staticpro help_echo* variables. | |
21176 | Defvar_bool "x-streach-cursor" and "mouse-autoselect-window" here. | |
21177 | ||
21178 | * dispextern.h (Display_Info): Generic typedef for *_display_info. | |
21179 | (NativeRectangle): Generic typedef for rectangle type. | |
21180 | (enum window_part): Move here from window.c. | |
21181 | (struct redisplay_interface): New members flush_display_optional, | |
21182 | define_frame_cursor, clear_frame_area, draw_window_cursor, | |
21183 | draw_vertical_window_border, shift_glyphs_for_insert. | |
21184 | Rename member clear_mouse_face to clear_window_mouse_face. | |
21185 | (estimate_mode_line_height_hook): Remove hook. | |
21186 | (auto_raise_tool_bar_buttons_p): Don't declare extern. | |
21187 | (tool_bar_item_info): Remove prototype. | |
21188 | (help_echo_string, help_echo_window, help_echo_object) | |
21189 | (previous_help_echo_string, help_echo_pos) | |
21190 | (last_mouse_frame, last_tool_bar_item, mouse_autoselect_window): | |
21191 | (x_stretch_cursor_p, output_cursor): Declare extern. | |
21192 | (x_draw_glyphs, notice_overwritten_cursor): Remove prototypes. | |
21193 | (x_write_glyphs), x_insert_glyphs, x_clear_end_of_line) | |
21194 | (x_fix_overlapping_area, draw_phys_cursor_glyph, erase_phys_cursor) | |
21195 | (display_and_set_cursor, set_output_cursor, x_cursor_to) | |
21196 | (x_update_cursor, x_clear_cursor, x_draw_vertical_border) | |
21197 | (frame_to_window_pixel_xy, get_glyph_string_clip_rect) | |
21198 | (note_mouse_highlight, x_clear_window_mouse_face, cancel_mouse_face) | |
21199 | (handle_tool_bar_click, clear_mouse_face, show_mouse_face) | |
21200 | (cursor_in_mouse_face_p, expose_frame, x_intersect_rectangles): | |
21201 | Add prototypes. | |
21202 | (mode_line_string, marginal_area_string): Fix prototypes. | |
21203 | ||
21204 | * window.c (enum window_part): Move to dispextern.h. | |
21205 | (coordinates_in_window): Use enum window_part member names | |
21206 | instead of numbers to describe return value. | |
21207 | (struct check_window_data): Change part member to window_part. | |
21208 | (check_window_containing): Return window_part unaltered. | |
21209 | (window_from_coordinates): Change part arg from int to enum | |
21210 | window_part. Allow part arg to be null. All users changed. | |
21211 | ||
21212 | * window.h (window_from_coordinates): Fix prototype. | |
21213 | ||
21214 | * term.c (estimate_mode_line_height): Move to xdisp.c. | |
21215 | ||
21216 | * keyboard.c (make_lispy_event): Use enum window_part. | |
21217 | ||
21218 | * dispnew.c (mode_line_string, marginal_area_string): Use enum | |
21219 | window_part instead of int in arg list. Users changed. | |
21220 | ||
21221 | * xterm.h (No_Cursor): Declare as None for X. | |
21222 | (struct mac_output): Replace member cross_cursor by hand_cursor. | |
af0ad939 | 21223 | |
acd37560 KS |
21224 | * xterm.c: Remove consolidated defines and code. |
21225 | (BETWEEN): Remove unused macro. | |
21226 | (x_draw_vertical_window_border, x_shift_glyphs_for_insert) | |
21227 | (x_define_frame_cursor, x_clear_frame_area) | |
21228 | (x_draw_window_cursor): New X-specific functions for RIF. | |
21229 | (x_redisplay_interface): Add new members. | |
21230 | ||
21231 | * xfns.c: Setup and use hand_cursor instead of cross_cursor. | |
21232 | ||
21233 | * w32term.h (struct w32_output): Remove cross_cursor member. | |
21234 | ||
21235 | * w32term.c: Remove consolidated defines and code. | |
21236 | (BETWEEN): Remove unused macro. | |
21237 | (w32_draw_vertical_window_border, w32_shift_glyphs_for_insert) | |
21238 | (w32_define_frame_cursor, w32_clear_frame_area) | |
21239 | (w32_draw_window_cursor): New W32-specific functions for RIF. | |
21240 | (w32_redisplay_interface): Add new members. | |
21241 | ||
a64387ee | 21242 | * w32gui.h (No_Cursor): Define as 0 for W32. |
acd37560 KS |
21243 | (XRectangle): Add X compatible rectangle type. |
21244 | (NativeRectangle): Declare as RECT for W32. | |
21245 | (CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros. | |
21246 | ||
21247 | * w32fns.c: Remove setup of cross_cursor (already has hand_cursor). | |
21248 | ||
21249 | * w32console.c: Remove consolidated defines and code. | |
af0ad939 | 21250 | |
acd37560 KS |
21251 | * msdos.h (Display_Info): Add generic typedef. |
21252 | ||
21253 | * msdos.c: Remove consolidated defines and code. | |
21254 | (IT_note_mouse_highlight, dos_rawgetc): Use enum window_part. | |
21255 | ||
21256 | * macterm.h (struct mac_output): Replace member cross_cursor by | |
21257 | hand_cursor. | |
21258 | (activate_scroll_bars, deactivate_scroll_bars): Add prototypes. | |
21259 | ||
21260 | * macterm.c: Remove consolidated defines and code. | |
21261 | (BETWEEN): Remove unused macro. | |
21262 | (mac_draw_vertical_window_border, mac_shift_glyphs_for_insert) | |
21263 | (mac_define_frame_cursor, mac_clear_frame_area) | |
21264 | (mac_draw_window_cursor): New Mac-specific functions for RIF. | |
21265 | (x_redisplay_interface): Add new members. | |
21266 | ||
21267 | * macgui.h (No_Cursor): Define as 0 for Mac. | |
21268 | (XRectangle): Add X compatible rectangle type. | |
21269 | (NativeRectangle): Declare as Rect for Mac. | |
21270 | (CONVERT_TO_XRECT, CONVERT_FROM_XRECT, STORE_NATIVE_RECT): New macros. | |
21271 | ||
204ccab1 KS |
21272 | * macfns.c (x_set_mouse_color): Setup hand_cursor. |
21273 | (x_set_cursor_color): Use x_display_and_set_cursor. | |
acd37560 | 21274 | |
9443fcf6 | 21275 | * Makefile.in (xdisp.o): Add dependency on blockinput.h and files |
acd37560 KS |
21276 | included from it. Add dependency on keymap.h. |
21277 | ||
21278 | * makefile.w32-in (xdisp.o): Add dependency on keymap.h. | |
21279 | ||
8ba01a70 | 21280 | 2003-03-21 Kenichi Handa <handa@m17n.org> |
3f817c73 KH |
21281 | |
21282 | * fileio.c (Fexpand_file_name): Fix previous change. | |
21283 | ||
8ba01a70 | 21284 | 2003-03-19 Kenichi Handa <handa@m17n.org> |
4f497b0a KH |
21285 | |
21286 | * fileio.c (Ffile_name_directory): Reconstruct file name by | |
21287 | make_specified_string. | |
21288 | (Ffile_name_nondirectory, Ffile_name_as_directory) | |
21289 | (Fdirectory_file_name, Fexpand_file_name) | |
21290 | (Fsubstitute_in_file_name): Likewise. | |
21291 | (Fread_file_name): Compare decoded homedir with DIR and | |
21292 | DEFAULT_FILENAME. | |
21293 | ||
21294 | * alloc.c (make_specified_string): If NCHARS is negative, count | |
21295 | the number of characters. | |
21296 | ||
19536747 JD |
21297 | 2003-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21298 | ||
de38ae5a JD |
21299 | * gtkutil.c (xg_frame_cleared): Call gtk_widget_queue_draw for |
21300 | all widgets. | |
21301 | ||
19536747 JD |
21302 | * gtkutil.h: Removed xg_ignore_next_thumb. |
21303 | ||
37ab321e | 21304 | 2003-03-18 Kenichi Handa <handa@m17n.org> |
cb0d4562 KH |
21305 | |
21306 | * coding.c (Vchar_coding_system_table): Remove this variable. | |
21307 | (Vcoding_system_safe_chars): New variable. | |
21308 | (intersection): Remove this function. | |
21309 | (find_safe_codings): Don't use Vchar_coding_system_table, but try | |
21310 | all codings in SAFE_CODINGS. | |
00c64fab | 21311 | (Ffind_coding_systems_region_internal): Adjust for the change of |
cb0d4562 KH |
21312 | find_safe_codings. Get generic coding systems from |
21313 | Vcoding_system_safe_chars. | |
21314 | (Fdefine_coding_system_internal): New function. | |
21315 | (syms_of_coding): Defsubr Sdefine_coding_system_internal. | |
21316 | Initialize and staticpro Vcoding_system_safe_chars. | |
21317 | ||
17097258 JD |
21318 | 2003-03-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21319 | ||
2a2071c3 JD |
21320 | * gtkutil.c (xg_set_toolkit_scroll_bar_thumb): Check if new values |
21321 | equal old values before updating. | |
21322 | ||
17097258 JD |
21323 | * xterm.c (xg_scroll_callback): Remove xg_ignore_next_thumb. |
21324 | ||
21325 | * gtkutil.c (xg_initialize): Remove xg_ignore_next_thumb. | |
21326 | ||
21327 | 2003-03-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
21328 | ||
21329 | * gtkutil.c: Removed handle_fixed_child, struct xg_last_sb_pos. | |
21330 | (xg_resize_widgets): Don't call foreach(handle_fixed_child). | |
21331 | (xg_gtk_scroll_destroy): Remove free of struct xg_last_sb_pos. | |
14a56a1b | 21332 | (scroll_bar_button_cb): Set bar->dragging to nil on button release. |
17097258 JD |
21333 | (xg_create_scroll_bar): Pass bar to button event callback. |
21334 | (xg_find_top_left_in_fixed): New function. | |
21335 | (xg_update_scrollbar_pos): Don't call gdk_window_clear on | |
21336 | whole scroll bar area. Get old position with | |
21337 | xg_find_top_left_in_fixed, calculate and only clear needed areas. | |
21338 | (xg_set_toolkit_scroll_bar_thumb): Do not adjust scroll bar if | |
21339 | dragging is in progress. Calculate whole as for Motif. | |
21340 | Remove code that saved last values. Call gtk_range functions to | |
21341 | set scroll bar sizes. | |
21342 | ||
21343 | * gtkutil.h: Removed xg_ignore_next_thumb. | |
21344 | ||
8cb9dfbf JB |
21345 | 2003-03-17 Juanma Barranquero <lektu@terra.es> |
21346 | ||
21347 | * makefile.w32-in ($(BLD)/xdisp.$(O)): Add dependency on blockinput.h | |
21348 | and files included from it. | |
21349 | ||
00c64fab SM |
21350 | 2003-03-18 Stefan Monnier <monnier@cs.yale.edu> |
21351 | ||
21352 | * keymap.c (accessible_keymaps_1): Break cycles but without preventing | |
21353 | multiple occurrences of the same keymap under different prefixes. | |
21354 | (Faccessible_keymaps): Remove code redundant since 1994-08-03T07:39:00Z!rms@gnu.org. | |
21355 | ||
c45bb3b2 JR |
21356 | 2003-03-16 Jason Rumney <jasonr@gnu.org> |
21357 | ||
21358 | * w32gui.h: Use HDC for Display. | |
21359 | ||
21360 | * w32term.c (w32_encode_char): Prevent double-byte chars from | |
21361 | crashing Emacs. | |
21362 | ||
21363 | * w32fns.c (jpeg_load, png_load, slurp_file): Read image files | |
21364 | as binary. | |
21365 | ||
2a6d0874 JB |
21366 | 2003-03-16 Juanma Barranquero <lektu@terra.es> |
21367 | ||
21368 | * xdisp.c (x_produce_glyphs): Use FRAME_BASELINE_OFFSET. | |
21369 | ||
03eb5fab KS |
21370 | 2003-03-16 Kim F. Storm <storm@cua.dk> |
21371 | ||
21372 | The following changes consolidate some of the gui-independent | |
21373 | parts of the processing and drawing of "glyph strings" from | |
21374 | xterm.c, w32term.c, and macterm.c into xdisp.c. | |
2a6d0874 | 21375 | |
03eb5fab KS |
21376 | * dispextern.h (struct glyph): Reduce face_id member from 22 to |
21377 | 21 bits (this reduces number of faces from 4M to 2M). | |
21378 | Replace W32 specific w32_font_type member (2 bits) by generic | |
21379 | font_type member (3 bits) for portability. | |
21380 | (FONT_TYPE_UNKNOWN): New define, default for font_type member. | |
21381 | (enum draw_glyphs_face): Define here. | |
21382 | (struct glyph_string): Define here. Merge W32 and X versions. | |
21383 | (struct redisplay_interface): New members per_char_metric, | |
21384 | encode_char, compute_glyph_string_overhangs, draw_glyph_string. | |
21385 | (VCENTER_BASELINE_OFFSET): Define here. | |
21386 | (dump_glyph_string, x_get_glyph_overhangs, x_produce_glyphs) | |
21387 | (x_draw_glyphs, notice_overwritten_cursor): Declare prototypes here. | |
21388 | ||
21389 | * xdisp.c: Consolidate gui-independent "glyph string" code here. | |
21390 | (dump_glyph_string): Moved here. | |
21391 | (init_glyph_string, append_glyph_string_lists, append_glyph_string) | |
21392 | (prepend_glyph_string_lists, get_glyph_face_and_encoding) | |
21393 | (fill_composite_glyph_string, fill_glyph_string) | |
21394 | (fill_image_glyph_string, fill_stretch_glyph_string) | |
21395 | (left_overwritten, left_overwriting, right_overwritten) | |
21396 | (right_overwriting, get_char_face_and_encoding) | |
21397 | (set_glyph_string_background_width, compute_overhangs_and_x) | |
21398 | (append_glyph, append_composite_glyph, produce_image_glyph) | |
21399 | (take_vertical_position_into_account, append_stretch_glyph) | |
21400 | (produce_stretch_glyph): New generic functions (based on X version). | |
21401 | Call platform specific functions through rif. | |
21402 | (INIT_GLYPH_STRING): New macro, hides W32 details. | |
21403 | (BUILD_STRETCH_GLYPH_STRING, BUILD_IMAGE_GLYPH_STRING) | |
21404 | (BUILD_CHAR_GLYPH_STRINGS, BUILD_COMPOSITE_GLYPH_STRING) | |
21405 | (BUILD_GLYPH_STRINGS): Generic macros (based on X version). | |
21406 | (x_draw_glyphs, x_get_glyph_overhangs, x_produce_glyphs) | |
21407 | (notice_overwritten_cursor): | |
21408 | Generic functions exported to platform modules. Users changed. | |
21409 | ||
21410 | * xterm.h (FONT_DESCENT, FRAME_X_OUTPUT, FRAME_BASELINE_OFFSET) | |
21411 | (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE) | |
21412 | (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): | |
fad49844 | 21413 | New macros for consolidated code. |
2a6d0874 | 21414 | |
03eb5fab KS |
21415 | * xterm.c: Remove consolidated defines and code. |
21416 | (x_per_char_metric, x_encode_char) | |
21417 | (x_compute_glyph_string_overhangs): Adapt to RIF requirements. | |
21418 | (x_redisplay_interface): Add new members. | |
21419 | ||
21420 | * w32gui.h (Display): Add dummy typedef for consolidation. | |
21421 | (XChar2b): Define alias for wchar_t for consolidation. | |
21422 | (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): New macros. | |
21423 | ||
21424 | * w32term.h (FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY) | |
2a6d0874 | 21425 | (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): |
03eb5fab KS |
21426 | New macros for consolidation. |
21427 | ||
fad49844 | 21428 | * w32term.c: Remove consolidated defines and code. |
03eb5fab KS |
21429 | (BUILD_WCHAR_T, BYTE1, BYTE2): Macros removed; callers changed |
21430 | to use STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2 instead. | |
21431 | (w32_per_char_metric): Change font_type arg to int for RIF. | |
21432 | (w32_encode_char): Return int according to RIF requirements. | |
21433 | (w32_compute_glyph_string_overhangs): Adapt to RIF. | |
21434 | (w32_get_glyph_overhangs): New function for RIF. Uses generic | |
21435 | x_get_glyph_overhangs. | |
21436 | (w32_redisplay_interface): Add new members. | |
21437 | ||
21438 | * macgui.h (XChar2b): Move typedef here for consolidation. | |
21439 | (STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2): New macros. | |
21440 | ||
21441 | * macterm.h (FRAME_X_OUTPUT, FRAME_X_WINDOW, FRAME_X_DISPLAY): | |
21442 | (FONT_TYPE_FOR_UNIBYTE, FONT_TYPE_FOR_MULTIBYTE): New macros for | |
21443 | consolidation. | |
21444 | ||
21445 | * macterm.c: Remove consolidated defines and code. | |
21446 | (mac_per_char_metric): New function for RIF. | |
00c64fab | 21447 | (mac_encode_char): Adapt to new RIF requirements. |
03eb5fab KS |
21448 | (mac_compute_glyph_string_overhangs): Adapt for RIF. |
21449 | (x_redisplay_interface): Add new members. | |
21450 | ||
00c64fab SM |
21451 | 2003-03-15 Stefan Monnier <monnier@cs.yale.edu> |
21452 | ||
21453 | * keymap.c (Vmenu_events): New var. | |
21454 | (syms_of_keymap): Initialize it. | |
21455 | (where_is_internal): Check more carefully what is a menu event. | |
21456 | ||
225c7a07 RS |
21457 | 2003-03-14 Richard M. Stallman <rms@gnu.org> |
21458 | ||
21459 | * lread.c (read1): After #!, exit loop on eof. | |
21460 | ||
cea9be54 JD |
21461 | 2003-03-14 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21462 | ||
9ea0e54d JD |
21463 | * gtkutil.h: Add declaration for xg_frame_cleared. |
21464 | ||
0cb35f4e JD |
21465 | * xterm.c (x_clear_frame): Call xg_frame_cleared for GTK. |
21466 | ||
cea9be54 JD |
21467 | * gtkutil.c (struct xg_last_sb_pos): New structure. |
21468 | (handle_fixed_child): New function. | |
21469 | (xg_resize_widgets): Call handle_fixed_child on all scroll bar widgets | |
21470 | and force a redraw on them. | |
21471 | (xg_gtk_scroll_destroy): Free struct xg_last_sb_pos also. | |
21472 | (xg_create_scroll_bar): Add struct xg_last_sb_pos to scroll bar | |
21473 | so we can avoid unneeded redraws. | |
21474 | (xg_update_scrollbar_pos): Invalidate data in xg_last_sb_pos | |
21475 | and force a redraw on the scroll bar. | |
21476 | (xg_set_toolkit_scroll_bar_thumb): Do not change/redraw scroll bar | |
21477 | if xg_last_sb_pos shows the positions are up to date. | |
0cb35f4e | 21478 | (xg_frame_cleared): New function. |
cea9be54 | 21479 | |
20b853f3 KH |
21480 | 2003-03-13 Kenichi Handa <handa@m17n.org> |
21481 | ||
21482 | * coding.c (Fdetect_coding_region): Fix docstring. | |
21483 | (Fdetect_coding_string): Fix docstring. | |
21484 | ||
7a555aff AS |
21485 | 2003-03-13 Andreas Schwab <schwab@suse.de> |
21486 | ||
25cc0080 AS |
21487 | * gtkutil.c: Add prototype for create_menus. |
21488 | ||
30225431 AS |
21489 | * data.c (long_to_cons): Fix type of top. |
21490 | ||
21491 | * xselect.c (selection_data_to_lisp_data): Use int instead of | |
21492 | long for an integer of size 4. | |
21493 | ||
7a555aff | 21494 | * gtkutil.c (xg_update_frame_menubar): Add missing return value. |
30225431 | 21495 | (xg_tool_bar_help_callback): Likewise. |
7a555aff | 21496 | |
a3e4741f AS |
21497 | 2003-03-12 Andreas Schwab <schwab@suse.de> |
21498 | ||
21499 | * xterm.c (x_term_init) [USE_GTK]: Fix typo. | |
21500 | ||
9668be7c KS |
21501 | 2003-03-12 Kim F. Storm <storm@cua.dk> |
21502 | ||
03eb5fab | 21503 | The following changes consolidate the fringe handling from |
9668be7c | 21504 | xterm.c, w32term.c, and macterm.c into xdisp.c. |
00a88f32 | 21505 | |
9668be7c KS |
21506 | * xdisp.c: Consolidate fringe handling code here. |
21507 | (left_bits, right_bits, continued_bits, continuation_bits) | |
21508 | (ov_bits, zv_bits): Define fringe bitmaps. | |
21509 | (fringe_bitmaps): New array holding fringe bitmaps. | |
21510 | (draw_fringe_bitmap): Draw a specific bitmap; call display | |
21511 | specific drawing routine via rif->draw_fringe_bitmap. | |
21512 | (draw_row_fringe_bitmaps): Generic replacement for | |
21513 | x_draw_row_fringe_bitmaps; all callers changed. | |
21514 | (compute_fringe_widths): Generic replacement for | |
21515 | x_compute_fringe_widths; all callers changed. | |
21516 | ||
21517 | * dispextern.h (enum fringe_bitmap_type): Define here. | |
21518 | (struct fringe_bitmap, struct draw_fringe_bitmap_params): New. | |
21519 | (fringe_bitmaps): Declare extern. | |
21520 | (struct redisplay_interface): New member draw_fringe_bitmap. | |
21521 | (draw_row_fringe_bitmaps, compute_fringe_widths): Declare extern. | |
21522 | ||
21523 | * xterm.c: Remove generic fringe code. | |
21524 | (x_draw_fringe_bitmap): Only perform actual fringe drawing. | |
21525 | (x_redisplay_interface): Add x_draw_fringe_bitmap member. | |
21526 | ||
21527 | * w32term.c: Remove generic fringe code. | |
21528 | (w32_draw_fringe_bitmap): Only perform actual fringe drawing. | |
21529 | (w32_redisplay_interface): Add w32_draw_fringe_bitmap member. | |
00a88f32 | 21530 | |
9668be7c KS |
21531 | * macterm.c: Remove generic fringe code. |
21532 | (x_draw_fringe_bitmap): Only perform actual fringe drawing. | |
21533 | (x_redisplay_interface): Add x_draw_fringe_bitmap member. | |
21534 | ||
00a88f32 SM |
21535 | 2003-03-11 Stefan Monnier <monnier@cs.yale.edu> |
21536 | ||
21537 | * print.c (Fprin1_to_string): Return unibyte string if possible. | |
21538 | ||
1d1de695 DK |
21539 | 2003-03-09 David Kastrup <dak@gnu.org> |
21540 | ||
21541 | * process.c (read_process_output): We have allocated enough space | |
21542 | for readmax and carryover, so actually use the alloted space. | |
21543 | ||
257f40f2 JD |
21544 | 2003-03-09 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21545 | ||
21546 | * keyboard.c (make_lispy_event): Extend mouse_syms if needed for | |
21547 | toolkit scrollbar click. | |
21548 | ||
21549 | * xterm.c (x_window_to_scroll_bar): Call xg_get_scroll_id_for_window | |
21550 | for USE_GTK. | |
21551 | (x_scroll_bar_handle_click): Use this function for toolkit scrollbars | |
21552 | also. | |
1d1c7e75 | 21553 | (handle_one_xevent): ButtonPress/Release: If event is for a toolkit |
257f40f2 | 21554 | scrollbar and control is pressed, call x_scroll_bar_handle_click. |
00a88f32 | 21555 | |
78819ebb | 21556 | * gtkutil.h (xg_get_scroll_id_for_window): Declare. |
257f40f2 JD |
21557 | |
21558 | * gtkutil.c (xg_get_scroll_id_for_window): New function. | |
21559 | (xg_tool_bar_item_expose_callback): New function. | |
21560 | (xg_tool_bar_expose_callback): Call update_frame_tool_bar. | |
21561 | (xg_create_tool_bar): Connect xg_tool_bar_expose_callback to expose | |
21562 | on the tool bar widget. | |
21563 | (update_frame_tool_bar): Connect xg_tool_bar_item_expose_callback | |
21564 | to expose on the tool bar item widgets. | |
21565 | ||
15213141 JD |
21566 | 2003-03-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21567 | ||
26b74a0b | 21568 | * gtkutil.c (update_frame_tool_bar): Compare pixmap ID instead of |
00a88f32 | 21569 | struct image* when deciding to update (struct image* may have been |
26b74a0b JD |
21570 | deleted from the image cache). |
21571 | ||
15213141 JD |
21572 | * xterm.c (handle_one_xevent): Pass ReparentNotify to Xt even if |
21573 | the event isn't for a frame (i.e. for dialogs). | |
21574 | ||
20b853f3 | 21575 | 2003-03-07 Kenichi Handa <handa@m17n.org> |
cb681b34 KH |
21576 | |
21577 | * coding.c (CODING_ADD_COMPOSITION_COMPONENT): If the number of | |
21578 | composition components reaches the limit, terminate composing. | |
21579 | (COMPOSITION_OK): New macro. | |
00a88f32 | 21580 | (detect_coding_iso2022): Use it if an escape sequence for |
cb681b34 KH |
21581 | composition is found. |
21582 | (coding_restore_composition): Adjust the number of composition | |
21583 | components if it is not sane. | |
21584 | ||
c9029fe5 JB |
21585 | 2003-03-06 Juanma Barranquero <lektu@terra.es> |
21586 | ||
21587 | * w32term.h (struct w32_display_info): Add xrdb member to support | |
21588 | passing resources via -xrm on Windows. | |
21589 | ||
21590 | * w32term.c (w32_make_rdb): New function. | |
21591 | (w32_term_init): Use it to initialize xrdb member of w32_display_info | |
21592 | struct. Delete leftover code. | |
21593 | ||
21594 | * w32fns.c (Fx_get_resource, x_get_resource_string): Pass xrdb to check | |
21595 | for resources passed on the command line. | |
21596 | ||
21597 | * w32reg.c (w32_get_rdb_resource): New function. | |
21598 | (x_get_string_resource): Use it, so resources passed with -xrm | |
21599 | supercede the ones in the registry. | |
21600 | ||
9d00001f JD |
21601 | 2003-03-04 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21602 | ||
21603 | * xterm.c (x_detect_focus_change): Call x_any_window_to_frame | |
21604 | instead of x_top_window_to_frame. | |
21605 | ||
ca2417b9 JD |
21606 | 2003-03-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21607 | ||
21608 | * xsmfns.c (smc_save_yourself_CB): Add --no-splash to options | |
21609 | when restarting Emacs. | |
21610 | ||
5b20caf0 RS |
21611 | 2003-03-03 Richard M. Stallman <rms@gnu.org> |
21612 | ||
21613 | * buffer.c (Fkill_buffer): Use Frun_hook_with_args_until_failure | |
21614 | to run kill-buffer-query-functions. | |
21615 | (Qkill_buffer_query_functions): New var. | |
21616 | (syms_of_buffer): Init and staticpro it. | |
21617 | ||
58e91b77 JD |
21618 | 2003-03-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21619 | ||
21620 | * xterm.h (XSync): Define as gdk_window_process_all_updates for GTK. | |
21621 | ||
932357b4 KS |
21622 | 2003-02-25 Kim F. Storm <storm@cua.dk> |
21623 | ||
21624 | * xdisp.c (redisplay_window): Fix infinite loop in redisplay. | |
21625 | If centering point failed to make whole line visible and vscroll | |
21626 | is non-zero, disable vscroll and try centering point again. | |
21627 | ||
21628 | * lread.c (read1): Accept `single space' syntax like (? x). | |
21629 | ||
bb8db7e1 JD |
21630 | 2003-02-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21631 | ||
21632 | * keyboard.c (cancel_hourglass_unwind): Surround with | |
14a56a1b | 21633 | #ifdef HAVE_X_WINDOWS. |
bb8db7e1 | 21634 | |
47d77aab KH |
21635 | 2003-02-25 Kenichi Handa <handa@m17n.org> |
21636 | ||
21637 | * buffer.c (Fset_buffer_multibyte): Pay attention to the buffer | |
21638 | process only when "subprocesses" is defined. | |
21639 | ||
6a097c0c SM |
21640 | 2003-02-24 Stefan Monnier <monnier@cs.yale.edu> |
21641 | ||
21642 | * syntax.c (back_comment): Only check nestedness of 2nd char if needed. | |
21643 | ||
0b063c27 JB |
21644 | 2003-02-24 Juanma Barranquero <lektu@terra.es> |
21645 | ||
d1135afc JB |
21646 | * callint.c (fix_command): Declare as static void and move before |
21647 | Fcall_interactively. | |
21648 | ||
0b063c27 JB |
21649 | * xdisp.c (Qwhen): Declare external; it's now defined in callint.c. |
21650 | (syms_of_xdisp): Don't initialize Qwhen. | |
21651 | ||
0af912f0 JD |
21652 | 2003-02-23 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21653 | ||
21654 | * keyboard.c (cancel_hourglass_unwind): New function. | |
21655 | (command_loop_1): Cancel hourglass with unwind-protect. | |
21656 | ||
120d0a23 RS |
21657 | 2003-02-23 Richard M. Stallman <rms@gnu.org> |
21658 | ||
21659 | * callint.c (fix_command): New subroutine, from Fcall_interactively. | |
21660 | Detect (when ... (region-beginning)) etc. | |
21661 | (Fcall_interactively): Call fix_command. | |
21662 | (Qif, Qwhen): New variables. | |
21663 | (syms_of_callint): Init and staticpro them. | |
0b063c27 | 21664 | |
120d0a23 RS |
21665 | * regex.c (print_partial_compiled_pattern): Output to stderr. |
21666 | ||
4ece81a6 KG |
21667 | 2003-02-23 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@uni-duisburg.de> |
21668 | ||
21669 | * dired.c (directory_files_internal): Don't expand directory. | |
21670 | (Fdirectory_files, Fdirectory_files_and_attributes): Do it here | |
21671 | instead. From Lars Hansen <larsh@math.ku.dk>. | |
21672 | ||
e52bd6b7 SM |
21673 | 2003-02-22 Stefan Monnier <monnier@cs.yale.edu> |
21674 | ||
21675 | * fns.c (string_to_multibyte): Remove unused var i. | |
21676 | (Flanginfo): Fix int/Lisp_Object mixup. | |
21677 | (void_call2): New fun. | |
21678 | (Fmap_char_table): Use it in place of call2. | |
21679 | ||
21680 | * xfaces.c (x_face_list_fonts): Fix int/Lisp_Object mixup. | |
21681 | ||
21682 | * macros.c (Fstart_kbd_macro): Remove redundant assignment. | |
21683 | ||
21684 | * keymap.c (copy_keymap_1): Make it static. | |
21685 | ||
21686 | * alloc.c (Fgarbage_collect): Don't use XSETFLOAT. | |
21687 | ||
c33ef7c4 JB |
21688 | 2003-02-22 David Ponce <david@dponce.com> |
21689 | ||
21690 | * lread.c (Fload): Don't check STRING_MULTIBYTE. | |
21691 | ||
16782258 JD |
21692 | 2003-02-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21693 | ||
21694 | * process.h: Removed subtty field from struct Lisp_Process. | |
21695 | ||
21696 | * process.c (create_process): Remove setting of subtty. | |
21697 | (emacs_get_tty_pgrp): New function. | |
e52bd6b7 SM |
21698 | (Fprocess_running_child_p, process_send_signal): |
21699 | Call emacs_get_tty_pgrp instead of ioctl. | |
16782258 JD |
21700 | (process_send_signal): Call EMACS_KILLPG if ioctl TIOCSIGSEND fails. |
21701 | ||
3abeca61 KG |
21702 | 2003-02-21 Kai Gro\e,A_\e(Bjohann <kai.grossjohann@uni-duisburg.de> |
21703 | ||
21704 | * keymap.c (Fdefine_key): Doc fix. | |
21705 | ||
92a8ce63 JB |
21706 | 2003-02-21 Juanma Barranquero <lektu@terra.es> |
21707 | ||
21708 | Port of patch for RC by Klaus Zeitler <kzeitler@lucent.com>. | |
21709 | ||
21710 | * s/hpux10.h: Define POLL_INTERRUPTED_SYS_CALL, not | |
21711 | POLLING_PROBLEM_IN_SELECT. | |
21712 | ||
21713 | * s/hpux11.h: Include hpux10-20.h instead of hpux10.h. | |
21714 | Delete #undef of POLLING_PROBLEM_IN_SELECT. | |
21715 | ||
21716 | * s/hpux10-20.h: New file. | |
21717 | ||
e52bd6b7 SM |
21718 | * process.c (wait_reading_process_input): |
21719 | Use POLL_INTERRUPTED_SYS_CALL, not POLLING_PROBLEM_IN_SELECT. | |
92a8ce63 | 21720 | |
20f1ef2e KH |
21721 | 2003-02-20 Kenichi Handa <handa@m17n.org> |
21722 | ||
32d0a9dc KH |
21723 | * fontset.c (check_fontset_name): If NAME is nil, return the |
21724 | default fontset. | |
21725 | (override_font_info): New function. | |
e52bd6b7 | 21726 | (Fset_fontset_font): Document that NAME nil means the default fontset. |
32d0a9dc KH |
21727 | (Ffontset_info): If FONTSET is not the default fontset, merge |
21728 | FONTSET onto the copy of the default fontset, and work on that | |
21729 | copy. Document that NAME nil means the default fontset. | |
21730 | (Ffontset_font): Document that NAME nil means the default fontset. | |
21731 | ||
20f1ef2e KH |
21732 | * process.c (setup_process_coding_systems): If the process's |
21733 | in/out descriptor is -1, do nothing. | |
21734 | ||
77d1daf2 AS |
21735 | 2003-02-19 Andreas Schwab <schwab@suse.de> |
21736 | ||
e52bd6b7 SM |
21737 | * lisp.h (Fcancel_kbd_macro_events, Fstring_to_multibyte): |
21738 | Add prototypes. | |
77d1daf2 | 21739 | |
f9a45bb3 KH |
21740 | 2003-02-19 Kenichi Handa <handa@m17n.org> |
21741 | ||
21742 | * xfaces.c (try_alternative_families): Try all scalable fonts if | |
21743 | Vscalable_fonts_allowed is not Qt. | |
21744 | ||
72ecb43c JD |
21745 | 2003-02-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21746 | ||
21747 | * xfaces.c (x_face_list_fonts): Set *pfonts to 0 if no fonts found. | |
21748 | ||
ee5be7c3 JD |
21749 | 2003-02-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21750 | ||
21751 | * xterm.c (x_list_fonts): If maxnames is less than 0, get all font | |
21752 | names. | |
21753 | ||
21754 | * xfaces.c (x_face_list_fonts): Allocate struct font_name here. | |
e52bd6b7 | 21755 | (sorted_font_list): Move allocation of struct font_name to |
ee5be7c3 JD |
21756 | x_face_list_fonts. |
21757 | (Fx_font_family_list): Set font-list-limit to -1 to get all font names. | |
21758 | (Fx_list_fonts): Set maxnames to -1 to get all font names. | |
21759 | ||
4cd519a7 KS |
21760 | 2003-02-18 Kim F. Storm <storm@cua.dk> |
21761 | ||
068f9882 KS |
21762 | * lread.c (read1): Fix last change. |
21763 | "`" is not always special. Allow "?" after a character constant. | |
4cd519a7 | 21764 | |
7290a344 AC |
21765 | 2003-02-18 Andrew Choi <akochoi@shaw.ca> |
21766 | ||
21767 | * unexmacosx.c (copy_data_segment): Also copy __cfstring section. | |
21768 | ||
1f7fa69b AS |
21769 | 2003-02-18 Andreas Schwab <schwab@suse.de> |
21770 | ||
21771 | * window.c (window_scroll_pixel_based): Move outside a | |
21772 | multi-glyph character before setting new window start. | |
21773 | ||
21774 | * xdisp.c (in_display_vector_p): New function. | |
21775 | * dispextern.h (in_display_vector_p): Declare. | |
21776 | ||
23e21195 KS |
21777 | 2003-02-18 Kim F. Storm <storm@cua.dk> |
21778 | ||
21779 | * lread.c (read1): Fix and relax read syntax. | |
21780 | Recognize "[", ";", "#", and "?" after a dotted-pair dot. | |
21781 | Only recognize "," after dotted-pair dot if inside backquote. | |
21782 | Never include "`" or "," (inside backquote) in a symbol. | |
21783 | Allow dotted-pair dot after a character constant. | |
21784 | Allow "`" and "," (inside backquote) after a character constant. | |
92a8ce63 | 21785 | |
f098b121 JD |
21786 | 2003-02-17 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21787 | ||
21788 | * gtkutil.c (xg_tool_bar_expose_callback): New function. | |
21789 | (xg_create_tool_bar): Force style of tool bar to be horizontal with | |
5e1a6e32 | 21790 | icons. Set name of tool bar to emacs-toolbar. |
f098b121 JD |
21791 | (update_frame_tool_bar): Connect expose event to |
21792 | xg_tool_bar_expose_callback. | |
21793 | ||
63020c46 RS |
21794 | 2003-02-17 Richard M. Stallman <rms@gnu.org> |
21795 | ||
21796 | * keyboard.c (this_command_key_count_reset): New variable. | |
21797 | Initiatize to 0 where this_command_key_count is set. | |
21798 | (read_char): Save and restore this_command_key_count_reset | |
21799 | around input method code. | |
21800 | (read_char): If this_command_key_count_reset, echo reread commands. | |
21801 | (Freset_this_command_lengths): Set this_command_key_count_reset to 1. | |
21802 | ||
fb4452cc KH |
21803 | 2003-02-17 Kenichi Handa <handa@m17n.org> |
21804 | ||
21805 | * fns.c (string_to_multibyte): Always return a multibyte string. | |
21806 | ||
bd11cc09 JR |
21807 | 2003-02-16 Jason Rumney <jasonr@gnu.org> |
21808 | ||
e52bd6b7 SM |
21809 | * w32fns.c (w32_list_bdf_fonts, w32_list_fonts): |
21810 | Negative max_fonts parameter means list all. | |
bd11cc09 | 21811 | |
4cdf4bde DL |
21812 | 2003-02-14 Dave Love <fx@gnu.org> |
21813 | ||
21814 | * fns.c (Flanginfo): Doc fix. | |
21815 | ||
023b93f6 KS |
21816 | 2003-02-13 Kim F. Storm <storm@cua.dk> |
21817 | ||
37cd4238 KS |
21818 | * lread.c (read_escape): Interpret \s as a SPACE character, except |
21819 | for \s-X in a character constant which still is the super modifier. | |
21820 | (read1): Signal an `invalid read syntax' error if a character | |
21821 | constant is immediately followed by a digit or symbol character. | |
21822 | ||
140a6b7e KS |
21823 | * search.c (Fmatch_data): Doc fix. Explicitly state that |
21824 | match-data is undefined if last search failed. | |
21825 | ||
3419757d | 21826 | * keymap.c (Fcommand_remapping): Rename from Fremap_command. |
023b93f6 KS |
21827 | All uses changed. |
21828 | ||
7d5c86e5 JB |
21829 | 2003-02-12 Juanma Barranquero <lektu@terra.es> |
21830 | ||
21831 | * eval.c (Fdefmacro): Fix typo. | |
21832 | ||
295fff2c KS |
21833 | 2003-02-12 Kim F. Storm <storm@cua.dk> |
21834 | ||
21835 | * macros.c (Fstart_kbd_macro): If appending, and last keyboard | |
21836 | macro is a string, convert meta modifiers in string when copying | |
21837 | the string into a vector. | |
21838 | ||
60f3202d KS |
21839 | 2003-02-11 Kim F. Storm <storm@cua.dk> |
21840 | ||
21841 | * keymap.c (Fremap_command): Return nil if arg is not a symbol. | |
21842 | ||
61cb0b53 KH |
21843 | 2003-02-11 Kenichi Handa <handa@m17n.org> |
21844 | ||
21845 | * Makefile.in (lisp, shortlisp): Add malayalam.el and tamil.el. | |
21846 | ||
7392e23c KS |
21847 | 2003-02-10 Kim F. Storm <storm@cua.dk> |
21848 | ||
21849 | * process.c: Doc fixes. | |
21850 | (syms_of_process): Add `:' prefix to QCfilter_multibyte. | |
21851 | ||
ce4254bd KH |
21852 | 2003-02-10 Kenichi Handa <handa@m17n.org> |
21853 | ||
9c7a329a KH |
21854 | * fns.c (Fstring_to_multibyte): Fix typo in the docstring. |
21855 | ||
ce4254bd KH |
21856 | * process.c (QCfilter_multibyte): New variable. |
21857 | (setup_process_coding_systems): New function. | |
e52bd6b7 SM |
21858 | (Fset_process_buffer, Fset_process_filter): |
21859 | Call setup_process_coding_systems. | |
ce4254bd KH |
21860 | (Fstart_process): Initialize the member `filter_multibyte' of |
21861 | struct Lisp_Process. | |
21862 | (create_process): Call setup_process_coding_systems. | |
21863 | (Fmake_network_process): New keyward `:filter-multibyte'. | |
21864 | Initialize the member `filter_multibyte' of struct Lisp_Process. | |
21865 | Call setup_process_coding_systems. | |
21866 | (server_accept_connection): Call setup_process_coding_systems. | |
21867 | (read_process_output): If the process has a filter, decide the | |
21868 | multibyteness of a string to given to the filter by | |
21869 | `filter_multibyte' member of the process. If the process doesn't | |
21870 | have a filter and the result of conversion is unibyte, use | |
21871 | Fstring_to_multibyte (not Fstring_make_multibyte) to get the | |
21872 | multibyte form. | |
21873 | (Fset_process_coding_system): Call setup_process_coding_systems. | |
21874 | (Fset_process_filter_multibyte): New function. | |
21875 | (Fprocess_filter_multibyte_p): New function. | |
21876 | (syms_of_process): Intern and staticpro QCfilter_multibyte. | |
21877 | Defsubr Sset_process_filter_multibyte and | |
21878 | Sprocess_filter_multibyte_p. | |
21879 | ||
21880 | * process.h (struct Lisp_Process): New member filter_multibyte. | |
21881 | ||
21882 | * lisp.h (setup_process_coding_systems): Add prototype. | |
21883 | ||
21884 | * buffer.c (Fset_buffer_multibyte): If the current buffer has a | |
21885 | process, update coding systems for the process. | |
21886 | ||
b08d5f59 KH |
21887 | 2003-02-09 Kenichi Handa <handa@m17n.org> |
21888 | ||
21889 | * fns.c (string_to_multibyte): New function. | |
21890 | (Fstring_to_multibyte): New function. | |
21891 | (syms_of_fns): Defsubr it. | |
21892 | ||
0dfd93c0 AS |
21893 | 2003-02-08 Andreas Schwab <schwab@suse.de> |
21894 | ||
21895 | * Makefile.in (EXEEXT): Define to @EXEEXT@ and use this variable | |
21896 | instead of the substitution. | |
21897 | ||
7b76ca1c JD |
21898 | 2003-02-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21899 | ||
21900 | * xterm.c (x_make_frame_visible): Call gtk_window_deiconify. | |
21901 | ||
21902 | * xmenu.c (menu_position_func): Adjust menu popup position so that | |
21903 | the menu is fully visible. | |
7b76ca1c | 21904 | |
2436a4e4 JD |
21905 | 2003-02-07 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21906 | ||
21907 | * xterm.c (x_text_icon, x_raise_frame, x_lower_frame) | |
e52bd6b7 SM |
21908 | (x_make_frame_invisible, x_wm_set_icon_position): |
21909 | Use FRAME_OUTER_WINDOW instead of ifdef X_TOOLKIT/else/endif. | |
2436a4e4 JD |
21910 | |
21911 | * xfns.c (x_set_name, x_set_title): Ditto. | |
21912 | ||
37d1e680 RS |
21913 | 2003-02-04 Richard M. Stallman <rms@gnu.org> |
21914 | ||
21915 | * keyboard.c (echo_now): Update before_command_echo_length. | |
21916 | (Freset_this_command_lengths): Reset this_command_key_count etc. | |
21917 | immediately rather than arranging to do it later. | |
21918 | (before_command_key_count_1, before_command_echo_length_1) | |
21919 | (before_command_restore_flag): Vars deleted. | |
21920 | (add_command_key): Don't handle before_command_restore_flag. | |
21921 | (read_char, record_menu_key): Don't update before_command_key_count or | |
21922 | before_command_echo_length. | |
21923 | (read_char): Don't handle before_command_restore_flag. | |
21924 | ||
21925 | * keyboard.c (command_loop_1): Don't call adjust_point_for_property | |
21926 | in direct-output clauses if it wouldn't be called in the ordinary case. | |
21927 | ||
578846a3 KS |
21928 | 2003-02-04 Kim F. Storm <storm@cua.dk> |
21929 | ||
21930 | * keyboard.c (syms_of_keyboard) <this-original-command>: Doc fix. | |
21931 | ||
49853a4d JD |
21932 | 2003-02-02 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21933 | ||
21934 | * gtkutil.c (remove_from_container): Copying list is not needed. | |
21935 | (xg_update_menubar, xg_update_menu_item, xg_update_submenu) | |
21936 | (xg_modify_menubar_widgets, update_frame_tool_bar): Call g_list_free | |
21937 | on list returned from gtk_container_get_children to avoid memory leak. | |
21938 | ||
8b53dc06 JR |
21939 | 2003-02-01 Jason Rumney <jasonr@gnu.org> |
21940 | ||
5d54d177 JR |
21941 | * w32fns.c (w32_create_pixmap_from_bitmap_data): Use alloca for |
21942 | local malloc. | |
21943 | [HAVE_XPM]: Avoid clashes with XColor, XImage and Pixel | |
21944 | definitions in xpm.h. | |
21945 | (init_xpm_functions): New function. | |
f63fd14e | 21946 | (xpm_load): Sync with xfns.c. Adapt for Windows version of libXpm. |
5d54d177 JR |
21947 | (init_external_image_libraries): Try to load libXpm.dll. |
21948 | ||
8b53dc06 JR |
21949 | * fileio.c (Fcopy_file) [WINDOWSNT]: Reverse logic for setting |
21950 | timestamp. | |
21951 | ||
b222e415 DL |
21952 | 2003-01-31 Dave Love <fx@gnu.org> |
21953 | ||
21954 | * syntax.c (Fskip_chars_forward) | |
21955 | (open-paren-in-column-0-is-defun-start): Doc fix. | |
21956 | ||
c60ee5e7 JB |
21957 | 2003-01-31 Joe Buehler <jhpb@draco.hekimian.com> |
21958 | ||
21959 | * fileio.c: Support // at start of name for Cygwin (just added proper | |
21960 | preprocessor tests). | |
21961 | ||
21962 | * keyboard.c: Port to Cygwin (just added proper preprocessor tests). | |
21963 | ||
21964 | * Makefile.in: Use @EXEEXT@ for Cygwin. | |
21965 | ||
21966 | * mem-limits.h: Added ifdef to define BSD4_2 for Cygwin. | |
21967 | ||
21968 | * s/cygwin.h: Added for Cygwin port. | |
21969 | ||
53b37591 JB |
21970 | 2003-01-31 Juanma Barranquero <lektu@terra.es> |
21971 | ||
21972 | * w32fns.c (DrawText): Kludge to avoid a redefinition on Windows | |
21973 | when including gif_lib.h. | |
fe929957 | 21974 | (init_gif_functions, init_tiff_functions): New functions. |
f63fd14e JB |
21975 | (gif_load, tiff_load): Sync with xfns.c version. Adjust colors for |
21976 | Windows. Disable color table lookups. Call library functions | |
53b37591 | 21977 | through pointers determined at runtime. |
fe929957 JB |
21978 | (init_external_image_libraries): Try to load libungif.dll and |
21979 | libtiff.dll. | |
53b37591 | 21980 | |
45415a8f KH |
21981 | 2003-01-31 Kenichi Handa <handa@m17n.org> |
21982 | ||
21983 | * xdisp.c (SKIP_GLYPHS): New macro. | |
e52bd6b7 | 21984 | (set_cursor_from_row): Skip all glyphs that comes from overlay string. |
45415a8f | 21985 | |
a97e4138 JD |
21986 | 2003-01-30 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
21987 | ||
e52bd6b7 | 21988 | * gtkutil.c (free_frame_tool_bar): Remove debug printf. |
a97e4138 | 21989 | |
6eed9bed DL |
21990 | 2003-01-30 Dave Love <fx@gnu.org> |
21991 | ||
21992 | * alloc.c (Vgc_elapsed, gcs_done): New variables. | |
21993 | (Fgarbage_collect): Use them. | |
21994 | (init_alloc, syms_of_alloc): Set them up. | |
21995 | ||
100dcd40 JB |
21996 | 2003-01-30 Juanma Barranquero <lektu@terra.es> |
21997 | ||
21998 | * w32fns.c (init_external_image_libraries): Add missing operator. | |
21999 | ||
fbd852af JR |
22000 | 2003-01-29 Jason Rumney <jasonr@gnu.org> |
22001 | ||
22002 | * w32fns.c (init_external_image_libraries): Allow jpeg-62.dll as | |
22003 | an alternative name for jpeg.dll. | |
22004 | ||
8a2d8020 KH |
22005 | 2003-01-29 Kenichi Handa <handa@m17n.org> |
22006 | ||
22007 | * xdisp.c (set_cursor_from_row): Pay attention to string display | |
22008 | properties. | |
22009 | ||
058c18c7 AC |
22010 | 2003-01-28 Benjamin Riefenstahl <Benjamin.Riefenstahl@epost.de> |
22011 | ||
22012 | * macterm.c (keycode_to_xkeysym_table): Add <tab>, <backspace>, | |
22013 | <escape>. | |
22014 | (keycode_to_xkeysym_table): Reformat and add more comments. | |
22015 | (XTread_socket): Drop special case for backspace. | |
22016 | ||
385f11cf AC |
22017 | 2003-01-28 Andrew Choi <akochoi@shaw.ca> |
22018 | ||
22019 | * macfns.c (x_to_mac_color): Correct the order for parsing the RGB | |
22020 | values in old-style RGB specs. | |
22021 | ||
c922a224 JB |
22022 | 2003-01-27 Juanma Barranquero <lektu@terra.es> |
22023 | ||
22024 | * w32fns.c (init_external_image_libraries): Try alternate names for the | |
22025 | jpeg dll. | |
22026 | ||
0a1d6de0 JD |
22027 | 2003-01-27 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
22028 | ||
22029 | * gtkutil.c (create_dialog, xg_separator_p) | |
22030 | (xg_item_label_same_p, xg_update_menu_item): Check for NULL string | |
22031 | before calling strcmp or strlen. | |
22032 | ||
a97e4138 | 22033 | 2003-01-26 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1d1885fc JD |
22034 | |
22035 | * gtkutil.c (update_frame_tool_bar): Call prepare_image_for_display | |
22036 | and handle image load failure. | |
22037 | ||
28908312 JR |
22038 | 2003-01-26 Jason Rumney <jasonr@gnu.org> |
22039 | ||
22040 | * w32fns.c (init_jpeg_functions, jpeg_resync_to_restart_wrapper): | |
22041 | New functions. | |
f63fd14e JB |
22042 | (jpeg_load): Sync with xfns.c version. Adjust colors for Windows. |
22043 | Disable color table lookups. Call jpeg library functions | |
28908312 JR |
22044 | through pointers determined at runtime. |
22045 | (init_external_image_libraries): Try to load jpeg.dll. | |
22046 | ||
84e47416 RS |
22047 | 2003-01-25 Richard M. Stallman <rms@gnu.org> |
22048 | ||
22049 | * lisp.h: Declare format2 instead of format1. | |
22050 | ||
22051 | * fileio.c (barf_or_query_if_file_exists): | |
22052 | Call format2 instead of format1. | |
22053 | ||
22054 | * editfns.c (format2): New function, replaces format1 | |
22055 | but takes exactly two Lisp Objects as format args. | |
22056 | ||
22057 | * buffer.c (Fkill_buffer): Call format2 instead of format1. | |
22058 | ||
a97e4138 | 22059 | 2003-01-25 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
1fcfb866 JD |
22060 | |
22061 | * xterm.h: Change to return value of x_dispatch_event to int. | |
22062 | ||
22063 | * xterm.c (x_filter_event): New function. | |
22064 | (event_handler_gdk, XTread_socket): Call x_filter_event. | |
22065 | (x_dispatch_event): Change to return value of finish. | |
22066 | (event_handler_gdk): Use return value from x_dispatch_event. | |
22067 | ||
22068 | * xfns.c (x_window): Call create_frame_xic for GTK version to | |
22069 | initialize input methods. | |
22070 | ||
22071 | * gtkutil.h: Add (void) prototypes. | |
22072 | ||
22073 | * gtkutil.c (create_menus): Remove code that puts the help menu to | |
22074 | the right. | |
22075 | ||
54eefef1 JR |
22076 | 2003-01-25 Jason Rumney <jasonr@gnu.org> |
22077 | ||
22078 | * w32fns.c (XPutPixel): Handle monochrome images; used for masks. | |
22079 | [HAVE_PNG]: Sync with xfns.c version. | |
f63fd14e JB |
22080 | (png_load): Adjust colors for Windows. Use Windows |
22081 | bitmaps. Disable color table lookups. | |
c262430d JR |
22082 | (DEF_IMGLIB_FN, LOAD_IMGLIB_FN): New macros. |
22083 | (init_png_functions): New function. | |
22084 | (png_read_from_memory, png_load): Call png library functions | |
22085 | through pointers determined at runtime. | |
22086 | (QCloader, QCbounding_box, QCpt_width, QCpt_height): Declare. | |
22087 | (init_external_image_libraries): New function. | |
22088 | (init_xfns): Call it. | |
54eefef1 | 22089 | |
1a9e275b AS |
22090 | 2003-01-24 Andreas Schwab <schwab@suse.de> |
22091 | ||
22092 | * minibuf.c (Fminibuffer_message): Verify type of parameter. | |
22093 | ||
a97e4138 | 22094 | 2003-01-24 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
81e302ef JD |
22095 | |
22096 | * gtkutil.c (xg_initialize): Initialize id_to_widget here instead | |
22097 | of static initializer. | |
22098 | ||
422eec7e DL |
22099 | 2003-01-24 Dave Love <fx@gnu.org> |
22100 | ||
22101 | * s/gnu-linux.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define for more | |
22102 | architectures. | |
22103 | ||
22104 | * alloc.c (mark_stack) [!GC_LISP_OBJECT_ALIGNMENT && __GNUC__]: | |
22105 | Use __alignof__. | |
22106 | ||
2a026b04 KH |
22107 | 2003-01-24 Kenichi Handa <handa@m17n.org> |
22108 | ||
22109 | * keyboard.c (adjust_point_for_property): New second arg MODIFIED. | |
e52bd6b7 | 22110 | It it is nonzero, don't pretend that an invisible area doesn't exist. |
2a026b04 KH |
22111 | (command_loop_1): Call adjust_point_for_property with proper |
22112 | second arg. | |
22113 | ||
a18bb28d JR |
22114 | 2003-01-22 Jason Rumney <jasonr@gnu.org> |
22115 | ||
22116 | Sync changes with xterm.c and xfns.c. | |
22117 | ||
22118 | * w32term.c (x_draw_glyph_string_foreground) | |
22119 | (x_draw_composite_glyph_string_foreground): Implement overstriking. | |
22120 | ||
22121 | * w32term.c (x_write_glyphs): Clear phys_cursor_on_p if current | |
22122 | phys_cursor's hpos is overwritten. This is still not completely | |
22123 | correct, as it doesn't really make sense to use hpos at all to | |
22124 | get the cursor glyph (as that is relative to the width of the | |
22125 | characters on the line, which may have changed during the update). | |
22126 | ||
22127 | * w32term.c (notice_overwritten_cursor): Handle the special case | |
22128 | of the cursor being in the first blank non-text line at the | |
22129 | end of a window. | |
22130 | ||
22131 | * w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor) | |
22132 | (x_draw_phys_cursor_glyph): Set phys_cursor_width here. | |
22133 | Compute from the x position returned by x_draw_glyphs. | |
22134 | ||
22135 | (x_display_and_set_cursor): Don't set phys_cursor_width here, | |
22136 | except for NO_CURSOR and system caret, to make phys_cursor_width | |
22137 | contain what its name suggests. | |
22138 | (notice_overwritten_cursor): Consider the cursor image erased if | |
22139 | the output area intersects the cursor image in y-direction. | |
22140 | ||
6a097c0c SM |
22141 | * w32term.c (note_mode_line_or_margin_highlight): Rename from |
22142 | note_mode_line_highlight and extend. | |
a18bb28d JR |
22143 | |
22144 | * w32term.c (last_window): New variable. | |
22145 | (w32_read_socket) <WM_MOUSEMOVE>: Generate SELECT_WINDOW_EVENTs. | |
22146 | (note_mouse_movement): Remove reimplemented code in #if 0. | |
22147 | ||
22148 | * w32fns.c (x_set_cursor_type): Set cursor_type_changed, | |
22149 | not update_mode_lines, and always set it to 1. | |
22150 | ||
ac6e47ef JR |
22151 | 2003-01-21 Jason Rumney <jasonr@gnu.org> |
22152 | ||
22153 | * w32fns.c (IDC_HAND): Define it if system headers don't. | |
22154 | ||
22155 | 2003-01-21 KOBAYASHI Yasuhiro <kobayays@otsukakj.co.jp> | |
22156 | ||
22157 | * w32term.h (struct w32_output): New member hand_cursor. | |
22158 | (WM_EMACS_SETCURSOR): New message definition. | |
22159 | ||
22160 | * w32term.c (note_mode_line_highlight): Delete #if 0 to enable | |
22161 | function w32_define_cursor. | |
22162 | (note_mouse_highlight): Initialize, setup cursor accoding to mouse | |
22163 | position, change member name output_data.x to output_data.w32 and | |
22164 | add function w32_define_cursor. | |
22165 | (show_mouse_face): Delete #if 0 to enable function w32_define_cursor | |
22166 | and change member name output_data.x to output_data.w32. | |
e52bd6b7 SM |
22167 | (w32_initialize_display_info): |
22168 | Setup dpyinfo->vertical_scroll_bar_cursor. | |
ac6e47ef JR |
22169 | |
22170 | * w32fns.c (Vx_hand_shape): New variable. | |
22171 | (w32_wnd_proc): Add message entries for WM_SETCURSOR and | |
22172 | WM_EMACS_SETCURSOR. | |
22173 | (x-create-frame): Setup Cursor types. | |
22174 | ||
ceb39a17 JB |
22175 | 2003-01-21 David Ponce <david@dponce.com> |
22176 | ||
ac6e47ef | 22177 | * w32term.c (w32_encode_char): For DIM=1 charset, set |
52eb0373 JB |
22178 | ccl->reg[2] to -1 before calling ccl_driver. |
22179 | (Sync. with xterm.c x_encode_char change by Kenichi Handa | |
22180 | <handa@m17n.org> on 2002-09-30.) | |
ac6e47ef JR |
22181 | (w32_draw_relief_rect): Declare all args. |
22182 | (w32_define_cursor): New. | |
22183 | ||
22184 | * w32fns.c (w32_load_cursor): New function. | |
22185 | (w32_init_class): Use it. | |
22186 | (x_put_x_image): Declare all args. | |
22187 | ||
b6189c3b | 22188 | 2003-01-21 Richard Dawe <rich@phekda.freeserve.co.uk> |
46cf0bed JB |
22189 | |
22190 | * Makefile.in (ALL_CFLAGS): Include MYCPPFLAGS, not MYCPPFLAG. | |
22191 | ||
a97e4138 | 22192 | 2003-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
e8794476 | 22193 | |
14a56a1b | 22194 | * gtkutil.c: Must include stdio.h before termhooks.h. |
e8794476 | 22195 | |
83fc9c63 DL |
22196 | 2003-01-21 Dave Love <fx@gnu.org> |
22197 | ||
22198 | * alloc.c (Fgc_status): Print zombie list. | |
22199 | (mark_maybe_object) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: | |
22200 | Fix assignment of zombies. | |
22201 | (Fgarbage_collect) [GC_MARK_STACK==GC_USE_GCPROS_CHECK_ZOMBIES]: | |
22202 | Don't take car of non-cons. | |
22203 | ||
22204 | * s/sol2-5.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
22205 | ||
22206 | * s/sunos4-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
22207 | ||
fe04b8c8 JR |
22208 | 2003-01-20 David Ponce <david@dponce.com> |
22209 | ||
22210 | * w32menu.c (digest_single_submenu): Declare all args. | |
22211 | ||
22212 | Sync with 2002-12-23 Richard M. Stallman <rms@gnu.org> | |
22213 | changes in xmenu.c: | |
22214 | ||
22215 | (parse_single_submenu): Use individual keymap's prompt | |
22216 | string as pane name, if there is one. | |
22217 | (set_frame_menubar): Save menu_items_n_panes from each call to | |
22218 | parse_single_submenu and use it when calling digest_single_submenu. | |
22219 | ||
539e69a9 ST |
22220 | 2003-01-20 Steven Tamm <steventamm@mac.com> |
22221 | ||
7e26f91b | 22222 | * macterm.c (XTread_socket): Check for valid, visible window |
539e69a9 ST |
22223 | before sending a scroll-wheel event. |
22224 | ||
675d000f RS |
22225 | 2003-01-20 Richard M. Stallman <rms@gnu.org> |
22226 | ||
22227 | * xdisp.c (redisplay_window): If mini window's buffer is not | |
22228 | a minibuffer, then redisplay it like other windows. | |
22229 | ||
a97e4138 | 22230 | 2003-01-20 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
22174d10 JD |
22231 | |
22232 | * gtkutil.c (xg_create_frame_widgets): Check if there is an | |
22233 | external tool bar before setting tool bar height. | |
22234 | ||
048addec JD |
22235 | 2003-01-19 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
22236 | ||
22237 | * xterm.c (handle_one_xevent): Surround popup_activated | |
22238 | with #ifdef:s for non-toolkit version. | |
22239 | ||
14a56a1b | 22240 | * Makefile.in (XOBJ): Add gtkutil.o if USE_GTK. |
048addec JD |
22241 | (gtkutil.o): New file. |
22242 | (TOOLKIT_DEFINES): Set to -DUSE_GTK if HAVE_GTK. | |
22243 | (LIBW): Set to @GTK_LIBS@ if USE_GTK. | |
22244 | ||
22245 | * gtkutil.c: New file for GTK version. | |
22246 | ||
22247 | * gtkutil.h: New file for GTK version. | |
22248 | ||
22249 | * xterm.h: Add xt_or_gtk_widget. | |
22250 | Include gtk files for USE_GTK. | |
22251 | (struct x_output): Add toolbar_height. | |
22252 | (struct x_output): Add GTK widgets and Gdk size_hints. | |
22253 | (GTK_WIDGET_TO_X_WIN, FRAME_GTK_OUTER_WIDGET, FRAME_GTK_WIDGET) | |
22254 | (FRAME_OUTER_WINDOW): New macros for USE_GTK. | |
22255 | (FRAME_OUTER_TO_INNER_DIFF_Y): Add FRAME_TOOLBAR_HEIGHT to calculation. | |
22256 | ||
22257 | * xterm.c: Include gtkutil.h for USE_GTK. | |
78819ebb | 22258 | (free_frame_menubar): Declare extern void for USE_GTK. |
048addec JD |
22259 | (note_mouse_highlight): Check popup_activated for USE_GTK. |
22260 | (xt_action_hook): Don't compile if USE_GTK. | |
22261 | (x_scroll_bar_to_input_event): Use CurrentTime for USE_GTK. | |
22262 | (xg_scroll_callback): New function. | |
22263 | (x_create_toolkit_scroll_bar): Call xg_create_scroll_bar for USE_GTK. | |
22264 | (x_set_toolkit_scroll_bar_thumb): Call xg_set_toolkit_scroll_bar_thumb | |
22265 | for USE_GTK. | |
22266 | (x_scroll_bar_create): Call xg_update_scrollbar_pos and | |
22267 | xg_show_scroll_bar for USE_GTK. | |
22268 | (x_scroll_bar_remove): Call xg_remove_scroll_bar for USE_GTK. | |
22269 | (XTset_vertical_scroll_bar): Call xg_update_scrollbar_pos for USE_GTK. | |
22270 | (event_handler_gdk): New function for USE_GTK. | |
22271 | (handle_one_xevent): Call xg_resize_widgets for USE_GTK. | |
22272 | (handle_one_xevent): Make sure widget is mapped before | |
22273 | calling x_real_positions for USE_GTK. | |
22274 | (XTread_socket): Add GTK event loop for USE_GTK. | |
22275 | (x_set_window_size): Call xg_frame_set_char_size for USE_GTK. | |
22276 | (x_make_frame_visible): Call gtk_widget_show_all for USE_GTK. | |
22277 | (x_make_frame_invisible): Call gtk_widget_hide for USE_GTK. | |
22278 | (x_iconify_frame): Add code for USE_GTK. | |
22279 | (x_free_frame_resources): Call gtk_widget_destroy for USE_GTK. | |
22280 | (x_wm_set_size_hint): Only compile if not USE_GTK. GTK version | |
22281 | is in gtkutil.c. | |
22282 | (x_term_init): Add initialization for GTK. | |
22283 | (syms_of_xterm): Set Vx_toolkit_scroll_bars for USE_GTK. | |
22284 | ||
22285 | * xmenu.c: Include gtkutil.h for USE_GTK. | |
14a56a1b | 22286 | (Fx_popup_menu): Use current position if x and y are nil. |
6bdb309a SM |
22287 | (single_menu_item, single_menu_item, Fx_popup_dialog): |
22288 | Check for USE_GTK. | |
048addec JD |
22289 | (popup_widget_loop): New function for USE_GTK. |
22290 | (x_activate_menubar): Add code for USE_GTK. | |
22291 | (popup_activate_callback, popup_deactivate_callback) | |
6bdb309a SM |
22292 | (menu_highlight_callback, menubar_selection_callback): |
22293 | Add USE_GTK versions. | |
048addec JD |
22294 | (update_frame_menubar): Call xg_update_frame_menubar for USE_GTK. |
22295 | (set_frame_menubar): Call xg_modify_menubar_widgets for USE_GTK. | |
22296 | (free_frame_menubar): Only compile if not USE_GTK. GTK version | |
22297 | is in gtkutil.c. | |
22298 | (popup_selection_callback): New version for USE_GTK. | |
22299 | (create_and_show_popup_menu): New fuction, one USE_GTK version and | |
6bdb309a | 22300 | one USE_X_TOOLKIT version. |
048addec JD |
22301 | (xmenu_show): Call create_and_show_popup_menu. |
22302 | (dialog_selection_callback): New version for USE_GTK. | |
22303 | (create_and_show_dialog): New fuction, one USE_GTK version and | |
6bdb309a | 22304 | one USE_X_TOOLKIT version. |
048addec JD |
22305 | (xdialog_show): Call create_and_show_dialog. |
22306 | ||
22307 | * xfns.c: Include gtkutil for USE_GTK. | |
22308 | (x_window_to_frame, x_any_window_to_frame) | |
22309 | (x_non_menubar_window_to_frame, x_menubar_window_to_frame) | |
22310 | (x_top_window_to_frame): Add code for USE_GTK. | |
22311 | (x_set_background_color): Call xg_set_background_color for GTK. | |
22312 | (x_set_menu_bar_lines): Check for USE_GTK. | |
22313 | (x_set_tool_bar_lines): Call update_frame_tool_bar for USE_GTK. | |
22314 | (x_set_name, x_set_title): Call gtk_window_set_title for USE_GTK. | |
22315 | (x_window): Call xg_create_frame_widgets for USE_GTK. | |
14a56a1b | 22316 | (Fx_create_frame): Check for USE_GTK. |
048addec JD |
22317 | (Fx_file_dialog): New implementation for USE_GTK. |
22318 | ||
22319 | * xdisp.c: Add check for USE_GTK for extern void set_frame_menubar. | |
22320 | (update_menu_bar): Add check for USE_GTK. | |
22321 | (update_tool_bar): Add check for USE_GTK and external tool bar. | |
22322 | (redisplay_tool_bar): Add check for USE_GTK and external tool bar. | |
22323 | (redisplay_internal): Add check for USE_GTK and popup_activated. | |
22324 | (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_MENU_BAR. | |
22325 | (redisplay_window): Add check for USE_GTK and FRAME_EXTERNAL_TOOL_BAR. | |
22326 | (display_menu_bar): Add check for USE_GTK | |
22327 | ||
78819ebb | 22328 | * lisp.h (Vx_resource_name): Declare extern. |
048addec | 22329 | |
a64387ee | 22330 | * keyboard.c (kbd_buffer_get_event): Check MENU_BAR_ACTIVATE_EVENT |
048addec JD |
22331 | for USE_GTK. |
22332 | (make_lispy_event): Check MENU_BAR_EVENT for USE_GTK. | |
22333 | ||
22334 | * frame.h (struct frame): Add external_tool_bar. Check for USE_GTK. | |
22335 | (FRAME_EXTERNAL_TOOL_BAR): New macro. | |
22336 | (FRAME_EXTERNAL_MENU_BAR): Check for USE_GTK. | |
22337 | ||
22338 | * fileio.c (Fread_file_name): Add check for USE_GTK. | |
22339 | ||
6bdb309a SM |
22340 | * dispnew.c (adjust_frame_glyphs_for_window_redisplay): |
22341 | Add check for USE_GTK. | |
048addec | 22342 | |
14a56a1b | 22343 | * config.in: Added HAVE_GTK. |
048addec JD |
22344 | |
22345 | * alloc.c (Fgarbage_collect): Call xg_mark_data for GTK. | |
22346 | ||
22347 | 2003-01-18 Stefan Monnier <monnier@cs.yale.edu> | |
22348 | ||
22349 | * charset.h (Funibyte_char_to_multibyte): Export. | |
22350 | ||
22351 | 2003-01-18 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
22352 | ||
22353 | * xmenu.c (mouse_position_for_popup): New function. | |
22354 | (Fx_popup_menu): Call mouse_position_for_popup for X and | |
22355 | mouse_position_hook for others. | |
22356 | ||
22357 | 2003-01-17 Kim F. Storm <storm@cua.dk> | |
22358 | ||
22359 | * editfns.c (Finsert): Mention `string-make-multibyte' and | |
22360 | `string-as-multibyte' in doc string. | |
22361 | ||
22362 | 2003-01-17 Kenichi Handa <handa@m17n.org> | |
22363 | ||
22364 | * fontset.c (syms_of_fontset): Setup Vfont_encoding_alist here. | |
3c02a6f5 | 22365 | |
048addec JD |
22366 | * editfns.c (Fformat): Convert an unibyte char argument that is |
22367 | formatted by "%c" to multibyte if the total result must be a | |
22368 | multibyte string. | |
cd7df9c0 | 22369 | |
048addec | 22370 | 2003-01-16 Kim F. Storm <storm@cua.dk> |
cd7df9c0 | 22371 | |
048addec JD |
22372 | * process.c (set-process-filter): Document unibyte/multibyte-ness |
22373 | of string argument. | |
56210ecd | 22374 | |
048addec | 22375 | 2003-01-16 Kenichi Handa <handa@m17n.org> |
56210ecd | 22376 | |
048addec | 22377 | * charset.h (NEXT_CHAR_BOUNDARY, PREV_CHAR_BOUNDARY): New macros. |
56210ecd | 22378 | |
048addec JD |
22379 | * regex.c (GET_CHAR_BEFORE_2): Use PREV_CHAR_BOUNDARY. |
22380 | (re_search_2): Likewise. | |
6df8b9fe | 22381 | |
048addec | 22382 | 2003-01-15 Kenichi Handa <handa@m17n.org> |
6df8b9fe | 22383 | |
048addec JD |
22384 | * xdisp.c (message_dolog): Fix bug of the case that *Message* |
22385 | buffer is unibyte. | |
292ddc31 | 22386 | |
048addec | 22387 | 2003-01-15 Francesco Potort\e,Al\e(B <pot@gnu.org> |
292ddc31 | 22388 | |
048addec | 22389 | * fns.c (Fsubstring): Clarify doc string. |
292ddc31 | 22390 | |
048addec JD |
22391 | * textprop.c (Ftext_properties_at, Fnext_char_property_change) |
22392 | (Fprevious_char_property_change) | |
22393 | (Fnext_single_char_property_change) | |
22394 | (Fprevious_single_char_property_change, Fnext_property_change) | |
22395 | (Fnext_single_property_change, Fprevious_property_change) | |
22396 | (Fprevious_single_property_change, Fadd_text_properties) | |
22397 | (Fput_text_property, Fset_text_properties) | |
22398 | (Fremove_text_properties, Fremove_list_of_text_properties) | |
22399 | (Ftext_property_any, Ftext_property_not_all): Clarify doc strings. | |
63e4e4c6 | 22400 | |
048addec | 22401 | 2003-01-14 Kim F. Storm <storm@cua.dk> |
63e4e4c6 | 22402 | |
048addec JD |
22403 | * process.h (struct Lisp_Process): New member plist replaces old |
22404 | member private_vars. All uses changed. | |
63e4e4c6 | 22405 | |
048addec | 22406 | * process.c: Reworked 2003-01-12 change -- call a plist a plist! |
6bdb309a | 22407 | (QCplist): Rename from QCvars. Change all uses. |
048addec | 22408 | (Fprocess_plist): Replaces Fprocess_variable. Simplified. |
6bdb309a | 22409 | (Fset_process_plist): Replaces Fset_process_variable. Simplify. |
048addec | 22410 | (syms_of_process): Intern, staticpro, defsubr these. |
6bdb309a | 22411 | (Fmake_network_process): Describe :plist arg. Remove :vars arg. |
7ed16567 | 22412 | |
048addec | 22413 | 2003-01-14 Francesco Potort\e,Al\e(B <pot@gnu.org> |
7ed16567 | 22414 | |
6bdb309a | 22415 | * m/delta.h: Remove (obsolete). |
e833850f | 22416 | |
048addec | 22417 | 2003-01-13 Francesco Potort\e,Al\e(B <pot@gnu.org> |
e833850f | 22418 | |
048addec JD |
22419 | * fileio.c (Fdelete_directory, Fdelete_file): Document the |
22420 | behaviour in front of symlinks. | |
22421 | (Fdelete_file): Raise an error on directories. | |
817cb127 | 22422 | |
048addec | 22423 | 2003-01-13 Dave Love <fx@gnu.org> |
817cb127 | 22424 | |
048addec | 22425 | * fns.c (Freverse): Use QUIT. |
3e8cf2ea | 22426 | |
048addec | 22427 | 2003-01-13 Richard M. Stallman <rms@gnu.org> |
3e8cf2ea | 22428 | |
048addec JD |
22429 | * minibuf.c (minibuffer_completion_contents): |
22430 | Error if point is inside prompt. | |
3e8cf2ea | 22431 | |
048addec JD |
22432 | * keyboard.c (command_loop_1): Don't redisplay directly |
22433 | if there's a post-command-hook. | |
3e8cf2ea | 22434 | |
048addec JD |
22435 | * fileio.c (syms_of_fileio) <directory-sep-char>: Doc fix. |
22436 | (Fdo_auto_save): Add gcpros around Ffile_name_directory. | |
2c10f029 | 22437 | |
048addec | 22438 | 2003-01-12 Kim F. Storm <storm@cua.dk> |
94e8ffca | 22439 | |
048addec | 22440 | * process.h (struct Lisp_Process): New member private_vars. |
94e8ffca | 22441 | |
048addec JD |
22442 | * process.c (QCvars): New variable. |
22443 | (syms_of_process): Intern and staticpro it. | |
22444 | (Fset_process_contact): Removed function. | |
22445 | (Fprocess_variable, Fset_process_variable): New functions. | |
22446 | (syms_of_process): Defsubr them. | |
22447 | (Fstart_process): Initialize private_vars plist to nil. | |
22448 | (Fmake_network_process): New arg :vars to setup the private | |
22449 | variables for new network process. | |
22450 | (server_accept_connection): Copy server's private variables to | |
22451 | client process. | |
2c10f029 | 22452 | |
048addec JD |
22453 | * alloc.c (pure_alloc): Fixed 2003-01-10 changed (caused spurious |
22454 | crashes). Code rewritten and simplified. Now directly aligns the | |
22455 | pointer and recalculates pure_bytes_used, rather than aligning the | |
22456 | size and adjusting the pointer. | |
b8a76c6c | 22457 | |
048addec | 22458 | 2003-01-11 Kim F. Storm <storm@cua.dk> |
b8a76c6c | 22459 | |
048addec JD |
22460 | * process.c (Fset_process_contact): New function. |
22461 | (syms_of_process): defsubr it. | |
22462 | (make-network-process): Update doc. | |
3a8d0899 | 22463 | |
048addec | 22464 | 2003-01-10 Andreas Schwab <schwab@suse.de> |
3a8d0899 | 22465 | |
048addec JD |
22466 | * alloc.c (pure_alloc): Correct alignment for Lisp_Floats. |
22467 | Reported by Berthold Gunreben <b.gunreben@web.de>. | |
4abc7470 | 22468 | |
048addec | 22469 | 2003-01-10 Dave Love <fx@gnu.org> |
4abc7470 | 22470 | |
048addec | 22471 | * composite.c (syms_of_composite): Make composition_hash_table weak. |
b809d662 | 22472 | |
048addec | 22473 | 2003-01-09 Kim F. Storm <storm@cua.dk> |
b809d662 | 22474 | |
048addec JD |
22475 | * process.c (Fmake_network_process): Convert new port number |
22476 | to host byte order for `:service t' case. From Mario Lang. | |
bf338245 | 22477 | |
048addec | 22478 | 2003-01-08 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
bf338245 | 22479 | |
048addec JD |
22480 | * xfns.c (Fx_file_dialog): Call XtAppNextEvent and x_dispatch_event |
22481 | instead of XtAppProcessEvent. | |
bf338245 | 22482 | |
048addec JD |
22483 | * xterm.c (handle_one_xevent): New function. |
22484 | (x_dispatch_event): New function. | |
22485 | (XTread_socket): Call handle_one_xevent. | |
bf338245 | 22486 | |
048addec | 22487 | * xterm.h (FRAME_OUTER_TO_INNER_DIFF_X/Y): New. |
e833850f | 22488 | |
048addec JD |
22489 | * xmenu.c (Fx_popup_menu): If popping up at mouse position, |
22490 | call XQueryPointer to get coordinates. | |
22491 | (popup_get_selection): Do not set popup_activated_flag to zero, | |
22492 | let popup_deactivate_callback do that. Needed for Motif. | |
22493 | Call x_dispatch_event instead of XtDispatchEvent. | |
22494 | (xmenu_show): Calculate root coordinate from frame top/left position. | |
c4af2bce | 22495 | |
048addec | 22496 | 2003-01-08 Kim F. Storm <storm@cua.dk> |
c4af2bce | 22497 | |
6bdb309a | 22498 | * process.c (server_accept_connection): Fix recording of new |
048addec JD |
22499 | connection's local address in :local property of contact info. |
22500 | (Fmake_network_process): Record local network address for new | |
22501 | client processes in :local property of contact info. | |
6bdb309a | 22502 | (format-network-address): Add arg OMIT-PORT. Change callers. |
00e3ab56 | 22503 | |
048addec | 22504 | 2003-01-07 Dave Love <fx@gnu.org> |
00e3ab56 | 22505 | |
048addec | 22506 | * Makefile.in (fns.o): Depend on coding.h. |
f387e1fd | 22507 | |
ddec2286 RS |
22508 | 2003-01-06 Dave Love <fx@gnu.org> |
22509 | ||
22510 | * fns.c: Include coding.h. Use POINTER_TYPE*, not void*. | |
22511 | (Vlocale_coding_system): Declare. | |
22512 | (Qcodeset, Qdays, Qmonths, Qpaper): New. | |
22513 | (Flanginfo): New. | |
22514 | (syms_of_fns): Initialize new stuff. | |
22515 | ||
048addec | 22516 | 2003-01-07 Markus Rost <rost@math.ohio-state.edu> |
f387e1fd | 22517 | |
048addec | 22518 | * minibuf.c (Fread_variable): Doc fix. |
f387e1fd | 22519 | |
048addec JD |
22520 | * eval.c (Fuser_variable_p): Doc change. For custom variables, |
22521 | use the same test as for custom-variable-p. | |
8c6d74c6 | 22522 | |
048addec | 22523 | 2003-01-05 Richard M. Stallman <rms@gnu.org> |
e833850f | 22524 | |
048addec JD |
22525 | * xdisp.c (try_scrolling): New arg LAST_LINE_MISFIT. |
22526 | Count LAST_LINE_MISFIT in scroll margin for end of window. | |
22527 | Move label too_near_end before setting SCROLL_MARGIN_POS. | |
22528 | Set LAST_LINE_MISFIT before jumping there. | |
8c6d74c6 | 22529 | |
048addec JD |
22530 | * xdisp.c (try_scrolling): Calculate amount_to_scroll better in |
22531 | scroll_conservatively case. If scrolling that much doesn't change | |
22532 | STARTP, move it down one line. | |
e833850f | 22533 | |
048addec JD |
22534 | * xdisp.c (redisplay_window): Pass last_line_misfit arg to |
22535 | try_scrolling. Make it 1 after make_cursor_line_fully_visible fails. | |
8c6d74c6 | 22536 | |
048addec JD |
22537 | * xdisp.c (setup_echo_area_for_printing): Kill Emacs if no |
22538 | selected frame. | |
8c6d74c6 | 22539 | |
048addec | 22540 | * keymap.c (apropos_predicate, apropos_accumulate): Make them static. |
3419757d | 22541 | (syms_of_keymap): Staticpro them. |
048addec JD |
22542 | (Fapropos_internal): Initialize them and clear them out. |
22543 | Don't GCPRO them. | |
8c6d74c6 | 22544 | |
f5ecbcee | 22545 | * buffer.c (syms_of_buffer) <scroll-up|down-aggressively>: Doc fixes. |
8c6d74c6 | 22546 | |
048addec JD |
22547 | * lisp.h: New misc type Lisp_Save_Value. |
22548 | (enum Lisp_Misc_Type): Add Lisp_Misc_Save_Value. | |
22549 | (XSAVE_VALUE): New macro. | |
22550 | (struct Lisp_Save_Value): New data type. | |
22551 | (union Lisp_Misc): Add u_save_value alternative. | |
78819ebb | 22552 | (make_save_value): Declare. |
8c6d74c6 | 22553 | |
048addec | 22554 | * alloc.c (make_save_value): New function. |
8c6d74c6 | 22555 | |
048addec JD |
22556 | * xterm.c (x_catch_errors): Save dpy using make_save_value. |
22557 | (x_catch_errors_unwind): Call XSync. | |
8c6d74c6 | 22558 | |
048addec | 22559 | 2003-01-01 Richard M. Stallman <rms@gnu.org> |
8c6d74c6 | 22560 | |
048addec | 22561 | * window.c (window_scroll_pixel_based): Partially undo last change. |
8c6d74c6 | 22562 | |
048addec JD |
22563 | * keyboard.c (command_loop_1): Call adjust_point_for_property |
22564 | in direct action cases for Qforward_char and Qbackward_char. | |
22565 | Set already_adjusted so it won't be done twice. | |
8c6d74c6 | 22566 | |
b6189c3b | 22567 | 2002-12-30 Richard Dawe <rich@phekda.freeserve.co.uk> |
8c6d74c6 | 22568 | |
048addec JD |
22569 | * src/config.in (!HAVE_SIZE_T): Fix order of arguments in |
22570 | type definition of size_t. | |
8c609cff | 22571 | |
048addec | 22572 | 2003-01-02 Steven Tamm <steventamm@mac.com> |
8c609cff | 22573 | |
048addec JD |
22574 | * macterm.c (syms_of_macterm): Provide the feature "mac-carbon" to |
22575 | distinguish Carbon GUI builds from X11 builds on darwin. | |
b37113a1 | 22576 | |
048addec | 22577 | 2002-12-30 Steven Tamm <steventamm@mac.com> |
b37113a1 | 22578 | |
048addec JD |
22579 | * macterm.c (syms_of_macterm): Set mac-wheel-button-is-mouse-2 |
22580 | to default to t. | |
fa634a5e | 22581 | |
048addec | 22582 | 2002-12-29 Francesco Potort\e,Al\e(B <pot@gnu.org> |
fa634a5e | 22583 | |
048addec | 22584 | * data.c (Fstring_to_number, Fminus): Better English in doc strings. |
ce0669d4 | 22585 | |
048addec | 22586 | 2002-12-28 Steven Tamm <steventamm@mac.com> |
ce0669d4 | 22587 | |
7e26f91b | 22588 | * Makefile.in (macosx-bundle): Fix Mac OS X/Carbon port to |
048addec JD |
22589 | allow building in a different directory than source. Uses some |
22590 | GNU Make extensions, but there is no other make on Mac OS X. | |
2308af15 | 22591 | |
048addec | 22592 | 2002-12-26 Francesco Potort\e,Al\e(B <pot@gnu.org> |
2308af15 | 22593 | |
048addec JD |
22594 | * data.c (Fmakunbound, Ffmakunbound, Fmake_variable_buffer_local) |
22595 | (Fsetq_default, Fmake_local_variable, Fkill_local_variable) | |
22596 | (Fmake_variable_frame_local, Faset, Fnumber_to_string, Fminus) | |
22597 | (Fstring_to_number): Mention the returned value in the doc strings. | |
2155ecf3 | 22598 | |
048addec | 22599 | 2002-12-23 Richard M. Stallman <rms@gnu.org> |
2155ecf3 | 22600 | |
048addec JD |
22601 | * buffer.c (syms_of_buffer) <scroll-up-aggressively> |
22602 | <scroll-down-aggressively>: Doc fix. | |
2155ecf3 | 22603 | |
048addec JD |
22604 | * xmenu.c (parse_single_submenu): Use individual keymap's prompt |
22605 | string as pane name, if there is one. | |
22606 | (set_frame_menubar): Save menu_items_n_panes from each call to | |
22607 | parse_single_submenu and use it when calling digest_single_submenu. | |
2155ecf3 | 22608 | |
048addec JD |
22609 | * window.c (window_scroll_pixel_based): Fix check for reaching BEGV. |
22610 | Don't try to make last line fully visible if it is past end of window. | |
61f1d295 | 22611 | |
048addec | 22612 | 2002-12-22 Steven Tamm <steventamm@mac.com> |
61f1d295 | 22613 | |
048addec JD |
22614 | * macmenu.c (MIN_POPUP_SUBMENU_ID): Add. |
22615 | (mac_menu_show): Add support for hierarchical popup menus. | |
22616 | (add_menu_item): Remove indentation support. | |
22617 | (fill_submenu, fill_menu): Create hierarchical menus | |
22618 | instead of using indentation. | |
0b17a217 | 22619 | |
048addec | 22620 | 2002-12-22 Richard M. Stallman <rms@gnu.org> |
0b17a217 | 22621 | |
048addec JD |
22622 | * xdisp.c (try_cursor_movement): Don't call try_window here. |
22623 | (redisplay_window): Never redisplay minibuffer when inactive. | |
0b17a217 | 22624 | |
048addec | 22625 | * window.c (select_window_1): Undo 9/21 change. |
402e4f8b | 22626 | |
048addec | 22627 | 2002-12-22 Steven Tamm <steventamm@mac.com> |
402e4f8b | 22628 | |
048addec JD |
22629 | * macterm.c (XTread_socket): Call KeyTranslate for control and |
22630 | meta to deal correctly shifted non-alpha characters, like C-S-5 | |
7e26f91b | 22631 | being treated like C-%. Do not look for shift key to deal |
048addec | 22632 | with masking off control-key with mac-reverse-ctrl-meta. |
f02cac82 | 22633 | |
048addec | 22634 | 2002-12-21 Richard M. Stallman <rms@gnu.org> |
f02cac82 | 22635 | |
048addec JD |
22636 | * xmenu.c (popup_get_selection): Now static. New arg DO_TIMERS. |
22637 | If it is non-nil, run timers. Use an unwind-protect to requeue | |
22638 | the events that were read ahead. | |
22639 | (popup_get_selection_unwind): New subroutine. | |
22640 | (popup_get_selection_queue): File-scope variable now holds that queue. | |
22641 | (xmenu_show): Pass 0 for DO_TIMERS to popup_get_selection. | |
22642 | (xdialog_show): Pass 1 for DO_TIMERS to popup_get_selection. | |
22643 | Use an unwind-protect to pop down the dialog box. | |
22644 | (xdialog_show_unwind): New subroutine implements that. | |
f02cac82 | 22645 | |
048addec JD |
22646 | * xdisp.c (row_containing_pos): Change exit test using last_y. |
22647 | (try_window_id): Abort if row_containing_pos returns null. | |
f02cac82 | 22648 | |
048addec JD |
22649 | * lread.c (load_error_handler): New function. |
22650 | (Fload): Handle errors in Fsubstitute_in_file_name. | |
22651 | Don't expect Fsignal to return. | |
f02cac82 | 22652 | |
048addec JD |
22653 | * eval.c: Errors and throws work right with interrupt blocking. |
22654 | (struct catchtag): New elt interrupt_input_blocked. | |
22655 | (unwind_to_catch): Restore interrupt_input_blocked from saved value. | |
22656 | (internal_catch, Fcondition_case, internal_condition_case) | |
22657 | (internal_condition_case_1, internal_condition_case_2): Save it. | |
22658 | (Fsignal): Don't do TOTALLY_UNBLOCK_INPUT. | |
f02cac82 | 22659 | |
048addec | 22660 | * editfns.c (Fformat): Add parens. |
f02cac82 | 22661 | |
048addec JD |
22662 | * dired.c (file_name_completion): Fix that change. |
22663 | Delete special quit-handling code; just use QUIT. | |
f02cac82 | 22664 | |
b6189c3b | 22665 | 2002-12-21 Tak Ota <Takaaki.Ota@am.sony.com> |
f02cac82 | 22666 | |
048addec JD |
22667 | * dired.c (file_name_completion): Close directory on error |
22668 | just as in directory_files_internal. | |
1a590729 | 22669 | |
048addec | 22670 | 2002-12-19 David Kastrup <David.Kastrup@t-online.de> |
1a590729 | 22671 | |
048addec JD |
22672 | * window.c (Fset_window_configuration): Set old_point to correct |
22673 | value when new_current_buffer == current_buffer. | |
f02cac82 | 22674 | |
048addec | 22675 | 2002-12-17 Ben Key <bkey1@tampabay.rr.com> |
2308af15 | 22676 | |
048addec JD |
22677 | Revisited my earlier fix for the following entry in etc/PROBLEMS: |
22678 | "Emacs built on Windows 9x/ME crashes at startup on Windows XP, | |
22679 | or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." | |
9785d95b | 22680 | |
048addec JD |
22681 | These changes were in part based upon suggestions made by Peter |
22682 | 'Luna' Runestig [peter@runestig.com]. | |
9785d95b | 22683 | |
f4a5a485 SM |
22684 | * w32.c (g_b_init_is_windows_9x, g_b_init_open_process_token) |
22685 | (g_b_init_get_token_information, g_b_init_lookup_account_sid) | |
22686 | (g_b_init_get_sid_identifier_authority ): Add several static | |
048addec | 22687 | global variables. |
9785d95b | 22688 | |
048addec JD |
22689 | * w32.c (globals_of_w32): New function. Used to initialize those |
22690 | global variables that must always be initialized on startup even | |
22691 | when the global variable initialized is non zero. Its primary | |
22692 | purpose at this time is to set the global variables | |
22693 | g_b_init_is_windows_9x, g_b_init_open_process_token, | |
22694 | g_b_init_get_token_information, g_b_init_lookup_account_sid, and | |
22695 | g_b_init_get_sid_identifier_authority to 0 on startup. | |
22696 | Called from main. | |
9785d95b | 22697 | |
048addec JD |
22698 | * w32.c (is_windows_9x): Perform initialization only if |
22699 | g_b_init_is_windows_9x is equal to 0. On initialization set | |
22700 | g_b_init_is_windows_9x equal to 1. | |
2308af15 | 22701 | |
048addec JD |
22702 | * w32.c (open_process_token): Perform initialization only if |
22703 | g_b_init_open_process_token is equal to 0. On initialization set | |
22704 | g_b_init_open_process_token equal to 1. | |
2308af15 | 22705 | |
048addec JD |
22706 | * w32.c (get_token_information): Perform initialization only if |
22707 | g_b_init_get_token_information is equal to 0. On initialization | |
22708 | set g_b_init_get_token_information equal to 1. | |
9785d95b | 22709 | |
048addec JD |
22710 | * w32.c (lookup_account_sid): Perform initialization only if |
22711 | g_b_init_lookup_account_sid is equal to 0. On initialization | |
22712 | set g_b_init_lookup_account_sid equal to 1. | |
9785d95b | 22713 | |
048addec JD |
22714 | * w32.c (get_sid_identifier_authority): Perform initialization |
22715 | only if g_b_init_get_sid_identifier_authority is equal to 0. | |
22716 | On initialization set g_b_init_get_sid_identifier_authority equal to 1. | |
9785d95b | 22717 | |
f63fd14e | 22718 | * w32fns.c (globals_of_w32fns): New function. Used to initialize |
048addec JD |
22719 | those global variables that must always be initialized on startup |
22720 | even when the global variable initialized is non zero. | |
22721 | Its primary purpose at this time is to initialize the global variable | |
22722 | track_mouse_event_fn. | |
9785d95b | 22723 | |
a64387ee | 22724 | * w32fns.c (w32_wnd_proc): Remove initialization of |
048addec | 22725 | track_mouse_event_fn from the handler for the WM_SETFOCUS message. |
9785d95b | 22726 | |
048addec | 22727 | * w32fns.c (syms_of_w32fns): Call globals_of_w32fns. |
9785d95b | 22728 | |
f63fd14e | 22729 | * w32menu.c (globals_of_w32menu): New function. Used to |
048addec JD |
22730 | initialize those global variables that must always be initialized |
22731 | on startup even when the global variable initialized is non zero. | |
22732 | Its primary purpose at this time is to initialize the global | |
22733 | variables get_menu_item_info and set_menu_item_info. | |
9785d95b | 22734 | |
048addec JD |
22735 | * w32menu.c (initialize_frame_menubar): Remove initialization of |
22736 | get_menu_item_info and set_menu_item_info. | |
9785d95b | 22737 | |
048addec | 22738 | * w32menu.c (syms_of_w32menu): Call globals_of_w32menu. |
9785d95b | 22739 | |
048addec JD |
22740 | * w32.h (globals_of_w32, globals_of_w32fns, globals_of_w32menu): |
22741 | Declare them. | |
9785d95b | 22742 | |
048addec JD |
22743 | * emacs.c (main): Call globals_of_w32 prior to calling |
22744 | init_environment if WINDOWSNT is defined. Call globals_of_w32fns | |
22745 | and globals_of_w32menu if initialized is non zero and HAVE_NTGUI | |
22746 | is defined. | |
9785d95b | 22747 | |
048addec JD |
22748 | * w32term.c (x_update_window_begin): Fix Windows API error |
22749 | detected by BoundsChecker. Test to determine if | |
22750 | w32_system_caret_hwnd is NULL prior to attempting to use | |
22751 | SendMessage to send the WM_EMACS_HIDE_CARET message to it. | |
2308af15 | 22752 | |
048addec JD |
22753 | * w32term.c (x_update_window_end): Fix Windows API error |
22754 | detected by BoundsChecker. Test to determine if | |
22755 | w32_system_caret_hwnd is NULL prior to attempting to use | |
22756 | SendMessage to send the WM_EMACS_SHOW_CARET message to it. | |
b6da19ef | 22757 | |
048addec | 22758 | 2002-12-17 Kenichi Handa <handa@m17n.org> |
b6da19ef | 22759 | |
048addec JD |
22760 | * coding.c (coding_system_require_warning): New variable. |
22761 | (syms_of_coding): DEFVAR it. | |
b6da19ef | 22762 | |
048addec | 22763 | * coding.h (coding_system_require_warning): Extern it. |
b6da19ef | 22764 | |
048addec JD |
22765 | * fileio.c (choose_write_coding_system): Even if |
22766 | Vcoding_system_for_write is non-nil, if | |
22767 | coding_system_require_warning is nonzero, call | |
22768 | Vselect_safe_coding_system_function. | |
bfcf6dbe | 22769 | |
048addec | 22770 | 2002-12-17 Markus Rost <rost@math.ohio-state.edu> |
bfcf6dbe | 22771 | |
048addec JD |
22772 | * Makefile.in (lisp, shortlisp): Add cus-face and timer. |
22773 | (lisp): Add font-core. | |
2c568af5 | 22774 | |
048addec | 22775 | 2002-12-13 Stefan Monnier <monnier@cs.yale.edu> |
2c568af5 | 22776 | |
048addec JD |
22777 | * textprop.c (text_read_only): New arg `propval'. |
22778 | (get_char_property_and_overlay): Remove unused var `next_overlay'. | |
22779 | (verify_interval_modification): Use text_read_only's new arg. | |
b8c6225c | 22780 | |
048addec | 22781 | 2002-12-13 Kenichi Handa <handa@m17n.org> |
b8c6225c | 22782 | |
048addec | 22783 | * coding.c (Funencodable_char_position): Set pend correctly. |
706ddb8f | 22784 | |
048addec | 22785 | 2002-12-12 Jason Rumney <jasonr@gnu.org> |
706ddb8f | 22786 | |
048addec JD |
22787 | * w32term.c (last_mousemove_x, last_mousemove_y): New variables. |
22788 | (w32_read_socket) <WM_MOUSEMOVE>: Use them to detect non-movement. | |
22789 | Be more careful about when help_events are generated. | |
96720f09 | 22790 | |
048addec | 22791 | 2002-12-12 Steven Tamm <steventamm@mac.com> |
96720f09 | 22792 | |
048addec JD |
22793 | * macterm.c (mac_check_for_quit_char): Correctly set the |
22794 | modifiers of the event to 0. | |
22795 | * mac.c (sys_select): Duplicate rfds before calling select to | |
22796 | ensure that rfds survive the while loop. | |
e5ae1c49 | 22797 | |
048addec | 22798 | 2002-12-11 Kim F. Storm <storm@cua.dk> |
e5ae1c49 | 22799 | |
048addec JD |
22800 | * xdisp.c (try_window_id): Don't call set_cursor_from_row if |
22801 | row_containing_pos returned NULL. | |
2eb46b2d | 22802 | |
048addec | 22803 | 2002-12-10 Steven Tamm <steventamm@mac.com> |
2eb46b2d | 22804 | |
6bdb309a | 22805 | * mac.c (sys_read): Fix sys_read to not call select if IO is |
048addec | 22806 | non-blocking. |
6bdb309a | 22807 | (sys_select): Fix sys_select to not use a timeout larger than |
048addec | 22808 | the one given. |
b11f1d8a | 22809 | |
048addec | 22810 | 2002-12-10 Juanma Barranquero <lektu@terra.es> |
b11f1d8a | 22811 | |
048addec | 22812 | * editfns.c (Fformat): Use alloca, not _alloca. |
d8528226 | 22813 | |
048addec | 22814 | 2002-12-09 Richard M. Stallman <rms@gnu.org> |
d8528226 | 22815 | |
048addec JD |
22816 | * buffer.c (Fget_buffer_create): Call Qucs_set_table_for_input |
22817 | as the last thing. | |
a4ac5b17 | 22818 | |
048addec | 22819 | 2002-12-09 Dave Love <fx@gnu.org> |
a4ac5b17 | 22820 | |
048addec | 22821 | * s/sol2-8.h: Removed. (Not necessary.) |
ac42d7b9 | 22822 | |
048addec | 22823 | 2002-12-09 Matthew Swift <swift@alum.mit.edu> |
ac42d7b9 | 22824 | |
048addec JD |
22825 | * editfns.c (Fformat): Handle precision in string conversion |
22826 | specifiers like libc functions do (ie, print at most that many | |
22827 | characters). | |
85cce843 | 22828 | |
048addec | 22829 | 2002-12-08 Richard M. Stallman <rms@gnu.org> |
85cce843 | 22830 | |
048addec JD |
22831 | * xdisp.c (row_containing_pos): Check more carefully |
22832 | whether charpos is really in the row before returning it. | |
0d4d26a7 | 22833 | |
048addec | 22834 | 2002-12-07 Steven Tamm <steventamm@mac.com> |
0d4d26a7 | 22835 | |
048addec | 22836 | * sysdep.c (emacs_read) [HAVE_CARBON]: Have emacs_read use sys_read. |
b11f1d8a | 22837 | |
048addec JD |
22838 | * eval.c (Feval) [HAVE_CARBON]: Calls mac_check_for_quit_char at |
22839 | each stack frame. This may change as it could be time consuming. | |
0d4d26a7 | 22840 | |
048addec JD |
22841 | * macterm.c (mac_check_for_quit_char, quit_char_comp) |
22842 | (init_quit_char_handler, mac_determine_quit_char_modifiers) | |
6bdb309a | 22843 | (mac_initialize): Add code to check for pressing of quit_char |
048addec | 22844 | in the OS event queue. |
b11f1d8a | 22845 | |
048addec JD |
22846 | * mac.c (sys_select): Call mac_check_for_quit_char every second |
22847 | while blocking on select. | |
0d4d26a7 | 22848 | |
048addec JD |
22849 | * mac.c (sys_read): Use sys_select to test for input first |
22850 | before calling read, to allow C-g to break. | |
9252f7bc | 22851 | |
048addec | 22852 | 2002-12-07 Richard M. Stallman <rms@gnu.org> |
9252f7bc | 22853 | |
048addec | 22854 | * minibuf.c (Fcompleting_read): Doc fix. |
9252f7bc | 22855 | |
048addec | 22856 | * lread.c (syms_of_lread) <load-history>: Doc fix. |
9252f7bc | 22857 | |
048addec | 22858 | * fileio.c (Fcopy_file): Set immediate_quit around emacs_open call. |
9252f7bc | 22859 | |
048addec JD |
22860 | * eval.c (Fdefun, Fdefmacro): Record in load-history redefining an |
22861 | autoload. | |
9252f7bc | 22862 | |
048addec | 22863 | * data.c (Fdefalias): Record in load-history redefining an autoload. |
9252f7bc | 22864 | |
048addec | 22865 | * alloca.c: Undo ifdef change accidentally made on 12-04. |
bfa261c0 | 22866 | |
c6605d63 | 22867 | 2002-12-06 Francesco Potort\e,Al\e(B <pot@gnu.org> |
bfa261c0 | 22868 | |
048addec | 22869 | * xfns.c (png_load): Avoid double gamma correction for PNG images. |
c5992177 | 22870 | |
048addec | 22871 | 2002-12-04 Richard M. Stallman <rms@gnu.org> |
c5992177 | 22872 | |
048addec | 22873 | * sysdep.c (fcntl.h): Test only HAVE_FCNTL_H. |
c5992177 | 22874 | |
048addec | 22875 | * fileio.c (fcntl.h): Test only HAVE_FCNTL_H. |
c5992177 | 22876 | |
048addec | 22877 | * alloca.c: Don't use #error. |
02d588e2 | 22878 | |
048addec | 22879 | 2002-12-03 Dave Love <fx@gnu.org> |
02d588e2 | 22880 | |
048addec JD |
22881 | * buffer.c (Qucs_set_table_for_input): New. |
22882 | (Fget_buffer_create): Use it. | |
22883 | (Qset_buffer_major_mode_hook): Deleted. | |
22884 | (Fset_buffer_major_mode): Revert previous change. | |
22885 | (init_buffer_once): Intern ucs-set-table-for-input. | |
22886 | (syms_of_buffer): Delete Qset_buffer_major_mode_hook. | |
22887 | Add &Qucs_set_table_for_input. | |
451e2697 | 22888 | |
048addec | 22889 | 2002-12-03 Andreas Schwab <schwab@suse.de> |
451e2697 | 22890 | |
048addec JD |
22891 | * callint.c (Fcall_interactively): Use next_event only if less |
22892 | than key_count. | |
72742a99 | 22893 | |
048addec | 22894 | 2002-12-02 Andrew Choi <akochoi@shaw.ca> |
72742a99 | 22895 | |
048addec JD |
22896 | * macmenu.c (add_menu_item, fill_menubar): Truncate menu item |
22897 | names to 255 characters. | |
72742a99 | 22898 | |
048addec JD |
22899 | * macterm.c (XTread_socket): If all frames have been collapsed, |
22900 | expand the first one before handling drag-and-drop events. | |
72742a99 | 22901 | |
048addec JD |
22902 | * s/darwin.h (GETPGRP_NO_ARG): Delete. Replaced by GETPGRP_VOID, |
22903 | which is detected by autoconf. | |
40e6ff95 | 22904 | |
048addec | 22905 | 2002-12-01 Steven Tamm <steventamm@mac.com> |
40e6ff95 | 22906 | |
048addec JD |
22907 | * unexmacosx.c (copy_twolevelhints, dump_it): Now corrects the |
22908 | offset in two hints table to allow prebinding to be redone and | |
22909 | allow the executable to be stripped. | |
c02138c6 | 22910 | |
048addec | 22911 | 2002-11-29 Dave Love <fx@gnu.org> |
c02138c6 | 22912 | |
048addec JD |
22913 | * fns.c (Frequire): Don't call LOADHIST_ATTACH if feature was |
22914 | already provided. | |
0e47bbf7 | 22915 | |
048addec | 22916 | 2002-11-29 Richard M. Stallman <rms@gnu.org> |
0e47bbf7 | 22917 | |
048addec JD |
22918 | * xdisp.c (start_display): Check more intelligently for |
22919 | whether the line is continued. | |
22920 | (move_it_vertically_backward): Clear it->continuation_lines_width. | |
44129dcb | 22921 | |
048addec | 22922 | 2002-11-28 Dave Love <fx@gnu.org> |
44129dcb | 22923 | |
048addec JD |
22924 | * s/amdahl.h, s/unipl5-0.h, m/sgi3000.h, s/3700.h, s/alliant-2800.h: |
22925 | * s/alliant.h, s/altos.h: Deleted. (Unused/empty.) | |
f707342d | 22926 | |
048addec | 22927 | 2002-11-27 Steven Tamm <steventamm@mac.com> |
f707342d | 22928 | |
048addec JD |
22929 | * fns.c (Frequire): Change nesting allowance from 2 to 3 to cause |
22930 | more descriptive error output from lread.c:Fload upon most require | |
22931 | cycles during boostrapping. | |
1637fd2c | 22932 | |
048addec | 22933 | 2002-11-27 Jason Rumney <jasonr@gnu.org> |
1637fd2c | 22934 | |
048addec JD |
22935 | * fileio.c (Finsert_file_contents): Give a more appropriate error |
22936 | for files bigger than 2Gb when off_t is 32 bit. | |
1637fd2c | 22937 | |
048addec JD |
22938 | * dired.c (Ffile_attributes): Don't return negative file sizes for |
22939 | files bigger than 2Gb when off_t is 32 bit. | |
540c2788 | 22940 | |
048addec | 22941 | 2002-11-27 Dave Love <fx@gnu.org> |
6b2fd6ea | 22942 | |
048addec | 22943 | * s/irix6-0.h (GC_SETJMP_WORKS, GC_MARK_STACK): Define. |
6b2fd6ea | 22944 | |
048addec JD |
22945 | * systty.h: Don't conditionally define GETPGRP_NO_ARG. |
22946 | Test GETPGRP_VOID instead. | |
22947 | [BSD_TERMIOS]: Remove definitions (never used). | |
6b2fd6ea | 22948 | |
048addec JD |
22949 | * s/osf5-0.h (WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist): |
22950 | Don't define. | |
22951 | (GC_SETJMP_WORKS, GC_MARK_STACK): Define. | |
540c2788 | 22952 | |
048addec | 22953 | * m/mips.h (WORDS_BIG_ENDIAN): Define conditionally. |
8cc03716 | 22954 | |
048addec | 22955 | 2002-11-25 Jason Rumney <jasonr@gnu.org> |
8cc03716 | 22956 | |
048addec JD |
22957 | * w32.c (sys_write): Avoid non-blocking mode, which is not fully |
22958 | supported. | |
4042a81a | 22959 | |
048addec | 22960 | 2002-11-25 Dave Love <fx@gnu.org> |
4042a81a | 22961 | |
048addec | 22962 | * unexalpha.c (update_dynamic_symbols): Cast arg of fatal_unexec. |
4042a81a | 22963 | |
048addec | 22964 | * Makefile.in (TEMACS_LDFLAGS): Update last change. |
be4ee72f | 22965 | |
048addec | 22966 | 2002-11-25 Andreas Schwab <schwab@suse.de> |
be4ee72f | 22967 | |
048addec | 22968 | * m/ia64.h: Restore `#ifndef NOT_C_CODE' deleted by last change. |
82122254 | 22969 | |
048addec | 22970 | 2002-11-24 Steven Tamm <steventamm@mac.com> |
82122254 | 22971 | |
048addec JD |
22972 | * unexmacosx.c (unexec_realloc): Use malloc_default_zone to |
22973 | determine the size of pointers alloced in unexed space instead | |
22974 | of using possibly invalid emacs_zone pointers. This fixes the | |
22975 | binary incompatibility problems caused by updates to libSystem.B. | |
c1ee53bc | 22976 | |
048addec | 22977 | 2002-11-24 Richard M. Stallman <rms@gnu.org> |
c1ee53bc | 22978 | |
048addec | 22979 | * search.c (Fstring_match): Doc fix. |
c1ee53bc | 22980 | |
048addec JD |
22981 | * callint.c (Fcall_interactively): If a command fails because |
22982 | `*' detects a read-only buffer, but RECORD_FLAG is set, | |
22983 | record it anyway if the args don't actually do tty input. | |
5598c32e | 22984 | |
048addec | 22985 | 2002-11-22 Dave Love <fx@gnu.org> |
5598c32e | 22986 | |
048addec | 22987 | * sysdep.c (stuff_char) [PROTOTYPES]: Provide ISO C arglist. |
5598c32e | 22988 | |
048addec JD |
22989 | * keyboard.c (interrupt_signal): Provide forward declaration. |
22990 | (kbd_buffer_store_event): Don't declare interrupt_signal. | |
5598c32e | 22991 | |
048addec | 22992 | * xdisp.c (store_frame_title_char) [PROTOTYPES]: Provide ISO C arglist. |
97b14e22 | 22993 | |
048addec | 22994 | 2002-11-21 Richard M. Stallman <rms@gnu.org> |
97b14e22 | 22995 | |
048addec JD |
22996 | * eval.c (interactive_p): Skip any number of bytecode |
22997 | and special form frames, in any order. | |
516eea8e | 22998 | |
048addec | 22999 | 2002-11-20 Jason Rumney <jasonr@gnu.org> |
516eea8e | 23000 | |
048addec JD |
23001 | * w32fns.c (convert_mono_to_color_image): New function. |
23002 | (xbm_load, xbm_load_image): Use it when foreground or background | |
23003 | is explicitly set. | |
04dbfa08 | 23004 | |
048addec | 23005 | 2002-11-19 Dave Love <fx@gnu.org> |
04dbfa08 | 23006 | |
048addec | 23007 | * s/usg5-4.h, sco4.h (bcopy, bzero, bcmp): Don't define. |
b4aebae3 | 23008 | |
048addec | 23009 | 2002-11-18 Jason Rumney <jasonr@gnu.org> |
b4aebae3 | 23010 | |
048addec JD |
23011 | * w32fns.c (x_build_heuristic_mask): Filter palette info from color. |
23012 | (XPutPixel): Swap blue and red. | |
23013 | (xpm_format, pbm_format, png_format, jpeg_format, tiff_format) | |
23014 | (gif_format, gs_format): Use IMAGE_ASCENT_VALUE. | |
23015 | (xpm_image_p, pbm_image_p, png_image_p, jpeg_image_p) | |
23016 | (tiff_image_p, gif_image_p, gs_image_p): Don't check ascent. | |
1998560a | 23017 | |
048addec | 23018 | 2002-11-18 Dave Love <fx@gnu.org> |
d824beee | 23019 | |
048addec | 23020 | * m/orion105.h (HAVE_ALLOCA): Don't define. |
d824beee | 23021 | |
048addec | 23022 | * m/m68k.h, m/arm.h, mtekxd88.h, m/tower32v3.h: Don't define alloca. |
d824beee | 23023 | |
048addec | 23024 | * m/intel386.h: Don't include alloca.h or define alloca. |
d824beee | 23025 | |
048addec JD |
23026 | * m/ia64.h: Don't include alloca.h, stdlib.h. Don't declare |
23027 | malloc, realloc, calloc. | |
d824beee | 23028 | |
048addec JD |
23029 | * m/hp800.h, m/sr2k.h, m/ns16000.h, m/wicat.h (bcopy, bzero) |
23030 | (bcmp): Don't define. | |
d824beee | 23031 | |
048addec | 23032 | * m/delta.h (bcopy, bzero, bcmp, alloca): Don't define. |
d824beee | 23033 | |
048addec | 23034 | * m/amdahl.h: Don't define LIB_STANDARD. |
d824beee | 23035 | |
048addec | 23036 | * m/alpha.h: Move OSF1 stuff from here to s/osf1.h. |
d824beee | 23037 | |
048addec | 23038 | * s/osf1.h: Move OSF1 stuff from m/alpha.h to here. |
d824beee | 23039 | |
048addec JD |
23040 | * s/irix4-0.h, s/irix5-0.h, m/powerpcle.h, m/sparc.h: |
23041 | Don't include alloca.h. | |
d824beee | 23042 | |
048addec | 23043 | * s/aix3-2.h (HAVE_FSYNC): Don't define. |
1998560a | 23044 | |
048addec | 23045 | * regex.c (_GNU_SOURCE): Don't define. |
1998560a | 23046 | |
048addec | 23047 | * process.c (_GNU_SOURCE): Don't define. |
1998560a | 23048 | |
048addec | 23049 | * fileio.c (_GNU_SOURCE, HAVE_FSYNC): Don't define. |
8704a6ab | 23050 | |
048addec | 23051 | 2002-11-18 Markus Rost <rost@math.ohio-state.edu> |
8704a6ab | 23052 | |
048addec | 23053 | * s/sol2-8.h: Include sol2-6.h. |
6ae2cd57 | 23054 | |
048addec | 23055 | 2002-11-18 Miles Bader <miles@gnu.org> |
6ae2cd57 | 23056 | |
048addec JD |
23057 | * dispextern.h (struct face): Add `overstrike' field. |
23058 | * xterm.c (x_draw_glyph_string_foreground) | |
23059 | (x_draw_composite_glyph_string_foreground): Implement overstriking. | |
23060 | * xfaces.c (load_face_font): Set `face->overstrike' based on | |
23061 | result from choose_face_font. | |
23062 | (best_matching_font, choose_face_font): Add `needs_overstrike' | |
23063 | argument, and use it to return whether overstriking is desirable | |
23064 | for this face/font combo. | |
23065 | (set_font_frame_param: Pass new argument to choose_face_font. | |
6ae2cd57 | 23066 | |
048addec | 23067 | 2002-11-17 Ben Key <BKey1@tampabay.rr.com> |
3582b6a3 | 23068 | |
048addec JD |
23069 | This change is my fix for the following entry in etc/PROBLEMS: |
23070 | "Emacs built on Windows 9x/ME crashes at startup on Windows XP, | |
23071 | or Emacs builtpart of on XP crashes at startup on Windows 9x/ME." | |
f60ae425 | 23072 | |
048addec JD |
23073 | * w32.c: Added wrapper functions around the win32 API functions |
23074 | OpenProcessToken, GetTokenInformation, LookupAccountSid, and | |
23075 | GetSidIdentifierAuthority. These wrapper functions serve two | |
23076 | purposes: | |
23077 | 1. They ensure that the wrapped function can never be called | |
23078 | when Emacs is running on an operating system on which they are | |
23079 | not supported (Microsoft Windows 95 / 98 / ME). | |
23080 | 2. They call the wrapped functions via function pointers rather | |
23081 | than calling them directly. This avoids taking advantage of the | |
23082 | undocumented fact that although these functions are not supported | |
23083 | in the 9x branch of Microsoft Windows, the functions do exist in | |
23084 | the version of advapi32.dll that is found in the 9x branch of | |
23085 | Microsoft Windows. | |
f60ae425 | 23086 | |
6bdb309a | 23087 | * w32.c (init_user_info): Replace the calls to the win32 API |
048addec JD |
23088 | functions OpenProcessToken, GetTokenInformation, LookupAccountSid, |
23089 | and GetSidIdentifierAuthority with calls to the newly added | |
23090 | wrapper functions. | |
f60ae425 | 23091 | |
048addec JD |
23092 | * w32.h: Added extern declarations for the following functions: |
23093 | syms_of_w32term, syms_of_w32fns, syms_of_w32select, | |
23094 | syms_of_w32menu, and void syms_of_fontset. | |
f60ae425 | 23095 | |
6bdb309a | 23096 | * w32fns.c (w32_wnd_proc): Add code to reinitialize the |
048addec JD |
23097 | function pointer track_mouse_event_fn in the handler for the |
23098 | WM_SETFOCUS message. | |
3582b6a3 | 23099 | |
6bdb309a | 23100 | * w32menu.c (initialize_frame_menubar): Add code to |
048addec JD |
23101 | reinitialize the function pointers set_menu_item_info and |
23102 | get_menu_item_info. | |
f60ae425 | 23103 | |
048addec | 23104 | 2002-11-17 Ben Key <BKey1@tampabay.rr.com> |
f60ae425 | 23105 | |
048addec JD |
23106 | * sound.c: Added a partial implementation of play-sound-internal |
23107 | for Microsoft Windows. Added various #ifdef / #else / #endif | |
23108 | code blocks to separate the code that will compile under | |
9fed2905 | 23109 | Microsoft Windows from the code that is specific to GNU/Linux. |
048addec | 23110 | Moved several blocks of code around to make this separation of code |
9fed2905 | 23111 | into Windows compatible and GNU/Linux compatible code blocks easier. |
f60ae425 | 23112 | |
048addec | 23113 | * makefile.w32-in: Include sound.c and link with WinMM.lib. |
a0f0878d | 23114 | |
048addec JD |
23115 | * s/ms-w32.h: Defined the symbol HAVE_SOUND so that the newly |
23116 | added support for play-sound-internal under Windows would be | |
23117 | included in the build of Emacs. | |
517f42a0 | 23118 | |
048addec | 23119 | 2002-11-16 Jason Rumney <jasonr@gnu.org> |
517f42a0 | 23120 | |
048addec | 23121 | * w32fns.c (w32_load_system_font): Don't disable Cleartype. |
517f42a0 | 23122 | |
048addec | 23123 | * w32term.c (w32_get_glyph_string_clip_rect): Clip cursor tightly. |
a0f0878d | 23124 | |
048addec | 23125 | 2002-11-15 Stefan Monnier <monnier@cs.yale.edu> |
a0f0878d | 23126 | |
048addec JD |
23127 | * keyboard.c (command_loop_1): Fix int/Lisp_Object mixup. |
23128 | (adjust_point_for_property): Move out of display and invisible even if | |
23129 | we were already inside before (in case a property was added while | |
23130 | we weren't looking). Be more careful when handling invisible props. | |
23131 | Skip invisible text as if it really wasn't there at all. | |
aab83f91 | 23132 | |
048addec | 23133 | 2002-11-15 Jason Rumney <jasonr@gnu.org> |
aab83f91 | 23134 | |
048addec JD |
23135 | * w32term.c (x_draw_image_foreground) |
23136 | (w32_draw_image_foreground_1): Use standard copy and invert | |
23137 | operations to draw images. | |
aab83f91 | 23138 | |
048addec JD |
23139 | * w32fns.c (x_create_x_image_and_pixmap): Fill in palette for |
23140 | depth of 1. | |
23141 | (xbm_read_bitmap_data): Invert bits as xbm is read in. | |
23142 | (XPutPixel): Don't invert bits here. | |
a4478a76 | 23143 | |
048addec | 23144 | 2002-11-15 Jason Rumney <jasonr@gnu.org> |
a4478a76 | 23145 | |
048addec JD |
23146 | * w32term.c (x_draw_image_foreground, x_draw_image_glyph_string) |
23147 | (w32_draw_image_foreground_1): Handle image masks. | |
23148 | (x_draw_image_glyph_string): Don't BitBlt transparently. | |
a4478a76 | 23149 | |
048addec JD |
23150 | * w32fns.c (w32_defined_color): Adjust RGB values for Emacs. |
23151 | (x_from_xcolors): Adjust RGB values for W32. | |
23152 | (image_background, image_background_transparent) | |
23153 | (postprocess_image, x_to_xcolors, x_disable_image) | |
23154 | (x_build_heuristic_mask): Adapt for W32 and enable. | |
23155 | (x_create_x_image_and_pixmap): Mark images with palettes as such. | |
23156 | (xbm_load): Remove unused variable. | |
03670a65 | 23157 | |
048addec | 23158 | 2002-11-14 Richard M. Stallman <rms@gnu.org> |
03670a65 | 23159 | |
048addec | 23160 | * buffer.c (syms_of_buffer): Doc fix. |
59daa29a | 23161 | |
048addec | 23162 | 2002-11-14 Dave Love <fx@gnu.org> |
59daa29a | 23163 | |
048addec | 23164 | * alloc.c (SETJMP_WILL_NOT_WORK): Add note. |
59daa29a | 23165 | |
048addec JD |
23166 | * xterm.c (x_draw_relief_rect, x_draw_box_rect, x_update_cursor): |
23167 | * xmenu.c (unuse_menu_items, digest_single_submenu): | |
23168 | * xfns.c (x_put_x_image): | |
23169 | * xdisp.c (message2_nolog, set_message): | |
23170 | * undo.c (record_point): | |
23171 | * terminfo.c (tparam): | |
23172 | * syntax.c (scan_sexps_forward): | |
23173 | * scroll.c (calculate_scrolling, calculate_direct_scrolling): | |
23174 | * composite.c (update_compositions): | |
23175 | * cm.c (calccost, cmgoto): | |
23176 | * charset.c (c_string_width): Declare all args (per C99). | |
59daa29a | 23177 | |
048addec | 23178 | * frame.h (get_specified_cursor_type, get_window_cursor_type): Declare. |
59daa29a | 23179 | |
048addec JD |
23180 | * lisp.h (get_specified_cursor_type, get_window_cursor_type): |
23181 | Don't declare. | |
59daa29a | 23182 | |
048addec | 23183 | * emacs.c (main) [!VMS]: Avoid third arg. |
59daa29a | 23184 | |
048addec JD |
23185 | * fns.c (Fcopy_sequence): Doc fix. |
23186 | (Fmap_char_table): Cast `call2'. | |
3947677c | 23187 | |
c6605d63 | 23188 | 2002-11-14 Francesco Potort\e,Al\e(B <pot@gnu.org> |
048addec JD |
23189 | |
23190 | * s/sol2-8.h: New file. | |
23191 | ||
23192 | 2002-11-14 Kim F. Storm <storm@cua.dk> | |
23193 | ||
23194 | * buffer.c (syms_of_buffer) <mode-line-format>: Document symbol | |
23195 | dependency on `risky-local-variable' and the :propertize form. | |
23196 | ||
23197 | 2002-11-12 Stefan Monnier <monnier@cs.yale.edu> | |
23198 | ||
23199 | * fns.c (Fmap_char_table): Don't use map_char_table's function arg. | |
23200 | ||
23201 | * syntax.c (scan_sexps_forward): Undo last patch. | |
23202 | Use a more obvious fix: check eob before updating the syntax table. | |
23203 | ||
23204 | 2002-11-09 Stefan Monnier <monnier@cs.yale.edu> | |
23205 | ||
23206 | * syntax.c (scan_sexps_forward): Update syntax table before reading | |
23207 | a char rather than after so we don't update the table past eob. | |
23208 | ||
23209 | 2002-11-09 Dave Love <fx@gnu.org> | |
23210 | ||
23211 | * buffer.c (Fset_buffer_major_mode): Fix last change. | |
23212 | ||
23213 | * regex.c (regexec): Fix pmatch declaration. | |
23214 | ||
23215 | * cmds.c (Fself_insert_command): Apply Vtranslation_table_for_input. | |
23216 | ||
23217 | * keyboard.c (command_loop_1): Apply Vtranslation_table_for_input | |
23218 | to self-inserting characters. | |
23219 | (syms_of_keyboard) <keyboard-translate-table>: Doc fix. | |
23220 | ||
23221 | * coding.c (Vtranslation_table_for_input): New. | |
23222 | (syms_of_coding): DEFVAR it. | |
23223 | ||
23224 | 2002-11-08 Juanma Barranquero <lektu@terra.es> | |
23225 | ||
23226 | * w32term.c (w32_draw_fringe_bitmap): Remove unused local variable | |
23227 | window. | |
23228 | ||
23229 | 2002-11-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
23230 | ||
6bdb309a | 23231 | * process.c (Fformat_network_address): Remove unused locals p, |
048addec JD |
23232 | cp, and i. |
23233 | ||
23234 | 2002-11-06 Dave Love <fx@gnu.org> | |
23235 | ||
23236 | * buffer.c (Qset_buffer_major_mode_hook): New. | |
23237 | (Fset_buffer_major_mode): Use it. | |
23238 | ||
23239 | 2002-11-06 Richard M. Stallman <rms@gnu.org> | |
23240 | ||
23241 | * xterm.c (x_term_init): Use turn_on_atimers, not start_polling | |
23242 | and stop_polling. | |
23243 | ||
23244 | * process.c (wait_reading_process_input): | |
23245 | Test POLLING_PROBLEM_IN_SELECT, not hpux. | |
23246 | Avoid initialization for auto Lisp_Object var. | |
23247 | ||
23248 | * s/hpux11.h (POLLING_PROBLEM_IN_SELECT): Add #undef. | |
23249 | ||
23250 | * s/hpux10.h (POLLING_PROBLEM_IN_SELECT): Defined. | |
23251 | ||
23252 | 2002-11-05 Richard M. Stallman <rms@gnu.org> | |
23253 | ||
23254 | * s/sol2-5.h (BROKEN_SIGIO): Turn off the #undef. | |
23255 | ||
23256 | * callint.c (Fcall_interactively): New local filter_specs. | |
23257 | (Fcall_interactively): Check for progn as well as let. | |
23258 | Add a gcpro. | |
23259 | (Qprogn): New variable. | |
23260 | (syms_of_callint): Staticpro and init Qprogn. | |
23261 | ||
23262 | 2002-11-04 John Paul Wallington <jpw@shootybangbang.com> | |
23263 | ||
23264 | * lread.c (Feval_buffer): Doc fix. | |
23265 | ||
23266 | 2002-11-04 Dave Love <fx@gnu.org> | |
23267 | ||
23268 | * keyboard.c (read_char): Always translate iff | |
23269 | Vkeyboard_translate_table is a char table and c is valid. | |
23270 | ||
23271 | * xterm.c (XTread_socket): Check Lisp types for Vx_keysym_table | |
23272 | and fix C types. | |
23273 | ||
23274 | 2002-11-03 Stefan Monnier <monnier@cs.yale.edu> | |
23275 | ||
23276 | * xdisp.c (single_display_prop_intangible_p): Strings are intangible. | |
23277 | ||
23278 | * editfns.c (get_pos_property): Don't hardcode Qfield. | |
23279 | ||
23280 | * keyboard.c (adjust_point_for_property): Handle `display' prop on | |
23281 | overlays. Also handle `invisible' prop. | |
23282 | ||
23283 | 2002-11-02 Stefan Monnier <monnier@cs.yale.edu> | |
23284 | ||
23285 | * coding.c (decode_coding_emacs_mule, decode_coding_iso2022) | |
23286 | (decode_coding_sjis_big5, decode_eol): Allow lone \r in DOS EOL. | |
23287 | ||
23288 | 2002-11-01 Andreas Schwab <schwab@suse.de> | |
23289 | ||
23290 | * editfns.c (Fmessage): Revert last change to properly handle %%. | |
23291 | ||
23292 | 2002-11-01 Stefan Monnier <monnier@cs.yale.edu> | |
23293 | ||
23294 | * xmenu.c (unuse_menu_items): New fun. | |
23295 | (menu_items_inuse): New var. | |
23296 | (syms_of_xmenu): Initialize it. | |
23297 | (init_menu_items): Use it to detect re-entrance. | |
23298 | (Fx_popup_menu, Fx_popup_dialog, set_frame_menubar): Reset when done. | |
23299 | (Fx_popup_menu): Remove spurious XSETFRAME. | |
23300 | ||
23301 | * editfns.c (find_field): Make an exception for nil fields. | |
23302 | ||
23303 | 2002-11-01 Dave Love <fx@gnu.org> | |
23304 | ||
23305 | * m/gec63.h: Deleted. | |
23306 | ||
23307 | 2002-10-31 Dave Love <fx@gnu.org> | |
23308 | ||
23309 | * xterm.c (XTread_socket): Fix last change. | |
23310 | (xaw_scroll_callback): Cast call_data to long to avoid warning. | |
23311 | ||
23312 | 2002-10-31 Stefan Monnier <monnier@cs.yale.edu> | |
23313 | ||
23314 | * process.c (Fformat_network_address): Fix int/Lisp_Object mixup. | |
23315 | ||
23316 | 2002-10-30 Stefan Monnier <monnier@cs.yale.edu> | |
23317 | ||
23318 | * editfns.c (overlays_around, get_pos_property): New funs. | |
23319 | (find_field): Use them. | |
23320 | Also be careful not to modify POS before its last use. | |
23321 | (Fmessage): Don't Fformat if there's nothing to format. | |
23322 | ||
23323 | 2002-10-30 Dave Love <fx@gnu.org> | |
23324 | ||
23325 | * process.c [HAVE_SYS_WAIT]: Include sys/wait.h. | |
23326 | [HAVE_PTY_H]; Include pty.h. | |
23327 | ||
23328 | * lread.c (Fload) <!load_dangerous_libraries>: Close fd. | |
23329 | ||
23330 | * xterm.c (Qeql): Declare. | |
23331 | (Vx_keysym_table): New. | |
23332 | (syms_of_xterm): Initialize it. | |
23333 | (XTread_socket): Use it. Deal with ASCII keysyms. | |
23334 | (XSetIMValues) [HAVE_X11R6]: Prototype. | |
23335 | ||
23336 | * keyboard.c (lispy_accent_codes, lispy_accent_keys): Extended. | |
23337 | (lispy_kana_keys): Comment out. | |
23338 | (make_lispy_event) [XK_kana_A]: Comment out. | |
23339 | (modify_event_symbol) <sizeof (long) == sizeof (EMACS_INT)>: | |
23340 | Fix sprintf call. | |
23341 | ||
23342 | * s/osf5-0.h (C_SWITCH_SYSTEM): Revert last change (fixed by | |
23343 | regexp.h change). | |
23344 | (TERMINFO, LIBS_TERMCAP): Define. | |
23345 | ||
23346 | * s/usg5-4.h (bcopy, bzero): Define conditional on HAVE_BCOPY. | |
23347 | (bcmp): Define conditional on HAVE_BCMP. | |
23348 | (NO_SIOCTL_H): Don't define. | |
23349 | (TIOCSIGSEND): Don't make conditional on IRIX6. | |
23350 | ||
23351 | * s/sol2-5.h: Don't include strings.h. | |
23352 | (bcopy, bzero, bcmp) [HAVE_BCOPY]: Don't undef. | |
23353 | ||
23354 | * s/irix6-0.h (IRIX6): Don't define. | |
23355 | (bcopy, bcmp, bzero): Don't undef. | |
23356 | ||
23357 | * s/irix6-5.h: Don't include strings.h. | |
23358 | (IRIX6): Don't define. | |
23359 | (bcopy, bcmp, bzero): Don't undef. | |
23360 | ||
23361 | * syntax.c (Fforward_comment): Doc fix. | |
23362 | ||
23363 | 2002-10-29 Kim F. Storm <storm@cua.dk> | |
23364 | ||
23365 | * process.c (Fsignal_process): Allow PROCESS to be specified by | |
23366 | name in addition to pid (as integer or string). | |
23367 | ||
23368 | 2002-10-28 Harald Maier <Harald.Maier.BW@t-online.de> (tiny change) | |
23369 | ||
23370 | * w32heap.c: Don't redefine _heap_init and _heap_term on MSVC 7 build | |
23371 | environments. | |
23372 | ||
23373 | 2002-10-27 Kim F. Storm <storm@cua.dk> | |
23374 | ||
23375 | * xterm.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
23376 | ||
23377 | * w32term.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
23378 | ||
23379 | * msdos.c (IT_note_mouse_highlight): Don't use mouse-face if hidden. | |
23380 | ||
23381 | * macterm.c (note_mouse_highlight): Don't use mouse-face if hidden. | |
23382 | ||
23383 | 2002-10-26 Richard M. Stallman <rms@gnu.org> | |
23384 | ||
23385 | * editfns.c (Fformat): Detect invalid format letters for floats. | |
23386 | ||
23387 | 2002-10-25 Kenichi Handa <handa@m17n.org> | |
23388 | ||
23389 | * xfns.c (x_set_name): Encode by Qcompound_text unconditionally. | |
23390 | (x_set_title): Likewise. | |
23391 | ||
23392 | 2002-10-25 Juanma Barranquero <lektu@terra.es> | |
23393 | ||
23394 | * macgui.h: | |
23395 | * w32gui.h: Remove definition of XColor. | |
23396 | ||
23397 | * dispextern.h [!HAVE_X_WINDOWS]: Define XColor. | |
23398 | ||
23399 | 2002-10-24 Kim F. Storm <storm@cua.dk> | |
23400 | ||
23401 | * xdisp.c (get_window_cursor_type): New arg ACTIVE_CURSOR. | |
23402 | Callers changed (supply dummy arg). | |
23403 | ||
23404 | * lisp.h (get_window_cursor_type): Update prototype. | |
23405 | ||
23406 | * w32term.c (x_display_and_set_cursor): Get active_cursor from | |
23407 | get_window_cursor_type to track system caret. | |
23408 | ||
23409 | 2002-10-24 Kim F. Storm <storm@cua.dk> | |
23410 | ||
23411 | * process.c (Fformat_network_address): New function. | |
23412 | (syms_of_process): Defsubr it. | |
23413 | (list_processes_1): Use it to format :local/:remote address if | |
f9711de4 | 23414 | service/host is not set; before Emacs would crash in that case. |
048addec JD |
23415 | (Fmake_network_process): Don't use Ffind_operation_coding_system |
23416 | to setup coding system if host or service is not set. | |
23417 | ||
23418 | 2002-10-23 Juanma Barranquero <lektu@terra.es> | |
23419 | ||
23420 | Patch suggested by Jay Finger <jay_finger@hotmail.com>. | |
23421 | ||
23422 | * w32term.c (w32_term_init): Pass XColor to w32_define_color, not | |
23423 | COLORREF. | |
23424 | ||
23425 | * macgui.h: | |
23426 | * w32gui.h: Add definition of XColor. | |
23427 | ||
23428 | * macfns.c: | |
23429 | * w32fns.c: | |
23430 | * xfaces.c: Remove definition of XColor. | |
23431 | ||
23432 | 2002-10-22 Stefan Monnier <monnier@cs.yale.edu> | |
23433 | ||
23434 | * xfns.c (x_set_name, x_set_title): `icon.value' has unsigned char. | |
23435 | ||
23436 | * window.c (window_loop): For GET_LRU_WINDOW and GET_LARGEST_WINDOW>, | |
23437 | Only ignore truly dedicated windows. For UNSHOW_BUFFER, delete the | |
23438 | window if it is dedicated. | |
23439 | (Fshrink_window): Add preserve_before as was done for enlarge_window. | |
23440 | (Vspecial_display_function): Update docstring. | |
23441 | ||
23442 | * buffer.c (assoc_ignore_text_properties, Fother_buffer, Fkill_buffer) | |
23443 | (call_overlay_mod_hooks): Use CONSP and XCAR/XCDR. | |
23444 | (Fget_buffer_create, advance_to_char_boundary): Use BEG and BEG_BYTE; | |
23445 | ||
23446 | 2002-10-21 Stefan Monnier <monnier@cs.yale.edu> | |
23447 | ||
23448 | * casefiddle.c (casify_region): Don't treat a prefix char as part | |
23449 | of a word when at the beginning. | |
23450 | ||
23451 | 2002-10-17 Juanma Barranquero <lektu@terra.es> | |
23452 | ||
23453 | * lread.c (syms_of_lread): Fix typos. | |
23454 | ||
23455 | 2002-10-17 Dave Love <fx@gnu.org> | |
23456 | ||
23457 | * Makefile.in (TEMACS_LDFLAGS): Add trailing comment. | |
23458 | ||
23459 | 2002-10-16 Richard M. Stallman <rms@gnu.org> | |
23460 | ||
23461 | * fileio.c (Fcopy_file): Fix backward test of KEEP_TIME. | |
23462 | ||
23463 | 2002-10-14 Juanma Barranquero <lektu@terra.es> | |
23464 | ||
23465 | * w16select.c (syms_of_win16select): Fix docstring for | |
23466 | `selection-coding-system'. | |
23467 | ||
23468 | * w32select.c (syms_of_w32select): Likewise. | |
23469 | ||
23470 | 2002-10-14 Stefan Monnier <monnier@cs.yale.edu> | |
23471 | ||
23472 | * syntax.c (scan_lists): Don't get fooled by a symbol ending with | |
23473 | a backslash-quoted char. | |
23474 | (scan_lists, scan_sexps_forward): Pacify the compiler. | |
23475 | ||
23476 | 2002-10-13 Richard M. Stallman <rms@gnu.org> | |
23477 | ||
23478 | * window.c (window_scroll): Set immediate_quit. | |
23479 | ||
23480 | * print.c (print): When backquote form is the car of a list, | |
23481 | output in old style. Use old_backquote_output to output all | |
23482 | comma forms inside it in old style too. | |
23483 | ||
23484 | * buffer.h (struct buffer): Move `undo_list' down below `name'. | |
23485 | ||
23486 | 2002-10-11 Markus Rost <rost@math.ohio-state.edu> | |
23487 | ||
23488 | * emacs.c (syms_of_emacs) <kill-emacs-hook>: Doc fix (not run in | |
23489 | batch mode). | |
23490 | ||
23491 | * lread.c (Fload): Doc fix (load-suffixes). | |
23492 | ||
23493 | 2002-10-10 Steven Tamm <steventamm@mac.com> | |
23494 | ||
23495 | * macterm.c (syms_of_macterm, mac_get_mouse_btn): | |
23496 | Reverse functionality of mac-wheel-button-is-mouse-2 to be correct. | |
23497 | Also switch the default to Qnil from Qt. | |
23498 | ||
23499 | 2002-10-08 Kenichi Handa <handa@m17n.org> | |
23500 | ||
23501 | * coding.c (code_convert_region): When we need more GAP for | |
23502 | conversion, pay attention to the case that coding->produced is not | |
23503 | greater than coding->consumed. | |
23504 | ||
23505 | 2002-10-07 Richard M. Stallman <rms@gnu.org> | |
23506 | ||
23507 | * unexelf.c (unexec): Redo 9/16 change, but only if IRIX6_5. | |
23508 | ||
23509 | 2002-10-06 Andrew Choi <akochoi@shaw.ca> | |
23510 | ||
23511 | * macmenu.c (mac_menu_show): Add j to count menu items; match | |
23512 | menu_item_selection to it to find selected item. | |
23513 | ||
23514 | 2002-10-06 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
23515 | ||
23516 | * xterm.c (XTread_socket): Fix from 2002-10-03 didn't cover all | |
23517 | cases. The correct fix is to pass ReparentNotify to Xt. | |
23518 | The shell widget interprets ConfigureNotify differently depending | |
23519 | on if it has been reparented or not. | |
23520 | ||
23521 | 2002-10-05 Markus Rost <rost@math.ohio-state.edu> | |
23522 | ||
23523 | * editfns.c (Fformat_time_string): Doc fix. | |
23524 | ||
23525 | 2002-10-05 John Paul Wallington <jpw@shootybangbang.com> | |
23526 | ||
23527 | * fns.c (Flength): Doc fix. | |
23528 | ||
23529 | 2002-10-04 Stefan Monnier <monnier@cs.yale.edu> | |
23530 | ||
23531 | * keyboard.c (keyremap): New struct. | |
23532 | (read_key_sequence): Use it: globally replace keytran_foo with | |
23533 | keytran.foo and fkey_foo with fkey.foo. Rename temp vars | |
23534 | keytran_next and fkey_next to just `next'. | |
23535 | ||
23536 | 2002-10-04 Steven Tamm <steventamm@mac.com> | |
23537 | ||
23538 | * macterm.c (keycode_to_xkeysym_table): Change return to be | |
23539 | treated like an X keysym. | |
23540 | ||
23541 | 2002-10-03 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
23542 | ||
23543 | * xterm.c (XTread_socket): For ConfigureNotify, with x and y == 0, | |
23544 | and USE_MOTIF, call XTranslateCoordinates to get the real x and y. | |
23545 | This is to also handle x/y changes that occur because of a resize. | |
23546 | ||
23547 | 2002-10-02 John Paul Wallington <jpw@shootybangbang.com> | |
23548 | ||
23549 | * frame.c (Vdelete_frame_functions): New variable. | |
23550 | (syms_of_frame): Initialize and defvar it. | |
23551 | (Fdelete_frame): Use it instead of delete-frame-hook. Don't run | |
23552 | it when frame's `tooltip' parameter is non-nil. | |
23553 | ||
23554 | * xfns.c (x_create_tip_frame): Set `tooltip' frame parameter to t. | |
23555 | ||
23556 | * w32fns.c (x_create_tip_frame): Likewise. | |
23557 | ||
23558 | * macfns.c (x_create_tip_frame): Likewise. | |
23559 | ||
23560 | 2002-09-30 Kenichi Handa <handa@m17n.org> | |
23561 | ||
23562 | * xterm.c (x_encode_char): For DIM=1 charset, set ccl->reg[2] to | |
23563 | -1 before calling ccl_driver. | |
23564 | ||
23565 | * coding.c (decode_coding_emacs_mule): Check coding->cmp_data. | |
23566 | Only when it is non-nil, handle composition sequence. | |
23567 | (setup_coding_system) <0>: Don't force composition handling. | |
23568 | ||
14a56a1b | 23569 | * Makefile.in (lisp, shortlisp): Add utf-16.elc. |
048addec JD |
23570 | |
23571 | 2002-09-29 Richard M. Stallman <rms@gnu.org> | |
23572 | ||
23573 | * search.c (Freplace_match): Adjust match data for the substitution | |
23574 | just made in the buffer. | |
23575 | ||
23576 | * xdisp.c (STOP_POLLING, RESUME_POLLING): New macros. | |
23577 | (redisplay_internal): Use them. Do RESUME_POLLING at end of function. | |
23578 | ||
23579 | 2002-09-27 Richard M. Stallman <rms@gnu.org> | |
23580 | ||
23581 | * keyboard.c (STOP_POLLING, RESUME_POLLING): New macros. | |
23582 | (read_char): Use them. Do all exits thru the end of the function. | |
23583 | ||
23584 | 2002-09-27 Kenichi Handa <handa@etl.go.jp> | |
23585 | ||
23586 | * xfaces.c (try_font_list): Pay attention to the case that FAMILY | |
23587 | is nil. | |
23588 | ||
23589 | 2002-09-26 Richard M. Stallman <rms@gnu.org> | |
23590 | ||
23591 | * regex.h (__restrict_arr): Don't define if already defined. | |
23592 | ||
23593 | * coding.c (run_pre_post_conversion_on_str): | |
23594 | Save and restore Vdeactivate_mark. | |
23595 | ||
23596 | 2002-09-26 John Paul Wallington <jpw@shootybangbang.com> | |
23597 | ||
23598 | * minibuf.c (Fminibufferp): Add an optional `buffer' argument. | |
23599 | ||
23600 | 2002-09-26 Kenichi Handa <handa@etl.go.jp> | |
23601 | ||
23602 | * xfaces.c (try_font_list): New arg PREFER_FACE_FAMILY. If it is | |
23603 | nonzero, try face's family at first. Otherwise try FAMILY at first. | |
23604 | (choose_face_font): If C is a single byte char or latin-1, call | |
23605 | try_font_list with PREFER_FACE_FAMILY 1. | |
23606 | ||
23607 | 2002-09-21 Richard M. Stallman <rms@gnu.org> | |
23608 | ||
23609 | * window.c (select_window_1): Don't select frame. | |
23610 | Set frame's selected window only when frame itself is selected. | |
23611 | (Fselect_window): Doc fix. | |
23612 | ||
23613 | 2002-09-18 Kim F. Storm <storm@cua.dk> | |
23614 | ||
23615 | * process.c (make-network-process): Doc fix (there is no | |
23616 | network-server-log-function hook). | |
23617 | ||
23618 | 2002-09-18 Richard M. Stallman <rms@gnu.org> | |
23619 | ||
23620 | * print.c (print): Clear out the unused parts of Vprint_number_table. | |
23621 | (syms_of_print): Doc fix for `print-number-table'. | |
23622 | ||
23623 | * unexelf.c (unexec): Undo previous change. | |
23624 | ||
23625 | 2002-09-17 Andreas Schwab <schwab@suse.de> | |
23626 | ||
23627 | * m/alpha.h [LINUX]: Don't define DATA_START. | |
23628 | ||
23629 | 2002-09-16 Dave Love <fx@gnu.org> | |
23630 | ||
23631 | * unexelf.c (unexec): Deal with .got, reinstating change from | |
23632 | 25-08-1999. | |
23633 | ||
23634 | 2002-09-13 Richard M. Stallman <rms@gnu.org> | |
23635 | ||
23636 | * s/sol2-6.h (UNEXEC): Comment out definition. | |
23637 | ||
23638 | * unexsol.c (unexec): Don't downcase first letter of error msg. | |
23639 | ||
23640 | * xfaces.c (Fcolor_supported_p): Just one arg is required. | |
23641 | ||
23642 | 2002-09-12 Markus Rost <rost@math.ohio-state.edu> | |
23643 | ||
23644 | * unexsol.c: Include buffer.h, charset.h, coding.h. | |
23645 | ||
23646 | 2002-09-11 Richard M. Stallman <rms@gnu.org> | |
23647 | ||
23648 | * unexsol.c: Don't use report_file_error; do it by hand | |
23649 | using dlerror. | |
23650 | ||
23651 | * process.c (wait_reading_process_input, both versions): | |
23652 | Before calling turn_on_atimers, call stop_polling. | |
23653 | ||
23654 | * emacs.c (syms_of_emacs) <command-line-args>: Doc fix. | |
23655 | ||
23656 | * xdisp.c (try_scrolling): If after make_cursor_line_fully_visible | |
23657 | we go to too_near_end, call clear_glyph_matrix. | |
23658 | (redisplay_window): After make_cursor_line_fully_visible, | |
23659 | call clear_glyph_matrix and bypass `goto done'. | |
23660 | ||
23661 | * xfns.c (x_report_frame_params): If FRAME_SCROLL_BAR_PIXEL_WIDTH is 0 | |
23662 | and we have non-toolkit scroll bars, return nil for scroll-bar-width. | |
23663 | ||
23664 | 2002-09-10 Richard M. Stallman <rms@gnu.org> | |
23665 | ||
23666 | * fileio.c (Fdo_auto_save): Catch error making directory. | |
23667 | Only call push_message if we need to. | |
23668 | At the same time, make an unwind-protect to pop it. | |
23669 | Rename local message_p to old_message_p. | |
23670 | (do_auto_save_make_dir, do_auto_save_eh): New functions. | |
23671 | (do_auto_save_unwind): Don't call pop_message. | |
23672 | ||
23673 | * lisp.h (pop_message_unwind): Renamed from push_message_unwind. | |
23674 | ||
23675 | * keyboard.c (Fexecute_extended_command): Use pop_message_unwind. | |
23676 | ||
23677 | * alloc.c (Fgarbage_collect): Use pop_message_unwind. | |
23678 | ||
23679 | * xdisp.c (pop_message_unwind): Renamed from push_message_unwind. | |
23680 | ||
23681 | 2002-09-10 Stefan Monnier <monnier@cs.yale.edu> | |
23682 | ||
23683 | * regex.c (DISCARD_FAILURE_REG_OR_COUNT): Delete. | |
23684 | (CHECK_INFINITE_LOOP): Don't pop anything: just set `cycle' to 1. | |
23685 | (re_match_2_internal): Be more careful with infinite loops. | |
23686 | ||
23687 | 2002-09-10 Kim F. Storm <storm@cua.dk> | |
23688 | ||
23689 | * macros.c (end_kbd_macro): New function. | |
23690 | (Fend_kbd_macro): Use it. | |
23691 | ||
23692 | * macros.h (end_kbd_macro): Declare extern. | |
23693 | ||
23694 | * keyboard.c (Fdiscard_input): If defining keyboard macro, | |
23695 | end and save it instead of discarding it. | |
23696 | ||
23697 | 2002-09-09 Markus Rost <rost@math.ohio-state.edu> | |
23698 | ||
23699 | * s/sol2-6.h: Fix typo. Add comment. | |
23700 | ||
23701 | 2002-09-09 Richard M. Stallman <rms@gnu.org> | |
23702 | ||
23703 | * regex.c (regnum_t): Use signed int, not unsigned int. | |
23704 | ||
23705 | * s/sol2-6.h: New file. | |
23706 | ||
23707 | * s/sol2-5.h (UNEXEC): Definition deleted. | |
23708 | ||
23709 | 2002-09-08 Kim F. Storm <storm@cua.dk> | |
23710 | ||
23711 | * macros.c (executing_macro_index): Change type to EMACS_INT. | |
9dd28cae | 23712 | (syms_of_macros): DEFVAR_INT it (needed by kmacro). |
048addec JD |
23713 | |
23714 | * macros.h (executing_macro_index): Change type to EMACS_INT. | |
23715 | ||
23716 | 2002-09-06 Richard M. Stallman <rms@gnu.org> | |
23717 | ||
23718 | * casetab.c (set_case_table): Make canon table point to eqv table. | |
23719 | ||
23720 | 2002-09-06 Juanma Barranquero <lektu@terra.es> | |
23721 | ||
23722 | * coding.c (syms_of_coding): Fix spacing. | |
23723 | ||
23724 | * composite.c (Fcompose_region_internal) | |
23725 | (Fcompose_string_internal): Likewise. | |
23726 | ||
23727 | * data.c (Flsh): Likewise. | |
23728 | ||
23729 | * fontset.c (Fset_fontset_font): Likewise. | |
23730 | ||
23731 | * macfns.c (Fx_server_max_request_size): Likewise. | |
23732 | ||
23733 | * w16select.c (syms_of_win16select): Likewise. | |
23734 | ||
23735 | * w32select.c (syms_of_w32select): Likewise. | |
23736 | ||
23737 | * xselect.c (syms_of_xselect): Likewise. | |
23738 | ||
23739 | 2002-09-05 Richard M. Stallman <rms@gnu.org> | |
23740 | ||
23741 | * regex.c (set_image_of_range_1): In no-TRANSLATE case, | |
23742 | call EXTEND_RANGE_TABLE and return a proper value. | |
23743 | (set_image_of_range): Don't call set_image_of_range_1 | |
23744 | if no TRANSLATE or if range includes all of Latin-1. | |
23745 | Only call it for the Latin-1 part of the range. | |
23746 | For other cases, make two separate ranges, | |
23747 | one for the original specified characters and one for | |
23748 | their case-conversions. | |
23749 | ||
23750 | 2002-09-04 Richard M. Stallman <rms@gnu.org> | |
23751 | ||
23752 | * s/sol2-5.h (UNEXEC): Use unexsol.o. | |
23753 | ||
23754 | * window.c (displayed_window_lines): Correct for one-off bug | |
23755 | in HEIGHT on non-window displays. | |
23756 | ||
23757 | * regex.c (set_image_of_range_1): New function. | |
23758 | (set_image_of_range): Use set_image_of_range_1 for Latin-1. | |
23759 | Return a value to indicate running out of memory. | |
23760 | (SET_RANGE_TABLE_WORK_AREA): Check value from set_image_of_range. | |
23761 | (extend_range_table_work_area): New subroutine. | |
23762 | (EXTEND_RANGE_TABLE): Replaces EXTEND_RANGE_TABLE_WORK_AREA. | |
23763 | Different calling conventions, and used from set_image_of_range{,_1}. | |
23764 | (IMMEDIATE_QUIT_CHECK): Definitions moved. | |
23765 | ||
23766 | 2002-09-04 Juanma Barranquero <lektu@terra.es> | |
23767 | ||
23768 | * makefile.w32-in: All dependencies updated. | |
23769 | ||
23770 | 2002-09-01 Richard M. Stallman <rms@gnu.org> | |
23771 | ||
23772 | * unexsol.c: New file. | |
23773 | ||
23774 | * xfns.c (Qbox): Declare external, don't define. | |
23775 | ||
23776 | * xdisp.c (redisplay_window) <force-start case>: | |
23777 | If point is on semi-visible last line, reposition | |
23778 | it at previous line. | |
23779 | ||
23780 | * alloc.c (display_malloc_warning): Use display-warning. | |
23781 | (malloc_warning_1): Function deleted. | |
23782 | ||
23783 | * alloc.c [ALLOC_DEBUG]: #undef INLINE. | |
23784 | ||
23785 | * lread.c (read1): Handle #! by skipping the line. | |
23786 | ||
23787 | 2002-08-31 Richard M. Stallman <rms@gnu.org> | |
23788 | ||
23789 | * Makefile.in (TEMACS_LDFLAGS): Renamed from ALL_LDFLAGS. | |
23790 | Don't include LDFLAGS. | |
23791 | (temacs): Pass LDFLAGS separately, and not via YMF_PASS_LDFLAGS. | |
23792 | ||
23793 | 2002-08-31 Eli Zaretskii <eliz@is.elta.co.il> | |
23794 | ||
23795 | * xdisp.c (get_window_cursor_type): Don't use x_highlight_frame | |
23796 | member of x_display_info unless we compile for some window system. | |
23797 | ||
23798 | 2002-08-31 Kim F. Storm <storm@cua.dk> | |
23799 | ||
23800 | * xdisp.c (Valternate_cursor_type, Qalternate_cursor_type): Removed. | |
23801 | (get_window_cursor_type): Don't use them. | |
23802 | (syms_of_xdisp): Remove intern, staticpro, and defvar for them. | |
23803 | ||
23804 | 2002-08-30 Kenichi Handa <handa@etl.go.jp> | |
23805 | ||
23806 | * xdisp.c (get_next_display_element): Fix previous change. | |
23807 | ||
23808 | 2002-08-30 Andrew Choi <akochoi@shaw.ca> | |
23809 | ||
23810 | * macterm.c (expose_overlaps): New function (merge code from xterm.c). | |
23811 | (expose_window): Use it to fix the display of overlapping | |
23812 | rows (merge code from xterm.c). | |
23813 | ||
23814 | * macfns.c (Qbox): Add extern declaration. | |
23815 | ||
23816 | 2002-08-30 Juanma Barranquero <lektu@terra.es> | |
23817 | ||
23818 | * w32fns.c (Qbox): Make extern. | |
23819 | (syms_of_w32fns): Remove initialization of Qbox. | |
23820 | ||
23821 | 2002-08-30 Rune Kleveland <runekl@viewpoint.no> (tiny change) | |
23822 | ||
23823 | * xfns.c (Fx_open_connection): Fix error message. | |
23824 | ||
23825 | 2002-08-30 Kim F. Storm <storm@cua.dk> | |
23826 | ||
23827 | The following changes consolidates the handling of the cursor | |
23828 | type in xdisp.c, moving duplicate code and functionality from | |
23829 | xfns.c, xterm.c, w32fns.c, w32term.c, macfns.c, and macterm.c. | |
23830 | ||
23831 | * frame.h (enum text_cursor_kinds): Consolidated here. | |
23832 | Added DEFAULT_CURSOR value. | |
23833 | (struct frame) <desired_cursor, cursor_width> | |
23834 | <blink_off_cursor, blink_off_cursor_width>: New fields. | |
23835 | Consolidated from output_x, output_w32 and output_mac structs. | |
23836 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
23837 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros consolidated here. | |
23838 | ||
23839 | * xdisp.c (Qbar, Qhbar, Qbox, Qhollow, Vblink_cursor_alist): | |
23840 | Variables consolidated here. | |
23841 | (Valternate_cursor_type, Qalternate_cursor_type): New variables. | |
23842 | (Vcursor_in_non_selected_windows): Renamed from | |
23843 | cursor_in_non_selected_windows and changed to Lisp_Object. | |
23844 | (syms_of_xdisp): Define and staticpro new and moved variables. | |
23845 | (get_specified_cursor_type): Renamed from x_specified_cursor_type; | |
23846 | consolidated here. Recognize Qhollow setting. | |
23847 | (set_frame_cursor_types): New function to set frame cursor types | |
23848 | based on the frame parameters. | |
23849 | (get_window_cursor_type): New function to calculate new cursor | |
23850 | type and width for the specified window. Based on duplicated | |
23851 | code consolidated here. | |
23852 | Enhancements: cursor-in-non-selected-windows may be a cursor type, | |
23853 | check buffer-local alternate-cursor-type and blink-cursor-alist | |
23854 | before using built-in blink off methods. | |
23855 | ||
23856 | * dispextern.h (cursor_in_non_selected_windows): Extern removed. | |
23857 | ||
23858 | * lisp.h (Qcursor_in_non_selected_windows): Extern removed. | |
23859 | (get_specified_cursor_type, get_window_cursor_type) | |
23860 | (set_frame_cursor_types): Added prototypes. | |
23861 | ||
23862 | * macfns.c (x_specified_cursor_type): Removed. | |
23863 | (x_set_cursor_type): Use set_frame_cursor_types. | |
23864 | (Qbar, Qbox): Removed. | |
23865 | (syms_of_macfns): Don't intern or staticpro them. | |
23866 | ||
23867 | * macterm.c (x_specified_cursor_type): Remove prototype. | |
23868 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
23869 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
23870 | Remove unused local variables cursor_non_selected, active_cursor. | |
23871 | Redraw cursor if hbar cursor width changes. | |
23872 | (make_mac_frame): Set FRAME_DESIRED_CURSOR. | |
23873 | ||
23874 | * macterm.h (enum text_cursor_kinds): Removed. | |
23875 | (struct output_mac) <current_cursor, desired_cursor, cursor_width> | |
23876 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
23877 | (FRAME_DESIRED_CURSOR): Macro removed. | |
23878 | ||
23879 | * w32fns.c (Vblink_cursor_alist): Removed. | |
23880 | (Qbar, Qhbar, Qbox, Qhollow): Removed. | |
23881 | (syms_of_w32fns): Don't intern, staticpro, or define them. | |
23882 | (x_specified_cursor_type): Removed. | |
23883 | (x_set_cursor_type): Use set_frame_cursor_types. | |
23884 | ||
23885 | * w32term.c (x_specified_cursor_type): Remove prototype. | |
23886 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
23887 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
23888 | Remove unused local variables cursor_off_state. | |
23889 | Redraw cursor if hbar cursor width changes. | |
23890 | Changed all occurrences of w32_highlight_frame to x_highlight_frame. | |
23891 | ||
23892 | * w32term.h (enum text_cursor_kinds): Removed. | |
23893 | (struct output_w32) <current_cursor, desired_cursor, cursor_width> | |
23894 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
23895 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
23896 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed. | |
23897 | (struct w32_display_info) <x_highlight_frame>: Renamed member from | |
23898 | w32_highlight_frame. | |
23899 | ||
23900 | * xfns.c (Vblink_cursor_alist): Removed. | |
23901 | (Qbar, Qhbar, Qbox, Qhollow): Removed. | |
23902 | (syms_of_xfns): Don't intern, staticpro, or define them. | |
23903 | (x_specified_cursor_type): Removed. | |
23904 | (x_set_cursor_type): Use set_frame_cursor_types. | |
23905 | ||
23906 | * xterm.c (x_specified_cursor_type): Remove prototype. | |
23907 | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. | |
23908 | (x_display_and_set_cursor): Use get_window_cursor_type. | |
23909 | Remove unused local variables cursor_off_state. | |
23910 | Redraw cursor if hbar cursor width changes. | |
23911 | ||
23912 | * xterm.h (enum text_cursor_kinds): Removed. | |
23913 | (struct output_x) <current_cursor, desired_cursor, cursor_width> | |
23914 | <blink_off_cursor, blink_off_cursor_width>: Members removed. | |
23915 | (FRAME_DESIRED_CURSOR, FRAME_CURSOR_WIDTH, FRAME_BLINK_OFF_CURSOR) | |
23916 | (FRAME_BLINK_OFF_CURSOR_WIDTH): Macros removed. | |
23917 | (x_specified_cursor_type): Remove prototype. | |
23918 | ||
23919 | 2002-08-28 Richard M. Stallman <rms@gnu.org> | |
23920 | ||
23921 | * w32fns.c (x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR and | |
23922 | FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist. | |
23923 | (Vblink_cursor_alist): New variable. | |
23924 | (syms_of_w32fns): Initialize and defvar it. | |
23925 | (x_specified_cursor_type): Recognize Qbox for filled box. | |
23926 | Exceptions are hollow boxes. | |
23927 | (Qbox, Qhollow): New variables. | |
23928 | (syms_of_w32fns): Initialize and staticpro them. | |
23929 | ||
23930 | * w32term.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): | |
23931 | New macros. | |
23932 | (struct w32_output): New fields blink_off_cursor, | |
23933 | blink_off_cursor_width. | |
23934 | (FRAME_CURSOR_WIDTH): New macro. | |
23935 | ||
23936 | * w32term.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR | |
23937 | and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off. | |
23938 | ||
23939 | * w32term.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH | |
23940 | for bar cursor. | |
23941 | ||
23942 | * w32term.c (expose_overlaps): New function. | |
23943 | (expose_window): Use it to fix the display of overlapping rows. | |
23944 | ||
23945 | 2002-08-28 Simon Josefsson <jas@extundo.com> | |
23946 | ||
23947 | * xfns.c (Fx_open_connection): Improve help when X connection | |
23948 | fails, xhost is insecure and xauth is better. | |
23949 | ||
23950 | 2002-08-28 Juanma Barranquero <lektu@terra.es> | |
23951 | ||
23952 | * makefile.w32-in: Add missing dependencies on w32term.h and | |
23953 | composite.h. | |
23954 | ||
23955 | * emacs.c (USAGE1): Add missing newline. | |
23956 | ||
23957 | 2002-08-27 Andrew Choi <akochoi@shaw.ca> | |
23958 | ||
23959 | * s/darwin.h [HAVE_LIBNCURSES]: Define HAVE_TERMINFO. | |
23960 | ||
23961 | 2002-08-27 Richard M. Stallman <rms@gnu.org> | |
23962 | ||
23963 | * xfns.c (x_set_cursor_type): Set FRAME_BLINK_OFF_CURSOR and | |
23964 | FRAME_BLINK_OFF_CURSOR_WIDTH using defaults and Vblink_cursor_alist. | |
23965 | (Vblink_cursor_alist): New variable. | |
23966 | (syms_of_xfns): Initialize and defvar it. | |
23967 | (x_specified_cursor_type): Recognize Qbox for filled box. | |
23968 | Exceptions are hollow boxes. | |
23969 | (Qbox, Qhollow): New variables. | |
23970 | (syms_of_xfns): Initialize and staticpro them. | |
23971 | ||
23972 | * xterm.h (FRAME_BLINK_OFF_CURSOR, FRAME_BLINK_OFF_CURSOR_WIDTH): | |
23973 | New macros. | |
23974 | (struct x_output): New fields blink_off_cursor, blink_off_cursor_width. | |
23975 | ||
23976 | * xterm.c (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSOR | |
23977 | and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off. | |
23978 | ||
23979 | * emacs.c (main): Handle --script. | |
23980 | (USAGE1): Mention --script. | |
23981 | (standard_args): Define sort order for --script. | |
23982 | ||
23983 | 2002-08-27 Gerd Moellmann <gerd.moellmann@t-online.de> | |
23984 | ||
23985 | * xdisp.c (redisplay_updating_p): Variable removed. | |
23986 | (inhibit_free_realized_faces, Qinhibit_free_realized_faces): | |
23987 | New variables. | |
23988 | (init_iterator): Don't free realized faces if | |
23989 | inhibit_free_realized_faces is set. | |
23990 | (redisplay_internal): Bind Qinhibit_free_realized_faces to nil. | |
23991 | (syms_of_xdisp): DEFVAR_BOOL inhibit-free-realized-faces, | |
23992 | initialize Qinhibit_free_realized_faces. | |
23993 | ||
23994 | * dispextern.h (PRODUCE_GLYPHS): Set inhibit_free_realized_faces | |
23995 | when iterator is adding glyphs to a glyph matrix. | |
23996 | ||
23997 | 2002-08-27 Kenichi Handa <handa@etl.go.jp> | |
23998 | ||
23999 | * xdisp.c (get_next_display_element): In unibyte case, don't use | |
24000 | octal form for such eight-bit characters that can be converted to | |
24001 | multibyte char. | |
24002 | ||
24003 | 2002-08-26 Kim F. Storm <storm@cua.dk> | |
24004 | ||
b6189c3b KS |
24005 | * frame.c (make_terminal_frame) [CANNOT_DUMP]: Initialize |
24006 | foreground and background colors. From Joe Buehler. | |
048addec JD |
24007 | |
24008 | 2002-08-26 Miles Bader <miles@gnu.org> | |
24009 | ||
24010 | * bytecode.c (Fbyte_code): Fsub1 can GC, so protect it. | |
24011 | ||
24012 | 2002-08-25 Andrew Choi <akochoi@shaw.ca> | |
24013 | ||
24014 | * emacs.c (main): Call init_mac_osx_environment if HAVE_CARBON is | |
24015 | defined instead of MAC_OSX. | |
24016 | ||
24017 | * s/darwin.h (select): Define select to sys_select only if | |
24018 | HAVE_CARBON is defined. | |
24019 | (HAVE_WORKING_VFORK): #undef it. Define vfork to fork. | |
24020 | (DONT_REOPEN_PTY): #def it. | |
24021 | ||
24022 | * macterm.c (XTread_socket): Remove code to call | |
24023 | SendEventToEventTarget for keys with command modifiers when | |
24024 | mac_command_key_is_meta is nil. | |
24025 | ||
24026 | 2002-08-24 Andreas Schwab <schwab@suse.de> | |
24027 | ||
24028 | * eval.c (Fdefvar): Fix last change. | |
24029 | ||
24030 | 2002-08-23 Richard M. Stallman <rms@gnu.org> | |
24031 | ||
24032 | * eval.c (Fdefvar, Fdefconst, Fdefvaralias): | |
24033 | Record variables in load history as (defvar . VAR). | |
24034 | (Fdefvar): Don't record in load history if no initial value. | |
24035 | (Qdefvar): New variable. | |
24036 | (syms_of_eval): Init and staticpro it. | |
24037 | ||
24038 | * lread.c (syms_of_lread): Doc fix. | |
24039 | (build_load_history): Use Fmember to see if a definition | |
24040 | is already in the Vload_history element. | |
24041 | ||
24042 | * process.c (Fstart_process): Remove /: from program name. | |
24043 | ||
24044 | * emacs.c (decode_env_path): Don't add /: if file name handler | |
24045 | has a `safe-magic' property. | |
24046 | ||
24047 | * callproc.c (Fcall_process): Remove /: from program name. | |
24048 | ||
24049 | 2002-08-23 Stefan Monnier <monnier@cs.yale.edu> | |
24050 | ||
24051 | * regex.c (PATFETCH): Remove the translating fetch. | |
24052 | (PATFETCH_RAW): Rename to PATFETCH. | |
24053 | (set_image_of_range): New fun. | |
24054 | (SET_RANGE_TABLE_WORK_AREA): Use it. | |
24055 | (regex_compile): Don't translate the pattern chars so eagerly. | |
24056 | Only do it when inserting an `exactn' bytecode or when handling | |
24057 | a char-range. | |
24058 | (mutually_exclusive_p): Avoid empty statement. | |
24059 | ||
24060 | 2002-08-22 Kim F. Storm <storm@cua.dk> | |
24061 | ||
24062 | * xdisp.c (redisplay_window): Do not `goto try_to_scroll' when we | |
24063 | end up on a partially visible line; this reverts a specific part | |
24064 | of the 2002-07-07 change by Richard M. Stallman to "fix" a nasty | |
24065 | display error which has been reported several times now. | |
24066 | However it introduces the problem that changes was supposed to fix. | |
24067 | See my comments in the source if you want to debug this further. | |
24068 | ||
24069 | 2002-08-20 Kenichi Handa <handa@etl.go.jp> | |
24070 | ||
24071 | * abbrev.c (Fexpand_abbrev): Fix for the multibyte case. | |
24072 | ||
24073 | 2002-08-19 Eli Zaretskii <eliz@is.elta.co.il> | |
24074 | ||
24075 | * msdos.c (croak): Add `void' to definition. | |
24076 | ||
c1380aa6 | 24077 | * sysdep.c (request_sigio, unrequest_sigio) [MSDOS]: |
048addec JD |
24078 | Don't define them, they are defined in msdos.c. |
24079 | ||
24080 | * mem-limits.h [MSDOS]: Declare etext. | |
24081 | ||
24082 | * fileio.c (Ffile_name_directory) [DOS_NT]: Don't declare `beg' | |
24083 | `const' since CORRECT_DIR_SEPS modifies its target. | |
24084 | ||
24085 | 2002-08-19 Kim F. Storm <storm@cua.dk> | |
24086 | ||
2fb0ce67 | 24087 | * keyboard.c (Fclear_this_command_keys): Add optional arg |
048addec JD |
24088 | KEEP-RECORD to avoid clearing lossage when we just want to clear |
24089 | the current key sequence (kmacro needs this). | |
24090 | ||
24091 | 2002-08-19 Kenichi Handa <handa@localhost> | |
24092 | ||
24093 | * composite.c (run_composition_function): Call FUNC if it is fboundp. | |
24094 | ||
24095 | * composite.h (COMPOSITION_MODIFICATION_FUNC): If PROP is not a | |
24096 | cons, return Qnil. | |
24097 | ||
24098 | 2002-08-17 Richard M. Stallman <rms@gnu.org> | |
24099 | ||
24100 | * s/sol2-5.h (BROKEN_SIGIO): Add #undef. | |
24101 | ||
24102 | * sysdep.c [!VMS]: Include sys/files.h. | |
24103 | ||
24104 | * editfns.c (save_restriction_restore): Defend from unchained marker. | |
24105 | ||
24106 | * buffer.c (overlays_at): Handle extending vec uniformly. | |
24107 | (overlays_in): Handle extending vec from length 0 as in overlays_at. | |
24108 | ||
24109 | 2002-08-15 Andrew Choi <akochoi@shaw.ca> | |
24110 | ||
24111 | * mac.c (init_mac_osx_environment): New function. | |
24112 | ||
24113 | * emacs.c (main) [MAC_OSX]: Call init_mac_osx_environment. | |
24114 | ||
24115 | 2002-08-14 Kim F. Storm <storm@cua.dk> | |
24116 | ||
24117 | * macros.c (Fstart_kbd_macro): Added NO-EXEC argument to inhibit | |
24118 | executing macro before appending to it (when used from Lisp). | |
24119 | (Fexecute_kbd_macro): Added LOOPFUNC argument to supply function | |
24120 | which is called prior to each iteration of macro (for kmacro.el). | |
24121 | (Fend_kbd_macro, Fcall_last_kbd_macro): Likewise. | |
24122 | ||
24123 | * lisp.h (Fexecute_kbd_macro): Update prototype. | |
24124 | ||
24125 | * keyboard.c (Fcommand_execute): Update call to Fexecute_kbd_macro. | |
24126 | ||
24127 | 2002-08-14 Kenichi Handa <handa@etl.go.jp> | |
24128 | ||
24129 | * xselect.c (QUTF8_STRING): New variable. | |
24130 | (symbol_to_x_atom): Pay attention to QUTF8_STRING. | |
24131 | (x_atom_to_symbol): Likewise. | |
24132 | (x_get_local_selection): New argument local_request. If it is | |
24133 | nonzero, call handler_fn with the second arg nil. | |
24134 | (x_handle_selection_request): Call x_get_local_selection with | |
24135 | local_request 0. | |
24136 | (lisp_data_to_selection_data): Don't encode the string here. | |
24137 | (Fx_get_selection_internal): Call x_get_local_selection with | |
24138 | local_request 1. | |
24139 | (syms_of_xselect): Intern and staticpro QUTF8_STRING. | |
24140 | ||
24141 | * xterm.c (x_term_init): Initialize dpyinfo->Xatom_UTF8_STRING. | |
24142 | ||
24143 | * xterm.h (struct x_display_info): New member Xatom_UTF8_STRING. | |
24144 | ||
24145 | 2002-08-13 Richard M. Stallman <rms@gnu.org> | |
24146 | ||
24147 | * minibuf.c (Fminibufferp): New function. | |
24148 | (syms_of_minibuf): Defsubr it. | |
24149 | (Fminibuffer_prompt_end): Handle non-minibuffers specially. | |
24150 | ||
24151 | 2002-08-13 Gerd Moellmann <gerd.moellmann@t-online.de> | |
24152 | ||
24153 | * coding.c (Funencodable_char_position): Lisp_Object/int mixup. | |
24154 | ||
24155 | 2002-08-12 Richard M. Stallman <rms@gnu.org> | |
24156 | ||
24157 | * syswait.h: Only the include of sys/wait.h tests HAVE_SYS_WAIT_H. | |
24158 | [!VMS] (WCOREDUMP, WEXITSTATUS, WIFEXITED, WIFSTOPPED, WIFSIGNALED) | |
24159 | (WSTOPSIG, WTERMSIG): Define each one independently if not defined | |
24160 | already. | |
24161 | ||
24162 | * buffer.c (syms_of_buffer) <fill-column>: Doc fix. | |
24163 | ||
24164 | 2002-08-11 Andrew Choi <akochoi@shaw.ca> | |
24165 | ||
24166 | * macterm.c (XTmouse_position): Check wp with is_emacs_window. | |
24167 | (Vmac_pass_command_to_system): New variable. | |
24168 | (Vmac_pass_control_to_system): New variable. | |
24169 | (do_mouse_moved): Check wp with is_emacs_window. | |
24170 | (XTread_socket): Check window_ptr with is_emacs_window. | |
24171 | Call FrontNonFloatingWindow instead of FrontWindow. Send keydown | |
24172 | events back to Mac Toolbox for processing, depending on values of | |
24173 | Vmac_pass_command_to_system and Vmac_pass_control_to_system. | |
24174 | (syms_of_macterm): DEFVAR_LISP Vmac_pass_command_to_system and | |
24175 | Vmac_pass_control_to_system. | |
24176 | ||
24177 | 2002-08-10 Kenichi Handa <handa@etl.go.jp> | |
24178 | ||
24179 | * coding.c (unencodable_char_position): New function. | |
24180 | (Funencodable_char_position): New function. | |
24181 | (syms_of_coding): Defsubr Funencodable_char_position. | |
24182 | ||
24183 | 2002-08-10 Andrew Choi <akochoi@shaw.ca> | |
24184 | ||
24185 | * mac.c (sys_select) [MAC_OSX]: New function. | |
24186 | ||
24187 | * macterm.c (MakeMeTheFrontProcess): New function. | |
24188 | (mac_initialize): Call MakeMeTheFrontProcess. | |
24189 | ||
24190 | * s/darwin.h: Define select to sys_select. | |
24191 | ||
24192 | 2002-08-09 Richard M. Stallman <rms@gnu.org> | |
24193 | ||
24194 | * keyboard.c (make_lispy_event): Test WINDOWSNT, not WINDOWS_NT. | |
24195 | ||
24196 | 2002-08-09 Gerd Moellmann <gerd.moellmann@t-online.de> | |
24197 | ||
24198 | * xdisp.c (forward_to_next_line_start): Return 0 when reaching the | |
24199 | end of the buffer. | |
24200 | ||
88fde92a | 24201 | 2002-08-08 Ken Raeburn <raeburn@gnu.org> |
048addec JD |
24202 | |
24203 | * coding.c (Ffind_operation_coding_system): Fix Lisp_Object/int mixup. | |
24204 | ||
24205 | * puresize.h (BASE_PURESIZE): Increase to 910000. | |
24206 | ||
24207 | 2002-08-08 Kenichi Handa <handa@etl.go.jp> | |
24208 | ||
24209 | * coding.c (Ffind_operation_coding_system): For write-region, if | |
24210 | VISIT is a filename, make it the target. | |
24211 | ||
24212 | 2002-08-07 Richard M. Stallman <rms@gnu.org> | |
24213 | ||
24214 | * alloc.c (mark_object): Detect long lists for debugging. | |
24215 | (mark_object_loop_halt): New variable. | |
24216 | ||
24217 | * s/hpux10.h (C_SWITCH_SYSTEM): #undef it. | |
24218 | ||
24219 | * data.c (Fmake_variable_frame_local): Doc fix. | |
24220 | ||
24221 | 2002-08-01 David Ponce <david@dponce.com> | |
24222 | ||
24223 | * w32menu.c (local_heap, local_alloc, local_free): New macros. | |
24224 | (malloc_widget_value, free_widget_value) | |
24225 | (w32_free_submenu_strings): Use them. | |
24226 | ||
24227 | (push_submenu_start, push_submenu_end, push_left_right_boundary) | |
24228 | (push_menu_pane, push_menu_item, single_keymap_panes) | |
24229 | (single_menu_item, Fx_popup_menu, menubar_selection_callback) | |
24230 | (single_submenu, set_frame_menubar) | |
24231 | (w32_menu_show, w32_dialog_show): Use AREF, ASET, ASIZE. | |
24232 | ||
24233 | (Fx_popup_menu): Don't show pop up menu until preceding one is | |
24234 | actually cleaned up. Moved UNGCPRO outside #ifdef HAVE_MENUS block. | |
24235 | ||
24236 | * w32menu.c: Changes adapted from xmenu.c | |
24237 | (set_frame_menubar): First parse all submenus, | |
24238 | then make widget_value trees from them. | |
24239 | Don't allocate any widget_value objects | |
24240 | until we are done with the parsing. | |
24241 | (parse_single_submenu): New function. | |
24242 | (digest_single_submenu): New function. | |
24243 | (single_submenu): Function deleted, replaced by those two. | |
24244 | ||
24245 | 2002-08-04 Andrew Choi <akochoi@shaw.ca> | |
24246 | ||
24247 | * macterm.c (XTread_socket): Check that FrontNonFloatingWindow | |
24248 | returns a valid window pointer before proceeding for keyDown and | |
24249 | autoKey events. | |
24250 | ||
24251 | 2002-08-03 Andrew Choi <akochoi@shaw.ca> | |
24252 | ||
24253 | * macterm.c (USE_CARBON_EVENTS): New macro. | |
24254 | (macCtrlKey, macShiftKey, macMetaKey, macAltKey): New macros. | |
24255 | (x_iconify_frame): Call CollapseWindow. | |
24256 | (Vmac_reverse_ctrl_meta): New variable. | |
24257 | (Vmac_wheel_button_is_mouse_2): New variable. | |
24258 | (init_mac_drag_n_drop): New function. | |
24259 | (mac_do_receive_drag): New function. | |
24260 | (mac_handle_service_event): New function. | |
24261 | (init_service_handler): New function. | |
24262 | (mac_to_emacs_modifiers): New function. | |
24263 | (mac_event_to_emacs_modifiers): New function. | |
24264 | (mac_get_mouse_btn): New function. | |
24265 | (mac_convert_event_ref): New function. | |
24266 | (XTread_socket) [USE_CARBON_EVENTS]: Call ReceiveNextEvent, | |
24267 | SendEventToEventTarget, mac_event_to_emacs_modifiers, and | |
24268 | mac_get_mouse_btn. | |
24269 | (mac_initialize): Call init_mac_drag_n_drop and init_service_handler. | |
24270 | ||
24271 | * keyboard.c: Define Qmouse_wheel, mouse_wheel_syms, and | |
24272 | lispy_mouse_wheel_names for MAC_OSX as well as for WINDOWS_NT. | |
24273 | (kbd_buffer_get_event): Set used_mouse_menu for MENU_BAR_EVENT and | |
24274 | TOOL_BAR_EVENT for MAC_OS as well. | |
24275 | (make_lispy_event): Handle MOUSE_WHEEL_EVENT for MAC_OSX as well | |
24276 | as for WINDOWS_NT. | |
24277 | (syms_of_keyboard): Initialize Qmouse_wheel for MAC_OSX. | |
24278 | ||
24279 | * termhooks.h (event_kind): Define MOUSE_WHEEL_EVENT also for MAC_OSX. | |
24280 | ||
24281 | 2002-08-03 Gerd Moellmann <gerd.moellmann@t-online.de> | |
24282 | ||
24283 | * xdisp.c (forward_to_next_line_start): Fix a condition that | |
24284 | lead to a newline being skipped. | |
24285 | ||
24286 | 2002-08-02 Andrew Choi <akochoi@shaw.ca> | |
24287 | ||
24288 | * mac.c (syms_of_mac): Defsubr Sx_selection_exists_p. | |
24289 | ||
24290 | 2002-08-01 Richard M. Stallman <rms@gnu.org> | |
24291 | ||
24292 | * Makefile.in (SOME_MACHINE_OBJECTS): Add fontset.o. | |
24293 | ||
24294 | 2002-07-31 Andrew Choi <akochoi@shaw.ca> | |
24295 | ||
24296 | * macfns.c: #undef init_process before #define-ing it. | |
24297 | ||
24298 | * s/darwin.h: Define MAC_OS, SYMS_SYSTEM, and OTHER_FILES only if | |
24299 | HAVE_CARBON is defined. | |
24300 | ||
24301 | 2002-07-31 Richard M. Stallman <rms@gnu.org> | |
24302 | ||
24303 | * xmenu.c (set_frame_menubar): First parse all submenus, | |
24304 | then make widget_value trees from them. | |
24305 | Don't allocate any widget_value objects | |
24306 | until we are done with the parsing. | |
24307 | (parse_single_submenu): New function. | |
24308 | (digest_single_submenu): New function. | |
24309 | (single_submenu): Function deleted, replaced by those two. | |
24310 | ||
24311 | 2002-07-30 Juanma Barranquero <lektu@terra.es> | |
24312 | ||
24313 | * w32proc.c (syms_of_ntproc): Fix docstring of | |
24314 | `w32-get-true-file-attributes'. | |
24315 | ||
24316 | 2002-07-28 Richard M. Stallman <rms@gnu.org> | |
24317 | ||
24318 | * s/hpux8.h (HPUX8): Define this before including hpux.h. | |
24319 | (HAVE_SYS_WAIT_H): #define deleted; we let Autoconf decide. | |
24320 | ||
24321 | * s/hpux.h (HAVE_SYS_WAIT_H): The #undef is conditional on HPUX8. | |
24322 | ||
24323 | * keyboard.c (make_lispy_event): | |
24324 | Use #ifdef to test USE_TOOLKIT_SCROLL_BARS. | |
24325 | Explicitly clear up_modifier in event->modifiers. | |
24326 | ||
24327 | 2002-07-27 Richard M. Stallman <rms@gnu.org> | |
24328 | ||
24329 | * xterm.h (FRAME_CURSOR_WIDTH): New macro. | |
24330 | ||
24331 | * xterm.c (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH | |
24332 | for bar cursor. | |
24333 | ||
24334 | 2002-07-26 Kenichi Handa <handa@etl.go.jp> | |
24335 | ||
24336 | * coding.c (detect_coding_iso2022): While checking a byte sequence | |
24337 | for CODING_CATEGORY_MASK_ISO_8_2, if we read one extra byte, check | |
24338 | it in the normal loop. | |
24339 | ||
24340 | 2002-07-24 Gerd Moellmann <gerd.moellmann@t-online.de> | |
24341 | ||
24342 | * xterm.c (expose_overlaps): New function. | |
24343 | (expose_window): Use it to fix the display of overlapping rows. | |
24344 | ||
24345 | * xdisp.c (unwind_redisplay): Clear redisplay_updating_p. | |
24346 | ||
24347 | 2002-07-23 Ken Raeburn <raeburn@gnu.org> | |
24348 | ||
24349 | * lisp.h (XPNTR): Use NO_UNION_TYPE version for union as well, | |
24350 | since it only depends on XUINT. | |
24351 | ||
24352 | * m/alpha.h (BITS_PER_LONG, BITS_PER_EMACS_INT, EMACS_INT, | |
24353 | EMACS_UINT, SPECIAL_EMACS_INT, DATA_SEG_BITS, | |
24354 | PNTR_COMPARISON_TYPE, VALBITS, MARKBIT, XINT, XUINT, XPNTR): | |
24355 | Macros deleted. | |
3947677c | 24356 | |
77d1daf2 AS |
24357 | * mem-limits.h (start_of_data): If DATA_START is defined, prefer |
24358 | its value over other approaches. | |
24359 | * sysdep.c (start_of_data): Don't define the function if a macro | |
24360 | form has been defined. | |
8a8e19a3 | 24361 | |
048addec JD |
24362 | 2002-07-23 Gerd Moellmann <gerd.moellmann@t-online.de> |
24363 | ||
24364 | * xdisp.c (redisplay_updating_p): New variable. | |
24365 | (init_iterator): Don't free realized faces when | |
24366 | redisplay_updating_p is set. | |
24367 | (redisplay_internal): Set redisplay_updating_p while updating | |
24368 | the display. | |
24369 | ||
24370 | 2002-07-23 Richard M. Stallman <rms@gnu.org> | |
24371 | ||
24372 | * editfns.c (Fmessage): Treat "" like nil. | |
24373 | ||
24374 | 2002-07-23 Kenichi Handa <handa@etl.go.jp> | |
24375 | ||
24376 | * xdisp.c (face_before_or_after_it_pos): | |
24377 | Call FETCH_MULTIBYTE_CHAR with byte postion, not char position. | |
24378 | ||
24379 | 2002-07-22 Juanma Barranquero <lektu@terra.es> | |
24380 | ||
24381 | * callproc.c (init_callproc) [DOS_NT]: | |
24382 | Initialize Vshared_game_score_directory to nil. | |
24383 | (syms_of_callproc) [DOS_NT]: Likewise. | |
24384 | ||
24385 | 2002-07-22 Gerd Moellmann <gerd.moellmann@t-online.de> | |
24386 | ||
24387 | * xdisp.c (display_line): Replace an abort with xassert. | |
24388 | ||
24389 | 2002-07-21 Richard M. Stallman <rms@gnu.org> | |
24390 | ||
24391 | * xdisp.c (redisplay_window): Don't test BEG_UNCHANGED | |
24392 | and END_UNCHANGED when setting buffer_unchanged_p. | |
24393 | Use current_matrix_up_to_date_p to decide whether to use | |
24394 | try_cursor_movement. | |
24395 | ||
24396 | * config.in (HAVE_SHARED_GAME_DIR): Undef deleted. | |
24397 | ||
24398 | * epaths.in (PATH_GAME): New macro, edited by ../Makefile.in. | |
24399 | ||
24400 | * callproc.c (init_callproc): Set up Vshared_game_score_directory. | |
24401 | Set to nil if dir does not exist. | |
24402 | (syms_of_callproc): Init unconditionally and simply. | |
24403 | ||
24404 | * buffer.c (Fbuffer_list): Doc fix. | |
24405 | ||
24406 | 2002-07-21 Ken Raeburn <raeburn@gnu.org> | |
24407 | ||
24408 | * sysdep.c (end_of_text, end_of_data): Unused functions deleted. | |
24409 | ||
24410 | * buffer.c (mmap_realloc): When shrinking, make sure number of | |
24411 | pages to unmap is rounded towards zero. | |
24412 | ||
24413 | * m/mips-siemens.h (XSETUINT, XSETPNTR): Unused macros deleted. | |
24414 | (XSETINT): Deleted. | |
24415 | ||
24416 | * m/att3b.h (XINT): Don't define. | |
24417 | (VALBITS, VALMASK, XTYPE): Deleted. | |
24418 | (DATA_SEG_BITS): Define. | |
24419 | * m/gec63.h (VALBITS, VALAMASK, XTYPE, XSETTYPE, XPNTR, XSET, | |
24420 | ARRAY_MARK_FLAG): Deleted. | |
24421 | (DATA_SEG_BITS): Define. | |
24422 | * m/pfa50.h (VALBITS, VALMASK, XTYPE): Deleted. | |
24423 | (DATA_SEG_BITS): Define. | |
24424 | ||
24425 | 2002-07-20 Richard M. Stallman <rms@gnu.org> | |
24426 | ||
24427 | * print.c (print_error_message): New args CONTEXT and CALLER. | |
24428 | Calls changed. | |
24429 | ||
24430 | * lisp.h (print_error_message): Declare new args. | |
24431 | ||
24432 | * keyboard.c (cmd_error_internal): Pass Vsignaling_function | |
24433 | and CONTEXT to print_error_message, don't print them here. | |
24434 | For a Quit, don't use Vsignaling_function. | |
24435 | Call message_log_maybe_newline. | |
24436 | ||
24437 | * Makefile.in (xsmfns.o): Don't depend on lisp.h. | |
24438 | ||
24439 | 2002-07-20 Kim F. Storm <storm@cua.dk> | |
24440 | ||
24441 | * xdisp.c (redisplay_window): Test MODIFF to set buffer_unchanged_p. | |
24442 | ||
24443 | 2002-07-19 Ken Raeburn <raeburn@gnu.org> | |
24444 | ||
24445 | * bytecode.c (struct byte_stack): Pointers into byte string now | |
24446 | point to const. | |
24447 | * callproc.c (Fcall_process): Make NEW_ARGV array hold pointer to | |
24448 | const. | |
24449 | * charset.h (BCOPY_SHORT): Source pointer now points to const. | |
24450 | * coding.c (encode_eol, detect_coding, detect_eol): | |
24451 | (decode_coding, encode_coding, detect_coding_system): | |
24452 | Source strings now treated as const. | |
24453 | (decode_coding_string, encode_coding_string): Use STRING_COPYIN to | |
24454 | modify Lisp string contents. | |
24455 | * coding.h (decode_coding, encode_coding, detect_coding, | |
24456 | detect_eol): Declarations updated. | |
24457 | * composite.c (compose_chars_in_text): Treat Lisp string contents | |
24458 | as const. | |
24459 | * dispnew.c (safe_bcopy): Source pointer now points to const. | |
24460 | * lisp.h (STRING_COPYIN): New macro. | |
24461 | (detect_coding_system, safe_bcopy, temp_output_buffer_setup): | |
24462 | (internal_with_output_to_temp_buffer): Declarations updated. | |
24463 | * print.c (temp_output_buffer_setup): | |
24464 | (internal_with_output_to_temp_buffer): Buffer name argument is now | |
24465 | pointer to const. | |
24466 | * sound.c (struct sound_device): Function pointer field "write" | |
24467 | buffer argument now points to const. | |
24468 | (vox_write): Buffer argument points to const. | |
24469 | * syntax.c (Fstring_to_syntax, skip_chars): Treat Lisp string | |
24470 | contents as const. | |
24471 | * sysdep.c (emacs_write): Buffer pointer now const. | |
24472 | * term.c (encode_terminal_code): Buffer pointer now const. | |
24473 | * xfaces.c (may_use_scalable_font_p): Argument now points to const. | |
24474 | (x_face_list_fonts, x_update_menu_appearance): | |
24475 | (hash_string_case_insensitive): Treat Lisp string contents as const. | |
24476 | ||
24477 | 2002-07-19 Juanma Barranquero <lektu@terra.es> | |
24478 | ||
048addec JD |
24479 | * xdisp.c (syms_of_xdisp): Remove redundant deprecation info. |
24480 | ||
24481 | * fileio.c (syms_of_fileio): Likewise. | |
c62aec78 JB |
24482 | (Ffile_name_as_directory): Fix argument name in docstring. |
24483 | (file_name_as_directory): Use literal '/' instead of DIRECTORY_SEP. | |
048addec JD |
24484 | |
24485 | 2002-07-18 Richard M. Stallman <rms@gnu.org> | |
24486 | ||
24487 | * data.c (Fdefalias): Doc fix. | |
24488 | ||
24489 | 2002-07-17 Dave Love <fx@gnu.org> | |
24490 | ||
24491 | * intervals.h (text_property_stickiness): Use P_. | |
24492 | ||
24493 | * ccl.c: Remove `emacs' conditionals. | |
24494 | (ccl_backtrace_table): Fix size spec. | |
24495 | (ccl_driver): Fix type errors. | |
24496 | ||
24497 | 2002-07-16 Ken Raeburn <raeburn@gnu.org> | |
24498 | ||
24499 | * alloc.c (xstrdup, make_string, make_unibyte_string) | |
24500 | (make_multibyte_string, build_string): String pointer args now | |
24501 | point to const. | |
24502 | * charset.c (find_charset_in_text, c_string_width): | |
24503 | (chars_in_text, multibyte_chars_in_text, parse_str_as_multibyte): | |
24504 | * fileio.c (report_file_error): | |
24505 | * insdel.c (copy_text, count_size_as_multibyte, insert_1): | |
24506 | (count_combining_before, count_combining_after, insert_1_both): | |
24507 | (insert, insert_and_inherit, insert_string): | |
24508 | (insert_before_markers, insert_before_markers_and_inherit): | |
24509 | * lread.c (intern, oblookup, hash_string): | |
24510 | * minibuf.c (temp_echo_area_glyphs): | |
24511 | * search.c (fast_c_string_match_ignore_case): | |
24512 | * sysdep.c (emacs_open, set_file_times): | |
24513 | * xfaces.c (xstricmp): | |
24514 | * xdisp.c (store_frame_title, string_char_and_length): | |
24515 | (message_dolog, message2, message2_nolog, set_message): Likewise. | |
24516 | (set_message_1): Cast message string argument to const pointer. | |
24517 | * editfns.c (general_insert_function): Insertion function now | |
24518 | takes pointer to const for input data. | |
24519 | * charset.h (find_charset_in_text, c_string_width): | |
24520 | (parse_str_as_multibyte): Declarations updated. | |
24521 | * dispextern.h (xstricmp): Declaration updated. | |
24522 | * lisp.h (chars_in_text, multibyte_chars_in_text, copy_text): | |
24523 | (count_size_as_multibyte, count_combining_before): | |
24524 | (count_combining_after, insert_1, insert_1_both, message_dolog): | |
24525 | (insert, insert_and_inherit, insert_before_markers) | |
24526 | (insert_before_markers_and_inherit, set_message, message2): | |
24527 | (message2_dolog, build_string, make_string, make_unibyte_string): | |
24528 | (make_multibyte_string, intern, oblookup, report_file_error): | |
24529 | (fast_c_string_match_ignore_case, temp_echo_area_glyphs): | |
24530 | (emacs_open, xstrdup): Declarations updated. | |
24531 | * systime.h (set_file_times): Declaration updated. | |
24532 | ||
24533 | * charset.c (find_charset_in_text, lisp_string_width): Use const | |
24534 | for pointer to lisp string data. | |
24535 | * charset.h (FETCH_STRING_CHAR_ADVANCE): | |
24536 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): | |
24537 | * coding.c (Ffind_coding_systems_region_interval): | |
24538 | * fileio.c (Ffile_name_directory, Ffile_name_nondirectory): | |
24539 | (Fmake_directory_internal, Fdelete_directory): | |
24540 | (Ffile_name_absolute_p, Fwrite_region, double_dollars): | |
24541 | * fontset.c (font_family_registry, fs_query_fontset): | |
24542 | (list_fontsets): | |
24543 | * frame.c (Fframe_parameter): | |
24544 | * keyboard.c (cmd_error_internal): | |
24545 | * keymap.c (Fdescribe_buffer_bindings): | |
24546 | * lread.c (complete_filename_p, openp): | |
24547 | * minibuf.c (Fminibuffer_complete_word): | |
24548 | * xdisp.c (string_pos_nchars_ahead, init_from_display_pos): | |
24549 | (face_before_or_after_it_pos, next_element_from_string): | |
24550 | (get_overlay_arrow_glyph_row, display_mode_element): | |
24551 | (decode_mode_spec_coding): | |
24552 | * xterm.c (same_x_server): Likewise. | |
24553 | ||
24554 | * buffer.c (reset_buffer_local_variables): Delete "#if 0" | |
24555 | settings of non-existent fields. | |
24556 | ||
24557 | * editfns.c (Fstring_to_char): Don't use XSTRING/XSETSTRING to | |
24558 | copy a lisp value. | |
24559 | ||
24560 | * lread.c (Fintern_soft): Use string macros instead of | |
24561 | Lisp_String fields. | |
24562 | * keyboard.c (echo_char, parse_modifiers_uncached): | |
24563 | (parse_solitary_modifier, Fexecute_extended_command): Likewise. | |
24564 | * textprop.c (validate_interval_range, interval_of): Likewise. | |
24565 | ||
24566 | * fontset.c (Fset_fontset_font): Use SDATA instead of XSTRING()->data. | |
24567 | ||
24568 | * charset.h (FETCH_STRING_CHAR_ADVANCE) | |
24569 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SBYTES instead of | |
24570 | XSTRING()->size_byte. | |
24571 | ||
24572 | * lisp.h (SDATA, SREF): Produce rvalue. | |
24573 | (SSET): New macro. | |
24574 | * alloc.c (make_event_array): Use SSET for storing into a string. | |
24575 | * buffer.c (Fother_buffer): Use SREF when retrieving a byte from | |
24576 | a string. | |
24577 | * casefiddle.c (casify_object): Use SSET. | |
24578 | * charset.h (FETCH_STRING_CHAR_ADVANCE) | |
24579 | (FETCH_STRING_CHAR_ADVANCE_NO_CHECK): Use SDATA when getting | |
24580 | address of string contents. | |
24581 | * data.c (Faref): Use SDATA. | |
24582 | (Faset): Use SDATA, SSET. | |
24583 | * dired.c (directory_files_internal): Use SSET. | |
24584 | * fileio.c (Fmake_symbolic_link, Fexpand_file_name): Use SSET. | |
24585 | (Fread_file_name): Use SREF, SSET. | |
24586 | * fns.c (concat): Use SSET. | |
24587 | (concat, Fdelete): Use SDATA. | |
24588 | * insdel.c (insert_from_string_1): Use SDATA. | |
24589 | * keyboard.c (Fevent_convert_list): Use SREF. | |
24590 | * lread.c (Fload): Use SDATA, SSET. | |
24591 | * macfns.c (validate_x_resource_name): Use SSET. | |
24592 | * process.c (status_message): Use SSET. | |
24593 | * search.c (wordify): Use SDATA. | |
24594 | (Freplace_match): Use SREF. | |
24595 | * w32fns.c (validate_x_resource_name): Use SSET. | |
24596 | * xfns.c (validate_x_resource_name): Use SSET. | |
24597 | * xterm.c (x_catch_errors, x_clear_errors): Use SSET. | |
24598 | ||
24599 | 2002-07-16 Richard M. Stallman <rms@gnu.org> | |
24600 | ||
24601 | * s/hpux11.h (USG_SUBTTY_WORKS): Defined. | |
24602 | ||
24603 | * xdisp.c (reconsider_clip_changes): | |
24604 | Don't test prevent_redisplay_optimizations_p. | |
24605 | (redisplay_internal): Test prevent_redisplay_optimizations_p | |
24606 | along with clip_changed in some cases. | |
24607 | (try_window_id): Likewise. | |
24608 | (redisplay_window): New local var buffer_unchanged_p. | |
24609 | ||
24610 | * keyboard.c (cmd_error) [HAVE_X_WINDOWS]: Maybe call cancel_houglass. | |
24611 | ||
24612 | * process.c (create_process): Test USG_SUBTTY_WORKS. | |
24613 | (process_send_signal): Clean up handling of GID. | |
24614 | Detect errors in ioctls meant to set GID. | |
24615 | ||
24616 | * window.c (temp_output_buffer_show): | |
24617 | Don't set prevent_redisplay_optimizations_p. | |
24618 | ||
24619 | 2002-07-15 Juanma Barranquero <lektu@terra.es> | |
24620 | ||
24621 | * eval.c (Fdefvaralias): Add docstring argument. | |
24622 | ||
24623 | 2002-07-15 Ken Raeburn <raeburn@gnu.org> | |
24624 | ||
24625 | * lisp.h (STRING_INTERVALS): Produce rvalue. | |
24626 | (STRING_SET_INTERVALS): New macro. | |
24627 | * buffer.c (Fget_buffer_create, Fmake_indirect_buffer): Use it. | |
24628 | * fns.c (Fstring_as_multibyte): Likewise. | |
24629 | * intervals.c (balance_possible_root_interval, delete_interval) | |
24630 | (create_root_interval, copy_intervals_to_string): Likewise. | |
24631 | * textprop.c (set_text_properties): Likewise. Use NULL_INTERVAL | |
24632 | instead of 0. | |
24633 | ||
24634 | 2002-07-14 Ken Raeburn <raeburn@gnu.org> | |
24635 | ||
24636 | * lisp.h (STRING_SET_CHARS): New macro. | |
24637 | (SCHARS, SBYTES): Produce rvalues. | |
24638 | * dired.c (directory_files_internal): Use STRING_SET_CHARS. | |
24639 | * fns.c (concat): Likewise. | |
24640 | * lread.c (read_vector): Likewise. | |
24641 | ||
3419757d | 24642 | * lisp.h (SMBP): Delete. All uses changed to STRING_MULTIBYTE. |
048addec | 24643 | (STRING_SET_UNIBYTE): New macro. |
3419757d | 24644 | (SET_STRING_BYTES): Delete. Callers (all of which supplied a |
048addec JD |
24645 | length of -1) changed to use STRING_SET_UNIBYTE. |
24646 | * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, | |
24647 | casefiddle.c, category.c, ccl.c, charset.c, charset.h, coding.c, | |
24648 | composite.c, data.c, dired.c, dispnew.c, disptab.h, doc.c, | |
24649 | dosfns.c, editfns.c, emacs.c, eval.c, fileio.c, filelock.c, fn.c, | |
24650 | fontset.c, frame.c, indent.c, insdel.c, intervals.c, keyboard.c, | |
24651 | keymap.c, lread.c, mac.c, macfns.c, macmenu.c, macterm.c, | |
24652 | minibuf.c, msdos.c, print.c, process.c, search.c, sound.c, | |
24653 | sunfns.c, syntax.c, syntax.h, sysdep.c, textprop.c, undo.c, | |
24654 | w16select.c, w32.c, w32fns.c, w32menu.c, w32proc.c, w32select.c, | |
24655 | w32term.c, window.c, xdisp.c, xfaces.c, xfns.c, xmenu.c, | |
24656 | xselect.c, xsmfns.c, xterm.c: Most uses of XSTRING combined with | |
24657 | STRING_BYTES or indirection changed to SCHARS, SBYTES, | |
24658 | STRING_INTERVALS, SREF, SDATA; explicit size_byte references left | |
24659 | unchanged for now. | |
24660 | ||
24661 | 2002-07-13 Kim F. Storm <storm@cua.dk> | |
24662 | ||
24663 | * keyboard.c (command_loop_1): Invert check on Vmemory_full. | |
24664 | ||
24665 | 2002-07-12 Richard M. Stallman <rms@gnu.org> | |
24666 | ||
24667 | * fileio.c (Fwrite_region): Doc fix. | |
24668 | ||
24669 | * print.c (print_error_message): Don't handle Vsignaling_function here. | |
24670 | ||
24671 | * keyboard.c (cmd_error_internal): Handle Vsignaling_function here. | |
24672 | (command_loop_1): Avoid certain actions after memory-full error. | |
24673 | ||
24674 | * eval.c (Fsignal): Don't call cancel_hourglass. | |
24675 | For a memory-full error, don't call Vsignal_hook_function | |
24676 | and don't set Vsignaling_function. | |
24677 | ||
24678 | * process.c (process_send_signal): Add abort call. | |
24679 | ||
24680 | 2002-07-11 Markus Rost <rost@math.ohio-state.edu> | |
24681 | ||
24682 | * keymap.c (Fkey_binding): Fix typo. | |
24683 | ||
24684 | 2002-07-11 Richard M. Stallman <rms@gnu.org> | |
24685 | ||
24686 | * alloc.c (Vmemory_full): New variable. | |
3419757d | 24687 | (Vmemory_signal_data): Rename from memory_signal_data. |
048addec JD |
24688 | Uses changed. |
24689 | (syms_of_alloc): Defvar them. | |
24690 | (memory_full, buffer_memory_full): Set Vmemory_full. | |
24691 | ||
24692 | * lisp.h (Vmemory_full): Add declaration. | |
24693 | (current_column, indented_beyond_p): Change declaration. | |
24694 | ||
24695 | * indent.c (last_known_column): Declare as double, not float. | |
24696 | (current_column, current_column_1, string_display_width) | |
24697 | (position_indentation): Return `double'. | |
24698 | (indented_beyond_p): Arg `column' is `double'. Callers changed. | |
24699 | ||
24700 | * xdisp.c (message_dolog): Do nothing if Vmemory_full is non-nil. | |
24701 | (back_to_previous_visible_line_start) | |
24702 | (reseat_at_next_visible_line_start, next_element_from_buffer): | |
24703 | Use `double', not `float', when calling indented_beyond_p. | |
24704 | ||
3419757d | 24705 | * s/hpux11.h (BROKEN_SA_RESTART): Define. |
048addec JD |
24706 | |
24707 | * sysdep.c (sys_signal): Test BROKEN_SA_RESTART. | |
24708 | ||
24709 | 2002-07-11 Juanma Barranquero <lektu@terra.es> | |
24710 | ||
24711 | * alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, coding.c, | |
f9711de4 JB |
24712 | * composite.c, dired.c, dispnew.c, editfns.c, emacs.c, eval.c, |
24713 | * fileio.c, fns.c, insdel.c, keyboard.c, keymap.c, lread.c, macfns.c, | |
24714 | * macmenu.c, macros.c, minibuf.c, print.c, process.c, sound.c, | |
24715 | * textprop.c, w32fns.c, w32menu.c, window.c, xfaces.c, xfns.c, | |
24716 | * xmenu.c, xselect.c, xterm.c: Use SPECPDL_INDEX wherever makes sense. | |
048addec JD |
24717 | |
24718 | 2002-07-10 Juanma Barranquero <lektu@terra.es> | |
24719 | ||
d814862a JB |
24720 | * lisp.h (SPECPDL_INDEX): Rename from BINDING_STACK_SIZE. |
24721 | All callers changed. | |
048addec JD |
24722 | |
24723 | 2002-07-09 Stefan Monnier <monnier@cs.yale.edu> | |
24724 | ||
24725 | * data.c (Fdefalias): Add an optional `docstring' argument. | |
24726 | (set_internal, Fsetq_default): Use XCAR/XCDR. | |
24727 | ||
24728 | * composite.c (HASH_VALUE, HASH_KEY): | |
24729 | * ccl.c (HASH_VALUE): Remove (it's in lisp.h now). | |
24730 | ||
24731 | 2002-07-09 Kenichi Handa <handa@etl.go.jp> | |
24732 | ||
24733 | * callproc.c (Fcall_process): Fix previous change. | |
24734 | ||
24735 | 2002-07-07 Stefan Monnier <monnier@cs.yale.edu> | |
24736 | ||
24737 | * minibuf.c (Ftry_completion, Fall_completions, Ftest_completion): | |
24738 | Add support for hash-tables. | |
24739 | (Ftry_completion): Return t even if the string appears multiple times. | |
24740 | ||
24741 | * fns.c (Fnconc): Use XCDR. | |
24742 | (Fprovide): Use CONSP and XCDR. | |
24743 | (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX) | |
24744 | (HASH_TABLE_SIZE): Delete: moved to lisp.h. | |
24745 | (Fmake_hash_table): Accept `:size nil'. | |
24746 | (Fmakehash): Delete: moved to subr.el. | |
24747 | (syms_of_fns): Don't defsubr makehash. | |
24748 | ||
24749 | * lisp.h (HASH_KEY, HASH_VALUE, HASH_NEXT, HASH_HASH, HASH_INDEX) | |
24750 | (HASH_TABLE_SIZE): Move from fns.c. | |
24751 | ||
24752 | 2002-07-07 Richard M. Stallman <rms@gnu.org> | |
24753 | ||
24754 | * xdisp.c (make_cursor_line_fully_visible): Don't try short scrolls. | |
24755 | Instead just return 0 when there is something to be done. | |
24756 | (try_scrolling): If make_cursor_line_fully_visible returns 0, | |
24757 | retry scrolling as if cursor were off the bottom. | |
24758 | (try_cursor_movement): If make_cursor_line_fully_visible returns 0, | |
24759 | return CURSOR_MOVEMENT_MUST_SCROLL. | |
24760 | (redisplay_window): If make_cursor_line_fully_visible returns 0, | |
24761 | go to try_to_scroll. | |
24762 | ||
24763 | * buffer.c (Fbuffer_local_value): Store current value into its binding | |
24764 | so we get the up-to-date value for the binding that is loaded. | |
24765 | ||
24766 | * eval.c (Fdefmacro): Doc fix. | |
24767 | ||
24768 | 2002-07-05 Dave Love <fx@gnu.org> | |
24769 | ||
24770 | * keyboard.c (read_key_sequence): Set initial_idleness_start_time | |
24771 | correctly. | |
24772 | ||
24773 | * ccl.c (Vtranslation_hash_table_vector, GET_HASH_TABLE) | |
24774 | (HASH_VALUE, CCL_LookupIntConstTbl, CCL_LookupCharConstTbl): New. | |
24775 | (ccl_driver): Add cases for CCL_LookupIntConstTbl, | |
24776 | CCL_LookupCharConstTbl. | |
24777 | (syms_of_ccl): Defvar translation-hash-table-vector. | |
24778 | ||
24779 | 2002-07-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24780 | ||
24781 | * xdisp.c: Remove unused variable `face'. | |
24782 | ||
24783 | 2002-07-04 Juanma Barranquero <lektu@terra.es> | |
24784 | ||
24785 | * keyboard.c (post_command_idle_hook): Remove redundant (and inexact) | |
24786 | obsolescence information. | |
24787 | ||
24788 | 2002-07-03 Andrew Choi <akochoi@shaw.ca> | |
24789 | ||
24790 | * macterm.c (x_list_fonts): Fix comment. Cache fonts matching | |
24791 | pattern. Search cache first. | |
24792 | (init_font_name_table): Also add entry for jisx0201.1976-0 coding | |
24793 | for Japanese font. | |
24794 | (XLoadQueryFont): Use it. | |
24795 | ||
24796 | 2002-07-02 Richard M. Stallman <rms@gnu.org> | |
24797 | ||
24798 | * keymap.c (Fdefine_key): Doc fix. | |
24799 | ||
24800 | * xterm.c (x_term_init): Turn off polling around XtOpenDisplay. | |
24801 | ||
24802 | 2002-07-02 Juanma Barranquero <lektu@terra.es> | |
24803 | ||
24804 | * keymap.c (syms_of_keymap): Fix typo. | |
24805 | ||
24806 | 2002-07-01 Andrew Choi <akochoi@shaw.ca> | |
24807 | ||
24808 | * s/darwin.h: Define POSIX_SIGNALS. | |
24809 | ||
24810 | * macterm.c (do_ae_open_documents) [MAC_OSX]: Call FSpMakeFSRef | |
24811 | and FSRefMakePath to convert FSSpec returned with Apple Event to | |
24812 | Posix pathname. | |
24813 | (mac_initialize) [TARGET_API_MAC_CARBON]: | |
24814 | Call init_required_apple_events and disable the `Quit' menu item | |
24815 | provided automatically by the Carbon Toolbox. | |
24816 | ||
24817 | 2002-07-01 Dave Love <fx@gnu.org> | |
24818 | ||
24819 | * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal decl | |
24820 | for K&R. | |
24821 | ||
24822 | * xterm.c: Fix prototype for K&R. | |
24823 | ||
24824 | * term.c (costs_set): Declare static, non-initialized for pcc. | |
24825 | ||
24826 | 2002-07-01 Richard M. Stallman <rms@gnu.org> | |
24827 | ||
24828 | * keyboard.c (timer_last_idleness_start_time): New variable. | |
24829 | (timer_start_idle): Set that. | |
24830 | (read_key_sequence): Use that to reset timer_idleness_start_time | |
24831 | to previous value. | |
24832 | ||
24833 | * window.c (Frecenter): With arg, set optional_new_start. | |
24834 | ||
24835 | * xdisp.c (redisplay_internal): Make optional_new_start really work. | |
24836 | ||
24837 | * minibuf.c (Fminibuffer_complete_and_exit): Move to end of | |
24838 | buffer for completion. | |
24839 | ||
24840 | 2002-06-29 Ken Raeburn <raeburn@gnu.org> | |
24841 | ||
24842 | * xdisp.c (store_mode_line_string): Lisp_Object/int mixup. | |
24843 | ||
24844 | 2002-06-28 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
24845 | ||
24846 | * keyboard.c (readable_filtered_events): New function that filters | |
24847 | FOCUS_IN_EVENT depending on parameter. | |
24848 | (readable_events): Calls readable_filtered_events, not filtering | |
24849 | FOCUS_IN_EVENT. | |
24850 | (get_filtered_input_pending): New function, filtering parameter passed | |
24851 | to readable_filtered_events. | |
24852 | (get_input_pending): Calls get_filtered_input_pending, not filtering | |
24853 | FOCUS_IN_EVENT. | |
24854 | (Finput_pending_p): Calls get_filtered_input_pending, DO filter | |
24855 | FOCUS_IN_EVENT. | |
24856 | ||
24857 | * xterm.h (struct x_output): Add focus_state. | |
24858 | ||
24859 | * xterm.c (x_focus_changed): New function. | |
24860 | (x_detect_focus_change): New function. | |
24861 | (XTread_socket): Call x_detect_focus_change for FocusIn/FocusOut | |
24862 | EnterNotify and LeaveNotify to track X focus changes. | |
24863 | ||
24864 | 2002-06-28 Andreas Schwab <schwab@suse.de> | |
24865 | ||
24866 | * lisp.h: Remove duplicate declaration of code_convert_string_norecord. | |
24867 | ||
24868 | 2002-06-27 Kim F. Storm <storm@cua.dk> | |
24869 | ||
52eb0373 | 24870 | * xdisp.c (mode_line_string_list, mode_line_string_face) |
048addec JD |
24871 | (mode_line_string_face_prop): New variables. |
24872 | (store_mode_line_string): New function. | |
24873 | (display_mode_element): Use store_mode_line_string to | |
24874 | add mode-line string elements to mode_line_string_list | |
24875 | when mode_line_string_list is non-nil. | |
24876 | (Fformat_mode_line): Now returns propertized string by | |
24877 | default. New arg NO-PROPS to ignore properties. | |
24878 | (decode_mode_spec): Only add two dashes for %- in propertized | |
24879 | mode-line string. | |
24880 | (syms_of_xdisp): Init and staticpro mode_line_string_list. | |
24881 | ||
24882 | 2002-06-27 Stefan Monnier <monnier@cs.yale.edu> | |
24883 | ||
24884 | * minibuf.c (minibuffer_completion_contents): Add return type. | |
24885 | ||
24886 | 2002-06-27 Juanma Barranquero <lektu@terra.es> | |
24887 | ||
24888 | * charset.c (Fchar_bytes): Remove obsolescence info from docstring. | |
24889 | ||
24890 | 2002-06-26 Juanma Barranquero <lektu@terra.es> | |
24891 | ||
24892 | * fileio.c (read_file_name_cleanup): Add missing return. | |
24893 | ||
24894 | 2002-06-26 Richard M. Stallman <rms@gnu.org> | |
24895 | ||
24896 | * window.c (Frecenter): Don't set force_start flag. | |
24897 | ||
24898 | * minibuf.c (do_completion, Fminibuffer_complete_word) | |
24899 | (Fminibuffer_completion_help): Complete just the text before point. | |
24900 | (minibuffer_completion_contents): New function. | |
24901 | ||
24902 | * buffer.c (Fbury_buffer): Use frames_discard_buffer. | |
24903 | ||
24904 | * frame.c (frames_bury_buffer): Function deleted. | |
24905 | ||
24906 | 2002-06-25 Miles Bader <miles@gnu.org> | |
24907 | ||
24908 | * callint.c (Fcall_interactively): When checking to see if doprnt hit | |
24909 | the end of callint_message, allow for a terminating '\0'. | |
24910 | ||
24911 | 2002-06-24 Juanma Barranquero <lektu@terra.es> | |
24912 | ||
52eb0373 | 24913 | * w32select.c: Include composite.h. |
048addec JD |
24914 | |
24915 | * w16select.c: Likewise. | |
24916 | ||
24917 | 2002-06-24 Kenichi Handa <handa@etl.go.jp> | |
24918 | ||
24919 | * callproc.c (Fcall_process): If code detection is necessary, | |
24920 | call detect_coding directly here. | |
24921 | ||
24922 | * coding.c (detect_eol): Preserve coding->cmp_data. | |
24923 | ||
24924 | * w16select.c (Fw16_get_clipboard_data): | |
24925 | * w32fns.c (w32_to_x_font): | |
24926 | * w32select.c (Fw32_get_clipboard_data): | |
24927 | * xselect.c (selection_data_to_lisp_data): | |
24928 | * xterm.c (XTread_socket): Disable composition handling. | |
24929 | ||
24930 | 2002-06-24 Stefan Monnier <monnier@cs.yale.edu> | |
24931 | ||
24932 | * print.c (temp_output_buffer_setup): Kill all local variables. | |
24933 | ||
24934 | 2002-06-22 Stefan Monnier <monnier@cs.yale.edu> | |
24935 | ||
24936 | * lread.c (Fread): Remove redundant and imprecise declaration. | |
24937 | ||
24938 | * xfns.c (check_x_display_info): Use check_x_frame. | |
24939 | ||
24940 | * .gdbinit (xprintsym): Use the new `xname' field. | |
24941 | (xsymbol): Use it. | |
24942 | ||
24943 | 2002-06-22 Jason Rumney <jasonr@gnu.org> | |
24944 | ||
24945 | * w32fns.c (file_dialog_callback): New function. | |
24946 | (Fx_file_dialog): Allow selecting directories as well as files. | |
24947 | ||
24948 | 2002-06-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
24949 | ||
24950 | * m/pmax.h (START_FILES): Define START_FILES for NetBSD and | |
f63fd14e | 24951 | OpenBSD. Add support for mipseb-*-netbsd* machines. |
048addec JD |
24952 | |
24953 | 2002-06-17 Andrew Choi <akochoi@shaw.ca> | |
24954 | ||
24955 | * macterm.c (mac_scroll_area): Set foreground and backcolor to | |
24956 | black and white before scrolling. Restore frame background and | |
24957 | foreground color after scrolling. | |
24958 | (do_window_update): Call XClearWindow before calling expose_frame. | |
24959 | (make_mac_frame): Don't set FRAME_BACKGROUND_PIXEL and | |
24960 | FRAME_FOREGROUND_PIXEL of frame. | |
24961 | ||
24962 | * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil, | |
24963 | test Mac command key as <ALT> key. | |
24964 | ||
24965 | 2002-06-17 Stefan Monnier <monnier@cs.yale.edu> | |
24966 | ||
24967 | * window.c (Fset_window_configuration): Lisp_Object/int mixup. | |
24968 | ||
24969 | * keyboard.c (read_key_sequence): Be more careful with first_unbound. | |
24970 | Lookup keys in function-key-map immediately so that key-translation-map | |
24971 | can be applied earlier. | |
24972 | Remove function_key_possible and key_translation_possible, replaced | |
24973 | by checking `keytran_start < t'. | |
24974 | ||
24975 | * .gdbinit (xsymbol): Use the new `xname' field. | |
24976 | ||
24977 | 2002-06-17 Andrew Choi <akochoi@shaw.ca> | |
24978 | ||
24979 | * macterm.c (XTread_socket): If Vmac_command_key_is_meta is nil, | |
24980 | test Mac command key as <ALT> key. | |
24981 | ||
24982 | * mac.c (do_applescript): Call initialize_applescript if necessary | |
24983 | when first called. Dispose of result_desc only when there is no error. | |
24984 | (Fdo_applescript): Use %d format specifier instead of %ld. | |
24985 | ||
24986 | 2002-06-16 Andrew Choi <akochoi@shaw.ca> | |
24987 | ||
24988 | * macterm.c (XTread_socket): Call FrontNonFloatingWindow instead | |
24989 | of FrontWindow for cases keyDown and autoKey. | |
24990 | ||
24991 | * fontset.c (syms_of_fontset) [MAC_OS]: Set ASCII font of | |
24992 | Vdefault_fontset to Monaco with mac-roman coding. | |
24993 | ||
24994 | * mac.c, macfns.c, macmenu.c, macterm.c: Undefine and redefine | |
24995 | init_process before and after inclusion of Carbon/Carbon.h, resp. | |
24996 | ||
24997 | * macterm.c (x_new_font): Set font for normal_gc, reverse_gc, and | |
24998 | cursor_gc. | |
24999 | (add_font_name_table_entry): New function. | |
25000 | (init_font_name_table): Use add_font_name_table_entry; add italic, | |
25001 | bold, and bold-italic entries for truetype fonts. | |
25002 | ||
25003 | * xfaces.c (init_frame_faces) [MAC_OS]: Call realize_basic_faces | |
25004 | for Mac too. | |
25005 | (try_font_list) [MAC_OS]: If no font matches given registry, try | |
25006 | fonts with any registry matching face_family. | |
25007 | (realize_x_face) [MAC_OS]: Remove old ad-hoc fix to load font here. | |
25008 | ||
25009 | * s/darwin.h: If autoconf detects the Ncurses library, define | |
25010 | LIBS_TERMCAP to -lncurses to use it. | |
25011 | ||
25012 | 2002-06-16 Eli Zaretskii <eliz@is.elta.co.il> | |
25013 | ||
25014 | * strftime.c [__hpux]: Include sys/_mbstate_t.h. | |
25015 | ||
25016 | 2002-06-15 Richard M. Stallman <rms@gnu.org> | |
25017 | ||
25018 | * window.c (Fset_window_configuration): Explicitly preserve | |
25019 | the point value that new_current_buffer had at the start. | |
25020 | ||
25021 | 2002-06-14 Juanma Barranquero <lektu@terra.es> | |
25022 | ||
25023 | * composite.c (Fcompose_region_internal, Fcompose_string_internal): | |
25024 | Fix typos. | |
25025 | ||
25026 | 2002-06-14 Kim F. Storm <storm@cua.dk> | |
25027 | ||
25028 | * insdel.c (insert_1_both, insert_from_string_1) | |
25029 | (insert_from_buffer_1): Recalculate END_UNCHANGED in case the | |
25030 | insert happened in the end_unchanged region. Otherwise, the | |
25031 | redisplay may be confused and duplicate the last line in the | |
25032 | buffer [seen after save-buffer when require-final-newline==t]. | |
25033 | ||
25034 | 2002-06-13 Jason Rumney <jasonr@gnu.org> | |
25035 | ||
25036 | * w32.c (init_environment): Remove EMACSLOCKDIR. | |
25037 | (stat): Swap _S_IFDIR and _S_IFREG. | |
25038 | ||
25039 | 2002-06-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25040 | ||
25041 | * keyboard.c, macterm.c, macmenu.c, msdos.c, sysdep.c | |
25042 | * termhooks.h, xmenu.c, xsmfns.c, xterm.h, xterm.c, w32term.c, | |
25043 | * w32menu.c, w32inevt.c: Rename enum event_kind as follows: | |
25044 | ascii_keystroke to ASCII_KEYSTROKE_EVENT, multibyte_char_keystroke | |
25045 | to MULTIBYTE_CHAR_KEYSTROKE_EVENT, non_ascii_keystroke to | |
25046 | NON_ASCII_KEYSTROKE_EVENT, timer_event to TIMER_EVENT, mouse_click | |
25047 | to MOUSE_CLICK_EVENT, mouse_wheel to MOUSE_WHEEL_EVENT, | |
25048 | language_change_event to LANGUAGE_CHANGE_EVENT, scroll_bar_click | |
25049 | to SCROLL_BAR_CLICK_EVENT, w32_scroll_bar_click to | |
25050 | W32_SCROLL_BAR_CLICK_EVENT, selection_request_event to | |
25051 | SELECTION_REQUEST_EVENT, selection_clear_event to | |
25052 | SELECTION_CLEAR_EVENT, buffer_switch_event to BUFFER_SWITCH_EVENT, | |
25053 | delete_window_event to DELETE_WINDOW_EVENT, iconify_event to | |
25054 | ICONIFY_EVENT, deiconify_event to DEICONIFY_EVENT, | |
25055 | menu_bar_activate_event to MENU_BAR_ACTIVATE_EVENT, drag_n_drop to | |
25056 | DRAG_N_DROP_EVENT, save_session_event to SAVE_SESSION_EVENT and | |
25057 | no_event to NO_EVENT. | |
25058 | ||
25059 | 2002-06-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25060 | ||
25061 | * macmenu.c: Remove declaration of Qmouse_click and Qevent_kind. | |
25062 | ||
25063 | 2002-06-12 Stefan Monnier <monnier@cs.yale.edu> | |
25064 | ||
25065 | * intervals.c (textget): Don't forget to `return'. | |
25066 | (lookup_char_property): Use XCAR/XCDR. | |
25067 | ||
25068 | 2002-06-12 Juanma Barranquero <lektu@terra.es> | |
25069 | ||
25070 | * xdisp.c (Fformat_mode_line): Fix typo. | |
25071 | ||
25072 | 2002-06-12 Kim F. Storm <storm@cua.dk> | |
25073 | ||
25074 | * xdisp.c (Fformat_mode_line): New function. | |
25075 | (frame_title_buf, frame_title_buf_end, frame_title_ptr) | |
25076 | (store_frame_title_char, store_frame_title): Use unconditionally. | |
25077 | (init_xdisp): Defsubr Fformat_mode_line. | |
25078 | Initialize frame_title_buf etc. unconditionally. | |
25079 | ||
25080 | 2002-06-11 Stefan Monnier <monnier@cs.yale.edu> | |
25081 | ||
25082 | * keyboard.c (read_key_sequence): | |
25083 | Remove prev_(fkey|keytran}_(map|start|end) since we don't want to pass | |
25084 | things through those maps after downcasing events. | |
25085 | Enforce that keytran_end <= fkey_start, i.e. that key-translation-map | |
25086 | applies after function-key-map. | |
25087 | Make sure that keytran can be done in the middle in the sequence. | |
25088 | Be careful not to throw away events past the one we downcase. | |
25089 | ||
25090 | * lread.c (read_integer): Remove unused var `tem'. | |
25091 | (read1): Fix int/Lisp_Object mixup. | |
25092 | ||
25093 | * xfaces.c (tty_lookup_color): Type bool/Lisp_Object mismatch fixed. | |
25094 | ||
25095 | 2002-06-11 Richard M. Stallman <rms@gnu.org> | |
25096 | ||
25097 | * keyboard.c (readable_events): Ignore any number of | |
25098 | FOCUS_IN_EVENT events and return 0 if nothing else in buffer. | |
25099 | ||
25100 | 2002-06-09 Miles Bader <miles@gnu.org> | |
25101 | ||
25102 | * xfaces.c (Ftty_supports_face_attributes_p): New function. | |
25103 | (parse_rgb_list, tty_lookup_color): New functions. | |
25104 | (tty_defined_color): Use `tty_lookup_color' to do all the work. | |
25105 | (color_distance, Fcolor_distance): New functions. | |
25106 | (TTY_SAME_COLOR_THRESHOLD): New macro. | |
25107 | (Qtty_color_standard_values): New variable. | |
25108 | (syms_of_xfaces): Initialize new vars & functions. | |
25109 | ||
25110 | 2002-06-08 Colin Walters <walters@verbum.org> | |
25111 | ||
25112 | * textprop.c (Vchar_property_alias_alist): New variable. | |
25113 | (syms_of_textprop) <Vchar_property_alias_alist>: DEFVAR_LISP. | |
25114 | ||
25115 | * intervals.c (lookup_char_property): New function for looking up | |
25116 | overlay and text properties, created from textget. | |
25117 | (textget): Use it. | |
25118 | ||
25119 | * intervals.h (lookup_char_property): Declare. | |
25120 | (Vchar_property_alias_alist): Declare. | |
25121 | ||
25122 | * buffer.c (Foverlay_get): Use lookup_char_property. | |
25123 | ||
25124 | 2002-06-07 Sam Steingold <sds@gnu.org> | |
25125 | ||
25126 | * xselect.c (lisp_data_to_selection_data): Fix last change: | |
25127 | *data_ret is not a Lisp string, while unibyte_string is. | |
25128 | ||
25129 | 2002-06-07 Eli Zaretskii <eliz@is.elta.co.il> | |
25130 | ||
25131 | * xselect.c (lisp_data_to_selection_data): Fix last change: | |
25132 | set size_ret. | |
25133 | ||
25134 | 2002-06-07 Andreas Schwab <schwab@suse.de> | |
25135 | ||
25136 | * m/amdx86-64.h: New file. | |
25137 | ||
25138 | 2002-06-05 Eli Zaretskii <eliz@is.elta.co.il> | |
25139 | ||
25140 | * fns.c (Fstring_make_unibyte): Doc fix. | |
25141 | ||
25142 | * xselect.c (lisp_data_to_selection_data): If the requested type | |
25143 | is STRING, call string_make_unibyte to encode the selected text | |
25144 | as a string. | |
25145 | ||
25146 | * window.c (Fset_window_hscroll): Doc fix. | |
25147 | ||
25148 | 2002-06-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25149 | ||
25150 | * fileio.c (choose_write_coding_system): | |
25151 | Call select-safe-coding-system properly. | |
25152 | ||
25153 | 2002-06-03 Richard M. Stallman <rms@gnu.org> | |
25154 | ||
25155 | * xdisp.c (message_with_string): Error if STRING is not a string. | |
25156 | ||
25157 | * fns.c (md5): Pass FILE arg to Vselect_safe_coding_system_function. | |
25158 | ||
25159 | * fileio.c (choose_write_coding_system): Pass FILE arg to | |
25160 | Vselect_safe_coding_system_function. | |
25161 | ||
25162 | 2002-06-03 Ken Raeburn <raeburn@gnu.org> | |
25163 | ||
25164 | * buffer.c (fix_overlays_before): Fix list-walking bug in 05-19 change. | |
25165 | ||
25166 | 2002-06-02 Thien-Thi Nguyen <ttn@gnu.org> | |
25167 | ||
25168 | * bytecode.c (Fbyte_code): Cast `current_column' return value to int. | |
25169 | * cmds.c (Fdelete_backward_char, internal_self_insert): Likewise. | |
25170 | * keymap.c (describe_command): Likewise. | |
25171 | * minibuf.c (read_minibuf): Likewise. | |
25172 | ||
25173 | * xdisp.c (redisplay_internal, redisplay_window, decode_mode_spec): | |
25174 | Cast `current_column' return value to int. | |
25175 | (back_to_previous_visible_line_start) | |
25176 | (reseat_at_next_visible_line_start, next_element_from_buffer): | |
25177 | Cast `indented_beyond_p' 3rd arg to float. | |
25178 | ||
25179 | * indent.c (last_known_column): Now a float. | |
25180 | (current_column_1, position_indentation, current_column) | |
25181 | (string_display_width): Return float. | |
25182 | (Fcurrent_column): Cast `current_column' return value to int. | |
25183 | (Fcurrent_indentation): Cast `position_indentation' retval to int. | |
25184 | (indented_beyond_p): Third arg now a float. | |
25185 | (compute_motion, vmotion): Cast `indented_beyond_p' 3rd arg to float. | |
25186 | ||
25187 | * lisp.h (current_column): Now returns float. | |
25188 | (indented_beyond_p): 3rd arg now a float. | |
25189 | ||
25190 | 2002-05-31 Eli Zaretskii <eliz@is.elta.co.il> | |
25191 | ||
25192 | * xfns.c (x_encode_text): Return stringp non-NULL if coding_system | |
25193 | is Qcompound_text_with_extensions. | |
25194 | ||
25195 | * xselect.c (lisp_data_to_selection_data): Always set selection | |
25196 | type as string if x_encode_text returns streingp non-NULL. | |
25197 | ||
25198 | * s/netbsd.h: Include /usr/pkg in the run time shared library path. | |
25199 | ||
25200 | 2002-05-30 Richard M. Stallman <rms@gnu.org> | |
25201 | ||
25202 | * window.c (Fset_window_configuration): Correct the handling | |
25203 | of point in current buffer, to work with multiple windows. | |
25204 | ||
25205 | 2002-05-29 Colin Walters <walters@verbum.org> | |
25206 | ||
25207 | * lread.c (Fread_from_string): Don't depend on order of evaluation | |
25208 | for C function parameters. | |
25209 | ||
25210 | 2002-05-28 Richard M. Stallman <rms@gnu.org> | |
25211 | ||
25212 | * xterm.c (x_display_and_set_cursor): Change the cursor in the same | |
25213 | way for blinked-off state and for a nonselected window. | |
25214 | ||
25215 | * window.c (window_scroll_pixel_based): Don't call Fbolp; | |
25216 | instead, see if the new start pos is at beginning of line. | |
25217 | ||
25218 | * fileio.c (Fwrite_region): If START is a string, don't | |
25219 | make any annotations. | |
25220 | ||
25221 | * eval.c (syms_of_eval): Doc fix. | |
25222 | ||
25223 | 2002-05-28 Colin Walters <walters@debian.org> | |
25224 | ||
25225 | * emacs.c (USAGE1): Add --no-splash. | |
25226 | (standard_args): Ditto. | |
25227 | ||
25228 | 2002-05-28 Colin Walters <walters@gnu.org> | |
25229 | ||
25230 | * lread.c (readchar_count): New variable. | |
25231 | (readchar): Increment it. | |
25232 | (unreadchar): Decrement it. | |
25233 | (read_multibyte): Decrement it. | |
25234 | (Vread_with_symbol_positions): New variable. | |
25235 | (Vread_symbol_positions_list): New variable. | |
25236 | (read_internal_start): New function, created from Fread and | |
25237 | Fread_from_string. Handle Vread_symbol_positions_list and | |
25238 | Vread_with_symbol_positions. | |
25239 | (readevalloop, Fread, Fread_from_string): Use it. | |
25240 | (read1): Use readchar_count to add symbol positions to | |
25241 | Vread_symbol_positions_list if Vread_with_symbol_positions is non-nil. | |
25242 | (syms_of_lread): DEFVAR_LISP and initialize them. | |
25243 | ||
25244 | * lread.c (read0, read1, read_list, read_vector, read_multibyte) | |
25245 | (substitute_object_recurse, substitute_object_in_subtree) | |
25246 | (substitute_in_interval): Prototype. | |
25247 | (read_multibyte): Return c if it's less than zero. | |
25248 | ||
25249 | 2002-05-28 Kim F. Storm <storm@cua.dk> | |
25250 | ||
25251 | * fileio.c (Fread_file_name_internal): Added brute-force | |
25252 | speed up for using predicate file-directory-p. | |
25253 | ||
25254 | 2002-05-28 Kim F. Storm <storm@cua.dk> | |
25255 | ||
25256 | * fileio.c (Vread_file_name_function, Vread_file_name_predicate): | |
25257 | New variables. | |
25258 | (syms_of_fileio): DEFVAR_LISP them. | |
25259 | (read_file_name_cleanup): New unwind function. | |
25260 | (Fread_file_name_internal): Only return completions satifying | |
25261 | Vread_file_name_predicate. Temporarily unwind protect and rebind | |
25262 | default-directory while checking completions against the predicate. | |
25263 | (Fread_file_name): Added PREDICATE argument. Specbind it to | |
25264 | Vread_file_name_predicate during completion. | |
25265 | Call Vread_file_name_function to read the file name if non-nil. | |
25266 | ||
25267 | * lisp.h (Fread_file_name): Now has 6 args. | |
25268 | ||
25269 | * callint.c (Fcall_interactively) <"D">: Supply Qfile_directory_p | |
25270 | predicate for Fread_file_name when reading directory name. | |
25271 | Supply Qnil for predicate in other calls to Fread_file_name. | |
25272 | ||
25273 | 2002-05-26 Miles Bader <miles@gnu.org> | |
25274 | ||
25275 | * term.c (tty_capable_p): New function. | |
25276 | * dispextern.h (tty_capable_p): New function declaration. | |
25277 | (TTY_CAP_INVERSE, TTY_CAP_UNDERLINE, TTY_CAP_BOLD, TTY_CAP_DIM) | |
25278 | (TTY_CAP_BLINK, TTY_CAP_ALT_CHARSET): New macros. | |
25279 | ||
25280 | 2002-05-23 Stefan Monnier <monnier@cs.yale.edu> | |
25281 | ||
25282 | * fileio.c (read_non_regular, Finsert_file_contents): Use BEG_BYTE. | |
25283 | (Finsert_file_contents, build_annotations): Use XCAR, XCDR. | |
25284 | (Vwrite_region_annotate_functions): Docstring fix. | |
25285 | ||
25286 | 2002-05-23 Kim F. Storm <storm@cua.dk> | |
25287 | ||
25288 | * xterm.c (x_write_glyphs): Clear phys_cursor_on_p if current | |
25289 | phys_cursor's hpos is overwritten. This is still not completely | |
25290 | correct, as it doesn't really make sense to use hpos at all to | |
25291 | get the cursor glyph (as that is relative to the width of the | |
25292 | characters on the line, which may have changed during the update). | |
25293 | ||
25294 | 2002-05-22 Jason Rumney <jasonr@gnu.org> | |
25295 | ||
25296 | * w32fns.c (enumfont_t): Remove tail, make pattern a normal | |
25297 | Lisp_Object. | |
25298 | (enum_font_cb2, enum_font_maybe_add_to_list, w32_list_fonts): | |
25299 | Use modified enumfont_t struct. | |
25300 | ||
25301 | * w32term.h (text_cursor_kinds): New enumeration member HBAR_CURSOR. | |
25302 | ||
25303 | * w32term.c (x_draw_bar_cursor): New argument KIND; callers changed. | |
25304 | Handle the `hbar' cursor type. | |
25305 | (x_display_and_set_cursor): Handle the HBAR_CURSOR case. | |
25306 | ||
25307 | * w32fns.c (Qhbar): New variable. | |
25308 | (x_specified_cursor_type): Use it. | |
25309 | ||
25310 | 2002-05-21 Ken Raeburn <raeburn@gnu.org> | |
25311 | ||
25312 | * w32fns.c (enum_font_maybe_add_to_list): Use XCDR_AS_LVALUE for | |
25313 | now, when the address is needed. | |
25314 | ||
25315 | 2002-05-21 Colin Walters <walters@gnu.org> | |
25316 | ||
25317 | * Makefile.in (shortlisp): Add font-core.el. | |
25318 | ||
25319 | 2002-05-20 Richard M. Stallman <rms@gnu.org> | |
25320 | ||
25321 | * buffer.c (syms_of_buffer) <cursor-type>: Doc fix. | |
25322 | ||
25323 | * keyboard.c (read_char_minibuf_menu_prompt): Don't list | |
25324 | equivalent key bindings here. | |
25325 | ||
25326 | 2002-05-20 Ken Raeburn <raeburn@gnu.org> | |
25327 | ||
25328 | Change symbol structure to contain a lisp object for the symbol | |
25329 | name: | |
25330 | * lisp.h (struct Lisp_Symbol): Replace field "name" with a lisp | |
25331 | object field named "xname". | |
25332 | (SYMBOL_NAME): New macro. | |
25333 | * abbrev.c (write_abbrev): Use SYMBOL_NAME instead of XSYMBOL and | |
25334 | name field. | |
25335 | * alloc.c (Fmake_symbol): Set symbol xname field instead of name. | |
25336 | (mark_object, gc_sweep): Use symbol xname field and XSTRING | |
25337 | instead of name field. | |
25338 | * buffer.c (buffer_slot_type_mismatch): Use XSTRING and | |
25339 | SYMBOL_NAME instead of XSYMBOL and name field. | |
25340 | * callint.c (Fcall_interactively): Use XSTRING and SYMBOL_NAME | |
25341 | instead of XSYMBOL and name field. | |
25342 | * charset.c (Fdefine_charset, Fdeclare_equiv_charset): Use XSTRING | |
25343 | and SYMBOL_NAME instead of XSYMBOL and name field. | |
25344 | * coding.c (Fread_coding_system, code_convert_region1) | |
25345 | (code_convert_string1, code_convert_string_norecord) | |
25346 | (Ffind_operation_coding_system): Use SYMBOL_NAME instead of | |
25347 | XSYMBOL and name field. | |
25348 | * data.c (Fkeywordp, Fsymbol_name, store_symval_forwarding) | |
25349 | (Fmake_variable_buffer_local, Fmake_local_variable) | |
25350 | (Fmake_variable_frame_local): Use SYMBOL_NAME and XSTRING instead | |
25351 | of XSYMBOL and name field. | |
25352 | * editfns.c (Fformat): Use SYMBOL_NAME and XSTRING instead of | |
25353 | XSYMBOL and name field. | |
25354 | * emacs.c (shut_down_emacs) [#if 0]: Use SYMBOL_NAME and XSTRING | |
25355 | instead of XSYMBOL and name field. | |
25356 | * eval.c (do_autoload): Use SYMBOL_NAME and XSTRING instead of | |
25357 | XSYMBOL and name field. | |
25358 | * fns.c (Fstring_equal, Fstring_lessp, Frequire, sxhash): | |
25359 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
25360 | * fontset.c (Fset_fontset_font): Use SYMBOL_NAME and XSTRING | |
25361 | instead of XSYMBOL and name field. | |
25362 | * keyboard.c (echo_char, record_char, parse_modifiers_uncached) | |
25363 | (parse_modifiers, apply_modifiers, Fevent_convert_list) | |
25364 | (parse_solitary_modifier, Fexecute_extended_command): | |
25365 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
25366 | * keymap.c (silly_event_symbol_error, Fsingle_key_description) | |
25367 | (Fdescribe_buffer_bindings): Use SYMBOL_NAME and XSTRING instead | |
25368 | of XSYMBOL and name field. | |
25369 | (describe_command, describe_translation): Use SYMBOL_NAME and | |
25370 | assignment instead of XSYMBOL and name field and XSETSTRING. | |
25371 | * lread.c (Fintern_soft, oblookup): Use SYMBOL_NAME and XSTRING | |
25372 | instead of XSYMBOL and name field. | |
25373 | (Funintern): Use SYMBOL_NAME and assignment instead of XSYMBOL and | |
25374 | name field and XSETSTRING. | |
25375 | * macfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead | |
25376 | of XSYMBOL and name field. | |
25377 | * minibuf.c (Fread_command, Fread_variable): Use SYMBOL_NAME and | |
25378 | assignment instead of XSYMBOL and name field and XSETSTRING. | |
25379 | * print.c (print_error_message, print_object): Use SYMBOL_NAME and | |
25380 | XSTRING instead of XSYMBOL and name field. | |
25381 | * process.c (set_socket_options, Fsignal_process): Use SYMBOL_NAME | |
25382 | and XSTRING instead of XSYMBOL and name field. | |
25383 | * w32fns.c (parse_image_spec, w32_parse_hot_key): Use SYMBOL_NAME | |
25384 | and XSTRING instead of XSYMBOL and name field. | |
25385 | * xfaces.c (merge_face_vector_with_property): Use SYMBOL_NAME and | |
25386 | XSTRING instead of XSYMBOL and name field. | |
25387 | * xfns.c (parse_image_spec): Use SYMBOL_NAME and XSTRING instead | |
25388 | of XSYMBOL and name field. | |
25389 | * xselect.c (symbol_to_x_atom, x_get_foreign_selection): | |
25390 | Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field. | |
25391 | ||
25392 | 2002-05-19 Ken Raeburn <raeburn@gnu.org> | |
25393 | ||
25394 | * lisp.h (LISP_MAKE_RVALUE): Delete disabled version, making XCAR | |
25395 | and XCDR real rvalues in most configurations. | |
25396 | ||
25397 | * buffer.c (fix_overlays_in_range, fix_overlays_before): | |
25398 | Don't take the address of the cdr part of a cons cell; instead, track | |
25399 | the parent cell and call XSETCDR, or set the variable for the head | |
25400 | of the list if we haven't started down the list yet. | |
25401 | ||
25402 | 2002-05-19 Richard M. Stallman <rms@gnu.org> | |
25403 | ||
25404 | * doc.c (reread_doc_file): Don't ask for confirmation. | |
25405 | ||
25406 | 2002-05-18 Jason Rumney <jasonr@gnu.org> | |
25407 | ||
25408 | * w32fns.c (w32_create_pixmap_from_bitmap_data): New function. | |
25409 | (xbm_load_image): Use it. | |
25410 | (xbm_load): Ditto. | |
25411 | (xbm_read_bitmap_data): Reverted to xfns.c version. | |
25412 | From David Ponce <david@dponce.com>. | |
25413 | ||
25414 | 2002-05-17 Eli Zaretskii <eliz@is.elta.co.il> | |
25415 | ||
25416 | * msdos.c (sig_suspender, sigprocmask): Don't define for DJGPP | |
25417 | 2.02 and later. | |
25418 | ||
25419 | 2002-05-16 Juanma Barranquero <lektu@terra.es> | |
25420 | ||
25421 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector): Fix typo. | |
25422 | ||
25423 | 2002-05-15 Stefan Monnier <monnier@cs.yale.edu> | |
25424 | ||
25425 | * keyboard.c (read_char_x_menu_prompt): Use an equivalent but more | |
25426 | meaningful test. | |
25427 | (read_char_minibuf_menu_prompt): Fix typo. | |
25428 | ||
25429 | 2002-05-15 Eli Zaretskii <eliz@is.elta.co.il> | |
25430 | ||
25431 | * eval.c (Fcommandp): Doc fix. | |
25432 | ||
25433 | 2002-05-13 Stefan Monnier <monnier@cs.yale.edu> | |
25434 | ||
25435 | * keymap.c (keymap_parent): New fun, extracted from Fkeymap_parent. | |
25436 | (Fkeymap_parent, keymap_memberp, fix_submap_inheritance): Use it. | |
25437 | (Fset_keymap_parent): Gcpro a bit more. | |
25438 | (access_keymap): Gcpro around meta_map call and around the main loop. | |
25439 | (get_keyelt): Gcpro when following indirect references. | |
25440 | (copy_keymap_item): New fun, extracted from Fcopy_keymap. | |
25441 | (copy_keymap_1, Fcopy_keymap): Use it. Don't copy the parent map. | |
25442 | (Fdefine_key, Flookup_key): Gcpro before calling get_keymap. | |
25443 | Remove useless ad-hoc remap code. | |
25444 | ||
25445 | 2002-05-13 Richard M. Stallman <rms@gnu.org> | |
25446 | ||
25447 | * search.c (search_buffer): Give up boyer moore search if inverse | |
25448 | translation change charset_base. | |
25449 | ||
25450 | 2002-05-12 Eli Zaretskii <eliz@is.elta.co.il> | |
25451 | ||
25452 | * coding.c (decode_coding) <coding_type_ccl>: If a lone CR | |
25453 | characters is carried over from the previous block of text, adjust | |
25454 | coding->produced to account for the extra character. | |
25455 | ||
25456 | 2002-05-11 Andreas Schwab <schwab@suse.de> | |
25457 | ||
25458 | * coding.c (intersection): Keep the elements of the returned list | |
25459 | in the same order as in the first list. | |
25460 | ||
25461 | 2002-05-11 Kim F. Storm <storm@cua.dk> | |
25462 | ||
3419757d | 25463 | * keymap.c (current_minor_maps): Fix resizing of cmm_maps; |
048addec JD |
25464 | only update cmm_size if realloc actually succeeds. |
25465 | Testing with initial size of 2 elements revealed that using | |
25466 | realloc on GNU/Linux would cause a random trap in xmalloc | |
25467 | later on, so I rewrote the code to use malloc/bcopy/free instead | |
25468 | of realloc. | |
25469 | ||
25470 | 2002-05-10 Jason Rumney <jasonr@gnu.org> | |
25471 | ||
25472 | * w32fns.c (enum_font_cb2): Avoid DBCS raster fonts. | |
25473 | ||
25474 | 2002-05-10 Eli Zaretskii <eliz@is.elta.co.il> | |
25475 | ||
25476 | * coding.c (encode_coding_sjis_big5): Enclose bitwise AND in | |
25477 | parens, to ensure correct evaluation order. | |
25478 | ||
25479 | 2002-05-10 Kim F. Storm <storm@cua.dk> | |
25480 | ||
25481 | * keymap.c (Vemulation_mode_map_alists): New variable. | |
25482 | (syms_of_keymap): DEFVAR_LISP it. | |
25483 | (current_minor_maps): Process keymap alists in that list before | |
25484 | minor-mode-overriding-map-alist and minor-mode-map-alist. | |
25485 | ||
25486 | 2002-05-09 Richard M. Stallman <rms@gnu.org> | |
25487 | ||
25488 | * search.c (Freplace_match): Doc fix. | |
25489 | ||
25490 | 2002-05-09 Kim F. Storm <storm@cua.dk> | |
25491 | ||
25492 | * macterm.c (x_draw_image_foreground, x_draw_image_foreground_1): | |
25493 | Enlarge cursor rectangle drawn around image with non-zero relief. | |
25494 | ||
25495 | * w32term.c (x_draw_image_foreground, w32_draw_image_foreground_1): | |
25496 | Enlarge cursor rectangle drawn around image with non-zero relief. | |
25497 | ||
25498 | * xterm.c (x_draw_image_foreground, x_draw_image_foreground_1): | |
25499 | Enlarge cursor rectangle drawn around image with non-zero relief. | |
25500 | ||
25501 | 2002-05-07 Eli Zaretskii <eliz@is.elta.co.il> | |
25502 | ||
25503 | * xselect.c (lisp_data_to_selection_data): Don't set selection | |
25504 | type if comes from the Lisp object's car. If the selection | |
25505 | contains a pure ASCII text, always return QSTRING as its type. | |
25506 | ||
25507 | 2002-05-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25508 | ||
25509 | * mac.c (mac-cut-function): Doc fix. | |
25510 | ||
25511 | 2002-05-05 Richard M. Stallman <rms@gnu.org> | |
25512 | ||
25513 | * s/gnu.h [DOUG_LEA_MALLOC] (REL_ALLOC): Undefine it. | |
25514 | ||
25515 | 2002-05-04 Jason Rumney <jasonr@gnu.org> | |
25516 | ||
25517 | * keyboard.c (make_lispy_event) <mouse-wheel>: Set count to 1 | |
25518 | for event-click-count. | |
25519 | ||
25520 | * process.c (init_process): Only add server subfeature if we can | |
25521 | use non-blocking I/O. | |
25522 | ||
25523 | 2002-05-04 Andrew Choi <akochoi@shaw.ca> | |
25524 | ||
25525 | * macterm.c (XTread_socket): Call WaitNextEvent once instead of | |
25526 | repeatedly. | |
25527 | ||
25528 | 2002-05-03 Jason Rumney <jasonr@gnu.org> | |
25529 | ||
25530 | * process.c (Fmake_network_process): Only support server sockets | |
25531 | when we can make them non-blocking. | |
25532 | ||
25533 | * s/ms-w32.h (HAVE_SELECT): Define. | |
25534 | ||
25535 | * w32.h (FILE_NDELAY): New flag. | |
25536 | ||
25537 | * w32.c (sys_getpeername, fcntl): New functions. | |
25538 | (_sys_read_ahead): Temporarily block on non-blocking sockets. | |
25539 | ||
2d4713aa | 25540 | * w32proc.c: Include sys/file.h. |
048addec JD |
25541 | |
25542 | 2002-05-03 Colin Walters <walters@verbum.org> | |
25543 | ||
25544 | * callproc.c (Vgame_score_directory): Renamed to | |
25545 | Vshared_game_score_directory. | |
25546 | ||
25547 | 2002-04-30 Richard M. Stallman <rms@gnu.org> | |
25548 | ||
25549 | * s/gnu.h [emacs]: Include stdio.h. | |
25550 | (GNU_LIBRARY_PENDING_OUTPUT_COUNT): New definition, conditional. | |
25551 | ||
25552 | * eval.c (do_autoload): Error if called while preparing to dump. | |
25553 | ||
25554 | * fns.c (Frequire): Error if need to load while preparing to dump. | |
25555 | ||
25556 | 2002-04-28 Colin Walters <walters@verbum.org> | |
25557 | ||
25558 | * callproc.c (Vgame_score_directory) [!HAVE_SHARED_GAME_DIR]: | |
25559 | Default to "~/.emacs.d/games". | |
25560 | ||
25561 | 2002-04-29 Stefan Monnier <monnier@cs.yale.edu> | |
25562 | ||
25563 | * lread.c (openp): Change arg exec_only to predicate. | |
25564 | (build_load_history): Use XCAR/XCDR. | |
25565 | (Flocate_file_internal): New fun. | |
25566 | (syms_of_lread): Defsubr it. | |
25567 | (Fload): Update call to openp. | |
25568 | ||
25569 | * lisp.h (openp): Update prototype. | |
25570 | ||
25571 | * xfns.c (x_create_bitmap_from_file, x_find_image_file): | |
25572 | * w32proc.c (sys_spawnve): | |
25573 | * w32fns.c (x_create_bitmap_from_file, x_find_image_file): | |
25574 | * w32.c (check_windows_init_file): | |
25575 | * sound.c (Fplay_sound_internal): | |
25576 | * process.c (Fstart_process): | |
25577 | * macfns.c (x_create_bitmap_from_file, x_find_image_file): | |
25578 | * mac.c (run_mac_command): | |
25579 | * emacs.c (init_cmdargs): | |
25580 | * callproc.c (Fcall_process): Update call to openp. | |
25581 | ||
25582 | * textprop.c (remove_properties): Don't use XCAR without CONSP. | |
25583 | ||
25584 | * xterm.c (XTread_socket): Disable the Xutf8LookupString code. | |
25585 | ||
25586 | 2002-04-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25587 | ||
25588 | * dispextern.h (DEFAULT_TOOL_BAR_BUTTON_MARGIN) | |
25589 | (DEFAULT_TOOL_BAR_BUTTON_RELIEF): Change default values. | |
25590 | ||
25591 | 2002-04-28 Richard M. Stallman <rms@gnu.org> | |
25592 | ||
25593 | * minibuf.c (Fall_completions, Ftry_completion): New arg to Fcommandp. | |
25594 | ||
25595 | * eval.c (Fcommandp): New arg for_call_interactively. | |
25596 | * lisp.h (Fcommandp): Declare new arg. | |
25597 | ||
25598 | 2002-04-28 Jason Rumney <jasonr@gnu.org> | |
25599 | ||
25600 | * w32proc.c (syms_of_w32proc): Get true file attributes by default. | |
25601 | ||
25602 | * w32.c (stat, fstat): Use file index information to generate | |
25603 | inodes for directories where available. | |
25604 | ||
25605 | 2002-04-26 Andrew Choi <akochoi@shaw.ca> | |
25606 | ||
25607 | * Makefile.in (C_SWITCH_SYSTEM_TEMACS): Add. | |
25608 | [HAVE_CARBON]: Include Mac object files. | |
25609 | ||
25610 | * alloc.c, callproc.c, dispextern.h, dispnew.c, emacs.c, | |
25611 | fontset.c, frame.c, frame.h, keyboard.c, sysdep.c, term.c, | |
25612 | termcap.c, window.c, xdisp.c, xfaces.c: Use macros MAC_OS8, | |
25613 | MAC_OSX, and MAC_OS instead of macintosh. | |
25614 | ||
25615 | * editfns.c [MAC_OS8]: Include stdio.h. | |
25616 | ||
25617 | * emacs.c [MAC_OS8]: Call mac_initialize instead of x_term_init. | |
25618 | ||
25619 | * fontset.c [MAC_OS]: Set Vdefault_fontset to ETL Fixed instead of | |
25620 | Apple Monaco. | |
25621 | ||
78819ebb | 25622 | * process.c (QCfamily, QCfilte): Declare extern. |
048addec JD |
25623 | (wait_reading_process_input) [MAC_OSX]: Clear bit for stdin before |
25624 | calling select. | |
25625 | ||
25626 | * termcap.c [MAC_OSX]: Don't define tgetnum, PC, tputs, and tgetent. | |
25627 | ||
25628 | * tparam.c [MAC_OSX]: Don't define BC and UP. | |
25629 | ||
25630 | * config.in [HAVE_CARBON]: Add. | |
25631 | ||
25632 | * mac.c, macgui.h, macfns.c, macmenu.c, macterm.c, macterm.h: | |
25633 | Move here from mac/src and mac/inc. | |
25634 | ||
25635 | * s/darwin.h, m/powermac.h, unexmacosx.c: New files. | |
25636 | ||
25637 | 2002-04-26 Gerd Moellmann <gerd@gnu.org> | |
25638 | ||
25639 | * xterm.c (x_draw_phys_cursor_glyph): Undo last change. | |
25640 | Compute phys_cursor_width from the x position returned | |
25641 | by x_draw_glyhs, which is cheaper. | |
25642 | (x_display_and_set_cursor): Compute the buffer-local value | |
25643 | of `cursor-in-non-selected-windows' only when needed. | |
25644 | ||
25645 | 2002-04-25 Gerd Moellmann <gerd@gnu.org> | |
25646 | ||
25647 | * xterm.c (x_draw_phys_cursor_glyph): Take into account that a box | |
25648 | cursor on a stretch glyph has a width that depends on | |
25649 | x_stretch_cursor_p. | |
25650 | ||
25651 | 2002-04-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25652 | ||
25653 | * abbrev.c (abbrev-start-location): Doc fix. | |
25654 | ||
25655 | * indent.c (Fvertical_motion): Fix last change. | |
25656 | ||
25657 | 2002-04-25 Gerd Moellmann <gerd@gnu.org> | |
25658 | ||
25659 | * indent.c (Fvertical_motion): Move to the start of the line | |
25660 | containing PT before moving up or down. | |
25661 | ||
25662 | 2002-04-24 Gerd Moellmann <gerd@gnu.org> | |
25663 | ||
25664 | * dispnew.c (update_text_area): Set phys_cursor_on_p to 0 in the | |
25665 | case of writing a whole row, more or less analogous to the case of | |
25666 | writing only parts of a row. | |
25667 | ||
25668 | * xterm.c (x_display_and_set_cursor): Set phys_cursor_width to | |
25669 | 0 for NO_CURSOR. | |
25670 | ||
25671 | * xterm.c (notice_overwritten_cursor): Fix an off by 1 error. | |
25672 | ||
25673 | 2002-04-23 Colin Walters <walters@verbum.org> | |
25674 | ||
25675 | * buffer.c (syms_of_buffer): Doc fix. | |
25676 | ||
25677 | 2002-04-23 Gerd Moellmann <gerd@gnu.org> | |
25678 | ||
25679 | * xterm.c (notice_overwritten_cursor): Handle the special case | |
25680 | of the cursor being in the first blank non-text line at the | |
25681 | end of a window. | |
25682 | ||
25683 | * xterm.c (x_draw_hollow_cursor, x_draw_bar_cursor) | |
25684 | (x_draw_phys_cursor_glyph): Set phys_cursor_width here. | |
25685 | (x_display_and_set_cursor): Don't set phys_cursor_width here, for | |
25686 | bar cursors only, to make phys_cursor_width contain what its name | |
25687 | suggests. | |
25688 | (notice_overwritten_cursor): Consider the cursor image erased if | |
25689 | the output area intersects the cursor image in y-direction. | |
25690 | ||
25691 | 2002-04-23 Simon Marshall <simon@gnu.org> | |
25692 | ||
25693 | * xfns.c (x_set_mouse_color): Change default for cross_cursor | |
25694 | to XC_hand2. | |
25695 | ||
25696 | 2002-04-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25697 | ||
25698 | * xdisp.c: Remove unused global variable `minibuf_prompt_pixel_width'. | |
25699 | ||
25700 | 2002-04-22 Kim F. Storm <storm@cua.dk> | |
25701 | ||
25702 | * textprop.c (remove_properties): Fixed trap for malformed plist. | |
25703 | ||
25704 | 2002-04-22 Richard M. Stallman <rms@gnu.org> | |
25705 | ||
25706 | * cmds.c (Fend_of_line): Handle intangible text in mid line. | |
25707 | ||
25708 | * window.c (make_window): Initialize height_fixed_p, | |
25709 | last_cursor_off_p, and p->cursor_off_p slots. | |
25710 | ||
25711 | 2002-04-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25712 | ||
25713 | * fns.c (use-dialog-box): Doc fix. | |
25714 | ||
25715 | 2002-04-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25716 | ||
25717 | * xterm.c (note_mode_line_or_margin_highlight): Remove unused | |
25718 | variables `row', `i' and `area'. | |
25719 | (XTread_socket) <KeyPress>: Pass KeyPress events when in menu to | |
25720 | toolkit library. | |
25721 | ||
25722 | 2002-04-19 Stefan Monnier <monnier@cs.yale.edu> | |
25723 | ||
25724 | * xfaces.c (clear_font_table): Don't free the default font of | |
25725 | a frame even if it's on another display. | |
25726 | (Finternal_set_lisp_face_attribute): Don't use XFRAME on something | |
25727 | that could be Qt. | |
25728 | ||
25729 | 2002-04-19 Juanma Barranquero <lektu@terra.es> | |
25730 | ||
25731 | * indent.c (Fmove_to_column): Remove unused local variable | |
25732 | `next_boundary_byte'. | |
25733 | (current_column_1): Likewise. | |
25734 | ||
25735 | 2002-04-19 Eli Zaretskii <eliz@is.elta.co.il> | |
25736 | ||
25737 | * msdos.c (Qhbar): New variable. | |
25738 | (syms_of_msdos): Intern and staticpro it. | |
25739 | (IT_set_cursor_type, IT_set_frame_parameters): Handle the `hbar' | |
25740 | cursor type. | |
25741 | ||
25742 | 2002-04-19 Dave Lambert <dlambert@acm.org> | |
25743 | ||
25744 | Theses change implement an underscore-like (`hbar') cursor. | |
25745 | ||
25746 | * xterm.h (text_cursor_kinds): New enumeration member HBAR_CURSOR. | |
25747 | ||
25748 | * xterm.c (x_draw_bar_cursor): New argument KIND; callers changed. | |
25749 | Handle the `hbar' cursor type. | |
25750 | (x_display_and_set_cursor): Handle the HBAR_CURSOR case. | |
25751 | ||
25752 | * xfns.c (Qhbar): New variable. | |
25753 | (syms_of_xfns): Intern and staticpro it. | |
25754 | (x_specified_cursor_type): Handle `hbar' cursor. | |
25755 | ||
25756 | * s/sol2-5.h (bcopy, bzero, bcmp): Define only if HAVE_BCOPY is | |
25757 | not defined. | |
25758 | ||
25759 | 2002-04-18 Richard M. Stallman <rms@gnu.org> | |
25760 | ||
25761 | * textprop.c (remove_properties): New arg LIST allows scanning | |
25762 | either a list or a plist. | |
25763 | (interval_has_some_properties_list): New function, like | |
25764 | interval_has_some_properties using list instead of plist. | |
25765 | All callers changed. | |
25766 | (Fremove_list_of_text_properties): New function. | |
25767 | (syms_of_textprop): Defsubr it. | |
25768 | ||
25769 | 2002-04-17 Eli Zaretskii <eliz@is.elta.co.il> | |
25770 | ||
25771 | * s/sol2.h (HAVE_LIBKSTAT): Define only if not already defined. | |
25772 | ||
25773 | 2002-04-17 Juanma Barranquero <lektu@terra.es> | |
25774 | ||
25775 | * indent.c (Fmove_to_column): Remove unused local variable `end_byte'. | |
25776 | ||
25777 | 2002-04-17 Eli Zaretskii <eliz@is.elta.co.il> | |
25778 | ||
25779 | * window.c (coordinates_in_window): Don't report on margin area | |
25780 | if its width is zero. | |
25781 | ||
25782 | 2002-04-16 Jason Rumney <jasonr@gnu.org> | |
25783 | ||
25784 | * w32fns.c (Fx_file_dialog): Decode file name before using. | |
25785 | ||
25786 | * w32term.c (construct_drag_n_drop): Likewise. | |
25787 | ||
25788 | 2002-04-16 Eli Zaretskii <eliz@is.elta.co.il> | |
25789 | ||
25790 | * puresize.h (BASE_PURESIZE): Increase to 830000, since we now | |
25791 | store load-history in pure space. | |
25792 | ||
25793 | * s/msdos.h (SYSTEM_PURESIZE_EXTRA): Reduce to 50000. | |
25794 | ||
25795 | 2002-04-16 Stefan Monnier <monnier@cs.yale.edu> | |
25796 | ||
25797 | * xterm.c (Qlatin_1, Qutf_8): New vars. | |
25798 | (syms_of_xterm): Initialize them. | |
25799 | (XTread_socket): Eliminate incorrect optimization that tried to avoid | |
25800 | decoding the output of X*LookupString. | |
25801 | Always use latin-1 to decode the output of XLookupString. | |
25802 | Try Xutf8LookupString if XmbLookupString failed. | |
25803 | ||
25804 | * region-cache.c (new_region_cache): Use BEG. | |
25805 | ||
25806 | 2002-04-16 Gerd Moellmann <gerd@gnu.org> | |
25807 | ||
25808 | * buffer.c (MMAP_ALLOCATED_P): New macro to be set from system | |
25809 | configuration files. | |
25810 | (mmap_enlarge): Enlarge mapped regions only if MMAP_ALLOCATED_P | |
25811 | returns 0. | |
25812 | ||
25813 | 2002-04-15 Andreas Schwab <schwab@suse.de> | |
25814 | ||
25815 | * config.in: Regenerated using autoheader. | |
25816 | ||
25817 | * m/7300.h, m/acorn.h, m/alliant-2800.h, m/alliant.h, m/alpha.h, | |
25818 | m/altos.h, m/amdahl.h, m/apollo.h, m/arm.h, m/att3b.h, m/aviion.h, | |
25819 | m/celerity.h, m/clipper.h, m/cnvrgnt.h, m/convex.h, m/cydra5.h, | |
25820 | m/delta.h, m/delta88k.h, m/dpx2.h, m/elxsi.h, m/gec63.h, | |
25821 | m/gould.h, m/hp800.h, m/hp9000s300.h, m/i860.h, m/ia64.h, | |
25822 | m/ibmps2-aix.h, m/ibmrs6000.h, m/ibmrt-aix.h, m/ibmrt.h, | |
25823 | m/ibms390.h, m/intel386.h, m/iris4d.h, m/irist.h, m/isi-ov.h, | |
25824 | m/m68k.h, m/macppc.h, m/masscomp.h, m/mg1.h, m/mips-siemens.h, | |
25825 | m/mips.h, m/news-r6.h, m/news.h, m/next.h, m/nh3000.h, m/nh4000.h | |
25826 | m/ns32000.h, m/orion.h, m/pfa50.h, m/plexus.h, m/pmax.h, | |
25827 | m/powerpcle.h, m/pyrmips.h, m/sequent-ptx.h, m/sequent.h, | |
25828 | m/sparc.h, m/sr2k.h, m/symmetry.h, m/tad68k.h, m/tahoe.h, | |
25829 | m/targon31.h, m/tek4300.h, m/tekxd88.h, m/template.h, m/tower32.h, | |
25830 | m/tower32v3.h, m/ustation.h, m/vax.h, m/wicat.h, m/windowsnt.h, | |
25831 | m/xps100.h, s/aix3-2.h, s/aix4-2.h, s/irix4-0.h, s/irix5-0.h, | |
25832 | s/sco5.h, s/unixware.h: Don't set HAVE_ALLOCA, C_ALLOCA and | |
25833 | STACK_DIRECTION, now set by autoconf. | |
25834 | ||
25835 | 2002-04-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25836 | ||
25837 | * dispnew.c (marginal_area_string): Sort arguments. | |
25838 | ||
25839 | * dispextern.h (marginal_area_string): Add prototype. | |
25840 | ||
25841 | 2002-04-13 Richard M. Stallman <rms@gnu.org> | |
25842 | ||
25843 | * fileio.c (Finsert_file_contents): | |
25844 | Don't call temp_output_buffer_setup--do just part, by hand. | |
25845 | ||
25846 | * coding.c (run_pre_post_conversion_on_str): | |
25847 | Don't call temp_output_buffer_setup--do just part, by hand. | |
25848 | ||
25849 | * keyboard.c (command_loop_1): Don't call start_hourglass | |
25850 | or cancel_hourglass when executing a macro. | |
25851 | ||
25852 | * marker.c (count_markers): New function. | |
25853 | ||
25854 | * xdisp.c (display_mode_element): Don't let mode_line_proptrans_alist | |
25855 | grow without limit. Move recently used elements to the front. | |
25856 | ||
25857 | 2002-04-13 Eli Zaretskii <eliz@is.elta.co.il> | |
25858 | ||
25859 | * unexelf.c (unexec) [__sgi]: Undo the change from 2002-01-20. | |
25860 | ||
25861 | 2002-04-12 Gerd Moellmann <gerd@gnu.org> | |
25862 | ||
25863 | * xdisp.c (sync_frame_with_window_matrix_rows): Don't give frame | |
25864 | rows marginal areas. | |
25865 | (Fdump_frame_glyph_matrix) [GLYPH_DEBUG]: New function. | |
25866 | (syms_of_xdisp) [GLYPH_DEBUG]: Defsubr it. | |
25867 | ||
25868 | * dispnew.c (marginal_area_string): Check that glyph row is enabled. | |
25869 | ||
25870 | 2002-04-12 Dave Love <fx@gnu.org> | |
25871 | ||
25872 | * dispnew.c (marginal_area_string): New. | |
25873 | ||
25874 | * window.c (window_part): Add ON_LEFT_MARGIN, ON_RIGHT_MARGIN. | |
25875 | (Qleft_margin, Qright_margin): Declare. | |
25876 | (coordinates_in_window, (Fcoordinates_in_window_p): Deal with margins. | |
25877 | ||
25878 | * xterm.c (note_mode_line_or_margin_highlight): Renamed from | |
25879 | note_mode_line_highlight and extended. | |
25880 | ||
25881 | * keyboard.c (Qleft_margin, Qright_margin): Declare. | |
25882 | (make_lispy_event): Deal with mouse events in margins. | |
25883 | ||
25884 | 2002-04-12 Stefan Monnier <monnier@cs.yale.edu> | |
25885 | ||
25886 | * msdos.c (dos_rawgetc): Use a single event for HELP_EVENT. | |
25887 | ||
25888 | * keyboard.c (command_loop_1): Turn off transient-mark-mode rather | |
25889 | than deactivating the mark if tmm is set to `lambda'. | |
25890 | (gen_help_event, kbd_buffer_store_help_event, kbd_buffer_get_event): | |
25891 | Use a single event for HELP_EVENT. | |
25892 | (Fexecute_extended_command): Save last_point_position. | |
25893 | ||
25894 | 2002-04-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25895 | ||
25896 | * lisp.h (Fpropertize): Add prototype. | |
25897 | ||
25898 | * fns.c (Fy_or_n_p): Use `minibuffer-prompt' face for prompt. | |
25899 | ||
25900 | 2002-04-10 Colin Walters <walters@verbum.org> | |
25901 | ||
25902 | * config.in: Add HAVE_SHARED_GAME_DIR. | |
25903 | ||
52eb0373 | 25904 | * callproc.c (Vgame_score_directory): New variable. |
048addec JD |
25905 | (syms_of_callproc) <Vgame_score_directory>: DEFVAR_LISP. |
25906 | ||
25907 | 2002-04-10 Richard M. Stallman <rms@gnu.org> | |
25908 | ||
25909 | * puresize.h (BASE_PURESIZE): Reduce again to avoid big excess. | |
25910 | ||
25911 | 2002-04-09 Stefan Monnier <monnier@cs.yale.edu> | |
25912 | ||
25913 | * minibuf.c (read_minibuf): Use empty_string. | |
25914 | (Ftry_completion): Allow lambda forms and lists of strings for `alist'. | |
25915 | Short-circuit the search as soon as it "failed". | |
25916 | (Fall_completions): Allow lambda forms and lists of strings for alist. | |
25917 | (Fcompleting_read): Set Qminibuffer_completion_confirm to nil | |
25918 | when require_match is nil. | |
25919 | (Ftest_completion): Rename from `test_completion' and export to elisp. | |
25920 | Call the predicate also when alist is a list. | |
25921 | Obey Vcompletion_regexp_list. | |
25922 | (do_completion, Fminibuffer_complete_and_exit): Use it. | |
25923 | (Fassoc_string): Rename from `assoc_for_completion'. | |
25924 | Allow list of strings as well and export to elisp. | |
25925 | ||
25926 | 2002-04-08 Stefan Monnier <monnier@cs.yale.edu> | |
25927 | ||
25928 | * puresize.h (BASE_PURESIZE): Increase to 900KB. | |
25929 | ||
25930 | 2002-04-08 Juanma Barranquero <lektu@terra.es> | |
25931 | ||
25932 | * w32.c (sys_accept): Don't hide variable `s'. | |
25933 | ||
25934 | 2002-04-05 Gerd Moellmann <gerd@gnu.org> | |
25935 | ||
25936 | * callint.c (Fcall_interactively): Use INTEGERP instead of | |
25937 | NUMBERP for checking Vhistory_length. | |
25938 | ||
25939 | 2002-04-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25940 | ||
25941 | * sound.c (Fplay_sound_internal): Renamed from Fplay_sound. | |
25942 | Doc fix to reflect it. | |
25943 | ||
25944 | 2002-04-04 Richard M. Stallman <rms@gnu.org> | |
25945 | ||
25946 | * xdisp.c (display_mode_element): New arg RISKY. | |
25947 | Disregard text props found or specified within a variable | |
25948 | that isn't marked risky-local-variable. | |
25949 | (Qrisky_local_variable): New variable. | |
25950 | (syms_of_xdisp): Init and staticpro it. | |
25951 | ||
25952 | 2002-04-04 Stefan Monnier <monnier@cs.yale.edu> | |
25953 | ||
25954 | * undo.c (record_point): New fun. | |
25955 | (record_delete, record_insert): Use it. | |
25956 | ||
25957 | 2002-04-03 Juanma Barranquero <lektu@terra.es> | |
25958 | ||
25959 | * doc.c (Fdocumentation): Add missing parentheses. | |
25960 | (Fdocumentation_property): Likewise. | |
25961 | ||
25962 | 2002-04-03 Stefan Monnier <monnier@cs.yale.edu> | |
25963 | ||
25964 | * doc.c (Fdocumentation, Fdocumentation_property): When the doc | |
25965 | data is 0, just return nil. | |
25966 | ||
25967 | 2002-04-03 Eli Zaretskii <eliz@is.elta.co.il> | |
25968 | ||
25969 | * msdos.c (syms_of_msdos): Fix last change with | |
25970 | mouse_autoselect_window. | |
25971 | ||
25972 | 2002-04-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
25973 | ||
25974 | * w32term.c, xterm.c, msdos.c: Rename autoselect_window_p to | |
25975 | mouse_autoselect_window. | |
25976 | ||
25977 | 2002-04-02 Stefan Monnier <monnier@cs.yale.edu> | |
25978 | ||
25979 | * keyboard.c (make_lispy_event): Handle unknown keysyms together | |
25980 | with system-specific keysyms. Use it also for unknown function keys. | |
25981 | ||
25982 | * doc.c (reread_doc_file): Return whether reload was attempted. | |
25983 | (Fdocumentation, Fdocumentation_property): Don't try to reload | |
25984 | if the doc is 0 and only ask once. | |
25985 | ||
25986 | * Makefile.in (lisp, shortlisp): Add ucs-tables.elc. | |
25987 | ||
25988 | 2002-04-02 Eli Zaretskii <eliz@is.elta.co.il> | |
25989 | ||
25990 | * keyboard.c (read_char): If the event was Qselect_window, | |
25991 | restore timer_idleness_start_time to its previous value. | |
25992 | ||
25993 | * msdos.c (dos_rawgetc): Generate SELECT_WINDOW_EVENTs when required. | |
25994 | ||
25995 | 2002-04-01 Stefan Monnier <monnier@cs.yale.edu> | |
25996 | ||
25997 | * region-cache.c (new_region_cache): Use BEG. | |
25998 | ||
25999 | * marker.c (buf_charpos_to_bytepos, buf_bytepos_to_charpos): | |
26000 | Use BEG and BEG_BYTE. | |
26001 | ||
26002 | * doc.c (get_doc_string): Return nil if the location is wrong. | |
26003 | (reread_doc_file): New fun. | |
26004 | (Fdocumentation, Fdocumentation_property): | |
26005 | Call it if get_doc_string fails. | |
26006 | (Fsnarf_documentation): Make it work for a dumped Emacs. | |
26007 | ||
26008 | * charset.h (DEC_POS, BUF_DEC_POS): Use BEG_BYTE. | |
26009 | Bound the search with MAX_MULTIBYTE_LENGTH to avoid pathological case. | |
26010 | ||
26011 | * charset.c (Fstring): Allow 0 arguments. | |
26012 | ||
26013 | * xterm.c (XTread_socket): Fix int/Lisp_Object confusion. | |
26014 | ||
26015 | * process.c (DATAGRAM_CONN_P, list_processes_1) | |
26016 | (Fprocess_datagram_address, Fset_process_datagram_address) | |
26017 | (Fset_network_process_options, server_accept_connection): | |
26018 | Fix some int/Lisp_Object confusions (thank you union types). | |
26019 | ||
26020 | 2002-04-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
26021 | ||
26022 | * msdos.c: Rename x_autoselect_window_p to autoselect_window_p. | |
26023 | ||
26024 | * w32term.c: Likewise. | |
26025 | (note_mouse_movement): Put code for x_autoselect_window_p in #if 0. | |
26026 | ||
26027 | * keyboard.c (Qselect_window): New symbol. | |
26028 | (head_table): Use it. | |
26029 | (keys_of_keyboard): Bound select-window event to handle-select-window. | |
26030 | (kbd_buffer_get_event): Make a Lisp event from SELECT_WINDOW_EVENT. | |
26031 | ||
26032 | * xterm.c: Rename x_autoselect_window_p to autoselect_window_p. | |
26033 | (last_window): New variable. | |
26034 | (XTread_socket): Generate SELECT_WINDOW_EVENTs. | |
26035 | (note_mouse_movement): Remove reimplemented code in #if 0. | |
26036 | (XTread_socket): Generate SELECT_WINDOW_EVENTs only for | |
26037 | Emacs windows. | |
26038 | ||
26039 | * termhooks.h (enum event_kind): New event type `SELECT_WINDOW_EVENT'. | |
26040 | ||
26041 | 2002-03-31 Gerd Moellmann <gerd@gnu.org> | |
26042 | ||
26043 | * xterm.c (x_get_char_face_and_encoding): Add parameter DISPLAY_P. | |
26044 | Callers changed. | |
26045 | ||
26046 | 2002-03-30 Richard M. Stallman <rms@gnu.org> | |
26047 | ||
26048 | * window.c (window_scroll_pixel_based): Exit the move_it_by_lines | |
26049 | loop whenever it stops making progress. | |
26050 | ||
26051 | * widget.c (set_frame_size): Don't call change_frame_size. | |
26052 | ||
26053 | 2002-03-30 Gerd Moellmann <gerd@gnu.org> | |
26054 | ||
26055 | * dispnew.c (direct_output_for_insert): | |
26056 | Call mark_window_display_accurate. | |
26057 | ||
26058 | 2002-03-29 Jason Rumney <jasonr@gnu.org> | |
26059 | ||
26060 | * w32term.c (w32_draw_relief_rect): Fix calculations of line lengths. | |
26061 | ||
26062 | 2002-03-29 Eli Zaretskii <eliz@is.elta.co.il> | |
26063 | ||
26064 | * Makefile.in (lread.o): Depend on coding.h. | |
26065 | ||
26066 | * lread.c (openp, Fload): Encode the file name before passing it | |
26067 | to `stat', `access', and `emacs_open'. | |
26068 | (openp): GCPRO the encoded file name. Don't recompute Lisp | |
26069 | strings unnecessarily. | |
26070 | ||
26071 | 2002-03-29 Kim F. Storm <storm@cua.dk> | |
26072 | ||
26073 | * fns.c (Flax_plist_put): Doc fix. | |
26074 | ||
26075 | 2002-03-28 Miles Bader <miles@gnu.org> | |
26076 | ||
26077 | * process.c (DATAGRAM_CONN_P): Make sure PROC is really a process. | |
26078 | ||
26079 | 2002-03-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
26080 | ||
26081 | * process.c (set-network-process-options): Add usage. | |
26082 | (make-network-process): Doc fix. | |
26083 | ||
26084 | 2002-03-26 Eli Zaretskii <eliz@is.elta.co.il> | |
26085 | ||
26086 | * emacs.c (Fdump_emacs): Fix a typo in "command-line-processed". | |
26087 | ||
26088 | 2002-03-26 Richard M. Stallman <rms@gnu.org> | |
26089 | ||
26090 | * fns.c (Fsubstring_no_properties): New function. | |
26091 | (Flax_plist_get, Flax_plist_put): New functions. | |
26092 | (syms_of_fns): defsubr them. | |
26093 | ||
26094 | * xdisp.c (update_menu_bar): Test only update_mode_lines; | |
26095 | don't test or alter w->update_mode_line. | |
26096 | ||
26097 | * window.c (Fdisplay_buffer): Doc fix. | |
26098 | ||
26099 | 2002-03-24 Richard M. Stallman <rms@gnu.org> | |
26100 | ||
26101 | * regex.c (GET_UNSIGNED_NUMBER): Give proper error for spaces. | |
26102 | ||
26103 | 2002-03-24 Gerd Moellmann <gerd@gnu.org> | |
26104 | ||
26105 | * eval.c (Qdeclare, Vmacro_declaration_function): New variables. | |
26106 | (Fdefmacro): Handle `(declare ...)'. | |
26107 | (syms_of_eval) <Qdeclare>: Initialize and staticpro. | |
26108 | (syms_of_eval) <Vmacro_declaration_function>: DEFVAR_LISP. | |
26109 | ||
26110 | 2002-03-24 Jason Rumney <jasonr@gnu.org> | |
26111 | ||
26112 | * w32fns.c (xbm_scan, xbm_load_image, xbm_read_bitmap_data) | |
26113 | (xbm_file_p): Add prototypes. | |
26114 | (xbm_format, xbm_image_p): Sync with xfns.c. | |
26115 | (reflect_byte): New function. | |
26116 | (xbm_read_bitmap_data): Sync with xfns.c, adapt for Windows. | |
26117 | (xbm_load_image): Create bitmaps with a depth of 1. | |
26118 | (init_xfns): Enable XBM images. | |
26119 | ||
26120 | 2002-03-23 Jason Rumney <jasonr@gnu.org> | |
26121 | ||
26122 | * w32term.c (w32_handle_tool_bar_click): Detect up and down events | |
26123 | correctly. Do not pass up_modifier to keyboard buffer. | |
26124 | ||
26125 | * w32fns.c [HAVE_IMAGES, HAVE_PBM]: Remove conditionals. | |
26126 | ||
26127 | 2002-03-22 Stefan Monnier <monnier@cs.yale.edu> | |
26128 | ||
26129 | * Makefile.in (bootstrapclean): New target. | |
26130 | (bootstrap-temacs, bootstrap-doc): Remove. | |
26131 | (bootstrap-emacs): Use a bog-standard `temacs'. | |
26132 | Don't bother to build a DOC file. | |
26133 | ||
26134 | * sysdep.c (wait_for_termination): Use sigsuspend rather than sigpause. | |
26135 | ||
26136 | * emacs.c (main): Handle --unibyte, --multibyte, and --no-loadup | |
26137 | in temacs even if !CANNOT_DUMP. | |
26138 | (standard_args): Keep --no-loadup even if !CANNOT_DUMP. | |
26139 | ||
26140 | * alloc.c (check_pure_size): Only output a warning. | |
26141 | ||
26142 | 2002-03-22 Jason Rumney <jasonr@gnu.org> | |
26143 | ||
26144 | * w32fns.c (Fx_create_frame): Enable tool-bar when images are | |
26145 | supported. | |
26146 | ||
26147 | * w32term.c (zv_bits): Declare as short, for word alignment. | |
26148 | (w32_read_socket) <WM_XBUTTONUP>: Fix last change. | |
26149 | (syms_of_w32term): Define x-use-underline-position-properties. | |
26150 | ||
26151 | * w32fns.c (x_set_cursor_color): Set cursor_gc as well. | |
26152 | (clear_image_cache): Block input, fix logic, clear matrices in | |
26153 | all frames that share this cache. | |
26154 | ||
26155 | 2002-03-22 Eli Zaretskii <eliz@is.elta.co.il> | |
26156 | ||
26157 | * emacs.c (main): Update the Copyright year in the blurb printed | |
26158 | by "emacs --version". | |
26159 | ||
26160 | * xdisp.c (message_with_string): Fix syntax of a call to GCPRO2. | |
26161 | ||
26162 | * xterm.c (XTread_socket): If XK_ISO_Lock and | |
26163 | XK_ISO_Last_Group_Lock are defined, handle keysyms between | |
26164 | XK_ISO_Lock and XK_ISO_Last_Group_Lock similarly to Mode_switch. | |
26165 | ||
26166 | 2002-03-21 Kim F. Storm <storm@cua.dk> | |
26167 | ||
26168 | * keyboard.c (menu_bar_items): Mostly undo 2002-02-20 patch, so | |
26169 | menu-bar bindings in keymap and local-map properties _are_ used. | |
26170 | But try keymap property first in accordance with 2002-01-03 patch. | |
26171 | Added comment describing why this is not always reliable. | |
26172 | (tool_bar_items): Ditto for tool-bar. | |
26173 | ||
26174 | 2002-03-21 Jason Rumney <jasonr@gnu.org> | |
26175 | ||
26176 | * w32fns.c (x_clear_image_1): Disable color table code. | |
26177 | ||
26178 | 2002-03-21 Kim F. Storm <storm@cua.dk> | |
26179 | ||
26180 | * lisp.h (DEFUN) [USE_NONANSI_DEFUN]: The 2001-10-17 patch | |
26181 | removed the wrong version of the DEFUN macro; fixed it. | |
26182 | ||
26183 | * fns.c (Ffeaturep): Allow subfeature to be a list (test using | |
26184 | Fmember rather than Fmemq). | |
26185 | (Fprovide): Check that subfeatures is a list. | |
26186 | ||
26187 | * process.c (QCfeature, QCdatagram): Removed variables. | |
26188 | (QCtype, Qdatagram): New variables. | |
26189 | (network_process_featurep): Removed function. | |
26190 | (Fmake_network_process): Removed :feature check. | |
26191 | Use :type 'datagram instead of :datagram t to create a datagram | |
26192 | socket. This allows us to add other connection types (e.g. raw | |
26193 | sockets) later in a consistent manner. | |
26194 | (init_process) [subprocess, HAVE_SOCKETS]: Provide list of | |
26195 | supported subfeatures for feature make-network-process. | |
26196 | (syms_of_process) [subprocess]: Remove QCfeature and QCdatagram. | |
26197 | Intern and staticpro QCtype and Qdatagram. | |
26198 | (syms_of_process) [!subprocess]: Intern and staticpro QCtype. | |
26199 | ||
9dd28cae | 26200 | * xfns.c (QCtype): Remove duplicate declaration and |
048addec JD |
26201 | initialization (is now declared in process.c). |
26202 | ||
9dd28cae | 26203 | * w32fns.c (QCtype): Remove duplicate declaration and |
048addec JD |
26204 | initialization (is now declared in process.c). |
26205 | ||
26206 | 2002-03-21 Richard M. Stallman <rms@gnu.org> | |
26207 | ||
26208 | * regex.c (DISCARD_FAILURE_REG_OR_COUNT): New macro. | |
26209 | (CHECK_INFINITE_LOOP): Use DISCARD_FAILURE_REG_OR_COUNT | |
26210 | when jumping to `fail' to avoid undoing reg changes in the | |
26211 | last iteration of the loop. | |
26212 | (GET_UNSIGNED_NUMBER): Skip spaces around the number. | |
26213 | ||
26214 | * Makefile.in (dispnew.o, sysdep.o, xdisp.o, xselect.o, alloc.o): | |
26215 | Depend on process.h. | |
26216 | ||
26217 | 2002-03-20 Jason Rumney <jasonr@gnu.org> | |
26218 | ||
26219 | Most of the following changes are still conditional on HAVE_IMAGES | |
26220 | which is not set by default on Windows. | |
26221 | ||
26222 | * emacs.c (main) [WINDOWSNT]: Call init_xfns. | |
26223 | ||
26224 | * w32fns.c (x_set_cursor_color): Set foreground of cursor, not frame. | |
26225 | (Fimage_size, Fimage_mask_p, XPutPixel): New functions. | |
26226 | (four_corners_best, x_clear_image_1, x_clear_image) | |
26227 | (x_alloc_image_color, postprocess_image) | |
26228 | (x_create_x_image_and_pixmap, x_destroy_x_image, xbm_load_image) | |
26229 | (x_from_x_colors, x_disable_image, pbm_load): Adapt for Windows. | |
26230 | (init_xfns, syms_of_w32fns): Initialize image functions and constants. | |
26231 | ||
26232 | * w32gui.h (struct XImage): Define. | |
26233 | ||
26234 | * w32term.c (w32_read_socket) <WM_XBUTTONUP>: Use XFASTINT to | |
26235 | extract mouse co-ordinates. | |
26236 | ||
26237 | 2002-03-20 Jason Rumney <jasonr@gnu.org> | |
26238 | ||
26239 | * w32.c (init_winsock): Dynamically load new server and UDP | |
26240 | socket functions. | |
26241 | (socket_to_fd): New function. | |
26242 | (sys_socket): Use it. | |
26243 | (sys_setsockopt, sys_listen, sys_getsockname, sys_accept) | |
26244 | (sys_recvfrom, sys_sendto): New wrapper functions. | |
26245 | ||
26246 | * process.c (QCfamily, QCfilter): Remove duplicate declaration | |
26247 | and initialization. | |
26248 | ||
26249 | * makefile.w32-in (LIBS): Remove $(WSOCK32). | |
26250 | ||
26251 | 2002-03-20 Eli Zaretskii <eliz@is.elta.co.il> | |
26252 | ||
26253 | * process.c (conv_sockaddr_to_lisp, conv_lisp_to_sockaddr): | |
26254 | Don't use "sun" as a variable, it's a predefined constant on Sun | |
26255 | machines. | |
26256 | ||
26257 | 2002-03-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
26258 | ||
26259 | * bytecode.c (Fbyte_code): Revert last change. | |
26260 | ||
26261 | 2002-03-19 Kim F. Storm <storm@cua.dk> | |
26262 | ||
26263 | * makefile.w32-in (LIBS): Add $(WSOCK32). | |
26264 | From David Ponce <dponce@voila.fr>. | |
26265 | ||
26266 | 2002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
26267 | ||
26268 | * process.c (wait_reading_process_input): Move variables `pname' | |
26269 | and `pnamelen' down where they are used. | |
26270 | ||
26271 | * bytecode.c (Fbyte_code): Discard unused computed value to | |
26272 | prevent gcc warning. | |
26273 | ||
26274 | * lisp.h (Fplist_member): Add prototype. | |
26275 | ||
26276 | 2002-03-18 Kim F. Storm <storm@cua.dk> | |
26277 | ||
26278 | * config.in: Add HAVE_SENDTO, HAVE_RECVFROM, HAVE_SETSOCKOPT, | |
26279 | HAVE_GETSOCKOPT, HAVE_GETPEERNAME, HAVE_GETSOCKNAME, and HAVE_SYS_UN_H. | |
26280 | ||
26281 | * process.c: Define HAVE_LOCAL_SOCKETS based on HAVE_SYS_UN_H. | |
26282 | Remove explicit GNU_LINUX settings for datagram support. | |
26283 | ||
26284 | 2002-03-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
26285 | ||
26286 | * process.c (Fmake_network_process): Remove unused variable `sa'. | |
26287 | Doc fix. Add usage:. | |
26288 | (set_socket_options): Remove unused variables `optnum' and `opttype'. | |
26289 | ||
26290 | 2002-03-17 Richard M. Stallman <rms@gnu.org> | |
26291 | ||
26292 | * xdisp.c (cursor_type_changed): New variable. | |
26293 | (redisplay_internal): Redisplay all windows if cursor_type_changed. | |
26294 | Clear it when clearing windows_or_buffers_changed. | |
26295 | (try_cursor_movement, redisplay_window, try_window_id) | |
26296 | (try_window_reusing_current_matrix): Test cursor_type_changed | |
26297 | along with windows_or_buffers_changed. | |
26298 | ||
26299 | * window.h (cursor_type_changed): New variable. | |
26300 | ||
26301 | * xfns.c (x_set_cursor_type): Set cursor_type_changed, | |
26302 | not update_mode_lines, and always set it to 1. | |
26303 | ||
26304 | * xdisp.c (clear_garbaged_frames): Don't set windows_or_buffers_changed | |
26305 | if no frames needed redrawing. | |
26306 | ||
26307 | 2002-03-17 Kim F. Storm <storm@cua.dk> | |
26308 | ||
26309 | The following changes add support for network server processes, | |
26310 | datagram connections, and local (unix) sockets. | |
26311 | ||
26312 | * process.h (struct Lisp_Process): New member log. | |
26313 | Doc fix: Member command used to indicate stopped network process. | |
26314 | Doc fix: Member childp contains plist for network process. | |
26315 | Doc fix: Member kill_without_query is inverse of query-on-exit flag. | |
26316 | ||
26317 | * process.c (Qlocal, QCname, QCbuffer, QChost, QCservice, QCfamily) | |
9dd28cae | 26318 | (QClocal, QCremote, QCserver, QCdatagram, QCnowait, QCnoquery, QCstop) |
647b07d1 AS |
26319 | (QCcoding, QCoptions, QCfilter, QCsentinel, QClog, QCfeature): New |
26320 | variables. | |
048addec JD |
26321 | (NETCONN1_P): New macro. |
26322 | (DATAGRAM_SOCKETS): New conditional symbol. | |
26323 | (datagram_address): New array. | |
26324 | (DATAGRAM_CONN_P, DATAGRAM_CHAN_P): New macros. | |
26325 | (status_message): Use concat3. | |
647b07d1 AS |
26326 | (Fprocess_status): Add `listen' status to doc string. Return |
26327 | `stop' for a stopped network process. | |
048addec JD |
26328 | (Fset_process_buffer): Update contact plist for network process. |
26329 | (Fset_process_filter): Ditto. Don't enable input for stopped | |
26330 | network processes. Server must listen, even if filter is t. | |
26331 | (Fset_process_query_on_exit_flag, Fprocess_query_on_exit_flag): | |
26332 | New functions. | |
26333 | (Fprocess_kill_without_query): Removed. Now defined in simple.el. | |
26334 | (Fprocess_contact): Added KEY argument. Handle datagrams. | |
26335 | (list_processes_1): Optionally show only processes with the query | |
26336 | on exit flag set. Dynamically adjust column widths. Omit tty | |
647b07d1 AS |
26337 | column if not needed. Report stopped network processes. Identify |
26338 | server and datagram network processes. | |
048addec JD |
26339 | (Flist_processes): New optional arg `query-only'. |
26340 | (conv_sockaddr_to_lisp, get_lisp_to_sockaddr_size) | |
26341 | (conv_lisp_to_sockaddr, set_socket_options) | |
647b07d1 AS |
26342 | (network_process_featurep, unwind_request_sigio): New helper |
26343 | functions. | |
048addec JD |
26344 | (Fprocess_datagram_address, Fset_process_datagram_address): |
26345 | (Fset_network_process_options): New lisp functions. | |
26346 | (Fopen_network_stream): Removed. Now defined in simple.el. | |
647b07d1 AS |
26347 | (Fmake_network_process): New lisp function. Code is based on |
26348 | previous Fopen_network_stream, but heavily reworked with new | |
26349 | property list based argument list, support for datagrams, server | |
26350 | processes, and local sockets in addition to old client-only | |
26351 | functionality. | |
048addec JD |
26352 | (server_accept_connection): New function. |
26353 | (wait_reading_process_input): Use it to handle incoming connects. | |
26354 | Do not enable input on a new connection if process is stopped. | |
647b07d1 AS |
26355 | (read_process_output): Handle datagram sockets. Use 2k buffer for |
26356 | them. | |
048addec | 26357 | (send_process): Handle datagram sockets. |
647b07d1 AS |
26358 | (Fstop_process, Fcontinue_process): Apply to network processes. A |
26359 | stopped network process is indicated by setting command field to t. | |
048addec JD |
26360 | (Fprocess_send_eof): No-op if datagram connection. |
26361 | (Fstatus_notify): Don't read input for a stream server socket or a | |
26362 | stopped network process. | |
26363 | (init_process): Initialize datagram_address array. | |
26364 | (syms_of_process): Intern and staticpro new variables, defsubr new | |
26365 | functions. | |
26366 | ||
26367 | 2002-03-16 Jason Rumney <jasonr@gnu.org> | |
26368 | ||
26369 | * w32fns.c (w32_to_all_x_charsets): Return correct type in | |
26370 | startup case. | |
26371 | ||
26372 | 2002-03-16 Richard M. Stallman <rms@gnu.org> | |
26373 | ||
26374 | * xdisp.c (redisplay_internal, redisplay_windows): | |
26375 | Use list_of_error to call internal_condition_case_1. | |
26376 | (safe_eval, safe_call): Pass Qt to internal_condition_case_{1,2} | |
26377 | so as to catch all errors with no possibility of debugger redisplay. | |
26378 | (list_of_error): New variable. | |
26379 | (syms_of_xdisp): Init and staticpro it. | |
26380 | ||
26381 | * print.c (print_object): Delete `\ ' from printed rep of frame. | |
26382 | ||
26383 | 2002-03-15 Eli Zaretskii <eliz@is.elta.co.il> | |
26384 | ||
26385 | * msdos.c (dos_rawgetc): Disable the x-autoselect-window feature, | |
26386 | until its implementation is fixed. | |
26387 | ||
26388 | 2002-03-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
26389 | ||
26390 | * xfns.c (png_load): Remove unused variable `gamma_str'. | |
26391 | ||
26392 | 2002-03-14 Richard M. Stallman <rms@gnu.org> | |
26393 | ||
26394 | * xfns.c (x_real_positions): Handle failure in XQueryTree. | |
26395 | ||
26396 | 2002-03-14 Miles Bader <miles@gnu.org> | |
26397 | ||
26398 | * intervals.c (adjust_for_invis_intang): New function. | |
26399 | (set_point_both): Use `adjust_for_invis_intang' to do most of the | |
26400 | work for dealing with invisible+intangible regions. Do so before | |
26401 | and after both forward and backward movements, to handle both | |
26402 | front-sticky and rear-sticky cases. | |
26403 | * textprop.c (text_property_stickiness): Function moved here from | |
26404 | `editfns.c'. | |
26405 | * intervals.h (text_property_stickiness): New declaration. | |
26406 | * editfns.c (char_property_eq): Function removed. | |
26407 | (text_property_stickiness): Function moved to `textprop.c'. | |
26408 | ||
26409 | 2002-03-13 Jason Rumney <jasonr@gnu.org> | |
26410 | ||
26411 | * config.in: Add STRFTIME_NO_POSIX2. | |
26412 | ||
26413 | * strftime.c (my_strftime) [STRFTIME_NO_POSIX2]: Handle %h, %EX | |
26414 | and %OX when underlying strftime does not. | |
26415 | ||
26416 | 2002-03-13 Stefan Monnier <monnier@cs.yale.edu> | |
26417 | ||
26418 | * xterm.c (x_set_toolkit_scroll_bar_thumb) <USE_MOTIF>: | |
26419 | Use a fixed-size thumb (based on an ad-hoc estimate of 30 chars per | |
26420 | line) to avoid annoying flicker. | |
26421 | (xm_scroll_callback): Get rid of the now unnecessary kludge. | |
26422 | (XTread_socket): Mark it static. | |
26423 | ||
26424 | * xdisp.c (display_mode_element): Fix int/Lisp_Object mixup. | |
26425 | ||
26426 | 2002-03-13 Kim F. Storm <storm@cua.dk> | |
26427 | ||
26428 | * puresize.h (BASE_PURESIZE): Increase to 775000. | |
26429 | ||
26430 | 2002-03-12 Juanma Barranquero <lektu@terra.es> | |
26431 | ||
26432 | * editfns.c (syms_of_editfns): Fix typo. | |
26433 | ||
26434 | 2002-03-12 Gerd Moellmann <gerd@gnu.org> | |
26435 | ||
26436 | * xsmfns.c: Include stdio.h because termhooks.h needs it. | |
26437 | Include termopt.h for interrupt_input. | |
26438 | ||
26439 | 2002-03-11 Andreas Schwab <schwab@suse.de> | |
26440 | ||
26441 | * coding.c (syms_of_coding) <file-coding-system-alist>: Doc fix. | |
26442 | ||
26443 | 2002-03-11 Gerd Moellmann <gerd@gnu.org> | |
26444 | ||
26445 | * xterm.c (note_mouse_movement): Put code for | |
26446 | x_autoselect_window_p in #if 0. | |
26447 | ||
26448 | * lread.c (Fload): Don't assume that message_with_string uses the | |
26449 | string it is given like a C string. | |
26450 | ||
26451 | 2002-03-10 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> | |
26452 | ||
78819ebb | 26453 | * xterm.h (x_session_check_input, x_session_initialize): Declare. |
048addec | 26454 | |
52eb0373 | 26455 | * xterm.c (XTread_socket): Add call to x_session_check_input and |
048addec JD |
26456 | x_session_have_connection. |
26457 | (x_initialize): Add call to x_session_initialize. | |
26458 | ||
26459 | * termhooks.h (enum event_kind): Add save_session_event. | |
26460 | ||
26461 | * keyboard.c: Add Emacs event save_session_event. | |
26462 | ||
26463 | * emacs.c (main): Add call to syms_of_xsmfns. | |
26464 | ||
78819ebb | 26465 | * lisp.h (syms_of_xsmfns): Declare extern. |
048addec JD |
26466 | |
26467 | * config.in: Add HAVE_X_SM. | |
26468 | ||
26469 | * Makefile.in (LIBXT): Add -lSM -lICE | |
26470 | if HAVE_X_SM and not USE_X_TOOLKIT. | |
26471 | (XOBJ): New file xsmfns.c added. | |
26472 | ||
26473 | * xsmfns.c: New file for X session management. | |
26474 | ||
26475 | 2002-03-09 Jason Rumney <jasonr@gnu.org> | |
26476 | ||
26477 | * fileio.c (Fcopy_file) [WINDOWS_NT]: Ensure file is not | |
26478 | read-only when setting modified time. | |
26479 | ||
26480 | 2002-03-08 Gerd Moellmann <gerd@gnu.org> | |
26481 | ||
26482 | * xdisp.c (move_it_vertically_backward): At the end of the function, | |
26483 | when moving forward by lines, treat terminal frames specially. | |
26484 | ||
26485 | * keyboard.c (echo_char): Make sure to add a separator between | |
26486 | keys even if echo_dash hasn't been called. | |
26487 | ||
26488 | * xdisp.c: Use new string macros. | |
26489 | (update_echo_area): Pass number of bytes to message3 instead of | |
26490 | number of chars. | |
26491 | (set_message_1): Don't access a string's size_byte directly. | |
26492 | (decode_mode_spec_coding): Use number of bytes of eoltype string | |
26493 | instead number of chars. | |
26494 | ||
26495 | * lisp.h (SREF, SDATA, SCHARS, SBYTES, SMBP): New macros. | |
26496 | ||
26497 | 2002-03-08 Juanma Barranquero <lektu@terra.es> | |
26498 | ||
26499 | * w32fns.c (Fx_display_color_cells): Force 24+ bit color depths to | |
26500 | 24-bit. | |
26501 | ||
26502 | 2002-03-06 Jason Rumney <jasonr@gnu.org> | |
26503 | ||
26504 | * w32term.c (x_draw_hollow_cursor): Draw same size as block cursor. | |
26505 | ||
26506 | 2002-03-06 Gerd Moellmann <gerd@gnu.org> | |
26507 | ||
26508 | * keyboard.c (echo_prompt, echo_char, echo_dash, echo_now) | |
26509 | (cancel_echoing, echo_length, echo_truncate): Changed to | |
26510 | work with new kboard definition. | |
26511 | (echo_now): Use message3_nolog instead of message2_nolog. | |
26512 | ||
26513 | * alloc.c (mark_kboards): Mark echo_string. | |
26514 | ||
26515 | * keyboard.h (ECHOBUFSIZE): Removed. | |
26516 | (struct kboard): Member echoptr removed, member echobuf renamed | |
26517 | to echo_string. | |
26518 | ||
26519 | * xdisp.c (message_with_string): Use Fformat instead of doprnt and | |
26520 | message3 instead of message2 to display the message using STRING's | |
26521 | text properties. | |
26522 | ||
26523 | 2002-03-05 Andreas Schwab <schwab@suse.de> | |
26524 | ||
26525 | * xdisp.c (hscroll_margin): Change to EMACS_INT. | |
26526 | ||
26527 | 2002-03-05 Per Abrahamsen <abraham@dina.kvl.dk> | |
26528 | ||
26529 | * frame.c (default-frame-alist): Explain that setting it doesn't | |
26530 | affect existing frames. | |
26531 | ||
26532 | 2002-03-05 Stefan Monnier <monnier@cs.yale.edu> | |
26533 | ||
26534 | * indent.c (skip_invisible): Fix my brain fart. | |
26535 | ||
26536 | * dispnew.c (sit_for): Don't wait if executing a kbd macro. | |
26537 | ||
26538 | 2002-03-04 Stefan Monnier <monnier@cs.yale.edu> | |
26539 | ||
26540 | * dosfns.c, dosfns.h, dispnew.c, dispextern.h, commands.h, charset.c, | |
26541 | * alloc.c, abbrev.c, emacs.c, eval.c, keyboard.c, keyboard.h, | |
26542 | * lisp.h, lread.c, sysdep.c, termcap.c, termchar.h, w32term.c, | |
26543 | * window.c, xdisp.c, xselect.c, xterm.c: Change defvar_int definition | |
26544 | and variables to use EMACS_INT instead of just int. | |
26545 | ||
26546 | * buffer.c (syms_of_buffer): Allow non-string `mode-name'. | |
26547 | ||
26548 | 2002-03-04 Eli Zaretskii <eliz@is.elta.co.il> | |
26549 | ||
26550 | * sysdep.c (sys_subshell) [MSDOS]: If PWD is set in the | |
26551 | environment, pass it down with corrected value. | |
26552 | ||
26553 | 2002-03-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
26554 | ||
26555 | * lread.c (read_filtered_event): Do not call start_hourglass | |
26556 | before returning. | |
26557 | ||
26558 | 2002-03-04 Juanma Barranquero <lektu@terra.es> | |
26559 | ||
26560 | * w32term.c (x_display_and_set_cursor): Fix typo. | |
26561 | ||
26562 | 2002-03-03 Richard M. Stallman <rms@gnu.org> | |
26563 | ||
26564 | * fileio.c (Fmake_temp_name): Doc fix. | |
26565 | ||
26566 | 2002-03-03 Gary Wong <gtw@gnu.org> | |
26567 | ||
26568 | * termcap.c [!emacs]: Replace ospeed for building standalone | |
26569 | libtermcap, for binary compatibility. | |
26570 | ||
26571 | * tparam.c [!emacs]: Move #define of bcopy to after string.h. | |
26572 | ||
26573 | 2002-03-03 Richard M. Stallman <rms@gnu.org> | |
26574 | ||
26575 | * xrdb.c (file_p): Rename arg `path' to `filename'. | |
26576 | ||
26577 | * abbrev.c (Fexpand_abbrev): Increment plist as use count | |
26578 | only if it is an integer. | |
26579 | ||
26580 | * xfns.c (png_load): Set screen_gamma based on f->gamma. | |
26581 | If png_get_sRGB gives an answer, call png_set_gamma | |
26582 | using the default image gamma value. | |
26583 | ||
26584 | * lread.c (read1): When reading from a file, default string to | |
26585 | multibyte only if it has some multibyte characters. | |
26586 | ||
26587 | * print.c (print_object): Output multibyte chars 128...255 | |
26588 | using \x even if ! print_escape_multibyte. | |
26589 | ||
26590 | * xdisp.c (display_mode_element): Move the places where | |
26591 | bytepos, charpos, this, and lisp_string are set. | |
26592 | Use lisp_string to set bytepos. | |
26593 | ||
26594 | * xdisp.c (redisplay_internal): | |
26595 | Call clear_image_cache only if HAVE_WINDOW_SYSTEM. | |
26596 | ||
26597 | * xdisp.c (display_mode_element): Merge properties specified with | |
26598 | :propertize onto those that come with the string. | |
26599 | ||
26600 | 2002-03-03 Eli Zaretskii <eliz@is.elta.co.il> | |
26601 | ||
26602 | * xdisp.c (syms_of_xdisp) <auto-hscroll-mode>: Renamed from | |
26603 | automatic-hscrolling. Users changed. | |
26604 | <hscroll-margin>: Renamed from automatic-hscroll-margin. | |
26605 | Users changed. | |
26606 | <hscroll-step>: Renamed from automatic-hscroll-step. Users changed. | |
26607 | ||
26608 | 2002-03-02 Eli Zaretskii <eliz@is.elta.co.il> | |
26609 | ||
26610 | * buffer.c (syms_of_buffer) <buffer-file-coding-system>: Doc fix. | |
26611 | ||
26612 | 2002-03-02 Kim F. Storm <storm@cua.dk> | |
26613 | ||
26614 | * window.c (Fminibuffer_selected_window): New function. | |
26615 | (syms_of_window): Defsubr it. | |
26616 | ||
26617 | 2002-03-01 Kim F. Storm <storm@cua.dk> | |
26618 | ||
26619 | * window.h (struct window): New member phys_cursor_width. | |
26620 | ||
26621 | * window.c (make_window, replace_window): Init phys_cursor_width. | |
26622 | ||
26623 | * xterm.c (x_display_and_set_cursor): Blink box cursor using | |
26624 | hollow box cursor. Blink bar cursor using 1 pixel wide bar. | |
26625 | ||
26626 | * w32term.c (x_display_and_set_cursor): Blink box cursor using | |
26627 | hollow box cursor. Blink bar cursor using 1 pixel wide bar. | |
26628 | ||
26629 | * lisp.h (GCPRO6): New macro. | |
26630 | ||
26631 | * process.c (Fopen_network_stream): Use GCPRO6. | |
26632 | ||
26633 | 2002-03-01 Kim F. Storm <storm@cua.dk> | |
26634 | ||
26635 | * process.c (Qconnect, Qfailed): New variables. | |
26636 | (syms_of_process): Intern and staticpro them. | |
26637 | (Fprocess_status): Document connect and failed return values. | |
26638 | [NON_BLOCKING_CONNECT]: New conditional. | |
26639 | (connect_wait_mask, num_pending_connects): New variables. | |
26640 | (status_message): Convert Qfailed status. | |
26641 | (Fopen_network_stream): Added support for non-blocking connect. | |
26642 | New optional args: filter, sentinel, non_blocking. Doc updated. | |
26643 | [HAVE_GETADDRINFO, !HAVE_GETADDRINFO]: Merged common code. | |
26644 | (deactivate_process): Handle pending non-blocking connect. | |
26645 | (wait_reading_process_input): Poll for status of non-blocking | |
26646 | connects. Exec sentinel directly when connect succeeds. | |
26647 | (status_notify): Don't read process output if not yet connected. | |
26648 | ||
26649 | 2002-02-28 Kim F. Storm <storm@cua.dk> | |
26650 | ||
9dd28cae | 26651 | * window.c (minibuf_selected_window): Renamed from |
048addec JD |
26652 | Vminibuf_selected_window. Users changed. |
26653 | (syms_of_window): Staticpro it. | |
26654 | ||
26655 | 2002-02-26 Kim F. Storm <storm@cua.dk> | |
26656 | ||
26657 | The following changes add a new Vminibuf_selected_window variable | |
26658 | which is similar to Vminibuf_scroll_window, but which is only set | |
26659 | on entry to the minibuffer (from a non-minibuffer window): | |
26660 | ||
9dd28cae | 26661 | * window.c (Vminibuf_selected_window): New variable. |
048addec JD |
26662 | (struct save_window_data): New member minibuf_selected_window. |
26663 | (Fset_window_configuration): Restore Vminibuf_selected_window. | |
26664 | (Fcurrent_window_configuration): Save Vminibuf_selected_window. | |
26665 | Set minibuf_scroll_window member to nil if minibuf_level is 0. | |
26666 | (compare_window_configurations): Compare minibuf_selected_window. | |
26667 | ||
9dd28cae | 26668 | * window.h (Vminibuf_selected_window): Declare extern. |
048addec JD |
26669 | |
26670 | * minibuf.c (read_minibuf): Set Vminibuf_selected_window on first | |
26671 | entry to minibuffer or on entry from a non-minibuffer window. | |
26672 | ||
26673 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): Compare with | |
26674 | Vminibuf_selected_window instead of Vminibuf_scroll_window. | |
26675 | ||
26676 | * xdisp.c (init_iterator): Compare with Vminibuf_selected_window | |
26677 | instead of Vminibuf_scroll_window when deciding in which window | |
26678 | the region should be highlighted. Consequently, the region remains | |
26679 | highlighteded even when a completion buffer is also displayed. | |
26680 | ||
26681 | 2002-02-26 Eli Zaretskii <eliz@is.elta.co.il> | |
26682 | ||
26683 | * fileio.c (Fsubstitute_in_file_name): Fix the change from 2002-02-08. | |
26684 | ||
26685 | * xselect.c (Qcompound_text_with_extensions): Renamed from | |
26686 | Qcompound_text_no_extensions. | |
26687 | (lisp_data_to_selection_data, syms_of_xselect): Use the new name. | |
26688 | ||
26689 | 2002-02-26 Juanma Barranquero <lektu@terra.es> | |
26690 | ||
26691 | * w32proc.c (syms_of_ntproc): Doc fix. | |
26692 | ||
26693 | 2002-02-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
26694 | ||
26695 | * intervals.h: Include "dispextern.h" unconditionally. | |
26696 | ||
26697 | 2002-02-24 Jason Rumney <jasonr@gnu.org> | |
26698 | ||
26699 | * Makefile.in (WINNT_SUPPORT) [WINDOWSNT]: Add w32-vars.elc | |
26700 | and disp-table.elc. | |
26701 | (lisp): Add emacs-lisp/backquote.elc. | |
26702 | ||
26703 | 2002-02-24 Kim F. Storm <storm@cua.dk> | |
26704 | ||
3419757d | 26705 | * keymap.c (Flookup_key): Fix problem in 2001-12-28 patch: |
048addec JD |
26706 | The validation of the event type was too strict as it didn't |
26707 | allow string events; buffer names are used in bindings for | |
26708 | menu-bar-select-buffer (see `menu-bar-update-buffers'). | |
26709 | ||
26710 | 2002-02-23 Kim F. Storm <storm@cua.dk> | |
26711 | ||
26712 | The following changes rework my patch of 2002-02-06 which | |
26713 | added command remapping by entering the commands directly into | |
26714 | the keymaps. Now, command remapping uses an explicit `remap' | |
26715 | prefix in the keymaps, i.e. [remap COMMAND]. | |
26716 | ||
26717 | * keymap.c (Qremap, remap_command_vector): New variables. | |
3419757d | 26718 | (is_command_symbol): Remove function. |
048addec JD |
26719 | (Fdefine_key): No longer accept a symbol for KEY. |
26720 | Added validation of [remap COMMAND] argument for KEY. | |
26721 | The DEF is no longer required to be a symbol when remapping a command. | |
26722 | (Fremap_command): New function to remap command through keymaps. | |
26723 | (Flookup_key): Perform command remapping initiated by | |
26724 | Fremap_command directly for speed. | |
26725 | (Fkey_binding): Use Fremap_command for command remapping. | |
26726 | (where_is_internal): Handle new command remapping representation. | |
26727 | (syms_of_keymap): Intern Qremap, initialize remap_command_vector, | |
26728 | staticpro them. Defsubr Fremap_command. | |
26729 | ||
26730 | * keymap.h (Fremap_command): Declare extern. | |
26731 | (is_command_symbol): Remove extern. | |
26732 | ||
26733 | * keyboard.c (command_loop_1): Use Fremap_command for command | |
26734 | remapping; now try command remapping for all symbols. | |
26735 | ||
26736 | 2002-02-23 Eli Zaretskii <eliz@is.elta.co.il> | |
26737 | ||
26738 | * coding.h (run_pre_post_conversion_on_str): Add prototype. | |
26739 | ||
26740 | 2002-02-23 Jason Rumney <jasonr@gnu.org> | |
26741 | ||
26742 | * w32select.c (Fw32_set_clipboard_data): Run pre-write-conversion | |
26743 | on the string before encoding it. | |
26744 | (Fw32_get_clipboard_data): Run post-read-conversion on the string | |
26745 | after decoding it. | |
26746 | ||
26747 | * w32fns.c (w32_wnd_proc) <WM_TIMER>: Fix last change. | |
26748 | ||
26749 | 2002-02-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
26750 | ||
26751 | * w32term.c (enter_timestamp): Remove unused static variable to | |
26752 | prevent warning. | |
26753 | ||
26754 | * xterm.c (enter_timestamp): Put in #if 0 to prevent warning. | |
26755 | ||
26756 | 2002-02-23 Eli Zaretskii <eliz@is.elta.co.il> | |
26757 | ||
26758 | * w16select.c (Fw16_get_clipboard_data): Fix last change. | |
26759 | ||
26760 | * xselect.c (selection_data_to_lisp_data): Fix last change. | |
26761 | ||
26762 | 2002-02-22 Jason Rumney <jasonr@gnu.org> | |
26763 | ||
26764 | * w32term.h (struct w32_output): New member menu_command_in_progress. | |
26765 | ||
26766 | * w32menu.c (menubar_selection_callback): Free the menu and | |
26767 | clear the menu_command_in_progress flag. | |
26768 | ||
26769 | * w32fns.c (mouse_move_timer, mouse_button_timer): Initialize. | |
26770 | (menu_free_timer): New variable. | |
26771 | (MENU_FREE_ID, MENU_FREE_DELAY): New constants. | |
26772 | (w32_wnd_proc) <WM_TIMER>: Handle menu_free_timer. | |
26773 | <WM_EXITMENULOOP>: Delay before freeing menu. Do nothing if a | |
26774 | menu command is in progress. | |
26775 | <WM_COMMAND>: Set the menu_command_in_progress flag. | |
26776 | Kill any menu_free_timer that is running. | |
26777 | ||
26778 | * w32term.c (w32_text_out): Renamed from W32_TEXTOUT. | |
26779 | Call ExtTextOutA rather than ExtTextOut. | |
26780 | ||
26781 | 2002-02-22 Eli Zaretskii <eliz@gnu.org> | |
26782 | ||
26783 | * puresize.h (BASE_PURESIZE): Increase to 755000. | |
26784 | ||
26785 | 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il> | |
26786 | ||
26787 | * w16select.c (Fw16_set_clipboard_data): Run pre-write-conversion | |
26788 | on the string before encoding it. | |
26789 | (Fw16_get_clipboard_data): Run post-read-conversion on the string | |
26790 | after decoding it. | |
26791 | ||
26792 | 2002-02-22 Eli Zaretskii <eliz@is.elta.co.il> | |
26793 | ||
9dd28cae | 26794 | Support for ICCCM Extended Segments in X selections: |
048addec JD |
26795 | |
26796 | * xselect.c <Qcompound_text_no_extensions>: New variable. | |
26797 | (syms_of_xselect): Intern and staticpro it. | |
26798 | (selection_data_to_lisp_data): Run post-read-conversion on decoded | |
26799 | selection text. | |
26800 | (lisp_data_to_selection_data): If next-selection-coding-system is | |
26801 | compound-text-no-extensions, set the type of selection to be | |
26802 | compound-text. | |
26803 | ||
26804 | * xterm.h (x_encode_text): Update prototype. | |
26805 | ||
26806 | * xfns.c (x_encode_text): Accept additional arg SELECTIONP; all | |
26807 | callers changed. If SELECTIONP is non-zero, run the | |
26808 | pre-write-conversion function before encoding the selection text. | |
26809 | ||
26810 | 2002-02-21 Kim F. Storm <storm@cua.dk> | |
26811 | ||
26812 | * frame.c (syms_of_frame): Change mouse-highlight default to t. | |
26813 | ||
26814 | * keyboard.c (kbd_buffer_get_event) [WINDOWSNT]: | |
26815 | Correct composing of language-change event. | |
26816 | ||
26817 | 2002-02-20 Kim F. Storm <storm@cua.dk> | |
26818 | ||
26819 | * keyboard.c (menu_bar_items): Don't include keymap or local-map | |
26820 | bindings at PT when building menu (the menu is not updated often | |
26821 | enough for this to work reliable). | |
26822 | (tool_bar_items): Likewise. | |
26823 | (current_active_maps): Removed unused (and buggy) function. | |
26824 | ||
26825 | 2002-02-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> | |
26826 | ||
26827 | * xfns.c (gif_load): Use correct width and height for GIF images. | |
26828 | ||
26829 | 2002-02-19 Eli Zaretskii <eliz@is.elta.co.il> | |
26830 | ||
26831 | * floatfns.c (Fatan): Accept an optional second arg and call | |
26832 | atan2 if passed 2 args. | |
26833 | ||
26834 | 2002-02-18 Jason Rumney <jasonr@gnu.org> | |
26835 | ||
26836 | * w32term.c (glyph_rect): Determine the row and glyph more precisely. | |
26837 | ||
26838 | 2002-02-17 Jason Rumney <jasonr@gnu.org> | |
26839 | ||
26840 | * w32term.c (x_autoselect_window_p): New variable. | |
26841 | (syms_of_w32term): DEFVAR_BOOL and initialize it. | |
26842 | (note_mouse_movement): Use it. | |
26843 | ||
26844 | * w32fns.c (w32_load_system_font): Never set fonts_changed_p to zero. | |
26845 | ||
26846 | * w32bdf.c (w32_load_bdf_font): Maybe set fonts_changed_p. | |
26847 | ||
26848 | * w32fns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): | |
26849 | New variables. | |
26850 | (syms_of_w32fns): Intern and staticpro them. | |
26851 | (x_frame_parms) <"fullscreen">: New parameter. | |
26852 | (x_fullscreen_move, x_set_fullscreen): New functions. | |
26853 | (x_set_frame_parameters): Support Qfullscreen. | |
26854 | (x_real_positions): Save x/y_pixels_diff frame params. | |
26855 | (x_figure_window_size): Support full-screen frames. | |
26856 | (Fx_create_frame): Default the fullscreen parameter. | |
26857 | ||
26858 | * w32term.c (x_check_fullscreen, x_check_fullscreen_move) | |
26859 | (x_fullscreen_adjust): New functions. | |
5e1a6e32 | 26860 | (w32_read_socket) <WM_WINDOWPOSCHANGED>: Don't resize to |
048addec JD |
26861 | fullscreen. Call x_check_fullscreen_move, and set the |
26862 | want_fullscreen member of output_data.w32 | |
26863 | <WM_ACTIVATE, WM_ACTIVATEAPP>: Call x_check_fullscreen. | |
26864 | ||
26865 | * w32term.h: New enum for FULLSCREEN_* constants. | |
26866 | (struct w32_output): New members want_fullscreen, x_pixels_diff, | |
26867 | y_pixels_diff, x_pixels_outer_diff, and y_pixels_outer_diff. | |
26868 | (x-fullscreen-adjust): New prototype. | |
26869 | ||
26870 | 2002-02-17 Kim F. Storm <storm@cua.dk> | |
26871 | ||
52eb0373 | 26872 | * frame.c (Vmouse_highlight): New variable. |
048addec JD |
26873 | (syms_of_frame): DEFVAR_LISP it. |
26874 | ||
52eb0373 | 26875 | * frame.h (Vmouse_highlight): Declare extern. |
8a8e19a3 | 26876 | |
048addec | 26877 | * xterm.h (struct x_display_info): Add mouse_face_hidden. |
8a8e19a3 | 26878 | |
048addec JD |
26879 | * xterm.c (disable_mouse_highlight): Removed variable. |
26880 | (note_mouse_highlight): Don't highlight if Vmouse_highlight is nil. | |
5e1a6e32 | 26881 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. |
048addec JD |
26882 | (XTread_socket): Turn mouse_face_hidden off after mouse movement, |
26883 | and on after keyboard input. | |
26884 | (x_term_init): Initialize mouse_face_hidden. | |
8a8e19a3 | 26885 | |
048addec | 26886 | * msdos.h (struct display_info): Add mouse_face_hidden. |
8a8e19a3 | 26887 | |
048addec | 26888 | * msdos.c (disable_mouse_highlight): Removed variable. |
5e1a6e32 | 26889 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. |
048addec JD |
26890 | (IT_note_mouse_highlight): Don't highlight if Vmouse_highlight is nil. |
26891 | (internal_terminal_init): Initialize mouse_face_hidden. | |
26892 | (dos_rawgetc): Turn mouse_face_hidden off after mouse movement, | |
26893 | and on after keyboard input. | |
4f1b1854 | 26894 | |
048addec | 26895 | * w32term.h (struct w32_display_info): Add mouse_face_hidden. |
4f1b1854 | 26896 | |
048addec JD |
26897 | * w32term.c (disable_mouse_highlight): Removed variable. |
26898 | (note_mouse_highlight): Disable highlight if Vmouse_highlight is nil. | |
5e1a6e32 | 26899 | (show_mouse_face): Don't show highlight if mouse_face_hidden is set. |
048addec JD |
26900 | (w32_read_socket): Turn mouse_face_hidden off after mouse movement, |
26901 | and on after keyboard input. | |
26902 | (w32_initialize_display_info): Initialize mouse_face_hidden. | |
4f1b1854 | 26903 | |
048addec | 26904 | 2002-02-16 Eli Zaretskii <eliz@is.elta.co.il> |
4f1b1854 | 26905 | |
048addec JD |
26906 | * msdos.c (last_mouse_window): New variable. |
26907 | (dos_rawgetc): Fix last change--if the mouse is in the same window | |
26908 | as recorded in last_mouse_window, don't select this window. | |
5cb6905d | 26909 | |
048addec | 26910 | * Makefile.in (lisp, shortlisp): Use cus-start.elc, not cus-start.el. |
5cb6905d | 26911 | |
048addec JD |
26912 | * msdos.c (x_autoselect_window_p): New variable. |
26913 | (syms_of_msdos): Defvar it. | |
26914 | (dos_rawgetc): If x_autoselect_window_p is set, select the window in | |
26915 | which the last mouse movement occured, unless it is already selected. | |
437dfb9f | 26916 | |
048addec JD |
26917 | * xdisp.c (automatic_hscroll_margin, Vautomatic_hscroll_step): |
26918 | New variables. | |
26919 | (syms_of_xdisp): DEVFAR them. | |
26920 | (hscroll_window_tree): Use automatic_hscroll_margin and | |
26921 | Vautomatic_hscroll_step to compute the amount of window scrolling. | |
437dfb9f | 26922 | |
048addec | 26923 | 2002-02-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9f696a00 | 26924 | |
048addec JD |
26925 | * xterm.c (x-autoselect-window): New variable. |
26926 | (note_mouse_movement): Use it. | |
9f696a00 | 26927 | |
048addec | 26928 | * keyboard.c: Do not include "systime.h" twice. |
d57966d7 | 26929 | |
048addec | 26930 | 2002-02-15 Andreas Schwab <schwab@suse.de> |
d57966d7 | 26931 | |
bfa02563 | 26932 | * puresize.h (PURESIZE_RATIO): Increase to 9/5. |
d57966d7 | 26933 | |
048addec | 26934 | * alloc.c (NSTATICS): Increase to 1280. |
74779f52 | 26935 | |
048addec | 26936 | 2002-02-15 Kai Gro\e,A_\e(Bjohann <Kai.Grossjohann@CS.Uni-Dortmund.DE> |
74779f52 | 26937 | |
048addec | 26938 | * alloc.c (NSTATICS): Bump to 1026. |
a474d59c | 26939 | |
048addec JD |
26940 | * xterm.c (Vx_alt_keysym, Vx_hyper_keysym, Vx_meta_keysym) |
26941 | (Vx_super_keysym): New variables. | |
26942 | (syms_of_xterm): DEFVAR_LISP them. | |
26943 | (x_x_to_emacs_modifiers, x_emacs_to_x_modifiers): Use the | |
26944 | variables to determine which keys to use for the various modifiers. | |
a474d59c | 26945 | |
048addec | 26946 | 2002-02-13 Kim F. Storm <storm@cua.dk> |
fbb70ad9 | 26947 | |
9dd28cae | 26948 | * window.c (Vmode_line_in_non_selected_windows): Removed. |
048addec JD |
26949 | (mode_line_in_non_selected_windows): New variable. |
26950 | (syms_of_window): DEFVAR_BOOL it. | |
fbb70ad9 | 26951 | |
048addec JD |
26952 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): |
26953 | Use mode_line_in_non_selected_windows. | |
26954 | (mode_line_in_non_selected_windows): Declare extern. | |
26955 | (Vmode_line_in_non_selected_windows): Removed extern. | |
2d10309f | 26956 | |
048addec | 26957 | 2002-02-13 Richard M. Stallman <rms@gnu.org> |
2d10309f | 26958 | |
048addec JD |
26959 | * keyboard.c (Fthis_command_keys, Fthis_command_keys_vector) |
26960 | (Fthis_single_command_keys, Fthis_single_command_raw_keys) | |
26961 | (Fclear_this_command_keys): Doc fixes. | |
2d10309f | 26962 | |
048addec JD |
26963 | * xfaces.c (Finternal_make_lisp_face, Finternal_copy_lisp_face) |
26964 | (update_face_from_frame_parameter): Increment face_change_count | |
26965 | and windows_or_buffers_changed to force redisplay using changed faces. | |
7f2cddf3 | 26966 | |
048addec JD |
26967 | * xdisp.c (QCpropertize): New variable. |
26968 | (mode_line_proptrans_alist): New variable. | |
26969 | (display_mode_element): New arg PROPS; all calls changed. | |
26970 | Implement this, for strings. | |
26971 | Handle literal output of strings by sharing the | |
26972 | main-line code for strings, using local var `literal'. | |
26973 | Handle :propertize feature. | |
26974 | (syms_of_xdisp): Initialze and staticpro QCpropertize and | |
26975 | mode_line_proptrans_alist. | |
0b1e6b54 | 26976 | |
048addec | 26977 | 2002-02-11 Kim F. Storm <storm@cua.dk> |
7f2cddf3 | 26978 | |
9dd28cae | 26979 | * window.c (Vmode_line_in_non_selected_windows): New variable. |
048addec | 26980 | (syms_of_window): DEFVAR_LISP it. |
7f2cddf3 | 26981 | |
048addec JD |
26982 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID_3): New macro. |
26983 | (CURRENT_MODE_LINE_FACE_ID): Use it. | |
26984 | (Vmode_line_in_non_selected_windows): Declare extern. | |
e17144de | 26985 | |
048addec JD |
26986 | * xdisp.c (display_mode_lines): Use CURRENT_MODE_LINE_FACE_ID_3 |
26987 | to get mode line face. | |
e17144de | 26988 | |
048addec | 26989 | 2002-02-11 Eli Zaretskii <eliz@is.elta.co.il> |
6637c996 | 26990 | |
048addec JD |
26991 | * msdos.c (Vx_bitmap_file_path, x_stretch_cursor_p): Remove these |
26992 | variables; cus-start.el doesn't need them anymore. | |
44368f8f | 26993 | |
048addec | 26994 | 2002-02-09 Kim F. Storm <storm@cua.dk> |
f884b6f4 | 26995 | |
048addec JD |
26996 | * insdel.c (make_gap_smaller): Preserve BEG_UNCHANGED during gap |
26997 | reduction. This fixes a display problem where stray newlines were | |
26998 | inserted in the window (corrected by C-l). Clarified code (IMHO). | |
6637c996 | 26999 | |
048addec | 27000 | 2002-02-09 Eli Zaretskii <eliz@is.elta.co.il> |
6637c996 | 27001 | |
048addec | 27002 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID): Fix last change. |
6637c996 | 27003 | |
048addec | 27004 | * xdisp.c (display_mode_lines): Fix last change. |
453c5510 | 27005 | |
048addec | 27006 | 2002-02-09 Jason Rumney <jasonr@gnu.org> |
453c5510 | 27007 | |
048addec JD |
27008 | * w32fns.c (enum_font_cb2): Don't let charsets unknown to Windows |
27009 | match each other. | |
27010 | (w32_load_system_font): Prevent Cleartype fonts from loading. | |
27011 | (Fx_show_tip): Ensure tip frames are above other topmost windows. | |
d1d070e3 | 27012 | |
048addec | 27013 | 2002-02-09 Kim F. Storm <storm@cua.dk> |
d1d070e3 | 27014 | |
048addec JD |
27015 | * dispextern.h (CURRENT_MODE_LINE_FACE_ID): New macro. |
27016 | (CURRENT_MODE_LINE_HEIGHT): Use it. | |
27017 | (enum face_id): Add MODE_LINE_INACTIVE_FACE_ID. | |
9ec1bdb6 | 27018 | |
048addec JD |
27019 | * xdisp.c (window_box_height): Use CURRENT_MODE_LINE_FACE_ID. |
27020 | (pos_visible_p, handle_face_prop): Likewise. | |
27021 | (display_mode_lines): Likewise, but for the real selected window. | |
27022 | (init_iterator) [row == NULL]: Handle MODE_LINE_INACTIVE_FACE_ID. | |
9ec1bdb6 | 27023 | |
048addec JD |
27024 | * xfaces.c (Qmode_line_inactive): New face variable for mode-line |
27025 | in non-selected windows. | |
27026 | (realize_basic_faces): Realize it. | |
27027 | (syms_of_term): Intern and staticpro it. | |
308dd672 | 27028 | |
048addec | 27029 | 2002-02-08 Kim F. Storm <storm@cua.dk> |
edde72f6 | 27030 | |
048addec JD |
27031 | * alloc.c (SETJMP_WILL_LIKELY_WORK, SETJMP_WILL_NOT_WORK): |
27032 | Changed mail addresses to emacs-devel@gnu.org. | |
308dd672 | 27033 | |
048addec | 27034 | 2002-02-08 Eli Zaretskii <eliz@is.elta.co.il> |
3c1e6b46 | 27035 | |
048addec JD |
27036 | * fileio.c (Fsubstitute_in_file_name): If the file name includes |
27037 | ~user, and there's no such user, don't discard everything before ~user. | |
03950b5b | 27038 | |
048addec | 27039 | * floatfns.c (Fround): Doc fix. |
3c1e6b46 | 27040 | |
048addec | 27041 | 2002-02-08 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c1e11810 | 27042 | |
048addec | 27043 | * sysdep.c (init_system_name): Put unused variable `p' in #if 0. |
c1e11810 | 27044 | |
048addec | 27045 | 2002-02-07 Stefan Monnier <monnier@cs.yale.edu> |
1996baee | 27046 | |
048addec | 27047 | * lisp.h (Fx_file_dialog): Add extern decl (used in fileio.c). |
1996baee | 27048 | |
048addec | 27049 | 2002-02-07 Kim F. Storm <storm@cua.dk> |
0065bb74 | 27050 | |
048addec JD |
27051 | * keymap.c (where_is_internal): Only check whether definition is |
27052 | remapped if it fulfills is_command_symbol. | |
0065bb74 | 27053 | |
048addec | 27054 | 2002-02-07 Andreas Schwab <schwab@suse.de> |
0065bb74 | 27055 | |
048addec | 27056 | * s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT): Define to 2 for m68k. |
b5cb6072 | 27057 | |
048addec | 27058 | * alloc.c (mark_stack): Don't assume sizeof (Lisp_Object) is 4. |
b5cb6072 | 27059 | |
048addec | 27060 | 2002-02-06 Kim F. Storm <storm@cua.dk> |
15fff01d | 27061 | |
048addec JD |
27062 | * keymap.c (Fdefine_key): Allow symbol as KEY argument for |
27063 | defining command remapping. Doc updated. | |
27064 | (Flookup_key): Remap command through keymap if KEY is a symbol. | |
27065 | (is_command_symbol): New function. | |
27066 | (Fkey_binding): Use it. New optional argument NO-REMAP. | |
27067 | Doc updated. Callers changed. Perform command remapping via | |
27068 | recursive call unless that arg is non-nil. | |
27069 | (where_is_internal): New argument no_remap. Callers changed. | |
27070 | Call recursively to find original key bindings for a remapped | |
27071 | comand unless that arg is non-nil. | |
27072 | (Fwhere_is_internal): New optional argument NO-REMAP. | |
27073 | Doc updated. Callers changed. Pass arg to where_is_internal. | |
0065bb74 | 27074 | |
048addec | 27075 | * keymap.h (Fkey_binding, Fwhere_is_internal): Update prototype. |
3419757d | 27076 | (is_command_symbol): Add prototype. |
0d8466cc | 27077 | |
048addec JD |
27078 | * keyboard.c (Vthis_original_command): New variable. |
27079 | (syms_of_keyboard): DEFVAR_LISP it. | |
27080 | (command_loop_1): Set it, and perform command remapping. | |
15fff01d | 27081 | |
048addec | 27082 | 2002-02-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2fae9111 | 27083 | |
048addec | 27084 | * keyboard.c (recursive_edit_1): Call cancel_hourglass unconditionally. |
2d6c1fc0 | 27085 | |
048addec | 27086 | 2002-02-06 Jason Rumney <jasonr@gnu.org> |
07025a55 | 27087 | |
048addec | 27088 | * w32term.c (w32_native_per_char_metric): Disable 2002-01-20 change. |
07025a55 | 27089 | |
048addec | 27090 | 2002-02-06 Eli Zaretskii <eliz@is.elta.co.il> |
07025a55 | 27091 | |
048addec | 27092 | * charset.c (get_charset_id): Use if-else instead of ?:. |
3a232704 | 27093 | |
048addec | 27094 | 2002-02-06 Richard M. Stallman <rms@gnu.org> |
539e92ad | 27095 | |
048addec | 27096 | * filelock.c (S_ISLNK): Define if not defined. |
3a232704 | 27097 | |
048addec | 27098 | 2002-02-03 Richard M. Stallman <rms@gnu.org> |
0cb8bb48 | 27099 | |
048addec | 27100 | * fileio.c (Fdo_auto_save): Improve "auto save disabled" msg. |
539e92ad | 27101 | |
048addec JD |
27102 | * lread.c (read1): Redesign strategy for force_multibyte and |
27103 | force_singlebyte. Now is_multibyte records whether read_buffer | |
27104 | is multibyte. Encountering any multibyte character makes it so. | |
4e02881b | 27105 | |
048addec | 27106 | 2002-02-02 Stefan Monnier <monnier@cs.yale.edu> |
4e02881b | 27107 | |
048addec JD |
27108 | * term.c (term_get_fkeys_1): If `k0' and `k;' are both specified and |
27109 | with the same sequence, map that sequence to f10 rather than f0. | |
1ab964d7 | 27110 | |
048addec | 27111 | 2002-02-03 Andreas Schwab <schwab@suse.de> |
1ab964d7 | 27112 | |
048addec JD |
27113 | * s/gnu-linux.h: Check for __mc68000__ instead of __m68k__, the |
27114 | latter never being defined on GNU/Linux. | |
749f499f | 27115 | |
048addec | 27116 | 2002-02-02 Eli Zaretskii <eliz@is.elta.co.il> |
749f499f | 27117 | |
048addec JD |
27118 | * xfaces.c (realize_default_face): Don't set the weight and slant of |
27119 | the default face to Qnormal, unless these attributes are unspecified. | |
b5d9aaba | 27120 | |
048addec | 27121 | 2002-02-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
3a232704 | 27122 | |
048addec JD |
27123 | * keyboard.c (command_loop_1) [HAVE_X_WINDOWS]: |
27124 | Call cancel_hourglass unconditionally. | |
d0fd26dd | 27125 | |
048addec JD |
27126 | * eval.c (Fsignal): Remove duplicated declaration of |
27127 | the variable `display_hourglass_p'. | |
b4c45162 | 27128 | |
048addec | 27129 | 2002-01-31 Richard M. Stallman <rms@gnu.org> |
d0fd26dd | 27130 | |
048addec | 27131 | * editfns.c (region_limit): Nicer error message. |
c95eaa61 | 27132 | |
048addec JD |
27133 | * coding.c (decode_composition_emacs_mule): |
27134 | Give up if NCOMPONENT gets too large to index `component'. | |
c95eaa61 | 27135 | |
048addec JD |
27136 | * callint.c (check_mark): New arg to specify clearer error message. |
27137 | Callers changed. | |
c95eaa61 | 27138 | |
048addec | 27139 | 2002-01-27 Richard M. Stallman <rms@gnu.org> |
c95eaa61 | 27140 | |
048addec | 27141 | * minibuf.c (Fcompleting_read): Doc fix. |
c95eaa61 | 27142 | |
048addec | 27143 | 2002-01-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c95eaa61 | 27144 | |
048addec JD |
27145 | * minibuf.c (Fread_from_minibuffer, Fread_command, Fread_function) |
27146 | (Fread_variable, Fread_buffer, minibuffer-completion-confirm): | |
27147 | Fix doc-strings. | |
c95eaa61 | 27148 | |
048addec | 27149 | 2002-01-26 Richard M. Stallman <rms@gnu.org> |
c95eaa61 | 27150 | |
048addec | 27151 | * buffer.c (syms_of_buffer): Doc fixes for scroll-...-aggressively. |
c95eaa61 | 27152 | |
048addec JD |
27153 | * xdisp.c (try_scrolling): Exchange uses of scroll_down_aggressively |
27154 | and scroll_up_aggressively. | |
c95eaa61 | 27155 | |
048addec | 27156 | 2002-01-26 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
31877e0a | 27157 | |
048addec | 27158 | * keyboard.c (parse_tool_bar_item): Remove duplicated prototypes. |
31877e0a | 27159 | |
048addec | 27160 | 2002-01-25 Stefan Monnier <monnier@cs.yale.edu> |
e2c3786a | 27161 | |
048addec JD |
27162 | * textprop.c (Fnext_property_change, Fnext_single_property_change) |
27163 | (Fprevious_property_change, Fprevious_single_property_change): | |
27164 | Stay within the narrowed-buffer boundaries. | |
e2c3786a | 27165 | |
048addec | 27166 | 2002-01-25 Eli Zaretskii <eliz@is.elta.co.il> |
c513fc03 | 27167 | |
048addec JD |
27168 | * term.c (Ftty_display_color_cells): New function. |
27169 | (syms_of_term): Defsubr it. | |
27170 | (Ftty_display_color_cells, Ftty_display_color_p): Change the | |
27171 | argument name to DISPLAY. Doc fix. | |
bf794306 | 27172 | |
048addec JD |
27173 | * dispextern.h: Add prototype for set_tty_color_mode and |
27174 | tty_setup_colors. | |
bf794306 | 27175 | |
048addec | 27176 | 2002-01-24 Jason Rumney <jasonr@gnu.org> |
bf794306 | 27177 | |
048addec JD |
27178 | * w32term.c (x_scroll_run): Use ScrollWindowEx in place of BitBlt. |
27179 | If region left to draw is not what was expected, mark the frame as | |
27180 | garbaged. | |
62582985 | 27181 | |
048addec JD |
27182 | * w32fns.c (w32_wnd_proc) <WM_PAINT>: Initialize update_rect. |
27183 | Combine the regions returned by BeginPaint and GetUpdateRect. | |
c513fc03 | 27184 | |
048addec | 27185 | 2002-01-23 Jason Rumney <jasonr@gnu.org> |
3509a04c | 27186 | |
048addec JD |
27187 | * w32term.c (x_update_window_begin): Only hide caret if |
27188 | w32_use_visible_system_caret is set. | |
27189 | (x_update_window_end): Only show caret if | |
27190 | w32_use_visible_system_caret is set. | |
27191 | (syms_of_w32term): Handle SystemParametersInfo call failing. | |
3509a04c | 27192 | |
048addec | 27193 | * w32fns.c (syms_of_w32fns): Initialize w32_visible_system_caret_hwnd. |
3509a04c | 27194 | |
048addec | 27195 | 2002-01-22 Richard M. Stallman <rms@gnu.org> |
3509a04c | 27196 | |
048addec JD |
27197 | * unexelf.c (unexec): Define n so as to cause compilation error |
27198 | for the code where people have often written n instead of nn. | |
1e9a6186 | 27199 | |
048addec | 27200 | * .gdbinit (hookpost-run): Defined. |
1e9a6186 | 27201 | |
048addec | 27202 | 2002-01-22 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
e4e34e31 | 27203 | |
048addec | 27204 | * xfns.c (x_set_frame_parameters): Typo in previous fix corrected. |
e4e34e31 | 27205 | |
048addec | 27206 | 2002-01-21 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
4521d1fc | 27207 | |
048addec JD |
27208 | * xfns.c (x_set_frame_parameters): Just call x_fullscreen_adjust |
27209 | if fullscreen is being set. | |
7c75be36 | 27210 | |
048addec | 27211 | 2002-01-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4521d1fc | 27212 | |
048addec JD |
27213 | * minibuf.c (Fminibuffer_contents) |
27214 | (Fminibuffer_contents_no_properties, Fread_from_minibuffer) | |
27215 | (Fread_string, Fread_no_blanks_input, Fcompleting_read): Doc fixes. | |
4521d1fc | 27216 | |
048addec | 27217 | 2002-01-21 Richard M. Stallman <rms@gnu.org> |
4521d1fc | 27218 | |
048addec | 27219 | * window.c (check_frame_size): Fix minimum height calculation. |
93dec019 | 27220 | |
048addec | 27221 | 2002-01-20 Ken Raeburn <raeburn@gnu.org> |
93dec019 | 27222 | |
048addec JD |
27223 | * dispextern.h (WINDOW_WANTS_MODELINE_P): Use XFASTINT on window |
27224 | height before comparison. | |
27225 | (WINDOW_WANTS_HEADER_LINE_P): Likewise. | |
905cc05a | 27226 | |
048addec | 27227 | 2002-01-20 Jason Rumney <jasonr@gnu.org> |
2ed06289 | 27228 | |
048addec JD |
27229 | * w32term.c (w32_system_caret_width): Remove. |
27230 | (w32_use_visible_system_caret): New user flag. | |
27231 | (syms_of_w32term): DEFVAR_BOOL it. Initialize based on whether | |
27232 | Windows reports a screen reader running. | |
27233 | (x_update_window_begin): Hide the system caret. | |
27234 | (x_update_window_end): Show the system caret. | |
27235 | (x_display_and_set_cursor): Don't draw a cursor when | |
27236 | w32_use_visible_system_caret is set. Do not adjust width. | |
0e79d667 | 27237 | |
048addec JD |
27238 | * w32fns.c (w32_visible_system_caret_hwnd): New static variable. |
27239 | (w32_wnd_proc) <WM_KILL_FOCUS, WM_EMACS_DESTROY_CARET>: Set it. | |
27240 | <WM_EMACS_TRACK_CARET>: Arrange for system caret to be visible if | |
27241 | the user requests it. Use system default width when creating. | |
27242 | <WM_EMACS_HIDE_CARET, WM_EMACS_SHOW_CARET>: Handle new messages. | |
0e79d667 | 27243 | |
048addec JD |
27244 | * w32term.h (WM_EMACS_SHOW_CARET, WM_EMACS_HIDE_CARET): |
27245 | New window messages. | |
905cc05a | 27246 | |
048addec | 27247 | 2002-01-20 Richard M. Stallman <rms@gnu.org> |
82a7ab23 | 27248 | |
048addec | 27249 | * window.c (MIN_SAFE_WINDOW_HEIGHT): Value now 1. |
d75bec6a | 27250 | |
048addec | 27251 | 2002-01-20 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
52dcb476 | 27252 | |
048addec | 27253 | * doprnt.c (doprnt1): Fix typos in error call. |
82a7ab23 | 27254 | |
048addec | 27255 | 2002-01-20 Eli Zaretskii <eliz@is.elta.co.il> |
82a7ab23 | 27256 | |
048addec | 27257 | * unexelf.c (unexec) [__sgi]: Support the .got sections. |
82a7ab23 | 27258 | |
048addec | 27259 | 2002-01-20 Jason Rumney <jasonr@gnu.org> |
4d0fa4f3 | 27260 | |
048addec JD |
27261 | * w32term.c (w32_native_per_char_metric): Don't trust the metrics |
27262 | that Windows returns. If a double check fails, try to guess how | |
27263 | ExtTextOut is going to act. | |
4d0fa4f3 | 27264 | |
048addec JD |
27265 | * w32fns.c (w32_load_system_font, w32_to_x_charset): Use strnicmp |
27266 | in place of stricmp. | |
27267 | (w32_list_synthesized_fonts): Removed. | |
27268 | (w32_to_all_x_charsets, enum_font_maybe_add_to_list): New functions. | |
27269 | (struct enumfont_t): New element; list. | |
27270 | (enum_font_cb2): List all style and charset variations of a font. | |
27271 | (Fw32_select_font): New optional argument; include_proportional. | |
27272 | Exclude vertical fonts. Exclude proportional fonts unless | |
27273 | include_proportional is non-nil. | |
27274 | (w32_enable_synthesized_fonts): Change to a boolean. | |
27275 | (Fw32_send_sys_command): Doc fix. | |
493faf20 | 27276 | |
048addec | 27277 | 2002-01-19 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
493faf20 | 27278 | |
048addec JD |
27279 | * dispnew.c (update_frame): Move the variable `tem' to the block |
27280 | where it is used. | |
4971e491 | 27281 | |
048addec | 27282 | 2002-01-19 Jason Rumney <jasonr@gnu.org> |
4971e491 | 27283 | |
048addec JD |
27284 | * w32fns.c (Fx_create_frame): Bind redisplay-dont-pause around |
27285 | call to face-set-after-frame-default. | |
4971e491 | 27286 | |
048addec | 27287 | 2002-01-18 Richard M. Stallman <rms@gnu.org> |
d911a0fa | 27288 | |
048addec JD |
27289 | * dispextern.h (WINDOW_WANTS_MODELINE_P): Check window height > 1. |
27290 | (WINDOW_WANTS_HEADER_LINE_P): Check window height provides room. | |
d911a0fa | 27291 | |
048addec | 27292 | 2002-01-17 Richard M. Stallman <rms@gnu.org> |
d911a0fa | 27293 | |
048addec JD |
27294 | * window.c (enlarge_window): When exceeding size of parent, |
27295 | directly delete all the siblings instead of trying to resize it. | |
201c831a | 27296 | |
048addec | 27297 | 2002-01-17 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
201c831a | 27298 | |
048addec | 27299 | * term.c (set_tty_color_mode): Remove unused variable `tem'. |
201c831a | 27300 | |
048addec | 27301 | 2002-01-16 Henrik Enberg <henrik@enberg.org> |
34e39c95 | 27302 | |
048addec | 27303 | * lread.c (init_lread): Move the installed-lisp dirs later in the path. |
34e39c95 | 27304 | |
048addec | 27305 | 2002-01-16 Kim F. Storm <storm@cua.dk> |
d77fbc16 | 27306 | |
048addec JD |
27307 | * xterm.c (x_erase_phys_cursor): Don't erase cursor if cursor row |
27308 | is invisible. This can happen if cursor is on top line of a | |
27309 | window, and we switch to a buffer with a header line. | |
d77fbc16 | 27310 | |
048addec | 27311 | * w32term.c (x_erase_phys_cursor): Ditto. |
61e3b944 | 27312 | |
048addec | 27313 | 2002-01-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
61e3b944 | 27314 | |
048addec JD |
27315 | * xterm.c (XTread_socket) [!USE_X_TOOLKIT]: Compute the value of |
27316 | `dont_resize' only when used. | |
61e3b944 | 27317 | |
048addec | 27318 | * xdisp.c: Remove forgotten extern declaration of `Qimage'. |
70da46c3 | 27319 | |
048addec | 27320 | 2002-01-15 Eli Zaretskii <eliz@is.elta.co.il> |
70da46c3 | 27321 | |
048addec JD |
27322 | * xdisp.c (display_mode_element): When computing charpos, depend |
27323 | on multibyteness of elt, not the text in field. | |
8af01033 | 27324 | |
048addec | 27325 | 2002-01-15 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
8af01033 | 27326 | |
048addec JD |
27327 | * buffer.c (Fkill_all_local_variables): |
27328 | Increment `update_mode_lines' only once. | |
7363986a | 27329 | |
048addec | 27330 | 2002-01-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
7363986a | 27331 | |
048addec JD |
27332 | * lisp.h (adjust_after_replace_noundo) |
27333 | (Fupdate_coding_systems_internal): Add prototypes. | |
d9e6c4b1 | 27334 | |
048addec | 27335 | * sound.c (Fplay_sound): Initialize header_size also for :data case. |
d20fc48a | 27336 | |
048addec | 27337 | 2002-01-14 Eli Zaretskii <eliz@is.elta.co.il> |
d9e6c4b1 | 27338 | |
048addec JD |
27339 | Support for the --color command-line argument and tty-color-mode |
27340 | frame parameter: | |
f1a85b89 | 27341 | |
048addec JD |
27342 | * term.c (tty_default_color_capabilities, tty_setup_colors) |
27343 | (set_tty_color_mode): New functions. | |
27344 | (term_init): Call tty_default_color_capabilities. | |
27345 | (Qtty_color_mode_alist): New variable. | |
27346 | (syms_of_term): Intern and staticpro it. | |
f1a85b89 | 27347 | |
048addec JD |
27348 | * frame.c (store_frame_param): Call set_tty_color_mode for termcap |
27349 | frames. | |
27350 | (do_switch_frame): For termcap frames, switch the tty | |
27351 | color mode as specified by the frame's parameters. | |
27352 | (Qtty_color_mode): New variable. | |
27353 | (syms_of_frame): Intern and staticpro it. | |
3a62677f | 27354 | |
048addec JD |
27355 | * emacs.c (USAGE2): Add the --color option. |
27356 | (standard_args): Ditto. | |
72244db2 | 27357 | |
048addec JD |
27358 | 2002-01-13 Jan Dj\e,Ad\e(Brv <jan.h.d@swipnet.se> |
27359 | ||
27360 | * xterm.h (struct x_output): New members want_fullscreen, | |
27361 | x_pixels_diff, y_pixels_diff, x_pixels_outer_diff, and | |
27362 | y_pixels_outer_diff. | |
27363 | New enum for FULLSCREEN_* constants. | |
27364 | (FRAME_OUTER_WINDOW): Handle the case where output_data.x->widget | |
27365 | is NULL. | |
27366 | (x_fullscreen_adjust): Add prototype. | |
3a62677f | 27367 | |
048addec JD |
27368 | * emacs.c (USAGE2): Add the new full-screen arguments. |
27369 | (standard_args): Ditto. | |
3a62677f | 27370 | |
048addec JD |
27371 | * xfns.c (Qfullscreen, Qfullwidth, Qfullheight, Qfullboth): |
27372 | New variables. | |
27373 | (syms_of_xfns): Intern and staticpro them. | |
27374 | (x_frame_parms) <"fullscreen">: New parameter. | |
27375 | (x_fullscreen_move, x_set_fullscreen): New functions. | |
27376 | (x_set_frame_parameters): Support for Qfullscreen. | |
27377 | (x_real_positions): More accurate computation of the frame position. | |
27378 | (x_figure_window_size): Support full-screen frames. | |
27379 | (Fx_create_frame): Default the fullscreen parameter. | |
3a62677f | 27380 | |
048addec JD |
27381 | * xterm.c (x_check_fullscreen, x_fullscreen_adjust): New functions. |
27382 | (XTread_socket) <Expose>: Call x_check_fullscreen. | |
27383 | <ConfigureNotify>: Don't resize to fullscreen. | |
27384 | Call x_check_fullscreen_move, and set the want_fullscreen member of | |
27385 | output_data.x. | |
3a62677f | 27386 | |
048addec | 27387 | 2002-01-13 Jason Rumney <jasonr@gnu.org> |
9d113d9d | 27388 | |
048addec JD |
27389 | * w32term.h (WM_XBUTTONDOWN, WM_XBUTTONUP): New window messages |
27390 | for mice with more than 3 buttons. | |
b8523839 | 27391 | |
048addec JD |
27392 | * w32term.c (parse_button): New parameter xbutton. Callers changed. |
27393 | (w32_read_socket): Handle new "XBUTTON" messages. | |
9464dea4 | 27394 | |
048addec JD |
27395 | * w32fns.c (w32_pass_extra_mouse_buttons_to_system): New user option. |
27396 | (syms_of_w32fns): DEFVAR_BOOL it. | |
27397 | (w32_wnd_proc): Handle new "XBUTTON" messages. | |
9d113d9d | 27398 | |
048addec | 27399 | 2002-01-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
70ec1377 | 27400 | |
048addec | 27401 | * keyboard.c (read_key_sequence): Remove unused variable `extra_maps'. |
70ec1377 | 27402 | |
048addec | 27403 | 2002-01-13 Andreas Schwab <schwab@suse.de> |
92f7dd37 | 27404 | |
048addec | 27405 | * xterm.c (x_load_font): Never set fonts_changed_p to zero. |
92f7dd37 | 27406 | |
048addec | 27407 | 2002-01-12 Andreas Schwab <schwab@suse.de> |
c93674bb | 27408 | |
048addec JD |
27409 | * .gdbinit (xbuffer): Remove address operator since data is now a |
27410 | pointer. | |
c93674bb | 27411 | |
048addec | 27412 | 2002-01-11 Richard M. Stallman <rms@gnu.org> |
59b59892 | 27413 | |
048addec | 27414 | * insdel.c (adjust_after_replace_noundo): New function. |
59b59892 | 27415 | |
048addec | 27416 | * coding.c (code_convert_region): Don't copy old text if undo disabled. |
c6ea2775 | 27417 | |
048addec | 27418 | 2002-01-09 Jason Rumney <jasonr@gnu.org> |
c6ea2775 | 27419 | |
048addec JD |
27420 | * xdisp.c (x_consider_frame_title): Don't count the tooltip frame |
27421 | when checking for multiple frames. | |
91175673 | 27422 | |
048addec | 27423 | 2002-01-08 Richard M. Stallman <rms@gnu.org> |
91175673 | 27424 | |
048addec JD |
27425 | * window.c (delete_window): Rewrite the code for changing the |
27426 | selected window to handle the case where WINDOW is not a leaf. | |
91175673 | 27427 | |
048addec | 27428 | 2002-01-07 Eli Zaretskii <eliz@is.elta.co.il> |
e0fead5d | 27429 | |
048addec JD |
27430 | * process.c (send_process): Set src_multibyte to 1 after the call |
27431 | top setup_coding_system, not before the call. | |
e0fead5d | 27432 | |
048addec | 27433 | 2002-01-07 Jason Rumney <jasonr@gnu.org> |
e0fead5d | 27434 | |
048addec | 27435 | * xmenu.c (set_frame_menubar, xmenu_show): |
5e1a6e32 | 27436 | (xdialog_show): Initialize wv->help to Qnil. |
c186cdb3 | 27437 | |
048addec JD |
27438 | * w32menu.c (single_submenu, set_frame_menubar, w32_menu_show): |
27439 | (w32_dialog_show): Initialize wv->help to Qnil. | |
c186cdb3 | 27440 | |
048addec | 27441 | 2002-01-06 Jason Rumney <jasonr@gnu.org> |
c186cdb3 | 27442 | |
048addec | 27443 | * xmenu.c (single_submenu): Initialize wv->help to Qnil. |
c186cdb3 | 27444 | |
048addec | 27445 | * w32menu.c (w32_menu_display_help): Revert last change. |
58cfce98 | 27446 | |
048addec | 27447 | * xmenu.c (menu_highlight_callback): Revert last change. |
58cfce98 | 27448 | |
048addec | 27449 | 2002-01-06 Andreas Schwab <schwab@suse.de> |
62854fe2 | 27450 | |
048addec JD |
27451 | * insdel.c (make_gap_larger): Make sure buffer size does not |
27452 | overflow range of int. | |
62854fe2 | 27453 | |
048addec | 27454 | 2002-01-05 Jason Rumney <jasonr@gnu.org> |
656f46bb | 27455 | |
048addec JD |
27456 | * w32term.c (x_draw_glyphs): Don't call notice_overwritten_cursor if |
27457 | OVERLAPS_P. | |
656f46bb | 27458 | |
048addec | 27459 | * w32menu.c (w32_menu_display_help): Hide any tooltip window. |
656f46bb | 27460 | |
048addec JD |
27461 | * w32fns.c (compute_tip_xy): If tooltip won't fit on the screen |
27462 | to the left or to the right of the pointer, put it against | |
27463 | the left screen edge. | |
27464 | (x_frame_parms): Add missing braces around initializer. | |
036e218d | 27465 | |
048addec JD |
27466 | * w32term.c (x_setup_relief_colors): Don't compute an image's |
27467 | background color if it doesn't have a Pixmap. | |
27468 | (notice_overwritten_cursor): Don't depend on | |
27469 | output_cursor and updated_area. Compare pixel coordinates with | |
27470 | window's cursor pixel coordinates. | |
27471 | (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): | |
27472 | Call notice_overwritten_cursor with new arg list. | |
27473 | (show_mouse_face): Fix bug setting a row's mouse_face_p flag | |
27474 | unconditionally. | |
27475 | (x_draw_image_relief): Use predefined macro instead of | |
27476 | constant when the value of `tool_bar_button_relief' is negative. | |
036e218d | 27477 | |
048addec | 27478 | * w32term.c (x_display_and_set_cursor): Fix PostMessage arg types. |
7ddb2c16 | 27479 | |
048addec | 27480 | 2002-01-04 Richard M. Stallman <rms@gnu.org> |
7ddb2c16 | 27481 | |
048addec | 27482 | * xmenu.c (menu_highlight_callback): Hide any tooltip window. |
ace9b298 | 27483 | |
048addec | 27484 | 2002-01-03 Richard M. Stallman <rms@gnu.org> |
90647b07 | 27485 | |
048addec JD |
27486 | * keymap.c (Fcurrent_active_maps): Put the `keymap' property map first. |
27487 | (Fkey_binding): Try the `keymap' property map first. | |
27488 | (Fdescribe_buffer_bindings): Show `keymap' property bindings before | |
27489 | minor mode bindings. | |
90647b07 | 27490 | |
048addec | 27491 | 2002-01-03 Kim F. Storm <storm@cua.dk> |
ace9b298 | 27492 | |
3419757d | 27493 | * keyboard.c (read_key_sequence): Fix cast of submaps arg to bcopy. |
ace9b298 | 27494 | |
048addec | 27495 | 2002-01-02 Richard M. Stallman <rms@gnu.org> |
ace9b298 | 27496 | |
048addec JD |
27497 | * keyboard.c (read_key_sequence): Handle the keymap property |
27498 | before minor mode maps. | |
9fbc32aa | 27499 | |
048addec JD |
27500 | * editfns.c (Fformat): Update thissize from field_width |
27501 | based on the actual width, in the string case. | |
036e218d | 27502 | |
048addec | 27503 | 2002-01-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9fbc32aa | 27504 | |
048addec JD |
27505 | * charset.h (UNIBYTE_STR_AS_MULTIBYTE_P): Parenthesize assignment |
27506 | when used as truth value to prevent gcc warnings. | |
9fbc32aa | 27507 | |
048addec JD |
27508 | * sysdep.c, unexapollo.c, w32.c, w32bdf.c, w32heap.c, w32inevt.c, |
27509 | * w32proc.c: Include <config.h>. | |
9fbc32aa | 27510 | |
048addec | 27511 | 2002-01-01 Andreas Schwab <schwab@suse.de> |
9fbc32aa | 27512 | |
048addec JD |
27513 | * eval.c (max_specpdl_size, max_lisp_eval_depth): Define as int, |
27514 | not EMACS_INT, to make them compatible with DEFVAR_INT. | |
27515 | * lisp.h (max_specpdl_size): Adjust declaration. | |
9fbc32aa | 27516 | |
048addec | 27517 | 2002-01-01 Richard M. Stallman <rms@gnu.org> |
9fbc32aa | 27518 | |
048addec JD |
27519 | * print.c (print_object): Test print_escape_nonascii only for |
27520 | unibyte strings. | |
27521 | (PRINTPREPARE): Once again bind Qprint_escape_nonascii | |
27522 | when outputting to a multibyte buffer. | |
9fbc32aa | 27523 | |
048addec | 27524 | 2001-12-29 Richard M. Stallman <rms@gnu.org> |
9fbc32aa | 27525 | |
048addec JD |
27526 | * print.c (print_object): In multibyte string, use hex escapes. |
27527 | Use octal only for unibyte strings. | |
27528 | (PRINTPREPARE): Don't ever set Qprint_escape_nonascii. | |
0142178a | 27529 | |
048addec JD |
27530 | * lread.c (read_escape): New arg BYTEREP for reporting whether |
27531 | escape forces unibyte or multibyte. | |
27532 | (read1): When reading a string, take note of that info. | |
0142178a | 27533 | |
048addec | 27534 | 2001-12-29 Ken Raeburn <raeburn@gnu.org> |
d4824a5d | 27535 | |
048addec JD |
27536 | * abbrev.c (Fexpand_abbrev): Use NILP instead of implicit zero |
27537 | comparison to test lisp value returned by Fget. | |
d4824a5d | 27538 | |
048addec | 27539 | 2001-12-29 Richard M. Stallman <rms@gnu.org> |
b1356234 | 27540 | |
048addec | 27541 | * lisp.h (max_specpdl_size): Add declaration. |
b1356234 | 27542 | |
048addec | 27543 | * fileio.c (Fdo_auto_save): If NO_MESSAGE, don't call push_message. |
3ce081f5 | 27544 | |
048addec JD |
27545 | * keymap.c (silly_event_symbol_error): New subrtn, from Fdefine_key. |
27546 | Handle modifier bits. Correct typo in error message. | |
99e380ee | 27547 | |
048addec | 27548 | 2001-12-28 Richard M. Stallman <rms@gnu.org> |
3ce081f5 | 27549 | |
048addec JD |
27550 | * abbrev.c: Use the plist of an abbrev for multiple params if nec. |
27551 | (Fdefine_abbrev): New arg SYSTEM-FLAG for a system abbrev. | |
27552 | (Fdefine_global_abbrev, Fdefine_mode_abbrev): | |
27553 | Update calls to Fdefine_abbrev. | |
27554 | (write_abbrev): Update for changed data format. | |
27555 | Don't list "system" abbrevs. | |
27556 | (Fexpand_abbrev): Update use count with new data format. | |
27557 | (describe_abbrev): Update for changed data format. | |
27558 | (Fdefine_abbrev_table): Handle the new SYSTEM-FLAG. | |
66458f32 | 27559 | |
048addec | 27560 | * config.in (HAVE_MBSINIT): Add #undef. |
66458f32 | 27561 | |
048addec | 27562 | * strftime.c (mbsinit): Define as no-op if not available. |
66458f32 | 27563 | |
048addec JD |
27564 | * s/sco5.h (LIBX11_SYSTEM) [MOTIF]: Add -lgen. |
27565 | (sigprocmask_set): Conditionalize decl on ! NOT_C_CODE. | |
59a86c99 | 27566 | |
048addec JD |
27567 | * keymap.c (Flookup_key): Error message if key has wrong data type. |
27568 | (Fdefine_key): Add error message for trying to bind [DEL], [RET], etc. | |
27569 | (exclude_key): New variable. | |
59a86c99 | 27570 | |
048addec | 27571 | 2001-12-28 Gerd Moellmann <gerd@gnu.org> |
eb77a5f4 | 27572 | |
048addec JD |
27573 | * xterm.c (x_setup_relief_colors): Don't compute an image's |
27574 | background color if it doesn't have a Pixmap. | |
eb77a5f4 | 27575 | |
048addec JD |
27576 | * xterm.c (notice_overwritten_cursor): Don't depend on |
27577 | output_cursor and updated_area. Compare pixel coordinates with | |
27578 | window's cursor pixel coordinates. | |
27579 | (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): | |
27580 | Call notice_overwritten_cursor with new arg list. | |
27581 | (show_mouse_face): Fix bug setting a row's mouse_face_p flag | |
27582 | unconditionally. | |
eb77a5f4 | 27583 | |
048addec JD |
27584 | * xdisp.c (try_scrolling) <PT below scroll margin>: Add the |
27585 | height of the cursor line to the amount to scroll. | |
eb77a5f4 | 27586 | |
048addec | 27587 | 2001-12-27 Richard M. Stallman <rms@gnu.org> |
bb313871 | 27588 | |
048addec JD |
27589 | * intervals.c (set_point_both): The position after an invisible, |
27590 | intangible character is not an acceptable stopping point. | |
bb313871 | 27591 | |
048addec | 27592 | 2001-12-27 Ken Raeburn <raeburn@gnu.org> |
55b43a63 | 27593 | |
048addec JD |
27594 | * window.c (enlarge_window): In new preserve_before code, convert |
27595 | CURBEG from lisp object to integer before doing arithmetic. | |
6052529b | 27596 | |
048addec | 27597 | 2001-12-27 Richard M. Stallman <rms@gnu.org> |
3ce081f5 | 27598 | |
048addec | 27599 | * bytecode.c (Fbyte_code): Undo previous change. |
3ce081f5 | 27600 | |
048addec | 27601 | 2001-12-26 Kim F. Storm <storm@cua.dk> |
3ce081f5 | 27602 | |
048addec JD |
27603 | * keyboard.c (record_char): Ignore duplicate help-echo events only |
27604 | separated by mouse-movement. When tracking mouse, only record | |
27605 | first and last mouse-movement event in same window. | |
27606 | Don't record mouse-movement events in keyboard macros. | |
3ce081f5 | 27607 | |
048addec | 27608 | 2001-12-25 Richard M. Stallman <rms@gnu.org> |
55b43a63 | 27609 | |
048addec JD |
27610 | * window.c (enlarge_window): New arg PRESERVE_BEFORE. Callers changed. |
27611 | (Fenlarge_window): New arg PRESERVE_BEFORE. | |
111ed14e | 27612 | |
048addec JD |
27613 | * bytecode.c (Fbyte_code): Use Fstring_make_unibyte |
27614 | instead of Fstring_as_unibyte. | |
9fabb2f5 | 27615 | |
048addec | 27616 | 2001-12-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9fabb2f5 | 27617 | |
048addec | 27618 | The following changes remove mocklisp support: |
9fabb2f5 | 27619 | |
048addec | 27620 | * mocklisp.h, mocklisp.c: Files removed. |
111ed14e | 27621 | |
048addec JD |
27622 | * lisp.h: Remove declarations of variables `Vmocklisp_arguments', |
27623 | `Qmocklisp' and `Qmocklisp_arguments'. | |
27624 | Remove prototype of syms_of_mocklisp. | |
2fa0eedf | 27625 | |
048addec | 27626 | * makefile.nt, makefile.w32-in, Makefile.in: Remove mocklisp files. |
d1420435 | 27627 | |
048addec JD |
27628 | * callint.c: Do not include mocklisp.h. |
27629 | (Fcall_interactively): Do not test for mocklisp case. | |
2fa0eedf | 27630 | |
048addec JD |
27631 | * eval.c: Remove variables `Qmocklisp_arguments', |
27632 | `Vmocklisp_arguments' and `Qmocklisp'. Remove prototype of ml_apply. | |
27633 | (Fprogn, Fwhile, Fcommandp, Feval, Ffuncall, funcall_lambda): | |
27634 | Do not test for mocklisp case. | |
27635 | (Fwhile): Remove unused variable `tem'. | |
27636 | (syms_of_eval): Remove variable `moclisp-arguments'. | |
ebcbef4e | 27637 | |
048addec | 27638 | * data.c (wrong_type_argument): Remove mocklisp case. |
5c131048 | 27639 | |
048addec | 27640 | * doc.c (Fdocumentation): Remove mocklisp case. |
5c131048 | 27641 | |
048addec | 27642 | * emacs.c (main): Do not call syms_of_mocklisp. |
5c131048 | 27643 | |
048addec | 27644 | 2001-12-21 Richard M. Stallman <rms@gnu.org> |
96d276c3 | 27645 | |
048addec JD |
27646 | * xfns.c (compute_tip_xy): If tooltip won't fit on the screen |
27647 | to the left or to the right of the pointer, put it against | |
27648 | the left screen edge. | |
6108b49c | 27649 | |
048addec | 27650 | 2001-12-21 Eli Zaretskii <eliz@is.elta.co.il> |
96d276c3 | 27651 | |
048addec JD |
27652 | * Makefile.in (distclean): Remove .gdbinit if we are building |
27653 | outside the source tree. | |
5eea19a4 | 27654 | |
048addec | 27655 | 2001-12-19 Eli Zaretskii <eliz@is.elta.co.il> |
5eea19a4 | 27656 | |
048addec | 27657 | * w32.c (emacs_root_dir): New function. |
5eea19a4 | 27658 | |
048addec | 27659 | * msdos.c (emacs_root_dir): New function. |
5eea19a4 | 27660 | |
048addec JD |
27661 | * fileio.c (Fexpand_file_name) [DOS_NT]: Use the root directory |
27662 | of the current drive as the fallback for default_directory. | |
438e57dd | 27663 | |
048addec JD |
27664 | * dired.c (file_name_completion): Run the elements of |
27665 | completion-ignored-extensions through ENCODE_FILE. | |
438e57dd | 27666 | |
048addec JD |
27667 | * lisp.h (scmp): Remove prototype, since it's now a static |
27668 | function private to dired.c. | |
c88e5347 | 27669 | |
048addec | 27670 | 2001-12-18 Richard M. Stallman <rms@gnu.org> |
c88e5347 | 27671 | |
048addec JD |
27672 | * dired.c (scmp): Function moved from minibuf.c. |
27673 | Delete multibyte handling--used only on encoded strings. | |
59ce1461 | 27674 | |
048addec | 27675 | * minibuf.c (scmp): Function moved to dired.c. |
59ce1461 | 27676 | |
048addec | 27677 | * fns.c (merge): Add QUIT call. |
59ce1461 | 27678 | |
048addec | 27679 | 2001-12-18 Dave Love <fx@gnu.org> |
8727d588 | 27680 | |
048addec JD |
27681 | * Makefile.in (lisp, shortlisp): Add language/utf-8-lang.el, |
27682 | language/georgian.el. | |
8727d588 | 27683 | |
048addec | 27684 | 2001-12-18 Eli Zaretskii <eliz@is.elta.co.il> |
cc63037e | 27685 | |
048addec JD |
27686 | * Makefile.in (lisp, shortlisp): Synchronize with changes to |
27687 | lisp/Makefile.in:DONTCOMPILE. | |
cc63037e | 27688 | |
048addec | 27689 | 2001-12-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
cc63037e | 27690 | |
048addec JD |
27691 | * xdisp.c (window_box_height): Do not return negative values. |
27692 | From Gerd Moellmann <gerd@gnu.org>. | |
cc63037e | 27693 | |
048addec | 27694 | * keyboard.c (head_table): Add missing braces around initializer. |
cc63037e | 27695 | |
048addec | 27696 | * term.c (keys): Likewise. |
deece6f5 | 27697 | |
048addec | 27698 | * xfns.c (x_frame_parms, visual_classes): Likewise. |
deece6f5 | 27699 | |
048addec | 27700 | 2001-12-17 Sam Steingold <sds@gnu.org> |
1b944d9c | 27701 | |
048addec JD |
27702 | * coding.c (DECODE_COMPOSITION_END): Fixed a typo in the last |
27703 | patch (COMPOSING_P, not COMPOSING). | |
28ff4293 | 27704 | |
048addec | 27705 | 2001-12-17 Richard M. Stallman <rms@gnu.org> |
a395ef6a | 27706 | |
048addec | 27707 | * editfns.c (Fcompare_buffer_substrings): Add QUIT to main loop. |
a395ef6a | 27708 | |
048addec JD |
27709 | * coding.c (code_convert_region): Update coding->cmp_data->char_offset |
27710 | before calling decode_coding. | |
9b46de40 | 27711 | |
048addec | 27712 | * charset.c (Fdefine_charset): Call Fupdate_coding_systems_internal. |
9b46de40 | 27713 | |
048addec JD |
27714 | * coding.c (DECODE_COMPOSITION_END): Check for ! COMPOSING_P (coding) |
27715 | instead of only for COMPOSITION_DISABLED. | |
9b46de40 | 27716 | |
048addec | 27717 | 2001-12-16 Richard M. Stallman <rms@gnu.org> |
aff37336 | 27718 | |
048addec | 27719 | * alloc.c (pure_alloc): After overflow, allocate just a small block. |
aff37336 | 27720 | |
048addec | 27721 | * Makefile.in (xmenu.o, xterm.o, fontset.o): Depend on buffer.h. |
b9937f07 | 27722 | |
048addec JD |
27723 | * buffer.h (struct buffer): New field `display_error_modiff'. |
27724 | * buffer.c (reset_buffer): Initialize `display_error_modiff'. | |
b9937f07 | 27725 | |
048addec | 27726 | * window.c (Frecenter): Clear display_error_modiff field. |
2cd23960 | 27727 | |
048addec JD |
27728 | * xdisp.c (redisplay_window_0, redisplay_window_1): New functions. |
27729 | Call redisplay_window, but not if display_error_modiff field says no. | |
27730 | (redisplay_window_error): New function. | |
27731 | (displayed_buffer): New variable. | |
27732 | (redisplay_internal, redisplay_windows): Call the new functions | |
27733 | instead of redisplay_window directly. | |
2cd23960 | 27734 | |
048addec | 27735 | 2001-12-15 Richard M. Stallman <rms@gnu.org> |
2cd23960 | 27736 | |
048addec | 27737 | * keyboard.c (syms_of_keyboard) <double-click-fuzz>: Doc fix. |
2cd23960 | 27738 | |
048addec | 27739 | 2001-12-14 Andrew Innes <andrewi@gnu.org> |
a4184c1c | 27740 | |
048addec | 27741 | * makefile.w32-in (EMACSLOADPATH): Define. |
f9711de4 | 27742 | ($(EMACS)): Run `list-load-path-shadows' after dumping Emacs. |
048addec | 27743 | (bootstrap-temacs): Remove dependency on bootstrap-clean. |
a4184c1c | 27744 | |
048addec | 27745 | 2001-12-13 Eli Zaretskii <eliz@is.elta.co.il> |
f6fa0866 | 27746 | |
048addec JD |
27747 | * xfns.c (x_report_frame_params): Make the scroll-bar-width frame |
27748 | parameter have a numeric value all the time. | |
f6fa0866 | 27749 | |
048addec | 27750 | * w32fns.c (x_report_frame_params): Likewise. |
f4ca4b00 | 27751 | |
048addec | 27752 | 2001-12-12 Richard M. Stallman <rms@gnu.org> |
f4ca4b00 | 27753 | |
048addec | 27754 | * fileio.c (Fwrite_region): Doc fix. |
f4e25f94 | 27755 | |
048addec JD |
27756 | * xdisp.c (CLEAR_FACE_CACHE_COUNT): Redefine as 500. |
27757 | (redisplay_internal): Call clear_image_cache only for window terminals. | |
f4e25f94 | 27758 | |
048addec | 27759 | 2001-12-12 Gerd Moellmann <gerd@gnu.org> |
91c153e2 | 27760 | |
048addec JD |
27761 | * xdisp.c (move_it_vertically_backward): Change heuristic |
27762 | for the case that we didn't move far enough initially. | |
91c153e2 | 27763 | |
048addec JD |
27764 | * window.c (Frecenter): Simplify computation in the case of window |
27765 | system frames and ARG < 0; use window_box_height. | |
65b7d3e7 | 27766 | |
048addec | 27767 | 2001-12-11 Richard M. Stallman <rms@gnu.org> |
65b7d3e7 | 27768 | |
048addec JD |
27769 | * Makefile.in, mem-limits.h, dispnew.c, emacs.c, fileio.c: |
27770 | * process.c, sysdep.c, unexec.c: Test GNU_LINUX, not LINUX. | |
6b5f6311 | 27771 | |
048addec | 27772 | 2001-12-11 Andrew Innes <andrewi@gnu.org> |
6b5f6311 | 27773 | |
048addec JD |
27774 | * insdel.c (make_gap) [DOUG_LEA_MALLOC]: Call make_gap_smaller if |
27775 | arg is negative. | |
be676094 | 27776 | |
048addec | 27777 | 2001-12-11 Richard M. Stallman <rms@gnu.org> |
be676094 | 27778 | |
048addec JD |
27779 | * m/hp800.h: Split the __hpux conditional into the parts |
27780 | that are right for GNU/Linux too and the parts that are not. | |
27781 | Use the former if GNU_LINUX. | |
27782 | (HAVE_ALLOCA, LOAD_AVE_TYPE, LOAD_AVE_CVT): New defs for GNU/Linux. | |
032a857d | 27783 | |
048addec | 27784 | * s/gnu-linux.h (GNU_LINUX): Defined. |
032a857d | 27785 | |
048addec | 27786 | 2001-12-11 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
032a857d | 27787 | |
048addec JD |
27788 | * macros.c, msdos.c, w16select.c: Change doc-string comments to |
27789 | `new style' [w/`doc:' keyword]. | |
032a857d | 27790 | |
048addec | 27791 | 2001-12-10 Jason Rumney <jasonr@gnu.org> |
b6270150 | 27792 | |
048addec JD |
27793 | * w32menu.c (w32_free_submenu_strings): Clear menu item struct |
27794 | before using. | |
b6270150 | 27795 | |
048addec | 27796 | 2001-12-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
792e5cbd | 27797 | |
048addec JD |
27798 | * dosfns.c: Change doc-string comments to `new style' [w/`doc:' |
27799 | keyword]. | |
98cbb9fa | 27800 | |
048addec | 27801 | 2001-12-09 Eli Zaretskii <eliz@is.elta.co.il> |
98cbb9fa | 27802 | |
048addec | 27803 | * dosfns.c (dos-display-scancodes, dos-decimal): Doc fix. |
98cbb9fa | 27804 | |
048addec | 27805 | * s/hpux10.h (srand48): Don't undefine. |
98cbb9fa | 27806 | |
048addec | 27807 | 2001-12-09 Jason Rumney <jasonr@gnu.org> |
792e5cbd | 27808 | |
048addec | 27809 | * w32menu.c (_widget_value): Make `help' field a Lisp_Object. |
78819ebb | 27810 | Add comment to explain where the struct came from. |
048addec JD |
27811 | (single_submenu, w32_menu_show): Set `help' field as Lisp_Object. |
27812 | (add_menu_item): Process pop-up menus first to avoid memory leak. | |
27813 | (add_menu_item, w32_menu_display_help): Use `help' field as | |
27814 | Lisp_Object. | |
27815 | (w32_free_submenu_strings): Only free owner-drawn strings. | |
fa336b91 | 27816 | |
048addec | 27817 | 2001-12-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
fa336b91 | 27818 | |
048addec | 27819 | * COPYING: Moved back. |
fa336b91 | 27820 | |
048addec JD |
27821 | * charset.c (char_to_string_1, translate_char, Fdefine_charset): |
27822 | Add parentheses around && within ||. | |
077907d4 | 27823 | |
048addec | 27824 | * indent.c (compute_motion): Likewise. |
aa2af83a | 27825 | |
048addec | 27826 | * intervals.c (merge_properties_sticky): Likewise. |
60a653f1 | 27827 | |
048addec JD |
27828 | * coding.c (setup_coding_system, shrink_encoding_region) |
27829 | (Fdecode_sjis_char): Likewise. | |
60a653f1 | 27830 | |
048addec | 27831 | 2001-12-07 Andreas Schwab <schwab@suse.de> |
60a653f1 | 27832 | |
048addec JD |
27833 | * xdisp.c (display_mode_element): Don't read past end of string if |
27834 | it ends with '%'. | |
60a653f1 | 27835 | |
048addec JD |
27836 | * alloc.c (inhibit_garbage_collection): Don't exceed value an int |
27837 | can hold. | |
60a653f1 | 27838 | |
048addec JD |
27839 | * data.c (Vmost_positive_fixnum, Vmost_negative_fixnum): |
27840 | Rename from most_positive_fixnum and most_negative_fixnum, resp., and | |
27841 | type changed to Lisp_Object. | |
27842 | (syms_of_data): DEFVAR_LISP them. | |
60a653f1 | 27843 | |
048addec | 27844 | 2001-12-07 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 27845 | |
048addec JD |
27846 | * callproc.c (init_callproc): Set Vdata_directory based on the source |
27847 | location whenever Emacs was run uninstalled. | |
60a653f1 | 27848 | |
048addec | 27849 | 2001-12-06 Paul Eggert <eggert@twinsun.com> |
60a653f1 | 27850 | |
048addec JD |
27851 | * config.in (HAVE_WORKING_VFORK): New #undefs. |
27852 | * process.c (create_process): | |
27853 | Use HAVE_WORKING_VFORK, not HAVE_VFORK. | |
27854 | * m/cnvrgnt.h (HAVE_VFORK): Remove #define. | |
27855 | * m/ibm370aix.h (HAVE_VFORK): Remove #undef. | |
27856 | * m/ibmps2-aix.h (HAVE_VFORK): Remove #define. | |
27857 | * m/intel386.h (HAVE_VFORK): Likewise. | |
27858 | * m/mips-siemens.h (HAVE_VFORK): Likewise. | |
27859 | * m/mips.h (HAVE_VFORK): Likewise. | |
27860 | * s/freebsd.h (vfork): Remove #define. | |
27861 | * s/lynxos.h (HAVE_VFORK): Remove #undef. | |
27862 | * s/usg5-4-2.h: Fix comment about vfork. | |
60a653f1 | 27863 | |
048addec | 27864 | 2001-12-06 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 27865 | |
048addec JD |
27866 | * s/hpux10.h (random): Add undef. |
27867 | (HAVE_RANDOM): Define it just once. | |
60a653f1 | 27868 | |
048addec | 27869 | 2001-12-06 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 27870 | |
048addec | 27871 | * eval.c: Undo last change: the standard syntax is not wanted. |
60a653f1 | 27872 | |
048addec | 27873 | 2001-12-06 Eli Zaretskii <eliz@is.elta.co.il> |
60a653f1 | 27874 | |
048addec JD |
27875 | * xterm.c (x_free_frame_resources) [USE_X_TOOLKIT]: Remove all the |
27876 | scroll bars of the frame before deleting the frame itself. If the | |
27877 | frame has a widget, delete the frame with XtDestroyWidget, and do | |
27878 | not call XDestroyWindow before that. | |
60a653f1 | 27879 | |
048addec | 27880 | 2001-12-06 Kim F. Storm <storm@cua.dk> |
60a653f1 | 27881 | |
048addec | 27882 | * xfns.c (x_report_frame_params): Return actual fringe widths. |
60a653f1 | 27883 | |
048addec | 27884 | * w32fns.c (x_report_frame_params): Return actual fringe widths. |
60a653f1 | 27885 | |
048addec | 27886 | 2001-12-05 Andrew Innes <andrewi@gnu.org> |
60a653f1 | 27887 | |
048addec JD |
27888 | * alloc.c (Fgarbage_collect): Shrink buffer gaps that are |
27889 | excessively large. | |
60a653f1 | 27890 | |
048addec JD |
27891 | * insdel.c (make_gap_larger): New function. |
27892 | (make_gap_smaller): New function. | |
27893 | (make_gap) [USE_MMAP_FOR_BUFFERS || REL_ALLOC]: | |
27894 | Call make_gap_smaller if arg is negative. | |
60a653f1 | 27895 | |
048addec | 27896 | 2001-12-04 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 27897 | |
048addec JD |
27898 | * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal prototype. |
27899 | Pass a dummy argument when calling interrupt_signal. | |
27900 | (parse_menu_item): Mark disabled items before checking for empty def. | |
27901 | (read_char_minibuf_menu_prompt): Make safety more visible. | |
27902 | (read_key_sequence): Add a `first_unbound' variable. | |
27903 | Use it to detect C-c ESC ESC ESC ESC ... cases and drop the | |
27904 | unbound prefix as soon as we can detect it. | |
60a653f1 | 27905 | |
048addec JD |
27906 | * doc.c (Fsnarf_documentation): Add prototype. |
27907 | (get_doc_string): Handle negative arguments. | |
27908 | (Fdocumentation): Use AREF and ASIZE. | |
27909 | Move the calls to get_doc_string to a single place. | |
27910 | Don't confuse an interactive-spec for a docstring reference. | |
27911 | (Fdocumentation_property): Take advantage of the fact that | |
27912 | get_doc_string now ignores the sign of the docstring position. | |
60a653f1 | 27913 | |
048addec | 27914 | * eval.c: Use standard syntax for usage in docstrings. |
60a653f1 | 27915 | |
048addec | 27916 | 2001-12-03 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 27917 | |
a64387ee | 27918 | * xdisp.c (syms_of_xdisp): Make `tool-bar-button-relief' an option. |
60a653f1 | 27919 | |
048addec | 27920 | 2001-12-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 27921 | |
048addec JD |
27922 | * xterm.c (x_draw_image_relief): Use predefined macro instead of |
27923 | constant when the value of `tool_bar_button_relief' is negative. | |
60a653f1 | 27924 | |
048addec | 27925 | 2001-12-02 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 27926 | |
048addec JD |
27927 | * xmenu.c (menu_highlight_callback): Use `help' field as Lisp_Object. |
27928 | (single_submenu, xmenu_show): Set `help' field as Lisp_Object. | |
60a653f1 | 27929 | |
048addec | 27930 | * fileio.c (read_non_regular): Delete Fsignal call. |
60a653f1 | 27931 | |
048addec | 27932 | 2001-12-01 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 27933 | |
048addec | 27934 | * lisp.h (run_hook_list_with_args): Undo last change. |
60a653f1 | 27935 | |
048addec | 27936 | 2001-12-01 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 27937 | |
048addec | 27938 | * xterm.c (x_draw_fringe_bitmap): Always undo clipping. |
60a653f1 | 27939 | |
048addec | 27940 | 2001-12-01 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 27941 | |
f63fd14e | 27942 | * window.c (Qleft_fringe, Qright_fringe): Remove. Now in frame.c. |
60a653f1 | 27943 | |
048addec JD |
27944 | * w32term.h (WM_MOUSELEAVE, TME_LEAVE, TRACKMOUSEEVENT) |
27945 | [!WM_MOUSELEAVE]: Define. | |
60a653f1 | 27946 | |
048addec JD |
27947 | * w32menu.c (current_popup_menu, get_menu_item_info): |
27948 | (set_menu_item_info): New vars. | |
27949 | (set_frame_menubar): Doc fix clarifying GC interaction with menus. | |
27950 | (w32_menu_show): Set current_popup_menu. | |
27951 | (add_menu_item): Allocate new strings for owner-drawn menu items | |
27952 | and help strings. | |
27953 | Use owner-draw for disabled menu items again. | |
27954 | (w32_menu_display_help): Ignore owner-drawn items and popup menus. | |
27955 | (w32_free_submenu_strings, w32_free_menu_strings): New functions. | |
60a653f1 | 27956 | |
048addec JD |
27957 | * w32fns.c (trackmouse_window, track_mouse_event_fn): New vars. |
27958 | (w32_wnd_proc) <WM_MOUSEMOVE>: Notice when mouse enters frame. | |
27959 | <WM_EXITMENULOOP>: Free menu strings. | |
27960 | <WM_MOUSELEAVE>: Stop tracking mouse. | |
27961 | (x_create_tip_frame): Specify no minibuffer, modeline or fringes. | |
60a653f1 | 27962 | |
048addec JD |
27963 | * w32term.c (w32_read_socket) <WM_MOUSELEAVE>: Cancel help echo |
27964 | and mouse face. | |
60a653f1 | 27965 | |
048addec | 27966 | 2001-12-01 Kim F. Storm <storm@cua.dk> |
60a653f1 | 27967 | |
048addec JD |
27968 | The following changes add left-fringe and right-fringe |
27969 | frame parameters to adjust fringe widths, or remove one or | |
27970 | both fringes. | |
60a653f1 | 27971 | |
048addec JD |
27972 | * frame.h (struct frame): Remove trunc_area_pixel_width and |
27973 | trunc_area_cols fields. | |
27974 | (Qleft_fringe, Qright_fringe): Declare. | |
27975 | (FRAME_RIGHT_FRINGE_WIDTH): New macro. | |
60a653f1 | 27976 | |
048addec JD |
27977 | * frame.c (Qleft_fringe, Qright_fringe): New vars. |
27978 | (syms_of_frame): Initialize them. | |
60a653f1 | 27979 | |
048addec JD |
27980 | * window.c (coordinates_in_window): Handle separate left and right |
27981 | fringe widths. | |
60a653f1 | 27982 | |
048addec JD |
27983 | * xterm.h (struct x_output): Add left_fringe_width, right_fringe_width, |
27984 | and fringe_cols fields. | |
27985 | (FRAME_FRINGE_BITMAP_WIDTH, FRAME_FRINGE_BITMAP_HEIGHT): Remove macros. | |
27986 | (FRAME_X_FRINGE_COLS): Use fringe_cols field. | |
27987 | (FRAME_X_FRINGE_WIDTH): Use fringes_extra field. | |
27988 | (FRAME_X_LEFT_FRINGE_WIDTH): Use left_fringe_width field. | |
27989 | (FRAME_X_RIGHT_FRINGE_WIDTH): Use right_fringe_width field. | |
27990 | (x_compute_fringe_widths): Add prototype. | |
60a653f1 | 27991 | |
048addec JD |
27992 | * xterm.c (zv_height, zv_bits, zv_period): Changed zv bitmap to |
27993 | fill fringe evenly with small dashes. | |
f63fd14e | 27994 | (x_draw_fringe_bitmap): Clear background if necessary. Align and |
048addec JD |
27995 | clip the new ZV bitmap to avoid jitter between rows. |
27996 | (x_draw_row_fringe_bitmaps): Rely on x_draw_fringe_bitmap to clear | |
27997 | background. Don't draw fringe bitmaps if fringe width is zero. | |
27998 | (x_compute_fringe_widths): New function. | |
27999 | (x_new_font, x_set_window_size_1): Use it. | |
60a653f1 | 28000 | |
048addec JD |
28001 | * xfns.c (x_frame_parms): Add `left-fringe' and `right-fringe' parms. |
28002 | (x_set_frame_parameters): Process `font' parameter before other | |
28003 | parameters as fringe widths depend on it. | |
28004 | (x_set_fringe_width): New function. | |
28005 | (x_figure_window_size): Use x_compute_fringe_widths. | |
28006 | (Fx_create_frame): Process `left-fringe' and `right-fringe' frame | |
28007 | parameters. | |
60a653f1 | 28008 | |
048addec JD |
28009 | * widget.c (set_frame_size): Use x_compute_fringe_widths. |
28010 | (EmacsFrameSetCharSize): Ditto. | |
60a653f1 | 28011 | |
048addec JD |
28012 | * w32term.h: Merged changes from xterm.h. |
28013 | * w32term.c: Merged changes from xterm.c. | |
28014 | * w32fns.c: Merged changes from xfns.c. | |
60a653f1 | 28015 | |
048addec | 28016 | 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 28017 | |
048addec | 28018 | * COPYING: Removed. |
60a653f1 | 28019 | |
048addec | 28020 | 2001-11-29 Dave Love <fx@gnu.org> |
60a653f1 | 28021 | |
048addec JD |
28022 | * coding.c (syms_of_coding) <Qchar_coding_system>: Give it an |
28023 | extra extra slot. | |
28024 | (detect_coding_mask): Fix call of detect_coding_iso2022. | |
60a653f1 | 28025 | |
048addec | 28026 | 2001-11-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 28027 | |
048addec JD |
28028 | * fileio.c (file-name-coding-system) |
28029 | (default-file-name-coding-system): Doc fix (links to referenced | |
28030 | variables added). | |
60a653f1 | 28031 | |
048addec | 28032 | 2001-11-28 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 28033 | |
048addec JD |
28034 | * lisp.h (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5): |
28035 | Add dummy uses of gcproN variables. | |
60a653f1 | 28036 | |
048addec JD |
28037 | * category.c (describe_category, describe_category_1) |
28038 | (Fdescribe_categories): Remove. (Moved to lisp/help-fns.el.) | |
28039 | (syms_of_category): Don't defsubr Sdescribe_categories. | |
60a653f1 | 28040 | |
048addec | 28041 | 2001-11-28 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 28042 | |
048addec | 28043 | * fileio.c (Ffind_file_name_handler): Avoid initializer for `result'. |
60a653f1 | 28044 | |
048addec JD |
28045 | * Makefile.in (lispdir): New variable, referring to build dir. |
28046 | (TAGS-LISP): Find Makefile in $(lispdir), not $(lispsource). | |
60a653f1 | 28047 | |
048addec | 28048 | 2001-11-28 Andrew Innes <andrewi@gnu.org> |
60a653f1 | 28049 | |
048addec JD |
28050 | * w32menu.c (w32_menu_display_help): Actually add the new argument |
28051 | OWNER. | |
60a653f1 | 28052 | |
048addec | 28053 | 2001-11-28 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 28054 | |
048addec JD |
28055 | * w32menu.c (add_menu_item): Do not use owner-draw for disabled |
28056 | menu items. From David Ponce <dponce@wanadoo.fr>. | |
28057 | (w32_dialog_show) [HAVE_DIALOGS]: Compile whole function | |
28058 | conditionally. | |
f63fd14e | 28059 | (w32_menu_display_help): New argument OWNER. Rewritten to store a |
048addec | 28060 | help event in the owner frame's keyboard buffer. |
60a653f1 | 28061 | |
048addec JD |
28062 | * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Display help directly. |
28063 | (Fx_show_tip): Don't subtract last width from row width. | |
28064 | ||
28065 | * w32term.c (w32_read_socket) <WM_MENUSELECT>: Remove. | |
28066 | (w32_read_socket): Use EQ to compare frames. | |
60a653f1 | 28067 | |
048addec | 28068 | 2001-11-28 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 28069 | |
048addec JD |
28070 | * xterm.c (x_draw_glyphs): Don't call notice_overwritten_cursor if |
28071 | OVERLAPS_P. | |
60a653f1 | 28072 | |
048addec | 28073 | 2001-11-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 28074 | |
048addec JD |
28075 | * xdisp.c (message_dolog): Remove unused variables `gcpro2', |
28076 | `gcpro3' and `gcpro4'. | |
60a653f1 | 28077 | |
048addec | 28078 | * coding.c (decode_coding_string): Remove unused variable `gcpro1'. |
60a653f1 | 28079 | |
048addec | 28080 | 2001-11-28 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 28081 | |
048addec | 28082 | * ccl.c: Use AREF and ASIZE. |
60a653f1 | 28083 | |
048addec | 28084 | 2001-11-27 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 28085 | |
048addec JD |
28086 | * lisp.h (run_hook_list_with_args): Remove. |
28087 | (LIST_END_P): Fix call to wrong_type_argument. | |
28088 | (make_fixnum_or_float): Use EMACS_INT rather than int. | |
60a653f1 | 28089 | |
048addec | 28090 | 2001-11-26 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 28091 | |
048addec JD |
28092 | * syntax.c (syms_of_syntax): Remove defsubr of Sdescribe_syntax. |
28093 | (describe_syntax, describe_syntax_1, Fdescribe_syntax): Remove. | |
60a653f1 | 28094 | |
048addec JD |
28095 | * eval.c: Use AREF and ASIZE. |
28096 | (Ffetch_bytecode): Add the file name to the error message. | |
60a653f1 | 28097 | |
048addec JD |
28098 | * fileio.c (Ffind_file_name_handler): Give precedence to handlers |
28099 | which match the end of the file-name. | |
28100 | (Fsubstitute_in_file_name): Don't signal an error if $ENVVAR | |
28101 | is not a valid env var, but leave it as is instead. | |
60a653f1 | 28102 | |
048addec JD |
28103 | * keymap.c (access_keymap): Handle t bindings like nil bindings. |
28104 | Make nil bindings in char-tables transparent. | |
28105 | (store_in_keymap): Turn a nil binding into a t binding for char-tables. | |
60a653f1 | 28106 | |
048addec | 28107 | 2001-11-26 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 28108 | |
048addec JD |
28109 | * textprop.c (set_text_properties_1): Allow START, END in either order. |
28110 | Do nothing if range is empty. | |
60a653f1 | 28111 | |
048addec | 28112 | * Makefile.in (mallocobj): Simplify logic using auxiliary vars. |
60a653f1 | 28113 | |
048addec JD |
28114 | * Makefile.in (mostlyclean): Delete bootstrap-emacs here. |
28115 | (clean): Not here. | |
60a653f1 | 28116 | |
048addec | 28117 | 2001-11-25 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 28118 | |
048addec JD |
28119 | * textprop.c (set_text_properties_1): Clearly mark that the |
28120 | interval should not be empty. | |
60a653f1 | 28121 | |
048addec JD |
28122 | * intervals.c (graft_intervals_into_buffer): |
28123 | Don't call set_text_properties_1 on an empty interval. | |
60a653f1 | 28124 | |
048addec | 28125 | 2001-11-25 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 28126 | |
048addec | 28127 | * unexelf.c (unexec): Index by n, not nn, when checking for ".sbss". |
60a653f1 | 28128 | |
048addec JD |
28129 | * callproc.c (Fcall_process): When we make a bigger buffer for bufptr, |
28130 | don't lose the data in it. | |
60a653f1 | 28131 | |
048addec | 28132 | 2001-11-25 Juanma Barranquero <lektu@terra.es> |
60a653f1 | 28133 | |
048addec | 28134 | * abbrev.c (Fexpand_abbrev): Use Frun_hooks instead of Vrun_hooks. |
60a653f1 | 28135 | |
c62aec78 | 28136 | * buffer.c (Fkill_buffer): Likewise. |
60a653f1 | 28137 | |
c62aec78 | 28138 | * print.c (temp_output_buffer_setup): Likewise. |
60a653f1 | 28139 | |
048addec | 28140 | 2001-11-25 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 28141 | |
048addec | 28142 | * xfaces.c (merge_face_heights): Coerce back to int explicitly. |
60a653f1 | 28143 | |
048addec | 28144 | 2001-11-25 Eli Zaretskii <eliz@is.elta.co.il> |
60a653f1 | 28145 | |
048addec JD |
28146 | * window.c (Fset_window_vscroll): Doc fix. From Kalle Olavi |
28147 | Niemitalo <kon@iki.fi>. | |
60a653f1 | 28148 | |
048addec | 28149 | 2001-11-25 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 28150 | |
048addec | 28151 | * w32term.h (FRAME_X_FRINGE_COLS): No fringe on tip frames. |
60a653f1 | 28152 | |
048addec JD |
28153 | * w32fns.c (x_create_tip_frame): Set frame's fringes_extra to 0. |
28154 | (Fx_show_tip): Block input during frame creation. | |
28155 | (Fx_show_tip, Fx_hide_tip): Enable. | |
60a653f1 | 28156 | |
048addec | 28157 | 2001-11-24 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 28158 | |
048addec JD |
28159 | * lread.c (Fload): Detect recursive load error for more than 3 |
28160 | nestings of the same file. | |
28161 | (Vrecursive_load_depth_limit): Variable deleted. | |
28162 | (syms_of_lread) <recursive-load-depth-limit>: Variable deleted. | |
60a653f1 | 28163 | |
048addec | 28164 | 2001-11-24 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 28165 | |
048addec JD |
28166 | * xfns.c (compute_tip_xy): Initialize root_x and root_y from |
28167 | mouse position if either left or top is not specified. | |
60a653f1 | 28168 | |
048addec JD |
28169 | * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Revert last change. |
28170 | <WM_WINDOWPOSCHANGING>: Let tip frames resize without restriction. | |
28171 | (my_create_tip_window, Fx_show_tip): Adjust size for external border. | |
28172 | (my_create_tip_window): Assign tip_window. | |
28173 | (x_create_tip_frame): Use same defaults as X. | |
28174 | (compute_tip_xy): Remove unused variable. Use full screen width. | |
f63fd14e | 28175 | (Fx_show_tip): Do not double height. Call ShowWindow directly. |
60a653f1 | 28176 | |
048addec JD |
28177 | * w32term.c (x_after_update_window_line): Doc fix. |
28178 | (w32_read_socket): Doc fix. Avoid SET_FRAME_GARBAGED for tip | |
28179 | frames. | |
28180 | <WM_SHOWWINDOW>: Redo mouse highlight when hiding tip frame. | |
60a653f1 | 28181 | |
048addec JD |
28182 | * xdisp.c (prepare_menu_bars) [HAVE_WINDOW_SYSTEM]: Use tip_frame |
28183 | for all Windowed systems. | |
60a653f1 | 28184 | |
048addec | 28185 | 2001-11-23 Eli Zaretskii <eliz@is.elta.co.il> |
60a653f1 | 28186 | |
048addec JD |
28187 | * msdos.c (IT_clear_screen): If the frame's faces are not yet |
28188 | realized, use the initial screen colors to clear the screen. | |
60a653f1 | 28189 | |
048addec | 28190 | 2001-11-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 28191 | |
048addec JD |
28192 | * textprop.c (Fset_text_properties): Remove unused variables |
28193 | `unchanged', `prev_changed', `s' and `len'. | |
60a653f1 | 28194 | |
048addec JD |
28195 | * search.c (Freplace_match): Remove unused variable `inslen'. |
28196 | ||
28197 | * keymap.c (access_keymap): Remove unused variables `c1' and `c2'. | |
28198 | ||
28199 | 2001-11-22 Jason Rumney <jasonr@gnu.org> | |
28200 | ||
28201 | * w32fns.c (x_window_to_frame): Remove irrelevant TODO comment. | |
28202 | (w32_wnd_proc) <WM_MENUSELECT>: Show help echo directly. | |
28203 | (my_create_tip_window): New function. | |
28204 | (x_create_tip_frame, compute_tip_xy): Adapt for Windows. | |
28205 | (Fx_show_tip, Fx_hide_tip) [TEST_TOOLTIPS]: Adapt for Windows. | |
28206 | ||
28207 | 2001-11-20 Jason Rumney <jasonr@gnu.org> | |
28208 | ||
28209 | * coding.h (Vw32_system_coding_system) [WINDOWSNT]: Remove. | |
28210 | (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: Use Vlocale_coding_system. | |
28211 | ||
28212 | * w32fns.c (Vw32_system_coding_system): Remove. | |
28213 | (w32_to_x_font, x_to_w32_font): Use Vlocale_coding_system. | |
28214 | ||
28215 | 2001-11-19 Stefan Monnier <monnier@cs.yale.edu> | |
28216 | ||
28217 | * fileio.c (Fwrite_region): Move choose_write_coding_system to | |
28218 | after build_annotations. | |
28219 | ||
28220 | * syntax.c (describe_syntax): Add dummy arg. | |
28221 | (describe_syntax_1): Update call to describe_vector. | |
28222 | ||
28223 | * category.c (describe_category): Add dummy arg. | |
28224 | (describe_category_1): Update call to describe_vector. | |
28225 | ||
28226 | * keymap.c (Fdescribe_vector): Add `describer' parameter. | |
28227 | (describe_command, describe_translation): Add dummy second param. | |
28228 | (describe_map): Call elt_describer with two arguments. | |
28229 | (describe_vector_princ): Add `fun' parameter. | |
28230 | Call it instead of the hardcoded `princ'. | |
28231 | (describe_vector): Add arg `args'. | |
28232 | Pass it as a new second argument to elt_describer. | |
60a653f1 | 28233 | |
048addec | 28234 | * keymap.h (describe_vector): Update prototype. |
60a653f1 | 28235 | |
048addec JD |
28236 | * frame.c: Don't include keymap.h any more. |
28237 | (keys_of_frame): Remove. | |
60a653f1 | 28238 | |
048addec | 28239 | * lisp.h (keys_of_frame): Remove declaration. |
60a653f1 | 28240 | |
048addec | 28241 | * emacs.c (main): Don't call `keys_of_frame' any more. |
60a653f1 | 28242 | |
048addec | 28243 | 2001-11-14 Andreas Schwab <schwab@suse.de> |
60a653f1 | 28244 | |
048addec JD |
28245 | * unexelf.c [!defined MAP_ANON]: Define MAP_ANON to MAP_ANONYMOUS |
28246 | if defined, 0 otherwise. | |
28247 | (MAP_FAILED): Define if not defined and use it to test mmap failure. | |
28248 | (unexec) [!MAP_ANON]: Use /dev/zero as file to map. | |
60a653f1 | 28249 | |
048addec | 28250 | 2001-11-19 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 28251 | |
048addec | 28252 | * indent.c (current_column_1): Fix handling of scan_bytes for mb chars. |
60a653f1 | 28253 | |
048addec | 28254 | 2001-11-18 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 28255 | |
048addec JD |
28256 | * w32term.c (note_mouse_highlight): Fix type of variable `ignore'. |
28257 | (x_draw_bar_cursor): If the background color of the glyph under | |
28258 | the cursor equals the frame's cursor color, use the glyph's | |
28259 | foreground color for drawing the bar cursor. | |
28260 | (x_after_update_window_line): Clear internal border in different | |
28261 | circumstances. | |
28262 | (w32_set_vertical_scroll_bar): Check for width and height > 0. | |
28263 | (w32_draw_relief_rect): Correct relief by 1 pixel. | |
28264 | (x_set_glyph_string_background_width): | |
28265 | Set extends_to_end_of_line_p if the row's fill_line_p is set and | |
28266 | drawing the last glyph with DRAW_IMAGE_{RAISED,SUNKEN}. | |
28267 | (x_display_and_set_cursor): If cursor_in_echo_area, use NO_CURSOR | |
28268 | if cursor_in_non_selected_windows is false. | |
28269 | (show_mouse_face): Clean up. Recognize overwritten cursor differently. | |
28270 | (x_draw_glyphs): Remove parameters REAL_START and REAL_END. | |
28271 | Notice if cursor gets overwritten. | |
28272 | (notice_overwritten_cursor): Renamed from | |
28273 | note_overwritten_text_cursor. Rewritten to take glyph widths | |
28274 | into account, and to take X positions as parameters. | |
28275 | (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p | |
28276 | around call to x_draw_glyphs. | |
28277 | (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and | |
28278 | `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background | |
28279 | color to use for image glyph reliefs. | |
28280 | (x_draw_image_relief): Accept zero tool_bar_button_relief. | |
28281 | (glyph_rect): Remove unused variable `area'. | |
60a653f1 | 28282 | |
048addec JD |
28283 | * w32fns.c (x_set_frame_parameters): Avoid infinite recursion for |
28284 | some items. | |
28285 | (x_set_internal_border_width): Set frame garbaged when window | |
28286 | doesn't exist yet. | |
28287 | (Fx_create_frame): Accept zero tool_bar_button_relief. | |
28288 | (x_clear_image_1, four_corners_best, image_background) | |
28289 | (image_background_transparent): New functions. | |
28290 | (xpm_format, png_format, jpeg_format, tiff_format, gif_format) | |
28291 | (gs_format): Add `:background' entry. | |
28292 | (lookup_image): Set IMG's background color if specified. | |
28293 | (pbm_load, xbm_load_image, png_load): Set IMG's background field | |
28294 | when appropriate. | |
28295 | (x_clear_image_1): Reset `background_valid' and | |
28296 | `background_transparent_valid' fields. | |
28297 | (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of | |
28298 | calculating it here. Set IMG's background_transparent field. | |
28299 | (enum xpm_keyword_index): Add XPM_BACKGROUND. | |
28300 | (enum png_keyword_index): Add PNG_BACKGROUND. | |
28301 | (enum jpeg_keyword_index): Add JPEG_BACKGROUND. | |
28302 | (enum tiff_keyword_index): Add TIFF_BACKGROUND. | |
28303 | (enum gif_keyword_index): Add GIF_BACKGROUND. | |
28304 | (enum gs_keyword_index): Add GS_BACKGROUND. | |
28305 | (pbm_load, png_load, jpeg_load, tiff_load, gif_load): | |
28306 | Pre-calculate image background color where necessary. | |
28307 | (x_create_x_image_and_pixmap, xbm_load, gs_load): | |
28308 | Use display info's n_cbits entry for screen depth. | |
28309 | (Fx_show_tip): Remove unused variables `buffer', `top', | |
28310 | `left', `max_width' and `max_height'. | |
60a653f1 | 28311 | |
048addec | 28312 | * w32menu.c (w32_menu_show, push_menu_pane): Doc fixes. |
60a653f1 | 28313 | |
048addec | 28314 | 2001-11-18 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 28315 | |
048addec | 28316 | * puresize.h (BASE_PURESIZE): Increase to 750000. |
60a653f1 | 28317 | |
048addec | 28318 | 2001-11-18 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
60a653f1 | 28319 | |
048addec | 28320 | * frame.c (Fframe_live_p): Doc fix. |
60a653f1 | 28321 | |
048addec | 28322 | 2001-11-18 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 28323 | |
048addec JD |
28324 | * xdisp.c (message_dolog_marker1, message_dolog_marker2) |
28325 | (message_dolog_marker3): New static variables hold three markers. | |
28326 | (syms_of_xdisp): Initialize and staticpro them. | |
28327 | (message_dolog): Use message_dolog_marker1..3 instead of | |
28328 | allocating markers each time. Unchain them when done. | |
60a653f1 | 28329 | |
048addec | 28330 | 2001-11-17 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 28331 | |
048addec | 28332 | * doc.c (Fsnarf_documentation): Doc fix. |
60a653f1 | 28333 | |
048addec | 28334 | 2001-11-17 Andreas Schwab <schwab@suse.de> |
60a653f1 | 28335 | |
048addec | 28336 | * xterm.c (note_mouse_highlight): Fix type of variable `ignore'. |
60a653f1 | 28337 | |
048addec | 28338 | 2001-11-17 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 28339 | |
048addec | 28340 | * fileio.c (Fwrite_region): Avoid initializer for Lisp_Object. |
60a653f1 | 28341 | |
048addec | 28342 | 2001-11-17 Jason Rumney <jasonr@gnu.org> |
60a653f1 | 28343 | |
048addec | 28344 | * xterm.c (notice_overwritten_cursor): Take care of end < 0 case. |
60a653f1 | 28345 | |
048addec | 28346 | 2001-11-17 Gerd Moellmann <gerd@gnu.org> |
60a653f1 | 28347 | |
048addec JD |
28348 | * xdisp.c (tool_bar_item_info): Avoid calling Fget_text_property |
28349 | with invalid position. | |
60a653f1 | 28350 | |
048addec | 28351 | 2001-11-16 Richard M. Stallman <rms@gnu.org> |
60a653f1 | 28352 | |
048addec | 28353 | * syswait.h: Delete conditionals for HPUX7, ISC 4.1, and convex. |
60a653f1 | 28354 | |
048addec JD |
28355 | * s/isc4-1.h (HAVE_SYS_WAIT_H): Add #undef. |
28356 | * s/hpux.h (HAVE_SYS_WAIT_H): Add #undef. | |
28357 | * s/hpux8.h (HAVE_SYS_WAIT_H): Define it. | |
60a653f1 | 28358 | |
048addec | 28359 | * m/convex.h (HAVE_SYS_WAIT_H): Add #undef. |
60a653f1 | 28360 | |
048addec | 28361 | 2001-11-16 Stefan Monnier <monnier@cs.yale.edu> |
60a653f1 | 28362 | |
048addec JD |
28363 | * fileio.c (build_annotations): Split off the tail. |
28364 | (build_annotations_2): New fun. Extracted from build_annotations. | |
28365 | (Fwrite_region): Split the call to build_annotations into two | |
28366 | calls to build_annotations and build_annotations_2. | |
077907d4 | 28367 | |
048addec | 28368 | 2001-11-16 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
1756e2fb | 28369 | |
048addec JD |
28370 | * sysdep.c (wait_for_kbd_input) [VMS]: Do not call |
28371 | clear_waiting_for_input with argument. | |
1756e2fb | 28372 | |
048addec | 28373 | * xterm.h (x_update_cursor): Remove duplicated prototype. |
06e8f738 | 28374 | |
048addec | 28375 | * keyboard.h (clear_waiting_for_input): Remove duplicated prototype. |
06e8f738 | 28376 | |
048addec | 28377 | * xterm.c (waiting_for_input): Remove unnecessary declaration. |
fa336b91 | 28378 | |
048addec | 28379 | * data.c (Ftimes, Fquo, Frem, Fmod): Doc fix. |
fa336b91 | 28380 | |
048addec | 28381 | 2001-11-16 Stefan Monnier <monnier@cs.yale.edu> |
fa336b91 | 28382 | |
048addec JD |
28383 | * fileio.c (choose_write_coding_system): New fun, extracted |
28384 | from Fwrite_region. | |
28385 | (Fwrite_region): Use it. | |
fa336b91 | 28386 | |
048addec JD |
28387 | * eval.c (max_specpdl_size, max_lisp_eval_depth): Use EMACS_INT. |
28388 | (funcall_lambda, run_hook_with_args): Make static and add prototype. | |
28389 | (ml_apply, find_handler_clause): Add prototype. | |
fa336b91 | 28390 | |
048addec | 28391 | 2001-11-16 Eli Zaretskii <eliz@gnu.org> |
fa336b91 | 28392 | |
048addec | 28393 | * config.in: Add #undef HAVE_COFF_H. |
fa336b91 | 28394 | |
048addec JD |
28395 | * unexec.c (coff.h): Don't include unless HAVE_COFF_H is defined. |
28396 | Required for ISC 4.1. | |
fa336b91 | 28397 | |
048addec | 28398 | 2001-11-16 Eli Zaretskii <eliz@is.elta.co.il> |
fa336b91 | 28399 | |
52eb0373 | 28400 | * syswait.h (HAVE_SYS_WAIT_H): Undef for ISC 4.1. Reported by |
048addec | 28401 | Andrew Wiseman <a.wiseman@btclick.com>. |
fa336b91 | 28402 | |
048addec | 28403 | 2001-11-16 Kim F. Storm <storm@cua.dk> |
fa336b91 | 28404 | |
048addec JD |
28405 | The following changes are made to clean up the various internal |
28406 | references to the fringes to actually use the term `fringe' for | |
28407 | them. Previously, they were called `flags areas', `bitmap areas', | |
28408 | `left/right side of windows', or implicitly as `flags' or | |
28409 | `bitmaps': | |
fa336b91 | 28410 | |
048addec | 28411 | * dispextern.h (FRINGE_FACE_ID): Renamed from BITMAP_AREA_FACE_ID. |
f63fd14e | 28412 | Comments fixed. Use renamed symbols. |
06e8f738 | 28413 | |
f63fd14e | 28414 | * dispnew.c: Comment fix. Use renamed symbols. |
06e8f738 | 28415 | |
048addec JD |
28416 | * frame.h (FRAME_FRINGE_COLS): Renamed from FRAME_FLAGS_AREA_COLS. |
28417 | (FRAME_FRINGE_WIDTH): Renamed from FRAME_FLAGS_AREA_WIDTH. | |
28418 | (FRAME_LEFT_FRINGE_WIDTH): Renamed from FRAME_LEFT_FLAGS_AREA_WIDTH. | |
9ce647f4 | 28419 | |
048addec | 28420 | * msdos.c: Comment fix. |
9ce647f4 | 28421 | |
048addec | 28422 | * w32fns.c: Use renamed symbols. |
9b784ab8 | 28423 | |
f63fd14e | 28424 | * w32term.c: Comment fixes. Use renamed symbols. |
048addec JD |
28425 | (fringe_bitmap_type): Renamed from bitmap_type. |
28426 | (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. | |
28427 | (w32_draw_fringe_bitmap): Renamed from w32_draw_bitmap. | |
28428 | (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. | |
9f7e52b4 | 28429 | |
f63fd14e | 28430 | * w32term.h: Comment fixes. Use renamed symbols. |
048addec JD |
28431 | (fringes_extra): Renamed from flags_areas_extra. |
28432 | (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. | |
28433 | (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. | |
28434 | (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS. | |
28435 | (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH. | |
28436 | (FRAME_X_LEFT_FRINGE_WIDTH): | |
28437 | Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH. | |
28438 | (FRAME_X_RIGHT_FRINGE_WIDTH): | |
28439 | Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH. | |
9f7e52b4 | 28440 | |
048addec | 28441 | * widget.c: Use renamed symbols. |
9f7e52b4 | 28442 | |
f63fd14e | 28443 | * window.c: Comment fixes. Use renamed symbols. |
048addec | 28444 | (coordinates-in-window-p): Doc fix. |
fa336b91 | 28445 | |
f63fd14e | 28446 | * xdisp.c: Comment fixes. Use renamed symbols. |
34e5d0af | 28447 | |
048addec | 28448 | * xfaces.c (realize_basic_faces): Use FRINGE_FACE_ID. |
9b784ab8 | 28449 | |
048addec | 28450 | * xfns.c: Use renamed symbols. |
89512fcd | 28451 | |
f63fd14e | 28452 | * xterm.c: Comment fixes. Use renamed symbols. |
048addec JD |
28453 | (fringe_bitmap_type): Renamed from bitmap_type. |
28454 | (NO_FRINGE_BITMAP): Renamed from NO_BITMAP. | |
28455 | (x_draw_fringe_bitmap): Renamed from x_draw_bitmap. | |
28456 | (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps. | |
89512fcd | 28457 | |
f63fd14e | 28458 | * xterm.h: Comment fixes. Use renamed symbols. |
048addec JD |
28459 | (fringes_extra): Renamed from flags_areas_extra. |
28460 | (FRAME_FRINGE_BITMAP_WIDTH): Renamed from FRAME_FLAGS_BITMAP_WIDTH. | |
28461 | (FRAME_FRINGE_BITMAP_HEIGHT): Renamed from FRAME_FLAGS_BITMAP_HEIGHT. | |
28462 | (FRAME_X_FRINGE_COLS): Renamed from FRAME_X_FLAGS_AREA_COLS. | |
28463 | (FRAME_X_FRINGE_WIDTH): Renamed from FRAME_X_FLAGS_AREA_WIDTH. | |
28464 | (FRAME_X_LEFT_FRINGE_WIDTH): | |
28465 | Renamed from FRAME_X_LEFT_FLAGS_AREA_WIDTH. | |
28466 | (FRAME_X_RIGHT_FRINGE_WIDTH): | |
28467 | Renamed from FRAME_X_RIGHT_FLAGS_AREA_WIDTH. | |
28468 | ||
28469 | 2001-11-15 Jason Rumney <jasonr@gnu.org> | |
28470 | ||
28471 | * w32menu.c (add-menu-item): Make help_echo and radio buttons | |
28472 | work for most menu items. From David Ponce | |
28473 | <david.ponce@wanadoo.fr>. | |
28474 | ||
28475 | 2001-11-15 Gerd Moellmann <gerd@gnu.org> | |
28476 | ||
28477 | * xfns.c (x_set_frame_parameters): Revert change of 2001-11-07. | |
28478 | Some x_set_* function expect to be called even if old and new | |
28479 | value are equal. | |
28480 | ||
28481 | * xdisp.c (build_desired_tool_bar_string): Accept zero | |
28482 | tool_bar_button_relief. | |
28483 | ||
28484 | * xfns.c (Fx_create_frame): Accept zero tool_bar_button_relief. | |
28485 | ||
28486 | * xterm.c (x_draw_image_relief): Accept zero tool_bar_button_relief. | |
28487 | ||
28488 | * xterm.c (x_draw_bar_cursor): If the background color of the | |
28489 | glyph under the cursor equals the frame's cursor color, use | |
28490 | the glyph's foreground color for drawing the bar cursor. | |
28491 | ||
28492 | * dispnew.c (direct_output_forward_char): Fix character/byte | |
28493 | position comparison. | |
7d18891d | 28494 | |
048addec | 28495 | 2001-11-15 Miles Bader <miles@gnu.org> |
d2936d21 | 28496 | |
048addec JD |
28497 | * editfns.c (find_field): Add BEG_LIMIT and END_LIMIT parameters. |
28498 | (Fdelete_field, Ffield_string, Ffield_string_no_properties): | |
28499 | Update arguments to find_field. | |
28500 | (Ffield_beginning, Ffield_end): Add LIMIT param, pass to find_field. | |
28501 | (Fconstrain_to_field): Use LIMIT arg to shorten search time. | |
28502 | * lisp.h (Ffield_beginning, Ffield_end): Update EXFUN decl. | |
28503 | * minibuf.c (Fminibuffer_prompt_end): Update args to Ffield_end. | |
7d18891d | 28504 | |
048addec | 28505 | 2001-11-14 Richard M. Stallman <rms@gnu.org> |
7d18891d | 28506 | |
048addec | 28507 | * editfns.c (Fpropertize): Allow call with 1 arg. |
7d18891d | 28508 | |
048addec JD |
28509 | * dispextern.h (image_background, image_background_transparent): |
28510 | Conditionalize on HAVE_X_WINDOWS. | |
7d18891d | 28511 | |
048addec | 28512 | 2001-11-13 Richard M. Stallman <rms@gnu.org> |
7d18891d | 28513 | |
048addec | 28514 | * print.c (Fprin1_to_string): Doc fix. |
7d18891d | 28515 | |
048addec | 28516 | * sunfns.c (Fsun_change_cursor_icon): Doc fix. |
7d18891d | 28517 | |
048addec | 28518 | * floatfns.c (Fceiling, Ffloor): Doc fixes. |
7d18891d | 28519 | |
048addec | 28520 | * filelock.c (Funlock_buffer, Ffile_locked_p): Doc fixes. |
7d18891d | 28521 | |
048addec | 28522 | * fileio.c (Ffile_accessible_directory_p): Doc fix. |
7d18891d | 28523 | |
048addec | 28524 | * eval.c (syms_of_eval): Doc fix. |
7d18891d | 28525 | |
048addec | 28526 | * coding.c (syms_of_coding): Doc fix. |
7d18891d | 28527 | |
048addec | 28528 | * doc.c (Fsnarf_documentation): Doc fix. |
7d18891d | 28529 | |
048addec | 28530 | * dispnew.c (syms_of_display): Doc fix. |
9474c847 | 28531 | |
048addec | 28532 | * category.c (Fget_unused_category): Doc fix. |
9474c847 | 28533 | |
048addec | 28534 | * buffer.c (syms_of_buffer): Doc fixes. |
e3059a5d | 28535 | |
048addec | 28536 | 2001-11-14 Eli Zaretskii <eliz@is.elta.co.il> |
e3059a5d | 28537 | |
048addec | 28538 | * print.c (prin1, print): Doc fix. |
e3059a5d | 28539 | |
048addec | 28540 | 2001-11-14 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
b3700ae7 | 28541 | |
048addec JD |
28542 | * fontset.h: Remove declarations of variables |
28543 | `Vhighlight_wrong_size_font' and `Vclip_large_size_font'. | |
b3700ae7 | 28544 | |
048addec JD |
28545 | * fontset.c: Remove variables `Vhighlight_wrong_size_font' and |
28546 | `Vclip_large_size_font'. | |
eae936e2 | 28547 | |
048addec | 28548 | 2001-11-13 Jason Rumney <jasonr@gnu.org> |
4bb962be | 28549 | |
048addec | 28550 | * w32fns.c: Doc fix. |
ddb67bdc | 28551 | |
048addec | 28552 | 2001-11-13 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
3467c402 | 28553 | |
048addec | 28554 | * xfaces.c (Fface_attributes_as_vector): Doc fix. |
3467c402 | 28555 | |
048addec | 28556 | * fns.c: Doc fix. |
6e1b91d7 | 28557 | |
048addec | 28558 | * emacs.c: Doc fix. |
1c1d3d69 | 28559 | |
048addec | 28560 | * coding.c: Doc fix. |
1c1d3d69 | 28561 | |
048addec JD |
28562 | * cmds.c, composite.c, dired.c, doc.c, filelock.c, floatfns.c, |
28563 | * fontset.c, insdel.c, keymap.c: Change doc-string comments to | |
28564 | `new style' [w/`doc:' keyword]. | |
b6f4c7ba | 28565 | |
048addec | 28566 | 2001-11-12 Richard M. Stallman <rms@gnu.org> |
b6f4c7ba | 28567 | |
048addec JD |
28568 | * xterm.c (XTread_socket): Don't update focus for EnterNotify or |
28569 | LeaveNotify events. Only FocusIn and FocusOut do that now. | |
28570 | (x_display_and_set_cursor): Do display hollow cursors in active | |
28571 | minibuffer windows when they are not selected. | |
b6f4c7ba | 28572 | |
048addec | 28573 | 2001-11-12 Jason Rumney <jasonr@gnu.org> |
a89f435d | 28574 | |
048addec | 28575 | * w32console.c, w32fns.c, w32menu.c, w32proc.c, w32select.c, |
f63fd14e JB |
28576 | * w32term.c: Change doc-string comments to `new style' |
28577 | [w/`doc:' keyword]. Doc fixes. | |
a89f435d | 28578 | |
048addec JD |
28579 | * w32fns.c: Don't define max. |
28580 | (Fx_open_connection): Only execute once. | |
a4cd0cd7 | 28581 | |
048addec | 28582 | 2001-11-12 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
eafb659a | 28583 | |
048addec JD |
28584 | * ccl.c: Change macros to use do-while block instead of if-else. |
28585 | Use braces to follow GNU Coding Standards. | |
eafb659a | 28586 | |
048addec | 28587 | 2001-11-11 Richard M. Stallman <rms@gnu.org> |
a4cd0cd7 | 28588 | |
048addec | 28589 | * sysdep.c (child_setup_tty): Don't clear ICRNL or INLCR. |
a4cd0cd7 | 28590 | |
048addec | 28591 | * lread.c (read_escape): Use end_of_file_error for reporting eof. |
a4cd0cd7 | 28592 | |
048addec JD |
28593 | * insdel.c (replace_range): Use adjust_markers_for_replace |
28594 | instead of adjust_markers_for_delete and adjust_markers_for_insert. | |
a4cd0cd7 | 28595 | |
78819ebb | 28596 | * intervals.h (set_text_properties, set_text_properties_1): Declare. |
a4cd0cd7 | 28597 | |
048addec JD |
28598 | * textprop.c (set_text_properties_1): New subroutine |
28599 | broken out of set_text_properties. | |
28600 | (set_text_properties): Use set_text_properties_1. | |
91823618 | 28601 | |
048addec JD |
28602 | * intervals.c (graft_intervals_into_buffer): |
28603 | Use set_text_properties_1 to clear out properties. | |
91823618 | 28604 | |
048addec JD |
28605 | * search.c (Freplace_match): Use replace_range to insert |
28606 | and delete. Don't request property inheritance from | |
28607 | surrounding text. | |
86928dfb | 28608 | |
048addec | 28609 | 2001-11-10 Jason Rumney <jasonr@gnu.org> |
86928dfb | 28610 | |
048addec | 28611 | * w32fns.c (enum_font_cb2): Use leading @ on face name to detect |
f63fd14e | 28612 | vertical fonts. Allow them if face name is explicitly specified. |
048addec | 28613 | Do not give up if we find a font that cannot be converted to an xlfd. |
40ef1eda | 28614 | |
048addec | 28615 | 2001-11-10 Gerd Moellmann <gerd@gnu.org> |
ab8469eb | 28616 | |
048addec JD |
28617 | * unexelf.c (unexec): Use mmap/munmap to allocate buffers |
28618 | instead of malloc/free. | |
a78e0303 | 28619 | |
048addec | 28620 | 2001-11-09 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
40ef1eda | 28621 | |
048addec JD |
28622 | * xfaces.c (merge_face_vectors): Use braces to follow GNU |
28623 | Coding Standards. | |
28624 | (Finternal_set_lisp_face_attribute): Likewise. | |
fabf4a91 | 28625 | |
048addec | 28626 | * buffer.c (Fbury_buffer): Likewise. |
0c99b139 | 28627 | |
048addec | 28628 | * indent.c (current_column_1): Remove unused variable `prev_col'. |
0c99b139 | 28629 | |
048addec JD |
28630 | * coding.c (encode_coding): Use precomputed value of `src'. |
28631 | (encode_coding): Remove unused variable `src_end'. | |
28632 | (code_convert_region): Remove unused variables `count'. | |
830ddd77 | 28633 | |
048addec | 28634 | 2001-11-07 Jason Rumney <jasonr@gnu.org> |
830ddd77 | 28635 | |
048addec JD |
28636 | * w32term.c (x_display_and_set_cursor): Do not move system caret |
28637 | if cursor_glyph is NULL. | |
55c6d645 | 28638 | |
048addec | 28639 | 2001-11-07 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
55c6d645 | 28640 | |
048addec | 28641 | * keymap.c (access_keymap): Fix compilation error. |
5de38842 | 28642 | |
048addec | 28643 | 2001-11-07 Miles Bader <miles@gnu.org> |
7a4564a4 | 28644 | |
048addec | 28645 | * xfns.c (x_set_frame_parameters): Avoid infinite recursion. |
5de38842 | 28646 | |
048addec | 28647 | 2001-11-07 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4fa23df5 | 28648 | |
048addec JD |
28649 | * intervals.c (graft_intervals_into_buffer): |
28650 | Remove #ifdef'd-out code. | |
28651 | (graft_intervals_into_buffer): Remove unused variable `middle'. | |
4fa23df5 | 28652 | |
048addec JD |
28653 | * lread.c (Feval_region): Remove obsolete #ifdef'd-out |
28654 | code (eval-current-buffer). | |
28655 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
7a6a97d7 | 28656 | |
048addec | 28657 | 2001-11-06 Richard M. Stallman <rms@gnu.org> |
c191d13c | 28658 | |
048addec | 28659 | * keymap.c (access_keymap): Don't use initializers on Lisp_Object. |
7a6a97d7 | 28660 | |
048addec | 28661 | 2001-11-06 Stefan Monnier <monnier@cs.yale.edu> |
44dc78e0 | 28662 | |
048addec | 28663 | * lread.c (read1): Fix behavior with nested backquoting. |
44dc78e0 | 28664 | |
048addec JD |
28665 | * keyboard.c (make_lispy_event): Check integerness and fix |
28666 | Lisp_Object/int mixup. | |
17893c65 | 28667 | |
048addec | 28668 | 2001-11-06 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4d994a79 | 28669 | |
048addec | 28670 | * fns.c (copy_hash_table): Remove unused variable `v'. |
d5360cc7 | 28671 | |
048addec JD |
28672 | * fontset.c (fontset_font_pattern): Remove unused variable |
28673 | `family_registry'. | |
d5360cc7 | 28674 | |
048addec | 28675 | * indent.c (current_column_1): Remove unused variable `prev_col'. |
d5360cc7 | 28676 | |
048addec | 28677 | 2001-11-05 Richard M. Stallman <rms@gnu.org> |
96238a5a | 28678 | |
048addec | 28679 | * m/news-risc.h (BROKEN_PROTOTYPES): Defined. |
96238a5a | 28680 | |
048addec JD |
28681 | * buffer.c (Fkill_buffer): Don't delete auto save file |
28682 | if buffer is modified. | |
d9d54213 | 28683 | |
048addec | 28684 | 2001-11-05 Andrew Innes <andrewi@gnu.org> |
d9d54213 | 28685 | |
048addec JD |
28686 | * w32proc.c (Fw32_set_keyboard_layout): Use CHECK_NUMBER_CAR and |
28687 | CHECK_NUMBER_CDR. | |
b116830b | 28688 | |
048addec | 28689 | 2001-11-05 Richard M. Stallman <rms@gnu.org> |
b116830b | 28690 | |
048addec | 28691 | * unexelf.c (unexec): Minor changes; clean up comments. |
3297e2a1 | 28692 | |
048addec | 28693 | 2001-11-05 Sam Steingold <sds@gnu.org> |
3297e2a1 | 28694 | |
048addec | 28695 | * w32term.c (x_display_and_set_cursor): Fix w32 compilation error. |
6fb8339c | 28696 | |
048addec | 28697 | 2001-11-05 Andreas Schwab <schwab@suse.de> |
6fb8339c | 28698 | |
048addec | 28699 | * sound.c (sound_perror): Save errno from being clobbered. |
7dd73b78 | 28700 | |
048addec | 28701 | 2001-11-05 Dale Hagglund <rdh@yottayotta.com> |
7dd73b78 | 28702 | |
048addec JD |
28703 | * unexelf.c (unexec): Don't use `mmap'. Instead, read and write |
28704 | the program image directly. | |
982f6c7e | 28705 | |
048addec | 28706 | 2001-11-05 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
d31053f9 | 28707 | |
048addec | 28708 | * buffer.h (Fbuffer_local_value): Add prototype. |
d31053f9 | 28709 | |
048addec | 28710 | 2001-11-04 Richard M. Stallman <rms@gnu.org> |
d31053f9 | 28711 | |
048addec JD |
28712 | * buffer.c (Fbuffer_local_value): Remove extra args from CHECK_SYMBOL |
28713 | and CHECK_BUFFER. | |
d31053f9 | 28714 | |
048addec JD |
28715 | * keyboard.c (read_char): Use Fcar and Fcdr, not Fnth. |
28716 | (record_char): Likewise. | |
d31053f9 | 28717 | |
048addec JD |
28718 | * keyboard.c (make_lispy_event): Don't insist a drag event must |
28719 | move to a different buffer position. Instead, check for moving at | |
28720 | least double_click_fuzz. | |
982f6c7e | 28721 | |
048addec | 28722 | * fns.c (Fmake_hash_table): Use XCAR and XCDR, not Fnth and Flength. |
830047fd | 28723 | |
048addec | 28724 | * keyboard.c (echo-area-clear-hook): Undo Oct 29 change. |
b116830b | 28725 | |
048addec JD |
28726 | * indent.c (current_column_1, Fmove_to_column): Separate the code |
28727 | for display-table glyphs from the code for buffer text, to fix | |
28728 | bugs in the former. | |
830047fd | 28729 | |
048addec | 28730 | 2001-11-04 Michael Welsh Duggan <md5i@cs.cmu.edu> |
b116830b | 28731 | |
048addec JD |
28732 | * buffer.c (Fbuffer_local_value): New function. |
28733 | (syms_of_buffer): Defsubr it. | |
2df5238c | 28734 | |
048addec JD |
28735 | * xterm.c, w32term.c (x_display_and_set_cursor): Use buffer-local |
28736 | value of `cursor-in-non-selected-windows'. | |
4e397688 | 28737 | |
048addec JD |
28738 | * lisp.h (Qcursor_in_non_selected_windows): New declaration. |
28739 | * xdisp.c (Qcursor_in_non_selected_windows): New variable. | |
28740 | (syms_of_xdisp): Initialize it. | |
48b0f3ae | 28741 | |
048addec | 28742 | 2001-11-04 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2df5238c | 28743 | |
048addec | 28744 | * xfns.c (Fx_create_frame): Doc fix. |
3ecaf7e5 | 28745 | |
048addec JD |
28746 | * coding.c: Change doc-string comments to `new style' [w/`doc:' |
28747 | keyword]. | |
3ecaf7e5 | 28748 | |
048addec JD |
28749 | * eval.c (top_level_value, top_level_set): Remove commented and |
28750 | #ifdef'd-out code. | |
28751 | (Fdefvar): Fix usage in doc-string. | |
3ecaf7e5 | 28752 | |
048addec | 28753 | 2001-11-03 Richard M. Stallman <rms@gnu.org> |
3ecaf7e5 | 28754 | |
048addec | 28755 | * xfns.c: Include unistd.h, if it exists. |
8db2e33b | 28756 | |
048addec | 28757 | * editfns.c: Move the include of ctype.h after unistd.h. |
8db2e33b | 28758 | |
048addec | 28759 | * gmalloc.c: Test BROKEN_PROTOTYPES. |
aed29b97 | 28760 | |
048addec | 28761 | 2001-11-03 Ken Raeburn <raeburn@gnu.org> |
aed29b97 | 28762 | |
048addec JD |
28763 | * lisp.h (CHECK_STRING_CAR): New macro. |
28764 | * lread.c (Fload): Use XSETCARFASTINT, XSETCDRFASTINT instead of | |
28765 | treating XCAR and XCDR as lvalues. | |
28766 | (openp): Use CHECK_STRING_CAR. | |
28767 | (read_list): Use XSETCDR instead of treating XCDR as lvalue. | |
aed29b97 | 28768 | |
048addec | 28769 | 2001-11-03 Eli Zaretskii <eliz@is.elta.co.il> |
6cb16f95 | 28770 | |
048addec JD |
28771 | * s/sco5.h (sigprocmask_set): Declare as extern SIGMASKTYPE. |
28772 | (SIGMASKTYPE): Define. | |
1b1acc13 | 28773 | |
048addec | 28774 | * syssignal.h (sigunblock): Don't define if already defined. |
020f9b38 | 28775 | |
048addec | 28776 | 2001-11-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
020f9b38 | 28777 | |
048addec JD |
28778 | * eval.c (debugger_may_continue, Vdebug_ignored_errors) |
28779 | (call_debugger, Fcondition_case, skip_debugger, unbind_to): | |
28780 | Fix typos in comments. | |
6cb16f95 | 28781 | |
048addec JD |
28782 | * mocklisp.c (Fml_defun, Fml_while, Fml_substr): Remove commented |
28783 | and #ifdef'd-out code. | |
28784 | Fix and reindent comments. | |
6cb16f95 | 28785 | |
048addec | 28786 | * mocklisp.h: Remove comment which is a copy of comment in mocklisp.c. |
6cb16f95 | 28787 | |
048addec JD |
28788 | * category.h (CHECK_CATEGORY, CHECK_CATEGORY_SET): Remove unused |
28789 | argument `i' in macros. | |
6cb16f95 | 28790 | |
048addec JD |
28791 | * frame.h (CHECK_FRAME, CHECK_LIVE_FRAME): Remove unused argument |
28792 | `i' in macros. | |
7e9d3c2f | 28793 | |
048addec JD |
28794 | * lisp.h (CHECK_STRING_OR_BUFFER, CHECK_HASH_TABLE, CHECK_LIST) |
28795 | (CHECK_STRING, CHECK_CONS, CHECK_SYMBOL, CHECK_CHAR_TABLE) | |
28796 | (CHECK_VECTOR, CHECK_VECTOR_OR_CHAR_TABLE, CHECK_BUFFER) | |
28797 | (CHECK_WINDOW, CHECK_LIVE_WINDOW, CHECK_PROCESS, CHECK_NUMBER) | |
28798 | (CHECK_NATNUM, CHECK_MARKER, CHECK_NUMBER_COERCE_MARKER) | |
28799 | (CHECK_FLOAT, CHECK_NUMBER_OR_FLOAT) | |
28800 | (CHECK_NUMBER_OR_FLOAT_COERCE_MARKER, CHECK_OVERLAY) | |
28801 | (CHECK_NUMBER_CAR, CHECK_NUMBER_CDR): Remove unused argument `i' | |
28802 | in macros. | |
7e9d3c2f | 28803 | |
048addec JD |
28804 | * abbrev.c, alloc.c, buffer.c, bytecode.c, callint.c, callproc.c, |
28805 | * casefiddle.c, category.c, ccl.c, charset.c, cmds.c, coding.c, | |
28806 | * composite.c, data.c, dired.c, dispnew.c, doc.c, dosfns.c, emacs.c, | |
28807 | * eval.c, fileio.c, filelock.c, fns.c, fontset.c, frame.c, frame.h, | |
28808 | * indent.c, keyboard.c, keymap.c, lread.c, macros.c, marker.c, | |
28809 | * minibuf.c, mocklisp.c, msdos.c, print.c, process.c, search.c, | |
28810 | * sunfns.c, syntax.c, textprop.c, undo.c, w16select.c, w32console.c, | |
28811 | * w32fns.c, w32menu.c, w32proc.c, w32select.c, window.c, xdisp.c, | |
28812 | * xfaces.c, xmenu.c, xselect.c: Update usage of CHECK_ macros | |
28813 | (remove unused second argument). | |
7e9d3c2f | 28814 | |
048addec | 28815 | 2001-11-02 Stefan Monnier <monnier@cs.yale.edu> |
e6bff182 | 28816 | |
048addec JD |
28817 | * syntax.c (describe_syntax): New wrapper. |
28818 | (Finternal_describe_syntax_value): Rename from describe_syntax. | |
28819 | Don't insert space at front and \n at the end. | |
28820 | (syms_of_syntax): Defsubr Sinternal_describe_syntax_value. | |
e6bff182 | 28821 | |
048addec JD |
28822 | * regex.c (re_wctype): Try to fix some warnings. |
28823 | (regcomp, regexec): Don't forget the __restrict. | |
9ba48103 | 28824 | |
048addec | 28825 | 2001-11-02 Richard M. Stallman <rms@gnu.org> |
9ba48103 | 28826 | |
048addec | 28827 | * textprop.c (Fget_char_property): Doc fix. |
9ba48103 | 28828 | |
048addec | 28829 | 2001-11-02 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
9ba48103 | 28830 | |
048addec | 28831 | * process.c (Fstart_process): Add usage to doc-string. |
c22e59e1 | 28832 | |
048addec | 28833 | * data.c (Fsetq_default): Ditto. |
c22e59e1 | 28834 | |
048addec | 28835 | * callint.c (Finteractive): Ditto. |
9271ed2c | 28836 | |
048addec | 28837 | 2001-11-01 Stefan Monnier <monnier@cs.yale.edu> |
e6bff182 | 28838 | |
048addec JD |
28839 | * macros.c: Don't include keymap.h any more. |
28840 | ||
28841 | 2001-11-01 Richard M. Stallman <rms@gnu.org> | |
28842 | ||
28843 | * data.c (Fmake_local_variable): Doc fix. | |
28844 | ||
28845 | * eval.c (Frun_hooks, Frun_hook_with_args_until_failure): Doc fix. | |
28846 | (Frun_hook_with_args_until_success, Frun_hook_with_args): Doc fix. | |
e6bff182 | 28847 | |
048addec | 28848 | * keymap.c (Fdescribe_buffer_bindings): Print character property |
9271ed2c RS |
28849 | bindings along with or instead of the buffer local map. |
28850 | Make the overriding maps override what they should. | |
28851 | ||
f00691a3 | 28852 | 2001-11-01 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
8b8bd9c6 PJ |
28853 | |
28854 | * window.c (grow_mini_window): Fix typo in comment. | |
28855 | ||
27188d11 GM |
28856 | 2001-11-01 Gerd Moellmann <gerd@gnu.org> |
28857 | ||
7b49b9d2 GM |
28858 | * xterm.c (x_scroll_bar_create): Check for width and height > 0. |
28859 | (XTset_vertical_scroll_bar): Likewise. | |
28860 | ||
43f7c3ea GM |
28861 | * xfns.c (x_build_heuristic_mask): Use four_corners_best |
28862 | instead of IMAGE_BACKGROUND. | |
c22e59e1 | 28863 | |
b350c2e5 GM |
28864 | * xfns.c (four_corners_best): Reindent. |
28865 | ||
c22e59e1 | 28866 | * xfaces.c (Finternal_set_lisp_face_attribute_from_resource): |
27188d11 GM |
28867 | Handle :box so that it is possible to specify sexprs. |
28868 | ||
bf00d461 EZ |
28869 | 2001-10-31 Eli Zaretskii <eliz@is.elta.co.il> |
28870 | ||
28871 | * s/hpux11.h: New file. | |
28872 | ||
f00691a3 | 28873 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4e10df59 | 28874 | |
2b209b97 PJ |
28875 | * emacs.c (USAGE1): Show command line option --no-window-system |
28876 | instead of --no-windows in usage. | |
28877 | (standard_args): Rename --no-windows to --no-window-system. | |
28878 | (bug_reporting_address): Follow Emacs coding conventions. | |
28879 | ||
9dbc9081 PJ |
28880 | * eval.c (Fcommandp): Doc fix. |
28881 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
28882 | ||
4e10df59 PJ |
28883 | * frame.c (Fframe_live_p): Doc fix. |
28884 | ||
28885 | * buffer.c (selective-display-ellipses): Doc fix. | |
28886 | ||
dd387b25 GM |
28887 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
28888 | ||
fe957e65 GM |
28889 | * lread.c (to_multibyte): Fix computation of new read_buffer_size. |
28890 | ||
dd387b25 GM |
28891 | * xfaces.c (realize_x_face): If C is not a single-byte character, |
28892 | set the face's colors_copied_bitwise_p instead of the defaulted_p | |
28893 | members which have a different meaning. | |
28894 | (free_face_colors): Do nothing for a face whose colors have been | |
28895 | copied bitwise. | |
28896 | ||
c22e59e1 | 28897 | * dispextern.h (struct face) <colors_copied_bitwise_p>: New member. |
dd387b25 | 28898 | |
f00691a3 | 28899 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2e1280f8 | 28900 | |
687784e8 PJ |
28901 | * marker.c, mocklisp.c: Change doc-string comments to `new style' |
28902 | [w/`doc:' keyword]. | |
2e1280f8 | 28903 | |
b9d9a9b9 GM |
28904 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
28905 | ||
28906 | * fns.c (require_unwind): Return Lisp_Object. | |
28907 | ||
f00691a3 | 28908 | 2001-10-31 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
48400103 | 28909 | |
fa1361cb PJ |
28910 | * keyboard.c (lucid-menu-bar-dirty-flag): Doc fix. |
28911 | (last-input-char): Revert doc-string to be the same as the | |
28912 | doc-string of `last-input-event'. | |
28913 | ||
6c465a15 | 28914 | * xdisp.c: Fix typos in comments. |
48400103 | 28915 | |
eafa3196 GM |
28916 | 2001-10-31 Gerd Moellmann <gerd@gnu.org> |
28917 | ||
28918 | * window.c (grow_mini_window): Handle case that the root | |
28919 | window is already smaller than the nominal mininum height. | |
28920 | ||
747d3f2a SM |
28921 | 2001-10-30 Stefan Monnier <monnier@cs.yale.edu> |
28922 | ||
bf9bb76f SM |
28923 | * emacs.c (main): Don't call keys_of_macros any more. |
28924 | ||
28925 | * lisp.h (keys_of_macros): Remove. | |
28926 | ||
28927 | * macros.c (keys_of_macros): Remove. | |
28928 | ||
747d3f2a SM |
28929 | * xfaces.c (Fface_attribute_relative_p): Declare args. |
28930 | ||
5e905a57 JR |
28931 | 2001-10-30 Jason Rumney <jasonr@gnu.org> |
28932 | ||
28933 | * w32fns.c (w32_to_x_charset): Increase size of XLFD charset buffer. | |
28934 | (enum_font_cb2): Ignore fonts with vertical orientation. | |
28935 | ||
3a426197 RS |
28936 | 2001-10-30 Richard M. Stallman <rms@gnu.org> |
28937 | ||
28938 | * keyboard.c (Finput_pending_p): Doc fix. | |
28939 | ||
a742d646 GM |
28940 | 2001-10-30 Gerd Moellmann <gerd@gnu.org> |
28941 | ||
259cf6bc GM |
28942 | * xterm.c (x_after_update_window_line): Don't run the code |
28943 | clearing in borders for rows whose visible height is 0. | |
28944 | ||
3f99f948 GM |
28945 | * xdisp.c (clear_garbaged_frames): Redraw the frame only if its |
28946 | resized_p flag is set. If not set, use the much less flickering | |
28947 | method previously used. | |
28948 | ||
28949 | * dispnew.c (change_frame_size_1): Set frame's resized_p. | |
28950 | ||
28951 | * frame.h (struct frame) <resized_p>: New member. | |
28952 | ||
b4a3be43 GM |
28953 | * lread.c (to_multibyte): Ensure read_buffer is at least twice |
28954 | as large as the number of bytes to convert. | |
747d3f2a | 28955 | |
a742d646 GM |
28956 | * lread.c (to_multibyte): New function. |
28957 | (read1): Use it. | |
28958 | ||
cacbb9e9 EZ |
28959 | 2001-10-30 Eli Zaretskii <eliz@is.elta.co.il> |
28960 | ||
28961 | * msdos.h (FRAME_LINE_HEIGHT): Define (it's used by xmenu.c). | |
28962 | ||
99cb6b2f GM |
28963 | 2001-10-30 Gerd Moellmann <gerd@gnu.org> |
28964 | ||
327f42ee | 28965 | * xterm.c (x_draw_relief_rect): Correct bottom relief by 1 pixel. |
747d3f2a SM |
28966 | (x_set_glyph_string_background_width): Set extends_to_end_of_line_p |
28967 | if the row's fill_line_p is set and drawing the last glyph with | |
28968 | DRAW_IMAGE_{RAISED,SUNKEN}. | |
327f42ee | 28969 | |
99cb6b2f GM |
28970 | * xdisp.c (clear_garbaged_frames): Call Fredraw_frame. |
28971 | ||
8e8223e2 SM |
28972 | 2001-10-29 Stefan Monnier <monnier@cs.yale.edu> |
28973 | ||
28974 | * xmenu.c: Include coding.h and charset.h. | |
28975 | (Fx_popup_menu): Use FRAME_PTR and FRAME_FONT and FRAME_LINE_HEIGHT. | |
28976 | (Fx_popup_dialog): Use FRAME_PTR and enum scroll_bar_part. | |
28977 | (single_submenu, xmenu_show): Use ENCODE_SYSTEM. | |
28978 | Explicitly set wv->help. Use `TRUE' rather than `True'. | |
28979 | (menu_help_callback): Use empty_string. | |
28980 | ||
28981 | * w32menu.c (Fx_popup_menu): Explicitly init f, xpos, and ypos. | |
28982 | (Fx_popup_dialog): Explicitly init f. | |
28983 | (w32_menu_display_help): Use empty_string. | |
28984 | ||
4d083a8f RS |
28985 | 2001-10-29 Richard M. Stallman <rms@gnu.org> |
28986 | ||
b2304472 RS |
28987 | * fns.c (Frequire): Detect recursive try to require the same |
28988 | feature 3 or more levels deep, and get error. | |
28989 | (require_unwind): New subroutine. | |
28990 | (require_nesting_list): New variable. | |
28991 | (syms_of_fns): Init and staticpro it. | |
28992 | ||
4d083a8f RS |
28993 | * print.c (print_object): Clarify indication of insertion type. |
28994 | ||
2fe41216 EZ |
28995 | 2001-10-29 Eli Zaretskii <eliz@is.elta.co.il> |
28996 | ||
90480000 EZ |
28997 | * coding.c (syms_of_coding): Document that locale-coding-system is |
28998 | used for decoding input on X. | |
28999 | ||
2fe41216 EZ |
29000 | * window.c (Fscroll_left, Fscroll_right): Doc fix. |
29001 | ||
f00691a3 | 29002 | 2001-10-29 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
74e79967 PJ |
29003 | |
29004 | * keyboard.c (Finput_pending_p): Fix typo in doc-string. | |
29005 | (echo-area-clear-hook): Properly DEFVAR_LISP and staticpro it. | |
29006 | ||
60ebcfe8 GM |
29007 | 2001-10-29 Gerd Moellmann <gerd@gnu.org> |
29008 | ||
9a7bdceb GM |
29009 | * xterm.c (x_display_and_set_cursor): If cursor_in_echo_area, |
29010 | use NO_CURSOR if cursor_in_non_selected_windows is false. | |
29011 | ||
3f08fcd2 GM |
29012 | * xfaces.c (Fface_font): Use UNSPECIFIEDP instead of NILP for |
29013 | the slant attribute if FRAME is t. | |
29014 | ||
0ccfdad2 GM |
29015 | * xfns.c (x_set_internal_border_width): Set frame garbaged |
29016 | when X window doesn't exist yet. | |
29017 | ||
ef253080 GM |
29018 | * xterm.c (x_after_update_window_line): Clear internal border |
29019 | in different circumstances. | |
b116830b | 29020 | |
60ebcfe8 GM |
29021 | * xterm.c (XTread_socket) <KeyPress>: Don't use |
29022 | STRING_CHAR_AND_LENGTH if nchars == nbytes. From Kenichi Handa | |
29023 | <handa@etl.go.jp>. | |
29024 | ||
73d25f9c EZ |
29025 | 2001-10-28 Eli Zaretskii <eliz@is.elta.co.il> |
29026 | ||
29027 | * m/ibms390.h: New file. From Adam Thornton | |
29028 | <athornton@sinenomine.net>. | |
29029 | ||
cac1daf0 GM |
29030 | 2001-10-28 Gerd Moellmann <gerd@gnu.org> |
29031 | ||
053b3256 | 29032 | * xfns.c (x_build_heuristic_mask): Use x_alloc_image_color. |
b116830b | 29033 | |
cac1daf0 GM |
29034 | * xfns.c (x_build_heuristic_mask): Fix a bug not incrementing |
29035 | a loop counter. | |
29036 | ||
f00691a3 | 29037 | 2001-10-28 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
13b1a09c | 29038 | |
f9711de4 | 29039 | * emacs.c: Use argv[0] instead of "emacs" when -t was specified. |
186486eb | 29040 | |
4707d2d0 PJ |
29041 | * keyboard.c: Change doc-string comments to `new style' [w/`doc:' |
29042 | keyword]. | |
29043 | Fix typos in comments. | |
b116830b | 29044 | |
d883731c PJ |
29045 | * emacs.c (bug_reporting_address): New function. |
29046 | Use it when displaying usage message. | |
29047 | ||
04012254 PJ |
29048 | * minibuf.c (read_minibuf): Remove unused external declaration of |
29049 | variable `Qread_only'. | |
29050 | ||
13b1a09c PJ |
29051 | * keymap.c (access_keymap): Remove unused variable `charset'. |
29052 | ||
5bbf4378 MB |
29053 | 2001-10-28 Miles Bader <miles@gnu.org> |
29054 | ||
29055 | * xfaces.c (merge_face_heights): Handle TO being relative as well. | |
29056 | Remove #ifdef'd-out code. | |
29057 | (Fface_attribute_relative_p, Fmerge_face_attribute): New functions. | |
29058 | (syms_of_xfaces): Initialize them. | |
29059 | ||
1ce1e4ee JR |
29060 | 2001-10-27 Jason Rumney <jasonr@gnu.org> |
29061 | ||
29062 | * w32fns.c (w32_wnd_proc) <WM_KILLFOCUS>: Destroy the system caret. | |
29063 | <WM_EMACS_DESTROY_CARET, WM_EMACS_TRACK_CARET>: Track cursor | |
29064 | position using the system caret. | |
29065 | ||
29066 | * w32term.c (w32_system_caret_hwnd, w32_system_caret_width) | |
29067 | (w32_system_caret_height, w32_system_caret_x) | |
29068 | (w32_system_caret_y): New variables for tracking system caret. | |
29069 | (w32_initialize): Initialize them. | |
c2d53558 | 29070 | (x_display_and_set_cursor): Make system caret follow the active cursor. |
1ce1e4ee | 29071 | |
c2d53558 SM |
29072 | * w32term.h (WM_EMACS_TRACK_CARET, WM_EMACS_DESTROY_CARET): |
29073 | New messages types. | |
1ce1e4ee JR |
29074 | |
29075 | * w32term.c (note_mouse_highlight): Clear old help_echo. | |
29076 | ||
f00691a3 | 29077 | 2001-10-27 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
4e30ce42 | 29078 | |
bb4600a4 PJ |
29079 | * xterm.c: Fix typo in a comment. |
29080 | ||
7db35a48 PJ |
29081 | * emacs.c: Fix typos in comments. |
29082 | Remove unnecessary spaces. | |
29083 | Change doc-string comments to `new style' [w/`doc:' keyword]. | |
29084 | (USAGE2): Fix typos in usage string. | |
29085 | ||
a7248e4f PJ |
29086 | * xterm.c: Fix typo in a comment. |
29087 | ||
52eb0373 | 29088 | * lisp.h (gdb_lisp_params): Remove code in #if 0 which is now in |
4e30ce42 PJ |
29089 | emacs.c. |
29090 | ||
62725a92 GM |
29091 | 2001-10-27 Gerd Moellmann <gerd@gnu.org> |
29092 | ||
798dbe1f | 29093 | * xdisp.c (move_it_vertically_backward): Use 2/3 line_height |
c2d53558 | 29094 | instead of 1/2 line_height in the heuristic for skipping |
798dbe1f GM |
29095 | farther backward when target_y was not reached. |
29096 | ||
62725a92 GM |
29097 | * sound.c (sound_perror): Unblock SIGIO, turn on atimers. |
29098 | Display errno only if non-zero. | |
29099 | (sound_warning): New function. | |
29100 | (vox_configure): Don't treat failing to set sample rate as error. | |
29101 | (various places): Improve error messages. | |
29102 | ||
d4e34d24 EZ |
29103 | 2001-10-26 Eli Zaretskii <eliz@is.elta.co.il> |
29104 | ||
944e6f60 EZ |
29105 | * fileio.c (Faccess_file): Run the argument filename through |
29106 | Fexpand_file_name, before using it. | |
29107 | ||
d4e34d24 EZ |
29108 | * dispnew.c (syms_of_display) <visible-bell>: Add a reference to |
29109 | ring-bell-function. Suggested by Alf-Ivar Holm <alfh@ifi.uio.no> | |
29110 | ||
38d2af0c GM |
29111 | 2001-10-26 Gerd Moellmann <gerd@gnu.org> |
29112 | ||
da80a8d5 GM |
29113 | * insdel.c (insert_1_both): Do nothing if NCHARS == 0. |
29114 | ||
38d2af0c GM |
29115 | * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: |
29116 | Fix clearing in the case of scroll bars on the right. | |
c2d53558 | 29117 | |
45de4a6f | 29118 | 2001-10-26 Juanma Barranquero <lektu@terra.es> |
56f508dd EZ |
29119 | |
29120 | * w32gui.h (XImage): Add a dummy typedef. | |
29121 | ||
fbd5ceb2 GM |
29122 | 2001-10-26 Gerd Moellmann <gerd@gnu.org> |
29123 | ||
c2d53558 | 29124 | * xfns.c (XScreenNumberOfScreen): Fix struct to pointer comparison. |
fbd5ceb2 | 29125 | |
b23236fb EZ |
29126 | 2001-10-25 Eli Zaretskii <eliz@is.elta.co.il> |
29127 | ||
29128 | * frame.c (Fframe_parameter): Fix last change. | |
29129 | ||
5d991fc4 EZ |
29130 | * fileio.c: Revert last change (which removed old commented-out |
29131 | version of expand-file-name). Add a comment that explains why | |
29132 | this old version should not be removed. | |
29133 | ||
879eadc3 GM |
29134 | 2001-10-25 Gerd Moellmann <gerd@gnu.org> |
29135 | ||
75700ff2 GM |
29136 | * frame.c (Fframe_parameter): Fix a bug whereby some |
29137 | ``artificial'' frame parameters, like `minibuffer' were not | |
29138 | obtained by calling Fframe_parameters. | |
29139 | ||
dfe92a6a GM |
29140 | * xterm.c (show_mouse_face): Clean up. Recognize overwritten |
29141 | cursor differently. | |
29142 | ||
879eadc3 GM |
29143 | * xdisp.c (move_it_vertically_backward): Compute line height |
29144 | differently. Add heuristic to try to be more compatible to 20.x. | |
29145 | ||
e1010ebe SM |
29146 | 2001-10-25 Stefan Monnier <monnier@cs.yale.edu> |
29147 | ||
d73a471b SM |
29148 | * lisp.h (make_fixnum_or_float): Coerce double to int explicitly. |
29149 | ||
d6da5a06 GM |
29150 | * editfns.c (text_property_stickiness): Fix Lisp_Object used as |
29151 | boolean. | |
e1010ebe | 29152 | |
f66bd220 MB |
29153 | 2001-10-25 Miles Bader <miles@gnu.org> |
29154 | ||
29155 | * xfns.c (png_load): Make sure SPECIFIED_BG is a string. | |
29156 | BG is a pointer to a structure, not a structure. | |
29157 | (gif_format, png_format): Add missing commas. | |
29158 | ||
d436d538 RS |
29159 | 2001-10-24 Richard M. Stallman <rms@gnu.org> |
29160 | ||
29161 | * xfaces.c (Fface_attributes_as_vector): New function. | |
c2d53558 | 29162 | (syms_of_xfaces): Defsubr it. |
d436d538 | 29163 | |
f00691a3 | 29164 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
075c507b PJ |
29165 | |
29166 | * dispnew.c (sync_window_with_frame_matrix_rows): Remove unused | |
29167 | variable `area'. | |
29168 | ||
f00691a3 | 29169 | 2001-10-25 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
d492b584 | 29170 | |
c2d53558 | 29171 | * search.c (scan_newline): Remove unused variable `selective_display'. |
d492b584 | 29172 | |
e2a57b34 MB |
29173 | 2001-10-25 Miles Bader <miles@gnu.org> |
29174 | ||
29175 | * dispextern.h (struct image): Add `background', | |
29176 | `background_valid', and `background_transparent' fields. | |
29177 | (image_background, image_background_transparent): New declarations. | |
29178 | (IMAGE_BACKGROUND, IMAGE_BACKGROUND_TRANSPARENT): New macros. | |
29179 | * xfns.c (image_background, image_background_transparent) | |
29180 | (four_corners_best): New functions. | |
c2d53558 | 29181 | (xpm_format, png_format, jpeg_format, tiff_format, gif_format) |
e2a57b34 MB |
29182 | (gs_format): Add `:background' entry. |
29183 | (lookup_image): Set IMG's background color if specified. | |
29184 | (pbm_load, xbm_load_image, png_load): Set IMG's background field | |
29185 | when appropriate. | |
29186 | (x_clear_image_1): Reset `background_valid' and | |
29187 | `background_transparent_valid' fields. | |
29188 | (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of | |
29189 | calculating it here. Set IMG's background_transparent field. | |
29190 | (enum xpm_keyword_index): Add XPM_BACKGROUND. | |
29191 | (enum png_keyword_index): Add PNG_BACKGROUND. | |
29192 | (enum jpeg_keyword_index): Add JPEG_BACKGROUND. | |
29193 | (enum tiff_keyword_index): Add TIFF_BACKGROUND. | |
29194 | (enum gif_keyword_index): Add GIF_BACKGROUND. | |
29195 | (enum gs_keyword_index): Add GS_BACKGROUND. | |
c2d53558 | 29196 | (pbm_load, png_load, jpeg_load, tiff_load, gif_load): |
e2a57b34 MB |
29197 | Pre-calculate image background color where necessary. |
29198 | * xterm.c (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and | |
29199 | `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background | |
29200 | color to use for image glyph reliefs. | |
29201 | ||
b547b6e8 GM |
29202 | 2001-10-24 Gerd Moellmann <gerd@gnu.org> |
29203 | ||
d9e3b8c6 GM |
29204 | * xterm.c (x_draw_glyphs): Don't check for cursor overwriting |
29205 | in full-width rows. | |
c2d53558 | 29206 | |
b547b6e8 GM |
29207 | * xterm.c (XTset_vertical_scroll_bar) [!USE_TOOLKIT_SCROLL_BARS]: |
29208 | Fix clearing of area not covered by scroll bar. | |
29209 | ||
f00691a3 | 29210 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
2beb36f9 | 29211 | |
52eb0373 | 29212 | * xterm.c (x_insert_glyphs): Remove unused variables `real_end' |
2beb36f9 | 29213 | and `real_start'. |
c2d53558 | 29214 | (x_draw_image_foreground): Remove unused variables `mask' and `xgcv'. |
2beb36f9 PJ |
29215 | (glyph_rect): Remove unused variable `area'. |
29216 | ||
76cb5e06 GM |
29217 | 2001-10-24 Gerd Moellmann <gerd@gnu.org> |
29218 | ||
bdbdebff | 29219 | * xdisp.c: Change #ifdef GLYPH_DEBUG to #if. |
c2d53558 SM |
29220 | |
29221 | * xdisp.c (try_window_reusing_current_matrix): Use row_containing_pos. | |
29222 | (row_containing_pos): Take additional argument DY. | |
29223 | Treat rows ending in middle of char differently. | |
62e33982 GM |
29224 | (display_line): Handle tabs on window systems differently. |
29225 | ||
29226 | * xterm.c, w32term.c (fast_find_position): Call row_containing_pos | |
29227 | with additional argument. | |
29228 | ||
29229 | * dispextern.h (row_containing_pos): Adjust prototype. | |
29230 | ||
76cb5e06 GM |
29231 | * xdisp.c (inhibit_try_window_id, inhibit_try_window_reusing) |
29232 | (inhibit_try_cursor_movement) [GLYPH_DEBUG]: New variables. | |
29233 | (try_window_id, try_window_reusing_current_matrix) | |
29234 | (try_cursor_movement) [GLYPH_DEBUG]: Don't run if inhibited. | |
6c465a15 | 29235 | (syms_of_xdisp) [GLYPH_DEBUG]: DEFVAR_BOOL the variables. |
76cb5e06 | 29236 | |
f00691a3 | 29237 | 2001-10-24 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
996fee11 | 29238 | |
c9e60620 PJ |
29239 | * xmenu.c: Spell the name of Emacs properly (GNU Emacs instead of |
29240 | gnuemacs). | |
29241 | (HAVE_BOXES): Fix typo in comment. | |
29242 | (push_menu_pane): Fix typo in comment. | |
29243 | ||
52eb0373 | 29244 | * xdisp.c (display_prop_string_p): Remove unused local declaration |
3b552d56 PJ |
29245 | of `Qwhen'. |
29246 | (single_display_prop_string_p): Remove unused local declarations | |
29247 | of `Qwhen' and `Qmargin'. | |
29248 | (string_buffer_position): Remove unused variable `around'. | |
29249 | (store_frame_title): Remove unused variable `width'. | |
29250 | ||
15c565ac PJ |
29251 | * window.c: Don't define max. |
29252 | (coordinates_in_window): Remove unused variable `uy'. | |
29253 | ||
a8818eb9 PJ |
29254 | * widget.c: Don't define max. |
29255 | ||
996fee11 PJ |
29256 | * process.c: Don't define max. |
29257 | (create_process): Remove unused variable `buffer'. | |
29258 | ||
496e1a5b GM |
29259 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
29260 | ||
c2d53558 | 29261 | * xfaces.c (Finternal_set_lisp_face_attribute): Fix compilation error. |
496e1a5b | 29262 | |
5905ae8b EZ |
29263 | 2001-10-23 Eli Zaretskii <eliz@is.elta.co.il> |
29264 | ||
29265 | * xfaces.c (Finternal_set_lisp_face_attribute) | |
29266 | [HAVE_WINDOW_SYSTEM]: Don't do anything for QCfont unless the | |
29267 | frame is on a windowed display. | |
29268 | ||
24db49fb GM |
29269 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
29270 | ||
c2d53558 SM |
29271 | * dispnew.c (sync_window_with_frame_matrix_rows): |
29272 | Fix handling of windows which aren't full-width, fix handling | |
c51488cd GM |
29273 | of marginal areas. |
29274 | ||
c2d53558 | 29275 | * lread.c (syms_of_lread) <recursive-load-depth-limit>: Raise to 50. |
24db49fb | 29276 | |
f0487f05 EZ |
29277 | 2001-10-23 Andreas Schwab <schwab@suse.de> |
29278 | ||
29279 | * m/macppc.h [LINUX]: Undef LD_SWITCH_SYSTEM_TEMACS and override | |
29280 | LD_SWITCH_MACHINE_TEMACS with "-Xlinker -znocombreloc". | |
29281 | ||
f0a48a01 GM |
29282 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
29283 | ||
c2d53558 | 29284 | * xterm.c (x_draw_glyphs): Remove parameters READ_START and |
f0a48a01 GM |
29285 | REAL_END. Notice if cursor gets overwritten. |
29286 | (notice_overwritten_cursor): Take X positions as parameters. | |
29287 | (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p | |
29288 | around call to x_draw_glyphs. | |
29289 | ||
f00691a3 | 29290 | 2001-10-23 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
a50a10a0 | 29291 | |
fc11dff0 PJ |
29292 | * syntax.c (modify-syntax-entry): Fix argument names (use CHAR |
29293 | instead of C) and usage. | |
a50a10a0 | 29294 | |
fc11dff0 PJ |
29295 | * editfns.c (char-to-string): Fix argument names (use CHAR instead |
29296 | of C) and usage. | |
a50a10a0 PJ |
29297 | |
29298 | * xfns.c (Fx_show_tip): Remove unused variables `buffer', `top', | |
29299 | `left', `max_width' and `max_height'. | |
29300 | ||
8738febd GM |
29301 | 2001-10-23 Gerd Moellmann <gerd@gnu.org> |
29302 | ||
29303 | * xdisp.c (display_line): For a tab continued to the next line, | |
29304 | set row's ends_in_middle_of_char_p. | |
29305 | ||
653c329b GM |
29306 | 2001-10-22 Gerd Moellmann <gerd@gnu.org> |
29307 | ||
29308 | * xdisp.c (display_line): Fix computation of continuation lines | |
29309 | width for TABs. | |
29310 | ||
f00691a3 | 29311 | 2001-10-22 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
f958c5ac | 29312 | |
7ba51063 PJ |
29313 | * xdisp.c (build_desired_tool_bar_string): Remove unused variable |
29314 | `Qlaplace'. | |
29315 | ||
f958c5ac PJ |
29316 | * fileio.c: Remove unused code. |
29317 | ||
eb360291 MB |
29318 | 2001-10-22 Miles Bader <miles@gnu.org> |
29319 | ||
29320 | * lisp.h (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL) | |
29321 | (DEFVAR_INT, DEFVAR_PER_BUFFER, DEFVAR_KBOARD): | |
29322 | Remove `DOC_STRINGS_IN_COMMENTS' cases. | |
29323 | ||
98515cf0 JR |
29324 | 2001-10-21 Jason Rumney <jasonr@gnu.org> |
29325 | ||
29326 | * w32term.c (x_erase_phys_cursor): Remove inverse_p again. | |
29327 | ||
93026d88 EZ |
29328 | 2001-10-21 Eli Zaretskii <eliz@is.elta.co.il> |
29329 | ||
29330 | * mocklisp.c (Fml_if, Fml_provide_prefix_argument) | |
29331 | (Finsert_string): Avoid the multi-line string literals warning. | |
29332 | ||
c9a95b79 MB |
29333 | 2001-10-22 Miles Bader <miles@gnu.org> |
29334 | ||
29335 | * doc.c (Vhelp_manyarg_func_alist): Variable removed. | |
29336 | (Fdocumentation): Don't use it. | |
29337 | (syms_of_doc): Don't initialize it. | |
29338 | ||
29339 | * keyboard.c (Ftrack_mouse): Add usage: string to doc string. | |
29340 | * print.c (Fwith_output_to_temp_buffer): Likewise. | |
29341 | * window.c (Fsave_window_excursion): Likewise. | |
c2d53558 | 29342 | * editfns.c (Fsave_excursion, Fsave_current_buffer) |
c9a95b79 | 29343 | (Fsave_restriction): Likewise. |
c2d53558 SM |
29344 | * eval.c (Frun_hooks, Frun_hook_with_args) |
29345 | (Frun_hook_with_args_until_failure) | |
29346 | (Frun_hook_with_args_until_success, Ffuncall, For, Fand, Fif) | |
29347 | (Fcond, Fprogn, Fprog1, Fprog2, Fsetq, Fquote, Ffunction, Fdefun) | |
29348 | (Fdefmacro, Fdefvar, Fdefconst, FletX, Flet, Fwhile, Fcatch) | |
c9a95b79 MB |
29349 | (Funwind_protect, Fcondition_case): Likewise. |
29350 | * coding.c (Ffind_operation_coding_system): Likewise. | |
29351 | * keyboard.c (Ftrack_mouse): Likewise. | |
29352 | ||
a3b10252 MB |
29353 | 2001-10-21 Miles Bader <miles@gnu.org> |
29354 | ||
c2d53558 | 29355 | * fns.c (Fappend, Fconcat, Fvconcat, Fnconc, Fwidget_apply) |
a3b10252 MB |
29356 | (Fmake_hash_table): Add usage: string to doc string. |
29357 | * editfns.c (Finsert, Finsert_and_inherit, Finsert_before_markers) | |
c2d53558 | 29358 | (Fmessage, Fmessage_box, Fmessage_or_box, Fpropertize, Fformat) |
a3b10252 MB |
29359 | (Fencode_time, Finsert_and_inherit_before_markers): Likewise. |
29360 | * mocklisp.c (Finsert_string, Fml_if, Fml_provide_prefix_argument) | |
29361 | (Fml_prefix_argument_loop): Likewise. | |
29362 | ||
f00691a3 | 29363 | 2001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
c6f73eec | 29364 | |
c2d53558 | 29365 | * fileio.c (Finsert_file_contents): Remove unused variable `gap_size'. |
888ebd13 | 29366 | |
c6f73eec PJ |
29367 | * sysdep.c (init_sys_modes): Change doc-string comments to `new |
29368 | style' [w/`doc:' keyword]. | |
29369 | ||
29370 | * data.c, fileio.c, indent.c, print.c, search.c, sound.c, | |
29371 | * sunfns.c, textprop.c, undo.c, xselect.c: Change doc-string | |
29372 | comments to `new style' [w/`doc:' keyword]. | |
29373 | ||
3cf3436e JR |
29374 | 2001-10-21 Jason Rumney <jasonr@gnu.org> |
29375 | ||
29376 | * w32fns.c (Fx_file_dialog): Pass a filter to GetOpenFileName. | |
29377 | ||
c169b8f1 JR |
29378 | * w32term.c (remember_mouse_glyph): New function. |
29379 | (w32_mouse_position): Use it. | |
29380 | (note_mouse_movement): If the mouse moved off the glyph, remember | |
29381 | its new position. | |
c2d53558 | 29382 | |
4fdd691b JR |
29383 | * w32term.h (struct w32_output): Correct spelling of x_compatible. |
29384 | (w32_display_info): Add mouse_face_overlay. | |
29385 | ||
c169b8f1 JR |
29386 | * w32term.c (notice_overwritten_cursor): Renamed from |
29387 | note_overwritten_text_cursor. Rewritten to take glyph widths into | |
29388 | account. | |
29389 | (x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P. | |
29390 | (fast_find_string_pos): New function. | |
29391 | (fast_find_position): Return the correct vpos. Add parameter | |
29392 | STOP. In the final row, stop before glyphs having STOP as object. | |
29393 | Don't consider glyphs that are not from a buffer. | |
29394 | (fast_find_position) [0]: Add a presumably more correct version | |
29395 | for after 21.1. | |
29396 | (expose_window_tree, expose_frame): Don't compute intersections here. | |
29397 | (expose_window): Do it here instead. | |
29398 | (expose_window_tree, expose_window, expose_line): Return 1 when | |
29399 | overwriting mouse-face. | |
29400 | (expose_window): If W is the window currently being updated, mark | |
29401 | the frame garbaged. | |
29402 | (expose_frame): If mouse-face was overwritten, redo it. | |
29403 | (x_use_underline_position_properties): New variable. | |
29404 | (syms_of_xterm): DEFVAR_BOOL it. | |
29405 | (x_draw_glyph_string): Add comment to use it in future. | |
29406 | (x_draw_glyph_string): Restore clipping after drawing box. | |
29407 | Fix a computation of the underline position. | |
29408 | (w32_get_glyph_string_clip_rect): Minor cleanup. | |
29409 | (x_fill_stretch_glyph_string): Remove an assertion. | |
29410 | (x_produce_glyphs): Don't convert multibyte characters | |
29411 | to unibyte characters in unibyte buffers. | |
29412 | (cursor_in_mouse_face_p): New function. | |
29413 | (x_draw_stretch_glyph_string): Use it to choose a different GC | |
29414 | when drawing a cursor within highlighted text. Don't draw | |
29415 | background again if it has already been drawn. | |
29416 | (x_draw_glyph_string_box): Don't draw a full-width | |
29417 | box just because the glyph row's full_width_p flag is set. | |
29418 | (x_draw_glyphs): Fix computation of rightmost x for | |
29419 | full-width rows. | |
29420 | (x_dump_glyph_string): Put in #if GLYPH_DEBUG. | |
29421 | (w32_draw_relief_rect): Extend left shadow to the bottom and left; | |
f63fd14e | 29422 | change bottom shadow accordingly. Some cleanup. |
c169b8f1 JR |
29423 | (x_update_window_end): Handle overwritten mouse face |
29424 | also for tool bar windows. | |
29425 | (show_mouse_face): Set the glyph row's mouse_face_p flag also when | |
29426 | DRAW is DRAW_IMAGE_RAISED. | |
29427 | (clear_mouse_face): Return 1 if text with mouse face was | |
2c568af5 SM |
29428 | actually redrawn. Make the function static. |
29429 | Reset dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might | |
c169b8f1 JR |
29430 | optimize away highlighting if we pass over that same overlay again. |
29431 | (note_mouse_highlight): Call mouse_face_overlay_overlaps | |
29432 | to detect a case where we have to highlight a different region | |
29433 | despite not having left the currently highlighted region. | |
29434 | Set mouse_face_overlay in the x_display_info. Avoid changing the | |
29435 | mouse pointer shape when show_mouse_face has already done it, or | |
29436 | there is no need. Handle mouse-face and help-echo in strings. | |
29437 | (glyph_rect): New function. | |
29438 | (w32_mouse_position): Use it to raise the threshold for mouse | |
29439 | movement event generation. | |
29440 | (w32_initialize_display_info): Initialize the x_display_info's | |
29441 | mouse_face_overlay. | |
29442 | (w32_set_vertical_scroll_bar): Don't clear a zero height | |
29443 | or width area. | |
29444 | (w32_set_vertical_scroll_bar, x_scroll_bar_create): Don't configure | |
29445 | a widget to zero height. | |
29446 | ||
3cf3436e | 29447 | * w32menu.c (single_submenu, w32_menu_show) [!HAVE_MULTILINGUAL_MENU]: |
4fdd691b | 29448 | Protect unibyte strings created by replacing their multibyte |
3cf3436e JR |
29449 | equivalents in menu_items. |
29450 | (w32_menu_show): Don't overwrite an item's name with its key | |
29451 | description in case the description is a multibyte string. | |
29452 | (single_submenu): Some cleanup. | |
29453 | ||
29454 | * w32fns.c (x_laplace_read_row, x_laplace_write_row): Removed. | |
29455 | (postprocess_image): New function. | |
29456 | (lookup_image): Call it for all image types except PostScript. | |
29457 | (x_kill_gs_process): Call postprocess_image. | |
29458 | (tiff_error_handler, tiff_warning_handler): New functions. | |
29459 | (tiff_load): Install them as handlers. | |
29460 | (x_kill_gs_process): Recognize if someone has cleared the image | |
29461 | cache under us. | |
29462 | (valid_image_p): Protect better against invalid image | |
29463 | specifications. Previous code could signal an error. | |
29464 | (Fx_hide_tip, Fshow_tip): Doc fix. | |
29465 | (Fv_max_tooltip_size): New variable. | |
29466 | (syns_of_xfns): DEFVAR_LISP it. | |
29467 | (Fx_show_tip): Add parameter TEXT. Set the tip frame's root | |
f63fd14e | 29468 | window buffer to *tip* right after creating the frame. Set frame's |
3cf3436e JR |
29469 | window_width. Use a maximum tooltip size specified by |
29470 | Vx_max_tooltip_size, if that has valid contents. | |
29471 | (compute_tip_xy): Add parameters WIDTH and HEIGHT. | |
29472 | Make sure the tooltip is completely visible. | |
29473 | (x_create_tip_frame): Set tooltip buffer's truncate-lines to nil. | |
29474 | (Fx_create_frame): Adjust the frame's height for presence | |
29475 | of the tool bar before calling x_figure_window_size. | |
29476 | (x_set_tool_bar_lines): Clear the tool bar window's current matrix | |
29477 | when the window gets smaller. | |
29478 | (x_set_foreground_color): Set frame's cursor_pixel. | |
29479 | (x_set_foreground_color, x_set_background_color): Cleaned up. | |
29480 | (x_set_font): Handle case of x_new_fontset returning the same name | |
29481 | as before, although there was a change in fontsets. | |
29482 | ||
386ca361 MB |
29483 | 2001-10-21 Miles Bader <miles@gnu.org> |
29484 | ||
c2d53558 | 29485 | * data.c (Fplus, Fminus, Fmax, Ftimes, Fquo, Flogand, Flogior) |
386ca361 MB |
29486 | (Flogxor): Add usage: string to doc string. |
29487 | * charset.c (Fstring): Likewise. | |
29488 | * callproc.c (Fcall_process_region, Fcall_process): Likewise. | |
29489 | * alloc.c (Fmake_byte_code, Fvector, Flist): Likewise. | |
29490 | ||
f00691a3 | 29491 | 2001-10-21 Pavel Jan\e,Am\e(Bk <Pavel@Janik.cz> |
14ff1ee0 | 29492 | |
03be2694 PJ |
29493 | * buffer.c: Reindent DEFUNs and DEFVARs with doc: keywords. |
29494 | ||
29495 | * alloc.c: Reindent DEFUNs with doc: keywords. | |
29496 | ||
29497 | * abbrev.c (Finsert_abbrev_table_description): Reindent. | |
29498 | ||
14ff1ee0 PJ |
29499 | * frame.c: Change doc-string comments to `new style' [w/`doc:' |
29500 | keyword]. | |
29501 | ||
2f147815 | 29502 | See ChangeLog.9 for earlier changes. |
6922b018 KH |
29503 | |
29504 | ;; Local Variables: | |
49b3bd82 | 29505 | ;; coding: iso-2022-7bit |
33462dfa | 29506 | ;; add-log-time-zone-rule: t |
6922b018 | 29507 | ;; End: |
2a34a036 | 29508 | |
aaef169d | 29509 | Copyright (C) 2001, 2002, 2003, 2004, 2005, |
081f2203 | 29510 | 2006, 2007, 2008 Free Software Foundation, Inc. |
7f6d64f8 GM |
29511 | |
29512 | This file is part of GNU Emacs. | |
29513 | ||
29514 | GNU Emacs is free software; you can redistribute it and/or modify | |
29515 | it under the terms of the GNU General Public License as published by | |
684d6f5b | 29516 | the Free Software Foundation; either version 3, or (at your option) |
7f6d64f8 GM |
29517 | any later version. |
29518 | ||
29519 | GNU Emacs is distributed in the hope that it will be useful, | |
29520 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
29521 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
29522 | GNU General Public License for more details. | |
29523 | ||
29524 | You should have received a copy of the GNU General Public License | |
29525 | along with GNU Emacs; see the file COPYING. If not, write to the | |
29526 | Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, | |
29527 | Boston, MA 02110-1301, USA. | |
ab5796a9 MB |
29528 | |
29529 | ;;; arch-tag: 5dcc435f-4038-4141-b3bf-5be51cd76bd4 |