+2010-01-06 Jan Djärv <jan.h.d@swipnet.se>
+
+ * 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.
+
+ * xterm.c (x_clear_frame): Queue draw for scroll bars.
+
+2010-01-05 Jan Djärv <jan.h.d@swipnet.se>
+
+ * xterm.c (x_new_font): Move code for setting rows/cols before
+ resizing ...
+ (x_set_window_size): ... to here. bug #2568.
+
+ * gtkutil.c (xg_clear_under_internal_border): New function.
+ (xg_frame_resized, xg_frame_set_char_size): Call
+ xg_clear_under_internal_border.
+ (xg_update_scrollbar_pos): Clear under old scroll bar position.
+2010-01-05 Chong Yidong <cyd@stupidchicken.com>
+
+ * keyboard.c (read_key_sequence): Catch keyboard switch after
+ making a new tty frame (Bug#5095).
+
+2010-01-05 Kenichi Handa <handa@m17n.org>
+
+ * fontset.c (fontset_find_font): Fix getting the frame pointer.
+
+2010-01-04 Stefan Monnier <monnier@iro.umontreal.ca>
+
+ * dbusbind.c (xd_remove_watch): Avoid trying to convert a void* to
+ Lisp_Object, preferring to convert a lisp_Object to a void* instead.
+ (Fdbus_init_bus): Use XHASH to get a scalar value from a Lisp_Object.
+
+2010-01-03 Michael Albinus <michael.albinus@gmx.de>
+
+ * dbusbind.c (xd_add_watch): Improve debug message.
+ (xd_remove_watch): Improve debug message. If DATA is the session
+ bus, unset D-Bus session environment.
+ (Fdbus_init_bus): Pass the bus as argument to
+ dbus_connection_set_watch_functions. (Bug#5283)
+
+2010-01-01 Chong Yidong <cyd@stupidchicken.com>
+
+ * nsterm.m (ns_get_color): Fix buffer overflow (Bug#4763).
+
+ * lread.c (syms_of_lread): Make it clearer that these are the
+ names of loaded files (Bug#5068).
+
+ * eval.c (run_hook_with_args): Handle the case where the global
+ value has the obsolete single-function form (Bug#5026).
+
+2009-12-27 Chong Yidong <cyd@stupidchicken.com>
+
+ * minibuf.c (Fall_completions): Minor optimization.
+
+2009-12-26 Eli Zaretskii <eliz@gnu.org>
+
+ * .gdbinit (pgx): Fix display of composite glyphs.
+ Display cmp.from and cmp.to as well.
+ (pitx): Fix last change.
+
+2009-12-25 Kenichi Handa <handa@m17n.org>
+
+ * composite.h (composition_adjust_point): Update prototype.
+
+ * composite.c (composition_reseat_it): Don't make a composition
+ spanning over point.
+ (CHAR_COMPOSABLE_P): Treat U+200C (ZWNJ) and U+200D (ZWJ) as
+ composable characters.
+ (composition_adjust_point): New arg NEW_PT. Callers changed.
+
+ * keyboard.c (command_loop_1): Force redisplay if the last point
+ was within a composition.
+ (adjust_point_for_property): Don't adjust point for automatic
+ composition when called after buffer modification.
+
+2009-12-19 Eli Zaretskii <eliz@gnu.org>
+
+ * .gdbinit (pitx): Don't use enum names, use their values.
+ Remove reference to 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.
+
+ * makefile.w32-in ($(BLD)/cmds.$(O)): Depend on frame.h.
+
+ Update dependencies in Makefile.in.
+
+ * Makefile.in (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.
+
+2009-12-19 Andreas Schwab <schwab@linux-m68k.org>
+
+ * font.c (Fclear_font_cache): Pass correct cache argument to
+ font_clear_cache.
+
+2009-12-16 Andreas Schwab <schwab@linux-m68k.org>
+
+ * Makefile.in (prefix-args${EXEEXT}): Don't compile prefix-args.c
+ twice.
+
+2009-12-15 Chong Yidong <cyd@stupidchicken.com>
+
+ * xdisp.c (decode_mode_spec): Inhibit garbage collection when
+ calling file-remote-p. Reported by Jim Meyering.
+
+2009-12-15 Michael Albinus <michael.albinus@gmx.de>
+
+ * dbusbind.c (xd_retrieve_arg): Reorder declarations in order to
+ avoid compiler warnings. (Bug #5217)
+
+2009-12-14 Kenichi Handa <handa@m17n.org>
+
+ * coding.c (decode_coding_iso_2022): Ignore ISO_CODE_SS2_7 (0x19)
+ in 8-bit encoding.
+
+2009-12-13 Pat Thoyts <patthoyts@users.sourceforge.net> (tiny change)
+
+ * xfns.c (x_create_tip_frame): Set the extended window manager hint for
+ tooltip windows.
+
+2009-12-13 Jan Djärv <jan.h.d@swipnet.se>
+
+ * 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.
+
+ * 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).
+
+ * 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.
+
+ * xftfont.c (QClcdfilter): New variable.
+ (xftfont_open): Parse constant names for RGBA, HINT_STYLE and LCDFILTER.
+ (syms_of_xftfont): Initialize QClcdfilter.
+
+2009-12-12 Jan Djärv <jan.h.d@swipnet.se>
+
+ * xsettings.c (struct xsettings): Add member seen.
+ (parse_xft_settings): Update member seen with what we have read.
+ Return non-zero if Xft-settings have been parsed, 0 otherwise.
+ (apply_xft_settings): Only update Xft settings with what member seen
+ indicates as new.
+
+2009-12-12 Eli Zaretskii <eliz@gnu.org>
+
+ * dispextern.h (struct text_pos): Use EMACS_INT;
+ (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.
+
+2009-12-12 Jan Djärv <jan.h.d@swipnet.se>
+
+ * gtkutil.c (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 ==.
+
+2009-12-12 Kenichi Handa <handa@m17n.org>
+
+ * ftfont.c (struct ftfont_info): New member matrix.
+ (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.
+
+ * xftfont.c (struct xftfont_info): New member matrix.
+ (xftfont_open): Setup xftfont_info->matrix.
+
+2009-12-10 Kenichi Handa <handa@m17n.org>
+
+ * xdisp.c (append_space_for_newline): Consider face-remapping.
+
+2009-12-09 Andreas Schwab <schwab@linux-m68k.org>
+
+ * xsettings.c: Include "keyboard.h".
+
+ * gtkutil.c (xg_tool_bar_proxy_help_callback): Fix missing return.
+
+ Fix implicit function declarations.
+ * cmds.c: Include "frame.h".
+ * frame.c: Include "font.h" also if !HAVE_WINDOW_SYSTEM.
+ * frame.h: Move declaration of delete_frame outside of
+ HAVE_WINDOW_SYSTEM.
+