1. 12 Jan, 2010 2 commits
  2. 11 Jan, 2010 2 commits
  3. 09 Jan, 2010 6 commits
    • Chong Yidong's avatar
      Fix bounds checking for text properties in `format' (Bug#5306). · e398c61c
      Chong Yidong authored
      * intervals.h, textprop.c (extend_property_ranges): Return value
      and args changed.  Discard properties that begin at or after the
      new end (Bug#5306).
      
      * editfns.c (Fformat): Caller changed.
      e398c61c
    • Chong Yidong's avatar
      Fix for Bug#4113. · e5a29a10
      Chong Yidong authored
      * nsterm.m (ns_set_default_prefs): Delete function.
      (syms_of_nsterm): Initialize ns_command_modifier,
      ns_control_modifier, ns_function_modifier, ns_antialias_text, and
      ns_antialias_threshold here, not in ns_term_init (Bug#4113).
      e5a29a10
    • Chong Yidong's avatar
    • Eli Zaretskii's avatar
      editfns.c (Ffloat_time): Doc fix. · d427a9fa
      Eli Zaretskii authored
      d427a9fa
    • Jan Djärv's avatar
    • YAMAMOTO Mitsuharu's avatar
      Make line<->pixel_y conversion macros aware of native menu/tool bars. · 4b00d3b1
      YAMAMOTO Mitsuharu authored
      They are placed above the internal border.  This supersedes special
      treatment of native tool bars in the display code.
      
      This fixes wrong display position of native menu bars and bogus mouse
      highlighting of native tool bars, both of which can be found when
      internal border width is large.  Also it fixes wrong flashed part on
      visible bell with native menu bars.
      
      * frame.h (FRAME_TOP_MARGIN_HEIGHT): New macro.
      (FRAME_LINE_TO_PIXEL_Y, FRAME_PIXEL_Y_TO_LINE): Take account of pseudo
      windows above internal border.
      
      * window.h (WINDOW_MENU_BAR_P, WINDOW_TOOL_BAR_P): New macros.
      (WINDOW_TOP_EDGE_Y, WINDOW_BOTTOM_EDGE_Y): Take account of pseudo
      windows above internal border.
      
      * xdisp.c (get_glyph_string_clip_rects, init_glyph_string): Don't treat
      tool bar windows specially.
      
      * xfns.c (x_set_tool_bar_lines): Take account of menu bar height.
      
      * xterm.c (x_after_update_window_line): Don't treat tool bar windows
      specially.
      (XTflash): Take account of menu bar height.
      
      * w32term.c (x_after_update_window_line): Don't treat tool bar windows
      specially.
      4b00d3b1
  4. 08 Jan, 2010 2 commits
  5. 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
  6. 05 Jan, 2010 3 commits
  7. 04 Jan, 2010 1 commit
  8. 03 Jan, 2010 1 commit
  9. 01 Jan, 2010 3 commits
  10. 29 Dec, 2009 1 commit
  11. 28 Dec, 2009 1 commit
  12. 27 Dec, 2009 1 commit
  13. 26 Dec, 2009 2 commits
  14. 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
  15. 17 Dec, 2009 1 commit
  16. 15 Dec, 2009 2 commits
  17. 14 Dec, 2009 1 commit
  18. 13 Dec, 2009 3 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