1. 14 May, 2008 1 commit
    • Kenichi Handa's avatar
      Throughout the file, delete all USE_FONT_BACKEND · 90546022
      Kenichi Handa authored
      conditionals.  Don't check enable_font_backend.  Delete all codes
      used only when USE_FONT_BACKEND is not defined.  Don't include
      ccl.h.
      (x_per_char_metric, x_encode_char): Deleted.
      (x_set_cursor_gc, x_set_mouse_face_gc): Don't set GCFont.
      (x_compute_glyph_string_overhangs): Adjusted for the change of
      `struct face'
      (x_draw_glyph_string_foreground)
      (x_draw_composite_glyph_string_foreground): Likewise.
      (x_draw_glyph_string): Likewise.  Use font->underline_position and
      font->underline_thickness.
      (x_new_font): Renamed from x_new_fontset2.
      (x_new_fontset, x_get_font_info, x_list_fonts): Deleted.
      (x_check_font): Call `check' method of a font driver.
      (x_font_min_bounds, x_compute_min_glyph_bounds, x_load_font)
      (x_query_font, x_get_font_repertory): Deleted.
      (x_find_ccl_program): Renamed and moved to xfont.c.
      (x_redisplay_interface): Adjusted for the change of `struct
      redisplay_interface'.
      90546022
  2. 13 May, 2008 2 commits
  3. 27 Apr, 2008 1 commit
  4. 29 Mar, 2008 1 commit
    • Stefan Monnier's avatar
      * keyboard.c (pending_funcalls): New var. · 58555d81
      Stefan Monnier authored
      (timer_check): Run it.
      (syms_of_keyboard): Initialize it.
      * terminal.c (Qrun_hook_with_args, Qdelete_terminal_functions)
      (Vdelete_terminal_functions): New vars.
      (syms_of_terminal): Initialize them.
      (Fdelete_terminal): Run delete-terminal-functions.
      * xdisp.c (safe_eval): Rewrite.
      (safe_call2): New fun.
      * frame.c (Qdelete_frame_functions): New var.
      (syms_of_frame): Initialize it.
      (Fdelete_frame): Use it and use safe_call2 and pending_funcalls.
      * lisp.h (safe_call2, pending_funcalls): Declare.
      58555d81
  5. 11 Mar, 2008 2 commits
  6. 03 Mar, 2008 1 commit
    • Dan Nicolaescu's avatar
      * w32term.c: Remove unused include "gnu.h". · 73f838ad
      Dan Nicolaescu authored
      * makefile.w32-in (w32term.o): Don't depend on gnu.h
      
      * gnu.h: Rename to ...
      * emacs-icon.h: ... this.
      * xterm.c: Use emacs-icon.h instead of gnu.h.
      * Makefile (xterm.o): Depend on emacs-icon.h, not gnu.h.
      73f838ad
  7. 01 Mar, 2008 1 commit
  8. 24 Feb, 2008 2 commits
  9. 22 Feb, 2008 1 commit
    • Stefan Monnier's avatar
      Consolidate the image_cache to the terminal struct. · 354884c4
      Stefan Monnier authored
      * termhooks.h (P_): Remove redundant def.
      (struct terminal): New field `image_cache'.
      * frame.h (FRAME_IMAGE_CACHE): New macro.  Use it everywhere in place
      of FRAME_X_IMAGE_CACHE.
      * xterm.h (struct x_display_info): Remove image_cache field.
      (FRAME_X_IMAGE_CACHE): Remove.  Use FRAME_IMAGE_CACHE instead.
      * w32term.h (struct w32_display_info): Remove image_cache field.
      (FRAME_X_IMAGE_CACHE): Remove.  Use FRAME_IMAGE_CACHE instead.
      * macterm.h (struct mac_display_info): Remove image_cache field.
      (FRAME_X_IMAGE_CACHE): Remove.  Use FRAME_IMAGE_CACHE instead.
      * xterm.c (x_term_init):
      * w32term.c (w32_term_init):
      * macterm.c (mac_term_init): Set the image_cache in the terminal.
      * dispextern.h (clear_image_cache, forall_images_in_image_cache):
      Remove declarations.
      (clear_image_caches, mark_image_cache): New declarations.
      * xfaces.c (clear_face_cache):
      * xdisp.c (redisplay_internal): Use clear_image_caches.
      * image.c (clear_image_cache): Don't check that a frame is on
      a window-system before checking if it shares the same cache.
      (clear_image_caches): New function.
      (Fclear_image_cache): Use it.
      (mark_image): Move from allo.c.
      (mark_image_cache): Move from alloc.c and forall_images_in_image_cache.
      * alloc.c (mark_image, mark_image_cache): Move to image.c.
      (mark_object): Don't call mark_image_cache for frames.
      (mark_terminals): Call mark_image_cache.
      354884c4
  10. 21 Feb, 2008 1 commit
  11. 17 Feb, 2008 1 commit
  12. 10 Feb, 2008 1 commit
    • Stefan Monnier's avatar
      * frame.c (Qnoelisp): New symbol. · c53956fe
      Stefan Monnier authored
      (syms_of_frame): Initialize it.
      (Fdelete_frame): Use it to distinguish a mere `force' passed from
      someharmles Elisp code, from a strong `force' from x_connection_closed.
      * frame.h (Qnoelisp): Declare.
      * xterm.c (x_connection_closed): Pass `noelisp'.
      c53956fe
  13. 09 Feb, 2008 1 commit
    • Dan Nicolaescu's avatar
      * configure.in (LIBX11_MACHINE, HAVE_XFREE386): Remove code · 4624371d
      Dan Nicolaescu authored
      dealing with obsolete variables.
      
      * fakemail.c (MAIL_PROGRAM_NAME): Remove unused conditional.
      (main): Replace MAIL_PROGRAM_NAME with its value.
      
      * src/Makefile.in:
      * src/emacs.c:
      * src/gmalloc.c:
      * src/keyboard.c:
      * src/lisp.h:
      * src/m/ibm370aix.h:
      * src/process.c:
      * src/regex.c:
      * src/s/hpux.h:
      * src/sysdep.c:
      * src/sysselect.h:
      * src/systty.h:
      * src/unexec.c:
      * src/w32term.c:
      * src/xsmfns.c:
      * src/xterm.c: Remove code that deals with obsolete variables.
      
      * s/msdos.h (DONT_NEED_ENVIRON): Don't define.
      
      * ecrt0.c: Replace the DONT_NEED_ENVIRON test with MSDOS test,
      nothing else needs it anymore.
      4624371d
  14. 07 Feb, 2008 1 commit
    • Jan Djärv's avatar
      (x_detect_focus_change): Handle embed client message. · 81c02ebe
      Jan Djärv authored
      (handle_one_xevent): Ditto.
      (handle_one_xevent): If embedded and we get a button press/release,
      request focus.
      (xembed_set_info, xembed_send_message): New functions.
      (x_make_frame_visible): Call xembed_set_info if embedded.
      (x_make_frame_invisible): Call xembed_set_info if embedded.
      (x_term_init): Initialize Xatom_XEMBED.
      (x_make_frame_visible): Check for FRAME_X_EMBEDDED_P also.
      (x_iconify_frame): Ditto.
      81c02ebe
  15. 17 Jan, 2008 1 commit
  16. 08 Jan, 2008 1 commit
  17. 14 Dec, 2007 1 commit
  18. 03 Dec, 2007 1 commit
  19. 01 Dec, 2007 1 commit
  20. 18 Nov, 2007 1 commit
  21. 16 Nov, 2007 1 commit
    • Stefan Monnier's avatar
      * xterm.h (struct scroll_bar): Only use Lisp_Object for lisp data. · 056ce195
      Stefan Monnier authored
      Turn integer fields into `int'.  Merge x_window_low and x_window_high.
      (SCROLL_BAR_PACK, SCROLL_BAR_UNPACK, SCROLL_BAR_X_WINDOW)
      (SET_SCROLL_BAR_X_WINDOW): Remove.
      (SCROLL_BAR_X_WIDGET, SET_SCROLL_BAR_X_WIDGET):
      Access the new x_window field directly.
      * xterm.c (x_scroll_bar_create): Use a pseudovector.
      Don't wrap/unwrap integers into Lisp_Objects.
      (XTset_vertical_scroll_bar, x_scroll_bar_handle_click)
      (x_scroll_bar_report_motion):
      Don't wrap/unwrap integers into Lisp_Objects.
      (x_term_init): Use SDATA.
      (x_window_to_scroll_bar, x_create_toolkit_scroll_bar)
      (x_scroll_bar_set_handle, x_scroll_bar_remove)
      (XTset_vertical_scroll_bar, x_scroll_bar_expose)
      (x_scroll_bar_report_motion, x_scroll_bar_clear):
      * xfns.c (x_set_background_color):
      * gtkutil.c (xg_create_scroll_bar, xg_set_toolkit_scroll_bar_thumb):
      Access the new x_window field directly.
      056ce195
  22. 01 Nov, 2007 3 commits
  23. 25 Oct, 2007 1 commit
    • Stefan Monnier's avatar
      Make `window-system' into a keyboard-local variable (rather than · 70b8d0a4
      Stefan Monnier authored
      frame-local as done originally by multi-tty).
      
      * startup.el (window-system): Remove.  Don't make it frame-local.
      
      * keyboard.h (struct kboard): Add Vwindow_system.
      * keyboard.c (init_kboard): Set a default for Vwindow_system.
      (mark_kboards): Mark Vwindow_system.
      
      * dispnew.c (syms_of_display) <window-system>: Declare terminal-local.
      (init_display): Don't set the obsolete `window-system' frame-param.
      
      * xterm.c (x_term_init):
      * w32term.c (w32_create_terminal):
      * term.c (init_tty): Set Vwindow_system.
      * macterm.c (mac_create_terminal): Set a keyboard (missing piece of the
      multi-tty merge maybe?), copied from w32term.c.  Set Vwindow_system.
      
      * xfns.c (Fx_create_frame, x_create_tip_frame):
      * w32fns.c (Fx_create_frame, x_create_tip_frame):
      * macfns.c (Fx_create_frame):
      Don't set the obsolete `window-system' frame-param.
      
      * frame.h (Qwindow_system): Remove.
      * frame.c (Qwindow_system): Remove.  In `syms_of_frame' as well.
      (Fmake_terminal_frame): Don't set obsolete `window-system' frame-param.
      70b8d0a4
  24. 13 Oct, 2007 1 commit
  25. 12 Oct, 2007 1 commit
    • Miles Bader's avatar
      Fix up multi-tty merge · 985773c9
      Miles Bader authored
      Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-261
      Creator:  Stefan Monnier <monnier@iro.umontreal.ca>
      985773c9
  26. 06 Oct, 2007 1 commit
  27. 23 Sep, 2007 1 commit
  28. 21 Sep, 2007 1 commit
  29. 20 Sep, 2007 1 commit
  30. 19 Sep, 2007 1 commit
  31. 14 Sep, 2007 2 commits
  32. 13 Sep, 2007 1 commit
    • Kenichi Handa's avatar
      (x_set_glyph_string_clipping): Use · fdd6e0c0
      Kenichi Handa authored
      get_glyph_string_clip_rects.
      (x_set_glyph_string_clipping_exactly): Adjusted for the change fo
      struct glyph_string.
      (x_draw_glyph_string): Likewise.
      fdd6e0c0
  33. 10 Sep, 2007 2 commits