1. 25 Oct, 1994 12 commits
    • 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.
    • 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.
    • Richard M. Stallman's avatar
    • 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.
      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.
    • 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.
    • 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.
    • Richard M. Stallman's avatar
    • 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.
      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.
    • Richard M. Stallman's avatar
    • Richard M. Stallman's avatar
    • Richard M. Stallman's avatar
      (buffer-file-truename): Doc fix. · 5a48c0b6
      Richard M. Stallman authored
    • Karl Heuer's avatar
  2. 24 Oct, 1994 8 commits
  3. 23 Oct, 1994 13 commits
  4. 22 Oct, 1994 7 commits
    • Roland McGrath's avatar
    • Roland McGrath's avatar
      (dired-mode-map): Bind A to dired-do-tags-search, · 866a7035
      Roland McGrath authored
      Q to dired-do-tags-query-replace.
    • Richard M. Stallman's avatar
    • Karl Heuer's avatar
    • Karl Heuer's avatar
    • Richard M. Stallman's avatar
      (struct x_display_info): Struct renamed from x_screen. · 579dd4be
      Richard M. Stallman authored
      (x_display): x_screen field renamed to display_info.
      (FRAME_X_DISPLAY): Use new name.
      (FRAME_X_DISPLAY_INFO): Likewise; also renamed from FRAME_X_SCREEN.
      (struct x_display_info): New fields *_mod_mask, icon_bitmap_id, connection,
      xrdb, Xatom..., grabbed, height, width, screen, visual, n_planes.
      (x_display_list): New variable.
      (FRAME_X_SCREEN): New macro.
      (EMACS_CLASS): Macro moved here.
      (XExposeRegionEvent): Unused macro deleted.
      (XGetWindowInfo, XGetFont, XLoseFont): Unused macros deleted.
      (MINWIDTH, MINHEIGHT, MAXWIDTH, MAXHEIGHT): Unused macros deleted.
      (MAX_FACES_AND_GLYPHS, Bitmap): Unused macros deleted.
      (struct event_queue): Structure deleted (was unused).
      (EVENT_BUFFER_SIZE): Macro deleted.
      (XClear): Macro deleted.  Callers use XClearWindow.
      (XWarpMousePointer): Macro deleted.  Callers use XWarpPointer.
      (XStuffPending): Macro deleted.  Callers use XPending.
      (XHandleError, XHandleIOError): Macros deleted.
      Callers use XSet...ErrorHandler.
      (XChangeWindowSize): Macro deleted.  Callers use XResizeWindow.
      (Color): Macro deleted; replaced with XColor.
      (FONT_TYPE): Macro deleted; replaced with XFontStruct.
      (PIX_TYPE): Macro deleted; replaced with unsigned long.
      (ROOT_WINDOW): Macro deleted.
      (struct x_display_info): New field root_window.  All uses changed.
      (XDISPLAY): Macro deleted.
      (XFlushQueue): Macro deleted.  All callers changed.
      (DISPLAY_SCREEN_ARG): Maco deleted.
      (DISPLAY_CELLS): Macro deleted.
      (WINDOWINFO_TYPE): Macro deleted.
    • Richard M. Stallman's avatar
      Use FRAME_X_DISPLAY instead of x_current_display and XDISPLAY. · 334208b7
      Richard M. Stallman authored
      (x_make_frame_visible, x_make_frame_invisible):
      Pass a frame ptr to x_sync.
      (x_term_init): Init all the components of dpyinfo.
      (x_display_info_for_display): New function.
      (x_*_mod_mask): Variables deleted.
      (x_x_to_emacs_modifiers, x_emacs_to_x_modifiers):
      New arg dpyinfo; all callers changed.
      Store the masks in that structure.
      (icon_bitmap): Variable deleted.
      (x_bitmap_icon): Use icon_bitmap_id in x_display_info.
      (icon_font_info): Variable deleted.
      (x_term_init): Set up `connection' field.
      Arg is now struct x_display_info *.
      (x_term_init): Return an x_display_info *.
      Store all the data in it, including X atoms and xrdb.
      Put the x_display_info structure on x_display_list.
      Pass name as Lisp_Object.
      (the_x_screen): Variable moved here.
      (syms_of_xterm): Staticpro parts of the_x_screen.
      (windowinfo): Variable deleted.
      (Xatom_*): Variables deleted.
      (x_iconify_frame, XTread_socket): Get atoms from the x_display_info,
      (XTread_socket): Don't update Vmouse_depressed.
      (x_mouse_grabbed): Variable deleted.
      (note_mouse_highlight): Use grabbed field instead.
      (XTmouse_position, XTread_socket): Likewise.
      (x_calc_absolute_position, x_wm_set_size_hint):
      Get screen height, width from the x_display_info structure.