ChangeLog 1.02 MB
Newer Older
1 2 3 4
2011-01-19  Sam Steingold  <sds@gnu.org>

	* w32.c (check_windows_init_file): Remove declarations of
	Vwindow_system, Vload_path, Qfile_exists_p to fix compilation.
5
	* w32fns.c: Fix an error introduced by the previous patch.
6

7 8 9 10
2011-01-19  Tom Tromey  <tromey@redhat.com>

	* window.c: Fix error introduced by previous patch.

11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489
2011-01-18  Tom Tromey  <tromey@parfait>

	* globals.h: New file.
	* xterm.h (Vx_pixel_size_width_font_regexp): Remove declaration.
	* window.h (Vinitial_window_system, Vminibuf_scroll_window)
	(Vwindow_system_version): Remove declaration.
	* w32term.h (Vw32_enable_palette)
	(Vx_pixel_size_width_font_regexp): Remove declaration.
	* w32menu.c (Voverriding_local_map)
	(Voverriding_local_map_menu_flag): Remove declaration.
	* w32inevt.c (Vw32_alt_is_meta, Vw32_apps_modifier)
	(Vw32_capslock_is_shiftlock, Vw32_enable_caps_lock)
	(Vw32_enable_num_lock, Vw32_lwindow_modifier)
	(Vw32_pass_lwindow_to_system, Vw32_pass_rwindow_to_system)
	(Vw32_phantom_key_code, Vw32_recognize_altgr)
	(Vw32_rwindow_modifier, Vw32_scroll_lock_modifier)
	(w32_use_full_screen_buffer): Remove declaration.
	* w32.c (Vsystem_configuration, Vw32_downcase_file_names)
	(Vw32_generate_fake_inodes, Vw32_get_true_file_attributes)
	(w32_num_mouse_buttons, w32_pipe_read_delay): Remove declaration.
	* termopts.h (Vtruncate_partial_width_windows, inverse_video)
	(no_redraw_on_reenter, visible_bell): Remove declaration.
	* sysdep.c (Vsystem_name): Remove declaration.
	* syntax.h (parse_sexp_lookup_properties): Remove declaration.
	* menu.h (Vmenu_updating_frame): Remove declaration.
	* macros.h (Vexecuting_kbd_macro, executing_kbd_macro_index):
	Remove declaration.
	* lisp.h (Vafter_init_time, Vafter_load_alist)
	(Vauto_save_list_file_name, Vbefore_init_time, Vcommand_history)
	(Vcompletion_regexp_list, Vcurrent_load_list)
	(Vcurrent_prefix_arg, Vdata_directory, Vdebug_on_error)
	(Vdoc_directory, Vdoc_file_name, Vdynamic_library_alist)
	(Vexec_directory, Vexec_path, Vexec_suffixes)
	(Vface_font_rescale_alist, Vface_ignored_fonts, Vfeatures)
	(Vhelp_form, Vhistory_length, Vinhibit_field_text_motion)
	(Vinhibit_quit, Vinhibit_read_only, Vinhibit_redisplay)
	(Vinstallation_directory, Vinvocation_directory)
	(Vinvocation_name, Vload_file_rep_suffixes, Vload_history)
	(Vload_suffixes, Vmark_even_if_inactive, Vmemory_full)
	(Vmessage_log_max, Vobarray, Vprint_length, Vprint_level)
	(Vpurify_flag, Vquit_flag, Vsaved_region_selection)
	(Vscalable_fonts_allowed, Vselect_active_regions)
	(Vshell_file_name, Vstandard_input, Vstandard_output)
	(Vsystem_name, Vtemporary_file_directory, Vthrow_on_input)
	(Vtop_level, Vtty_erase_char, Vundo_outer_limit)
	(Vuser_login_name, Vwindow_scroll_functions)
	(Vwindow_system_version, Vx_no_window_manager)
	(Vx_resource_class, Vx_resource_name, baud_rate)
	(completion_ignore_case, debug_on_next_call, gc_cons_threshold)
	(history_delete_duplicates, inhibit_x_resources)
	(last_nonmenu_event, load_in_progress, max_specpdl_size)
	(minibuffer_auto_raise, print_escape_newlines, scroll_margin)
	(use_dialog_box, use_file_dialog): Remove declaration.  Include
	globals.h.
	* keymap.h (Voverriding_local_map)
	(Voverriding_local_map_menu_flag, meta_prefix_char): Remove
	declaration.
	* keyboard.h (Vdouble_click_time, Vfunction_key_map)
	(Vinput_method_function, Vkey_translation_map)
	(Vlucid_menu_bar_dirty_flag, Vthis_original_command)
	(do_mouse_tracking, extra_keyboard_modifiers)
	(num_nonmacro_input_events): Remove declaration.
	* intervals.h (Vchar_property_alias_alist)
	(Vdefault_text_properties, Vinhibit_point_motion_hooks)
	(Vtext_property_default_nonsticky): Remove declaration.
	* gtkutil.h (x_gtk_file_dialog_help_text)
	(x_gtk_show_hidden_files, x_gtk_use_old_file_dialog)
	(x_gtk_whole_detached_tool_bar): Remove declaration.
	* frame.h (Vdefault_frame_alist, Vframe_alpha_lower_limit)
	(Vmenu_bar_mode, Vmouse_highlight, Vterminal_frame)
	(Vtool_bar_mode, Vx_resource_class, Vx_resource_name)
	(focus_follows_mouse): Remove declaration.
	* fontset.h (Valternate_fontname_alist, Vfontset_alias_alist)
	(Vignore_relative_composition, Votf_script_alist)
	(Vuse_default_ascent, Vvertical_centering_font_regexp): Remove
	declaration.
	* font.h (Vfont_log): Remove declaration.
	* dosfns.h (Vdos_display_scancodes, Vdos_version)
	(Vdos_windows_version, dos_codepage, dos_country_code)
	(dos_decimal_point, dos_hyper_key, dos_keyboard_layout)
	(dos_keypad_mode, dos_super_key, dos_timezone_offset): Remove
	declaration.
	* disptab.h (Vglyph_table, Vstandard_display_table): Remove
	declaration.
	* dispextern.h (Vface_remapping_alist, Vglyphless_char_display)
	(Vmouse_autoselect_window, Voverflow_newline_into_fringe)
	(Vshow_trailing_whitespace, Vtool_bar_button_margin)
	(Vtool_bar_style, cursor_in_echo_area, display_hourglass_p)
	(inverse_video, mode_line_in_non_selected_windows)
	(tool_bar_button_relief, tool_bar_max_label_size)
	(underline_minimum_offset)
	(unibyte_display_via_language_environment, x_stretch_cursor_p):
	Remove declaration.
	* composite.h (Vauto_composition_function)
	(Vcomposition_function_table): Remove declaration.
	* commands.h (Vexecuting_kbd_macro)
	(Vminibuffer_local_completion_map)
	(Vminibuffer_local_filename_completion_map)
	(Vminibuffer_local_filename_must_match_map)
	(Vminibuffer_local_map, Vminibuffer_local_must_match_map)
	(Vminibuffer_local_ns_map, Vthis_command)
	(Vunread_command_events, cursor_in_echo_area)
	(last_command_event, last_nonmenu_event, unread_command_char):
	Remove declaration.
	* coding.h (Vcoding_system_for_read, Vcoding_system_for_write)
	(Vdefault_file_name_coding_system)
	(Vdefault_process_coding_system, Vfile_name_coding_system)
	(Vlast_coding_system_used, Vlocale_coding_system)
	(Vselect_safe_coding_system_function)
	(Vtranslation_table_for_input, coding_system_require_warning)
	(eol_mnemonic_dos, eol_mnemonic_mac, eol_mnemonic_undecided)
	(eol_mnemonic_unix, inherit_process_coding_system): Remove
	declaration.
	* charset.h (Vcharset_list, Vcurrent_iso639_language): Remove
	declaration.
	* character.h (Vauto_fill_chars, Vchar_direction_table)
	(Vchar_script_table, Vchar_width_table, Vprintable_chars)
	(Vscript_representative_chars, Vtranslation_table_vector)
	(Vunicode_category_table): Remove declaration.
	* ccl.h (Vfont_ccl_encoder_alist): Remove declaration.
	* buffer.h (Vafter_change_functions, Vbefore_change_functions)
	(Vdeactivate_mark, Vfirst_change_hook, Vtransient_mark_mode)
	(inhibit_modification_hooks): Remove declaration.
	* xterm.c (syms_of_xterm): Update.
	(Vx_alt_keysym, Vx_hyper_keysym, Vx_keysym_table)
	(Vx_meta_keysym, Vx_super_keysym, Vx_toolkit_scroll_bars)
	(x_mouse_click_focus_ignore_position)
	(x_underline_at_descent_line)
	(x_use_underline_position_properties): Remove.
	* xsmfns.c (syms_of_xsmfns): Update.
	(Vx_session_id, Vx_session_previous_id): Remove.
	* xsettings.c (syms_of_xsettings): Update.
	(Vxft_settings, use_system_font): Remove.
	* xselect.c (syms_of_xselect): Update.
	(Vselection_converter_alist, Vx_lost_selection_functions)
	(Vx_sent_selection_functions, x_selection_timeout): Remove.
	* xfns.c (syms_of_xfns): Update.
	(Vgtk_version_string, Vmotif_version_string)
	(Vx_cursor_fore_pixel, Vx_hourglass_pointer_shape)
	(Vx_max_tooltip_size, Vx_mode_pointer_shape)
	(Vx_no_window_manager, Vx_nontext_pointer_shape)
	(Vx_pixel_size_width_font_regexp, Vx_pointer_shape)
	(Vx_sensitive_text_pointer_shape)
	(Vx_window_horizontal_drag_shape, x_gtk_file_dialog_help_text)
	(x_gtk_show_hidden_files, x_gtk_use_old_file_dialog)
	(x_gtk_use_system_tooltips, x_gtk_whole_detached_tool_bar):
	Remove.
	* xfaces.c (syms_of_xfaces): Update.
	(Vface_default_stipple, Vface_font_rescale_alist)
	(Vface_ignored_fonts, Vface_new_frame_defaults)
	(Vface_remapping_alist, Vfont_list_limit)
	(Vscalable_fonts_allowed, Vtty_defined_color_alist): Remove.
	* xdisp.c (syms_of_xdisp): Update.
	(Vauto_resize_tool_bars, Vblink_cursor_alist)
	(Vdisplay_pixels_per_inch, Vfontification_functions)
	(Vframe_title_format, Vglobal_mode_string)
	(Vglyphless_char_display, Vhourglass_delay, Vhscroll_step)
	(Vicon_title_format, Vinhibit_redisplay)
	(Vline_number_display_limit, Vline_prefix)
	(Vmax_mini_window_height, Vmenu_bar_update_hook)
	(Vmenu_updating_frame, Vmessage_log_max)
	(Vmouse_autoselect_window, Vnobreak_char_display)
	(Voverlay_arrow_position, Voverlay_arrow_string)
	(Voverlay_arrow_variable_list, Vredisplay_end_trigger_functions)
	(Vresize_mini_windows, Vshow_trailing_whitespace)
	(Vtool_bar_border, Vtool_bar_button_margin, Vtool_bar_style)
	(Vtruncate_partial_width_windows, Vvoid_text_area_pointer)
	(Vwindow_scroll_functions, Vwindow_size_change_functions)
	(Vwindow_text_change_functions, Vwrap_prefix)
	(auto_raise_tool_bar_buttons_p, automatic_hscrolling_p)
	(debug_end_pos, display_hourglass_p, emacs_scroll_step)
	(highlight_nonselected_windows, hscroll_margin)
	(inhibit_eval_during_redisplay, inhibit_free_realized_faces)
	(inhibit_menubar_update, inhibit_try_cursor_movement)
	(inhibit_try_window_id, inhibit_try_window_reusing)
	(line_number_display_limit_width)
	(make_cursor_line_fully_visible_p, message_truncate_lines)
	(mode_line_inverse_video, multiple_frames, overline_margin)
	(scroll_conservatively, scroll_margin, tool_bar_button_relief)
	(tool_bar_max_label_size, underline_minimum_offset)
	(unibyte_display_via_language_environment, x_stretch_cursor_p):
	Remove.
	* window.c (syms_of_window): Update.
	(Vminibuf_scroll_window, Vother_window_scroll_buffer)
	(Vrecenter_redisplay, Vscroll_preserve_screen_position)
	(Vtemp_buffer_show_function, Vwindow_configuration_change_hook)
	(Vwindow_point_insertion_type, auto_window_vscroll_p)
	(mode_line_in_non_selected_windows, next_screen_context_lines)
	(window_min_height, window_min_width): Remove.
	(scroll_margin): Remove declaration.
	* w32term.c (syms_of_w32term): Update.
	(Vw32_capslock_is_shiftlock, Vw32_grab_focus_on_raise)
	(Vw32_recognize_altgr, Vw32_swap_mouse_buttons)
	(Vx_toolkit_scroll_bars, w32_num_mouse_buttons)
	(w32_use_visible_system_caret, x_underline_at_descent_line)
	(x_use_underline_position_properties): Remove.
	(Vcommand_line_args, Vsystem_name, extra_keyboard_modifiers):
	Remove declaration.
	* w32select.c (syms_of_w32select): Update.
	(Vnext_selection_coding_system, Vselection_coding_system): Remove.
	* w32proc.c (syms_of_ntproc): Update.
	(Vw32_downcase_file_names, Vw32_generate_fake_inodes)
	(Vw32_get_true_file_attributes, Vw32_quote_process_args)
	(Vw32_start_process_inherit_error_mode)
	(Vw32_start_process_share_console)
	(Vw32_start_process_show_window, w32_pipe_read_delay): Remove.
	(Vsystem_name): Remove declaration.
	* w32font.c (syms_of_w32font): Update.
	(Vw32_charset_info_alist): Remove.
	* w32fns.c (globals_of_w32fns, syms_of_w32fns): Update.
	(Vw32_alt_is_meta, Vw32_apps_modifier, Vw32_bdf_filename_alist)
	(Vw32_color_map, Vw32_enable_caps_lock, Vw32_enable_num_lock)
	(Vw32_enable_palette, Vw32_lwindow_modifier)
	(Vw32_pass_alt_to_system, Vw32_pass_lwindow_to_system)
	(Vw32_pass_rwindow_to_system, Vw32_phantom_key_code)
	(Vw32_rwindow_modifier, Vw32_scroll_lock_modifier)
	(Vx_cursor_fore_pixel, Vx_hourglass_pointer_shape)
	(Vx_max_tooltip_size, Vx_mode_pointer_shape)
	(Vx_no_window_manager, Vx_nontext_pointer_shape)
	(Vx_pixel_size_width_font_regexp, Vx_pointer_shape)
	(Vx_sensitive_text_pointer_shape)
	(Vx_window_horizontal_drag_shape, w32_ansi_code_page)
	(w32_enable_synthesized_fonts, w32_mouse_button_tolerance)
	(w32_mouse_move_interval)
	(w32_pass_extra_mouse_buttons_to_system)
	(w32_pass_multimedia_buttons_to_system, w32_quit_key)
	(w32_strict_fontnames, w32_strict_painting): Remove.
	(Vhourglass_delay, Vmenu_bar_mode, Vtool_bar_mode)
	(Vw32_recognize_altgr, Vwindow_system_version)
	(w32_num_mouse_buttons, w32_use_visible_system_caret): Remove
	declaration.
	* w32console.c (syms_of_ntterm): Update.
	(w32_use_full_screen_buffer): Remove.
	(Vtty_defined_color_alist): Remove declaration.
	* w16select.c (syms_of_win16select): Update.
	(Vnext_selection_coding_system, Vselection_coding_system): Remove.
	* undo.c (syms_of_undo): Update.
	(Vundo_outer_limit, Vundo_outer_limit_function)
	(undo_inhibit_record_point, undo_limit, undo_strong_limit):
	Remove.
	* textprop.c (syms_of_textprop): Update.
	(Vchar_property_alias_alist, Vdefault_text_properties)
	(Vinhibit_point_motion_hooks, Vtext_property_default_nonsticky):
	Remove.
	* terminal.c (syms_of_terminal): Update.
	(Vdelete_terminal_functions, Vring_bell_function): Remove.
	* term.c (syms_of_term): Update.
	(Vresume_tty_functions, Vsuspend_tty_functions)
	(no_redraw_on_reenter, system_uses_terminfo, visible_cursor):
	Remove.
	* syntax.c (syms_of_syntax): Update.
	(Vfind_word_boundary_function_table, multibyte_syntax_as_symbol)
	(open_paren_in_column_0_is_defun_start)
	(parse_sexp_ignore_comments, parse_sexp_lookup_properties)
	(words_include_escapes): Remove.
	* search.c (syms_of_search): Update.
	(Vinhibit_changing_match_data, Vsearch_spaces_regexp): Remove.
	* process.c (syms_of_process): Update.
	(Vprocess_adaptive_read_buffering, Vprocess_connection_type)
	(delete_exited_processes): Remove.
	* print.c (syms_of_print): Update.
	(Vfloat_output_format, Vprint_charset_text_property)
	(Vprint_circle, Vprint_continuous_numbering, Vprint_gensym)
	(Vprint_length, Vprint_level, Vprint_number_table)
	(Vstandard_output, print_escape_multibyte)
	(print_escape_newlines, print_escape_nonascii, print_quoted):
	Remove.
	* msdos.c (syms_of_msdos): Update.
	(Vdos_unsupported_char_glyph): Remove.
	(unibyte_display_via_language_environment): Remove declaration.
	* minibuf.c (syms_of_minibuf): Update.
	(Vcompletion_regexp_list, Vhistory_add_new_input)
	(Vhistory_length, Vminibuffer_completing_file_name)
	(Vminibuffer_completion_confirm)
	(Vminibuffer_completion_predicate, Vminibuffer_completion_table)
	(Vminibuffer_exit_hook, Vminibuffer_help_form)
	(Vminibuffer_history_position, Vminibuffer_history_variable)
	(Vminibuffer_prompt_properties, Vminibuffer_setup_hook)
	(Vread_buffer_function, Vread_expression_map)
	(completion_ignore_case, enable_recursive_minibuffers)
	(history_delete_duplicates, minibuffer_allow_text_properties)
	(minibuffer_auto_raise, read_buffer_completion_ignore_case):
	Remove.
	* marker.c (syms_of_marker): Update.
	(byte_debug_flag): Remove.
	* macros.c (syms_of_macros): Update.
	(Vexecuting_kbd_macro, executing_kbd_macro_index): Remove.
	* lread.c (syms_of_lread): Update.
	(Vafter_load_alist, Vbyte_boolean_vars)
	(Vbytecomp_version_regexp, Vcurrent_load_list)
	(Veval_buffer_list, Vload_file_name, Vload_file_rep_suffixes)
	(Vload_history, Vload_path, Vload_read_function)
	(Vload_source_file_function, Vload_suffixes, Vobarray)
	(Vold_style_backquotes, Vpreloaded_file_list, Vread_circle)
	(Vread_symbol_positions_list, Vread_with_symbol_positions)
	(Vsource_directory, Vstandard_input, Vuser_init_file, Vvalues)
	(force_load_messages, load_convert_to_unibyte)
	(load_dangerous_libraries, load_force_doc_strings)
	(load_in_progress): Remove.
	* keymap.c (syms_of_keymap): Update.
	(Vdefine_key_rebound_commands, Vemulation_mode_map_alists)
	(Vminibuffer_local_completion_map)
	(Vminibuffer_local_filename_completion_map)
	(Vminibuffer_local_filename_must_match_map)
	(Vminibuffer_local_map, Vminibuffer_local_must_match_map)
	(Vminibuffer_local_ns_map, Vminor_mode_map_alist)
	(Vminor_mode_overriding_map_alist, Vwhere_is_preferred_modifier):
	Remove.
	* keyboard.c (syms_of_keyboard): Update.
	(Vauto_save_timeout, Vcommand_error_function)
	(Vcommand_hook_internal, Vdeactivate_mark)
	(Vdeferred_action_function, Vdeferred_action_list)
	(Vdisable_point_adjustment, Vdouble_click_time)
	(Vecho_keystrokes, Venable_disabled_menus_and_buttons)
	(Vfunction_key_map, Vglobal_disable_point_adjustment)
	(Vhelp_char, Vhelp_event_list, Vhelp_form)
	(Vinput_method_function, Vinput_method_previous_message)
	(Vkey_translation_map, Vlast_event_frame)
	(Vlucid_menu_bar_dirty_flag, Vmenu_bar_final_items)
	(Vminibuffer_message_timeout, Voverriding_local_map)
	(Voverriding_local_map_menu_flag, Vpost_command_hook)
	(Vpre_command_hook, Vprefix_help_command)
	(Vsaved_region_selection, Vselect_active_regions)
	(Vshow_help_function, Vspecial_event_map, Vsuggest_key_bindings)
	(Vthis_command, Vthis_command_keys_shift_translated)
	(Vthis_original_command, Vthrow_on_input, Vtimer_idle_list)
	(Vtimer_list, Vtool_bar_separator_image_expression, Vtop_level)
	(Vtty_erase_char, Vunread_command_events)
	(Vunread_input_method_events, Vunread_post_input_method_events)
	(auto_save_interval, cannot_suspend, do_mouse_tracking)
	(double_click_fuzz, extra_keyboard_modifiers)
	(inhibit_local_menu_bar_menus, last_command_event)
	(last_input_event, last_nonmenu_event, menu_prompt_more_char)
	(menu_prompting, meta_prefix_char, num_input_keys)
	(num_nonmacro_input_events, polling_period, unread_command_char):
	Remove.
	* insdel.c (syms_of_insdel): Update.
	(Vcombine_after_change_calls, check_markers_debug_flag): Remove.
	* indent.c (syms_of_indent): Update.
	(indent_tabs_mode): Remove.
	* image.c (syms_of_image): Update.
	(Vimage_cache_eviction_delay, Vimage_types)
	(Vimagemagick_render_type, Vmax_image_size, Vx_bitmap_file_path)
	(cross_disabled_images): Remove.
	* fringe.c (syms_of_fringe): Update.
	(Vfringe_bitmaps, Voverflow_newline_into_fringe): Remove.
	* frame.c (syms_of_frame): Update.
	(Vdefault_frame_alist, Vdefault_frame_scroll_bars)
	(Vdelete_frame_functions, Vframe_alpha_lower_limit)
	(Vmake_pointer_invisible, Vmenu_bar_mode, Vmouse_highlight)
	(Vmouse_position_function, Vterminal_frame, Vtool_bar_mode)
	(Vx_resource_class, Vx_resource_name, focus_follows_mouse):
	Remove.
	* fontset.c (syms_of_fontset): Update.
	(Valternate_fontname_alist, Vfont_encoding_charset_alist)
	(Vfontset_alias_alist, Vignore_relative_composition)
	(Votf_script_alist, Vuse_default_ascent)
	(Vvertical_centering_font_regexp): Remove.
	* font.c (syms_of_font): Update.
	(Vfont_encoding_alist, Vfont_log, Vfont_slant_table)
	(Vfont_weight_table, Vfont_width_table): Remove.
	* fns.c (syms_of_fns): Update.
	(Vfeatures, use_dialog_box, use_file_dialog): Remove.
	* filelock.c (syms_of_filelock): Update.
	(Vtemporary_file_directory): Remove.
	* fileio.c (syms_of_fileio): Update.
	(Vafter_insert_file_functions, Vauto_save_include_big_deletions)
	(Vauto_save_list_file_name, Vauto_save_visited_file_name)
	(Vdefault_file_name_coding_system, Vfile_name_coding_system)
	(Vfile_name_handler_alist, Vinhibit_file_name_handlers)
	(Vinhibit_file_name_operation, Vset_auto_coding_function)
	(Vwrite_region_annotate_functions)
	(Vwrite_region_annotations_so_far)
	(Vwrite_region_post_annotation_function)
	(delete_by_moving_to_trash, write_region_inhibit_fsync): Remove.
	(Vw32_get_true_file_attributes): Remove declaration.
	* eval.c (syms_of_eval): Update.
	(Vdebug_ignored_errors, Vdebug_on_error, Vdebug_on_signal)
	(Vdebugger, Vinhibit_quit, Vmacro_declaration_function)
	(Vquit_flag, Vsignal_hook_function, Vstack_trace_on_error)
	(debug_on_next_call, debug_on_quit, debugger_may_continue)
	(max_lisp_eval_depth, max_specpdl_size): Remove.
	* emacs.c (syms_of_emacs): Update.
	(Vafter_init_time, Vbefore_init_time, Vcommand_line_args)
	(Vdynamic_library_alist, Vemacs_copyright, Vemacs_version)
	(Vinstallation_directory, Vinvocation_directory)
	(Vinvocation_name, Vkill_emacs_hook, Vpath_separator)
	(Vprevious_system_messages_locale, Vprevious_system_time_locale)
	(Vsystem_configuration, Vsystem_configuration_options)
	(Vsystem_messages_locale, Vsystem_time_locale, Vsystem_type)
	(inhibit_x_resources, noninteractive1): Remove.
	* editfns.c (syms_of_editfns): Update.
	(Vbuffer_access_fontified_property)
	(Vbuffer_access_fontify_functions, Vinhibit_field_text_motion)
	(Voperating_system_release, Vsystem_name, Vuser_full_name)
	(Vuser_login_name, Vuser_real_login_name): Remove.
	* dosfns.c (syms_of_dosfns): Update.
	(Vdos_display_scancodes, Vdos_version, Vdos_windows_version)
	(dos_codepage, dos_country_code, dos_decimal_point)
	(dos_hyper_key, dos_keyboard_layout, dos_keypad_mode)
	(dos_super_key, dos_timezone_offset): Remove.
	* doc.c (syms_of_doc): Update.
	(Vbuild_files, Vdoc_file_name): Remove.
	* dispnew.c (syms_of_display): Update.
	(Vglyph_table, Vinitial_window_system)
	(Vredisplay_preemption_period, Vstandard_display_table)
	(Vwindow_system_version, baud_rate, cursor_in_echo_area)
	(inverse_video, redisplay_dont_pause, visible_bell): Remove.
	* dired.c (syms_of_dired): Update.
	(Vcompletion_ignored_extensions): Remove.
	(Vw32_get_true_file_attributes): Remove declaration.
	* dbusbind.c (syms_of_dbusbind): Update.
	(Vdbus_debug, Vdbus_registered_buses)
	(Vdbus_registered_objects_table): Remove.
	* data.c (syms_of_data): Update.
	(Vmost_negative_fixnum, Vmost_positive_fixnum): Remove.
	* composite.c (syms_of_composite): Update.
	(Vauto_composition_function, Vauto_composition_mode)
	(Vcompose_chars_after_function, Vcomposition_function_table):
	Remove.
	* coding.c (syms_of_coding): Update.
	(Vcharset_revision_table, Vcoding_category_list)
	(Vcoding_system_alist, Vcoding_system_for_read)
	(Vcoding_system_for_write, Vcoding_system_list)
	(Vdefault_process_coding_system, Venable_character_translation)
	(Vfile_coding_system_alist, Vlast_code_conversion_error)
	(Vlast_coding_system_used, Vlatin_extra_code_table)
	(Vlocale_coding_system, Vnetwork_coding_system_alist)
	(Vprocess_coding_system_alist)
	(Vselect_safe_coding_system_function)
	(Vstandard_translation_table_for_decode)
	(Vstandard_translation_table_for_encode)
	(Vtranslation_table_for_input, coding_system_require_warning)
	(eol_mnemonic_dos, eol_mnemonic_mac, eol_mnemonic_undecided)
	(eol_mnemonic_unix, inherit_process_coding_system)
	(inhibit_eol_conversion, inhibit_iso_escape_detection)
	(inhibit_null_byte_detection): Remove.
	* cmds.c (syms_of_cmds): Update.
	(Vpost_self_insert_hook): Remove.
	* charset.c (syms_of_charset): Update.
	(Vcharset_list, Vcharset_map_path, Vcurrent_iso639_language)
	(inhibit_load_charset_map): Remove.
	* character.c (syms_of_character): Update.
	(Vauto_fill_chars, Vchar_direction_table, Vchar_script_table)
	(Vchar_width_table, Vprintable_chars)
	(Vscript_representative_chars, Vtranslation_table_vector)
	(Vunicode_category_table): Remove.
	* ccl.c (syms_of_ccl): Update.
	(Vcode_conversion_map_vector, Vfont_ccl_encoder_alist)
	(Vtranslation_hash_table_vector): Remove.
	* category.c (syms_of_category): Update.
	(Vword_combining_categories, Vword_separating_categories): Remove.
	* callproc.c (syms_of_callproc): Update.
	(Vconfigure_info_directory, Vdata_directory, Vdoc_directory)
	(Vexec_directory, Vexec_path, Vexec_suffixes)
	(Vinitial_environment, Vprocess_environment)
	(Vshared_game_score_directory, Vshell_file_name): Remove.
	* callint.c (syms_of_callint): Update.
	(Vcommand_debug_status, Vcommand_history, Vcurrent_prefix_arg)
	(Vmark_even_if_inactive, Vmouse_leave_buffer_hook): Remove.
	* bytecode.c (syms_of_bytecode): Update.
	(Vbyte_code_meter, byte_metering_on): Remove.
	* buffer.c (syms_of_buffer): Update.
	(Vafter_change_functions, Vbefore_change_functions)
	(Vchange_major_mode_hook, Vfirst_change_hook)
	(Vinhibit_read_only, Vkill_buffer_query_functions)
	(Vtransient_mark_mode, inhibit_modification_hooks): Remove.
	* alloc.c (syms_of_alloc): Update.
	(Vgc_cons_percentage, Vgc_elapsed, Vmemory_full)
	(Vmemory_signal_data, Vpost_gc_hook, Vpurify_flag)
	(cons_cells_consed, floats_consed, garbage_collection_messages)
	(gc_cons_threshold, gcs_done, intervals_consed)
	(misc_objects_consed, pure_bytes_used, string_chars_consed)
	(strings_consed, symbols_consed, vector_cells_consed): Remove.

	* lisp.h (DEFVAR_LISP, DEFVAR_LISP_NOPRO, DEFVAR_BOOL)
	(DEFVAR_INT): Assume global is in `globals'.
	* alloc.c (globals): Define.

490 491 492 493 494
2011-01-18  Tom Tromey  <tromey@redhat.com>

	* image.c (Vimagemagick_render_type): Remove redundant
	definition.

495 496 497 498 499 500 501
2011-01-18  Tom Tromey  <tromey@redhat.com>

	* xdisp.c (emacs_scroll_step): Rename from scroll_step.
	(try_scrolling): Rename argument to 'arg_scroll_conservatively'.
	(redisplay_window): Update.
	(syms_of_xdisp): Update.

502 503 504 505 506 507 508 509 510
2011-01-18  Tom Tromey  <tromey@redhat.com>

	* gtkutil.h (x_gtk_use_old_file_dialog, x_gtk_show_hidden_files)
	(x_gtk_file_dialog_help_text, x_gtk_whole_detached_tool_bar):
	Declare.
	* gtkutil.c (xg_uses_old_file_dialog):
	(xg_get_file_with_chooser):
	(xg_tool_bar_detach_callback): Don't redeclare globals.

511 512 513 514 515
2011-01-18  Tom Tromey  <tromey@redhat.com>

	* lisp.h (DEFVAR_BUFFER_DEFAULTS): New macro.
	* buffer.c (syms_of_buffer): Use DEFVAR_BUFFER_DEFAULTS.

516 517 518 519 520 521 522 523
2011-01-18  Paul Eggert  <eggert@cs.ucla.edu>

	* lisp.h (DECL_ALIGN): Define if HAVE_ATTRIBUTE_ALIGNED, not if
	defined __GNUC__.  ../configure now checks for this GCC feature,
	which is now also supported by IBM and Oracle compilers.
	(USE_LSB_TAG) [defined DECL_ALIGN]: Also define if defined __sun,
	since Solaris malloc returns mult-of-8.

524
2011-01-18  Stefan Monnier  <monnier@iro.umontreal.ca>
525 526 527

	* image.c (syms_of_image): Don't access XSYMBOL's internals directly.

Paul Eggert's avatar
Paul Eggert committed
528
2011-01-17  Paul Eggert  <eggert@cs.ucla.edu>
Paul Eggert's avatar
Paul Eggert committed
529

530 531 532 533 534
	Give a name FLOAT_TO_STRING_BUFSIZE to the constant 350.
	* lisp.h (FLOAT_TO_STRING_BUFSIZE): New macro.
	* data.c (Fnumber_to_string): Use it.
	* print.c (float_to_string, print_object): Likewise.

Paul Eggert's avatar
Paul Eggert committed
535 536 537 538 539 540 541 542 543 544
	Include <unistd.h> unilaterally.
	* alloc.c, atimer.c, buffer.c, callproc.c, dired.c, dispnew.c, doc.c:
	* doprnt.c, editfns.c, emacs.c, fileio.c, filelock.c, fns.c:
	* getloadavg.c, getpagesize.h, gmalloc.c, image.c, keyboard.c:
	* lread.c, process.c, process.h, ralloc.c, regex.c, sysdep.c:
	* systty.h, term.c, termcap.c, xfns.c, xrdb.c, xselect.c, xsmfns.c:
	* xterm.c:
	Include <unistd.h> without worrying about HAVE_UNISTD_H, since
	unistd.h is always present now, possibly supplied by gnulib.

545 546
	* mktime.c: Remove; moving to ../lib.

Paul Eggert's avatar
Paul Eggert committed
547 548 549
	Use gnulib's mktime module.
	* deps.mk (mktime.o): Remove rule.

Paul Eggert's avatar
Paul Eggert committed
550 551 552 553 554 555 556
	Use gnulib's ftoastr module.
	* print.c: Include ftoastr.h.
	(FLT_RADIX, DBL_MANT_DIG, DBL_DIG, DBL_MIN, DOUBLE_DIGITS_BOUND):
	Remove; no longer needed.
	(float_to_string): Use dtoastr rather than rolling our own code,
	which had an off-by-one bug on non-IEEE hosts.

Paul Eggert's avatar
Paul Eggert committed
557 558 559 560 561 562
	Automate syncing from gnulib.
	* Makefile.in (lib): New macro.
	(ALL_CFLAGS): Add -I$(lib) -I$(srcdir)/../lib.
	($(lib)/libgnu.a): New rule.
	(temacs$(EXEEXT)): Also link $(lib)/libgnu.a.

563 564 565 566
	* xfns.c (x_real_positions): Fix signedness of local var 'ign'.
	XGetGeometry wants unsigned int *, not int *, for its last 4 args,
	so change the type of 'ign' to unsigned int from int.

567 568
	* regex.c (analyse_first): Remove unreachable 'continue' statement.

569 570 571 572
	* xterm.h (struct x_display_info): Remove stray semicolon.
	The extra semicolon didn't conform to the C standard.
	Problem reported by Sun cc.

573 574 575 576 577 578 579
	* lisp.h: Redo flags and XSET slightly to avoid overflow diagnostics.
	These changes make compilation easier to follow with Sun cc.
	(ARRAY_MARK_FLAG): Make it signed, so that it can be assigned to
	EMACS_INT values without provoking overflow diagnostics.
	(PSEUDOVECTOR_FLAG): Likewise, for consistency.
	(XSET) [! USE_LSB_TAG]: Use unsigned left shift to avoid overflow
	diagnostic with signed left shift.
580

581 582
	* fileio.c (make_temp_name): Remove unreachable code.

583 584 585 586
	* fontset.c (free_realized_fontset): Mark unreachable code with if (0).
	Previously it was marked by preceding it with "return;", but
	Sun cc complains about this.

587 588 589 590
	* coding.c (decode_coding_emacs_mule): Remove unreachable code.
	This is a typo left over from 2009-03-06T07:51:52Z!handa@m17n.org,
	which fixed Bug#2370.  Caught by Sun cc.

591 592 593 594 595 596 597 598
2011-01-15  Martin Rudalics  <rudalics@gmx.at>

	* window.c (inhibit_point_swap): New variable.
	(Fselect_window): If inhibit_point_swap is nonzero, avoid swapping
	point this time.
	(Fset_window_configuration): Set inhibit_point_swap to 1 instead
	of setting selected_window to nil (Bug#7728).

599 600 601 602 603 604
2011-01-11  Tassilo Horn  <tassilo@member.fsf.org>

	* image.c (imagemagick_load_image, Finit_image_library): Free
	intermediate image after creating a MagickWand from it.  Terminate
	MagickWand environment after image loading.

605 606 607 608 609 610 611
2011-01-10  Michael Albinus  <michael.albinus@gmx.de>

	* dbusbind.c (Fdbus_register_service): Raise an error in case of
	unexpected return values.
	(Fdbus_register_method): Remove connection initialization.

2011-01-10  Jan Moringen  <jan.moringen@uni-bielefeld.de>
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627

	* dbusbind.c (QCdbus_request_name_allow_replacement): New symbol;
	used by Fdbus_register_service.
	(QCdbus_request_name_replace_existing): Likewise.
	(QCdbus_request_name_do_not_queue): Likewise.
	(QCdbus_request_name_reply_primary_owner): Likewise.
	(QCdbus_request_name_reply_in_queue): Likewise.
	(QCdbus_request_name_reply_exists): Likewise.
	(QCdbus_request_name_reply_already_owner): Likewise.
	(Fdbus_register_service): New function.
	(Fdbus_register_method): Use Fdbus_register_service to do the name
	registration.
	(syms_of_dbusbind): Add symbols dbus-register-service,
	:allow-replacement, :replace-existing, :do-not-queue,
	:primary-owner, :existing, :in-queue and :already-owner.

628 629 630 631 632
2011-01-09  Chong Yidong  <cyd@stupidchicken.com>

	* gtkutil.c (update_frame_tool_bar): Don't advance tool-bar index
	when removing extra buttons.

633 634 635 636
2011-01-08  Chong Yidong  <cyd@stupidchicken.com>

	* fns.c (Fyes_or_no_p): Doc fix.

637 638 639 640
2011-01-08  Andreas Schwab  <schwab@linux-m68k.org>

	* fns.c (Fyes_or_no_p): Add usage.

Glenn Morris's avatar
Glenn Morris committed
641 642
2011-01-08  Glenn Morris  <rgm@gnu.org>

643 644 645
	* makefile.w32-in ($(EMACS)):
	* Makefile.in (emacs$(EXEEXT)): -batch implies -q.

Glenn Morris's avatar
Glenn Morris committed
646 647 648
	* xdisp.c (syms_of_xdisp) <Qrisky_local_variable>: Move from here...
	* emacs.c (syms_of_emacs) <Qrisky_local_variable>: ...to here.

649 650 651 652 653
2011-01-07  Andreas Schwab  <schwab@linux-m68k.org>

	* image.c (imagemagick_load_image): Fix some resource leaks and
	error handling.

654 655 656 657
2011-01-07  Chong Yidong  <cyd@stupidchicken.com>

	* fns.c (Fyes_or_no_p): Accept format string args.

658 659 660 661 662 663 664 665 666 667
2011-01-07  Glenn Morris  <rgm@gnu.org>

	* emacs.c (no_site_lisp): New int.
	(USAGE1): Add --no-site-lisp, mention -Q uses it.
	(main): Set no_site_lisp.
	(standard_args): Add --no-site-lisp.
	* lisp.h (no_site_lisp): New int.
	* lread.c (init_lread): If no_site_lisp, don't re-add site-lisp
	directories to Vload_path.

668 669 670 671
2011-01-05  Andreas Schwab  <schwab@linux-m68k.org>

	* alloc.c (mark_stack): Use __builtin_unwind_init if available.

672 673 674 675 676
2011-01-04  Jan Moringen  <jan.moringen@uni-bielefeld.de>

	* dbusbind.c (Fdbus_register_method): Added optional parameter
	dont_register_service.  Updated docstring accordingly.

677 678 679 680
2011-01-04  Glenn Morris  <rgm@gnu.org>

	* emacs.c (emacs_copyright): Update short copyright year to 2011.

681 682 683 684 685
2011-01-03  Eli Zaretskii  <eliz@gnu.org>

	* image.c (png_jmpbuf): Remove definition.
	(my_png_error, png_load): Don't use png_jmpbuf.

686 687 688 689 690
2011-01-02  Eli Zaretskii  <eliz@gnu.org>

	* keyboard.c (Vselect_active_regions): Doc fix.  (Bug#7702)

2011-01-02  Eli Zaretskii  <eliz@gnu.org>
691 692 693 694 695 696

	* image.c <Qlibpng_version>: New variable.
	(syms_of_image): Intern and staticpro it.  Set its value to the
	version of PNG library we were compiled with.
	(my_png_error, png_load): Avoid GCC warnings about direct access
	to png_ptr->jmpbuf.  (Bug#7716)
697 698 699
	(png_jmpbuf): New macro.
	(my_png_error, png_load): Use it instead of #ifdef'ing according
	to PNG_LIBPNG_VER_MAJOR and PNG_LIBPNG_VER_MINOR.
700

701
2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
702 703 704 705

	* .gdbinit (xgetptr): Fix the union+lsb case.
	(xbacktrace): Fix the union case.

706
2011-01-02  Stefan Monnier  <monnier@iro.umontreal.ca>
707 708 709 710

	* window.c (Fmove_to_window_line): Avoid abort when called in a buffer
	different from selected-window's.

711
2011-01-02  Eli Zaretskii  <eliz@gnu.org>
712

713 714 715 716
	* keyboard.c (parse_menu_item): Prepend "  " to the key sequence
	equivalent of a menu item when the key sequence is given by the
	`:keys' attribute.  (Bug#7662)

717 718 719
	* xdisp.c (Fformat_mode_line): Doc fix: no need to state that only
	the basic faces are supported.

720
2011-01-02  Jan Djärv  <jan.h.d@swipnet.se>
721 722 723

	* xterm.c (x_check_fullscreen): Fix pixel/character mixup.

724
2011-01-02  Eli Zaretskii  <eliz@gnu.org>
725 726 727

	* xdisp.c (Fformat_mode_line): Fix last change.

728
2011-01-02  Chong Yidong  <cyd@stupidchicken.com>
729 730 731 732

	* xdisp.c (Fformat_mode_line): Restrict the FACE argument to basic
	faces (Bug#7587).

733
2011-01-02  Eli Zaretskii  <eliz@gnu.org>
734 735 736

	* fileio.c (Fexpand_file_name): One more doc fix.

737 738 739 740 741 742 743 744 745 746 747 748 749
2011-01-01  Chong Yidong  <cyd@stupidchicken.com>

	* gtkutil.c (xg_get_tool_bar_widgets): Use NULL for a missing
	image or label in the container.
	(xg_make_tool_item): Replace VERT_ONLY arg with HORIZ, TEXT_IMAGE.
	(xg_show_toolbar_item): Function deleted.
	(xg_tool_item_stale_p): New function.
	(update_frame_tool_bar): Calculate tool-bar style once per call.
	Instead of hiding text labels, omit them.  Don't use
	xg_show_toolbar_item; create new GtkToolItems from scratch if
	necessary, instead of trying to re-use them.  This avoids an
	annoying animation when changing tool-bars.

750 751 752 753 754 755
2010-12-31  Jan Djärv  <jan.h.d@swipnet.se>

	* nsfns.m (ns_set_name_as_filename): Always use buffer name for
	title and buffer filename only for RepresentedFilename.
	Handle bad UTF-8 in buffer name (Bug#7517).

756 757 758 759 760 761 762 763 764 765 766 767 768
2010-12-30  Jan Djärv  <jan.h.d@swipnet.se>

	* coding.h (ENCODE_UTF_8): Remove "Used by ..." comment.

	* nsfns.m (ns_set_name_iconic): Remove.
	(ns_set_name_internal): New function (Bug#7517).
	(Vicon_title_format): Extern declare.
	(ns_set_name): Call ns_set_name_internal.
	(x_explicitly_set_name): Remove call to ns_set_name_iconic.
	(x_implicitly_set_name): Ditto.
	(x_set_title): Remove commet about EXPLICIT.  Call ns_set_name_internal.
	(ns_set_name_as_filename): Encode name with ENCODE_UTF_8 (Bug#7517).

769 770 771 772 773
2010-12-29  Štěpán Němec  <stepnem@gmail.com>  (tiny change)

	* window.c (syms_of_window): Add missing defsubr for
	window-use-time.

774 775 776 777 778
2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>

	* xterm.h (x_alloc_lighter_color_for_widget): Restore declaration.
	* xterm.c (x_alloc_lighter_color_for_widget): Restore.

Andreas Schwab's avatar
Andreas Schwab committed
779 780
2010-12-27  Andreas Schwab  <schwab@linux-m68k.org>

Andreas Schwab's avatar
Andreas Schwab committed
781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823
	* buffer.c: Remove unused declarations.
	* buffer.h: Likewise.
	* charset.h: Likewise.
	* composite.h: Likewise.
	* dispextern.h: Likewise.
	* dispnew.c: Likewise.
	* font.h: Likewise.
	* fontset.c: Likewise.
	* fontset.h: Likewise.
	* intervals.h: Likewise.
	* keymap.h: Likewise.
	* lisp.h: Likewise.
	* syntax.c: Likewise.
	* syntax.h: Likewise.
	* termhooks.h: Likewise.
	* window.h: Likewise.
	* xsettings.h: Likewise.
	* xterm.c: Likewise.
	* xterm.h: Likewise.

	* chartab.c (sub_char_table_ref): Make static.
	* dispnew.c (line_hash_code, required_matrix_height)
	(required_matrix_width): Likewise.
	* eval.c (interactive_p, apply_lambda): Likewise.
	* fns.c (string_make_multibyte, copy_hash_table, hash_clear):
	Likewise.
	* font.c (QCadstyle, QCregistry, font_make_spec)
	(font_parse_fcname, font_encode_char, font_at): Likewise.
	* frame.c (x_frame_get_arg): Likewise.
	* keymap.c (get_keyelt): Likewise.
	* lread.c (read_filtered_event): Likewise.
	* print.c (write_string_1): Likewise.
	* window.c (delete_window, window_height, window_width)
	(foreach_window): Likewise.
	* xrdb.c (x_get_customization_string, x_get_resource): Likewise.
	* xterm.c (x_scroll_bar_clear, xembed_set_info)
	(xembed_send_message): Likewise.

	* eval.c (run_hook_list_with_args): Delete.
	* font.c (font_unparse_gtkname, font_update_lface): Likewise.
	* terminal.c (get_terminal_param): Likewise.
	* xterm.c (x_alloc_lighter_color_for_widget): Likewise.

Andreas Schwab's avatar
Andreas Schwab committed
824 825
	* scroll.c: Fix comment.

Andreas Schwab's avatar
Andreas Schwab committed
826 827 828 829 830 831 832 833 834
	* dispnew.c (add_window_display_history)
	(add_frame_display_history, glyph_row_slice_p)
	(find_glyph_row_slice, flush_stdout)
	(check_matrix_pointer_lossage, matrix_row)
	(check_matrix_invariants, check_window_matrix_pointers)
	(check_matrix_pointers, window_to_frame_vpos)
	(window_to_frame_hpos): Prototize.
	* textprop.c (erase_properties): Likewise.

835 836
2010-12-22  Stefan Monnier  <monnier@iro.umontreal.ca>

Stefan Monnier's avatar
Stefan Monnier committed
837 838 839
	* print.c (PRINT_NUMBER_OBJECT, PRINT_NUMBER_STATUS): Remove.
	(print_preprocess): Fix handling of uninterned symbols in last change.

840 841 842
	* print.c (print, print_preprocess, print_object): Use a hash table
	rather than a linear table for Vprint_number_table.

843 844 845 846
2010-12-20  Chong Yidong  <cyd@stupidchicken.com>

	* frame.c (focus_follows_mouse): Default to 0 (Bug#7269).

847 848 849 850 851 852 853 854 855
2010-12-20  Chong Yidong  <cyd@stupidchicken.com>

	* keyboard.c (Vtool_bar_separator_image_expression): New variable.
	(parse_tool_bar_item): Use it to obtain image separators for
	displays not using native tool-bar separators.

	* xdisp.c (build_desired_tool_bar_string): Don't handle separators
	specially, since this is now done in parse_tool_bar_item.

856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884
2010-12-19  Stefan Monnier  <monnier@iro.umontreal.ca>

	Minor clean up to silence some gcc warnings.
	* window.c (Fset_window_buffer):
	* xterm.c (x_set_frame_alpha): Restructure code to silence
	compiler warning.
	(handle_one_xevent): Remove unused var `p'.
	(do_ewmh_fullscreen): Remove unused var `lval'.
	(xembed_set_info): Remove unused var `atom'.
	* textprop.c (Fremove_list_of_text_properties): Add braces to silence
	compiler warning.
	* fontset.c (fontset_id_valid_p, dump_fontset):
	* ftfont.c (ftfont_drive_otf): Modernize k&r declaration.
	* eval.c (Feval, Ffuncall): Avoid unneeded gotos.
	* dispnew.c (update_frame, update_frame_1): Compile the `do_pause'
	label only when it's used.
	* image.c (x_create_bitmap_from_xpm_data):
	* dispextern.h (x_create_bitmap_from_xpm_data): Use const char** like
	its callers.
	* coding.c (detect_coding_utf_16): Remove unused vars `src_base' and
	`consumed_chars'.
	(DECODE_EMACS_MULE_21_COMPOSITION): Remove unused var `charbuf_base'.
	(decode_coding_emacs_mule): Remove unused label `retry'.
	(detect_eol): Add parens to silence compiler warning.
	* alloc.c (bytes_used_when_reconsidered): Move to the #ifdef where
	it's used to silence the compiler.
	(make_number): Modernize k&r declaration.
	(mark_char_table): Add parens to silence compiler warning.

885 886 887 888 889 890 891 892 893 894 895 896 897 898
2010-12-17  Chong Yidong  <cyd@stupidchicken.com>

	* keyboard.c (parse_tool_bar_item): Allow menu separators in
	tool-bar maps.
	(menu_separator_name_p): New function, from gtkutil.c.
	(separator_names): Move from gtkutil.c.

	* keyboard.h (menu_separator_name_p): Add prototype.

	* gtkutil.c (XG_BIN_CHILD): New macro.
	(xg_get_menu_item_label, xg_update_menubar)
	(xg_update_menu_item, xg_tool_bar_menu_proxy)
	(xg_show_toolbar_item, update_frame_tool_bar): Use it.
	(separator_names, xg_separator_p): Move to keyboard.c.
899 900
	(create_menus, xg_update_submenu, update_frame_tool_bar):
	Use menu_separator_name_p.
901 902 903 904 905 906 907

	* nsmenu.m (name_is_separator): Function deleted.
	(addItemWithWidgetValue): Use menu_separator_name_p.

	* w32menu.c (name_is_separator): Function deleted.
	(add_menu_item): Use menu_separator_name_p.

908 909 910 911 912
2010-12-16  Jan Djärv  <jan.h.d@swipnet.se>

	* nsterm.m (ns_draw_window_cursor): If the cursor color is the
	same as the background, use the face forground as cursor.

Stefan Monnier's avatar
Stefan Monnier committed
913
2010-12-13  Eli Zaretskii  <eliz@gnu.org>
914 915 916

	* fileio.c (Fexpand_file_name): Doc fix.  (Bug#7617)

Stefan Monnier's avatar
Stefan Monnier committed
917
2010-12-13  Eli Zaretskii  <eliz@gnu.org>
918

919 920 921 922 923 924 925 926
	* xdisp.c (string_pos_nchars_ahead, c_string_pos)
	(face_before_or_after_it_pos, next_element_from_string)
	(next_element_from_c_string, produce_stretch_glyph): Remove unused
	calculations of maximum string length before calling
	string_char_and_length and STRING_CHAR_AND_LENGTH.
	(string_char_and_length): Update commentary: MAXLEN is no longer
	needed.

Stefan Monnier's avatar
Stefan Monnier committed
927
2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
928 929 930 931 932 933 934 935 936

	* keyboard.c (kbd_buffer_get_event): Construct SAVE_SESSION_EVENT
	as (Qsave_session arg).

	* xsmfns.c (smc_interact_CB): Set arg to Qnil.
	(smc_die_CB): Make an event with arg Qt.
	(Fhandle_save_session): If event has Qt as argument,
	call Fkill_emacs (Bug#7552).

Stefan Monnier's avatar
Stefan Monnier committed
937 938 939 940 941
2010-12-13  Chong Yidong  <cyd@stupidchicken.com>

	* buffer.c (transient-mark-mode): Doc fix (Bug#7465).

2010-12-13  Jan Djärv  <jan.h.d@swipnet.se>
942 943 944

	* xsmfns.c (smc_die_CB): Call Fkill_emacs (Bug#7552).

Stefan Monnier's avatar
Stefan Monnier committed
945
2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
946 947 948 949 950 951 952 953

	* dispextern.h (struct it): New member overlay_strings_charpos.

	* xdisp.c (next_overlay_string, load_overlay_strings): Record the
	charpos where we computed n_overlay_strings.
	(next_overlay_string): Load overlay strings at recorded position,
	which may not be the same as the iterator's charpos (Bug#7016).

Stefan Monnier's avatar
Stefan Monnier committed
954
2010-12-13  Chong Yidong  <cyd@stupidchicken.com>
955 956 957 958

	* xdisp.c (try_scrolling): Avoid infloop if the first line is
	obscured due to a vscroll (Bug#7537).

Stefan Monnier's avatar
Stefan Monnier committed
959
2010-12-13  Jan Djärv  <jhd@zeplinf.localdomain>
960 961 962 963 964 965 966 967

	* nsterm.h (FRAME_NS_TOOLBAR_HEIGHT): Rename to FRAME_TOOLBAR_HEIGHT.

	* nsterm.m (x_set_window_size, windowWillResize, initFrameFromEmacs):
	Use FRAME_TOOLBAR_HEIGHT.
	(x_set_offset): Handle XNegative and YNegative in
	f->size_hint_flags (Bug#7510).

968 969 970 971 972 973 974 975
2010-12-11  Eli Zaretskii  <eliz@gnu.org>

	* w32fns.c (Fx_show_tip): Call try_window with last argument
	TRY_WINDOW_IGNORE_FONTS_CHANGE.  Delete the TODO ifdef: problem
	solved.  Round up the tip height to an integral multiple of the
	frame's line height.  Add FRAME_COLUMN_WIDTH to the tip width.
	(Bug#7398)

976 977 978 979
2010-12-08  Glenn Morris  <rgm@gnu.org>

	* fileio.c (Fverify_visited_file_modtime): Default to current buffer.

980 981 982 983 984 985
2010-12-06  Lars Magne Ingebrigtsen  <larsi@gnus.org>

	* xml.c (parse_region): Ignore blank HTML nodes.
	(make_dom): Return CDATA sections (like <style>foo</style>) as
	text nodes.

986 987 988 989 990 991 992 993 994
2010-12-06  Stefan Monnier  <monnier@iro.umontreal.ca>

	* lread.c (read1): Allow newstyle unquote outside of backquote.
	Disallow old-style backquotes inside new-style backquotes.
	Don't count unquotes to figure out when we're "syntactically inside
	but semantically outside of a backquote" any more.
	Extend the restriction no-unescaped-commas-and-backquotes-in-symbols
	to all contexts.

995 996 997 998
2010-12-05  Chong Yidong  <cyd@stupidchicken.com>

	* process.c: Remove checks for HAVE_SYS_IOCTL_H (Bug#7484).

999 1000 1001 1002 1003 1004
2010-12-04  Andreas Schwab  <schwab@linux-m68k.org>

	* Makefile.in (M_FILE): Substitute @M_FILE@ instead of @machfile@.
	(S_FILE): Substitute @S_FILE@ instead of @opsysfile@.
	* m/arm.h, m/sh3.h, m/xtensa.h: Remove files.

Andreas Schwab's avatar
Andreas Schwab committed
1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021
2010-12-03  Andreas Schwab  <schwab@linux-m68k.org>

	* lisp.h (union Lisp_Object): Explicitly declare signedness of
	bit-field.
	(XINT): Remove variant for EXPLICIT_SIGN_EXTEND.
	* m/alpha.h (EXPLICIT_SIGN_EXTEND): Don't define.
	* m/amdx86-64.h (EXPLICIT_SIGN_EXTEND): Likewise.
	* m/ia64.h (EXPLICIT_SIGN_EXTEND): Likewise.
	* m/ibms390.h (EXPLICIT_SIGN_EXTEND): Likewise.
	* m/ibms390x.h (EXPLICIT_SIGN_EXTEND): Likewise.
	* m/iris4d.h (EXPLICIT_SIGN_EXTEND): Likewise.
	* m/m68k.h (EXPLICIT_SIGN_EXTEND): Likewise.
	* m/sparc.h (EXPLICIT_SIGN_EXTEND): Likewise.
	* m/template.h (EXPLICIT_SIGN_EXTEND): Likewise.
	* m/hp800.h: Remove file.
	* m/mips.h: Remove file.

1022 1023 1024 1025 1026
2010-12-03  Jan Djärv  <jan.h.d@swipnet.se>

	* nsterm.m (ns_dumpglyphs_image): If drawing cursor, fill background
	with cursor color and draw a rectangle around the image (Bug#7412).

1027 1028 1029 1030
2010-12-03  Andreas Schwab  <schwab@linux-m68k.org>

	* frame.c (x_set_font): Remove unused variable.

1031 1032
2010-12-02  Jan Djärv  <jan.h.d@swipnet.se>

1033 1034
	* nsmenu.m (update_frame_tool_bar): Remove NSLog on invalid image.

1035 1036 1037
	* nsterm.m (ns_draw_glyph_string): Switch fore- and background if
	drawing text under filled box cursor (Bug#7479).

1038
2010-11-27  Kenichi Handa  <handa@m17n.org>
1039 1040 1041

	* charset.c (emacs_mule_charset): Make it an array of charset ID;
	i.e. integer.
1042
	(Fdefine_charset_internal): Adjust for the above change.
1043 1044
	(init_charset_once): Likewise.

1045 1046
	* charset.h (emacs_mule_charset): Adjust the prototype.
	Delete duplicated extern.
1047 1048 1049 1050 1051 1052 1053

	* coding.c (emacs_mule_char): Adjust for the change of
	emacs_mule_charset.

	* lread.c (read_emacs_mule_char): Adjust for the change of
	emacs_mule_charset.

1054
2010-11-27  Eli Zaretskii  <eliz@gnu.org>
1055 1056 1057 1058

	* w32.c (_PROCESS_MEMORY_COUNTERS_EX): Don't define with versions
	of w32api >= 3.15.  (Bug#6989)  (Bug#7452)

1059
2010-11-27  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
1060 1061 1062 1063

	* alloc.c (mark_terminals): Ensure that the image cache is marked
	even if the terminal object was marked earlier (Bug#6301).

1064 1065 1066 1067
2010-11-21  Chong Yidong  <cyd@stupidchicken.com>

	* editfns.c (Fbyte_to_string): Signal an error arg is not a byte.

1068
2010-11-27  Jan Djärv  <jan.h.d@swipnet.se>
Jan Djärv's avatar
Jan Djärv committed
1069 1070 1071 1072 1073

	* gtkutil.c (menubar_map_cb): New function (Bug#7425).
	(xg_update_frame_menubar): Connect signal map to menubar_map_cb.
	Use 23 as menubar height if 0. (Bug#7425).

1074 1075
2010-11-26  Eli Zaretskii  <eliz@gnu.org>

1076 1077 1078
	* xdisp.c (set_message_1): Force paragraph direction in echo area
	be left-to-right.

1079 1080 1081
	* keyboard.c (make_lispy_position): Put a meaningful value in yret
	when the click is on the header or mode line.

1082 1083 1084 1085
2010-11-25  Eli Zaretskii  <eliz@gnu.org>

	* xdisp.c (set_cursor_from_row): Don't forget to consider the
	`cursor' property of the first character in overlay strings.
1086
	(Bug#7474)  (Bug#7481)
1087

1088 1089 1090 1091
2010-11-24  Jan Djärv  <jan.h.d@swipnet.se>

	* nsterm.m (NSLeftControlKeyMask, NSLeftCommandKeyMask)
	(NSLeftAlternateKeyMask): New defines.
1092 1093
	(keyDown): Parse left and right keys separately (Bug#7458).
	Compare Left key masks exactly (Bug#7458).
1094

1095 1096 1097 1098 1099
2010-11-23  Eli Zaretskii  <eliz@gnu.org>

	* intervals.c (temp_set_point_both): Define before calling, to
	avoid GCC warnings.

1100 1101
2010-11-23  Dan Nicolaescu  <dann@ics.uci.edu>

1102 1103
	* nsmenu.m: Use #include <config.h> instead of "config.h".

1104 1105 1106 1107 1108 1109 1110
	* term.c (Qglyphless_char,last_glyphless_glyph_frame)
	(last_glyphless_glyph_face_id. last_glyphless_glyph_merged_face_id):
	Move declarations ...
	* lisp.h (Qglyphless_char,last_glyphless_glyph_frame)
	(last_glyphless_glyph_face_id. last_glyphless_glyph_merged_face_id):
	... here.

1111 1112 1113 1114 1115 1116 1117
	* emacs.c (gdb_use_union, gdb_valbits,gdb_gctypebits)
	(gdb_data_seg_bits, gdb_array_mark_flag, PVEC_FLAG)
	(gdb_pvec_type):
	* print.c (print_output_debug_flag):
	* lisp.h (debug_print): Mark as EXTERNALLY_VISIBLE.
	(safe_debug_print): New declaration.

1118 1119 1120 1121
	* xterm.c:
	* systty.h:
	* sound.c: Include <sys/ioctl.h> unconditionally.

1122 1123 1124 1125 1126
2010-11-22  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* alloc.c (mark_maybe_object): Return early if given a Lisp
	integer (Bug#6301).

1127 1128 1129 1130
2010-11-21  Ken Brown  <kbrown@cornell.edu>

	* sheap.c (STATIC_HEAP_SIZE): Revert previous change.

1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141
2010-11-21  Jan Djärv  <jan.h.d@swipnet.se>

	* nsterm.m (ns_right_command_modifier, ns_right_control_modifier):
	Define (Bug#7458).
	(NSRightCommandKeyMask, NSRightControlKeyMask): Define (Bug#7458).
	(EV_MODIFIERS): Check for NSRightCommandKeyMask and
	NSRightControlKeyMask also (Bug#7458).
	(keyDown): Ditto (Bug#7458).
	(syms_of_nsterm): Defvar ns-right-command-modifier and
	ns-right-control-modifier (Bug#7458).

1142 1143
2010-11-21  Dan Nicolaescu  <dann@ics.uci.edu>

Dan Nicolaescu's avatar
Dan Nicolaescu committed
1144 1145 1146
	* sysdep.c (sys_subshell): Remove SET_EMACS_PRIORITY.
	* emacs.c (emacs_priority, syms_of_emacs): Remove emacs_priority.

1147 1148 1149
	* intervals.h (temp_set_point, temp_set_point_both):
	* buffer.h (offset_intervals, copy_intervals): Remove INLINE.

1150 1151 1152 1153
2010-11-20  Ken Brown  <kbrown@cornell.edu>

	* sheap.c (STATIC_HEAP_SIZE): Increase to 13MB.

1154 1155 1156 1157 1158
2010-11-20  Eli Zaretskii  <eliz@gnu.org>

	* term.c (produce_glyphless_glyph): Use \uNNNN, \UNNNNNN, or
	\xNNNNNN for hex-code display of glyphless characters.

1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173
2010-11-20  Jan Djärv  <jan.h.d@swipnet.se>

	* gtkutil.c (xg_make_tool_item): Take vert_only as argument.
	Set important to ! vert_only.
	(xg_show_toolbar_item): Don't show label horizontally if
	tool item isn't important.
	(update_frame_tool_bar): Get TOOL_BAR_ITEM_VERT_ONLY and pass it to
	xg_make_tool_item, or update important on existing tool item.

	* keyboard.c (QCvert_only): New variable.
	(parse_tool_bar_item): Check for QCvert_only.
	(syms_of_keyboard): Initialize QCvert_only.

	* dispextern.h (tool_bar_item_idx): Add TOOL_BAR_ITEM_VERT_ONLY.

1174 1175 1176 1177 1178
2010-11-20  Eli Zaretskii  <eliz@gnu.org>

	* msdos.c (dos_rawgetc): Use gen_help_event, instead of doing the
	same in-line.

1179 1180 1181 1182 1183 1184 1185 1186
2010-11-20  Andreas Schwab  <schwab@linux-m68k.org>

	* xfaces.c (lookup_face): Make static.
	* dispnew.c (copy_row_except_pointers): Likewise.
	* syntax.c (dec_bytepos): Likewise.
	(inc_bytepos): Remove.
	* dispextern.h (lookup_face): Remove declaration.

1187 1188 1189 1190 1191 1192
2010-11-19  Eli Zaretskii  <eliz@gnu.org>

	* xdisp.c (set_cursor_from_row): Display cursor after all the
	glyphs that come from an overlay.  Don't overstep the last glyph
	when skipping glyphs from an overlay.  (Bug#6687)

1193 1194
2010-11-18  Dan Nicolaescu  <dann@ics.uci.edu>

1195 1196 1197
	* alloc.c (refill_memory_reserve): Move declaration ...
	* lisp.h (refill_memory_reserve): ... here.

1198 1199
	* strftime.c (_strftime_copytm): Add declaration.

1200 1201
	* callproc.c (syms_of_callproc): Use intern_c_string.

1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213
	Move declarations from .c files to .h files.
	* process.c (timers_run):
	* minibuf.c (quit_char):
	* lread.c (read_emacs_mule_char):
	* keyboard.c (minibuf_level, message_enable_multibyte)
	(pending_malloc_warning):
	* insdel.c (Vselect_active_regions, Vsaved_region_selection)
	(Qonly): Remove declarations.
	* lisp.h (pending_malloc_warning, Vsaved_region_selection)
	(Vselect_active_regions):
	* keyboard.h (timers_run):  Add declarations.

1214 1215 1216 1217
	* strftime.c (my_strftime_gmtime_r, my_strftime_localtime_r)
	(tm_diff): Convert definitions to standard C.
	(extra_args_spec_iso): Remove, unused.

Stefan Monnier's avatar
Stefan Monnier committed
1218
2010-11-18  Jan Djärv  <jan.h.d@swipnet.se>
1219 1220 1221 1222 1223

	* xsettings.c (init_gconf): Check HAVE_G_TYPE_INIT.

	* config.in (HAVE_G_TYPE_INIT): New symbol.

Stefan Monnier's avatar
Stefan Monnier committed
1224
2010-11-18  Eli Zaretskii  <eliz@gnu.org>
1225 1226 1227 1228

	* lread.c (Fload): Mention `load-in-progress' and
	`load-file-name'.  (Bug#7346)

1229 1230 1231 1232 1233 1234 1235 1236
	* keyboard.c (kbd_buffer_nr_stored): Define only ifdef subprocesses.
	(kbd_buffer_store_event_hold, kbd_buffer_get_event)
	(tty_read_avail_input): Call kbd_buffer_nr_stored only ifdef
	subprocesses.  Use buffer_free only ifdef subprocesses.

	* process.c (init_process) [subprocesses]: Init kbd_is_on_hold in
	the subprocesses version, not in the non-subprocesses one.

1237 1238
	* Makefile.in: Don't use ## comment, it breaks the MSDOS build.

1239 1240 1241 1242 1243
2010-11-17  Eli Zaretskii  <eliz@gnu.org>

	* xdisp.c (set_cursor_from_row): Fix cursor positioning in empty
	lines on text-mode terminals.  (bug#7417)

1244 1245 1246 1247 1248
2010-11-17  Stefan Monnier  <monnier@iro.umontreal.ca>

	* xterm.c (get_current_wm_state): Rename from get_current_vm_state.
	(do_ewmh_fullscreen, x_handle_net_wm_state): Update callers.

1249 1250 1251 1252 1253
2010-11-17  Kenichi Handa  <handa@m17n.org>

	* coding.c (Fset_terminal_coding_system_internal): Fix previous
	change (set charset-ID list instead of charset-symbol list).

1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285
2010-11-16  Chong Yidong  <cyd@stupidchicken.com>

	* keyboard.c (make_lispy_position): For text area clicks, record Y
	pixel position relative to the text area, excluding header line.
	Also change X and Y to Lisp_Objects, not pointers; don't return
	coordinate values via pointers.  Pass ON_TEXT_AREA coordinate to
	buffer_posn_from_coords counting from the start of the text area.
	(Fposn_at_x_y, make_lispy_event): Callers changed.

	* window.c (coordinates_in_window): Change X and Y to ints rather
	than pointers; don't return coordinates via pointers.
	(struct check_window_data): Change X and Y from pointers to ints.
	(window_from_coordinates): Remove args WX and WY; don't return
	coordinates via pointers.
	(Fcoordinates_in_window_p, window_from_coordinates):
	(check_window_containing, Fwindow_at): Callers changed.
	(window_relative_x_coord): New function.

	* window.h (window_from_coordinates, window_relative_x_coord):
	Update prototypes.

	* dispnew.c (buffer_posn_from_coords): Assume that X counts from
	the start of the text area.

	* xdisp.c (remember_mouse_glyph): Change window_from_coordinates
	call.  Use window_relative_x_coord.
	(note_mouse_highlight): Change window_from_coordinates call.

	* w32term.c (w32_read_socket):
	* msdos.c (dos_rawgetc):
	* xterm.c (handle_one_xevent): Likewise.

1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298
2010-11-16  Dan Nicolaescu  <dann@ics.uci.edu>

	* strftime.c (LOCALE_PARAM_DECL): Update for standard C.
	(LOCALE_PARAM, LOCALE_PARAM_PROTO): Remove, unused.
	(memcpy_lowcase, so_week_days, extra_args_spec, emacs_strftimeu):
	Convert definitions to standard C.
	* regex.c: Do not include <stdlib.h>, config.h does it.
	Include unistd.h.
	(xrealloc, init_syntax_once, re_match, regcomp, regexec)
	(regerror, regfree): Convert definitions to standard C.
	* mktime.c (my_mktime_localtime_r, ydhms_tm_diff, ranged_convert)
	(__mktime_internal): Convert definitions to standard C.

1299 1300
2010-11-15  Dan Nicolaescu  <dann@ics.uci.edu>

1301 1302 1303 1304 1305
	* w32proc.c:
	* w32inevt.c:
	* w32heap.c:
	* w32.c: Remove config.h include guards.

1306 1307 1308
	* callproc.c (child_setup): Reorder code to simplify #ifdefs.
	No code changes.

1309 1310 1311
	* process.c: Include <sys/ioctl.h> unconditionally,
	keyboard.c already does it.

1312 1313 1314 1315
	* keyboard.c (pending_malloc_warning): Add const to match
	definition in alloc.c.
	(Fset_input_interrupt_mode): Simplify #ifdefs.

1316 1317
2010-11-15  Dan Nicolaescu  <dann@ics.uci.edu>

Dan Nicolaescu's avatar
Dan Nicolaescu committed
1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328
	Clean up systty.h macros.
	* systty.h (EMACS_GET_TTY_PGRP, EMACS_SET_TTY_PGRP, EMACS_GET_TTY)
	(EMACS_SET_TTY): Remove unneeded abstraction, instead inline the
	definition in all uses.
	(EMACS_TTY_TABS_OK): Remove, it has a single user.
	* sysdep.c (discard_tty_input, child_setup_tty)
	(init_sys_modes, tabs_safe_p, reset_sys_modes):
	* emacs.c (shut_down_emacs):
	* callproc.c (child_setup):
	* term.c (dissociate_if_controlling_tty): Inline removed macros.

1329 1330
	* data.c (sign_extend_temp, sign_extend_lisp_int): Remove, unused.

1331 1332 1333 1334 1335 1336
2010-11-14  Chong Yidong  <cyd@stupidchicken.com>

	* w32fns.c (Fx_create_frame):
	* nsfns.m (Fx_create_frame): Don't check for the cursorColor
	resource here; it's now done at startup.

1337 1338 1339 1340 1341 1342 1343
2010-11-14  Jan Djärv  <jan.h.d@swipnet.se>

	* xterm.c (set_wm_state): Add Qnil to final cons.

	* xselect.c (x_send_client_event): Remove unused variables cons and
	size.

1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357
2010-11-14  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* keyboard.c (modify_event_symbol) : Add const to array elements of
	arg NAME_TABLE.
	(lispy_accent_keys, lispy_function_keys, lispy_multimedia_keys)
	(lispy_kana_keys, iso_lispy_function_keys, lispy_wheel_names)
	(lispy_wheel_names, lispy_drag_n_drop_names, modifier_names):
	Add const to array elements.
	(scroll_bar_parts): Make static.  Fix position of const.

	* w32fns.c (lispy_function_keys): Add const to extern.

	* w32inevt.c (lispy_function_keys): Likewise.

1358 1359 1360 1361 1362
2010-11-14  Chong Yidong  <cyd@stupidchicken.com>

	* xfns.c (Fx_create_frame): Don't check for the cursorColor
	resource here; it's now done at startup.

1363 1364
2010-11-13  Dan Nicolaescu  <dann@ics.uci.edu>

1365
	* xmenu.c: Make it clear that ../lwlib/lwlib.h is only needed for Motif.
Dan Nicolaescu's avatar
Dan Nicolaescu committed
1366

1367
	Fix compilation on Solaris.
Dan Nicolaescu's avatar
Dan Nicolaescu committed
1368 1369 1370
	* sysdep.c: Do not #include <term.h>.
	(tputs): Add declaration, similar to what cm.c does.  (Bug#7178)

1371 1372
	* s/ms-w32.h (HAVE_TERMIOS_H): Do not undef, not used anymore.

1373 1374 1375 1376 1377 1378 1379 1380 1381 1382
2010-11-13  Jan Djärv  <jan.h.d@swipnet.se>

	* xterm.c (set_wm_state): Don't put Atom in cons, call
	make_fixnum_or_float on them first.
	(x_term_init): Initialize Xatom_net_supporting_wm_check and
	Xatom_net_supported correctly.

	* xselect.c (x_send_client_event): Move CHECK_STRING ...
	(Fx_send_client_event): to here.

1383 1384 1385 1386
2010-11-13  Martin Rudalics  <rudalics@gmx.at>

	* window.c (Fwindow_use_time): New function.

1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398
2010-11-13  Eli Zaretskii  <eliz@gnu.org>

	* xdisp.c (set_cursor_from_row): Fix cursor positioning on
	zero-width characters.

	* .gdbinit (pgx): Adapt to latest changes in `struct glyph'.

	* w32term.c (x_draw_glyphless_glyph_string_foreground): Draw the
	box before drawing the glyphs inside it.

	* xdisp.c (syms_of_xdisp) <glyphless-char-display>: Doc fix.

1399 1400 1401
	* dispextern.h (enum glyphless_display_method):
	Rename GLYPHLESS_DISPLAY_HEXA_CODE to GLYPHLESS_DISPLAY_HEX_CODE.
	All users changed.
1402

1403 1404
	* term.c (append_glyphless_glyph, produce_glyphless_glyph):
	Fix comments.
1405 1406 1407 1408
	(produce_glyphless_glyph): Enclose "U+nnnn" and "empty box"
	whitespace in "[]", to simulate a box.  Don't use uninitialized
	variable `width'.

1409 1410
2010-11-11  Julien Danjou  <julien@danjou.info>

1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441
	* xsettings.c (init_xsettings): Use already fetch atoms.

	* xsmfns.c (create_client_leader_window): Use SM_CLIENT_ID atom
	from dpyinfo.

	* xselect.c (Fx_send_client_event): Split and create
	x_send_client_event.

	* lisp.h: Do not EXFUN Fx_send_client_event.

	* xterm.c (x_set_frame_alpha): Use _NET_WM_WINDOW_OPACITY atom
	from dpyinfo.
	(wm_supports): Use atoms from dpyinfo.
	(do_ewmh_fullscreen): Use atoms from dpyinfo.
	(x_ewmh_activate_frame): Use atoms from dpyinfo.
	(xembed_set_info): Use atoms from dpyinfo.
	(x_term_init): Fetch _XEMBED_INFO, _NET_SUPPORTED,
	_NET_SUPPORTING_WM_CHECK, _NET_WM_WINDOW_OPACITY and
	_NET_ACTIVE_WINDOW, XSETTINGS  atoms.
	Get all atoms in one round-trip.
	(set_wm_state): Use x_send_client_event rather than
	Fx_send_client_event, using Atom directly.
	(x_ewmh_activate_frame): Ditto.
	(x_set_sticky): Pass atoms to set_wm_state.
	(do_ewmh_fullscreen): Ditto.


	* xterm.h (x_display_info): Add Xatom_net_supported,
	Xatom_net_supporting_wm_check, Xatom_net_active_window,
	Xatom_net_wm_window_opacity, Xatom_XEMBED_INFO, SM_CLIENT_ID.

1442 1443
	* xfns.c (Fx_show_tip): Fix typo in docstring.

1444 1445 1446 1447 1448
2010-11-11  Stefan Monnier  <monnier@iro.umontreal.ca>

	* cmds.c (Fself_insert_command): Don't call XFASTINT without checking
	it's not negative.

1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460
2010-11-10  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>

	* font.c (font_filter_properties): Add const to array elements of
	properties args.

	* font.h (font_filter_properties): Likewise.

	* ftfont.c (ftfont_booleans, ftfont_non_booleans): Add const to array
	elements.

	* w32font.c (w32font_booleans, w32font_non_booleans): Likewise.

1461 1462 1463 1464 1465 1466 1467 1468
2010-11-10  Michael Albinus  <michael.albinus@gmx.de>

	* dbusbind.c (QCdbus_type_unix_fd): New Lisp object.
	(XD_BASIC_DBUS_TYPE, xd_symbol_to_dbus_type, xd_signature)
	(xd_append_arg, xd_retrieve_arg): Support DBUS_TYPE_UNIX_FD.
	(Fdbus_call_method): Add DBUS_TYPE_UNIX_FD type mapping to doc string.
	(syms_of_dbusbind): Initialize QCdbus_type_unix_fd).

1469 1470 1471 1472
2010-11-10  Glenn Morris  <rgm@gnu.org>

	* emacs.c (syms_of_emacs) <system-type>: Doc fix.

1473 1474
2010-11-09  Eli Zaretskii  <eliz@gnu.org>

1475
	* xfns.c (x_real_positions): Fix declaration-after-statement problem.
1476

Stefan Monnier's avatar
Stefan Monnier committed
1477
2010-11-09  Chong Yidong  <cyd@stupidchicken.com>
1478 1479 1480 1481 1482

	* image.c (free_image): Don't garbage the frame here, since this
	function can be called while redisplaying (Bug#7210).
	(uncache_image): Garbage the frame here (Bug#6426).

Stefan Monnier's avatar
Stefan Monnier committed
1483
2010-11-09  Jan Djärv  <jan.h.d@swipnet.se>
1484

Stefan Monnier's avatar
Stefan Monnier committed
1485 1486
	* xfns.c (x_real_positions): Only use _NET_FRAME_EXTENTS if our
	parent is the root window.  Check this after traversing window tree.
1487

Stefan Monnier's avatar
Stefan Monnier committed
1488
	* xterm.c (x_term_init): Initialize Xatom_net_frame_extents.
1489

Stefan Monnier's avatar
Stefan Monnier committed
1490
	* xterm.h (struct x_display_info): Xatom_net_frame_extents is new.
1491

Stefan Monnier's avatar
Stefan Monnier committed
1492 1493
	* xfns.c (x_real_positions): Try to get _NET_FRAME_EXTENTS first
	before traversing window tree (Bug#5721).
1494

1495 1496
2010-11-07  Jan Djärv  <jan.h.d@swipnet.se>

1497 1498
	* xfns.c (set_machine_and_pid_properties): Let X set WM_CLIENT_MACHINE.

1499 1500
	* xdisp.c (note_mode_line_or_margin_highlight):
	Initialize Cursor to No_Cursor for HAVE_WINDOW_SYSTEM also.
1501

1502 1503 1504 1505 1506 1507 1508 1509
2010-11-06  Eli Zaretskii  <eliz@gnu.org>

	* xfns.c (Fx_show_tip): If any of the tool-tip text lines is R2L,
	adjust width of tool-tip frame to the width of text, excluding the
	stretch glyph at the beginning of R2L glyph rows.

	* w32fns.c (Fx_show_tip): Likewise.

1510 1511 1512
2010-11-06  Jan Djärv  <jan.h.d@swipnet.se>

	* nsfont.m: Include termchar for new mouse-highlight.
1513
	(nsfont_draw): Use MOUSE_HL_INFO.
1514

1515 1516
2010-11-05  Eli Zaretskii  <eliz@gnu.org>

1517
	Unify mouse-highlight code for all GUI and TTY sessions.
1518 1519 1520 1521 1522 1523 1524 1525 1526

	* term.c: Remove static mouse_face_* variables.  All users
	changed.
	(term_show_mouse_face, term_clear_mouse_face)
	(fast_find_position, term_mouse_highlight): Functions deleted.
	(tty_draw_row_with_mouse_face): New function.
	(term_mouse_movement): Call note_mouse_highlight instead of
	term_mouse_highlight.

1527 1528 1529 1530 1531 1532 1533 1534 1535 1536
	* nsterm.m (ns_update_window_begin, ns_update_window_end)
	(ns_update_end, x_destroy_window, ns_frame_up_to_date)
	(ns_dumpglyphs_box_or_relief, ns_maybe_dumpglyphs_background)
	(ns_dumpglyphs_image, ns_dumpglyphs_stretch)
	(ns_initialize_display_info, keyDown, mouseMoved, mouseExited):
	Replace Display_Info with Mouse_HLInfo everywhere where
	mouse_face_* members were accessed for mouse highlight purposes.

	* xterm.c (x_update_window_begin, x_update_window_end)
	(x_update_end, XTframe_up_to_date, x_set_mouse_face_gc)
1537 1538
	(handle_one_xevent, x_free_frame_resources, x_term_init):
	Replace Display_Info with Mouse_HLInfo everywhere where mouse_face_*
1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549
	members were accessed for mouse highlight purposes.

	* w32term.c (x_update_window_begin, x_update_window_end)
	(x_update_end, w32_read_socket, x_free_frame_resources)
	(w32_initialize_display_info): Replace Display_Info with
	Mouse_HLInfo everywhere where mouse_face_* members were accessed
	for mouse highlight purposes.

	* xdisp.c (show_mouse_face, note_mode_line_or_margin_highlight)
	(note_mouse_highlight) [HAVE_WINDOW_SYSTEM]: Don't run GUI code
	unless the frame is on a window-system.
1550
	(get_tool_bar_item, handle_tool_bar_click)
1551 1552 1553 1554 1555 1556
	(note_tool_bar_highlight, draw_glyphs, erase_phys_cursor)
	(show_mouse_face, clear_mouse_face, coords_in_mouse_face_p)
	(note_mode_line_or_margin_highlight, note_mouse_highlight)
	(x_clear_window_mouse_face, cancel_mouse_face, expose_frame):
	Replace Display_Info with Mouse_HLInfo everywhere where
	mouse_face_* members were accessed for mouse highlight purposes.
1557
	(coords_in_mouse_face_p): Move prototype out of the
1558 1559 1560
	HAVE_WINDOW_SYSTEM conditional.
	(x_y_to_hpos_vpos, frame_to_window_pixel_xy): Move out of the
	HAVE_WINDOW_SYSTEM block.
1561 1562
	(try_window_id) [HAVE_GPM || MSDOS]:
	Call x_clear_window_mouse_face.
1563
	(draw_row_with_mouse_face): Implementation for HAVE_WINDOW_SYSTEM
1564 1565 1566
	systems.  Call tty_draw_row_with_mouse_face for TTY systems.
	(show_mouse_face): Call draw_row_with_mouse_face, instead of
	calling draw_glyphs directly.
1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577
	(show_mouse_face, clear_mouse_face, coords_in_mouse_face_p)
	(cursor_in_mouse_face_p, rows_from_pos_range)
	(mouse_face_from_buffer_pos, mouse_face_from_string_pos)
	(note_mode_line_or_margin_highlight, note_mouse_highlight)
	(x_clear_window_mouse_face, cancel_mouse_face): Move out of the
	HAVE_WINDOW_SYSTEM block.  Ifdef away window-system specific
	fragments.
	(note_mouse_highlight): Call popup_activated for MSDOS as well.
	Clear mouse highlight if pointer is over glyphs whose OBJECT is an
	integer.
	(mouse_face_from_buffer_pos): Add parentheses around && within ||.
1578 1579
	(x_consider_frame_title, tool_bar_lines_needed):
	Move prototypes to HAVE_WINDOW_SYSTEM-only part.
1580 1581 1582 1583
	(get_window_cursor_type): Move inside a HAVE_WINDOW_SYSTEM-only
	part.  Remove "#ifdef HAVE_WINDOW_SYSTEM" from body of function.
	(null_glyph_slice): Move declaration into HAVE_WINDOW_SYSTEM-only
	part.
1584 1585 1586

	* dispnew.c (mirror_make_current): Set Y coordinate of the
	mode-line and header-line rows.
1587 1588
	(init_display): Setup initial frame's output_data for text
	terminal frames.
1589

1590 1591
	* xmenu.c (popup_activated): Don't define on MSDOS, which now has
	its own definition on msdos.c.
1592 1593 1594 1595 1596 1597 1598

	* msdos.c (show_mouse_face, clear_mouse_face)
	(fast_find_position, IT_note_mode_line_highlight)
	(IT_note_mouse_highlight): Functions deleted.
	(IT_frame_up_to_date, dos_rawgetc): Call note_mouse_highlight
	instead of IT_note_mouse_highlight.
	(draw_row_with_mouse_face, popup_activated): New functions.
1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625
	(dos_set_window_size, draw_row_with_mouse_face, IT_update_begin)
	(IT_update_end, IT_frame_up_to_date, internal_terminal_init)
	(dos_rawgetc): Replace Display_Info with Mouse_HLInfo everywhere
	where mouse_face_* members were accessed for mouse highlight
	purposes.

	* msdos.h (initialize_msdos_display): Add prototype.

	* frame.h (MOUSE_HL_INFO): New macro.

	* lisp.h (Mouse_HLInfo): New data type.

	* xterm.h (struct x_display_info):
	* w32term.h (struct w32_display_info):
	* nsterm.h (struct ns_display_info):
	* termchar.h (struct tty_display_info): Use it instead of
	mouse_face_* members.

	* dispextern.h (show_mouse_face, clear_mouse_face): Update type of
	1st argument.
	(frame_to_window_pixel_xy, note_mouse_highlight)
	(x_clear_window_mouse_face, cancel_mouse_face, clear_mouse_face)
	(show_mouse_face, cursor_in_mouse_face_p): Move prototypes out of
	HAVE_WINDOW_SYSTEM conditional.
	(draw_row_with_mouse_face): Declare prototype.
	(tty_draw_row_with_mouse_face): Declare prototype.

1626 1627
2010-11-05  Eli Zaretskii  <eliz@gnu.org>

1628 1629
	* term.c (append_glyphless_glyph, produce_glyphless_glyph):
	Remove unused variables.
1630

1631 1632 1633 1634 1635
2010-11-05  Adrian Robert  <Adrian.B.Robert@gmail.com>

	* nsterm.m (EmacsView-mouseExited:): Correct error in conditional
	logic pointed out by Eli Zaretskii.

1636 1637
2010-11-04  Lars Magne Ingebrigtsen  <larsi@gnus.org>

Glenn Morris's avatar
Glenn Morris committed
1638 1639
	* coding.c (coding-category-list): Refer to set-coding-system-priority
	instead of the obsolete set-coding-priority in the doc string.