1. 25 May, 1995 1 commit
    • Karl Heuer's avatar
      (Fx_get_resource): Major rewrite to make it clearer. · b7975ee4
      Karl Heuer authored
      (validate_x_resource_name): Use build_string, not make_string.
      (Fx_create_frame): Initially use Vinvocation_name as resource name.
      Switch to frame name if frame name is explicit.
      (x_display_info_for_name, Fx_open_connection): Add casts.
      Initially use Vinvocation_name as resource name.
      [USE_X_TOOLKIT] (x_window): Use Vx_resource_name for widget names.
  2. 24 May, 1995 4 commits
  3. 23 May, 1995 1 commit
  4. 09 May, 1995 2 commits
  5. 05 May, 1995 1 commit
  6. 29 Apr, 1995 1 commit
  7. 24 Apr, 1995 1 commit
  8. 19 Apr, 1995 1 commit
  9. 18 Apr, 1995 1 commit
  10. 13 Apr, 1995 1 commit
  11. 10 Apr, 1995 1 commit
  12. 07 Apr, 1995 1 commit
  13. 06 Apr, 1995 1 commit
  14. 03 Apr, 1995 1 commit
  15. 18 Mar, 1995 1 commit
  16. 15 Mar, 1995 1 commit
  17. 06 Mar, 1995 1 commit
  18. 14 Feb, 1995 1 commit
  19. 12 Feb, 1995 1 commit
  20. 26 Dec, 1994 1 commit
  21. 23 Dec, 1994 1 commit
  22. 28 Nov, 1994 1 commit
  23. 16 Nov, 1994 1 commit
  24. 15 Nov, 1994 1 commit
  25. 02 Nov, 1994 1 commit
  26. 01 Nov, 1994 1 commit
  27. 29 Oct, 1994 1 commit
  28. 26 Oct, 1994 1 commit
  29. 25 Oct, 1994 1 commit
    • 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.
  30. 22 Oct, 1994 1 commit
    • 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.
  31. 18 Oct, 1994 1 commit
  32. 17 Oct, 1994 1 commit
    • Richard M. Stallman's avatar
      Include paths.h. · f1c7b5a6
      Richard M. Stallman authored
      Support background stipple, and search path for bitmap files:
      (x_set_icon_type): Pass x_bitmap_icon 2nd arg as Lisp_Object.
      (x_icon_type): Return a Lisp_Object.
      (x_destroy_bitmap, x_reference_bitmap): Take frame as arg.  Callers changed.
      (struct x_bitmap_record): New fields height, width, depth.
      (x_create_bitmap_from_data): Fill in those fields.
      (x_bitmap_height, x_bitmap_width, x_bitmap_pixmap): New functions.
      (x_create_bitmap_from_file): Arg FILE is now a Lisp_Object.
      Search Vbitmap_file_path for it.  Fill in new fields.
      (syms_of_xfns): Set up Vbitmap_file_path.
  33. 15 Oct, 1994 1 commit
    • Richard M. Stallman's avatar
      (x_set_icon_type): If icon-type is a string, then use · 203c1d73
      Richard M. Stallman authored
      bitmap from that file.
      (Fx_create_frame): Set icon_bitmap field to -1.
      (struct x_bitmap_record): New structure type.
      (x_bitmaps, x_bitmaps_size, x_bitmaps_last, x_bitmaps_free): New variables.
      (x_allocate_bitmap_record): New function.
      (x_reference_bitmap, x_create_bitmap, x_create_bitmap_from_file)
      (x_destroy_bitmap, x_lookup_pixmap): New functions.
  34. 14 Oct, 1994 1 commit
  35. 06 Oct, 1994 1 commit
  36. 04 Oct, 1994 1 commit