(delete_window): Simplify somewhat.
[bpt/emacs.git] / src / ChangeLog
index eb956c4..75e6de5 100644 (file)
@@ -1,3 +1,250 @@
+2000-12-22  Gerd Moellmann  <gerd@gnu.org>
+
+       * window.c (delete_window): Simplify somewhat.
+       (Fset_window_configuration): Don't SET_FRAME_GARBAGED after
+       freeing window matrices.  The flag windows_or_buffers_changed is
+       set, so the next redisplay will consider all windows; this should
+       suffice.
+
+2000-12-22  Kenichi Handa  <handa@etl.go.jp>
+
+       * coding.c (ccl_coding_driver): Initialize ccl->cr_consumed.
+
+       * ccl.h (struct ccl_program): New member cr_consumed.
+
+       * ccl.c (CCL_WRITE_CHAR): Don't handle EOL conversion here.
+       (CCL_READ_CHAR): Handle EOL conversion here.
+       (ccl_driver) <CCL_ReadMultibyteChar2>: Likewise.
+
+2000-12-21  Gerd Moellmann  <gerd@gnu.org>
+
+       * xdisp.c (Fdump_glyph_row) [GLYPH_DEBUG]: Add optional arg
+       GLYPHS.
+
+       * dispextern.h (GLYPH_EQUAL_P): Also compare pixel widths,
+       otherwise tabs of different size compare equal.
+
+       * callint.c (Fcall_interactively): Prevent a compiler warning.
+
+       * print.c (print_unwind): Return nil.
+       (PRINTDECLARE): Initialize all local variables.
+       (print_preprocess): Add a default case.
+
+       * lisp.h (Qinhibit_point_motion_hooks): Declare extern.
+
+       * undo.c (Fprimitive_undo): Bind `inhibit-point-motion-hooks' to t.
+
+       * window.c (delete_window, Fsplit_window) 
+       (Fset_window_configuration): Calls to ensure_frame_matrix removed.
+
+       * dispextern.h (ensure_frame_matrix): Function declaration removed.
+
+       * dispnew.c (ensure_frame_matrix): Removed.
+       (save_frame_matrix, restore_frame_matrix): New functions.
+       (adjust_frame_glyphs_for_frame_redisplay): Use them.
+
+       * xdisp.c (dump_glyph_row, dump_glyph_matrix, Fdump_glyph_matrix)
+       [GLYPH_DEBUG]: Extended to dump glyphs in short form.
+
+2000-12-21  Andrew Innes  <andrewi@gnu.org>
+
+       * w32term.c (x_update_begin): Regenerate the palette here, rather
+       than for each window.
+
+       * w32xfns.c (select_palette): Avoid calling SelectPalette if
+       palette is NULL, since this corrupts memory!  Also get
+       display_info reference from frame.
+
+2000-12-21  Jason Rumney  <jasonr@gnu.org>
+
+       * w32bdf.c (w32_init_bdf_font): Fix test for valid bmp heap.
+
+       * w32term.c (x_draw_hollow_cursor): Delay obtaining the frame's DC
+       to avoid returning without releasing it.
+
+2000-12-21  Kenichi Handa  <handa@etl.go.jp>
+
+       * keymap.c (push_key_description): Don't convert eight-bit-control
+       and eight-bit-graphic to multibyte character.
+
+       * charset.c (Fmake_char_internal): If CHARSET doesn't have a
+       generic character and CODE1 is nil, return the smallest character
+       in CHARSET.
+
+2000-12-20  Dave Love  <fx@gnu.org>
+
+       * s/osf5-0.h (NSIG): Don't redefine.
+
+2000-12-20  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * keymap.c (where_is_internal): Check ascii_sequence_p rather than
+       excluding menu-bar and tool-bar.
+       (Fwhere_is_internal): Check ascii_sequence_p when looking up the cache.
+       (menu_item_p): Remove.
+       (where_is_internal_1): Don't ignore menu-items.
+
+2000-12-20  Gerd Moellmann  <gerd@gnu.org>
+
+       * xdisp.c (hscroll_window_tree): Take window's min_hscroll
+       into account.
+
+       * window.c (make_window): Initialize window's min_hscroll.
+       (Fset_window_hscroll): Set window's hscroll and min_hscroll.
+       (set_window_buffer, temp_output_buffer_show): Set min_hscroll
+       to zero.
+       (struct saved_window): New member min_hscroll.
+       (SAVED_WINDOW_VECTOR_SIZE): Set to 17.
+       (Fset_window_configuration): Set window's min_hscroll.
+       (save_window_save): Save window's min_hscroll.
+       (compare_window_configurations): Compare min_hscroll values.
+
+       * window.h (struct window): New member min_hscroll.
+
+       * keyboard.c (echo_prompt): Prevent a compiler warning.
+
+       * xdisp.c (try_cursor_movement): Fix last change.  The real
+       condition is that PT is at the end of the row, and should
+       be displayed at the start of the next row.
+       
+       * xdisp.c (try_cursor_movement): If we end on a partially
+       visible line, end we already decided to scroll, return -1.
+
+       * dispextern.h (ensure_frame_matrix): Add prototype.
+
+       * window.c (delete_window, Fsplit_window)
+       (Fset_window_configuration): Call ensure_frame_matrix.
+
+       * dispnew.c (fake_current_matrices, ensure_frame_matrix): New
+       functions.
+       (adjust_frame_glyphs_for_frame_redisplay): If display has been
+       completed, call fake_current_matrices instead of marking frame
+       garbaged.
+
+2000-12-20  Jason Rumney  <jasonr@gnu.org>
+
+       * w32fns.c (syms_of_w32fns): Initialize and staticpro tip_frame.
+
+2000-12-19  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * fns.c (Frequire): Doc fix.
+
+2000-12-19  Gerd Moellmann  <gerd@gnu.org>
+
+       * window.c (window_scroll_pixel_based): Don't use
+       move_it_vertically.
+
+       * dispnew.c (direct_output_for_insert): Fix check for mini-window
+       currently displaying a message.
+
+       * bytecode.c (toplevel) [CHECK_FRAME_FONT]: Include frame.h and
+       xterm.h.
+       (Fbyte_code) [CHECK_FRAME_FONT]: Check the selected frame's font.
+
+2000-12-18  Andrew Innes  <andrewi@gnu.org>
+
+       * w32.c (w32_strerror): New function.
+
+       * w32.h (w32_strerror): New extern.
+
+       * w32fns.c (Fw32_shell_execute): Use it.
+
+2000-12-18  Gerd Moellmann  <gerd@gnu.org>
+
+       * s/hpux10.h (_FILE_OFFSET_BITS): Undef again.
+
+2000-12-18  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * msdos.c (IT_set_face): Obey inverse_video.
+
+2000-12-18  Kenichi Handa  <handa@etl.go.jp>
+
+       * dired.c (directory_files_internal): Always return decoded filenames.
+
+2000-12-18  Gerd Moellmann  <gerd@gnu.org>
+
+       * xterm.c (x_connection_closed): Prevent being called recursively
+       because of an error condition in XtCloseDisplay.
+       
+       * xdisp.c (init_iterator): If noninteractive, and the frame's
+       face cache is null, make one.
+
+       * xfns.c (show_busy_cursor): Check for live frames more
+       thoroughly.
+
+       * process.c (wait_reading_process_input): Check for pending
+       input when running timers.
+
+2000-12-18  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * msdos.c (IT_write_glyphs): Compute the glyph face from
+       str->face_id.
+
+2000-12-18  Kenichi Handa  <handa@etl.go.jp>
+
+       * process.c (read_process_output): Don't run a filter if the code
+       decoder produces nothing but carryover.
+
+2000-12-17  Andrew Innes  <andrewi@gnu.org>
+
+       * w32.c (sys_rename): Only check errno against EEXIST, and not
+       EACCES, when determining whether rename failed because the target
+       exists.  This was resulting in indefinite looping on Windows 9x if
+       the source file was locked by another process.
+
+       * w32fns.c (Ffile_system_info): New function.
+       (syms_of_w32fns): Defsubr it.
+
+2000-12-17  Gerd Moellmann  <gerd@gnu.org>
+
+       * window.c (coordinates_in_window): Fix computation for
+       position on vertical line between mode lines.
+
+       * xfns.c (unwind_create_frame): Return t if frame was deleted.
+       Don't alter tip_frame or tip_window.
+       (unwind_create_tip_frame): Set tip_frame to nil only if frame
+       was deleted.
+
+       * w32fns.c (unwind_create_frame): Return t if frame was deleted.
+       Don't alter tip_frame or tip_window.
+       (unwind_create_tip_frame): Set tip_frame to nil only if frame
+       was deleted.
+
+2000-12-16  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * fileio.c (Fcopy_file): Rename the last argument to keep_time, to
+       be consistent with the doc string.  Reported by NAKAJIMA Mikio
+       <minakaji@osaka.email.ne.jp>.
+
+2000-12-16  Kenichi Handa  <handa@etl.go.jp>
+
+       * xfaces.c (Vface_ignored_fonts): New variable.
+       (x_face_list_fonts): Ignore fonts matching Vface_ignored_fonts.
+       (syms_of_xfaces): Declare Vface_ignored_fonts as a Lisp variable.
+
+2000-12-15  Gerd Moellmann  <gerd@gnu.org>
+
+       * dispnew.c (update_window): Detect pending input every nth line
+       updated, i.e. do it depending on real work done, and not on the
+       vpos of the line.
+
+       * xterm.c (expose_window): Don't redraw the window that's
+       currently being updated.
+
+       * 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