(Fset_process_window_size): Fix a typo.
[bpt/emacs.git] / src / ChangeLog
index 4e9cd28..7e7a269 100644 (file)
@@ -1,3 +1,367 @@
+2001-03-08  Gerd Moellmann  <gerd@gnu.org>
+
+       * process.c (Fset_process_window_size): Fix a typo.
+
+2001-03-08  Kenichi Handa  <handa@etl.go.jp>
+
+       * coding.c (detect_coding_sjis): Do more rigid check.
+       (detect_coding_big5): Likewise.
+       (decode_coding_sjis_big5): Likewise.
+       (Fdetect_coding_region): Call detect_coding_system with tailing
+       anchor byte `\0' for more rigid detection.
+       (detect_coding_mask): Fix the incorrect handling of arg
+       MULTIBYTEP.
+       (Fdetect_coding_string): Likewise.
+
+2001-03-07  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * bytecode.c (Fbyte_code) <Btemp_output_buffer_setup>: Check the arg is
+       a string before extracting its data.
+
+2001-03-07  Gerd Moellmann  <gerd@gnu.org>
+
+       * window.c (Frecenter): Rewrite code handling negative values
+       of ARG on graphical frames.
+
+2001-03-07  Eli Zaretskii  <a34785@is.elta.co.il>
+
+       * window.c (displayed_window_lines): If W->start is outside the
+       accessible portion of the buffer, call start_display with BEGV or
+       ZV instead of W->start.
+
+2001-03-07  Gerd Moellmann  <gerd@gnu.org>
+
+       * buffer.c (syms_of_buffer) <header-line-format>: Doc fix.
+
+       * process.c (Fset_process_filter): Don't crash if the input
+       file descriptor of PROCESS is closed.
+       (Fset_process_window_size): Likewise.
+
+2001-03-06  Kenichi Handa  <handa@etl.go.jp>
+
+       * xterm.c (XTflash): Make the timeout of select shorter, and call
+       select repeatedly until the desired time expires.
+
+2001-03-06  Gerd Moellmann  <gerd@gnu.org>
+
+       * w32fns.c (Fx_create_frame): Clear Vwindow_list.
+
+       * xfns.c (Fx_create_frame): Clear Vwindow_list.
+
+       * lisp.h (Vwindow_list): Declare extern.
+
+2001-03-06  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * dispnew.c (syms_of_display) <glyph-table>: Doc fix.
+
+2001-03-06  Gerd Moellmann  <gerd@gnu.org>
+
+       * xterm.c (note_mouse_highlight): Call mouse_face_overlay_overlaps
+       to detect a case where we have to highlight a different region
+       despite not having left the currently highlighted region.
+       Set mouse_face_overlay in the x_display_info.
+       (x_term_init): Initialize the x_display_info's mouse_face_overlay.
+
+       * xterm.h (struct x_display_info): Add mouse_face_overlay.
+
+       * buffer.c (mouse_face_overlay_overlaps): New function.
+
+       * lisp.h (mouse_face_overlay_overlaps): Add prototype.
+       (Qmouse_face): Declare extern.
+
+       * xdisp.c (redisplay_internal): Set windows_or_buffers_changed
+       if face_change_count is non-zero.
+
+2001-03-06  Kenichi Handa  <handa@etl.go.jp>
+
+       * ccl.c (ccl_driver) <CCL_ReadMultibyteChar2>: Fix for the case
+       that the source is unibyte.
+
+2001-03-05  Dave Love  <fx@gnu.org>
+
+       * xterm.c (XTmouse_position): Fix typo.
+
+2001-03-05  Gerd Moellmann  <gerd@gnu.org>
+
+       * minibuf.c (read_minibuf): Clean up the binding stack if
+       called noninteractively.
+
+2001-03-05  Kenichi Handa  <handa@etl.go.jp>
+
+       * coding.c (syms_of_coding): Docstring modified.
+
+2001-03-05  Kenichi Handa  <handa@etl.go.jp>
+
+       * charset.c (char_to_string): If a single byte char has modifier
+       bits that can't be reflected to the character code, ignore them
+       instead of signaling an error.
+
+2001-03-04  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * s/msdos.h: Update copyright notice.
+
+       * dosfns.h: Update copyright notice.
+
+       * dosfns.c: Update copyright notice.
+
+       * msdos.c: Update copyright notice.
+
+2001-03-02  Gerd Moellmann  <gerd@gnu.org>
+
+       * xterm.c (glyph_rect): New function.
+       (XTmouse_position): Use it to raise the threshold for mouse
+       movement event generation.
+
+2001-03-02  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * msdos.c (Fmsdos_remember_default_colors): If default-frame-alist
+       specifies (reverse . t), reverse the initial screen colors.
+       (IT_set_frame_parameters): If the property is foreground-color,
+       but we are reversing the colors, set bg_set, not fg_set.  Likewise
+       for setting background-color and reversing: set fg_set.  Set
+       unspecified-fg and unspecified-bg correctly when (reverse . t) is
+       in effect.
+
+       * xfaces.c (Finternal_set_lisp_face_attribute)
+       [!HAVE_WINDOW_SYSTEM]: Record the new attribute in the frame's
+       parameters alist.
+
+2001-03-02  Gerd Moellmann  <gerd@gnu.org>
+
+       * fileio.c (Fexpand_file_name): Collapse sequences of slashes
+       to a single slash in the middle of file names.
+
+       * editfns.c (Fcurrent_time_zone) [HAVE_TM_ZONE || HAVE_TZNAME]: 
+       Accept only alphanumeric time zone names.
+
+       * xterm.c (XTset_vertical_scroll_bar): Don't clear a zero height
+       or width area.
+       (XTset_vertical_scroll_bar, x_scroll_bar_create): Don't configure
+       a widget to zero height.
+       
+2001-03-01  Gerd Moellmann  <gerd@gnu.org>
+
+       * window.c (Fwindow_end): Call move_it_past_eol only if
+       ending up on a partially visible line.
+
+2001-03-01  Dave Love  <fx@gnu.org>
+
+       * ccl.c (Fccl_execute): Doc fix.
+
+2001-03-01  Gerd Moellmann  <gerd@gnu.org>
+
+       * xfns.c (Fx_create_frame): Adjust the frame's height for presence
+       of the tool bar before calling x_figure_window_size.
+
+       * xmenu.c (free_frame_menubar): Set the frame's menubar_widget to
+       NULL after destroying it, otherwise XTread_socket can access a
+       destroyed widget when input is unblocked.
+
+       * xfns.c (x_set_foreground_color): Set the background of the cursor GC.
+       
+       * xfns.c (x_set_font): Handle case of x_new_fontset returning the
+       same name as before, although there was a change in fontsets.
+
+2001-02-28  Ken Raeburn  <raeburn@gnu.org>
+
+       * lisp.h (Fframe_parameter): Declare.
+
+       * window.c (set_window_buffer): Field vscroll is an int, not a
+       Lisp_Object.
+
+2001-02-28  Gerd Moellmann  <gerd@gnu.org>
+
+       * xterm.c (x_set_window_size): Don't use `None' with widgets; use
+       NULL instead.
+
+       * xfns.c (Fx_hide_tip): Don't use `None' with widgets; use
+       NULL instead.
+
+       * alloc.c (toplevel): Include process.h.
+       (enum mem_type): Add MEM_TYPE_PROCESS, MEM_TYPE_HASH_TABLE,
+       MEM_TYPE_FRAME, MEM_TYPE_WINDOW enumerators.
+       (allocate_vectorlike): Make it a static function.  Add parameter TYPE.
+       (allocate_vector, allocate_hash_table, allocate_window) 
+       (allocate_frame, allocate_process, allocate_other_vector): New
+       functions.
+       (Fmake_vector): Call allocate_vector instead of allocate_vectorlike.
+       (mark_maybe_pointer): New function.
+       (mark_memory): Also mark Lisp data to which only pointers 
+       remain and not Lisp_Objects.
+       (min_heap_address, max_heap_address): New variables.
+       (mem_find): Return MEM_NIL if START is below min_heap_address or
+       above max_heap_address.
+       (mem_insert): Compute min_heap_address and max_heap_address.
+
+       * process.c (make_process): Use allocate_process.
+
+       * frame.c (make_frame): Use allocate_frame.
+
+       * window.c (make_window, make_dummy_parent): Use allocate_window.
+       (Fcurrent_window_configuration): Use allocate_other_vector.
+
+       * lisp.h (allocate_vectorlike): Remove prototype.
+       (allocate_vector, allocate_other_vector, allocate_frame)
+       (allocate_window, allocate_process, allocate_hash_table):
+       Add prototypes.
+
+       * fns.c (Fdelete, larger_vector): Use allocate_vector.
+       (make_hash_table, copy_hash_table): Use allocate_hash_table.
+
+2001-02-27  Kenichi Handa  <handa@etl.go.jp>
+
+       * coding.c (ccl_coding_driver): If ccl->eight_bit_control is zero,
+       treat the produced bytes as a valid multibyte sequence.
+
+       * ccl.c (CCL_WRITE_MULTIBYTE_CHAR): New macro.
+       (ccl_driver) <CCL_WriteMultibyteChar2>: Use
+       CCL_WRITE_MULTIBYTE_CHAR instead of CCL_WRITE_CHAR.
+       <ccl_finish>: Set ccl->eight_bit_control properly.
+
+       * ccl.h (struct ccl_program): New member eight_bit_control.
+
+2001-02-26  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * keymap.c (Faccessible_keymaps): Pass `is_metized' to
+       accessible_keymaps_char_table.
+       (accessible_keymaps_char_table): Obey `is_metized'.
+       (where_is_internal, Fwhere_is_internal): Don't confuse int and
+       Lisp_Object.
+
+2001-02-26  Gerd Moellmann  <gerd@gnu.org>
+
+       * dispnew.c: Check HAVE_TERM_H before including term.h.
+
+2001-02-24  Andrew Innes  <andrewi@gnu.org>
+
+       * makefile.w32-in: Update copyright notice.
+
+2001-02-24  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * keymap.c (where_is_internal): Accept non-ascii integer prefixes.
+
+2001-02-24  Kenichi Handa  <handa@etl.go.jp>
+
+       * Makefile.in (lisp): Add international/utf-8.elc.
+
+       * fontset.c (Fnew_fontset): Fix handling of the case that an
+       element of FONTLIST is a cons of family and registry.
+
+2001-02-23  Jason Rumney  <jasonr@gnu.org>
+
+       * w32fns.c (Fx_create_frame): Don't add FRAME_TOOL_BAR_LINES
+       to height unconditionally.
+
+       * w32term.c (x_set_glyph_string_background_width): Extend the
+       background face to the end of the drawing area in the text area,
+       only.
+       (x_insert_glyphs): Call window_box_left to obtain the left
+       x-coordinate of the area to shift.
+
+       * w32menu.c (set_frame_menubar): Run activate-menu-bar-hook with
+       safe_run_hooks.
+
+2001-02-22  Andrew Innes  <andrewi@gnu.org>
+
+       * makefile.nt ($(BLD)\dired.obj): Remove reference to VMS header
+       files.
+       ($(BLD)\dispnew.obj):
+       ($(BLD)\editfns.obj):
+       ($(BLD)\fileio.obj):
+       ($(BLD)\filelock.obj):
+       ($(BLD)\keyboard.obj):
+       ($(BLD)\w32proc.obj):
+       ($(BLD)\process.obj):
+       ($(BLD)\sysdep.obj): Ditto.
+
+       * makefile.w32-in ($(BLD)/dired.$(O)): Remove reference to VMS
+       header files.
+       ($(BLD)/dispnew.$(O)): 
+       ($(BLD)/editfns.$(O)): 
+       ($(BLD)/fileio.$(O)): 
+       ($(BLD)/filelock.$(O)): 
+       ($(BLD)/keyboard.$(O)): 
+       ($(BLD)/w32proc.$(O)): 
+       ($(BLD)/process.$(O)): 
+       ($(BLD)/sysdep.$(O)): Ditto.
+
+2001-02-22  Gerd Moellmann  <gerd@gnu.org>
+
+       * xdisp.c (forward_to_next_line_start): When taking the shortcut
+       at the start of the function, check that the \n in it->c is
+       from the iterator's current position.
+       
+       * xdisp.c (handle_single_display_prop): Add parameter
+       DISPLAY_REPLACED_BEFORE_P.  If it is non-zero ignore display
+       properties which replace the display of text with something else.
+       (handle_display_prop): Call handle_single_display_prop with
+       additional argument saying if we already replaced text display
+       with something else.  Use AREF.
+       (with_echo_area_buffer_unwind_data, display_menu_bar) 
+       (decode_mode_spec_coding): Use AREF and ASIZE.
+
+       * vms-pp.c, vmsdir.h, vmsmap.c, vmsproc.h, vms-pp.trans, vmsfns.c,
+       * vmspaths.h, vmstime.c, vms-pwd.h, vmsgmalloc.c, vmsproc.c,
+       * vmstime.h: Files removed.
+       
+       * unexencap.c, unexfx2800.c: Files removed.
+
+       * dispnew.c (direct_output_for_insert): Give up if we are showing
+       a message or just cleared the message because we might need to
+       resize the echo area window or display an empty echo area.
+
+2001-02-21  Gerd Moellmann  <gerd@gnu.org>
+
+       * xdisp.c (redisplay_internal): Do the
+       mark_window_display_accurate after all windows have been
+       redisplayed because this call resets flags in buffers which are
+       needed for proper redisplay.
+
+       * keyboard.c, minibuf.c, lread.c, fns.c, eval.c: Use
+       display_hourglass_p, start_hourglass, cancel_hourglass instead of
+       the old names.
+
+       * w32term.h (struct x_output): Rename busy_cursor to
+       hourglass_cursor, busy_window to hourglass_window, busy_p to
+       hourglass_p.
+
+       * msdos.h (struct x_output): Rename busy_window to
+       hourglass_window, busy_p to hourglass_p.
+
+       * xterm.h (struct x_output): Rename busy_cursor to
+       hourglass_cursor, busy_window to hourglass_window, busy_p to
+       hourglass_p.
+
+       * xfns.c: Rename everything containing *busy_cursor* and similar
+       to *hourglass*.
+       (syms_of_w32fns): Rename x-busy-pointer-shape to
+       x-hourglass-pointer-shape, display-busy-cursor to
+       display-hourglass, busy-cursor-delay to hourglass-delay.
+
+       * w32fns.c: Rename everything containing *busy_cursor* and similar
+       to *hourglass*.
+       (syms_of_w32fns): Rename x-busy-pointer-shape to
+       x-hourglass-pointer-shape, display-busy-cursor to
+       display-hourglass, busy-cursor-delay to hourglass-delay.
+
+       * xterm.c (XTread_socket): Test x_output's hourglass_p instead
+       of its busy_p flag.
+
+       * dispextern.h (start_hourglass, cancel_hourglass)
+       (display_hourglass_p): Renamed from *busy_cursor*.
+
+2001-02-20  Gerd Moellmann  <gerd@gnu.org>
+
+       * keyboard.c (read_char): When an event from unread-command-events
+       is from the tool or menu bar, set *USE_MOUSE_MENU to 1.
+
+       * window.c (Fwindow_end): Handle case that WINDOW's buffer is not
+       equal to the current buffer.
+
+       * xdisp.c (setup_echo_area_for_printing): Set truncate_lines to
+       nil, otherwise we're left with truncate_lines t when a message
+       is printed with message-truncate-lines bound to t.
+
 2001-02-19  Gerd Moellmann  <gerd@gnu.org>
 
        * window.c (Fmove_to_window_line): Undo last change.