+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.