*** empty log message ***
[bpt/emacs.git] / src / ChangeLog
index 2c31f91..4e25473 100644 (file)
@@ -1,3 +1,239 @@
+2001-12-18  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * Makefile.in (lisp, shortlisp): Synchronize with changes to
+       lisp/Makefile.in:DONTCOMPILE.
+
+2001-12-18  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * xdisp.c (window_box_height): Do not return negative values.
+       From Gerd Moellmann <gerd@gnu.org>.
+
+       * keyboard.c (head_table): Add missing braces around initializer.
+
+       * term.c (keys): Likewise.
+
+       * xfns.c (x_frame_parms, visual_classes): Likewise.
+
+2001-12-17  Sam Steingold  <sds@gnu.org>
+
+       * coding.c (DECODE_COMPOSITION_END): Fixed a typo in the last
+       patch (COMPOSING_P, not COMPOSING).
+
+2001-12-17  Richard M. Stallman  <rms@gnu.org>
+
+       * editfns.c (Fcompare_buffer_substrings): Add QUIT to main loop.
+
+       * coding.c (code_convert_region): Update coding->cmp_data->char_offset
+       before calling decode_coding.
+
+       * charset.c (Fdefine_charset): Call Fupdate_coding_systems_internal.
+
+       * coding.c (DECODE_COMPOSITION_END): Check for ! COMPOSING_P (coding)
+       instead of only for COMPOSITION_DISABLED.
+
+2001-12-16  Richard M. Stallman  <rms@gnu.org>
+
+       * alloc.c (pure_alloc): After overflow, allocate just a small block.
+
+       * Makefile.in (xmenu.o, xterm.o, fontset.o): Depend on buffer.h.
+
+       * buffer.h (struct buffer): New field `display_error_modiff'.
+       * buffer.c (reset_buffer): Initialize `display_error_modiff'.
+
+       * window.c (Frecenter): Clear display_error_modiff field.
+
+       * xdisp.c (redisplay_window_0, redisplay_window_1): New functions.
+       Call redisplay_window, but not if display_error_modiff field says no.
+       (redisplay_window_error): New function.
+       (displayed_buffer): New variable.
+       (redisplay_internal, redisplay_windows): Call the new functions
+       instead of redisplay_window directly.
+
+2001-12-15  Richard M. Stallman  <rms@gnu.org>
+
+       * keyboard.c (syms_of_keyboard) <double-click-fuzz>: Doc fix.
+
+2001-12-14  Andrew Innes  <andrewi@gnu.org>
+
+       * makefile.w32-in (EMACSLOADPATH): Define.
+       ($(EMACS)): Run `list-load-path-shadows' after dumping emacs.
+       (bootstrap-temacs): Remove dependency on bootstrap-clean.
+
+2001-12-13  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * xfns.c (x_report_frame_params): Make the scroll-bar-width frame
+       parameter have a numeric value all the time.
+
+       * w32fns.c (x_report_frame_params): Likewise.
+
+2001-12-12  Richard M. Stallman  <rms@gnu.org>
+
+       * fileio.c (Fwrite_region): Doc fix.
+
+       * xdisp.c (CLEAR_FACE_CACHE_COUNT): Redefine as 500.
+       (redisplay_internal): Call clear_image_cache only for window terminals.
+
+2001-12-12  Gerd Moellmann  <gerd@gnu.org>
+
+       * xdisp.c (move_it_vertically_backward): Change heuristic
+       for the case that we didn't move far enough initially.
+
+       * window.c (Frecenter): Simplify computation in the case of window
+       system frames and ARG < 0; use window_box_height.
+
+2001-12-11  Richard M. Stallman  <rms@gnu.org>
+
+       * Makefile.in, mem-limits.h, dispnew.c, emacs.c, fileio.c:
+       * process.c, sysdep.c, unexec.c: Test GNU_LINUX, not LINUX.
+
+2001-12-11  Andrew Innes  <andrewi@gnu.org>
+
+       * insdel.c (make_gap) [DOUG_LEA_MALLOC]: Call make_gap_smaller if
+       arg is negative.
+
+2001-12-11  Richard M. Stallman  <rms@gnu.org>
+
+       * m/hp800.h: Split the __hpux conditional into the parts
+       that are right for GNU/Linux too and the parts that are not.
+       Use the former if GNU_LINUX.
+       (HAVE_ALLOCA, LOAD_AVE_TYPE, LOAD_AVE_CVT): New defs for GNU/Linux.
+
+       * s/gnu-linux.h (GNU_LINUX): Defined.
+
+2001-12-11  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * macros.c, msdos.c, w16select.c: Change doc-string comments to
+       `new style' [w/`doc:' keyword].
+
+2001-12-10  Jason Rumney  <jasonr@gnu.org>
+
+       * w32menu.c (w32_free_submenu_strings): Clear menu item struct
+       before using.
+
+2001-12-09  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * dosfns.c: Change doc-string comments to `new style' [w/`doc:'
+       keyword].
+
+2001-12-09  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * dosfns.c (dos-display-scancodes, dos-decimal): Doc fix.
+
+       * s/hpux10.h (srand48): Don't undefine.
+
+2001-12-09  Jason Rumney  <jasonr@gnu.org>
+
+       * w32menu.c (_widget_value): Make `help' field a Lisp_Object. Add
+       comment to explain where the struct came from.
+       (single_submenu, w32_menu_show): Set `help' field as Lisp_Object.
+       (add_menu_item): Process pop-up menus first to avoid memory leak.
+       (add_menu_item, w32_menu_display_help): Use `help' field as
+       Lisp_Object.
+       (w32_free_submenu_strings): Only free owner-drawn strings.
+
+2001-12-09  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * COPYING: Moved back.
+
+       * charset.c (char_to_string_1, translate_char, Fdefine_charset):
+       Add parentheses around && within ||.
+
+       * indent.c (compute_motion): Likewise.
+
+       * intervals.c (merge_properties_sticky): Likewise.
+
+       * coding.c (setup_coding_system, shrink_encoding_region)
+       (Fdecode_sjis_char): Likewise.
+
+2001-12-07  Andreas Schwab  <schwab@suse.de>
+
+       * xdisp.c (display_mode_element): Don't read past end of string if
+       it ends with '%'.
+
+       * alloc.c (inhibit_garbage_collection): Don't exceed value an int
+       can hold.
+
+       * data.c (Vmost_positive_fixnum, Vmost_negative_fixnum): Renamed
+       from most_positive_fixnum and most_negative_fixnum, resp., and
+       type changed to Lisp_Object.
+       (syms_of_data): DEFVAR_LISP them.
+
+2001-12-07  Richard M. Stallman  <rms@gnu.org>
+
+       * callproc.c (init_callproc): Set Vdata_directory based on the source
+       location whenever Emacs was run uninstalled.
+
+2001-12-06  Paul Eggert  <eggert@twinsun.com>
+
+       * config.in (HAVE_WORKING_VFORK): New #undefs.
+       * process.c (create_process):
+       Use HAVE_WORKING_VFORK, not HAVE_VFORK.
+       * m/cnvrgnt.h (HAVE_VFORK): Remove #define.
+       * m/ibm370aix.h (HAVE_VFORK): Remove #undef.
+       * m/ibmps2-aix.h (HAVE_VFORK): Remove #define.
+       * m/intel386.h (HAVE_VFORK): Likewise.
+       * m/mips-siemens.h (HAVE_VFORK): Likewise.
+       * m/mips.h (HAVE_VFORK): Likewise.
+       * s/freebsd.h (vfork): Remove #define.
+       * s/lynxos.h (HAVE_VFORK): Remove #undef.
+       * s/usg5-4-2.h: Fix comment about vfork.
+
+2001-12-06  Richard M. Stallman  <rms@gnu.org>
+
+       * s/hpux10.h (random): Add undef.
+       (HAVE_RANDOM): Define it just once.
+
+2001-12-06  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * eval.c: Undo last change: the standard syntax is not wanted.
+
+2001-12-06  Eli Zaretskii  <eliz@is.elta.co.il>
+
+       * xterm.c (x_free_frame_resources) [USE_X_TOOLKIT]: Remove all the
+       scroll bars of the frame before deleting the frame itself.  If the
+       frame has a widget, delete the frame with XtDestroyWidget, and do
+       not call XDestroyWindow before that.
+
+2001-12-06  Kim F. Storm  <storm@cua.dk>
+
+       * xfns.c (x_report_frame_params): Return actual fringe widths.
+
+       * w32fns.c (x_report_frame_params): Return actual fringe widths.
+
+2001-12-05  Andrew Innes  <andrewi@gnu.org>
+
+       * alloc.c (Fgarbage_collect): Shrink buffer gaps that are
+       excessively large.
+
+       * insdel.c (make_gap_larger): New function.
+       (make_gap_smaller): New function.
+       (make_gap) [USE_MMAP_FOR_BUFFERS || REL_ALLOC]: Call
+       make_gap_smaller if arg is negative.
+
+2001-12-04  Stefan Monnier  <monnier@cs.yale.edu>
+
+       * keyboard.c (kbd_buffer_store_event): Fix interrupt_signal prototype.
+       Pass a dummy argument when calling interrupt_signal.
+       (parse_menu_item): Mark disabled items before checking for empty def.
+       (read_char_minibuf_menu_prompt): Make safety more visible.
+       (read_key_sequence): Add a `first_unbound' variable.
+       Use it to detect C-c ESC ESC ESC ESC ... cases and drop the
+       unbound prefix as soon as we can detect it.
+
+       * doc.c (Fsnarf_documentation): Add prototype.
+       (get_doc_string): Handle negative arguments.
+       (Fdocumentation): Use AREF and ASIZE.
+       Move the calls to get_doc_string to a single place.
+       Don't confuse an interactive-spec for a docstring reference.
+       (Fdocumentation_property): Take advantage of the fact that
+       get_doc_string now ignores the sign of the docstring position.
+
+       * eval.c: Use standard syntax for usage in docstrings.
+
+2001-12-03  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
+
+       * xdisp.c (syms_of_xdisp): Make `tool-bar-button-relief` an option.
+
 2001-12-02  Pavel Jan\e,Bm\e(Bk  <Pavel@Janik.cz>
 
        * xterm.c (x_draw_image_relief): Use predefined macro instead of
        (w32_wnd_proc) <WM_MENUSELECT>: Show help echo directly.
        (my_create_tip_window): New function.
        (x_create_tip_frame, compute_tip_xy): Adapt for Windows.
-       (Fx_show_tip, Fx_hide_tip) [TEST_TOOLTIPS]: Adapt for Windows. 
+       (Fx_show_tip, Fx_hide_tip) [TEST_TOOLTIPS]: Adapt for Windows.
 
 2001-11-20  Jason Rumney  <jasonr@gnu.org>