+2001-01-03 Gerd Moellmann <gerd@gnu.org>
+
+ * window.c (Fwindow_end): Doc fix.
+
+2001-01-03 Dave Love <fx@gnu.org>
+
+ * dired.c (Ffile_attributes): Fix last change, removing BSD4_3
+ kluge.
+
+2001-01-03 Gerd Moellmann <gerd@gnu.org>
+
+ * xdisp.c (try_window_reusing_current_matrix): Fix bug setting
+ the enabled_p flag of the glyph row at window_end_vpos to 0.
+ (handle_single_display_prop): Fix last change.
+
+2001-01-02 Richard M. Stallman <rms@caffeine.ai.mit.edu>
+
+ * window.c (Frecenter): Doc fix.
+
+2001-01-02 Andrew Innes <andrewi@gnu.org>
+
+ * term.c (FRAME_TERMCAP_P) [WINDOWSNT]: Remove redefinition.
+
+ * frame.h (output_method): Add output_w32_console method.
+ (FRAME_W32_CONSOLE_P): New macro.
+
+ * frame.c (make_terminal_frame) [WINDOWSNT]: Make terminal frames
+ use output_w32_console method.
+ (Qw32_console): New Lisp_Object.
+ (Fframep): Return it.
+ (syms_of_frame): Init it.
+ (Fframe_parameters): Report w32console as font for w32_console
+ frames.
+
+ * xfaces.c (realize_default_face): Set face foreground and
+ background to unspecified for w32_console frames.
+ (realize_face): Realize face cache for w32_console frames.
+ (realize_tty_face): Accept w32_console frames.
+
+ * xdisp.c (handle_single_display_prop): Return if frame is
+ w32_console.
+ (init_iterator) [WINDOWSNT]: Initialize frame face cache if
+ necessary, even if running interactively.
+
+ * dispnew.c (Fredraw_frame): Call set_terminal_modes for
+ w32_console frames.
+
+ * w32term.c (x_update_begin):
+ (x_update_end):
+ (x_clear_frame):
+ (x_ins_del_lines):
+ (x_change_line_highlight):
+ (x_delete_glyphs):
+ (w32_ring_bell):
+ (x_update_begin):
+ (x_update_end):
+ (w32_reassert_line_highlight):
+ (w32_frame_rehighlight):
+ (w32_frame_raise_lower): Do nothing if not w32 frame.
+
+ * w32xfns.c (get_frame_dc): Abort if called on a non-w32 frame.
+
+ * w32fns.c (Fx_display_color_cells): Determine correct value, when
+ system doesn't tell us directly.
+ (Fx_display_visual_class): Implement properly.
+
+2001-01-02 Gerd Moellmann <gerd@gnu.org>
+
+ * window.c (Frecenter): Handle centering in graphical frames
+ specially. Centering on the basis of line counts doesn't work
+ reliably with variable-height lines.
+
+2001-01-02 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * widget.c (EmacsFrameSetCharSize): Remove unused variables `ac'
+ and al[].
+
+ * composite.c (run_composition_function): Remove unused variable
+ `val'.
+ (update_compositions): Remove unused variable `hook'.
+
+ * intervals.c (get_local_map): Remove unused variable `tem'.
+
+ * doprnt.c (doprnt1): Remove unused variable `size'.
+
+ * fns.c (Flength): Remove unused variable `tail'.
+ (Fdelete): Remove unused variable `size'.
+
+ * editfns.c (Ftranspose_regions): Remove unused variables `gcpro1'
+ and `gcpro2'.
+
+ * doc.c (Fsnarf_documentation): Remove unused variables `fun' and
+ `tem'.
+
+ * data.c (find_symbol_value): Remove extra 3rd argument in the
+ call to swap_in_symval_forwarding.
+
+ * undo.c (Fprimitive_undo): Remove unused block-scope variable
+ `end'.
+
+ * search.c (shrink_regexp_cache): Remove unused variable `cpp'.
+ (trivial_regexp_p): Remove unused variable `c'.
+ (boyer_moore): Remove unused variable `k'.
+
+ * indent.c (current_column): Remove unused variable `stopchar'.
+ (Fcompute_motion): Remove unused variable `contin'.
+
+ * casefiddle.c (casify_object): Remove unused variable `tolen'.
+
+ * dired.c (directory_files_internal): Fix a typo in a comment.
+ Remove an unused variable `handler'.
+ (file_name_completion): Remove unused function-scope variable
+ `dp'.
+ (Ffile_attributes) <dirname, sdir>: Make declarations conditioned
+ on BSD4_2.
+
+ * fileio.c (e_write): Remove unused variable
+ `require_encoding_p'.
+
+ * marker.c (Fmarker_position): Remove unused variables `pos', `i',
+ and `buf'.
+ (Fmarker_insertion_type): Remove unused variable `buf'.
+
+ * insdel.c (make_gap): Remove unused variable `result'.
+
+ * keyboard.c (record_char): Remove unused function-scope variable
+ `help'.
+ (kbd_buffer_get_event): Remove unused block-scope variable `idx'.
+ (menu_bar_items): Remove unused function-scope variable `tem'.
+
+ * fontset.c (fontset_ref): Remove unused variable `i'.
+ (fontset_set): Remove unused variables `j' and `tmp'.
+ (make_fontset): Remove unused variables `i', `j', `elt' and
+ `base_elt'.
+ (make_fontset_for_ascii_face): Remove unused variable `name'.
+ (fs_load_font): Remove unused variable `font_idx'.
+ (fs_query_fontset): Remove unused function-local variable
+ `fontset'.
+ (list_fontsets): Remove unused variable `tail'.
+ (Fnew_fontset): Remove unused variables `family' and `registry'.
+ (accumulate_font_info): Remove unused variable `tmp'.
+ (Ffontset_font): Remove unused variable `id'.
+ (syms_of_fontset): Remove unused variable `i'.
+
+ * xfns.c (x_display_info_for_name): Cast 0 to "char *" in the call
+ to x_term_init.
+ (lookup_image): Remove unused variable `file'.
+ (xbm_load): Remove unused variables `bitmap_data', `height', and
+ `width'. Remove function-local variable `i', leave the
+ block-local one.
+ (gif_load): Remove unused variable `inc'.
+
+ * xterm.c (XTread_socket): Remove unused variables `p' and
+ `pend'.
+ (XTread_socket) <LeaveNotify>: Remove unused variable `frame',
+ leave only the one in the inner block.
+
+ * xfaces.c (face_fontset, realize_default_face): Remove unused
+ variable `fontset'.
+ (face_at_buffer_position): Remove unused variable `multibyte_p'.
+
+ * term.c (encode_terminal_code): Remove unused variable `c'.
+
+ * ccl.c (Fccl_execute): Cast ccl_driver parameters to `unsigned
+ char *' instead of `char *'.
+
+ * category.c (Fcategory_docstring): Remove unused variable `doc'.
+ (Fget_unused_category): Remove unused variable
+ `docstring_vector'.
+ (Fchar_category_set): Remove unused variables `val', `charset',
+ `c1' and `c2'.
+
+ * coding.c (detect_coding_iso2022, setup_coding_system): Remove
+ unused variable `i'.
+ (detect_coding_mask): Remove unused variable `idx'.
+ (detect_coding): Remove unused variable `i'.
+ (ccl_coding_driver): Remove unused variable `result'.
+ (run_pre_post_conversion_on_str): Remove unused variable `prev'.
+ (decode_coding_string): Remove unused variables `to' and
+ `gcpro1'.
+ (encode_coding_string): Remove unused variables `gcpro1' and
+ `saved_coding_symbol'.
+ (Ffind_coding_systems_region_internal): Remove function-local
+ variable args[], leave only the block-local one.
+ (code_convert_region1): Remove unused variable `len'.
+
+ * charset.c (char_printable_p): Remove unused variable `chars'.
+ (Fsplit_char, Fchar_bytes): Remove unused variable `val'.
+ (str_to_multibyte): Remove unused variable `c'.
+
+ * window.c (size_window): Remove block-local variable `min_size'.
+
+ * xdisp.c (make_cursor_line_fully_visible): Remove unused variable
+ `header_line_height'.
+ (append_space, extend_face_to_end_of_line): Declare `saved_what'
+ enum display_element_type.
+
+2001-01-02 Gerd Moellmann <gerd@gnu.org>
+
+ * xterm.c (x_connection_closed): Catch X errors around all
+ statements that call X. Save away the error message in a local
+ copy.
+
+ * xterm.c (x_connection_closed): Set handling_signal to 0 at
+ the start.
+
+ * xdisp.c (pos_visible_p): Take into account that CHARPOS maybe
+ in or at the start of invisible text.
+
+ * dispnew.c (update_window): Don't check_current_matrix_flags.
+
+2001-01-01 Jason Rumney <jasonr@gnu.org>
+
+ * w32fns.c (x_figure_window_size): Do not allow new_height and
+ new_width of frame to override specified values.
+
+2000-12-30 Kenichi Handa <handa@etl.go.jp>
+
+ * composite.c (find_composition): Fix a code for searching
+ backward.
+
+2000-12-29 Gerd Moellmann <gerd@gnu.org>
+
+ * dispnew.c (check_current_matrix_flags) [GLYPH_DEBUG]: New
+ function.
+ (update_window) [GLYPH_DEBUG]: Call it.
+ (scrolling_window): Prevent including current rows which are below
+ what's displayed in the window.
+
+ * xdisp.c (try_window_reusing_current_matrix)
+ <new start <= old start>: Disable rows in the current matrix
+ which are below the window after scrolling.
+
+ * xdisp.c (move_it_by_lines): Don't do optimizations if NEED_Y_P
+ is zero. It's not worth the complexity.
+ (invisible_text_between_p): Put in #if 0 because unused.
+
+2000-12-28 Gerd Moellmann <gerd@gnu.org>
+
+ * xfns.c (Fx_backspace_delete_keys_p): Check library and server
+ XKB versions. Call XkbFreeKeyboard with 2nd arg 0.
+
+ * keyboard.c (echo_char): If C is an integer, always call
+ push_key_description. Former code could signal an invalid
+ character error.
+
+ * keymap.c (push_key_description): Add parameter FORCE_MULTIBYTE.
+ If set, print multibyte text.
+ (Fsingle_key_description): Call push_key_description with
+ FORCE_MULTIBYTE set.
+ (describe_buffer_bindings): Likewise.
+
+ * lisp.h (push_key_description): Add prototype.
+
+ * xdisp.c (echo_area_display): Bind redisplay-dont-pause to t
+ around the call to redisplay_internal.
+
+ * xfns.c: Use #if GLYPH_DEBUG instead of #ifdef GLYPH_DEBUG.
+
+ * dispnew.c: Use #if GLYPH_DEBUG instead of #ifdef GLYPH_DEBUG.
+
+2000-12-28 Kenichi Handa <handa@etl.go.jp>
+
+ * ccl.c (CCL_WRITE_CHAR): Check variable `extra_bytes'.
+ (ccl_driver): New local variable `extra_bytes'.
+
+ * ccl.h (struct ccl_spec): New member eight_bit_carryover.
+
+ * coding.c (setup_coding_system): Initialize
+ coding->spec.ccl.eight_bit_carryover.
+ (ccl_coding_driver): Pay attention to carried over 8-bit bytes.
+
+2000-12-28 Kenichi Handa <handa@etl.go.jp>
+
+ * coding.c (SAFE_ONE_MORE_BYTE): New macro.
+ (DECODE_EMACS_MULE_COMPOSITION_CHAR): New macro.
+ (DECODE_EMACS_MULE_COMPOSITION_RULE): New macro.
+ (decode_composition_emacs_mule): New function.
+ (decode_coding_emacs_mule): Decode composition sequence by calling
+ decode_composition_emacs_mule.
+ (ENCODE_COMPOSITION_EMACS_MULE): New macro.
+ (encode_coding_emacs_mule): Changed from macro to function. If
+ a text contains compositions, encode them correctly.
+ (setup_coding_system): Set coding->commong_flags for emacs-mule so
+ that decoding and encoding are required.
+
+2000-12-27 Gerd Moellmann <gerd@gnu.org>
+
+ * xfaces.c (PT_PER_INCH): New macro.
+ (xlfd_point_size): Compute real point size from font's pixel size.
+ (pixel_point_size, build_scalable_font_name): Use PT_PER_INCH
+ instead of 72.
+
+ * .gdbinit: Comment out the line pointing to the Lesstif source
+ directory.
+
+ * window.c (Frecenter): Use displayed_window_lines instead
+ of window_internal_height.
+
+ * xterm.c (syms_of_xterm): DEFVAR_LISP x-toolkit-scroll-bars
+ instead of x-toolkit-scroll-bars-p.
+ (Vx_toolkit_scroll_bars): Renamed from x_toolkit_scroll_bars_p.
+
+ * w32term.c (syms_of_xterm): DEFVAR_LISP x-toolkit-scroll-bars
+ instead of x-toolkit-scroll-bars-p.
+ (Vx_toolkit_scroll_bars): Renamed from x_toolkit_scroll_bars_p.
+
+ * dispnew.c (struct redisplay_history) [GLYPH_DEBUG]: New.
+ (REDISPLAY_HISTORY_SIZE) [GLYPH_DEBUG]: New macro.
+ (redisplay_history, history_idx, history_tick) [GLYPH_DEBUG]: New
+ variables.
+ (add_window_display_history, add_frame_display_history)
+ (Fdump_redisplay_history) [GLYPH_DEBUG]: New functions.
+ (build_frame_matrix_from_leaf_window): Remove unused code.
+ (build_frame_matrix_from_leaf_window) [GLYPH_DEBUG]: Add to
+ redisplay history.
+ (update_frame) [GLYPH_DEBUG]: Add to redisplay history.
+ (update_window) [GLYPH_DEBUG]: Likewise.
+ (syms_of_display): Defsubr dump-redisplay-history.
+
2000-12-23 Gerd Moellmann <gerd@gnu.org>
+ * keyboard.c (echo_prompt): Always set current_kboard->echoptr to
+ the end of the prompt. Set echo_after_prompt to the offset
+ of echoptr in echobuf.
+
* xdisp.c (init_from_display_pos): Pop until the iterator's
stack is empty; there may be frames for stretch or images
on the stack.