XEmacs 21.2.45 "Thelxepeia".
[chise/xemacs-chise.git.1] / src / ChangeLog
index 8c0c82a..1a6d69c 100644 (file)
@@ -1,3 +1,367 @@
+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.