+2001-12-07 Andreas Schwab <schwab@suse.de>
+
+ * 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
+ constant when the value of `tool_bar_button_relief' is negative.
+
+2001-12-02 Richard M. Stallman <rms@gnu.org>
+
+ * xmenu.c (menu_highlight_callback): Use `help' field as Lisp_Object.
+ (single_submenu, xmenu_show): Set `help' field as Lisp_Object.
+
+ * fileio.c (read_non_regular): Delete Fsignal call.
+
+2001-12-01 Stefan Monnier <monnier@cs.yale.edu>
+
+ * lisp.h (run_hook_list_with_args): Undo last change.
+
+2001-12-01 Gerd Moellmann <gerd@gnu.org>
+
+ * xterm.c (x_draw_fringe_bitmap): Always undo clipping.
+
+2001-12-01 Jason Rumney <jasonr@gnu.org>
+
+ * window.c (Qleft_fringe, Qright_fringe): Remove. Now in frame.c.
+
+ * w32term.h (WM_MOUSELEAVE, TME_LEAVE, TRACKMOUSEEVENT)
+ [!WM_MOUSELEAVE]: Define.
+
+ * w32menu.c (current_popup_menu, get_menu_item_info):
+ (set_menu_item_info): New vars.
+ (set_frame_menubar): Doc fix clarifying GC interaction with menus.
+ (w32_menu_show): Set current_popup_menu.
+ (add_menu_item): Allocate new strings for owner-drawn menu items
+ and help strings.
+ Use owner-draw for disabled menu items again.
+ (w32_menu_display_help): Ignore owner-drawn items and popup menus.
+ (w32_free_submenu_strings, w32_free_menu_strings): New functions.
+
+ * w32fns.c (trackmouse_window, track_mouse_event_fn): New vars.
+ (w32_wnd_proc) <WM_MOUSEMOVE>: Notice when mouse enters frame.
+ <WM_EXITMENULOOP>: Free menu strings.
+ <WM_MOUSELEAVE>: Stop tracking mouse.
+ (x_create_tip_frame): Specify no minibuffer, modeline or fringes.
+
+ * w32term.c (w32_read_socket) <WM_MOUSELEAVE>: Cancel help echo
+ and mouse face.
+
+2001-12-01 Kim F. Storm <storm@cua.dk>
+
+ The following changes add left-fringe and right-fringe
+ frame parameters to adjust fringe widths, or remove one or
+ both fringes.
+
+ * frame.h (struct frame): Remove trunc_area_pixel_width and
+ trunc_area_cols fields.
+ (Qleft_fringe, Qright_fringe): Declare.
+ (FRAME_RIGHT_FRINGE_WIDTH): New macro.
+
+ * frame.c (Qleft_fringe, Qright_fringe): New vars.
+ (syms_of_frame): Initialize them.
+
+ * window.c (coordinates_in_window): Handle separate left and right
+ fringe widths.
+
+ * xterm.h (struct x_output): Add left_fringe_width, right_fringe_width,
+ and fringe_cols fields.
+ (FRAME_FRINGE_BITMAP_WIDTH, FRAME_FRINGE_BITMAP_HEIGHT): Remove macros.
+ (FRAME_X_FRINGE_COLS): Use fringe_cols field.
+ (FRAME_X_FRINGE_WIDTH): Use fringes_extra field.
+ (FRAME_X_LEFT_FRINGE_WIDTH): Use left_fringe_width field.
+ (FRAME_X_RIGHT_FRINGE_WIDTH): Use right_fringe_width field.
+ (x_compute_fringe_widths): Add prototype.
+
+ * xterm.c (zv_height, zv_bits, zv_period): Changed zv bitmap to
+ fill fringe evenly with small dashes.
+ (x_draw_fringe_bitmap): Clear background if necessary. Align and
+ clip the new ZV bitmap to avoid jitter between rows.
+ (x_draw_row_fringe_bitmaps): Rely on x_draw_fringe_bitmap to clear
+ background. Don't draw fringe bitmaps if fringe width is zero.
+ (x_compute_fringe_widths): New function.
+ (x_new_font, x_set_window_size_1): Use it.
+
+ * xfns.c (x_frame_parms): Add `left-fringe' and `right-fringe' parms.
+ (x_set_frame_parameters): Process Process `font' parameter before other
+ parameters as fringe widths depend on it.
+ (x_set_fringe_width): New function.
+ (x_figure_window_size): Use x_compute_fringe_widths.
+ (Fx_create_frame): Process `left-fringe' and `right-fringe' frame
+ parameters.
+
+ * widget.c (set_frame_size): Use x_compute_fringe_widths.
+ (EmacsFrameSetCharSize): Ditto.
+
+ * w32term.h: Merged changes from xterm.h.
+ * w32term.c: Merged changes from xterm.c.
+ * w32fns.c: Merged changes from xfns.c.
+
+2001-11-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * COPYING: Removed.
+
+2001-11-29 Dave Love <fx@gnu.org>
+
+ * coding.c (syms_of_coding) <Qchar_coding_system>: Give it an
+ extra extra slot.
+ (detect_coding_mask): Fix call of detect_coding_iso2022.
+
+2001-11-29 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * fileio.c (file-name-coding-system)
+ (default-file-name-coding-system): Doc fix (links to referenced
+ variables added).
+
+2001-11-28 Stefan Monnier <monnier@cs.yale.edu>
+
+ * lisp.h (GCPRO1, GCPRO2, GCPRO3, GCPRO4, GCPRO5):
+ Add dummy uses of gcproN variables.
+
+ * category.c (describe_category, describe_category_1)
+ (Fdescribe_categories): Remove. (Moved to lisp/help-fns.el.)
+ (syms_of_category): Don't defsubr Sdescribe_categories.
+
+2001-11-28 Richard M. Stallman <rms@gnu.org>
+
+ * fileio.c (Ffind_file_name_handler): Avoid initializer for `result'.
+
+ * Makefile.in (lispdir): New variable, referring to build dir.
+ (TAGS-LISP): Find Makefile in $(lispdir), not $(lispsource).
+
+2001-11-28 Andrew Innes <andrewi@gnu.org>
+
+ * w32menu.c (w32_menu_display_help): Actually add the new argument
+ OWNER.
+
+2001-11-28 Jason Rumney <jasonr@gnu.org>
+
+ * w32menu.c (add_menu_item): Do not use owner-draw for disabled
+ menu items. From David Ponce <dponce@wanadoo.fr>.
+ (w32_dialog_show) [HAVE_DIALOGS]: Compile whole function
+ conditionally.
+ (w32_menu_display_help): New argument OWNER. Rewritten to store a
+ help event in the owner frame's keyboard buffer.
+
+ * w32fns.c (w32_wnd_proc) <WM_MENUSELECT>: Display help directly.
+ (Fx_show_tip): Don't subtract last width from row width.
+
+ * w32term.c (w32_read_socket) <WM_MENUSELECT>: Remove.
+ (w32_read_socket): Use EQ to compare frames.
+
+2001-11-28 Gerd Moellmann <gerd@gnu.org>
+
+ * xterm.c (x_draw_glyphs): Don't call notice_overwritten_cursor if
+ OVERLAPS_P.
+
+2001-11-28 Pavel Jan\e,Bm\e(Bk <Pavel@Janik.cz>
+
+ * xdisp.c (message_dolog): Remove unused variables `gcpro2',
+ `gcpro3' and `gcpro4'.
+
+ * coding.c (decode_coding_string): Remove unused variable `gcpro1'.
+
+2001-11-28 Stefan Monnier <monnier@cs.yale.edu>
+
+ * ccl.c: Use AREF and ASIZE.
+
+2001-11-27 Stefan Monnier <monnier@cs.yale.edu>
+
+ * lisp.h (run_hook_list_with_args): Remove.
+ (LIST_END_P): Fix call to wrong_type_argument.
+ (make_fixnum_or_float): Use EMACS_INT rather than int.
+
+2001-11-26 Stefan Monnier <monnier@cs.yale.edu>
+
+ * syntax.c (syms_of_syntax): Remove defsubr of Sdescribe_syntax.
+ (describe_syntax, describe_syntax_1, Fdescribe_syntax): Remove.
+
+ * eval.c: Use AREF and ASIZE.
+ (Ffetch_bytecode): Add the file name to the error message.
+
+ * fileio.c (Ffind_file_name_handler): Give precedence to handlers
+ which match the end of the file-name.
+ (Fsubstitute_in_file_name): Don't signal an error if $ENVVAR
+ is not a valid env var, but leave it as is instead.
+
+ * keymap.c (access_keymap): Handle t bindings like nil bindings.
+ Make nil bindings in char-tables transparent.
+ (store_in_keymap): Turn a nil binding into a t binding for char-tables.
+
+2001-11-26 Richard M. Stallman <rms@gnu.org>
+
+ * textprop.c (set_text_properties_1): Allow START, END in either order.
+ Do nothing if range is empty.
+
+ * Makefile.in (mallocobj): Simplify logic using auxiliary vars.
+
+ * Makefile.in (mostlyclean): Delete bootstrap-emacs here.
+ (clean): Not here.
+
2001-11-25 Stefan Monnier <monnier@cs.yale.edu>
* textprop.c (set_text_properties_1): Clearly mark that the
* xfaces.c (merge_face_heights): Coerce back to int explicitly.
+2001-11-25 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * window.c (Fset_window_vscroll): Doc fix. From Kalle Olavi
+ Niemitalo <kon@iki.fi>.
+
2001-11-25 Jason Rumney <jasonr@gnu.org>
* w32term.h (FRAME_X_FRINGE_COLS): No fringe on tip frames.