1. 23 Jan, 2011 1 commit
  2. 18 Jan, 2011 1 commit
    • Tom Tromey's avatar
      Move all DEFVAR'd globals into a structure -- threading infrastructure · 29208e82
      Tom Tromey authored
      	* 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.
      29208e82
  3. 09 Jan, 2011 1 commit
  4. 08 Jan, 2011 1 commit
    • Glenn Morris's avatar
      Fix bug#7750. · 9dc3366b
      Glenn Morris authored
      * src/xdisp.c (syms_of_xdisp) <Qrisky_local_variable>: Move from here...
      * src/emacs.c (syms_of_emacs) <Qrisky_local_variable>: ...to here.
      9dc3366b
  5. 07 Jan, 2011 1 commit
    • Glenn Morris's avatar
      Add --no-site-lisp option, make -Q use it. (Bug#5707) · 66b7b0fe
      Glenn Morris authored
      * lisp/Makefile.in (EMACSOPT): Add --no-site-lisp.
      
      * src/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.
      
      * src/lisp.h (no_site_lisp): New int.
      
      * src/lread.c (init_lread): If no_site_lisp, don't re-add site-lisp
      directories to Vload_path.
      
      * etc/NEWS: Mention --no-site-lisp.
      66b7b0fe
  6. 04 Jan, 2011 1 commit
  7. 02 Jan, 2011 1 commit
  8. 23 Nov, 2010 1 commit
    • Dan Nicolaescu's avatar
      Mark debugger related variables and functions as EXTERNALLY_VISIBLE · 42c8bc9b
      Dan Nicolaescu authored
      so that they do not get optimized away.
      
      * configure.in (EXTERNALLY_VISIBLE): New definition.
      
      * src/emacs.c (gdb_use_union, gdb_valbits,gdb_gctypebits)
      (gdb_data_seg_bits, gdb_array_mark_flag, PVEC_FLAG)
      (gdb_pvec_type):
      * src/print.c (print_output_debug_flag):
      * src/lisp.h (debug_print): Mark as EXTERNALLY_VISIBLE.
      (safe_debug_print): New declaration.
      42c8bc9b
  9. 21 Nov, 2010 1 commit
    • Dan Nicolaescu's avatar
      Remove emacs-priority. · bee3419f
      Dan Nicolaescu authored
      * src/sysdep.c (sys_subshell): Remove SET_EMACS_PRIORITY.
      * src/emacs.c (emacs_priority, syms_of_emacs): Remove emacs_priority.
      bee3419f
  10. 15 Nov, 2010 1 commit
    • Dan Nicolaescu's avatar
      Clean up src/systty.h macros. · 12e610e8
      Dan Nicolaescu authored
      * 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.
      * src/sysdep.c (discard_tty_input, child_setup_tty)
      (init_sys_modes, tabs_safe_p, reset_sys_modes):
      * src/emacs.c (shut_down_emacs):
      * src/callproc.c (child_setup):
      * src/term.c (dissociate_if_controlling_tty): Inline removed macros.
      12e610e8
  11. 10 Nov, 2010 1 commit
  12. 29 Oct, 2010 1 commit
  13. 24 Oct, 2010 1 commit
  14. 13 Oct, 2010 1 commit
    • Juanma Barranquero's avatar
      Rename `image-library-alist' to `dynamic-library-alist'. · 2e288d54
      Juanma Barranquero authored
      * etc/NEWS: Mention `dynamic-library-alist'.
      
      * lisp/image.el (image-library-alist): Declare as obsolete alias.
        (image-type-available-p): Use `dynamic-library-alist'.
      
      * lisp/term/w32-win.el (dynamic-library-alist):
        Use instead of `image-library-alist'.
      
      * nt/INSTALL: Refer to `dynamic-library-alist'.
      
      * src/image.c (Vimage_library_alist)
        (syms_of_image) <image-library-alist>: Move to src/emacs.c and rename.
        (lookup_image_type): Use Vdynamic_library_alist.
        (Finit_image_library): Doc fix.
      
      * src/emacs.c (Vdynamic_library_alist)
        (syms_of_emacs) <dynamic-library-alist>: Move from src/image.c and rename.
        Doc fix.
      
      * src/lisp.h (Vdynamic_library_alist): Declare extern.
      2e288d54
  15. 03 Oct, 2010 1 commit
    • Dan Nicolaescu's avatar
      Remove unused arguments for unexec. · dd5ecd6b
      Dan Nicolaescu authored
      The third one is never used, and the last two are always passed as zero.
      * src/emacs.c (unexec): Add declaration.
      (Fdump_emacs): Only pass the first two arguments to unexec.
      Simplify #ifdef.
      * src/unexw32.c (unexec):
      * src/unexsol.c (unexec):
      * src/unexhp9k800.c (unexec):
      * src/unexcw.c (unexec): Remove the last 3 arguments, unused.
      * src/unexelf.c (unexec): Remove the last 3 arguments, unused.
      (find_section): Use const.
      * src/unexmacosx.c (unexec): Remove the last 3 arguments, unused.
      (unexec_error): Declare it NO_RETURN.
      * src/unexcoff.c (make_hdr): Assume bss_start is always zero, remove
      it as an argument, remove data_start and entry_address arguments, unused.
      (unexec): Remove bss_start, data_start and
      entry_address arguments.
      * src/unexaix.c (make_hdr): Assume bss_start is always zero, remove
      it as an argument, remove data_start and entry_address arguments, unused.
      (unexec): Remove bss_start, data_start and
      entry_address arguments.
      dd5ecd6b
  16. 02 Oct, 2010 2 commits
  17. 26 Sep, 2010 1 commit
    • Ted Zlatanov's avatar
      Set up GnuTLS support. · 8af55556
      Ted Zlatanov authored
      * configure.in: Set up GnuTLS.
      
      * lisp/net/gnutls.el: GnuTLS glue code to set up a connection.
      
      * src/Makefile.in (LIBGNUTLS_LIBS, LIBGNUTLS_CFLAGS, ALL_CFLAGS)
      (obj, LIBES): Set up GnuTLS support.
      
      * src/config.in: Set up GnuTLS support.
      
      * src/emacs.c: Set up GnuTLS support and call syms_of_gnutls.
      
      * src/gnutls.c: The source code for GnuTLS support in Emacs.
      
      * src/gnutls.h: The GnuTLS glue for Emacs, macros and enums.
      
      * src/process.c (make_process, Fstart_process)
      (read_process_output, send_process): Set up GnuTLS support for
      process input/output file descriptors.
      
      * src/process.h: Set up GnuTLS support.
      8af55556
  18. 21 Sep, 2010 1 commit
  19. 10 Sep, 2010 1 commit
  20. 22 Aug, 2010 2 commits
    • Chong Yidong's avatar
      Make obsolete --unibyte argument do nothing (Bug#6886). · 198a7a97
      Chong Yidong authored
      * src/emacs.c (main): Remove --unibyte handling (Bug#6886).
      
      * lisp/startup.el (command-line-1): Issue warning for ignored arguments
      --unibyte, etc (Bug#6886).
      
      * doc/lispref/nonascii.texi (Text Representations):
      * doc/lispref/loading.texi (Loading Non-ASCII):
      * doc/lispref/compile.texi (Byte Compilation): Don't mention obsolete
      --unibyte command-line argument.
      198a7a97
    • Dan Nicolaescu's avatar
      Simplify termio code. · a7ebc409
      Dan Nicolaescu authored
      All non-MSDOS non-WINDOWSNT platforms define HAVE_TERMIOS, so
      HAVE_TERMIO code is obsolete.
      Replace HAVE_TERMIOS conditionals with !DOS_NT.
      * src/systty.h: Do not define HAVE_TCATTR.
      Remove HAVE_TERMIO, HAVE_LTCHARS and HAVE_TCHARS code.
      Do not define EMACS_HAVE_TTY_PGRP.  Only define
      EMACS_GET_TTY_PGRP for !DOS_NT.
      * src/sysdep.c: Include sysselect.h unconditionally.  Do not include
      sys/ioctl.h and termios.h, systty.h does it.  Use
      HAVE_SYS_UTSNAME_H instead of USG as an include guard.
      (init_baud_rate): Remove HAVE_TERMIO code.
      (child_setup_tty): Remove HAVE_TERMIO code.
      (emacs_get_tty, emacs_set_tty): Remove HAVE_TERMIO, HAVE_TCHARS
      and HAVE_LTCHARS code.  Use !DOS_NT instead of HAVE_TCATTR.
      (new_ltchars, new_tchars): Remove, unused.
      (init_sys_modes): Remove HAVE_TERMIO, HAVE_TCHARS and HAVE_LTCHARS
      code.  Remove special casing for __mips__, it was a no-op.  Remove
      HAVE_TCATTR conditional, it is implied by HAVE_TERMIOS.
      (init_sys_modes): Remove HPUX special case.
      * src/process.c: Include stdlib.h unconditionally.  Do not include
      fcntl.h, systty.h does it.  Remove conditional code for
      HAVE_SERIAL, it is always true.
      (process_send_signal): Remove HAVE_TERMIOS conditional, it's
      always true when SIGNALS_VIA_CHARACTERS is true.
      (Fcontinue_process, Fprocess_send_eof): Simplify conditionals:
      !WINDOWSNT means HAVE_TERMIOS.
      (create_process): Remove HAVE_TERMIOS, it's inside a HAVE_PTYS
      conditional, which is true for all HAVE_TERMIOS systems.
      * src/keyboard.c (init_keyboard): Do not use HAVE_TERMIO, use !DOS_NT
      instead of HAVE_TERMIOS.
      * src/emacs.c (shut_down_emacs): Use !defined DOS_NT instead of
      EMACS_HAVE_TTY_PGRP.
      * src/callproc.c (child_setup): Move EMACS_SET_TTY_PGRP use to the
      non-MSDOS, non-WINDOWSNT code, it's only defined for such systems
      anyway.
      a7ebc409
  21. 20 Aug, 2010 1 commit
  22. 11 Aug, 2010 1 commit
    • Jan D's avatar
      Fix -Wwrite_strings in general and for Gtk+ specific code. · 42ca4633
      Jan D authored
      * callproc.c (synch_process_death): Make const.
      (Fcall_process): Make signame const.
      
      * emacs.c (main): Pass char[] to putenv instead of literal.
      
      * floatfns.c (matherr): Use a const char* variable for x->name.
      
      * font.c (font_open_by_name): Make name const.
      
      * font.h (font_open_by_name): Make name const.
      
      * gtkutil.c (get_utf8_string): Always return an allocated string.
      Parameter is const.
      (create_dialog, xg_create_one_menuitem, create_menus)
      (xg_item_label_same_p, xg_update_menu_item): Free result from
      get_utf8_string.
      (xg_separator_p, xg_item_label_same_p): label is const.
      
      * gtkutil.h: Replace widget_value with struct _widget_value.
      (enum button_type, struct _widget_value): Remove and use the one from
      keyboard.h.
      
      * keyboard.h (_widget_value): Add defined USE_GTK.  Replace Boolean
      with unsigned char and XtPointer with void *.
      
      * menu.c (Fx_popup_menu): error_name is const.
      
      * menu.h (w32_menu_show, ns_menu_show, xmenu_show): error parameter
      is const char **.
      
      * w32menu.c (w32_menu_show):
      * nsmenu.m (ns_menu_show): error parameter is const char **.
      
      * process.h (synch_process_death): Is const char*.
      
      * xmenu.c (Fx_popup_dialog): error_name is const char*.
      (xmenu_show): error parameter is const char **. pane_string is const
      char *.
      (button_names): Is const char *.
      (xdialog_show): error_name and pane_string is const.
      
      * xrdb.c (get_system_app): Make path const and use char *p for non-const
      char.
      
      * xselect.c (Fx_get_atom_name): Use char empty[] instead of literal "".
      
      * xsmfns.c (NOSPLASH_OPT): Change to char[].
      (smc_save_yourself_CB): Do xstrdup on all ->type and ->name for
      props.  Free them at the end.
      
      * xterm.c (emacs_class): New char[] for EMACS_CLASS.
      (xim_open_dpy, xim_initialize, xim_close_dpy): Use emacs_class.
      (x_term_init): Use char[] display_opt and name_opt instead of
      string literal. file is const char*.
      42ca4633
  23. 08 Aug, 2010 1 commit
    • Dan Nicolaescu's avatar
      Use const char* instead of char*. · 675e2c69
      Dan Nicolaescu authored
      * src/xterm.c (x_create_toolkit_scroll_bar):
      * src/xfont.c (xfont_list_pattern):
      * src/xfns.c (x_default_scroll_bar_color_parameter)
      (xic_create_fontsetname, x_default_font_parameter)
      (x_screen_planes):
      * src/xdisp.c (c_string_pos, number_of_chars, reseat_to_string)
      (store_mode_line_string, decode_mode_spec, display_string):
      * src/menu.c (digest_single_submenu):
      * src/keymap.h (initial_define_key, initial_define_lispy_key):
      * src/keymap.c (initial_define_key, initial_define_lispy_key):
      * src/image.c (image_error, image_keyword):
      * src/gtkutil.h (xg_create_widget, xg_create_scroll_bar):
      * src/gtkutil.c (xg_create_widget, xg_create_scroll_bar):
      * src/ftfont.c (struct fc_charset_table, ftfont_spec_pattern)
      (ftfont_list, ftfont_match):
      * src/frame.c (frame_parm_table):
      * src/font.h (font_intern_prop, font_parse_xlfd, font_parse_fcname)
      (font_unparse_fcname, font_unparse_fcname, font_open_by_name)
      (font_add_log, font_deferred_log):
      * src/font.c (font_intern_prop, font_parse_xlfd, font_parse_fcname)
      (font_unparse_fcname, font_unparse_fcname, font_open_by_name)
      (font_add_log, font_deferred_log):
      * src/emacs.c (argmatch):
      * src/dispextern.h (struct it):
      * src/coding.c (ENCODE_DESIGNATION):
      * src/charset.c (define_charset_internal): Use const.
      675e2c69
  24. 06 Aug, 2010 2 commits
    • Dan Nicolaescu's avatar
      emacs.c cleanups. · 0e843971
      Dan Nicolaescu authored
      * src/emacs.c (emacs_copyright, emacs_version): Make static.
      (Vinitial_window_system, Vauto_save_list_file_name)
      (Vinhibit_redisplay): Remove declarations.
      (main): Remove HAVE_SHM code, unused.  Remove _I386 conditional
      for AIX.
      0e843971
    • Jan D's avatar
      Fix missing prototypes for HAVE_NS (caused crash) and vrious warnings. · 3d608a86
      Jan D authored
      * configure.in: Check for util.h.
      
      * src/bidi.c (bidi_dump_cached_states): Fix fprintf warning.
      
      * src/emacs.c: Include src/nsterm.h if HAVE_NS.
      
      * src/image.c (xpm_scan, xpm_make_color_table_v)
      (xpm_put_color_table_v, xpm_get_color_table_v)
      (xpm_make_color_table_h, xpm_put_color_table_h)
      (xpm_get_color_table_h, xpm_str_to_color_key, xpm_load_image)
      (xpm_load): Convert to ANSI C prototypes.
      
      * src/lisp.h (fmod_float): Declare.
      
      * src/menu.h (x_set_menu_bar_line): Declare.
      (free_menubar_widget_value_tree et.al): Add HAVE_NS for these functions.
      
      * src/window.c: Include menu.h.
      
      * src/nsfns.m (have_menus_p, ns_display_info_for_name)
      (x_set_cursor_type, ns_appkit_version_str)
      (ns_appkit_version_int, ns_do_applescript)
      (x_set_scroll_bar_default_width, x_sync, compute_tip_xy)
      (syms_of_nsfns): Convert to ANSI C prototypes.
      
      * src/nsfont.m (ns_fallback_entity, syms_of_nsfont): Convert to ANSI C
      prototypes.
      
      * src/nsimage.m (ns_load_image): Move NSTRACE after declarations.
      
      * src/nsmenu.m (popup_activated, name_is_separator)
      (syms_of_nsmenu): Convert to ANSI C prototypes.
      (runMenuAt): Prototypes and move declarations before code.
      
      * src/nsterm.h : Include sysselect.h.
      (x_sync, x_get_focus_frame, x_set_mouse_position)
      (x_set_mouse_pixel_position, x_make_frame_visible)
      (x_make_frame_invisible, x_iconify_frame, x_char_width, x_char_height)
      (x_pixel_width, x_pixel_height, x_set_frame_alpha, x_set_tool_bar_lines)
      (x_activate_menubar, free_frame_menubar, ns_init_paths, ns_select)
      (syms_of_nsterm, syms_of_nsfns, syms_of_nsmenu, syms_of_nsselect):
      Declare
      
      * src/process.c: Check HAVE_UTIL_H. Include src/nsterm.h if HAVE_NS.
      
      * src/nsterm.m (ns_init_paths, ns_alloc_autorelease_pool)
      (ns_ring_bell, ns_defined_color, hide_hourglass)
      (x_display_pixel_height, x_display_pixel_width, syms_of_nsterm):
      Convert to ANSI C prototypes.
      (x_set_window_size, ns_draw_fringe_bitmap, judge): Move declarations
      before code.
      
      * src/sysdep.c: Check HAVE_TERM_H
      
      * src/term.c: Check HAVE_SYS_IOCTL_H.
      
      * src/unexmacosx.c (print_region_list, print_regions)
      (build_region_list, find_emacs_zone_regions)
      (unexec_regions_merge, read_load_commands, dump_it)
      (unexec_init_emacs_zone): Convert to ANSI C prototypes.
      
      * src/xfaces.c (x_create_gc, x_free_gc): Convert to ANSI C prototypes.
      3d608a86
  25. 27 Jul, 2010 2 commits
    • Dan Nicolaescu's avatar
      60799703
    • Dan Nicolaescu's avatar
      Use const, move declarations to header files. · eec47d6b
      Dan Nicolaescu authored
      * src/buffer.c (Fset_buffer_multibyte): Remove local extern declaration.
      
      * src/character.c (strwidth, parse_str_to_multibyte): Add const.
      
      * src/character.h (strwidth, parse_str_to_multibyte): Likewise.
      
      * src/charset.c (add_to_log): Remove declaration.
      
      * src/composite.c (syms_of_composite): Remove local extern declarations.
      
      * src/data.c (Finteractive_form): Use const.
      
      * src/dired.c (scmp): Add const.
      (directory_files_internal): Remove local extern declaration.
      
      * src/dispextern.h (add_to_log): Remove declaration.
      (x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg)
      (x_frame_get_and_record_arg, x_default_parameter): Add const.
      
      * src/dispnew.c: Remove duplicate #include <unistd.h>.
      (update_window, update_frame_1, init_display): Remove local extern
      declarations.
      
      * src/editfns.c (region_limit, syms_of_editfns): Remove local extern
      declarations.
      
      * src/emacs.c (main): Remove local extern declaration.
      
      * src/font.c (Qnormal, QCtype, QCfamily, QCweight, QCslant, QCwidth)
      (QCheight, QCsize, QCname): Remove declarations.
      
      * src/frame.c (x_get_resource_string, x_get_string_resource)
      (x_get_arg, x_frame_get_arg, x_frame_get_and_record_arg)
      (x_default_parameter): Use const.
      
      * src/image.c (QCwidth, QCheight, QCforeground, QCbackground, QCfile)
      (QCdata, QCtype, Qcenter): Remove declarations.
      
      * src/keyboard.h (do_mouse_tracking): Add declaration.
      
      * src/minibuf.c (Qmouse_face): Remove declaration.
      
      * src/msdos.c (IT_note_mouse_highlight): Remove local extern declaration.
      
      * src/xdisp.c (do_mouse_tracking): Remove declaration.
      (add_to_log): Use const.
      
      * src/xfaces.c (Qmouse_face): Remove declaration.
      (face_color_gray_p, tty_defined_color, defined_color)
      (face_color_gray_p, face_color_supported_p). Add const.
      
      * src/xfns.c: Include xlwmenu.h when USE_LUCID.
      (x_defined_color, xic_set_xfontset): Use const.
      (Fx_hide_tip): Remove local extern declaration.
      
      * src/xselect.c (selection_data_to_lisp_data)
      (x_property_data_to_lisp):
      * src/xrdb.c (x_get_string_resource, file_p)
      (x_get_customization_string, magic_file_p, search_magic_path)
      (get_system_app, get_user_app, x_load_resources, x_get_resource)
      (x_get_string_resource): Use const.
      
      * src/xterm.c (xlwmenu_window_p, xlwmenu_redisplay): Remove declarations.
      (x_text_icon, x_check_errors, x_connection_closed): Use const.
      
      * src/xterm.h (x_get_customization_string, x_load_resources)
      (x_get_resource, x_text_icon, x_text_icon, x_check_errors)
      (x_check_errors, x_property_data_to_lisp, defined_color)
      (xic_set_xfontset, x_defined_color): Use const.
      eec47d6b
  26. 25 Jul, 2010 1 commit
  27. 13 Jul, 2010 1 commit
    • Eli Zaretskii's avatar
      Remove more "#ifdef subprocesses". · 77defa9a
      Eli Zaretskii authored
       process.c <inhibit_sentinels>: Move to the common part.
       (Fwaiting_for_user_input_p): Move to the common part; return nil
       if async subprocesses aren't supported.
       sysdep.c (wait_for_termination) [!MSDOS]: Don't compile on
       MS-DOS.  Remove "#ifdef subprocesses".
       (sys_subshell, sys_select): Remove "#ifdef subprocesses".
       (gettimeofday): Remove "#ifdef subprocesses".
       (wait_without_blocking): Remove function.
       (flush_pending_output, child_setup_tty): Don't compile on MS-DOS.
       Remove "#ifdef subprocesses".
       (child_setup_tty): Use WINDOWSNT instead of DOS_NT, since not
       compiled on MS-DOS.
       callproc.c (Fcall_process) [!MSDOS]: Don't call
       wait_for_termination on MS-DOS.
       emacs.c (shut_down_emacs): Remove "#ifndef subprocesses" from
       initialization of inhibit_sentinels.
       keyboard.c (record_asynch_buffer_change): Remove "#ifdef
       subprocesses" conditional.
       callproc.c (Fcall_process) [!subprocesses]: Don't call
       wait_for_termination, since `buffer' cannot be an integer when
       async subprocesses are not supported
       xdisp.c (decode_mode_spec): Use `MSDOS' instead of `subprocesses'
       for ifdefing away the call to Fprocess_status.
      77defa9a
  28. 12 Jul, 2010 2 commits
    • Andreas Schwab's avatar
      Convert old-style definitions · d5a3eaaf
      Andreas Schwab authored
      * editfns.c (transpose_markers): Convert old-style definition.
      * emacs.c (abort, shut_down_emacs, fixup_locale)
      (synchronize_system_time_locale)
      (synchronize_system_messages_locale, syms_of_emacs): Likewise.
      * floatfns.c (extract_float, matherr, init_floatfns)
      (syms_of_floatfns): Likewise.
      * fns.c (make_hash_table): Likewise.
      * ftfont.c (ftfont_get_otf, ftfont_otf_features)
      (ftfont_otf_capability, ftfont_get_glyph_id, ftfont_get_metrics)
      (ftfont_drive_otf, ftfont_shape_by_flt, ftfont_shape)
      (ftfont_variation_glyphs): Likewise.
      * gtkutil.c (xg_create_widget, xg_modify_menubar_widgets): Likewise.
      * keymap.c (describe_map_tree, describe_map, describe_vector): Likewise.
      * lread.c (read_filtered_event): Likewise.
      * minibuf.c (read_minibuf_noninteractive, read_minibuf): Likewise.
      * process.c (wait_reading_process_output): Likewise.
      * scroll.c (do_line_insertion_deletion_costs): Likewise.
      * search.c (search_buffer, boyer_moore): Likewise.
      * syntax.c (scan_sexps_forward): Likewise.
      * xdisp.c (try_scrolling): Likewise.
      * xfaces.c (face_at_buffer_position, face_for_overlay_string)
      (face_at_string_position): Likewise.
      * xfns.c (x_default_scroll_bar_color_parameter): Likewise.
      * xselect.c (x_get_window_property, receive_incremental_selection)
      (x_get_window_property_as_lisp_data, lisp_data_to_selection_data):
      Likewise.
      * xterm.c (x_draw_relief_rect, x_draw_box_rect): Likewise.
      d5a3eaaf
    • Dan Nicolaescu's avatar
      Convert function definitions to standard C and some cleanups. · 2e31d424
      Dan Nicolaescu authored
      * src/emacs.c (__do_global_ctors, __do_global_ctors_aux)
      (__do_global_dtors, __main): Use void in definition.
      (main): Remove code dealing with SET_EMACS_PRIORITY, unused.
      Remove SYMS_MACHINE code, unused.  Remove SYMS_SYSTEM, inline
      the only users from ...
      * src/s/ms-w32.h (SYMS_SYSTEM): ... here and ...
      * src/s/msdos.h (SYMS_SYSTEM): ... here.  Remove.
      (HAVE_VOLATILE): Remove, unused.
      2e31d424
  29. 11 Jul, 2010 2 commits
    • Andreas Schwab's avatar
      Use strchr, strrchr instead of index, rindex · 8966b757
      Andreas Schwab authored
      * callint.c (Fcall_interactively): Use strchr, strrchr instead of
      index, rindex.
      * doc.c (get_doc_string, Fsnarf_documentation): Likewise.
      * editfns.c (Fuser_full_name, Fformat): Likewise.
      * emacs.c (argmatch, sort_args, decode_env_path): Likewise.
      * fileio.c (Ffile_symlink_p): Likewise.
      * filelock.c (current_lock_owner): Likewise.
      * font.c (font_parse_name, font_parse_family_registry): Likewise.
      * fontset.c (fontset_pattern_regexp): Likewise.
      * lread.c (read1): Likewise.
      * sysdep.c (init_system_name): Likewise.
      * xfns.c (select_visual): Likewise.
      * s/hpux10-20.h (index, rindex): Don't define.
      * s/ms-w32.h (index): Likewise.
      * s/usg5-4.h: Likewise.
      
      * sed2v2.inp (HAVE_INDEX, HAVE_RINDEX): Don't edit.
      (HAVE_STRCHR, HAVE_STRRCHR): Edit to 1.
      
      * emacsclient.c (set_local_socket): Use strchr, strrchr instead of
      index, rindex.
      * movemail.c (mail_spool_name, popmail): Likewise.
      * pop.c (pop_list): Likewise.
      
      * CPP-DEFINES (HAVE_INDEX, HAVE_RINDEX): Remove.
      
      * configure.in: Don't check for index and rindex, check for strchr
      and strrchr.  Define strchr and strrchr as index and rindex,
      resp., in src/config.h if not available.
      8966b757
    • Andreas Schwab's avatar
      Constify functions taking char * · a8fe7202
      Andreas Schwab authored
      * alloc.c (pending_malloc_warning, malloc_warning): Add const.
      * callproc.c (relocate_fd, getenv_internal_1, getenv_internal)
      (egetenv): Likewise.
      * doprnt.c (doprnt): Likewise.
      * editfns.c (set_time_zone_rule, format2): Likewise.
      * emacs.c (decode_env_path): Likewise.
      * eval.c (signal_error, error): Likewise.
      * insdel.c (replace_range_2): Likewise.
      * keyboard.c (cmd_error_internal): Likewise.
      * lread.c (isfloat_string, make_symbol, dir_warning): Likewise.
      * print.c (write_string, write_string_1, print_error_message):
      Likewise.
      * vm-limit.c (warn_function, memory_warnings): Likewise.
      * xdisp.c (message1, message1_nolog, message_with_string)
      (vmessage, message, message_nolog): Likewise.
      * emacs.c: Remove duplicate declaration.
      * keyboard.h: Likewise.
      * lisp.h: Update prototypes.
      a8fe7202
  30. 08 Jul, 2010 1 commit
    • Dan Nicolaescu's avatar
      Convert DEFUNs to standard C. · 5842a27b
      Dan Nicolaescu authored
      * src/alloc.c: Convert DEFUNs to standard C.
      * src/buffer.c:
      * src/bytecode.c:
      * src/callint.c:
      * src/callproc.c:
      * src/casefiddle.c:
      * src/casetab.c:
      * src/category.c:
      * src/character.c:
      * src/charset.c:
      * src/chartab.c:
      * src/cmds.c:
      * src/coding.c:
      * src/composite.c:
      * src/data.c:
      * src/dbusbind.c:
      * src/dired.c:
      * src/dispnew.c:
      * src/doc.c:
      * src/dosfns.c:
      * src/editfns.c:
      * src/emacs.c:
      * src/eval.c:
      * src/fileio.c:
      * src/filelock.c:
      * src/floatfns.c:
      * src/fns.c:
      * src/font.c:
      * src/fontset.c:
      * src/frame.c:
      * src/fringe.c:
      * src/image.c:
      * src/indent.c:
      * src/insdel.c:
      * src/keyboard.c:
      * src/keymap.c:
      * src/lread.c:
      * src/macros.c:
      * src/marker.c:
      * src/menu.c:
      * src/minibuf.c:
      * src/msdos.c:
      * src/nsfns.m:
      * src/nsmenu.m:
      * src/nsselect.m:
      * src/print.c:
      * src/process.c:
      * src/search.c:
      * src/sound.c:
      * src/syntax.c:
      * src/term.c:
      * src/terminal.c:
      * src/textprop.c:
      * src/undo.c:
      * src/w16select.c:
      * src/w32console.c:
      * src/w32fns.c:
      * src/w32font.c:
      * src/w32menu.c:
      * src/w32proc.c:
      * src/w32select.c:
      * src/window.c:
      * src/xdisp.c:
      * src/xfaces.c:
      * src/xfns.c:
      * src/xmenu.c:
      * src/xselect.c:
      * src/xsettings.c:
      * src/xsmfns.c: Likewise.
      5842a27b
  31. 07 Jul, 2010 1 commit
    • Andreas Schwab's avatar
      Replace bcopy, bzero, bcmp by memcpy, memmove, memset, memcmp · 72af86bd
      Andreas Schwab authored
      * alloc.c (overrun_check_malloc, overrun_check_realloc)
      (overrun_check_free, xstrdup, allocate_string)
      (allocate_string_data, compact_small_strings, Fmake_string)
      (make_unibyte_string, make_multibyte_string)
      (make_string_from_bytes, make_specified_string, make_float)
      (Fcons, allocate_terminal, allocate_frame, make_pure_string)
      (Fgarbage_collect): Replace bcopy, safe_bcopy, bzero, bcmp by
      memcpy, memmove, memset, memcmp.
      * atimer.c (start_atimer, set_alarm): Likewise.
      * buffer.c (clone_per_buffer_values, report_overlay_modification)
      (mmap_realloc, init_buffer_once): Likewise.
      * callint.c (Fcall_interactively): Likewise.
      * callproc.c (Fcall_process, Fcall_process_region, child_setup)
      (getenv_internal_1): Likewise.
      * casefiddle.c (casify_object): Likewise.
      * ccl.c (ccl_driver): Likewise.
      * character.c (str_as_multibyte, str_to_multibyte): Likewise.
      * charset.c (load_charset_map_from_file)
      (load_charset_map_from_file, load_charset_map_from_vector)
      (Fdefine_charset_internal): Likewise.
      * cm.c (Wcm_clear): Likewise.
      * coding.c (decode_eol, decode_coding_object)
      (Fset_coding_system_priority, make_subsidiaries): Likewise.
      * data.c (Faset): Likewise.
      * dired.c (directory_files_internal, file_name_completion_stat):
      Likewise.
      * dispnew.c (new_glyph_matrix, adjust_glyph_matrix)
      (clear_glyph_row, copy_row_except_pointers)
      (copy_glyph_row_contents, new_glyph_pool, realloc_glyph_pool)
      (save_current_matrix, restore_current_matrix)
      (build_frame_matrix_from_leaf_window, mirrored_line_dance)
      (mirror_line_dance, scrolling_window): Likewise.
      * doc.c (Fsnarf_documentation, Fsubstitute_command_keys):
      Likewise.
      * doprnt.c (doprnt): Likewise.
      * editfns.c (Fuser_full_name, make_buffer_string_both)
      (Fmessage_box, Fformat, Ftranspose_regions): Likewise.
      * emacs.c (sort_args): Likewise.
      * eval.c (Fapply, Ffuncall): Likewise.
      * fileio.c (Ffile_name_directory, make_temp_name)
      (Fexpand_file_name, search_embedded_absfilename)
      (Fsubstitute_in_file_name, Ffile_symlink_p, Finsert_file_contents)
      (auto_save_error): Likewise.
      * fns.c (Fstring_equal, Fcopy_sequence, concat)
      (string_to_multibyte, Fstring_as_unibyte, Fstring_as_multibyte)
      (internal_equal, Fclear_string, larger_vector, copy_hash_table)
      (Fmake_hash_table): Likewise.
      * fringe.c (Fdefine_fringe_bitmap): Likewise.
      * ftfont.c (ftfont_text_extents): Likewise.
      * getloadavg.c (getloadavg): Likewise.
      * image.c (define_image_type, make_image, make_image_cache)
      (x_create_x_image_and_pixmap, xbm_image_p)
      (w32_create_pixmap_from_bitmap_data, xbm_load, xpm_lookup_color)
      (xpm_image_p, x_create_bitmap_from_xpm_data, xpm_load)
      (init_color_table, x_build_heuristic_mask, pbm_image_p, pbm_load)
      (png_image_p, png_read_from_memory, png_load, jpeg_image_p)
      (tiff_image_p, tiff_read_from_memory, gif_image_p)
      (gif_read_from_memory, gif_load, svg_image_p, gs_image_p):
      Likewise.
      * indent.c (scan_for_column, compute_motion): Likewise.
      * insdel.c (gap_left, gap_right, make_gap_smaller, copy_text)
      (insert_1_both, insert_from_gap, replace_range_2): Likewise.
      * intervals.c (reproduce_tree, reproduce_tree_obj): Likewise.
      * keyboard.c (echo_char, save_getcjmp, restore_getcjmp)
      (kbd_buffer_store_event_hold, apply_modifiers_uncached)
      (store_user_signal_events, menu_bar_items, tool_bar_items)
      (process_tool_bar_item, append_tool_bar_item)
      (read_char_minibuf_menu_prompt, read_key_sequence)
      (Fread_key_sequence, Fread_key_sequence_vector, Frecent_keys):
      Likewise.
      * keymap.c (current_minor_maps, Fdescribe_buffer_bindings):
      Likewise.
      * lisp.h (STRING_COPYIN): Likewise.
      * lread.c (Fload, read1, oblookup): Likewise.
      * msdos.c (Frecent_doskeys): Likewise.
      * nsfns.m (Fx_create_frame): Likewise.
      * nsfont.m (nsfont_open, nsfont_text_extents, ns_glyph_metrics):
      Likewise.
      * nsimage.m (EmacsImage-initFromSkipXBM:width:height:)
      (EmacsImage-initForXPMWithDepth:width:height:flip:length:):
      Likewise.
      * nsmenu.m (ns_update_menubar): Likewise.
      * nsterm.m (ns_draw_fringe_bitmap, ns_term_init): Likewise.
      * print.c (print_unwind, printchar, strout, print_string)
      (print_error_message): Likewise.
      * process.c (conv_lisp_to_sockaddr, set_socket_option)
      (Fmake_network_process, Fnetwork_interface_list)
      (Fnetwork_interface_info, read_process_output, Fprocess_send_eof)
      (init_process): Likewise.
      * ralloc.c (resize_bloc, r_alloc_sbrk, r_alloc_init): Likewise.
      * regex.c (init_syntax_once, regex_compile, re_compile_fastmap):
      Likewise.
      * scroll.c (do_scrolling, do_direct_scrolling)
      (scrolling_max_lines_saved): Likewise.
      * search.c (search_buffer, wordify, Freplace_match): Likewise.
      * sound.c (wav_init, au_init, Fplay_sound_internal): Likewise.
      * syntax.c (skip_chars, skip_syntaxes): Likewise.
      * sysdep.c (child_setup_tty, sys_subshell, emacs_get_tty)
      (emacs_set_tty): Likewise.
      * term.c (encode_terminal_code, calculate_costs)
      (produce_special_glyphs, create_tty_output, init_tty, delete_tty):
      Likewise.
      * termcap.c (tgetst1, gobble_line): Likewise.
      * termhooks.h (EVENT_INIT): Likewise.
      * tparam.c (tparam1): Likewise.
      * unexalpha.c (unexec): Likewise.
      * unexec.c (write_segment): Likewise.
      * unexmacosx.c (unexec_write_zero): Likewise.
      * w32fns.c (w32_wnd_proc, Fx_create_frame, x_create_tip_frame)
      (Fx_file_dialog, Fsystem_move_file_to_trash): Likewise.
      * w32font.c (w32font_list_family, w32font_text_extents)
      (w32font_list_internal, w32font_match_internal)
      (w32font_open_internal, compute_metrics, Fx_select_font):
      Likewise.
      * w32menu.c (set_frame_menubar, add_menu_item)
      (w32_menu_display_help, w32_free_submenu_strings): Likewise.
      * w32term.c (XCreateGC, w32_initialize_display_info): Likewise.
      * w32uniscribe.c (uniscribe_list_family): Likewise.
      * w32xfns.c (get_next_msg, post_msg, prepend_msg): Likewise.
      * window.c (make_window, replace_window, set_window_buffer)
      (Fsplit_window): Likewise.
      * xdisp.c (init_iterator, RECORD_OVERLAY_STRING, reseat_to_string)
      (add_to_log, message3, x_consider_frame_title)
      (append_space_for_newline, extend_face_to_end_of_line)
      (decode_mode_spec_coding, init_glyph_string): Likewise.
      * xfaces.c (x_create_gc, get_lface_attributes_no_remap)
      (Finternal_copy_lisp_face, Finternal_merge_in_global_face)
      (face_attr_equal_p, make_realized_face, make_face_cache)
      (free_realized_faces, lookup_named_face, smaller_face)
      (face_with_height, lookup_derived_face)
      (x_supports_face_attributes_p, Finternal_set_font_selection_order)
      (Finternal_set_font_selection_order, realize_default_face)
      (compute_char_face, face_at_buffer_position)
      (face_for_overlay_string, face_at_string_position, merge_faces):
      Likewise.
      * xfns.c (xic_create_fontsetname, Fx_create_frame)
      (Fx_window_property, x_create_tip_frame)
      (Fx_backspace_delete_keys_p): Likewise.
      * xfont.c (xfont_list, xfont_match, xfont_list_family)
      (xfont_text_extents): Likewise.
      * xmenu.c (set_frame_menubar, xmenu_show): Likewise.
      * xrdb.c (magic_file_p, x_get_resource): Likewise.
      * xselect.c (x_queue_event, x_get_window_property)
      (receive_incremental_selection): Likewise.
      * xsmfns.c (x_session_check_input): Likewise.
      * xterm.c (x_send_scroll_bar_event, SET_SAVED_MENU_EVENT)
      (handle_one_xevent, x_check_errors, xim_initialize, x_term_init):
      Likewise.
      * character.h (BCOPY_SHORT): Removed.
      * config.in: Regenerate.
      * dispnew.c (safe_bcopy): Only define as dummy if PROFILING.
      * emacs.c (main) [PROFILING]: Don't declare
      dump_opcode_frequencies.
      * lisp.h (safe_bcopy): Remove declaration.
      (memset) [!HAVE_MEMSET]: Declare.
      (memcpy) [!HAVE_MEMCPY]: Likewise.
      (memmove) [!HAVE_MEMMOVE]: Likewise.
      (memcmp) [!HAVE_MEMCMP]: Likewise.
      * s/ms-w32.h (bzero, bcopy, bcmp, GAP_USE_BCOPY)
      (BCOPY_UPWARD_SAFE, BCOPY_DOWNWARD_SAFE, HAVE_BCOPY, HAVE_BCMP):
      Don't define.
      (HAVE_MEMCMP, HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET): Define.
      * s/msdos.h (GAP_USE_BCOPY, BCOPY_UPWARD_SAFE)
      (BCOPY_DOWNWARD_SAFE): Don't define.
      * sysdep.c (memset) [!HAVE_MEMSET]: Define.
      (memcpy) [!HAVE_MEMCPY]: Define.
      (memmove) [!HAVE_MEMMOVE]: Define.
      (memcmp) [!HAVE_MEMCMP]: Define.
      
      * config.nt (HAVE_BCOPY, HAVE_BCMP): Remove undefs.
      (HAVE_MEMCPY, HAVE_MEMMOVE, HAVE_MEMSET, HAVE_MEMCMP): Add undefs.
      
      * sed2v2.inp (HAVE_MEMCPY, HAVE_MEMSET): Edit to 1.
      (HAVE_BZERO): Don't edit.
      
      * lwlib.c (lwlib_memset, lwlib_bcopy): Remove.
      (malloc_widget_value, free_widget_info, allocate_widget_instance)
      (lw_separator_p): Replace lwlib_memset, lwlib_bcopy, bzero, bcmp by
      memset, memcpy, memcmp.
      * lwlib-utils.c (XtApplyToWidgets): Likewise.
      * xlwmenu.c (XlwMenuInitialize): Likewise.
      * lwlib.h (lwlib_bcopy): Remove declaration.
      
      * ebrowse.c (add_sym, make_namespace): Replace bcopy, bzero by
      memcpy, memmove, memset.
      * pop.c (pop_retrieve, socket_connection, pop_getline): Likewise.
      
      * CPP-DEFINES (BCOPY_DOWNWARD_SAFE, BCOPY_UPWARD_SAFE)
      (GAP_USE_BCOPY, HAVE_BCMP, HAVE_BCOPY, bcmp, bcopy, bzero):
      Remove.
      
      * configure.in: Don't check for bcopy, bcmp, bzero.  Don't include
      <strings.h> and don't define bcopy, bzero, BCMP in config.h.
      72af86bd
  32. 05 Jul, 2010 1 commit
    • Dan Nicolaescu's avatar
      Convert declarations or definitions to standard C. · dd4c5104
      Dan Nicolaescu authored
      * src/xsmfns.c (smc_save_yourself_CB, smc_error_handler):
      * src/xrdb.c (get_system_name):
      * src/window.c (shrink_windows):
      * src/syntax.c (forw_comment):
      * src/scroll.c (calculate_scrolling, calculate_direct_scrolling)
      (ins_del_costs):
      * src/mem-limits.h (start_of_data):
      * src/lread.c (readevalloop):
      * src/gtkutil.c (xg_dialog_response_cb, xg_get_file_with_chooser)
      (xg_get_file_with_selection, xg_update_menubar, xg_update_submenu):
      * src/frame.c (x_get_focus_frame):
      * src/floatfns.c (fmod_float):
      * src/fileio.c (choose_write_coding_system):
      * src/emacs.c (fatal_error_signal, init_cmdargs, argmatch)
      (malloc_initialize_hook, sort_args, synchronize_locale):
      * src/doprnt.c (doprnt):
      * src/dired.c (compile_pattern):
      * src/data.c (fmod_float):
      * src/chartab.c (map_sub_char_table, map_sub_char_table_for_charset)
      (map_char_table_for_charset):
      * src/charset.c (define_charset_internal):
      * src/alloc.c (Fgarbage_collect): Convert declarations or definitions
      to standard C.
      dd4c5104
  33. 02 Jul, 2010 1 commit
    • Jan D's avatar
      Remove __P and P_ from .c and .m files and definition of P_ · f57e2426
      Jan D authored
      * lisp.h:
      * atimer.h: Remove define for P_.
      
      * alloc.c: Remove __P and P_ from .c and .m files.
      * atimer.c:
      * buffer.c:
      * callint.c:
      * category.c:
      * charset.c:
      * chartab.c:
      * cm.c:
      * coding.c:
      * composite.c:
      * data.c:
      * dired.c:
      * dispnew.c:
      * doc.c:
      * editfns.c:
      * emacs.c:
      * eval.c:
      * fileio.c:
      * filelock.c:
      * fns.c:
      * font.c:
      * fontset.c:
      * frame.c:
      * ftfont.c:
      * ftxfont.c:
      * gmalloc.c:
      * gtkutil.c:
      * image.c:
      * indent.c:
      * intervals.c:
      * keyboard.c:
      * keymap.c:
      * lread.c:
      * marker.c:
      * menu.c:
      * minibuf.c:
      * print.c:
      * process.c:
      * scroll.c:
      * search.c:
      * sound.c:
      * strftime.c:
      * syntax.c:
      * sysdep.c:
      * term.c:
      * terminal.c:
      * textprop.c:
      * unexalpha.c:
      * w32console.c:
      * w32fns.c:
      * w32font.c:
      * w32menu.c:
      * w32term.c:
      * w32uniscribe.c:
      * window.c:
      * xdisp.c:
      * xfaces.c:
      * xfns.c:
      * xfont.c:
      * xftfont.c:
      * xmenu.c:
      * xselect.c:
      * xterm.c: Likewise.
      
      * ebrowse.c: Remove P_ and __P.
      * etags.c:
      * movemail.c:
      * pop.c:
      * update-game-score.c: Likewise.
      f57e2426
  34. 04 Jun, 2010 1 commit
    • Juanma Barranquero's avatar
      Turn `directory-sep-char' into a noop. · 087fc47a
      Juanma Barranquero authored
      * lisp/subr.el (directory-sep-char): Move from fileio.c and make a defconst.
      
      * src/emacs.c (decode_env_path): Don't check DIRECTORY_SEP,
        call dostounix_filename directly.
      
      * src/fileio.c (CORRECT_DIR_SEPS): Remove.
        (Ffile_name_directory, directory_file_name, Fexpand_file_name)
        (Fsubstitute_in_file_name): Use dostounix_filename instead.
        (file_name_as_directory): Use dostounix_filename, DIRECTORY_SEP.
        (syms_of_fileio) <directory-sep-char>: Move to subr.el.
      
      * src/lisp.h [WINDOWSNT] (Vdirectory_sep_char): Don't declare.
        (DIRECTORY_SEP): Define unconditionally.
      
      * src/w32proc.c (CORRECT_DIR_SEPS): Remove.
        (Fw32_short_file_name, Fw32_long_file_name): Use dostounix_filename.
      
      * src/s/ms-w32.h (DIRECTORY_SEP): Remove.
      087fc47a