1. 09 Jan, 2010 4 commits
  2. 08 Jan, 2010 2 commits
  3. 06 Jan, 2010 4 commits
    • Jan Djärv's avatar
      Forgot one. · b7f8e4f5
      Jan Djärv authored
      b7f8e4f5
    • Jan Djärv's avatar
      Fix slowdown and wrong font choosed by XSETTINGS changes. bug #5157. · d0cf45b7
      Jan Djärv authored
      * font.c (font_open_entity): Enable chache and call cached_font_ok
      for the driver if defined.
      (QCuser_spec): New symbol.
      (font_spec_from_name): Save name as user-spec.
      (font_load_for_lface): Keep user-spec instead of name.
      (font_open_by_name): Save name as user-spec.
      (syms_of_font): Initialize QCuser_spec.
      
      * xftfont.c (xftfont_open): Call xftfont_add_rendering_parameters.
      (xftfont_add_rendering_parameters, xftfont_cached_font_ok): New.
      (syms_of_xftfont): Initialize xftfont_driver.cached_font_ok.
      
      * font.h (struct font_driver): Add cached_font_ok.
      
      * font-setting.el (font-setting-change-default-font): Use user-spec
        instead of name.
      d0cf45b7
    • Chong Yidong's avatar
      NS fixes for Bug#3233. · 474217c8
      Chong Yidong authored
      * nsfns.m (ns_get_screen): Rewrite, returning NULL for non-NS.
      (Fns_display_usable_bounds): Rewrite, computing bounds properly
      (Bug#3233).
      474217c8
    • Jan Djärv's avatar
      c0e6d47d
  4. 05 Jan, 2010 3 commits
  5. 04 Jan, 2010 1 commit
  6. 03 Jan, 2010 1 commit
  7. 01 Jan, 2010 3 commits
  8. 29 Dec, 2009 1 commit
  9. 28 Dec, 2009 1 commit
  10. 27 Dec, 2009 1 commit
  11. 26 Dec, 2009 2 commits
  12. 19 Dec, 2009 4 commits
    • Eli Zaretskii's avatar
      (pitx): Don't use enum names, use their values. Remove reference to · be996d82
      Eli Zaretskii authored
      non-existing value GET_FROM_COMPOSITION.
      (pgx): Don't use enum names, use their values.
      (pitmethod): New helper command.
      (pitx): Use it to display iteration method.
      (pgrowit): New command.
      be996d82
    • Eli Zaretskii's avatar
      ($(BLD)/cmds.$(O)): Depend on frame.h. · ad903955
      Eli Zaretskii authored
      ad903955
    • Eli Zaretskii's avatar
      Update dependencies in Makefile.in. · 3f670e9a
      Eli Zaretskii authored
      (alloc.o): Depend on termhooks.h.
      (atimer.o): Depend on blockinput.h.
      (buffer.o): Depend on indent.h, keyboard.h, coding.h, keymap.h, and frame.h.
      (callint.o): Depend on systime.h, coding.h, and composite.h.
      (callproc.o): Depend on buffer.h.
      (casefiddle.o): Don't depend on charset.h.
      (casetab.o): Depend on character.h.
      (ccl.o): Depend on composite.h.
      (chartab.o): Depend on ccl.h.
      (cm.o): Depend on dispextern.h.
      (cmds.o): Depend on systime.h, coding.h, frame.h, and composite.h.
      (coding.o): Don't depend on $(INTERVALS_H).
      (composite.o): Don't depend on dispextern.h explicitly (it's in
      $(INTERVALS_H)).  Depend on ccl.h.
      (data.o): Depend on systime.h, coding.h, composite.h, dispextern.h, font.h,
      and ccl.h.
      (dired.o): Depend on composite.h.
      (dispnew.o): Depend on coding.h.  Don't depend explicitly on
      composite.h (it's in $(INTERVALS_H)).
      (doc.o): Depend on systime.h, coding.h, and composite.h.
      (editfns.o): Don't depend explicitly on dispextern.h.
      (emacs.o): Depend on frame.h and coding.h.
      (eval.o): Depend on coding.h, composite.h, and xterm.h.
      (fileio.o): Depend on frame.h and commands.h.  Don't depend
      explicitly on dispextern.h.
      (filelock.o): Don't depend on epaths.h and charset.h.  Depend on composite.h.
      (fns.o): Don't depend on termhooks.h.
      (font.o): Depend on buffer.h, composite.h, fontset.h, and xterm.h.
      (fontset.o): Depend on blockinput.h, atimer.h, systime.h, coding.h,
      $(INTERVALS_H), window.h, xterm.h.
      (frame.o): Depend on coding.h, composite.h, termhooks.h, and ccl.h.
      (fringe.o): Depend on blockinput.h, atimer.h, and systime.h.
      (ftfont.o): Depend on blockinput.h, atimer.h, systime.h, coding.h,
      fontset.h, ccl.h, and ftfont.h.
      (ftxfont.o): Depend on atimer.h, systime.h, fontset.h, and ccl.h.
      (gtkutil.o): Depend on dispextern.h and composite.h.
      (image.o): Depend on epaths.h, character.h, coding.h, composite.h,
      termhooks.h, and ccl.h.
      (indent.o): Depend on systime.h, coding.h, and $(INTERVALS_H).
      (intervals.o): Depend on systime.h and coding.h.
      (keyboard.o): Depend on composite.h and coding.h.
      (keymap.o): Depend on coding.h and frame.h.
      (lread.o): Depend on systime.h, frame.h, blockinput.h, and atimer.h.
      (macros.o): Depend on systime.h, coding.h, and composite.h.
      (menu.o): Depend on systime.h, coding.h, composite.h, window.h, and atimer.h.
      (minibuf.o): Depend on systime.h and coding.h.  Don't depend on
      dispextern.h explicitly.
      (print.o): Depend on termhooks.h, coding.h, and ccl.h.  Don't
      depend explicitly on dispextern.h and composite.h.
      (process.o): Depend on character.h, xgselect.h, and sysselect.h.
      (regex.o): Don't depend on charset.h.
      (scroll.o): Depend on systime.h, coding.h, composite.h, and window.h.
      (search.o): Don't depend explicitly on composite.h.
      (sound.o): Depend on atimer.h and systime.h.
      (syntax.o): Don't depend explicitly on composite.h.
      (sysdep.o): Depend on coding.h and composite.h.
      (term.o): Depend on xterm.h and buffer.h.
      (terminal.o): Depend on dispextern.h, composite.h, and systime.h.
      (textprop.o): Don't depend on dispextern.h explicitly.
      (undo.o): Depend on dispextern.h.
      (window.o): Depend on coding.h and termhooks.h.  Don't depend on
      dispextern.h and composite.h explicitly.
      (xdisp.o): Depend on ccl.h.
      (xfaces.o): Depend on coding.h and ccl.h.
      (xfns.o): Depend on $(INTERVALS_H) and ccl.h.
      (xfont.o): Depend on atimer.h, systime.h, fontset.h, and ccl.h.
      (xftfont.o): Depend on atimer.h, systime.h, fontset.h, ccl.h, and ftfont.h.
      (xgselect.o): New dependency.
      (xmenu.o): Depend on composite.h, keymap.h, and sysselect.h.
      (xselect.o): Depend on keyboard.h, coding.h, and composite.h.
      (xsettings.o): Depend on dispextern.h, keyboard.h, systime.h,
      coding.h, composite.h, blockinput.h, atimer.h, and termopts.h.
      (xsmfns.o): Depend on frame.h and dispextern.h.
      (xterm.o): Depend on intervals.h, keymap.h, xgselect.h, and sysselect.h.
      3f670e9a
    • Andreas Schwab's avatar
      (Fclear_font_cache): Pass correct cache argument to · 7a6f7fea
      Andreas Schwab authored
      font_clear_cache.
      7a6f7fea
  13. 17 Dec, 2009 1 commit
  14. 15 Dec, 2009 2 commits
  15. 14 Dec, 2009 1 commit
  16. 13 Dec, 2009 4 commits
    • Jan Djärv's avatar
      Set the extended window manager hint for tooltip windows. · 36acb2a7
      Jan Djärv authored
      * xfns.c (x_create_tip_frame): Set the extended window manager hint for
      tooltip windows.
      
      * xterm.h (struct x_display_info): Add Xatom_net_window_type_tooltip and
      Xatom_net_window_type.
      
      * xterm.c (x_term_init): Initialize Xatom_net_window_type_tooltip and
      Xatom_net_window_type.
      36acb2a7
    • Jan Djärv's avatar
      Work around warning about g_set_prgname() called multiple times. · b8f00677
      Jan Djärv authored
      * xterm.c (my_log_handler): New function.
      (x_term_init): Set my_log_handler as log handler during gtk_init
      so we can filter out buggy messages. (bug #5120).
      b8f00677
    • Jan Djärv's avatar
      Bug 5177: Scroll bar thumb did not move when scrolling with mouse wheel. · e5f0bc9a
      Jan Djärv authored
      * xterm.c (xg_scroll_callback): Parameter list changed,
      use parameter GtkScrollType to determine scroll/line/page.
      Only allow dragging if a button < 4 is grabbed (bug #5177).
      (xg_end_scroll_callback): New function.
      (x_create_toolkit_scroll_bar): Pass xg_end_scroll_callback to
      xg_create_scroll_bar.
      
      * gtkutil.c (xg_gtk_scroll_destroy): Remove XG_LAST_SB_DATA handling.
      (scroll_end_callback): Remove.
      (xg_create_scroll_bar): Add parameter end_callback, bind it to
      button-release-event.  Replace value-changed event with change-value,
      bug #5177,
      (xg_event_is_for_scrollbar): Only return true if button is less than 4,
      bug #5177.
      
      * gtkutil.h (XG_LAST_SB_DATA): Remove.
      (xg_create_scroll_bar): Add GCallback end_callback.
      e5f0bc9a
    • Jan Djärv's avatar
      xftfont.c: Parse symbolic names for constants also. · 223e5fc6
      Jan Djärv authored
      (QClcdfilter): New variable.
      (xftfont_open): Parse constant names for RGBA, HINT_STYLE and LCDFILTER.
      (syms_of_xftfont): Initialize QClcdfilter.
      223e5fc6
  17. 12 Dec, 2009 5 commits
    • Jan Djärv's avatar
      Fix typo. · ba68c0b0
      Jan Djärv authored
      ba68c0b0
    • Jan Djärv's avatar
      DPI might get set to 0 if we saw some Xsettings, but not DPI. · 3c055b77
      Jan Djärv authored
      xsettings.c (struct xsettings): Add member seen.
      (parse_xft_settings): Update member seen with what we have read.
      Return 0 if Xft-settings have been parsed, 0 otherwise.
      (apply_xft_settings): Only update Xft settings with what member seen
      indicates as new.
      3c055b77
    • Eli Zaretskii's avatar
      (struct text_pos): Use EMACS_INT; · 05fe33ff
      Eli Zaretskii authored
      (struct glyph): Use EMACS_INT for charpos.
      (struct it): Use EMACS_INT for stop_charpos, end_charpos, region_beg_charpos,
      region_end_charpos, redisplay_end_trigger_charpos, and also for
      iterator_stack_entry.end_charpos and iterator_stack_entry.stop_charpos.
      05fe33ff
    • Jan Djärv's avatar
      gtkutil.c: Scroll bar thumb not updated properly (bug #5177). · e8d7886a
      Jan Djärv authored
      (scroll_end_callback): New function (bug #5177)
      (xg_create_scroll_bar): Call scroll_end_callback on button release
      event (bug #5177).
      (xg_event_is_for_scrollbar): != replaced with ==.
      e8d7886a
    • Kenichi Handa's avatar
      (struct ftfont_info): New member matrix. · d0db2ec8
      Kenichi Handa authored
      (ftfont_open): Setup xftfont_info->matrix.
      (MFLTFontFT): New member matrix.
      (FLOOR, CEIL, ROUND): New macros.
      (ftfont_get_metrics): Handle matrix transformation.
      (ftfont_shape_by_flt): New arg matrix.  Callers changed.
      d0db2ec8