XEmacs 21.4.4 "Artificial Intelligence".
[chise/xemacs-chise.git.1] / src / ChangeLog
index 572dfe2..4da413d 100644 (file)
+2001-07-28  Stephen J. Turnbull  <stephen@xemacs.org>
+
+       * XEmacs 21.4.4 "Artificial Intelligence" is released.
+
+2001-07-22  Stephen J. Turnbull  <stephen@xemacs.org>
+
+       * event-msw.c (mswindows_wnd_proc): Add GC debugging assert.
+
+2001-07-22  Stephen J. Turnbull  <stephen@xemacs.org>
+
+       * config.h.in (IPV6_CANONICALIZE): New #define for --with-ipv6-lookup.
+       * process-unix.c (unix_canonicalize_host_name):
+       sysdep.c (init_system_name):
+       Use it to conditionally support IPv6 canonicalization.
+
+2001-05-31  Paul Stodghill  <stodghil@cs.cornell.edu>
+
+       * event-msw.c:
+       Cygwin does not define WM_IME_xxx. Modify the #if's accordingly.
+
+2001-05-19  Paul Krause  <paulkrause1@mediaone.net>
+
+       * scrollbar-msw.c: Fixes a crash that occurs on Windows when an
+       attempt is made to scroll when no scroll bar is available.
+
+2001-04-19  Glynn Clements  <glynn.clements@virgin.net>
+
+       * input-method-motif.c (XIM_delete_frame): New callback.
+       (XIM_init_frame): Register it.  (Reapplied by SJT, it somehow
+       got deleted from 21.4.3.)
+
+2001-06-01  Ben Wing  <ben@xemacs.org>
+
+       * nt.c (mswindows_utime):
+       * nt.c (close_file_data):
+       fix off-by-one-indirection error.
+
+2001-05-29  Adrian Aichner  <adrian@xemacs.org>
+
+       * fileio.c: Include nt.h.  Remove lisp_string_set_file_times()
+       because set_file_times() now takes Lisp_Object path, instead of
+       char*.
+       * nt.c: Include buffer.h.
+       * nt.c (convert_from_time_t): New.
+       * nt.c (mswindows_utime): New.  Use utime, since SetFileTime does
+       not set mtime correctly.
+       * nt.h: Declare mswindows_utime().
+       * sysdep.c (set_file_times): set_file_times() now takes Lisp_Object
+       path, instead of char*.
+       * systime.h: Include <sys/utime.h> on WIN32_NATIVE.
+
+2001-05-30  Ben Wing  <ben@xemacs.org>
+
+       For 21.4:
+
+       (Stephen, just take all event-msw.c patches.  This includes
+       the "iconify" fix below.)
+
+       * event-msw.c:
+       * event-msw.c (mswindows_dequeue_dispatch_event):
+       * event-msw.c (assert):
+       * event-msw.c (emacs_mswindows_quit_p):
+       * event-msw.c (debug_mswin_messages):
+       * event-msw.c (debug_output_mswin_message):
+       * event-msw.c (vars_of_event_mswindows):
+       Fix yet more problems with C-g handling.
+       Implement debug-mswindows-events.
+       
+2001-05-24  Kirill 'Big K' Katsnelson  <kkm@dtmx.com>
+
+       * event-msw.c (WM_DROPFILES): Use correct type for OLE characters.
+       
+2001-05-23  Ben Wing  <ben@xemacs.org>
+
+       * event-msw.c (winsock_writer):
+       * event-msw.c (winsock_closer):
+       prior kludgy code was clobbering the buffer, thinking it was
+       "unused" space to store an unneeded return value; instead, use
+       the variable we've already got staring us in the face.
+
+2001-05-17  Andy Piper  <andy@xemacs.org>
+
+       * sysfile.h: don't assume that file attributes are boolean
+
+2001-05-23  Ben Wing  <ben@xemacs.org>
+
+       * device-msw.c (msprinter_init_device):
+       signal an error rather than crash with an unavailable network
+       printer (from Mike Alexander).
+       
+       * event-msw.c:
+       * event-msw.c (struct winsock_stream):
+       * event-msw.c (winsock_writer):
+       * event-msw.c (winsock_closer):
+       * event-msw.c (make_winsock_stream_1):
+       cleanup headers.  fix (hopefully) an error with data corruption
+       when sending to a network connection.
+
+       * fileio.c (Fexpand_file_name): Fix evil code that attempts
+       to handle the ~user prefix by (a) always assuming we're referencing
+       ourselves and not even verifying the user -- hence any file with
+       a tilde as its first char is invalid! (b) if there wasn't a slash
+       following the filename, the pointer was set *past* the end of
+       file and we started reading from uninitialized memory.  Now we
+       simply treat these as files, always.
+
+       * buffer.c (common_init_complex_vars_of_buffer): comment change.
+       
+2001-05-19  Ben Wing  <ben@xemacs.org>
+
+       * eval.c: doc comment about gcpro'ing in record_unwind_protect.
+
+       * process-nt.c:
+       * process-nt.c (vars_of_process_nt):
+       remove unused mswindows-quote-process-args.  rec for 21.4.
+       
+2001-05-12  Ben Wing  <ben@xemacs.org>
+
+       * event-msw.c (mswindows_dde_callback):
+       * event-msw.c (mswindows_wnd_proc):
+       eliminate cygwin warnings.
+
+2001-05-06  Ben Wing  <ben@xemacs.org>
+
+       * console-msw.h:
+       * device-msw.c:
+       * device-msw.c (print_dialog_worker):
+       * device-msw.c (mswindows_handle_print_dialog_box):
+       * device-msw.c (syms_of_device_mswindows):
+       * dialog-msw.c (mswindows_make_dialog_box_internal):
+       * general-slots.h:
+       implement printing the selection when it's selected.
+
+2001-05-20  Drazen Kacar  <dave@arsdigita.com>
+
+       * glyphs-gtk.c (gtk_resource_instantiate): C++ comment -> #if 0
+
+2001-05-11  Yoshiki Hayashi  <yoshiki@xemacs.org>
+
+       * lisp.h (EMACS_INT_MAX): This should be one bit less since
+       EMACS_INT is signed.
+
+2001-04-15  Michael Lausch  <mla@1012surf.net>
+
+       * scrollbar-gtk.c (gtk_create_scrollbar_instance): Call
+       gtk_widget_request_size() to give scrollbar >0 width for
+       GTK >1.2.8.
+
+2001-05-30  William M. Perry  <wmperry@gnu.org>
+
+       * event-gtk.c: Check for buttons as modifier keys.
+
+2001-05-25  Craig Lanning  <CraigL@Knology.net>
+
+       * s\mingw32.h:
+       Properly find MinGW's <process.h> inside Cygwin's restructured
+       include directories.  Don't try to include <cygwin/version.h>
+       since we are dropping support for MinGW in versions of Cygwin
+       earlier than b21.
+       * nt.c:
+       Drop support for MinGW in versions of Cygwin before b21.
+       * sysdep.c:
+       Properly find MinGW's <process.h> inside Cygwin's restructured
+       include directories.
+       * syswindows.h:
+       Drop support for MinGW in versions of Cygwin before b21.
+       * unexcw.c:
+       Even though a.out.h is no longer detected by configure, allow
+       MinGW to use it until we figure out how to do the job with Win32.
+
+2001-07-11  Matt Tucker  <tuck@whistlingfish.net>
+
+       * syntax.c (find_start_of_comment):
+       Fix `unbalanced parentheses' bug when dealing with mixed comment
+       styles in c++/java/etc. mode
+
+2001-05-29  Mike Alexander  <mta@arbortext.com>
+
+       * console-msw.h (FRAME_MSPRINTER_CHARHEIGHT): Unswap
+       FRAME_MSPRINTER_CHARWIDTH and FRAME_MSPRINTER_CHARHEIGHT
+
+2001-05-17  Andrew Begel  <abegel@eecs.berkeley.edu>
+
+       * lrecord.h (INIT_EXTERNAL_LRECORD_IMPLEMENTATION): Add needed cast.
+
+2001-03-31  Mike Sperber <mike@xemacs.org>
+
+       * search.c (Freplace_match): Support FSF-style specification of
+       match subexpression when applied to a buffer.
+
+2001-05-27  Karl M. Hegbloom  <karlheg@hegbloom.net>
+
+       * event-stream.c (is_scrollbar_event): add missing semicolon
+
+2001-05-22  Isaac Hollander  <ysh@mindspring.com>
+
+       * Makefile.in.in: Use TAR macro instead of hardcoding
+         tar.  Allows use of GNU tar instead of system tar
+
+2001-05-27  Karl M. Hegbloom  <karlheg@hegbloom.net>
+
+       * event-stream.c (is_scrollbar_event): add missing semicolon
+
+2001-05-17  Stephen J. Turnbull  <stephen@xemacs.org>
+
+       * XEmacs 21.4.3 "Academic Rigor" is released.
+
+2001-05-17  Stephen J. Turnbull  <stephen@xemacs.org>
+
+       * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included.
+
+2001-05-08  Yoshiki Hayashi  <yoshiki@xemacs.org>
+
+       * buffer.c (Vcase_fold_search): Remove obsolete
+         comment about non ASCII case-fold-search.  This
+         bug has been fixed by case-table changes.
+
+2001-05-11  Stephen J. Turnbull  <stephen@xemacs.org>
+
+       * event-msw.c: Restore include of events-mod.h.
+
+2001-04-22   zhaoway  <zw@debian.org>
+
+       * event-stream.c (is_scrollbar_event): Noop returning 0 if
+       !HAVE_SCROLLBARS.
+
+2001-05-10  Stephen J. Turnbull  <stephen@xemacs.org>
+
+       * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released.
+
+2001-05-08  Yoshiaki Kasahara  <kasahara@nc.kyushu-u.ac.jp>
+
+       * mule-charset.c (Fmake_charset): Add missing else.
+
+2001-04-23  Ben Wing  <ben@xemacs.org>
+
+       * event-msw.c (FAKE_MOD_QUIT):
+       * event-msw.c (mswindows_dequeue_dispatch_event):
+       * event-msw.c (mswindows_wnd_proc):
+       * event-msw.c (emacs_mswindows_quit_p):
+       Get critical quit working.
+
+2001-05-05  Ben Wing  <ben@xemacs.org>
+
+       * console-msw.h:
+       * device-msw.c:
+       * device-msw.c (mswindows_get_default_margin):
+       * frame-msw.c (mswindows_size_frame_internal):
+       * frame-msw.c (msprinter_init_frame_1):
+       * frame-msw.c (vars_of_frame_mswindows):
+       Change top/bottom margin defaults to 0.5 inches.
+
+2001-05-01  Martin Buchholz  <martin@xemacs.org>
+
+       Fix link error with gcc 3.0 on Linux.
+       * terminfo.c (UP): Remove.
+       * terminfo.c (BC): Remove.
+       * terminfo.c (PC): Remove.
+       They weren't used, and in any case, these symbols should be
+       defined in the *library*.
+
+2001-05-03  Martin Buchholz  <martin@xemacs.org>
+
+       * s/aix4.h: Fix crash with xlc -O3.
+       Improve comment explaining how -O3 works.
+
+2001-04-15  Ben Wing  <ben@xemacs.org>
+
+       * event-stream.c:
+       * event-stream.c (Fnext_event):
+       * event-stream.c (is_scrollbar_event):
+       * event-stream.c (execute_command_event):
+       Better fix for Yoshiki's `C-x @ h <scrollbar-drag> x causes a
+       crash' problem.  His fix introduces other problems.  We filter
+       out scrollbar events specifically, making them somewhat invisible
+       to command-building, and not appearing in `this-command-keys'.
+       More work is still needed (see comments in event-stream.c), but
+       this fixes all the major problems.
+
+2001-04-20  Ben Wing  <ben@xemacs.org>
+
+       * .cvsignore: Added stuff for Windows.
+
+2001-04-28  Ben Wing  <ben@xemacs.org>
+
+       * buffer.c (Ferase_buffer):
+       * editfns.c (buffer_insert1):
+       * editfns.c (Finsert_before_markers):
+       * editfns.c (Finsert_string):
+       * editfns.c (Finsert_char):
+       * editfns.c (Fdelete_region):
+       * editfns.c (Fwiden):
+       * editfns.c (Fnarrow_to_region):
+       remove bogus lines setting zmacs_region_stays to 0.
+       
+2001-04-15  Gunnar Evermann  <ge204@eng.cam.ac.uk>
+
+       * process-unix.c (unix_open_network_stream): If connect() fails
+       invalidate file descriptor after closing it.
+
+2001-03-08  Mike Alexander  <mta@arbortext.com>
+
+       * event-msw.c (mswindows_need_event_in_modal_loop):
+       Don't dispatch a message if we didn't get one.
+       (mswindows_need_event):
+       Terminate the correct process when one exits instead of the first
+       one on Vprocess_list and look for process termination when in
+       mswindows_protect_modal_loop.
+
+2001-04-19  Stephen J. Turnbull  <stephen@xemacs.org>
+
+       * XEmacs 21.4.1 "Copyleft" is released.
+
+2001-04-19  Glynn Clements  <glynn.clements@virgin.net>
+
+       * input-method-motif.c (XIM_delete_frame): New callback.
+       (XIM_init_frame): Register it.
+
+2001-04-16  Stephen J. Turnbull  <stephen@xemacs.org>
+
+       * XEmacs 21.4.0 "Solid Vapor" is released.
+
+2001-04-15  Ben Wing  <ben@xemacs.org>
+
+       * cmdloop.c (call_command_loop):
+       Fix braino in bit-rotting code.
+       
+2001-04-07  Hrvoje Niksic  <hniksic@arsdigita.com>
+
+       * extents.c (Fset_extent_endpoints): Force creation of extent info
+       in buffer_or_string.
+
+       * extents.c (process_extents_for_insertion_mapper): Correctly
+       check for open-open zero-length extents.
+
+2001-04-16  Stephen J. Turnbull  <stephen@xemacs.org>
+
+       * lisp.h: New typedefs Memory_count, Element_count.
+       * regex.c:
+       * regex.h:
+       Sign-compare warning elimination: several unsigned -> signed.
+       Based on work by Ben Wing <ben@xemacs.org>.
+
+2001-04-14  Stephen J. Turnbull  <stephen@xemacs.org>
+
+       * XEmacs 21.2.47 "Zephir" is released.
+
+2001-04-02  Jan Vroonhof  <jan@xemacs.org>
+
+       * redisplay.c (add_bufbyte_string_runes): Update data->bytepos
+
+2001-04-03  Mike Sperber <mike@xemacs.org>
+
+       * search.c: Revert previous patch due because of release.
+
+2001-03-30  Ben Wing  <ben@xemacs.org>
+
+       * s\cygwin32.h:
+       Add missing killpg prototype.
+
+       * elhash.c:
+       Add a comment about fixing problems when a new entry is added
+       while mapping.
+
+       * frame-msw.c (mswindows_init_frame_1):
+       Fix compile warnings.
+
+       * menubar.c (vars_of_menubar):
+       Provide `menu-accelerator-support' to indicate that we properly
+       support %_ in menu specifications, so that package code can
+       conditionalize on this (and remove %_ from menu specifications
+       on older versions).
+
+       * event-msw.c:
+       * scrollbar-msw.c:
+       * scrollbar-msw.c (can_scroll):
+       * scrollbar-msw.h:
+       Fix handling of mouse wheel under Windows to follow standards --
+       now scrolls window under pointer, not selected window.
+
+2001-03-31  Mike Sperber <mike@xemacs.org>
+
+       * search.c (Freplace_match): Support FSF-style specification of
+       match subexpression when applied to a buffer.
+
+2001-03-15  Martin Buchholz  <martin@xemacs.org>
+
+       * keymap.c (Fmap_keymap): map-keymap explicitly allows a mapping
+       function to modify KEYMAP, so map over a copy of the hash table.
+
+2001-03-21  Martin Buchholz <martin@xemacs.org>
+
+       * XEmacs 21.2.46 "Urania" is released.
+
+2001-03-20  Dan Holmsand  <dan@eyebee.com>
+
+       * realpath.c (xrealpath): Make file-truename work with symlinks to
+       /cygdrive paths on cygwin. Always lowercase drive-letters on
+       native windows.
+       (cygwin_readlink): Don't try to find canonical filename unless
+       file exists.
+
+2001-03-15  Stephen J. Turnbull  <stephen@xemacs.org>
+
+       * ChangeLog: Log GTK merge.
+
+       * dumper.c:
+       * select-x.c:
+       * specifier.c:
+       * symeval.h:
+       Revert gratuitous whitespace changes from GTK merge.
+
+       * emacs.c: Document end of complex #ifdef @ l. 1495.
+
+
+2001-03-12  Andy Piper  <andy@xemacs.org>
+
+       * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we
+       have to do likewise.
+
+2001-03-12  Andy Piper  <andy@xemacs.org>
+
+       * sysdep.c: we only support mingw now.
+
+2001-03-09  Andy Piper  <andy@xemacs.org>
+
+       * unexcw.c (copy_executable_and_dump_data_section): making approx
+       overrun a warning only.
+
+2001-03-10  William M. Perry  <wmperry@aventail.com>
+
+       * faces.c (complex_vars_of_faces): Rewrote the font mucking to
+       satisfy Stephen's identical-after-cpp plea.
+
+2001-03-02  Ben Wing  <ben@xemacs.org>
+
+       * cmds.c:
+       * cmds.c (Fforward_char):
+       * syntax.c:
+       * window.c:
+
+       Augment documentation of the most common motion commands to make
+       note of the shifted-motion support.
+       
+2001-03-02  Ben Wing  <ben@xemacs.org>
+
+       * nt.c (mswindows_fstat):
+       * nt.c (mswindows_stat):
+       * search.c (boyer_moore):
+       Fix compile warnings under Windows.
+       
+       * sysdep.c (sys_readdir):
+       Fix buggy filename-conversion code under Mule.
+
+2001-03-09  William M. Perry  <wmperry@aventail.com>
+
+       * Makefile.in.in:
+       * config.h.in:
+       * console.c:
+       * console.h:
+       * device.c:
+       * device.h:
+       * dragdrop.c:
+       * emacs.c:
+       * event-stream.c:
+       * events.c:
+       * events.h:
+       * faces.c:
+       * frame.h:
+       * general-slots.h:
+       * glyphs.c:
+       * gutter.c:
+       * inline.c:
+       * lisp.h:
+       * lrecord.h:
+       * make-src-depend:
+       * redisplay-output.c:
+       * redisplay.c:
+       * symsinit.h:
+       * sysfile.h:
+       * toolbar.c:
+       * window.c:
+       The Great GTK Merge.
+
+       * ChangeLog.GTK:
+       * console-gtk.c:
+       * console-gtk.h:
+       * device-gtk.c:
+       * emacs-marshals.c:
+       * emacs-widget-accessors.c:
+       * event-gtk.c:
+       * frame-gtk.c:
+       * gccache-gtk.c:
+       * gccache-gtk.h:
+       * glade.c:
+       * glyphs-gtk.c:
+       * glyphs-gtk.h:
+       * gtk-glue.c:
+       * gtk-xemacs.c:
+       * gtk-xemacs.h:
+       * gui-gtk.c:
+       * gui-gtk.h:
+       * menubar-gtk.c:
+       * native-gtk-toolbar.c:
+       * objects-gtk.c:
+       * objects-gtk.h:
+       * redisplay-gtk.c:
+       * scrollbar-gtk.c:
+       * scrollbar-gtk.h:
+       * select-gtk.c:
+       * toolbar-gtk.c:
+       * ui-byhand.c:
+       * ui-gtk.c:
+       * ui-gtk.h:
+       The Great GTK Merge: new files.
+
+2001-02-26  Ben Wing  <ben@xemacs.org>
+
+       Reapplied Lstream change.
+
+2001-02-26  Ben Wing  <ben@xemacs.org>
+
+       Undid the last change, since it is more controversial than I
+       thought.  It should be back in at some point soon.
+       
+2001-02-25  Ben Wing  <ben@xemacs.org>
+
+       * buffer.c:
+       * callproc.c (Fold_call_process_internal):
+       * event-msw.c (ntpipe_slurp_reader):
+       * event-msw.c (ntpipe_shove_writer):
+       * event-msw.c (winsock_reader):
+       * event-msw.c (winsock_writer):
+       * file-coding.c:
+       * file-coding.c (detect_eol_type):
+       * file-coding.c (detect_coding_type):
+       * file-coding.c (determine_real_coding_system):
+       * file-coding.c (Fdetect_coding_region):
+       * file-coding.c (decoding_reader):
+       * file-coding.c (decoding_writer):
+       * file-coding.c (mule_decode):
+       * file-coding.c (Fdecode_coding_region):
+       * file-coding.c (encoding_reader):
+       * file-coding.c (encoding_writer):
+       * file-coding.c (mule_encode):
+       * file-coding.c (Fencode_coding_region):
+       * file-coding.c (detect_coding_sjis):
+       * file-coding.c (decode_coding_sjis):
+       * file-coding.c (encode_coding_sjis):
+       * file-coding.c (detect_coding_big5):
+       * file-coding.c (decode_coding_big5):
+       * file-coding.c (encode_coding_big5):
+       * file-coding.c (detect_coding_ucs4):
+       * file-coding.c (decode_coding_ucs4):
+       * file-coding.c (encode_coding_ucs4):
+       * file-coding.c (detect_coding_utf8):
+       * file-coding.c (decode_coding_utf8):
+       * file-coding.c (encode_coding_utf8):
+       * file-coding.c (detect_coding_iso2022):
+       * file-coding.c (decode_coding_iso2022):
+       * file-coding.c (encode_coding_iso2022):
+       * file-coding.c (decode_coding_no_conversion):
+       * file-coding.c (encode_coding_no_conversion):
+       * glyphs-x.c (write_lisp_string_to_temp_file):
+       * gpmevent.c (tty_get_foreign_selection):
+       * lisp.h:
+       * lstream.c:
+       * lstream.c (Lstream_flush_out):
+       * lstream.c (Lstream_adding):
+       * lstream.c (Lstream_write_1):
+       * lstream.c (Lstream_write):
+       * lstream.c (Lstream_raw_read):
+       * lstream.c (Lstream_read_more):
+       * lstream.c (Lstream_read):
+       * lstream.c (Lstream_unread):
+       * lstream.c (Lstream_fputc):
+       * lstream.c (stdio_reader):
+       * lstream.c (stdio_writer):
+       * lstream.c (filedesc_reader):
+       * lstream.c (filedesc_writer):
+       * lstream.c (lisp_string_reader):
+       * lstream.c (struct fixed_buffer_stream):
+       * lstream.c (make_fixed_buffer_input_stream):
+       * lstream.c (make_fixed_buffer_output_stream):
+       * lstream.c (fixed_buffer_reader):
+       * lstream.c (fixed_buffer_writer):
+       * lstream.c (struct resizing_buffer_stream):
+       * lstream.c (resizing_buffer_writer):
+       * lstream.c (dynarr_writer):
+       * lstream.c (lisp_buffer_reader):
+       * lstream.c (lisp_buffer_writer):
+       * lstream.h:
+       * lstream.h (lstream_implementation):
+       * lstream.h (struct lstream):
+       * md5.c (Fmd5):
+       * process-nt.c (nt_send_process):
+       * process-unix.c (unix_send_process):
+       
+       Correct Lstream lossage due to mixing of signed and unsigned
+       quantities.  All Lstream uses of size_t and ssize_t are now a
+       single signed data type Lstream_data_count.  This fixes problems
+       under Windows with sending large quantities of data to a process,
+       and may well fix other subtle bugs.
+
+2001-02-23  Martin Buchholz <martin@xemacs.org>
+
+       * XEmacs 21.2.45 "Thelxepeia" is released.
+
+2001-02-21  Martin Buchholz  <martin@xemacs.org>
+
+       * lisp-union.h (XSETINT): 
+       (XSETCHAR):
+       (XSETOBJ): 
+       Reverse previous change of 2001-02-06.
+
+2001-02-20  Matt Tucker  <tuck@whistlingfish.net>
+
+       Fix `VALID_BYTIND_P' crashes in regex.c when using narrowed
+       buffers.
+       * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
+       * syntax.h (SYNTAX_CACHE_OBJECT_BYTE_TO_CHAR):
+       Add `BI_BUF_BEGV' to bytepos before calculating bufpos.
+       * regex.c (POS_AS_IN_BUFFER): removed
+       * regex.c (re_search_2):
+       * regex.c (re_match_2):
+       Don't use an offset of 1 when calculating buffer positions, since
+       `BI_BUF_BEGV' does it already.
+
+2001-02-18  Wim Dumon  <wim@easics.be>
+
+       * insdel.c (prepare_to_modify_buffer): Also check for
+       supersession when clash-detection is enabled. 
+
+2001-02-17  Matt Tucker  <tuck@whistlingfish.net>
+
+       * regex.c (re_match_2_internal):
+       Convert temp characters from 'const unsigned char' to 're_char'.
+       Fix crashing bug with extended characters under mule.
+       * syntax.c (Qsyntax_table): Moved from vars_of_syntax to
+       syms_of_syntax. Use defsymbol to define. Fixes hanging bug with
+       font-lock, pdump, and new syntax-table code.
+       * syntax.c (find_start_of_comment):
+       (find_end_of_comment):
+       (forward-comment):
+       Fix crashing bugs involving moving beyond end of buffer.
+       * syntax.c (find_start_of_comment):
+       Fixed logic to allow proper detection of cases where the same
+       character is used to end both a two-char comment start and a
+       two-char comment end sequence. Fixes `(forward-comment -1)'.
+       * syntax.c (find_start_of_comment):
+       Return position just past last comment-end character for all cases
+       (previously was only done for two-char comment-end sequences).
+       * syntax.c (forward-comment):
+       Take value returned from `find_end_of_comment', rather than
+       incrementing it.
+       * syntax.h (SYNTAX_CACHE_BYTE_TO_CHAR):
+       Properly deal with BUFFERP (syntax_cache.object)
+
+2001-02-17  Martin Buchholz  <martin@xemacs.org>
+
+       * alloc.c (Fgarbage_collect): 
+       * alloc.c (make_bit_vector_from_byte_vector):
+       -Wsign-compare-correctness.
+
+2001-02-16  Martin Buchholz  <martin@xemacs.org>
+
+       * lisp-union.h (XSETINT): Eliminate unnecessary temp var.
+       (XSETCHAR): Likewise.
+       (XSETOBJ): Likewise.
+
+2001-02-15  Martin Buchholz  <martin@xemacs.org>
+
+       * mule-canna.c (canna-func-delete_previous): 
+       Rename to canna-func-delete-previous.
+
+2001-02-14  Martin Buchholz  <martin@xemacs.org>
+
+       * mule-ccl.c (ccl_driver): Warning suppression.  Use countof.
+
+2001-02-13  Matt Tucker  <tuck@whistlingfish.net>
+
+       * font-lock.c (find_context): Fix C++ compile errors introduced by
+       recent patch
+
+2001-02-13  Martin Buchholz  <martin@xemacs.org>
+
+       * s/aix4.h: Later versions of IBM C compiler need a bug workaround
+       pragma, but earlier ones barf on the same pragma.
+
+2001-02-06  Mike Sperber <mike@xemacs.org>
+
+       * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and
+       `configure-mule-lisp-directory'.
+
+2001-02-12  Martin Buchholz  <martin@xemacs.org>
+
+       Make sure dump-id.c is compiled in the same way as other .c's.
+       Fixes pdump compilation failure with HP's cc, which defaults to K&R.
+       * dump-id.h: Remove.
+       * emacs.c: Move dump-id.h into dumper.h.
+       * dumper.h: Move dump-id.h into dumper.h.
+       * Makefile.in.in:
+       Use standard .c.o rule for building dump-id.o.
+       Remove preprocessor flags from link command.
+       Add dump-id.o to ${otherobjs} if PDUMP.
+
+2001-02-07  Matt Tucker  <tuck@whistlingfish.net>
+
+       Port FSF 20.7 syntax table improvements.
+       * syntax.c.
+       * syntax.h.
+
+       Fixups for new syntax table stuff.
+       * dired.c: Include syntax.c.
+       (Fdirectory_files): Initialize regex_match_object and
+       regex_emacs_buffer.
+       * extents.h: EXFUN Fnext_extent_change, Fprevious_extent_change,
+       and Fget_char_property.
+
+       Use ported FSF 20.7 syntax table improvements.
+       * font-lock.c.
+       * regex.c.
+       * search.c.
+       
+2001-02-09  Martin Buchholz  <martin@xemacs.org>
+
+       * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with
+       Unixware's enum boolean from sys/types.h.
+
+2001-02-10  Martin Buchholz  <martin@xemacs.org>
+
+       Fix support for building with latest Purify.
+       * Makefile.in.in (PURIFY_LIBS): Remove thread flags.
+       (PURIFY_FLAGS): Likewise.
+
+2001-02-09  Martin Buchholz  <martin@xemacs.org>
+
+       * fileio.c (lisp_string_set_file_times): New.
+       * fileio.c (Fcopy_file): Use it.
+       Fixes bug:
+       (copy-file filename non-ascii-filename t t)
+       ==> No such file or directory, non-ascii-filename
+
+2001-02-10  Martin Buchholz  <martin@xemacs.org>
+
+       * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning.
+       USHRT_MAX seems clearer than ~0 anyways.
+
+2001-02-09  Martin Buchholz  <martin@xemacs.org>
+
+       dumper improvements.  Inspired by Olivier.
+       * dumper.c (pdump_max_align): New.
+       * dumper.c (pdump_add_entry): Use pdump_max_align.
+       * dumper.c (pdump_get_entry_list): Likewise.
+       * dumper.c (pdump_scan_by_alignment): Likewise.
+       Don't iterate through unnecessary alignments.
+       * dumper.c (pdump_file_get): No need to align result of malloc().
+       * dumper.c (pdump_mallocadr): Remove.  
+       The result of malloc() is guaranteed to be maximally aligned.
+       * dumper.c: s/elmt/elt/g;
+       * dumper.c (pdump_object_table): Allocate dynamically, not statically.
+       * dumper.c (pdump_alert_undump_object): Likewise.
+       * dumper.c (pdump_align_table): 
+       Don't support alignments > 64.
+       Store ALIGNOF's, not shift counts, in table.
+
+2001-02-09  Martin Buchholz  <martin@xemacs.org>
+
+       * s/mingw32.h (HAVE_STRUCT_UTIMBUF): Remove.
+       * s/windowsnt.h (HAVE_STRUCT_UTIMBUF): Remove.
+       * systime.h: Use HAVE_UTIME.
+       * sysdep.c (struct utimbuf): Remove.
+       * sysdep.c (set_file_times): Prefer utime() to utimes().
+       * config.h.in (HAVE_UTIME): New.
+       * config.h.in (HAVE_UTIME_H): Remove.
+       * config.h.in (HAVE_STRUCT_UTIMBUF): Remove.
+
+2001-02-09  Martin Buchholz  <martin@xemacs.org>
+
+       * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE.
+
+2001-02-08  Martin Buchholz  <martin@xemacs.org>
+
+       * s/irix6-0.h: Use the standard system memmove, not bcopy.
+
+2001-02-08  Martin Buchholz <martin@xemacs.org>
+
+       * XEmacs 21.2.44 "Thalia" is released.
+
+2001-02-06  Martin Buchholz  <martin@xemacs.org>
+
+       Fixes crashes in kill-emacs on some systems.
+       * process-unix.c (unix_kill_child_process):
+       It's OK for kill() to fail with ESRCH.
+
+2001-02-07  Martin Buchholz  <martin@xemacs.org>
+
+       Contortions to make .gdbinit tricks work on most systems.
+       * alloc.c (dbg_inhibit_dbg_symbol_deletion): Keep debugger info.
+       * alloc.c (dbg_valmask): Make non-const.
+       * alloc.c (dbg_typemask): Make non-const.
+       * alloc.c (dbg_USE_UNION_TYPE): Make non-const.
+       * alloc.c (dbg_valbits): Make non-const.
+       * alloc.c (dbg_gctypebits): Make non-const.
+       * .gdbinit (decode_object): Make it work with AIX cc.
+
+2001-02-06  Martin Buchholz  <martin@xemacs.org>
+
+       * elhash.c (make_general_lisp_hash_table):
+       Use simpler and more efficient calloc to clear entries.
+
+2001-02-07  Martin Buchholz  <martin@xemacs.org>
+
+       * window.c (window_scroll): Work around an AIX C compiler bug.
+       Fixes 'scroll-up' does nothing problem with xlC.
+
+2001-02-05  Martin Buchholz  <martin@xemacs.org>
+
+       * .gdbinit: Remove obsolete comment.
+
+2001-01-31  Mike Alexander  <mta@arbortext.com>
+
+       * select.c (Fown_selection_internal): Set owned_p for device
+       method correctly.
+
+2001-02-01  Martin Buchholz  <martin@xemacs.org>
+
+       Port to g++ 2.97.
+       "not" cannot be used as a macro name as it is an operator in C++
+       * config.h.in: Stop #defining `not'.
+       * chartab.c (check_category_char): not ==> not_p
+       * chartab.h: Likewise.
+       * regex.c (re_match_2_internal): Likewise.
+
+2001-02-02  Martin Buchholz  <martin@xemacs.org>
+
+       * lisp-disunion.h: Fix up comments.
+
+2001-01-31  Martin Buchholz  <martin@xemacs.org>
+
+       * keymap.c (define_key_check_and_coerce_keysym):
+       (syms_of_keymap):
+       Support mouse-6 and mouse-7 bindings in the obvious way.
+
+2001-02-01  Martin Buchholz  <martin@xemacs.org>
+
+       * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD.
+
+2001-01-30  Martin Buchholz  <martin@xemacs.org>
+
+       Previous patch changing DEFVAR_INT to use EMACS_INT was incomplete.
+       Previous patch missed DEFVAR_INT_MAGIC.
+       Make sure future DEFVAR_foo use correct types.
+       * symeval.h (DEFVAR_SYMVAL_FWD_FIXNUM): New.
+       * (DEFVAR_SYMVAL_FWD_INT): Add type checking.
+       * (DEFVAR_SYMVAL_FWD_OBJECT): Add type checking.
+       * (DEFVAR_INT_MAGIC): Use DEFVAR_SYMVAL_FWD_FIXNUM.
+       * (DEFVAR_INT): Likewise.
+       * redisplay.c (vertical_clip): Should be of type Fixnum.
+       * redisplay.c (horizontal_clip): Likewise.
+       * lisp.h (dump_add_opaque_int): New.
+       (dump_add_opaque_fixnum): New.
+
+2001-01-29  Andy Piper  <andy@xemacs.org>
+
+       * glyphs-widget.c (check_valid_int_or_function): allow symbols
+       since they can be eval'ed
+
+2001-01-29  Martin Buchholz  <martin@xemacs.org>
+
+       * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers.
+       Oops, XEmacs redefines `class'.  Use `typename' instead.
+
+2001-01-28  Martin Buchholz  <martin@xemacs.org>
+
+       * dumper.c: Fix C++ compile errors.
+
+2001-01-29  Martin Buchholz  <martin@xemacs.org>
+
+       * tparam.c: Use correct prototypes.
+
+2001-01-28  Martin Buchholz  <martin@xemacs.org>
+
+       * sysproc.h: #include util.h for NetBSD's openpty.
+
+2001-01-27  Martin Buchholz  <martin@xemacs.org>
+
+       More 64-bit correctness.
+       The C value of a DEFVAR_INT should be of type EMACS_INT, not int.
+       Use a typedef `fixnum' for the type used for DEFVAR_INT.
+       Fix up comments.
+       This finally finishes the 64-bit SGI port.
+       Fixes things like (let ((gc-cons-threshold most-positive-fixnum)) ...).
+       * symbols.c: Fix up comments and type casts.
+       * symbols.c (do_symval_forwarding): s/int/Fixnum/g
+       * symbols.c (store_symval_forwarding): s/int/Fixnum/g
+       * symeval.h (Fixnum): New type.
+       * symeval.h (symbol_value_type): Fix up comment.
+
+       * commands.h:
+       * nt.c:
+       * emacs.c:
+       * data.c:
+       * redisplay.c:
+       * abbrev.c:
+       * dired-msw.c:
+       * event-Xt.c:
+       * eldap.c:
+       * window.c:
+       * sound.c:
+       * event-stream.c:
+       * eval.c:
+       * buffer.c:
+       * mule-canna.c: A million DEFVAR_INTs here...
+       * mule-canna.c (count_char): s/int */Fixnum */g in arglist.
+       * extents.c:
+       * cmdloop.c:
+       * lisp.h:
+       * select-x.c:
+       * console-x.h:
+       * event-msw.c:
+       * mule-wnnfns.c:
+       * hpplay.c:
+       * ralloc.c:
+       * alloc.c:
+       * keymap.c:
+       * profile.c:
+       s/int/Fixnum/g in DEFVAR_INT declarations.
+
+2001-01-26  Martin Buchholz  <martin@xemacs.org>
+
+       Port pdump to SGI alignment-sensitive environment.
+       Lisp Object sizeof methods now return aligned sizes.  Rely on that.
+       Eliminate is_lrecord since Lisp_Objects sizeof methods are now all
+       properly aligned.
+       Define and use aligned reading and writing macros.
+       Use buffered stdio instead of posix i/o for faster dumping.
+       Eliminate kludgy 256 byte space for header.
+       Read and write from dump file using structs for alignment safety.
+       * dumper.c (pdump_align_stream): New.
+       * dumper.c (PDUMP_ALIGN_OUTPUT): New.
+       * dumper.c (PDUMP_READ_ALIGNED): New.
+       * dumper.c (PDUMP_WRITE_ALIGNED): New.
+       * dumper.c (pdump_static_Lisp_Object): New struct.
+       * dumper.c (pdump_static_pointer): New struct.
+       * dumper.c (pdump_entry_list_element): Remove is_lrecord member.
+       * dumper.c (pdump_add_entry): Remove is_lrecord parameter.
+       * dumper.c (pdump_dump_data): Rely on sizeof method alignment.
+       * dumper.c (pdump_allocate_offset): Rely on sizeof method alignment.
+
+       * dumper.c (pdump_backtrace):
+       * dumper.c (pdump_get_indirect_count):
+       * dumper.c (pdump_register_object):
+       * dumper.c (pdump_register_struct):
+       * dumper.c (pdump_reloc_one):
+       * dumper.c (pdump_scan_by_alignment):
+       * dumper.c (pdump_dump_from_root_struct_ptrs):
+       * dumper.c (pdump_dump_opaques):
+       * dumper.c (pdump_dump_rtables):
+       * dumper.c (pdump_dump_from_root_objects):
+       * dumper.c (pdump):
+       * dumper.c (pdump_load_finish):
+       Use aligned reading and writing.
+
+       * dumper.c (pdump_free): Make static.
+       * dumper.c (pdump_hFile): Likewise.
+       * dumper.c (pdump_hMap): Likewise.
+
+2001-01-26  Martin Buchholz <martin@xemacs.org>
+
+       * XEmacs 21.2.43 "Terspichore" is released.
+
+2001-01-25  Martin Buchholz  <martin@xemacs.org>
+
+       Type fiddling for window_config.saved_windows_count
+       * window.c (struct window_config): 
+       Make saved_windows_count member unsigned.
+       * window.c (sizeof_window_config_for_n_windows): 
+       Make parameter unsigned.
+       * window.c (mark_window_config):
+       * window.c (window_config_equal):
+       * window.c (free_window_configuration):
+       * window.c (Fset_window_configuration):
+       * window.c (count_windows):
+       * window.c (Fcurrent_window_configuration):
+       * window.c (reinit_vars_of_window):
+       Update all callers and users.
+
+2001-01-25  Martin Buchholz  <martin@xemacs.org>
+
+       Alignment correctness for flexible arrays.
+       * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF):
+       Make alignment-correct. Add interesting comments.
+       * alloc.c (size_vector):
+       * alloc.c (make_vector_internal):
+       * alloc.c (make_bit_vector_internal):
+       * alloc.c (sweep_bit_vectors_1):
+       * fns.c (size_bit_vector):
+       Update all callers of FLEXIBLE_ARRAY_STRUCT_SIZEOF to add new arg.
+       * window.c (sizeof_window_config_for_n_windows): 
+       Use FLEXIBLE_ARRAY_STRUCT_SIZEOF.
+
+2001-01-24  Martin Buchholz  <martin@xemacs.org>
+
+       * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h
+
+2001-01-23  Andy Piper  <andy@xemacs.org>
+
+       * select.c (Fown_selection_internal): pass owned_p
+
+       * select-msw.c (mswindows_own_selection): New Signature.
+
+       * console.h (struct console_methods): add owned_p to
+       _own_selection.
+
+       * select-x.c (x_own_selection): pass owned_p
+       (hack_motif_clipboard_selection): use owned_p
+       (vars_of_select_x): new variable -
+       x_selection_strict_motif_ownership.
+
+2001-01-23  Martin Buchholz  <martin@xemacs.org>
+
+       * specifier.h (specifier_data_offset): Remove pointless parens.
+       * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise.
+
+2001-01-24  Martin Buchholz  <martin@xemacs.org>
+
+       Make Lisp_Object sizeof methods be alignment-correct.
+       pdump must restore objects to the same alignment as the C compiler
+       assumes.  It really matters on SGIs.
+       * lstream.c (aligned_sizeof_lstream): New.
+       (sizeof_lstream): Use aligned_sizeof_lstream.
+       (Lstream_new): Likewise.
+       * opaque.c (aligned_sizeof_opaque): New.
+       (sizeof_opaque): Use aligned_sizeof_opaque.
+       (make_opaque): Likewise.
+       * specifier.c (aligned_sizeof_specifier): New.
+       (sizeof_specifier): Use aligned_sizeof_specifier.
+       (make_specifier_internal): Likewise.
+
+2001-01-23  Martin Buchholz  <martin@xemacs.org>
+
+       * lstream.h (struct lstream): Use max_align_t for trailing data.
+       * specifier.h (struct Lisp_Specifier): Likewise.
+
+2001-01-22  Martin Buchholz  <martin@xemacs.org>
+
+       * mule-ccl.c (CCL_Extension): Renamed from CCL_Extention.
+       (CCL_SUCCESS): Kludge to prevent Sun cc compiler warnings.
+       (CCL_SUSPEND): Likewise.
+       (CCL_INVALID_CMD): Likewise.
+       (CCL_CALL_FOR_MAP_INSTRUCTION): Likewise.
+       (ccl_driver): Likewise.
+       (CCL_WRITE_CHAR): Macro hygiene.
+       (CCL_WRITE_STRING): Macro hygiene.
+
+2001-01-22  Martin Buchholz  <martin@xemacs.org>
+
+       Port "portable" dumper to SunOS 4 and HP-UX.
+       * s/aix4.h (AIX4): Move MAP_FAILED definition elsewhere.
+       * emacs.c (main): PDUMP implies no RUN_TIME_REMAP.
+       * dumper.c (pdump_file_get): Define MAP_FAILED if not already defined.
+
+2001-01-22  Martin Buchholz  <martin@xemacs.org>
+
+       * lisp.h (ALIGNOF): A better definition for C++.
+
+2001-01-20  Martin Buchholz  <martin@xemacs.org>
+
+       Macro hygiene.
+       Fix printf warnings: int format, long int arg.
+       * regex.c (DECLARE_DESTINATION): Use DECLARE_NOTHING.
+       (PUSH_FAILURE_POINT): Use correct printf formats.
+       (POP_FAILURE_POINT): Use correct printf formats.  
+       Use do {...} while (0)
+
+2001-01-20  Martin Buchholz <martin@xemacs.org>
+
+       * XEmacs 21.2.42 "Poseidon" is released.
+
+2001-01-20  Martin Buchholz  <martin@xemacs.org>
+
+       * console-x.h: typo fix du jour.  Remove #if 0'ed code.
+
+2001-01-19  Martin Buchholz  <martin@xemacs.org>
+
+       De-kludgify FIXED_TYPE free list frobbing.
+       Fix crashes on 64-bit platforms introduced by my patch of 2001-01-13.
+       * alloc.c (DECLARE_FIXED_TYPE_ALLOC): Use Lisp_Free.
+       * alloc.c (ALLOCATE_FIXED_TYPE_1): Use new definitions.
+       * alloc.c (Lisp_Free): New pseudo lisp object definition.
+       * alloc.c (LRECORD_FREE_P): New.
+       * alloc.c (MARK_LRECORD_AS_FREE): New.
+       * alloc.c (MARK_LRECORD_AS_NOT_FREE): New.
+       * alloc.c (STRUCT_FREE_P): Deleted.
+       * alloc.c (MARK_STRUCT_AS_FREE): Deleted.
+       * alloc.c (MARK_STRUCT_AS_NOT_FREE): Deleted.
+       * alloc.c (STRING_CHARS_FREE_P): New.
+       * alloc.c (MARK_STRING_CHARS_AS_FREE): New.
+       * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): Use new definitions.
+       * alloc.c (FREE_FIXED_TYPE): Use new definitions.
+       * alloc.c (STRING_CHARS_FREE_P): Use new definitions.
+       * alloc.c (resize_string): Use new definitions.
+       * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Use new definitions.
+       * alloc.c (verify_string_chars_integrity): Use new definitions.
+       * alloc.c (compact_string_chars): Use new definitions.
+       * alloc.c: Update monster comments.
+       * lrecord.h (lrecord_type): Add some new lrecord types for
+       alloc.c's use.
+
+2001-01-18  Martin Buchholz  <martin@xemacs.org>
+
+       Improve alignment hackery.
+       * lisp.h (ALIGNOF): Better definition for the non-gcc case.
+       (max_align_t): Moved from opaque.h - general purpose.
+       (ALIGN_PTR): Use size_t, not long.
+       * opaque.h (max_align_t): Move to lisp.h.
+
+2001-01-18  Norbert Koch  <nk@LF.net>
+
+       * gui.h: Fix and add prototypes to fix build problems.
+
+2001-01-18  Martin Buchholz  <martin@xemacs.org>
+
+       temacs is going away, so `dump-temacs' is now a bad name.
+       * .dbxrc (dump-temacs): Rename to `dmp'.
+       * .gdbinit (dump-temacs): Rename to `dmp'.
+
+2001-01-17  Andy Piper  <andy@xemacs.org>
+
+       * glyphs.c (print_image_instance): comment to make martin happy.
+
+       * glyphs-x.c (x_redisplay_widget): update faces after a frame
+       change.
+
+       * glyphs-msw.c (mswindows_redisplay_widget): add code to cope with
+       activation.
+       (mswindows_tab_control_redisplay): warning suppression.
+
+       * glyphs-widget.c (widget_update): re-write to cope with updated
+       items.
+       (widget_instantiate): use new gui_item functions.
+       (tab_control_update): deleted.
+       (progress_gauge_update): deleted.
+       (image_instantiator_progress_guage): take out update reference.
+       (image_instantiator_tree_view): ditto.
+       (image_instantiator_tab_control): ditto.
+
+       * gui.c (widget_gui_parse_item_keywords): new function. Do things
+       Right the new way.
+       (gui_item_add_keyval_pair): re-write to cope with descriptors and
+       return whether anything was changed.
+       (update_gui_item_keywords): as it sounds.
+
+       * gui.h: declare widget_gui_parse_item_keywords.
+
+       * fns.c (safe_copy_tree): new function taken from Fcopy_tree.
+       (Fcopy_tree): use it. Stops infloop death in bogus instantiators.
+
+2001-01-17  Martin Buchholz <martin@xemacs.org>
+
+       * XEmacs 21.2.41 "Polyhymnia" is released.
+
+2001-01-16  Didier Verna  <didier@xemacs.org>
+
+       * glyphs.c (image_instantiate): don't use fallbacks when
+       instantiating a face's background pixmap by inheritance.
+
+2001-01-14  Mike Sperber <mike@xemacs.org>
+
+       * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK.
+       Conditionalize accordingly.
+
+2001-01-16  Martin Buchholz  <martin@xemacs.org>
+
+       * dumper.c (pdump_file_get): Fix a compiler warning.
+
+2001-01-15  Martin Buchholz  <martin@xemacs.org>
+
+       Make Purify happy when pdumping.
+       * symbols.c (Fmake_variable_buffer_local): Make Purify happy, by
+       iniitalizing all bits of new lisp object memory.
+       * symbols.c (Fmake_local_variable): Likewise.
+       * symbols.c (Fdontusethis_set_symbol_value_handler): Likewise.
+       * symbols.c (Fdefvaralias): Likewise.
+       * mule-charset.c (vars_of_mule_charset): Likewise.
+
+2001-01-15  Martin Buchholz  <martin@xemacs.org>
+       Add the `-nd' flag when running pre-dump operations under the debugger.
+       * .dbxrc (run-temacs): Add `-nd'.
+       * .dbxrc (update-elc): Likewise.
+       * .dbxrc (dump-temacs): Likewise.
+       * .gdbinit (run-temacs): Likewise.
+       * .gdbinit (check-temacs): Likewise.
+       * .gdbinit (update-elc): Likewise.
+       * .gdbinit (dump-temacs): Likewise.
+
+2001-01-14  Martin Buchholz  <martin@xemacs.org>
+
+       Allow building 64-bit executables on AIX with GNU malloc, e.g.
+       export OBJECT_MODE=64
+       configure --pdump --use-union-type=no
+       * m/ibmrs6000.h (DATA_START): Define for 64-bit world.
+       * gmalloc.c (__default_morecore): Remove pre-ANSI cruft.
+
+       * miscplay.c (sndcnv8U_2mono):
+       Avoid two uses of `++' in the same expression.
+       Suppresses a GCC warning.
+
+2001-01-13  Martin Buchholz  <martin@xemacs.org>
+
+       Make sure future compilers don't miscompile alloc.c.
+       * alloc.c:
+       (MARK_STRUCT_AS_FREE): Make aliasing-optimization-resistant.
+       (MARK_STRUCT_AS_NOT_FREE): Make aliasing-optimization-resistant.
+
+2001-01-12  Martin Buchholz  <martin@xemacs.org>
+
+       * dumper.c: A little post-pdump-rename comment fixup.
+
+2001-01-09  Jerry James  <james@eecs.ku.edu>
+
+       * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use.
+
+2001-01-13  Martin Buchholz  <martin@xemacs.org>
+
+       * *.[ch]: Globally rename symbols using the following `pdump-rename'
+       script:
+       #!/bin/sh
+       replace_symbol () {
+         (findn texi$; findn [ch]$) | xargs g -lw "$1" | xargs global-replace 's/(?<!_)\b'$1'\b(?!_)/'$2'/g'
+       }
+
+       replace_symbol pdump_wire_lists pdump_weak_object_chains
+       replace_symbol pdump_wire_list dump_add_weak_object_chain
+
+       replace_symbol pdump_wires pdump_root_objects
+       replace_symbol pdump_wire dump_add_root_object
+
+       replace_symbol pdump_dump_wired pdump_dump_from_root_objects
+       replace_symbol pdump_dump_structs pdump_dump_from_root_struct_ptrs
+
+       replace_symbol dumpstructinfos pdump_root_struct_ptrs
+       replace_symbol dumpstructinfo_dynarr pdump_root_struct_ptr_dynarr
+       replace_symbol dumpstructinfo pdump_root_struct_ptr
+       replace_symbol dumpstruct dump_add_root_struct_ptr
+
+       replace_symbol dumpopaque dump_add_opaque
+       replace_symbol dumpopaqueinfo_dynarr pdump_opaque_dynarr
+       replace_symbol dumpopaqueinfos pdump_opaques
+       replace_symbol dumpopaqueinfo pdump_opaque
+
+       replace_symbol nb_structdump nb_root_struct_ptrs
+       replace_symbol nb_opaquedump nb_opaques
+
+       replace_symbol align_table pdump_align_table
+       replace_symbol dump_header pdump_header
+
+       replace_symbol DUMP_SIGNATURE_LEN PDUMP_SIGNATURE_LEN
+       replace_symbol DUMP_SIGNATURE PDUMP_SIGNATURE
+
+
+2001-01-12  Martin Buchholz  <martin@xemacs.org>
+
+       * s/aix4.h: Keep the C for AIX compiler from overaggressively
+       optimizing bytecount_to_charcount().
+
+2001-01-06  Golubev I. N.  <gin@mo.msk.ru>
+
+       * config.h.in:
+       (HAVE_DLFCN_H): Removed.
+       * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H.
+
+2001-01-06  Martin Buchholz  <martin@xemacs.org>
+
+       Portable dumper maintainability improvements.
+       * alloc.c (staticpro):
+       * alloc.c (staticpro_nodump):
+       * alloc.c (garbage_collect_1):
+       * alloc.c (reinit_alloc_once_early):
+       * alloc.c (init_alloc_once_early):
+       * alloc.c: Move dumper functions to alloc.c.
+       * dumper.c (pdump_backtrace):
+       * dumper.c (pdump_dump_structs):
+       * dumper.c (pdump_dump_opaques):
+       * dumper.c (pdump_dump_rtables):
+       * dumper.c (pdump_dump_wired):
+       * dumper.c (pdump):
+       * dumper.c (pdump_load_check):
+       * dumper.c (pdump_load_finish):
+       * dumper.c (pdump_file_unmap):
+       * dumper.c (pdump_file_get):
+       * dumper.c (pdump_resource_free):
+       * dumper.c (pdump_resource_get):
+       * dumper.c (pdump_file_free):
+       * dumper.c (pdump_file_try):
+       * dumper.c (pdump_load):
+       Remove fixed size limits on staticpro(), staticpro_nodump(),
+       dumpopaque(), dumpstruct() by using Dynarrs instead of static C arrays.
+       Remove custom code for dumping lrecord_implementations_table - use
+       dumpopaque instead.
+       Remove (most of the) custom code for dumping staticpros - dump it
+       like any other dynarr.
+
+       * alloc.h: Removed.  No longer useful, since dumper now more self-contained.
+       * dumper.c: Moved functions from alloc.c.
+       * alloc.c (dumpstruct): Moved to dumper.c.
+       * alloc.c (dumpopaque): Likewise.
+       * alloc.c (pdump_wire): Likewise.
+       * alloc.c (pdump_wire_list): Likewise.
+
+       * lisp.h (Dynarr_sizeof): New.
+       * lisp.h (Dynarr_begin): New.  Very slightly C++oid.
+       * lisp.h (Dynarr_end): New.  Very slightly C++oid.
+       * lisp.h (Lisp_Object_ptr_dynarr): New.  For staticpros.
+
+       * lisp.h (dumpstruct): Define to nothing if not PDUMPing.
+       * lisp.h (dumpopaque): ditto.
+       * lisp.h (pdump_wire): ditto.
+       * lisp.h (pdump_wire_list): ditto.
+
+2001-01-09  Martin Buchholz  <martin@xemacs.org>
+
+       * make-src-depend (PrintPatternDeps):
+       Use `sort' to make output independent of perl version.
+
+2001-01-08  Martin Buchholz  <martin@xemacs.org>
+
+       Port to Netbsd 1.5.
+       * unexelf.c: Remove (never used) bogus Netbsd-specific cruft.
+       * s/netbsd.c: Use unexelf.o if __ELF__ is defined.
+
+2001-01-03  Didier Verna  <didier@xemacs.org>
+
+       * event-stream.c (emacs_handle_focus_change_preliminary): ensure
+       that `focus_frame' is alive before thinking of calling
+       `redisplay_redraw_cursor' on it.
+
+2001-01-08  Martin Buchholz <martin@xemacs.org>
+
+       * XEmacs 21.2.40 is released.
+
+2001-01-06  Golubev I. N.  <gin@mo.msk.ru>
+
+       * regex.c: Replace PREFETCH with REGEX_PREFETCH.
+
+2001-01-06  Martin Buchholz  <martin@xemacs.org>
+
+       * alloc.c (dbg_valmask): Make const.
+       * alloc.c (dbg_typemask): Make const.
+       * alloc.c (dbg_USE_UNION_TYPE): Make const.
+       * alloc.c (dbg_valbits): Make const.
+       * alloc.c (dbg_gctypebits): Make const.
+
+2001-01-06  Stephen J. Turnbull  <stephen@xemacs.org>
+
+       * redisplay-x.c (x_bevel_area):
+       redisplay.h (struct rune):
+       Typo fixes in comments.
+
+2001-01-05  Andy Piper  <andy@xemacs.org>
+
+       * glyphs-x.c (x_redisplay_widget): use size changed for offset
+       adjustment.
+
+       * menubar.c (menubar_visible_p_changed): don't mark frame changed.
+
+2001-01-05  Martin Buchholz  <martin@xemacs.org>
+
+       * alloc.c (pure-bytes-used): Remove unused mendacious variable.
+
+       * mule-ccl.c (stack_idx_of_map_multiple):
+       Non const global data must not be initialized!
+       Found by MIYASHITA Hisashi.
+
+2001-01-02  Andy Piper  <andy@xemacs.org>
+
+       * frame.c (change_frame_size): make sure frame size is always
+       marked as changed.
+
+       * glyphs.c (image_instance_layout): minor code reuse.
+
+       * window.c (Fcurrent_window_configuration): revert previous
+       change.
+
+2001-01-02  Martin Buchholz  <martin@xemacs.org>
+
+       * glyphs.h:
+       * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes.
+
+2000-12-31  Andy Piper  <andy@xemacs.org>
+
+       * glyphs-x.c (x_unmap_subwindow): return focus to enclosing frame
+       when widget gets unmapped.
+
+       * event-Xt.c (emacs_Xt_handle_widget_losing_focus): new
+       function. Make sure widgets losing focus don't just drop it.
+       (handle_focus_event_1): record the widget with focus.
+
+2000-12-31  Andy Piper  <andy@xemacs.org>
+
+       * window.c (allocate_window): use
+       make_image_instance_cache_hash_table.
+       (make_dummy_parent): ditto.
+       (Fset_window_configuration): ditto.
+
+       * glyphs.h (INSTANTIATOR_TYPE): new macro.  declare new functions.
+
+       * glyphs.c (process_image_string_instantiator): use
+       INSTANTIATOR_TYPE.
+       (get_image_instantiator_governing_domain): ditto.
+       (normalize_image_instantiator): ditto.
+       (instantiate_image_instantiator): ditto.
+       (make_image_instance_1): ditto.
+       (image_instantiate): ditto. Key on glyph *and* instantiator type.
+       (instantiator_eq_equal): new function for use with instance hash
+       tables.
+       (instantiator_eq_hash): ditto.
+       (make_image_instance_cache_hash_table): create a suitable hash
+       table for storing image instances.
+
+       * elhash.h (hash_table_weakness): new internal weakness type
+       HASH_TABLE_KEY_CAR_VALUE_WEAK.
+       declare new functions.
+
+       * elhash.c (finish_marking_weak_hash_tables): introduce yet
+       another weakness type for glyphs.
+       (make_standard_lisp_hash_table): new function split out from
+       make_general_lisp_hash_table.
+       (make_lisp_hash_table): call make_standard_lisp_hash_table.
+       (hash_table_instantiate): ditto.
+       (Fmake_hash_table): ditto.
+
 2000-12-31  Martin Buchholz <martin@xemacs.org>
 
        * XEmacs 21.2.39 is released.
        * buffer.c: Make find-file-compare-truenames default to true on
        windows.
 
-       * realpath.c (win32_abs_start): 
+       * realpath.c (win32_abs_start):
        (cygwin_readlink):
        (win32_readlink): New functions.
        (xrealpath): Return really real filenames on windows.
        (fast_string_match): Ditto.
        (search_command): Ditto.
        (search_buffer): Separate boyer_moore.  Check whether
-       boyer_moore is poosible.
+       boyer_moore is possible.
        (simple_search): New function.
        (boyer_moore): Separated from search_buffer. Translate char.