X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2FChangeLog;h=7ff5ba3e717dac759053555fe9aa62934761c00c;hp=d447fe9d5575e8ff38f68ae15c2bcacfeb1c3070;hb=041e98cf4c48018877365e3bfb37cfc09b54cc6d;hpb=caf1416adb403b6334ce635e58b269b6c653aa39 diff --git a/src/ChangeLog b/src/ChangeLog index d447fe9..7ff5ba3 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,1684 @@ +2001-05-17 Stephen J. Turnbull + + * XEmacs 21.4.3 "Academic Rigor" is released. + +2001-05-17 Stephen J. Turnbull + + * regex.c: Define DECLARE_NOTHING when "lisp.h" is not included. + +2001-05-08 Yoshiki Hayashi + + * 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 + + * event-msw.c: Restore include of events-mod.h. + +2001-04-22 zhaoway + + * event-stream.c (is_scrollbar_event): Noop returning 0 if + !HAVE_SCROLLBARS. + +2001-05-10 Stephen J. Turnbull + + * XEmacs 21.4.2 "Developer-Friendly Unix APIs" is released. + +2001-05-08 Yoshiaki Kasahara + + * mule-charset.c (Fmake_charset): Add missing else. + +2001-04-23 Ben Wing + + * 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 + + * 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 + + 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 + + * s/aix4.h: Fix crash with xlc -O3. + Improve comment explaining how -O3 works. + +2001-04-15 Ben Wing + + * 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 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 + + * .cvsignore: Added stuff for Windows. + +2001-04-28 Ben Wing + + * 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 + + * process-unix.c (unix_open_network_stream): If connect() fails + invalidate file descriptor after closing it. + +2001-03-08 Mike Alexander + + * 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 + + * XEmacs 21.4.1 "Copyleft" is released. + +2001-04-19 Glynn Clements + + * input-method-motif.c (XIM_delete_frame): New callback. + (XIM_init_frame): Register it. + +2001-04-16 Stephen J. Turnbull + + * XEmacs 21.4.0 "Solid Vapor" is released. + +2001-04-15 Ben Wing + + * cmdloop.c (call_command_loop): + Fix braino in bit-rotting code. + +2001-04-07 Hrvoje Niksic + + * 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 + + * 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 . + +2001-04-14 Stephen J. Turnbull + + * XEmacs 21.2.47 "Zephir" is released. + +2001-04-02 Jan Vroonhof + + * redisplay.c (add_bufbyte_string_runes): Update data->bytepos + +2001-04-03 Mike Sperber + + * search.c: Revert previous patch due because of release. + +2001-03-30 Ben Wing + + * 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 + + * search.c (Freplace_match): Support FSF-style specification of + match subexpression when applied to a buffer. + +2001-03-15 Martin Buchholz + + * 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 + + * XEmacs 21.2.46 "Urania" is released. + +2001-03-20 Dan Holmsand + + * 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 + + * 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 + + * mingw32.h: unfortunately cygnus changed mingw32 -> mingw so we + have to do likewise. + +2001-03-12 Andy Piper + + * sysdep.c: we only support mingw now. + +2001-03-09 Andy Piper + + * unexcw.c (copy_executable_and_dump_data_section): making approx + overrun a warning only. + +2001-03-10 William M. Perry + + * faces.c (complex_vars_of_faces): Rewrote the font mucking to + satisfy Stephen's identical-after-cpp plea. + +2001-03-02 Ben Wing + + * 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 + + * 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 + + * 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 + + Reapplied Lstream change. + +2001-02-26 Ben Wing + + 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 + + * 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 + + * XEmacs 21.2.45 "Thelxepeia" is released. + +2001-02-21 Martin Buchholz + + * lisp-union.h (XSETINT): + (XSETCHAR): + (XSETOBJ): + Reverse previous change of 2001-02-06. + +2001-02-20 Matt Tucker + + 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 + + * insdel.c (prepare_to_modify_buffer): Also check for + supersession when clash-detection is enabled. + +2001-02-17 Matt Tucker + + * 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 + + * alloc.c (Fgarbage_collect): + * alloc.c (make_bit_vector_from_byte_vector): + -Wsign-compare-correctness. + +2001-02-16 Martin Buchholz + + * lisp-union.h (XSETINT): Eliminate unnecessary temp var. + (XSETCHAR): Likewise. + (XSETOBJ): Likewise. + +2001-02-15 Martin Buchholz + + * mule-canna.c (canna-func-delete_previous): + Rename to canna-func-delete-previous. + +2001-02-14 Martin Buchholz + + * mule-ccl.c (ccl_driver): Warning suppression. Use countof. + +2001-02-13 Matt Tucker + + * font-lock.c (find_context): Fix C++ compile errors introduced by + recent patch + +2001-02-13 Martin Buchholz + + * 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 + + * emacs.c (complex_vars_of_emacs): Add `mule-lisp-directory' and + `configure-mule-lisp-directory'. + +2001-02-12 Martin Buchholz + + 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 + + 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 + + * regex.c (Boolean): Renamed to `re_bool', to avoid conflict with + Unixware's enum boolean from sys/types.h. + +2001-02-10 Martin Buchholz + + Fix support for building with latest Purify. + * Makefile.in.in (PURIFY_LIBS): Remove thread flags. + (PURIFY_FLAGS): Likewise. + +2001-02-09 Martin Buchholz + + * 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 + + * glyphs-x.c (generate_cursor_fg_bg): Avoid a warning. + USHRT_MAX seems clearer than ~0 anyways. + +2001-02-09 Martin Buchholz + + 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 + + * 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 + + * s/aix4.h: Hide #pragmas inside #ifndef NOT_C_CODE. + +2001-02-08 Martin Buchholz + + * s/irix6-0.h: Use the standard system memmove, not bcopy. + +2001-02-08 Martin Buchholz + + * XEmacs 21.2.44 "Thalia" is released. + +2001-02-06 Martin Buchholz + + 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 + + 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 + + * elhash.c (make_general_lisp_hash_table): + Use simpler and more efficient calloc to clear entries. + +2001-02-07 Martin Buchholz + + * window.c (window_scroll): Work around an AIX C compiler bug. + Fixes 'scroll-up' does nothing problem with xlC. + +2001-02-05 Martin Buchholz + + * .gdbinit: Remove obsolete comment. + +2001-01-31 Mike Alexander + + * select.c (Fown_selection_internal): Set owned_p for device + method correctly. + +2001-02-01 Martin Buchholz + + 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 + + * lisp-disunion.h: Fix up comments. + +2001-01-31 Martin Buchholz + + * 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 + + * m/hp9000s300.h (UNEXEC): Check for HPUX, not !BSD. + +2001-01-30 Martin Buchholz + + 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 + + * glyphs-widget.c (check_valid_int_or_function): allow symbols + since they can be eval'ed + +2001-01-29 Martin Buchholz + + * lisp.h (ALIGNOF): Make it work on non-gcc C++ compilers. + Oops, XEmacs redefines `class'. Use `typename' instead. + +2001-01-28 Martin Buchholz + + * dumper.c: Fix C++ compile errors. + +2001-01-29 Martin Buchholz + + * tparam.c: Use correct prototypes. + +2001-01-28 Martin Buchholz + + * sysproc.h: #include util.h for NetBSD's openpty. + +2001-01-27 Martin Buchholz + + 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 + + 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 + + * XEmacs 21.2.43 "Terspichore" is released. + +2001-01-25 Martin Buchholz + + 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 + + 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 + + * lread.c (read1): Rename `fexp', which is #defined in SGI's math.h + +2001-01-23 Andy Piper + + * 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 + + * specifier.h (specifier_data_offset): Remove pointless parens. + * glyphs.h (IMAGE_SPECIFIER_DATA): Likewise. + +2001-01-24 Martin Buchholz + + 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 + + * lstream.h (struct lstream): Use max_align_t for trailing data. + * specifier.h (struct Lisp_Specifier): Likewise. + +2001-01-22 Martin Buchholz + + * 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 + + 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 + + * lisp.h (ALIGNOF): A better definition for C++. + +2001-01-20 Martin Buchholz + + 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 + + * XEmacs 21.2.42 "Poseidon" is released. + +2001-01-20 Martin Buchholz + + * console-x.h: typo fix du jour. Remove #if 0'ed code. + +2001-01-19 Martin Buchholz + + 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 + + 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 + + * gui.h: Fix and add prototypes to fix build problems. + +2001-01-18 Martin Buchholz + + 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 + + * 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 + + * XEmacs 21.2.41 "Polyhymnia" is released. + +2001-01-16 Didier Verna + + * glyphs.c (image_instantiate): don't use fallbacks when + instantiating a face's background pixmap by inheritance. + +2001-01-14 Mike Sperber + + * sysdep.c (start_of_data): PDUMP implies ORDINARY_LINK. + Conditionalize accordingly. + +2001-01-16 Martin Buchholz + + * dumper.c (pdump_file_get): Fix a compiler warning. + +2001-01-15 Martin Buchholz + + 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 + 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 + + 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 + + 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 + + * dumper.c: A little post-pdump-rename comment fixup. + +2001-01-09 Jerry James + + * lisp-disunion.h: Change LISP_TO_CVOID arg to match its use. + +2001-01-13 Martin Buchholz + + * *.[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/(? + + * s/aix4.h: Keep the C for AIX compiler from overaggressively + optimizing bytecount_to_charcount(). + +2001-01-06 Golubev I. N. + + * config.h.in: + (HAVE_DLFCN_H): Removed. + * sysdll.c: Remove HAVE__DLOPEN, HAVE_DLFCN_H. + +2001-01-06 Martin Buchholz + + 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 + + * make-src-depend (PrintPatternDeps): + Use `sort' to make output independent of perl version. + +2001-01-08 Martin Buchholz + + 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 + + * 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 + + * XEmacs 21.2.40 is released. + +2001-01-06 Golubev I. N. + + * regex.c: Replace PREFETCH with REGEX_PREFETCH. + +2001-01-06 Martin Buchholz + + * 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 + + * redisplay-x.c (x_bevel_area): + redisplay.h (struct rune): + Typo fixes in comments. + +2001-01-05 Andy Piper + + * 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 + + * 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 + + * 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 + + * glyphs.h: + * glyphs.c (make_image_instance_cache_hash_table): Use ANSI prototypes. + +2000-12-31 Andy Piper + + * 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 + + * 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 + + * XEmacs 21.2.39 is released. + +2000-12-29 Andy Piper + + * menubar.c (menubar_visible_p_changed): signal the frame changed. + + * glyphs-x.c (x_redisplay_widget): Re-calculate widget offsets if + the frame has changed so that we pick up geometry changes such as + menubar visibility. + +2000-12-28 Andy Piper + + * lastfile.c (my_ebss): make a char array so we can pad the + bss. Fixes cygwin unexec. + + * unexcw.c: invert BROKEN_GDB to NO_DEBUG. + +2000-12-26 Andy Piper + + * event-Xt.c (emacs_Xt_force_event_pending): add some verbose + comments and try and be more precise about a non-/SIGIO world. + (emacs_Xt_event_pending_p): use XtAppPending under cygwin and non + SIGIO. + + * redisplay-output.c (redisplay_normalize_glyph_area): make sure + we don't normalize to zero width or height. + +2000-12-24 Andy Piper + + * Makefile.in.in (ldflags): add -mwindows when appropriate. + +2000-08-18 Golubev I. N. + + * s/sco5.h: SCO 5 has pty support. + +2000-07-20 Kazuyuki IENAGA + + * input-method-xlib.c: supports both XIM_XLIB and USE_XFONTSET. + input-method-xlib.c contains whole contents of input-method-xfs.c, + so we can use input-method-xlib.c's code for USE_XFONTSET + using #ifdefs. + * input-method-xfs.c: removed. + +2000-12-20 Stephen Turnbull + + * file-coding.h (enum coding_category_type): reorder enumerators to + make autodetection safer. Make CODING_CATEGORY_LAST an enumerator + (now one greater than largest real coding_category_type enumerator). + * file-coding.c (coding_category_symbol, coding_category_by_priority, + coding_category_system, fcd_descriptihon_1, decode_coding_category, + Fcoding_category_list, Fset_coding_priority_list, + Fcoding_priority_list, coding_system_from_mask, Fdetect_coding_region, + vars_of_file_coding): adjust for change in CODING_CATEGORY_LAST. + +2000-12-18 Yoshiki Hayashi + + * redisplay-output.c (redisplay_clear_top_of_window): Remove static. + * redisplay-output.c (redisplay_output_window): Clear top of window + when face is changed. + * redisplay-x.c (x_redraw_exposed_window): Call + redisplay_clear_top_of_window. + * redisplay.h: Publish redisplay_clear_top_of_window. + +2000-12-18 Yoshiki Hayashi + + * buffer.c (Fkill_buffer): Map over all devices. + * window.c (window_loop): Remove UNSHOW_BUFFER code. + (list_windows): New function. + (list_all_windows): Ditto. + (Freplace_buffer_in_windows): Use them. + +2000-02-02 Daiki Ueno + + * database.c (berkdb_subtype): Recognize new subtype `queue'. + (Fopen_database): Use `db_create' instead of `db_open'. + (syms_of_database): Initialize Qqueue. + +2000-12-13 Yoshiki Hayashi + + * buffer.c (common_init_complex_vars_of_buffer): Initialize + buffer_local_face_property. + * buffer.h (struct buffer): New member buffer_local_face_property. + * window.c (Fset_window_buffer): Mark window's face as changed + when buffer has buffer local face. + * window.h (MARK_WINDOW_FACES_CHANGED): New macro. + * objects.c (color_after_change): Set buffer_local_face_property + when locale of face specifier is buffer. + * objects.c (font_after_change): Ditto. + * objects.c (face_boolean_after_change): Ditto. + * glyphs.c (image_after_change): Ditto. + +2000-12-09 Dan Holmsand + + * nt.c (mswindows_fstat): Report file permissions, volume serial + number, etc. Code adapted from FSF Emacs 20.7. + +2000-12-09 Dan Holmsand + + * sysfile.h (lstat): Make lstat an alias for xemacs_stat instead + of stat when we don't have symbolic links, to make sure + mswindows_stat is called on mswindows. + +2000-12-12 Yoshiki Hayashi + + * alloca.c: Define malloc to xmalloc only when built with XEmacs. + +2000-12-12 Martin Buchholz + + * doprnt.c (emacs_doprnt_1): More printing fixes. + Make printing of numbers compatible with libc and FSF Emacs. + BUG was: (format "%6.3f" 1.2) ==>"1.200000" + Use the system printf to do most of the hard work of formatting, + instead of doprnt_1(). + Calculate memory to allocate for format string. + Remove arbitrary limit on precision, e.g. (format "%.1000f" 3.14) + (doprnt_1): Cleaner code and documentation. + +2000-12-01 Jerry James + + * Makefile.in.in: Use the loop variable to install headers. + +2000-12-04 Yoshiki Hayashi + + * window.c (Fsplit_window): Don't invalidate face cache. + +2000-12-04 Yoshiki Hayashi + + * minibuf.c (Fall_completions): Undo the previous change + which removed checking elements start with space. + +2000-12-06 Stephen Turnbull + + * mule-canna.c: Didier suppression. + +2000-12-06 Stephen Turnbull + + * mule-canna.c: rename static unsigned char buf[] to key_buffer + (warning suppression). Add English comment translations. + +2000-12-05 Martin Buchholz + + * unexelfsgi.c (unexec): Better test for mmap failure. + +2000-12-05 Martin Buchholz + + * XEmacs 21.2.38 is released. + +2000-12-05 Martin Buchholz + + * redisplay.c (bar-cursor): Make a user variable. + + * symsinit.h: Add init_postgresql_from_environment. + +2000-12-04 Yoshiki Hayashi + + * regex.c: Convert to clean C. + +2000-12-05 Dan Holmsand + + * realpath.c: + Don't #include sysfile.h. Revert to duplicating PATH_MAX + initialization. + (sys_readlink): renamed to system_readlink to avoid conflict with + the other sys_readlink. + +2000-12-04 Hiroaki Abe + + * dumper.c (pdump_file_get): Correct uses of pdump_fd. + +2000-12-04 Stephen J. Turnbull + + * postgresql.c (init_postgresql_from_environment): new function. + (vars_of_postgresql): Move code initializing Lisp variables out and + into init_postgresql_from_environment. + emacs.c (main_1): Call init_postgresql_from_environment if and only + if running a dumped XEmacs. + +2000-08-31 Dan Holmsand + + * buffer.c: Make find-file-compare-truenames default to true on + windows. + + * realpath.c (win32_abs_start): + (cygwin_readlink): + (win32_readlink): New functions. + (xrealpath): Return really real filenames on windows. + + * fileio.c (Ffile_truename): Make file-truename work on windows. + +2000-11-29 Didier Verna + + * faces.c (MAYBE_UNFROB_BACKGROUND_PIXMAP): new macro. + * faces.c (update_face_cachel_data): use it. + * faces.c (add_face_cachel): use it. Complete background pixmap + frobbing in face cache if `update_face_cachel_data' has not done so. + +2000-11-29 Yoshiki Hayashi + + * search.c (string_match_1): Don't set last_thing_searched + when search failed. + +2000-11-27 Yoshiki Hayashi + + * buffer.c: Include casetab.h + (common_init_complex_vars_of_buffer): Use new case-table object. + * buffer.h: Include casetab.h + * buffer.h (MAKE_TRT_TABLE): Use generic char-table. + (DOWNCASE_TABLE_OF): Ditto. + * bufslots.h: Remove char-tables and add case-table. + * casetab.c: Include casetab.h + (CASE_TABLE_P): Removed. + (mark_case_table): New function. + (allocate_case_table): New function. + (Fcase_table_p): Use new case-table. + (case_table_char): New function. + (Fget_case_table): Ditto. + (Fput_case_table): Ditto. + (Fput_case_table_pair): Ditto. + (Fcopy_case_table): Ditto. + (Fcurrent_case_table): Return case-table. + (Fstandard_case_table): Return case-table. + (Fset_case_table): Fix doc-string. + (set_case_table): Use case-table + (syms_of_casetab): DEFSUBR new functions. + (complex_vars_of_casetab): Set up standard case-table. + * casetab.h: New file. + * editfns.c: Include casetab.h + (Fcompare_buffer_substrings): Use case-table. + * inline.c: Include casetab.h + * lisp.h: Remove bogus extern. + * lrecord.h (lrecord_type): Add lrecord_type_case_table. + * search.c: Include casetab.h + (TRANSLATE_ASCII): Removed. + (TRANSLATE): Unconditionally translate character. + (looking_at_1): Use case-table. + (string_match_1): Ditto. + (fast_string_match): Ditto. + (search_command): Ditto. + (search_buffer): Separate boyer_moore. Check whether + boyer_moore is possible. + (simple_search): New function. + (boyer_moore): Separated from search_buffer. Translate char. + +2000-11-24 Yoshiki Hayashi + + * regex.c (RE_TR_ASCII): Removed. + (RE_TRANSLATE): Unconditionally use TRT_TABLE. + (PATFETCH): Call PATFETCH_RAW. + (PATFETCH_RAW): Fetch Emchar. + (PATUNFETCH): Decrement charptr. + (GET_BUFFER_SPACE): Rename b to buf_end. + (BUF_PUSH): Ditto. + (BUF_PUSH_2): Ditto. + (BUF_PUSH_3): Ditto. + (EXTEND_BUFFER): Ditto. + (SET_LIST_BIT): Ditto. + (regex_compile): Ditto. Translate non ASCII char. + (compile_range): Ditto. + (re_search_2): Ditto. + (re_match_2_internal): Compare Emchar. + (bcmp_translate): Ditto. + +2000-11-29 Stephen J. Turnbull + + * lisp.h (basic char/int typedefs): comment improvement. + +2000-11-24 Stephen J. Turnbull + + * emacs.c (main_1): unconditional pdump unstomping; don't save and + unstomp inhibit_site_lisp. Improve comments. + +2000-11-22 Stephen J. Turnbull + + * mule-charset.c (Fcharset_property): improve type checking, comments. + +2000-11-28 Andy Piper + + * redisplay-output.c (redisplay_output_subwindow): make sure we do + clipped display for windows in the gutter also. + (redisplay_display_boxes_in_window_p): change semantics of return + codes to be more intuitive. + + * gutter.h: declare display_boxes_in_gutter_p. + + * gutter.c (display_boxes_in_gutter_p): new function for + redisplay. + +2000-11-22 Andy Piper + + * glyphs-x.c (image_instantiator_format_create_glyphs_x): change + autodetect domain. + +2000-11-21 Yoshiki Hayashi + + * callproc.c (Fold_call_process_internal): + * gpm.c (Freceive_gpm_event): + (tty_get_foreign_selection): Might be just warning supression. + * fileio.c (Fwrite_region_internal): + (Fset_visited_file_modtime): + * keymap.c (event_matches_key_specifier_p): + Initialize GCPROed variable. + + * menubar-x.c (command_builder_find_menu_accelerator): + Initialize before use. + +2000-11-23 Andy Piper + + * unexcw.c (unexec): make the resulting executable executable. + +2000-11-21 Martin Buchholz + + * doc.c (get_doc_string): + Use size_t, not int, for result of XSTRING_LENGTH. + + * cmds.c (Fdelete_char): + * cmds.c (Fpoint_at_eol): + * cmds.c (Fself_insert_command): + Use EMACS_INT, not int, for result of XINT. + Someday, someone will want to insert more than 2**31 identical characters. + + * cmds.c (Fdelete_char): + * cmds.c (Fdelete_backward_char): + * syntax.c (Fforward_word): + * syntax.c (Fforward_comment): + Make COUNT argument optional, for consistency with forward-char et al. + +2000-11-22 Martin Buchholz + + * lisp.h: + * print.c (long_to_string): + Return a useful value: the pointer at end of data written. + + * doprnt.c: + Use `static const char * const' for constant strings. + (union printf_arg): Delete `i', `ui' members. + (get_doprnt_args): + (emacs_doprnt_1): + Fix LP64 platform bug: (format "%d" most-positive-fixnum) ==> "-1" + Do all printf-ing via the `l' specifier. + Use EMACS_INT instead of int. + Optimize. + +2000-11-20 Didier Verna + + * faces.c (update_face_cachel_data): don't frob the background + pixmap when the window is being created. The face is needed but + does not exist yet. + +2000-11-20 Andy Piper + + * unexcw.c (copy_executable_and_dump_data_section): Only do bss + messing with a debug environment. + +2000-11-20 Martin Buchholz + + * emacs.c (__sti__iflPNGFile_c___): Pedantically correct prototype. + +2000-11-20 Martin Buchholz + + * casetab.c (Fcase_table_p): Fix compile error and crash. + +2000-11-18 Philip Aston + + * s/cygwin32.h: Cygwin has SVR4-like pty support. + +2000-11-18 Martin Buchholz + + * fileio.c (Fexpand_file_name): GCPRO bug! Protect `handler'. + * filelock.c (lock_file): GCPRO bug! Initialize all GCPROed vars! + +2000-11-17 Martin Buchholz + + * config.h.in: Define HAVE_ELF_H if elf.h exists. + * unexelf.c: Use HAVE_ELF_H. + * unexelfsgi.c: Fix bug with dumped xemacs stdout/stderr not working. + I copied FSF Emacs 20.7 unexelf.c to unexelfsgi.c and ANSIfied it. + Max Matveev removed non-SGI-relevant parts and tested. + Greg Harrington provided a machine + for testing. + So this is an unexelfsgi.c from a different line of development. + +2000-11-16 Yoshiki Hayashi + + * regex.c (RE_TR_ASCII): New function. + (RE_TRANSLATE): Call it. + +2000-11-16 Yoshiki Hayashi + + * buffer.h (TRT_TABLE_OF): Remove assert. + (IN_TRT_TABLE_DOMAIN): Removed. + +2000-11-16 Gunnar Evermann + + * free-hook.c (log_gcpro): + (show_gcprohist): Add support for GCPRO5. + +2000-11-08 Stephen J. Turnbull + + * emacs.c (main_1): Improve -sd error message when --pdump=no. + +2000-11-16 Olivier Galibert + + * symeval.h: Declare flush_all_buffer_local_cache. + + * symbols.c: Change XD_LO_RESET_NIL into XD_LISP_OBJECTs. + (flush_buffer_local_cache): Added. + (flush_all_buffer_local_cache): Added. + + * lrecord.h: Remove unused XD_LO_RESET_NIL. + + * dumper.c (pdump_register_sub): Remove unused XD_LO_RESET_NIL. + (pdump_dump_data): Ditto. + (pdump_reloc_one): Ditto. + (pdump): Remove unused pdump_qnil. Flush buffer local caches + before dumping. + + +2000-11-14 Yoshiki Hayashi + + * buffer.c: Remove if 0'ed entry. + * buffer.h: Rewrite TRT to use char-table. + * bufslots.h: Remove mirror tables. + * casetab.c: Remove mirror tables. + (CASE_TABLE_P): New macro. + (Fcase_table_p): Element of a case table is string or char-table. + (make_mirror_trt_table): Removed. + (set_case_table): Setup char-table from strings for backward + compatibility. + * dired.c (Fdirectory_files): + * dired-msw.c: (mswindows_get_files): + * lisp.h: Change prototype of re_pattern_buffer. + * regex.c: (RE_TRANSLATE): New macro. + (TRANSLATE_P): Ditto. + Change translate to type RE_TRANSLATE_TYPE. + * regex.h: Define RE_TRANSLATE_TYPE + * search.c (TRANSLATE): New macro. + (TRANSLATE_ASCII): New macro. + Translate table is changed to Lisp_Object. + (signal_failure): Inhibit return. + +2000-11-14 Yoshiki Hayashi + + * device-msw.c: + * eldap.c: + * event-Xt.c: + * event-stream.c: + * print.c: + Do UNGCPRO before return. + 2000-11-14 Martin Buchholz * XEmacs 21.2.37 is released. @@ -40,7 +1721,7 @@ (recompute_one_cached_specifier_in_window): always recompute if flag set. (recompute_one_cached_specifier_in_frame): ditto. - + * specifier.h (struct specifier_caching): add recompute flag. 2000-10-24 Andy Piper @@ -95,9 +1776,9 @@ * minibuf.c (Fall_completions): Delete old non-functional code for FSF fourth argument. - * frame.c (frame_matches_frame_spec): + * frame.c (frame_matches_frame_spec): Renamed from `frame_matches_frametype'. Update all callers. - (device_matches_device_spec): + (device_matches_device_spec): Renamed from 'device_matches_console_spec'. Update all callers. * doc.c (Fsubstitute_command_keys): @@ -106,7 +1787,7 @@ * casetab.c (check_case_table): Simpler code. * window.c (Freplace_buffer_in_windows): - Give this the same WHICH-FRAMES and WHICH-DEVICES parameters + Give this the same WHICH-FRAMES and WHICH-DEVICES parameters (and similar implementation) as Fdelete_windows_on. Update all callers. @@ -491,15 +2172,15 @@ * sgiplay.c (play_internal): C++ compilability. * alloc.c (SWEEP_FIXED_TYPE_BLOCK): Remove unused var `SFTB_prev'. - * callproc.c (Fold_call_process_internal): + * callproc.c (Fold_call_process_internal): Remove unused vars `env', `first'. - * scrollbar.c (update_scrollbar_instance): + * scrollbar.c (update_scrollbar_instance): #### unused var `current_window'. * redisplay-tty.c: Put currently unused vars insert_mode_on, etc. within #ifdef NOT_YET. * emacs.c: #### unused vars `initial_argc', `initial_argv'. * dialog-x.c (dbox_descriptor_to_widget_value): ### unused var `title'. - * specifier.c (specifier_instance): + * specifier.c (specifier_instance): #### unused var `tag'. Use WINDOW_BUFFER, FRAME_DEVICE instead of their expansion. @@ -577,9 +2258,9 @@ 2000-10-17 Martin Buchholz * miscplay.c (sndcnv8S_2mono): - (sndcnv2monounsigned): - (sndcnvULaw_2linear): - (sndcnv16swap): + (sndcnv2monounsigned): + (sndcnvULaw_2linear): + (sndcnv16swap): Remove implementation-defined behavior. 2000-10-12 Martin Buchholz @@ -658,8 +2339,8 @@ (BYTE_ASCII_P): Use bit ops for char-signedness safety. (BYTE_C0_P): Use bit ops for char-signedness safety. (BYTE_C1_P): Use bit ops for char-signedness safety. - (CHARSET_BY_LEADING_BYTE): - (CHARSET_BY_ATTRIBUTES): + (CHARSET_BY_LEADING_BYTE): + (CHARSET_BY_ATTRIBUTES): Always use inline function. Use type_checking_assert. Hide chlook. @@ -668,7 +2349,7 @@ Modify to work with both ASCII and non-ASCII characters. Improve docs and variable names. Replace over-clever fall-through switch with a simple loop. - (Lstream_get_emchar_1): + (Lstream_get_emchar_1): Replace over-clever fall-through switch with a simple loop. * menubar-x.c (menu_item_descriptor_to_widget_value_1): @@ -749,8 +2430,8 @@ * s/decosf1-3.h: Remove #include of stropts.h * s/ptx.h: Remove #include of stropts.h * s/usg5-4.h: Remove #include of stropts.h - * sysproc.h: - * config.h.in: + * sysproc.h: + * config.h.in: Use stropts.h, not sys/stropts.h. Use strtio.h, not sys/strtio.h. @@ -937,12 +2618,12 @@ called_from_delete_device bogus arg, and hence, remove this function. Just use other_visible_frames(). - * window.c (Fnext_window): + * window.c (Fnext_window): Prettify docstring. Since next_frame() is guaranteed to return a frame, remove check for nil inserted in previous patch. - (Fprevious_window): - Prettify docstring. + (Fprevious_window): + Prettify docstring. Make code look more like Fnext_window. (window_loop): Respect the `console' arg when iterating through windows. @@ -1007,7 +2688,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 Warning fix. Avoid buffer overrun on very long file name. - * input-method-xlib.c (XIM_init_device): + * input-method-xlib.c (XIM_init_device): 6th parameter of XRegisterIMInstantiateCallback has different pointer types on different OSes, so simply cast to (void *). @@ -1018,7 +2699,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 Simply return NULL for compatibility with dlopen. * sysdll.c: Conform to XEmacs coding standards. - * sysdep.c (get_pty_max_bytes): + * sysdep.c (get_pty_max_bytes): Support pty input lines longer than 512 bytes on HP-UX 10.20. 2000-08-31 Martin Buchholz @@ -1122,7 +2803,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * data.c (indirect_function): Rename ERRORP to non-misleading VOID_FUNCTION_ERRORP. - * eval.c (function_argcount): + * eval.c (function_argcount): Use original function when signaling errors. 2000-08-18 Andy Piper @@ -1199,7 +2880,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 of the code). remove duplicate header includes. * s\cygwin32.h, s\mingw32.h: remove stray NO_ARG_ARRAY. - + * s\cygwin32.h, s\mingw32.h, m\windowsnt.h: don't define LOAD_AVE_TYPE/LOAD_AVE_CVT because we have no useful load average. @@ -1224,7 +2905,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * Makefile.in.in (release): Remove stray @. - + * buffer.c (directory_is_current_directory): * dired-msw.c (mswindows_get_files): * dired.c: @@ -1236,18 +2917,18 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 (e.g. SCO). * callproc.c (egetenv): GC docs. - + * console-msw.h: * console-msw.h (struct mswindows_dialog_id): * lrecord.h (lrecord_type): New object for use with MSW dialogs. - + * console.h (struct console_methods): New enable/disable frame methods, for proper modal dialogs. - + * device-msw.c (msprinter_default_printer): Fix to follow proper Mule conventions. - + * device-msw.c: * device-msw.c (signal_open_printer_error): * device-msw.c (msprinter_init_device): @@ -1264,7 +2945,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * extents.c (Fextents_at): * extents.c (symbol_to_glyph_layout): [[[[2]]]] Use structured errors. - + * dialog-msw.c: * dialog-msw.c (mswindows_is_dialog_msg): * dialog-msw.c (mark_mswindows_dialog_id): @@ -1273,7 +2954,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * dialog-msw.c (syms_of_dialog_mswindows): Define new object to clean up marking; use it as a dialog identifier. Call new delete-dialog-box-hook. - + * dialog-x.c (dbox_selection_callback): * dialog-x.c (dbox_descriptor_to_widget_value): * dialog-x.c (x_make_dialog_box_internal): @@ -1284,17 +2965,17 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * dialog.c (syms_of_dialog): * dialog.c (vars_of_dialog): Define new delete-dialog-box-hook, for use w/modal dialog boxes. - + * eval.c: * eval.c (signal_call_debugger): when noninteractive, output stack traces on the console instead of in a (never-seen) buffer. - + * eval.c (signal_type_error): * eval.c (invalid_argument_2): * lisp.h: new funs for use w/structured errors. - + * event-Xt.c: * event-Xt.c (x_to_emacs_keysym): * event-Xt.c (describe_event): @@ -1305,10 +2986,10 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * event-msw.c (vars_of_event_mswindows): rename {x,mswindows}-debug-events to debug-{}-events for consistency with other debug-foo variables. - + * event-stream.c: document next-event more clearly. - + * fileio.c (Ffile_name_directory): * fileio.c (Ffile_name_nondirectory): * fileio.c (Funhandled_file_name_directory): @@ -1333,7 +3014,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * fileio.c (auto_save_1): (1). (2). fix up gcpro's. - + * frame-msw.c: * frame-msw.c (mswindows_init_frame_1): * frame-msw.c (mswindows_enable_frame): @@ -1343,24 +3024,24 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * frame-msw.c (console_type_create_frame_mswindows): (2). implement new enable/disable frame methods. - + * frame-x.c: * frame-x.c (x_enable_frame): * frame-x.c (console_type_create_frame_x): implement new enable/disable frame methods. - + * frame.c: * frame.c (Fdisable_frame): * frame.c (syms_of_frame): * frame.h (struct frame): implement new enable/disable frame methods/functions. - + * general-slots.h: add initial-focus. - + * glyphs-msw.c (mswindows_widget_instantiate): comment that initial-focus should be implemented. - + * glyphs-widget.c: * glyphs-widget.c (check_valid_instantiator): * glyphs-widget.c (check_valid_orientation): @@ -1383,7 +3064,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 (2). support (unimplemented) keyword initial-focus. reindent long macros. - + * glyphs-x.c (x_redisplay_widget): * glyphs-x.c (x_button_instantiate): * glyphs-x.c (x_button_redisplay): @@ -1401,40 +3082,40 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * menubar-x.c (menu_item_descriptor_to_widget_value_1): add new flag to gui-parsing routines to indicate whether accelerator specs should be supported. - + * glyphs.c (syms_of_glyphs): use DEFSYMBOL. - + * glyphs.h (struct Lisp_Image_Instance): * glyphs.h (IMAGE_INSTANCE_WANTS_INITIAL_FOCUS): add initial-focus flag. - + * gui.c: * gui.c (syms_of_gui): * gui.c (vars_of_gui): clean up menu-no-selection-hook. - + * gui.h: support delete-dialog-box-hook. - + * lread.c (Fload_internal): * lread.c (locate_file_in_directory_mapper): (1). - + * lrecord.h: * lrecord.h (struct toolbar_button): * lrecord.h (syms_of_toolbar): document how to create a new object. - + * menubar-msw.c (mswindows_char_is_accelerator): may be called on frames w/o menus. * menubar.c (vars_of_menubar): clean up :filter docs. - + * nt.c (readdir): * ntproc.c: (1). - + * process-nt.c: * process-nt.c (validate_signal_number): * process-nt.c (signal_cannot_launch): @@ -1445,7 +3126,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * process-nt.c (syms_of_process_nt): (2). delete quote-handling. call new lisp code that does it better. - + * process-unix.c (connect_to_file_descriptor): * process-unix.c (allocate_pty): * process-unix.c (unix_send_process): @@ -1453,11 +3134,11 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * process-unix.c (unix_open_network_stream): * process-unix.c (unix_open_multicast_group): (1). (2). - + * process.c: * process.c (Fstart_process_internal): (2). need to canonicalize process path even if absolute. - + * select-msw.c (symbol_to_ms_cf): * select-msw.c (ms_cf_to_symbol): * select-msw.c (cf_is_autofreed): @@ -1466,35 +3147,35 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * select.c (syms_of_select): * select.h: support dibv5, fix bugs. (from Mike Alexander) - + * select.c (Fget_selection_internal): * select.c (select_convert_out): - + * sysdep.c: * sysdep.c (xemacs_stat): renamed. - + * sysdep.c (mkdir): * sysdep.c (rmdir): but keep original stat() here because we provide encapsulation around these funs. - + * sysfile.h: * sysfile.h (fstat): remove stat garbage. - + * syswindows.h: fix X/MSW conflict. don't include tchar.h. it's inappropriate because it makes compile-time distinctions when we want runtime distinctions. (we provide our own tchar replacements) - + * toolbar.c: use default object printer for toolbar-button. - + * unexcw.c: make sure we don't encapsulate. - + * window.c (vars_of_window): emphasize that temp-buffer-show-hook is obsolete. @@ -1503,16 +3184,16 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * glyphs.c (image_instance_hash): HASH2 wants EMACS_INT args. (Fimage_instance_subwindow_id): make_int wants EMACS_INT arg. - * events.c (Fevent_timestamp_lessp): + * events.c (Fevent_timestamp_lessp): Not 64-bit clean. Use EMACS_INT, not int. 2000-06-05 Andrew Begel * lrecord.h (lrecord_types): Changed lrecord_type_count to an unsigned int and changed the last enum to - lrecord_type_last_built_in_type. + lrecord_type_last_built_in_type. (lrecord_implementations_table): changed prototype to know how - long the array is supposed to be. + long the array is supposed to be. (lrecord_type_count): new unsigned int to keep track of the current number of lisp lrecord types. (DEFINE_EXTERNAL_LRECORD): @@ -1544,14 +3225,14 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 2000-08-03 Martin Buchholz - * callproc.c (Fcall_process_internal): - (Fcall_process_internal): + * callproc.c (Fcall_process_internal): + (Fcall_process_internal): * process-unix.c (unix_create_process): Save and restore the value of errno, so that error messages are accurate. 2000-08-01 Martin Buchholz - * elhash.c (print_hash_table): + * elhash.c (print_hash_table): Fix printing of hash tables to also use `key-and-value' instead of `t'. Prettify docstrings and indentation. @@ -1605,7 +3286,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * config.h.in: Make existence of s&m files optional. - + * s/bsd386.h: Remove HAVE_GETLOADAVG. * s/freebsd.h: Remove HAVE_GETLOADAVG. * s/gnu.h: Remove HAVE_GETLOADAVG. @@ -1685,7 +3366,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * window.c (Fset_window_configuration): add comment. - * redisplay-output.c (compare_runes): + * redisplay-output.c (compare_runes): (redisplay_output_subwindow): redisplay rather than update subwindow. (redisplay_output_layout): ditto. @@ -1835,7 +3516,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * *.[ch] (XSETOBJ): remove unused middle argument. lisp-disunion.h: correct wrap_object() to one argument. - + 2000-07-15 Ben Wing * s/cygwin32.h: @@ -1851,7 +3532,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * Makefile.in.in (sheap_objs): * Makefile.in.in (objs): added win32.o, cosmetic cleanups. - + * alloc.c (Fmake_byte_code): [[[1]]]: Changes for new LIST_LOOP, EXTERNAL_LIST_LOOP, etc. macros which declare their own args now. @@ -2485,8 +4166,8 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 (msprinter_canonicalize_device_connection): Added. * device-msw.c (msprinter_default_printer): - (Fmswingows_get_default_printer): - (signal_enum_priner_error): + (Fmswingows_get_default_printer): + (signal_enum_priner_error): (Fmswingows_printer_list): Added. 2000-07-19 Martin Buchholz @@ -2495,7 +4176,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 2000-07-19 Martin Buchholz - * select-x.c (x_handle_selection_request): + * select-x.c (x_handle_selection_request): Text selected in xemacs and pasted into xterm failed to appear. Spelling fixes and cosmetic changes. @@ -2594,17 +4275,17 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * select-x.c (motif_clipboard_cb): Use select_convert_out. Rewrote error checking - previously this called abort! - + * select-x.c (x_own_selection): Changed comment. - + * select-x.c (x_handle_selection_request): Use select_convert_out. Don't mess with selection-alist; it's an internal variable of select.c. - + * select-x.c (x_get_foreign_selection): Use select_convert_in. - + * select-x.c (x_handle_selection_clear): Use get-selection-timestamp, rather than messing with selection-alist. - + * select-msw.c (mswindows_get_foreign_selection): Use TO_INTERNAL_FORMAT rather than hacking. @@ -2626,7 +4307,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * console.h (available_selection_types_method): New. * console.h (register_selection_data_type_method): New. * console.h (selection_data_type_name): New. - + * console-msw.h (mswindows_destroy_selection): Declare it. New function & alist to track GlobalAlloc()'d handles that need releasing when the clipboard data gets replaced or emptied. @@ -2635,7 +4316,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * lisp.h, general.c (Qappend): New symbol representing a `how-to-add' mode. - + * select.c (own-selection-internal): * select.c (selection-exists-p): * select.c (available-selection-types): New. @@ -2702,8 +4383,8 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 default minibuffer frame on a printer device. * frame-msw.c (apply_dc_geometry): Added. - (msprinter_start_page): - (msprinter_init_frame_3): + (msprinter_start_page): + (msprinter_init_frame_3): (msprinter_eject_page): Use it. * console-msw.h (struct msprinter_frame): Added pix_left and top, @@ -2723,7 +4404,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 2000-07-09 Martin Buchholz * config.h.in: Remove SMART_INCLUDE hackery. - + PostgreSQL hacking: * config.h.in: Don't use SMART_INCLUDE. @@ -2761,7 +4442,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * device-msw.c (hash_devmode): * device-msw.c (Fmsprinter_settings_despecialize): use Qmswindows_tstr, not Qctext. - + * vm-limit.c (check_memory_limits): avoid infinite loop printing warning messages. @@ -2803,7 +4484,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * console-msw.h (struct mswindows_device): Removed unnecessary cached device geometry values. Added update_tick and an accessor macro. - (Lisp_Devmode): Added lrecord declaration. + (Lisp_Devmode): Added lrecord declaration. (struct msprinter_device): Contain devmode as a Lisp object. Added mswindows_get_selected_frame_hwnd(); @@ -2812,27 +4493,27 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * device-msw.c (mswindows_init_device): Do not initialize geometry cache. Initialize update tick. (mswindows_device_system_metrics): Ask the device for its geometry. - (global_free_2_maybe): - (devmode_to_hglobal): - (handle_printer_changes): - (ensure_not_printing): - (print_dialog_worker): - (Fmsprinter_print_setup_dialog): - (Fmsprinter_print_dialog): - (plist_get_margin): - (plist_set_margin): + (global_free_2_maybe): + (devmode_to_hglobal): + (handle_printer_changes): + (ensure_not_printing): + (print_dialog_worker): + (Fmsprinter_print_setup_dialog): + (Fmsprinter_print_dialog): + (plist_get_margin): + (plist_set_margin): (Fmsprinter_page_setup_dialog): Added functions. - (sync_printer_with_devmode): - (handle_devmode_changes): - (Fmsprinter_get_settings): - (Fmsprinter_select_settings): + (sync_printer_with_devmode): + (handle_devmode_changes): + (Fmsprinter_get_settings): + (Fmsprinter_select_settings): (Fmsprinter_apply_settings): - (allocate_devmode): - (Fmsprinter_settings_copy): - (Fmsprinter_settings_despecialize): - (print_devmode): - (finalize_devmode): - (equal_devmode): + (allocate_devmode): + (Fmsprinter_settings_copy): + (Fmsprinter_settings_despecialize): + (print_devmode): + (finalize_devmode): + (equal_devmode): (hash_devmode): Added functions (syms_of_device_mswindows): Init devmode lrecord class. @@ -2843,9 +4524,9 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * frame-msw.c (mswindows_get_selected_frame_hwnd): Added. (msprinter_init_frame_3): - (msprinter_frame_property): + (msprinter_frame_property): (msprinter_internal_frame_property_p): - (msprinter_frame_properties): + (msprinter_frame_properties): (msprinter_set_frame_properties): Removed 'orientation and 'duplex print job properties (will move to device settings). @@ -2953,26 +4634,26 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * nt.c (mswindows_stat): prefix mswindows_ instead of attempting to directly override the library functions. fix declarations. - + * nt.h: include syswindows.h. move some sysdep.h stuff here. - + * ntheap.h: include syswindows.h, not . * ntplay.c: clean up headers. - + * sysdep.c: clean up headers. - + * sysdep.c (sys_fstat): * sysdep.c (sys_stat): call mswindows versions when appropriate. - + * sysdep.h: move mswin decls to nt.h. - + * syswindows.h: add long comment describing appropriate use of the various windows headers. @@ -2985,21 +4666,21 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * Makefile.in.in (release): Correction to make sure xemacs.exe always dumped when correct. - + * alloca.c: * balloon_help.c: [[[[3]]]]: Conditionalize on actual problem, not WINDOWSNT. - + * buffer.c (set_buffer_internal): [[[[2]]]]: Remove HAVE_FEP code. * buffer.c (init_initial_directory): [3]. - + * bytecode.c: [[[[4]]]]: limits.h standardly included in lisp.h; remove from individual files. - + * callproc.c: * callproc.c (call_process_cleanup): * callproc.c (Fold_call_process_internal): @@ -3018,11 +4699,11 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * config.h.in: [2]. - + * console-msw.c: mswindows_message_outputted added for use in allowing startup errors on the console to be seen. - + * console-msw.c (msw_ensure_console_allocated): * console-msw.c (msw_output_console_string): * console-msw.c (DHEADER): @@ -3035,18 +4716,18 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * console-msw.c (DSYMBOL): * console-msw.c (DSYMNAME): Fix warnings. - + * console-stream.c (stream_init_console): Fix text/binary problems. - + * device-msw.c: * device-msw.c (mswindows_finish_init_device): * device-msw.c (mswindows_delete_device): [1]. - + * device.c (handle_asynch_device_change): [3]. - + * dgif_lib.c: * dgif_lib.c (DGifOpenFileName): * dgif_lib.c (DGifOpenFileHandle): @@ -3054,31 +4735,31 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * dgif_lib.c (DGifGetPixel): Added config.h/lisp.h, fix up includes. [1]. - + * dired-msw.c: [4]. - + * dired.c: * dired.c (file_name_completion): * dired.c (Ffile_attributes): * dired.c (syms_of_dired): [1]. - + * dumper.c: * dumper.c (pdump_file_unmap): * dumper.c (pdump_load): [1]. - + * editfns.c: * editfns.c (Ftemp_directory): * editfns.c (user_login_name): * editfns.c (Fuser_real_login_name): * editfns.c (get_home_directory): [1]. - + * elhash.c (finish_marking_weak_hash_tables): [[[[5]]]]: Fix GCC warnings. - + * emacs.c: * emacs.c (mswindows_handle_hardware_exceptions): * emacs.c (make_arg_list_1): @@ -3087,20 +4768,20 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * emacs.c (Fdump_emacs): [1]. Fix problems with nested crashes, add long comment. - + * event-Xt.c (init_event_Xt_late): [1]. - + * event-msw.c: * event-msw.c (mswindows_dde_callback): * event-msw.c (mswindows_handle_sticky_modifiers): * event-msw.c (mswindows_wnd_proc): [1]. [5]. - + * events.c (character_to_event): [1]. - + * fileio.c: * fileio.c (Ffile_name_directory): * fileio.c (Ffile_name_nondirectory): @@ -3117,63 +4798,63 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 [1]. [4]. [[[[7]]]]: Move CORRECT_DIR_SEPS to s\windowsnt.h. - + Expand getdefdir defn. Fix bogus rename() comment. [[[[6]]]]: Fix Windows includes w.r.t. removed nt\inc. Attempt to use standard XEmacs include files, e.g. sysfile.h, rather than system-specific includes. - + * fns.c: * fns.c (Fsubseq): [5]. [6]. - + * frame.c (vars_of_frame): [1]. - + * getloadavg.c: * getloadavg.c (getloadavg): [1]. [6]. #ifdef XEMACS not defined on Cygwin. Remove this; no need for it. (We don't use it elsewhere in the code; just add a comment.) - + * gif_io.c: [6]. Add config.h. - + * glyphs-msw.c: * glyphs-msw.c (mswindows_resource_instantiate): [1]. - + * glyphs-x.c (x_native_layout_instantiate): [5]. - + * gui-msw.c (Fmswindows_shell_execute): [1]. - + * insdel.c: [4]. - + * lisp.h: [4]. [5]. - + * lread.c (locate_file_in_directory_mapper): [1]. - + * lstream.c: [4]. - + * mem-limits.h: * mem-limits.h (get_lim_data): [1]. - + * menubar-msw.c: [4]. - + * ndir.h: [1]. - + * nt.c: * nt.c (getwd): * nt.c (closedir): @@ -3181,70 +4862,70 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * nt.c (mswindows_executable_type): [1]. [6]. Fix closedir() defn. - + * nt.h: [[[[8]]]]: *_OK defs moved to sysfile.h. - + * ntproc.c: [6]. [7]. - + * objects-x.c: [4]. - + * print.c: * print.c (std_handle_out_external): [1]. [4]. - + * process-nt.c: * process-nt.c (nt_create_process): [6]. try to fix process quoting somewhat. - + * process-unix.c (unix_create_process): [1]. - + * process.c: * process.c (vars_of_process): Add Vnull_device. - + * process.h: [1]. - + * realpath.c: * realpath.c (xrealpath): [1]. - + * redisplay-tty.c (init_tty_for_redisplay): [3]. - + * redisplay.c: [4]. [6]. - + * scrollbar-msw.c: [4]. - + * sheap.c: * sheap.c (more_static_core): * sheap.c (report_sheap_usage): [5]. [6]. - + * signal.c: * signal.c (alarm_signal): - [1]. [6]. - + [1]. [6]. + * sound.c: [6]. - + * strftime.c: * strftime.c (zone_name): [1]. [5]. - + * symsinit.h (init_sunpro): [1]. - + * syscommctrl.h: commctrl.h not in Cygwin b20.1. - + * sysdep.c: * sysdep.c (endif): * sysdep.c (sys_subshell): @@ -3260,58 +4941,58 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * sysdep.c (sys_rename): * sysdep.c (get_process_times_1): [1]. [6]. - + * sysdep.h: [1]. - + * sysdir.h: * sysdir.h (DIRENTRY_NONEMPTY): [1]. [6]. - + * sysdll.c (dll_init): * sysdll.h: [1]. - + * sysfile.h: [1]. [6]. [8]. added text/binary defs. - + * sysfloat.h: [1]. - + * sysproc.h: * sysproc.h (EDESTADDRREQ): * sysproc.h (poll_fds_for_input): [1]. [6]. - + * syspwd.h: [6]. - + * syssignal.h: [1]. - + * systime.h: [1]. [6]. - + * systty.h: [1]. - + * syswindows.h: [1]. Always define WIN32_LEAN_AND_MEAN. - + * unexcw.c (unexec): [5]. - + * unexec.c: * unexec.c (copy_text_and_data): * unexec.c (adjust_lnnoptrs): [1]. - + * unexnt.c: * unexnt.c (_start): [1]. - + 2000-06-07 Ben Wing * mule-mcpath.c, mule-mcpath.h: Removed. Old, crufty code that @@ -3327,13 +5008,13 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * s\cygwin32.h: [1]. [5]. Don't use extern with fun defs. - + * s\mingw32.h: [1]. [7]. Remove nt\inc include. Remove getdisk, getdefdir. (The former is unused, the latter expanded in fileio.h.) - + * s\windowsnt.h: * s\windowsnt.h (WIN32_NATIVE): * s\windowsnt.h (HAVE_STRCASECMP): @@ -3352,7 +5033,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * m\windowsnt.h: [1]. Remove bogus/unused NO_SOCK_SIGIO. - + 2000-06-08 Hrvoje Niksic * lisp.h (set_string_char): Call set_string_byte with a Bufbyte, @@ -3386,32 +5067,32 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 2000-05-30 Andy Piper - * window.c (allocate_window): - (make_dummy_parent): + * window.c (allocate_window): + (make_dummy_parent): (Fset_window_configuration): use new hashtable type. - * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY): - (struct image_instantiator_methods): + * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY): + (struct image_instantiator_methods): (struct Lisp_Image_Instance): make instance geometry signed. - * glyphs.c (instantiate_image_instantiator): - (image_instance_query_geometry): - (image_instance_layout): - (image_instance_layout): - (query_string_geometry): - (text_query_geometry): - (image_instantiate): - (image_instantiate): - (cache_subwindow_instance_in_frame_maybe): + * glyphs.c (instantiate_image_instantiator): + (image_instance_query_geometry): + (image_instance_layout): + (image_instance_layout): + (query_string_geometry): + (text_query_geometry): + (image_instantiate): + (image_instantiate): + (cache_subwindow_instance_in_frame_maybe): (subwindow_query_geometry): make instance geometry signed. - * glyphs-widget.c (widget_query_geometry): - (widget_layout): - (button_query_geometry): - (tree_view_query_geometry): - (tab_control_query_geometry): - (layout_query_geometry): - (layout_layout): + * glyphs-widget.c (widget_query_geometry): + (widget_layout): + (button_query_geometry): + (tree_view_query_geometry): + (tab_control_query_geometry): + (layout_query_geometry): + (layout_layout): (native_layout_layout): make instance geometry signed. 2000-05-29 Olivier Galibert @@ -3512,7 +5193,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * event-Xt.c: * event-Xt.c (vars_of_event_Xt): move modifier-keys-are-sticky to event-stream.c. - + * event-msw.c: * event-msw.c (mswindows_enqueue_mouse_button_event): * event-msw.c (key_needs_default_processing_p): @@ -3526,14 +5207,14 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * event-msw.c (mswindows_modifier_state): * event-msw.c (emacs_mswindows_handle_magic_event): implement sticky modifiers. - + * event-stream.c: * event-stream.c (vars_of_event_stream): move modifier-keys-are-sticky here. * lisp.h: add CHECK_FUNCTION. - + * rangetab.c: implement map-range-table. @@ -3564,16 +5245,16 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * buffer.c (dfc_convert_to/from_internal_format): * buffer.c (reinit_vars_of_buffer): Fix conversion functions to allow reentrancy. - + * console-msw.c: * console-msw.c (mswindows_output_last_error): New fun, generally useful -- output a human-readable version of GetLastError() on the console. - + * console-msw.h: * console-msw.h (struct mswindows_frame): Changes for DeferWindowPos. Declare mswindows_output_last_error(). - + * console-stream.c (stream_output_begin): * console-stream.c (stream_output_end): * console-stream.c (stream_output_vertical_divider): @@ -3581,10 +5262,10 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * console-stream.c (stream_flash): * console-stream.c (console_type_create_stream): Delete blank stream methods, not needed. - + * console.h (struct console_methods): Split begin/end methods into window and frame. - + * event-msw.c: * event-msw.c (mswindows_handle_paint): * event-msw.c (output_alt_keyboard_state): @@ -3592,32 +5273,32 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * event-msw.c (vars_of_event_mswindows): Comment about problems with ignored-expose. Define mswindows-debug-events; not really implemented. - + * frame-msw.c (mswindows_init_frame_1): random cleanups. - + * glyphs-msw.c: * glyphs-msw.c (begin_defer_window_pos): * glyphs-msw.c (mswindows_unmap_subwindow): * glyphs-msw.c (mswindows_map_subwindow): * glyphs-msw.c (mswindows_resize_subwindow): Use DeferWindowPos to reduce flashing when mapping/unmapping. - + * glyphs.c (make_image_instance_1): Fix crash. - + * gutter.c (Fredisplay_gutter_area): Use new begin/end methods. - + * lisp.h (Dynarr_new2): New creation fun. - + * redisplay-msw.c: * redisplay-msw.c (mswindows_frame_output_begin): * redisplay-msw.c (mswindows_frame_output_end): * redisplay-msw.c (console_type_create_redisplay_mswindows): New begin/end methods -- handle DeferWindowPos. - + * redisplay-output.c (redisplay_move_cursor): * redisplay-output.c (redraw_cursor_in_window): * redisplay-output.c (redisplay_update_line): @@ -3656,13 +5337,13 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * emacs.c (shut_down_emacs): * emacs.c (assert_failed): various improvements in fatal error handling. - + * eval.c: move preparing_for_armageddon to emacs.c. - + * lisp.h: declare fatal_error_in_progress. - + * print.c: * print.c (std_handle_out_external): * print.c (std_handle_out_va): @@ -3670,18 +5351,18 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * print.c (stdout_out): use console under mswin when no standard output. don't do code conversion during fatal error. - + * scrollbar.c (Fscrollbar_page_up): * scrollbar.c (Fscrollbar_page_down): fix missing else. reindent. 2000-05-11 Jan Vroonhof - Emergency fix. - - * glyphs.h (GLYPH_CACHEL_DESCENT): - (GLYPH_CACHEL_DESCENT): - (GLYPH_CACHEL_DESCENT): + Emergency fix. + + * glyphs.h (GLYPH_CACHEL_DESCENT): + (GLYPH_CACHEL_DESCENT): + (GLYPH_CACHEL_DESCENT): * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables used in case these are inline functions. Use more absurd values to error check. @@ -3701,15 +5382,15 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 Define new fun `mswindows-message-box'. #### I will merge this into `popup-dialog-box'; just give me a bit of time. - + * general.c: * general.c (syms_of_general): Some new symbols used in `mswindows-message-box'. - + * glyphs.c: * glyphs.c (Fset_image_instance_property): put warning in this fun. - + * glyphs.h: * glyphs.h (GLYPH_CACHEL_WIDTH): * glyphs.h (GLYPH_CACHEL_ASCENT): @@ -3718,7 +5399,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 define error-checking versions to try to catch a bug i've seen -- redisplay gets in an infinite loop because the glyph width of the continuation glyph is 65535. - + * lisp.h: Extern message-box stuff. @@ -3727,7 +5408,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * window.c (Fset_window_configuration): Use EQUAL not EQ for subwindow caches to make them work a bit better. (Something is still very broken.) - + 2000-05-11 Yoshiki Hayashi @@ -3750,14 +5431,14 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * buffer.c (complex_vars_of_buffer): update modeline-format doc. - + * device.h: comment about how DFW_DEVICE should be merged with DOMAIN_DEVICE. - + * emacs.c: timeline of all released versions of Emacs, for use in creating authorship comments and in synching up. - + * glyphs-widget.c (image_instantiator_buttons): * glyphs-widget.c (image_instantiator_edit_fields): * glyphs-widget.c (image_instantiator_combo_box): @@ -3769,7 +5450,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * glyphs-widget.c (image_instantiator_layout): * glyphs-widget.c (image_instantiator_native_layout): rename decode_domain method to governing_domain. - + * glyphs.c: * glyphs.c (Fvalid_image_instantiator_format_p): doc update. * glyphs.c (add_entry_to_device_ii_format_list): @@ -3805,12 +5486,12 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * glyphs.c (specifier_vars_of_glyphs): totally rewrite the doc string for current-display-table. (Apparently Hrjove implemented in 1998 a design I wrote up in 1996, but didn't update the doc string.) - + * glyphs.h: clean up a doc string. * glyphs.h (governing_domain): * glyphs.h (struct image_instantiator_methods): changes for governing_domain stuff. - + * gutter.c: * gutter.c (Fgutter_specifier_p): * gutter.c (Fgutter_size_specifier_p): @@ -3820,16 +5501,16 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * objects.c (Ffont_specifier_p): * objects.c (Fface_boolean_specifier_p): doc strings moved to make-*-specifier. - + * redisplay.c (add_disp_table_entry_runes_1): * redisplay.c (generate_fstring_runes): * redisplay.c (screen): add random comments and doc strings. - + * specifier.c: * specifier.c (Fmake_specifier): major overhaul of this doc string. - + * specifier.c (Fvalid_specifier_domain_p): comment about the bogosity of image instances being domains. * specifier.c (decode_domain): @@ -3840,7 +5521,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 move doc string to make-generic-specifier. * specifier.c (VALID_SINGLE_DISPTABLE_INSTANTIATOR_P): rebackslashify. - + * specifier.h: * specifier.h (DOMAIN_FRAME): * specifier.h (DOMAIN_LIVE_P): @@ -3848,11 +5529,11 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 rebackslashify. add comments about problems with these macros. prototype for decode_domain. - + * toolbar.c: * toolbar.c (Ftoolbar_specifier_p): move doc string to `make-toolbar-specifier'. - + * window.c (window_unmap_subwindows_cache_mapper): ************************************************************* allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE @@ -3887,8 +5568,8 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 2000-05-08 Jan Vroonhof Patch by Bill Perry. - - * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call + + * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call back data instead of #ifdef. (Fscrollbar_page_down): ditto. @@ -3896,7 +5577,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * buffer.h: Kludge for defining Qmswindows_tstr. - + * nt.c: * nt.c (open_input_file): * nt.c (open_output_file): @@ -3906,11 +5587,11 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 which is bad because they are used by process-nt.c, and unexnt won't be around when portable dumping). Synched the above routines with FSF 20.6. - + * nt.h: Removed ifdef'd out bogus code. Fixed some prototypes. - + * nt.h (file_data): * nt.h (OFFSET_TO_RVA): * nt.h (RVA_TO_OFFSET): @@ -3918,7 +5599,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 Moved the memory-mapped-file structures, macros and prototypes here, to parallel nt.c. ntheap.h should really be removed entirely, and it's a non-portable-dumper specific file. - + * ntheap.h (round_to_next): Moved the memory-mapped-file structures, macros and prototypes to nt.h. @@ -3944,14 +5625,14 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 changes). Eliminate our old `nt-quote-process-args' mechanism. Synch up nt_create_process with FSF 20.6 sys_spawnve. Move compare_env here from ntproc.c. - + * process.c (Fprocess_send_region): Takes an optional fourth argument, BUFFER, which should fix some problems with call-process. - + * syscommctrl.h: Move ICC_BAR_CLASSES here from syswindows.h, to avoid a warning. - + * syswindows.h: Move ICC_BAR_CLASSES to syscommctrl.h. Add preliminary macros for MSWindows/Mule. More to come. @@ -4064,7 +5745,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 (XIMAGE_INSTANCE_DISPLAY_X): (XIMAGE_INSTANCE_DISPLAY_Y): (XIMAGE_INSTANCE_DISPLAY_WIDTH): - (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors. + (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors. remove subwindow_cachel structure and function references. (image_instance_type_to_mask): inline from glyphs.c @@ -4113,7 +5794,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * ntplay.c: use new syswindows.h and syscommctrl.h header. * nt.c: ditto. * console-msw.h: ditto. - + * redisplay-tty.c (tty_output_display_block): remove layout references. * glyphs-msw.c (mswindows_widget_instantiate): use the domain @@ -4149,7 +5830,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 (struct Lisp_Image_Instance): ditto. Add initialized flag. (IMAGE_INSTANCE_INITIALIZED): new accessor. (XIMAGE_INSTANCE_INITIALIZED): ditto. - + 2000-04-25 Andy Piper * glyphs-widget.c (image_instantiator_buttons): @@ -4352,27 +6033,27 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * console-msw.h (FRAME_MSWINDOWS_WIDGET_HASH_TABLE1): there are now three hash tables for callbacks. mswindows_enqueue_dispatch_event is no longer static. - + * dialog-x.c (maybe_run_dbox_text_callback): * dialog-x.c (dbox_descriptor_to_widget_value): switch to new cons3 form for callbacks. - + * glyphs-msw.c (mswindows_register_gui_item): * glyphs-msw.c (mswindows_widget_instantiate): * glyphs-msw.c (add_tree_item): * glyphs-msw.c (add_tab_item): new image instance parameter, so it can be passed to callback-ex. respect :callback-ex as well as :callback. - + * glyphs-widget.c (VALID_GUI_KEYWORDS): add :callback-ex. - + * glyphs.c (print_image_instance): prettify, e.g. now prints widget type. - + * gui-x.h: certain funs have new image instance parameter. - + * gui.c: * gui.c (get_gui_callback): * gui.c (gui_item_add_keyval_pair): @@ -4385,14 +6066,14 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * gui.c (syms_of_gui): recognize callback-ex in a number of places. also, fix the annoying "can't get out of yes-no dialog" bug. - + * gui.h: * gui.h (struct Lisp_Gui_Item): recognize callback-ex in a number of places. * menubar-x.c (menu_item_descriptor_to_widget_value_1): new parameter in button_item_to_widget_value. - + * glyphs-x.c (x_update_widget): * glyphs-x.c (x_button_instantiate): * glyphs-x.c (x_button_update): @@ -4402,16 +6083,16 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * glyphs-x.c (x_tab_control_instantiate): * glyphs-x.c (x_label_instantiate): new image instance parameter in various places. - + * event-Xt.c: * event-Xt.c (enqueue_Xt_dispatch_event): this fun gets exported. - + * gui-msw.c: * gui-msw.c (mswindows_handle_gui_wm_command): handle both :callback and :callback-ex, and generate our own event because it's one of the callback-ex arguments. - + * gui-x.c: * gui-x.c (popup_selection_callback): handle both :callback and :callback-ex, and generate our own @@ -4424,7 +6105,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * fns.c (Freplace_list): fix small typo in doc string. - + * lisp.h: declare enqueue_Xt_dispatch_event. @@ -4434,18 +6115,18 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 * buffer.c (Frecord_buffer): * buffer.c (syms_of_buffer): delete record-buffer-hook. - + * fns.c: * fns.c (Freplace_list): * fns.c (syms_of_fns): new primitive replace-list. - + * frameslots.h: slot for old buffer-alist. - + * lisp.h: exfun replace-list. - + * redisplay.c: * redisplay.c (redisplay_frame): * redisplay.c (syms_of_redisplay): @@ -4490,10 +6171,10 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 2000-04-20 Martin Buchholz - * filelock.c (fill_in_lock_file_name): + * filelock.c (fill_in_lock_file_name): ANSIfy. Check for IS_ANY_SEP instead of '/'. - (lock_file_1): + (lock_file_1): Avoid generating gratuitous garbage. Call user_login_name() directly. Never check errno without first seeing that system call failed. (unlock_file): Add GCPRO. @@ -4502,14 +6183,14 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 2000-04-19 Martin Buchholz - * sysdep.c (get_pty_max_bytes): + * sysdep.c (get_pty_max_bytes): Fix hangs on DEC OSF 4.0 when (process-send-string) sends strings longer than 252 bytes. * md5.c: Unconditionally include ANSI header - * glyphs-x.c (convert_EImage_to_XImage): - * lisp-union.h (union Lisp_Object): + * glyphs-x.c (convert_EImage_to_XImage): + * lisp-union.h (union Lisp_Object): Use consistently the syntax #ifdef FEATURE, not #if FEATURE. 2000-04-13 Yoshiki Hayashi @@ -4582,7 +6263,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 geometry. (mswindows_create_resized_bitmap): Ditto. (mswindows_create_resized_mask): Ditto. - + * redisplay-msw.c (mswindows_output_dibitmap): Stretch real mask and bitmap to their surface size. @@ -4615,7 +6296,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 2000-04-06 Colin Rafferty * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created. - + * fns.c (size_bit_vector): * alloc.c (size_vector): (make_vector_internal): @@ -4716,7 +6397,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 Note: Some of these were committed by accident as part of other patches. - + * regex.c (regex_compile): Avoid compiler warnings. * ntproc.c (sys_spawnve): Avoid compiler warnings. @@ -4766,7 +6447,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 new error code. Break compilation until finished. (play_sound_data): error code. - * nativesound.h (play_sound_file): + * nativesound.h (play_sound_file): (play_sound_data): Prototype in new header. 2000-03-31 Andy Piper @@ -4777,7 +6458,7 @@ Fatal error: assertion failed, file /project/xemacs/ws/dev/src/frame.h, line 245 2000-03-03 Jan Vroonhof - * scrollbar-x.c (x_update_vertical_scrollbar_callback): + * scrollbar-x.c (x_update_vertical_scrollbar_callback): (x_update_horizontal_scrollbar_callback): Return if no mirror was found. Scrollbar event probably belonged to some old config.