XEmacs 21.4.6 "Common Lisp".
[chise/xemacs-chise.git-] / src / ChangeLog
index 91c0222..6481940 100644 (file)
@@ -1,3 +1,543 @@
+2001-12-17  Stephen J. Turnbull  <stephen@xemacs.org>
+
+       * XEmacs 21.4.6 "Common Lisp" is released.
+
+2001-12-17  Stephen J. Turnbull  <stephen@xemacs.org>
+
+       * XEmacs 21.4.6 "Common Lisp" is released.
+
+2001-12-16  Torsten Duwe  <duwe@caldera.de>
+
+       * search.c (Freplace_match): Add missing sub-expression functionality.
+
+       * buffer.c (decode_buffer): Add a check for pointer type to
+       decode_buffer, before gcc's CSE optimization reorders a
+       dereference in front of the allow_string test.
+
+2001-11-16  Darryl Okahata  <darrylo@xemacs.org>
+
+       * window.c (window_loop): Fix bug that sometimes prevented
+       window_loop() from iterating across multiple devices.  Also, at
+       Ben's request, changed infloop-detecting code to abort() instead
+       of silently terminating window_loop().
+
+2001-11-21  Stephen J. Turnbull  <stephen@xemacs.org>
+
+       Based on analysis and patch by Simon Josefson <jas@extundo.com>.
+       * editfns.c (make_time): New function.
+       (Fencode_time): Use it instead of wasteful_word_to_lisp.
+       * lisp.h (make_time): Prototype and comment it.
+       * dired.c (wasteful_word_to_lisp): Deprecate.
+       (Ffile_attributes): Use make_time() instead of wasteful_word_to_lisp().
+
+2001-10-31  Kyle Jones  <kyle_jones@wonderworks.com>
+
+       * fileio.c (auto_save_1): Use current coding system, not
+       escape-quoted.
+
+2001-11-13  Ben Wing  <ben@xemacs.org>
+
+       * window.c:
+       * window.c (window_truncation_on):
+       * window.c (syms_of_window):
+       truncate-partial-width-windows should respect the buffer being
+       displayed, like other redisplay vars.
+
+2001-11-13  Hirokazu FUKUI  <hfukui@sannet.ne.jp>
+
+       * event-stream.c (Fread_key_sequence): save current buffer.
+
+2001-10-29  Andrew Begel  <abegel@eecs.berkeley.edu>
+
+       * ntheap.c (_heap_init): Don't redefine in VS.NET (MSC >= 1300).
+
+2001-10-29  Andrew Begel  <abegel@eecs.berkeley.edu>
+
+       * alloc.c (lcrecord_stats): Add space for types defined in modules.
+
+2001-10-26  Mike Alexander  <mta@arbortext.com>
+
+       * event-msw.c (slurper_free_shared_data_maybe): Free the pipe handle.
+
+2001-10-25  Andy Piper  <andy@xemacs.org>
+
+       * ChangeLog:
+       * dialog-msw.c (handle_directory_proc): new function.
+        (handle_directory_dialog_box): new fucntion.
+        (handle_file_dialog_box): use new directory dialog support.
+        (mswindows_make_dialog_box_internal): ditto.
+       * event-msw.c (mswindows_wnd_proc): minor fix to scrollbar event
+       handling.
+       (mswindows_find_frame): make global.
+       * fileio.c (Fexpand_file_name): build fix.
+       * general-slots.h: add Qdirectory.
+       * scrollbar-msw.c (mswindows_handle_scrollbar_event): fix focus
+       handling.
+       * syswindows.h (LOCAL_TO_WIN32_FILE_FORMAT): fix problem with
+       cygwin not leaving win32 paths unchanged.
+       * win32.c (Fmswindows_cygwin_to_win32_path): new function. Use the
+       cygwin runtime to do path conversion.
+       (Fmswindows_shell_execute): fix cygwin handling of URLs.
+       (syms_of_win32): add new function.
+       * window.c (window_loop): build fix.
+
+2001-10-15  Andy Piper  <andy@xemacs.org>
+
+       (Fmswindows_shell_execute): fix handling of URL's under cygwin.
+
+2001-10-23  Stephen J. Turnbull  <stephen@xemacs.org>
+
+       * XEmacs 21.4.5 "Civil Service" is released.
+
+2001-04-08  Danny Colascione  <qtmstr@optonline.net>
+
+       * glyphs-x.c: Force buffer-tab highlight update when moving the
+       buffer, avoiding an ugly black border, used for keyboard focus
+       indication, on a widget that can never have keyboard focus, the
+       buffer tab.
+
+2001-08-30  Daiki Ueno  <ueno@unixuser.org>
+
+       * process-unix.c (unix_open_multicast_group): Remove too much
+       conversion between host and network byte order.
+
+2001-09-10  Nix  <nix@esperi.demon.co.uk>
+
+       * src/buffer.c (kill_buffer): Undedicate windows showing BUF
+        before replacing them.
+
+        * src/window.c (window_loop): Implement new UNDEDICATE_BUFFER
+        operation.
+
+        * src/window.c (undedicate_windows): Use it.
+        * src/window.h: Add prototype.
+
+2001-09-17  Ben Wing  <ben@xemacs.org>
+
+       * fileio.c (normalize_filename):
+       * fileio.c (Fexpand_file_name):
+       Fix various C++ compile errors in Andy's recent code.
+       
+       * callint.c (Fcall_interactively):
+       * editfns.c (Ftemp_directory):
+       * editfns.c (Fuser_full_name):
+       * emacs.c (argmatch):
+       * lread.c (locate_file_map_suffixes):
+       * redisplay-x.c (x_ring_bell):
+       Fix sign-compare warnings.
+       
+2001-09-08  Andy Piper  <andy@xemacs.org>
+
+       * fileio.c (normalize_filename): copied from nt.c
+       * (Ffile_name_directory): enable win32 paths under cygwin.
+       * (Ffile_name_nondirectory): ditto.
+       * (directory_file_name): ditto.
+       * (Fexpand_file_name): ditto.
+       * (Ffile_truename): ditto.
+       * (Fsubstitute_in_file_name): ditto.
+       * (Ffile_name_absolute_p): ditto.
+       * (Ffile_readable_p): ditto.
+
+2001-09-08  Andy Piper  <andy@xemacs.org>
+
+       * device-msw.c (mswindows_finish_init_device): remove dde
+       initialization.
+       * device-msw.c (mswindows_init_dde): factor out from
+       mswindows_finish_init_device()
+       * device-msw.c (init_mswindows_very_early): new function
+       initialize but don't enable dde.
+       * emacs.c (main_1): call init_mswindows_very_early.
+       * event-msw.c:
+       * event-msw.c (mswindows_dde_callback): only execute when we are
+       ready.
+       * symsinit.h: declare init_mswindows_very_early.
+
+2001-05-02  Kirill 'Big K' Katsnelson  <kkm@dtmx.com>
+
+       [sjt: This has been in 21.5 for months with no complaints.]
+
+       * console.h (struct console_methods): Added flags member.
+       (CONSOLE_IMPLEMENTATION_FLAGS): Defined.
+       (CONMETH_IMPL_FLAG):
+       (CONSOLE_IMPL_FLAG): Macro to check implememntation flags.
+       Defined XDEVIMPF_DONT_PREEMPT_REDISPLAY.
+
+       * device.c (window_system_pixelated_geometry): Use the above macros.
+
+       * device.h (DEVICE_IMPL_FLAG): Macro to check a device
+       implememntation flag.
+       * device.h (DEVICE_DISPLAY_P): Use it.
+
+       * frame.c (delete_frame_internal): Use the above macro.
+
+       * redisplay.c (redisplay_device): Use it.
+       (redisplay_device): Obey XDEVIMPF_DONT_PREEMPT_REDISPLAY.
+       (redisplay_frame): Ditto.
+
+       * device-msw.c (mswindows_device_implementation_flags): Removed.
+       (msprinter_device_implementation_flags): Removed.
+       (console_type_create_device_mswindows): Removed references to
+       implementation_flags methods, set implementation flags here.
+       (console_type_create_device_mswindows): Added XDEVIMPF_DONT_PREEMPT.
+
+       * device-gtk.c (gtk_device_implementation_flags): Removed method.
+       (console_type_create_device_gtk): Removed method declaration.
+       Added commented out statement which semantically matches the
+       commented out statement in the above removed method.
+
+2001-04-14  Gordon Sadler  <gbsadler1@lcisp.com>
+
+       The attached patch fixes a few warnings. 
+
+       * src/emacs.c: prototype console_type_create_select_gtk for GTK only
+       * src/frame-gtk.c: guard against GNOME calls in GTK only
+       * src/redisplay-gtk.c: include <sys/poll.h> #ifdef HAVE_POLL
+       * src/select-gtk.c: prototype lisp_to_time
+
+2001-06-08  Ben Wing  <ben@xemacs.org>
+
+       ------ gc-in-window-procedure fixes ------
+       
+       * alloc.c:
+       * alloc.c (struct post_gc_action):
+       * alloc.c (register_post_gc_action):
+       * alloc.c (run_post_gc_actions):
+       * alloc.c (garbage_collect_1):
+       Create "post-gc actions", to avoid those dreaded "GC during window
+       procedure" problems.
+
+       * event-msw.c:
+       Abort, clean and simple, when GC in window procedure.  We want
+       to flush these puppies out.
+
+       * glyphs-msw.c:
+       * glyphs-msw.c (finalize_destroy_window):
+       * glyphs-msw.c (mswindows_finalize_image_instance):
+       Use a post-gc action when destroying subwindows.
+
+       * lisp.h:
+       Declare register_post_gc_action().
+
+       * scrollbar-msw.c:
+       * scrollbar-msw.c (unshow_that_mofo):
+       Use a post-gc action when unshowing scrollbar windows, if in gc.
+
+       * redisplay.c (mark_redisplay):
+       Add comment about the utter evilness of what's going down here.
+
+       ------ cygwin setitimer fixes ------
+       
+       * Makefile.in.in (sheap_objs):
+       * Makefile.in.in (profile_objs):
+       * Makefile.in.in (objs):
+       Compile profile.c only when HAVE_SETITIMER.
+       
+       * nt.c (mswindows_sigset):
+       * nt.c (mswindows_sighold):
+       * nt.c (mswindows_sigrelse):
+       * nt.c (mswindows_sigpause):
+       * nt.c (mswindows_raise):
+       * nt.c (close_file_data):
+       Style fixes.
+       
+       * nt.c:
+       Move setitimer() emulation to win32.c, because Cygwin needs it too.
+       
+       * profile.c:
+       * profile.c (Fstart_profiling):
+       * profile.c (Fstop_profiling):
+       Make sure we don't compile if no setitimer().  Use qxe_setitimer()
+       instead of just plain setitimer().
+       
+       * signal.c:
+       * signal.c (set_one_shot_timer):
+       * signal.c (alarm):
+       Define qxe_setitimer() as an encapsulation around setitimer() --
+       call setitimer() directly unless Cygwin or MS Win, in which case
+       we use our simulated version in win32.c.
+       
+       * systime.h:
+       * systime.h (struct itimerval):
+       * systime.h (ITIMER_REAL):
+       Prototype mswindows_setitimer() and qxe_setitimer().  Long
+       comment about "qxe" and the policy regarding encapsulation.
+
+       * win32.c:
+       * win32.c (setitimer_helper_proc):
+       * win32.c (setitimer_helper_period):
+       * win32.c (setitimer_helper):
+       * win32.c (mswindows_setitimer):
+       Move setitimer() emulation here, so Cygwin can use it.
+       Rename a couple of functions and variables to be longer and more
+       descriptive.  In setitimer_helper_proc(), send the signal
+       using either mswindows_raise() or (on Cygwin) kill().  If for
+       some reason we are still getting lockups, we'll change the kill()
+       to directly invoke the signal handlers.
+
+       ------ windows shell fixes ------
+       
+       * callproc.c:
+       * ntproc.c:
+       Comments about how these two files must die.
+
+       * callproc.c (init_callproc):
+       On MS Windows, init shell-file-name from SHELL, then COMSPEC,
+       not just COMSPEC. (more correct and closer to FSF.) Don't
+       force a value for SHELL into the environment. (Comments added
+       to explain why not.)
+       
+       * nt.c (init_user_info):
+       Don't shove a fabricated SHELL into the environment.  See above.
+
+2001-06-01  Ben Wing  <ben@xemacs.org>
+
+       * Makefile.in.in (ldflags):
+       eliminate that pesky "defaulting to 00401000" warning.
+       * nt.h:
+       eliminate warnings.
+
+2001-06-15  Golubev I. N.  <gin@mo.msk.ru>
+
+       * s/sco5.h (FORCE_ALLOCATE_PTY_THE_OLD_FASHIONED_WAY): #define.
+       * process-unix.c (allocate_pty): #ifndef "modern" pty allocation.
+
+2001-04-24  Jerry James <james@xemacs.org>
+
+       * faces.h: pass parameters to Fadd_spec_to_specifier in the
+       correct order.
+
+2001-06-01  Ben Wing  <ben@xemacs.org>
+
+       * event-msw.c (debug_mswin_messages):
+       conditionalize the messages that were causing compile errors.
+       (if only macros could generate #ifdef statements ...)
+
+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.
        * s/aix4.h: Fix crash with xlc -O3.
        Improve comment explaining how -O3 works.
 
-2001-04-22   zhaoway  <zw@debian.org>
-
-       * event-stream.c (is_scrollbar_event): Noop returning 0 if
-       !HAVE_SCROLLBARS.
-
 2001-04-15  Ben Wing  <ben@xemacs.org>
 
        * event-stream.c: