1. 26 Oct, 1994 8 commits
    • Richard M. Stallman's avatar
      (x_catch_errors, x_check_errors, x_had_errors_p) · 7a13e894
      Richard M. Stallman authored
      (x_uncatch_errors): Make the argument a display, not a frame.
      
      (XTread_socket_fake_io_error): New variable.
      (XTread_socket): Obey XTread_socket_fake_io_error.
      
      (x_initialize): Init x_noop_count, x_focus_frame
      and x_highlight_frame here.
      (x_term_init): Not here.
      
      (x_term_init): Open the connection first thing;
      if that fails, don't allocate dpyinfo.
      
      (x_delete_display): New function.
      (x_connection_closed): New args dpyinfo and error_message.
      Delete all frames on the dead display
      and all frames using them for minibuffers.
      Call x_delete_display.
      Maybe signal a Lisp error.
      
      (x_term_init): Don't report error here--just return 0.
      
      (x_scroll_bar_report_motion): Store proper value in
      *bar_window (the Emacs window, not the X window number).
      
      (x_scroll_bar_report_motion): Don't clear *fp.
      
      (x_wm_set_icon_pixmap): Use x_bitmap_pixmap.
      
      (show_mouse_face): New arg dpyinfo.  All callers changed.
      (clear_mouse_face): New arg dpyinfo.  All callers changed.
      
      (scratch_cursor_gc): Variable deleted.
      (dumpglyphs): Use scratch_cursor_gc in x_display_info.
      
      (syms_of_xterm): Don't staticpro mouse_face_window.
      
      (expose_all_windows, expose_all_icons): Variables deleted.
      (BLOCK_INPUT_mask): Variable deleted.
      
      (x_term_init): Set up x_id_name field.
      (x_id_name): Variable deleted.
      
      (x_font_table, x_font_table_size, x_n_fonts): Vars deleted.
      (x_new_font): Use new fields.
      (warp_mouse_on_deiconify): Unused variable deleted.
      
      (x_term_init): Set up dpyinfo->xrdb.
      Set up dpyinfo->vertical_scroll_bar_cursor.
      (x_scroll_bar_create): Use vertical_scroll_bar_cursor slot.
      (x_vertical_scroll_bar_cursor): Variable deleted.
      
      (x_term_init): Really return dpyinfo.
      
      (x_term_init): Call add_keyboard_wait_descriptor,
      not change_keyboard_wait_descriptor.
      
      (x_term_init): Pass new arg to init_sigio.
      Don't set old_fcntl_owner.
      Don't call change_input_fd.
      (XTread_socket): Loop over displays and process input from each.
      
      (x_display_name_list): New variable.
      (syms_of_xterm): staticpro it.
      Don't staticpro slots in the_x_screen.
      (x_term_init): Update x_display_name_list along with x_display_list.
      Actually malloc the x_display_info.
      (the_x_screen): Variable deleted.
      7a13e894
    • Richard M. Stallman's avatar
      (x_window): Pass new arg f to hack_wm_protocols. · c4ec904f
      Richard M. Stallman authored
      (x_set_mouse_color, x_real_positions): Change calls
      to x_catch_errors and friends.
      c4ec904f
    • Karl Heuer's avatar
      (syms_of_window): Fix missing \n\'s. · 99da5b4e
      Karl Heuer authored
      99da5b4e
    • Richard M. Stallman's avatar
      (x_own_selection, x_get_foreign_selection): Change calls · a7b24d46
      Richard M. Stallman authored
      to x_catch_errors and friends.
      a7b24d46
    • Richard M. Stallman's avatar
    • Richard M. Stallman's avatar
      Comment changes. · f34e2e18
      Richard M. Stallman authored
      f34e2e18
    • Karl Heuer's avatar
    • Karl Heuer's avatar
      (list_processes_1): Print tty name. · a9fde32e
      Karl Heuer authored
      a9fde32e
  2. 25 Oct, 1994 15 commits
    • Richard M. Stallman's avatar
      c3ef6b1d
    • Richard M. Stallman's avatar
      4bc7c5ab
    • Boris Goldowsky's avatar
      (enriched-mode): Add autoload cookie. · 60d15bc7
      Boris Goldowsky authored
      (enriched-decode-foreground, -background): Create
      faces even if no window system, to prevent multiple warnings.
      60d15bc7
    • Richard M. Stallman's avatar
      (Brk): Declare as unsigned long. · 866fc66a
      Richard M. Stallman authored
      (unexec): Do CHECH_SCNHDR on _RCONST if that's defined.
      Ignore rdata_section if there is none.
      (update_dynamic_symbols): New arg new_name.  Call changed.
      Fix some calls to WRITE.
      (fatal_unexec): Declare all arguments.
      866fc66a
    • Richard M. Stallman's avatar
      Delete X10 code. · e964ed22
      Richard M. Stallman authored
      (struct x_display_info): New fields bitmaps, bitmaps_size, bitmaps_last.
      (struct x_bitmap_record): Structure moved here.
      
      (struct font_info): New type.
      (struct x_display_info): New fields font_table, font_table_size and n_fonts.
      
      (struct x_display_info): New field scratch_cursor_gc.
      
      (mouse_face_*): New fields.
      
      (struct x_display_info): New field x_id_name.
      
      (struct x_display_info): Replace elements `name'
      and `face_list_cache' with one cons cell `name_list_element'.
      (x_display_name_list): Variable declared.
      e964ed22
    • Richard M. Stallman's avatar
      c6423dc1
    • Richard M. Stallman's avatar
      (Fx_create_frame): Don't increment refernce_count · 08a90d6a
      Richard M. Stallman authored
      until the frame is put on the frame list.
      
      (Fx_close_connection): Call x_delete_display.
      
      (x_display_info_for_name, Fx_open_connection):
      Signal error if x_term_init fails.
      (Fx_open_connection): New arg must_succeed.
      
      (x_real_positions): Catch errors and retry if error happens.
      No need to block input here.
      
      (Fx_create_frame): Don't store the frame name
      till after FRAME_X_DISPLAY_INFO is set up.
      (Fx_close_connection): Renamed from Fx_close_current_connection
      
      Many doc fixes and Lisp function arg renamings.
      
      (x_bitmaps, x_bitmap_size, x_bitmap_last):
      Variables deleted.  Use fields in x_display_info instead.
      (x_bitmaps_free): Variable deleted.
      (x_destroy_bitmap, x_allocate_bitmap_record): Don't use or set it.
      (x_allocate_bitmap_record): New arg f.  Callers changed.
      (x_lookup_pixmap): Function deleted.
      (x_destroy_all_bitmaps): New function.
      (Fx_close_current_connection): Call x_destroy_all_bitmaps.
      Free the fonts in the font table.  Free various other data
      that dpyinfo points to.  Avoid using Fdelq.
      
      (x_set_name, Fx_create_frame): Use x_id_name field.
      
      (Fx_close_current_connection):
      Call delete_keyboard_wait_descriptor.
      
      (Fx_close_current_connection): Call check_x_display_info.
      Delete the display from x_display_list and x_display_name_list.
      (Fx_display_list): New function.
      (syms_of_xfns): defsubr it.
      
      (Fx_list_fonts): Use `name_list_element' field.
      (x_display_info_for_name): Scan x_display_name_list
      along with x_display_list.
      08a90d6a
    • Richard M. Stallman's avatar
      (record_char): New subroutine. · e4fe371d
      Richard M. Stallman authored
      (read_char): Use record_char.
      Split up menu-bar mouse click events here.
      Call record_char for both halves; likewise echo_char and add_command_key.
      e4fe371d
    • Richard M. Stallman's avatar
      Never use input_fd if using X. · 23dab951
      Richard M. Stallman authored
      (stuff_char): Do nothing if read_socket_hook.
      (setpgrp_of_tty): Function deleted.
      (init_sigio): Take fd as argument.  Callers changed.
      Don't call request_sigio; do the work here.
      (request_sigio, unrequest_sigio): Do nothing if read_socket_hook.
      (init_sys_modes): Don't call EMACS_GET_TTY unless we are going
      to change the settings.
      23dab951
    • Richard M. Stallman's avatar
      6d73e337
    • Richard M. Stallman's avatar
      Handle multiple keyboard input descriptors. · a69281ff
      Richard M. Stallman authored
      (non_keyboard_wait_mask): New variable.
      (Fset_process_filter): Update non_keyboard_wait_mask
      (create_process, Fopen_network_stream, deactivate_process):
      (init_process, sigchld_handler): Likewise.
      (wait_reading_process_input): Maybe use non_keyboard_wait_mask.
      (add_keyboard_wait_descriptor):
      Renamed from change_keyboard_wait_descriptor.
      Clear the old descriptor's bit only the first call.
      (delete_keyboard_wait_descriptor): New function.
      (keyboard_bit_set): New function.
      (wait_reading_process_input): Use keyboard_bit_set.
      Start the loop over process descs from 0, and explicitly
      ignore non-process input descs.
      (init_process): Don't init keyboard_descriptor.
      (keyboard_descriptor): Variable deleted.
      (add_keyboard_wait_descriptor): Don't set keyboard_descriptor.
      (delete_keyboard_wait_descriptor): New function.
      a69281ff
    • Richard M. Stallman's avatar
      61bd0e9c
    • Richard M. Stallman's avatar
    • Richard M. Stallman's avatar
      (buffer-file-truename): Doc fix. · 5a48c0b6
      Richard M. Stallman authored
      5a48c0b6
    • Karl Heuer's avatar
      961dda3e
  3. 24 Oct, 1994 8 commits
  4. 23 Oct, 1994 9 commits