X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/16cf31f7820f9bfd7d54aacc4f7d0c591b0bf373..d76c03ea6b1d5cf3fdc8857ae104574ceadbc0bb:/src/ChangeLog diff --git a/src/ChangeLog b/src/ChangeLog index f7ecf01999..5bd4a134b8 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,406 @@ +2000-07-11 Gerd Moellmann + + * doc.c (Fsubstitute_command_keys): Handle case that a GC + in Fwhere_is_internal or get_keymap_1 relocates string contents. + + * dispnew.c (direct_output_forward_char): Give up if currently + displaying a message instead of the minibuffer contents. + + * xterm.c (x_update_window_begin): No need to turn off the mouse + highlight here. + (show_mouse_face): Set the mouse_face_p flag of glyph rows + depending on whether they contain glyphs highlighted in + mouse-face. + + * dispnew.c (row_equal_p): Add parameter MOUSE_FACE_P. If set, + compare the mouse_face_p flags of both rows. + + * dispextern.h (struct glyph_row): Add flag mouse_face_p. + +2000-07-11 Eli Zaretskii + + * keyboard.c (show_help_echo): Accept additional parameter + ok_to_overwrite_keystroke_echo. + (read_char): Call show_help_echo with a zero + ok_to_overwrite_keystroke_echo argument. + * keyboard.h (show_help_echo): Update prototype of + show_help_echo. + * xmenu.c (menu_help_callback): Call show_help_echo with non-zero + ok_to_overwrite_keystroke_echo argument. + * w32menu.c (w32_menu_display_help): Call show_help_echo with + non-zero ok_to_overwrite_keystroke_echo argument. + +2000-07-10 Gerd Moellmann + + * xdisp.c (try_window_id): If changes are all below what is + displayed in the window, and point is in the window, we still + might have to find point on the display. + + * xterm.c (x_fill_stretch_glyph_string): Consume runs of stretch + glyphs instead of a single one. + (BUILD_STRETCH_GLYPH_STRING): Call x_fill_stretch_glyph_string + with new argument list. + (x_set_glyph_string_gc): Make sure the face's GC is valid. + + * keymap.c (get_keymap_1): Add comment that this function can GC. + (where_is_internal_2, where_is_internal_1): Add GCPROs, add + comment that functions can GC. + (Fset_keymap_parent): GCPRO arg KEYMAP. + +2000-07-10 Eli Zaretskii + + * msdos.c (XMenuActivate): After exiting the menu, restore the + echo area message and erase it. + +2000-07-10 Kenichi Handa + + * fontset.c (Ffontset_info): Make the return value more compatible + with that of Emacs 20. + +2000-07-07 Gerd Moellmann + + * eval.c (Fsignal): Handle case that backtrace_list is null. + +2000-07-07 Kenichi Handa + + * ccl.c (Fccl_execute): Typo fixed. + +2000-07-06 Gerd Moellmann + + * window.c (window_loop): Add missing gcpro1 local variable. + + * window.c (Fwindow_list): Reverse list at the end. + (candidate_window_p): Add parameter OWINDOW. ALL_FRAMES nil + means allow windows on OWINDOW's frame, only. + (window_loop): Simplified; use Fwindow_list. + + * Makefile.in (TAGS-LISP): Don't pass `$(lispsource)' to make. + +2000-07-05 Gerd Moellmann + + * xterm.c (XTread_socket): Increment handling_signal at the start, + decrement it at the end. + + * eval.c (handling_signal): New variable. + (Fsignal): Abort if handling_signal is non-zero. + + * lisp.h (handling_signal): External declaration. + + * s/freebsd.h (WAITTYPE, WRETCODE): Put in #if 0. + +2000-07-05 Ken Raeburn + + Sound support for NetBSD through "Linux emulation" support: + * config.in (HAVE_SOUNDCARD_H): Undef. + (HAVE_SOUND): Define if HAVE_SOUNDCARD_H. + * Makefile.in (LIBSOUND): New variable. + (LIBES): Include it. + * sound.c [HAVE_SOUNDCARD_H]: Include and + . + (DEFAULT_SOUND_DEVICE): Define to "/dev/dsp" if not defined + elsewhere. + (vox_open): Use DEFAULT_SOUND_DEVICE. + * s/netbsd.h (DEFAULT_SOUND_DEVICE): Define to /dev/audio. + +2000-07-05 Gerd Moellmann + + * print.c (print_error_message): If Vsignaling_function is set, + show it in *Messages*. + + * lisp.h (Vsignaling_function): External declaration. + + * eval.c (Vsignaling_function): New variable. + (Fsignal): Compute it. + (syms_of_eval): Staticpro it. + +2000-07-05 Dave Love + + * syswait.h: Use the autoconf recommended approach. Old code + #if'd out in case we need to revert. + + * config.in (HAVE_SYS_WAIT_H): Added. + +2000-07-05 Andrew Innes + + * vm-limit.c (check_memory_limits) [REL_ALLOC]: Use real_morecore + when non-NULL instead of __morecore, to take account of buffer + memory. This also solves a problem with spurious memory warnings + on Windows. + + * ralloc.c: Make real_morecore non-static. + + * eval.c (internal_condition_case): Comment out abort if + interrupt_input_blocked is not zero. + + * makefile.nt: Add support for `bootstrap' and related targets. + Include minimal debug info in emacs.exe in release build. + Remove all dependencies on lisp.h, and fixup some others. + + * w32.c (init_environment): Install code from 20.7 for providing + default values for environment variables, based on the + executable's own location. + (map_w32_filename): Handle filenames that are longer than + MAX_PATH. + (sys_socket): Install socket inheritance bug fix from 20.7. + + * alloca.c [emacs]: Include lisp.h (needed by atimer.h included + here via blockinput.h). + +2000-07-05 Stefan Monnier + + * w32menu.c (w32_menu_display_help): + * xmenu.c (menu_help_callback): Use show_help_echo. + + * keyboard.h (show_help_echo): Declare. + + * keyboard.c (show_help_echo): New function, extracted from read_char. + Feval its `msg' argument if it's a cons cell. + (read_char): Use it. + (follow_key): Pass `autoload' to get_keyelt. + + * xterm.c (note_mode_line_highlight, note_mouse_highlight) + (note_tool_bar_highlight, XTread_socket): + * msdos.c (IT_note_mode_line_highlight, IT_note_mouse_highlight) + (dos_rawgetc): + * w32term.c (note_mode_line_highlight, note_mouse_highlight) + (note_tool_bar_highlight, w32_read_socket): + Do not gratuitously ignore non-string `help-echo' properties. + +2000-07-05 Gerd Moellmann + + * eval.c (Feval): Put check for interrupt_input_block in #if 0. + + * window.c (delete_all_subwindows): Reset Vwindow_list. + + * xterm.c (x_append_glyph, x_append_composite_glyph) + (x_produce_image_glyph, x_append_stretch_glyph): Accomodate to + changes in struct glyph starting 1999-12-27. Some bit-fields of + struct glyph were not set, which made glyphs unequal when compared + with GLYPH_EQUAL_P. Redisplay outputs such glyphs, and flickering + effects were the result. This also depended on the contents of + memory returned by xmalloc. If flickering happens again, activate + the code in clear_glyph_row that's in #if 0. If the flickering is + gone with that, chances are that it is caused by something + similar. + + * dispnew.c (clear_glyph_row): Add debug code in #if 0. + + * dispextern.h: Add some comments. + + * window.c (add_window_to_list): Add parameter LIST. + (window_list): Order list so that, for each frame, windows are + in canonical order, and so that frames appear in the list in + the order given by Vframe_list. + (next_window): Reverse the handling of NEXT_P. + +2000-07-04 Gerd Moellmann + + * window.c (Vwindow_list): New variable. + (make_window, delete_window): Set Vwindow_list to nil. + (check_window_containing): New function. + (window_from_coordinates): Rewritten. + (add_window_to_list, window_list, candidate_window_p) + (decode_next_window_args, next_window): New functions. + (Fnext_window, Fprevious_window): Rewritten in terms of + next_window. + (Fwindow_list): New function. + (Fother_window): Cleaned up. + (foreach_window): Add a longer "variable argument list". Let + callback function return 0 to indicate that cycling over windows + should stop. + (foreach_window_1): Likewise. + (freeze_window_start): Return int. + (init_window): New function. + (syms_of_window): Staticpro Vwindow_list and defsubr Swindow_list. + + * emacs.c (handle_USR1_signal, handle_USR2_signal) Clear + input_event with bzero. + (main): Call init_window. + + * keymap.c (get_keyelt): Temporarily inhibit GC while evaluating + a menu filter. + +2000-07-04 Kenichi Handa + + * composite.h (make_composition_value_copy): Extern it. + + * composite.c (make_composition_value_copy): New function. + + * editfns.c (Fformat): While copying text properties, make each + composition property value a copy. + + * fns.c (concat): While copying text properties, make each + composition property value a copy. + +2000-07-03 Gerd Moellmann + + * m/macppc.h (LINKER, LD_SWITCH_MACHINE) [LINUX]: Define. + + * fns.c (sweep_weak_table): Mark only objects that are not + marked already. + + * frame.c (next_frame, prev_frame): If MINIBUF is a window, + include those frames as candidates which have their focus + redirected to the minibuffer frame. + +2000-07-03 Stefan Monnier + + * fns.c (Fputhash): Return `value' rather than nil. + +2000-06-30 Gerd Moellmann + + * frame.c (next_frame): Don't check focus redirection in case + MINIBUF is a window. Doing so excludes frames using MINIBUF + unless their focus is redirected, which contradicts the + specification of next-frame, and leads to infinite loops in + certain situations when cycling through windows with next-window. + +2000-06-30 Kenichi Handa + + * coding.c (code_convert_region): Even if the length of text is + zero, try to convert it if coding->type is coding_type_ccl. + (decode_coding_string, encode_coding_string): Likewise. + +2000-06-28 Gerd Moellmann + + * xdisp.c (try_window_reusing_current_matrix): Don't try to reuse + the display if windows_or_buffers_changed. + + * dispnew.c (struct row_entry): New structure. + (row_entry_pool, row_entry_pool_size, row_entry_idx, row_table) + (row_table_size, old_lines, new_lines, old_lines_size) + (new_lines_size, run_pool, runs_size, runs): New variables. + (add_row_entry): New function. + (scrolling_window): Use data structures allocated with xmalloc and + held in global variables, instead of allocating them with alloca and + holding them in local variables. Use a larger hash table whose + size depends on glyph matrix sizes. Don't use bzero to clear the + hash table; instead, clear used slots only. + + * fns.c (next_almost_prime): Make it externally visible. + + * lisp.h (next_almost_prime): Add prototype. + + * s/isc4-0.h (sigunblock): Define. + + * s/sco5.h (sigunblock): Define. + +2000-06-27 Dave Love + + * s/osf1.h (C_SWITCH_SYSTEM, LIBS_SYSTEM): Revert last change + (moved to osf5-0.h). + [!NOT_C_CODE]: Protect string.h stuff. + + * s/osf5-0.h (C_SWITCH_SYSTEM, WAIT_USE_INT, SYS_SIGLIST_DECLARED) + (sys_siglist, NSIG): Definitions moved here from osf1.h. + +2000-06-27 Gerd Moellmann + + * xdisp.c (resize_mini_window): Subtract the extra line spacing + below the last line from the needed window height. + +2000-06-26 Stefan Monnier + + * fns.c (Fplist_member): Renamed from Fwidget_plist_member. + (Fwidget_get): Use it. + (syms_of_fns): Defsubr it. + +2000-06-26 Gerd Moellmann + + * xterm.c (xim_initialize) [!USE_XIM]: Don't set up the + display info for XIM. + (xim_open_dpy): Likewise. + (xim_close_dpy): Don't free the display info's XIM. + + * xfns.c (x_window) [!USE_XIM]: Don't call create_frame_ic. + + * config.in (USE_XIM): New define. + + * keymap.c (get_keyelt): For menu-items containing a `:filter + FILTER', apply FILTER to the menu-item's definition to get the + real definition to use. + + * lisp.h (QCfilter): External declaration. + + * xfns.c (Fimage_size): New function. + (syms_of_xfns): Defsubr it. + +2000-06-26 Andreas Schwab + + * coding.c (decode_coding_string): Re-fetch STRING_BYTES after + Fstring_as_unibyte. + +2000-06-25 Dave Love + + * term.c [!HAVE_TERMCAP_H]: Declare tputs, tgetent, tgetflag, + tgetnum. + + * Makefile.in (blockinput.h): Depend on atimer.h. + (atimer.h): Depend on systime.h. + + * blockinput.h: Protect against multiple inclusion. Include + atimer.h. + + * atimer.h: Protect against multiple inclusion. Include + systime.h. + + * lisp.h (swap_in_global_binding): Declare. + +2000-06-24 Ken Raeburn + + * process.c (Fopen_network_stream): Turn off atimers for duration + of call to connect. (Patch from Gerd.) + +2000-06-23 Dave Love + + * ralloc.c: Maybe include unistd.h + + * emacs.c (setgrp): Undefine before defining. + (malloc_warning, set_time_zone_rule, index): Prototype. + + * systime.h (EMACS_GET_TIME) [!GETTIMEOFDAY_ONE_ARGUMENT]: Use + HAVE_STRUCT_TIMEZONE. + + * s/osf1.h: Move string.h hack here from alpha.h and make it + conditional. + (C_SWITCH_SYSTEM): Use _OSF_SOURCE, not -BSD, which clashes with + _XOPEN_SOURCE. + (WAIT_USE_INT, SYS_SIGLIST_DECLARED, sys_siglist, NSIG): Define. + (SOCKLEN_TYPE): Don't define. + + * m/alpha.h: Remove string.h hack. + + * s/osf5-0.h: New file. + + * filelock.c: Use feature tests for fcntl.h, string.h. Don't + include time.h, done by systime.h. + [__FreeBSD__]: Remove redundant includes. + + * callproc.c (setpgrp): Undefine before defining. + (delete_temp_file): Return Qnil to avoid warning. + + * config.in (HAVE_TERM_H, HAVE_STRUCT_TIMEZONE): Add. + + * xfaces.c: Include fontset.h dependent on HAVE_WINDOW_SYSTEM, not + HAVE_X_WINDOWS. + + * fontset.h (free_face_fontset): Renamed from fs_free_face_fontset. + + * composite.h (compose_text): Declare. + + * xterm.c: Don't include sys/types.h unconditionally. Don't + protect its inclusion with !USG (following xmenu.c). + +2000-06-23 Gerd Moellmann + + * xfns.c (x_create_tip_frame): Initialize frame's colors like + in x_create_frame. + +2000-06-23 Eli Zaretskii + + * coding.c (decode_eol_post_ccl): Special handling for undecided + and inconsistent EOL types. + 2000-06-22 Gerd Moellmann * xrdb.c (x_load_resources): Add default resource for scroll bar's @@ -11905,7 +12308,10 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato * keyboard.c (record_asynch_buffer_change): Return void. - * xterm.c (XTroïðoïðÃâðoïðoïðTÿðLáðoïðterminal_window): Ditto. + The first line of the following paragraph was garbled for an + unknown reason. It couldn't be fully reconstructed. + + * xterm.c (XTread_socket, XTset_terminal_window): Ditto. (x_lower_frame): Ditto. (x_scroll_bar_clear): Ditto. (XTflash): Add default case in switch for -Wall. @@ -13192,10 +13598,15 @@ Sun Jan 3 08:41:10 1999 Masatake Yamato based on text properties for an overlay string. (next_element_from_overlay_string): Check invisible and face text properties. + (set_iterator_to_next_overlay_string): Restore face id before overlay strings when no more overlay strings are found to return. Initialize next_ovstr_.*check_pos for each new overlay string - roïðoïðÃâðoïðoïðTÿðLáðoïðase_face): Made public. + + A line in the following paragraph was garbled for an unknown + reason. It couldn't be fully reconstructed. + + (compute_base_face): Made public. (merge_face_list): Ditto. (intern_computed_face): Ditto.