X-Git-Url: http://git.chise.org/gitweb/?p=chise%2Fxemacs-chise.git.1;a=blobdiff_plain;f=src%2FChangeLog;h=932f8bc10660657974e6b5692c5a7a6f51c98f8c;hp=8b6a8aedc703a830924c3f5cb77a5b366e26b0ae;hb=762383636a99307282c2d93d26c35c046ec24da1;hpb=33c8db8e2477d62fd8734f65475f2ed516167532 diff --git a/src/ChangeLog b/src/ChangeLog index 8b6a8ae..932f8bc 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,4438 +1,5332 @@ -1999-03-12 XEmacs Build Bot +2000-07-19 Martin Buchholz - * XEmacs 21.2.13 is released + * XEmacs 21.2.35 is released. -1999-03-12 SL Baur +2000-07-19 Martin Buchholz - * file-coding.c: Guard ucs table initialization with ifdef MULE. + * select-x.c (x_handle_selection_request): + Text selected in xemacs and pasted into xterm failed to appear. + Spelling fixes and cosmetic changes. -1999-03-10 Stephen J. Turnbull +2000-07-18 Kirill 'Big K' Katsnelson - * file-coding.c: docstring and comment improvements. - (decode_ucs4) flag possible data loss with comment. + * event-msw.c (mswindows_drain_windows_queue): Correctly check for + XEmacs frame (fix for doubling chars in dialog boxes). -1999-03-10 Martin Buchholz +2000-07-17 Alastair J. Houghton - * file-coding.c (Fset_ucs_char): add CHECK_INT, CHECK_CHAR - (ucs_to_char): - (Fucs_char): - (Fset_char_ucs): - (decode_coding_ucs4): - (encode_coding_ucs4): - (detect_coding_utf8): - (decode_coding_utf8): - (encode_utf8): - (encode_coding_utf8): - Add CHECK_* macros where needed to avoid crashes. - #ifdef out all composite character support using - #ifdef ENABLE_COMPOSITE_CHARS - Use normal XEmacs coding standards. - Fix docstrings. - Remove CODING_STREAM_COMPOSE, CODING_STREAM_DECOMPOSE. + * select.c (select_convert_in, select_convert_out): + Don't call intern() every time. -1998-09-08 MORIOKA Tomohiko + * select.c (Qselect_convert_in, Qselect_convert_out): New. + * select.c (vars_of_select): Initialise them. - * file-coding.c (make-coding-system): Add description about - `ucs-4' and `utf-8'. - (detection_state): Modify to implement ucs-4 and utf-8. - (detect_coding_type): Likewise. - (detect_coding_ucs4): New implementation. - (detect_coding_utf8): New implementation. - (encode_utf8): fixed. - (syms_of_mule_coding): Rename `ucs4' and `utf8' to `ucs-4' and - `utf-8'. - -1998-09-08 MORIOKA Tomohiko - - * file-coding.c (mule_char_to_ucs4): Encode 94x94 chars in ISO - 2022 registry to private area. - -1998-09-07 MORIOKA Tomohiko - - * file-coding.c (encode_utf8): New function. - (encode_coding_utf8): New implementation. - -1998-09-07 MORIOKA Tomohiko - - * file-coding.c (ucs_to_mule_table): New variable; abolish - `Vucs_to_mule_table' - (mule_to_ucs_table): renamed from `Vmule_to_ucs_table'. - (set-ucs-char): New function. - (ucs_to_char): New function. - (ucs-char): New function. - (set-char-ucs): New function. - (char-ucs): New function. - (decode_ucs4): Use `ucs_to_char'. - (complex_vars_of_mule_coding): Abolish `ucs-to-mule-table' and - `mule-to-ucs-table'. +2000-07-18 Alastair J. Houghton -1998-09-06 MORIOKA Tomohiko + * select.c (selection-coercible-types): New. - * chartab.h: EXFUN `Fget_char_table'. + * select.c (own-selection-internal): + * select.c (get-selection-internal): + MULE bug fix - these should default to COMPOUND_TEXT and not + STRING for MULE. I think. - * file-coding.c (encode_ucs4): New function. - (encode_coding_ucs4): Use `encode_ucs4'. + * select.c (select_convert_out): Use selection-coercible-types + to find types that we can attempt to perform coercions on. -1998-09-06 MORIOKA Tomohiko +2000-07-18 Martin Buchholz - * file-coding.c (decode_coding_ucs4): New implementation. + * mule-wnnfns.c: + * mule-canna.c: + Add coding: cookie to identify encoding. -1998-09-06 MORIOKA Tomohiko + * mule-canna.c (CANNA_mode_keys): make static. + Use proper prototypes, even for functions of no arguments. + Remove external prototype for Fding(). - * file-coding.c (decode_coding_ucs4): fixed. + * symsinit.h: Add missing prototype for reinit_vars_of_mule_wnn. - * file-coding.c (Vmule_to_ucs_table): New variable. - (mule_char_to_ucs4): New function. - (encode_coding_ucs4): New implementation. - (complex_vars_of_mule_coding): Define variable - `mule-to-ucs-table'. + * select.c (syms_of_select): Add missing DEFSUBR. -1998-09-06 MORIOKA Tomohiko +2000-07-18 Alastair J. Houghton - * file-coding.c (decode_coding_utf8): New implementation. + * select.c (get_selection_internal, own_selection_internal): + Make the type default to STRING, rather than placing a nil type + into Vselection_alist. -1998-09-06 MORIOKA Tomohiko +2000-07-17 Alastair J. Houghton - * file-coding.c (decode_coding_utf8): fixed. + * gpmevent.c (tty_selection_exists_p): + * gpmevent.c (tty_own_selection): + Updated parameter lists. -1998-09-06 MORIOKA Tomohiko +2000-07-15 Alastair J. Houghton - * file-coding.c (Vucs_to_mule_table): New variable. - (decode_ucs4): Refer `Vucs_to_mule_table'. - (complex_vars_of_mule_coding): Define variable - `ucs-to-mule-table'. + * select.h (selection-alist): Removed declaration. -1998-09-04 MORIOKA Tomohiko + * select.h (get_local_selection): + * select.c (get_local_selection): + Made static. - * file-coding.c (detect_coding_ucs4): New function (not - implemented yet). - (decode_coding_ucs4): New function. - (encode_coding_ucs4): New function (not implemented yet). - (detect_coding_utf8): New function (not implemented yet). - (decode_coding_utf8): New function. - (encode_coding_utf8): New function (not implemented yet). - (make-coding-system): New type `ucs4' and `utf8'. - (coding-system-type): Likewise. - (detection_state): Add `ucs4' and `utf8'. - (detect_coding_type): Likewise. - (mule_decode): Use `decode_coding_ucs4' and `decode_coding_utf8'. - (mule_encode): Use `encode_coding_ucs4' and `encode_coding_utf8'. - (decode_ucs4): New function (very incomplete). - (syms_of_mule_coding): Add `ucs4' and `utf8'. - - * file-coding.h: Add definitions for UCS-4 and UTF-8. + * select.h (convert_selection): Removed declaration. + * select.c (convert_selection): Removed. + This function belongs in Lisp. -1999-03-08 Martin Buchholz + * select.h (select_convert_in): Declare. + * select.h (select_convert_out): Declare. + * select.c (select_convert_in): New. + * select.c (select_convert_out): New. + New conversion functions for other files to call. - * mule-charset.c: - (non_ascii_valid_char_p): - (lookup_composite_char): - (composite_char_string): - (make-composite-char): - (composite-char-string): - (syms_of_mule_charset): - (complex_vars_of_mule_charset): - * mule-charset.h (LEADING_BYTE_COMPOSITE): - (CHAR_LEADING_BYTE): - (MAKE_CHAR): - * file-coding.h (CODING_STATE_COMPOSITE): - (CODING_STATE_ISO2022_LOCK): - (iso_esc_flag): - (LEADING_BYTE_COMPOSITE): - * file-coding.c (struct iso2022_decoder): - (decoding_closer): - (reset_iso2022): - (parse_iso2022_esc): - (encode_coding_iso2022): - #ifdef out all composite character support using - #ifdef ENABLE_COMPOSITE_CHARS + * select.h (select_notify_buffer_kill): Declare. + * select.c (select_notify_buffer_kill): New. + New functions that get called from kill-buffer. - * alloc.c: Define lrecord_coding_system only if ! FILE_CODING + * buffer.c (kill-buffer): Call select_notify_buffer_kill, rather than + X-specific lisp code. -1999-03-04 Takeshi YAMADA + * select.h: Declare some of the lisp-visible functions for + external use. - * fns.c (Fbase64_encode_string): Calculate `allength' in the same - way of `Fbase64_encode_region'. + * select.c (clean_local_selection_data): Removed. This was + a disgusting function, and previously should have been in + select-x.c in any case. The functionality is now provided + in select-convert-from-integer (select.el). -1999-02-18 Katsumi Yamaoka + * select.c (available-selection-types): Fixed stupidity where + INTEGER and ATOM got added twice. Also add STRING when we see an + extent. - * fns.c (base64_encode_1): Don't add a newline at the tail. + * select.c (get-selection-internal): Removed symbol stripping. No + longer causes conversion when data comes from the internal cache. -1999-03-08 Andy Piper + * select.c (syms_of_select): Added new functions. - * menubar-msw.c (displayable_menu_item): correct off-by-one & - handling. + * 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. -1999-03-07 Martin Buchholz +2000-07-14 Martin Buchholz - * console-stream.h (struct stream_console): - * event-unixoid.c (event_stream_unixoid_select_console): - (event_stream_unixoid_unselect_console): - * print.c (Fexternal_debugging_output): - * sysdep.c (reset_one_device): - * console-stream.c (stream_init_console): - (stream_delete_console): - (allocate_stream_console_struct): move into stream_init_console. - (free_stream_console_struct): move into stream_delete_console. - Use `fd' only for file descriptors. - Therefore, rename members of struct stream_console. - - * systime.h: Unix98 says sys/time.h should define select(), but - some systems define that in unistd.h. So include that file always. - - * glyphs.h (MAYBE_IIFORMAT_METH): Don't use leading `_'. Avoid - multiple evaluation of first arg. Do proper do {} while (0) wrapping. - (HAS_IIFORMAT_METH_P): Prevent macro from being used in - non-boolean context - (MAYBE_IIFORMAT_DEVMETH): Use standard internal macro naming convention. - - * EmacsShell.c: - * balloon_help.c: - Add #include . - Some versions of assert.h use printf() without #include'ing stdio.h - - * free-hook.c (blocktype): Add gcpro5_type to blocktype. - (log_gcpro): Remove unused variable FRAME. - (show_gcprohist): Ansify. - Comment the #endif's - - * frame-x.c (x_delete_frame): Don't use FRAME_X_SHELL_WIDGET(f) - after it's just been XtDestroy'ed! - -1999-02-18 Martin Buchholz - - * opaque.c (print_opaque): - (sizeof_opaque): - (equal_opaque): - (hash_opaque): - Egcs 1.1.1 seems to have a bug where - INTP (p->size_or_chain) - will crash XEmacs. Fix by introducing intermediate variable. - - * sound.c (Fdevice_sound_enabled_p): Fix compiler warning. - - * dired.c (Fdirectory_files): - (Ffile_name_completion): - (Ffile_name_all_completions): - (file_name_completion): - - Use `directory' instead of `dirname' to sync with FSF Emacs and - avoid compiler warnings. - - Fix up docstrings so that C variables match documentation. - -1999-03-05 Martin Buchholz - - * alloc.c: (garbage_collect_1): Reorg code to make scope of local - variables as small as possible to help out the compiler and the maintainer. - - * alloc.c: (disksave_object_finalization): - Set all the *-load-path variables to - nil, not just load-path itself. This gets the locate-file hash - tables garbage collected BEFORE dump, and has the side effect of - preventing crashes on OSF4.0+egcs. - - * alloc.c: - * gdbinit: - * dbxrc: - - Clean up gdb/dbx debugging support. - - Storing an EMACS_INT in an enum is not 64-bit clean! - - So change the enum to a set of separate variables. - - Add test cases to help debug the debugging support! - - Add `lisp-shadows' and `run-temacs' targets for dbx. - - Both dbx and gdb have been tested now. - -1999-03-05 XEmacs Build Bot - - * XEmacs 21.2.12 is released - -1999-02-16 Kazuyuki IENAGA - - * device-x.c: Support to find best visual without flashing. - -1999-03-02 Paul Keusemann - - * database.c (berkdb_map): Add flags argument to cursor call (must - be 0 according to docs) required for Berkeley DB 2.6.4 and later. - -1999-03-03 Martin Buchholz - - * hash.c: - * hash.h: - General cleanup. Get free-hook.c working again. - Remove unused functions: - make_strings_hash_table, copy_hash, expand_hash_table. - - * malloc.c: - * mem-limits.h: - Always use new ANSI-style function prototypes. - - * unexalpha.c (unexec): Never use implicit int. - - * sgiplay.c (close_sound_file): - (play_sound_file): - (restore_audio_port): - (play_sound_data): - (audio_initialize): - (play_internal): - (drain_audio_port): - (write_mulaw_8_chunk): - (write_linear_chunk): - (write_linear_32_chunk): - (initialize_audio_port): - (open_audio_port): - (set_channels): - (set_output_format): - (adjust_audio_volume): - (get_current_volumes): - (parse_snd_header): - Always use new ANSI-style function prototypes. - Use unistd.h for missing prototypes. - - * unexelfsgi.c (round_up): - (find_section): - (unexec): Always use new ANSI-style function prototypes - - * elhash.c (struct Lisp_Hash_Table): rename golden to golden_ratio - - * console.h (struct console_methods): Always use full ANSI prototypes - - * emacs.c (__sti__iflPNGFile_c___): Always use full ANSI prototypes - -1999-03-02 Andy Piper - - * event-stream.c (init_event_stream): make sure native mswindows - gets an appropriate event loop. - -1999-02-22 Andy Piper - - * frame-msw.c (mswindows_make_frame_visible): use SW_SHOW rather - than SW_SHOWNORMAL to prevent resizing of maximised frames. - (mswindows_raise_frame): remove comment. - -1999-03-01 XEmacs Build Bot - - * XEmacs 21.2.11 is released - -1999-02-25 SL Baur - - * mule-charset.c (Qleading_byte): New variable to implement - charset-leading-byte function. - (Fcharset_property): Use it. - (syms_of_mule_charset): Initialize it. - From Kazuyuki IENAGA - -1999-02-17 Kazuo Oishi - - * glyphs-x.c (cononvert_EImage_to_XImage): correct - bytes per pixel counting. - -1999-02-15 Andy Piper - - * s/cygwin32.h (BROKEN_SIGIO): don't define this as it causes - major lockups. - -1999-02-16 MORIOKA Tomohiko - - * fns.c (Fbase64_encode_string): New optional argument - `NO_LINE_BREAK'. - -1999-02-16 Martin Buchholz - - * gdbinit: Fix up commands to run temacs. Add lisp-shadows command. - * alloc.c (xcalloc): undef xcalloc, just like xmalloc - -1999-02-10 Martin Buchholz - - * s/bsdos4.h: New file. Port to BSDI BSD/OS 4.0. - * xintrinsic.h: Redo CONST support for X11 R4 compatibility. - -1999-02-05 XEmacs Build Bot - - * XEmacs 21.2.10 is released - -1999-02-02 Gleb Arshinov - - * process-nt.c (nt_send_process): - Fix for process-send-region/process-send-string breaking when size - of the input > 128 chars: change maximum chunk size for process - stream from 512 to 128, thus guaranteeing that ntpipe_shove_writer - succeeds. - -1999-02-02 XEmacs Build Bot - - * XEmacs 21.2.9 is released - -1999-01-30 Martin Buchholz - - * bytecode.c (funcall_compiled_function): Call - UNBIND_TO_GCPRO instead of UNBIND_TO_GCPRO_VARIABLES_ONLY. - - * backtrace.h (UNBIND_TO_GCPRO_VARIABLES_ONLY): - #ifdef 0 out unused macro. - -1999-01-27 Martin Buchholz - - * gui.c (gui_parse_item_keywords_internal): Make static. - -1999-01-21 Andy Piper - - * glyphs-msw.c: add xface support. - (mswindows_xface_instantiate): new function copied from glyphs-x.c - (image_instantiator_format_create_glyphs_mswindows): do device - specific initialisation for xfaces. - (xbm_create_bitmap_from_data): line data must be padded to a word - boundary. - - * glyphs-x.c (xface_validate): moved to glyphs.c - (xface_normalize): ditto. - (xface_possible_dest_types): ditto. - (image_instantiator_format_create_glyphs_x): do device specific - initialisation for xfaces. - - * glyphs.h: declare xface symbol. - - * glyphs.c: move generic xface support here. - (xface_validate): moved from glyphs-x.c - (xface_normalize): ditto. - (xface_possible_dest_types): ditto. - (image_instantiator_format_create): xface declarations moved from - glyphs-x.c. - -1999-01-14 Adrian Aichner - - * event-stream.c (vars_of_event_stream): Fixing documentation. - -1999-01-17 Gunnar Evermann - - * glyphs-eimage.c (gif_instantiate): Correct handling of - interlaced gifs to avoid writing past the end of the eimage - buffer. - -1999-01-13 Hrvoje Niksic - - * search.c (Freplace_match): Handle single backslash at end of - NEWTEXT correctly. - -1999-01-12 William M. Perry - - * eldap.c (Fldap_open): slow down interrupts around ldap_open to - avoid connection errors. - -1999-01-12 Andy Piper - - * redisplay-output.c (redisplay_update_line): backout change that - shouldn't have gone ine. - -1999-01-09 Oscar Figueiredo - - * eldap.c (vars_of_ldap): Do no provide `ldap' here since it may - collide with ldap.el - -1999-01-11 Andy Piper - - * redisplay.h (DISPLAY_LINE_HEIGHT): new macro. - (DISPLAY_LINE_YPOS): new macro. - - * redisplay-msw.c (mswindows_output_string): use it. - (mswindows_output_pixmap): ditto. - (mswindows_output_display_block): ditto. - - * redisplay-output.c (redisplay_output_display_block): new - function. just call the devmeth, maybe insert some generic code - here later. - (compare_display_blocks): use it. - (output_display_line): ditto. - (redisplay_unmap_subwindows_maybe): new function. potentially - unmap subwindows in the given area. - - * glyphs.c (reset_subwindow_cachels): unmap subwindows that we are - resetting. - -1999-01-10 J. Kean Johnston - - * Makefile.in.in: Set value of moduledir - - Changed DUMPENV to include $(MODULEPATH) - - Added install rule to install header files for use by ellcc. - - * config.h.in: Added INHIBIT_SITE_MODULES - - Added HAVE__DLERROR - - Added HAVE_DLFCN_H - - Added DLSYM_NEEDS_UNDERSCORE - - * dll.c: Removed. - - * emodules.c: New file containing dynamic loading code. - - * emodules.h: New file. - - * emacs.c: Added variables Vmodule_directory, - Vsite_module_directory, Vconfigure_module_directory and - Vconfigure_site_module_directory. - - (main_1): Added new variable inhibit_site_modules and command - line options `-no-site-modules' and `--no-site-modules'. - - (main_1): Call syms_of_module() instead of syms_of_dll(). - - (main_1): Call vars_of_module(). - - (vars_of_emacs): Introduce inhibit-site-modules, - module-directory, configure-module-directory, - site-module-directory, and configure-site-module-directory to the - Lisp reader. - - * lisp.h: Declare load_module and list_modules, as well as - Vmodule_directory, Vsite_module_directory, - Vconfigure_module_directory and Vconfigure_site_module_directory. - - * paths.h.in: Added PATH_MODULESEARCH and PATH_SITE_MODULES. - - Added correct support for site-lisp directory. - - * symbols.c (defsubr): Modified to allow modules to add new subrs - after dump time. - - (defsubr_macro): Same. - - (defvar_magick): Only use purespace when not initialized, so - that loaded modules can still add symbols. - - * symsinit.h: Add definitions for syms_of_module(), - vars_of_module(). Removed syms_of_dll(). - - * sysdll.c: Include dlfcn.h if HAVE_DLFCN_H is defined. - - (dll_variable): Take DLSYM_NEEDS_UNDERSCORE into account. - - (dll_error): use _dlerror() if HAVE__DLERROR is defined. - - * s/sco5-shr.h (C_SWITCH_SYSTEM): Correct for modern gcc and - explicitly pass -belf for native cc. - - * s/sco5.h (LIB_GCC): Use -print-libgcc-file-name instead of - hard-coding the library name. + * process-unix.c (unix_open_multicast_group): + (unix_open_multicast_group): Remove useless casts. + +2000-07-13 Martin Buchholz + + * sound.c (Fplay_sound): Fix `unused variable' warning. + + * emacs.c (main): Use correct type for _environ on SCO5. + +2000-07-12 Alastair J. Houghton + + * console.h (own_selection_method): + * console.h (selection_exists_p_method): + * 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. + + * event-msw.c (mswindows_wnd_proc): Call it. + + * 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. + * select.c (register-selection-data-type): New. + * select.c (selection-data-type-name): New. New functions to deal + with device-specific selection data formats. + * select.c (selection-converter-out-alist): Renamed. + * select.c (selection-converter-in-alist): New. + * select.c (selection-appender-alist): New. Added new alists. + * select.c (syms_of_select, vars_of_select): Added new symbols & + variables. + * select.c (get_local_selection): Split. + * select.c: Removed spurious type checking - selections may now be + of any type, not just strings. + * select.c (own-selection-internal): + + * select.h, select.c (convert_selection): New. Created + convert_selection() function based on get_local_selection(). + * select.h, select.c (QCF_*): New symbols representing mswindows + clipboard formats. + * select.h, select.c (Qreplace_all, Qreplace_existing): New + symbols representing `how-to-add' modes. + + * select-msw.c (x_sym_p): New. + * select-msw.c (symbol_to_ms_cf): New. + * select-msw.c (ms_cf_to_symbol): New. New functions to deal with + symbols & clipboard formats. Can also handle string names. + * select-msw.c (mswindows_own_selection): + * select-msw.c (mswindows_selection_exists_p): + Added `data-type' parameter. Use it. + * select-msw.c (mswindows_available_selection_types): New. + * select-msw.c (mswindows_register_selection_data_type): New. + * select-msw.c (mswindows_selection_data_type_name): New. + * select-msw.c (mswindows_own_selection): + * select-msw.c (mswindows_get_foreign_selection): + * select-msw.c (mswindows_selection_exists_p): Rewrote. + * select-msw.c (console_create_select_mswindows): Added new methods. + * select-msw.c (mswindows_destroy_selection): New. + * select-msw.c (Vhandle_alist): New list. + * select-msw.c (mswindows_own_selection): + + * select-x.c (x_own_selection): + * select-x.c (x_selection_exists_p): + * select-x.c: Added some comments about maybe using new + functionality. + * select-x.c (x_own_selection): + + * specifier.c: Remove definition of Qappend (now in general.c) + * specifier.c (syms_of_specifier): Remove Qappend. + +2000-07-12 Martin Buchholz + + * config.h.in: Add socklen_t. + + * s/decosf4-0.h: No special compiler flags needed or desired. + In particular, undefine _BSD for DEC OSF 4.0. + +2000-07-07 Kirill 'Big K' Katsnelson + + * redisplay-msw.c (msprinter_frame_output_end): Added. + (console_type_create_redisplay_mswindows): Referred the above. + + * frame.c (setup_frame_without_minibuffer): Do not create a + default minibuffer frame on a printer device. + + * frame-msw.c (apply_dc_geometry): Added. + (msprinter_start_page): + (msprinter_init_frame_3): + (msprinter_eject_page): Use it. + + * console-msw.h (struct msprinter_frame): Added pix_left and top, + and removed residual duplex and orientation properties. + +2000-07-11 Martin Buchholz + + * eval.c (function_argcount): Work around a DEC CC compiler bug. + + * unexalpha.c: Remove system prototypes from C sources! + +2000-07-09 Adrian Aichner + + * eval.c: Remove references to M-x edit-options in DEFUNs for + `defvar' and `defconst'. + +2000-07-09 Martin Buchholz + + * config.h.in: Remove SMART_INCLUDE hackery. + + PostgreSQL hacking: + * config.h.in: Don't use SMART_INCLUDE. + + * postgresql.h: Include libpq-fe.h here. Fix typo. + * inline.c: Simply #include "postgresql.h" + * postgresql.c: + - Don't use SMART_INCLUDE + - Use simply "const". + - Use standard doc string conventions. + - Use correct type for result of PQstatus. + +2000-07-09 Martin Buchholz + + * glyphs-x.c (x_xface_instantiate): Fix C++ compilation warnings. + + C++ compilation changes. + * config.h.in (EXTERN_C): Define. + * config.h.in (not): This is also a C++ keyword. + * unexalpha.c (DEFAULT_ENTRY_ADDRESS): Enable C++ compilation. + * cm.c: Use EXTERN_C. + * redisplay-tty.c: Use EXTERN_C. + * sysdep.c: Use EXTERN_C. Remove Gould support. + +2000-07-09 Martin Buchholz + + * general.c: Remove duplicate definition for Qfunction. + +2000-07-08 Ben Wing + + * device-msw.c (msprinter_init_device): + * device-msw.c (sync_printer_with_devmode): + * device-msw.c (handle_devmode_changes): + * device-msw.c (print_dialog_worker): + * device-msw.c (Fmsprinter_apply_settings): + * 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. + +2000-07-05 Craig Lanning + + * Makefile.in.in: Add support for including the Windows resources + when building with the cygwin and mingw targets. + + * buffer.c: from Dan Holmsand, on Windows $PWD is most likely either + not set or not correct. + (directory_is_current_directory): Don't compile for WIN32_NATIVE. + (init_initial_directory): Don't try to use $PWD on the + WIN32_NATIVE target. -1999-01-01 + * s\cygwin32.h: + [[Add -mwindows to eliminate console window.]] not required --ben + (HAVE_NATIVE_SOUND): removed; now handled by configure. + (MAIL_USE_POP): removed; now handled by configure. - * device-x.c (Fx_set_font_path): - Add proper cast to permit compilation under C++. + * s\mingw32.h: [[Add -mwindows to eliminate console window.]] not in + C_SWITCH_SYSTEM or it will affect lib-src progs. --ben + (HAVE_NATIVE_SOUND): removed; now handled by configure. + (MAIL_USE_POP): removed; now handled by configure. + (ENCAPSULATE_STAT): from Dan Holmsand, added. + (ENCAPSULATE_FSTAT): from Dan Holmsand, added. + (DIRECTORY_SEP): from Dan Holmsand, use lisp variable instead of + constant string. + (HAVE_TIMEVAL): from Dan Holmsand, added; struct timeval is picked + up from via systime.h. + (HAVE_GETPAGESIZE): from Dan Holmsand, added. + (getpagesize): from Dan Holmsand, added. + Added #endif which was left dangling by Ben's mega patch; added + comment to help prevent this in the future. - * buffer.c (directory_is_current_directory): - Add proper casts to permit compilation under C++. + * sysdll.c: added #include for WIN32_NATIVE case. -1998-12-30 Damon Lipparelli +2000-07-05 Kirill 'Big K' Katsnelson + + * console-msw.h (struct mswindows_device): Removed unnecessary + cached device geometry values. + Added update_tick and an accessor macro. + (Lisp_Devmode): Added lrecord declaration. + (struct msprinter_device): Contain devmode as a Lisp object. + Added mswindows_get_selected_frame_hwnd(); + + * console.h (struct console_methods): Indentation nitpicking. + * 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): + (Fmsprinter_page_setup_dialog): Added functions. + (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): + (hash_devmode): Added functions + (syms_of_device_mswindows): Init devmode lrecord class. + + * device.h: Added an exfun for find-device. + + * event-msw.c (mswindows_wnd_proc): Do not update the cached + geometry; although, recreate the device compatible DC. + + * frame-msw.c (mswindows_get_selected_frame_hwnd): Added. + (msprinter_init_frame_3): + (msprinter_frame_property): + (msprinter_internal_frame_property_p): + (msprinter_frame_properties): + (msprinter_set_frame_properties): Removed 'orientation and 'duplex + print job properties (will move to device settings). + + * lisp.h: Added symbols. + + * general.c (syms_of_general): Declared them. + + * hash.c (string_hash): Added. + + * lrecord.h (lrecord_type): Added devmode lrecord type. + +2000-07-02 Mike Sperber + + * s/freebsd.h (INTERRUPTIBLE_OPEN): open *is* interruptible on + FreeBSD 4.0. + +2000-06-07 MORIOKA Tomohiko + + * doprnt.c (emacs_doprnt_1): Fix problem with %0XXd for a negative + integer. + +2000-06-07 MORIOKA Tomohiko + + * data.c (Fstring_to_number): Don't recognize floating point if + base is not 10. + +2000-06-22 Martin Buchholz + + * glyphs-widget.c (tab_control_query_geometry): + (widget_query_geometry): + (button_query_geometry): + * glyphs.c (text_query_geometry): + Enforce type correctness. + +2000-06-18 Martin Buchholz + + * s/decosf4-0.h (_etext): Use portable _etext instead of etext. + * s/decosf4-0.h (_edata): Use portable _edata instead of edata. + +2000-06-17 Martin Buchholz + + * s/decosf4-0.h: Never #include "/usr/include/FOO.h" because this + conflicts with gcc's fixincluded version of FOO.h. + + * glyphs.h (image_instance_geometry): Remove trailing `,' + +2000-06-08 Mike Alexander + + (MAX_SHOVE_BUFFER_SIZE): Change to 512 to match stream buffer size + (shove_thread): Don't write the same output twice + (make_ntpipe_output_stream): Increase priority of shove thread + (ntpipe_shove_writer): Call SwitchToThread to give shove thread a + chance to run + (ntpipe_shove_closer): Don't delete the pipe until we're done with + it. + +2000-06-12 Ben Wing + + * s\mingw32.h (sigset): + * s\windowsnt.h (sigset): + rename msw_ to mswindows_ for consistency with general convention. + +2000-06-12 Ben Wing + + * console-msw.c: + * console-msw.c (mswindows_get_console_hwnd): + * console-msw.c (mswindows_ensure_console_allocated): + * console-msw.c (mswindows_hide_console): + * console-msw.c (mswindows_show_console): + * console-msw.c (mswindows_ensure_console_buffered): + * console-msw.c (mswindows_output_console_string): + * console-msw.c (mswindows_windows9x_p): + * console-msw.h: + * device-msw.c (mswindows_get_workspace_coords): + * device-msw.c (mswindows_device_system_metrics): + * dialog-msw.c (mswindows_popup_dialog_box): * event-msw.c (mswindows_wnd_proc): - Fixed failure when building with MSVC 5. - -1998-12-29 Martin Buchholz - - * file-coding.c (decode_coding_iso2022): - - Prevent crash when decoding ISO7/Lock detected files - - the usual martin fiddling - -1998-12-29 Jonathan Harris - - * event-msw.c: - glyphs-msw.c: - Fixed failures when building with MSVC. - * unexnt.c (dump_bss_and_heap): - Removed compiler warning by removing bss_data variable. - -1998-12-18 Jim Radford - - * device-x.c (Fx_set_font_path, Fx_get_font_path): New functions - so that packages that distribute their own fonts can access them. - -1998-12-28 Andy Piper - - * glyphs-msw.c (mswindows_button_instantiate): cope with buttons - that have an image provided. - - * glyphs.h: add Q_image decl. - - * glyphs-widget.c new functionality allowing images in - widgets. - (check_valid_glyph_or_image): new function to validate - glyphs passed in through :image. - (widget_normalize): new function. convert :image parameters into - real glyphs if not already so. - (widget_instantiate_1): mess with size parameters to be similar to - :image if provided. - (syms_of_glyphs_widget): new keyword :image. - (image_instantiator_format_create_glyphs_widget): normalize - buttons and allow :image. - -1998-12-27 Andy Piper - - * frame-msw.c (mswindows_init_frame_1): warning elimination. - - * glyphs-widget.c (check_valid_anything): no-op function. - (check_valid_callback): check callbacks in gui_items. - (check_valid_symbol): as it sounds. - (check_valid_string_or_vector): ditto. - (widget_validate): modified for descriptors that are vectors or - sequences of keyword/val pairs. - (widget_instantiate_1): ditto. - (image_instantiator_format_create_glyphs_widget): allow gui_item - keywords in the instantiator. - - * gui.c (gui_parse_item_keywords_internal): renamed from - gui_parse_item_keywords but taking error behaviour. - (gui_parse_item_keywords): use it. - (gui_parse_item_keywords_no_errors): ditto. - (gui_item_add_keyval_pair): add Error_behavior flag and only - signal invalid keywords if required. - - * gui.h: new gui signatures. - - * menubar.c (menu_parse_submenu_keywords): use new - gui_item_add_keyval_pair signature. - - * s/cygwin32.h: modify PTY_ITERATION to eliminate warnings. - -1998-12-28 Martin Buchholz + * frame-msw.c (mswindows_size_frame_internal): + * menubar-msw.c (mswindows_translate_menu_or_dialog_item): + * menubar-msw.c (displayable_menu_item): + * menubar-msw.c (mswindows_char_is_accelerator): + * nt.c: + * nt.c (mswindows_sigset): + * nt.c (mswindows_sigrelse): + * nt.c (mswindows_sigpause): + * nt.c (mswindows_raise): + * nt.c (timer_proc): + * ntproc.c: + * ntproc.c (find_child_console): + * ntproc.c (sys_kill): + * print.c: + * print.c (std_handle_out_external): + * process-nt.c (find_child_console): + * process-nt.c (send_signal_the_95_way): + * process-nt.c (ensure_console_window_exists): + * process-nt.c (nt_create_process): + * syssignal.h: + rename msw_ to mswindows_ for consistency with general convention. + + * emacs.c: + * dumper.c: + include nt.h, not syswindows.h. + + * nt.c (mswindows_fstat): + * 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. - * XEmacs 21.2.8 is released. +2000-06-11 Ben Wing -1998-12-28 Martin Buchholz + * device-x.c: Correct doc string for sixth arg of x-get-resource. - * editfns.c (get_home_directory): - (user-home-directory): Simplify. +2000-06-10 Ben Wing + * 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. - * callproc.c (child_setup): - - Environment variables were being passed to inferior processes - using internal encoding. - - Convert to external encoding. - - Rename local var `tem' to better name `tail'. - - Use Flength instead of `manual' calculation. - - * buffer.c (kill-buffer): - (record-buffer): - (set-buffer-major-mode): - (current-buffer): - - Fix up parameter names to correspond to docstrings. - - Don't use `bufname' when a buffer will do as well. - - Remove one unneeded GCPRO. - - * buffer.h (initial_directory): * buffer.c (init_initial_directory): - - use correct conversions between internal and external format. - (directory_is_current_directory): new function - (init_buffer): convert initial_directory to internal format. - - solve crashes when current working directory is non-ASCII. - - * alloc.c (xmalloc): - (xcalloc): - (xrealloc): - - remove stupid casts, since XEmacs requires an ANSI C system. - (lrecord_type_index): replace abort() with more readable assert(). - - (reset_lcrecord_stats): remove. - (sweep_lcrecords_1): - - replace call to reset_lcrecord_stats() with call to xzero(). - -1998-12-27 Martin Buchholz - - * process-unix.c (unix_create_process): - - Fix crash invoking program with non-ASCII name. - Try invoking xemacs with SHELL=/bin/sh, then M-x shell. - - Remove unused variable `env'. - - Rename `temp' to better name `save_errno'. - - Reorganize code for clarity. But still too chicken to nuke the - BSD 4.2 support. - -1998-12-24 Martin Buchholz - - * XEmacs 21.2.7 is released. - -1998-12-23 Martin Buchholz - - * glyphs.c (decode_device_ii_format): - - Fix indentation. - - Use GET_C_STRING_FILENAME_DATA_ALLOCA with char *, not Extbyte *. - - * glyphs-x.c (x_subwindow_instantiate): - - A image instance mask was being assigned to a image instance type! - - X_SUBWINDOW_INSTANCE_DATA (ii) is not an lvalue in C++. - - * glyphs-msw.c (mswindows_initialize_dibitmap_image_instance): - Fix indentation. - * glyphs-x.h: Make indentation consistent. - - * emacs.c (Fdump_emacs): Remove Steve Martin merge artifacts. - - * glyphs-widget.c (check_valid_glyph): Warning suppression. - - Make it static - - #ifdef it out, since it's not actually used yet (FIX THIS!) - - * glyphs-widget.c: - * glyphs.h: - Move declarations of decode_device_ii_format and - decode_image_instantiator_format into glyphs.h where they belong. - -1998-12-22 Martin Buchholz - - * frame-x.c (x_delete_frame): Revert part of my changes at the - suggestion of Gunnar Evermann - unfortunately no one really - understands this code. - - * callproc.c (init_callproc): code cleanup. - - * free-hook.c (malloc): - (check_malloc): - (__free_hook): - (__malloc_hook): - (__realloc_hook): - (block_input_malloc): - (block_input_realloc): - * device-x.c (x_delete_device): - * emacs.c (voodoo_free_hook): - * events.c (print_event): - (CHECK_EVENT_TYPE): - (CHECK_EVENT_TYPE2): - (CHECK_EVENT_TYPE3): - Use proper prototypes. - Make C_E_T macros a little faster. - Pedantic fiddly little changes. You really don't care. - -1998-12-22 Andy Piper - - * redisplay-output.c (redisplay_clear_region): make sure that - fg/bg colors get set even when we are in the border area. - -1998-12-13 Martin Buchholz - - * console-msw.c: Function definitions follow coding standards - - This prevents e.g. find-tag on Lisp_Event finding DEVENT - -1998-12-11 Martin Buchholz - - * events.h (struct timeout_data): - * event-tty.c (tty_timeout_to_emacs_event): - * event-msw.c (mswindows_wm_timer_callback): - * event-Xt.c (Xt_timeout_to_emacs_event): - * event-msw.c (mswindows_cancel_dispatch_event): - Make sure Lisp_Objects inside events are initialized to Qnil, not - Qnull_pointer, which is now illegal. - -1998-12-10 Martin Buchholz - - * lisp.h: Fix up prototypes to match alloc.c - -1998-12-08 Martin Buchholz - - * windowsnt.h: Remove `support' for using index and rindex - - * filelock.c (current_lock_owner): - - Change uses of index -> strchr, rindex -> strrchr - -1998-12-07 Martin Buchholz - - * sysdep.c (set_descriptor_non_blocking): - Since O_NONBLOCK is now always #defined, make use of fcntl - conditional on F_SETFL being defined. - - * console-msw.c (DHEADgER): - (DOPAQUE_DATA): - (DEVENT): - (DCONS): - (DCONSCDR): - (DSTRING): - (DVECTOR): - (DSYMBOL): - (DSYMNAME): - - max_align_t should not be visible to the user of the - XOPAQUE_DATA macro. - - use Bufbyte instead of char - - parens around (FOOP (obj)) are always redundant. - If they were necessary, we should fix the macro instead. - - Always use string_data(foo) instead of foo->data. - - -1998-12-06 Martin Buchholz - - * frame-msw.c (mswindows_init_frame_1): - - use make_lisp_hash_table, not Fmake_hash_table - - include elhash.h - - * lisp.h: - * alloc.c (make_vector): remove travesty - (Fmake_vector): - (make_pure_vector): - (pure_cons): - (make_bit_vector_internal): - (make_bit_vector): - (make_bit_vector_from_byte_vector): - (Fmake_bit_vector): - - make vector_equal a little faster. - - Don't use variable name `new'. - - Use size_t instead of EMACS_INT. - - usual Martin-style pointless bit-twiddling. - - * fns.c (mapcar1): - (Fmapconcat): - (Fmapcar): - (Fmapvector): - Make mapcar faster. In particular, make - (mapc #'identity long-string) - MUCH faster under Mule. - * tests/automated/lisp-tests.el: Test 'em! - - * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded - bytecode. - -1998-12-01 Martin Buchholz - - * menubar-x.c (menu_item_descriptor_to_widget_value_1): Always use - Qnil, not NULL, to initialize `null' Lisp_Objects. - -1998-11-29 Hrvoje Niksic - - * specifier.c (display_table_validate): Update. - - * redisplay.c (create_text_block): Use them. - - * glyphs.c (display_table_entry): New function. - (get_display_tables): Ditto. - -1998-12-15 Oscar Figueiredo - - * eldap.c (toplevel): Mention that eldap.c compiles with - OpenLDAP libs - (Fldap_open): Use `GET_C_STRING_OS_DATA_ALLOCA' - (Fldap_search_internal): Ditto - -1998-12-11 Martin Buchholz - - * event-msw.c (mswindows_cancel_dispatch_event): - Gratuitous code prettification - - -1998-12-07 Hrvoje Niksic - - * fns.c (Fnconc): Fix use of wrong_type_argument(). - - * floatfns.c (Ffloat): Fix docstring. - (Ffloat): Fix use of wrong_type_argument(). - (Fabs): Ditto. - (extract_float): Ditto. - (Fceiling): Ditto. - (Fround): Ditto. - (Ftruncate): Ditto. - -1998-12-06 Martin Buchholz - - * frame-msw.c (mswindows_init_frame_1): - - use make_lisp_hash_table, not Fmake_hash_table - - include elhash.h + [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): + * callproc.c (child_setup): + * callproc.c (getenv_internal): + * callproc.c (init_callproc): + * callproc.c (vars_of_callproc): + [[[[1]]]]: WINDOWSNT -> WIN32_NATIVE. + __CYGWIN32__ -> CYGWIN. + DOS_NT -> WIN32_NATIVE. + Remove MSDOS support/references, converting to WIN32_NATIVE + where correct. + __MINGW32__ -> MINGW. + Fix windows.h includes. + Remove bogus HAVE_NTGUI. + * 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): + * console-msw.c (DOPAQUE_DATA): + * console-msw.c (DEVENT): + * console-msw.c (DCONS): + * console-msw.c (DCONSCDR): + * console-msw.c (DSTRING): + * console-msw.c (DVECTOR): + * 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): + * dgif_lib.c (DGifGetLine): + * 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): + * emacs.c (main_1): + * emacs.c (Fkill_emacs): + * 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): + * fileio.c (directory_file_name): + * fileio.c (Fexpand_file_name): + * fileio.c (Fsubstitute_in_file_name): + * fileio.c (Ffile_name_absolute_p): + * fileio.c (check_executable): + * fileio.c (Ffile_readable_p): + * fileio.c (Ffile_accessible_directory_p): + * fileio.c (Ffile_modes): + * fileio.c (Funix_sync): + * fileio.c (vars_of_fileio): + [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: - * alloc.c (make_vector): remove travesty - (Fmake_vector): - (make_pure_vector): - (pure_cons): - (make_bit_vector_internal): - (make_bit_vector): - (make_bit_vector_from_byte_vector): - (Fmake_bit_vector): - - make vector_equal a little faster. - - Don't use variable name `new'. - - Use size_t instead of EMACS_INT. - - usual Martin-style pointless bit-twiddling. - - * fns.c (mapcar1): - (Fmapconcat): - (Fmapcar): - (Fmapvector): - Make mapcar faster. In particular, make - (mapc #'identity long-string) - MUCH faster under Mule. - * tests/automated/lisp-tests.el: Test 'em! - - * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded - bytecode. - -1998-12-02 Didier Verna - - * menubar-x.c (menu_item_descriptor_to_widget_value_1): set the - accelerator field to nil for labels. - -1998-12-16 Jonathan Harris - - * menubar-msw.c (displayable_menu_item): - Escape occurrences of '&' and support occurrences of the - '%_' accelerator indicator in menus. - -1998-11-26 Didier Verna - - * dired.c (Fdirectory_files): use make_string instead of - make_ext_string on the filename. The conversion external->internal - format is already done in sys_readdir. - -1998-12-15 Gunnar Evermann - - * glyphs.c (normalize_image_instantiator): GCPRO instantiator - -1998-12-16 Jonathan Harris - - * event-msw.c - (Belatedly) added Kirill to list of file's authors. - emacs_mswindows_quit_p: Don't process WM_PAINT messages in - quit checking. WM_PAINT messages cause redisplay, but - windows' states are not necessarily stable when this function - gets called. - -1998-12-17 Andy Piper - - * strftime.c (zone_name): CONSTify. - -1998-12-15 Andy Piper - - * glyphs-msw.c (mswindows_combo_instantiate): ditto. - (mswindows_widget_property): return Qunbound when no property available. - (mswindows_button_property): ditto. - (mswindows_combo_property): ditto. - (mswindows_widget_set_property): ditto. - - * glyphs-widget.c (check_valid_item_list): use properties. + [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): + * nt.c (rva_to_section): + * 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]. + + * 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): + * sysdep.c (init_baud_rate): + * sysdep.c (emacs_get_tty): + * sysdep.c (emacs_set_tty): + * sysdep.c (tty_init_sys_modes_on_device): + * sysdep.c (init_system_name): + * sysdep.c (sys_open): + * sysdep.c (interruptible_open): + * sysdep.c (sys_fopen): + * sysdep.c (sys_mkdir): + * 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 + was used only as a model. We've long since extracted any useful + logic or code out of this. (I just did an exhaustive search.) + + * s\msdos.h: Removed. + + * s\windows95.h: Removed. + +2000-06-10 Ben Wing + + * 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): + [1]. [7]. + Add long comment about preprocessor changes. + Remove getdisk, getdefdir. (The former is unused, the latter + expanded in fileio.h.) + +2000-06-10 Ben Wing - * glyphs.h (struct Lisp_Image_Instance): we have properties now. + * m\arm.h: + * m\delta.h: + * m\intel386.h: + * m\sequent.h: + * m\template.h: + * m\windowsnt.h: + [1]. + Remove bogus/unused NO_SOCK_SIGIO. + +2000-06-08 Hrvoje Niksic - * glyphs.c (Fset_image_instance_property): allow setting of arbitrary properties. - (Fimage_instance_property): ditto. - * glyphs-widget.c (widget_property): ditto. - (widget_set_property): ditto. + * lisp.h (set_string_char): Call set_string_byte with a Bufbyte, + not an Emchar. - * frame-msw.c (mswindows_set_frame_pointer): SetCursor() as well - as setting the class cursor so that GC actually changes the - cursor. +2000-06-04 Mike Sperber - * config.h: don't undef MAIL_USE_POP. + * casetab.c (set_case_table): For `set-standard-case-table', + actually deposit the new case tables where the rest of XEmacs can + see them. -1998-12-13 Andy Piper +2000-06-05 Yoshiki Hayashi - * glyphs-msw.c - (image_instantiator_format_create_glyphs_mswindows): line -> - label. - (mswindows_label_instantiate): ditto. Play with window flags. - (image_instantiator_format_create_glyphs_mswindows): ditto. - (vars_of_glyphs_mswindows): provide Qlabel as we support it now. + * data.c (Faset): Don't cast XCHAR() to unsigned char. - * glyphs-widget.c (widget_instantiate_1): re-jig autosizing to - cope with lines and labels. - (static_instantiate): use widget_instantiate_1. - line -> label. - (image_instantiator_format_create_glyphs_widget): ditto. +2000-06-05 Ben Wing -1998-12-10 Andy Piper + * callproc.c (child_setup): Don't do close_load_descs() under + MS Windows. Put in a comment explaining why. - * Makefile.in.in (objs): add gui.o +2000-05-28 Adrian Aichner -1998-12-10 Andy Piper + * process-nt.c: Reverting patch "Fixing nt_create_process for MKS + Toolkit shell" which breaks `kill-compilation' on Windows NT + native, retaining STDERR handling improvements. - * gui.c: adjust defines of HAVE_POPUPS so that we can build with - no window system. +2000-06-01 Andreas Jaeger -1998-12-09 Andy Piper + * s/s390.h: Support for S390, based on a patch by Martin + Schwidefsky . - * glyphs.c (finalize_image_instance): mark glyphs changed when an - image instance is removed so that the subwindow cache gets reset - and thus destroyed images get GC'd. +2000-05-30 Andy Piper -1998-12-08 Andy Piper + * window.c (allocate_window): + (make_dummy_parent): + (Fset_window_configuration): use new hashtable type. - * gui-msw.c (mswindows_handle_gui_wm_command): call - MARK_SUBWINDOWS_CHANGED. + * glyphs.h (IMAGE_UNSPECIFIED_GEOMETRY): + (struct image_instantiator_methods): + (struct Lisp_Image_Instance): make instance geometry signed. - * glyphs-msw.c (mswindows_finalize_image_instance): make sure - subwindows really get deleted. + * 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. - * redisplay.c: new variable subwindows_changed[_set]. - (redisplay_window): use it. - (redisplay_frame): ditto. - (redisplay_device): ditto. - (redisplay_without_hooks): ditto. + * 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. - * device.h (MARK_DEVICE_SUBWINDOWS_CHANGED): new macro for - subwindows redisplay as per glyphs equivalent. - * redisplay.h: ditto. - (MARK_SUBWINDOWS_CHANGED): ditto. - (RESET_CHANGED_SET_FLAGS): ditto. - * frame.h (MARK_FRAME_SUBWINDOWS_CHANGED): ditto. +2000-05-29 Olivier Galibert -1998-12-07 Andy Piper + * lisp.h: Add Qfull_assoc symbol and WEAK_LIST_FULL_ASSOC + constant. - * frame.c (Fmake_frame): reset subwindow cachels on non-stream - frames. + * general.c (syms_of_general): Add Qfull_assoc symbol. - * redisplay.c (redisplay_frame): invalidate subwindow cachels. + * data.c (finish_marking_weak_lists): Mark full-assoc lists + correctly. + (decode_weak_list_type): Decode full-assoc type. + (encode_weak_list_type): Encode full-assoc type. + (Fmake_weak_list): Update doc string. - * event-msw.c (mswindows_wnd_proc): catch the various WM_CTLCOLOR* - messages and paint widget glyphs as appropriate with their face fg - & bg. +2000-05-30 Andy Piper -1998-12-06 Andy Piper + * elhash.h (hash_table_weakness): new KEY_VALUE weak hashtable. - * glyphs-msw.c (vars_of_glyphs_mswindows): provide widget types - here rather than in glyphs-widget - do this because we only want - to provide what is really available. + * elhash.c (print_hash_table): new KEY_VALUE weak hashtable. + (decode_hash_table_weakness): ditto. + (Fhash_table_weakness): ditto. + (Fhash_table_type): ditto. + (finish_marking_weak_hash_tables): ditto. + (hash_table_weakness_validate): ditto. + (syms_of_elhash): ditto. - * glyphs.c (Fimage_instance_property): new function to get the - properties of image instances. wires through to console specific - methods and then to widget specific methods. - (Fset_image_instance_property): ditto but for setting widget properties. - (check_valid_face): make extern so that it can be used elsewhere. +2000-05-28 Martin Buchholz - * glyphs-widget.c (widget_property): new function. gets the - properties of widgets in general and wires the function through to - widget specific ones. - (widget_set_property): ditto but for setting widget properties. + * XEmacs 21.2.34 is released. - * glyphs-msw.c (mswindows_combo_instantiate): Add functionality to - add items to the list. Play with window styles a bit to get the - desired effect. - (mswindows_widget_property): break out specific widget properties. - (mswindows_button_property): new function. gets the checked state - of a button. - (mswindows_combo_property): new function. gets the current - selection in the combo box. - (mswindows_widget_set_property): new function. sets specific - properties of specific widgets. +2000-05-22 Jan Vroonhof - * glyphs-widget.c (check_valid_item_list): new function. check - that items for a combo-box are just a list of strings. - (combo_validate): new function. check there is an item list. - (widget_instantiate_1): new function. renamed from - widget_instantiate so that we can do slightly different things for - other widgets. - (widget_instantiate): call widget_instantiate_1. - (combo_instantiate): new function to instantiate combo boxes, - defaults height to the pixel height of the number of items in the - box. - (syms_of_glyphs_widget): move widget keywords here. - (image_instantiator_format_create_glyphs_widget): use new combo - functions. + * redisplay.c (VERTICAL_CLIP): No longer reset when updating line + start cache. + (updating_line_start_cache): Gone. + (regenerate_window): Replace resetting of VERTICAL_CLIP by + generic code to force a minimum of 1 line laid out in the + CMOTION_DISP case. -1998-12-04 Andy Piper +2000-05-22 Jan Vroonhof - * event-msw.c (mswindows_wnd_proc): mule-ize. + * glyphs.c (instantiate_image_instantiator): Check for initialized + height & width no longer special cases IMAGE_NOTHING. + (nothing_instantiate): Set height and width of instance. - * glyphs.c (pixmap_to_lisp_data): mule-ize. - - * glyphs-msw.c (extract_xpm_color_names): mule-ize. - (resource_name_to_resource): ditto. - (mswindows_resource_instantiate): ditto. - (mswindows_widget_instantiate): ditto. - (mswindows_widget_set_property): ditto. - - * redisplay-output.c (redisplay_output_subwindow): don't show - subwindows if they are obscured at the edge of the frame, emacs - gets into some sort of redisplay loop otherwise. - - * gui.h: prototype gui_item_selected_p. - - * gui.c (gui_item_selected_p): new function to determine the - selected state of a gui_item. - - * frame.h (struct frame): add subwindows_changed flag. - - * redisplay.c (redisplay_frame): call update_frame_subwindows (). - - * glyphs.c (update_subwindow): new function to update a - subwindow's state. - (update_frame_subwindows): new function to update all the - subwindows on a frame. - - * console.h (struct console_methods): add update_subwindow. +2000-05-24 Yoshiki Hayashi - * glyphs-msw.c (mswindows_widget_property): return selected state - for selected property. - (mswindows_update_subwindow): new function. updates widget glyphs - in redisplay as per menubars or toolbars e.g. selected state. - (console_type_create_glyphs_mswindows): add update_subwindow. - -1998-12-03 Andy Piper - - * console-tty.c (syms_of_console_tty): MULE -> FILE_CODING since - tty coding system things are such. - - * glyphs-widget.c (widget_face_font_info): new function for - pulling out height and width metrics for a widget's face. - (widget_text_to_pixel_conversion): calculate pixel sizes of text - for widgets. - - * event-msw.c (mswindows_drain_windows_queue): translate messages - that are destined for subwindows. This makes edit fields interact - with the keyboard correctly. - nuke warnings by #ifndef'ing out stuff not required by msg select(). - - * glyphs.h (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT_NO_SYM): new - macro defining the iiforma without the symbol required by widget. - (INITIALIZE_IMAGE_INSTANTIATOR_FORMAT): use it. - - * general.c (syms_of_general): add Qwidget, Qselected. - - * faces.c (complex_vars_of_faces): add widget face inheriting from - gui-element face. - -1998-11-09 Andy Piper - - * window.h (struct window): add a cache of subwindows on a - per-window basis. - - * window.c (mark_window): mark the subwindow_instance_cache. - (allocate_window): initialise the subwindow instance_cache. - - * toolbar-x.c (x_output_toolbar): call redisplay_clear_region - instead of the devmeth. - (x_clear_toolbar): ditto. - - * redisplay-x.c (x_output_display_block): call - redisplay_output_subwindow for subwindows and widgets. - - * redisplay-tty.c (tty_output_display_block): add IMAGE_WIDGET to - types to do nothing for. - - * lisp.h: declare new widget/subwindow symbols. - - * glyphs.c (image_instantiate): cache subwindows on a per-window - basis. - (subwindow_possible_dest_types): new function for subwindow dest - types. - (subwindow_instantiate): generic instantiation of a - subwindow. specialised by device multi-methods. - (Fsubwindowp): moved from glyphs-x.c. adapted for glyph-based - subwindows. - (Fimage_instance_subwindow_id): ditto. - (Fresize_subwindow): ditto. - (Fforce_subwindow_map): ditto. - - * glyphs-x.c (x_print_image_instance): remove subwindow - stuff. Handled genrically in glyphs.c. - (x_image_instance_equal): ditto. - (x_image_instance_hash): ditto. - (x_finalize_image_instance): delete subwindows when required. - (mark_subwindow) (print_subwindow) (finalize_subwindow) - (subwindow_hash) (Fmake_subwindow): deleted because of new, - glyph-based, subwindow implementation. - (Fsubwindow_height) (Fsubwindow_width) (Fsubwindow_xid): aliased - in glyphs.el - (Fsubwindowp) (Fresize_subwindow) (Fforce_subwindow_map): moved to - glyphs.c. - (x_unmap_subwindow): new function to unmap X subwindows. - (x_map_subwindow): new function to map X subwindows. - (x_subwindow_instantiate): new function to instantiate X - subwindows. - (x_resize_subwindow): new function to resize X subwindows. - (console_type_create_glyphs_x): add subwindow functions. - (image_instantiator_format_create_glyphs_x): add device - multi-methods for xpm, xbm and subwindow. - - * glyphs.el (subwindow-xid): old alias for new subwindow functions. - (subwindow-width): ditto. - (subwindow-height): ditto. - - * glyphs-msw.c (mswindows_widget_instantiate): new function for - generally instantiating ms subwindows. Used by - mswindows_*_instantiate. - (mswindows_edit_instantiate): instantiate an edit field on a - mswindows frame. - -1998-11-04 Andy Piper - - * symsinit.h: declare new functions. - - * redisplay.h: declare new functions. - - * redisplay-x.c (x_output_display_block): call - redisplay_clear_region rather than x_clear_region. - (x_output_string): ditto. - (x_output_pixmap): ditto. - (x_clear_to_window_end): ditto. - (x_output_eol_cursor): ditto. - (x_clear_region): only do X specific things. other duties handled - in redisplay_clear_region. - - * redisplay-tty.c (tty_clear_region): do tty specific things - some - duties moved to redisplay_clear_region. - - * redisplay-output.c (clear_left_border): use - redisplay_clear_region instead of device method. - (clear_right_border): ditto. - (output_display_line): ditto. - (redisplay_output_subwindow): ditto. - (redisplay_clear_top_of_window): ditto. - (redisplay_clear_region): perform duties previously handled by - device methods. call the appropriate device method at the - end. unmap subwindows if necessary. - - * redisplay-msw.c (mswindows_output_string): use - redisplay_clear_region instead of mswindows_clear_region. - (mswindows_clear_to_window_end): ditto. - (mswindows_output_display_block): output subwindows when required. - (mswindows_clear_region): only do mswindows specific things, - everything else is now handled in redisplay_clear_region. - - * gui.h: add item id hash defines and declare function prototypes. - - * gui.c (mark_gui_item): new function for marking gui_items. - (gui_item_hash): generic hash function for generating command ids - for gui_items. - - * gui-msw.c: new file. - (mswindows_handle_gui_wm_command): new function to handle widget - callbacks. - - * glyphs.h (MAYBE_IIFORMAT_DEVMETH): new function for device - multi-methods. - (IIFORMAT_HAS_SHARED_METHOD): ditto. - (DEFINE_DEVICE_IIFORMAT): ditto. - (INITIALIZE_DEVICE_IIFORMAT): ditto. - (struct Lisp_Image_Instance): add widget and subwindow data plus - appropriate access functions. - - * glyphs.c (decode_device_ii_format): new function for decoding - image instantiator functions based on a device type as well as an - image format. - (decode_image_instantiator_format): just call - decode_device_ii_format with nil device. - (add_entry_to_device_ii_format_list): new function for per device - method instances. - (add_entry_to_image_instantiator_format_list): just call - add_entry_to_device_ii_format_list with nil device. - (check_valid_vector): new function. - (instantiate_image_instantiator): instantiate using per-format - method and then per-format-per-device method (device - multi-methods). signal an error if neither is possible. - (mark_image_instance): cope with subwindows and widgets. - (print_image_instance): ditto. - (image_instance_equal): ditto. - (image_instance_hash): ditto. - (allocate_glyph): ditto. - (glyph_width): ditto. - (glyph_height_internal): ditto. - (xpm_instantiate): removed because of device multi-methods. - (mark_subwindow_cachels): new cachel functions for caching - instantiated subwindows on a per-frame basis. mostly copied from - glyph cachel functions. - (update_subwindow_cachel_data): ditto. - (add_subwindow_cachel): ditto. - (get_subwindow_cachel_index): ditto. - (reset_subwindow_cachels): ditto. - (mark_subwindow_cachels_as_not_updated): ditto. - (unmap_subwindow): generic unmapping of subwindows based on cachel - data. - (map_subwindow): ditto. - (initialize_subwindow_image_instance): generic initialisation of - subwindow data. - (syms_of_glyphs): add widget keywords. + * unexelf.c (unexec): Search for ".data" section. + Initialize new_data2_offset from old_data_index. + Remove redundant check for ElfW. - * glyphs-x.h (struct x_subwindow_data): convert Lisp_Subwindow to - x_subwindow_data. +2000-05-23 Andy Piper -1998-11-04 Andy Piper + * glyphs.c (get_image_instantiator_governing_domain): allow more + specific domains as the governing domain rather than expecting an + exact match. This fixes problems with layouts. - * glyphs-widget.c: new file for instantiating widget type glyphs. - (widget_possible_dest_types): new general dest type function for - widgets. - (widget_validate): ditto. - (initialize_widget_image_instance): ditto - (widget_instantiate): ditto. Sets up fg/bg, gui_item parsing - before handing on control to device multi-methods. - (syms_of_glyphs_widget): new function. - (image_instantiator_format_create_glyphs_widget): new function, - added placeholders for button, edit, combo, scrollbar - (vars_of_glyphs_widget): new function. +2000-05-22 Andy Piper - * glyphs-msw.h (WIDGET_INSTANCE_MSWINDOWS_HANDLE): new define for - storing window ids of widgets. + * redisplay-output.c (compare_runes): check for non-images - * glyphs-msw.c (mswindows_finalize_image_instance): cope with - deletion of widget and subwindow glyphs. - (mswindows_unmap_subwindow): new device function for unmapping - subwindows on a msw frame. - (mswindows_map_subwindow): ditto. - (mswindows_register_image_instance): register instantiated widgets - with the widget hastable. - (mswindows_button_instantiate): instantiate a button type widget - on an msw frame. - (mswindows_subwindow_instantiate): instanttiate a subwindow on a - mswindows frame. - (image_instantiator_format_create_glyphs_mswindows): add device - multi-methods for xbm, xpm, subwindow, edit and button. + * glyphs.c (set_glyph_dirty_p): ditto. + (update_glyph_cachel_data): ditto. - * frame.h (struct frame): add subwindow_cachels dynarr for caching - information about subwindows visible on the current frame. used by - redisplay_clear_region to unmap subwindows as required. + * glyphs-widget.c (layout_post_instantiate): ditto. + (layout_post_instantiate): ditto. - * frame.c (mark_frame): mark subwindow_cachels. - (allocate_frame_core): instantiate subwindow_cachels. + * event-msw.c (mswindows_wnd_proc): warning removal. - * frame-msw.c (mswindows_init_frame_1): instntiate and mark the - widget hashtable. +2000-05-12 Craig Lanning - * event-msw.c (mswindows_wnd_proc): add call to - mswindows_handle_gui_wm_command to handle widget callbacks. + * s\mingw32.h: Added #undef for CLASH_DETECTION. - * emacs.c (main_1): add calls to glyphs-widget initialisation - routines. + * syswindows.h: Moved PBS_SMOOTH definition to syscommctrl.h. - * console.h (struct console_methods): add - unmap/map_subwindow_method for use be redisplay_clear_region to - map and unmap subwindows. Remove xpm and xbm stuff - now dealt - with by image instantiator multi-methods. Add - resize_subwindow_method. + * syscommctrl.h (PBS_SMOOTH): Moved from syswindows.h. - * console-stream.c (stream_clear_region): change signature to - match new generic clear region function. + * nt.c (rva_to_section): mingw32 needs rva_to_section. + (mswindows_executable_type): mingw32 now has enough headers for + this to work. - * Makefile.in.in: add glyphs-widget.o to list of objects. +2000-05-20 Andy Piper - * console-msw.h (struct mswindows_frame): add widget hashtable for - wiring command ids to callbacks. + * console-msw.c (mswindows_output_last_error): ; -> , -1998-12-16 Andy Piper +2000-05-12 Andy Piper - * XEmacs 21.2.6 is released + * console-msw.c (FROB): compare ints with ints. -1998-12-08 Hrvoje Niksic +2000-05-11 Andy Piper - * md5.c (Fmd5): Correctly initiate string input stream. + * glyphs-x.c (x_finalize_image_instance): make minimal build + happy. - * Makefile.in.in (tests): Add md5-tests.el. +2000-05-20 Ben Wing -1998-12-06 Martin Buchholz + * 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): + * event-msw.c (XEMSW_LCONTROL): + * event-msw.c (mswindows_handle_sticky_modifiers): + * event-msw.c (FROB): + * event-msw.c (clear_sticky_modifiers): + * event-msw.c (output_modifier_keyboard_state): + * event-msw.c (output_alt_keyboard_state): + * event-msw.c (mswindows_wnd_proc): + * 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: - * alloc.c (make_vector): remove travesty - (Fmake_vector): - (make_pure_vector): - (pure_cons): - (make_bit_vector_internal): - (make_bit_vector): - (make_bit_vector_from_byte_vector): - (Fmake_bit_vector): - - make vector_equal a little faster. - - Don't use variable name `new'. - - Use size_t instead of EMACS_INT. - - usual Martin-style pointless bit-twiddling. - - * fns.c (mapcar1): - (Fmapconcat): - (Fmapcar): - (Fmapvector): - Make mapcar faster. In particular, make - (mapc #'identity long-string) - MUCH faster under Mule. - * tests/automated/lisp-tests.el: Test 'em! - -1998-12-06 Martin Buchholz - - * bytecode.c (Ffetch_bytecode): Fix crash when loading lazy-loaded - bytecode. - -1998-12-13 Martin Buchholz - - * console-msw.c: Function definitions follow coding standards - - This prevents e.g. find-tag on Lisp_Event finding DEVENT - -1998-12-11 Martin Buchholz - - * events.h (struct timeout_data): - * event-tty.c (tty_timeout_to_emacs_event): - * event-msw.c (mswindows_wm_timer_callback): - * event-Xt.c (Xt_timeout_to_emacs_event): - * event-msw.c (mswindows_cancel_dispatch_event): - Make sure Lisp_Objects inside events are initialized to Qnil, not - Qnull_pointer, which is now illegal. - -1998-12-10 Martin Buchholz - - * lisp.h: Fix up prototypes to match alloc.c - -1998-12-09 Andy Piper - - * glyphs-msw.c (init_image_instance_from_xbm_inline): don't use - XSETINT for assigning lisp objects. - -1998-12-07 Martin Buchholz - - * opaque.h: - * console-msw.c (DHEADER): - (DOPAQUE_DATA): - (DEVENT): - (DCONS): - (DCONSCDR): - (DSTRING): - (DVECTOR): - (DSYMBOL): - (DSYMNAME): - - max_align_t should not be visible to the user of the - XOPAQUE_DATA macro. - - use Bufbyte instead of char - - parens around (FOOP (obj)) are always redundant. - If they were necessary, we should fix the macro instead. - - Always use string_data(foo) instead of foo->data. + add CHECK_FUNCTION. + + * rangetab.c: + implement map-range-table. -1998-12-07 Martin Buchholz - * sysdep.c (set_descriptor_non_blocking): - Since O_NONBLOCK is now always #defined, make use of fcntl - conditional on F_SETFL being defined. +2000-05-17 Yoshiki Hayashi -1998-12-09 Andy Piper + * redisplay-tty.c (reset_tty_modes): + (tty_redisplay_shutdown): Adjust argument type to + tty_frame_output_end. - * menubar-msw.c (mswindows_handle_wm_command): add back in checks - that got removed in the merge +2000-05-11 Yoshiki Hayashi -1998-11-30 Greg Klanderman + * eval.c (Fbacktrace): Don't output a line with only right + parenthesis. - * dired.c (vars_of_dired): bugfix for previous conditionalization - of user-name-completion on non- Windows NT. +2000-05-17 Kenji Itoh -1998-12-08 Martin Buchholz + * postgresql.c (Fpq_connect_poll): Replace `PS' with `polling_status'. + (Fpq_reset_poll): Ditto. - * windowsnt.h: Remove `support' for using index and rindex +2000-05-16 Katsumi Yamaoka - * filelock.c (current_lock_owner): - - Change uses of index -> strchr, rindex -> strrchr + * redisplay-tty.c: Replace tty_output_end with tty_frame_output_end. -1998-12-06 Martin Buchholz +2000-05-16 Ben Wing + * buffer.c: + * 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): + * console-stream.c (stream_clear_region): + * 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): + * event-msw.c (mswindows_wnd_proc): + * 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): - - use make_lisp_hash_table, not Fmake_hash_table - - include elhash.h - -1998-12-05 XEmacs Build Bot - - * XEmacs 21.2.5 is released - -1998-11-30 Martin Buchholz - - * xselect.c (receive_incremental_selection): - * xselect.c (x_get_window_property): - * xmu.c (XmuReadBitmapDataFromFile): - * xmu.c (XmuCursorNameToIndex): - * xgccache.c (describe_gc_cache): - * xgccache.c (gc_cache_lookup): - * xgccache.c (free_gc_cache): - * xgccache.c (make_gc_cache): - * window.h: - * window.c (map_windows_1): - * window.c (Fother_window_for_scrolling): - * window.c (window_scroll): - * window.c (change_window_height): - * window.c (Fsplit_window): - * window.c (window_left_gutter_width): - * window.c (window_modeline_height): - * window.c (invalidate_vertical_divider_cache_in_window): - * window.c (window_needs_vertical_divider_1): - * window.c (update_mirror_internal): - * window.c (SET_LAST_FACECHANGE): - * widget.c (Fwidget_plist_member): - * unexec.c (copy_text_and_data): - * unexcw.c (copy_executable_and_dump_data_section): - * tooltalk.doc: - * tooltalk.c (struct Lisp_Tooltalk_Pattern): - * tooltalk.c (struct Lisp_Tooltalk_Message): - * toolbar.h (struct toolbar_button): - * toolbar.c (default_toolbar_visible_p_changed_in_window): - * toolbar.c (recompute_overlaying_specifier): - * toolbar.c (toolbar_validate): - * toolbar.c (toolbar_button_at_pixpos): - * toolbar.c (get_toolbar_coords): - * toolbar.c (update_frame_toolbars): - * toolbar-x.c: - * toolbar-msw.c (mswindows_handle_toolbar_wm_command): - * toolbar-msw.c (mswindows_find_toolbar_pos): - * toolbar-msw.c (mswindows_output_toolbar): - * toolbar-msw.c (mswindows_clear_toolbar): - * toolbar-msw.c: - * systty.h: - * syssignal.h: - * sysproc.h: - * sysfile.h: - * sysdll.c: - * sysdep.h: - * sysdep.c (rmdir): - * sysdep.c (sys_fopen): - * sysdep.c (sys_open): - * sysdep.c (tty_init_sys_modes_on_device): - * sysdep.c (get_eof_char): - * sysdep.c (child_setup_tty): - * sysdep.c (set_descriptor_non_blocking): - * syntax.h: - * syntax.c (scan_words): - * syntax.c: - * symsinit.h: - * symeval.h (struct symbol_value_varalias): - * symeval.h (struct symbol_value_forward): - * symbols.c (syms_of_symbols): - * symbols.c (init_symbols_once_early): - * symbols.c (Fbuilt_in_variable_type): - * symbols.c (Fsymbol_value_in_buffer): - * symbols.c (default_value): - * symbols.c (Fset): - * symbols.c (find_symbol_value_quickly): - * symbols.c (store_symval_forwarding): - * symbols.c (set_default_console_slot_variable): - * symbols.c (set_default_buffer_slot_variable): - * symbols.c (verify_ok_for_buffer_local): - * symbols.c (symbol_is_constant): - * symbols.c (oblookup): - * symbols.c (Funintern): - * symbols.c (Fintern): - * symbols.c (check_obarray): - * sunplay.c: - * specifier.h (struct specifier_methods): - * specifier.h: - * specifier.c (specifier_instance): - * specifier.c (specifier_instance_from_inst_list): - * specifier.c (decode_locale_type): - * specifier.c (specifier_equal): - * specifier.c (finalize_specifier): - * specifier.c (prune_specifiers): - * specifier.c (kill_specifier_buffer_locals): - * sound.c (init_native_sound): - * sound.c: - * signal.c (alarm): - * search.c (Fmatch_data): - * search.c (match_limit): - * search.c (Freplace_match): - * search.c (skip_chars): - * search.c (scan_buffer): - * search.c: - * scrollbar.c (specifier_vars_of_scrollbar): - * scrollbar.c (Fscrollbar_set_hscroll): - * scrollbar.c (vertical_scrollbar_changed_in_window): - * scrollbar.c (release_window_mirror_scrollbars): - * scrollbar.c (free_scrollbar_instance): - * scrollbar-x.c: - * scrollbar-msw.c: - * s/msdos.h (O_BINARY): - * s/linux.h: - * s/freebsd.h (LIBS_TERMCAP): - * regex.c (re_match_2_internal): - * regex.c (compile_extended_range): - * regex.c (POP_FAILURE_POINT): - * regex.c (PUSH_FAILURE_POINT): - * redisplay.h (RESET_CHANGED_SET_FLAGS): - * redisplay.h: - * redisplay.h (struct display_line): - * redisplay.h (struct rune): - * redisplay.c (vars_of_redisplay): - * redisplay.c (redisplay_variable_changed): - * redisplay.c (UPDATE_CACHE_RETURN): - * redisplay.c (validate_line_start_cache): - * redisplay.c (mark_redisplay_structs): - * redisplay.c (mark_glyph_block_dynarr): - * redisplay.c (window_line_number): - * redisplay.c (redisplay_frame): - * redisplay.c (redisplay_window): - * redisplay.c (generate_modeline): - * redisplay.c (create_right_glyph_block): - * redisplay.c (create_left_glyph_block): - * redisplay.c (create_text_block): - * redisplay.c: - * redisplay-x.c (x_output_hline): - * redisplay-x.c (x_output_vertical_divider): - * redisplay-tty.c (tty_output_display_block): - * redisplay-output.c (output_display_line): - * redisplay-output.c: - * redisplay-msw.c (mswindows_output_vertical_divider): - * redisplay-msw.c (mswindows_ring_bell): - * redisplay-msw.c (mswindows_output_cursor): - * redisplay-msw.c: - * rangetab.c: - * ralloc.c: - * puresize.h (RAW_PURESIZE): - * profile.c (syms_of_profile): - * profile.c (Fstart_profiling): - * profile.c (sigprof_handler): - * profile.c: - * procimpl.h: - * process.c (vars_of_process): - * process.c (read_process_output): - * process.c (get_process): - * process.c: - * process-unix.c (unix_open_multicast_group): - * process-unix.c (unix_get_tty_name): - * process-unix.c (unix_send_process): - * process-unix.c (unix_reap_exited_processes): - * process-unix.c (unix_create_process): - * process-unix.c (unix_init_process_io_handles): - * process-unix.c (allocate_pty): - * process-unix.c: - * process-nt.c (nt_open_network_stream): - * process-nt.c (nt_update_status_if_terminated): - * process-nt.c (nt_finalize_process_data): - * process-nt.c: - * print.c (debug_short_backtrace): - * print.c (debug_backtrace): - * print.c (print_symbol): - * print.c (print_internal): - * print.c (print_cons): - * print.c (Fwrite_char): - * print.c (print_prepare): - * print.c (canonicalize_printcharfun): - * print.c (output_string): - * print.c: - * opaque.h: - * opaque.c (allocate_managed_opaque): - * opaque.c: - * offix.c (DndSetData): - * objects.c (face_boolean_create): - * objects.c (font_instantiate): - * objects.c (font_create): - * objects.c (color_create): - * objects.c (finalize_font_instance): - * objects.c (finalize_color_instance): - * objects.c: - * objects-x.c (x_font_instance_truename): - * objects-x.c: - * objects-x.c (x_initialize_font_instance): - * objects-x.c (allocate_nearest_color): - * objects-tty.c (tty_initialize_font_instance): - * objects-tty.c (tty_initialize_color_instance): - * objects-msw.c (mswindows_initialize_color_instance): - * ntproc.c (syms_of_ntproc): - * ntproc.c (Fwin32_set_process_priority): - * ntproc.c (sys_spawnve): - * ntproc.c: - * ntheap.c (get_data_end): - * nt.c (period): - * nt.c: - * nt.c (stat): - * nt.c (generate_inode_val): - * nt.c (sys_rename): - * nas.c: - * mule-wnnfns.c (Fwnn_hinsi_number): - * mule-wnnfns.c (Fwnn_yuragi): - * mule-wnnfns.c (Fwnn_common_learn): - * mule-wnnfns.c (Fwnn_suffix_learn): - * mule-wnnfns.c (Fwnn_prefix_learn): - * mule-wnnfns.c (Fwnn_okuri_learn): - * mule-wnnfns.c (Fwnn_complex_conv): - * mule-wnnfns.c (Fwnn_last_is_first): - * mule-wnnfns.c (Fwnn_bmodify_dict_add): - * mule-wnnfns.c (Fwnn_notrans_dict_add): - * mule-wnnfns.c (Fwnn_fiusr_dict_add): - * mule-wnnfns.c (Fwnn_fisys_dict_add): - * mule-wnnfns.c (Fwnn_hinsi_list): - * mule-wnnfns.c (Fwnn_fuzokugo_set): - * mule-wnnfns.c (Fwnn_dict_search): - * mule-wnnfns.c (Fwnn_word_toroku): - * mule-wnnfns.c (Fwnn_hindo_update): - * mule-wnnfns.c (Fwnn_bunsetu_henkou): - * mule-wnnfns.c (Fwnn_kakutei): - * mule-wnnfns.c (Fwnn_begin_henkan): - * mule-wnnfns.c (Fwnn_dict_comment): - * mule-wnnfns.c (Fwnn_dict_add): - * mule-wnnfns.c (Fwnn_open): - * mule-mcpath.c (mc_getcwd): - * mule-coding.c (vars_of_mule_coding): - * mule-coding.c (convert_to_external_format): - * mule-coding.c (encoding_marker): - * mule-coding.c (decoding_marker): - * mule-coding.c (Fcopy_coding_system): - * mule-coding.c (Fmake_coding_system): - * mule-coding.c (Fcoding_system_list): - * mule-coding.c (Ffind_coding_system): - * mule-coding.c (symbol_to_eol_type): - * mule-coding.c: - * mule-charset.c (complex_vars_of_mule_charset): - * mule-charset.c (vars_of_mule_charset): - * mule-charset.c (Fset_charset_ccl_program): - * mule-charset.c (struct charset_list_closure): - * mule-charset.c (Ffind_charset): - * mule-charset.c (make_charset): - * mule-charset.c (non_ascii_valid_char_p): - * mule-charset.c: - * mule-ccl.c (ccl_driver): - * mule-canna.c (c2mu): - * mule-canna.c (Fcanna_henkan_begin): - * mule-canna.c (Fcanna_parse): - * mule-canna.c (Fcanna_store_yomi): - * mule-canna.c (Fcanna_touroku_string): - * mule-canna.c (Fcanna_initialize): - * minibuf.c: - * menubar.c (menu_parse_submenu_keywords): - * menubar-x.c (make_dummy_xbutton_event): - * menubar-x.c (set_frame_menubar): - * menubar-x.c (menu_item_descriptor_to_widget_value_1): - * menubar-x.c: - * menubar-msw.h: - * menubar-msw.c (mswindows_popup_menu): - * menubar-msw.c (mswindows_update_frame_menubars): - * menubar-msw.c (mswindows_handle_wm_command): - * menubar-msw.c (unsafe_handle_wm_initmenu_1): - * menubar-msw.c (unsafe_handle_wm_initmenupopup_1): - * menubar-msw.c (update_frame_menubar_maybe): - * menubar-msw.c (populate_or_checksum_helper): - * menubar-msw.c (empty_menu): - * menubar-msw.c: - * md5.c: - * marker.c (set_marker_internal): - * marker.c (print_marker): - * malloc.c: - * make-src-depend: - * lstream.c (lisp_buffer_rewinder): - * lstream.c (mark_lstream): - * lrecord.h: - * lrecord.h (struct lrecord_header): - * lread.c (readevalloop): - * lread.c (locate_file): - * lread.c (locate_file_in_directory): - * lread.c (Flocate_file): - * lread.c (load_force_doc_string_unwind): - * lread.c (ebolify_bytecode_constants): - * lread.c: - * lisp.h: - * lisp-union.h: - * lisp-disunion.h: - * linuxplay.c (linux_play_data_or_file): - * linuxplay.c (audio_init): - * line-number.c: - * keymap.h: - * keymap.c (describe_map): - * keymap.c (describe_map_mapper): - * keymap.c (Fdescribe_bindings_internal): - * keymap.c (Fsingle_key_description): - * keymap.c (map_keymap_sorted): - * keymap.c (get_relevant_keymaps): - * keymap.c (Flookup_key): - * keymap.c (raw_lookup_key_mapper): - * keymap.c (Fdefine_key): - * keymap.c (Fevent_matches_key_specifier_p): - * keymap.c (key_desc_list_to_event): - * keymap.c (define_key_parser): - * keymap.c (define_key_check_and_coerce_keysym): - * keymap.c (keymap_submaps): - * keymap.c (keymap_store_internal): - * keymap.c (keymap_delete_inverse_internal): - * keymap.c (keymap_store_inverse_internal): - * keymap.c (print_keymap): - * keymap.c (Lisp_Keymap): - * keymap.c: - * intl.c: - * insdel.c (convert_bufbyte_string_into_emchar_dynarr): - * insdel.c (make_gap): - * input-method-xlib.c (get_XIM_input): - * input-method-xlib.c (XIM_init_frame): - * imgproc.c: - * hash.h: - * hash.c: - * gui.c: - * gui-x.c (button_item_to_widget_value): - * gui-x.c (popup_selection_callback): - * glyphs.h (struct image_instantiator_methods): - * glyphs.c (mark_glyph_cachels): - * glyphs.c (Fglyph_type): - * glyphs.c (image_instantiate): - * glyphs.c (image_create): - * glyphs.c (make_image_instance_1): - * glyphs.c (finalize_image_instance): - * glyphs.c: - * glyphs-x.c (finalize_subwindow): - * glyphs-x.c (xface_validate): - * glyphs-x.c (x_locate_pixmap_file): - * glyphs-x.c (convert_EImage_to_XImage): + random cleanups. + * glyphs-msw.c: - * glyphs-msw.c (mswindows_resource_instantiate): - * glyphs-msw.c (xpm_to_eimage): - * glyphs-msw.c (convert_EImage_to_DIBitmap): - * glyphs-eimage.c (tiff_instantiate): - * glyphs-eimage.c (png_instantiate): - * glyphs-eimage.c (struct png_error_struct): - * glyphs-eimage.c (gif_memory_storage): - * glyphs-eimage.c: - * gifrlib.h: - * getloadavg.c (getloadavg): - * getloadavg.c: - * gdbinit: - * free-hook.c (log_gcpro): - * free-hook.c (check_malloc): - * free-hook.c (check_free): - * free-hook.c (ROUND_UP_TO_PAGE): - * free-hook.c: - * frame.h (struct frame): - * frame.h: - * frame.c (change_frame_size_1): - * frame.c (allocate_frame_core): - * frame.c: - * frame-x.c (x_focus_on_frame): - * frame-x.c (x_init_frame_2): - * frame-x.c (x_popup_frame): - * frame-x.c (xemacs_XtPopup): - * frame-x.c: - * frame-x.c (Foffix_start_drag_internal): - * frame-x.c (x_cde_destroy_callback): - * frame-x.c (x_wm_hack_wm_protocols): - * frame-tty.c (tty_frame_visible_p): - * frame-msw.c (mswindows_make_frame_invisible): - * frame-msw.c (mswindows_after_init_frame): - * frame-msw.c (mswindows_init_frame_1): - * fns.c (syms_of_fns): - * fns.c (Fbase64_decode_string): - * fns.c (Fnconc): - * fns.c (Ffillarray): - * fns.c (Fobject_plist): - * fns.c (Fget): - * fns.c (Fcanonicalize_lax_plist): - * fns.c (Fcanonicalize_plist): - * fns.c (Fplist_remprop): - * fns.c (Fplist_get): - * fns.c (advance_plist_pointers): - * fns.c (internal_plist_put): - * fns.c (Fnreverse): - * fns.c (Fremassq): - * fns.c (Felt): - * fns.c (Fsubstring): - * fns.c (Fbvconcat): - * fns.c (Flength): - * fns.c (length_with_bytecode_hack): - * fns.c (print_bit_vector): - * fns.c: - * floatfns.c (Ffloor): - * floatfns.c: - * floatfns.c (in_float_error): - * fileio.c (Ffile_modes): - * fileio.c (Fexpand_file_name): - * fileio.c (Fmake_temp_name): - * fileio.c (Ffile_name_nondirectory): - * fileio.c (Ffile_name_directory): - * file-coding.h: - * file-coding.c (vars_of_mule_coding): - * file-coding.c (convert_to_external_format): - * file-coding.c (encoding_marker): - * file-coding.c (decoding_marker): - * file-coding.c (Fcopy_coding_system): - * file-coding.c (Fmake_coding_system): - * file-coding.c (struct coding_system_list_closure): - * file-coding.c (Ffind_coding_system): - * file-coding.c (symbol_to_eol_type): - * file-coding.c: - * faces.h (struct face_cachel): - * faces.c (vars_of_faces): - * faces.c (face_property_was_changed): - * faces.c (mark_face_cachels): - * faces.c (temporary_faces_list): - * faces.c (struct face_list_closure): - * faces.c: - * extents.h (struct extent): - * extents.c (vars_of_extents): - * extents.c (struct copy_string_extents_1_arg): - * extents.c (add_string_extents_mapper): - * extents.c (Fextent_property): - * extents.c (Fset_extent_property): - * extents.c (symbol_to_glyph_layout): - * extents.c (properties_equal): - * extents.c (print_extent): - * extents.c (print_extent_1): - * extents.c (extent_in_region_p): - * extents.c (gap_array_make_gap): - * extents.c: - * events.h (struct Lisp_Event): - * events.h: - * events.c (Fevent_properties): - * events.c (format_event_object): - * events.c (Fmake_event): - * events.c (event_equal): - * events.c (print_event): - * events.c (mark_event): - * event-stream.c ((read-char) - * event-stream.c (vars_of_event_stream): - * event-stream.c (syms_of_event_stream): - * event-stream.c (Fset_recent_keys_ring_size): - * event-stream.c (Fsit_for): - * event-stream.c (Fnext_event): - * event-stream.c (execute_help_form): - * event-stream.c (maybe_kbd_translate): - * event-stream.c: - * event-msw.c (vars_of_event_mswindows): - * event-msw.c (mswindows_wnd_proc): - * event-msw.c (mswindows_need_event): - * event-msw.c (mswindows_drain_windows_queue): - * event-msw.c (mswindows_pump_outstanding_events): - * event-msw.c: - * event-msw.c (slurp_thread): - * event-msw.c (struct ntpipe_slurp_stream): - * event-msw.c (HANDLE_TO_USID): - * event-Xt.c (emacs_Xt_handle_magic_event): - * event-Xt.c (x_event_to_emacs_event): - * event-Xt.c (x_reset_modifier_mapping): - * event-Xt.c (x_reset_key_mapping): - * event-Xt.c: - * eval.c (syms_of_eval): - * eval.c (warn_when_safe): - * eval.c (warn_when_safe_lispobj): - * eval.c (Fbacktrace_frame): - * eval.c (Fbacktrace): - * eval.c (top_level_set): - * eval.c (unbind_to_hairy): - * eval.c (specbind_magic): - * eval.c (specbind_unwind_wasnt_local): - * eval.c (call2_trapping_errors): - * eval.c (call1_trapping_errors): - * eval.c (catch_them_squirmers_call2): - * eval.c (call0_trapping_errors): - * eval.c (run_hook_trapping_errors): - * eval.c (catch_them_squirmers_eval_in_buffer): - * eval.c (call4_in_buffer): - * eval.c (call3_in_buffer): - * eval.c (call2_in_buffer): - * eval.c (call1_in_buffer): - * eval.c (call0_in_buffer): - * eval.c (run_hook): - * eval.c (run_hook_with_args_in_buffer): - * eval.c (Fapply): - * eval.c (Feval): - * eval.c (do_autoload): - * eval.c (un_autoload): - * eval.c (Fautoload): - * eval.c (Finteractive_p): - * eval.c (Fcommand_execute): - * eval.c (signal_quit): - * eval.c (call_with_suspended_errors): - * eval.c (signal_error): - * eval.c (return_from_signal): - * eval.c (Fcall_with_condition_handler): - * eval.c (run_condition_case_handlers): - * eval.c (condition_case_1): - * eval.c (Funwind_protect): - * eval.c (unwind_to_catch): - * eval.c (internal_catch): - * eval.c (Fmacroexpand_internal): - * eval.c (Fuser_variable_p): - * eval.c (Fdefconst): - * eval.c (Fdefvar): - * eval.c (Ffunction): - * eval.c (signal_call_debugger): - * eval.c (call_debugger): - * eval.c: - * emacs.c (main): - * emacs.c (sort_args): - * emacs.c (main_1): - * elhash.h: - * elhash.c: - * editfns.c (Fencode_time): - * editfns.c (Fdecode_time): - * editfns.c (Fuser_full_name): - * editfns.c: - * editfns.c (save_excursion_restore): - * ecrt0.c: - * dynarr.c: - * doprnt.c (emacs_doprnt_1): - * doc.c (verify_doc_mapper): - * doc.c (Fsnarf_documentation): - * doc.c (Fdocumentation): - * dll.c: - * dired.c (user_name_completion): - * dired.c (Fdirectory_files): - * dialog-x.c: - * dialog-msw.c: - * dgif_lib.c (FreeSavedImages): - * dgif_lib.c (DGifGetImageDesc): + * 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): + * redisplay-output.c (redisplay_output_window): + New begin/end methods. + + * redisplay-tty.c: + * redisplay-tty.c (tty_frame_output_begin): + * redisplay-tty.c (tty_frame_output_end): + * redisplay-tty.c (console_type_create_redisplay_tty): + New begin/end methods. + + * redisplay-x.c: + * redisplay-x.c (x_window_output_begin): + * redisplay-x.c (x_window_output_end): + * redisplay-x.c (console_type_create_redisplay_x): + New begin/end methods. + + * redisplay.c (redisplay_frame): + * redisplay.c (Fredisplay_echo_area): + New begin/end methods. + use MAYBE_DEVMETH for clear_frame; it may not exist. + + * window.h (WINDOW_XFRAME): + WINDOW_XFOO macros -- get locale and decode struct pointer. + + +2000-05-12 Ben Wing + + * emacs.c: + * emacs.c (ensure_no_quitting_from_now_on): + * emacs.c (fatal_error_signal): + * emacs.c (mswindows_handle_hardware_exceptions): + * emacs.c (main): + * emacs.c (Fkill_emacs): + * 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): + * print.c (stderr_out): + * 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): + * glyphs.h (GLYPH_CACHEL_ASCENT): Match parameters to variables + used in case these are inline functions. + Use more absurd values to error check. + + include window.h for error check functions. + +2000-05-11 Ben Wing + + * cmdloop.c (Freally_early_error_handler): + Display message box under windows; otherwise, message will disappear + before it can be viewed. + + * console-msw.c: + * console-msw.c (Fmswindows_message_box): + * console-msw.c (FROB): + * console-msw.c (syms_of_console_mswindows): + 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): + * glyphs.h (GLYPH_CACHEL): + * glyphs.h (GLYPH_CACHEL_GLYPH): + 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. + + * window.c (allocate_window): + * window.c (make_dummy_parent): + * 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 + + * glyphs.c (image_instantiate): Suppress gcc warnings. + (Fmake_image_instance): Fix doc string. + * specifier.c (Fmake_specifier): Ditto. + +2000-05-02 Yoshiki Hayashi + + * paths.h.in (PATH_LOCK): Removed. + * config.h.in (LOCKDIR_USER_DEFINED): Removed. + * emacs.c (complex_vars_of_emacs): Remove configure-lock-directory. + +2000-05-08 Yoshiki Hayashi + + * fns.c (Ffeaturep): Update e-mail address in doc-string. + Document (featurep '(and xemacs 21.02)). + +2000-05-09 Ben Wing + + * buffer.c (complex_vars_of_buffer): + update modeline-format doc. + * device.h: - * device.h (struct device): - * device.c (Fselect_device): - * device.c (allocate_device): - * device.c: - * device-x.c (Fx_keysym_on_keyboard_p): - * device-x.c (Fx_valid_keysym_name_p): - * device-x.c (x_IO_error_handler): - * device-x.c (x_delete_device): - * device-x.c (x_finish_init_device): - * device-x.c (x_init_device): - * device-x.c: - * device-msw.c (mswindows_init_device): - * dbxrc: - * database.c (vars_of_database): - * database.c (Fput_database): - * database.c (Fopen_database): - * database.c (berkdb_remove): - * database.c (berkdb_put): - * database.c (Fdatabasep): - * database.c (print_database): - * database.c: - * data.c (vars_of_data): - * data.c (syms_of_data): - * data.c (init_errors_once_early): - * data.c (prune_weak_lists): - * data.c (finish_marking_weak_lists): - * data.c (print_weak_list): - * data.c (Fmod): - * data.c (Fstring_to_number): - * data.c (Fnumber_to_string): - * data.c (Findirect_function): - * data.c (Fsetcdr): - * data.c (Ffloatp): - * data.c (Fsubr_interactive): - * data.c (Farrayp): - * data.c (Fkeywordp): - * data.c (Fnull): - * data.c: - * console.h (CONSOLE_NAME): - * console.h: - * console.c (vars_of_console): - * console.c (Fselect_console): - * console.c: - * console-x.h (DEVICE_X_COLORMAP): - * console-x.h (struct x_device): - * console-x.c (x_device_to_console_connection): - * console-tty.h (CONSOLE_TTY_FINAL_CURSOR_Y): - * console-tty.c (tty_init_console): - * console-tty.c: - * console-msw.h (struct mswindows_frame): - * conslots.h: - * config.h.in: - * cmds.c (internal_self_insert): - * cmds.c (Fforward_line): - * cmds.c (Fforward_char): - * cmds.c: - * cmdloop.c: - * chartab.c (mark_char_table_entry): - * chartab.c: - * casefiddle.c (casify_word): - * callproc.c (child_setup): - * callproc.c (Fcall_process_internal): - * callproc.c: - * callint.c (Fcall_interactively): - * bytecode.h: - * bytecode.c (execute_rare_opcode): - * bytecode.c (execute_optimized_program): - * bytecode.c: - * bufslots.h: - * buffer.h (BUFFER_REALLOC): - * buffer.h (GET_CHARPTR_INT_DATA_ALLOCA): - * buffer.h (GET_CHARPTR_EXT_DATA_ALLOCA): + 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): + * glyphs-widget.c (image_instantiator_scrollbar): + * glyphs-widget.c (image_instantiator_progress_guage): + * glyphs-widget.c (image_instantiator_tree_view): + * glyphs-widget.c (image_instantiator_tab_control): + * glyphs-widget.c (image_instantiator_labels): + * 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): + make sure we don't put an entry more than once into the list. + * glyphs.c (check_instance_cache_mapper): + ************************************************************* + allow for nil. THIS SHOULD FIX A REAL CRASH THAT MANY PEOPLE + HAVE BEEN GETTING. + ************************************************************* + * glyphs.c (get_image_instantiator_governing_domain): + clean up, expand on new concept of governing domain. + * glyphs.c (instantiate_image_instantiator): + * glyphs.c (allocate_image_instance): + use governing_domain instead of cache_domain in naming. + * glyphs.c (Fvalid_image_instance_type_p): fix docs. + * glyphs.c (make_image_instance_1): + * glyphs.c (Fmake_image_instance): + allow for any domain (not just device), and process the + governing domain correctly. very big doc fix. + * glyphs.c (Fimage_instance_domain): + new primitive, to retrieve the governing domain of an image instance. + * glyphs.c (image_instantiate): + use new governing_domain stuff. this fixes a crash you could get + by instantiating certain widget glyphs in frame locales. (should + signal an error instead of crashing.) + * glyphs.c (Fimage_specifier_p): move doc to make-image-specifier. + * glyphs.c (Fglyphp): clean up doc. + * glyphs.c (subwindow_governing_domain): renamed from *_decode_domain. + * glyphs.c (syms_of_glyphs): + declare Fimage_instance_domain, remove unused Qlayout_image_instance_p. + * glyphs.c (image_instantiator_format_create): add some comments about + bogus code. + * 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): + * gutter.c (Fgutter_visible_specifier_p): + * objects.c: + * objects.c (Fcolor_specifier_p): + * 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): + now non-static, used in glyphs.c. + * specifier.c (specifier_instance): + comment about the bogosity of image instances being domains. + * specifier.c (Fgeneric_specifier_p): + 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): + * specifier.h (DOMAIN_XDEVICE): + 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 + HAVE BEEN GETTING. + ************************************************************* + +2000-05-09 Andy Piper + + * glyphs.h: declare reset_frame_subwindow_instance_cache. + + * window.c (Fset_window_configuration): reset the frame subwindow + cache and re-initialize the window subwindow caches. + + * glyphs.c (reset_frame_subwindow_instance_cache): new function. + +2000-05-09 Ben Wing + + * ntheap.c (recreate_heap): Changed unknown (VC6 only?) SIZE_T to + DWORD. + +2000-04-26 Mike Woolley + + * ntheap.c: Changed recreate_heap to limit the amount reserved + for the heap to that which is actually available. Also now + displays a message box (with some dignostics) in the event that + it still can't start. + +2000-05-07 Jan Vroonhof + + * callproc.c (Fold_call_process_internal): GCPRO path + +2000-05-08 Jan Vroonhof + + Patch by Bill Perry. + + * scrollbar.c (Fscrollbar_page_up): Conditionalize on type of call + back data instead of #ifdef. + (Fscrollbar_page_down): ditto. + +2000-05-07 Ben Wing + * buffer.h: - * buffer.h (MAP_INDIRECT_BUFFERS): - * buffer.h (CHECK_LIVE_BUFFER): - * buffer.c (init_initial_directory): - * buffer.c (complex_vars_of_buffer): - * buffer.c (vars_of_buffer): - * buffer.c (finish_init_buffer): - * buffer.c (Fget_file_buffer): - * buffer.c (Fbuffer_list): - * buffer.c (mark_buffer): - * balloon_help.c (balloon_help_move_to_pointer): - * balloon_help.c (show_help): - * balloon_help.c: - * backtrace.h: - * alloc.c (garbage_collect_1): - * alloc.c (sweep_strings): - * alloc.c (sweep_compiled_functions): - * alloc.c (sweep_bit_vectors_1): - * alloc.c (sweep_vectors_1): - * alloc.c (sweep_lcrecords_1): - * alloc.c (tick_lcrecord_stats): - * alloc.c (pure_string_sizeof): - * alloc.c (mark_conses_in_list): - * alloc.c (mark_object): - * alloc.c (report_pure_usage): - * alloc.c (make_pure_float): - * alloc.c (make_pure_string): - * alloc.c (free_managed_lcrecord): - * alloc.c (mark_string): - * alloc.c (noseeum_make_marker): - * alloc.c (allocate_event): - * alloc.c (Fbit_vector): - * alloc.c (Fvector): - * alloc.c (make_float): - * alloc.c (Fmake_list): - * alloc.c (Flist): - * alloc.c (FREE_FIXED_TYPE_WHEN_NOT_IN_GC): - * alloc.c (PUT_FIXED_TYPE_ON_FREE_LIST): - * alloc.c (DECLARE_FIXED_TYPE_ALLOC): - * alloc.c (dbg_constants): - * alloc.c (gc_record_type_p): - * alloc.c (free_lcrecord): - * alloc.c (xmalloc): - * alloc.c (NOSEEUM_INCREMENT_CONS_COUNTER): - * abbrev.c: - * Makefile.in.in (mostlyclean): - * Makefile.in.in (external_client_xlib_objs_nonshared): - * Makefile.in.in (temacs_link_args): - * Makefile.in.in (release): - * Makefile.in.in (dnd_objs): - * Makefile.in.in (objs): - * Makefile.in.in (PROGNAME): - * EmacsShell.c: cast strings to (XtPointer) - * EmacsFrame.c: cast strings to (XtPointer) - - mega patch - - rewrite basic lisp functions for speed - - rewrite bytecode interpreter for speed - - rewrite list looping constructs for speed and safety using - tortoise/hare. - - use size_t where appropriate. - - new hashtable implementation - - cleanup implementation of opaques - - opaques can now be purecopy'ed - - move some cl functionality into C for speed. - - remove last remaining VMS support - - spelling fixes - - improve gdb/dbx debugger support - - move pure.c back into alloc.c for performance - - enable report_pure_usage() if --memory-usage-stats - - remove remnants of Energize support (EMACS_BTL, cadillac...) - - don't use symbols with leading `_' or embedded `__' - - globally cleanup duplicated semicolons `;;' - - I give in on %p vs %lx - we use printf("%lx",(long) p) - globally. - - globally replace O_NDELAY with O_NONBLOCK. - - globally replace CDISABLE with _POSIX_VDISABLE. - - use O_RDONLY and O_RDWR instead of magic `0' and `2'. - - define (and maybe use!) STDERR_FILENO and friends. - - add support for macros defined in C - - `when', `unless', `not' and `defalias' now defined in C, - so that they are universally available. - - rename defvar_mumble to defvar_magic - - rename RETURN__ to RETURN_SANS_WARNINGS - - use consistent style of initial caps in error messages - - implement last, butlast, nbutlast, copy-list in C. - - provide typedefs for all struct Lisp_foo types - - Lisp_Objects must be initialized to Qnil rather than 0. - - make sure XEmacs runs (slowly) with always_gc == 1; - - fast and safe LOOP_* macros - - change calls to XSETOBJ to XSETFOO - - replace calls to XSETINT by make_int() - - plug up memory leaks - - use style markobj (foo), not silly ((markobj) (foo)) - - use XFLOAT_DATA (obj) instead of float_data (XFLOAT (obj)) - -1998-12-02 P. E. Jareth Hein - - * unexec.c: Changed a #ifndef statement to fix XEmacs on BSDI 3.0 + Kludge for defining Qmswindows_tstr. + + * nt.c: + * nt.c (open_input_file): + * nt.c (open_output_file): + * nt.c (rva_to_section): + * nt.c (mswindows_executable_type): + Move all memory-mapped-file routines here (some were in unexnt.c, + 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): + * nt.h (RVA_TO_PTR): + 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. + + * ntproc.c (compare_env): + Moved rva_to_section and mswindows_executable_type to nt.c. + Moved compare_env to process-nt.c. + ntproc.c will die, one day. + + * ntproc.c (sys_spawnve): + Account for win32_ -> mswindows_. + + * process-nt.c: + * process-nt.c (struct nt_process_data): + * process-nt.c (ensure_console_window_exists): + * process-nt.c (compare_env): + * process-nt.c (nt_create_process): + * process-nt.c (nt_kill_process_by_pid): + * process-nt.c (syms_of_process_nt): + * process-nt.c (vars_of_process_nt): + Introduce variable `mswindows-quote-process-args', from FSF 20.6. + Copy argument quoting code from FSF 20.6 (with appropriate Mule-ization + 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. + + * unexnt.c: + * unexnt.c (unexec): + open_output_file moved to nt.c. + -1998-11-28 SL Baur +2000-05-05 Andy Piper - * XEmacs 21.2-beta4 is released. + * window.c (window_unmap_subwindows_cache_mapper): remove the dead + instance from the frame cache also since GC may catch up too late + to make frame deletion sane. -1998-11-27 SL Baur +2000-05-04 Andy Piper - * mule-charset.c (complex_vars_of_mule_charset): Fix graphic - property in control-1 charset. - From Julian Bradfield + * glyphs-x.c (x_widget_instantiate): gcpro widget callbacks. + (x_finalize_image_instance): ungcpro on deletion. -1998-11-26 Jan Vroonhof + * glyphs.c (image_instantiator_format_create): give pointers a + query geometry method so that the geometry is at least set. - * gui-x.c (button_item_to_widget_value): Ignore :key-sequence - keyword. - Add stub for :label. + * glyphs-x.c (image_instantiator_format_create_glyphs_x): only + initialize layouts if using widgets. - * gui.c (gui_item_add_keyval_pair): ditto. +2000-05-03 Andy Piper - * menubar-x.c (menu_item_descriptor_to_widget_value_1): Ignore - :key-sequence keyword. - Add stub for:label. - Support :active for submenus like the Windows code and FSF Emacs. + * nt.c: remove bogus reference to sysmmsystem.h -1998-11-27 Hrvoje Niksic + * gui-x.c (popup_selection_callback): fix no selection abort. - * dired.c (make_directory_hash_table): make_string() is OK because - readdir() Mule-encapsulates. +2000-05-02 Andy Piper + + * glyphs-msw.c (mswindows_update_widget): cope with nil text. + (mswindows_widget_instantiate): ditto. -1998-11-26 Hrvoje Niksic + * glyphs-widget.c (initialize_widget_image_instance): initialize + children correctly. + (widget_instantiate): cope with children and items in the same + instance. - * fns.c (Fbase64_encode_string): Fix docstring. - (Fbase64_decode_string): Ditto. + * glyphs.c (mark_image_instance): cope with children as a first + class member. + (image_instance_equal): ditto. + (image_instance_hash): ditto. + (image_instance_changed): ditto. + +2000-04-30 Andy Piper + + * glyphs.c (subwindow_query_geometry): new function. Return some + defaults. + (subwindow_instantiate): don't assign dimensions if none have been + given. + (image_instantiator_format_create): add subwindow_query_geometry. + (print_image_instance): cope with layouts as widgets. + +2000-04-29 Andy Piper + + * frame.c (delete_frame_internal): call + free_frame_subwindow_instance_cache so that all subwindows are + finalized before their parent. + (mark_frame): remove subwindow_cachels. + (Fmake_frame): remove subwindow_cachel manipulation. + (allocate_frame_core): subwindow_instance_cache is a weak list. + (delete_frame_internal): set subwindow_instance_cache to nil. + + * glyphs-msw.c (mswindows_finalize_image_instance): make double + finalization safe. + (mswindows_finalize_image_instance): use the device + not the domain as the domain may have died already. + + * glyphs-x.c (x_finalize_image_instance): ditto. + (x_subwindow_instantiate): remove SUBWINDOW_WIDTH & + HEIGHT. + + * redisplay-output.c (redisplay_unmap_subwindows): update for + subwindow instance cache as a weak list. + (redisplay_unmap_subwindows_maybe): ditto. + (redisplay_unmap_subwindows_except_us): ditto. + + * glyphs.c (unmap_subwindow): error checking will check the domain + so don't deal with it here. Don't use cachels anymore. + (map_subwindow): ditto. + (update_subwindow_cachel_data): remove old accessor names. + (subwindow_instantiate): remove SUBWINDOW_WIDTH & HEIGHT. + (Fresize_subwindow): don't update cachel. + (mark_subwindow_cachels): + (update_subwindow_cachel_data): + (add_subwindow_cachel): + (get_subwindow_cachel_index): + (update_subwindow_cachel): + (reset_subwindow_cachels): + (mark_subwindow_cachels_as_not_updated): deleted. + (cache_subwindow_instance_in_frame_maybe): new function. Add a + subwindow instance to the frame cache. + (find_matching_subwindow): update for subwindow instance cache as + a weak list. + (update_widget_instances): ditto. + (image_instance_type_to_mask):inlined. + (free_frame_subwindow_instance_cache): new function. finalize all + subwindows that are instantiated. + + * glyphs.h (struct Lisp_Image_Instance): add display_data instead + of cachel information. + (IMAGE_INSTANCE_DISPLAY_X): + (IMAGE_INSTANCE_DISPLAY_Y): + (IMAGE_INSTANCE_DISPLAY_WIDTH): + (IMAGE_INSTANCE_DISPLAY_HEIGHT): + (XIMAGE_INSTANCE_DISPLAY_X): + (XIMAGE_INSTANCE_DISPLAY_Y): + (XIMAGE_INSTANCE_DISPLAY_WIDTH): + (XIMAGE_INSTANCE_DISPLAY_HEIGHT): new accessors. + remove subwindow_cachel structure and function references. + (image_instance_type_to_mask): inline from glyphs.c + + * redisplay.c (redisplay_frame): remove subwindow_cachel + references. + + * frame.h (struct frame): remove subwindow_cachels. + (FRAME_SUBWINDOW_CACHE): access subwindow_instance_cache. + + * frameslots.h: add subwindow_instance_cache. + + * window.c (replace_window): check subwindow cache of replacement. + (window_unmap_subwindows_cache_mapper): + (window_unmap_subwindows): new functions. Unmap all subwindows + cached on this window. + (mark_window_as_deleted): unmap all subwindows. + +2000-04-27 Andy Piper + + * glyphs.h (IIFORMAT_METH_OR_GIVEN): cope with null meths. + + * glyphs-widget.c (widget_layout): return something. + (layout_layout): return something. Fail if not intialized. + (layout_query_geometry): ditto. + (image_instantiator_native_layout): new function. Initialized the + native layout type. + (widget_instantiate): don't do layout stuff here. + + * glyphs.c (instantiate_image_instantiator): reorded calling or + instantiate and post_instantiate with layout in between. + (image_instance_layout): be more selective about deciding whether + the layout has been done or not. + + * glyphs.h (struct image_instantiator_methods): return a value + from layout_method. + +2000-04-26 Andy Piper + + * glyphs.c (allocate_image_instance): make initial width and + height unspecified. Set initialized to 0. + + * syscommctrl.h new file. Encapsulates commctrl.h. + + * syswindows.h new file. Encapsulates windows.h. + + * 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 + window handle rather than just the frame. + + * glyphs.c (mark_image_instance): remove layout references. + (print_image_instance): ditto. + (image_instance_equal): ditto. + (image_instance_hash): ditto. + (decode_image_instance_type): ditto. + (encode_image_instance_type): ditto. + (image_instantiate): ditto. + (allocate_glyph): ditto. + (Fimage_instance_height): ditto. + (Fimage_instance_width): ditto. + (update_subwindow): ditto. + + * redisplay-x.c (x_output_display_block): recode for layouts as + widgets. + + * redisplay-output.c (redisplay_output_layout): recode for layouts + as widgets. + (compare_runes): remove layout references. + + * redisplay-msw.c (mswindows_output_display_block): recode for + layouts as widgets. + + * glyphs-widget.c (image_instantiator_layout): remove + layout_possible_dest_types. + (layout_possible_dest_types): deleted. + + * glyphs.h (image_instance_type): remove layout references. + (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): + (image_instantiator_edit_fields): + (image_instantiator_combo_box): + (image_instantiator_scrollbar): + (image_instantiator_progress_guage): + (image_instantiator_tree_view): + (image_instantiator_tab_control): + (image_instantiator_labels): + (image_instantiator_layout): call default post_instantiate method. + (widget_post_instantiate): new function. Simply lays out the + widgets. + + * glyphs.h (struct image_instantiator_methods): add + post_instantiate method. + + * glyphs.c (instantiate_image_instantiator): add post_instantiate + method calls. + +2000-04-23 Andy Piper + + * glyphs.h (struct image_instantiator_methods): add + decode_domain_method. + (struct Lisp_Image_Instance): remove subwindow frame - it can be + derived from the domain. + (IMAGE_INSTANCE_FRAME): new accessor. + (XIMAGE_INSTANCE_FRAME): ditto. + + * glyphs.c (print_image_instance): use IMAGE_INSTANCE_FRAME + instead of _SUBWINDOW_FRAME. + (finalize_image_instance): ditto. + (Fimage_instance_foreground): ditto. + (Fimage_instance_background): ditto. + (image_instantiate): ditto. + (update_subwindow_cachel): ditto. + (update_subwindow): ditto. + (unmap_subwindow): ditto. + (map_subwindow): ditto + (subwindow_instantiate): ditto. + * glyphs-msw.c (mswindows_update_widget): ditto. + (mswindows_progress_gauge_instantiate): ditto. + (mswindows_tab_control_update): ditto. + * glyphs-x.c (x_update_widget): ditto. + (x_widget_instantiate): ditto. + (x_tab_control_instantiate): ditto. + (x_tab_control_update): ditto. + * event-msw.c (mswindows_wnd_proc): ditto + + * glyphs-widget.c (image_instantiator_layout): use + subwindow_decode_domain. + (image_instantiator_buttons): ditto. + (image_instantiator_edit_fields): ditto. + (image_instantiator_combo_box): ditto. + (image_instantiator_scrollbar): ditto. + (image_instantiator_progress_guage): ditto. + (image_instantiator_tree_view): ditto. + (image_instantiator_tab_control): ditto. + (image_instantiator_labels): ditto. + (image_instantiator_layout): ditto. + + * glyphs.c: add instance error checking to many functions. + (instantiate_image_instantiator): decode device from cache_domain. + (image_instantiate): partially rewrite by using + decode_image_instantiator_domain to determine what domain the + instance needs to be cached in. + (decode_image_instantiator_domain): new function. Determine what + domain the image needs to be cached in. + (check_window_subwindow_cache): new error checking function. + (check_instance_cache_mapper): ditto. + (check_image_instance_structure): ditto. + (subwindow_decode_domain): new function. Encodes a window as a + subwindow's cache domain. + (image_instantiator_format_create): use it for text and + subwindows. + +2000-04-21 Andy Piper + + * glyphs.c (image_instance_device): new function. + (image_instance_frame): new function. + (image_instance_window): new function. + (image_instance_live_p): new function. + + * window.c (mark_window_as_deleted): reset the subwindow_instance_ + cache to nil. + + * glyphs.h (struct Lisp_Image_Instance): device->domain. + (IMAGE_INSTANCE_DOMAIN): new accessor. + (XIMAGE_INSTANCE_DOMAIN): ditto. + + * glyphs-x.c (x_finalize_image_instance): device->domain. + + * glyphs-msw.c (init_image_instance_geometry): device->domain. + (mswindows_finalize_image_instance): ditto. + + * glyphs-eimage.c (jpeg_instantiate): device->domain. + (gif_instantiate): ditto. + (png_instantiate): ditto. + (tiff_instantiate): ditto. + + * glyphs.c (instantiate_image_instantiator): use domain rather + than device. + (mark_image_instance): device -> domain. + (print_image_instance): ditto. + (finalize_image_instance): ditto. + (image_instance_equal): ditto. + (allocate_image_instance): ditto. + (Fcolorize_image_instance): ditto. + (query_string_geometry): ditto. + (image_instantiate): ditto + (query_string_font): ditto. + (image_instantiate): ditto. + (update_subwindow): ditto. + (unmap_subwindow): ditto. + (map_subwindow): ditto. + (subwindow_instantiate): ditto. -1998-11-26 Hrvoje Niksic + * specifier.h (DOMAIN_DEVICE): new, semantically correct, decoder. + (DOMAIN_FRAME): ditto. + (DOMAIN_WINDOW): ditto. + (DOMAIN_LIVE_P): ditto. + (XDOMAIN_DEVICE): ditto. + (XDOMAIN_FRAME): ditto. + (XDOMAIN_WINDOW): ditto. - * editfns.c (Ftranslate_region): Use - convert_bufbyte_string_into_emchar_string(). + * specifier.c (Fvalid_specifier_domain_p): add image instances as + a valid specifier domain. -1998-11-25 Hrvoje Niksic +2000-04-19 Andy Piper - * editfns.c (Ftranslate_region): Accept vectors and char-tables as - well as strings. - (Ftranslate_region): Turn table into an array of Emchars for - larger regions. + * glyphs-widget.c (syms_of_glyphs_widget): remove + widget-callback-current-channel. + (vars_of_glyphs_widget): ditto. + * glyphs.h: ditto -1998-11-25 Hrvoje Niksic + * gui.c (get_gui_callback): revert to previous behaviour. - * chartab.c (Freset_char_table): Fix wrong placement of #endif. +2000-04-18 Andy Piper -1998-11-24 Hrvoje Niksic + * glyphs.h (struct Lisp_Image_Instance): add margin_width. + (IMAGE_INSTANCE_MARGIN_WIDTH): new. + (XIMAGE_INSTANCE_MARGIN_WIDTH): new. - * chartab.c (Freset_char_table): Don't blindly fill chartables of - type `char' with nils. + * glyphs.c (image_instance_equal): add margin_width. + (image_instance_hash): ditto. - * chartab.c (canonicalize_char_table_value): Coerce ints to chars - for tables of type `char'. + * glyphs-widget.c (widget_instantiate): deal with margin-width. + (layout_query_geometry): ditto. + (layout_layout): ditto. + (syms_of_glyphs_widget): add margin-width. + (image_instantiator_layout): allow margin-width. -1998-11-26 Didier Verna + * glyphs.c (update_widget_instances): make a normal function. + (syms_of_glyphs): remove Qupdate_widget_instances. + * glyphs.h: ditto. - * input-method-xlib.c (Initialize_Locale): don't call - XtSetLanguageProc. We've done the whole work here. - * input-method-xfs.c (Initialize_Locale): ditto. - * input-method-motif.c (Initialize_Locale): ditto. + * gui-x.c (popup_selection_callback): use enqueue_magic_eval_event + so that we don't corrupt ideas about the last event or + command. Remove widget-callback-current-channel fiddling. + * gui-msw.c (mswindows_handle_gui_wm_command): ditto. -1998-11-26 Didier Verna +2000-05-01 Martin Buchholz - * process-unix.c (unix_create_process): handle properly - Vfile_name_coding_system for converting the program and directory - names. + * XEmacs 21.2.33 is released. -1998-11-27 SL Baur +2000-05-01 Yoshiki Hayashi - * m/arm.h: New file. - From James LewisMoss + * make-src-depend: Allow dots in header file name. -1998-11-27 Takeshi Hagiwara +2000-05-01 Yoshiki Hayashi - * m/mips-nec.h: - Fix the realpath() problem of UnixWare2.1.3. - Patches for NEC's sysv4.2 machine. + * mule-charset.h (struct charset_lookup): Add + next_allocated_1_byte_leading_byte and + next_allocated_2_byte_leading_byte. + * mule-charset.c: Move above two variables so that those values + will be dumped. -1998-11-25 Hrvoje Niksic +2000-04-26 Yoshiki Hayashi - * dired.c (Fdirectory_files): Remove redundant code. + * insdel.c (find_charsets_in_bufbyte_string): Add Vcharset_ascii + when string length is zero. + (find_charsets_in_emchar_string): Ditto. -1998-11-25 Hrvoje Niksic +2000-04-29 Bjrn Torkelsson - * fns.c (free_malloced_ptr): New function. - (XMALLOC_OR_ALLOCA): New macro. - (XMALLOC_UNBIND): Ditto. - (Fbase64_encode_region): Use malloc() for large blocks; arrange it - to be freed in case of non-local exit. - (Fbase64_encode_string): Ditto. - (Fbase64_decode_region): Ditto. - (Fbase64_decode_string): Ditto. - (STORE_BYTE): New macro. - (base64_decode_1): Use it. + * lisp.h: extern Qdialog and Qmenubar. -1998-11-25 Hrvoje Niksic + * gui-x.c: added events.h. + also fixed typo which made the file uncompilable. - * fns.c (base64_value_to_char): Base64 stuff. + * general.c: Added Qmenubar and Qdialog -1998-11-24 Hrvoje Niksic +2000-04-28 Ben Wing - * editfns.c (Fbuffer_substring): New function. + * frame-msw.c (mswindows_init_frame_1): + * frame-msw.c (mswindows_mark_frame): + * event-msw.c (mswindows_enqueue_dispatch_event): + * console-msw.h: + * console-msw.h (struct mswindows_frame): + * 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): + * gui.c (gui_item_init): + * gui.c (gui_add_item_keywords_to_plist): + * gui.c (mark_gui_item): + * gui.c (gui_item_hash): + * gui.c (gui_item_equal): + * gui.c (copy_gui_item): + * 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. - * lisp.h: Declare make_string_from_buffer_no_extents(). + * 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): + * glyphs-x.c (x_progress_gauge_instantiate): + * glyphs-x.c (x_edit_field_instantiate): + * glyphs-x.c (x_combo_box_instantiate): + * 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 + event because it's one of the callback-ex arguments. + * gui-x.c (button_item_to_widget_value): + * gui-x.c (gui_items_to_widget_values_1): + * gui-x.c (gui_item_children_to_widget_values): + * gui-x.c (gui_items_to_widget_values): + new image instance parameter in various places. + + * fns.c (Freplace_list): + fix small typo in doc string. + + * lisp.h: + declare enqueue_Xt_dispatch_event. - * insdel.c (make_string_from_buffer_1): New function. - (make_string_from_buffer_no_extents): Ditto. +2000-04-28 Ben Wing -1998-11-15 Michael Sperber [Mr. Preprocessor] + * buffer.c: + * 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): + * redisplay.c (vars_of_redisplay): + new hook buffer-list-changed-hook. + call it. - * linuxplay.c: Including instead of makes - sound work on AIX with OSS installed. Linux should still work. +2000-04-27 Ben Wing -1998-11-03 Andy Piper + * extents.h: extern in_modeline_generation. - * config.h.in: name change for cygwin/version.h + * redisplay.c (generate_formatted_string_db): set + in_modeline_generation. - * configure.in: check for cygwin/version.h now. + * extents.c (extent_changed_for_redisplay): don't mark redisplay + flags if in modeline generation. otherwise frame-modified-tick + is ticked far too often. + Declare in_modeline_generation. - * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR -> - CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20. - move cygwin32/version.h to cygwin/version.h +2000-04-26 Ben Wing -1998-11-03 Olivier Galibert + * emacs.c (vars_of_emacs): document quick-build "error-checking" + option. + (vars_of_emacs): add quick-build as an error-checking option. + A bit kludgy, but there doesn't seem much point in creating + a real var for this. - * lisp.h (struct Lisp_Bit_Vector): Fix declaration of bits from - int to long. + * config.h.in: put in an entry for QUICK_BUILD; remove NO_DOC_FILE. -1998-10-22 Andy Piper +2000-04-14 IKEYAMA Tomonori - * cygwin32.h: track CYGWIN_DLL_VERSION_MAJOR -> - CYGWIN_VERSION_DLL_MAJOR name change in cygwin b20. - enable BROKEN_SIGIO under b20 to make QUIT work. + * redisplay.h (struct display_line): Add a new variable, + line_continuation. -1998-10-22 Andy Piper + * redisplay.c (create_text_block): Set dl->line_continuation if + the line continues. + (create_string_text_block): Ditto. + (regenerate_window_incrementally): Use line_continuation instead + of searching continuation glyph. + (add_margin_runes): Call add_glyph_rune. + (add_glyph_rune): Handle margin glyph. - * frame-msw.c (mswindows_size_frame_internal): force frame sizing - to fit within the constraints of the screen size. I.e. make the - frame small enough to fit and move it if some of it will be - off-screen. +2000-04-20 Martin Buchholz -1998-10-19 Greg Klanderman + * filelock.c (fill_in_lock_file_name): + ANSIfy. + Check for IS_ANY_SEP instead of '/'. + (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. + (Flock_buffer): Fix docstring. + (Ffile_locked_p): Fix docstring. Add GCPRO. - * dired.c: conditionalize inclusion of user-name-completion - primitives on non-Windows NT. The needed functions don't exist on NT. +2000-04-19 Martin Buchholz -1998-11-24 SL Baur + * sysdep.c (get_pty_max_bytes): + Fix hangs on DEC OSF 4.0 when (process-send-string) sends + strings longer than 252 bytes. - * gifrlib.h: Clean up types for 64 bit compile. - * dgif_lib.c (DGifInitRead): Ditto. - (MakeSavedImage): Ditto. - * emacs.c (decode_path): Ditto. - From Steve Carney + * md5.c: Unconditionally include ANSI header -1998-10-16 William M. Perry + * glyphs-x.c (convert_EImage_to_XImage): + * lisp-union.h (union Lisp_Object): + Use consistently the syntax #ifdef FEATURE, not #if FEATURE. - * glyphs-msw.c (bitmap_table): Fixed typo in builtin bitmaps - (cehckboxes instead of checkboxes). +2000-04-13 Yoshiki Hayashi -1998-10-15 SL Baur + * filelock.c (current_lock_owner): Remove unused variable o, p. - * XEmacs 21.2-beta3 is released. +2000-04-17 Norbert Koch -1998-10-13 Raymond Toy + * callint.c: Remove multiply defined symbol Qlet + (syms_of_callint): ditto. - * runemacs.c (WinMain): If the basename is "rungnuclient.exe", run - gnuclient. Otherwise, we run xemacs as we always did. This gets - rid of the annoying DOS window when running gnuclient. +2000-04-14 Andy Piper -1998-10-13 Andy Piper + * general.c (syms_of_general): add last-command, this-command, let + and funcall. - * dragdrop.c (vars_of_dragdrop): rename HAVE_MSWINDOWS -> - HAVE_MS_WINDOWS typo. + * lisp.h: declare various symbols. -1998-10-13 SL Baur + * glyphs.h: declare Qwidget_callback_current_channel; - * process-unix.c (unix_send_process): Set closed flag on writable - pipe after SIGPIPE is received and before we call deactivate_process. + * glyphs-widget.c (syms_of_glyphs_widget): add + Qgui_callback_current_channel. + (vars_of_glyphs_widget): add Vgui_callback_current_channel. -1998-10-03 Gunnar Evermann + * gui-msw.c (mswindows_handle_gui_wm_command): bind + widget-callback-current-channel when invoking the interactive + arg. Also bind last-command and next-command when invoking the + widget updates. + * gui-x.c (popup_selection_callback): ditto. - * window.c (Fset_window_start): respect narrowing when - checking wheter start is at the beginning of a line. - (Fset_window_buffer): Ditto - Fixes repeatable crash in VM. + * gui.c (get_gui_callback): massage args so that we are always + calling eval. This allows us to add our own variable bindings + outside. -1998-10-09 SL Baur + * glyphs-x.c (x_button_instantiate): use + gui_items_to_widget_values since this is GC safe. + (x_progress_gauge_instantiate): ditto. + (x_edit_field_instantiate): ditto. + (x_label_instantiate): ditto. - * window.c (specifier_vars_of_window): Set default vertical - divider width to 1 on ttys. + * event-Xt.c (emacs_Xt_handle_magic_event): remove old printfs. + (emacs_Xt_event_widget_focus_out): new function + (emacs_Xt_event_widget_focus_in): new function. Set the keyboard + focus. + (emacs_Xt_event_add_widget_actions): new function. add focus + functions as actions. + (init_event_Xt_late): use it. -1998-10-08 Martin Buchholz +2000-04-14 Hrvoje Niksic - * alloc.c: - * unexec.c: - * malloc.c: - Add to get ptrdiff_t declaration + * event-stream.c (Fdispatch_event): Doc fix. -1998-10-07 Jonathan Harris +2000-03-29 SL Baur - * scrollbar-msw.c: Use the same vertical scrollbar drag hack as - is used for Motif or Lucid scrollbars under X. + * postgresql.c: Remove all references to PQsetenv*. -1998-10-08 Pierre Wendling + * postgresql.h: Remove references to PGsetenvHandler object. + * lrecord.h (lrecord_type): Ditto. - * m/alpha.h (UNEXEC): quoted to avoid bad expansion when running - `configure' +2000-04-11 Kirill 'Big K' Katsnelson -1998-10-06 Takeshi Hagiwara + * glyphs-msw.h (struct mswindows_image_instance_data): Added + real_heigh and real_width members, and accessor macros for these. - * frame-x.c (x_delete_frame): Fix an argument of XtDestroyWidget. + * glyphs-msw.c (init_image_instance_geometry): New function. + (init_image_instance_from_dibitmap): Use it. + (mswindows_resource_instantiate): Use it. + (init_image_instance_from_xbm_inline): Use it. + (mswindows_initialize_image_instance_mask): Use real bitmap + 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. -1998-10-05 Andy Piper +2000-04-11 Jan Vroonhof - * s/cygwin32.h: more cygwin b20 reorganisation. + * process-unix.c (unix_send_process): Guard against process MIA + after Faccept_process_output. -1998-10-03 Gunnar Evermann +2000-04-11 Ben Wing - * window.c (Fset_window_start): Document me. - (Fset_window_buffer): Document me. - Fixes some sort of repeatable crash. + * eval.c (unbind_to_hairy): fix brokenness introduced by + nanosecond speed improvements. -1998-10-01 Raymond Toy +2000-04-07 Raymond Toy - * nas.c: Added necessary support functions to be able to handle - WAVE files in memory, just like the support for SND files in - memory. + * sunplay.c (init_device): To play sounds correctly, the device + apparently needs to be initialized at least once by XEmacs. Make + it so. -1998-09-30 SL Baur +2000-04-10 IKEYAMA Tomonori - * callproc.c (child_setup): Fix spelling typo. + * redisplay.c (add_margin_runes): Add text image glyph + handling. -1998-09-29 SL Baur +2000-04-06 Yoshiki Hayashi - * XEmacs 21.2-beta2 is released. + * lisp.h (DOESNT_RETURN): Don't declare as volatile when + gcc is newer than 2.5. -1998-09-27 P. E. Jareth Hein +2000-04-06 Colin Rafferty - * regex.c (re_match_2_internal): Add in code to reset lowest_active_reg - to prevent memory corruption in the case of jumping out of a series of - nested match patterns. This is a rather brute force approach, though. + * lisp.h (FLEXIBLE_ARRAY_STRUCT_SIZEOF): Created. + + * fns.c (size_bit_vector): + * alloc.c (size_vector): + (make_vector_internal): + (make_bit_vector_internal): + (sweep_bit_vectors_1): + Replace calls to offsetof with FLEXIBLE_ARRAY_STRUCT_SIZEOF macro. + +2000-04-06 Andy Piper + + * gmalloc.c (malloc): undo previous change. + (malloc): ditto. + (free): ditto. + (realloc): ditto. + +2000-04-06 IKEYAMA Tomonori -1998-09-02 Andy Piper + * line-number.c (buffer_line_number): Revert to former version. - * config.h.in: ditto. +2000-04-06 Andy Piper - * s/cygwin32.h: rearrange declarations to cope with cygwin - b20. Include cygwin32/version.h if it exists. + * gmalloc.c (malloc): add error checking. + (malloc): ditto. + (free): ditto. + (realloc): ditto. -1998-09-20 Jonathan Harris + * dialog-x.c (dbox_descriptor_to_widget_value): add extra + button_item_to_widget_value arg. - * device-msw.c (mswindows_init_device): Call new - mswindows_enumerate_fonts() function in objects-msw.c instead - of font_enum_callback_1() to enumerate fonts. + * glyphs-x.c (x_button_instantiate): add extra + button_item_to_widget_value arg. + (x_progress_gauge_instantiate): ditto. + (x_edit_field_instantiate): ditto. + (x_label_instantiate): ditto. - font_enum_callback_1() and _2() moved to objects-msw.c. + * gui-x.c (gui_items_to_widget_values_1): add extra + button_item_to_widget_value arg. + (button_item_to_widget_value): add extra menu_item_p arg. - * faces.c (complex_vars_of_faces): Make the mswindows default - face font fully specified and provide some fallbacks. + * gui-x.h: change signature of button_item_to_widget_value. - * objects-msw.c: font_enum_callback_1() and _2() moved here - from objects-msw.c. Obtain the enumerated font's character - sets by table lookup instead of using the locale-specific - string provided by Windows. + * menubar-x.c (menu_item_descriptor_to_widget_value_1): add extra + button_item_to_widget_value arg. - New public non-method mswindows_enumerate_fonts() that fills - in the supplied mswindows device's font list. +2000-04-03 Yoshiki Hayashi - mswindows_initialize_font_instance: Use the supplied name - variable instead of f->name when signalling errors. Match font - weights and character sets using lookup tables which handle - spaces instead of by frobbing. + * buffer.h (struct buffer): auto_save_modified should be long. -1998-09-20 Jonathan Harris +2000-04-05 Andy Piper - * process-nt.c: Define an arbitrary limit, FRAGMENT_CODE_SIZE, - on the size of code fragments passed to run_in_other_process. + * glyphs-widget.c (widget_instantiate): pixwidth != pixheight + type. + (button_query_geometry): give a little more room so that athena + buttons fit. - run_in_other_process(): Use FRAGMENT_CODE_SIZE to determine - the amount of memory to allocate in the other process. +2000-04-05 Andy Piper - Removed sigkill_code_end(), sigint_code_end() and - sig_enable_code_end() since they are now redundant. + * faces.c (complex_vars_of_faces): The widget face should inherit + the font of the gui-element face. - send_signal() and enable_child_signals(): Don't try to work - out the end of the code fragments passed to - run_in_other_process() +2000-04-04 Andy Piper -1998-09-10 Kazuyuki IENAGA + * glyphs-x.c (x_button_update): new function. unconditionally + update a button's state when the instance is dirty. + (image_instantiator_format_create_glyphs_x): add x_button_update. + (x_widget_instantiate): remove old resize cruft. - * src/s/freebsd.h: Added __ELF__ and compiler/liker flags for - FreeBSD-current. +2000-04-02 Andy Piper - * src/unexelf.c: Partially synched with FSF's 20.3. + * frame.c (change_frame_size_1): The introduction of gutters means + that we need to allow 0 as a potential frame dimension. -1998-09-10 Hrvoje Niksic +2000-04-02 IKEYAMA Tomonori - * insdel.c (signal_after_change): Map across indirect buffers - here, and not in the upper-level functions. - (signal_first_change): Don't check for Armageddon. - (signal_before_change): Map across indirect buffers here. - (prepare_to_modify_buffer): ...and here. + * redisplay.c (add_glyph_rune): Don't set 0 to bufpos for text + image glyph if allow_cursor. + (add_hscroll_rune): Don't allow cursor to border glyph. + (create_text_block): Ditto. -1998-09-09 Hrvoje Niksic + * redisplay-output.c (redisplay_move_cursor): Do nothing even if + text not in buffer. + (redisplay_output_layout): Call ensure_face_cachel_complete for + text image glyph. - * insdel.c (signal_after_change): Add return value. - (buffer_insert_string_1): Use it. - (buffer_delete_range): Ditto. - (buffer_replace_char): Ditto. - (cancel_multiple_change): Map the indirect buffers. -1998-09-06 Hrvoje Niksic +2000-03-16 IKEYAMA Tomonori - * insdel.c (init_buffer_text): Remove INDIRECT_P parameter. - (uninit_buffer_text): Ditto. + * redisplay.c (add_glyph_rune): Adding text image as text runes. - * buffer.c (Fmake_indirect_buffer): Implement stricter - error-checking. + * redisplay-output.c (redisplay_move_cursor): NO_CURSOR if text + not in buffer -1998-09-04 Hrvoje Niksic + * redisplay-tty.c (tty_output_display_block): Delete the routine + for text image glyph + * redisplay-x.c (x_output_display_block): ditto + * redisplay-msw.c (mswindows_output_display_block): ditto - * insdel.c (change_function_restore): Reverse order of - function-call and assignment. - (first_change_hook_restore): Ditto. +2000-02-02 Mike Alexander - * extents.c (mark_extent_auxiliary): Mark them. - (Fset_extent_property): Set them. - (Fextent_property): Get them. - (Fextent_properties): Ditto. - (vars_of_extents): Set their default. + Note: Some of these were committed by accident as part of other + patches. + + * regex.c (regex_compile): Avoid compiler warnings. - * extents.h (struct extent_auxiliary): Add before_change_functions - and after_change_functions. + * ntproc.c (sys_spawnve): Avoid compiler warnings. - * insdel.c (signal_before_change): Use it. - (signal_after_change): Ditto. + * nt.h: Declare term_ntproc correctly. - * extents.c (report_extent_modification): New function. + * nt.c: Remove incorrect declaration of get_home_directory which + is declared correctly in lisp.h. - * insdel.c (signal_before_change): Don't check for Armageddon. - (signal_after_change): Ditto. + * keymap.c (get_keyelt): Avoid compiler warnings. + (raw_lookup_key_mapper): Avoid compiler warnings. -1998-09-11 Gunnar Evermann + * gutter.c (gutter_was_visible): Add return statement to avoid warning. - * redisplay.c (redisplay_window): make sure a new starting point - is chosen if it somehow got moved from the beginning of the line - -- this can happen because Fwiden was called recently. + * glyphs-eimage.c (png_instantiate): Avoid compiler warnings. - * window.c (Fset_window_start): set start_at_line_beg correctly - (Fset_window_buffer): Ditto + * filemode.c (mode_string): Avoid compiler warnings. -1998-09-06 Hrvoje Niksic + * file-coding.c (Fcoding_system_aliasee): Add return statement to + avoid warning. - * insdel.c (init_buffer_text): Remove INDIRECT_P parameter. - (uninit_buffer_text): Ditto. + * events-mod.h: Undef some things that winuser.h defines differently. - * buffer.c (Fmake_indirect_buffer): Implement stricter - error-checking. + * data.c (Faset): Avoid compiler warnings. -1998-05-14 Jan Vroonhof + * alloc.c (Fmake_byte_code): Avoid compiler warnings. - * emacs.c (main_1): Removed references to *vars_of_filelock. +2000-03-03 Jan Vroonhof - * lisp.h: Added Fsystem_name. + * sound.c (Fplay_sound_file): Wrap ESD in start/stop_interrupts. + Fall through to simple beep on error. + Replace "extern" by real header file. - * filelock.c: Replaced by version from FSF 20.2. Now implements - locking by using symlinks which is NFS safe. However keep the - GCPRO's in lock_file and the calls to callx_in_buffer like our old - version (and of course use ansi C, acessor macros, etc). + * linuxplay.c: Use nativesound.h + (play_sound_data): Return error code. Be less verbose on error. -1998-09-06 Jan Vroonhof + * sunplay.c: Use nativesound.h + (play_sound_data): Return error code. Be less verbose on error. - * process-unix.c (unix_create_process): Reset SIGHUP handler to - SIG_DFL. We now try to conserve any inherted SIG_IGN settings - in init_signals_very_early. However these should not be passed - on to children attached to the new pty. + * ntplay.c: Use nativesound.h + (play_sound_data): Return fake error code -1998-08-28 Andy Piper + * sgiplay.c: Use nativesound.h + (play_sound_data): Return error code - * glyphs-eimage.c (png_instantiate_unwind): clean up eimage after use. + * hpplay.c: Use nativesound.h, partially implement + new error code. Break compilation until finished. + (play_sound_data): error code. -1998-09-07 Jonathan Harris + * nativesound.h (play_sound_file): + (play_sound_data): Prototype in new header. - * fileio.c (file-name-directory, file_name_as_directory): - Don't call CORRECT_DIR_SEPS, even when #defined WINDOWSNT. +2000-03-31 Andy Piper -1998-09-02 Andy Piper + * glyphs-widget.c: (button_query_geometry): new function. Adjust + for toggle and radio buttons. + (image_instantiator_buttons): use it. - * emacs.c (main_1): init_ralloc() if initialised and we have REL_ALLOC +2000-03-03 Jan Vroonhof - * ralloc.c: uncomment __morecore. + * 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. -1998-09-92 Jonathan Harris +2000-03-31 Andy Piper - * event-msw.c(winsock_writer): Supply a dummy 4th argument to - WriteFile() to fix a winsock 1.x bug on Win95. + * glyphs-widget.c (widget_instantiate): use LAYOUT_VERTICAL rather + than 1. + (initialize_widget_image_instance): default layout to + LAYOUT_HORIZONTAL rather than 0. + (widget_instantiate): reverse the item list at the end rather than + every iteration. + (layout_layout): re-code for the border text at the front of the + item list rather than at the end. + (layout_query_geometry): ditto. Pick up fixed and dynamic sizes + provided by the user. + (widget_query_geometry): comment. -1998-08-28 Hrvoje Niksic +2000-03-30 Andy Piper - * event-Xt.c (emacs_Xt_mapping_action): Check for device being - deleted. - (x_event_to_emacs_event): Ditto. - (emacs_Xt_handle_focus_event): Ditto. - (emacs_Xt_handle_magic_event): Ditto. + * glyphs-widget.c (image_instantiator_layout): allow standard + widget keywords in layouts. - * console-x.h (struct x_device): New flag being_deleted. - (DEVICE_X_BEING_DELETED): New macro. + * gutter.c (output_gutter): cope with nil gutter contents. - * device-x.c (x_IO_error_handler): Throw to top-level instead of - returning. Before doing that, set the being_deleted flag on the - device. + * frame.c (Fset_frame_properties): add gutter docs. -1998-08-27 Hrvoje Niksic +2000-03-29 Andy Piper - * device-x.c (x-seppuku-on-epipe): Removed. + * toolbar-msw.c (TBSTYLE_FLAT): add. + (mswindows_output_toolbar): minor fiddling. -1998-08-26 Gunnar Evermann +2000-03-29 Andy Piper - * frame-x.c (x_delete_frame): Flush the X output buffer after - calling XtDestroyWidget to ensure that the windows are really - killed right now. + * gutter.c (output_gutter): force gutter size recalculation if + what we are trying to display won't fit. + (update_gutter_geometry): new function. A per-gutter version of + update_frame_gutter_geometry. + (update_frame_gutter_geometry): use it. + (redraw_exposed_gutter): add extra debugging output. -1998-08-26 Hrvoje Niksic +2000-03-28 Mike Alexander - * menubar-x.c (my_run_hook): New unused function. - (pre_activate_callback): Use run_hook for Qactivate_menubar_hook, - since we ignore the results of the contained functions anyway. + * dumper.c: Declare pdump_hFile and pdump_hMap (Windows only) + (pdump_file_unmap): Implement it on Windows + (pdump_file_get): Save alocated handles for pdump_file_unmap -1998-08-26 P. E. Jareth Hein +2000-03-28 Andy Piper - * glyphs-eimage.c (gif_instantiate): Fix a crash in handling - interlaced GIF files that are smaller than 4 lines high... + * gui.c (get_gui_callback): treat Quit specially. -1998-08-31 Hrvoje Niksic +2000-03-27 Andy Piper - * buffer.c (map_over_sharing_buffers): Deleted. + * glyphs.c (image_instantiate): be careful to check in the same + way we assigned. - * insdel.c (MAP_INDIRECT_BUFFERS): Move to buffer.h. +2000-03-27 Didier Verna - * buffer.c (Fkill_buffer): Keep indirect_children updated while - killing them. + * config.h.in: define the proper SMART_INCLUDE macro. + handle renaming of `foo_h_path' to `foo_h_file'. -1998-08-31 Hrvoje Niksic + * database.c: ditto. - * insdel.c (buffer_insert_string_1): Advance the point bytind in - all the buffers. - (buffer_delete_range): Ditto. + * emacs.c: ditto. - * marker.c (init_buffer_markers): Set point-marker to the value of - point in an indirect buffer. + * linuxplay.c: ditto. -1998-08-30 Hrvoje Niksic + * terminfo.c: ditto. - * undo.c (undo_prelude): Test last-undo-buffer against base - buffer. + * tooltalk.h: ditto. - * insdel.c (MAP_INDIRECT_BUFFERS): Use it. +2000-03-27 Andy Piper - * buffer.h (BUFFER_BASE_BUFFER): New macro. + * glyphs-msw.c (mswindows_update_widget): make sure the widget + gets updated whenever the face might have changed. -1998-08-30 Hrvoje Niksic +2000-03-26 Mike Alexander - * insdel.c (init_buffer_text): Initialize it here. + * dumper.c (pdump_resource_free): Fix the comment. - * line-number.c: Address line_number_cache through buffer->text. +2000-03-21 Olivier Galibert - * buffer.c (mark_buffer): Mark line number cache. + * input-method-xlib.c (XIM_init_frame): Remove painful warning. - * bufslots.h (line_number_cache): Move to struct buffer_text. +2000-03-22 Mike Alexander - * insdel.c (buffer_insert_string_1): Propagate signals and changes - across the children buffers. - (buffer_delete_range): Ditto. - (buffer_replace_char): Ditto. - (gap_left): Ditto. - (gap_right): Ditto. + * dumper.c: Include Windows headers on Windows + (pdump_resource_free): Add a body to the function + (pdump_load): exe_name -> exe_path and add some comments. - * insdel.c (MAP_INDIRECT_BUFFERS): New macro. +2000-03-25 Mike Alexander - * buffer.c (Fmake_indirect_buffer): Uncomment. + * gui.c (copy_gui_item_tree): Return a value in all cases -1998-08-31 Hrvoje Niksic +2000-03-21 Didier Verna - * macros.c (Fend_kbd_macro): Remove trailing period from error - message. - (Fexecute_kbd_macro): Ditto. + * config.h.in: move INCLUDE_GLUE_1 and INCLUDE_GLUE_2 here from + lwlib/config.h.in. + (SMART_INCLUDE): new macro. + (POSTGRES_INCLUDE): new macro to include postgresql headers from + the proper location. -1998-08-21 Greg Klanderman + * postgresql.c: use it. - * dired.c (Fuser_name_completion): remove optional 2nd argument. - (Fuser_name_completion_1): new function to return uniqueness - indication in addition to the user name completion. - (user_name_completion): change type of `uniq' argument. + * inline.c: ditto. -1998-08-19 Michael Sperber [Mr. Preprocessor] +2000-03-24 Andy Piper - * lread.c (vars_of_lread): Removed `source-directory' variable. + * gutter.c (redraw_exposed_gutters): must be "in display" when we + do this. -1998-08-22 Hrvoje Niksic +2000-03-24 Andy Piper - * fileio.c (Ffile_readable_p): Apply the DOS/Windows logic to - Cygwin. + * redisplay-output.c (compare_runes): use image_instance_changed + to detect changes. Do not depend on glyphs_changed, only depend on + dirtiness. + (redisplay_output_layout): add debug messages. + (compare_runes): ditto. -1998-08-19 SL Baur + * glyphs.h: declare new functions. + (struct Lisp_Image_Instance): remove percent and associated + accessors. - * dired.c (vars_of_dired): Fix misapplied patch. + * gui.h: declare new copying functions. -1998-08-16 Martin Buchholz + * gui.c (copy_gui_item_tree): new function. + (copy_gui_item): new function. + (gui_item_id_hash): revert to standard hash. + (gui_item_hash): ditto. + (gui_item_hash_internal): deleted. + (mark_gui_item): mark value. + (gui_item_add_keyval_pair): add value. + (gui_item_init): ditto. + (gui_add_item_keywords_to_plist): ditto. + (gui_item_equal): ditto. + (syms_of_gui): add Q_value. - * fns.c (Fremrassq, remrassq_no_quit): - A XCAR that should have been an XCDR turned Fremrassq into Fremassq + * glyphs-x.c (x_progress_gauge_update): use pending items and + value for setting the state. + (x_update_widget): don't set items from pending here. -1998-07-17 Didier Verna + * glyphs-widget.c (update_widget): update items here. + (progress_gauge_set_property): use items for storing value. Put + new value in pending items. - * redisplay-x.c (x_get_gc): returns a GC with a FillStipple fill - style as foreground GC for faces that have the `dim' property. - (x_output_string): when the `dim' face property is set, - ensure the gray pixmap has been created, and get a proper - foreground GC to draw the text. + * glyphs-msw.c (mswindows_progress_gauge_update): use pending + items for new value. Convert percent -> value. + (mswindows_tab_control_update): don't update items here. -1998-08-09 Jonathan Harris + * glyphs.c (Fupdate_widget_instances): use image_instance_changed. + (update_subwindow): ditto. + (image_instance_changed): new function. Compare hash values and + past and present widget items. + (image_instantiate): We more careful about where we instantiate + things. + (image_instantiate): add error checking. - * event-msw.c (mswindows_wnd_proc): Workaround for a Win95 bug: - Manually track the state of the left and right Ctrl and Alt - modifiers. + * gutter.c (syms_of_gutter): use -hook. -1998-08-07 Matt Stupple +2000-03-20 Yoshiki Hayashi - * ntproc.c: don't wait on char_consumed at thread entry. - Additionally, to get the 'process' marked as finished, ensure - that the CHILD_ACTIVE macro returns false, so before exiting - close char_avail and set it to NULL, and close other handles - to reduce handle leak problems. + * console-tty.c (Fset_console_tty_input_coding_system): Use + Qkeyboard. + (Fset_console_tty_output_coding_system): Use Qterminal. + (tty_init_console): Use Qkeyboard and Qterminal. -1998-08-09 Jonathan Harris +2000-03-21 Ben Wing - * menubar-msw.c (displayable_menu_item): take account of menu - depth when deciding whether to try to display accelerators. + * ntproc.c (create_child): remove bogus HAVE_NTGUI's. + From Mike Alexander . -1998-08-04 Andy Piper +2000-03-21 Ben Wing - * event-msw.c: use MsgWaitForMultipleObjects if there are no - subprocesses. + * event-msw.c (mswindows_need_event): Horrible kludge to fix + process brokenness. Proper implementation to come. + * callproc.c: + Rename call-process-internal to old-call-process-internal. + New impl. in process.el. - * glyphs-msw.c: fix a couple of potential handle leaks. +2000-03-21 Martin Buchholz -1998-08-04 P. E. Jareth Hein + * Makefile.in.in: Coalesce HAVE_NATIVE_SOUND code fragments. - * dgif_lib.c gif_io.c gifrlib.h: New files to put GIF - *decoding ONLY* back into the core. - * glyphs-eimage.c: Change referenced header file for GIF - reading to point to the incore version. +2000-03-20 Andy Piper -1998-07-20 Martin Buchholz + * glyphs.c (full_list_hash): make hashes of the same elements in + different orders return different values. - * casefiddle.c (casify_object): - Change algorithm from O(N**2) to O(N). - Code cleanup. - Doc string cleanup. +2000-03-20 Martin Buchholz -1998-07-22 Greg Klanderman + * XEmacs 21.2.32 is released. - * dired.c (file_name_completion_unwind): don't leak the cons. +2000-03-20 Martin Buchholz -1998-07-20 Greg Klanderman + * buffer.h (DFC_ALLOCA_USE_CONVERTED_DATA): + (DFC_MALLOC_USE_CONVERTED_DATA): + Add aliasing-safe casts to allow use with char* or unsigned char* + lvalues. - * dired.c (Fuser_name_completion): new function. - (Fuser_name_all_completions): new function. - (user_name_completion): new function. - (syms_of_dired): 2 new DEFSUBRs. - (vars_of_dired): initialize user name cache vars. + * eldap.c (Fldap_open): + (Fldap_search_basic): + (Fldap_add): + (Fldap_modify): + Make C++-compilable. + Make sure GCPRO'ed variables are initialized. + Use temp variables to avoid repeated calls to Flength. -1998-07-29 P. E. Jareth Hein +2000-03-16 Martin Buchholz - * glyphs-eimage.c (png_instantiate): Add proper handling for background - colors taken from the default face. Also correct a thinko in - transparency (not alpha) handling. + * sysfile.h: + Make sure PATH_MAX is always defined. + Include limits.h for PATH_MAX. + Deprecate use of MAXPATHLEN. -1998-07-23 Martin Buchholz +2000-03-10 Martin Buchholz - * s/decosf4-0.h: Use a perfectly ordinary link. Nuke BSD crap. - * unexalpha.c: ANSI C-ize. Clean compiler warnings. - * lread.c (Fload_internal): Be very careful with printfs of - size_t's - * gui-x.c (menu_name_to_accelerator): tolower wants an `int' - argument. + * emacs.c: Add reinit_vars_of_fileio. + * symsinit.h: Add reinit_vars_of_fileio. + * fileio.c (reinit_vars_of_fileio): New. + * fileio.c (Fmake_temp_name): + Initialize temp_name random number from microseconds to make + collisions even less likely. Initialize always at process startup + time. (make-temp-name) used to return the same file name twice in + a row when PDUMP. + Random stylistic fiddling. + Comment fixes. -1998-07-27 Gunnar Evermann +2000-03-20 Andy Piper - * callint.c (Fcall_interactively): GCPRO prompt string before - passing it to Fread_key_sequence + * glyphs.c (image_instantiate): allow text glyphs to be + instantiated in the minibuffer window. -1998-07-27 SL Baur +2000-03-19 Andy Piper - * keymap.c (vars_of_keymap): Initialize Vkey_translation_map and - Vvertical_divider_map. + * glyphs.c (image_instance_hash): be careful about which items we + hash on. - * mule-canna.c (vars_of_mule_canna): Initialize every symbol to - Qnil or 0, none were initialized prior to this change. + * glyphs-widget.c (tab_control_set_property): record into pending + items rather than the actual items. - Rename misnamed `V' prefixed integer variables: - Vcanna_empty_info, Vcanna_through_info, Vcanna_underline, - Vcanna_inhibit_hankakukana, Vcanna_henkan_length, Vcanna_henkan_revPos, - Vcanna_henkan_revLen, Vcanna_ichiran_length, Vcanna_ichiran_revPos, - Vcanna_ichiran_revLen. - - Rename misnamed `V' prefixed integer variables and initialize - properly in the vars_of routine. - Vcanna_mode_AlphaMode, Vcanna_mode_EmptyMode, Vcanna_mode_KigoMode, - Vcanna_mode_YomiMode, Vcanna_mode_JishuMode, Vcanna_mode_TankouhoMode, - Vcanna_mode_IchiranMode, Vcanna_mode_YesNoMode, Vcanna_mode_OnOffMode, - Vcanna_mode_AdjustBunsetsuMode, Vcanna_mode_ChikujiYomiMode, - Vcanna_mode_ChikujiTanMode, Vcanna_mode_HenkanMode, - Vcanna_mode_HenkanNyuryokuMode, Vcanna_mode_ZenHiraHenkanMode, - Vcanna_mode_HanHiraHenkanMode, Vcanna_mode_ZenKataHenkanMode, - Vcanna_mode_HanKataHenkanMode, Vcanna_mode_HanKataHenkanMode, - Vcanna_mode_ZenAlphaHenkanMode, Vcanna_mode_HanAlphaHenkanMode, - Vcanna_mode_ZenHiraKakuteiMode, Vcanna_mode_HanHiraKakuteiMode, - Vcanna_mode_ZenKataKakuteiMode, Vcanna_mode_HanKataKakuteiMode, - Vcanna_mode_ZenAlphaKakuteiMode, Vcanna_mode_HanAlphaKakuteiMode, - Vcanna_mode_HexMode, Vcanna_mode_BushuMode, Vcanna_mode_ExtendMode, - Vcanna_mode_RussianMode, Vcanna_mode_GreekMode, Vcanna_mode_LineMode, - Vcanna_mode_ChangingServerMode, Vcanna_mode_HenkanMethodMode, - Vcanna_mode_DeleteDicMode, Vcanna_mode_TourokuMode, - Vcanna_mode_TourokuEmptyMode, Vcanna_mode_TourokuHinshiMode, - Vcanna_mode_TourokuDicMode, Vcanna_mode_QuotedInsertMode, - Vcanna_mode_BubunMuhenkanMode, Vcanna_mode_MountDicMode, - Vcanna_fn_SelfInsert, Vcanna_fn_FunctionalInsert, - Vcanna_fn_QuotedInsert, Vcanna_fn_JapaneseMode, Vcanna_fn_AlphaMode, - Vcanna_fn_HenkanNyuryokuMode, Vcanna_fn_Forward, Vcanna_fn_Backward, - Vcanna_fn_Next, Vcanna_fn_Prev, Vcanna_fn_BeginningOfLine, - Vcanna_fn_EndOfLine, Vcanna_fn_DeleteNext, Vcanna_fn_DeletePrevious, - Vcanna_fn_KillToEndOfLine, Vcanna_fn_Henkan, Vcanna_fn_Kakutei, - Vcanna_fn_Extend, Vcanna_fn_Shrink, Vcanna_fn_AdjustBunsetsu, - Vcanna_fn_Quit, Vcanna_fn_ConvertAsHex, Vcanna_fn_ConvertAsBushu, - Vcanna_fn_KouhoIchiran, Vcanna_fn_BubunMuhenkan, Vcanna_fn_Zenkaku, - Vcanna_fn_Hankaku, Vcanna_fn_ExtendMode, Vcanna_fn_ToUpper, - Vcanna_fn_Capitalize, Vcanna_fn_ToLower, Vcanna_fn_Hiragana, - Vcanna_fn_Katakana, Vcanna_fn_Romaji, Vcanna_fn_BaseHiragana, - Vcanna_fn_BaseKatakana, Vcanna_fn_BaseEisu, Vcanna_fn_BaseZenkaku, - Vcanna_fn_BaseHankaku, Vcanna_fn_BaseKana, Vcanna_fn_BaseKakutei, - Vcanna_fn_BaseHenkan, Vcanna_fn_BaseHiraKataToggle, - Vcanna_fn_BaseZenHanToggle, Vcanna_fn_BaseKanaEisuToggle, - Vcanna_fn_BaseKakuteiHenkanToggle, Vcanna_fn_BaseRotateForward, - Vcanna_fn_BaseRotateBackward, Vcanna_fn_Touroku, Vcanna_fn_HexMode, - Vcanna_fn_BushuMode, Vcanna_fn_KigouMode, Vcanna_fn_Mark, - Vcanna_fn_TemporalMode, Vcanna_key_Nfer, Vcanna_key_Xfer, - Vcanna_key_Up, Vcanna_key_Left, Vcanna_key_Right, Vcanna_key_Down, - Vcanna_key_Insert, Vcanna_key_Rollup, Vcanna_key_Rolldown, - Vcanna_key_Home, Vcanna_key_Help, Vcanna_key_KP_Key, - Vcanna_key_Shift_Nfer, Vcanna_key_Shift_Xfer, Vcanna_key_Shift_Up, - Vcanna_key_Shift_Left, Vcanna_key_Shift_Right, Vcanna_key_Shift_Down, - Vcanna_key_Cntrl_Nfer, Vcanna_key_Cntrl_Xfer, Vcanna_key_Cntrl_Up, - Vcanna_key_Cntrl_Left, Vcanna_key_Cntrl_Right, Vcanna_key_Cntrl_Down - -1998-07-16 Jan Vroonhof - - * event-Xt.c (x_to_emacs_keysym): Return nil for modifier keysyms. - (x_event_to_emacs_event): Let x_to_emacs_keysym check for modifier - keys thus no longer considering all keysyms on a key. - -1998-07-19 SL Baur - - * XEmacs 21.2-beta1 is released. - -1998-07-12 Oscar Figueiredo - - * eldap.c (Fldap_search_internal): When converting the list of - attributes to search Copy the final 0 from Lisp strings to C - strings. - Check base, not Vldap_default_base as a a string - -1998-07-13 Jonathan Harris - - * nt.c: Remove Vstdio_str; already defined in console-stream.c. - - * unexnt.c: Unconditionally define bss_start and bss_size, and - ensure that they don't go in the .bss section. - -1998-07-17 Olivier Galibert - - * glyphs-x.c (convert_EImage_to_XImage): Fix previous patch (conv - byte order is dependant of the local byte order). - From Takeshi Hagiwara - -1998-07-18 SL Baur - - * glyphs-msw.c (mswindows_resource_normalize): Qresource -> - Qmswindows_resource. - From Jonathan Harris - -1998-07-12 SL Baur - - * general.c (syms_of_general): Add defsymbol for Qresource. - - * glyphs-msw.c (vars_of_glyphs_mswindows): Rename Qresource to - Qmswindows_resource. - (TopLevel): Rename 'resource image format to 'mswindows_resource. - (mswindows_resource_validate): Rename. - (mswindows_resource_normalize): Rename. - (mswindows_resource_possible_dest_types): Rename. - (mswindows_resource_instantiate): Rename. - (image_instantiator_format_create_glyphs_mswindows): Replace - `resource' with `mswindows.resource'. - - * XEmacs 21.0-pre5 is released. - -1998-07-10 SL Baur - - * mule-wnnfns.c (Fwnn_open): Correctly trap on misdefined Wnn - server type in environment. - Use alloca-ed strings instead of tiny fixed size ones. - -1998-07-09 SL Baur - - * XEmacs 21.0-pre4 is released. - -1998-07-01 James N. Potts - - * fileio.c: (expand_file_name): under win32: Don't treat names - as UNC names if a drive letter has been specified. If a drive - has been specified, strip out extra directory-seperators that - reportedly cause problems under Win95. + * glyphs-x.c (x_update_widget): use pending items to update with. -1998-07-09 Jonathan Harris + * glyphs-msw.c (mswindows_tab_control_update): use pending items + to update with. - * windowsnt.h: Define DUMP_SEPARATE_SECTION when building with - MSVC >= 5.0. Put emacs init and zero-init data in a special - section of the executable when this is defined. + * glyphs.c (mark_image_instance): mark pending items. - * unexnt.c, ntheap.h: - Removed unused find_section() and get_section_size(). + * window.c (Fset_window_configuration): record the buffer. + (Fselect_window): totally revert previous change which breaks many + things. - * unexnt.c: - Fix up the executable's checksum after dumping otherwise the - profiler complains. - When DUMP_SEPARATE_SECTION is defined, don't need to dump - zero-init data separately from init data. Dump emacs data - into a special section of the executable. - When DUMP_SEPARATE_SECTION not defined, dump .bss up to - my_ebss instead of up to the end of bss. +2000-03-18 Andy Piper + + * glyphs-msw.c (mswindows_tab_control_update): force selected + item. + + * glyphs.c (image_instantiate): don't allow the minibuffer as a + window domain cache, otherwise we get inconsistencies at + startup. There is something fishy at startup which can lead to the + minibuffer being the selected window when the gutter content is + instantiated. + + * gui.c (parse_gui_item_tree_list): add probably unneccessary + gcpros. + (parse_gui_item_tree_children): ditto. + (parse_gui_item_tree_item): ditto. + + * glyphs.c (Fupdate_widget_instances): return something. + +2000-03-18 Yoshiki Hayashi + + * window.c (Fselect_window): Undo 2000-03-17 change. + +2000-03-17 SL Baur + + * postgresql.c (Fpq_setenv): Remove this turkey when linking + against v7.0 libraries. Insta-coredump city until the postgres + folks fix it. -1998-07-09 Jonathan Harris +2000-03-17 Andy Piper - * filelock.c: Removed Vconfigure_lock_directory - already - defined in emacs.c. + * faces.c (complex_vars_of_faces): don't give the widget face an + inherited background pixmap. - * frame-msw.c: Removed Qinitially_unmapped and Qpopup - already - defined in frame.c and general.c respectively. + * glyphs-msw.c (mswindows_tab_control_instantiate): select the + selected item. - * glyphs-msw.c: Removed Qresource - already defined in - general.c. + * event-stream.c (Fdispatch_non_command_events): return something. -1998-07-05 Oscar Figueiredo + * gutter.c (output_gutter): use widget face. + (clear_gutter): ditto. - * eldap.c (Fldap_search_internal): Docstring fixes + * NEWS: adjust again. -1998-07-04 Jonathan Harris + * window.c (Fselect_window): make sure this runs to completion to + avoid oddities with Fset_window_configuration. + (Fcurrent_window_configuration): in general do not save the + minibuffer as the selected window. - * nt.c (init_environment): Removed unused PRELOAD_WINSOCK, - EMACSDOC and TERM variables. Added EMACSDEBUGPATHS, - EMACSPACKAGEPATH and INFOPATH variables. - Removed unused get_emacs_configuration function. + * glyphs.h (IMAGE_INSTANCE_HASH_DEPTH): increase. - * s/windowsnt.h: Don't define EMACS_CONFIGURATION here because - it is now defined at build-time by the makefile. +2000-03-16 Olivier Galibert -1998-07-01 James N. Potts + * emacs.c (Frunning_temacs_p): Revert previous patch. + (main_1): Reinitialize running_temacs_argc if pdump_load succeeds. - * fileio.c: (expand_file_name): under win32: Don't treat names as - UNC names if a drive letter has been specified. If a drive has - been specified, strip out extra directory-seperators that - reportedly cause problems under Win95. +2000-03-16 Andy Piper -1998-07-05 Andy Piper + * glyphs-x.c (x_tab_control_update): if no widget values then + return. + + * NEWS: update for new features. + + * event-Xt.c (emacs_Xt_force_event_pending): new function. Post a + synthetic event to the native system. + (reinit_vars_of_event_Xt): set force_event_pending to + emacs_Xt_force_event_pending. + + * events.h (struct event_stream): add force_event_pending. + + * specifier.c (recompute_one_cached_specifier_in_window): add + comment. + + * redisplay.c (redisplay_frame): don't call + update_frame_subwindows. Reset subwindow cachels when + subwindows_changed, removing this was an optimization too far. + + * redisplay-output.c (compare_runes): reorganize so that we catch + glyph changes when we want them. Set optimize_output when this + would help layouts. + (redisplay_output_layout): remove frame_really_changed, use + optimize_output instead. + + * redisplay-msw.c (mswindows_output_display_block): reset + optimize_output after outputting a glyph. + * redisplay-x.c (x_output_display_block): ditto. + * redisplay-tty.c (tty_output_display_block): ditto. + + * gutter.c: (specifier_vars_of_gutter): use new spec changed + functions. + (gutter_specs_changed): do specific gutter positions. + (top_gutter_specs_changed): new function. Only update the + specified gutter specs. + (bottom_gutter_specs_changed): ditto. + (left_gutter_specs_changed): ditto. + (right_gutter_specs_changed): ditto. + + * gui.c (gui_item_hash_internal): new function, does a real hash. + (gui_item_id_hash): use it. + (gui_item_hash): hash the eval'ed gui_item. + + * gui-x.c (popup_selection_callback): send an eval event to call + Fupdate_widget_instances. + + * gui-msw.c (mswindows_handle_gui_wm_command): send an eval event + to call Fupdate_widget_instances. + + * glyphs.h (struct Lisp_Image_Instance): add optimize_output flag. + (IMAGE_INSTANCE_OPTIMIZE_OUTPUT): access it. + + * glyphs.c: (update_frame_subwindows): deleted. + (Fupdate_widget_instances): new function for updating the dirty + state of widgets that might have changed. + (syms_of_glyphs): add Qupdate_widget_instances. + (full_list_hash): hash a list completely. + (image_instance_hash): use it for items and properties. + + * frame-msw.c (mswindows_size_frame_internal): remove unused + variable. + + * faces.h (struct face_cachel): fix comment. + + * event-stream.c (Fdispatch_non_command_events): new + function. Process non-command events, forcing an event cycle + beforehand. + (syms_of_event_stream): declare. + (event_stream_force_event_pending): new function. Force an event + on the native event queue so that an event cycle will occur next + time we check. + + * event-msw.c: + (struct ntpipe_shove_stream): + (mswindows_enqueue_dispatch_event): + (mswindows_dequeue_dispatch_event): + (mswindows_cancel_dispatch_event): + (mswindows_pump_outstanding_events): + (mswindows_drain_windows_queue): + (mswindows_handle_paint): + (mswindows_wnd_proc): + (mswindows_key_to_emacs_keysym): + (get_process_input_waitable): + (emacs_mswindows_delete_stream_pair): re-indent file. + (mswindows_need_event): do not process further fds if the windows + fd is set, otherwise you get endless XM_BUMPQUEUE cycles. This + fixes the 100% cpu problem. + (reinit_vars_of_event_mswindows): set force_event_pending to 0. + +2000-03-15 Olivier Galibert + + * alloc.h: New. + * dumper.h: New. + * dumper.c: New. + + * emacs.c: Moved dump file searching to dumper.c. + (Frunning_temacs_p): Fixed. + + * alloc.c: Moved everything pdump-related to dumper.c. Removed + last_lrecord_type_index_assigned. + +2000-02-20 Olivier Galibert + + * symsinit.h: Added reinit parameter to init_console_stream + declaration. + + * lisp.h: Added file parameter to pdump_load declaration. + + * emacs.c (main_1): Added -nd/--nodump-file and -sd/--show-dump-id + support. Added dump file searching. + + * config.h.in: Added EMACS_PROGNAME. + + * console-stream.c (init_console_stream): Fix reinitialisation + when running from temacs. + + * alloc.c (pdump): Add id support. + (pdump_load): Add file parameter and signature/id support. + + * Makefile.in.in: Add full pdump support. + +2000-03-15 SL Baur + + * postgresql.c: Update documentation to reflect latest code + status. + (print_result): Show tuple counts in printed representation when + appropriate. + (Fpq_put_nbytes): MULE-ize. + (Fpq_get_line_async): Ditto. + +2000-03-14 SL Baur + + * postgresql.c (Fpq_lo_import): Fix return value. + Suggested by: Kenji Itoh . + +2000-03-13 Ben Wing + + * alloc.c (pdump_load): + Fix compile warning under mswin. + +2000-03-14 SL Baur + + * postgresql.c: Mule-ization, bug fixes. + Use PG_CODING to encapsulate coding system name changes. + Backport a version of TO_EXTERNAL format for 21.1/InfoDock. + (pg-coding-system): Create. + + (Fpq_conn_defaults): Mule-ize. + (Fpq_connectdb): Mule-ize & bug fix. + (Fpq_connect_start): Mule-ize. + (Fpq_set_client_encoding): Mule-ize. + (Fpq_finish): Document `DEAD' connection status. + (Fpq_clear): Ditto. + (Fpq_pgconn): Mule-ize. + (Fpq_exec): Mule-ize & bug fix. + (Fpq_send_query): Ditto. + (Fpq_get_result): Ditto. + (Fpq_res_status): Mule-ize. + (Fpq_result_error_message): Mule-ize. + (Fpq_ntuples): fix comments. + (Fpq_fname): Mule-ize. + (Fpq_fnumber): Mule-ize. + (Fpq_ftype): fix comments. + (Fpq_get_value): Mule-ize. + (Fpq_cmd_status): Ditto. + (Fpq_cmd_tuples): Ditto. + (Fpq_oid_value): Ditto. + (Fpq_notifies): Ditto. + (Fpq_lo_import): Ditto. + (Fpq_lo_export): Ditto. + (Fpq_get_line): Ditto. + (Fpq_put_line): Mule-ize and bug fix. + (syms_of_postgresql): Fix ifdef'ing, add pg-coding-system. + +2000-03-10 SL Baur + + * postgresql.c (vars_of_postgresql): Mule-ize. + (Fpq_conn_defaults): Ditto. + +2000-03-12 Ben Wing + + * alloc.c (Fmake_byte_code): + * alloc.c (debug_string_purity_print): + * alloc.c (pdump_backtrace): + * alloc.c (pdump_get_indirect_count): + * alloc.c (pdump_register_sub): + * alloc.c (pdump_register_object): + * alloc.c (pdump_register_struct): + * alloc.c (pdump_dump_data): + * alloc.c (pdump_reloc_one): + Minor cleanups. + + * console-msw.c: + * console-msw.c (GetConsoleHwnd): + * console-msw.c (msw_hide_console): + * console-msw.c (msw_show_console): + * console-msw.c (msw_ensure_console_buffered): + * console-msw.c (msw_output_console_string): + * console-msw.c (console_type_create_mswindows): + + a) Added functions to manipulate the console window for use with + shell support. + + b) Added support for writing text to the console, which is now + used under Windows when xemacs is not being run non-interactively, + to write text that would otherwise be destined for stdout because + under these circumstances, text written to stdout tends to + disappear and not be seen. + + * console-msw.h: + * event-Xt.c: + * event-Xt.c (x_event_to_emacs_event): + * event-Xt.c (describe_event_window): + * events-mod.h (XEMACS_MOD_CONTROL): + * events.c: + * events.c (Fmake_event): + * events.c (character_to_event): + * events.c (event_to_character): + * events.c (format_event_object): + * events.c (Fevent_modifiers): + * events.h: + * events.h (struct key_data): + * events.h (struct button_data): + * events.h (struct misc_user_data): + * frame-x.c (Fcde_start_drag_internal): + * frame-x.c (Foffix_start_drag_internal): + * gpmevent.c (Freceive_gpm_event): + * keymap.c: + * keymap.c (bucky_sym_to_bucky_bit): + * keymap.c (control_meta_superify): + * keymap.c (make_key_description): + * keymap.c (keymap_lookup_directly): + * keymap.c (create_bucky_submap): + * keymap.c (keymap_store): + * keymap.c (define_key_check_and_coerce_keysym): + * keymap.c (define_key_parser): + * keymap.c (define_key_alternate_name): + * keymap.c (Fdefine_key): + * keymap.c (raw_lookup_key_mapper): + * keymap.c (struct map_keymap_unsorted_closure): + * keymap.c (map_keymap_unsorted_mapper): + * keymap.c (map_keymap_sort_predicate): + * keymap.c (map_keymap_sorted): + * keymap.c (accessible_keymaps_mapper_1): + * keymap.c (where_is_recursive_mapper): + * keymap.c (describe_map_mapper): + * keymap.c (describe_map_sort_predicate): + * keymap.c (describe_map): + * keymap.c (complex_vars_of_keymap): + And a number of other files, the key modifier preprocessor + constants that xemacs uses have names that conflict with constants + defined under MS Windows for other purposes, so they were renamed + to begin with the prefix XEMACS_. The variables that hold such + modifiers were changed to consistently be of type int to fix + various compile warnings. + + * console.c (complex_vars_of_console): + * device.c: + * device-msw.c: + * device-msw.c (mswindows_finish_init_device): + * device-msw.c (msw_get_workspace_coords): + * device-msw.c (mswindows_device_system_metrics): + and various other files, added support for a new + device property called offset-workspace which returns the position + of the upper left corner of the workspace area and goes along with + the existing size-workspace property. - * faces.c (complex_vars_of_faces): for the gui-element face don't - fallback to the default face, instead provide reasonable default - fallbacks that were previously hardcoded elsewhere. + * dialog-msw.c: + * dialog-msw.c (push_bufbyte_string_as_unicode): + * dialog-msw.c (mswindows_popup_dialog_box): + Added support for XEmacs-style accelerator specifications in + button text. Note: I didn't add support for this under X Windows, + and somebody needs to do this. -1998-07-06 Olivier Galibert + * dialog.c: + * dialog.c (Fpopup_dialog_box): + Documented the support for accelerators that was just mentioned. - * glyphs-x.c (convert_EImage_to_XImage): Fix pixel writing problem - when the X server endianness is different than the client's one. + editfns.c (get_home_directory): Changed behavior under Windows + when HOME not defined; former behavior was irretrievably broken. -1998-06-29 Kyle Jones + * emacs.c: + * emacs.c (main_1): + * emacs.c (main): + * minibuf.c (clear_echo_area_internal): + * minibuf.c (echo_area_append): + * print.c: + * print.c (std_handle_out_external): + * print.c (std_handle_out_va): + * print.c (fatal): + * print.c (write_string_to_stdio_stream): + * print.c (output_string): + * print.c (debug_print): + * print.c (debug_backtrace): + * print.c (debug_short_backtrace): + Cleaned up the code that prints text to stdout so that this can be + changed to output into a console window instead under MS Windows, + as described above. - * eval.c (run_hook_with_args_in_buffer): Check - default (non-buffer-local) value of hook for - nil before treating it as a function. Don't initialize - the `globals' variable twice. + * eval.c: + * eval.c (DEFEND_AGAINST_THROW_RECURSION): + * eval.c (internal_catch): + * eval.c (unwind_to_catch): + * eval.c (throw_or_bomb_out): + * eval.c (condition_case_1): + * eval.c (signal_1): + * eval.c (check_error_state_sanity): + * eval.c (call_with_suspended_errors_1): + * eval.c (call_with_suspended_errors): + * eval.c (reinit_vars_of_eval): + Added code to catch throw loops and check for a pesky bug that may + be gone now. -1998-06-24 Jonathan Harris + * event-msw.c: + * event-msw.c (key_needs_default_processing_p): + * event-msw.c (mswindows_wnd_proc): + * event-msw.c (mswindows_modifier_state): + * event-msw.c (emacs_mswindows_quit_p): + * event-msw.c (vars_of_event_mswindows): + a) Added support for using the alt key to select menu items as is + standard under MS Windows. This is controlled using the variable + menu-accelerator-enabled, just like under X Windows. There is an + option on the options menu to turn this support on. I really + think that it should be on by default under Windows, but I'm not + going to make this change yet. - * fileio.c: Don't do directory seperator canonicalisation in - substitute-in-file-name because we don't know that the - filename refers to a local file. + b) Added support for dynamic display size changes under Windows. -1998-06-24 Adrian Aichner + * event-stream.c: + * event-stream.c (maybe_echo_keys): + * event-stream.c (Fnext_event): + * event-stream.c (command_builder_find_leaf): + * event-stream.c (lookup_command_event): + * event-stream.c (execute_command_event): + * event-stream.c (pre_command_hook): + * event-stream.c (post_command_hook): + * event-stream.c (syms_of_event_stream): + * event-stream.c (vars_of_event_stream): + * event-stream.c (complex_vars_of_event_stream): + * events.h (struct command_builder): + + a) Tried to clean up a little bit the horribly written x-specific + accelerator code that crept into this file. I moved this code + into menubar-x.c where it belongs. I also needed to move the + command builder structure into the file events.h because it is + accessed directly by this accelerator code. What I didn't do, but + which should be done at some point, is to properly abstract this + code using device methods instead of the kludgy way that it + currently hooks into the event code. + + b) Added the lisp variables this-command-properties and + last-command- properties, which should be used to synchronize two + adjacent commands in preference to playing games with the variable + this-command, which is typically what happens. + + c) Added some slightly nasty code to hook into the lisp support + for shifted- motion-key selection. This is actually necessary for + somewhat complicated reasons, which are described in + simple.el. (NB: I think the proper thing would be to have the code + that calls the pre and post command hooks also call out to generic + lisp functions in simple.el, where all built-in stuff could be + added. I will think about this more.) + + * event-unixoid.c (poll_fds_for_input): + * lread.c (readchar): + * redisplay-tty.c (tty_clear_frame): + * redisplay-x.c (x_get_gc): + * signal.c (interrupt_signal): + And a whole bunch of other files: fixed up places that printed + directly to stderr to instead call the function stderr_out so that + the changes I made under Windows work correctly. + + * filemode.c (mode_string): + Warning fixes. + + * frame-msw.c: + * frame-msw.c (mswindows_size_frame_internal): + Fixed the computation of frame size and position to keep the frame + within the workspace area, rather than within the physical + dimensions of the screen, so that the frame doesn't overlap window + manager decorations, such as the start menu and toolbar, typically + at the bottom of the screen. + + * frame.c (vars_of_frame): + Changed the default frame title format under MS Windows to consist + of buffername-XEmacs, which is standard under MS Windows. I think + it might be a good idea to change this everywhere because I think + it is superior to the current frame title format, but this is the + kind of change that is likely to cause some people to get annoyed, + so I'm not making it. + + * glyphs-eimage.c (png_instantiate): Fixed some compile warnings. + + * gui-msw.c (mswindows_handle_gui_wm_command): + Fixed compile warnings. + + * gui-x.c: + * gui-x.c (strdup_and_add_accel): + * gui-x.c (button_item_to_widget_value): + * gui-x.h: + Added code to automatically put an accelerator onto the beginning + of menu items that don't have one as is now the standard, and is + described more later. Also fixed things so that the menu item + name can be an evaluated expression, again a new standard. - * process-nt.c (nt_create_process): Try appending the standard - executable file extensions to the filename if none supplied. + * gui.c: + * gui.c (gui_item_add_keyval_pair): + * gui.c (make_gui_item_from_keywords_internal): + * gui.c (gui_add_item_keywords_to_plist): + * gui.c (gui_item_accelerator): + * gui.c (gui_name_accelerator): + * gui.c (gui_item_included_p): + * gui.c (gui_item_display_flush_left): + * gui.c (gui_item_display_flush_right): + * gui.c (parse_gui_item_tree_item): + * gui.c (parse_gui_item_tree_children): + * gui.c (parse_gui_item_tree_list): + Mule-ized. Cleanup. GCPRO addition. + + * line-number.c (buffer_line_number): + * lisp.h: + * lisp.h (EMACS_INT_MAX): + Added the manifest constant EMACS_INT_MIN corresponding to the + existing constant EMACS_INT_MAX. This is partially to fix compile + warnings under Windows, and partly for cleanliness. -1998-06-29 SL Baur + * menubar-msw.c: + * menubar-msw.c (REPLACE_ME_WITH_GLOBAL_VARIABLE_WHICH_CONTROLS_RIGHT_FLUSH): + * menubar-msw.c (msw_translate_menu_or_dialog_item): + * menubar-msw.c (displayable_menu_item): + * menubar-msw.c (populate_menu_add_item): + * menubar-msw.c (populate_or_checksum_helper): + * menubar-msw.c (populate_menu): + * menubar-msw.c (update_frame_menubar_maybe): + * menubar-msw.c (prune_menubar): + * menubar-msw.c (msw_char_is_accelerator): + * menubar-msw.c (unsafe_handle_wm_initmenu_1): + * menubar-msw.c (mswindows_handle_wm_command): + * menubar-msw.c (mswindows_handle_wm_initmenupopup): + * menubar-msw.c (mswindows_handle_wm_initmenu): + * menubar-msw.c (mswindows_update_frame_menubars): + * menubar-msw.c (mswindows_free_frame_menubars): + * menubar-msw.c (mswindows_popup_menu): + Fixed a bug in handling accelerators where an extra character + would be displayed in the menu item. Also generalized the + function displayable_menu_item because it is now used by the + dialog box code as well. And finally, added code in the functions + that create the menubar to extract a list of accelerators for the + top level menubar, which is used in the event code to determine + whether a particular alt-key combination should be used to invoke + a menu item, or should be passed through to access the standard + XEmacs keymap binding for this key combination. + + Much needed GCPROing. - * fileio.c (Fsubstitute_in_file_name): Enable double slash notation - for cygwin32. - From Keisuke Mori + * menubar-x.c: + * menubar-x.c (menu_item_descriptor_to_widget_value_1): + * menubar-x.c (menu_item_descriptor_to_widget_value): + * menubar-x.c (restore_in_menu_callback): + * menubar-x.c (x_popup_menu): + * menubar-x.c (menu_move_up): + * menubar-x.c (menu_move_down): + * menubar-x.c (menu_move_left): + * menubar-x.c (menu_move_right): + * menubar-x.c (menu_select_item): + * menubar-x.c (command_builder_operate_menu_accelerator): + * menubar-x.c (menu_accelerator_junk_on_error): + * menubar-x.c (command_builder_find_menu_accelerator): + * menubar-x.c (Faccelerate_menu): + * menubar.h: + Moved a whole bunch of code here that was previously in + event-stream.c as described above. There is also code connected + to the new standard of adding an accelerator to the beginning of + menu items that don't have one as described above and below. + + * menubar.c: + * menubar.c (menu_parse_submenu_keywords): + * menubar.c (Fmenu_find_real_submenu): + * menubar.c (Fnormalize_menu_item_name): + * menubar.c (syms_of_menubar): + * menubar.c (vars_of_menubar): + * menubar.c (complex_vars_of_menubar): + + a) Cleaned up a bunch of documentation and improved it. + + b) XEmacs now automatically adds an accelerator onto the beginning + of any menu items that don't have one. I did this because there + will inevitably be some menu items on the main menubar that don't + have accelerators on them because the package that adds that + particular menu item hasn't yet been fixed up to have accelerators + in them and it looked rather strange to have some items with and + some items without accelerators, especially since even in items + without accelerators, you can, at least under windows, still + access the item through an accelerator corresponding to the first + character in the item's name. If people don't like this behavior, + I can add a variable to turn it off optionally, but I'm not sure + this is a good idea because we really do need to have accelerators + on all of the menu items, and if a package doesn't like the + accelerators being put on the first character, then it should put + the accelerators where they belong. + + c) I made a behavior change, which is that the descriptor that + specifies the text of the menu item, which formerly was just a + string, can now also be an evaluated expression. This makes this + descriptor parallel with all of the others, which could also be + evaluated expressions. This also obviates the need for the + keyword :label, which was previously listed in the documentation + as unimplemented, and which was for the same purpose. + + d) GCPROing. -1998-06-24 Andy Piper + * ntproc.c: + * ntproc.c (new_child): + * ntproc.c (sys_spawnve): + * ntproc.c (find_child_console): + * ntproc.c (sys_kill): + Fixed compile warnings. By the way, this file should really go + away entirely, and this will happen as soon as Kirill makes his + final round of process cleanups, which affect the function + call-process. - * toolbar-msw.c (mswindows_output_toolbar): only enable masked - images if we have masks. This handles the xbm case (have masks) - and avoids overuse of resources in the xpm case (generally no masks). - Don't output small toolbars. + * process-nt.c: + * process-nt.c (struct nt_process_data): + * process-nt.c (find_process_from_pid): + * process-nt.c (send_signal_the_nt_way): + * process-nt.c (enable_child_signals): + * process-nt.c (find_child_console): + * process-nt.c (send_signal_the_95_way): + * process-nt.c (nt_finalize_process_data): + * process-nt.c (ensure_console_window_exists): + * process-nt.c (nt_create_process): + * process-nt.c (nt_kill_child_process): + * process-nt.c (nt_kill_process_by_pid): + * process-nt.c (nt_open_network_stream): + * process-nt.c (vars_of_process_nt): + Copied over code from Emacs 20.5 to correctly send signals to sub- + processes under Windows 95. Also added code to automatically + create and hide console window when a sub-process is created under + Windows 95, which obviates the need for the separate runemacs.exe + executable, and finally implemented some variables that were + implemented in Emacs 20.5, but previously not in XEmacs. These + include mswindows- start-process-share-console and + mswindows-start-process-inherit-error-mode. (Both of these only + apply to Windows 95.) + + * regex.c (regex_compile): Fixed a compile warning. + + * select-msw.c: + * select-msw.c (mswindows_own_selection): + * select-msw.c (mswindows_get_foreign_selection): + * select-msw.c (mswindows_disown_selection): + * select-msw.c (console_type_create_select_mswindows): + * select-msw.c (syms_of_select_mswindows): + Cleaned up the file and implemented the device method + selection_exists_p, which had accidentally been left out. Also + removed four lisp functions that were remnants from before the + time when the selection code was properly device abstracted. + These functions are no longer needed because there are generic + equivalents, and because they were added recently and don't exist + in FSF Emacs, I don't think there's any problem with just deleting + them. -1998-06-29 Kyle Jones + * sysdep.c: + * sysdep.c (sys_subshell): + Fixed a compile warning, although in this case there's probably + something wrong with this code, and it ought to be looked into + more thoroughly by somebody who understands it. - * eval.c (run_hook_with_args_in_buffer): Don't treat - the default value of a buffer local hook as a list of - hooks unless it is both a cons and the car of that cons - is not Qlambda. + * window.c: + * window.c (Fwindow_text_area_height): + * window.c (Fwindow_width): + * window.c (Fwindow_full_width): + * window.c (Fwindow_pixel_width): + * window.c (debug_print_window): + * window.c (syms_of_window): + Added functions window-text-area-height and window-full-width, + which are functions for returning various width and height + characteristics of a window. (One of these functions is necessary + for making the file dialog box work correctly, and the other one + was added for completeness.) Also added a table to the + documentation for window-height which describes the entire scheme + for accessing width and height characteristics of a window. -1998-06-29 SL Baur +2000-03-12 Kirill 'Big K' Katsnelson - * extents.c: Email address for Ben Wing is ben@xemacs.org. - * process-unix.c: Ditto. - * mule-coding.h: Ditto. - * mule-coding.c: Ditto. - * mule-charset.c: Ditto. - * mule-charset.h: Ditto. - * file-coding.c: Ditto. - * file-coding.h: Ditto. + * nt.c (fstat): Added a comment for another problem with + non-encapsulated [f]stat(), reported by Adrian Aichner + . -1998-06-22 Jonathan Harris +2000-03-11 Andy Piper - * event-msw.c: Guard against recursion when freeing - FRAME_MSWINDOWS_TARGET_RECT struture in WM_SIZE processing. + * window.c (make_dummy_parent): initialize subwindow instance + cache. + (Fset_window_configuration): zero extent_modiff. - * frame-msw.c: Don't set WS_VISIBLE attribute on first frame. - Call ShowWindow twice in init_frame_3 to get round runemacs - weirdness. +2000-03-10 Andy Piper -1998-06-27 Hrvoje Niksic + * redisplay.c (Fredraw_frame): reset the changed_set flags so that + more changes can be triggered. + (Fredisplay_frame): ditto. + (Fredraw_device): ditto. + (Fredisplay_device): ditto. + (redisplay_frame): make non-static. + (redisplay_frame): call update_frame_gutter_geometry outside of + display proper. - * scrollbar.c (vertical_scrollbar_changed_in_window): Ditto. + * gutter.h: declare update_frame_gutter_geometry. - * winslots.h: Rename. + * redisplay.h: declare redisplay_frame. - * window.c (specifier_vars_of_window): Renamed - vertical-divider-draggable-p to vertical-divider-always-visible-p, - as suggested by Ben Wing. - (specifier_vars_of_window): Fix docstrings. + * gutter.c (update_frame_gutter_geometry): move geometry changes + in update_frame_gutters here. Geometry changes can only occur + outside of redisplay. + (update_frame_gutters): remove geometry change code. + (Fredisplay_gutter_area): make sure that we are in display when we + update and that we have flushed any size changes. -1998-06-22 Michael Sperber [Mr. Preprocessor] +2000-03-11 Andy Piper - * unexaix.c: Line number information works correctly again. + * alloc.c (pdump_dump_data): remove i & count shadows. -1998-06-22 Olivier Galibert +2000-02-27 Mike Alexander - * emacs.c (__sti__iflPNGFile_c___): Added. See comment. Cry. + * sysdep.h: Declare pdump_read_file -1998-06-21 Martin Buchholz + * sysdep.c (pdump_read_file): New function - * editfns.c (get_home_directory): ANSIfy. - XEmacs is compilable under C *and* C++. - It's XEmacs, not Xemacs! + * alloc.c (pdump_load): Call pdump_read_file to get the portable + dump data -1998-06-19 Jonathan Harris +2000-03-10 SL Baur - * console-msw.h: added a list of fonts to device data. + * lrecord.h: add `lrecord_type_pgsetenv'. - * device-msw.c: enumerate list of available fonts in - mswindows_init_device. Free list in mswindows_delete_device. +2000-03-08 SL Baur - * objects-msw.c: Added helper function match_font used by - mswindows_initialize_font_instance and mswindows_list_fonts. - Allow a charset to be specified in a font string, even if - previous fields havn't been specified. + * symsinit.h: declare (vars|syms)_of* functions. + * lrecord.h: add `lrecord_type_pgconn' and 'lrecord_type_pgresult'. -1998-06-23 Greg Klanderman +2000-03-06 SL Baur - * indent.c (column_at_point): column cache bugfix. - Set last_known_column_point to the buffer position for - which the column was requested, not buffer's point. + * config.h.in: Add symbols HAVE_POSTGRESQL and HAVE_POSTGRESQLV7 - * redisplay.c (decode_mode_spec): for current-column, show - window's point's column, not buffer's point's column. + * inline.c: Include postgresql.h lrecord stuffs to placate buggy + GCCs. -1998-06-23 Andy Piper + * emacs.c (main_1): Call postgres initialization code. - * menubar-msw.c (mswindows_handle_wm_command): use - enqueue_misc_user event rather than - mswindows_enqueue_msic_user_event to fix customize problems. Add some - checks that X does. + * postgresql.h: New file. PostgreSQL RDBMS support. + * postgresql.c: New file. - * console-msw.h: declare mswindows_enqueue_magic_event. +2000-03-08 Yoshiki Hayashi - * event-msw.c (mswindows_enqueue_magic_event): make global. + * redisplay-output.c (redisplay_output_display_block): Disable + redundant code. -1998-06-24 Hrvoje Niksic +2000-03-09 Yoshiki Hayashi - * line-number.c (LINE_NUMBER_FAR): Reverted to 16384. - (buffer_line_number): Use EMACS_INT_MAX instead of random LOTS. - (add_position_to_cache): Use EMACS_INT instead of int. + * mule-canna.c (Fcanna_henkan_region): Translate doc-string. + (Fcanna_henkan_next): Ditto. + (Fcanna_bunsetu_henkou): Ditto. + (Fcanna_henkan_kakutei): Ditto. + (Fcanna_henkan_end): Ditto. + (Fcanna_henkan_quit): Ditto. + (Fcanna_henkan_next): Set retun value correctly. + (c2mu): Use unsigned char instead of signed char. -1998-06-21 Olivier Galibert +2000-03-09 Yoshiki Hayashi - * lisp-disunion.h (XMARKBIT): Have XMARKBIT return something - suitable for an int used as a boolean (btw, C sucks.). + * emacs.c (main_1): Always call syms_of_gui. + * inline.c: include gui.h -1998-06-18 Andy Piper +2000-03-09 Yoshiki Hayashi - * object-msw.c: remove warnings. + * redisplay.c (Vvisible_bell): Renamed from visible_bell and + converted to Lisp_Object. + (Qtop_bottom): New variable. + (syms_of_redisplay): Initialize it. + * redisplay.h (Vvisible_bell): Ditto. + * sound.c (ding): Ditto and check if Vvisible_bell is nil. + * redisplay-x.c (x_flash): When Vvisible_bell is top-bottom, + only flash top and bottom. - * device-msw.c: #define wrongly named cygwin structure elements. +2000-03-08 Andy Piper - * s/cygwin32.h: define DEMI_BOLD + * buffer.c (Frename_buffer): record new buffer name the right way. -1998-06-19 Jonathan Harris +2000-03-08 Andy Piper - * redisplay-msw.c: new function mswindows_apply_face_effects. - This is called by output_string and output_cursor to display - underline and strikeout on faces. + * glyphs.c (update_subwindow): increase hash depth so that widget + items get picked up properly. -1998-06-19 Jonathan Harris + * redisplay-output.c (compare_runes): increase hash depth so that + widget items get picked up properly. - * console-msw.h: added a list of fonts to device data. +2000-03-08 Andy Piper - * device-msw.c: enumerate list of available fonts in - mswindows_init_device. Free list in mswindows_delete_device. + * gutter.c (output_gutter): add some debug. - * objects-msw.c: Added helper function match_font used by - mswindows_initialize_font_instance and mswindows_list_fonts. - Allow a charset to be specified in a font string, even if - previous fields havn't been specified. + * glyphs.h (struct Lisp_Image_Instance): add display_hash. + (IMAGE_INSTANCE_DISPLAY_HASH): new macro. + (XIMAGE_INSTANCE_DISPLAY_HASH): ditto. -1998-06-15 Jonathan Harris + * redisplay-output.c (compare_runes): use display_hash to + determine if glyphs really are not the same. - * objects-msw.c: - Removed compilation warnings from mswindows_string_to_color. - mswindows_list_fonts returns a more general bogus font. - New lisp-visible function mswindows-color-list. + * glyphs.c (update_subwindow): check display_hash to see if + anything really needs to be updated. If not then do + nothing. Record the display_hash after updating. + (image_instance_equal): compare the image_instance face also. -1998-06-19 David Bush +2000-03-07 Yoshiki Hayashi - * editfns.c (Fuser_login_name): Modify to user new function - user_login_name. - (user_login_name): C only function to avoid Lisp object overhead - Returns "unknown" instead of nil in Cygwin environment + * redisplay.h: Fix comment style. - * fileio.c (Fexpand_file_name): Treat "~" and "~user" as - equivalent for current user in Cygwin environment. Use new - function user_login_name to get username. +2000-03-08 Jonathan Harris - * lisp.h: Declare user_login_name + * consle-msw.h (struct mswindows_frame): + Added new member paint_pending to indicate whether a WM_PAINT + magic event has been queued for this frame. -1998-06-18 Michael Sperber [Mr. Preprocessor] + * event-msw.c (mswindows_drain_windows_queue): + Don't queue a WM_PAINT magic event if one is already queued. + (emacs_mswindows_handle_magic_event): clear paint_pending flag. - * unexaix.c (make_hdr): Fixed bias computations so debugging info - works again. - Some other insignificant nitpicks. + * frame-msw.c (mswindows_init_frame_1): initialise paint_pending flag. -1998-06-18 Andy Piper +2000-03-07 Didier Verna - * toolbar-msw.c (mswindows_output_toolbar): specify ILC_MASK when - creating the image list and make sure he bk color is transparent. + * dired.c: #include `regex.h' after `sysfile.h'. -1998-06-18 Jan Vroonhof +2000-03-06 Martin Buchholz - * event-Xt.c (emacs_Xt_remove_timeout): Also remove timeout from - completed_timeouts. The timer could have expired. + * sound.c (init_nas_sound): Fix compiler warning. -1998-06-17 Andy Piper + * alloc.c (ALIASING_VOIDPP_DEREFERENCE): New. + (FREE_STRUCT_P): + (MARK_STRUCT_AS_FREE): + (MARK_STRUCT_AS_NOT_FREE): + Make `gcc -fstrict-aliasing' work properly. - * console-msw.h: move XEMACS_RECT_WH inside frame - parameters. define macors to access it. +2000-03-07 Jonathan Harris - * frame-msw.c (mswindows_init_frame_1): use new target_rect - parameter to intialise desired sizing. (mswindows_init_frame_2): - enable and size the frame to something sensible when we get - here. (mswindows_set_frame_properites): use new - mswindows_size_frame_internal function and size frame if frame - parameters not just if init is finished - WM_SIZE happens too - early for some specs. (mswindows_size_frame_internal): new - function abstracted from mswindows_set_frame_properties. - (Vmswindows_use_system_frame_size_defaults): - new variable controls whether to allow the system to pick frame - size defaults, defaults to nil. + * device-msw.c (mswindows_finish_init_device): Call CoInitialize(). + (mswindows_delete_device): Call CoUnnitialize(). - * event-msw.c: in WM_SIZE use mswindows_size_frame_internal rather - than duplicated code. + * event-msw.c (mswindows_wnd_proc): WM_DROPFILES: Decode Shortcuts. -1998-06-15 Colin Rafferty +2000-02-25 - * Makefile.in.in: Made EXTW_LINK expand properly. + * process-nt.c: MinGW now has , but still needs + . -1998-06-12 Martin Buchholz + * sysdep.c: This extern declaration for environ prevents MinGW + from finding the variable in CRTDLL.DLL. - * redisplay.c (vars_of_redisplay): default value of - column-number-start-at-one should be NIL! + * s\mingw32.h (PBS_SMOOTH): Removed, now defined in cygwin's + windows headers. + (SHGFI_EXETYPE): .. + (WM_MOUSEWHEEL): .. + (_WIN32_IE): Added, needed to get the TCS_BOTTOM and TCS_VERTICAL + definitions. + (MMRESULT): Removed, now defined in cygwin's windows headers. + (TIMECAPS): .. + (uid_t,gid_t,pid_t,ssize_t): .. + (_timeb): Removed, MinGW defines both _timeb and timeb. + (HAVE_H_ERRNO): Added. + (HAVE_TZNAME): Added, configure is not detecting this. -1998-06-11 Martin Buchholz +2000-02-03 IKEYAMA Tomonori - * casefiddle.c: - (upcase-initials "fooBar") ==> "FooBar" instead of "Foobar" + * chartab.h (XCHAR_TABLE_VALUE_UNSAFE): New macro. + * syntax.c (syntax_match): Use it. -1998-06-05 Hrvoje Niksic + * cmds.c: Import auto-fill-chars from FSF Emacs. + (Vauto_fill_chars): New variables. + (internal_self_insert): Check Vauto_fill_chars. + (vars_of_cmds): + Declare auto-fill-chars as a Lisp variable and initialize it. - * eldap.c (Fldap_search_internal): Use build_ext_string instead of - build_string to avoid crashes under Mule. +2000-03-05 Jonathan Harris -1998-06-13 Andy Piper + * fileio.c (Fmake_symbolic_link): + (Ffile_symlink_p): + Run handlers even if local machine doesn't have symlinks. - * ntplay.c (play_sound_data_1): don't delete the sound data until - the next sound is played and the previous one finished. +2000-03-05 Jonathan Harris -1998-06-10 Samuel Mikes + * event-msw.c (mswindows_drain_windows_queue): + Don't generate paint magic events for non-XEmacs frames. - * fileio.c (directory-sep-char): Escape backslashes. +2000-03-05 Andy Piper -1998-06-10 Hrvoje Niksic + * redisplay.c (redisplay_frame): generate_displayable_area and + friends assumes that we are not in GC, we therefore have to make + sure that this doesn't happen. - * event-stream.c: Fix docstring reference. + * gutter.c (calculate_gutter_size): generate_displayable_area + assumes that we are not in GC, we therefore have to make sure that + this doesn't happen. -1998-06-12 Hrvoje Niksic +2000-03-05 Martin Buchholz - * alloc.c (make_float): Remove useless initialization of `next' - field. - (make_pure_float): Ditto. + * opaque.c (DEFINE_LRECORD_IMPLEMENTATION): opaque_ptr ==> opaque-ptr - * lisp.h (struct Lisp_Float): Rename `next' to `__unused__next'. +2000-03-03 Jan Vroonhof -1998-06-08 Kirill M. Katsnelson + * redisplay.c (regenerate_window): Make sure we set a sane value + for end_pos even if we jump out of the loop. + (regenerate_window): Answer Ben's question :-). + (start_end_of_last_line): Add may_error argument. + (start_of_last_line): + (end_of_last_line): Pass may_error = 0. + (end_of_last_line_may_error): New function. + (pixel_to_glyph_translation): Use it, so we don't crash in + event_to_glyph. - * fileio.c (Fmake_directory_internal): Remove conditionals - on WINDOWSNT when calling mkdir. +2000-03-04 Andy Piper - * ntproc.c: Deleted the following unused functions: - register_child, reap_subprocess, sys_wait. + * window.h (struct window): add gutter_extent_modiff. - * nt.c (sys_rename): Ifzeroed this implementation. - Deleted the following unused functions: - sys_access, sys_chdir, sys_chmod, sys_creat, sys_link, sys_mkdir, - sys_mktemp, sys_rmdir, sys_unlink, sys_close, sys_dup, sys_dup2, - sys_read, sys_write. - Merger sys_fopen and sys_open with sysdep.c implementation. + * window.c (allocate_window): zero out gutter_extent_modiff. - * sysdep.c: Removed MS-DOS code. - (sys_rename): Deal with Microsoft rename weirdness. - (sys_open): Implemented for Windows. - (sys_fopen): Ditto. - (sys_mkdir): Ditto. + * redisplay.h: declare sync_display_line_structs. -1998-06-08 Kirill M. Katsnelson + * redisplay.c (add_glyph_rune): add a better comment. - * buffer.c (complex_vars_of_buffer): Removed %t description from - the docstring. + * redisplay-output.c (sync_display_line_structs): made non-static. + (compare_runes): remove unneccesary glyph cachel access. -1998-06-04 Rick Rankin + * gutter.h: declare gutter_extent_signal_changed_region_maybe. - * scrollbar-msw.c: initialize the cbSize element of the - SCROLLINFO struct before calling SetScrollInfo. WinNT seems - to ignore the value of cbSize, but Win95 (and I presume Win98) - appear to want it set to sizeof(SCROLLINFO). + * gutter.c (output_gutter): don't output the gutter if extent + changes only involve extents in buffers. use 4 sets of display + lines. + (gutter_extent_signal_changed_region_maybe): new function. Mark + extents in gutters as changed. + (update_frame_gutters): use 4 sets of display lines. + (reset_gutter_display_lines): ditto. + (free_frame_gutters): ditto. + (redraw_exposed_gutter): force output of gutters. -1998-06-04 Kirill M. Katsnelson + * frame.h (struct frame): add 4 sets of gutter display lines. - * event-stream.c: Defined Qcancel_mode_internal. - (syms_of_event_stream): defsymbol'ed it. + * extents.c: (extent_changed_for_redisplay): signal changes to + extents in strings in the gutter as well as extents in buffers. - * events.h: Externed it. +2000-03-02 Andy Piper - * event-msw.c (mswindows_wnd_proc, WM_CANCELMODE): Added this handler. + * gutter.c (specifier_vars_of_gutter): cosmetic changes. -1998-06-04 Oliver Graf + * frame.c (Fmake_frame): make sure the gutters get initialized + after the frame is visible. + (set_frame_selected_window): re-arrange compilation macros a + little. + (change_frame_size_1): mark gutters changed. - * frame-x.c (x_cde_destroy_callback): free the data - (cde-start-drag-internal) corrected root position, 21.1 needs this - hardcoded in Button events - (offix-start-drag-internal) corrected root position + * device.c (Fset_device_class): mark gutters changed. -1998-06-03 Kirill M. Katsnelson +2000-03-01 Andy Piper - * process-nt.c (signal_cannot_launch): Use signal_simple_error() - instead of error(). + * window.c (window_top_frame_gutter_height): deleted. + (window_bottom_frame_gutter_height): ditto. + (window_left_frame_gutter_height): ditto. + (window_right_frame_gutter_height): ditto. + (window_top_gutter_height): don't use them. + (window_bottom_gutter_height): ditto. + (window_left_gutter_width): ditto. + (window_right_gutter_width): ditto. + (Fsplit_window): ditto. + (Fwindow_pixel_edges): don't use border dimensions here. -1998-06-03 Kirill M. Katsnelson + * scrollbar.c (update_scrollbar_instance): don't take gutters into account. + (update_scrollbar_instance): ditto. - * dialog-msw.c (button_width): Removed `inline' from the function - declaration. + * redisplay.c (generate_modeline): don't take gutters into account. + (generate_modeline): ditto. + (redisplay_frame): small gutter display optimisation. -1998-06-03 Rick Rankin + * redisplay-x.c (x_output_vertical_divider): don't take gutters into account. - * frame-msw.c: add WS_VISIBLE flag to the first frame created. - Note that adding this flag to subsequent frames causes problems. + * redisplay-msw.c (mswindows_output_vertical_divider): don't take + gutters into account. -1998-06-03 Gunnar Evermann + * gutter.h (WINDOW_REAL_*_GUTTER_BOUNDS): remove bogus checks + for window position and type. - * glyphs-eimage.c (png_instantiate) move 'struct - png_memory_storage tbr' out of nested block to avoid dangling - reference + * gutter.c (get_gutter_coords): fix for frame gutters. + (update_frame_gutters): update frame geometry if the gutters have + changed. + (init_frame_gutters): record current gutter geometries. -1998-06-02 Andy Piper + * glyphs-msw.c (mswindows_subwindow_instantiate): remove unused + var. + (mswindows_widget_instantiate): ditto. - * faces.h: - * faces.c: rename 3d-object -> gui-element. add toolbar face which - inherits from gui-element. + * frame.h (struct frame): add current_gutter_bounds. - * glyphs-msw.c: use DIBitmaps for xbm bitmaps to be consistent - with existing code, generate masks correctly. + * frame.c (change_frame_size_1): position window and minibuffer + appropriately taking into account the frame gutters. -1998-06-03 P. E. Jareth Hein + * frame-x.c: (x_initialize_frame_size): take into account the + frame gutters. - * glyphs-eimage.c: Changed included header for gifs to use - Gifreader instead of giflib. +2000-02-29 Stephen J. Turnbull - * glyphs-x.c: removed the image-related functions that were - moved into glyphs-eimage. + * emacs.c (data-directory): Xref `locate-data-file' in docstring. -1998-06-02 David Bush +2000-02-29 Stephen J. Turnbull - * glyphs.c (bitmap_to_lisp_data) Define XFree to be free - if built without X Windows support. + * alloc.c (dumpopaquevec): Increase dimension for --with-canna. -1998-06-02 Hrvoje Niksic +1999-12-30 Yoshiki Hayashi - * fns.c (Fconcat): Synch docstring with new reality. + * file-coding.c (reset_decoding_stream): Clear previous + detection state when autodetect. -1998-06-03 SL Baur +2000-02-29 Didier Verna - * frame.c: Remove reference to msdos.h (which is going away). - Suggested by Hrvoje Niksic and Kirill Katsnelson. + * extents.c (set_extent_glyph_1): don't require extents to be + attached. -1998-06-02 P. E. Jareth Hein +2000-02-27 Andy Piper - * glyphs-eimage.c (jpeg_instantiate): Fix handling of - grayscale images/ + * gutter.c (Fset_default_gutter_position): don't default left and + right gutter visibility to t. + (Fset_default_gutter_position): run + default-gutter-position-changed-hook. + (syms_of_gutter): add default-gutter-position-changed-hook. +2000-02-26 Andy Piper + + * specifier.c (Fmake_specifier): add gutter references. + + * gutter.h (RAW_WINDOW_GUTTER): new macro. + + * lisp.h: declare Fvalid_plist_p. -1998-05-30 Kirill M. Katsnelson + * gutter.c (gutter_geometry_changed_in_window): mark the modeline + as changed. + (default_gutter_visible_p_changed_in_window): invalidate gutter as + well as its visibility so that it gets reconstructed. + (construct_window_gutter_spec): new function. Construct a string + to be displayed in the gutter from a plist of strings. Take care + to only use elements that are declared as visible. + (calculate_gutter_size): use RAW_WINDOW_GUTTER instead of + WINDOW_GUTTER. + (gutter_validate): allow plists of strings in the specifier. + (gutter_specs_changed): construct the real_gutter from the gutter + specs using construct_window_gutter_spec. + (gutter_visible_validate): gutter-visible is a new specifier type. + (Fgutter_visible_specifier_p): new function for the new specifier. + (syms_of_gutter): declare gutter-visible and + Fgutter_visible_specifier_p. + (specifier_type_create_gutter): intitalize new gutter-visible + specifier. + (reinit_specifier_type_create_gutter): ditto. + (specifier_vars_of_gutter): use new specifier type for gutter + visibility. + (init_frame_gutters): construct real_gutter correctly. + (Fgutter_specifier_p): beef up documentation. + (Fgutter_size_specifier_p): ditto. - * events.h: Fixed commentary about misc-user scrollbar events. + * winslots.h: add real_gutter slots. - * scrollbar-x.c (x_update_vertical_scrollbar_callback): Use frame - object as an event channel, instead of window object. - (x_update_horizontal_scrollbar_callback): Ditto. +2000-02-25 Andy Piper -1998-05-29 Andy Piper + * device-msw.c: Be kind to older cygwin versions. From Raymond + Toy . - * ntplay.c (play_sound_data_1) new function. convert alloca data - to malloc if necessary. - (play_sound_file): if the file is not in our path then convert to - data and play. + * gui-msw.c (Fmswindows_shell_execute): Remove things unknown to + earlier cygwins. From Raymond Toy . -1998-06-01 SL Baur +2000-02-25 Martin Buchholz - * mule-mcpath.c (mc_chdir): Reverse parameters in call to memcpy. - * msdos.c (Frecent_doskeys): Ditto. + * elhash.c (MARK_OBJ): Practice macro hygiene. - * unexalpha.c (unexec): Reverse parameters in call to memcpy. - Suggested by Reggie Perry +2000-02-24 Martin Buchholz - * buffer.h: Eliminate size in declaration. + * miscplay.c: s/__inline__/inline/g; + * glyphs-msw.c (set_mono_pixel): INLINE ==> static inline + (get_device_compdc): INLINE ==> static inline + * *.[ch]: Change INLINE to INLINE_HEADER globally. + find -name '*.h' | \ + xargs global-replace \ + 's/(^|(?<=[^A-Za-z0-9_]))INLINE((?=[^A-Za-z0-9_])|$)/INLINE_HEADER/g' -1998-06-01 Olivier Galibert +2000-02-25 Andy Piper - * unexelfsgi.c (unexec): Cleanup n/nn and remove useless kludge. + * window.c (window_top_frame_gutter_height): new function. + (window_top_window_gutter_height): ditto. + (window_top_gutter_height): use them. + (window_bottom_frame_gutter_height): new function. + (window_bottom_window_gutter_height): ditto. + (window_bottom_gutter_height): use them. + (window_left_window_gutter_width): new function. + (window_left_frame_gutter_width): ditto. + (window_left_gutter_width): use them. + (window_right_window_gutter_width): new function. + (window_right_frame_gutter_width): ditto. + (window_right_gutter_width): use them. + (window_pixel_height): new function. calulate window pixel height + with frame gutter involvement. + (Fsplit_window): calculate new sizes taking frame gutters into + account. + (window_char_height_to_pixel_height): don't include frame gutters. + (window_char_height): use window_pixel_height. + (window_pixheight): rename from window_pixel_height. + (change_window_height): use it. + (window_pixel_height_to_char_height): don't include frame gutters. + (window_char_width_to_pixel_width): ditto. + +2000-02-25 Andy Piper + + * glyphs.h (IMAGE_INSTANCE_FACE): glyph might be nil, don't crash + if it is. + +2000-02-24 Martin Buchholz + + * alloc.c (staticpro): + (staticpro_nodump): + (dumpstruct): + (dumpopaque): + (pdump_wire): + (pdump_wire_list): + (compact_string_chars): + (pdump_dump_wired): + Convert: if (foo) abort(); ==> assert (! foo); + + * eldap.c (Fldap_search_basic): + (Fldap_add): + (Fldap_modify): + (Fldap_delete): + Fix compiler warnings, and possible crashes if (random) return + value were to be used. + +2000-02-21 Kirill 'Big K' Katsnelson + + * device-msw.c: Workaround ResetDC failure. + + * frame-msw.c (msprinter_init_frame_3): Added an assertion before + applying a devmode. + + * redisplay-msw.c (get_frame_dc): Added start_page_p. + (mswindows_text_width): Do not start printer page. + + * console-msw.h (CHECK_MSGDI_DEVICE): Added this and friends. + + * glyphs-msw.c: Added image methods to msprinter console and + msprinter-specific image instantiation. + +2000-02-20 Mike Alexander + + * select-msw.c (Fmswindows_set_clipboard): GC protect more things + to avoid crashes when selection-sets-clipboard is on + (mswindows_own_selection): ditto -1998-06-01 Kirill M. Katsnelson +2000-02-19 Kirill 'Big K' Katsnelson - * gui.c (gui_item_init): Changed the default value for config member - from Qunbound to Qnil. + * glyphs-msw.c: + * redisplay-msw.c (get_frame_dc): + (get_frame_compdc): + * console-msw.h: + * device-msw.c (mswindows_init_device): + (mswindows_delete_device): + (msprinter_init_device): + (msprinter_delete_device): + * frame-msw.c (mswindows_init_frame_1): + (mswindows_delete_frame): + (msprinter_init_frame_3): + (msprinter_delete_frame): Move compatible DC to device object from + frame object, for both mswindows and msprinter. Only one at a time + is needed, it is a real waste to have one per frame! -1998-06-01 Greg Klanderman +2000-02-23 Andy Piper - * indent.c (vmotion_pixels): Don't #define abs(). + * glyphs.c: add dynamic width and height elements. + (image_instance_equal): ditto. -1998-05-30 Kirill M. Katsnelson + * glyphs-widget.c (widget_query_geometry): calculate width and + height dynamically if required. + (initialize_widget_image_instance): initialize dynamic dimensions. + (widget_instantiate): pick-up dynamic dimensions. - * s/windowsnt.h: Defined popen and pclose to be _popen and _pclose - respectively. + * glyphs.h (struct Lisp_Image_Instance): add width and height for + dynamic determination. Add appropriate macros. -1998-05-30 Andy Piper + * gutter.h (WINDOW_GUTTER_BORDER_WIDTH): make non-integer + dimensions safe. + (WINDOW_GUTTER_SIZE): ditto. + (WINDOW_GUTTER_SIZE_INTERNAL): ditto. - * glyphs.h: add xbm declarations. + * redisplay-msw.c (get_frame_compdc): gcc can't cope with this + inline. + (get_frame_dc): ditto. - * console.h: add xbm_instantiate_method device method. + * redisplay.h (GLOBAL_RESET_CHANGED_FLAGS): don't reset faces + here. - * glyphs.c (check_valid_xbm_inline) (xbm_validate) - (bitmap_to_lisp_data) (xbm_mask_file_munging) (xbm_normalize) - (xbm_possible_dest_types): moved here from glyphs-x.c. use - locate_pixmap_file device method and read_bitmap_data_from_file - instead of XmuReadBitmapDataFromFile. - (xbm_instatntiate): make a device method. +2000-02-23 Martin Buchholz - * glyphs-x.c: see glyphs.c changes. (read_bitmap_data_from_file) - new function that just calls XmuReadBitmapDataFromFile. - (x_xbm_instatntiate): device method from xbm_instantiate. + * XEmacs 21.2.31 is released. - * glyphs-msw.c (read_bitmap_data) (NextInt) - (read_bitmap_data_from_file): new functions copied from Xmu - sources. - (xbm_create_bitmap_from_data) from Ben convert - inline data to an mswindows bitmap. - (init_image_instance_from_xbm_inline) (xbm_instantiate_1) - (mswindows_xbm_instantiate): mswindows-ized versions of the X - functions. +2000-02-22 Ben Wing -1998-05-30 Kirill M. Katsnelson + * ntheap.c (allocate_heap): Make sure `ptr' is initialized. - * window.c (specifier_vars_of_window): Renamed `has_modeline-p' to - `modeline-visible-p'. - Declared specifier lisp variables at the beginning oh the file - as static. +2000-02-22 Andy Piper - * procimpl.h (struct process_methods): Changed semantics of - create_process method so it accepts lisp strings instead of - char pointers. + * glyphs-x.c (x_widget_instantiate): don't explicitly resize here. - * process.c (Fstart_process_internal): Moved building of - unix style argv from here to process-unix.c, ... +2000-02-21 Mike Sperber - * process-unix.c (unix_create_process): ... right here. + * .dbxrc: + * .gdbinit: + * Makefile.in.in: Remove obsolete EMACSBOOTSTRAP... environment + variables. - * process-nt.c (nt_create_process): Changed this function to - support new semantics, so avoided a GC problem. +2000-02-21 Mike Sperber - * events.c (Fmake_event): Document misc-user events properties. - (Fmake_event): Do not allow arbitrary objects for channel property - of misc-user events. - (Fmake_event): Change misc-user event validation: it is function - which is required, not button. + * s/aix4.h: Declare getaddrinfo broken for AIX 4, which it is. - * event-msw.c (mswindows_user_event_p): Recognize misc user events as - user events. - (mswindows_enqueue_misc_user_event): Added function. - (mswindows_bump_queue): Removed function. - (mswindows_enqueue_magic_event): Support NULL HWND parameter. - (mswindows_wnd_proc, WM_CLOSE): Use mswindows_enqueue_misc_user_event(). - (mswindows_wnd_proc, WM_EXITSIZEMOVE): Ditto. - (emacs_mswindows_handle_magic_event): Handle XM_BUMPQUEUE, by doing - really nothing, which is my personal favorite thing. +2000-02-21 Martin Buchholz - * console-msw.h: Removed prototype for mswindows_bump_queue(). - Added prototype for mswindows_enqueue_misc_user_event(). + * XEmacs 21.2.30 is released. - * menubar-msw.c (mswindows_handle_wm_command): Use - mswindows_enqueue_misc_user_event(). +2000-02-20 Martin Buchholz - * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto. + Performance hacking. + * *.c (syms_of_*): + Add INIT_LRECORD_IMPLEMENTATION macros, paired with + DEFINE_LRECORD_IMPLEMENTATION macros in the same file. + * emacs.c (main_1): + * lisp.h (DEFUN): + * console.c (DEFVAR_CONSOLE_LOCAL_1): + * buffer.c (DEFVAR_BUFFER_LOCAL_1): + * symeval.h (DEFVAR_SYMVAL_FWD): + * symbols.c (guts_of_unbound_marker): + Make all c_readonly objects also lisp_readonly and marked for life. + * lrecord.h (struct lrecord_implementation): + Document flags better. + * lrecord.h (DEFINE_LRECORD_SEQUENCE_IMPLEMENTATION_WITH_PROPS): + * lrecord.h (DECLARE_LRECORD): + * lrecord.h (XSETRECORD): + * lrecord.h (RECORDP): + * lrecord.h (RECORD_TYPEP): + * lrecord.h (RECORD_MARKER): New. + * lrecord.h (error_check_*): + * lrecord.h (CONCHECK_NONRECORD): + * lrecord.h (MAKE_LRECORD_IMPLEMENTATION): + * lrecord.h (INIT_LRECORD_IMPLEMENTATION): New. + * lrecord.h (set_lheader_implementation): + * lrecord.h (enum lrecord_type): New. + * symeval.h (SYMBOL_VALUE_MAGIC_P): + * alloc.c (disksave_object_finalization_1): + * alloc.c (mark_object): + * alloc.c (lrecord_type_index): + * alloc.c (tick_lcrecord_stats): + * alloc.c (Fgarbage_collect): + * alloc.c (init_alloc_once_early): + * alloc.c (pdump_load): + * alloc.c (GC_CHECK_LHEADER_INVARIANTS): New. + * alloc.c (lrecord_type_index): Delete. + Make lisp object type indexes be constant. + Makes (byte-compile) 5% faster. + Put all marker functions into their own array. + Makes (garbage-collect) 5% faster. + Optimize SYMBOL_VALUE_MAGIC_P. + Makes (byte-compile) 2-3% faster. + * config.h.in (gc_checking_assert): New. + * alloc.c: Use gc_checking_assert(). + * .dbxrc: Make compatible with new object type implementation. + * .gdbinit: Make compatible with new object type implementation. + * alloc.c: Delete all symbols defined only for debugging, such as + Lisp_Type_Vector and lrecord_charset. + +2000-02-21 Andy Piper + + * gui-msw.c (Fmswindows_shell_execute): fix file location + problems. + + * buffer.c (Fkill_buffer): remove buffer from alist buffer + unshowing so that set_window_buffer doesn't undo + kill_buffer_hook's hard work. + + * glyphs-widget.c (tab_control_query_geometry): don't count the + first item when calculating geometry. + + * glyphs.c (map_subwindow): remove redundant code. + (update_frame_subwindows): be more circumspect about when to + update subwindows. + + * glyphs-x.c (x_update_widget): Properly fix sizing bug. Fix bug + when items haven't changed. Update faces if faces have changed as + well as just the widget face. + (x_tab_control_update): Update faces if faces have changed as well + as just the widget face. + +2000-02-21 Jonathan Harris + + * device-msw.c: (mswindows_delete_device): Remove redundant DDE + registration. + (build_syscolor_string): Use mswindows_color_to_string to try to + get a named color. + (mswindows_device_system_metrics): Reverse the foreground and + background colors so that they match the documentation. + + * objects-msw.c: (mswindows_X_color_map): tweak some values so + they match the default Windows palette. + (mswindows_color_to_string): New function. + +2000-02-21 Jonathan Harris + + * s/windowsnt.h: Only use __declspec(noreturn) with MSVC>=6. + +2000-02-18 Olivier Galibert + + * m/*, s/*: Removed obsolete DATA_SEG_BITS, PURE_SEG_BITS, + WORD_MACHINE, SIGN_EXTEND_CHAR and EXPLICIT_SIGN_EXTEND. + + * symbols.c (init_symbols_once_early): Removed obsolete + DATA_SEG_BITS related kludge. + (defvar_magic): Ditto. + + * malloc.c: Removed obsolete DATA_SEG_BITS + * ralloc.c: Ditto. + * mem-limits.h: Ditto. + + * Makefile.in.in: Removed obsolete HAVE_SHM + * emacs.c: Ditto. + +2000-02-13 Jonathan Harris + + * device-msw.c (mswindows_delete_device): Free DDE string + handles. + +2000-02-16 Kirill 'Big K' Katsnelson + + * keymap.c (get_keyelt): + * unexnt.c (unexec): + * vm-limit.c (memory_warnings): + * ntheap.c (recreate_heap): + * ntheap.h (UNINIT_PTR): + * select-msw.c (Fmswindows_get_clipboard): + (Fmswindows_set_clipboard): + * objects-msw.h (MSWINDOWS_BAD_HFONT): + * objects-msw.c: + * menubar-msw.c (displayable_menu_item): + * glyphs-msw.c: + * glyphs-msw.h (IMAGE_INSTANCE_MSWINDOWS_MASK): + * sysdep.c (sys_subshell): + * process-nt.c (nt_create_process): + * nt.c (normalize_filename): + (dostounix_filename): + (unixtodos_filename): + * ntproc.c (win32_executable_type): + * ntplay.c (play_sound_data_1): + (play_sound_file): + * editfns.c (get_home_directory): + * event-msw.c (struct winsock_stream): + (mswindows_dde_callback): + * device-msw.c (msprinter_init_device): + (msprinter_get_devmode_copy): Frobbed syntax frivolities. - * dialog-msw.c (dialog_proc): Ditto. + * toolbar-msw.c (mswindows_free_frame_toolbars): Paramters to + mswindows_clear_toolbar were swapped! - * scrollbar-msw.c (mswindows_handle_scrollbar_event): Ditto. - (mswindows_handle_scrollbar_event): Use frame, not window, for misc - user events channel. + * objects-msw.c:(colormap_t): + (fontmap_t): + * emacs.c (struct standard_args): Fixed const jumble. -1998-05-29 Greg Klanderman + * glyphs-widget.c (update_widget): Fixed comparison notation. - * window.c (Fwindow_displayed_text_pixel_height): was relying on - incorrect semantics of vmotion_pixels which has been fixed. don't - use it anymore as it can't easily be used. + * event-msw.c (mswindows_dde_callback): Removed extraneous ';'. - * indent.c (vmotion_pixels): fix off by one bug moving up. also - the motion was reported incorrectly if you tried to go past end of - buffer. + * s\windowsnt.h (DOESNT_RETURN): Defined to support the MSVC + __declspec(noreturn) syntax. -1998-05-30 Kirill M. Katsnelson +2000-02-19 Martin Buchholz - * toolbar.h: Removed misleading commentary, as Martin suggested. + * eldap.c (Fldap_open): + (Fldap_search_basic): + (Fldap_add): + (Fldap_modify): + Use new coding system conversion macros. -1998-05-30 Kirill M. Katsnelson +2000-01-06 Yoshiki Hayashi - * lisp.h: Extern Qactivate_menubar_hook. + * console-tty.c (tty_init_console): Change MULE to FILE_CODING. - * menubar-msw.c (unsafe_handle_wm_initmenu_1): Pass correct value to - run_hook (). +1999-11-27 Oscar Figueiredo -1998-05-29 Andy Piper + * eldap.h (Fldap_search) Renamed from Fldap_search_internal: + (Fldap_add, Fldap_modify, Fldap_delete): New functions - * glyphs-msw.c: use BPLINE macro. + * eldap.c (Qadd, Qreplace): New constant symbols + (Fldap_open): Use the LDAP_OPT_RESTART option to avoid + interruptions by XEmacs signals + Remove unnecessary calls to slow_down_interrupts and + speed_up_interrupts + (Fldap_search_basic): Renamed from Fldap_search_internal + Added new optional parameter VERBOSE that triggers the + display of progress messages + Remove unnecessary calls to slow_down_interrupts and + speed_up_interrupts + LDAP result code analysis rewritten + (Fldap_add, Fldap_modify, Fldap_delete): New functions + (syms_of_eldap): Define the new symbols and functions - * select-msw.c (mswindows-selection-exists-p) - (mswindows-delete-selection): doc string fixes. - * toolbar-msw.c (mswindows_output_toolbar): make disabled buttons - unpressable. warning elimination. +2000-02-17 Martin Buchholz -1998-05-28 Martin Buchholz + * realpath.c: Determine PATH_MAX maximally portably. - * alloc.c (dbg_constants): - * dbxrc: - * gdbinit: - Remove toolbar_data debugging code, since that lrecord has - also been removed. + * insdel.c (bytecount_to_charcount): Optimize. + The function used to be optimized for entirely ASCII sequences. + Now it is optimized for successive characters from the same + charset. This also wins big for _mostly_ ASCII sequences. -Wed May 27, 1998 Darryl Okahata + * fileio.c (Ffile_truename): convert return from realpath() using + Qfile_name, not Qbinary. Fixes obvious bug with non-ASCII symlinks. + - Rewrite GCPROing slightly. - * alloc.c: zap cached value of (user-home-directory), so that - it's not undumped. + * sysdep.c (sys_open): Do filename conversion, like all other + sys_* functions. Fixes bug: + (let ((file-name-coding-system 'iso-8859-2)) + (write-region x y latin2-name)) + ==> writes filename using internal encoding. - * buffer.c: From init_buffer(), separated out code that - determined the initial directory for the *scratch* buffer, and - put them into a function called "init_initial_directory()". - The initial directory is now available as a global "char *" - called initial_directory. +2000-02-18 Martin Buchholz - * buffer.h: Added extern entries for initial_directory[] and - init_initial_directory(). + * buffer.c (DEFVAR_BUFFER_LOCAL_1): Turn on c_readonly. Always const. + * console.c (DEFVAR_CONSOLE_LOCAL_1): Turn on c_readonly. Always const. + * symeval.h (DEFVAR_SYMVAL_FWD): Turn on c_readonly. Always const. + * eval.c (lrecord_subr): Remove this_one_is_unmarkable. + * symbols.c (lrecord_symbol_value_forward): Remove this_one_is_unmarkable. + * symbols.c (guts_of_unbound_marker): Turn on c_readonly. + * lrecord.h (UNMARKABLE_LRECORD_HEADER_P): Delete. + (CONST_IF_NOT_DEBUG): Delete. + * alloc.c (this_one_is_unmarkable): Delete. + (mark_object): Don't check for this_one_is_unmarkable. Use the + c_readonly flag instead. + * lisp.h (DEFUN): Define a Lisp_Subr as c_readonly. - * editfns.c: added new elisp function "user-home-directory", - which basically returns getenv("HOME"), but attempts to use - other values if $HOME isn't set.This may have to be tweaked in - the future as, under Unix, "/" is used if $HOME isn't set (this - probably should be set to the current directory). To support - this, a new C function, "get_home_directory()", now exists, - which returns the "home directory", as a "char *" string. +2000-02-18 Jonathan Harris - * emacs.c: Rearrange NT initialization order so that - environment/registry variables will be properly entered into - Vprocess_enviroment. + * event-msw.c (mswindows_drain_windows_queue): + (emacs_mswindows_handle_magic_event): Remove attempt to optimise + away redundant repaint events. - * fileio.c: replaced egetenv("HOME") with calls to the new - get_home_directory(). +2000-02-17 Andy Piper - * lisp.h: Added function prototypes for uncache_home_directory() - and get_home_directory(), along with lisp prototypes for - Fuser_home_directory() and friends. + * redisplay.h: declare mark_redisplay_structs. - * nt.c: replaced getenv("HOME") with calls to the new - get_home_directory(). + * redisplay.c (redisplay_window): + (redisplay_frame): don't check subwindows_state_changed. + (mark_redisplay): mark gutters here. - * sysfile.h: for WINDOWSNT, #include , to suppress - warnings about getcwd(), etc. not having prototypes. + * glyphs.c: (instantiate_image_instantiator): always layout if we + haven't done so already. + (allocate_image_instance): don't mark as dirty. + (update_subwindow): bind inhibit_quit. -1998-05-28 Kirill M. Katsnelson + * gutter.c (mark_gutters): new function. - * process-nt.c (send_signal): Emulate SIGHUP. - (validate_signal_number): Ditto. + * glyphs-x.c (x_update_widget): Always resize to get round a + widget bug. - * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Unconditionally - remove MOD_SHIFT from ASCII characters. - (mswindows_wnd_proc, WM_KEYDOWN): Do not activate the menubar when - F10 is pressed. + * glyphs-msw.c (mswindows_tab_control_update): remove `;' that was + breaking absolutely everything. -1998-05-24 Oliver Graf + * gutter.h: declare mark_gutters. - * frame-x.c (cde-start-drag-internal): added filename and multi- - data transfers - (x_cde_convert_callback) dito +2000-02-16 Martin Buchholz -1998-05-26 Oliver Graf + * XEmacs 21.2.29 is released. - * frame-x.c: include event-mod.h also with CDE - (x_cde_convert_callback) made the thing working - (cde-start-drag-internal) also debugging +2000-02-15 Olivier Galibert -1998-05-25 Hans Guenter Weigand + * fns.c (size_bit_vector): Fix computation of the size. - * m/sparc.h: - * getloadavg.c: - * malloc.c: - * unexec.c: - * mem-limits.h: - - add __OpenBSD__ where __NetBSD__ was found. - - TODO: replace platform-specific conditional compilation by - feature tests in configure.in. +2000-02-15 Martin Buchholz -1998-05-15 Greg Klanderman + * *.[ch]: Change CONST to const globally. + find -name '*.[ch]' | \ + xargs global-replace \ + 's/(^|(?<=[^A-Za-z0-9_]))CONST((?=[^A-Za-z0-9_])|$)/const/g' + - Remove vestigial references to CONST_IS_LOSING - * window.c (Fwindow_displayed_text_pixel_height): New function. - (syms_of_window): DEFSUBR it. +2000-02-13 Jonathan Harris - * indent.c (Fvertical_motion_pixels): New function - request - movement in pixels. - (vmotion_pixels): helper. - (syms_of_indent): DEFSUBR. - * lisp.h: declaration for vmotion_pixels(). + * event-msw.c (mswindows_drain_windows_queue): Remove hack to + bailout early on quit. Enqueue WM_PAINT events as XEmacs magic + events instead of dispatching them directly. + (mswindows_handle_paint): New function to do repainting. + (mswindows_wnd_proc): + (emacs_mswindows_handle_magic_event): Call above function. - * indent.c (Fvertical_motion): Add optional third argument PIXELS, - to request returning motion in pixels. - (Fvertical_motion_pixels): Remove, functionality merged into - Fvertical_motion. - * window.c (window_scroll): call Fvertical_motion with 3 arguments. - (Fmove_to_window_line): ditto. - * lisp.h: Change declaration for Fvertical_motion. +2000-02-13 Jonathan Harris - * window.c: rename window-text-pixel-{height,width,edges} to - window-text-area-pixel-*. + * objects-msw.c (mswindows_create_font_variant): Return the new + font handle. + (initialize_font_instance): Get font metrics from the underlined + variant of the font to cope with the case where the underlined + font has a bigger descent. -1998-05-26 Gunnar Evermann +2000-02-08 Daiki Ueno - * tooltalk.c (vars_of_tooltalk) added staticpro for - Tooltalk_Message_plist_str and Tooltalk_Pattern_plist_str + * gui.c (gui_item_accelerator): Return the first underlined + character in item name. -1998-05-27 Andy Piper +2000-02-11 Kirill 'Big K' Katsnelson - * faces.c: create a new 3d_object_face, make modeline and - vertical_divider faces fallback to this rather than the default. + * lisp.h: Added Qprinter. -1998-05-21 Andy Piper + * general.c (syms_of_general): Initialized it. - * s/cygwin32.h: define charsets for cygwin. + * redisplay-msw.c (get_frame_dc): Conditionally start a new page. + (get_frame_dc): + (get_frame_compdc): Made inline. -1998-05-25 Andy Piper + * console.h (struct console_methods): Added eject_page method. - * toolbar-msw.c (mswindows_output_toolbar): fix up button sizes - and coordinates. resize bitmaps if we have already settled on a - different size. + * frame.h: Added FRAME_DISPLAY_P and friends. + Aligned backslahes in many macros in more readable fashion. + Added page_number to struct frame, and an accessor macro + for it. - * glyphs-msw.c (xpm_to_eimage): add ';' for mswindows compiler. + * defice.h: Added DEVICE_DISPLAY_P and friends. -1998-05-25 Hrvoje Niksic + * device.c (Fdevice_printer_p): Used these. - * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto. + * frame.c (allocate_frame_core): Initialize page number. + (Fprint_job_page_number): + (Fprint_job_eject_page): Implemented. - * menubar-msw.c (mswindows_handle_wm_command): Ditto. + * frame-msw.c (msprinter_eject_page): Added method. + (msprinter_start_page): Added. - * gui.h: Ditto. + * window.c (Fwindow_truncated_p): Fixed docstring. + (Fwindow_last_line_visible_height): Implemented. - * gui-x.c (popup_selection_callback): Ditto. +2000-02-09 Yoshiki Hayashi - * dialog-msw.c (dialog_proc): get_callback -> get_gui_callback. + * frame.c (change_frame_size_1): Undo 2000-02-03 change. - * gui.c (get_callback): Renamed to get_gui_callback. +1999-12-20 Yoshiki Hayashi -1998-05-17 Martin Buchholz + * syntax.c (scan_words): Always advance at least one character. - * glyphs.h: order rearrangement. +2000-02-13 Andy Piper - * device-tty.c (tty_asynch_device_change): Warning suppression. - * device-x.c (x_device_system_metrics): Warning suppression. - Make Doc strings consistent with coding standards. + * redisplay.c (add_glyph_rune): call get_glyph_cachel_index here + to make sure the glyph is in the cachels. -1998-05-24 Martin Buchholz + * glyphs.h (struct Lisp_Image_Instance): make layout_changed a + global image instance flag. + (IMAGE_INSTANCE_NEEDS_LAYOUT): new macro. + (XIMAGE_INSTANCE_NEEDS_LAYOUT): ditto. - * general.c: multiple definition of `Qicon'. general.c seems - like a good home for Qicon. + * glyphs.c (allocate_image_instance): set dirty bits correctly. + (Fset_image_instance_property): mark layout as changed. + (invalidate_glyph_geometry_maybe): mark layout as changed. + (glyph_width): use new NEEDS_LAYOUT macro. + (glyph_ascent): ditto. + (glyph_descent): ditto. + (glyph_height): ditto. + (image_instance_layout): mark layout as clean after laying out. + (update_subwindow): don't mark layout as clean here. -1998-05-20 Kirill M. Katsnelson + * glyphs-x.h (IMAGE_INSTANCE_X_WIDGET_ID): undo C++ changes, they + should no longer be needed. - * This patch is to fix compilation warnings under Windows. + * glyphs-x.c (x_update_widget): sanitize asserts. + (x_finalize_image_instance): sanitize assignment to widgets. - * s/windowsnt.h: Encapsulate getpid with sys_getpid. - Added prototypes for FSF inherited functions, with which XEmacs is - sprinkled thoroughly. - Removed some #if 0 code. Bracketed some more definitions, probably - related to Visual C versions prior to 4 (we do not support them). + * glyphs-widget.c (widget_instantiate): don't need to clear the + layout flag here. - * sysfloat.h (logb): Finally, get logb() prototyped. +2000-02-13 Martin Buchholz - * sysfile.h: Added Windows specific includes. - Removed old Windows specific code bracketed with #if 0. + * sysdep.c (getcwd): Use standard prototype. + * sysdep.h (getcwd): Use standard prototype. - * sysdep.h: Added prototype for xrealpath(). + * fns.c (Fsubseq): Change parameters to more natural ANSI Lisp + (sequence, start, end). + Remove redundant type checking. + (Fmapconcat): Remove useless GCPRO, a wrong-headed attempt (in + view of `caller-protects') to avoid a crash where the real fix was + found elsewhere. - * sysdep.c (sys_getpid): Added function, to support '95 negative pids. +2000-02-12 Martin Buchholz - * symsinit.h: Added prototypes for syms_of_dired_mswindows, - vars_of_dired_mswindows and init_ntproc (Grrr). + * glyphs-x.c (x_finalize_image_instance): Compile error fixes. - * realpath.c: Added Windows specific include files. - (xrealpath): Conditionalized declaration of some auto variables on - S_IFLNK, to avoid warnings. + * s/sol2.h: Remove feature macro initialization. - * ntproc.c: Disabled some compiler warnings. This file is going to - die, so I have not cleaned it up much. - (set_process_dir): Const parameter. - (Fwin32_short_file_name): Down CHECK_* macros to one argument. - (Fwin32_long_file_name): Ditto. - (Fwin32_set_process_priority): Ditto. Why didn't I remove these - three functions? + * alloc.c (alloc_lcrecord): Add more type checking assertions. + (vector_hash): New. Code from internal_hash. + * lrecord.h: + Fix up allocation subsystem comments. - * nt.h: Added prototypes for set_process_dir and convert_time. + * config.h.in: Add __EXTENSIONS__ for Solaris. - * nt.c: More include files. - (getpwnam): Consted char* argument. - (get_emacs_configuration): Const return value. - (opendir): Const argument. - (stat): Casted converstion long->short. - (stat): Removed ad hoc and questionable support for non-MSC compile. - (sys_pipe): Removed unused auto variable. - (_sys_read_ahead): Removed calls to DebPrint. - (sys_read): Ditto, in 2 places. - (term_ntproc): Added unused int parameter to signal handler, to - avoid a warning when compiling a call to signal(). - (msw_sigset): Properly return old signandler or NULL instead of void. + * systime.h (EMACS_GETTIMEOFDAY): New. + (EMACS_GET_TIME): Use EMACS_GETTIMEOFDAY. + Remove Solaris-specific code. + Use void* for the (ignored) second arg for gettimeofday(). - * floatfns.c (Flogb): Casted arguments to unary minus to signed. + * elhash.c (hash_table_hash): Implement it, finally. + * elhash.c: Use hashcode_t. - * gmalloc.c (morecore): Ditto. - (_free_internal): Ditto. + * linuxplay.c (sighandler): Fix prototypes to use SIGTYPE. + * sunplay.c (sighandler): Fix prototype to use SIGTYPE. - * lread.c (parse_integer): Ditto. + * lisp.h (STRETCHY_STRUCT_SIZEOF): Delete. + * fns.c (size_bit_vector): + * alloc.c (size_vector): + (make_vector_internal): + (make_bit_vector_internal): + (sweep_bit_vectors_1): + Replace calls to STRETCHY_STRUCT_SIZEOF with offsetof expression. - * dired-msw.c: Added several include files. +2000-02-10 Martin Buchholz - * cmdloop.c (Fcommand_loop_1): Added Microsoft C to the Big List - of Compilers to Shut Up. + * s/aix4.h: #define MAP_FAILED if sys/mman.h didn't. + Include strings.h to avoid warnings for bzero and strcasecmp. - * callproc.c: Added #includes to suppress warnings under Windows. - (init_callproc): Removed #if0'ed code and unused variables. +2000-02-10 Olivier Galibert -1998-05-25 Andy Piper + * alloc.c: Move STRETCHY_STRUCT_SIZEOF from here... + * lisp.h (STRETCHY_STRUCT_SIZEOF): ...to here - * device-msw.c (mswindows_device_system_metrics): do planes in a - way consistent with X. + * fns.c (size_bit_vector): New. Declare bit vectors as a + sequence. - * glyphs-msw.c (mswindows_initialize_image_instance_mask): don't - use SetPixel, use DIBits functions. - (xpm_to_eimage): frob colors more closely like xpm deos. +2000-02-10 Olivier Galibert - * toolbar-msw.c: only resize bitmaps when shrinking. Adjust look - to be closer to X version. + * symeval.h (struct symbol_value_magic): Remove "next" kludge and + use a value field instead. + (symbol_value_forward_forward): Use value field. + (DEFVAR_SYMVAL_FWD): Use value field. + (DEFVAR_SYMVAL_FWD_INT): Added. Dumps the int with dumpopaque. + (DEFVAR_INT): Use DEFVAR_SYMVAL_FWD_INT. + (DEFVAR_CONST_INT): Ditto. + (DEFVAR_BOOL): Ditto. + (DEFVAR_CONST_BOOL): Ditto. + (DEFVAR_INT_MAGIC): Ditto. + (DEFVAR_BOOL_MAGIC): Ditto. - * event-msw.c: use tooltip string directly. + * symbols.c (guts_of_unbound_marker): Use value field. + * console.c (DEFVAR_CONSOLE_LOCAL_1): Ditto. + * buffer.c (DEFVAR_BUFFER_LOCAL_1): Ditto. - * redisplay-msw.c: reinstate Kirill's bg pixmap change. + * lisp.h: Declare dumpopaque and noninteractive1. - * objects-msw.c: frob rgb colors that only Kyle uses. + * alloc.c (dumpopaque): Added. + (pdump_dump_opaquevec): Added. + (pdump): Call pdump_dump_opaquevec to dump opaque data. + (pdump_load): Reload opaque data. Sync noninteractive1 with + noninteractive. - * dialog-msw.c (button_width): INLINE -> inline. +2000-02-10 Andy Piper -1998-05-23 SL Baur + * glyphs.c (image_instance_layout): if the size changes, mark it + as such. - * getloadavg.c (getloadavg): Fix typo. + * redisplay-output.c (redisplay_output_layout): Update the + subwindow here. + (redisplay_output_subwindow): ditto. -1998-05-23 Kirill M. Katsnelson + * glyphs.c (update_subwindow): make sure we reset flags for + layouts as well as everything else. + + * glyphs-widget.c (layout_layout): don't need to set the instances + dimensions here. + +2000-02-09 Martin Buchholz + + * device-x.c (x_init_device): Wrap calls to dll_* in HAVE_SHLIB, + not HAVE_DLOPEN, which is a lower-level thing. + + * .cvsignore: Ignore gmon.out + +2000-02-09 Hamish Macdonald + + * .cvsignore: Ignore portable dumper xemacs.dmp file + +2000-02-09 Andy Piper + + * redisplay-output.c (redisplay_output_layout): be more clever + about when we output based on the changed flags. + + * glyphs.h (struct image_instantiator_methods): add update_method. + (struct Lisp_Image_Instance): add changed flags. Declare new + macros for manipulating them. + + * glyphs.c (allocate_image_instance): renamed glyph -> parent. + (image_instance_parent_glyph): find an image_instance's parent + glyph or image_instance. + (image_instance_layout): mark the size as changed. + (set_image_instance_dirty_p): new function. mark an image + instance, plus all of its parents, as dirty. + (Fset_image_instance_property): use it. + (Fglyph_animated_timeout_handler): use it. + (update_subwindow): call update_widget and device methods for + update_subwindow. Mark all changed flags as clean. + (Fresize_subwindow): mark size as changed. + + * glyphs-x.c (x_finalize_image_instance): try and detect gc + failures. + (x_update_subwindow): only resize subwindows here. + (x_update_widget): new function. Update all changed properties of + a widget. + (x_resize_subwindow): deleted. + (x_widget_set_property): deleted. + (x_progress_gauge_set_property): deleted. + (x_progress_gauge_update): new function. Implement recorded + changes. + (x_tab_control_update): ditto. + (x_tab_control_set_property): deleted. + (console_type_create_glyphs_x): declare new functions. + (image_instantiator_format_create_glyphs_x): ditto. + + * glyphs-widget.c (widget_set_property): mark text changed. + (update_widget): new function. Update properties of a widget. + (widget_instantiate): for layouts make sure we set their + children's parent correctly. + (tab_control_set_property): new function. Record changes that will + take place under redisplay's control. + (progress_gauge_set_property): ditto. + (image_instantiator_progress_guage): declare new functions. + (image_instantiator_tab_control): ditto. + + * glyphs-msw.c (mswindows_update_subwindow): just do resizing here + now. + (mswindows_update_widget): new function. Update all properties on + a widget that have changed. + (mswindows_button_update): new function. Update a button's set + state. + (mswindows_tab_control_update): new function. Update the items in + a tab. + (mswindows_tab_control_set_property): deleted. + (mswindows_progress_gauge_update): new function. Update the + progress gauge's progress. + (mswindows_widget_set_property): deleted. This is all done + asynchronously now. + (mswindows_progress_gauge_set_property): ditto. + (console_type_create_glyphs_mswindows): declare new methods. + (image_instantiator_format_create_glyphs_mswindows): ditto. - * objects-msw.c (mswindows_initialize_font_instance): Added support - for font character sets. - Replaced 'XXX' with '####' in comments throughout the file. + * frame-msw.c (msprinter_init_frame_1): Remove unused variables. + (msprinter_set_frame_properties): ditto. -1998-05-23 Kirill M. Katsnelson + * console.h (struct console_methods): Add update_widget_method. - * emacs.c (main_1): Added calls to vars_of_dialog_mswindows() and - console_type_create_dialog_mswindows(), to initialize Windows dialog - support. +2000-02-09 Andy Piper - * symsinit.h: Prototyped the above functions. + * gui-msw.c (Fmswindows_shell_execute): Make + mswindows-shell-execute industrial strength. - * dialog-x.c (x_popup_dialog_box): Moved dialog descriptor consistency - checks to dialog.c... +2000-02-08 Martin Buchholz - * dialog.c (Fpopup_dialog_box): ...right here. Added more checks: a - device must support dialog boxes, and the descriptor must supply at - least one button. + * lrecord.h: Make macro argument `props' match member function `plist'. + * fns.c (Fget): + * fns.c (Fput): + * fns.c (Fremprop): + * fns.c (Fobject_plist): + * alloc.c: + * symbols.c: + Object property list frobbing cleanup. + - Allow any lisp object (compared with `eq'), not just symbols, as + keys in object plists. + - Move symbol plist frobbing into symbols.c, where it belongs. + - Move string plist frobbing into alloc.c, where it belongs. + - Everything's an lrecord now, so no need to test for symbolp, etc. + - Fix up doc strings to refer to PROPERTY, not PROPNAME. - * dialog-msw.c: New file, dialogs for Windows. + * extents.c: Reorder code to remove declarations. -1998-05-21 Oscar Figueiredo + * frame.h (store_in_alist): Remove useless declaration. - * eldap.c (ldap_search_unwind): Return Qnil instead of nothing - (Fldap_search_internal): Removed unused variable `err' +2000-02-07 Martin Buchholz - * eldap.h: Moved Lisp_LDAP declaration here instead of using a - forward declaration + * event-Xt.c (x_has_keysym): Use XConvertCase only if available. + * config.h.in: Add HAVE_XCONVERTCASE. -1998-05-17 Martin Buchholz +2000-02-07 Andy Piper - * eldap.h: eldap.[ch] should never be used unless HAVE_LDAP is - defined. Therefore there is no need to handle the case when - HAVE_LDAP is undefined. Similarily, there is no reason to have - any code wrapped within `#ifdef emacs', since this code is only - useful within an emacs. This simplifies the code significantly. + * glyphs.c (image_instance_layout): undo 2000-01-29 change since + it breaks many things. - * inline.c: Include eldap.h only if HAVE_LDAP. - * inline.c: Don't bother including TT_C_H_PATH, since tooltalk.h - already does that. +2000-02-07 Jan Vroonhof -1998-05-21 Kirill M. Katsnelson + * src/syntax.h (SYNTAX_START_P): Check whether the two chars + actually can start a common comment type. + * src/syntax.h (SYNTAX_END_P): ditto for end. - * unexnt.c (copy_executable_and_dump_data_section): Suppress - printing dump stats when building without DEBUG_XEMACS. - (dump_bss_and_heap): Ditto. +2000-02-07 Martin Buchholz -1998-05-21 Andy Piper + * XEmacs 21.2.28 is released. - * gnuclient.c: don't suppress window system if there is no display - and we are running under mswindows. send 'mswindows device type if - we are in this situation. +2000-02-06 Martin Buchholz -1998-05-20 Andy Piper + * event-Xt.c (x_keysym_to_character): New. + (maybe_define_x_key_as_self_inserting_character): New. + (x_has_keysym): New. + Auto-define all keys on the keyboard as self-insert-key. - * general.c: - * lisp.h: Qbitmap, Qcursor, Qicon moved here from glyphs-msw.c. +2000-02-02 Martin Buchholz - * glyphs-msw.c: change cursor imgae type name to resource. Fix - some nits. + * menubar.c (vars_of_menubar): A small code simplification. -1998-05-20 Kirill M. Katsnelson + * minibuf.c (echo_area_append): Workaround egcs-20000131 c++ compiler bug - * EmacsFrame.c (Xt_StringToScrollBarPlacement): Added support for - {top,bottom}-{left,right} values in addition to - {top,bottom}_{left,right}. + * ExternalShell.c: + * ExternalClient.c: + * EmacsShell-sub.c: + * EmacsManager.c: + * EmacsFrame.c: + Use consistent style for specifying X resources. -1998-05-18 Hrvoje Niksic + * symbols.c (Fset): Further implement SYMVAL_LISP_MAGIC. + This makes (dontusethis-set-symbol-value-handler) actually usable. - * fileio.c (Fmake_temp_name): Remove unreached code. + * lrecord.h (lrecord_decription_type): + * alloc.c (pdump_register_sub): + (pdump_dump_data): + (pdump_reloc_one): + Add XD_LISP_OBJECT_ARRAY to describe multiple Lisp_Objects. + Comply with XEmacs coding style. + All lrecord descriptions updated to use XD_LISP_OBJECT with 2 + args, and XD_LISP_OBJECT_ARRAY with 3 args. - * process-nt.c (validate_signal_number): Use - signal_simple_error(). + * keymap.c (Faccessible_keymaps): + Make (accessible-keymaps map "\C-h") do the Right Thing. + Make (accessible-keymaps map []) do the Right Thing. + Make (accessible-keymaps map "") do the Right Thing. + (check_keymap_definition_loop): New function. + (keymap_store_internal): Keep luser from shooting self in foot, + via (define-key ctl-x-4-map "p" global-map). + Remove fullness slot from struct Lisp_Keymap, since hash tables + are now reliable. + (print_keymap): Remove 'Yuck' factor by simply printing "size %d". -1998-05-19 Martin Buchholz +2000-01-30 Martin Buchholz - * unexhp9k800.c: - * sound.c (vars_of_sound): - * sysdep.c (reset_sigio_on_device): - * window.c (window_bottom_gutter_height): - unexhp9k800.c:258: warning: implicit declaration of function - `calculate_checksum' - sound.c:604: warning: implicit declaration of function `vars_of_hpplay' - sysdep.c:1012: warning: unused variable `owner' - window.c:993: warning: `window_right_toolbar_width' defined but not used + * redisplay.c (init_redisplay): Fix small memory leak. + * elhash.h: + * elhash.c (pdump_reorganize_hash_table): + Rename from reorganize_hash_table. Change prototype. + Reuse the original memory for hentries. Save 100k. + * alloc.c (PDUMP_READ): new macro. + * alloc.c (pdump_load): Replace LISP_TO_VOID with higher-level macros. + * alloc.c: No need to #ifndef before #undef. -1998-05-19 Andy Piper + * print.c: Allow debug_print() to print readably by modifying + debug_print_readably. Use consistent variable names. - * glyphs-msw.c (mswindows_create_resized_mask) - (mswindows_create_resized_bitmap): new funnctions split out from - mswindows_resize_dibitmap_instance. + * .dbxrc: Try to get things to work even if stopped in a function + without source available by explicitly specifying source files. +2000-02-03 Kirill 'Big K' Katsnelson - * glyphs-msw.h: declare new resize functions. + * unexnt.c (_start): Removed bogus code which caused loading heap + from differrent executable file. + Removed bogus assignment to _fmode, which caused inconsistencies. - * toolbar-msw.c (mswindows_output_toolbar): use new bitmap resize - functions so that the original bitmaps are preserved. +2000-02-03 Kirill 'Big K' Katsnelson - * sheap.c: fixup static heap exhausted error to avoid FAQs. + * s\windowsnt.h: Removed lots of #if 0 blocks of Emacs heritage. + Have spawnve encapsulation regard DONT_ENCAPSULATE. + Do not preliminary `#define signal sigset'. - * redisplay-msw.c (mswindows_output_blank): fixup brush from bg - color if we are trying to output 0 depth bg pixmap. + * systime.h: Do not prototype environ on windows nt and cygwin, + this conflicts with system header. - * scrollbar-msw.c: warning elimination. + * syssignal.h: Use correct define for WINDOWSNT -1998-05-18 Martin Buchholz + * sysdep.h: Do not prototype environ on windows nt, this conflicts + with system header. - * frame-x.c (x_update_frame_external_traits): Start preprocessor - directives in column 1. + * sysdep.c (near start of file): Fixed commentary and rearranged + ifdefs in readable order. + (NEED_STARTS): Do not force NEED_STARTS when PDUMPing. + (start_of_text): + (end_of_text): + (end_of_data): Do not compile in if using PDUMP. - * search.c (skip_chars): Avoid using xzero with arrays, since some - compilers get confused by the construct &array. + * symsinit.h: Protptyped vars_of_nt(). -1998-05-18 Kirill M. Katsnelson + * ntproc.c (windows9x_p): Added, instead of os_subtype. + (find_child_console): Use it. + (sys_kill): Use it. - * objects-msw.h: - * objects-msw.c: Changed the charset value for a new font from - "don't care" to "ansi". + * ntheap.h: Do not extern os_subtype. - * glyphs-msw.c (convert_EImage_to_DIBitmap): Warnings fix. + * ntheap.c (cache_system_info): Do not cache unneeded: + nt_major_version, nt_minor_version and os_subtype. + (recreate_heap): Do not compile in when PDUMPing. -1998-05-18 Kirill M. Katsnelson + * nt.c (geteuid and friends): Use the new varibale + nt_fake_unix_uid, instead of hashing fake uid out of NT RID. + (init_user_info): Removed the above mentioned hackery. + (fstat, stat): Do not compile in if using MSVC 5.0 and above - + stat has been fixed in the C runtime. + (vars_of_nt): Added, defined the nt_fake_unix_uid variable there. - * event-msw.c (mswindows_wnd_proc, WM_KEYDOWN): Do not clear shift - modifier on control chars. - Use IsCharAlpha() instead of isaplha(). + * file-coding.c (struct file_coding_dump): Do not define + ucs_to_mule_table in the struct if not MULE. + (struct struct lrecord_description fcd_description_1): Do not dump + the above. -1998-05-19 Kazuyuki IENAGA + * emacs.c (main_1): Call vars_of_nt(). + (right before Fdump_emacs_data): Don't need lastfile if using both + portabe dumper and system malloc. - * s/freebsd.h: FreeBSD 2.2.6 now supports setlocale(LC_ALL, ""). + * alloc.c (Fmemory_limit): Conditionalized out. + (pdump): Use OPEN_BINARY for the portable dump file. + (pdump_load): Ditto. -1998-05-18 Kirill M. Katsnelson +2000-02-02 Mike Alexander - * objects-msw.c (mswindows_initialize_font_instance): Use ANSI - charset when creating font. - (mswindows_initialize_color_instance): Do not create brush along - with a color. - (mswindows_finalize_color_instance): Do not delete it then. + * nt.c (convert_time): Set tm_isdst before calling mktime and + avoid calling it at all if the compiler supports 64 bit integers. + Also initialize utc_base_ft before using it. - * objects-msw.h (struct mswindows_color_instance_data): Removed - brush slot, and corresponding accessor macro. +2000-02-03 Daiki Ueno -1998-05-18 Kirill M. Katsnelson + * frame.c (change_frame_size_1): Take f->internal_border_width + into consideration when calculating the width of the frame. - * toolbar.c: Removed toolbar_data lrecord implementation. - (mark_frame_toolbar_buttons_dirty): Replase usage of toolbar_data - with toolbar_buttons (via FRAME_TOOLBAR_BUTTONS). - (compute_frame_toolbar_buttons): Ditto. - (CHECK_TOOLBAR): Ditto. - (set_frame_toolbar): Removed allocation of toolbar_data lrecord. - (update_frame_toolbars): Do not check for changed buffer - here. Toolbar information is provided by cached specs in - windows. The check for buffer is eliminated becuase toolbars are - marked changed in set_frame_selected_window() in frame.c - Added check for changed toolbars geometry. - (compute_frame_toolbars_data): Removed unused second parameter; - Adjusted callers of this static function throughout the file. - (init_frame_toolbars): Initialize current_toolbar_size. - (update_frame_toolbars): Use DEVICE_SUPPORTS_TOOLBARS_P instead of - what is its current expansion, for clarity. - (init_frame_toolbars): Ditto. - (init_device_toolbars): Ditto. - (init_global_toolbars): Ditto. +2000-02-01 Kirill 'Big K' Katsnelson - * toolbar.h: Removed definition of toolbar_data lrecord. - Added accessor macros FRAME_TOOLBAR_BUTTONS and - FRAME_CURRENT_TOOLBAR_SIZE. - Added macro DEVICE_SUPPORTS_TOOLBARS_P. + * window.c (frame_min_height): + (frame_size_valid_p): + (frame_pixsize_valid_p): Added. + (check_frame_size): Generalized. - * toolbar-x.c (x_output_toolbar): The same change as in - toolbar-msw.c - (x_output_toolbar): Ditto. - (x_redraw_exposed_toolbar): Ditto. + * window.h: Prototyped the above. - * toolbar-msw.c (mswindows_output_toolbar): Retrieve current - buttons from toolbar_buttons using FRAME_TOOLBAR_BUTTONS macro. - (mswindows_output_toolbar): Ditto. - (mswindows_output_toolbar): Ditto. + * lisp.h: + * general.c: Added Qbottom_margin, Qduplex, Qlandscape, + Qleft_margin, Qorientation, Qportrait, Qright_margin, Qtop_margin. + Deleted Vwin32_* and Vbinary_process_* unused variables. - * frame.c (mark_frame): Removed marking of arrays, according to - frameslots.h change. - (nuke_all_frame_slots): Ditto. - (set_frame_selected_window): Mark toolbars changed when - last_nonminibuf_window changes. + * device-msw.c (msprinter_init_device): Do not get printer font + list; Added DEVMODE functions. - * frame.h (struct frame): Moved some slots to frameslots.h. - Added current_toolbar_size array. - Changed references from toolbar_data to toolbar_buttons in macros - FRAME_RAW_THEORETICAL_TOOLBAR_VISIBLE, - FRAME_RAW_THEORETICAL_TOOLBAR_SIZE and - FRAME_RAW_THEORETICAL_TOOLBAR_BORDER_WIDTH. + * frame-msw.c: Added lots of printer code. - * frameslots.h: Added macro MARKED_SLOT_ARRAY a la winslots.h - Moved arrays of lisp objects here from frame.h: toolbar_size, - toolbar_visible_p, toolbar_border_width. - Removed toolbar_data slot and added toolbar_buttons. + * faces.c: Moved 'left-margin and 'right-margin defsymbols to + general.c. -1998-05-17 Kirill M. Katsnelson + * console-msw.h: Added more msprinter device private slots. - * symsinit.h: Externed syms_of_process_nt() +2000-02-01 Kirill 'Big K' Katsnelson - * emacs.c (main_1): Call syms_of_process_nt() + * event-msw.c (key_needs_default_processing_p): Added. + (mswindows_wnd_proc, WM_KEYUP, KEYDOWN): Call it. - * process-nt.c: Quote process arguments by a call to Lisp function - `nt-quote-process-args'. - (syms_of_process_nt): New function. - (nt_send_process): Flush data stream after each write, to avoid - leaving buffered data. - (nt_send_process): When blocked on process output, wait for - process to slurp more for progressively increasing time intervals. +2000-01-29 Kirill 'Big K' Katsnelson -1998-05-17 Martin Buchholz + * glyphs.c (image_instance_layout): Mark image instance as clean + after layout. + (glyph_dirty_p): Removed redundant function. + (invalidate_glyph_geometry_maybe): Added. + (update_glyph_cachel_data): Call it. - * window.c (have_undivided_common_edge): Make file-local function - static. - (map_windows): Return 0 if all map functions successful. - Fix typos. + * glyphs.h: Prototyped it. - * winslots.h: Use unlikely names for local variables in macros to - avoid shadowing warnings. + * redisplay.c (add_glyph_rune): Call it. + (redisplay_window): Reset glyphs cachels when frame faces has + changed, thus forcing recomputation of built-in border glyphs. -1998-05-17 Andy Piper +2000-01-30 Martin Buchholz - * toolbar-msw.c (mswindows_output_toolbar): hash on toolbar width - so that we re-output if the toolbar size has changed. + * Makefile.in.in: Make portable dumper and purify play well together. + Add imperfect, but better than nothing, support for pdump. + Remove xemacs.dmp when temacs is re-generated. + Don't ignore errors when dumping xemacs. -1998-05-17 Michael Sperber [Mr. Preprocessor] + * symbols.c (maybe_call_magic_handler): Remove one magic number. - * s/aix4-2.h (ALIGN_DATA_RELOC): Undefined to support new unexaix.c. +2000-01-28 Andy Piper - * s/aix3-1.h (ALIGN_DATA_RELOC): Defined to support new unexaix.c. + * frame.c (allocate_frame_core): Use new Fset_window_buffer signature. + (setup_normal_frame): ditto. + (setup_frame_without_minibuffer): ditto. + (setup_minibuffer_frame): ditto. + (delete_frame_internal): ditto. + (Fmake_frame_invisible): ditto. + (Ficonify_frame): ditto. - * unexaix.c: Massive cleanup and support of AIX 4.2 (and hopefully - greater). + * window.h: change Fset_window_buffer signature. -1998-05-16 Kirill M. Katsnelson + * window.c (Fsplit_window): Use new Fset_window_buffer signature. + (Fset_window_buffer): allow recording of buffer if the window is + the selected window. + (window_loop): Use new Fset_window signature. - * glyphs-msw.c: Defined OEMRESOURCE before including windows.h to - get bitmap manifest constants defined. +2000-01-23 Daniel Pittman - * console-msw.h: Include system files in angle brackets, not in - quotes. + * config.h.in: Added template for `HAVE_ATHENA_3D' - * window.c (specifier_vars_of_window): Fixed a typo in - `vertical-divider-line-width' docstirng. +2000-01-29 Andy Piper -1998-05-16 Olivier Galibert + * glyphs-x.c (x_resize_subwindow): Try and catch bogus resizes. - * line-number.c (delete_invalidate_line_number_cache): Use an - EMACS_INT. - (buffer_line_number): Remove dangerous, plain wrong when using - 64bits emacs ints, cast. + * gutter.c (output_gutter): Don't output if the window isn't live. - * insdel.c (buffer_delete_range): Use an EMACS_INT. +2000-01-28 Kirill 'Big K' Katsnelson - * cmds.c (Fforward_line): Use EMACS_INTs. + * glyphs-msw.c (mswindows_unmap_subwindow): Fix of corrupted patch + of 01/12/00: Moved SetFocus back here where it belongs. - * search.c (bi_scan_buffer): Change to use EMACS_INTs. - (scan_buffer): Ditto. - (bi_find_next_newline_no_quit): Remove useless cast. - (find_next_newline_no_quit): Ditto. - (find_next_newline): Ditto. - (find_before_next_newline): Use an EMACS_INT. +2000-01-23 Andy Piper - * lisp.h: Change scan_buffer to pass EMACS_INTs. + * s/cygwin32.h: declare printer things. -1998-05-16 Hrvoje Niksic +2000-01-26 Andy Piper - * menubar-msw.c (mswindows_handle_wm_command): Ditto. + * select.c (Fown_selection_internal): GCPRO bug fix from Mike + Alexander. - * toolbar-msw.c (mswindows_handle_toolbar_wm_command): Ditto. +2000-01-24 Andy Piper - * gui-x.c (popup_selection_callback): Use it. + * glyphs-msw.c (mswindows_locate_pixmap_file): Expand filename. + (mswindows_button_instantiate): Make sure glyph is a pixmap. - * gui.h (get_callback): Declare it. + * glyphs-widget.c (widget_instantiate): Avoid shadows. - * gui.c (get_callback): New function. + * frame-msw.c (msprinter_init_frame_3): Nuke warning. -1998-05-15 SL Baur + * glyphs-msw.c: (mswindows_string_to_color): remove declaration. - * window.c (have_undivided_common_edge): Guard scrollbar specific - stuff. - (window_needs_vertical_divider_1): Ditto. + * redisplay-msw.c (mswindows_output_cursor): Avoid shadows. + (mswindows_output_display_block): Avoid local shadows. -1998-05-16 Hrvoje Niksic + * event-msw.c (mswindows_enqueue_magic_event): Avoid shadows. + (mswindows_enqueue_mouse_button_event): ditto. + (mswindows_handle_gui_wm_command): remove declaration. - * emacs.c (decode_path): Eliminate compiler warning. - (Fdecode_path): Renamed to Fsplit_path. - (Fsplit_string_by_char): New function. + * console-msw.c (mswindows_canonicalize_console_connection): Avoid + warnings. -1998-05-14 Damon Lipparelli + * console-msw.h: Avoid shadows. + (mswindows_get_toolbar_button_text): + (emacs_mswindows_create_stream_pair): + (emacs_mswindows_delete_stream_pair): + (mswindows_handle_toolbar_wm_command): declare. - * winslots.h: close comment + * device-msw.c (build_syscolor_string): Avoid shadows. -1998-05-16 Kirill M. Katsnelson +2000-01-23 Andy Piper - * callproc.c: Removed declared and unused variable Qbuffer_file_type. + * glyphs-widget.c (widget_instantiate): reverse the items for + layouts so that children are in the expected order. - * bufslots.h: Removed buffer_file_type slot. +2000-01-28 Martin Buchholz - * buffer.c (complex_vars_of_buffer): Removed buffer_file_type from - buffer local flags. - (complex_vars_of_buffer): Removed buffer-file-type variable and - its default reference. + * ralloc.c: safe_bcopy ==> memmove + * gmalloc.c: Remove MEMMOVE_MISSING conditional code. + * s/msdos.h: Remove BCOPY macros. + * insdel.c (gap_right): Remove BCOPY conditional code. + * insdel.c (gap_left): Remove BCOPY conditional code. + XEmacs demands a working ANSI C compiler - hence memmove. -1998-05-15 Kirill M. Katsnelson + * regex.c (regex_compile): Remove accidental use of trigraphs. - * faces.c (complex_vars_of_faces): Defined - Vvertical_divider_face. - (vars_of_faces): Staticpro it. +2000-01-27 Kirill 'Big K' Katsnelson - * faces.h: Externed Vvertical_divider_face. + * event-msw.c (mswindows_enqueue_misc_user_event): Initialize + event timestamp. - * redisplay-x.c (x_output_vertical_divider): Use - Vvertical_divider_face to draw the divider instead of modeline - face. +2000-01-26 Kirill 'Big K' Katsnelson - * redisplay-msw.c (mswindows_output_vertical_divider): Draw - divider face using Vvertical_divider_face background. - Fix drawing spacing gaps around the divider. + * event-msw.c (mswindows_drain_windows_queue): Added the + parameter. + (mswindows_need_event): Commented the call to + mswindows_drain_windows_queue(). + (emacs_mswindows_quit_p): Lookup the windows for keyboard messages + only. -1998-05-14 Didier Verna + * console-msw.h: Moved a few function prototypes here from + event-msw.c. - * redisplay-x.c (x_output_vertical_divider): removed hard-wired - values for the vertical divider line width and spacing. Use the - cached values from the window structure instead. - (x_divider_width): ditto. + * gui-msw.c (mswindows_handle_gui_wm_command): Changed the ID + parameter from unsigned short to unsigned long. + (Fmswindows_shell_execute): Added return value. - * window.c (specifier_vars_of_window): new specifiers: - vertical-divier -line-width and -spacing. - (vertical_divider_global_width_changed): formerly known as - vertical_divider_shadow_thickness_changed. +2000-01-27 URA Hiroshi - * winslots.h: new slots: vertical_specifier _line_width and - _spacing. Plus corrected a comment typo. + * sysdep.c (init_system_name): + process-unix.c (unix_canonicalized_host_name): + Don't call freeaddrinfo() if getaddrinfo() fails. -1998-05-15 Kirill M. Katsnelson + * process-unix.c (unix_open_unix_network_stream): + Moved the code to get a port # into address loop. - * window.h: Declared window_divider_width(). +2000-01-27 Martin Buchholz - * console-stream.c (stream_divider_width): Removed method. - (console_type_create_stream): And declaration for it. + * buffer.c (reinit_vars_of_buffer): + The right place to initialize conversion_in_dynarr and + conversion_out_dynarr. - * redisplay.c (pixel_to_glyph_translation): Use - window_divider_width() instead of divider_width redisplay method. - (pixel_to_glyph_translation): Fix top divider edge calculation - when scrollbar is on top. + * alloc.c (pdump): Use the real open() till sys_open() is functional. - * window.c (window_divider_width): New function, an outphaser for - divider_width redisplay method. - (window_right_gutter_width): Use it. - (specifier_vars_of_window): For vertical-divider-{spacing,line-width} - specifiers, set fallback values differently on TTYs, and document - the behavior of these on TTYs in the docstrings. + * process-unix.c (unix_canonicalize_host_name): Muleize. + (unix_open_network_stream): Muleize. - * scrollbar.c (update_scrollbar_instance): Use - window_divider_width() instead of divider_width redisplay method. + * buffer.h: Fix up prototypes for ralloc.c functions. - * console.h (struct console_methods): Removed divider_width_method. +2000-01-27 URA Hiroshi + * config.h.in: added HAVE_GETADDRINFO and HAVE_GETNAMEINFO + * sysdep.c: In init_system_name(), add code to use getaddrinfo() + instead of gethostbyname() + * process-unix.c: In unix_canonicalize_host_name() and + unix_open_network_stream(), add code to use getaddrinfo() + instead of gethostbyname(). - * redisplay-tty.c (tty_divider_width): Removed device method. - (console_type_create_redisplay_tty): Removed definition for it. - (tty_output_vertical_divider): Respect the value returned by - window_divider_width thus divider line width specification. +2000-01-27 Daniel Pittman - * redisplay-msw.c (mswindows_divider_width): Removed device method. - (console_type_create_redisplay_mswindows): Removed definition for it. - (mswinodws_output_vertical_divider): Respect the value returned by - window_divider_width thus divider line width specification. + * device-x.c (x_init_device): Warn at run-time if using Athena 3d + libs when built with flat Athena. -1998-05-15 Andy Piper +2000-01-27 Martin Buchholz - * toolbar-msw.c: guess toolbar frame size a bit more accurately. + * ralloc.c: Replace SIZE (conflicts with Windows headers) with size_t. + Use coding standards for function prototypes. -1998-05-15 Andy Piper +2000-01-25 Martin Buchholz - * glyphs-msw.c: resource loading implementation. - (cursor_normalize): new function. - (cursor_validate): ditto. - (cursor_instantiate): ditto. - (cursor_name_to_resource): ditto. - (cursor_possible_dest_types): ditto. - (check_valid_symbol): ditto. - (check_valid_string_or_int): ditto. + * dialog-msw.c (push_lisp_string_as_unicode): + * doc.c (unparesseuxify_doc_string): + * dired.c (Fuser_name_completion_1): + * dired.c (Fuser_name_all_completions): + * dired.c (free_user_cache): + * dired.c (user_name_completion): + * console-x.c (get_display_arg_connection): + * minibuf.c (clear_echo_area_internal): + * minibuf.c (echo_area_append): + * eldap.c (Fldap_open): + * eldap.c (Fldap_search_internal): + * frame-x.c (x_set_frame_text_value): + * frame-x.c (x_set_frame_properties): + * frame-x.c (x_create_widgets): + * redisplay-tty.c (term_get_fkeys_1): + * objects-x.c (x_parse_nearest_color): + * objects-x.c (x_valid_color_name_p): + * objects-x.c (x_initialize_font_instance): + * objects-x.c (x_list_fonts): + * objects-x.c (x_find_charset_font): + * tooltalk.c (Fadd_tooltalk_message_arg): + * tooltalk.c (Fadd_tooltalk_pattern_attribute): + * tooltalk.c (Fadd_tooltalk_pattern_arg): + * process-unix.c (unix_create_process): + * ntproc.c (sys_spawnve): + * sound.c (Fplay_sound_file): + * sound.c (Fplay_sound): + * buffer.c (init_initial_directory): + * buffer.c (init_buffer): + * editfns.c (init_editfns): + * editfns.c (Ftemp_directory): + * editfns.c (Fuser_full_name): + * editfns.c (uncache_home_directory): + * editfns.c (get_home_directory): + * editfns.c (Fuser_home_directory): + * editfns.c (Fformat_time_string): + * editfns.c (Fcurrent_time_string): + * gui-x.c (button_item_to_widget_value): + * database.c (Fopen_database): + * event-Xt.c (x_to_emacs_keysym): + * event-Xt.c (x_event_to_emacs_event): + * event-Xt.c (describe_event_window): + * event-msw.c (mswindows_wnd_proc): + * glyphs-eimage.c (jpeg_instantiate): + * glyphs-eimage.c (gif_instantiate): + * glyphs-eimage.c (png_instantiate): + * glyphs-eimage.c (tiff_instantiate): + * glyphs-x.c (xbm_instantiate_1): + * glyphs-x.c (x_xbm_instantiate): + * glyphs-x.c (x_xface_instantiate): + * glyphs-x.c (autodetect_instantiate): + * glyphs-x.c (cursor_font_instantiate): + * glyphs-x.c (x_widget_instantiate): + * glyphs-x.c (x_widget_set_property): + * glyphs-x.c (x_widget_property): + * glyphs-x.c (BUILD_GLYPH_INST): + * print.c (write_string_to_stdio_stream): + * print.c (output_string): + * print.c (Falternate_debugging_output): + * print.c (Fexternal_debugging_output): + * glyphs-msw.c (extract_xpm_color_names): + * glyphs-msw.c (mswindows_xpm_instantiate): + * glyphs-msw.c (bmp_instantiate): + * glyphs-msw.c (resource_name_to_resource): + * glyphs-msw.c (mswindows_resource_instantiate): + * glyphs-msw.c (xbm_instantiate_1): + * glyphs-msw.c (mswindows_xbm_instantiate): + * glyphs-msw.c (mswindows_xface_instantiate): + * glyphs-msw.c (mswindows_widget_instantiate): + * glyphs-msw.c (add_tree_item): + * glyphs-msw.c (add_tab_item): + * glyphs-msw.c (mswindows_combo_box_instantiate): + * glyphs-msw.c (mswindows_widget_property): + * glyphs-msw.c (mswindows_combo_box_property): + * glyphs-msw.c (mswindows_widget_set_property): + * console.c (stuff_buffered_input): + * objects-msw.c (mswindows_initialize_color_instance): + * objects-msw.c (mswindows_valid_color_name_p): + * objects-msw.c (mswindows_list_fonts): + * objects-msw.c (mswindows_font_instance_truename): + * bytecode.c (optimize_compiled_function): + * select-x.c (symbol_to_x_atom): + * select-x.c (x_atom_to_symbol): + * select-x.c (hack_motif_clipboard_selection): + * select-x.c (selection_data_to_lisp_data): + * select-x.c (lisp_data_to_selection_data): + * select-x.c (Fx_get_cutbuffer_internal): + * select-x.c (Fx_store_cutbuffer_internal): + * buffer.h (TO_EXTERNAL_FORMAT): New function. + * buffer.h (TO_INTERNAL_FORMAT): New function. + * emacs.c (make_arg_list_1): + * emacs.c (make_argc_argv): + * emacs.c (main_1): + * emacs.c (Fdump_emacs): + * emacs.c (split_string_by_emchar_1): + * file-coding.h: + * lisp.h: + * lstream.h: + * symsinit.h: + * device-x.c (x_init_device): + * device-x.c (Fx_valid_keysym_name_p): + * device-x.c (Fx_get_font_path): + * device-x.c (Fx_set_font_path): + * glyphs.c (bitmap_to_lisp_data): + * glyphs.c (pixmap_to_lisp_data): + * alloc.c (make_ext_string): Use coding system arguments. Update + all callers. + * alloc.c (build_string): + * callproc.c (child_setup): + * callproc.c (init_callproc): + * fileio.c (lisp_strerror): + * fileio.c (directory_file_name): + * fileio.c (Fexpand_file_name): + * fileio.c (Ffile_truename): + * fileio.c (Fsysnetunam): + * fileio.c (Fdo_auto_save): + * sysdep.c (sys_readdir): + * tests.c: New file. Allow adding C tests. + Replace GET_* macros with a more comprehensible and flexible + interface, TO_INTERNAL_FORMAT() and TO_EXTERNAL_FORMAT(). + Modify all calls. + Any coding system can be used to do format conversion. + Eliminate enum external_data_format. + Eliminate convert_to_external_format. + Eliminate convert_to_internal_format. + Make sure file-name, keyboard, terminal, and ctext are always + defined as coding systems or aliases. Make + file-name-coding-system, terminal-coding-system, and + keyboard-coding-system magical variables that are equivalent to + defining the corresponding coding system aliases. + + * file-coding.c (Fcoding_system_canonical_name_p): New function. + * file-coding.c (Fcoding_system_alias_p): New function. + * file-coding.c (Fcoding_system_aliasee): New function. + * file-coding.c (append_suffix_to_symbol): New function. + * file-coding.c (dangling_coding_system_alias_p): New function. + * file-coding.c (Ffind_coding_system): + * file-coding.c (Fcopy_coding_system): + * file-coding.c (encode_coding_no_conversion): + * file-coding.c (syms_of_file_coding): + * file-coding.c (vars_of_file_coding): + Rewrite coding system alias code. + Allow nested aliases, like symbolic links. + Allow redefinition of coding system aliases. + Prevent existence of dangling coding system aliases. + + * dired.c (Fuser_name_completion_1): + * dired.c (Fuser_name_all_completions): + A crash would happen if user did QUIT in the middle of building + user_name_cache. Remove redundant code in mainline and unwind_protect. -1998-05-14 Martin Buchholz + * lisp.h: + * dynarr.c (Dynarr_min_size): Make static. Increase value to 8. - * sysdep.c (tty_init_sys_modes_on_device): Treat VSUSP just like - VINTR and VQUIT. + * lstream.c (make_fixed_buffer_input_stream): Take a void *, not + an unsigned char *. Update all callers. - * process-unix.c (process_signal_char): Use VSUSP instead of - non-standard VSWTCH. Always prefer VSUSP to VSWTCH. +2000-01-26 Kirill 'Big K' Katsnelson -1998-05-14 Kirill M. Katsnelson + * callproc.c (Fcall_process_internal): Ignore Vbinary-process_output. - * specifier.c (specifier_instance): Change locale precedence of - instantiation so window locale has higher priority than buffer - locale. - (Fspecifier_instance): Reflect this in docstring. - (Fadd_spec_list_to_specifier): Ditto. - (Fadd_spec_to_specifier): Ditto. - (Fremove_specifier): Ditto. +2000-01-25 Martin Buchholz -1998-05-15 Kirill M. Katsnelson + * elhash.c (hentry_description): Use more portable definition. + (resize_hash_table): Initialize new hentries using + xnew_array_and_zero, thereby simplifying the code. - ** Dialog separation into a device method from Andy Piper + * mule-charset.c (make_charset): Make sure entire object is + intialized, to avoid Purify warnings. - * emacs.c (main_1): Call console_type_create_dialog_x(). + * alloc.c (resize_string): Fix unlikely crash with big strings. - * dialog-x.c (x_popup_dialog_box): Old Fpopup_dialog_box converted - into this device method. - (console_type_create_dialog_x): New function. +2000-01-24 Martin Buchholz - * dialog.c (Fpopup_dialog_box): New function. - (syms_of_dialog): Defsubr it. + * realpath.c (xrealpath): + Don't call getwd(). - * console.h (struct console_methods): Declared - popup_dialog_box_method(). +2000-01-25 Martin Buchholz - * symsinit.h: Defined console_type_create_dialog_{x,mswindows} + * lread.c (read_bit_vector): Fix memory leak reading literal bit vectors. -1998-05-14 Oliver Graf +1999-12-28 Max Matveev - * dragdrop.c (vars_of_dragdrop): dragdrop-protocols created - * frame-x.c (x_cde_transfer_callback): checked for merge errors + * unexelfsgi.c (unexec): Change the way we decide which segment + should be extended. -1998-05-13 Oliver Graf + Assumption that .bss section should be outside the PT_LOADable + segment. On IRIX with version 6.2 and above, .bss (or .sbss, if + it's present) is inside the 'data' segment. This would fail the + test which was used to find a segment to grow and cover new + heap. Instead of this assumption, I created another one - on IRIX + the segment to grow should start below .bss and it's address + should extent above the end of .bss. Once this segment is + identified, it's grown to accommodate the new heap and new + zero-length .bss section is added at the end of .data2. - * dragdrop.c (vars_of_dragdrop): provide dragdrop-api +2000-01-25 Martin Buchholz -1998-05-15 Kirill M. Katsnelson + * eval.c (Feval): Wrong number of arguments should use original + function, not the indirect_function version of it. - * console.h (device_metrics): Removed dbcs, input-method-editor - and right-to-left metrics. +2000-01-24 Yoshiki Hayashi - * device.c (Fdevice_system_metric): Ditto. - (Fdevice_system_metrics): Ditto. - (syms_of_device): Ditto. - (Fdevice_system_metric): Swapped DEVICE and METRIC parameters back - again. + * glyphs-x.c (x_button_instantiate): Don't add image if + it is not a pixmap. + (x_locate_pixmap_file): Call Fexpand_file_name when file name + is relative. -1998-05-14 Hrvoje Niksic +2000-01-21 Yoshiki Hayashi - * line-number.h (mark_line_number_cache): Remove unused + * symeval.h (DEFVAR_LISP_MAGIC): Remove semicolon after macro declaration. + (DEFVAR_INT_MAGIC): Ditto. + (DEFVAR_BOOL_MAGIC): Ditto. + * glyphs.h: Reindent backslash. - * line-number.c (LINE_NUMBER_FAR): Increase to 32768. - (get_nearest_line_number): Simplify. - (add_position_to_cache): Make the old marker point nowhere. +2000-01-24 Martin Buchholz -1998-05-14 Kirill M. Katsnelson + * glyphs-widget.c (layout_query_geometry): + (layout_layout): Use correct types for gheight, gwidth. - ** Renamed window-divider-map => vertical-divider-map - and event-over-divider-p => event-over-vertical-divider-p, - in the following files/functions: - * events.h: - * events.c (Fevent_over_divider_p): - * keymap.c (get_relevant_keymaps): - (vars_of_keymap): +2000-01-24 Martin Buchholz - * redisplay.h (OVER_V_DIVIDER): Renamed so from OVER_DIVIDER. + * EmacsManager.c (QueryGeometry): Purified. - * redisplay.c (pixel_to_glyph_translation): Use OVER_V_DIVIDER. +2000-01-23 Martin Buchholz -1998-05-14 Kirill M. Katsnelson + * alloc.c (make_float): Make sure entire object is intialized, to + avoid Purify warnings. + (pdump_register_sub): Remove useless assignment. + (pdump): Use xmalloc, not malloc. + (pdump_load): Use xmalloc, not malloc. - * window.c (vertical_divider_changed_in_window): Renamed so. - (specifier_vars_of_window): Defined Vvertical_divider_draggable_p. - (window_needs_vertical_divider_1): Decide whether we need it based - on the value of the above specifier. If separators are unwanted, - put them only if there's no scrollbar between this window and its - right neighbor. - (have_undivided_common_edge): New function, helper for the above. - (window_needs_vertical_divider): Return either a cached value, - or clauclate and cache one. - (invalidate_vertical_divider_cache_in_window): Implemented. - (map_windows): Changed return type to int, return the value from - MAPFUN. +2000-01-23 Kirill 'Big K' Katsnelson - * window.h: Prototype invalidate_vertical_divider_cache_in_window. - (struct window): Added need_vertical_divider_p and - need_vertical_divider_valid_p. + * callproc.c: + * dired-msw.c: + * fileio.c: + * process-nt.c: + * redisplay-msw.c: + * sysdep.c: Removed redundant #include - * winslots.h: Added vertical_divider_draggable_p slot. +2000-01-22 Kirill 'Big K' Katsnelson - * scrollbar.c (vertical_scrollbar_changed_in_window): Implemented. - (specifier_vars_of_scrollbar): Used it in all vertical specifiers. + * frame.c (delete_frame_internal): Do not delete device when its + implementation so declares. + (delete_frame_internal): Set device selected frame to nil when + last frame goes away. - * frame.c (invalidate_vertical_divider_cache_in_frame): New function. + * device-msw.c (msprinter_device_system_metrics): Implemented. + (mswindows_device_system_metrics): Added 'device-dpi property. - * frame.h (MARK_FRAME_WINDOWS_STRUCTURE_CHANGED): Call - invalidate_vertical_divider_cache_in_frame(). - Prototype it. + * device.c: (Fdevice_printer_p): Added. + Added 'offset-workspace device metric. -1998-05-14 Andy Piper + * console.h (device_metrics): Declared DM_offset_workspace. - * toolbar-msw.c: provide correct parameters to TB_SETROWS. +2000-01-23 Martin Buchholz - * glyphs-msw.c (mswindows_initialize_image_instance_mask): size - masks correctly and don't select 0. + * fileio.c (Ffile_truename): Remove pointless and confusing + initialization of elen. -1998-05-14 Kirill M. Katsnelson + * glyphs-widget.c: Compiler warning fixes. - * winslots.h: New file, declaration of some struct window and - struct saved_window members. +2000-01-23 Gunnar Evermann - * window.h (struct window): Include it, with required preprocessor - magic. + * process.h (PROCESS_LIVE_P): Modify to take a Lisp_Process + instead of a Lisp_Object as argument to make it consistent with + the other LIVE_P macros. + (CHECK_LIVE_PROCESS): New macro. - * window.c (mark_window): Ditto. - (allocate_window): Ditto. - (struct saved_window): Ditto. - (mark_window_config): Ditto. - (saved_window_equal): Ditto. - (Fset_window_configuration): Ditto. + * process.c: Declare Qprocess_live_p. + (Fprocess_live_p): New function. + (create_process): Use PROCESS_LIVE_P. + (read_process_output): Ditto. + (set_process_filter): Ditto. + (Fdelete_process): Ditto. + (kill_buffer_processes): Ditto + (process_send_signal): Use CHECK_LIVE_PROCESS. + (Fprocess_input_coding_system): Check whether process is still + alive (fix PR#1061). + (Fprocess_output_coding_system): Ditto. + (Fprocess_coding_system): Ditto. + (Fset_process_input_coding_system): Ditto. + (Fset_process_output_coding_system): Ditto. -1998-05-14 Kirill M. Katsnelson +2000-01-23 Andy Piper - * redisplay-msw.c (mswindows_output_vertical_divider): Syntax fix. + * glyphs.h (struct Lisp_Image_Instance): change format by unifying + layout and widget. -1998-05-12 Didier Verna + * glyphs.c (mark_image_instance): take into account changed + image_instance format. + (image_instance_equal): ditto. + (image_instance_hash): ditto. - * redisplay-x.c (x_output_vertical_divider): draw shadows around - the divider line. The shadow thickness is currently - hard-wired. This will probably be turned into a specifier soon. + * glyphs-widget.c (widget_instantiate): Incorporate layout + instantiation here. Delay layout of the layout until later. + (layout_instantiate): deleted. + (layout_query_geometry): new function. get the geometry of a + layout. + (layout_layout): layout a layout dynamically. + (image_instantiator_widget): New function - splitting up + image_instantiator_format_create_glyphs_widget for netwinder + compilation. + (image_instantiator_buttons): + (image_instantiator_edit_fields): + (image_instantiator_combo_box): + (image_instantiator_scrollbar): + (image_instantiator_progress_guage): + (image_instantiator_tree_view): + (image_instantiator_tab_control): + (image_instantiator_labels): + (image_instantiator_layout): ditto. + (image_instantiator_format_create_glyphs_widget): Call preceeding + functions. -1998-05-12 Didier Verna +2000-01-22 Martin Buchholz - * console.h (struct console_methods): the divider_width console - method now requires a struct window * argument. + * process.c (Fset_process_coding_system): + * device-x.c (Fx_keysym_hash_table): + Docstring fixes. - * redisplay-x.c (x_divider_width): ditto. Plus remove - X_DIVIDER_WIDTH, X_DIVIDER_SHADOW_THICKNESS. - (x_output_vertical_divider): give a depressed look when the shadow - thickness is negative. + * lstream.c (Lstream_write): Return documented value, not 0. - * console-stream.c (stream_divider_width): pass a struct window * - argument. + * fileio.c (directory_file_name): + (Fsubstitute_in_file_name): + (Fsubstitute_insert_file_contents_internal): + (Fwrite_region_internal): + * emacs.c: + * sysdep.c: + * getloadavg.c: + * systty.h: + Remove vestigial APOLLO-conditional code. + +2000-01-21 Martin Buchholz + + * getpagesize.h: Add guard macros. + * libsst.h: Add guard macros. + * libst.h: Add guard macros. + * line-number.h: Add guard macros. + * ndir.h: Add guard macros. + * sysfloat.h: Add guard macros. + * sysfile.h: Add guard macros. + * sysproc.h: Add guard macros. + * syswait.h: Add guard macros. + * xintrinsic.h: Add guard macros. + * xintrinsicp.h: Add guard macros. + * xmmanager.h: Add guard macros. + * xmmanagerp.h: Add guard macros. + * xmprimitive.h: Add guard macros. + * xmu.h: Add guard macros. + * gpmevent.h: Add copyright statement. Add guard macros. + * miscplay.h: Add guard macros. + * *.h: Use consistent C-standards-approved guard macro names. + + * opaque.c (make_opaque): Switch parameter order. + * opaque.h (make_opaque): Switch parameter order. + Update all callers. + * buffer.h (MAKE_MIRROR_TRT_TABLE): Use symbolic constant OPAQUE_CLEAR. + + * config.h.in (type_checking_assert): Added. + (bufpos_checking_assert): Added. + +2000-01-21 Martin Buchholz + + * alloc.c: Harmless pdump changes. + - Use countof(). + - spell alignment correctly. + * sysdep.c: Use countof() + +2000-01-20 Kirill 'Big K' Katsnelson + + * console.c (create_console): Use CONMETH_OR_GIVEN when calling + initially_selected_for_input() console method, default to 0. + (semi_canonicalize_console_connection): Try to delegate to + canonicalize_console_connection if no such console method. + (canonicalize_console_connection): Vice versa. + (print_console): Do not print nil connection. + + * console.h (XDEVIMPF_IS_A_PRINTER): Added. + (XDEVIMPF_NO_AUTO_REDISPLAY): Added. + (XDEVIMPF_FRAMELESS_OK): Added. + (CONSOLE_INHERITS_METHOD): Added. + + * console-msw.c (mswindows_canonicalize_console_connection): + Added. + (mswindows_canonicalize_device_connection): Added. + + * console-msw.h (struct msprinter_device): Added this struct and + accessor macros. + (mswindows_device): Made fontlist a lisp object. + + * device.c (semi_canonicalize_device_connection): Try to delegate + to canonicalize_device_connection if no such console method. + (canonicalize_device_connection): Vice versa. + (print_device): Do not print nil connection. + + * device-msw.c (mswindows_init_device): Call InitCommonControls + when have widgets. + (mswindows_delete_device): Removed fontlist deallocation. + (mswindows_mark_device): Added. - * redisplay-tty.c (tty_divider_width): ditto. + * events.c (event_equal): Added abort() at unreached code. + (event_hash): Ditto. - * window.c (window_right_gutter_width): totdi. + * faces.c (complex_vars_of_faces): Added Qmsprinter to the list of + fallback tags of Windows devices. - * redisplay.c (generate_modeline): ittod. + * general.c (syms_of_general): Initialized Qmsprinter. - * scrollbar.c (update_scrollbar_instance): ttido. + * gutter.c (complex_vars_of_gutters): Added Qmsprinter to the list + of fallback tags of Windows devices. - * redisplay-msw.c (mswindows_divider_width): ottid. - WARNING: this enables to compile, but the feature is not functional. + * lisp.h: Declared Qmsprinter. - * window.h (struct window): new field - vertical_divider_shadow_thickness. + * objects-msw.c (font_enum_callback_2): Rewrote to build lisp list + of strings. + (mswindows_list_fonts): Ditto. + (mswindows_enumerate_fonts): Removed dependency on XDEVICE, so + that it can be used by both mswindows and msprinter devices. + (initialize_font_instance): Added. + (mswindows_initialize_font_instance): Use it. + (msprinter_initialize_font_instance): Added. - * window.c (specifier_vars_of_window): new specifier - vertical-divider-shadow-thickness. - (vertical_divider_shadow_thickness_changed): new function to - inform redisplay that the window has changed. - (mark_window): handle new field vertical_divider_shadow_thickness - from struct window. - (allocate_window): ditto. - (saved_window_equal): toddi. - (Fset_window_configuration): totid. - (save_window_save): ttdio. - (struct saved_window): new field vertical_divider_shadow_thickness. + * redisplay.c (redisplay_device): Added the parameter AUTOMATIC + and implementation flags check. + (redisplay_without_hooks): Changed the call to the above. + (Fredraw_device): Ditto. + (Fredisplay_device): Ditto. -1998-05-14 Kirill M. Katsnelson + * redisplay-msw.c (get_frame_dc): Implemented. + (get_frame_compdc): Implemented. + (many functions): Use the two functions above to get device + contexts, ether for a window or a printer. - * device-msw.c (mswindows_device_system_metrics): Support a deluge - of metrics. +2000-01-21 Olivier Galibert -1998-05-12 Oliver Graf + * symbols.c (reinit_symbols_once_early): Put Qzero/Qnull_pointer + initialization here. + (init_symbols_once_early): Call it. + * emacs.c (main_1): Call it. + * symsinit.h: Declare it. - * frame-x.c (x_cde_transfer_callback): fixed for the new protocol - * event-Xt.c (x_event_to_emacs_event): C++ compability +2000-01-19 Olivier Galibert -1998-05-14 Hrvoje Niksic + * alloc.c: Use a lrecord_header * in the backtrace instead of a + Lisp_Object. + (pdump_backtrace): Ditto. + (pdump_register_object): Ditto. Cleanup use of the pointers. + (pdump_get_entry): Abort if trying to register a null pointer. + (pdump_dump_data): Cleanup types when relocating. + (pdump_dump_staticvec): Cleanup types w.r.t the reloc table. + (pdump_dump_rtables): Remove bad casts. + (pdump_load): Cleanup relocation w.r.t union type. Use a + Lisp_Object instead of a EMACS_INT for the hashtable + reorganization. - * emacs.c (Fdecode_path): Default SEPCHAR to value of - path-separator. +2000-01-20 Martin Buchholz -1998-05-14 Hrvoje Niksic + * emacs.c (main_1): Rearrange morass of #ifdef's for correctness. - * emacs.c (vars_of_emacs): Do it here; change the meaning of - Vpath_separator. + * callproc.c (call_process_cleanup): Isolate WINDOWSNT code for clarity. - * fileio.c (vars_of_fileio): Don't define Vpath_separator here. + * EmacsManager.c (GeometryManager): Avoid use of CPP for clarity. -1998-05-14 Hrvoje Niksic + * *.[ch]: global-replace 's/_of_xselect/_of_select_x/g' *.[ch] - * emacs.c (decode_path_1): New function. - (decode_path): Use it. - (Fdecode_path): Renamed from Fdecode_path_internal; use - decode_path_1. +2000-01-17 Kirill 'Big K' Katsnelson -1998-05-12 Hrvoje Niksic + * faces.h (FACE_STRIKETHRU_P): Added. - * macros.c (Fzap_last_kbd_macro_event): New function. - (Fend_kbd_macro): Remove REMOVE_LAST kludge. + * glyphs-msw.c (mswindows_widget_hfont): Implemented, to take care + of font variants. -1998-05-10 Andy Piper + * redisplay-msw.c (mswindows_apply_face_effects): Deleted. + (mswindows_set_dc_font): New function, aware of font variants, + separated from mswindows_update_dc. - * redisplay-msw.c (mswindows_output_dibitmap_region): make sure - multiple bitmaps are output vertically as well as horizontally. - * (mswindows_output_dibitmap): don't cope with bitmap boundaries - crossing lines this is handled by - mswindows_output_dibitmap_region. + * objects-msw.h (struct mswindows_font_instance_data): Added + definition. -1998-05-12 Martin Buchholz + * objects-msw.c (mswindows_finalize_font_instance): Delete all + cached fonts and the data structure. + (mswindows_initialize_font_instance): Added creation of font data + structure. + (mswindows_print_font_instance): Print at least something. + (mswindows_create_font_variant): Implemented. + (mswindows_get_hfont): Implemented. - * inline.c: Include eldap.h +2000-01-13 Fabrice Popineau - * menubar-x.c (x_update_frame_menubar_internal): - Remove: unused variable `container' + * dired-msw.c: permute "sysdir.h" with "sysfile.h" because of + prototyping problem with msvc. -1998-05-11 Martin Buchholz + * emacs.c (main_1): added syms_of_gui_mswindows() call - * s/aix4.h: Allow AIX 4.3 XEmacs to compile cleanly. - Unfortunately, the resulting temacs still cannot dump. + * gui-msw.c: added "mswindows-shell-execute" lisp subr and + syms_of_gui_mswindows() function - * symbols.c (symbol_is_constant): - (verify_ok_for_buffer_local): - -Wswitch Warning suppression - add default case to switches. + * symsinit.h: added the prototype for syms_of_gui_mswindows() - * redisplay.c (decode_mode_spec): Remove unused variables, - Replace Fcoding_system_property (codesys, Qmnemonic) with - XCODING_SYSTEM_MNEMONIC (codesys); - Fcoding_system_property is for users. +2000-01-18 Martin Buchholz - * buffer.c: - * fileio.c: - * lread.c: - * xselect.c: - Change empty docstrings into no doc strings at all. - Fix bogus FSF-format docstrings. + * XEmacs 21.2.27 is released. - * extents.c: - Standardize docstrings. +2000-01-18 Martin Buchholz - * floatfns.c: - Explain problems with matherr. + * glyphs-eimage.c (struct tiff_error_struct): + (tiff_error_func): + (tiff_warning_func): + #if HAVE_VSNPRINTF ==> #ifdef HAVE_VSNPRINTF - * glyphs.c: make DEFUNs etags-readable, i.e. single-line + * unexmips.c: + * unexhp9k3.c: + * unexfreebsd.c: + * unexec.c: Remove vestigial Lucid C code. + * unexalpha.c: + * unexaix.c: + * termcap.c: + * libsst.c: Ansify. + Remove declarations of errno and strerror(). - * syssignal.h: - if BROKEN_SIGIO, then SIGIO wants to be undefined. - if SIGIO and not SIGPOLL, SIGPOLL wants to be SIGIO.\ - Fix the weird resultant interaction (causes windows problems) + * eval.c (Fbacktrace): Small Purify-cation. Fix docstring. - * gdbinit: - * dbxrc: - Take new EMACSBOOTSTRAPLOADPATH into account. - Update documentation strings + * .dbxrc (run-temacs): Use the horrible ${1+"$@"} instead of "$@". - * Makefile.in.in: - - Adjust for luser's CDPATH being set to something weird. - - Take into account bash 2.02's tendency to print the cwd when - using CDPATH. Always use `cd ./foo' instead of `cd foo'. - - fix the run-temacs target to use $(DUMPENV) - - fix the run-puremacs target to use $(DUMPENV) - - fix the `depend' target to properly $(RM) the right files - - Generate a better TAGS file for XEmacs' lisp code using - hand-crafted regexps. - - Use standard coding conventions for modules/Makefile.in +2000-01-16 Martin Buchholz -1998-05-12 Didier Verna + * mule-charset.c (Fchar_octet): Resurrect from earlier in 1999. + Optimize. - * redisplay.c: removed the scrolling modeline code that didn't - make it for 21.0. To be continued ... +2000-01-14 Yoshiki Hayashi -1998-05-13 Michael Sperber [Mr. Preprocessor] + * md5.c: + * file-coding.c: + * file-coding.h: + Change enum eol_type to eol_type_t. - * emacs.c (Fdecode_path_internal): Removed bogus handling of nil - and empty string inputs. +2000-01-17 Yoshiki Hayashi -1998-05-12 Hrvoje Niksic + * gui.c (get_gui_callback): Check cons before accessing car. - * redisplay-x.c (x_output_vertical_divider): Fixed typo. +2000-01-17 Yoshiki Hayashi -1998-05-10 Oliver Graf + * specifier.h (XSPECIFIER_TYPE): Add error checking version. + (XSETSPECIFIER_TYPE): Ditto. - * event-stream.c (enqueue_misc_user_event_pos): created - * lisp.h (enqueue_misc_user_event_pos): prototype added - * frame-x.c (x_cde_transfer_callback): debug code plus API changes - * emacs.c: call vars_of_dragdrop - * dragdrop.c (vars_of_dragdrop): provide dragdrop +2000-01-17 Didier Verna -1998-05-11 Oliver Graf + * redisplay.c (generate_fstring_runes): compute string size in + characters, not bytes. - * frame-x.c (x_cde_transfer_callback): return at correct pos - * event-Xt.c (x_event_to_emacs_event): changed format of drop - object for MIME (see comment in dragdrop.c) - * dragdrop.c: API change documented in comment - removed provide of dragdrop [is provided by dragdrop.el] +2000-01-09 Hrvoje Niksic -1998-05-12 Kirill M. Katsnelson + * window.c (Fwindow_minibuffer_p): Make WINDOW optional. - * window.c (window_needs_vertical_divider): Enable vertical - dividers for every non-rightmost window. - (window_left_gutter_width): Left gutter consists of mythical - toolbar and a virtual scrollbar. - (window_right_gutter_width): The right one may have a divider - also. +2000-01-14 Hrvoje Niksic - * scrollbar.c (update_scrollbar_instance): Position vertical - scrollbar left to divider if the latter present. + * print.c (print_error_message): Call print_prepare(). - * redisplay.h: Declared OVER_DIVIER constant. +2000-01-14 Martin Buchholz - * redisplay.c (pixel_to_glyph_translation): Handle OVER_DIVIDER - case. + * .dbxrc: Renamed from dbxrc. - * redisplay-x.c (x_output_vertical_divider): Output divider along - the right side of the window, down to window bottom. Swapped - foreground and background colors so it is visible by default. + * events.c (event_to_character): + Use `assert (foo)' instead of `if (!foo) abort()' - * redisplay-tty.c (tty_output_vertical_divider): Uncondiionally - stick the divider to the right window side. + * .gdbinit (xtype): Add documentation. + * .gdbinit (check-temacs): New function. + * .gdbinit (check-xemacs): New function. + * dbxrc (check-xemacs): New function. + * dbxrc (check-xemacs): New function. - * redisplay-msw.c (mswindows_redisplay_deadbox_maybe): Fixed - deadbox painting. - (mswindows_divider_width): Ask system for user preferred value. - (mswindows_output_vertical_divider): Always output the divider on - the right side of a window, down to bottom. +2000-01-14 Andy Piper - * keymap.c (get_relevant_keymaps): Route mouse button events which - happened over a window divider through window-divider-map. - (Fkey_binding): Documented that in the docstring. - Defined the variable Vwindow_divider_map. + * glyphs-widget.c (widget_query_geometry): Make sure that we + calculate default dimensions correctly. - * events.c (Fevent_over_divider_p): Added this function. +2000-01-13 Kirill 'Big K' Katsnelson - * events.h: EXFUNed it. + * symsinit.h: Added prototype for reinit_vars_of_frame_mswindows. -1998-05-12 Kirill M. Katsnelson + * event-msw.c (vars_of_event_mswindows): Fixed a mistyped + pdump_wire'd variable. - * toolbar.c (update_frame_toolbars): Re-layout frame windows if - toolbar geometry is suspected to change. + * emacs.c: (main_1): Conditionalized calls to + reinit_vars_of_scrollbar_x and reinit_vars_of_module. -1998-05-11 Jonathan Harris +2000-01-13 Martin Buchholz - * src/device-msw.c - * src/event-msw.c - Condition dnd and dde code on HAVE_DRAGNDROP. + * window.c (Fset_window_configuration): + * sysdep.c (_start): + * input-method-motif.c (res): + * event-Xt.c (Xt_process_to_emacs_event): + Simple compiler warning fixes. -1998-05-11 Hrvoje Niksic + * bytecode.c (funcall_compiled_function): Use the original + function symbol on the backtrace list in preference to the + compiled_function object in error messages. - * events.c (format_event_object): Print space as SPC etc. +2000-01-13 Andy Piper -1998-05-11 Hrvoje Niksic + * glyphs-x.c (update_widget_face): Make sure we update the widget + background as well as foreground. - * print.c (print_internal): In the default case, abort() if - ERROR_CHECK_TYPECHECK. +2000-01-13 Andy Piper - * fileio.c (Fmake_temp_name): Doc fix. + * glyphs.h (struct Lisp_Image_Instance): Move justify and orient + fields to subwindow. + (IMAGE_INSTANCE_SUBWINDOW_JUSTIFY): new macro. + (XIMAGE_INSTANCE_SUBWINDOW_JUSTIFY): ditto. + (IMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto. + (XIMAGE_INSTANCE_SUBWINDOW_ORIENT): ditto. -1998-05-10 Hrvoje Niksic + * glyphs-widget.c (check_valid_tab_orientation): new function. + (initialize_widget_image_instance): zero orientation and + justification. + (widget_instantiate): pick up orientation. + (tab_control_query_geometry): return appropriate values for + vertical tabs. - * xgccache.c (describe_gc_cache): Define only if DEBUG_XEMACS. + * glyphs-msw.c: (mswindows_tab_control_instantiate): assign + appropriate creation flags for left, right and bottom tabs. - * undo.c (Fprimitive_undo): Fixed typo. + * s/cygwin32.h: add tab definitions. -1998-05-11 Hrvoje Niksic +2000-01-12 Kirill 'Big K' Katsnelson - * fns.c (concat): Signal error on integer argument. + * glyphs-msw.c (mswindows_unmap_subwindow): Set focus back to the + frame upon hiding a subwindow. + (mswindows_button_instantiate): Changed the push button style to + BS_PUSHBUTTON. + (mswindows_button_instantiate): Removed button BS_NOTIFY + style. + (mswindows_button_instantiate): Removed redundant check for + a disabled gui item. + (mswindows_button_instantiate): Made use of WS_TABSTOP + consistent: "operable" controls (edit, button, tree, scroll) have + this style, "display-only" ones (static, progress gauge) do + not. This style is currently ignored by XEmacs though. Also, + removed the WS_EX_CONTROLPARENT style - it is not for children, + it is for their parents! + (mswindows_edit_field_instantiate): Ditto. + (mswindows_progress_gauge_instantiate): Ditto. + (mswindows_tree_view_instantiate): Ditto. + (mswindows_tab_control_instantiate): Ditto. + (mswindows_scrollbar_instantiate): Ditto. + (mswindows_combo_box_instantiate): Ditto. + (mswindows_widget_instantiate): Added the WS_EX_CONTROLPARENT + style to the "clip" window. + (mswindows_button_instantiate): Removed compilation warning by + equally typing terms of the ?: operator. -1998-05-10 Kirill M. Katsnelson +2000-01-12 Didier Verna - * console.h (device_metrics): Prefixed each constatnt with DM_ + * redisplay.c (generate_fstring_runes): new parameter holding the + last modeline-format extent. + (add_glyph_to_fstring_db_runes): new parameter holding the glyph + extent, fill the glyph block with it. + (generate_fstring_runes): handle these parameters. + (generate_formatted_string_db): ditto. - * device.c: (Fdevice_system_metric): Renamed so from plural form - (metrics); Changed parameters order and added DEFAULT parameter; - Unabbreviated some metric constants; Fixed and untabified doc string. - (Fdevice_system_metrics): Added. Returns a plist of all provided - metrics. + * keymap.c (get_relevant_keymaps): retreive the keymaps from the + glyphs'extents in the modeline. - * device-msw.c (mswindows_device_system_metrics): Renamed - device_metrics enum constants. - Return Qunbound instead of Qnil. +1999-01-11 Mike Woolley - * device-tty.c (tty_device_system_metrics): Ditto. + * ntheap.c: Reduced the reserved heap space from 1Gb down to + 256Mb, as a workaround for the non-starting problem many people + have experienced. - * device-x.c (x_device_system_metrics): Ditto. +2000-01-06 Yoshiki Hayashi -1998-05-10 Andy Piper + * console-tty.c (Fset_console_tty_output_coding_system): + Force redrawing tty frame. - * redisplay-msw.c: implement background pixmaps (really!). Make - sure bg color is transparent if we have bg pmaps. - * (mswindows_output_string) (mswindows_clear_region): output bg - pmap if required. - * (mswindows_output_dibitmap_region): new function. - * (mswindows_output_dibitmap): output offset pixmaps, blt masks in - the bg color rather than transparently. +2000-01-10 Didier Verna - * toolbar-msw.c: use masks if they exist. + * redisplay.c (generate_fstring_runes): fix size computation bug. - * glyphs-msw.c: set up masks correctly. +2000-01-09 William M. Perry - * event-msw.c: typedef SOCKET if cygwin and not msg select(). + * gpmevent.c: (gpm_next_event_cb): Don't return value from void function. -1998-05-10 Hrvoje Niksic +2000-01-09 Andy Piper - * regex.c (re_match_2_internal): Check for quit. + * glyphs-msw.c: index -> i to avoid shadows. + (xbm_create_bitmap_from_data): make static. + (check_valid_string_or_int): deleted. + (mswindows_control_wnd_proc): message -> msg to avoid shadows. + + * glyphs-x.c (x_update_subwindow): remove unused args. -1998-05-10 Hrvoje Niksic + * glyphs.c (glyph_image_instance): return the thing. Don't set the + back pointer - this is done in allocate_image_instance. + (query_string_font): return Qnil to make the compiler happy. + (unmap_subwindow): set to ~0 to make the compiler happy. + (glyph_query_geometry): comment out until used. + (glyph_layout): ditto. - * frame.c (Ffocus_frame): New function. +2000-01-09 Hrvoje Niksic + * insdel.c (signal_after_change): Remove extraneous unbind_to().