X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/aff37336ea0e27a5cbc61b42b63d28a9d74b1498..9464dea48dadf92e06e4d2257453b06becad8ea1:/src/ChangeLog diff --git a/src/ChangeLog b/src/ChangeLog index f7c5a5895d..0759eb45be 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,9 +1,417 @@ +2001-12-07 Andreas Schwab + + * 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 + + * callproc.c (init_callproc): Set Vdata_directory based on the source + location whenever Emacs was run uninstalled. + +2001-12-06 Paul Eggert + + * 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 + + * s/hpux10.h (random): Add undef. + (HAVE_RANDOM): Define it just once. + +2001-12-06 Stefan Monnier + + * eval.c: Undo last change: the standard syntax is not wanted. + +2001-12-06 Eli Zaretskii + + * 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 + + * 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 + + * 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 + + * 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,Bm(Bk + + * xdisp.c (syms_of_xdisp): Make `tool-bar-button-relief` an option. + +2001-12-02 Pavel Jan,Bm(Bk + + * 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 + + * 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 + + * lisp.h (run_hook_list_with_args): Undo last change. + +2001-12-01 Gerd Moellmann + + * xterm.c (x_draw_fringe_bitmap): Always undo clipping. + +2001-12-01 Jason Rumney + + * 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) : Notice when mouse enters frame. + : Free menu strings. + : Stop tracking mouse. + (x_create_tip_frame): Specify no minibuffer, modeline or fringes. + + * w32term.c (w32_read_socket) : Cancel help echo + and mouse face. + +2001-12-01 Kim F. Storm + + 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,Bm(Bk + + * COPYING: Removed. + +2001-11-29 Dave Love + + * coding.c (syms_of_coding) : Give it an + extra extra slot. + (detect_coding_mask): Fix call of detect_coding_iso2022. + +2001-11-29 Pavel Jan,Bm(Bk + + * fileio.c (file-name-coding-system) + (default-file-name-coding-system): Doc fix (links to referenced + variables added). + +2001-11-28 Stefan Monnier + + * 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 + + * 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 + + * w32menu.c (w32_menu_display_help): Actually add the new argument + OWNER. + +2001-11-28 Jason Rumney + + * w32menu.c (add_menu_item): Do not use owner-draw for disabled + menu items. From David Ponce . + (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) : Display help directly. + (Fx_show_tip): Don't subtract last width from row width. + + * w32term.c (w32_read_socket) : Remove. + (w32_read_socket): Use EQ to compare frames. + +2001-11-28 Gerd Moellmann + + * xterm.c (x_draw_glyphs): Don't call notice_overwritten_cursor if + OVERLAPS_P. + +2001-11-28 Pavel Jan,Bm(Bk + + * 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 + + * ccl.c: Use AREF and ASIZE. + +2001-11-27 Stefan Monnier + + * 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 + + * 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 + + * 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 + + * textprop.c (set_text_properties_1): Clearly mark that the + interval should not be empty. + + * intervals.c (graft_intervals_into_buffer): + Don't call set_text_properties_1 on an empty interval. + +2001-11-25 Richard M. Stallman + + * unexelf.c (unexec): Index by n, not nn, when checking for ".sbss". + + * callproc.c (Fcall_process): When we make a bigger buffer for bufptr, + don't lose the data in it. + +2001-11-25 Juanma Barranquero + + * abbrev.c (Fexpand_abbrev): Use Frun_hooks instead of Vrun_hooks. + + * buffer.c (Fkill_buffer): Use Frun_hooks, not Vrun_hooks. + + * print.c (temp_output_buffer_setup): Use Frun_hooks, not Vrun_hooks. + +2001-11-25 Stefan Monnier + + * xfaces.c (merge_face_heights): Coerce back to int explicitly. + +2001-11-25 Eli Zaretskii + + * window.c (Fset_window_vscroll): Doc fix. From Kalle Olavi + Niemitalo . + +2001-11-25 Jason Rumney + + * w32term.h (FRAME_X_FRINGE_COLS): No fringe on tip frames. + + * w32fns.c (x_create_tip_frame): Set frame's fringes_extra to 0. + (Fx_show_tip): Block input during frame creation. + (Fx_show_tip, Fx_hide_tip): Enable. + +2001-11-24 Richard M. Stallman + + * lread.c (Fload): Detect recursive load error for more than 3 + nestings of the same file. + (Vrecursive_load_depth_limit): Variable deleted. + (syms_of_lread) : Variable deleted. + +2001-11-24 Jason Rumney + + * xfns.c (compute_tip_xy): Initialize root_x and root_y from + mouse position if either left or top is not specified. + + * w32fns.c (w32_wnd_proc) : Revert last change. + : Let tip frames resize without restriction. + (my_create_tip_window, Fx_show_tip): Adjust size for external border. + (my_create_tip_window): Assign tip_window. + (x_create_tip_frame): Use same defaults as X. + (compute_tip_xy): Remove unused variable. Use full screen width. + (Fx_show_tip): Do not double height. Call ShowWindow directly. + + * w32term.c (x_after_update_window_line): Doc fix. + (w32_read_socket): Doc fix. Avoid SET_FRAME_GARBAGED for tip + frames. + : Redo mouse highlight when hiding tip frame. + + * xdisp.c (prepare_menu_bars) [HAVE_WINDOW_SYSTEM]: Use tip_frame + for all Windowed systems. + +2001-11-23 Eli Zaretskii + + * msdos.c (IT_clear_screen): If the frame's faces are not yet + realized, use the initial screen colors to clear the screen. + +2001-11-23 Pavel Jan,Bm(Bk + + * textprop.c (Fset_text_properties): Remove unused variables + `unchanged', `prev_changed', `s' and `len'. + + * search.c (Freplace_match): Remove unused variable `inslen'. + + * keymap.c (access_keymap): Remove unused variables `c1' and `c2'. + +2001-11-22 Jason Rumney + + * w32fns.c (x_window_to_frame): Remove irrelevant TODO comment. + (w32_wnd_proc) : 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. + +2001-11-20 Jason Rumney + + * coding.h (Vw32_system_coding_system) [WINDOWSNT]: Remove. + (ENCODE_SYSTEM, DECODE_SYSTEM) [WINDOWSNT]: Use Vlocale_coding_system. + + * w32fns.c (Vw32_system_coding_system): Remove. + (w32_to_x_font, x_to_w32_font): Use Vlocale_coding_system. + +2001-11-19 Stefan Monnier + + * fileio.c (Fwrite_region): Move choose_write_coding_system to + after build_annotations. + + * syntax.c (describe_syntax): Add dummy arg. + (describe_syntax_1): Update call to describe_vector. + + * category.c (describe_category): Add dummy arg. + (describe_category_1): Update call to describe_vector. + + * keymap.c (Fdescribe_vector): Add `describer' parameter. + (describe_command, describe_translation): Add dummy second param. + (describe_map): Call elt_describer with two arguments. + (describe_vector_princ): Add `fun' parameter. + Call it instead of the hardcoded `princ'. + (describe_vector): Add arg `args'. + Pass it as a new second argument to elt_describer. + + * keymap.h (describe_vector): Update prototype. + + * frame.c: Don't include keymap.h any more. + (keys_of_frame): Remove. + + * lisp.h (keys_of_frame): Remove declaration. + + * emacs.c (main): Don't call `keys_of_frame' any more. + 2001-11-14 Andreas Schwab * unexelf.c [!defined MAP_ANON]: Define MAP_ANON to MAP_ANONYMOUS if defined, 0 otherwise. - (MAP_FAILED): Define if not defined and use it for testing mmap - failure. + (MAP_FAILED): Define if not defined and use it to test mmap failure. (unexec) [!MAP_ANON]: Use /dev/zero as file to map. 2001-11-19 Richard M. Stallman @@ -20,13 +428,12 @@ circumstances. (w32_set_vertical_scroll_bar): Check for width and height > 0. (w32_draw_relief_rect): Correct relief by 1 pixel. - (x_set_glyph_string_background_width): Set - extends_to_end_of_line_p if the row's fill_line_p is set and + (x_set_glyph_string_background_width): + Set extends_to_end_of_line_p if the row's fill_line_p is set and drawing the last glyph with DRAW_IMAGE_{RAISED,SUNKEN}. (x_display_and_set_cursor): If cursor_in_echo_area, use NO_CURSOR if cursor_in_non_selected_windows is false. - (show_mouse_face): Clean up. Recognize overwritten cursor - differently. + (show_mouse_face): Clean up. Recognize overwritten cursor differently. (x_draw_glyphs): Remove parameters REAL_START and REAL_END. Notice if cursor gets overwritten. (notice_overwritten_cursor): Renamed from @@ -64,8 +471,8 @@ (enum gs_keyword_index): Add GS_BACKGROUND. (pbm_load, png_load, jpeg_load, tiff_load, gif_load): Pre-calculate image background color where necessary. - (x_create_x_image_and_pixmap, xbm_load, gs_load): Use - display info's n_cbits entry for screen depth. + (x_create_x_image_and_pixmap, xbm_load, gs_load): + Use display info's n_cbits entry for screen depth. (Fx_show_tip): Remove unused variables `buffer', `top', `left', `max_width' and `max_height'. @@ -299,7 +706,7 @@ 2001-11-14 Pavel Jan,Bm(Bk - * fontset.h: Remove prototypes for variables + * fontset.h: Remove declarations of variables `Vhighlight_wrong_size_font' and `Vclip_large_size_font'. * fontset.c: Remove variables `Vhighlight_wrong_size_font' and