(mmap_enlarge): Don't print a message on stderr
[bpt/emacs.git] / src / ChangeLog
index fd0fac8..0146a54 100644 (file)
@@ -1,3 +1,294 @@
+2000-11-18  Gerd Moellmann  <gerd@gnu.org>
+
+       * buffer.c (mmap_enlarge): Don't print a message on stderr
+       if mapping new memory at the end of the existing region fails.
+
+       * dispnew.c (update_text_area): Don't skip over equal glyphs
+       when the last current glyph overlaps the glyph to its right.
+
+2000-11-18  Miles Bader  <miles@gnu.org>
+
+       * xdisp.c (message_log_check_duplicate): Let "..."-detection match
+       lines that *end* with "..." too (that's the most common case!).
+
+2000-11-18  Gerd Moellmann  <gerd@gnu.org>
+
+       * xdisp.c (resize_mini_window): Temporarily change to the
+       mini-window's buffer if necessary.
+
+       * xfns.c (Fx_show_tip): Use default y-offset of -10 so that
+       the tooltip obscures less text under it.
+
+2000-11-17  Gerd Moellmann  <gerd@gnu.org>
+
+       * puresize.h (BASE_PURESIZE): Increase to 700000.
+
+2000-11-18  Jason Rumney  <jasonr@gnu.org>
+
+       * w32term.c (w32_draw_bitmap): Use face to set colors.
+
+2000-11-17  Dave Love  <fx@gnu.org>
+
+       * lread.c (Fload): Fix #ifdef for pcc.
+
+2000-11-17  Gerd Moellmann  <gerd@gnu.org>
+
+       * xdisp.c (pos_visible_p): Compute the default character height
+       differently.
+
+2000-11-16  Gerd Moellmann  <gerd@gnu.org>
+
+       * xdisp.c (pos_visible_p): Handle case that we reach ZV without
+       knowing the line's height; use the default font's height in that
+       case.
+
+       * xfaces.c (weight_table): Add `demi' with the same meaning as
+       `demibold'.
+
+2000-11-16  Kenichi Handa  <handa@etl.go.jp>
+
+       * dispnew.c (null_row): New global static variable.
+       (clear_glyph_row): Delete local static variable null_row.
+
+2000-11-15  Jason Rumney  <jasonr@gnu.org>
+
+       * w32term.c (HIGHLIGHT_COLOR_DARK_BOOST_LIMIT): New constant.
+       (w32_alloc_lighter_color): Use new brightness calculations from
+       xterm.c. Scale delta to be in the range expected by W32.
+       (w32_draw_relief_rect): Use frame relief colors.
+
+2000-11-15  Gerd Moellmann  <gerd@gnu.org>
+
+       * frame.c (syms_of_frame_1): Removed; code moved to syms_of_frame.
+       (Qinhibit_default_face_x_resources): New variable.
+       (syms_of_frame): Initialize it.
+       (Fmodify_frame_parameters): Bind inhibit-default-face-x-resources.
+
+       * xdisp.c (pos_visible_p): Improve function comment.
+
+       * lisp.h (BINDING_STACK_SIZE): New macro.
+
+       * dired.c (directory_files_internal) [EAGAIN || EINTR]: Retry
+       reading the directory if readdir returns null and errno is EAGAIN
+       or EINTR.
+
+2000-11-14  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * xdisp.c (try_scrolling): Set scroll_max to max of scroll_* args
+       so setting scroll-step to 1 doesn't defeat scroll-conservatively.
+       Set amount_to_scroll to max of dx and scroll_step so that
+       scroll-conservatively doesn't defeat scroll-step>1.
+       (syms_of_xdisp): Add a hint in scroll-step's docstring to use
+       scroll-conservatively for line-at-a-time scrolling.
+
+2000-11-14  Gerd Moellmann  <gerd@gnu.org>
+
+       * window.c (Fpos_visible_in_window_p): Call pos_visible with
+       extra argument.
+
+       * xdisp.c (current_mode_line_height, current_header_line_height):
+       New variables.
+       (init_xdisp): Initialize them.
+       (pos_visible_p): Add parameter EXACT_MODE_LINE_HEIGHTS_P.  Compute
+       and use exact mode line heights if it is set.
+
+       * lisp.h (pos_visible_p): Change prototype.
+
+       * dispextern.h (CURRENT_MODE_LINE_HEIGHT)
+       (CURRENT_HEADER_LINE_HEIGHT):  Look at current_mode_line_height
+       and current_header_line_height first.
+       (current_mode_line_height, current_header_line_height): Declare
+       extern.
+
+2000-11-14  Miles Bader  <miles@lsi.nec.co.jp>
+
+       * xterm.c (x_alloc_lighter_color): Use real brightness calculation.
+       Just use FACTOR/2 instead of HIGHLIGHT_COLOR_DARK_BOOST.
+       (HIGHLIGHT_COLOR_DARK_BOOST): Macro removed.
+
+2000-11-14  Miles Bader  <miles@gnu.org>
+
+       * xterm.c (x_alloc_lighter_color): Include an additive component
+       too for dark colors, because FACTOR isn't enough.
+       (HIGHLIGHT_COLOR_DARK_BOOST, HIGHLIGHT_COLOR_DARK_BOOST_LIMIT):
+       New macros.
+
+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_MKSTEMP): 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