Try to fix bug#5314. This is probably not the final word, tho.
[bpt/emacs.git] / src / ChangeLog
index 131abcb..1ad107b 100644 (file)
@@ -1,5 +1,132 @@
+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>
        (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_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
        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.
+       (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.
 
 2009-12-04  Eli Zaretskii  <eliz@gnu.org>
 
-       * dispextern.h (enum prop_idx) <AUTO_COMPOSED_PROP_IDX>: Delete
-       unused enumeration value.
+       * dispextern.h (enum prop_idx) <AUTO_COMPOSED_PROP_IDX>:
+       Delete unused enumeration value.
 
 2009-12-03  Eli Zaretskii  <eliz@gnu.org>
 
 
 2009-11-21  Andreas Schwab  <schwab@linux-m68k.org>
 
-       * character.h (STRING_CHAR, STRING_CHAR_AND_LENGTH): Remove
-       ignored second argument.  All callers changed.
+       * 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.