Try to fix bug#5314. This is probably not the final word, tho.
[bpt/emacs.git] / src / ChangeLog
index acfffd3..1ad107b 100644 (file)
@@ -1,3 +1,590 @@
+2010-01-13  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Try to fix bug#5314.  This is probably not the final word, tho.
+       * buffer.c (Fset_buffer_modified_p): Try and be careful not to modify
+       recent-auto-save-p as a side-effect.
+       * buffer.h (BUF_AUTOSAVE_MODIFF): New macro.
+       * buffer.c (Fkill_buffer, reset_buffer):
+       * editfns.c (Fsubst_char_in_region):
+       * fileio.c (Finsert_file_contents, Fdo_auto_save)
+       (Fset_buffer_auto_saved, Frecent_auto_save_p): Use it.
+
+2010-01-13  Kenichi Handa  <handa@m17n.org>
+
+       Display buffer name, etc. in mode line by composing correctly.
+
+       * xdisp.c (reseat_to_string): Call composition_compute_stop_pos if
+       STRING is not nil.
+       (display_mode_element): Adjust for the change of
+       decode_mode_spec and display_line.
+       (decode_mode_spec): Change arg MULTIBYTE to STRING.
+       (display_string): Handle the case that STRING is non-null and
+       LISP_STRING is not nil.
+
+       * xterm.c (x_draw_composite_glyph_string_foreground):
+       Pay attention to s->face->overstrike.
+
+       * composite.c (composition_reseat_it): Don't check PT if STRING is
+       non nil.
+
+2010-01-12  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * keyboard.c (read_char): Don't apply previous change when current
+       buffer is unchanged by command execution.
+
+2010-01-12  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * keyboard.c (read_char): Return after executing from special map.
+
+2010-01-12  Glenn Morris  <rgm@gnu.org>
+
+       * emacs.c (REPORT_EMACS_BUG_PRETEST_ADDRESS): Set it to
+       bug-gnu-emacs rather than emacs-pretest-bug.
+
+2010-01-11  Chong Yidong  <cyd@stupidchicken.com>
+
+       * nsterm.m (syms_of_nsterm): Initialize Qcontrol etc. before
+       initializing the Lisp variables that depend on them.
+
+2010-01-11  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * xfns.c (x_set_menu_bar_lines) [!USE_X_TOOLKIT && !USE_GTK]:
+       Clear areas that will not be updated after change of menu bar lines.
+       Clear the menu bar window's current matrix when the window gets empty.
+
+2010-01-09  Chong Yidong  <cyd@stupidchicken.com>
+
+       * 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.
+
+       * 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).
+
+       * xdisp.c (pos_visible_p): Check for invisible text at the correct
+       position (Bug#4040).
+
+2010-01-09  Eli Zaretskii  <eliz@gnu.org>
+
+       * editfns.c (Ffloat_time): Doc fix.
+
+2010-01-09  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xfns.c (Fx_create_frame): Don't create frame larger than display
+       by default bug#3643.
+
+2010-01-09  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * 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.
+
+2010-01-08  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * dispnew.c (change_frame_size_1): newwidth == FRAME_COLS  (f) must
+       also be true before we can return early (bug #5339).
+
+2010-01-06  David Reitter  <david.reitter@gmail.com>
+
+       * nsfns.m (ns_get_screen): Rewrite, returning NULL for non-NS.
+       (Fns_display_usable_bounds): Rewrite, computing bounds properly
+       (Bug#3233).
+
+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.
+       (font_clear_prop): Clear name if it exists in font (bug#5157).
+
+       * 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.
+
+2009-12-09  Ken Brown  <kbrown@cornell.edu>  (tiny change)
+
+       * s/cygwin.h (G_SLICE_ALWAYS_MALLOC): New variable.
+
+       * emacs.c (main): Set the G_SLICE environment variable for Cygwin
+       GTK builds.
+
+2009-12-07  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * unexelf.c (unexec): Don't search for .data twice.
+
+2009-12-05  Chong Yidong  <cyd@stupidchicken.com>
+
+       * xdisp.c (push_display_prop): Don't set avoid_cursor_p.  Return 0
+       if push failed.
+       (handle_line_prefix): Set avoid_cursor_p here.  Check return value
+       of push_display_prop (Bug#5000).
+
+       * xfaces.c (Fx_family_fonts): Handle 2009-07-14 change to return
+       value of font_list_entities (Bug#5085).
+
+2009-12-04  Juanma Barranquero  <lekktu@gmail.com>
+
+       Fix `string-to-number' to deal consistently with integers and floats.
+       * lread.c (isfloat_string): New argument ignore_trailing to accept all
+       trailing characters, not just whitespace.
+       (read1): Pass new arg 0 to keep old behavior.
+       * data.c (Fstring_to_number): Pass 1 to isfloat_string to ignore
+       trailing chars, as it is already done for integers.  Doc fixes.
+       * lisp.h (isfloat_string): Add new arg to declaration of isfloat_string.
+
+2009-12-04  Eli Zaretskii  <eliz@gnu.org>
+
+       * dispextern.h (enum prop_idx) <AUTO_COMPOSED_PROP_IDX>:
+       Delete unused enumeration value.
+
+2009-12-03  Eli Zaretskii  <eliz@gnu.org>
+
+       * Makefile.in (lisp, shortlisp): Replace indian.el with indian.elc.
+
+2009-12-03  Daniel Hackney  <dan@haxney.org>  (tiny change)
+
+       * process.c (Fmake_network_process): Fix up the tests for
+       "connectionless socket", so they DTRT for seqpacket sockets as well.
+
+2009-12-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * process.c (Qseqpacket): New symbol.
+       (HAVE_SEQPACKET): New macro.
+       (Fmake_network_process): Accept new :type `seqpacket'.
+       (init_process): Add `seqpacket' feature when applicable.
+       (syms_of_process): Initialize Qseqpacket.
+
+2009-12-01  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * font.c (font_load_for_lface, font_open_by_name): Don't store name
+       if entity is Qnil.
+
+2009-11-30  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * print.c (print_preprocess): Preprocess the key_and_value table of
+       hashtables, even tho they're "hidden" (bug#5082).
+
+2009-11-29  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * frame.c (frame_make_pointer_invisible)
+       (frame_make_pointer_visible): Declare f before statements.
+
+2009-11-28  Eli Zaretskii  <eliz@gnu.org>
+
+       * Makefile.in [!AUTO_DEPEND]: Remove outdated comment about
+       omitted dependencies on lisp.h.
+
+2009-11-27  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xftfont.c (xftfont_end_for_frame): Just return if dpyinfo->display
+       is NULL.
+
+       * xterm.c (x_delete_terminal): Set dpyinfo->display to NULL.
+
+       * frame.c (frame_make_pointer_invisible)
+       (frame_make_pointer_visible): Just return if there isn't any selected
+       frame.
+
+       * search.c (simple_search): Remove warning by making *p const.
+
+2009-11-26  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * xdisp.c (power_letter): Remove duplicate const.
+
+2009-11-25  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * term.c (delete_tty): Remove check for last terminal (bug#4970).
+
+       * xsettings.c: Revert changes from 2009-11-23.  Just use Xft
+       defaults (bug #5025).
+
+2009-11-24  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * insdel.c (adjust_markers_for_delete): Move it in the
+       right direction!  (bug#4803)
+
+2009-11-24  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * font.c (font_open_entity): Don't use ASET if font_object is Qnil.
+
+       * xterm.c (x_new_font): Update f->scroll_bar_actual_width.
+
+2009-11-24  Glenn Morris  <rgm@gnu.org>
+
+       * frame.c (focus-follows-mouse): Mention mouse-autoselect-window.
+
+2009-11-23  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * Makefile.in: Must create deps for ecrt0.o in its rule.
+
+       * xfns.c (Fx_select_font): Try to convert Fontconfig name to Gtk name
+       because that is what Gtk+ font dialog understands.
+
+       * font.c (font_make_object, Fcopy_font_spec): Use Fcopy_alist instead
+       of Fcopy_sequence.
+       (font_open_by_name): Put name given into QCname for font-object returned.
+
+       * frame.c (x_set_font): Save original font name as frame parameter
+       font-parameter.
+
+       * xsettings.c (set_default_xft_settings): New function.
+       (init_xfd_settings): Call set_default_xft_settings if no XSETTINGS window
+       is found.
+
+2009-11-22  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * search.c (simple_search): Avoid CHAR_TO_BYTE in inner loop when
+       searching backwards through multibyte buffer.
+
+2009-11-21  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * xterm.c: #include xgselect.h.
+       (x_initialize): Call xgselect_initialize.
+
+       * xsettings.c (something_changedCB): C++ comments => C comments.
+       (init_gconf): Do not deal with any GLib file descriptors, xg_select
+       does that now.
+
+       * gtkutil.c (xg_timer, xg_process_timeouts, xg_start_timer)
+       (xg_stop_timer, menu_grab_callback_cnt, menu_grab_callback)
+       (scroll_bar_button_cb): Remove.
+       (create_menus): C++ comments => C comments.  Don't bind grab-notify
+       event.
+       (xg_create_scroll_bar): Don't bind button-press-event and
+       button-release-event.
+
+       * process.c: Include xgselect.h if defined (USE_GTK) ||
+       defined (HAVE_GCONF).
+       (wait_reading_process_output): Call xg_select for the same condition.
+
+       * xgselect.c (xg_select): New function to better integrate with
+       GLib/Gtk event handling.  Needed if GConf daemon dies/restarts.
+
+       * xgselect.h: New file, declare xg_select, xgselect_initialize.
+
+       * Makefile.in (XOBJ): Add xgselect.o.
+
+2009-11-21  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH):
+       Remove ignored second argument.  All callers changed.
+       * regex.c (STRING_CHAR, STRING_CHAR_AND_LENGTH, RE_STRING_CHAR)
+       (RE_STRING_CHAR_AND_LENGTH): Likewise.
+       * xdisp.c (string_char_and_length): Likewise.
+
+2009-11-21  Dan Nicolaescu  <dann@ics.uci.edu>
+
+       * xterm.c (x_new_font):
+       * print.c (print_object):
+       * cmds.c (Fself_insert_command): Move declarations before statements.
+
 2009-11-20  Ken Brown  <kbrown@cornell.edu>  (tiny change)
 
        * s/cygwin.h: Remove unneeded linker flags.
        has a parent.
 
        * Makefile.in: If AUTO_DEPEND is defined, make gcc generate
-       dependency files in deps/. Include those files into Makefile.
+       dependency files in deps/.  Include those files into Makefile.
 
        * config.in: Generated (AUTO_DEPEND).
 
        (XD_SIGNAL1, XD_SIGNAL2, XD_SIGNAL3): New macros.  Throw Qdbus_error.
        (xd_read_queued_messages): Catch Qdbus_error from the macros.
        (all): Replace xsignal1, xsignal2, xsignal3 by the respective
-       macro.  (Bug#1186).
+       macro.  (Bug#1186)
 
 2008-10-23  Ali Bahrami  <ali_gnu@emvision.com>  (tiny change)
 
@@ -20791,7 +21378,7 @@ See ChangeLog.10 for earlier changes.
 ;; add-log-time-zone-rule: t
 ;; End:
 
-    Copyright (C) 2007, 2008, 2009  Free Software Foundation, Inc.
+    Copyright (C) 2007, 2008, 2009, 2010  Free Software Foundation, Inc.
 
   This file is part of GNU Emacs.