1. 25 Oct, 1994 1 commit
  2. 24 Oct, 1994 8 commits
  3. 23 Oct, 1994 13 commits
  4. 22 Oct, 1994 15 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.
    • Richard M. Stallman's avatar
      (x_sync): Take frame ptr as arg. · b9dc4443
      Richard M. Stallman authored
      (check_x_display_info): New function.
      (Fx_create_frame): Use it.
      (x_screen_planes): New function.
      (EMACS_CLASS): Macro moved to xterm.h.
      (Qdisplay): New variable.
      (syms_of_xfns): Set it up.
      (Fx_create_frame): Handle display parameter
      which says where to get the FRAME_X_DISPLAY_INFO.
      (x_display_info_for_name): New function.
      (select_visual): New arg dpy.
      (Fx_open_connection): Get dpyinfo from x_term_init.
      Don't set up atoms, xrdb here.	Pass name as Lisp_Object.
      (the_x_screen): Variable moved to xterm.c.
      (syms_of_xfns): Don't staticpro it here.
      (xrdb): Variable deleted.
      (Fx_get_resource): Use selected_frame's xrdb.
      (x_get_resource_string): Likewise.
      (Fx_open_connection): Store the atoms in x_display_info.
      (hack_wm_protocols): New arg f.  Get atoms from x_display_info.
      (x_window): Get atoms from x_display_info.
      (Vmouse_depressed, mouse_buffer_offset): Variables deleted.
      (syms_of_xfns): Delete Lisp variables too.
      (Fx_synchronize): Take frame as arg.
      (Fx_close_current_connection): Take frame as arg.   Error is not fatal.
      (mouse_timestamp): Variable deleted.
      (screen_visual, x_screen_planes): Variables deleted.
      (x_screen, x_screen_height, x_screen_width): Variables deleted.
      (Fx_open_connection): Don't set them here.
      Put that info in the x_display_info structure.
      (x_window): Get the visual from x_display_info structure.
      (x_decode_color): Use n_planes from x_display_info structure.
      Use FRAME_X_DISPLAY instead of x_current_display and XDISPLAY.
      (x_in_use): New variable,
      (check_x, using_x_p): Test x_in_use.
      (Fx_open_connection): Set x_in_use.
      (check_x_frame): New function.
      (defined_color): New arg f specifies frame.  Callers changed.
      (x_decode_color): New arg f.  All callers changed.
      (Fx_color_values, Fx_color_defined_p): New arg FRAME.
      Use check_x_frame.
      (Fx_list_fonts): Use check_x_frame.
    • Richard M. Stallman's avatar
      (read_avail_input): Use input_fd. · 437f6112
      Richard M. Stallman authored
    • Richard M. Stallman's avatar
      (input_fd): No longer static. · 0217ed57
      Richard M. Stallman authored
    • Richard M. Stallman's avatar
      (Fframe_or_buffer_changed_p): · 50cf83f8
      Richard M. Stallman authored
      Detect deletion of a buffer at the end of the buffer list.
    • Richard M. Stallman's avatar
      (xmenu_show): Get the screen number for DisplayHeight · f1847de3
      Richard M. Stallman authored
      and DisplayWidth.  Use root_window slot in the x_display_info.
    • Richard M. Stallman's avatar
    • Richard M. Stallman's avatar
    • Karl Heuer's avatar
  5. 21 Oct, 1994 3 commits