*** empty log message ***
[bpt/emacs.git] / src / ChangeLog
index 1062db5..989ff4b 100644 (file)
@@ -1,5 +1,195 @@
+2000-12-15  Gerd Moellmann  <gerd@gnu.org>
+
+       * window.c (Fset_window_point): Remove test for
+       cursor_in_non_selected_windows.
+
+       * lread.c (read1): Recognize end of file after `\\'.
+
+       * xfns.c (x_create_tip_frame): Use unwind_create_tip_frame,
+       not unwind_create_frame.
+
+2000-12-15  Dave Love  <fx@gnu.org>
+
+       * s/usg5-4.h (bcopy) [IRIX6]: Don't special-case definition of
+       bcopy & al.
+
+       * s/irix6-5.h: #undef bcopy & al here.  Include strings.h.
+
+2000-12-15  Kenichi Handa  <handa@etl.go.jp>
+
+       * coding.c (setup_coding_system): Clear all members of the struct
+       coding_system at first.
+       (detect_coding): Call detect_coding_mask with a correct MULTIBYTEP
+       argument.
+       (code_convert_region): Don't override coding->src_multibyte and
+       coding->dst_multibyte.
+
+       * fns.c (Fmd5): Docstring improved.
+
+2000-12-15  Miles Bader  <miles@gnu.org>
+
+       * xdisp.c (window_box_height): Only use mode-line glyph-rows that
+       are actually marked as mode-lines; otherwise use
+       estimate_mode_line_height.
+
+2000-12-14  Gerd Moellmann  <gerd@gnu.org>
+
+       * editfns.c (Fformat): Prevent a buffer overrun when the format
+       specifies a precision.
+
+2000-12-14  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * msdos.c (Fmsdos_set_mouse_buttons): Signal an error if the
+       argument is outside the range [2..3].
+
+2000-12-14  Andrew Innes  <andrewi@gnu.org>
+
+       * w32fns.c (Fx_hide_tip): Avoid unnecessary work when there's
+       nothing to do.  Bind inhibit-quit.
+       (tip_frame): Make it a Lisp_Object.
+       (x_create_tip_frame): Set tip_frame after it has been added to
+       Vframe_list.
+       (Fx_show_tip): Don't set tip_frame here.
+       (image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]: New
+       variables.
+       (unwind_create_frame, unwind_create_tip_frame): New functions.
+       (Fx_create_frame, x_create_tip_frame): Handle errors signaled
+       while a frame is only partially constructed.
+
+       * w32term.c (clear_mouse_face): Treat tip_frame as a Lisp_Object.
+       (x_free_frame_resources): New function.
+       (x_destroy_window): Use it.
+
+2000-12-14  Gerd Moellmann  <gerd@gnu.org>
+
+       * xfns.c (Fx_backspace_delete_keys_p): New function.
+       (syms_of_xfns): Defsubr it.
+
+       * config.in (HAVE_XKBGETKEYBOARD): Add.
+
+2000-12-14  Kenichi Handa  <handa@etl.go.jp>
+
+       * keyboard.c (echo_prompt): Argument type changed to Lisp_Object.
+       Always store string in multibyte representation in echobuf.
+       (echo_char): Always store string in multibyte representation in
+       echobuf.
+       (echo_now): Call message2_nolog with the arg MULTIBYTE 1.
+       (read_key_sequence): Adjusted for the change of echo_prompt.
+
+       * fns.c (Fmd5): Docstring improved.
+
+       * lisp.h (detect_coding_system): Prototype adjusted.
+
+       * coding.c (ONE_MORE_BYTE_CHECK_MULTIBYTE): New macro.
+       (detect_coding_emacs_mule, detect_coding_iso2022,)
+       (detect_coding_sjis, detect_coding_big5, detect_coding_utf_8)
+       (detect_coding_utf_16, detect_coding_ccl): Make them static.  New
+       argument MULTIBYTEP.  Callers changed.
+       (detect_coding_mask, detect_coding_system): New argument
+       MULTIBYTEP.  Callers changed.
+       (decode_coding_string): Set coding->src_multibyte and
+       coding->dst_multibyte before calling detect_coding and detect_eol.
+       Update them after some coding system is detected.
+       
+2000-12-13  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * keymap.c (get_keyelt): Only eval the filter if `autoload' is set.
+
+       * keyboard.c (menu_bar_items, tool_bar_items):
+       Set `autoload' when looking up `tool-bar' or `menu-bar' submap.
+
+2000-12-13  Gerd Moellmann  <gerd@gnu.org>
+
+       * xfns.c (image_cache_refcount, dpyinfo_refcount) [GLYPH_DEBUG]: 
+       New variables.
+       (unwind_create_frame, unwind_create_tip_frame): New functions.
+       (Fx_create_frame, x_create_tip_frame): Handle errors signaled
+       while a frame is only partially constructed.
+
+       * xterm.h (x_free_frame_resources): Declare.
+
+       * xterm.c (x_free_frame_resources): New function.
+       (x_destroy_window): Use it.
+
+       * dispnew.c (update_window): If do_mouse_tracking is non-nil,
+       don't interrupt the update for pending input initially, i.e.
+       update at least some lines.
+
+       * keyboard.c (do_mouse_tracking): Make externally visible.
+       
+       * xterm.c (x_term_init): Declare gray_bitmap_bits as `extern char *'.
+
+       * xfns.c (gray_bitmap_bits): Declare `char *'.
+
+2000-12-12  Gerd Moellmann  <gerd@gnu.org>
+
+       * xdisp.c (display_tool_bar_line): Make sure that tool bar
+       lines start with a relief line.
+
+2000-12-12  Dave Love  <fx@gnu.org>
+
+       * window.c (Fdisplay_buffer): Doc fix.
+       (Fwindow_list): Remove unused var.
+
+       * buffer.h (mmap_set_vars): Declare.
+
+       * window.h (Fset_window_point): Declare.
+
+2000-12-12  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * msdos.c (fast_find_position): Don't overstep the last window row.
+       (IT_note_mouse_highlight): Initialize portion to -1.  Remove
+       unused variable `area'.  When looking for a row under (X,Y), give
+       up if some of the previous rows is not enabled.
+
+2000-12-12  Gerd Moellmann  <gerd@gnu.org>
+
+       * window.c (Fset_window_point): If displaying cursors in windows
+       other than the selected window, make sure redisplay updates
+       other windows to show the new value of point in the window.
+
+       * dispextern.h (cursor_in_non_selected_windows): Declare extern.
+
+       * buffer.c (Fkill_buffer): Don't Fset_buffer when testing if
+       the buffer is the sole visible buffer when in the mini-buffer.
+
+       * xdisp.c (setup_echo_area_for_printing, with_echo_area_buffer): 
+       Bind `inhibit-read-only' to t.
+       (unwind_with_echo_area_buffer): Use AREF.
+
+       * xfns.c (Fx_hide_tip): Simplified.
+
+       * s/freebsd.h, s/netbsd.h (GC_MARK_STACK): Use
+       GC_MAKE_GCPROS_NOOPS instead of `1'.
+
+       * s/gnu-linux.h (GC_MARK_STACK): Define as GC_MAKE_GCPROS_NOOPS.
+
 2000-12-11  Gerd Moellmann  <gerd@gnu.org>
 
+       * xfns.c (Fx_hide_tip): Fix last change.
+       
+       * xfns.c (Fx_hide_tip): Avoid unnecessary work when there's
+       nothing to do.  Bind inhibit-quit.
+       (tip_frame): Make it a Lisp_Object.
+       (x_create_tip_frame): Set tip_frame after it has been added to
+       Vframe_list.
+       (Fx_show_tip): Don't set tip_frame here.
+
+       * xterm.c (clear_mouse_face): Treat tip_frame as a Lisp_Object.
+
+       * xdisp.c (prepare_menu_bars): Changes for tip_frame being a
+       Lisp_Object.
+
+       * dispextern.h: Change external declaration of tip_frame.
+
+       * keymap.c (Fkey_description): If KEYS is an empty key sequence,
+       return an empty string.
+
+       * xdisp.c (try_cursor_movement): Check update_mode_lines instead
+       of the window's update_mode_line flag, since the former is set by
+       force-mode-line-update, not the latter.  This makes
+       column-number-mode slightly faster.
+       
        * xdisp.c (try_window_id) <all changes above window start>:
        Set the cursor.