+2000-07-10 Gerd Moellmann <gerd@gnu.org>
+
+ * 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 <eliz@is.elta.co.il>
+
+ * msdos.c (XMenuActivate): After exiting the menu, restore the
+ echo area message and erase it.
+
+2000-07-10 Kenichi Handa <handa@etl.go.jp>
+
+ * fontset.c (Ffontset_info): Make the return value more compatible
+ with that of Emacs 20.
+
+2000-07-07 Gerd Moellmann <gerd@gnu.org>
+
+ * eval.c (Fsignal): Handle case that backtrace_list is null.
+
+2000-07-07 Kenichi Handa <handa@etl.go.jp>
+
+ * ccl.c (Fccl_execute): Typo fixed.
+
+2000-07-06 Gerd Moellmann <gerd@gnu.org>
+
+ * 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 <gerd@gnu.org>
+
+ * 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 <raeburn@gnu.org>
+
+ 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 <sys/ioctl.h> and
+ <soundcard.h>.
+ (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 <gerd@gnu.org>
+
+ * 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 <fx@gnu.org>
+
+ * 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 <andrewi@gnu.org>
+
+ * 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 <monnier@cs.yale.edu>
+
+ * 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 <gerd@gnu.org>
+
+ * 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 <gerd@gnu.org>
+
+ * 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 <handa@etl.go.jp>
+
+ * 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 <gerd@gnu.org>
+
+ * 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 <monnier@cs.yale.edu>
+
+ * fns.c (Fputhash): Return `value' rather than nil.
+
+2000-06-30 Gerd Moellmann <gerd@gnu.org>
+
+ * 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 <handa@etl.go.jp>
+
+ * 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 <gerd@gnu.org>
+
+ * 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 <fx@gnu.org>
+
+ * 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 <gerd@gnu.org>
+
+ * xdisp.c (resize_mini_window): Subtract the extra line spacing
+ below the last line from the needed window height.
+
+2000-06-26 Stefan Monnier <monnier@cs.yale.edu>
+
+ * fns.c (Fplist_member): Renamed from Fwidget_plist_member.
+ (Fwidget_get): Use it.
+ (syms_of_fns): Defsubr it.
+
+2000-06-26 Gerd Moellmann <gerd@gnu.org>
+
+ * 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 <schwab@suse.de>
+
+ * coding.c (decode_coding_string): Re-fetch STRING_BYTES after
+ Fstring_as_unibyte.
+
+2000-06-25 Dave Love <fx@gnu.org>
+
+ * 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 <raeburn@gnu.org>
+
+ * process.c (Fopen_network_stream): Turn off atimers for duration
+ of call to connect. (Patch from Gerd.)
+
+2000-06-23 Dave Love <fx@gnu.org>
+
+ * 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 <gerd@gnu.org>
+
+ * xfns.c (x_create_tip_frame): Initialize frame's colors like
+ in x_create_frame.
+
+2000-06-23 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * coding.c (decode_eol_post_ccl): Special handling for undecided
+ and inconsistent EOL types.
+
+2000-06-22 Gerd Moellmann <gerd@gnu.org>
+
+ * xrdb.c (x_load_resources): Add default resource for scroll bar's
+ trough color and main window's background color.
+
+ * xfns.c (Fx_file_dialog) [HAVE_MOTIF_2_1]: Handle events
+ differently.
+
+ * xterm.h (Xt_app_con): External declaration.
+
+ * widget.c (EmacsFrameRealize): Fix typo.
+
+ * widget.c (EmacsFrameRealize): Remove SubstructureRedirectMask.
+
+ * xdisp.c (handle_stop): Initialize it->add_overlay_start to zero.
+ (handle_invisible_prop): Record the start of invisible text in
+ it->add_overlay_start.
+ (struct overlay_entry): Add member `overlay'.
+ (handle_overlay_change): Simplify.
+ (next_overlay_string): After having processed overlay strings at the
+ end of the buffer, record that fact in
+ it->overlay_strings_at_end_processed_p.
+ (compare_overlay_entries): If before- and after-strings come
+ from the same overlay, let before-strings come first.
+ (RECORD_OVERLAY_STRING): Record the overlay that strings come from.
+ (load_overlay_strings): Take it->add_overlay_start into account
+ when adding overlay strings.
+
+ * dispextern.h (struct it): Add member add_overlay_start.
+
+2000-06-22 Dave Love <fx@gnu.org>
+
+ * s/isc3-0.h (C_SWITCH_SYSTEM): Define _XOPEN_SOURCE=500.
+
+ * s/gnu-linux.h (C_SWITCH_SYSTEM): Don't define _XOPEN_SOURCE here.
+
+2000-06-22 Kenichi Handa <handa@etl.go.jp>
+
+ * ccl.c (ccl_driver) <CCL_End>: Decrement stack_idx only when it
+ is greater than 0.
+
+2000-06-21 Dave Love <fx@gnu.org>
+
+ * Makefile.in (GETLOADAVG_OBJ): Removed -- LIBOBJS does it.
+
+2000-06-21 Stefan Monnier <monnier@cs.yale.edu>
+
+ * syntax.c (back_comment): Simplify string-parity counting (with
+ the added benefit of handling multiple string-styles as long as
+ they are not intertwined).
+ Jump to the slow code as soon as a comment starter is found in
+ a "string_lossage" position. Fixes the case: " /* " /* " */.
+
+2000-06-21 Dave Love <fx@gnu.org>
+
+ * Makefile.in: Use GETLOADAVG_LIBS.
+
+ * config.in: Add HAVE_FCNTL_H, _FILE_OFFSET_BITS,
+ _LARGEFILE_SOURCE, _LARGE_FILES, _XOPEN_SOURCE.
+
+2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
+
+ * syntax.c (describe_syntax): Recognize the `n'estable bit.
+ (Fforward_comment, scan_lists):
+ Check the comstyle of single-char comment-starters.
+ (scan_sexps_forward): Don't try to recognize `half comment-enders' if
+ we're just at the beginning of the comment (f.ex with (*) ... (*)).
+ Check the comstyle of single-char comment-starters.
+ Clarify control-flow around the Scomment case.
+
+2000-06-20 Dave Love <fx@gnu.org>
+
+ * fns.c (make_hash_table, maybe_resize_hash_table):
+ Cast arg of next_almost_prime.
+
+ * tparam.c [emacs]: Include lisp.h.
+
+ * termcap.c [emacs]: Test HAVE_FCNTL_H, not USG5. Include lisp.h
+ and unistd.h.
+
2000-06-20 Gerd Moellmann <gerd@gnu.org>
+ * keyboard.c (adjust_point_for_property): Check if display
+ property should be treated as intangible by looking at its
+ value.
+
+ * xdisp.c (single_display_prop_intangible_p)
+ (display_prop_intangible_p): New functions.
+
+ * dispextern.h (display_prop_intangible_p): Add prototype.
+
+ * xdisp.c (dump_glyph_row): Show type of glyph->object.
+
* s/isc4-0.h (sigblock): Redefined to pass a pointer as second
argument to sigprocmask.
* xrdb.c: Don't declare xmalloc, xrealloc.
2000-06-20 Stefan Monnier <monnier@cs.yale.edu>
- Based on a patch by Larry Jones <larry.jones@sdrc.com>.
* regex.c (re_match, re_match_2): Protect calls to alloca (0).
(re_comp): Cast gettext return value to avoid complaints when
* m/stride.h, m/mips.h: Don't define HAVE_GETWD,
HAVE_GETTIMEOFDAY.
- * m/ibmrt-aix.h:
- Don't declare HAVE_GETTIMEOFDAY, HAVE_VFORK.
+ * m/ibmrt-aix.h: Don't declare HAVE_GETTIMEOFDAY, HAVE_VFORK.
- * m/ibmrs6000.h, m/ibmps2-aix.h, m/dpx2.h: Don't declare
- HAVE_GETWD.
+ * m/ibmrs6000.h, m/ibmps2-aix.h, m/dpx2.h: Don't declare HAVE_GETWD.
* m/alpha.h: Don't declare xmalloc, xrealloc.
* keyboard.c (record_asynch_buffer_change): Return void.
- * xterm.c (XTroï\0ðoï\0ðÃâ\0ðoï\0ðoï\0ðTÿ\0ðLá\0ðoï\0ð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.
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ï\0ðoï\0ðÃâ\0ðoï\0ðoï\0ðTÿ\0ðLá\0ðoï\0ð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.