+2000-11-13 Gerd Moellmann <gerd@gnu.org>
+
+ * keyboard.c (show_help_echo): Call message3_nolog with number of
+ bytes in the help string as 2nd parameter, instead of the number
+ of characters.
+
+2000-11-13 Miles Bader <miles@gnu.org>
+
+ * lread.c (openp): Return -2 instead of 0 for the `remote file' case.
+ (Fload): Use new openp return protocol.
+ Don't try to use Vload_source_file_function to load .elc files.
+ * xfns.c (x_create_bitmap_from_file, x_find_image_file): Use new
+ openp return protocol.
+ * w32fns.c (x_create_bitmap_from_file, x_find_image_file): Likewise.
+
+2000-11-11 Kenichi Handa <handa@etl.go.jp>
+
+ * syssignal.h: Pay attention to BROKEN_SIGAIO and BROKEN_SIGPTY.
+
+ * m/ibmrs6000.h (BROKEN_SIGAIO, BROKEN_SIGPTY, BROKEN_SIGPOLL):
+ Defined these macros.
+ (NLIST_STRUCT): Avoid re-defining it.
+
+ * s/hpux10.h (C_SWITCH_X_SYSTEM): Include -I/usr/include/X11R6 and
+ -I/usr/contrib/X11R6/include.
+ (LD_SWITCH_X_DEFAULT): Include -L/usr/lib/X11R6.
+
+2000-11-10 Jason Rumney <jasonr@gnu.org>
+
+ * w32term.h (CP_8BIT, CP_UNICODE, CP_INVALID): New pseudo-codepages.
+
+ * w32term.c (w32_encode_char): Handle CP_UNICODE specially.
+ (w32_use_unicode_for_codepage): Use new pseudo-codepages.
+
+ * w32fns.c (Qw32_charset_hangeul): Rename to match w32 headers.
+ (Qw32_charset_vietnamese): New symbol.
+ (xlfd_charset_of_font): New function.
+ (w32_load_system_font): Use it.
+ (x_to_w32_charset): Use Fassoc to find charset info. Special case
+ when Vw32_charset_info_alist is nil to ensure default face always
+ has font. Use Fcar and Fcdr for safety.
+ (w32_to_x_charset): Use Vw32_charset_info_alist for mappings.
+ (w32_codepage_for_font): Use xlfd_charset_of_font. Use new
+ pseudo-codepages for special cases.
+ (w32_to_x_font): New parameter to allow charset portion to be
+ specified where there is many to one mapping. Callers changed.
+ (w32_list_fonts): Avoid listing fonts that won't display.
+
+2000-11-10 Gerd Moellmann <gerd@gnu.org>
+
+ * xfaces.c (Vface_alternative_font_registry_alist): New variable.
+ (font_list_1): Renamed from font_list.
+ (font_list): New function, trying alternative registries from
+ Vface_alternative_font_registry_alist.
+ (Finternal_set_alternative_font_registry_alist): New function.
+ (syms_of_xfaces): Initialize and Staticpro
+ Vface_alternative_font_registry_alist. Defsubr
+ Finternal_set_alternative_font_registry_alist.
+
+2000-11-09 Ken Raeburn <raeburn@gnu.org>
+
+ * lisp.h (Flooking_at): Declare.
+
+2000-11-09 Gerd Moellmann <gerd@gnu.org>
+
+ * dired.c (directory_files_internal): Fix a braino.
+
+ * dired.c (directory_files_internal): Add missing GCPRO's.
+ Some cleanup.
+
+2000-11-08 Gerd Moellmann <gerd@gnu.org>
+
+ * xdisp.c (syms_of_xdisp): Change doc of max-mini-window-height.
+ (resize_mini_window): Return quickly if Vresize_mini_window is
+ nil. Don't return if Vmax_mini_window_height is nil.
+
+ * xdisp.c (Vresize_mini_window, Qgrow_only): New variables.
+ (syms_of_xdisp): Initialize them.
+ (resize_mini_window): Act according to the setting of
+ Vresize_mini_window.
+ (syms_of_xdisp): Initialize Vmenu_bar_update_hook to nil.
+
+ * xterm.c (x_scroll_bar_create) [USE_TOOLKIT_SCROLL_BARS]: Map the
+ scroll bar widget after configuring it, so that it will appear at
+ the right position from the start.
+ (XTredeem_scroll_bar): Cleaned up.
+
+2000-11-08 Kenichi Handa <handa@etl.go.jp>
+
+ * xterm.c (VCENTER_BASELINE_OFFSET): Fix previous change. If the
+ font is taller than the frame line, we don't have to bias the
+ division by two.
+
+ * w32term.c (VCENTER_BASELINE_OFFSET): Likewise.
+
+2000-11-07 Dave Love <fx@gnu.org>
+
+ * config.in (HAVE_MKDIR): Add.
+
+ * callproc.c (Fcall_process_region) [HAVE_MKSTEMP]: Use it.
+
+2000-11-07 Gerd Moellmann <gerd@gnu.org>
+
+ * window.c (Fset_window_configuration): Don't try to preserve
+ point in the current buffer, if that buffer is displayed in more
+ than one window.
+
+ * xfaces.c (lookup_named_face): If default face isn't realized,
+ try to realize it. Return -1 if not successful.
+ (Fx_list_fonts): Handle case that face cannot be determined.
+ (Fface_font): Likewise.
+
+2000-11-06 Gerd Moellmann <gerd@gnu.org>
+
+ * window.c (displayed_window_lines): Detect partially
+ visible lines at the bottom correctly.
+
+2000-11-06 Stefan Monnier <monnier@cs.yale.edu>
+
+ * fileio.c (Fwrite_region): Use `visiting' rather than `visit'
+ when ensuring we don't do visit in indirect buffer.
+
+2000-11-06 Kenichi Handa <handa@etl.go.jp>
+
+ * composite.h (compose_chars_in_text): Add prototype.
+
+ * composite.c (Vcomposition_function_table): New variable.
+ (Qcomposition_function_table): New variable.
+ (run_composition_function): Call
+ Vcompose_chars_after_function with three arguments.
+ (compose_chars_in_text): New function.
+ (syms_of_composite): Modified the doc-string of
+ Vcompose_chars_after_function. Declare composition-function-table
+ as a lisp variable, and initialize it.
+
+ * xfns.c (x_encode_text): Suppress producing escape sequences for
+ composition.
+
+ * xselect.c: Include composite.h.
+ (selection_data_to_lisp_data): Call compose_chars_in_text on STR.
+
+2000-11-05 Andrew Innes <andrewi@gnu.org>
+
+ * w32term.c (x_produce_glyphs): Fix typo in enum name.
+
+ * sysdep.c (read_input_waiting): Remove extraneous argument to
+ read_socket_hook.
+
+ * w32fns.c (Fx_server_version): Include w32_build_number in the
+ return list.
+
+ * w32heap.c (w32_build_number): New variable.
+ (cache_system_info): Set it.
+
+ * w32heap.h (w32_build_number): Add extern.
+
+ * emacs.c (syms_of_emacs): Update docstring for
+ system-configuration, to reflect the actual usage on MS-Windows.
+
+2000-10-31 Gerd Moellmann <gerd@gnu.org>
+
+ * keyboard.c (read_char) <wrong_kboard>: Make sure that we
+ process idle timers while waiting for another event.
+
+ * dispnew.c (update_frame_line): Handle case where spaces in
+ the default face are colored.
+
+ * xdisp.c (redisplay_tool_bar): Don't set fonts_changed_p if
+ window height hasn't changed.
+
+2000-10-31 Jason Rumney <jasonr@gnu.org>
+
+ * w32term.c (x_produce_glyphs): Handle composite characters.
+ (x_draw_glyph_string_foreground)
+ (x_draw_composite_glyph_string_foreground): Restore old font.
+
+2000-10-31 Miles Bader <miles@lsi.nec.co.jp>
+
+ * minibuf.c (read_minibuf): Reset the undo history just before
+ starting the recursive-edit.
+
+2000-10-30 Gerd Moellmann <gerd@gnu.org>
+
+ * xfaces.c (menu_face_change_count): New variable.
+ (Finternal_set_lisp_face_attribute): Increment it for changes
+ of the `menu' face.
+ (realize_basic_faces): Reflect changes in the `menu' faces
+ in menu bars.
+
+ * xdisp.c (try_scrolling) <PT >= scroll_margin_pos>: Add 1 to the
+ dy obtained from the iterator's y-position after moving from
+ scroll_margin_pos to PT; see comment there.
+
+ * xdisp.c (safe_eval_handler): Call add_to_log.
+
+ * xfaces.c (resolve_face_name): Handle case that FACE_NAME
+ is not a symbol or string.
+
+ * xdisp.c (echo_area_display): Don't perform a display update from
+ inside redisplay. The update will happen anyway at the end of
+ redisplay, and it can confuse redisplay (GC messages while
+ redisplaying, for instance.)
+
+2000-10-30 Stefan Monnier <monnier@cs.yale.edu>
+
+ * xrdb.c (x_load_resources): Use the class name in the defaults.
+
+ * regex.c (re_iswctype, re_wctype_to_bit): Fix braino.
+ (regex_compile): Catch bogus \(\1\).
+
+2000-10-30 Gerd Moellmann <gerd@gnu.org>
+
+ * xterm.c (x_alloc_nearest_color): Fix last change to compare
+ RGB values.
+
+ * xterm.c (x_alloc_nearest_color): If allocation succeeds, and
+ we have a color cache, check that the cached color equals the
+ allocated color. If not, clear the color cache.
+
+ * window.c (displayed_window_lines): Change buffers if necessary.
+ Fix computation of displayed lines.
+
+ * keyboard.c (syms_of_keyboard): Change DEFVAR_LISP of
+ update_menu_bindings to DEFVAR_BOOL.
+
+2000-10-30 Kenichi Handa <handa@etl.go.jp>
+
+ * search.c (Fset_match_data): Be sure to make search_regs always sane.
+
+ * puresize.h (BASE_PURESIZE): Increase to 680000.
+
+ * fns.c (Foptimize_char_table): Fix arg for CHARSET_DIMENSION.
+
+2000-10-29 Jason Rumney <jasonr@gnu.org>
+
+ * w32term.h (FONT_DESCENT): Negate descent of BDF fonts.
+
+ * w32term.c (w32_bdf_per_char_metric): Negate descent.
+ (w32_cache_char_metrics): Handle possibility that 'x' does not
+ exist in a BDF font.
+ (W32_TEXTOUT): w32_BDF_TextOut wants number of bytes not chars.
+
+ * w32bdf.h (bdffont): Add nchars.
+
+ * w32bdf.c (set_bdf_font_info): Set it.
+ (w32_BDF_TextOut): Swap byte order of double byte characters.
+ (w32_load_bdf_font): Set double_byte_p based on bdf_font->nchars.
+
+2000-10-28 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * frame.c (Fframe_parameters): Fix the change from 2000-10-16:
+ don't override the colors in frame's param_alist, unless they are
+ unspecified.
+
+ * term.c (reassert_line_highlight): If inverse_video is non-zero,
+ reverse the effect of the highlight flag.
+
+2000-10-27 Ken Raeburn <raeburn@gnu.org>
+
+ * window.h (Fwindow_live_p): Declare.
+
+ * undo.c (record_delete): Check that last_undo_buffer is really a
+ buffer before applying XBUFFER to it.
+
+ * keymap.c (where_is_internal): Pass lisp object, not integer, to
+ Faref.
+
+2000-10-27 Stefan Monnier <monnier@cs.yale.edu>
+
+ * lisp.h (KEYMAPP): New macro.
+ (get_keymap): Remove.
+ (get_keymap_1): Rename get_keymap.
+
+ * keyboard.h (get_keymap_1, Fkeymapp): Remove prototype.
+
+ * xterm.c (note_mode_line_highlight): Use KEYMAPP.
+
+ * xmenu.c (single_submenu): Use KEYMAPP.
+ (Fx_popup_menu): Fetch keymaps rather than checking Fkeymapp.
+ Use KEYMAPP rather than Fkeymapp.
+
+ * w32term.c (note_mode_line_highlight): Use KEYMAPP.
+
+ * w32menu.c (True, False): Remove (use TRUE and FALSE instead).
+ (Fx_popup_menu): Fetch keymaps rather than checking Fkeymapp.
+ Use KEYMAPP rather than Fkeymapp.
+ (single_submenu): Use KEYMAPP.
+ (w32_menu_show, w32_dialog_show): Use TRUE.
+
+ * minibuf.c (Fread_from_minibuffer): Update call to get_keymap.
+
+ * keymap.c (KEYMAPP): Remove (moved to lisp.h).
+ (Fkeymapp): Use KEYMAPP.
+ (get_keymap): Rename from get_keymap_1. Remove old def.
+ Return t when autoload=0 and error=0 and the keymap needs autoloading.
+ (Fcopy_keymap): Check (eq (car x) 'keymap) rather than using Fkeymapp.
+ (Fminor_mode_key_binding): Don't raise an error if the binding
+ is not a keymap.
+ (Fuse_global_map, Fuse_local_map): Allow autoloading.
+ (Faccessible_keymaps): Fetch keymaps rather than checking Fkeymapp.
+
+ * keyboard.c (read_char): get_keymap_1 -> get_keymap.
+ Allow Vspecial_event_map to be autoloaded.
+ (menu_bar_items): Fetch the keymap rather than using keymapp.
+ (menu_bar_one_keymap): No need to follow func-indirect any more.
+ (parse_menu_item): get_keymap_1 -> get_keymap.
+ (tool_bar_items): Fetch the keymap rather than using keymapp.
+ (read_key_sequence): Use KEYMAPP.
+
+ * intervals.c (get_local_map): Use get_keymap rather than following
+ function-indirections explicitly.
+
+ * doc.c (Fsubstitute_command_keys): get_keymap_1 -> get_keymap.
+
+2000-10-27 Jason Rumney <jasonr@gnu.org>
+
+ * w32fns.c (Fx_create_frame): Make default fontsize on w32 10
+ point, as Windows has oversized fonts.
+
+ * fontset.c (syms_of_fontset) [WINDOWSNT]: Likewise.
+
+2000-10-27 Gerd Moellmann <gerd@gnu.org>
+
+ * gmalloc.c [GC_MCHECK]: Add code from mcheck.c of glibc-1.09.1.
+ (freehook, reallochook): Handle null pointer arguments.
+ (__malloc_initialize) [GC_MCHECK]: Call mcheck.
+
+2000-10-27 Stefan Monnier <monnier@cs.yale.edu>
+
+ * regex.c (POP_FAILURE_REG_OR_COUNT, re_match_2_internal)
+ (re_match_2_internal, re_match_2_internal, re_match_2_internal):
+ Giving in to popular pressure to shut up the compiler with casts.
+
+2000-10-27 Gerd Moellmann <gerd@gnu.org>
+
+ * xterm.c (x_draw_glyph_string): Treat XA_UNDERLINE_POSITION as a
+ signed value, and use a default value computed from the font's
+ maximum descent.
+
2000-10-27 Miles Bader <miles@lsi.nec.co.jp>
* xterm.c (x_draw_glyph_string): Add a workaround so that fonts